regula-documentreader-webclient 8.1.355rc0__py3-none-any.whl → 8.1.357.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.

Files changed (289) hide show
  1. regula/documentreader/webclient/ext/__init__.py +0 -1
  2. regula/documentreader/webclient/ext/api/document_reader_api.py +2 -2
  3. regula/documentreader/webclient/ext/models/__init__.py +0 -2
  4. regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py +64 -19
  5. regula/documentreader/webclient/ext/models/authenticity/fiber.py +7 -7
  6. regula/documentreader/webclient/ext/models/authenticity/ident.py +10 -9
  7. regula/documentreader/webclient/ext/models/authenticity/image_ident.py +8 -7
  8. regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py +7 -7
  9. regula/documentreader/webclient/ext/models/authenticity/security_feature.py +10 -8
  10. regula/documentreader/webclient/ext/models/images.py +4 -4
  11. regula/documentreader/webclient/ext/models/recognition_request.py +23 -24
  12. regula/documentreader/webclient/ext/models/recognition_response.py +6 -8
  13. regula/documentreader/webclient/ext/models/text.py +7 -12
  14. regula/documentreader/webclient/gen/__init__.py +100 -26
  15. regula/documentreader/webclient/gen/api/__init__.py +1 -2
  16. regula/documentreader/webclient/gen/api/healthcheck_api.py +687 -298
  17. regula/documentreader/webclient/gen/api/process_api.py +270 -125
  18. regula/documentreader/webclient/gen/api/transaction_api.py +1472 -673
  19. regula/documentreader/webclient/gen/api_client.py +583 -462
  20. regula/documentreader/webclient/gen/api_response.py +21 -0
  21. regula/documentreader/webclient/gen/configuration.py +222 -99
  22. regula/documentreader/webclient/gen/exceptions.py +81 -30
  23. regula/documentreader/webclient/gen/models/__init__.py +98 -25
  24. regula/documentreader/webclient/gen/models/area_array.py +85 -131
  25. regula/documentreader/webclient/gen/models/area_container.py +85 -157
  26. regula/documentreader/webclient/gen/models/auth_params.py +100 -526
  27. regula/documentreader/webclient/gen/models/authenticity_check_list.py +75 -136
  28. regula/documentreader/webclient/gen/models/authenticity_check_list_item.py +83 -0
  29. regula/documentreader/webclient/gen/models/authenticity_check_result.py +81 -160
  30. regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +154 -217
  31. regula/documentreader/webclient/gen/models/authenticity_check_result_list_inner.py +174 -0
  32. regula/documentreader/webclient/gen/models/authenticity_result.py +68 -231
  33. regula/documentreader/webclient/gen/models/authenticity_result_type.py +35 -123
  34. regula/documentreader/webclient/gen/models/bar_code_module_type.py +32 -0
  35. regula/documentreader/webclient/gen/models/barcode_type.py +47 -0
  36. regula/documentreader/webclient/gen/models/bc_pdf417_info.py +75 -235
  37. regula/documentreader/webclient/gen/models/bc_roidetect.py +71 -183
  38. regula/documentreader/webclient/gen/models/binary_data.py +218 -0
  39. regula/documentreader/webclient/gen/models/byte_array_item.py +79 -0
  40. regula/documentreader/webclient/gen/models/byte_array_result.py +64 -233
  41. regula/documentreader/webclient/gen/models/candidates_list_item.py +83 -0
  42. regula/documentreader/webclient/gen/models/certificate_data.py +81 -0
  43. regula/documentreader/webclient/gen/models/check_diagnose.py +138 -329
  44. regula/documentreader/webclient/gen/models/check_result.py +15 -84
  45. regula/documentreader/webclient/gen/models/chosen_document_type.py +94 -334
  46. regula/documentreader/webclient/gen/models/chosen_document_type_result.py +80 -264
  47. regula/documentreader/webclient/gen/models/container_list.py +75 -134
  48. regula/documentreader/webclient/gen/models/container_list_list_inner.py +426 -0
  49. regula/documentreader/webclient/gen/models/critical.py +14 -82
  50. regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +67 -156
  51. regula/documentreader/webclient/gen/models/data_module.py +74 -209
  52. regula/documentreader/webclient/gen/models/details_optical.py +83 -298
  53. regula/documentreader/webclient/gen/models/details_rfid.py +78 -268
  54. regula/documentreader/webclient/gen/models/device_info.py +76 -235
  55. regula/documentreader/webclient/gen/models/doc_bar_code_info.py +68 -230
  56. regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py +75 -135
  57. regula/documentreader/webclient/gen/models/doc_bar_code_info_item.py +83 -0
  58. regula/documentreader/webclient/gen/models/doc_graphics_info_item.py +83 -0
  59. regula/documentreader/webclient/gen/models/doc_visual_extended_field.py +105 -301
  60. regula/documentreader/webclient/gen/models/doc_visual_extended_field_item.py +83 -0
  61. regula/documentreader/webclient/gen/models/doc_visual_extended_info.py +75 -106
  62. regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py +83 -0
  63. regula/documentreader/webclient/gen/models/document_binary_info_result.py +90 -0
  64. regula/documentreader/webclient/gen/models/document_format.py +27 -105
  65. regula/documentreader/webclient/gen/models/document_image.py +63 -132
  66. regula/documentreader/webclient/gen/models/document_image_result.py +68 -231
  67. regula/documentreader/webclient/gen/models/document_position.py +111 -340
  68. regula/documentreader/webclient/gen/models/document_position_item.py +83 -0
  69. regula/documentreader/webclient/gen/models/document_position_result.py +68 -230
  70. regula/documentreader/webclient/gen/models/document_type.py +243 -539
  71. regula/documentreader/webclient/gen/models/document_type_recognition_result.py +15 -84
  72. regula/documentreader/webclient/gen/models/document_types_candidates.py +76 -131
  73. regula/documentreader/webclient/gen/models/document_types_candidates_list.py +76 -131
  74. regula/documentreader/webclient/gen/models/document_types_candidates_result.py +68 -230
  75. regula/documentreader/webclient/gen/models/documents_database.py +71 -191
  76. regula/documentreader/webclient/gen/models/encrypted_rcl_item.py +79 -0
  77. regula/documentreader/webclient/gen/models/encrypted_rcl_result.py +64 -233
  78. regula/documentreader/webclient/gen/models/error_coordinates.py +85 -0
  79. regula/documentreader/webclient/gen/models/face_api.py +88 -358
  80. regula/documentreader/webclient/gen/models/face_api_search.py +65 -159
  81. regula/documentreader/webclient/gen/models/face_detection.py +95 -0
  82. regula/documentreader/webclient/gen/models/face_detection_item.py +83 -0
  83. regula/documentreader/webclient/gen/models/face_detection_result.py +90 -0
  84. regula/documentreader/webclient/gen/models/face_item.py +109 -0
  85. regula/documentreader/webclient/gen/models/fdsid_list.py +91 -390
  86. regula/documentreader/webclient/gen/models/fiber_item.py +106 -0
  87. regula/documentreader/webclient/gen/models/fiber_result.py +103 -439
  88. regula/documentreader/webclient/gen/models/field_item.py +89 -0
  89. regula/documentreader/webclient/gen/models/file_image.py +81 -0
  90. regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +66 -159
  91. regula/documentreader/webclient/gen/models/graph_data.py +95 -0
  92. regula/documentreader/webclient/gen/models/graphic_field.py +80 -271
  93. regula/documentreader/webclient/gen/models/graphic_field_type.py +40 -131
  94. regula/documentreader/webclient/gen/models/graphic_fields_list.py +75 -106
  95. regula/documentreader/webclient/gen/models/graphics_result.py +68 -231
  96. regula/documentreader/webclient/gen/models/healthcheck.py +117 -297
  97. regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +91 -187
  98. regula/documentreader/webclient/gen/models/ident_item.py +110 -0
  99. regula/documentreader/webclient/gen/models/ident_result.py +107 -345
  100. regula/documentreader/webclient/gen/models/image_data.py +63 -132
  101. regula/documentreader/webclient/gen/models/image_qa.py +83 -304
  102. regula/documentreader/webclient/gen/models/image_quality_check.py +86 -263
  103. regula/documentreader/webclient/gen/models/image_quality_check_list.py +78 -133
  104. regula/documentreader/webclient/gen/models/image_quality_check_list_item.py +83 -0
  105. regula/documentreader/webclient/gen/models/image_quality_check_type.py +22 -97
  106. regula/documentreader/webclient/gen/models/image_quality_result.py +68 -231
  107. regula/documentreader/webclient/gen/models/image_transaction_data.py +61 -97
  108. regula/documentreader/webclient/gen/models/images.py +87 -133
  109. regula/documentreader/webclient/gen/models/images_available_source.py +64 -130
  110. regula/documentreader/webclient/gen/models/images_field.py +80 -162
  111. regula/documentreader/webclient/gen/models/images_field_value.py +94 -331
  112. regula/documentreader/webclient/gen/models/images_item.py +83 -0
  113. regula/documentreader/webclient/gen/models/images_result.py +68 -231
  114. regula/documentreader/webclient/gen/models/in_data.py +79 -131
  115. regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py +72 -187
  116. regula/documentreader/webclient/gen/models/in_data_video.py +63 -131
  117. regula/documentreader/webclient/gen/models/input_barcode_type.py +33 -119
  118. regula/documentreader/webclient/gen/models/input_image_quality_checks.py +22 -97
  119. regula/documentreader/webclient/gen/models/lcid.py +179 -402
  120. regula/documentreader/webclient/gen/models/lexical_analysis_result.py +68 -234
  121. regula/documentreader/webclient/gen/models/license_item.py +79 -0
  122. regula/documentreader/webclient/gen/models/license_result.py +64 -233
  123. regula/documentreader/webclient/gen/models/light.py +61 -87
  124. regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py +75 -131
  125. regula/documentreader/webclient/gen/models/list_verified_fields.py +77 -105
  126. regula/documentreader/webclient/gen/models/list_verified_fields_item.py +83 -0
  127. regula/documentreader/webclient/gen/models/liveness_params.py +77 -247
  128. regula/documentreader/webclient/gen/models/log_level.py +17 -88
  129. regula/documentreader/webclient/gen/models/measure_system.py +14 -82
  130. regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py +15 -84
  131. regula/documentreader/webclient/gen/models/mrz_detector_result.py +90 -0
  132. regula/documentreader/webclient/gen/models/mrz_format.py +18 -90
  133. regula/documentreader/webclient/gen/models/mrz_position.py +124 -0
  134. regula/documentreader/webclient/gen/models/mrz_position_item.py +83 -0
  135. regula/documentreader/webclient/gen/models/mrz_position_result.py +90 -0
  136. regula/documentreader/webclient/gen/models/mrz_rows_item.py +91 -0
  137. regula/documentreader/webclient/gen/models/mrz_test_quality.py +105 -0
  138. regula/documentreader/webclient/gen/models/mrz_test_quality_item.py +83 -0
  139. regula/documentreader/webclient/gen/models/mrz_test_quality_result.py +90 -0
  140. regula/documentreader/webclient/gen/models/ocr_security_text_item.py +110 -0
  141. regula/documentreader/webclient/gen/models/ocr_security_text_result.py +107 -449
  142. regula/documentreader/webclient/gen/models/one_candidate.py +94 -334
  143. regula/documentreader/webclient/gen/models/one_candidate_item.py +87 -0
  144. regula/documentreader/webclient/gen/models/original_symbol.py +74 -167
  145. regula/documentreader/webclient/gen/models/out_data.py +75 -133
  146. regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py +75 -213
  147. regula/documentreader/webclient/gen/models/p_array_field.py +103 -342
  148. regula/documentreader/webclient/gen/models/parsed_data.py +79 -0
  149. regula/documentreader/webclient/gen/models/parsing_error_codes.py +153 -0
  150. regula/documentreader/webclient/gen/models/parsing_notification_codes.py +237 -523
  151. regula/documentreader/webclient/gen/models/per_document_config.py +63 -131
  152. regula/documentreader/webclient/gen/models/photo_ident_item.py +110 -0
  153. regula/documentreader/webclient/gen/models/photo_ident_result.py +107 -423
  154. regula/documentreader/webclient/gen/models/point.py +63 -127
  155. regula/documentreader/webclient/gen/models/point_array.py +65 -97
  156. regula/documentreader/webclient/gen/models/points_container.py +75 -131
  157. regula/documentreader/webclient/gen/models/process_params.py +229 -1743
  158. regula/documentreader/webclient/gen/models/process_params_rfid.py +56 -97
  159. regula/documentreader/webclient/gen/models/process_request.py +113 -411
  160. regula/documentreader/webclient/gen/models/process_request_image.py +74 -159
  161. regula/documentreader/webclient/gen/models/process_response.py +96 -299
  162. regula/documentreader/webclient/gen/models/process_system_info.py +63 -131
  163. regula/documentreader/webclient/gen/models/processing_status.py +15 -84
  164. regula/documentreader/webclient/gen/models/raw_image_container_item.py +83 -0
  165. regula/documentreader/webclient/gen/models/raw_image_container_list.py +75 -131
  166. regula/documentreader/webclient/gen/models/rectangle_coordinates.py +71 -187
  167. regula/documentreader/webclient/gen/models/result.py +49 -133
  168. regula/documentreader/webclient/gen/models/result_item.py +195 -245
  169. regula/documentreader/webclient/gen/models/result_mrz_detector.py +93 -0
  170. regula/documentreader/webclient/gen/models/result_mrz_detector_item.py +83 -0
  171. regula/documentreader/webclient/gen/models/rfid_a_chip.py +33 -0
  172. regula/documentreader/webclient/gen/models/rfid_access_control_info.py +90 -0
  173. regula/documentreader/webclient/gen/models/rfid_access_control_procedure_type.py +35 -0
  174. regula/documentreader/webclient/gen/models/rfid_access_key.py +87 -0
  175. regula/documentreader/webclient/gen/models/rfid_application.py +101 -0
  176. regula/documentreader/webclient/gen/models/rfid_application_type.py +37 -0
  177. regula/documentreader/webclient/gen/models/rfid_attribute_data.py +81 -0
  178. regula/documentreader/webclient/gen/models/rfid_attribute_name.py +85 -0
  179. regula/documentreader/webclient/gen/models/rfid_authentication_procedure_type.py +31 -0
  180. regula/documentreader/webclient/gen/models/rfid_baud_rate.py +32 -0
  181. regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py +123 -0
  182. regula/documentreader/webclient/gen/models/rfid_certificate_ex.py +130 -0
  183. regula/documentreader/webclient/gen/models/rfid_certificate_origin.py +36 -0
  184. regula/documentreader/webclient/gen/models/rfid_certificate_type.py +35 -0
  185. regula/documentreader/webclient/gen/models/rfid_data_file.py +118 -0
  186. regula/documentreader/webclient/gen/models/rfid_data_file_type.py +119 -0
  187. regula/documentreader/webclient/gen/models/rfid_data_group_type_tag.py +82 -0
  188. regula/documentreader/webclient/gen/models/rfid_dg1.py +111 -0
  189. regula/documentreader/webclient/gen/models/rfid_distinguished_name.py +95 -0
  190. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field.py +120 -0
  191. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field_item.py +85 -0
  192. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info.py +89 -0
  193. regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info_item.py +83 -0
  194. regula/documentreader/webclient/gen/models/rfid_error_codes.py +141 -0
  195. regula/documentreader/webclient/gen/models/rfid_graphics_info_result.py +90 -0
  196. regula/documentreader/webclient/gen/models/rfid_location.py +15 -84
  197. regula/documentreader/webclient/gen/models/rfid_origin.py +71 -192
  198. regula/documentreader/webclient/gen/models/rfid_password_type.py +34 -0
  199. regula/documentreader/webclient/gen/models/rfid_pki_extension.py +81 -0
  200. regula/documentreader/webclient/gen/models/rfid_raw_data.py +81 -0
  201. regula/documentreader/webclient/gen/models/rfid_security_object.py +96 -0
  202. regula/documentreader/webclient/gen/models/rfid_session_data.py +150 -0
  203. regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py +133 -0
  204. regula/documentreader/webclient/gen/models/rfid_terminal.py +84 -0
  205. regula/documentreader/webclient/gen/models/rfid_terminal_type.py +32 -0
  206. regula/documentreader/webclient/gen/models/rfid_text_data_result.py +90 -0
  207. regula/documentreader/webclient/gen/models/rfid_type.py +30 -0
  208. regula/documentreader/webclient/gen/models/rfid_validity.py +88 -0
  209. regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py +35 -0
  210. regula/documentreader/webclient/gen/models/scenario.py +33 -117
  211. regula/documentreader/webclient/gen/models/security_feature_item.py +102 -0
  212. regula/documentreader/webclient/gen/models/security_feature_result.py +99 -345
  213. regula/documentreader/webclient/gen/models/security_feature_type.py +68 -185
  214. regula/documentreader/webclient/gen/models/security_object_certificates.py +83 -0
  215. regula/documentreader/webclient/gen/models/source.py +18 -88
  216. regula/documentreader/webclient/gen/models/source_validity.py +65 -129
  217. regula/documentreader/webclient/gen/models/status.py +86 -264
  218. regula/documentreader/webclient/gen/models/status_item.py +83 -0
  219. regula/documentreader/webclient/gen/models/status_result.py +68 -231
  220. regula/documentreader/webclient/gen/models/string_item.py +135 -0
  221. regula/documentreader/webclient/gen/models/string_recognition_result.py +81 -108
  222. regula/documentreader/webclient/gen/models/symbol.py +79 -0
  223. regula/documentreader/webclient/gen/models/symbol_candidate.py +72 -143
  224. regula/documentreader/webclient/gen/models/symbol_estimation_item.py +115 -0
  225. regula/documentreader/webclient/gen/models/symbol_recognition_result.py +87 -135
  226. regula/documentreader/webclient/gen/models/t_doc_binary_info.py +93 -0
  227. regula/documentreader/webclient/gen/models/t_doc_binary_info_item.py +83 -0
  228. regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info.py +87 -0
  229. regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info_item.py +83 -0
  230. regula/documentreader/webclient/gen/models/text.py +92 -214
  231. regula/documentreader/webclient/gen/models/text_available_source.py +67 -157
  232. regula/documentreader/webclient/gen/models/text_data_result.py +68 -230
  233. regula/documentreader/webclient/gen/models/text_field.py +115 -357
  234. regula/documentreader/webclient/gen/models/text_field_type.py +661 -1368
  235. regula/documentreader/webclient/gen/models/text_field_value.py +105 -307
  236. regula/documentreader/webclient/gen/models/text_item.py +83 -0
  237. regula/documentreader/webclient/gen/models/text_post_processing.py +16 -86
  238. regula/documentreader/webclient/gen/models/text_result.py +68 -231
  239. regula/documentreader/webclient/gen/models/transaction_image.py +61 -97
  240. regula/documentreader/webclient/gen/models/transaction_info.py +84 -302
  241. regula/documentreader/webclient/gen/models/transaction_process_get_response.py +79 -183
  242. regula/documentreader/webclient/gen/models/transaction_process_request.py +108 -299
  243. regula/documentreader/webclient/gen/models/transaction_process_response.py +107 -0
  244. regula/documentreader/webclient/gen/models/transaction_process_response_item.py +79 -0
  245. regula/documentreader/webclient/gen/models/transaction_process_result.py +93 -0
  246. regula/documentreader/webclient/gen/models/trf_ft_bytes.py +90 -0
  247. regula/documentreader/webclient/gen/models/trf_ft_string.py +85 -0
  248. regula/documentreader/webclient/gen/models/verification_result.py +17 -88
  249. regula/documentreader/webclient/gen/models/verified_field_map.py +85 -273
  250. regula/documentreader/webclient/gen/models/visibility.py +17 -88
  251. regula/documentreader/webclient/gen/models/visual_extended_field_item.py +112 -0
  252. regula/documentreader/webclient/gen/py.typed +0 -0
  253. regula/documentreader/webclient/gen/rest.py +132 -174
  254. {regula_documentreader_webclient-8.1.355rc0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/METADATA +17 -6
  255. regula_documentreader_webclient-8.1.357.dev0.dist-info/RECORD +263 -0
  256. {regula_documentreader_webclient-8.1.355rc0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/WHEEL +1 -1
  257. regula/documentreader/webclient/ext/models/raw_authenticity_result_item.py +0 -27
  258. regula/documentreader/webclient/ext/models/raw_result_item.py +0 -26
  259. regula/documentreader/webclient/gen/api/default_api.py +0 -160
  260. regula/documentreader/webclient/gen/models/authenticity_result_all_of.py +0 -120
  261. regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +0 -122
  262. regula/documentreader/webclient/gen/models/chosen_document_type_result_all_of.py +0 -145
  263. regula/documentreader/webclient/gen/models/device_info2.py +0 -275
  264. regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py +0 -119
  265. regula/documentreader/webclient/gen/models/document_image_result_all_of.py +0 -120
  266. regula/documentreader/webclient/gen/models/document_position_result_all_of.py +0 -119
  267. regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py +0 -119
  268. regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py +0 -122
  269. regula/documentreader/webclient/gen/models/fiber_result_all_of.py +0 -343
  270. regula/documentreader/webclient/gen/models/graphics_result_all_of.py +0 -119
  271. regula/documentreader/webclient/gen/models/ident_result_all_of.py +0 -249
  272. regula/documentreader/webclient/gen/models/image_quality_result_all_of.py +0 -120
  273. regula/documentreader/webclient/gen/models/images_result_all_of.py +0 -120
  274. regula/documentreader/webclient/gen/models/in_data_rfid_session.py +0 -121
  275. regula/documentreader/webclient/gen/models/inline_response200.py +0 -197
  276. regula/documentreader/webclient/gen/models/inline_response2001.py +0 -333
  277. regula/documentreader/webclient/gen/models/lexical_analysis_result_all_of.py +0 -119
  278. regula/documentreader/webclient/gen/models/license_result_all_of.py +0 -122
  279. regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py +0 -353
  280. regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py +0 -327
  281. regula/documentreader/webclient/gen/models/security_feature_result_all_of.py +0 -249
  282. regula/documentreader/webclient/gen/models/status_result_all_of.py +0 -120
  283. regula/documentreader/webclient/gen/models/text_data_result_all_of.py +0 -119
  284. regula/documentreader/webclient/gen/models/text_result_all_of.py +0 -120
  285. regula/documentreader/webclient/gen/models/tfdsid_list.py +0 -372
  286. regula/documentreader/webclient/gen/models/transaction_images_field_value.py +0 -227
  287. regula/documentreader/webclient/gen/models/transaction_scenario_request.py +0 -119
  288. regula_documentreader_webclient-8.1.355rc0.dist-info/RECORD +0 -192
  289. {regula_documentreader_webclient-8.1.355rc0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,83 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Generated by: https://openapi-generator.tech
5
+ """
6
+
7
+ from __future__ import annotations
8
+ import pprint
9
+ import re # noqa: F401
10
+ import json
11
+
12
+ from pydantic import BaseModel, ConfigDict, Field
13
+ from typing import Any, ClassVar, Dict, List, Optional
14
+ from regula.documentreader.webclient.gen.models.document_types_candidates_list import DocumentTypesCandidatesList
15
+ from typing import Optional, Set
16
+ from typing_extensions import Self
17
+
18
+ class CandidatesListItem(BaseModel):
19
+ """
20
+ CandidatesListItem
21
+ """ # noqa: E501
22
+ candidates_list: Optional[DocumentTypesCandidatesList] = Field(default=None, alias="CandidatesList")
23
+ __properties: ClassVar[List[str]] = ["CandidatesList"]
24
+
25
+ model_config = ConfigDict(
26
+ populate_by_name=True,
27
+ validate_assignment=True,
28
+ protected_namespaces=(),
29
+ )
30
+
31
+
32
+ def to_str(self) -> str:
33
+ """Returns the string representation of the model using alias"""
34
+ return pprint.pformat(self.model_dump(by_alias=True))
35
+
36
+ def to_json(self) -> str:
37
+ """Returns the JSON representation of the model using alias"""
38
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
39
+ return json.dumps(self.to_dict())
40
+
41
+ @classmethod
42
+ def from_json(cls, json_str: str) -> Optional[Self]:
43
+ """Create an instance of CandidatesListItem from a JSON string"""
44
+ return cls.from_dict(json.loads(json_str))
45
+
46
+ def to_dict(self) -> Dict[str, Any]:
47
+ """Return the dictionary representation of the model using alias.
48
+
49
+ This has the following differences from calling pydantic's
50
+ `self.model_dump(by_alias=True)`:
51
+
52
+ * `None` is only added to the output dict for nullable fields that
53
+ were set at model initialization. Other fields with value `None`
54
+ are ignored.
55
+ """
56
+ excluded_fields: Set[str] = set([
57
+ ])
58
+
59
+ _dict = self.model_dump(
60
+ by_alias=True,
61
+ exclude=excluded_fields,
62
+ exclude_none=True,
63
+ )
64
+ # override the default output from pydantic by calling `to_dict()` of candidates_list
65
+ if self.candidates_list:
66
+ _dict['CandidatesList'] = self.candidates_list.to_dict()
67
+ return _dict
68
+
69
+ @classmethod
70
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
71
+ """Create an instance of CandidatesListItem from a dict"""
72
+ if obj is None:
73
+ return None
74
+
75
+ if not isinstance(obj, dict):
76
+ return cls.model_validate(obj)
77
+
78
+ _obj = cls.model_validate({
79
+ "CandidatesList": DocumentTypesCandidatesList.from_dict(obj["CandidatesList"]) if obj.get("CandidatesList") is not None else None
80
+ })
81
+ return _obj
82
+
83
+
@@ -0,0 +1,81 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Generated by: https://openapi-generator.tech
5
+ """
6
+
7
+ from __future__ import annotations
8
+ import pprint
9
+ import re # noqa: F401
10
+ import json
11
+
12
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
13
+ from typing import Any, ClassVar, Dict, List
14
+ from typing import Optional, Set
15
+ from typing_extensions import Self
16
+
17
+ class CertificateData(BaseModel):
18
+ """
19
+ CertificateData
20
+ """ # noqa: E501
21
+ data: StrictStr = Field(alias="Data")
22
+ length: StrictStr = Field(alias="Length")
23
+ __properties: ClassVar[List[str]] = ["Data", "Length"]
24
+
25
+ model_config = ConfigDict(
26
+ populate_by_name=True,
27
+ validate_assignment=True,
28
+ protected_namespaces=(),
29
+ )
30
+
31
+
32
+ def to_str(self) -> str:
33
+ """Returns the string representation of the model using alias"""
34
+ return pprint.pformat(self.model_dump(by_alias=True))
35
+
36
+ def to_json(self) -> str:
37
+ """Returns the JSON representation of the model using alias"""
38
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
39
+ return json.dumps(self.to_dict())
40
+
41
+ @classmethod
42
+ def from_json(cls, json_str: str) -> Optional[Self]:
43
+ """Create an instance of CertificateData from a JSON string"""
44
+ return cls.from_dict(json.loads(json_str))
45
+
46
+ def to_dict(self) -> Dict[str, Any]:
47
+ """Return the dictionary representation of the model using alias.
48
+
49
+ This has the following differences from calling pydantic's
50
+ `self.model_dump(by_alias=True)`:
51
+
52
+ * `None` is only added to the output dict for nullable fields that
53
+ were set at model initialization. Other fields with value `None`
54
+ are ignored.
55
+ """
56
+ excluded_fields: Set[str] = set([
57
+ ])
58
+
59
+ _dict = self.model_dump(
60
+ by_alias=True,
61
+ exclude=excluded_fields,
62
+ exclude_none=True,
63
+ )
64
+ return _dict
65
+
66
+ @classmethod
67
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
68
+ """Create an instance of CertificateData from a dict"""
69
+ if obj is None:
70
+ return None
71
+
72
+ if not isinstance(obj, dict):
73
+ return cls.model_validate(obj)
74
+
75
+ _obj = cls.model_validate({
76
+ "Data": obj.get("Data"),
77
+ "Length": obj.get("Length")
78
+ })
79
+ return _obj
80
+
81
+
@@ -4,340 +4,149 @@
4
4
  Generated by: https://openapi-generator.tech
5
5
  """
6
6
 
7
- import pprint
8
- import re # noqa: F401
7
+ from __future__ import annotations
8
+ import json
9
+ from enum import Enum
10
+ from typing_extensions import Self
9
11
 
10
- import six
11
12
 
12
- from regula.documentreader.webclient.gen.configuration import Configuration
13
- # this line was added to enable pycharm type hinting
14
- from regula.documentreader.webclient.gen.models import *
15
-
16
-
17
- """
18
- Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/
19
- """
20
- class CheckDiagnose(object):
21
- """NOTE: This class is auto generated by OpenAPI Generator.
22
- Ref: https://openapi-generator.tech
23
-
24
- Do not edit the class manually.
13
+ class CheckDiagnose(int, Enum):
14
+ """
15
+ Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/
25
16
  """
26
-
27
- UNKNOWN = int("0")
28
-
29
- PASS = int("1")
30
-
31
- INVALID_INPUT_DATA = int("2")
32
-
33
- INTERNAL_ERROR = int("3")
34
-
35
- EXCEPTION_IN_MODULE = int("4")
36
-
37
- UNCERTAIN_VERIFICATION = int("5")
38
-
39
- NECESSARY_IMAGE_NOT_FOUND = int("7")
40
-
41
- PHOTO_SIDES_NOT_FOUND = int("8")
42
-
43
- INVALID_CHECKSUM = int("10")
44
-
45
- SYNTAX_ERROR = int("11")
46
-
47
- LOGIC_ERROR = int("12")
48
-
49
- SOURCES_COMPARISON_ERROR = int("13")
50
-
51
- FIELDS_COMPARISON_LOGIC_ERROR = int("14")
52
-
53
- INVALID_FIELD_FORMAT = int("15")
54
-
55
- TRUE_LUMINESCENCE_ERROR = int("20")
56
-
57
- FALSE_LUMINESCENCE_ERROR = int("21")
58
-
59
- FIXED_PATTERN_ERROR = int("22")
60
-
61
- LOW_CONTRAST_IN_IR_LIGHT = int("23")
62
-
63
- INCORRECT_BACKGROUND_LIGHT = int("24")
64
-
65
- BACKGROUND_COMPARISON_ERROR = int("25")
66
-
67
- INCORRECT_TEXT_COLOR = int("26")
68
-
69
- PHOTO_FALSE_LUMINESCENCE = int("27")
70
-
71
- TOO_MUCH_SHIFT = int("28")
72
-
73
- CONTACT_CHIP_TYPE_MISMATCH = int("29")
74
-
75
- FIBERS_NOT_FOUND = int("30")
76
-
77
- TOO_MANY_OBJECTS = int("31")
78
-
79
- SPECKS_IN_UV = int("33")
80
-
81
- TOO_LOW_RESOLUTION = int("34")
82
-
83
- INVISIBLE_ELEMENT_PRESENT = int("40")
84
-
85
- VISIBLE_ELEMENT_ABSENT = int("41")
86
-
87
- ELEMENT_SHOULD_BE_COLORED = int("42")
88
-
89
- ELEMENT_SHOULD_BE_GRAYSCALE = int("43")
90
-
91
- PHOTO_WHITE_IR_DONT_MATCH = int("44")
92
-
93
- UV_DULL_PAPER_MRZ = int("50")
94
-
95
- FALSE_LUMINESCENCE_IN_MRZ = int("51")
96
-
97
- UV_DULL_PAPER_PHOTO = int("52")
98
-
99
- UV_DULL_PAPER_BLANK = int("53")
100
-
101
- UV_DULL_PAPER_ERROR = int("54")
102
-
103
- FALSE_LUMINESCENCE_IN_BLANK = int("55")
104
-
105
- BAD_AREA_IN_AXIAL = int("60")
106
-
107
- FALSE_IPI_PARAMETERS = int("65")
108
-
109
- ENCRYPTED_IPI_NOT_FOUND = int("66")
110
-
111
- ENCRYPTED_IPI_DATA_DONT_MATCH = int("67")
112
-
113
- FIELD_POS_CORRECTOR_HIGHLIGHT_IR = int("80")
114
-
115
- FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = int("81")
116
-
117
- FIELD_POS_CORRECTOR_PHOTO_REPLACED = int("82")
118
-
119
- FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR = int("83")
120
-
121
- FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = int("84")
122
-
123
- FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = int("85")
124
-
125
- FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = int("86")
126
-
127
- OVI_IR_INVISIBLE = int("90")
128
-
129
- OVI_INSUFFICIENT_AREA = int("91")
130
-
131
- OVI_COLOR_INVARIABLE = int("92")
132
-
133
- OVI_BAD_COLOR_FRONT = int("93")
134
-
135
- OVI_BAD_COLOR_SIDE = int("94")
136
-
137
- OVI_WIDE_COLOR_SPREAD = int("95")
138
-
139
- OVI_BAD_COLOR_PERCENT = int("96")
140
-
141
- HOLOGRAM_ELEMENT_ABSENT = int("100")
142
-
143
- HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = int("101")
144
-
145
- HOLOGRAM_ELEMENT_PRESENT = int("102")
146
-
147
- HOLOGRAM_FRAMES_IS_ABSENT = int("103")
148
-
149
- HOLOGRAM_HOLO_FIELD_IS_ABSENT = int("104")
150
-
151
- PHOTO_PATTERN_INTERRUPTED = int("110")
152
-
153
- PHOTO_PATTERN_SHIFTED = int("111")
154
-
155
- PHOTO_PATTERN_DIFFERENT_COLORS = int("112")
156
-
157
- PHOTO_PATTERN_IR_VISIBLE = int("113")
158
-
159
- PHOTO_PATTERN_NOT_INTERSECT = int("114")
160
-
161
- PHOTO_SIZE_IS_WRONG = int("115")
162
-
163
- PHOTO_PATTERN_INVALID_COLOR = int("116")
164
-
165
- PHOTO_PATTERN_SHIFTED_VERT = int("117")
166
-
167
- PHOTO_PATTERN_PATTERN_NOT_FOUND = int("118")
168
-
169
- PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = int("119")
170
-
171
- PHOTO_IS_NOT_RECTANGLE = int("120")
172
-
173
- PHOTO_CORNERS_IS_WRONG = int("121")
174
-
175
- DOCUMENT_IS_CANCELLING = int("122")
176
-
177
- TEXT_COLOR_SHOULD_BE_BLUE = int("130")
178
-
179
- TEXT_COLOR_SHOULD_BE_GREEN = int("131")
180
-
181
- TEXT_COLOR_SHOULD_BE_RED = int("132")
182
-
183
- TEXT_SHOULD_BE_BLACK = int("133")
184
-
185
- BARCODE_WAS_READ_WITH_ERRORS = int("140")
186
-
187
- BARCODE_DATA_FORMAT_ERROR = int("141")
188
-
189
- BARCODE_SIZE_PARAMS_ERROR = int("142")
190
-
191
- NOT_ALL_BARCODES_READ = int("143")
192
-
193
- GLARES_IN_BARCODE_AREA = int("144")
194
-
195
- NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK = int("145")
196
-
197
- PORTRAIT_COMPARISON_PORTRAITS_DIFFER = int("150")
198
-
199
- PORTRAIT_COMPARISON_NO_SERVICE_REPLY = int("151")
200
-
201
- PORTRAIT_COMPARISON_SERVICE_ERROR = int("152")
202
-
203
- PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = int("153")
204
-
205
- PORTRAIT_COMPARISON_NO_LIVE_PHOTO = int("154")
206
-
207
- PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = int("155")
208
-
209
- PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = int("156")
210
-
211
- MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = int("160")
212
-
213
- MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = int("161")
214
-
215
- FINGERPRINTS_COMPARISON_MISMATCH = int("170")
216
-
217
- HOLO_PHOTO_FACE_NOT_DETECTED = int("180")
218
-
219
- HOLO_PHOTO_FACE_COMPARISON_FAILED = int("181")
220
-
221
- HOLO_PHOTO_GLARE_IN_CENTER_ABSENT = int("182")
222
-
223
- HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR = int("183")
224
-
225
- HOLO_PHOTO_ALGORITHMS_STEPS_ERROR = int("184")
226
-
227
- HOLO_PHOTO_HOLO_AREAS_NOT_LOADED = int("185")
228
-
229
- HOLO_PHOTO_FINISHED_BY_TIMEOUT = int("186")
230
-
231
- HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME = int("187")
232
-
233
- LIVENESS_DEPTH_CHECK_FAILED = int("190")
234
-
235
- MRZ_QUALITY_WRONG_SYMBOL_POSITION = int("200")
236
-
237
- MRZ_QUALITY_WRONG_BACKGROUND = int("201")
238
-
239
- MRZ_QUALITY_WRONG_MRZ_WIDTH = int("202")
240
-
241
- MRZ_QUALITY_WRONG_MRZ_HEIGHT = int("203")
242
-
243
- MRZ_QUALITY_WRONG_LINE_POSITION = int("204")
244
-
245
- MRZ_QUALITY_WRONG_FONT_TYPE = int("205")
246
-
247
- OCR_QUALITY_TEXT_POSITION = int("220")
248
-
249
- OCR_QUALITY_INVALID_FONT = int("221")
250
-
251
- OCR_QUALITY_INVALID_BACKGROUND = int("222")
252
-
253
- LASINK_INVALID_LINES_FREQUENCY = int("230")
254
-
255
- DOC_LIVENESS_DOCUMENT_NOT_LIVE = int("238")
256
-
257
- DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = int("239")
258
-
259
- DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = int("240")
260
-
261
- DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = int("241")
262
-
263
- CHD_ICAO_IDB_BASE32_ERROR = int("243")
264
-
265
- CHD_ICAO_IDB_ZIPPED_ERROR = int("244")
266
-
267
- CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY = int("245")
268
-
269
- CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = int("246")
270
-
271
- CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = int("247")
272
-
273
- CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = int("248")
274
-
275
- CHD_INCORRECT_OBJECT_COLOR = int("250")
276
-
277
- allowable_values = [UNKNOWN, PASS, INVALID_INPUT_DATA, INTERNAL_ERROR, EXCEPTION_IN_MODULE, UNCERTAIN_VERIFICATION, NECESSARY_IMAGE_NOT_FOUND, PHOTO_SIDES_NOT_FOUND, INVALID_CHECKSUM, SYNTAX_ERROR, LOGIC_ERROR, SOURCES_COMPARISON_ERROR, FIELDS_COMPARISON_LOGIC_ERROR, INVALID_FIELD_FORMAT, TRUE_LUMINESCENCE_ERROR, FALSE_LUMINESCENCE_ERROR, FIXED_PATTERN_ERROR, LOW_CONTRAST_IN_IR_LIGHT, INCORRECT_BACKGROUND_LIGHT, BACKGROUND_COMPARISON_ERROR, INCORRECT_TEXT_COLOR, PHOTO_FALSE_LUMINESCENCE, TOO_MUCH_SHIFT, CONTACT_CHIP_TYPE_MISMATCH, FIBERS_NOT_FOUND, TOO_MANY_OBJECTS, SPECKS_IN_UV, TOO_LOW_RESOLUTION, INVISIBLE_ELEMENT_PRESENT, VISIBLE_ELEMENT_ABSENT, ELEMENT_SHOULD_BE_COLORED, ELEMENT_SHOULD_BE_GRAYSCALE, PHOTO_WHITE_IR_DONT_MATCH, UV_DULL_PAPER_MRZ, FALSE_LUMINESCENCE_IN_MRZ, UV_DULL_PAPER_PHOTO, UV_DULL_PAPER_BLANK, UV_DULL_PAPER_ERROR, FALSE_LUMINESCENCE_IN_BLANK, BAD_AREA_IN_AXIAL, FALSE_IPI_PARAMETERS, ENCRYPTED_IPI_NOT_FOUND, ENCRYPTED_IPI_DATA_DONT_MATCH, FIELD_POS_CORRECTOR_HIGHLIGHT_IR, FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA, FIELD_POS_CORRECTOR_PHOTO_REPLACED, FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR, FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION, OVI_IR_INVISIBLE, OVI_INSUFFICIENT_AREA, OVI_COLOR_INVARIABLE, OVI_BAD_COLOR_FRONT, OVI_BAD_COLOR_SIDE, OVI_WIDE_COLOR_SPREAD, OVI_BAD_COLOR_PERCENT, HOLOGRAM_ELEMENT_ABSENT, HOLOGRAM_SIDE_TOP_IMAGES_ABSENT, HOLOGRAM_ELEMENT_PRESENT, HOLOGRAM_FRAMES_IS_ABSENT, HOLOGRAM_HOLO_FIELD_IS_ABSENT, PHOTO_PATTERN_INTERRUPTED, PHOTO_PATTERN_SHIFTED, PHOTO_PATTERN_DIFFERENT_COLORS, PHOTO_PATTERN_IR_VISIBLE, PHOTO_PATTERN_NOT_INTERSECT, PHOTO_SIZE_IS_WRONG, PHOTO_PATTERN_INVALID_COLOR, PHOTO_PATTERN_SHIFTED_VERT, PHOTO_PATTERN_PATTERN_NOT_FOUND, PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS, PHOTO_IS_NOT_RECTANGLE, PHOTO_CORNERS_IS_WRONG, DOCUMENT_IS_CANCELLING, TEXT_COLOR_SHOULD_BE_BLUE, TEXT_COLOR_SHOULD_BE_GREEN, TEXT_COLOR_SHOULD_BE_RED, TEXT_SHOULD_BE_BLACK, BARCODE_WAS_READ_WITH_ERRORS, BARCODE_DATA_FORMAT_ERROR, BARCODE_SIZE_PARAMS_ERROR, NOT_ALL_BARCODES_READ, GLARES_IN_BARCODE_AREA, NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK, PORTRAIT_COMPARISON_PORTRAITS_DIFFER, PORTRAIT_COMPARISON_NO_SERVICE_REPLY, PORTRAIT_COMPARISON_SERVICE_ERROR, PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES, PORTRAIT_COMPARISON_NO_LIVE_PHOTO, PORTRAIT_COMPARISON_NO_SERVICE_LICENSE, PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED, MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS, MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE, FINGERPRINTS_COMPARISON_MISMATCH, HOLO_PHOTO_FACE_NOT_DETECTED, HOLO_PHOTO_FACE_COMPARISON_FAILED, HOLO_PHOTO_GLARE_IN_CENTER_ABSENT, HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR, HOLO_PHOTO_ALGORITHMS_STEPS_ERROR, HOLO_PHOTO_HOLO_AREAS_NOT_LOADED, HOLO_PHOTO_FINISHED_BY_TIMEOUT, HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME, LIVENESS_DEPTH_CHECK_FAILED, MRZ_QUALITY_WRONG_SYMBOL_POSITION, MRZ_QUALITY_WRONG_BACKGROUND, MRZ_QUALITY_WRONG_MRZ_WIDTH, MRZ_QUALITY_WRONG_MRZ_HEIGHT, MRZ_QUALITY_WRONG_LINE_POSITION, MRZ_QUALITY_WRONG_FONT_TYPE, OCR_QUALITY_TEXT_POSITION, OCR_QUALITY_INVALID_FONT, OCR_QUALITY_INVALID_BACKGROUND, LASINK_INVALID_LINES_FREQUENCY, DOC_LIVENESS_DOCUMENT_NOT_LIVE, DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED, DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED, DOC_LIVENESS_INVALID_BARCODE_BACKGROUND, CHD_ICAO_IDB_BASE32_ERROR, CHD_ICAO_IDB_ZIPPED_ERROR, CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY, CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT, CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT, CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT, CHD_INCORRECT_OBJECT_COLOR] # noqa: E501
278
17
 
279
18
  """
280
- Attributes:
281
- openapi_types (dict): The key is attribute name
282
- and the value is attribute type.
283
- attribute_map (dict): The key is attribute name
284
- and the value is json key in definition.
19
+ allowed enum values
285
20
  """
286
- openapi_types = {
287
- }
288
-
289
- attribute_map = {
290
- }
291
-
292
- def __init__(self, local_vars_configuration=None): # noqa: E501
293
- """CheckDiagnose - a model defined in OpenAPI""" # noqa: E501
294
- if local_vars_configuration is None:
295
- local_vars_configuration = Configuration()
296
- self.local_vars_configuration = local_vars_configuration
297
- self.discriminator = None
298
-
299
- def to_dict(self):
300
- """Returns the model properties as a dict"""
301
- result = {}
302
-
303
- for attr, _ in six.iteritems(self.openapi_types):
304
- value = getattr(self, attr)
305
- if isinstance(value, list):
306
- result[attr] = list(map(
307
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
308
- value
309
- ))
310
- elif hasattr(value, "to_dict"):
311
- result[attr] = value.to_dict()
312
- elif isinstance(value, dict):
313
- result[attr] = dict(map(
314
- lambda item: (item[0], item[1].to_dict())
315
- if hasattr(item[1], "to_dict") else item,
316
- value.items()
317
- ))
318
- else:
319
- result[attr] = value
320
-
321
- return result
322
-
323
- def to_str(self):
324
- """Returns the string representation of the model"""
325
- return pprint.pformat(self.to_dict())
326
-
327
- def __repr__(self):
328
- """For `print` and `pprint`"""
329
- return self.to_str()
330
-
331
- def __eq__(self, other):
332
- """Returns true if both objects are equal"""
333
- if not isinstance(other, CheckDiagnose):
334
- return False
335
-
336
- return self.to_dict() == other.to_dict()
21
+ UNKNOWN = 0
22
+ PASS = 1
23
+ INVALID_INPUT_DATA = 2
24
+ INTERNAL_ERROR = 3
25
+ EXCEPTION_IN_MODULE = 4
26
+ UNCERTAIN_VERIFICATION = 5
27
+ NECESSARY_IMAGE_NOT_FOUND = 7
28
+ PHOTO_SIDES_NOT_FOUND = 8
29
+ INVALID_CHECKSUM = 10
30
+ SYNTAX_ERROR = 11
31
+ LOGIC_ERROR = 12
32
+ SOURCES_COMPARISON_ERROR = 13
33
+ FIELDS_COMPARISON_LOGIC_ERROR = 14
34
+ INVALID_FIELD_FORMAT = 15
35
+ TRUE_LUMINESCENCE_ERROR = 20
36
+ FALSE_LUMINESCENCE_ERROR = 21
37
+ FIXED_PATTERN_ERROR = 22
38
+ LOW_CONTRAST_IN_IR_LIGHT = 23
39
+ INCORRECT_BACKGROUND_LIGHT = 24
40
+ BACKGROUND_COMPARISON_ERROR = 25
41
+ INCORRECT_TEXT_COLOR = 26
42
+ PHOTO_FALSE_LUMINESCENCE = 27
43
+ TOO_MUCH_SHIFT = 28
44
+ CONTACT_CHIP_TYPE_MISMATCH = 29
45
+ FIBERS_NOT_FOUND = 30
46
+ TOO_MANY_OBJECTS = 31
47
+ SPECKS_IN_UV = 33
48
+ TOO_LOW_RESOLUTION = 34
49
+ INVISIBLE_ELEMENT_PRESENT = 40
50
+ VISIBLE_ELEMENT_ABSENT = 41
51
+ ELEMENT_SHOULD_BE_COLORED = 42
52
+ ELEMENT_SHOULD_BE_GRAYSCALE = 43
53
+ PHOTO_WHITE_IR_DONT_MATCH = 44
54
+ UV_DULL_PAPER_MRZ = 50
55
+ FALSE_LUMINESCENCE_IN_MRZ = 51
56
+ UV_DULL_PAPER_PHOTO = 52
57
+ UV_DULL_PAPER_BLANK = 53
58
+ UV_DULL_PAPER_ERROR = 54
59
+ FALSE_LUMINESCENCE_IN_BLANK = 55
60
+ BAD_AREA_IN_AXIAL = 60
61
+ FALSE_IPI_PARAMETERS = 65
62
+ ENCRYPTED_IPI_NOT_FOUND = 66
63
+ ENCRYPTED_IPI_DATA_DONT_MATCH = 67
64
+ FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80
65
+ FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = 81
66
+ FIELD_POS_CORRECTOR_PHOTO_REPLACED = 82
67
+ FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR = 83
68
+ FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = 84
69
+ FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85
70
+ FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = 86
71
+ OVI_IR_INVISIBLE = 90
72
+ OVI_INSUFFICIENT_AREA = 91
73
+ OVI_COLOR_INVARIABLE = 92
74
+ OVI_BAD_COLOR_FRONT = 93
75
+ OVI_BAD_COLOR_SIDE = 94
76
+ OVI_WIDE_COLOR_SPREAD = 95
77
+ OVI_BAD_COLOR_PERCENT = 96
78
+ HOLOGRAM_ELEMENT_ABSENT = 100
79
+ HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101
80
+ HOLOGRAM_ELEMENT_PRESENT = 102
81
+ HOLOGRAM_FRAMES_IS_ABSENT = 103
82
+ HOLOGRAM_HOLO_FIELD_IS_ABSENT = 104
83
+ PHOTO_PATTERN_INTERRUPTED = 110
84
+ PHOTO_PATTERN_SHIFTED = 111
85
+ PHOTO_PATTERN_DIFFERENT_COLORS = 112
86
+ PHOTO_PATTERN_IR_VISIBLE = 113
87
+ PHOTO_PATTERN_NOT_INTERSECT = 114
88
+ PHOTO_SIZE_IS_WRONG = 115
89
+ PHOTO_PATTERN_INVALID_COLOR = 116
90
+ PHOTO_PATTERN_SHIFTED_VERT = 117
91
+ PHOTO_PATTERN_PATTERN_NOT_FOUND = 118
92
+ PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119
93
+ PHOTO_IS_NOT_RECTANGLE = 120
94
+ PHOTO_CORNERS_IS_WRONG = 121
95
+ DOCUMENT_IS_CANCELLING = 122
96
+ TEXT_COLOR_SHOULD_BE_BLUE = 130
97
+ TEXT_COLOR_SHOULD_BE_GREEN = 131
98
+ TEXT_COLOR_SHOULD_BE_RED = 132
99
+ TEXT_SHOULD_BE_BLACK = 133
100
+ BARCODE_WAS_READ_WITH_ERRORS = 140
101
+ BARCODE_DATA_FORMAT_ERROR = 141
102
+ BARCODE_SIZE_PARAMS_ERROR = 142
103
+ NOT_ALL_BARCODES_READ = 143
104
+ GLARES_IN_BARCODE_AREA = 144
105
+ NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK = 145
106
+ PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150
107
+ PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151
108
+ PORTRAIT_COMPARISON_SERVICE_ERROR = 152
109
+ PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153
110
+ PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154
111
+ PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155
112
+ PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = 156
113
+ MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = 160
114
+ MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = 161
115
+ FINGERPRINTS_COMPARISON_MISMATCH = 170
116
+ HOLO_PHOTO_FACE_NOT_DETECTED = 180
117
+ HOLO_PHOTO_FACE_COMPARISON_FAILED = 181
118
+ HOLO_PHOTO_GLARE_IN_CENTER_ABSENT = 182
119
+ HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR = 183
120
+ HOLO_PHOTO_ALGORITHMS_STEPS_ERROR = 184
121
+ HOLO_PHOTO_HOLO_AREAS_NOT_LOADED = 185
122
+ HOLO_PHOTO_FINISHED_BY_TIMEOUT = 186
123
+ HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME = 187
124
+ LIVENESS_DEPTH_CHECK_FAILED = 190
125
+ MRZ_QUALITY_WRONG_SYMBOL_POSITION = 200
126
+ MRZ_QUALITY_WRONG_BACKGROUND = 201
127
+ MRZ_QUALITY_WRONG_MRZ_WIDTH = 202
128
+ MRZ_QUALITY_WRONG_MRZ_HEIGHT = 203
129
+ MRZ_QUALITY_WRONG_LINE_POSITION = 204
130
+ MRZ_QUALITY_WRONG_FONT_TYPE = 205
131
+ OCR_QUALITY_TEXT_POSITION = 220
132
+ OCR_QUALITY_INVALID_FONT = 221
133
+ OCR_QUALITY_INVALID_BACKGROUND = 222
134
+ LASINK_INVALID_LINES_FREQUENCY = 230
135
+ DOC_LIVENESS_DOCUMENT_NOT_LIVE = 238
136
+ DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = 239
137
+ DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240
138
+ DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241
139
+ CHD_ICAO_IDB_BASE32_ERROR = 243
140
+ CHD_ICAO_IDB_ZIPPED_ERROR = 244
141
+ CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY = 245
142
+ CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246
143
+ CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247
144
+ CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248
145
+ CHD_INCORRECT_OBJECT_COLOR = 250
146
+
147
+ @classmethod
148
+ def from_json(cls, json_str: str) -> Self:
149
+ """Create an instance of CheckDiagnose from a JSON string"""
150
+ return cls(json.loads(json_str))
337
151
 
338
- def __ne__(self, other):
339
- """Returns true if both objects are not equal"""
340
- if not isinstance(other, CheckDiagnose):
341
- return True
342
152
 
343
- return self.to_dict() != other.to_dict()