regula-documentreader-webclient 8.3.480.dev0__py3-none-any.whl → 8.4.587.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of regula-documentreader-webclient might be problematic. Click here for more details.
- regula/documentreader/webclient/ext/api/document_reader_api.py +18 -4
- regula/documentreader/webclient/gen/__init__.py +755 -239
- regula/documentreader/webclient/gen/api/__init__.py +20 -1
- regula/documentreader/webclient/gen/api/resources_api.py +270 -0
- regula/documentreader/webclient/gen/api/transaction_api.py +33 -15
- regula/documentreader/webclient/gen/api_client.py +8 -1
- regula/documentreader/webclient/gen/models/__init__.py +251 -2
- regula/documentreader/webclient/gen/models/area_array.py +6 -3
- regula/documentreader/webclient/gen/models/area_container.py +6 -3
- regula/documentreader/webclient/gen/models/auth_params.py +19 -16
- regula/documentreader/webclient/gen/models/authenticity_check_list.py +5 -2
- regula/documentreader/webclient/gen/models/authenticity_check_list_item.py +4 -1
- regula/documentreader/webclient/gen/models/authenticity_check_result.py +7 -4
- regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +7 -4
- regula/documentreader/webclient/gen/models/authenticity_result.py +4 -1
- regula/documentreader/webclient/gen/models/barcode_position_item.py +86 -0
- regula/documentreader/webclient/gen/models/barcode_position_result.py +93 -0
- regula/documentreader/webclient/gen/models/bc_pdf417_info.py +9 -6
- regula/documentreader/webclient/gen/models/bc_roidetect.py +7 -4
- regula/documentreader/webclient/gen/models/binary_data.py +67 -64
- regula/documentreader/webclient/gen/models/byte_array_item.py +4 -1
- regula/documentreader/webclient/gen/models/byte_array_result.py +4 -1
- regula/documentreader/webclient/gen/models/candidates_list_item.py +4 -1
- regula/documentreader/webclient/gen/models/certificate_data.py +5 -2
- regula/documentreader/webclient/gen/models/check_diagnose.py +2 -0
- regula/documentreader/webclient/gen/models/chosen_document_type.py +15 -12
- regula/documentreader/webclient/gen/models/chosen_document_type_result.py +5 -2
- regula/documentreader/webclient/gen/models/container_list.py +5 -2
- regula/documentreader/webclient/gen/models/container_list_list_inner.py +34 -20
- regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +6 -3
- regula/documentreader/webclient/gen/models/data_module.py +8 -5
- regula/documentreader/webclient/gen/models/database_document.py +111 -0
- regula/documentreader/webclient/gen/models/database_document_list.py +90 -0
- regula/documentreader/webclient/gen/models/details_optical.py +12 -9
- regula/documentreader/webclient/gen/models/details_rfid.py +10 -7
- regula/documentreader/webclient/gen/models/device_info.py +13 -10
- regula/documentreader/webclient/gen/models/device_info_documents_database.py +7 -4
- regula/documentreader/webclient/gen/models/doc_bar_code_info.py +4 -1
- regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py +5 -2
- regula/documentreader/webclient/gen/models/doc_bar_code_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/doc_graphics_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/doc_visual_extended_field.py +16 -13
- regula/documentreader/webclient/gen/models/doc_visual_extended_field_item.py +4 -1
- regula/documentreader/webclient/gen/models/doc_visual_extended_info.py +5 -2
- regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/document_binary_info_result.py +4 -1
- regula/documentreader/webclient/gen/models/document_image.py +5 -2
- regula/documentreader/webclient/gen/models/document_image_result.py +4 -1
- regula/documentreader/webclient/gen/models/document_position.py +18 -15
- regula/documentreader/webclient/gen/models/document_position_item.py +4 -1
- regula/documentreader/webclient/gen/models/document_position_result.py +4 -1
- regula/documentreader/webclient/gen/models/document_types_candidates.py +5 -2
- regula/documentreader/webclient/gen/models/document_types_candidates_list.py +5 -2
- regula/documentreader/webclient/gen/models/document_types_candidates_result.py +4 -1
- regula/documentreader/webclient/gen/models/documents_database.py +7 -4
- regula/documentreader/webclient/gen/models/encrypted_rcl_item.py +4 -1
- regula/documentreader/webclient/gen/models/encrypted_rcl_result.py +4 -1
- regula/documentreader/webclient/gen/models/error_coordinates.py +7 -4
- regula/documentreader/webclient/gen/models/face_api.py +13 -10
- regula/documentreader/webclient/gen/models/face_api_search.py +7 -4
- regula/documentreader/webclient/gen/models/face_detection.py +8 -5
- regula/documentreader/webclient/gen/models/face_detection_item.py +4 -1
- regula/documentreader/webclient/gen/models/face_detection_result.py +4 -1
- regula/documentreader/webclient/gen/models/face_item.py +11 -8
- regula/documentreader/webclient/gen/models/fdsid_list.py +15 -12
- regula/documentreader/webclient/gen/models/fiber_item.py +12 -9
- regula/documentreader/webclient/gen/models/fiber_result.py +12 -9
- regula/documentreader/webclient/gen/models/field_item.py +9 -6
- regula/documentreader/webclient/gen/models/file_image.py +5 -2
- regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +8 -4
- regula/documentreader/webclient/gen/models/glares_check_params.py +84 -0
- regula/documentreader/webclient/gen/models/graph_data.py +10 -7
- regula/documentreader/webclient/gen/models/graphic_field.py +7 -4
- regula/documentreader/webclient/gen/models/graphic_fields_list.py +5 -2
- regula/documentreader/webclient/gen/models/graphics_result.py +4 -1
- regula/documentreader/webclient/gen/models/healthcheck.py +12 -9
- regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +7 -4
- regula/documentreader/webclient/gen/models/ident_item.py +10 -7
- regula/documentreader/webclient/gen/models/ident_result.py +10 -7
- regula/documentreader/webclient/gen/models/image_data.py +5 -2
- regula/documentreader/webclient/gen/models/image_qa.py +20 -11
- regula/documentreader/webclient/gen/models/image_quality_check.py +10 -7
- regula/documentreader/webclient/gen/models/image_quality_check_list.py +6 -3
- regula/documentreader/webclient/gen/models/image_quality_check_list_item.py +4 -1
- regula/documentreader/webclient/gen/models/image_quality_result.py +4 -1
- regula/documentreader/webclient/gen/models/image_transaction_data.py +4 -1
- regula/documentreader/webclient/gen/models/images.py +7 -4
- regula/documentreader/webclient/gen/models/images_available_source.py +5 -2
- regula/documentreader/webclient/gen/models/images_field.py +7 -4
- regula/documentreader/webclient/gen/models/images_field_value.py +12 -9
- regula/documentreader/webclient/gen/models/images_item.py +4 -1
- regula/documentreader/webclient/gen/models/images_result.py +4 -1
- regula/documentreader/webclient/gen/models/in_data.py +5 -2
- regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py +7 -4
- regula/documentreader/webclient/gen/models/in_data_video.py +5 -2
- regula/documentreader/webclient/gen/models/lexical_analysis_result.py +4 -1
- regula/documentreader/webclient/gen/models/license_item.py +4 -1
- regula/documentreader/webclient/gen/models/license_result.py +4 -1
- regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py +5 -2
- regula/documentreader/webclient/gen/models/list_verified_fields.py +6 -3
- regula/documentreader/webclient/gen/models/list_verified_fields_item.py +4 -1
- regula/documentreader/webclient/gen/models/liveness_params.py +10 -7
- regula/documentreader/webclient/gen/models/mrz_detector_result.py +4 -1
- regula/documentreader/webclient/gen/models/mrz_position_item.py +4 -1
- regula/documentreader/webclient/gen/models/mrz_position_result.py +4 -1
- regula/documentreader/webclient/gen/models/mrz_rows_item.py +6 -3
- regula/documentreader/webclient/gen/models/mrz_test_quality.py +13 -10
- regula/documentreader/webclient/gen/models/mrz_test_quality_item.py +4 -1
- regula/documentreader/webclient/gen/models/mrz_test_quality_result.py +4 -1
- regula/documentreader/webclient/gen/models/ocr_security_text_item.py +14 -11
- regula/documentreader/webclient/gen/models/ocr_security_text_result.py +14 -11
- regula/documentreader/webclient/gen/models/one_candidate.py +15 -12
- regula/documentreader/webclient/gen/models/one_candidate_item.py +5 -2
- regula/documentreader/webclient/gen/models/original_symbol.py +6 -3
- regula/documentreader/webclient/gen/models/out_data.py +5 -2
- regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py +8 -5
- regula/documentreader/webclient/gen/models/p_array_field.py +13 -10
- regula/documentreader/webclient/gen/models/parsed_data.py +4 -1
- regula/documentreader/webclient/gen/models/per_document_config.py +5 -2
- regula/documentreader/webclient/gen/models/photo_ident_item.py +12 -9
- regula/documentreader/webclient/gen/models/photo_ident_result.py +12 -9
- regula/documentreader/webclient/gen/models/point.py +5 -2
- regula/documentreader/webclient/gen/models/point_array.py +4 -1
- regula/documentreader/webclient/gen/models/points_container.py +5 -2
- regula/documentreader/webclient/gen/models/process_params.py +72 -67
- regula/documentreader/webclient/gen/models/process_params_rfid.py +4 -1
- regula/documentreader/webclient/gen/models/process_request.py +15 -12
- regula/documentreader/webclient/gen/models/process_request_image.py +6 -3
- regula/documentreader/webclient/gen/models/process_response.py +13 -10
- regula/documentreader/webclient/gen/models/process_system_info.py +5 -2
- regula/documentreader/webclient/gen/models/raw_image_container_item.py +4 -1
- regula/documentreader/webclient/gen/models/raw_image_container_list.py +5 -2
- regula/documentreader/webclient/gen/models/rectangle_coordinates.py +7 -4
- regula/documentreader/webclient/gen/models/result_item.py +14 -11
- regula/documentreader/webclient/gen/models/result_mrz_detector.py +7 -4
- regula/documentreader/webclient/gen/models/result_mrz_detector_item.py +4 -1
- regula/documentreader/webclient/gen/models/rfid_access_control_info.py +8 -5
- regula/documentreader/webclient/gen/models/rfid_access_key.py +7 -4
- regula/documentreader/webclient/gen/models/rfid_application.py +10 -7
- regula/documentreader/webclient/gen/models/rfid_application_type.py +1 -2
- regula/documentreader/webclient/gen/models/rfid_attribute_data.py +5 -2
- regula/documentreader/webclient/gen/models/rfid_attribute_name.py +5 -2
- regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py +17 -14
- regula/documentreader/webclient/gen/models/rfid_certificate_ex.py +16 -13
- regula/documentreader/webclient/gen/models/rfid_data_file.py +15 -12
- regula/documentreader/webclient/gen/models/rfid_dg1.py +19 -17
- regula/documentreader/webclient/gen/models/rfid_distinguished_name.py +6 -3
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field.py +19 -16
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field_item.py +7 -4
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info.py +5 -2
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/rfid_graphics_info_result.py +4 -1
- regula/documentreader/webclient/gen/models/rfid_origin.py +7 -4
- regula/documentreader/webclient/gen/models/rfid_pki_extension.py +5 -2
- regula/documentreader/webclient/gen/models/rfid_raw_data.py +5 -2
- regula/documentreader/webclient/gen/models/rfid_security_object.py +8 -5
- regula/documentreader/webclient/gen/models/rfid_session_data.py +20 -17
- regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py +15 -12
- regula/documentreader/webclient/gen/models/rfid_terminal.py +6 -3
- regula/documentreader/webclient/gen/models/rfid_text_data_result.py +4 -1
- regula/documentreader/webclient/gen/models/rfid_validity.py +5 -2
- regula/documentreader/webclient/gen/models/security_feature_item.py +9 -6
- regula/documentreader/webclient/gen/models/security_feature_result.py +9 -6
- regula/documentreader/webclient/gen/models/security_feature_type.py +2 -0
- regula/documentreader/webclient/gen/models/security_object_certificates.py +4 -1
- regula/documentreader/webclient/gen/models/source.py +2 -0
- regula/documentreader/webclient/gen/models/source_validity.py +5 -2
- regula/documentreader/webclient/gen/models/status.py +10 -7
- regula/documentreader/webclient/gen/models/status_item.py +4 -1
- regula/documentreader/webclient/gen/models/status_result.py +4 -1
- regula/documentreader/webclient/gen/models/string_item.py +20 -17
- regula/documentreader/webclient/gen/models/string_recognition_result.py +8 -5
- regula/documentreader/webclient/gen/models/symbol.py +4 -1
- regula/documentreader/webclient/gen/models/symbol_candidate.py +7 -4
- regula/documentreader/webclient/gen/models/symbol_estimation_item.py +20 -17
- regula/documentreader/webclient/gen/models/symbol_recognition_result.py +8 -5
- regula/documentreader/webclient/gen/models/t_doc_binary_info.py +5 -2
- regula/documentreader/webclient/gen/models/t_doc_binary_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info.py +4 -1
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info_item.py +4 -1
- regula/documentreader/webclient/gen/models/text.py +9 -6
- regula/documentreader/webclient/gen/models/text_available_source.py +6 -3
- regula/documentreader/webclient/gen/models/text_data_result.py +4 -1
- regula/documentreader/webclient/gen/models/text_field.py +14 -11
- regula/documentreader/webclient/gen/models/text_field_value.py +13 -10
- regula/documentreader/webclient/gen/models/text_item.py +4 -1
- regula/documentreader/webclient/gen/models/text_result.py +4 -1
- regula/documentreader/webclient/gen/models/transaction_image.py +4 -1
- regula/documentreader/webclient/gen/models/transaction_info.py +11 -8
- regula/documentreader/webclient/gen/models/transaction_process_get_response.py +8 -4
- regula/documentreader/webclient/gen/models/transaction_process_request.py +14 -11
- regula/documentreader/webclient/gen/models/transaction_process_result.py +8 -4
- regula/documentreader/webclient/gen/models/trf_ft_bytes.py +7 -4
- regula/documentreader/webclient/gen/models/trf_ft_string.py +7 -4
- regula/documentreader/webclient/gen/models/verified_field_map.py +10 -7
- regula/documentreader/webclient/gen/models/visual_extended_field_item.py +15 -12
- {regula_documentreader_webclient-8.3.480.dev0.dist-info → regula_documentreader_webclient-8.4.587.dev0.dist-info}/METADATA +2 -1
- {regula_documentreader_webclient-8.3.480.dev0.dist-info → regula_documentreader_webclient-8.4.587.dev0.dist-info}/RECORD +200 -194
- {regula_documentreader_webclient-8.3.480.dev0.dist-info → regula_documentreader_webclient-8.4.587.dev0.dist-info}/WHEEL +0 -0
- {regula_documentreader_webclient-8.3.480.dev0.dist-info → regula_documentreader_webclient-8.4.587.dev0.dist-info}/top_level.txt +0 -0
|
@@ -13,24 +13,27 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
14
|
from typing import Optional, Set
|
|
15
15
|
from typing_extensions import Self
|
|
16
|
+
from pydantic import SkipValidation, Field
|
|
16
17
|
|
|
17
18
|
class LivenessParams(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
LivenessParams
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
check_ovi: Optional[
|
|
22
|
-
check_mli: Optional[
|
|
23
|
-
check_holo: Optional[
|
|
24
|
-
check_ed: Optional[
|
|
25
|
-
check_black_and_white_copy: Optional[
|
|
26
|
-
check_dynaprint: Optional[
|
|
27
|
-
check_geometry: Optional[
|
|
22
|
+
check_ovi: SkipValidation[Optional[bool]] = Field(alias="checkOVI", default=None, description="This parameter is used to enable OVI check")
|
|
23
|
+
check_mli: SkipValidation[Optional[bool]] = Field(alias="checkMLI", default=None, description="This parameter is used to enable MLI check")
|
|
24
|
+
check_holo: SkipValidation[Optional[bool]] = Field(alias="checkHolo", default=None, description="This parameter is used to enable Hologram detection")
|
|
25
|
+
check_ed: SkipValidation[Optional[bool]] = Field(alias="checkED", default=None, description="This parameter is used to enable Electronic device detection")
|
|
26
|
+
check_black_and_white_copy: SkipValidation[Optional[bool]] = Field(alias="checkBlackAndWhiteCopy", default=None, description="This parameter is used to enable Black and white copy check")
|
|
27
|
+
check_dynaprint: SkipValidation[Optional[bool]] = Field(alias="checkDynaprint", default=None, description="This parameter is used to enable Dynaprint check")
|
|
28
|
+
check_geometry: SkipValidation[Optional[bool]] = Field(alias="checkGeometry", default=None, description="This parameter is used to enable Geometry check")
|
|
28
29
|
__properties: ClassVar[List[str]] = ["checkOVI", "checkMLI", "checkHolo", "checkED", "checkBlackAndWhiteCopy", "checkDynaprint", "checkGeometry"]
|
|
29
30
|
|
|
30
31
|
model_config = ConfigDict(
|
|
31
32
|
populate_by_name=True,
|
|
32
33
|
validate_assignment=True,
|
|
33
34
|
protected_namespaces=(),
|
|
35
|
+
arbitrary_types_allowed=True,
|
|
36
|
+
use_enum_values=True
|
|
34
37
|
)
|
|
35
38
|
|
|
36
39
|
|
|
@@ -16,18 +16,21 @@ from regula.documentreader.webclient.gen.models.result_item import ResultItem
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.result_mrz_detector import ResultMRZDetector
|
|
17
17
|
from typing import Optional, Set
|
|
18
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
19
20
|
|
|
20
21
|
class MRZDetectorResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
MRZDetectorResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
result_mrz_detector: ResultMRZDetector = Field(alias="ResultMRZDetector")
|
|
25
|
+
result_mrz_detector: SkipValidation[ResultMRZDetector] = Field(alias="ResultMRZDetector")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "ResultMRZDetector"]
|
|
26
27
|
|
|
27
28
|
model_config = ConfigDict(
|
|
28
29
|
populate_by_name=True,
|
|
29
30
|
validate_assignment=True,
|
|
30
31
|
protected_namespaces=(),
|
|
32
|
+
arbitrary_types_allowed=True,
|
|
33
|
+
use_enum_values=True
|
|
31
34
|
)
|
|
32
35
|
|
|
33
36
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.document_position import DocumentPosition
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class MrzPositionItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
MrzPositionItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
mrz_position: DocumentPosition = Field(alias="MrzPosition")
|
|
23
|
+
mrz_position: SkipValidation[DocumentPosition] = Field(alias="MrzPosition")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["MrzPosition"]
|
|
24
25
|
|
|
25
26
|
model_config = ConfigDict(
|
|
26
27
|
populate_by_name=True,
|
|
27
28
|
validate_assignment=True,
|
|
28
29
|
protected_namespaces=(),
|
|
30
|
+
arbitrary_types_allowed=True,
|
|
31
|
+
use_enum_values=True
|
|
29
32
|
)
|
|
30
33
|
|
|
31
34
|
|
|
@@ -16,18 +16,21 @@ from regula.documentreader.webclient.gen.models.result import Result
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.result_item import ResultItem
|
|
17
17
|
from typing import Optional, Set
|
|
18
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
19
20
|
|
|
20
21
|
class MRZPositionResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
MRZPositionResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
mrz_position: DocumentPosition = Field(alias="MrzPosition")
|
|
25
|
+
mrz_position: SkipValidation[DocumentPosition] = Field(alias="MrzPosition")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "MrzPosition"]
|
|
26
27
|
|
|
27
28
|
model_config = ConfigDict(
|
|
28
29
|
populate_by_name=True,
|
|
29
30
|
validate_assignment=True,
|
|
30
31
|
protected_namespaces=(),
|
|
32
|
+
arbitrary_types_allowed=True,
|
|
33
|
+
use_enum_values=True
|
|
31
34
|
)
|
|
32
35
|
|
|
33
36
|
|
|
@@ -14,20 +14,23 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.symbol import Symbol
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class MRZRowsItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
MRZRowsItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
length:
|
|
23
|
-
max_length:
|
|
24
|
-
symbols: List[Symbol]
|
|
23
|
+
length: SkipValidation[int] = Field(alias="length")
|
|
24
|
+
max_length: SkipValidation[int] = Field(alias="maxLength")
|
|
25
|
+
symbols: SkipValidation[List[Symbol]] = Field(alias="symbols")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["length", "maxLength", "symbols"]
|
|
26
27
|
|
|
27
28
|
model_config = ConfigDict(
|
|
28
29
|
populate_by_name=True,
|
|
29
30
|
validate_assignment=True,
|
|
30
31
|
protected_namespaces=(),
|
|
32
|
+
arbitrary_types_allowed=True,
|
|
33
|
+
use_enum_values=True
|
|
31
34
|
)
|
|
32
35
|
|
|
33
36
|
|
|
@@ -15,27 +15,30 @@ from regula.documentreader.webclient.gen.models.check_result import CheckResult
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.string_item import StringItem
|
|
16
16
|
from typing import Optional, Set
|
|
17
17
|
from typing_extensions import Self
|
|
18
|
+
from pydantic import SkipValidation, Field
|
|
18
19
|
|
|
19
20
|
class MRZTestQuality(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
MRZTestQuality
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
check_sums: CheckResult = Field(alias="CHECK_SUMS")
|
|
24
|
-
contrast_print: CheckResult = Field(alias="CONTRAST_PRINT")
|
|
25
|
-
doc_format:
|
|
26
|
-
mrz_format:
|
|
27
|
-
print_position: CheckResult = Field(alias="PRINT_POSITION")
|
|
28
|
-
stain_mrz: CheckResult = Field(alias="STAIN_MRZ")
|
|
29
|
-
symbols_param: CheckResult = Field(alias="SYMBOLS_PARAM")
|
|
30
|
-
str_count:
|
|
31
|
-
strings: List[StringItem] = Field(alias="Strings")
|
|
32
|
-
textual_filling: CheckResult = Field(alias="TEXTUAL_FILLING")
|
|
24
|
+
check_sums: SkipValidation[CheckResult] = Field(alias="CHECK_SUMS")
|
|
25
|
+
contrast_print: SkipValidation[CheckResult] = Field(alias="CONTRAST_PRINT")
|
|
26
|
+
doc_format: SkipValidation[int] = Field(alias="DOC_FORMAT")
|
|
27
|
+
mrz_format: SkipValidation[int] = Field(alias="MRZ_FORMAT")
|
|
28
|
+
print_position: SkipValidation[CheckResult] = Field(alias="PRINT_POSITION")
|
|
29
|
+
stain_mrz: SkipValidation[CheckResult] = Field(alias="STAIN_MRZ")
|
|
30
|
+
symbols_param: SkipValidation[CheckResult] = Field(alias="SYMBOLS_PARAM")
|
|
31
|
+
str_count: SkipValidation[int] = Field(alias="StrCount")
|
|
32
|
+
strings: SkipValidation[List[StringItem]] = Field(alias="Strings")
|
|
33
|
+
textual_filling: SkipValidation[CheckResult] = Field(alias="TEXTUAL_FILLING")
|
|
33
34
|
__properties: ClassVar[List[str]] = ["CHECK_SUMS", "CONTRAST_PRINT", "DOC_FORMAT", "MRZ_FORMAT", "PRINT_POSITION", "STAIN_MRZ", "SYMBOLS_PARAM", "StrCount", "Strings", "TEXTUAL_FILLING"]
|
|
34
35
|
|
|
35
36
|
model_config = ConfigDict(
|
|
36
37
|
populate_by_name=True,
|
|
37
38
|
validate_assignment=True,
|
|
38
39
|
protected_namespaces=(),
|
|
40
|
+
arbitrary_types_allowed=True,
|
|
41
|
+
use_enum_values=True
|
|
39
42
|
)
|
|
40
43
|
|
|
41
44
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.mrz_test_quality import MRZTestQuality
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class MRZTestQualityItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
MRZTestQualityItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
mrz_test_quality: MRZTestQuality = Field(alias="MRZTestQuality")
|
|
23
|
+
mrz_test_quality: SkipValidation[MRZTestQuality] = Field(alias="MRZTestQuality")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["MRZTestQuality"]
|
|
24
25
|
|
|
25
26
|
model_config = ConfigDict(
|
|
26
27
|
populate_by_name=True,
|
|
27
28
|
validate_assignment=True,
|
|
28
29
|
protected_namespaces=(),
|
|
30
|
+
arbitrary_types_allowed=True,
|
|
31
|
+
use_enum_values=True
|
|
29
32
|
)
|
|
30
33
|
|
|
31
34
|
|
|
@@ -16,18 +16,21 @@ from regula.documentreader.webclient.gen.models.result import Result
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.result_item import ResultItem
|
|
17
17
|
from typing import Optional, Set
|
|
18
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
19
20
|
|
|
20
21
|
class MRZTestQualityResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
MRZTestQualityResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
mrz_test_quality: MRZTestQuality = Field(alias="MRZTestQuality")
|
|
25
|
+
mrz_test_quality: SkipValidation[MRZTestQuality] = Field(alias="MRZTestQuality")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "MRZTestQuality"]
|
|
26
27
|
|
|
27
28
|
model_config = ConfigDict(
|
|
28
29
|
populate_by_name=True,
|
|
29
30
|
validate_assignment=True,
|
|
30
31
|
protected_namespaces=(),
|
|
32
|
+
arbitrary_types_allowed=True,
|
|
33
|
+
use_enum_values=True
|
|
31
34
|
)
|
|
32
35
|
|
|
33
36
|
|
|
@@ -17,28 +17,31 @@ from regula.documentreader.webclient.gen.models.rectangle_coordinates import Rec
|
|
|
17
17
|
from regula.documentreader.webclient.gen.models.text_field_type import TextFieldType
|
|
18
18
|
from typing import Optional, Set
|
|
19
19
|
from typing_extensions import Self
|
|
20
|
+
from pydantic import SkipValidation, Field
|
|
20
21
|
|
|
21
22
|
class OCRSecurityTextItem(BaseModel):
|
|
22
23
|
"""
|
|
23
24
|
OCRSecurityTextItem
|
|
24
25
|
""" # noqa: E501
|
|
25
|
-
critical_flag: Critical = Field(alias="CriticalFlag")
|
|
26
|
-
light_type: Light = Field(alias="LightType")
|
|
27
|
-
field_rect: RectangleCoordinates = Field(alias="FieldRect")
|
|
28
|
-
etalon_result_type:
|
|
29
|
-
etalon_field_type: TextFieldType = Field(alias="EtalonFieldType")
|
|
30
|
-
etalon_light_type: Light = Field(alias="EtalonLightType")
|
|
31
|
-
etalon_field_rect: RectangleCoordinates = Field(alias="EtalonFieldRect")
|
|
32
|
-
security_text_result_ocr:
|
|
33
|
-
etalon_result_ocr:
|
|
34
|
-
reserved1: Optional[
|
|
35
|
-
reserved2: Optional[
|
|
26
|
+
critical_flag: SkipValidation[Critical] = Field(alias="CriticalFlag")
|
|
27
|
+
light_type: SkipValidation[Light] = Field(alias="LightType")
|
|
28
|
+
field_rect: SkipValidation[RectangleCoordinates] = Field(alias="FieldRect")
|
|
29
|
+
etalon_result_type: SkipValidation[int] = Field(alias="EtalonResultType", description="Same as Result type, but used for safe parsing of not-described values. See Result type.")
|
|
30
|
+
etalon_field_type: SkipValidation[TextFieldType] = Field(alias="EtalonFieldType")
|
|
31
|
+
etalon_light_type: SkipValidation[Light] = Field(alias="EtalonLightType")
|
|
32
|
+
etalon_field_rect: SkipValidation[RectangleCoordinates] = Field(alias="EtalonFieldRect")
|
|
33
|
+
security_text_result_ocr: SkipValidation[str] = Field(alias="SecurityTextResultOCR")
|
|
34
|
+
etalon_result_ocr: SkipValidation[str] = Field(alias="EtalonResultOCR")
|
|
35
|
+
reserved1: SkipValidation[Optional[int]] = Field(alias="Reserved1", default=None)
|
|
36
|
+
reserved2: SkipValidation[Optional[int]] = Field(alias="Reserved2", default=None)
|
|
36
37
|
__properties: ClassVar[List[str]] = ["CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "Reserved1", "Reserved2"]
|
|
37
38
|
|
|
38
39
|
model_config = ConfigDict(
|
|
39
40
|
populate_by_name=True,
|
|
40
41
|
validate_assignment=True,
|
|
41
42
|
protected_namespaces=(),
|
|
43
|
+
arbitrary_types_allowed=True,
|
|
44
|
+
use_enum_values=True
|
|
42
45
|
)
|
|
43
46
|
|
|
44
47
|
|
|
@@ -21,28 +21,31 @@ from regula.documentreader.webclient.gen.models.rectangle_coordinates import Rec
|
|
|
21
21
|
from regula.documentreader.webclient.gen.models.text_field_type import TextFieldType
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
|
+
from pydantic import SkipValidation, Field
|
|
24
25
|
|
|
25
26
|
class OCRSecurityTextResult(AuthenticityCheckResultItem):
|
|
26
27
|
"""
|
|
27
28
|
OCRSecurityTextResult
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
critical_flag: Critical = Field(alias="CriticalFlag")
|
|
30
|
-
light_type: Light = Field(alias="LightType")
|
|
31
|
-
field_rect: RectangleCoordinates = Field(alias="FieldRect")
|
|
32
|
-
etalon_result_type:
|
|
33
|
-
etalon_field_type: TextFieldType = Field(alias="EtalonFieldType")
|
|
34
|
-
etalon_light_type: Light = Field(alias="EtalonLightType")
|
|
35
|
-
etalon_field_rect: RectangleCoordinates = Field(alias="EtalonFieldRect")
|
|
36
|
-
security_text_result_ocr:
|
|
37
|
-
etalon_result_ocr:
|
|
38
|
-
reserved1: Optional[
|
|
39
|
-
reserved2: Optional[
|
|
30
|
+
critical_flag: SkipValidation[Critical] = Field(alias="CriticalFlag")
|
|
31
|
+
light_type: SkipValidation[Light] = Field(alias="LightType")
|
|
32
|
+
field_rect: SkipValidation[RectangleCoordinates] = Field(alias="FieldRect")
|
|
33
|
+
etalon_result_type: SkipValidation[int] = Field(alias="EtalonResultType", description="Same as Result type, but used for safe parsing of not-described values. See Result type.")
|
|
34
|
+
etalon_field_type: SkipValidation[TextFieldType] = Field(alias="EtalonFieldType")
|
|
35
|
+
etalon_light_type: SkipValidation[Light] = Field(alias="EtalonLightType")
|
|
36
|
+
etalon_field_rect: SkipValidation[RectangleCoordinates] = Field(alias="EtalonFieldRect")
|
|
37
|
+
security_text_result_ocr: SkipValidation[str] = Field(alias="SecurityTextResultOCR")
|
|
38
|
+
etalon_result_ocr: SkipValidation[str] = Field(alias="EtalonResultOCR")
|
|
39
|
+
reserved1: SkipValidation[Optional[int]] = Field(alias="Reserved1", default=None)
|
|
40
|
+
reserved2: SkipValidation[Optional[int]] = Field(alias="Reserved2", default=None)
|
|
40
41
|
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "Reserved1", "Reserved2"]
|
|
41
42
|
|
|
42
43
|
model_config = ConfigDict(
|
|
43
44
|
populate_by_name=True,
|
|
44
45
|
validate_assignment=True,
|
|
45
46
|
protected_namespaces=(),
|
|
47
|
+
arbitrary_types_allowed=True,
|
|
48
|
+
use_enum_values=True
|
|
46
49
|
)
|
|
47
50
|
|
|
48
51
|
|
|
@@ -16,29 +16,32 @@ from regula.documentreader.webclient.gen.models.fdsid_list import FDSIDList
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.rfid_location import RfidLocation
|
|
17
17
|
from typing import Optional, Set
|
|
18
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
19
20
|
|
|
20
21
|
class OneCandidate(BaseModel):
|
|
21
22
|
"""
|
|
22
23
|
Contains information about one document type candidate
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
document_name: Optional[
|
|
25
|
-
id:
|
|
26
|
-
p:
|
|
27
|
-
rotated180:
|
|
28
|
-
rfid_presence: RfidLocation = Field(alias="RFID_Presence")
|
|
29
|
-
fdsid_list: Optional[FDSIDList] = Field(
|
|
30
|
-
necessary_lights:
|
|
31
|
-
check_authenticity:
|
|
32
|
-
uv_exp:
|
|
33
|
-
authenticity_necessary_lights:
|
|
34
|
-
ovi_exp:
|
|
35
|
-
rotation_angle: Optional[
|
|
25
|
+
document_name: SkipValidation[Optional[str]] = Field(alias="DocumentName", default=None, description="Document name")
|
|
26
|
+
id: SkipValidation[int] = Field(alias="ID", description="Unique document type template identifier (Regula's internal numeric code)")
|
|
27
|
+
p: SkipValidation[float] = Field(alias="P", description="A measure of the likelihood of correct recognition in the analysis of this type of document")
|
|
28
|
+
rotated180: SkipValidation[int] = Field(alias="Rotated180", description="Indicates if the document of the given type is rotated by 180 degrees")
|
|
29
|
+
rfid_presence: SkipValidation[RfidLocation] = Field(alias="RFID_Presence")
|
|
30
|
+
fdsid_list: SkipValidation[Optional[FDSIDList]] = Field(alias="FDSIDList", default=None)
|
|
31
|
+
necessary_lights: SkipValidation[int] = Field(alias="NecessaryLights", description="Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document")
|
|
32
|
+
check_authenticity: SkipValidation[int] = Field(alias="CheckAuthenticity", description="Set of authentication options provided for this type of document (combination of Authenticity enum)")
|
|
33
|
+
uv_exp: SkipValidation[int] = Field(alias="UVExp", description="The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme")
|
|
34
|
+
authenticity_necessary_lights: SkipValidation[int] = Field(alias="AuthenticityNecessaryLights", description="Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity")
|
|
35
|
+
ovi_exp: SkipValidation[float] = Field(alias="OVIExp", description="Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme")
|
|
36
|
+
rotation_angle: SkipValidation[Optional[int]] = Field(alias="RotationAngle", default=None)
|
|
36
37
|
__properties: ClassVar[List[str]] = ["DocumentName", "ID", "P", "Rotated180", "RFID_Presence", "FDSIDList", "NecessaryLights", "CheckAuthenticity", "UVExp", "AuthenticityNecessaryLights", "OVIExp", "RotationAngle"]
|
|
37
38
|
|
|
38
39
|
model_config = ConfigDict(
|
|
39
40
|
populate_by_name=True,
|
|
40
41
|
validate_assignment=True,
|
|
41
42
|
protected_namespaces=(),
|
|
43
|
+
arbitrary_types_allowed=True,
|
|
44
|
+
use_enum_values=True
|
|
42
45
|
)
|
|
43
46
|
|
|
44
47
|
|
|
@@ -14,19 +14,22 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class OneCandidateItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
OneCandidateItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
one_candidate: OneCandidate = Field(alias="OneCandidate")
|
|
23
|
-
xml_buffer: Optional[
|
|
23
|
+
one_candidate: SkipValidation[OneCandidate] = Field(alias="OneCandidate")
|
|
24
|
+
xml_buffer: SkipValidation[Optional[str]] = Field(alias="XML_buffer", default=None)
|
|
24
25
|
__properties: ClassVar[List[str]] = ["OneCandidate", "XML_buffer"]
|
|
25
26
|
|
|
26
27
|
model_config = ConfigDict(
|
|
27
28
|
populate_by_name=True,
|
|
28
29
|
validate_assignment=True,
|
|
29
30
|
protected_namespaces=(),
|
|
31
|
+
arbitrary_types_allowed=True,
|
|
32
|
+
use_enum_values=True
|
|
30
33
|
)
|
|
31
34
|
|
|
32
35
|
|
|
@@ -15,20 +15,23 @@ from typing_extensions import Annotated
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
|
|
16
16
|
from typing import Optional, Set
|
|
17
17
|
from typing_extensions import Self
|
|
18
|
+
from pydantic import SkipValidation, Field
|
|
18
19
|
|
|
19
20
|
class OriginalSymbol(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
OriginalSymbol
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
code:
|
|
24
|
-
probability:
|
|
25
|
-
rect: Optional[RectangleCoordinates] = None
|
|
24
|
+
code: SkipValidation[int] = Field(alias="code", description="Unicode symbol code")
|
|
25
|
+
probability: SkipValidation[int] = Field(alias="probability", description="Probability of correctness reading of a single character")
|
|
26
|
+
rect: SkipValidation[Optional[RectangleCoordinates]] = Field(alias="rect", default=None)
|
|
26
27
|
__properties: ClassVar[List[str]] = ["code", "probability", "rect"]
|
|
27
28
|
|
|
28
29
|
model_config = ConfigDict(
|
|
29
30
|
populate_by_name=True,
|
|
30
31
|
validate_assignment=True,
|
|
31
32
|
protected_namespaces=(),
|
|
33
|
+
arbitrary_types_allowed=True,
|
|
34
|
+
use_enum_values=True
|
|
32
35
|
)
|
|
33
36
|
|
|
34
37
|
|
|
@@ -14,19 +14,22 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.out_data_transaction_images_field_value import OutDataTransactionImagesFieldValue
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class OutData(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
OutData
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
url: Optional[
|
|
23
|
-
images: Optional[List[OutDataTransactionImagesFieldValue]] = None
|
|
23
|
+
url: SkipValidation[Optional[str]] = Field(alias="url", default=None, description="Response url")
|
|
24
|
+
images: SkipValidation[Optional[List[OutDataTransactionImagesFieldValue]]] = Field(alias="images", default=None)
|
|
24
25
|
__properties: ClassVar[List[str]] = ["url", "images"]
|
|
25
26
|
|
|
26
27
|
model_config = ConfigDict(
|
|
27
28
|
populate_by_name=True,
|
|
28
29
|
validate_assignment=True,
|
|
29
30
|
protected_namespaces=(),
|
|
31
|
+
arbitrary_types_allowed=True,
|
|
32
|
+
use_enum_values=True
|
|
30
33
|
)
|
|
31
34
|
|
|
32
35
|
|
|
@@ -15,22 +15,25 @@ from regula.documentreader.webclient.gen.models.graphic_field_type import Graphi
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.light import Light
|
|
16
16
|
from typing import Optional, Set
|
|
17
17
|
from typing_extensions import Self
|
|
18
|
+
from pydantic import SkipValidation, Field
|
|
18
19
|
|
|
19
20
|
class OutDataTransactionImagesFieldValue(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
OutDataTransactionImagesFieldValue
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
field_type: Optional[GraphicFieldType] = Field(
|
|
24
|
-
light: Optional[Light] = None
|
|
25
|
-
list_idx: Optional[
|
|
26
|
-
page_idx: Optional[
|
|
27
|
-
url: Optional[
|
|
24
|
+
field_type: SkipValidation[Optional[GraphicFieldType]] = Field(alias="fieldType", default=None)
|
|
25
|
+
light: SkipValidation[Optional[Light]] = Field(alias="light", default=None)
|
|
26
|
+
list_idx: SkipValidation[Optional[int]] = Field(alias="listIdx", default=None)
|
|
27
|
+
page_idx: SkipValidation[Optional[int]] = Field(alias="pageIdx", default=None, description="Page index of the image from input list")
|
|
28
|
+
url: SkipValidation[Optional[str]] = Field(alias="url", default=None, description="Image url")
|
|
28
29
|
__properties: ClassVar[List[str]] = ["fieldType", "light", "listIdx", "pageIdx", "url"]
|
|
29
30
|
|
|
30
31
|
model_config = ConfigDict(
|
|
31
32
|
populate_by_name=True,
|
|
32
33
|
validate_assignment=True,
|
|
33
34
|
protected_namespaces=(),
|
|
35
|
+
arbitrary_types_allowed=True,
|
|
36
|
+
use_enum_values=True
|
|
34
37
|
)
|
|
35
38
|
|
|
36
39
|
|
|
@@ -18,27 +18,30 @@ from regula.documentreader.webclient.gen.models.data_module import DataModule
|
|
|
18
18
|
from regula.documentreader.webclient.gen.models.text_field_type import TextFieldType
|
|
19
19
|
from typing import Optional, Set
|
|
20
20
|
from typing_extensions import Self
|
|
21
|
+
from pydantic import SkipValidation, Field
|
|
21
22
|
|
|
22
23
|
class PArrayField(BaseModel):
|
|
23
24
|
"""
|
|
24
25
|
PArrayField
|
|
25
26
|
""" # noqa: E501
|
|
26
|
-
bc_angle_detect:
|
|
27
|
-
bc_code_result:
|
|
28
|
-
bc_count_module:
|
|
29
|
-
bc_data_module: List[DataModule] = Field(alias="bcDataModule")
|
|
30
|
-
bc_pdf417_info: Optional[BcPDF417INFO] = Field(
|
|
31
|
-
bc_roi_detect: BcROIDETECT = Field(alias="bcROI_DETECT")
|
|
32
|
-
bc_text_decoder_types: Optional[
|
|
33
|
-
bc_text_field_type: Optional[TextFieldType] = Field(
|
|
34
|
-
bc_type_decode: BarcodeType = Field(alias="bcType_DECODE")
|
|
35
|
-
bc_type_detect:
|
|
27
|
+
bc_angle_detect: SkipValidation[float] = Field(alias="bcAngle_DETECT")
|
|
28
|
+
bc_code_result: SkipValidation[int] = Field(alias="bcCodeResult")
|
|
29
|
+
bc_count_module: SkipValidation[int] = Field(alias="bcCountModule")
|
|
30
|
+
bc_data_module: SkipValidation[List[DataModule]] = Field(alias="bcDataModule")
|
|
31
|
+
bc_pdf417_info: SkipValidation[Optional[BcPDF417INFO]] = Field(alias="bcPDF417INFO", default=None)
|
|
32
|
+
bc_roi_detect: SkipValidation[BcROIDETECT] = Field(alias="bcROI_DETECT")
|
|
33
|
+
bc_text_decoder_types: SkipValidation[Optional[int]] = Field(alias="bcTextDecoderTypes", default=None)
|
|
34
|
+
bc_text_field_type: SkipValidation[Optional[TextFieldType]] = Field(alias="bcTextFieldType", default=None)
|
|
35
|
+
bc_type_decode: SkipValidation[BarcodeType] = Field(alias="bcType_DECODE")
|
|
36
|
+
bc_type_detect: SkipValidation[int] = Field(alias="bcType_DETECT")
|
|
36
37
|
__properties: ClassVar[List[str]] = ["bcAngle_DETECT", "bcCodeResult", "bcCountModule", "bcDataModule", "bcPDF417INFO", "bcROI_DETECT", "bcTextDecoderTypes", "bcTextFieldType", "bcType_DECODE", "bcType_DETECT"]
|
|
37
38
|
|
|
38
39
|
model_config = ConfigDict(
|
|
39
40
|
populate_by_name=True,
|
|
40
41
|
validate_assignment=True,
|
|
41
42
|
protected_namespaces=(),
|
|
43
|
+
arbitrary_types_allowed=True,
|
|
44
|
+
use_enum_values=True
|
|
42
45
|
)
|
|
43
46
|
|
|
44
47
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.parsing_notification_codes import ParsingNotificationCodes
|
|
15
15
|
from typing import Optional, Set
|
|
16
16
|
from typing_extensions import Self
|
|
17
|
+
from pydantic import SkipValidation, Field
|
|
17
18
|
|
|
18
19
|
class ParsedData(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
ParsedData
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
parsing_notifications: Optional[List[ParsingNotificationCodes]] = Field(
|
|
23
|
+
parsing_notifications: SkipValidation[Optional[List[ParsingNotificationCodes]]] = Field(alias="ParsingNotifications", default=None)
|
|
23
24
|
__properties: ClassVar[List[str]] = ["ParsingNotifications"]
|
|
24
25
|
|
|
25
26
|
model_config = ConfigDict(
|
|
26
27
|
populate_by_name=True,
|
|
27
28
|
validate_assignment=True,
|
|
28
29
|
protected_namespaces=(),
|
|
30
|
+
arbitrary_types_allowed=True,
|
|
31
|
+
use_enum_values=True
|
|
29
32
|
)
|
|
30
33
|
|
|
31
34
|
|
|
@@ -13,19 +13,22 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
14
|
from typing import Optional, Set
|
|
15
15
|
from typing_extensions import Self
|
|
16
|
+
from pydantic import SkipValidation, Field
|
|
16
17
|
|
|
17
18
|
class PerDocumentConfig(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
PerDocumentConfig
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
doc_id: Optional[List[
|
|
22
|
-
exclude_auth_checks: Optional[
|
|
22
|
+
doc_id: SkipValidation[Optional[List[int]]] = Field(alias="docID", default=None, description="Specific template IDs, for which apply current custom configuration")
|
|
23
|
+
exclude_auth_checks: SkipValidation[Optional[int]] = Field(alias="excludeAuthChecks", default=None, description="Contains items from AuthenticityResultType as sum via OR operation")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["docID", "excludeAuthChecks"]
|
|
24
25
|
|
|
25
26
|
model_config = ConfigDict(
|
|
26
27
|
populate_by_name=True,
|
|
27
28
|
validate_assignment=True,
|
|
28
29
|
protected_namespaces=(),
|
|
30
|
+
arbitrary_types_allowed=True,
|
|
31
|
+
use_enum_values=True
|
|
29
32
|
)
|
|
30
33
|
|
|
31
34
|
|
|
@@ -17,26 +17,29 @@ from regula.documentreader.webclient.gen.models.raw_image_container_list import
|
|
|
17
17
|
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
|
|
18
18
|
from typing import Optional, Set
|
|
19
19
|
from typing_extensions import Self
|
|
20
|
+
from pydantic import SkipValidation, Field
|
|
20
21
|
|
|
21
22
|
class PhotoIdentItem(BaseModel):
|
|
22
23
|
"""
|
|
23
24
|
PhotoIdentItem
|
|
24
25
|
""" # noqa: E501
|
|
25
|
-
light_index: Light = Field(alias="LightIndex")
|
|
26
|
-
area: RectangleCoordinates = Field(alias="Area")
|
|
27
|
-
source_image: ImageData = Field(alias="SourceImage")
|
|
28
|
-
result_images: RawImageContainerList = Field(alias="ResultImages")
|
|
29
|
-
field_types_count: Optional[
|
|
30
|
-
field_types_list: Optional[List[
|
|
31
|
-
step: Optional[
|
|
32
|
-
angle: Optional[
|
|
33
|
-
reserved3: Optional[
|
|
26
|
+
light_index: SkipValidation[Light] = Field(alias="LightIndex")
|
|
27
|
+
area: SkipValidation[RectangleCoordinates] = Field(alias="Area")
|
|
28
|
+
source_image: SkipValidation[ImageData] = Field(alias="SourceImage")
|
|
29
|
+
result_images: SkipValidation[RawImageContainerList] = Field(alias="ResultImages")
|
|
30
|
+
field_types_count: SkipValidation[Optional[int]] = Field(alias="FieldTypesCount", default=None)
|
|
31
|
+
field_types_list: SkipValidation[Optional[List[int]]] = Field(alias="FieldTypesList", default=None)
|
|
32
|
+
step: SkipValidation[Optional[int]] = Field(alias="Step", default=None)
|
|
33
|
+
angle: SkipValidation[Optional[int]] = Field(alias="Angle", default=None)
|
|
34
|
+
reserved3: SkipValidation[Optional[int]] = Field(alias="Reserved3", default=None)
|
|
34
35
|
__properties: ClassVar[List[str]] = ["LightIndex", "Area", "SourceImage", "ResultImages", "FieldTypesCount", "FieldTypesList", "Step", "Angle", "Reserved3"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
38
|
populate_by_name=True,
|
|
38
39
|
validate_assignment=True,
|
|
39
40
|
protected_namespaces=(),
|
|
41
|
+
arbitrary_types_allowed=True,
|
|
42
|
+
use_enum_values=True
|
|
40
43
|
)
|
|
41
44
|
|
|
42
45
|
|