Skip to content

Commit

Permalink
Merge pull request #60 from regulaforensics/54ab9ea2
Browse files Browse the repository at this point in the history
update-clients
  • Loading branch information
dangost authored Apr 11, 2023
2 parents 1720d64 + 51b8454 commit 69f24d3
Show file tree
Hide file tree
Showing 81 changed files with 411 additions and 510 deletions.
3 changes: 1 addition & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ regula/facesdk/webclient/gen/model/image_fields_image.py
regula/facesdk/webclient/gen/model/image_page.py
regula/facesdk/webclient/gen/model/image_page_all_of.py
regula/facesdk/webclient/gen/model/image_source.py
regula/facesdk/webclient/gen/model/liveness_transaction.py
regula/facesdk/webclient/gen/model/match_and_search_request.py
regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py
regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py
Expand Down Expand Up @@ -78,7 +77,7 @@ regula/facesdk/webclient/gen/model/search_person.py
regula/facesdk/webclient/gen/model/search_person_all_of.py
regula/facesdk/webclient/gen/model/search_request.py
regula/facesdk/webclient/gen/model/search_result.py
regula/facesdk/webclient/gen/model/transaction_config.py
regula/facesdk/webclient/gen/model/transaction_info.py
regula/facesdk/webclient/gen/model/update_group.py
regula/facesdk/webclient/gen/model_utils.py
regula/facesdk/webclient/gen/models/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/ext/models/detect_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ def __init__(
image = bytes_to_base64(image)

super().__init__(
image=image, only_central_face=only_central_face, attributes=attributes, thumbnails=thumbnails,
image=image, attributes=attributes, thumbnails=thumbnails,
local_vars_configuration=local_vars_configuration, tag=tag
)
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api/group_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
409 changes: 11 additions & 398 deletions regula/facesdk/webclient/gen/api/liveness_2_0_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api/matching_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api/person_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api/search_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions regula/facesdk/webclient/gen/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -379,7 +379,7 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 4.1.3\n"\
"Version of the API: 5.1.0\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/crop.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
32 changes: 2 additions & 30 deletions regula/facesdk/webclient/gen/model/detect_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -38,7 +38,6 @@ class DetectRequest(object):
'image': 'str',
'thumbnails': 'bool',
'attributes': 'bool',
'only_central_face': 'bool',
}

attribute_map = {
Expand All @@ -47,10 +46,9 @@ class DetectRequest(object):
'image': 'image',
'thumbnails': 'thumbnails',
'attributes': 'attributes',
'only_central_face': 'onlyCentralFace',
}

def __init__(self, tag=None, process_param=None, image=None, thumbnails=False, attributes=False, only_central_face=False, local_vars_configuration=None): # noqa: E501
def __init__(self, tag=None, process_param=None, image=None, thumbnails=False, attributes=False, local_vars_configuration=None): # noqa: E501
"""DetectRequest - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
Expand All @@ -61,7 +59,6 @@ def __init__(self, tag=None, process_param=None, image=None, thumbnails=False, a
self._image = None
self._thumbnails = None
self._attributes = None
self._only_central_face = None
self.discriminator = None

if tag is not None:
Expand All @@ -74,8 +71,6 @@ def __init__(self, tag=None, process_param=None, image=None, thumbnails=False, a
self.thumbnails = thumbnails
if attributes is not None:
self.attributes = attributes
if only_central_face is not None:
self.only_central_face = only_central_face

@property
def tag(self):
Expand Down Expand Up @@ -190,29 +185,6 @@ def attributes(self, attributes):

self._attributes = attributes

@property
def only_central_face(self):
"""Gets the only_central_face of this DetectRequest. # noqa: E501
Whether to detect the only central face (true) or all the faces (false). # noqa: E501
:return: The only_central_face of this DetectRequest. # noqa: E501
:rtype: bool
"""
return self._only_central_face

@only_central_face.setter
def only_central_face(self, only_central_face):
"""Sets the only_central_face of this DetectRequest.
Whether to detect the only central face (true) or all the faces (false). # noqa: E501
:param only_central_face: The only_central_face of this DetectRequest. # noqa: E501
:type only_central_face: bool
"""

self._only_central_face = only_central_face

def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/detect_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/detect_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/detection_face.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/detection_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/face_rectangular.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/face_sdk_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/face_sdk_result_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/model/faces_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
The version of the OpenAPI document: 4.1.3
The version of the OpenAPI document: 5.1.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit 69f24d3

Please sign in to comment.