regula-documentreader-webclient 8.3.512__py3-none-any.whl → 8.4.584__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.
- regula/documentreader/webclient/ext/api/document_reader_api.py +2 -2
- regula/documentreader/webclient/gen/__init__.py +755 -240
- 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 +249 -1
- 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 +4 -1
- regula/documentreader/webclient/gen/models/barcode_position_result.py +4 -1
- 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/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 +6 -3
- 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 +8 -5
- 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_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 -16
- 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_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.512.dist-info → regula_documentreader_webclient-8.4.584.dist-info}/METADATA +2 -1
- {regula_documentreader_webclient-8.3.512.dist-info → regula_documentreader_webclient-8.4.584.dist-info}/RECORD +197 -193
- {regula_documentreader_webclient-8.3.512.dist-info → regula_documentreader_webclient-8.4.584.dist-info}/WHEEL +0 -0
- {regula_documentreader_webclient-8.3.512.dist-info → regula_documentreader_webclient-8.4.584.dist-info}/top_level.txt +0 -0
|
@@ -14,34 +14,37 @@ from typing import Any, ClassVar, Dict, List, Union
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
|
|
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 SymbolEstimationItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
SymbolEstimationItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
alignment_nearest_symbols:
|
|
23
|
-
contrast_print:
|
|
24
|
-
contrast_symbol:
|
|
25
|
-
char_symbol:
|
|
26
|
-
edge:
|
|
27
|
-
emptiness:
|
|
28
|
-
stain:
|
|
29
|
-
symbols_interval:
|
|
30
|
-
symbol_param:
|
|
31
|
-
symbol_size:
|
|
32
|
-
size_error_align_with_next:
|
|
33
|
-
size_error_align_with_prev:
|
|
34
|
-
size_error_interv_with_next:
|
|
35
|
-
size_error_interv_with_prev:
|
|
36
|
-
size_error_symbol_height:
|
|
37
|
-
size_error_symbol_width:
|
|
38
|
-
symbol_bounds: RectangleCoordinates = Field(alias="SymbolBounds")
|
|
23
|
+
alignment_nearest_symbols: SkipValidation[int] = Field(alias="ALIGNMENT_NEAREST_SYMBOLS")
|
|
24
|
+
contrast_print: SkipValidation[int] = Field(alias="CONTRAST_PRINT")
|
|
25
|
+
contrast_symbol: SkipValidation[int] = Field(alias="CONTRAST_SYMBOL")
|
|
26
|
+
char_symbol: SkipValidation[int] = Field(alias="CharSymbol")
|
|
27
|
+
edge: SkipValidation[int] = Field(alias="EDGE")
|
|
28
|
+
emptiness: SkipValidation[int] = Field(alias="EMPTINESS")
|
|
29
|
+
stain: SkipValidation[int] = Field(alias="STAIN")
|
|
30
|
+
symbols_interval: SkipValidation[int] = Field(alias="SYMBOLS_INTERVAL")
|
|
31
|
+
symbol_param: SkipValidation[int] = Field(alias="SYMBOL_PARAM")
|
|
32
|
+
symbol_size: SkipValidation[int] = Field(alias="SYMBOL_SIZE")
|
|
33
|
+
size_error_align_with_next: SkipValidation[float] = Field(alias="SizeErrorAlignWithNext")
|
|
34
|
+
size_error_align_with_prev: SkipValidation[float] = Field(alias="SizeErrorAlignWithPrev")
|
|
35
|
+
size_error_interv_with_next: SkipValidation[float] = Field(alias="SizeErrorIntervWithNext")
|
|
36
|
+
size_error_interv_with_prev: SkipValidation[float] = Field(alias="SizeErrorIntervWithPrev")
|
|
37
|
+
size_error_symbol_height: SkipValidation[float] = Field(alias="SizeErrorSymbolHeight")
|
|
38
|
+
size_error_symbol_width: SkipValidation[float] = Field(alias="SizeErrorSymbolWidth")
|
|
39
|
+
symbol_bounds: SkipValidation[RectangleCoordinates] = Field(alias="SymbolBounds")
|
|
39
40
|
__properties: ClassVar[List[str]] = ["ALIGNMENT_NEAREST_SYMBOLS", "CONTRAST_PRINT", "CONTRAST_SYMBOL", "CharSymbol", "EDGE", "EMPTINESS", "STAIN", "SYMBOLS_INTERVAL", "SYMBOL_PARAM", "SYMBOL_SIZE", "SizeErrorAlignWithNext", "SizeErrorAlignWithPrev", "SizeErrorIntervWithNext", "SizeErrorIntervWithPrev", "SizeErrorSymbolHeight", "SizeErrorSymbolWidth", "SymbolBounds"]
|
|
40
41
|
|
|
41
42
|
model_config = ConfigDict(
|
|
42
43
|
populate_by_name=True,
|
|
43
44
|
validate_assignment=True,
|
|
44
45
|
protected_namespaces=(),
|
|
46
|
+
arbitrary_types_allowed=True,
|
|
47
|
+
use_enum_values=True
|
|
45
48
|
)
|
|
46
49
|
|
|
47
50
|
|
|
@@ -15,22 +15,25 @@ from regula.documentreader.webclient.gen.models.rectangle_coordinates import Rec
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.symbol_candidate import SymbolCandidate
|
|
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 SymbolRecognitionResult(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
Describes a single character recognition results in the text field line
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
symbol_rect: Optional[RectangleCoordinates] = Field(
|
|
24
|
-
candidates_count:
|
|
25
|
-
list_of_candidates: List[SymbolCandidate] = Field(description="Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability)"
|
|
26
|
-
base_line_bottom: Optional[
|
|
27
|
-
base_line_top: Optional[
|
|
24
|
+
symbol_rect: SkipValidation[Optional[RectangleCoordinates]] = Field(alias="SymbolRect", default=None)
|
|
25
|
+
candidates_count: SkipValidation[float] = Field(alias="CandidatesCount", description="Number of significant elements of ListOfCandidates array")
|
|
26
|
+
list_of_candidates: SkipValidation[List[SymbolCandidate]] = Field(alias="ListOfCandidates", description="Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability)")
|
|
27
|
+
base_line_bottom: SkipValidation[Optional[int]] = Field(alias="BaseLineBottom", default=None)
|
|
28
|
+
base_line_top: SkipValidation[Optional[int]] = Field(alias="BaseLineTop", default=None)
|
|
28
29
|
__properties: ClassVar[List[str]] = ["SymbolRect", "CandidatesCount", "ListOfCandidates", "BaseLineBottom", "BaseLineTop"]
|
|
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
|
|
|
@@ -15,19 +15,22 @@ from regula.documentreader.webclient.gen.models.binary_data import BinaryData
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.rfid_raw_data import RfidRawData
|
|
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 TDocBinaryInfo(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
TDocBinaryInfo
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
rfid_binary_data: Optional[BinaryData] = Field(
|
|
24
|
-
rfid_raw_data: Optional[List[RfidRawData]] = Field(
|
|
24
|
+
rfid_binary_data: SkipValidation[Optional[BinaryData]] = Field(alias="RFID_BINARY_DATA", default=None)
|
|
25
|
+
rfid_raw_data: SkipValidation[Optional[List[RfidRawData]]] = Field(alias="RFID_RAW_DATA", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["RFID_BINARY_DATA", "RFID_RAW_DATA"]
|
|
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.t_doc_binary_info import TDocBinaryInfo
|
|
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 TDocBinaryInfoItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TDocBinaryInfoItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
t_doc_binary_info: TDocBinaryInfo = Field(alias="TDocBinaryInfo")
|
|
23
|
+
t_doc_binary_info: SkipValidation[TDocBinaryInfo] = Field(alias="TDocBinaryInfo")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["TDocBinaryInfo"]
|
|
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
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.graph_data import GraphData
|
|
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 TOriginalRFIDGraphicsInfo(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TOriginalRFIDGraphicsInfo
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
rfid_original_graph_data: List[GraphData] = Field(alias="RFID_ORIGINAL_GRAPH_DATA")
|
|
23
|
+
rfid_original_graph_data: SkipValidation[List[GraphData]] = Field(alias="RFID_ORIGINAL_GRAPH_DATA")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["RFID_ORIGINAL_GRAPH_DATA"]
|
|
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
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.t_original_rfid_graphics_info import TOriginalRFIDGraphicsInfo
|
|
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 TOriginalRFIDGraphicsInfoItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TOriginalRFIDGraphicsInfoItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
t_original_rfid_graphics_info: TOriginalRFIDGraphicsInfo = Field(alias="TOriginalRFIDGraphicsInfo")
|
|
23
|
+
t_original_rfid_graphics_info: SkipValidation[TOriginalRFIDGraphicsInfo] = Field(alias="TOriginalRFIDGraphicsInfo")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["TOriginalRFIDGraphicsInfo"]
|
|
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,23 +16,26 @@ from regula.documentreader.webclient.gen.models.text_available_source import Tex
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.text_field import TextField
|
|
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 Text(BaseModel):
|
|
21
22
|
"""
|
|
22
23
|
Contains all document text fields data with validity and cross-source compare checks
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
status: CheckResult
|
|
25
|
-
validity_status: CheckResult = Field(alias="validityStatus")
|
|
26
|
-
comparison_status: CheckResult = Field(alias="comparisonStatus")
|
|
27
|
-
date_format:
|
|
28
|
-
field_list: List[TextField] = Field(alias="fieldList")
|
|
29
|
-
available_source_list: List[TextAvailableSource] = Field(alias="availableSourceList")
|
|
25
|
+
status: SkipValidation[CheckResult] = Field(alias="status")
|
|
26
|
+
validity_status: SkipValidation[CheckResult] = Field(alias="validityStatus")
|
|
27
|
+
comparison_status: SkipValidation[CheckResult] = Field(alias="comparisonStatus")
|
|
28
|
+
date_format: SkipValidation[str] = Field(alias="dateFormat", description="Date format")
|
|
29
|
+
field_list: SkipValidation[List[TextField]] = Field(alias="fieldList")
|
|
30
|
+
available_source_list: SkipValidation[List[TextAvailableSource]] = Field(alias="availableSourceList")
|
|
30
31
|
__properties: ClassVar[List[str]] = ["status", "validityStatus", "comparisonStatus", "dateFormat", "fieldList", "availableSourceList"]
|
|
31
32
|
|
|
32
33
|
model_config = ConfigDict(
|
|
33
34
|
populate_by_name=True,
|
|
34
35
|
validate_assignment=True,
|
|
35
36
|
protected_namespaces=(),
|
|
37
|
+
arbitrary_types_allowed=True,
|
|
38
|
+
use_enum_values=True
|
|
36
39
|
)
|
|
37
40
|
|
|
38
41
|
|
|
@@ -15,20 +15,23 @@ from regula.documentreader.webclient.gen.models.check_result import CheckResult
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.source import Source
|
|
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 TextAvailableSource(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
TextAvailableSource
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
source: Source
|
|
24
|
-
validity_status: CheckResult = Field(alias="validityStatus")
|
|
25
|
-
container_type: Optional[
|
|
24
|
+
source: SkipValidation[Source] = Field(alias="source")
|
|
25
|
+
validity_status: SkipValidation[CheckResult] = Field(alias="validityStatus")
|
|
26
|
+
container_type: SkipValidation[Optional[int]] = Field(alias="containerType", default=None, description="Same as Result type, but used for safe parsing of not-described values. See Result type.")
|
|
26
27
|
__properties: ClassVar[List[str]] = ["source", "validityStatus", "containerType"]
|
|
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
|
|
|
@@ -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 TextDataResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
Text fields extracted from one document source. Contains results of specific source for each provided page.
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
doc_visual_extended_info: DocVisualExtendedInfo = Field(alias="DocVisualExtendedInfo")
|
|
25
|
+
doc_visual_extended_info: SkipValidation[DocVisualExtendedInfo] = Field(alias="DocVisualExtendedInfo")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "DocVisualExtendedInfo"]
|
|
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
|
|
|
@@ -19,28 +19,31 @@ from regula.documentreader.webclient.gen.models.text_field_type import TextField
|
|
|
19
19
|
from regula.documentreader.webclient.gen.models.text_field_value import TextFieldValue
|
|
20
20
|
from typing import Optional, Set
|
|
21
21
|
from typing_extensions import Self
|
|
22
|
+
from pydantic import SkipValidation, Field
|
|
22
23
|
|
|
23
24
|
class TextField(BaseModel):
|
|
24
25
|
"""
|
|
25
26
|
TextField
|
|
26
27
|
""" # noqa: E501
|
|
27
|
-
field_type: TextFieldType = Field(alias="fieldType")
|
|
28
|
-
field_name:
|
|
29
|
-
lcid: LCID
|
|
30
|
-
lcid_name: Optional[
|
|
31
|
-
status: CheckResult
|
|
32
|
-
validity_status: CheckResult = Field(alias="validityStatus")
|
|
33
|
-
comparison_status: CheckResult = Field(alias="comparisonStatus")
|
|
34
|
-
value:
|
|
35
|
-
value_list: List[TextFieldValue] = Field(alias="valueList")
|
|
36
|
-
validity_list: List[SourceValidity] = Field(description="Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error."
|
|
37
|
-
comparison_list: List[CrossSourceValueComparison] = Field(alias="comparisonList")
|
|
28
|
+
field_type: SkipValidation[TextFieldType] = Field(alias="fieldType")
|
|
29
|
+
field_name: SkipValidation[str] = Field(alias="fieldName", description="Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup.")
|
|
30
|
+
lcid: SkipValidation[LCID] = Field(alias="lcid")
|
|
31
|
+
lcid_name: SkipValidation[Optional[str]] = Field(alias="lcidName", default=None, description="LCID name")
|
|
32
|
+
status: SkipValidation[CheckResult] = Field(alias="status")
|
|
33
|
+
validity_status: SkipValidation[CheckResult] = Field(alias="validityStatus")
|
|
34
|
+
comparison_status: SkipValidation[CheckResult] = Field(alias="comparisonStatus")
|
|
35
|
+
value: SkipValidation[str] = Field(alias="value", description="The most confidence value, selected from valueList")
|
|
36
|
+
value_list: SkipValidation[List[TextFieldValue]] = Field(alias="valueList")
|
|
37
|
+
validity_list: SkipValidation[List[SourceValidity]] = Field(alias="validityList", description="Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error.")
|
|
38
|
+
comparison_list: SkipValidation[List[CrossSourceValueComparison]] = Field(alias="comparisonList")
|
|
38
39
|
__properties: ClassVar[List[str]] = ["fieldType", "fieldName", "lcid", "lcidName", "status", "validityStatus", "comparisonStatus", "value", "valueList", "validityList", "comparisonList"]
|
|
39
40
|
|
|
40
41
|
model_config = ConfigDict(
|
|
41
42
|
populate_by_name=True,
|
|
42
43
|
validate_assignment=True,
|
|
43
44
|
protected_namespaces=(),
|
|
45
|
+
arbitrary_types_allowed=True,
|
|
46
|
+
use_enum_values=True
|
|
44
47
|
)
|
|
45
48
|
|
|
46
49
|
|
|
@@ -19,27 +19,30 @@ from regula.documentreader.webclient.gen.models.rfid_origin import RfidOrigin
|
|
|
19
19
|
from regula.documentreader.webclient.gen.models.source import Source
|
|
20
20
|
from typing import Optional, Set
|
|
21
21
|
from typing_extensions import Self
|
|
22
|
+
from pydantic import SkipValidation, Field
|
|
22
23
|
|
|
23
24
|
class TextFieldValue(BaseModel):
|
|
24
25
|
"""
|
|
25
26
|
TextFieldValue
|
|
26
27
|
""" # noqa: E501
|
|
27
|
-
source: Source
|
|
28
|
-
value:
|
|
29
|
-
original_value: Optional[
|
|
30
|
-
original_validity: CheckResult = Field(alias="originalValidity")
|
|
31
|
-
original_symbols: Optional[List[OriginalSymbol]] = Field(
|
|
32
|
-
page_index:
|
|
33
|
-
probability:
|
|
34
|
-
field_rect: Optional[RectangleCoordinates] = Field(
|
|
35
|
-
rfid_origin: Optional[RfidOrigin] = Field(
|
|
36
|
-
container_type: Optional[
|
|
28
|
+
source: SkipValidation[Source] = Field(alias="source")
|
|
29
|
+
value: SkipValidation[str] = Field(alias="value", description="Parsed/processed value. Date format converted for output, delimiters removed")
|
|
30
|
+
original_value: SkipValidation[Optional[str]] = Field(alias="originalValue", default=None, description="Original value as seen in the document")
|
|
31
|
+
original_validity: SkipValidation[CheckResult] = Field(alias="originalValidity")
|
|
32
|
+
original_symbols: SkipValidation[Optional[List[OriginalSymbol]]] = Field(alias="originalSymbols", default=None)
|
|
33
|
+
page_index: SkipValidation[int] = Field(alias="pageIndex", description="Page index of the image from input list")
|
|
34
|
+
probability: SkipValidation[int] = Field(alias="probability", description="Min recognition probability. Combined minimum probability from single characters probabilities")
|
|
35
|
+
field_rect: SkipValidation[Optional[RectangleCoordinates]] = Field(alias="fieldRect", default=None)
|
|
36
|
+
rfid_origin: SkipValidation[Optional[RfidOrigin]] = Field(alias="rfidOrigin", default=None)
|
|
37
|
+
container_type: SkipValidation[Optional[int]] = Field(alias="containerType", default=None, description="Same as Result type, but used for safe parsing of not-described values. See Result type.")
|
|
37
38
|
__properties: ClassVar[List[str]] = ["source", "value", "originalValue", "originalValidity", "originalSymbols", "pageIndex", "probability", "fieldRect", "rfidOrigin", "containerType"]
|
|
38
39
|
|
|
39
40
|
model_config = ConfigDict(
|
|
40
41
|
populate_by_name=True,
|
|
41
42
|
validate_assignment=True,
|
|
42
43
|
protected_namespaces=(),
|
|
44
|
+
arbitrary_types_allowed=True,
|
|
45
|
+
use_enum_values=True
|
|
43
46
|
)
|
|
44
47
|
|
|
45
48
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.text import Text
|
|
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 TextItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TextItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
text: Text = Field(alias="Text")
|
|
23
|
+
text: SkipValidation[Text] = Field(alias="Text")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["Text"]
|
|
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_item import ResultItem
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.text import Text
|
|
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 TextResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
TextResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
text: Text = Field(alias="Text")
|
|
25
|
+
text: SkipValidation[Text] = Field(alias="Text")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "Text"]
|
|
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, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.images_field_value import ImagesFieldValue
|
|
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 TransactionImage(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TransactionImage
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
image: Optional[ImagesFieldValue] = None
|
|
23
|
+
image: SkipValidation[Optional[ImagesFieldValue]] = Field(alias="image", default=None)
|
|
23
24
|
__properties: ClassVar[List[str]] = ["image"]
|
|
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
|
|
|
@@ -14,25 +14,28 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.documents_database import DocumentsDatabase
|
|
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 TransactionInfo(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
TransactionInfo
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
computer_name: Optional[
|
|
23
|
-
date_time: Optional[
|
|
24
|
-
documents_database: Optional[DocumentsDatabase] = Field(
|
|
25
|
-
system_info: Optional[
|
|
26
|
-
tag: Optional[
|
|
27
|
-
transaction_id: Optional[
|
|
28
|
-
user_name: Optional[
|
|
29
|
-
version: Optional[
|
|
23
|
+
computer_name: SkipValidation[Optional[str]] = Field(alias="ComputerName", default=None, description="Computer name")
|
|
24
|
+
date_time: SkipValidation[Optional[str]] = Field(alias="DateTime", default=None, description="Date and time")
|
|
25
|
+
documents_database: SkipValidation[Optional[DocumentsDatabase]] = Field(alias="DocumentsDatabase", default=None)
|
|
26
|
+
system_info: SkipValidation[Optional[str]] = Field(alias="SystemInfo", default=None, description="System information")
|
|
27
|
+
tag: SkipValidation[Optional[str]] = Field(alias="Tag", default=None, description="Transaction tag")
|
|
28
|
+
transaction_id: SkipValidation[Optional[str]] = Field(alias="TransactionID", default=None, description="Transaction identifier")
|
|
29
|
+
user_name: SkipValidation[Optional[str]] = Field(alias="UserName", default=None, description="User name")
|
|
30
|
+
version: SkipValidation[Optional[str]] = Field(alias="Version", default=None, description="SDK version")
|
|
30
31
|
__properties: ClassVar[List[str]] = ["ComputerName", "DateTime", "DocumentsDatabase", "SystemInfo", "Tag", "TransactionID", "UserName", "Version"]
|
|
31
32
|
|
|
32
33
|
model_config = ConfigDict(
|
|
33
34
|
populate_by_name=True,
|
|
34
35
|
validate_assignment=True,
|
|
35
36
|
protected_namespaces=(),
|
|
37
|
+
arbitrary_types_allowed=True,
|
|
38
|
+
use_enum_values=True
|
|
36
39
|
)
|
|
37
40
|
|
|
38
41
|
|
|
@@ -11,25 +11,29 @@ import json
|
|
|
11
11
|
|
|
12
12
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
|
+
from uuid import UUID
|
|
14
15
|
from regula.documentreader.webclient.gen.models.in_data import InData
|
|
15
16
|
from regula.documentreader.webclient.gen.models.out_data import OutData
|
|
16
17
|
from typing import Optional, Set
|
|
17
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
18
20
|
|
|
19
21
|
class TransactionProcessGetResponse(BaseModel):
|
|
20
22
|
"""
|
|
21
23
|
TransactionProcessGetResponse
|
|
22
24
|
""" # noqa: E501
|
|
23
|
-
transaction_id: Optional[
|
|
24
|
-
tag: Optional[
|
|
25
|
-
out_data: Optional[OutData] = Field(
|
|
26
|
-
in_data: Optional[InData] = Field(
|
|
25
|
+
transaction_id: SkipValidation[Optional[str]] = Field(alias="transactionId", default=None)
|
|
26
|
+
tag: SkipValidation[Optional[str]] = Field(alias="tag", default=None)
|
|
27
|
+
out_data: SkipValidation[Optional[OutData]] = Field(alias="outData", default=None)
|
|
28
|
+
in_data: SkipValidation[Optional[InData]] = Field(alias="inData", default=None)
|
|
27
29
|
__properties: ClassVar[List[str]] = ["transactionId", "tag", "outData", "inData"]
|
|
28
30
|
|
|
29
31
|
model_config = ConfigDict(
|
|
30
32
|
populate_by_name=True,
|
|
31
33
|
validate_assignment=True,
|
|
32
34
|
protected_namespaces=(),
|
|
35
|
+
arbitrary_types_allowed=True,
|
|
36
|
+
use_enum_values=True
|
|
33
37
|
)
|
|
34
38
|
|
|
35
39
|
|
|
@@ -17,28 +17,31 @@ from regula.documentreader.webclient.gen.models.process_request_image import Pro
|
|
|
17
17
|
from regula.documentreader.webclient.gen.models.process_system_info import ProcessSystemInfo
|
|
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 TransactionProcessRequest(BaseModel):
|
|
22
23
|
"""
|
|
23
24
|
TransactionProcessRequest
|
|
24
25
|
""" # noqa: E501
|
|
25
|
-
process_param: ProcessParams = Field(alias="processParam")
|
|
26
|
-
list: Optional[List[ProcessRequestImage]] = Field(
|
|
27
|
-
tag: Optional[
|
|
28
|
-
tenant: Optional[
|
|
29
|
-
env: Optional[
|
|
30
|
-
live_portrait: Optional[
|
|
31
|
-
ext_portrait: Optional[
|
|
32
|
-
container_list: Optional[ContainerList] = Field(
|
|
33
|
-
system_info: Optional[ProcessSystemInfo] = Field(
|
|
34
|
-
pass_back_object: Optional[Dict[str,
|
|
35
|
-
dtc: Optional[
|
|
26
|
+
process_param: SkipValidation[ProcessParams] = Field(alias="processParam")
|
|
27
|
+
list: SkipValidation[Optional[List[ProcessRequestImage]]] = Field(alias="List", default=None)
|
|
28
|
+
tag: SkipValidation[Optional[str]] = Field(alias="tag", default=None, description="Session ID")
|
|
29
|
+
tenant: SkipValidation[Optional[str]] = Field(alias="tenant", default=None, description="Customer name")
|
|
30
|
+
env: SkipValidation[Optional[str]] = Field(alias="env", default=None, description="Environment type")
|
|
31
|
+
live_portrait: SkipValidation[Optional[str]] = Field(alias="livePortrait", default=None, description="Live portrait photo")
|
|
32
|
+
ext_portrait: SkipValidation[Optional[str]] = Field(alias="extPortrait", default=None, description="Portrait photo from an external source")
|
|
33
|
+
container_list: SkipValidation[Optional[ContainerList]] = Field(alias="ContainerList", default=None)
|
|
34
|
+
system_info: SkipValidation[Optional[ProcessSystemInfo]] = Field(alias="systemInfo", default=None)
|
|
35
|
+
pass_back_object: SkipValidation[Optional[Dict[str, object]]] = Field(alias="passBackObject", default=None, description="Free-form object to be included in response. Must be object, not list or simple value. Do not affect document processing. Use it freely to pass your app params. Stored in process logs.")
|
|
36
|
+
dtc: SkipValidation[Optional[str]] = Field(alias="dtc", default=None, description="Digital Travel Credential (DTC-VC) data in base64 format for processing")
|
|
36
37
|
__properties: ClassVar[List[str]] = ["processParam", "List", "tag", "tenant", "env", "livePortrait", "extPortrait", "ContainerList", "systemInfo", "passBackObject", "dtc"]
|
|
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
|
|
|
@@ -11,25 +11,29 @@ import json
|
|
|
11
11
|
|
|
12
12
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
|
+
from uuid import UUID
|
|
14
15
|
from regula.documentreader.webclient.gen.models.in_data import InData
|
|
15
16
|
from regula.documentreader.webclient.gen.models.out_data import OutData
|
|
16
17
|
from typing import Optional, Set
|
|
17
18
|
from typing_extensions import Self
|
|
19
|
+
from pydantic import SkipValidation, Field
|
|
18
20
|
|
|
19
21
|
class TransactionProcessResult(BaseModel):
|
|
20
22
|
"""
|
|
21
23
|
TransactionProcessResult
|
|
22
24
|
""" # noqa: E501
|
|
23
|
-
out_data: Optional[OutData] = Field(
|
|
24
|
-
in_data: Optional[InData] = Field(
|
|
25
|
-
tag: Optional[
|
|
26
|
-
transaction_id: Optional[
|
|
25
|
+
out_data: SkipValidation[Optional[OutData]] = Field(alias="outData", default=None)
|
|
26
|
+
in_data: SkipValidation[Optional[InData]] = Field(alias="inData", default=None)
|
|
27
|
+
tag: SkipValidation[Optional[str]] = Field(alias="tag", default=None)
|
|
28
|
+
transaction_id: SkipValidation[Optional[str]] = Field(alias="transactionId", default=None)
|
|
27
29
|
__properties: ClassVar[List[str]] = ["outData", "inData", "tag", "transactionId"]
|
|
28
30
|
|
|
29
31
|
model_config = ConfigDict(
|
|
30
32
|
populate_by_name=True,
|
|
31
33
|
validate_assignment=True,
|
|
32
34
|
protected_namespaces=(),
|
|
35
|
+
arbitrary_types_allowed=True,
|
|
36
|
+
use_enum_values=True
|
|
33
37
|
)
|
|
34
38
|
|
|
35
39
|
|
|
@@ -13,21 +13,24 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, Stric
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
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 TrfFtBytes(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
Structure is used to store an array of binary information that is a part of one of the informational data groups
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
type:
|
|
22
|
-
status:
|
|
23
|
-
length:
|
|
24
|
-
data:
|
|
22
|
+
type: SkipValidation[int] = Field(alias="Type", description="Logical type of the field")
|
|
23
|
+
status: SkipValidation[float] = Field(alias="Status", description="Result of logical analysis of compliance of the contents of the field with the requirements of the specification")
|
|
24
|
+
length: SkipValidation[float] = Field(alias="Length", description="Length of Data array")
|
|
25
|
+
data: SkipValidation[str] = Field(alias="Data", description="Binary data array. Base64 encoded.")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["Type", "Status", "Length", "Data"]
|
|
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
|
|