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
|
@@ -15,19 +15,22 @@ from regula.documentreader.webclient.gen.models.document_type_recognition_result
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate
|
|
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 DocumentTypesCandidates(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
DocumentTypesCandidates
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
rec_result: Optional[DocumentTypeRecognitionResult] = Field(
|
|
24
|
-
candidates: Optional[List[OneCandidate]] = Field(
|
|
24
|
+
rec_result: SkipValidation[Optional[DocumentTypeRecognitionResult]] = Field(alias="RecResult", default=None)
|
|
25
|
+
candidates: SkipValidation[Optional[List[OneCandidate]]] = Field(alias="Candidates", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["RecResult", "Candidates"]
|
|
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,19 +15,22 @@ from regula.documentreader.webclient.gen.models.document_type_recognition_result
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate
|
|
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 DocumentTypesCandidatesList(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
DocumentTypesCandidatesList
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
rec_result: Optional[DocumentTypeRecognitionResult] = Field(
|
|
24
|
-
candidates: Optional[List[OneCandidate]] = Field(
|
|
24
|
+
rec_result: SkipValidation[Optional[DocumentTypeRecognitionResult]] = Field(alias="RecResult", default=None)
|
|
25
|
+
candidates: SkipValidation[Optional[List[OneCandidate]]] = Field(alias="Candidates", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["RecResult", "Candidates"]
|
|
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
|
|
|
@@ -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 DocumentTypesCandidatesResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
DocumentTypesCandidatesResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
candidates_list: Optional[DocumentTypesCandidatesList] = Field(
|
|
25
|
+
candidates_list: SkipValidation[Optional[DocumentTypesCandidatesList]] = Field(alias="CandidatesList", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "CandidatesList"]
|
|
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
|
|
|
@@ -13,21 +13,24 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
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 DocumentsDatabase(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
Document database information
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
description: Optional[
|
|
22
|
-
export_date: Optional[
|
|
23
|
-
id: Optional[
|
|
24
|
-
version: Optional[
|
|
22
|
+
description: SkipValidation[Optional[str]] = Field(alias="Description", default=None, description="Document database description")
|
|
23
|
+
export_date: SkipValidation[Optional[str]] = Field(alias="ExportDate", default=None, description="Date the document database was created")
|
|
24
|
+
id: SkipValidation[Optional[str]] = Field(alias="ID", default=None, description="Document database identifier")
|
|
25
|
+
version: SkipValidation[Optional[str]] = Field(alias="Version", default=None, description="Document database version")
|
|
25
26
|
__properties: ClassVar[List[str]] = ["Description", "ExportDate", "ID", "Version"]
|
|
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
|
|
|
@@ -13,18 +13,21 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictStr
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, 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 EncryptedRCLItem(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
EncryptedRCLItem
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
encrypted_rcl:
|
|
22
|
+
encrypted_rcl: SkipValidation[bytearray] = Field(alias="EncryptedRCL", description="Base64 encoded data")
|
|
22
23
|
__properties: ClassVar[List[str]] = ["EncryptedRCL"]
|
|
23
24
|
|
|
24
25
|
model_config = ConfigDict(
|
|
25
26
|
populate_by_name=True,
|
|
26
27
|
validate_assignment=True,
|
|
27
28
|
protected_namespaces=(),
|
|
29
|
+
arbitrary_types_allowed=True,
|
|
30
|
+
use_enum_values=True
|
|
28
31
|
)
|
|
29
32
|
|
|
30
33
|
|
|
@@ -15,18 +15,21 @@ from regula.documentreader.webclient.gen.models.result import Result
|
|
|
15
15
|
from regula.documentreader.webclient.gen.models.result_item import ResultItem
|
|
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 EncryptedRCLResult(ResultItem):
|
|
20
21
|
"""
|
|
21
22
|
Contains encrypted result container list
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
encrypted_rcl:
|
|
24
|
+
encrypted_rcl: SkipValidation[bytearray] = Field(alias="EncryptedRCL", description="Base64 encoded data")
|
|
24
25
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "EncryptedRCL"]
|
|
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
|
|
|
@@ -13,21 +13,24 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
|
|
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 ErrorCoordinates(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
ErrorCoordinates
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
left: Optional[
|
|
22
|
-
top: Optional[
|
|
23
|
-
right: Optional[
|
|
24
|
-
bottom: Optional[
|
|
22
|
+
left: SkipValidation[Optional[float]] = Field(alias="Left", default=None)
|
|
23
|
+
top: SkipValidation[Optional[float]] = Field(alias="Top", default=None)
|
|
24
|
+
right: SkipValidation[Optional[float]] = Field(alias="Right", default=None)
|
|
25
|
+
bottom: SkipValidation[Optional[float]] = Field(alias="Bottom", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["Left", "Top", "Right", "Bottom"]
|
|
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,27 +14,30 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.face_api_search import FaceApiSearch
|
|
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 FaceApi(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
FaceApi
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
url: Optional[
|
|
23
|
-
mode: Optional[
|
|
24
|
-
search: Optional[FaceApiSearch] = None
|
|
25
|
-
threshold: Optional[
|
|
26
|
-
service_timeout: Optional[
|
|
27
|
-
proxy: Optional[
|
|
28
|
-
proxy_userpwd: Optional[
|
|
29
|
-
proxy_type: Optional[
|
|
30
|
-
child_age_threshold: Optional[
|
|
31
|
-
child_doc_validity_years: Optional[
|
|
23
|
+
url: SkipValidation[Optional[str]] = Field(alias="url", default=None, description="The URL of the Regula Face Web service to be used.")
|
|
24
|
+
mode: SkipValidation[Optional[str]] = Field(alias="mode", default=None, description="The processing mode: \"match\" or \"match+search\".")
|
|
25
|
+
search: SkipValidation[Optional[FaceApiSearch]] = Field(alias="search", default=None)
|
|
26
|
+
threshold: SkipValidation[Optional[int]] = Field(alias="threshold", default=None, description="The similarity threshold, 0-100. Above 75 means that the faces' similarity is verified, below 75 is not.")
|
|
27
|
+
service_timeout: SkipValidation[Optional[int]] = Field(alias="serviceTimeout", default=None, description="The Regula Face Web service requests timeout, ms.")
|
|
28
|
+
proxy: SkipValidation[Optional[str]] = Field(alias="proxy", default=None, description="Proxy to use, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXY.html\" target=\"_blank\">cURL standard</a>.")
|
|
29
|
+
proxy_userpwd: SkipValidation[Optional[str]] = Field(alias="proxy_userpwd", default=None, description="Username and password to use for proxy authentication, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYUSERPWD.html\" target=\"_blank\">cURL standard</a>.")
|
|
30
|
+
proxy_type: SkipValidation[Optional[int]] = Field(alias="proxy_type", default=None, description="Proxy protocol type, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYTYPE.html\" target=\"_blank\">cURL standard</a>.")
|
|
31
|
+
child_age_threshold: SkipValidation[Optional[int]] = Field(alias="childAgeThreshold", default=None, description="The age threshold for the portrait comparison. Default: 13.")
|
|
32
|
+
child_doc_validity_years: SkipValidation[Optional[int]] = Field(alias="childDocValidityYears", default=None, description="Estimated duration of validity for a child's passport, years. Default: 5.")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["url", "mode", "search", "threshold", "serviceTimeout", "proxy", "proxy_userpwd", "proxy_type", "childAgeThreshold", "childDocValidityYears"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
36
37
|
validate_assignment=True,
|
|
37
38
|
protected_namespaces=(),
|
|
39
|
+
arbitrary_types_allowed=True,
|
|
40
|
+
use_enum_values=True
|
|
38
41
|
)
|
|
39
42
|
|
|
40
43
|
|
|
@@ -13,20 +13,23 @@ 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 FaceApiSearch(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the <a href=\"https://dev.regulaforensics.com/FaceSDK-web-openapi/#tag/search/operation/search\" target=\"_blank\">OpenAPI documentation</a>.
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
limit: Optional[
|
|
22
|
-
threshold: Optional[
|
|
23
|
-
group_ids: Optional[List[
|
|
22
|
+
limit: SkipValidation[Optional[int]] = Field(alias="limit", default=None, description="The maximum number of results to be returned.")
|
|
23
|
+
threshold: SkipValidation[Optional[float]] = Field(alias="threshold", default=None, description="The similarity threshold.")
|
|
24
|
+
group_ids: SkipValidation[Optional[List[str]]] = Field(alias="group_ids", default=None, description=" The groups where to conduct the search.")
|
|
24
25
|
__properties: ClassVar[List[str]] = ["limit", "threshold", "group_ids"]
|
|
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
|
|
|
@@ -14,22 +14,25 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.face_item import FaceItem
|
|
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 FaceDetection(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
FaceDetection
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
count:
|
|
23
|
-
count_false_detection:
|
|
24
|
-
res: List[FaceItem] = Field(alias="Res")
|
|
25
|
-
reserved1: Optional[
|
|
26
|
-
reserved2: Optional[
|
|
23
|
+
count: SkipValidation[int] = Field(alias="Count")
|
|
24
|
+
count_false_detection: SkipValidation[int] = Field(alias="CountFalseDetection")
|
|
25
|
+
res: SkipValidation[List[FaceItem]] = Field(alias="Res")
|
|
26
|
+
reserved1: SkipValidation[Optional[int]] = Field(alias="Reserved1", default=None)
|
|
27
|
+
reserved2: SkipValidation[Optional[int]] = Field(alias="Reserved2", default=None)
|
|
27
28
|
__properties: ClassVar[List[str]] = ["Count", "CountFalseDetection", "Res", "Reserved1", "Reserved2"]
|
|
28
29
|
|
|
29
30
|
model_config = ConfigDict(
|
|
30
31
|
populate_by_name=True,
|
|
31
32
|
validate_assignment=True,
|
|
32
33
|
protected_namespaces=(),
|
|
34
|
+
arbitrary_types_allowed=True,
|
|
35
|
+
use_enum_values=True
|
|
33
36
|
)
|
|
34
37
|
|
|
35
38
|
|
|
@@ -14,18 +14,21 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
14
14
|
from regula.documentreader.webclient.gen.models.face_detection import FaceDetection
|
|
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 FaceDetectionItem(BaseModel):
|
|
19
20
|
"""
|
|
20
21
|
FaceDetectionItem
|
|
21
22
|
""" # noqa: E501
|
|
22
|
-
face_detection: Optional[FaceDetection] = Field(
|
|
23
|
+
face_detection: SkipValidation[Optional[FaceDetection]] = Field(alias="FaceDetection", default=None)
|
|
23
24
|
__properties: ClassVar[List[str]] = ["FaceDetection"]
|
|
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 FaceDetectionResult(ResultItem):
|
|
21
22
|
"""
|
|
22
23
|
FaceDetectionResult
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
face_detection: Optional[FaceDetection] = Field(
|
|
25
|
+
face_detection: SkipValidation[Optional[FaceDetection]] = Field(alias="FaceDetection", default=None)
|
|
25
26
|
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "FaceDetection"]
|
|
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
|
|
|
@@ -16,25 +16,28 @@ from regula.documentreader.webclient.gen.models.point import Point
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
|
|
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 FaceItem(BaseModel):
|
|
21
22
|
"""
|
|
22
23
|
FaceItem
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
coincidence_to_photo_area:
|
|
25
|
-
face_rect: RectangleCoordinates = Field(alias="FaceRect")
|
|
26
|
-
field_rect: RectangleCoordinates = Field(alias="FieldRect")
|
|
27
|
-
graph_field_number:
|
|
28
|
-
landmarks: List[Point] = Field(alias="Landmarks")
|
|
29
|
-
light_type: Light = Field(alias="LightType")
|
|
30
|
-
orientation:
|
|
31
|
-
probability:
|
|
25
|
+
coincidence_to_photo_area: SkipValidation[int] = Field(alias="CoincidenceToPhotoArea")
|
|
26
|
+
face_rect: SkipValidation[RectangleCoordinates] = Field(alias="FaceRect")
|
|
27
|
+
field_rect: SkipValidation[RectangleCoordinates] = Field(alias="FieldRect")
|
|
28
|
+
graph_field_number: SkipValidation[int] = Field(alias="GraphFieldNumber")
|
|
29
|
+
landmarks: SkipValidation[List[Point]] = Field(alias="Landmarks")
|
|
30
|
+
light_type: SkipValidation[Light] = Field(alias="LightType")
|
|
31
|
+
orientation: SkipValidation[int] = Field(alias="Orientation")
|
|
32
|
+
probability: SkipValidation[int] = Field(alias="Probability")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["CoincidenceToPhotoArea", "FaceRect", "FieldRect", "GraphFieldNumber", "Landmarks", "LightType", "Orientation", "Probability"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
36
37
|
validate_assignment=True,
|
|
37
38
|
protected_namespaces=(),
|
|
39
|
+
arbitrary_types_allowed=True,
|
|
40
|
+
use_enum_values=True
|
|
38
41
|
)
|
|
39
42
|
|
|
40
43
|
|
|
@@ -16,29 +16,32 @@ from regula.documentreader.webclient.gen.models.document_format import DocumentF
|
|
|
16
16
|
from regula.documentreader.webclient.gen.models.document_type import DocumentType
|
|
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 FDSIDList(BaseModel):
|
|
21
22
|
"""
|
|
22
23
|
Extended document type info and Regula's 'Information Reference Systems' links
|
|
23
24
|
""" # noqa: E501
|
|
24
|
-
icao_code:
|
|
25
|
-
count: Optional[
|
|
26
|
-
list: Optional[List[
|
|
27
|
-
d_type: DocumentType = Field(alias="dType")
|
|
28
|
-
d_format: DocumentFormat = Field(alias="dFormat")
|
|
29
|
-
d_mrz:
|
|
30
|
-
d_description: Optional[
|
|
31
|
-
d_year: Optional[
|
|
32
|
-
d_country_name:
|
|
33
|
-
d_state_code: Optional[
|
|
34
|
-
d_state_name: Optional[
|
|
35
|
-
is_deprecated:
|
|
25
|
+
icao_code: SkipValidation[str] = Field(alias="ICAOCode", description="ICAO code of the issuing country")
|
|
26
|
+
count: SkipValidation[Optional[float]] = Field(alias="Count", default=None, description="Number of elements in the List")
|
|
27
|
+
list: SkipValidation[Optional[List[int]]] = Field(alias="List", default=None, description="Document identifiers in 'Information Reference Systems'")
|
|
28
|
+
d_type: SkipValidation[DocumentType] = Field(alias="dType")
|
|
29
|
+
d_format: SkipValidation[DocumentFormat] = Field(alias="dFormat")
|
|
30
|
+
d_mrz: SkipValidation[bool] = Field(alias="dMRZ", description="Flag indicating the presence of MRZ on the document")
|
|
31
|
+
d_description: SkipValidation[Optional[str]] = Field(alias="dDescription", default=None, description="Document description")
|
|
32
|
+
d_year: SkipValidation[Optional[str]] = Field(alias="dYear", default=None, description="Year of publication of the document")
|
|
33
|
+
d_country_name: SkipValidation[str] = Field(alias="dCountryName", description="Issuing country name")
|
|
34
|
+
d_state_code: SkipValidation[Optional[str]] = Field(alias="dStateCode", default=None, description="Issuing state code")
|
|
35
|
+
d_state_name: SkipValidation[Optional[str]] = Field(alias="dStateName", default=None, description="Issuing state name")
|
|
36
|
+
is_deprecated: SkipValidation[bool] = Field(alias="isDeprecated", description="Whether the document is deprecated")
|
|
36
37
|
__properties: ClassVar[List[str]] = ["ICAOCode", "Count", "List", "dType", "dFormat", "dMRZ", "dDescription", "dYear", "dCountryName", "dStateCode", "dStateName", "isDeprecated"]
|
|
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
|
|
|
@@ -15,26 +15,29 @@ from regula.documentreader.webclient.gen.models.light import Light
|
|
|
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 FiberItem(BaseModel):
|
|
20
21
|
"""
|
|
21
22
|
FiberItem
|
|
22
23
|
""" # noqa: E501
|
|
23
|
-
rect_count:
|
|
24
|
-
expected_count:
|
|
25
|
-
light_value: Optional[Light] = Field(
|
|
26
|
-
light_disp: Optional[
|
|
27
|
-
rect_array: List[RectangleCoordinates] = Field(description="Coordinates of located areas for defined fibers type"
|
|
28
|
-
width: List[
|
|
29
|
-
length: List[
|
|
30
|
-
area: List[
|
|
31
|
-
color_values: List[
|
|
24
|
+
rect_count: SkipValidation[int] = Field(alias="RectCount", description="For UV_Fibers authenticity result type")
|
|
25
|
+
expected_count: SkipValidation[int] = Field(alias="ExpectedCount", description="Expected fibers number. For UV_Fibers authentication result type")
|
|
26
|
+
light_value: SkipValidation[Optional[Light]] = Field(alias="LightValue", default=None)
|
|
27
|
+
light_disp: SkipValidation[Optional[int]] = Field(alias="LightDisp", default=None, description="For UV_Background authentication result type")
|
|
28
|
+
rect_array: SkipValidation[List[RectangleCoordinates]] = Field(alias="RectArray", description="Coordinates of located areas for defined fibers type")
|
|
29
|
+
width: SkipValidation[List[int]] = Field(alias="Width", description="Fibers width value for located areas (in pixels)")
|
|
30
|
+
length: SkipValidation[List[int]] = Field(alias="Length", description="Fibers length value for located areas (in pixels)")
|
|
31
|
+
area: SkipValidation[List[int]] = Field(alias="Area", description="Fibers value for areas (in pixels)")
|
|
32
|
+
color_values: SkipValidation[List[int]] = Field(alias="ColorValues", description="Fibers color value")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["RectCount", "ExpectedCount", "LightValue", "LightDisp", "RectArray", "Width", "Length", "Area", "ColorValues"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
36
37
|
validate_assignment=True,
|
|
37
38
|
protected_namespaces=(),
|
|
39
|
+
arbitrary_types_allowed=True,
|
|
40
|
+
use_enum_values=True
|
|
38
41
|
)
|
|
39
42
|
|
|
40
43
|
|
|
@@ -19,26 +19,29 @@ from regula.documentreader.webclient.gen.models.light import Light
|
|
|
19
19
|
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
|
|
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 FiberResult(AuthenticityCheckResultItem):
|
|
24
25
|
"""
|
|
25
26
|
FiberResult
|
|
26
27
|
""" # noqa: E501
|
|
27
|
-
rect_count:
|
|
28
|
-
expected_count:
|
|
29
|
-
light_value: Optional[Light] = Field(
|
|
30
|
-
light_disp: Optional[
|
|
31
|
-
rect_array: List[RectangleCoordinates] = Field(description="Coordinates of located areas for defined fibers type"
|
|
32
|
-
width: List[
|
|
33
|
-
length: List[
|
|
34
|
-
area: List[
|
|
35
|
-
color_values: List[
|
|
28
|
+
rect_count: SkipValidation[int] = Field(alias="RectCount", description="For UV_Fibers authenticity result type")
|
|
29
|
+
expected_count: SkipValidation[int] = Field(alias="ExpectedCount", description="Expected fibers number. For UV_Fibers authentication result type")
|
|
30
|
+
light_value: SkipValidation[Optional[Light]] = Field(alias="LightValue", default=None)
|
|
31
|
+
light_disp: SkipValidation[Optional[int]] = Field(alias="LightDisp", default=None, description="For UV_Background authentication result type")
|
|
32
|
+
rect_array: SkipValidation[List[RectangleCoordinates]] = Field(alias="RectArray", description="Coordinates of located areas for defined fibers type")
|
|
33
|
+
width: SkipValidation[List[int]] = Field(alias="Width", description="Fibers width value for located areas (in pixels)")
|
|
34
|
+
length: SkipValidation[List[int]] = Field(alias="Length", description="Fibers length value for located areas (in pixels)")
|
|
35
|
+
area: SkipValidation[List[int]] = Field(alias="Area", description="Fibers value for areas (in pixels)")
|
|
36
|
+
color_values: SkipValidation[List[int]] = Field(alias="ColorValues", description="Fibers color value")
|
|
36
37
|
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "RectCount", "ExpectedCount", "LightValue", "LightDisp", "RectArray", "Width", "Length", "Area", "ColorValues"]
|
|
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
|
|
|
@@ -13,23 +13,26 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List
|
|
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 FieldItem(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
FieldItem
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
field_length:
|
|
22
|
-
field_pos:
|
|
23
|
-
field_type:
|
|
24
|
-
test_result:
|
|
25
|
-
valid_check_sum:
|
|
26
|
-
reserved:
|
|
22
|
+
field_length: SkipValidation[int] = Field(alias="FieldLength")
|
|
23
|
+
field_pos: SkipValidation[int] = Field(alias="FieldPos")
|
|
24
|
+
field_type: SkipValidation[int] = Field(alias="FieldType")
|
|
25
|
+
test_result: SkipValidation[int] = Field(alias="TEST_RESULT")
|
|
26
|
+
valid_check_sum: SkipValidation[int] = Field(alias="ValidCheckSum")
|
|
27
|
+
reserved: SkipValidation[int] = Field(alias="reserved")
|
|
27
28
|
__properties: ClassVar[List[str]] = ["FieldLength", "FieldPos", "FieldType", "TEST_RESULT", "ValidCheckSum", "reserved"]
|
|
28
29
|
|
|
29
30
|
model_config = ConfigDict(
|
|
30
31
|
populate_by_name=True,
|
|
31
32
|
validate_assignment=True,
|
|
32
33
|
protected_namespaces=(),
|
|
34
|
+
arbitrary_types_allowed=True,
|
|
35
|
+
use_enum_values=True
|
|
33
36
|
)
|
|
34
37
|
|
|
35
38
|
|
|
@@ -13,19 +13,22 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
|
13
13
|
from typing import Any, ClassVar, Dict, List
|
|
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 FileImage(BaseModel):
|
|
18
19
|
"""
|
|
19
20
|
FileImage
|
|
20
21
|
""" # noqa: E501
|
|
21
|
-
data:
|
|
22
|
-
length:
|
|
22
|
+
data: SkipValidation[str] = Field(alias="Data")
|
|
23
|
+
length: SkipValidation[int] = Field(alias="Length")
|
|
23
24
|
__properties: ClassVar[List[str]] = ["Data", "Length"]
|
|
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
|
|
|
@@ -10,24 +10,28 @@ import re # noqa: F401
|
|
|
10
10
|
import json
|
|
11
11
|
|
|
12
12
|
from datetime import datetime
|
|
13
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
13
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
14
14
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
15
|
+
from uuid import UUID
|
|
15
16
|
from typing import Optional, Set
|
|
16
17
|
from typing_extensions import Self
|
|
18
|
+
from pydantic import SkipValidation, Field
|
|
17
19
|
|
|
18
20
|
class GetTransactionsByTagResponse(BaseModel):
|
|
19
21
|
"""
|
|
20
22
|
GetTransactionsByTagResponse
|
|
21
23
|
""" # noqa: E501
|
|
22
|
-
id: Optional[
|
|
23
|
-
state: Optional[
|
|
24
|
-
updated_at: Optional[datetime] = Field(default=None, description="Last time updated"
|
|
24
|
+
id: SkipValidation[Optional[str]] = Field(alias="id", default=None, description="Transaction id")
|
|
25
|
+
state: SkipValidation[Optional[int]] = Field(alias="state", default=None, description="Transaction status")
|
|
26
|
+
updated_at: SkipValidation[Optional[datetime]] = Field(alias="updatedAt", default=None, description="Last time updated")
|
|
25
27
|
__properties: ClassVar[List[str]] = ["id", "state", "updatedAt"]
|
|
26
28
|
|
|
27
29
|
model_config = ConfigDict(
|
|
28
30
|
populate_by_name=True,
|
|
29
31
|
validate_assignment=True,
|
|
30
32
|
protected_namespaces=(),
|
|
33
|
+
arbitrary_types_allowed=True,
|
|
34
|
+
use_enum_values=True
|
|
31
35
|
)
|
|
32
36
|
|
|
33
37
|
|