Skip to content
Merged
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
34 changes: 31 additions & 3 deletions regula/documentreader/webclient/gen/models/process_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ class ProcessParams(object):
'generate_numeric_codes': 'bool',
'strict_barcode_digital_signature_check': 'bool',
'select_longest_names': 'bool',
'do_barcodes': 'list[InputBarcodeType]'
'do_barcodes': 'list[InputBarcodeType]',
'strict_dl_category_expiry': 'bool'
}

attribute_map = {
Expand Down Expand Up @@ -152,10 +153,11 @@ class ProcessParams(object):
'generate_numeric_codes': 'generateNumericCodes',
'strict_barcode_digital_signature_check': 'strictBarcodeDigitalSignatureCheck',
'select_longest_names': 'selectLongestNames',
'do_barcodes': 'doBarcodes'
'do_barcodes': 'doBarcodes',
'strict_dl_category_expiry': 'strictDLCategoryExpiry'
}

def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=None, one_shot_identification=None, use_face_api=None, face_api=None, do_detect_can=None, image_output_max_height=None, image_output_max_width=None, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, strict_image_quality=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, process_auth=None, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, check_auth=None, auth_params=None, mrz_detect_mode=None, generate_numeric_codes=None, strict_barcode_digital_signature_check=None, select_longest_names=None, do_barcodes=None, local_vars_configuration=None): # noqa: E501
def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=None, one_shot_identification=None, use_face_api=None, face_api=None, do_detect_can=None, image_output_max_height=None, image_output_max_width=None, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, strict_image_quality=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, process_auth=None, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, check_auth=None, auth_params=None, mrz_detect_mode=None, generate_numeric_codes=None, strict_barcode_digital_signature_check=None, select_longest_names=None, do_barcodes=None, strict_dl_category_expiry=None, local_vars_configuration=None): # noqa: E501
"""ProcessParams - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
Expand Down Expand Up @@ -220,6 +222,7 @@ def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=Non
self._strict_barcode_digital_signature_check = None
self._select_longest_names = None
self._do_barcodes = None
self._strict_dl_category_expiry = None
self.discriminator = None

if generate_dtcvc is not None:
Expand Down Expand Up @@ -339,6 +342,8 @@ def __init__(self, generate_dtcvc=None, lcid_filter=None, lcid_ignore_filter=Non
self.select_longest_names = select_longest_names
if do_barcodes is not None:
self.do_barcodes = do_barcodes
if strict_dl_category_expiry is not None:
self.strict_dl_category_expiry = strict_dl_category_expiry

@property
def generate_dtcvc(self):
Expand Down Expand Up @@ -1679,6 +1684,29 @@ def do_barcodes(self, do_barcodes):

self._do_barcodes = do_barcodes

@property
def strict_dl_category_expiry(self):
"""Gets the strict_dl_category_expiry of this ProcessParams. # noqa: E501

Set to force DL categories expiry date to affect the overall status or not. As documents usually have their own date of expiry, which might be less or greater than category expiry date, this might be handy for specific cases. # noqa: E501

:return: The strict_dl_category_expiry of this ProcessParams. # noqa: E501
:rtype: bool
"""
return self._strict_dl_category_expiry

@strict_dl_category_expiry.setter
def strict_dl_category_expiry(self, strict_dl_category_expiry):
"""Sets the strict_dl_category_expiry of this ProcessParams.

Set to force DL categories expiry date to affect the overall status or not. As documents usually have their own date of expiry, which might be less or greater than category expiry date, this might be handy for specific cases. # noqa: E501

:param strict_dl_category_expiry: The strict_dl_category_expiry of this ProcessParams. # noqa: E501
:type strict_dl_category_expiry: bool
"""

self._strict_dl_category_expiry = strict_dl_category_expiry

def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
Expand Down