Skip to content

Commit 9a8e10f

Browse files
Merge pull request #139 from regulaforensics/41461
41461 - update models
2 parents cbefac3 + f9fb46e commit 9a8e10f

File tree

108 files changed

+1534
-593
lines changed

Some content is hidden

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

108 files changed

+1534
-593
lines changed

.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ regula/facesdk/webclient/gen/model/add_image_to_person_response.py
1919
regula/facesdk/webclient/gen/model/attribute_config.py
2020
regula/facesdk/webclient/gen/model/attribute_config_list.py
2121
regula/facesdk/webclient/gen/model/crop.py
22+
regula/facesdk/webclient/gen/model/detect_attributes_details.py
23+
regula/facesdk/webclient/gen/model/detect_details_meta.py
2224
regula/facesdk/webclient/gen/model/detect_request.py
2325
regula/facesdk/webclient/gen/model/detect_response.py
2426
regula/facesdk/webclient/gen/model/detect_response_all_of.py
@@ -77,6 +79,8 @@ regula/facesdk/webclient/gen/model/person_with_images.py
7779
regula/facesdk/webclient/gen/model/person_with_images_all_of.py
7880
regula/facesdk/webclient/gen/model/persons_page.py
7981
regula/facesdk/webclient/gen/model/persons_page_all_of.py
82+
regula/facesdk/webclient/gen/model/persons_request.py
83+
regula/facesdk/webclient/gen/model/persons_request_all_of.py
8084
regula/facesdk/webclient/gen/model/process_param.py
8185
regula/facesdk/webclient/gen/model/process_param_attributes.py
8286
regula/facesdk/webclient/gen/model/quality_config.py

example/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
MatchImage(index=2, data=face_1_bytes, type=ImageSource.DOCUMENT_RFID),
2121
MatchImage(index=3, data=face_2_bytes),
2222
]
23-
match_request = MatchRequest(images=images, thumbnails=True)
23+
match_request = MatchRequest(images=images)
2424
match_response = sdk.match_api.match(match_request)
2525

2626
print("-----------------------------------------------------------------")

regula/facesdk/webclient/ext/api/person_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from regula.facesdk.webclient.gen.model.image_page import ImagePage
99
from regula.facesdk.webclient.gen.model.person import Person
1010
from regula.facesdk.webclient.gen.model.person_fields import PersonFields
11+
from regula.facesdk.webclient.gen.model.persons_request import PersonsRequest
1112

1213

1314
class PersonApi(GenPersonApi):
@@ -19,7 +20,7 @@ def add_image_to_person(self, person_id: str, content: bytes, content_type: str
1920
image = ImageFields(image=ImageFieldsImage(content_type, base_image))
2021
return super().add_image_to_person(person_id, image, **kwargs)
2122

22-
def create_person(self, person_fields: PersonFields, **kwargs) -> Person:
23+
def create_person(self, person_fields: PersonsRequest, **kwargs) -> Person:
2324
if person_fields.metadata is None:
2425
person_fields.metadata = {}
2526
return super().create_person(person_fields, **kwargs)

regula/facesdk/webclient/ext/api/sdk.py

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

77

88
class FaceSdk:
9-
def __init__(self, host=None, debug=None, verify_ssl=False, api_client=None):
9+
def __init__(self, host=None, debug=None, verify_ssl=True, api_client=None):
1010
if api_client:
1111
self.__api_client = api_client
1212
else:

regula/facesdk/webclient/ext/models/detect_request.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ def __init__(
1111
self,
1212
image: Union[Base64String, bytes],
1313
process_param: ProcessParam = None,
14-
only_central_face=False,
15-
thumbnails=False,
1614
local_vars_configuration=None,
1715
tag=None,
1816

@@ -25,7 +23,6 @@ def __init__(
2523

2624
super().__init__(
2725
image=image,
28-
thumbnails=thumbnails,
2926
local_vars_configuration=local_vars_configuration,
3027
tag=tag,
3128
process_param=process_param

regula/facesdk/webclient/ext/models/match_request.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class MatchRequest(GenMatchRequest):
1010
def __init__(
1111
self,
1212
images: List[Union[MatchImage, Base64String, bytes]],
13-
thumbnails=False,
1413
local_vars_configuration=None,
1514
output_image_params=None,
1615
tag=None
@@ -29,6 +28,5 @@ def __init__(
2928
images=input_images,
3029
local_vars_configuration=local_vars_configuration,
3130
output_image_params=output_image_params,
32-
thumbnails=thumbnails,
3331
tag=tag
3432
)

regula/facesdk/webclient/gen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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
77
8-
The version of the OpenAPI document: 6.2.0
8+
The version of the OpenAPI document: 7.2.0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

regula/facesdk/webclient/gen/api/group_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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
77
8-
The version of the OpenAPI document: 6.2.0
8+
The version of the OpenAPI document: 7.2.0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

regula/facesdk/webclient/gen/api/healthcheck_api.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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
77
8-
The version of the OpenAPI document: 6.2.0
8+
The version of the OpenAPI document: 7.2.0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

@@ -39,6 +39,7 @@ def __init__(self, api_client=None):
3939
def healthz(self, **kwargs): # noqa: E501
4040
"""Server healthcheck # noqa: E501
4141
42+
The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/). # noqa: E501
4243
This method makes a synchronous HTTP request by default. To make an
4344
asynchronous HTTP request, please pass async_req=True
4445
@@ -68,6 +69,7 @@ def healthz(self, **kwargs): # noqa: E501
6869
def healthz_with_http_info(self, **kwargs): # noqa: E501
6970
"""Server healthcheck # noqa: E501
7071
72+
The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/). # noqa: E501
7173
This method makes a synchronous HTTP request by default. To make an
7274
asynchronous HTTP request, please pass async_req=True
7375
@@ -164,6 +166,7 @@ def healthz_with_http_info(self, **kwargs): # noqa: E501
164166
def readyz(self, **kwargs): # noqa: E501
165167
"""License healthcheck # noqa: E501
166168
169+
The `/api/readyz` endpoint checks the license's health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`). # noqa: E501
167170
This method makes a synchronous HTTP request by default. To make an
168171
asynchronous HTTP request, please pass async_req=True
169172
@@ -193,6 +196,7 @@ def readyz(self, **kwargs): # noqa: E501
193196
def readyz_with_http_info(self, **kwargs): # noqa: E501
194197
"""License healthcheck # noqa: E501
195198
199+
The `/api/readyz` endpoint checks the license's health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`). # noqa: E501
196200
This method makes a synchronous HTTP request by default. To make an
197201
asynchronous HTTP request, please pass async_req=True
198202

0 commit comments

Comments
 (0)