regula-documentreader-webclient 7.7.304.dev0__py3-none-any.whl → 7.7.306.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of regula-documentreader-webclient might be problematic. Click here for more details.
- regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py +45 -15
- regula/documentreader/webclient/ext/models/authenticity/fiber.py +4 -4
- regula/documentreader/webclient/ext/models/authenticity/ident.py +5 -5
- regula/documentreader/webclient/ext/models/authenticity/image_ident.py +4 -4
- regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py +4 -4
- regula/documentreader/webclient/ext/models/authenticity/security_feature.py +5 -5
- regula/documentreader/webclient/ext/models/images.py +2 -2
- regula/documentreader/webclient/ext/models/recognition_response.py +3 -3
- regula/documentreader/webclient/ext/models/text.py +6 -6
- regula/documentreader/webclient/gen/__init__.py +1 -0
- regula/documentreader/webclient/gen/models/__init__.py +1 -0
- regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +3 -15
- regula/documentreader/webclient/gen/models/authenticity_result_type.py +0 -5
- regula/documentreader/webclient/gen/models/barcode_type.py +0 -1
- regula/documentreader/webclient/gen/models/document_image.py +1 -1
- regula/documentreader/webclient/gen/models/fiber_item.py +4 -2
- regula/documentreader/webclient/gen/models/fiber_result.py +4 -2
- regula/documentreader/webclient/gen/models/ident_item.py +7 -3
- regula/documentreader/webclient/gen/models/ident_result.py +7 -3
- regula/documentreader/webclient/gen/models/image_data.py +1 -1
- regula/documentreader/webclient/gen/models/ocr_security_text_item.py +3 -1
- regula/documentreader/webclient/gen/models/ocr_security_text_result.py +3 -1
- regula/documentreader/webclient/gen/models/parsing_error_codes.py +153 -0
- regula/documentreader/webclient/gen/models/photo_ident_item.py +3 -5
- regula/documentreader/webclient/gen/models/photo_ident_result.py +3 -5
- regula/documentreader/webclient/gen/models/security_feature_item.py +3 -1
- regula/documentreader/webclient/gen/models/security_feature_result.py +3 -1
- regula/documentreader/webclient/gen/models/transaction_process_request.py +7 -1
- {regula_documentreader_webclient-7.7.304.dev0.dist-info → regula_documentreader_webclient-7.7.306.dev0.dist-info}/METADATA +2 -2
- {regula_documentreader_webclient-7.7.304.dev0.dist-info → regula_documentreader_webclient-7.7.306.dev0.dist-info}/RECORD +32 -31
- {regula_documentreader_webclient-7.7.304.dev0.dist-info → regula_documentreader_webclient-7.7.306.dev0.dist-info}/WHEEL +0 -0
- {regula_documentreader_webclient-7.7.304.dev0.dist-info → regula_documentreader_webclient-7.7.306.dev0.dist-info}/top_level.txt +0 -0
|
@@ -14,77 +14,107 @@ class AuthenticityCheckList(GenAuthenticityCheckList):
|
|
|
14
14
|
@property
|
|
15
15
|
def uv_luminescence_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
16
16
|
result = self.__result_by_type(AuthenticityResultType.UV_LUMINESCENCE)
|
|
17
|
-
|
|
17
|
+
if result:
|
|
18
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
19
|
+
return None
|
|
18
20
|
|
|
19
21
|
@property
|
|
20
22
|
def ir_b900_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
21
23
|
result = self.__result_by_type(AuthenticityResultType.IR_B900)
|
|
22
|
-
|
|
24
|
+
if result:
|
|
25
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
26
|
+
return None
|
|
23
27
|
|
|
24
28
|
@property
|
|
25
29
|
def image_pattern_checks(self) -> Optional[IdentChecks]:
|
|
26
30
|
result = self.__result_by_type(AuthenticityResultType.IMAGE_PATTERN)
|
|
27
|
-
|
|
31
|
+
if result:
|
|
32
|
+
return IdentChecks.from_json(result.to_json())
|
|
33
|
+
return None
|
|
28
34
|
|
|
29
35
|
@property
|
|
30
36
|
def axial_protection_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
31
37
|
result = self.__result_by_type(AuthenticityResultType.AXIAL_PROTECTION)
|
|
32
|
-
|
|
38
|
+
if result:
|
|
39
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
40
|
+
return None
|
|
33
41
|
|
|
34
42
|
@property
|
|
35
43
|
def uv_fiber_checks(self) -> Optional[FiberChecks]:
|
|
36
44
|
result = self.__result_by_type(AuthenticityResultType.UV_FIBERS)
|
|
37
|
-
|
|
45
|
+
if result:
|
|
46
|
+
return FiberChecks.from_json(result.to_json())
|
|
47
|
+
return None
|
|
38
48
|
|
|
39
49
|
@property
|
|
40
50
|
def ir_visibility_checks(self) -> Optional[IdentChecks]:
|
|
41
51
|
result = self.__result_by_type(AuthenticityResultType.IR_VISIBILITY)
|
|
42
|
-
|
|
52
|
+
if result:
|
|
53
|
+
return IdentChecks.from_json(result.to_json())
|
|
54
|
+
return None
|
|
43
55
|
|
|
44
56
|
@property
|
|
45
57
|
def ocr_security_text_checks(self) -> Optional[OCRSecurityTextChecks]:
|
|
46
58
|
result = self.__result_by_type(AuthenticityResultType.OCR_SECURITY_TEXT)
|
|
47
|
-
|
|
59
|
+
if result:
|
|
60
|
+
return OCRSecurityTextChecks.from_json(result.to_json())
|
|
61
|
+
return None
|
|
48
62
|
|
|
49
63
|
@property
|
|
50
64
|
def ipi_checks(self) -> Optional[ImageIdentChecks]:
|
|
51
65
|
result = self.__result_by_type(AuthenticityResultType.IPI)
|
|
52
|
-
|
|
66
|
+
if result:
|
|
67
|
+
return ImageIdentChecks.from_json(result.to_json())
|
|
68
|
+
return None
|
|
53
69
|
|
|
54
70
|
@property
|
|
55
71
|
def embed_image_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
56
72
|
result = self.__result_by_type(AuthenticityResultType.PHOTO_EMBED_TYPE)
|
|
57
|
-
|
|
73
|
+
if result:
|
|
74
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
75
|
+
return None
|
|
58
76
|
|
|
59
77
|
@property
|
|
60
78
|
def holograms_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
61
79
|
result = self.__result_by_type(AuthenticityResultType.HOLOGRAMS)
|
|
62
|
-
|
|
80
|
+
if result:
|
|
81
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
82
|
+
return None
|
|
63
83
|
|
|
64
84
|
@property
|
|
65
85
|
def photo_area_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
66
86
|
result = self.__result_by_type(AuthenticityResultType.PHOTO_AREA)
|
|
67
|
-
|
|
87
|
+
if result:
|
|
88
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
89
|
+
return None
|
|
68
90
|
|
|
69
91
|
@property
|
|
70
92
|
def portrait_comparison_checks(self) -> Optional[IdentChecks]:
|
|
71
93
|
result = self.__result_by_type(AuthenticityResultType.PORTRAIT_COMPARISON)
|
|
72
|
-
|
|
94
|
+
if result:
|
|
95
|
+
return IdentChecks.from_json(result.to_json())
|
|
96
|
+
return None
|
|
73
97
|
|
|
74
98
|
@property
|
|
75
99
|
def barcode_format_checks(self) -> Optional[SecurityFeatureChecks]:
|
|
76
100
|
result = self.__result_by_type(AuthenticityResultType.BARCODE_FORMAT_CHECK)
|
|
77
|
-
|
|
101
|
+
if result:
|
|
102
|
+
return SecurityFeatureChecks.from_json(result.to_json())
|
|
103
|
+
return None
|
|
78
104
|
|
|
79
105
|
@property
|
|
80
106
|
def kinegram_checks(self) -> Optional[IdentChecks]:
|
|
81
107
|
result = self.__result_by_type(AuthenticityResultType.KINEGRAM)
|
|
82
|
-
|
|
108
|
+
if result:
|
|
109
|
+
return IdentChecks.from_json(result.to_json())
|
|
110
|
+
return None
|
|
83
111
|
|
|
84
112
|
@property
|
|
85
113
|
def letter_screen_checks(self) -> Optional[IdentChecks]:
|
|
86
114
|
result = self.__result_by_type(AuthenticityResultType.LETTER_SCREEN)
|
|
87
|
-
|
|
115
|
+
if result:
|
|
116
|
+
return IdentChecks.from_json(result.to_json())
|
|
117
|
+
return None
|
|
88
118
|
|
|
89
119
|
def __result_by_type(self, authenticity_type: int) -> Optional[AuthenticityCheckResult]:
|
|
90
120
|
for result in self.list:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List
|
|
1
|
+
from typing import List, cast
|
|
2
2
|
|
|
3
3
|
from regula.documentreader.webclient.gen.models import FiberResult, AuthenticityCheckResult
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ from regula.documentreader.webclient.gen.models import FiberResult, Authenticity
|
|
|
6
6
|
class FiberChecks(AuthenticityCheckResult):
|
|
7
7
|
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
10
|
-
|
|
11
|
-
return
|
|
9
|
+
def checks_list(self) -> List[FiberResult]:
|
|
10
|
+
fiber_list: List[FiberResult] = cast(List[FiberResult], self.list)
|
|
11
|
+
return fiber_list
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List
|
|
1
|
+
from typing import List, cast
|
|
2
2
|
|
|
3
3
|
from regula.documentreader.webclient.gen.models import AuthenticityCheckResult, IdentResult
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ from regula.documentreader.webclient.gen.models import AuthenticityCheckResult,
|
|
|
6
6
|
class IdentChecks(AuthenticityCheckResult):
|
|
7
7
|
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
10
|
-
|
|
11
|
-
return
|
|
9
|
+
def checks_list(self) -> List[IdentResult]:
|
|
10
|
+
ident_list: List[IdentResult] = cast(List[IdentResult], self.list)
|
|
11
|
+
return ident_list
|
|
12
12
|
|
|
13
13
|
# element_type is SecurityFeatureType
|
|
14
14
|
def checks_by_element(self, element_type: int) -> List[IdentResult]:
|
|
15
|
-
return [check for check in self.
|
|
15
|
+
return [check for check in self.checks_list if check.element_type == element_type]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List
|
|
1
|
+
from typing import List, cast
|
|
2
2
|
|
|
3
3
|
from regula.documentreader.webclient.gen.models import AuthenticityCheckResult, PhotoIdentResult
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ from regula.documentreader.webclient.gen.models import AuthenticityCheckResult,
|
|
|
6
6
|
class ImageIdentChecks(AuthenticityCheckResult):
|
|
7
7
|
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
10
|
-
|
|
11
|
-
return
|
|
9
|
+
def checks_list(self) -> List[PhotoIdentResult]:
|
|
10
|
+
image_ident_list: List[PhotoIdentResult] = cast(List[PhotoIdentResult], self.list)
|
|
11
|
+
return image_ident_list
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List
|
|
1
|
+
from typing import List, cast
|
|
2
2
|
|
|
3
3
|
from regula.documentreader.webclient.gen.models import AuthenticityCheckResult, OCRSecurityTextResult
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ from regula.documentreader.webclient.gen.models import AuthenticityCheckResult,
|
|
|
6
6
|
class OCRSecurityTextChecks(AuthenticityCheckResult):
|
|
7
7
|
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
10
|
-
|
|
11
|
-
return
|
|
9
|
+
def checks_list(self) -> List[OCRSecurityTextResult]:
|
|
10
|
+
ocr_security_text_list: List[OCRSecurityTextResult] = cast(List[OCRSecurityTextResult], self.list)
|
|
11
|
+
return ocr_security_text_list
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import List,
|
|
1
|
+
from typing import List, cast
|
|
2
2
|
|
|
3
3
|
from regula.documentreader.webclient.gen.models import AuthenticityCheckResult, SecurityFeatureResult
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ from regula.documentreader.webclient.gen.models import AuthenticityCheckResult,
|
|
|
6
6
|
class SecurityFeatureChecks(AuthenticityCheckResult):
|
|
7
7
|
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
10
|
-
|
|
11
|
-
return
|
|
9
|
+
def checks_list(self) -> List[SecurityFeatureResult]:
|
|
10
|
+
security_feature_list: List[SecurityFeatureResult] = cast(List[SecurityFeatureResult], self.list)
|
|
11
|
+
return security_feature_list
|
|
12
12
|
|
|
13
13
|
# element_type is SecurityFeatureType
|
|
14
14
|
def checks_by_element(self, element_type: int) -> List[SecurityFeatureResult]:
|
|
15
|
-
return [check for check in self.
|
|
15
|
+
return [check for check in self.checks_list if check.element_type == element_type]
|
|
@@ -33,8 +33,8 @@ class Images(GenImages):
|
|
|
33
33
|
def get_field(self, field_type: int) -> Optional[ImagesField]:
|
|
34
34
|
for field in self.field_list:
|
|
35
35
|
if field.field_type == field_type:
|
|
36
|
-
return ImagesField.
|
|
36
|
+
return ImagesField.from_json(field.to_json())
|
|
37
37
|
return None
|
|
38
38
|
|
|
39
39
|
def get_fields(self, field_type: int) -> List[ImagesField]:
|
|
40
|
-
return [ImagesField.
|
|
40
|
+
return [ImagesField.from_json(field.to_json()) for field in self.field_list if field.field_type == field_type]
|
|
@@ -20,7 +20,7 @@ class RecognitionResponse:
|
|
|
20
20
|
def text(self) -> Optional[Text]:
|
|
21
21
|
result = self.result_by_type(Result.TEXT)
|
|
22
22
|
if result:
|
|
23
|
-
return Text.
|
|
23
|
+
return Text.from_json(result.text.to_json())
|
|
24
24
|
return None
|
|
25
25
|
|
|
26
26
|
@property
|
|
@@ -34,13 +34,13 @@ class RecognitionResponse:
|
|
|
34
34
|
def images(self) -> Optional[Images]:
|
|
35
35
|
result = self.result_by_type(Result.IMAGES)
|
|
36
36
|
if result:
|
|
37
|
-
return Images.
|
|
37
|
+
return Images.from_json(result.images.to_json())
|
|
38
38
|
return None
|
|
39
39
|
|
|
40
40
|
def authenticity(self, page_idx=0) -> Optional[AuthenticityCheckList]:
|
|
41
41
|
result = self.pageable_result_by_type(Result.AUTHENTICITY, page_idx)
|
|
42
42
|
if result:
|
|
43
|
-
return AuthenticityCheckList.
|
|
43
|
+
return AuthenticityCheckList.from_json(result.authenticity_check_list.to_json())
|
|
44
44
|
return None
|
|
45
45
|
|
|
46
46
|
def image_quality_checks(self, page_idx=0) -> Optional[ImageQualityCheckList]:
|
|
@@ -11,12 +11,12 @@ class Text(GenText):
|
|
|
11
11
|
for field in self.field_list:
|
|
12
12
|
if field.field_type == field_type:
|
|
13
13
|
if lcid is not None and field.lcid == lcid:
|
|
14
|
-
return TextField.
|
|
14
|
+
return TextField.from_json(field.to_json())
|
|
15
15
|
elif lcid is None and field.lcid == LCID.LATIN:
|
|
16
|
-
return TextField.
|
|
16
|
+
return TextField.from_json(field.to_json())
|
|
17
17
|
elif lcid is None and result is None:
|
|
18
18
|
result = field
|
|
19
|
-
return TextField.
|
|
19
|
+
return TextField.from_json(result.to_json())
|
|
20
20
|
|
|
21
21
|
def get_field_value(self, field_type: int, lcid: int = None) -> Optional[str]:
|
|
22
22
|
field = self.get_field(field_type, lcid)
|
|
@@ -27,12 +27,12 @@ class Text(GenText):
|
|
|
27
27
|
for field in self.field_list:
|
|
28
28
|
if field.field_name == field_name:
|
|
29
29
|
if lcid is not None and field.lcid == lcid:
|
|
30
|
-
return TextField.
|
|
30
|
+
return TextField.from_json(field.to_json())
|
|
31
31
|
elif lcid is None and field.lcid == LCID.LATIN:
|
|
32
|
-
return TextField.
|
|
32
|
+
return TextField.from_json(field.to_json())
|
|
33
33
|
elif lcid is None and result is None:
|
|
34
34
|
result = field
|
|
35
|
-
return TextField.
|
|
35
|
+
return TextField.from_json(result.to_json())
|
|
36
36
|
|
|
37
37
|
def get_field_value_by_name(self, field_name: str, lcid: int = None) -> Optional[str]:
|
|
38
38
|
field = self.get_field_by_name(field_name, lcid)
|
|
@@ -150,6 +150,7 @@ from regula.documentreader.webclient.gen.models.out_data import OutData
|
|
|
150
150
|
from regula.documentreader.webclient.gen.models.out_data_transaction_images_field_value import OutDataTransactionImagesFieldValue
|
|
151
151
|
from regula.documentreader.webclient.gen.models.p_array_field import PArrayField
|
|
152
152
|
from regula.documentreader.webclient.gen.models.parsed_data import ParsedData
|
|
153
|
+
from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
|
|
153
154
|
from regula.documentreader.webclient.gen.models.parsing_notification_codes import ParsingNotificationCodes
|
|
154
155
|
from regula.documentreader.webclient.gen.models.per_document_config import PerDocumentConfig
|
|
155
156
|
from regula.documentreader.webclient.gen.models.photo_ident_item import PhotoIdentItem
|
|
@@ -131,6 +131,7 @@ from regula.documentreader.webclient.gen.models.out_data import OutData
|
|
|
131
131
|
from regula.documentreader.webclient.gen.models.out_data_transaction_images_field_value import OutDataTransactionImagesFieldValue
|
|
132
132
|
from regula.documentreader.webclient.gen.models.p_array_field import PArrayField
|
|
133
133
|
from regula.documentreader.webclient.gen.models.parsed_data import ParsedData
|
|
134
|
+
from regula.documentreader.webclient.gen.models.parsing_error_codes import ParsingErrorCodes
|
|
134
135
|
from regula.documentreader.webclient.gen.models.parsing_notification_codes import ParsingNotificationCodes
|
|
135
136
|
from regula.documentreader.webclient.gen.models.per_document_config import PerDocumentConfig
|
|
136
137
|
from regula.documentreader.webclient.gen.models.photo_ident_item import PhotoIdentItem
|
|
@@ -26,14 +26,10 @@ if TYPE_CHECKING:
|
|
|
26
26
|
from regula.documentreader.webclient.gen.models.photo_ident_result import PhotoIdentResult
|
|
27
27
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
28
28
|
from regula.documentreader.webclient.gen.models.fiber_result import FiberResult
|
|
29
|
-
from regula.documentreader.webclient.gen.models.fiber_result import FiberResult
|
|
30
29
|
from regula.documentreader.webclient.gen.models.ocr_security_text_result import OCRSecurityTextResult
|
|
31
30
|
from regula.documentreader.webclient.gen.models.security_feature_result import SecurityFeatureResult
|
|
32
31
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
33
32
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
34
|
-
from regula.documentreader.webclient.gen.models.security_feature_result import SecurityFeatureResult
|
|
35
|
-
from regula.documentreader.webclient.gen.models.photo_ident_result import PhotoIdentResult
|
|
36
|
-
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
37
33
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
38
34
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
39
35
|
from regula.documentreader.webclient.gen.models.ident_result import IdentResult
|
|
@@ -69,7 +65,7 @@ class AuthenticityCheckResultItem(BaseModel):
|
|
|
69
65
|
|
|
70
66
|
# discriminator mappings
|
|
71
67
|
__discriminator_value_class_map: ClassVar[Dict[str, str]] = {
|
|
72
|
-
'1': 'SecurityFeatureResult','1024': 'IdentResult','1048576': 'IdentResult','128': 'PhotoIdentResult','131072': 'IdentResult','16': 'FiberResult','
|
|
68
|
+
'1': 'SecurityFeatureResult','1024': 'IdentResult','1048576': 'IdentResult','128': 'PhotoIdentResult','131072': 'IdentResult','16': 'FiberResult','16777216': 'OCRSecurityTextResult','2': 'SecurityFeatureResult','2097152': 'IdentResult','262144': 'IdentResult','32': 'IdentResult','32768': 'IdentResult','4': 'IdentResult','4096': 'SecurityFeatureResult','4194304': 'SecurityFeatureResult','512': 'SecurityFeatureResult','524288': 'IdentResult','64': 'OCRSecurityTextResult','65536': 'SecurityFeatureResult','8': 'SecurityFeatureResult','8192': 'SecurityFeatureResult','8388608': 'SecurityFeatureResult'
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
@classmethod
|
|
@@ -91,7 +87,7 @@ class AuthenticityCheckResultItem(BaseModel):
|
|
|
91
87
|
return json.dumps(self.to_dict())
|
|
92
88
|
|
|
93
89
|
@classmethod
|
|
94
|
-
def from_json(cls, json_str: str) -> Optional[Union[SecurityFeatureResult, IdentResult, IdentResult, PhotoIdentResult, IdentResult, FiberResult,
|
|
90
|
+
def from_json(cls, json_str: str) -> Optional[Union[SecurityFeatureResult, IdentResult, IdentResult, PhotoIdentResult, IdentResult, FiberResult, OCRSecurityTextResult, SecurityFeatureResult, IdentResult, IdentResult, IdentResult, IdentResult, IdentResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult, IdentResult, OCRSecurityTextResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult]]:
|
|
95
91
|
"""Create an instance of AuthenticityCheckResultItem from a JSON string"""
|
|
96
92
|
return cls.from_dict(json.loads(json_str))
|
|
97
93
|
|
|
@@ -116,7 +112,7 @@ class AuthenticityCheckResultItem(BaseModel):
|
|
|
116
112
|
return _dict
|
|
117
113
|
|
|
118
114
|
@classmethod
|
|
119
|
-
def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[SecurityFeatureResult, IdentResult, IdentResult, PhotoIdentResult, IdentResult, FiberResult,
|
|
115
|
+
def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[SecurityFeatureResult, IdentResult, IdentResult, PhotoIdentResult, IdentResult, FiberResult, OCRSecurityTextResult, SecurityFeatureResult, IdentResult, IdentResult, IdentResult, IdentResult, IdentResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult, IdentResult, OCRSecurityTextResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult, SecurityFeatureResult]]:
|
|
120
116
|
"""Create an instance of AuthenticityCheckResultItem from a dict"""
|
|
121
117
|
# look up the object type based on discriminator mapping
|
|
122
118
|
object_type = cls.get_discriminator_value(obj)
|
|
@@ -132,8 +128,6 @@ class AuthenticityCheckResultItem(BaseModel):
|
|
|
132
128
|
return import_module("regula.documentreader.webclient.gen.models.ident_result").IdentResult.from_dict(obj)
|
|
133
129
|
if object_type == 'FiberResult':
|
|
134
130
|
return import_module("regula.documentreader.webclient.gen.models.fiber_result").FiberResult.from_dict(obj)
|
|
135
|
-
if object_type == 'FiberResult':
|
|
136
|
-
return import_module("regula.documentreader.webclient.gen.models.fiber_result").FiberResult.from_dict(obj)
|
|
137
131
|
if object_type == 'OCRSecurityTextResult':
|
|
138
132
|
return import_module("regula.documentreader.webclient.gen.models.ocr_security_text_result").OCRSecurityTextResult.from_dict(obj)
|
|
139
133
|
if object_type == 'SecurityFeatureResult':
|
|
@@ -142,12 +136,6 @@ class AuthenticityCheckResultItem(BaseModel):
|
|
|
142
136
|
return import_module("regula.documentreader.webclient.gen.models.ident_result").IdentResult.from_dict(obj)
|
|
143
137
|
if object_type == 'IdentResult':
|
|
144
138
|
return import_module("regula.documentreader.webclient.gen.models.ident_result").IdentResult.from_dict(obj)
|
|
145
|
-
if object_type == 'SecurityFeatureResult':
|
|
146
|
-
return import_module("regula.documentreader.webclient.gen.models.security_feature_result").SecurityFeatureResult.from_dict(obj)
|
|
147
|
-
if object_type == 'PhotoIdentResult':
|
|
148
|
-
return import_module("regula.documentreader.webclient.gen.models.photo_ident_result").PhotoIdentResult.from_dict(obj)
|
|
149
|
-
if object_type == 'IdentResult':
|
|
150
|
-
return import_module("regula.documentreader.webclient.gen.models.ident_result").IdentResult.from_dict(obj)
|
|
151
139
|
if object_type == 'IdentResult':
|
|
152
140
|
return import_module("regula.documentreader.webclient.gen.models.ident_result").IdentResult.from_dict(obj)
|
|
153
141
|
if object_type == 'IdentResult':
|
|
@@ -18,7 +18,6 @@ class AuthenticityResultType(int, Enum):
|
|
|
18
18
|
"""
|
|
19
19
|
allowed enum values
|
|
20
20
|
"""
|
|
21
|
-
NONE = 0
|
|
22
21
|
UV_LUMINESCENCE = 1
|
|
23
22
|
IR_B900 = 2
|
|
24
23
|
IMAGE_PATTERN = 4
|
|
@@ -27,13 +26,10 @@ class AuthenticityResultType(int, Enum):
|
|
|
27
26
|
IR_VISIBILITY = 32
|
|
28
27
|
OCR_SECURITY_TEXT = 64
|
|
29
28
|
IPI = 128
|
|
30
|
-
IR_PHOTO = 256
|
|
31
29
|
PHOTO_EMBED_TYPE = 512
|
|
32
30
|
OVI = 1024
|
|
33
|
-
IR_LUMINESCENCE = 2048
|
|
34
31
|
HOLOGRAMS = 4096
|
|
35
32
|
PHOTO_AREA = 8192
|
|
36
|
-
UV_BACKGROUND = 16384
|
|
37
33
|
PORTRAIT_COMPARISON = 32768
|
|
38
34
|
BARCODE_FORMAT_CHECK = 65536
|
|
39
35
|
KINEGRAM = 131072
|
|
@@ -44,7 +40,6 @@ class AuthenticityResultType(int, Enum):
|
|
|
44
40
|
EXTENDED_OCR_CHECK = 4194304
|
|
45
41
|
EXTENDED_MRZ_CHECK = 8388608
|
|
46
42
|
ENCRYPTED_IPI = 16777216
|
|
47
|
-
STATUS_ONLY = 2147483648
|
|
48
43
|
|
|
49
44
|
@classmethod
|
|
50
45
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -18,7 +18,7 @@ class DocumentImage(BaseModel):
|
|
|
18
18
|
"""
|
|
19
19
|
DocumentImage
|
|
20
20
|
""" # noqa: E501
|
|
21
|
-
image: StrictStr = Field(description="Base64 encoded image")
|
|
21
|
+
image: Optional[StrictStr] = Field(default=None, description="Base64 encoded image")
|
|
22
22
|
format: Optional[StrictStr] = Field(default=None, description="Image format")
|
|
23
23
|
__properties: ClassVar[List[str]] = ["image", "format"]
|
|
24
24
|
|
|
@@ -29,7 +29,8 @@ class FiberItem(BaseModel):
|
|
|
29
29
|
length: List[StrictInt] = Field(description="Fibers length value for located areas (in pixels)", alias="Length")
|
|
30
30
|
area: List[StrictInt] = Field(description="Fibers value for areas (in pixels)", alias="Area")
|
|
31
31
|
color_values: List[StrictInt] = Field(description="Fibers color value", alias="ColorValues")
|
|
32
|
-
|
|
32
|
+
error_code: Optional[StrictInt] = Field(default=None, alias="ErrorCode")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["RectCount", "ExpectedCount", "LightValue", "LightDisp", "RectArray", "Width", "Length", "Area", "ColorValues", "ErrorCode"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
@@ -97,7 +98,8 @@ class FiberItem(BaseModel):
|
|
|
97
98
|
"Width": obj.get("Width"),
|
|
98
99
|
"Length": obj.get("Length"),
|
|
99
100
|
"Area": obj.get("Area"),
|
|
100
|
-
"ColorValues": obj.get("ColorValues")
|
|
101
|
+
"ColorValues": obj.get("ColorValues"),
|
|
102
|
+
"ErrorCode": obj.get("ErrorCode")
|
|
101
103
|
})
|
|
102
104
|
return _obj
|
|
103
105
|
|
|
@@ -33,7 +33,8 @@ class FiberResult(AuthenticityCheckResultItem):
|
|
|
33
33
|
length: List[StrictInt] = Field(description="Fibers length value for located areas (in pixels)", alias="Length")
|
|
34
34
|
area: List[StrictInt] = Field(description="Fibers value for areas (in pixels)", alias="Area")
|
|
35
35
|
color_values: List[StrictInt] = Field(description="Fibers color value", alias="ColorValues")
|
|
36
|
-
|
|
36
|
+
error_code: Optional[StrictInt] = Field(default=None, alias="ErrorCode")
|
|
37
|
+
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "RectCount", "ExpectedCount", "LightValue", "LightDisp", "RectArray", "Width", "Length", "Area", "ColorValues", "ErrorCode"]
|
|
37
38
|
|
|
38
39
|
model_config = ConfigDict(
|
|
39
40
|
populate_by_name=True,
|
|
@@ -105,7 +106,8 @@ class FiberResult(AuthenticityCheckResultItem):
|
|
|
105
106
|
"Width": obj.get("Width"),
|
|
106
107
|
"Length": obj.get("Length"),
|
|
107
108
|
"Area": obj.get("Area"),
|
|
108
|
-
"ColorValues": obj.get("ColorValues")
|
|
109
|
+
"ColorValues": obj.get("ColorValues"),
|
|
110
|
+
"ErrorCode": obj.get("ErrorCode")
|
|
109
111
|
})
|
|
110
112
|
return _obj
|
|
111
113
|
|
|
@@ -9,7 +9,7 @@ import pprint
|
|
|
9
9
|
import re # noqa: F401
|
|
10
10
|
import json
|
|
11
11
|
|
|
12
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
12
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
14
|
from regula.documentreader.webclient.gen.models.area_container import AreaContainer
|
|
15
15
|
from regula.documentreader.webclient.gen.models.image_data import ImageData
|
|
@@ -29,7 +29,9 @@ class IdentItem(BaseModel):
|
|
|
29
29
|
image: ImageData = Field(alias="Image")
|
|
30
30
|
etalon_image: ImageData = Field(alias="EtalonImage")
|
|
31
31
|
area_list: Optional[AreaContainer] = Field(default=None, alias="AreaList")
|
|
32
|
-
|
|
32
|
+
element_id: Optional[StrictInt] = Field(default=None, alias="ElementID")
|
|
33
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
34
|
+
__properties: ClassVar[List[str]] = ["ElementType", "LightIndex", "Area", "Image", "EtalonImage", "AreaList", "ElementID", "Result"]
|
|
33
35
|
|
|
34
36
|
model_config = ConfigDict(
|
|
35
37
|
populate_by_name=True,
|
|
@@ -99,7 +101,9 @@ class IdentItem(BaseModel):
|
|
|
99
101
|
"Area": RectangleCoordinates.from_dict(obj["Area"]) if obj.get("Area") is not None else None,
|
|
100
102
|
"Image": ImageData.from_dict(obj["Image"]) if obj.get("Image") is not None else None,
|
|
101
103
|
"EtalonImage": ImageData.from_dict(obj["EtalonImage"]) if obj.get("EtalonImage") is not None else None,
|
|
102
|
-
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None
|
|
104
|
+
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None,
|
|
105
|
+
"ElementID": obj.get("ElementID"),
|
|
106
|
+
"Result": obj.get("Result")
|
|
103
107
|
})
|
|
104
108
|
return _obj
|
|
105
109
|
|
|
@@ -9,7 +9,7 @@ import pprint
|
|
|
9
9
|
import re # noqa: F401
|
|
10
10
|
import json
|
|
11
11
|
|
|
12
|
-
from pydantic import ConfigDict, Field
|
|
12
|
+
from pydantic import ConfigDict, Field, StrictInt
|
|
13
13
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
14
14
|
from regula.documentreader.webclient.gen.models.area_container import AreaContainer
|
|
15
15
|
from regula.documentreader.webclient.gen.models.authenticity_check_result_item import AuthenticityCheckResultItem
|
|
@@ -33,7 +33,9 @@ class IdentResult(AuthenticityCheckResultItem):
|
|
|
33
33
|
image: ImageData = Field(alias="Image")
|
|
34
34
|
etalon_image: ImageData = Field(alias="EtalonImage")
|
|
35
35
|
area_list: Optional[AreaContainer] = Field(default=None, alias="AreaList")
|
|
36
|
-
|
|
36
|
+
element_id: Optional[StrictInt] = Field(default=None, alias="ElementID")
|
|
37
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
38
|
+
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "ElementType", "LightIndex", "Area", "Image", "EtalonImage", "AreaList", "ElementID", "Result"]
|
|
37
39
|
|
|
38
40
|
model_config = ConfigDict(
|
|
39
41
|
populate_by_name=True,
|
|
@@ -107,7 +109,9 @@ class IdentResult(AuthenticityCheckResultItem):
|
|
|
107
109
|
"Area": RectangleCoordinates.from_dict(obj["Area"]) if obj.get("Area") is not None else None,
|
|
108
110
|
"Image": ImageData.from_dict(obj["Image"]) if obj.get("Image") is not None else None,
|
|
109
111
|
"EtalonImage": ImageData.from_dict(obj["EtalonImage"]) if obj.get("EtalonImage") is not None else None,
|
|
110
|
-
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None
|
|
112
|
+
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None,
|
|
113
|
+
"ElementID": obj.get("ElementID"),
|
|
114
|
+
"Result": obj.get("Result")
|
|
111
115
|
})
|
|
112
116
|
return _obj
|
|
113
117
|
|
|
@@ -18,7 +18,7 @@ class ImageData(BaseModel):
|
|
|
18
18
|
"""
|
|
19
19
|
ImageData
|
|
20
20
|
""" # noqa: E501
|
|
21
|
-
image: StrictStr = Field(description="Base64 encoded image")
|
|
21
|
+
image: Optional[StrictStr] = Field(default=None, description="Base64 encoded image")
|
|
22
22
|
format: Optional[StrictStr] = Field(default=None, description="Image format")
|
|
23
23
|
__properties: ClassVar[List[str]] = ["image", "format"]
|
|
24
24
|
|
|
@@ -30,9 +30,10 @@ class OCRSecurityTextItem(BaseModel):
|
|
|
30
30
|
etalon_field_rect: RectangleCoordinates = Field(alias="EtalonFieldRect")
|
|
31
31
|
security_text_result_ocr: StrictStr = Field(alias="SecurityTextResultOCR")
|
|
32
32
|
etalon_result_ocr: StrictStr = Field(alias="EtalonResultOCR")
|
|
33
|
+
result_code: Optional[StrictInt] = Field(default=None, alias="ResultCode")
|
|
33
34
|
reserved1: Optional[StrictInt] = Field(default=None, alias="Reserved1")
|
|
34
35
|
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
35
|
-
__properties: ClassVar[List[str]] = ["CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "Reserved1", "Reserved2"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "ResultCode", "Reserved1", "Reserved2"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
39
|
populate_by_name=True,
|
|
@@ -100,6 +101,7 @@ class OCRSecurityTextItem(BaseModel):
|
|
|
100
101
|
"EtalonFieldRect": RectangleCoordinates.from_dict(obj["EtalonFieldRect"]) if obj.get("EtalonFieldRect") is not None else None,
|
|
101
102
|
"SecurityTextResultOCR": obj.get("SecurityTextResultOCR"),
|
|
102
103
|
"EtalonResultOCR": obj.get("EtalonResultOCR"),
|
|
104
|
+
"ResultCode": obj.get("ResultCode"),
|
|
103
105
|
"Reserved1": obj.get("Reserved1"),
|
|
104
106
|
"Reserved2": obj.get("Reserved2")
|
|
105
107
|
})
|
|
@@ -34,9 +34,10 @@ class OCRSecurityTextResult(AuthenticityCheckResultItem):
|
|
|
34
34
|
etalon_field_rect: RectangleCoordinates = Field(alias="EtalonFieldRect")
|
|
35
35
|
security_text_result_ocr: StrictStr = Field(alias="SecurityTextResultOCR")
|
|
36
36
|
etalon_result_ocr: StrictStr = Field(alias="EtalonResultOCR")
|
|
37
|
+
result_code: Optional[StrictInt] = Field(default=None, alias="ResultCode")
|
|
37
38
|
reserved1: Optional[StrictInt] = Field(default=None, alias="Reserved1")
|
|
38
39
|
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
39
|
-
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "Reserved1", "Reserved2"]
|
|
40
|
+
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "CriticalFlag", "LightType", "FieldRect", "EtalonResultType", "EtalonFieldType", "EtalonLightType", "EtalonFieldRect", "SecurityTextResultOCR", "EtalonResultOCR", "ResultCode", "Reserved1", "Reserved2"]
|
|
40
41
|
|
|
41
42
|
model_config = ConfigDict(
|
|
42
43
|
populate_by_name=True,
|
|
@@ -108,6 +109,7 @@ class OCRSecurityTextResult(AuthenticityCheckResultItem):
|
|
|
108
109
|
"EtalonFieldRect": RectangleCoordinates.from_dict(obj["EtalonFieldRect"]) if obj.get("EtalonFieldRect") is not None else None,
|
|
109
110
|
"SecurityTextResultOCR": obj.get("SecurityTextResultOCR"),
|
|
110
111
|
"EtalonResultOCR": obj.get("EtalonResultOCR"),
|
|
112
|
+
"ResultCode": obj.get("ResultCode"),
|
|
111
113
|
"Reserved1": obj.get("Reserved1"),
|
|
112
114
|
"Reserved2": obj.get("Reserved2")
|
|
113
115
|
})
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Generated by: https://openapi-generator.tech
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
import json
|
|
9
|
+
from enum import Enum
|
|
10
|
+
from typing_extensions import Self
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ParsingErrorCodes(int, Enum):
|
|
14
|
+
"""
|
|
15
|
+
The enumeration contains error codes that can return during the RFID chip processing.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
"""
|
|
19
|
+
allowed enum values
|
|
20
|
+
"""
|
|
21
|
+
errLDS_Ok = 1
|
|
22
|
+
errLDS_ASN_IncorrectData = 2147483649
|
|
23
|
+
errLDS_ASN_NotEnoughData = 2147483650
|
|
24
|
+
errLDS_ASN_Contents_UnexpectedData = 2147483651
|
|
25
|
+
errLDS_ASN_SignedData_IncorrectData = 2147483656
|
|
26
|
+
errLDS_ASN_SignedData_EncapContents_IncorrectData = 2147483657
|
|
27
|
+
errLDS_ASN_SignedData_Version_IncorrectData = 2147483658
|
|
28
|
+
errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData = 2147483665
|
|
29
|
+
errLDS_ASN_LDSObject_IncorrectData = 2147483667
|
|
30
|
+
errLDS_ASN_LDSObject_Version_IncorrectData = 2147483668
|
|
31
|
+
errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData = 2147483669
|
|
32
|
+
errLDS_ASN_LDSObject_DGHashes_IncorrectData = 2147483670
|
|
33
|
+
errLDS_ASN_LDSObject_VersionInfo_IncorrectData = 2147483666
|
|
34
|
+
errLDS_ASN_Certificate_IncorrectData = 2147483671
|
|
35
|
+
errLDS_ASN_Certificate_Version_IncorrectData = 2147483672
|
|
36
|
+
errLDS_ASN_Certificate_SN_IncorrectData = 2147483673
|
|
37
|
+
errLDS_ASN_Certificate_Signature_IncorrectData = 2147483674
|
|
38
|
+
errLDS_ASN_Certificate_Issuer_IncorrectData = 2147483675
|
|
39
|
+
errLDS_ASN_Certificate_Validity_IncorrectData = 2147483676
|
|
40
|
+
errLDS_ASN_Certificate_Subject_IncorrectData = 2147483677
|
|
41
|
+
errLDS_ASN_Certificate_SubjectPK_IncorrectData = 2147483678
|
|
42
|
+
errLDS_ASN_Certificate_Extensions_IncorrectData = 2147483679
|
|
43
|
+
errLDS_ASN_SignerInfo_IncorrectData = 2147483680
|
|
44
|
+
errLDS_ASN_SignerInfo_Version_IncorrectData = 2147483681
|
|
45
|
+
errLDS_ASN_SignerInfo_SID_IncorrectData = 2147483682
|
|
46
|
+
errLDS_ASN_SignerInfo_DigestAlg_IncorrectData = 2147483683
|
|
47
|
+
errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData = 2147483684
|
|
48
|
+
errLDS_ASN_SignerInfo_SignAlg_IncorrectData = 2147483685
|
|
49
|
+
errLDS_ASN_SignerInfo_Signature_IncorrectData = 2147483686
|
|
50
|
+
errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687
|
|
51
|
+
errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696
|
|
52
|
+
errLDS_ICAO_SignedData_SignerInfos_Empty = 2147483697
|
|
53
|
+
errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm = 2147483698
|
|
54
|
+
errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm = 2147483699
|
|
55
|
+
errLDS_ICAO_SignerInfo_MessageDigestError = 2147483700
|
|
56
|
+
errLDS_ICAO_SignerInfo_SignedAttrs_Missed = 2147483702
|
|
57
|
+
errLDS_Auth_SignerInfo_CantFindCertificate = 2147483701
|
|
58
|
+
errLDS_Auth_Error = 2147483728
|
|
59
|
+
errLDS_Auth_UnsupportedSignatureAlgorithm = 2147483729
|
|
60
|
+
errLDS_Auth_UnsupportedPublicKeyAlgorithm = 2147483730
|
|
61
|
+
errLDS_Auth_MessedAlgorithms = 2147483731
|
|
62
|
+
errLDS_Auth_PublicKeyDataInvalid = 2147483732
|
|
63
|
+
errLDS_Auth_AlgorithmParametersDataInvalid = 2147483733
|
|
64
|
+
errLDS_Auth_SignatureDataInvalid = 2147483734
|
|
65
|
+
errLDS_Auth_UnsupportedDigestAlgorithm = 2147483735
|
|
66
|
+
errLDS_Auth_SignatureDataIncorrect = 2147483736
|
|
67
|
+
errLDS_Auth_AlgorithmParametersNotDefined = 2147483737
|
|
68
|
+
errLDS_Auth_SignatureCheckFailed = 2147483738
|
|
69
|
+
errLDS_DG_WrongTag = 2147483760
|
|
70
|
+
errLDS_DG_Contents_UnexpectedData = 2147483761
|
|
71
|
+
errLDS_BAP_SymmetricCypher_CantInitialize = 2164260881
|
|
72
|
+
errLDS_PACE_Info_NotAvailable = 2164260896
|
|
73
|
+
errLDS_PACE_SymmetricCypher_CantInitialize = 2164260897
|
|
74
|
+
errLDS_PACE_KeyAgreement_CantInitialize = 2164260898
|
|
75
|
+
errLDS_PACE_EphemeralKeys_CantCreate = 2164260899
|
|
76
|
+
errLDS_PACE_Mapping_CantDecodeNonce = 2164260900
|
|
77
|
+
errLDS_PACE_SharedSecret_CantCreate = 2164260901
|
|
78
|
+
errLDS_PACE_DomainParams_UnsupportedFormat = 2164260902
|
|
79
|
+
errLDS_PACE_EphemeralKeys_Incorrect = 2164260903
|
|
80
|
+
errLDS_PACE_Mapping_EphemeralKeys_Incorrect = 2164260904
|
|
81
|
+
errLDS_PACE_Mapping_CantPerform = 2164260905
|
|
82
|
+
errLDS_PACE_NonMatchingAuthTokens = 2164260906
|
|
83
|
+
errLDS_PACE_CAM_Data_Incorrect = 2164260907
|
|
84
|
+
errLDS_PACE_CAM_Data_CantVerify = 2164260908
|
|
85
|
+
errLDS_PACE_CAM_Data_NonMatching = 2164260909
|
|
86
|
+
errLDS_PACE_IM_Scheme_Incorrect = 2164260910
|
|
87
|
+
errLDS_PACE_IM_RandomMapping_Failed = 2164260911
|
|
88
|
+
errLDS_CA_CantFindPublicKey = 2164260912
|
|
89
|
+
errLDS_CA_CantFindInfo = 2164260913
|
|
90
|
+
errLDS_CA_IncorrectVersion = 2164260914
|
|
91
|
+
errLDS_CA_CantFindDomainParameters = 2164260915
|
|
92
|
+
errLDS_CA_KeyAgreement_CantInitialize = 2164260916
|
|
93
|
+
errLDS_CA_PublicKey_UnsupportedAlgorithm = 2164260917
|
|
94
|
+
errLDS_CA_EphemeralKeys_CantCreate = 2164260918
|
|
95
|
+
errLDS_CA_SharedSecret_CantCreate = 2164260919
|
|
96
|
+
errLDS_CA_NonMatchingAuthTokens = 2164260920
|
|
97
|
+
errLDS_TA_IncorrectVersion = 2164260928
|
|
98
|
+
errLDS_TA_CantBuildCertificateChain = 2164260929
|
|
99
|
+
errLDS_TA_CantFindISPrivateKey = 2164260930
|
|
100
|
+
errLDS_TA_PublicKey_UnsupportedAlgorithm = 2164260931
|
|
101
|
+
errLDS_TA_SignatureBuildingError = 2164260932
|
|
102
|
+
errLDS_TA_InvalidKeyAlgorithmParameters = 2164260933
|
|
103
|
+
errLDS_AA_PublicKey_UnsupportedAlgorithm = 2164260944
|
|
104
|
+
errLDS_AA_PublicKey_IncorrectData = 2164260945
|
|
105
|
+
errLDS_AA_PublicKey_IncorrectParameters = 2164260946
|
|
106
|
+
errLDS_AA_PublicKey_UndefinedParameters = 2164260947
|
|
107
|
+
errLDS_AA_Signature_IncorrectData = 2164260948
|
|
108
|
+
errLDS_AA_UnsupportedRecoveryScheme = 2164260949
|
|
109
|
+
errLDS_AA_IncorrectTrailer = 2164260950
|
|
110
|
+
errLDS_AA_UnsupportedDigestAlgorithm = 2164260951
|
|
111
|
+
errLDS_RI_SectorKey_CantFind = 2164260976
|
|
112
|
+
errLDS_RI_SectorKey_IncorrectData = 2164260977
|
|
113
|
+
errLDS_RI_SectorKey_IncompleteData = 2164260978
|
|
114
|
+
errLDS_CV_Certificate_MissingMandatoryData_PK = 2164260960
|
|
115
|
+
errLDS_CV_Certificate_PublicKey_Unsupported = 2164260962
|
|
116
|
+
errLDS_CV_Certificate_CHAT_UnsupportedTerminalType = 2164260963
|
|
117
|
+
errLDS_CV_Certificate_PrivateKey_Unsupported = 2164260964
|
|
118
|
+
errLDS_CV_Certificate_PrivateKey_InvalidParams = 2164260965
|
|
119
|
+
errLDS_CV_Certificate_IncorrectData = 2164261216
|
|
120
|
+
errLDS_CV_Certificate_CPI_IncorrectData = 2164261217
|
|
121
|
+
errLDS_CV_Certificate_CAR_IncorrectData = 2164261218
|
|
122
|
+
errLDS_CV_Certificate_PublicKey_IncorrectData = 2164261219
|
|
123
|
+
errLDS_CV_Certificate_CHR_IncorrectData = 2164261220
|
|
124
|
+
errLDS_CV_Certificate_CHAT_IncorrectData = 2164261221
|
|
125
|
+
errLDS_CV_Certificate_ValidFrom_IncorrectData = 2164261222
|
|
126
|
+
errLDS_CV_Certificate_ValidTo_IncorrectData = 2164261223
|
|
127
|
+
errLDS_CV_Certificate_Extensions_IncorrectData = 2164261224
|
|
128
|
+
errLDS_CV_Certificate_PrivateKey_IncorrectData = 2164261225
|
|
129
|
+
errLDS_CV_Certificate_PrivateKey_Missing = 2164261226
|
|
130
|
+
errLDS_VDS_UnsupportedVersion = 2164261376
|
|
131
|
+
errLDS_VDS_Issuing_Country_Size = 2164261377
|
|
132
|
+
errLDS_VDS_Issuing_Country_IncorrectData = 2164261378
|
|
133
|
+
errLDS_VDS_Signer_Certificate_Size = 2164261379
|
|
134
|
+
errLDS_VDS_Signer_Certificate_Data = 2164261380
|
|
135
|
+
errLDS_VDS_Signature_IncorrectData = 2164261381
|
|
136
|
+
errLDS_VDS_NC_IncorrectData = 2164261632
|
|
137
|
+
errLDS_VDS_NC_MissingOrIncorrect_Data = 2164261633
|
|
138
|
+
errLDS_VDS_NC_MissingOrIncorrect_Header = 2164261634
|
|
139
|
+
errLDS_VDS_NC_MissingOrIncorrect_Type = 2164261635
|
|
140
|
+
errLDS_VDS_NC_MissingOrIncorrect_Version = 2164261636
|
|
141
|
+
errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry = 2164261637
|
|
142
|
+
errLDS_VDS_NC_MissingOrIncorrect_Message = 2164261638
|
|
143
|
+
errLDS_VDS_NC_MissingOrIncorrect_Signature = 2164261639
|
|
144
|
+
errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm = 2164261640
|
|
145
|
+
errLDS_VDS_NC_MissingOrIncorrect_Certificate = 2164261641
|
|
146
|
+
errLDS_VDS_NC_MissingOrIncorrect_SigValue = 2164261642
|
|
147
|
+
|
|
148
|
+
@classmethod
|
|
149
|
+
def from_json(cls, json_str: str) -> Self:
|
|
150
|
+
"""Create an instance of ParsingErrorCodes from a JSON string"""
|
|
151
|
+
return cls(json.loads(json_str))
|
|
152
|
+
|
|
153
|
+
|
|
@@ -30,10 +30,9 @@ class PhotoIdentItem(BaseModel):
|
|
|
30
30
|
field_types_list: Optional[List[StrictInt]] = Field(default=None, alias="FieldTypesList")
|
|
31
31
|
step: Optional[StrictInt] = Field(default=None, alias="Step")
|
|
32
32
|
angle: Optional[StrictInt] = Field(default=None, alias="Angle")
|
|
33
|
-
|
|
34
|
-
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
33
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
35
34
|
reserved3: Optional[StrictInt] = Field(default=None, alias="Reserved3")
|
|
36
|
-
__properties: ClassVar[List[str]] = ["LightIndex", "Area", "SourceImage", "ResultImages", "FieldTypesCount", "FieldTypesList", "Step", "Angle", "
|
|
35
|
+
__properties: ClassVar[List[str]] = ["LightIndex", "Area", "SourceImage", "ResultImages", "FieldTypesCount", "FieldTypesList", "Step", "Angle", "Result", "Reserved3"]
|
|
37
36
|
|
|
38
37
|
model_config = ConfigDict(
|
|
39
38
|
populate_by_name=True,
|
|
@@ -103,8 +102,7 @@ class PhotoIdentItem(BaseModel):
|
|
|
103
102
|
"FieldTypesList": obj.get("FieldTypesList"),
|
|
104
103
|
"Step": obj.get("Step"),
|
|
105
104
|
"Angle": obj.get("Angle"),
|
|
106
|
-
"
|
|
107
|
-
"Reserved2": obj.get("Reserved2"),
|
|
105
|
+
"Result": obj.get("Result"),
|
|
108
106
|
"Reserved3": obj.get("Reserved3")
|
|
109
107
|
})
|
|
110
108
|
return _obj
|
|
@@ -34,10 +34,9 @@ class PhotoIdentResult(AuthenticityCheckResultItem):
|
|
|
34
34
|
field_types_list: Optional[List[StrictInt]] = Field(default=None, alias="FieldTypesList")
|
|
35
35
|
step: Optional[StrictInt] = Field(default=None, alias="Step")
|
|
36
36
|
angle: Optional[StrictInt] = Field(default=None, alias="Angle")
|
|
37
|
-
|
|
38
|
-
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
37
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
39
38
|
reserved3: Optional[StrictInt] = Field(default=None, alias="Reserved3")
|
|
40
|
-
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "LightIndex", "Area", "SourceImage", "ResultImages", "FieldTypesCount", "FieldTypesList", "Step", "Angle", "
|
|
39
|
+
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "LightIndex", "Area", "SourceImage", "ResultImages", "FieldTypesCount", "FieldTypesList", "Step", "Angle", "Result", "Reserved3"]
|
|
41
40
|
|
|
42
41
|
model_config = ConfigDict(
|
|
43
42
|
populate_by_name=True,
|
|
@@ -111,8 +110,7 @@ class PhotoIdentResult(AuthenticityCheckResultItem):
|
|
|
111
110
|
"FieldTypesList": obj.get("FieldTypesList"),
|
|
112
111
|
"Step": obj.get("Step"),
|
|
113
112
|
"Angle": obj.get("Angle"),
|
|
114
|
-
"
|
|
115
|
-
"Reserved2": obj.get("Reserved2"),
|
|
113
|
+
"Result": obj.get("Result"),
|
|
116
114
|
"Reserved3": obj.get("Reserved3")
|
|
117
115
|
})
|
|
118
116
|
return _obj
|
|
@@ -28,8 +28,9 @@ class SecurityFeatureItem(BaseModel):
|
|
|
28
28
|
visibility: Visibility = Field(alias="Visibility")
|
|
29
29
|
critical_flag: Critical = Field(alias="CriticalFlag")
|
|
30
30
|
area_list: Optional[AreaContainer] = Field(default=None, alias="AreaList")
|
|
31
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
31
32
|
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
32
|
-
__properties: ClassVar[List[str]] = ["ElementType", "ElementRect", "Visibility", "CriticalFlag", "AreaList", "Reserved2"]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["ElementType", "ElementRect", "Visibility", "CriticalFlag", "AreaList", "Result", "Reserved2"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
@@ -93,6 +94,7 @@ class SecurityFeatureItem(BaseModel):
|
|
|
93
94
|
"Visibility": obj.get("Visibility"),
|
|
94
95
|
"CriticalFlag": obj.get("CriticalFlag"),
|
|
95
96
|
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None,
|
|
97
|
+
"Result": obj.get("Result"),
|
|
96
98
|
"Reserved2": obj.get("Reserved2")
|
|
97
99
|
})
|
|
98
100
|
return _obj
|
|
@@ -32,8 +32,9 @@ class SecurityFeatureResult(AuthenticityCheckResultItem):
|
|
|
32
32
|
visibility: Visibility = Field(alias="Visibility")
|
|
33
33
|
critical_flag: Critical = Field(alias="CriticalFlag")
|
|
34
34
|
area_list: Optional[AreaContainer] = Field(default=None, alias="AreaList")
|
|
35
|
+
result: Optional[StrictInt] = Field(default=None, alias="Result")
|
|
35
36
|
reserved2: Optional[StrictInt] = Field(default=None, alias="Reserved2")
|
|
36
|
-
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "ElementType", "ElementRect", "Visibility", "CriticalFlag", "AreaList", "Reserved2"]
|
|
37
|
+
__properties: ClassVar[List[str]] = ["Type", "ElementResult", "ElementDiagnose", "PercentValue", "ElementType", "ElementRect", "Visibility", "CriticalFlag", "AreaList", "Result", "Reserved2"]
|
|
37
38
|
|
|
38
39
|
model_config = ConfigDict(
|
|
39
40
|
populate_by_name=True,
|
|
@@ -101,6 +102,7 @@ class SecurityFeatureResult(AuthenticityCheckResultItem):
|
|
|
101
102
|
"Visibility": obj.get("Visibility"),
|
|
102
103
|
"CriticalFlag": obj.get("CriticalFlag"),
|
|
103
104
|
"AreaList": AreaContainer.from_dict(obj["AreaList"]) if obj.get("AreaList") is not None else None,
|
|
105
|
+
"Result": obj.get("Result"),
|
|
104
106
|
"Reserved2": obj.get("Reserved2")
|
|
105
107
|
})
|
|
106
108
|
return _obj
|
|
@@ -24,13 +24,16 @@ class TransactionProcessRequest(BaseModel):
|
|
|
24
24
|
""" # noqa: E501
|
|
25
25
|
process_param: ProcessParams = Field(alias="processParam")
|
|
26
26
|
list: Optional[List[ProcessRequestImage]] = Field(default=None, alias="List")
|
|
27
|
+
tag: Optional[StrictStr] = Field(default=None, description="Session ID")
|
|
28
|
+
tenant: Optional[StrictStr] = Field(default=None, description="Customer name")
|
|
29
|
+
env: Optional[StrictStr] = Field(default=None, description="Environment type")
|
|
27
30
|
live_portrait: Optional[StrictStr] = Field(default=None, description="Live portrait photo", alias="livePortrait")
|
|
28
31
|
ext_portrait: Optional[StrictStr] = Field(default=None, description="Portrait photo from an external source", alias="extPortrait")
|
|
29
32
|
container_list: Optional[ContainerList] = Field(default=None, alias="ContainerList")
|
|
30
33
|
system_info: Optional[ProcessSystemInfo] = Field(default=None, alias="systemInfo")
|
|
31
34
|
pass_back_object: Optional[Dict[str, Any]] = Field(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.", alias="passBackObject")
|
|
32
35
|
dtc: Optional[StrictStr] = Field(default=None, description="Digital Travel Credential (DTC-VC) data in base64 format for processing")
|
|
33
|
-
__properties: ClassVar[List[str]] = ["processParam", "List", "livePortrait", "extPortrait", "ContainerList", "systemInfo", "passBackObject", "dtc"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["processParam", "List", "tag", "tenant", "env", "livePortrait", "extPortrait", "ContainerList", "systemInfo", "passBackObject", "dtc"]
|
|
34
37
|
|
|
35
38
|
model_config = ConfigDict(
|
|
36
39
|
populate_by_name=True,
|
|
@@ -101,6 +104,9 @@ class TransactionProcessRequest(BaseModel):
|
|
|
101
104
|
_obj = cls.model_validate({
|
|
102
105
|
"processParam": ProcessParams.from_dict(obj["processParam"]) if obj.get("processParam") is not None else None,
|
|
103
106
|
"List": [ProcessRequestImage.from_dict(_item) for _item in obj["List"]] if obj.get("List") is not None else None,
|
|
107
|
+
"tag": obj.get("tag"),
|
|
108
|
+
"tenant": obj.get("tenant"),
|
|
109
|
+
"env": obj.get("env"),
|
|
104
110
|
"livePortrait": obj.get("livePortrait"),
|
|
105
111
|
"extPortrait": obj.get("extPortrait"),
|
|
106
112
|
"ContainerList": ContainerList.from_dict(obj["ContainerList"]) if obj.get("ContainerList") is not None else None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: regula_documentreader_webclient
|
|
3
|
-
Version: 7.7.
|
|
3
|
+
Version: 7.7.306.dev0
|
|
4
4
|
Summary: Regula's Document Reader python client
|
|
5
5
|
Home-page: https://regulaforensics.com
|
|
6
6
|
Author: Regula Forensics, Inc.
|
|
@@ -59,7 +59,7 @@ with open("australia_passport.jpg", "rb") as f:
|
|
|
59
59
|
|
|
60
60
|
with DocumentReaderApi(host='http://localhost:8080') as api:
|
|
61
61
|
params = ProcessParams(
|
|
62
|
-
scenario=Scenario.
|
|
62
|
+
scenario=Scenario.FULLPROCESS,
|
|
63
63
|
result_type_output=[Result.DOCUMENT_IMAGE, Result.STATUS, Result.TEXT, Result.IMAGES]
|
|
64
64
|
)
|
|
65
65
|
request = RecognitionRequest(process_params=params, images=[input_image])
|
|
@@ -5,19 +5,19 @@ regula/documentreader/webclient/ext/__init__.py,sha256=9ahgPOBtNOMhuCo7I0FqNOlrl
|
|
|
5
5
|
regula/documentreader/webclient/ext/api/__init__.py,sha256=Xzygo6zcLQaUJmchHGc2awK1kGwgIcqdBBqexU8iZfI,90
|
|
6
6
|
regula/documentreader/webclient/ext/api/document_reader_api.py,sha256=HjH3A3p93hd63d8q9Kr-y-oQbtsA8CWUYTXinsFkIOc,1785
|
|
7
7
|
regula/documentreader/webclient/ext/models/__init__.py,sha256=c8SIj9HZVotag-5rsFbSeQdTAD_kkCe4POpf6WHgSs0,1103
|
|
8
|
-
regula/documentreader/webclient/ext/models/images.py,sha256=
|
|
8
|
+
regula/documentreader/webclient/ext/models/images.py,sha256=x4BU2eQoE7AlDskSFlXHzMDJtEUldiN84VHyxWoN980,1409
|
|
9
9
|
regula/documentreader/webclient/ext/models/recognition_request.py,sha256=GWOhOqSm8weoo4ngHK1G1sKbmCpxmy1O33RhooCTpMQ,3385
|
|
10
|
-
regula/documentreader/webclient/ext/models/recognition_response.py,sha256=
|
|
11
|
-
regula/documentreader/webclient/ext/models/text.py,sha256=
|
|
10
|
+
regula/documentreader/webclient/ext/models/recognition_response.py,sha256=vYC7VNS3ZspiCnmCYdvb44BM68118LdryUTvgPzXii8,3468
|
|
11
|
+
regula/documentreader/webclient/ext/models/text.py,sha256=QFdMUhomAndod9_HY1VyowEkJpvY6SVGL-l0UfQz-bU,1757
|
|
12
12
|
regula/documentreader/webclient/ext/models/text_field.py,sha256=WaSlf6ndJK-4HSuocCMoNlSFBP0vNKUb_18acnPTM7I,1130
|
|
13
13
|
regula/documentreader/webclient/ext/models/authenticity/__init__.py,sha256=skkU16L7VlcFWNCurXRqntGW2kqKMYrIMuuSdv3Cpos,597
|
|
14
|
-
regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py,sha256=
|
|
15
|
-
regula/documentreader/webclient/ext/models/authenticity/fiber.py,sha256=
|
|
16
|
-
regula/documentreader/webclient/ext/models/authenticity/ident.py,sha256=
|
|
17
|
-
regula/documentreader/webclient/ext/models/authenticity/image_ident.py,sha256=
|
|
18
|
-
regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py,sha256=
|
|
19
|
-
regula/documentreader/webclient/ext/models/authenticity/security_feature.py,sha256=
|
|
20
|
-
regula/documentreader/webclient/gen/__init__.py,sha256=
|
|
14
|
+
regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py,sha256=UPFGpUtzgRyaP3Am9vI3HyaRR6wwCUcTLuPhZs0YHJ0,4913
|
|
15
|
+
regula/documentreader/webclient/ext/models/authenticity/fiber.py,sha256=ufy68CtFekBgzy_tlhjgmGFVXDu_qHQhcFDhZENMyEc,333
|
|
16
|
+
regula/documentreader/webclient/ext/models/authenticity/ident.py,sha256=DSmXEJ-v3SpFhhBOrd--R_lZGSS1qLXb6qftTNaNnlQ,539
|
|
17
|
+
regula/documentreader/webclient/ext/models/authenticity/image_ident.py,sha256=QmKTghP4Lo7bHBEubwzsVt1ob97NNaNIu_5QN_LUF9M,370
|
|
18
|
+
regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py,sha256=BV0h2_UDrwUlWczoJQW8qTSkdZ0icm0n0pPDRY9Qwq4,407
|
|
19
|
+
regula/documentreader/webclient/ext/models/authenticity/security_feature.py,sha256=t8egDyT1wlGvsyvZboAFOvcaYsALGpj41E50FUbvx68,622
|
|
20
|
+
regula/documentreader/webclient/gen/__init__.py,sha256=pgq20ZqtwGg6nHsu4phO5RmSAOo2vTu-yKsD5lIXhTY,21764
|
|
21
21
|
regula/documentreader/webclient/gen/api_client.py,sha256=HHg6WD9kdtzfaP_W15MQDVv6dHAC3axjYT-CnnL4iwQ,27357
|
|
22
22
|
regula/documentreader/webclient/gen/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
23
23
|
regula/documentreader/webclient/gen/configuration.py,sha256=JCc_wWrUv01B__2Ty7JFW_HGmlTMbeE1wAEi5cWRBe8,18084
|
|
@@ -28,19 +28,19 @@ regula/documentreader/webclient/gen/api/__init__.py,sha256=uTpCYjhu-y6l3fzZZtnb0
|
|
|
28
28
|
regula/documentreader/webclient/gen/api/healthcheck_api.py,sha256=g3Q3XsdgYfEmmdgnnspRX5DluONia4bDANKUZLRMMlQ,29942
|
|
29
29
|
regula/documentreader/webclient/gen/api/process_api.py,sha256=RnJXVZy-M1bNfiXK0tHEQEuhOgxkXk9jMG-hpZfTjZ8,12123
|
|
30
30
|
regula/documentreader/webclient/gen/api/transaction_api.py,sha256=gloxQil4dSiOQ_pfxrjVj1IU0-K0TTlq1OIBwD_gL_w,65601
|
|
31
|
-
regula/documentreader/webclient/gen/models/__init__.py,sha256=
|
|
31
|
+
regula/documentreader/webclient/gen/models/__init__.py,sha256=vaSyDVBijG7Q583kH53UDaILOZm-H4K4pkOuq2-w51k,20790
|
|
32
32
|
regula/documentreader/webclient/gen/models/area_array.py,sha256=4MSvqoocqZjfsXxniYQTOackHbhbi4cboIelOYbiFBo,3522
|
|
33
33
|
regula/documentreader/webclient/gen/models/area_container.py,sha256=FLl6DdW1kxcFFLPvHkGcUjk0zpbhpAKRpKCd3gjbpaw,3480
|
|
34
34
|
regula/documentreader/webclient/gen/models/auth_params.py,sha256=7YlqQeS23EmPgDUUUWo6BNICdU4Zp86aNVOVwncKos8,6463
|
|
35
35
|
regula/documentreader/webclient/gen/models/authenticity_check_list.py,sha256=JQjhomvZZECbAFmqj7Ee03Pi5JdpHwhZxZHmGQ2lnKk,2976
|
|
36
36
|
regula/documentreader/webclient/gen/models/authenticity_check_list_item.py,sha256=dFGG8z561X5pX1rB6rNGadtOvn-zqJT3yFmpddv_n1c,2805
|
|
37
37
|
regula/documentreader/webclient/gen/models/authenticity_check_result.py,sha256=ObntM7U3n_1chf1P-voNk12aZicIvL29rx2g70Q-bns,3383
|
|
38
|
-
regula/documentreader/webclient/gen/models/authenticity_check_result_item.py,sha256=
|
|
38
|
+
regula/documentreader/webclient/gen/models/authenticity_check_result_item.py,sha256=FWuvXqHB-1j4pxF_r63tdmwOkZT-yESHMui6RtD3FIw,11229
|
|
39
39
|
regula/documentreader/webclient/gen/models/authenticity_check_result_list_inner.py,sha256=TyEkWc6svhI71uz0eTEd1QSFKqimnfGVdLBE9QghQHo,7839
|
|
40
40
|
regula/documentreader/webclient/gen/models/authenticity_result.py,sha256=rjtFnaPpW77ME-9_trWYXuV1ck1Xp_ot7uTxWtNGrlU,3205
|
|
41
|
-
regula/documentreader/webclient/gen/models/authenticity_result_type.py,sha256=
|
|
41
|
+
regula/documentreader/webclient/gen/models/authenticity_result_type.py,sha256=uQBErugMJRv0bUV5ieAUpvNU7EQZXbi0oSpQV30Rr14,1191
|
|
42
42
|
regula/documentreader/webclient/gen/models/bar_code_module_type.py,sha256=1rPvDumVLLGda985QJxg3yLcUGL1EFQs6uPgFXx170M,541
|
|
43
|
-
regula/documentreader/webclient/gen/models/barcode_type.py,sha256=
|
|
43
|
+
regula/documentreader/webclient/gen/models/barcode_type.py,sha256=N22D3d2XPizAhsE-ZXGUKnEQRQF851WSVzBAp2iru5M,811
|
|
44
44
|
regula/documentreader/webclient/gen/models/bc_pdf417_info.py,sha256=os0oyHUQvPsRWqrannfiwddDhzz593O68oniHVMoUbY,2841
|
|
45
45
|
regula/documentreader/webclient/gen/models/bc_roidetect.py,sha256=06vsU1T7FodmEIpEDvje_grsy8rsjpDHgK_HoYFI_Io,2420
|
|
46
46
|
regula/documentreader/webclient/gen/models/binary_data.py,sha256=RAtDtODB5NpztIAbp_h4dXLhJcg8RU_7aHcGP7H9A4M,12705
|
|
@@ -70,7 +70,7 @@ regula/documentreader/webclient/gen/models/doc_visual_extended_info.py,sha256=co
|
|
|
70
70
|
regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py,sha256=tJPcwsdkRd1jUU6__s-NPQJKkuQVlBargIpOg7RpHcY,2810
|
|
71
71
|
regula/documentreader/webclient/gen/models/document_binary_info_result.py,sha256=WkIxAlycd8OUr3Dt5l-PvzCdiyNwPy3RyIQ1mZt87C8,3242
|
|
72
72
|
regula/documentreader/webclient/gen/models/document_format.py,sha256=xoL4imYTxHnt8kBmOTxv-OHRtMc3nzxld3JsdHJWs-M,743
|
|
73
|
-
regula/documentreader/webclient/gen/models/document_image.py,sha256
|
|
73
|
+
regula/documentreader/webclient/gen/models/document_image.py,sha256=j1GFGHo16AzqE7jGgKSCF43nyK2fOopdby4GXwcqzbE,2447
|
|
74
74
|
regula/documentreader/webclient/gen/models/document_image_result.py,sha256=WUPQcZO5LQ8FpTZ1ZbSEs-xUU27IL_3UtIGapuix0y0,3125
|
|
75
75
|
regula/documentreader/webclient/gen/models/document_position.py,sha256=xY7zqxxDjf8ED9Z-9zBrpfLZ-BkUPIg2Iqwylia-Jto,5375
|
|
76
76
|
regula/documentreader/webclient/gen/models/document_position_item.py,sha256=6KK7h8IptRYkTfizUFCS5JhMk12GCERmeP9JFYmZkU0,2710
|
|
@@ -91,8 +91,8 @@ regula/documentreader/webclient/gen/models/face_detection_item.py,sha256=UuZqCp_
|
|
|
91
91
|
regula/documentreader/webclient/gen/models/face_detection_result.py,sha256=cDuoMl-qrlYn6Hom2w2yqZQie-WgUgqHS4bgXN8otdg,3092
|
|
92
92
|
regula/documentreader/webclient/gen/models/face_item.py,sha256=iAKQ0Qjwu71R4qaOsDzQ9EMmO4BehyrcMz8HMbs_qZ0,4336
|
|
93
93
|
regula/documentreader/webclient/gen/models/fdsid_list.py,sha256=eominQ40FH24IH9fITDAfX4EYqUebXg_-HXpY-0Bm4w,4402
|
|
94
|
-
regula/documentreader/webclient/gen/models/fiber_item.py,sha256=
|
|
95
|
-
regula/documentreader/webclient/gen/models/fiber_result.py,sha256=
|
|
94
|
+
regula/documentreader/webclient/gen/models/fiber_item.py,sha256=59_yFPlLxSjFgfIoT4pXdfwknVID4EWxkbR1oWNgA4g,4456
|
|
95
|
+
regula/documentreader/webclient/gen/models/fiber_result.py,sha256=ITQ2cc8d7OVN-Td5S7kpXNUkrfR_Is3iRwVi9t1Oqiw,5116
|
|
96
96
|
regula/documentreader/webclient/gen/models/field_item.py,sha256=S8NQ3Km13jS76AfFyJJWFEzoLnFPsL_tBAns6qHt-F8,2832
|
|
97
97
|
regula/documentreader/webclient/gen/models/file_image.py,sha256=8YISAAWhvdm3Ggf2lD81q7o-W2HUT9jXfEXuLbbVBS0,2346
|
|
98
98
|
regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py,sha256=Hovh3jws3u1awXNzK1w4P6J3MK3l5v0lhK1gyxabNgo,2701
|
|
@@ -103,9 +103,9 @@ regula/documentreader/webclient/gen/models/graphic_fields_list.py,sha256=XCTJa8A
|
|
|
103
103
|
regula/documentreader/webclient/gen/models/graphics_result.py,sha256=SOJp2H-oohDg6fm2no-5vsEVd1Lcwo9oFyvgtHbNKb4,3206
|
|
104
104
|
regula/documentreader/webclient/gen/models/healthcheck.py,sha256=E8s9nM-bgNZ5Uc7WxfYHY8UapDPY1OTqpCafXOezrfk,5379
|
|
105
105
|
regula/documentreader/webclient/gen/models/healthcheck_documents_database.py,sha256=qCKEglC_BIHve0iNn0UM9mZewrufHtIg1w4dNE4rqD8,3713
|
|
106
|
-
regula/documentreader/webclient/gen/models/ident_item.py,sha256=
|
|
107
|
-
regula/documentreader/webclient/gen/models/ident_result.py,sha256=
|
|
108
|
-
regula/documentreader/webclient/gen/models/image_data.py,sha256=
|
|
106
|
+
regula/documentreader/webclient/gen/models/ident_item.py,sha256=MQebw7n79-CygoxW2H4d-wfDWaAsngIq9D34SlOnCxs,4486
|
|
107
|
+
regula/documentreader/webclient/gen/models/ident_result.py,sha256=vUAEUwvWyayDhrkPvsJu71Obo6hekGESfbFoxke7a_Y,5146
|
|
108
|
+
regula/documentreader/webclient/gen/models/image_data.py,sha256=A8YcmCS6uV02yBLw5yIUAzRcPQcyZbprmTSCkKLXiPA,2431
|
|
109
109
|
regula/documentreader/webclient/gen/models/image_qa.py,sha256=1Qwp1XC7RzthIxdk54drD5cnhOJmr2TFYvLcq4qIjU4,4856
|
|
110
110
|
regula/documentreader/webclient/gen/models/image_quality_check.py,sha256=MALhX1QdG18h9KmnKAHWkX9iLmqsyV_udCe8yeDrwTs,3562
|
|
111
111
|
regula/documentreader/webclient/gen/models/image_quality_check_list.py,sha256=LiI7qiamCQKomwG0J9B2xOAhyIJd0nmDaCInXX_hiik,3120
|
|
@@ -145,8 +145,8 @@ regula/documentreader/webclient/gen/models/mrz_rows_item.py,sha256=jUol6GdIYRdEc
|
|
|
145
145
|
regula/documentreader/webclient/gen/models/mrz_test_quality.py,sha256=jYfkanSz4tts6BMjTH48sifaB0XRDDrukV0zA9ToHsE,3889
|
|
146
146
|
regula/documentreader/webclient/gen/models/mrz_test_quality_item.py,sha256=N1DHfX2oC7uz1WtMB1RpicfeABn0e5q3DfM6ois_L2E,2679
|
|
147
147
|
regula/documentreader/webclient/gen/models/mrz_test_quality_result.py,sha256=-2iqwp3CniTSHud0tPWvx_2cF4GUMaknfWq-isvnuQA,3115
|
|
148
|
-
regula/documentreader/webclient/gen/models/ocr_security_text_item.py,sha256=
|
|
149
|
-
regula/documentreader/webclient/gen/models/ocr_security_text_result.py,sha256=
|
|
148
|
+
regula/documentreader/webclient/gen/models/ocr_security_text_item.py,sha256=kOScbMRyy1yqT1h71zEKJdUPCPSYuy__4rCIJkq8f6M,4668
|
|
149
|
+
regula/documentreader/webclient/gen/models/ocr_security_text_result.py,sha256=tebup1He_P27Q8cE0c_hVQQlnDHUJf5B5_-rP0b9OQs,5328
|
|
150
150
|
regula/documentreader/webclient/gen/models/one_candidate.py,sha256=YKWQ1j-zQz3zc93K8KPwuXI0WC5pEeDAeiPLPOPo-Fs,5240
|
|
151
151
|
regula/documentreader/webclient/gen/models/one_candidate_item.py,sha256=hplvxqurTiNEtf_GkZrem5b-Su3O8tc0IyxK1qTzbLc,2876
|
|
152
152
|
regula/documentreader/webclient/gen/models/original_symbol.py,sha256=PdeHzkXeYMmzt-uAYwzdF4Ky6CZ7UThPtoCoDLr3L2Q,2954
|
|
@@ -154,10 +154,11 @@ regula/documentreader/webclient/gen/models/out_data.py,sha256=ZE0UNzLFvTWp6PdAhr
|
|
|
154
154
|
regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py,sha256=tez6qBxPTIQPktbjbYYmVr5k8vMUtFJibziOM2UxhC4,3083
|
|
155
155
|
regula/documentreader/webclient/gen/models/p_array_field.py,sha256=8kVa-HuHKQhbCZducLXl9gvkwGbqKnDWXeLdM9Jqv5Y,4954
|
|
156
156
|
regula/documentreader/webclient/gen/models/parsed_data.py,sha256=n2fh8nO8B-CpBsmUqFRMVkS7ZtMRDA7sCqIty1RRzuE,2363
|
|
157
|
+
regula/documentreader/webclient/gen/models/parsing_error_codes.py,sha256=y2UW12CAoxsHIlfavTVdewW6gGUV1LrD2PyB4tJKhns,7555
|
|
157
158
|
regula/documentreader/webclient/gen/models/parsing_notification_codes.py,sha256=WhBQk4elweDIOxBB0dgzmMez6tXJ6ajs4pZP-xkMWm8,14216
|
|
158
159
|
regula/documentreader/webclient/gen/models/per_document_config.py,sha256=yTCwXM3eqkGZhKMAZKDojpjuUMkoF9lcFafm43LVkgU,2659
|
|
159
|
-
regula/documentreader/webclient/gen/models/photo_ident_item.py,sha256=
|
|
160
|
-
regula/documentreader/webclient/gen/models/photo_ident_result.py,sha256=
|
|
160
|
+
regula/documentreader/webclient/gen/models/photo_ident_item.py,sha256=2fO3D3XHfN4Ge18uwmgQgBKyKy7Kbqhe8km8LQBmAM8,4557
|
|
161
|
+
regula/documentreader/webclient/gen/models/photo_ident_result.py,sha256=YpDPqn3622dPsyU7E_4zS04SFinXj2o7XCG_BC6kBUY,5217
|
|
161
162
|
regula/documentreader/webclient/gen/models/point.py,sha256=_khsO-Zo2SIqXIPHQALJz4F6kB2lDqIi0Yhg7c8ImRw,2234
|
|
162
163
|
regula/documentreader/webclient/gen/models/point_array.py,sha256=xcg4DqZl-oNKJt9BPyASdeGNTlPrO7G31zTMEzZkL2g,2768
|
|
163
164
|
regula/documentreader/webclient/gen/models/points_container.py,sha256=6KKKe2sFAwg3d0QDWyejfQEHTqTzTE56o6MqSX5gO6A,2951
|
|
@@ -215,8 +216,8 @@ regula/documentreader/webclient/gen/models/rfid_type.py,sha256=Iar7yWbbSUnMsac5N
|
|
|
215
216
|
regula/documentreader/webclient/gen/models/rfid_validity.py,sha256=GdTJug93a4K1REDy4QeMLgVNf878TtbnYGT1R-0fuD4,2980
|
|
216
217
|
regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py,sha256=apzhMDECSR6nA1XshnyBhF1UvssokP7oAk3xOPVB9p0,658
|
|
217
218
|
regula/documentreader/webclient/gen/models/scenario.py,sha256=Y1IoTAM_o-xfxHIl89g_VDsTu-kZk-X9tzSNNc713AU,1025
|
|
218
|
-
regula/documentreader/webclient/gen/models/security_feature_item.py,sha256=
|
|
219
|
-
regula/documentreader/webclient/gen/models/security_feature_result.py,sha256=
|
|
219
|
+
regula/documentreader/webclient/gen/models/security_feature_item.py,sha256=a1ka9Tw-riXi0HfrLY1CWxdwg0xSO5wBb-bIIDQ1HOY,4033
|
|
220
|
+
regula/documentreader/webclient/gen/models/security_feature_result.py,sha256=cVastS4po4D0X5ob2yGYKMDwcHHZWbh8-eQ49_U5MaU,4693
|
|
220
221
|
regula/documentreader/webclient/gen/models/security_feature_type.py,sha256=GxIvB9kdlBy8cVA2qVm-DE7KmB_fc4K1ujmlEgpAhtg,2224
|
|
221
222
|
regula/documentreader/webclient/gen/models/security_object_certificates.py,sha256=T-qOwejw7bwUM-baidHAMfC_kaQfjt2JboQAxoPJfDQ,2760
|
|
222
223
|
regula/documentreader/webclient/gen/models/source.py,sha256=j869nKh9ZZQaTWN_BLvwMQ_1xQBZSPmMMumiF6s8ojw,591
|
|
@@ -246,7 +247,7 @@ regula/documentreader/webclient/gen/models/text_result.py,sha256=D7AsopRakMp0H9S
|
|
|
246
247
|
regula/documentreader/webclient/gen/models/transaction_image.py,sha256=iHquHMGdRrfC6rfEejk_JvAINBdWihbRBBI1jCtGirE,2578
|
|
247
248
|
regula/documentreader/webclient/gen/models/transaction_info.py,sha256=8cGPX_2LGhuBIr_60iZYiZ6CrfRuYPk9SzyqunukYx0,3909
|
|
248
249
|
regula/documentreader/webclient/gen/models/transaction_process_get_response.py,sha256=ovNFtcdHVSNU3eHGYVXjMdi47FHHaRuuWY2EGOzEKKg,3310
|
|
249
|
-
regula/documentreader/webclient/gen/models/transaction_process_request.py,sha256=
|
|
250
|
+
regula/documentreader/webclient/gen/models/transaction_process_request.py,sha256=gNMFvXgokeU1IyYA1nFd854839nceDZc6iNfL41WP9w,5637
|
|
250
251
|
regula/documentreader/webclient/gen/models/transaction_process_response.py,sha256=g-_YG51D9N17UwWjjPrjPkDDEBykKItS-z68CBUb0GA,4701
|
|
251
252
|
regula/documentreader/webclient/gen/models/transaction_process_response_item.py,sha256=D-tascu0Ios_WeE0rXseORYj_gQi6q-IQ70YzeHxgNQ,2390
|
|
252
253
|
regula/documentreader/webclient/gen/models/transaction_process_result.py,sha256=5dcL6OF7IhiFrnLLrYoW0j4lveWLzEiYPtQk8jDPSsY,3290
|
|
@@ -256,7 +257,7 @@ regula/documentreader/webclient/gen/models/verification_result.py,sha256=E6bCVR5
|
|
|
256
257
|
regula/documentreader/webclient/gen/models/verified_field_map.py,sha256=sOnkL-c9WIJPHcUjT5_KzxMiVZK574iOBppANc7zRSs,4861
|
|
257
258
|
regula/documentreader/webclient/gen/models/visibility.py,sha256=GACgQd_8lx_cwMwI5lCi7cTxEWxw2atbJo6uI4mTKpQ,602
|
|
258
259
|
regula/documentreader/webclient/gen/models/visual_extended_field_item.py,sha256=55PY8Wwn1Nh0msc-ynPZqlkmc6QwsghIy9-ICqvbRcA,5040
|
|
259
|
-
regula_documentreader_webclient-7.7.
|
|
260
|
-
regula_documentreader_webclient-7.7.
|
|
261
|
-
regula_documentreader_webclient-7.7.
|
|
262
|
-
regula_documentreader_webclient-7.7.
|
|
260
|
+
regula_documentreader_webclient-7.7.306.dev0.dist-info/METADATA,sha256=Mk3xIq2baoKj71U-oOwVHUYQPSL6cNk3wHTppUie8aY,3805
|
|
261
|
+
regula_documentreader_webclient-7.7.306.dev0.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
|
|
262
|
+
regula_documentreader_webclient-7.7.306.dev0.dist-info/top_level.txt,sha256=SFSSVn4j8QDivd3307s97NtpIJ8zOjiWZloAxZIClJY,7
|
|
263
|
+
regula_documentreader_webclient-7.7.306.dev0.dist-info/RECORD,,
|
|
File without changes
|