Skip to content

Commit

Permalink
relese-update
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 20, 2024
1 parent 536af8f commit 1f365a9
Show file tree
Hide file tree
Showing 20 changed files with 1,207 additions and 170 deletions.
6 changes: 5 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ regula/facesdk/webclient/gen/apis/__init__.py
regula/facesdk/webclient/gen/configuration.py
regula/facesdk/webclient/gen/exceptions.py
regula/facesdk/webclient/gen/model/__init__.py
regula/facesdk/webclient/gen/model/add_image_to_person_request.py
regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py
regula/facesdk/webclient/gen/model/add_image_to_person_response.py
regula/facesdk/webclient/gen/model/attribute_config.py
regula/facesdk/webclient/gen/model/attribute_config_list.py
regula/facesdk/webclient/gen/model/crop.py
Expand Down Expand Up @@ -40,10 +43,10 @@ regula/facesdk/webclient/gen/model/group.py
regula/facesdk/webclient/gen/model/group_all_of.py
regula/facesdk/webclient/gen/model/group_page.py
regula/facesdk/webclient/gen/model/group_page_all_of.py
regula/facesdk/webclient/gen/model/group_response.py
regula/facesdk/webclient/gen/model/group_to_create.py
regula/facesdk/webclient/gen/model/image.py
regula/facesdk/webclient/gen/model/image_fields.py
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
Expand All @@ -67,6 +70,7 @@ regula/facesdk/webclient/gen/model/page.py
regula/facesdk/webclient/gen/model/person.py
regula/facesdk/webclient/gen/model/person_all_of.py
regula/facesdk/webclient/gen/model/person_fields.py
regula/facesdk/webclient/gen/model/person_to_update_fields.py
regula/facesdk/webclient/gen/model/person_with_images.py
regula/facesdk/webclient/gen/model/person_with_images_all_of.py
regula/facesdk/webclient/gen/model/persons_page.py
Expand Down
62 changes: 23 additions & 39 deletions regula/facesdk/webclient/gen/api/group_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,18 +312,18 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))

def get_all_groups(self, page, size, **kwargs): # noqa: E501
def get_all_groups(self, **kwargs): # noqa: E501
"""Get groups # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_groups(page, size, async_req=True)
>>> thread = api.get_all_groups(async_req=True)
>>> result = thread.get()
:param page: The page number to get a list of persons or groups. (required)
:param page: The page number to get a list of persons or groups.
:type page: int
:param size: The page size with a list of persons or groups, items. (required)
:param size: The page size with a list of persons or groups, items.
:type size: int
:param x_request_id: Request header label.
:type x_request_id: str
Expand All @@ -343,20 +343,20 @@ def get_all_groups(self, page, size, **kwargs): # noqa: E501
:rtype: GroupPage
"""
kwargs['_return_http_data_only'] = True
return self.get_all_groups_with_http_info(page, size, **kwargs) # noqa: E501
return self.get_all_groups_with_http_info(**kwargs) # noqa: E501

def get_all_groups_with_http_info(self, page, size, **kwargs): # noqa: E501
def get_all_groups_with_http_info(self, **kwargs): # noqa: E501
"""Get groups # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_groups_with_http_info(page, size, async_req=True)
>>> thread = api.get_all_groups_with_http_info(async_req=True)
>>> result = thread.get()
:param page: The page number to get a list of persons or groups. (required)
:param page: The page number to get a list of persons or groups.
:type page: int
:param size: The page size with a list of persons or groups, items. (required)
:param size: The page size with a list of persons or groups, items.
:type size: int
:param x_request_id: Request header label.
:type x_request_id: str
Expand Down Expand Up @@ -408,14 +408,6 @@ def get_all_groups_with_http_info(self, page, size, **kwargs): # noqa: E501
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'page' is set
if self.api_client.client_side_validation and ('page' not in local_var_params or # noqa: E501
local_var_params['page'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `page` when calling `get_all_groups`") # noqa: E501
# verify the required parameter 'size' is set
if self.api_client.client_side_validation and ('size' not in local_var_params or # noqa: E501
local_var_params['size'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `size` when calling `get_all_groups`") # noqa: E501

collection_formats = {}

Expand Down Expand Up @@ -459,21 +451,21 @@ def get_all_groups_with_http_info(self, page, size, **kwargs): # noqa: E501
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))

def get_all_persons_by_group_id(self, page, size, group_id, **kwargs): # noqa: E501
def get_all_persons_by_group_id(self, group_id, **kwargs): # noqa: E501
"""Get group persons # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_persons_by_group_id(page, size, group_id, async_req=True)
>>> thread = api.get_all_persons_by_group_id(group_id, async_req=True)
>>> result = thread.get()
:param page: The page number to get a list of persons or groups. (required)
:type page: int
:param size: The page size with a list of persons or groups, items. (required)
:type size: int
:param group_id: Group ID. (required)
:type group_id: str
:param page: The page number to get a list of persons or groups.
:type page: int
:param size: The page size with a list of persons or groups, items.
:type size: int
:param x_request_id: Request header label.
:type x_request_id: str
:param async_req: Whether to execute the request asynchronously.
Expand All @@ -492,23 +484,23 @@ def get_all_persons_by_group_id(self, page, size, group_id, **kwargs): # noqa:
:rtype: PersonsPage
"""
kwargs['_return_http_data_only'] = True
return self.get_all_persons_by_group_id_with_http_info(page, size, group_id, **kwargs) # noqa: E501
return self.get_all_persons_by_group_id_with_http_info(group_id, **kwargs) # noqa: E501

def get_all_persons_by_group_id_with_http_info(self, page, size, group_id, **kwargs): # noqa: E501
def get_all_persons_by_group_id_with_http_info(self, group_id, **kwargs): # noqa: E501
"""Get group persons # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_all_persons_by_group_id_with_http_info(page, size, group_id, async_req=True)
>>> thread = api.get_all_persons_by_group_id_with_http_info(group_id, async_req=True)
>>> result = thread.get()
:param page: The page number to get a list of persons or groups. (required)
:type page: int
:param size: The page size with a list of persons or groups, items. (required)
:type size: int
:param group_id: Group ID. (required)
:type group_id: str
:param page: The page number to get a list of persons or groups.
:type page: int
:param size: The page size with a list of persons or groups, items.
:type size: int
:param x_request_id: Request header label.
:type x_request_id: str
:param async_req: Whether to execute the request asynchronously.
Expand Down Expand Up @@ -537,9 +529,9 @@ def get_all_persons_by_group_id_with_http_info(self, page, size, group_id, **kwa
local_var_params = locals()

all_params = [
'group_id'
'page'
'size'
'group_id'
'x_request_id'
]
all_params.extend(
Expand All @@ -560,14 +552,6 @@ def get_all_persons_by_group_id_with_http_info(self, page, size, group_id, **kwa
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'page' is set
if self.api_client.client_side_validation and ('page' not in local_var_params or # noqa: E501
local_var_params['page'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `page` when calling `get_all_persons_by_group_id`") # noqa: E501
# verify the required parameter 'size' is set
if self.api_client.client_side_validation and ('size' not in local_var_params or # noqa: E501
local_var_params['size'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `size` when calling `get_all_persons_by_group_id`") # noqa: E501
# verify the required parameter 'group_id' is set
if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501
local_var_params['group_id'] is None): # noqa: E501
Expand Down
Loading

0 comments on commit 1f365a9

Please sign in to comment.