regula-documentreader-webclient 8.1.354.dev0__py3-none-any.whl → 8.1.355rc0__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/__init__.py +1 -0
- regula/documentreader/webclient/ext/api/document_reader_api.py +2 -2
- regula/documentreader/webclient/ext/models/__init__.py +2 -0
- regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py +19 -64
- regula/documentreader/webclient/ext/models/authenticity/fiber.py +7 -7
- regula/documentreader/webclient/ext/models/authenticity/ident.py +9 -10
- regula/documentreader/webclient/ext/models/authenticity/image_ident.py +7 -8
- regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py +7 -7
- regula/documentreader/webclient/ext/models/authenticity/security_feature.py +8 -10
- regula/documentreader/webclient/ext/models/images.py +4 -4
- regula/documentreader/webclient/ext/models/raw_authenticity_result_item.py +27 -0
- regula/documentreader/webclient/ext/models/raw_result_item.py +26 -0
- regula/documentreader/webclient/ext/models/recognition_request.py +24 -23
- regula/documentreader/webclient/ext/models/recognition_response.py +8 -6
- regula/documentreader/webclient/ext/models/text.py +12 -7
- regula/documentreader/webclient/gen/__init__.py +26 -100
- regula/documentreader/webclient/gen/api/__init__.py +2 -1
- regula/documentreader/webclient/gen/api/default_api.py +160 -0
- regula/documentreader/webclient/gen/api/healthcheck_api.py +298 -687
- regula/documentreader/webclient/gen/api/process_api.py +125 -270
- regula/documentreader/webclient/gen/api/transaction_api.py +673 -1472
- regula/documentreader/webclient/gen/api_client.py +462 -583
- regula/documentreader/webclient/gen/configuration.py +99 -222
- regula/documentreader/webclient/gen/exceptions.py +30 -81
- regula/documentreader/webclient/gen/models/__init__.py +25 -98
- regula/documentreader/webclient/gen/models/area_array.py +131 -85
- regula/documentreader/webclient/gen/models/area_container.py +157 -85
- regula/documentreader/webclient/gen/models/auth_params.py +526 -100
- regula/documentreader/webclient/gen/models/authenticity_check_list.py +136 -75
- regula/documentreader/webclient/gen/models/authenticity_check_result.py +160 -81
- regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +217 -154
- regula/documentreader/webclient/gen/models/authenticity_result.py +231 -68
- regula/documentreader/webclient/gen/models/authenticity_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/authenticity_result_type.py +123 -35
- regula/documentreader/webclient/gen/models/bc_pdf417_info.py +235 -75
- regula/documentreader/webclient/gen/models/bc_roidetect.py +183 -71
- regula/documentreader/webclient/gen/models/byte_array_result.py +233 -64
- regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +122 -0
- regula/documentreader/webclient/gen/models/check_diagnose.py +329 -138
- regula/documentreader/webclient/gen/models/check_result.py +84 -15
- regula/documentreader/webclient/gen/models/chosen_document_type.py +334 -94
- regula/documentreader/webclient/gen/models/chosen_document_type_result.py +264 -80
- regula/documentreader/webclient/gen/models/chosen_document_type_result_all_of.py +145 -0
- regula/documentreader/webclient/gen/models/container_list.py +134 -75
- regula/documentreader/webclient/gen/models/critical.py +82 -14
- regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +156 -67
- regula/documentreader/webclient/gen/models/data_module.py +209 -74
- regula/documentreader/webclient/gen/models/details_optical.py +298 -83
- regula/documentreader/webclient/gen/models/details_rfid.py +268 -78
- regula/documentreader/webclient/gen/models/device_info.py +235 -76
- regula/documentreader/webclient/gen/models/device_info2.py +275 -0
- regula/documentreader/webclient/gen/models/doc_bar_code_info.py +230 -68
- regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py +135 -75
- regula/documentreader/webclient/gen/models/doc_visual_extended_field.py +301 -105
- regula/documentreader/webclient/gen/models/doc_visual_extended_info.py +106 -75
- regula/documentreader/webclient/gen/models/document_format.py +105 -27
- regula/documentreader/webclient/gen/models/document_image.py +132 -63
- regula/documentreader/webclient/gen/models/document_image_result.py +231 -68
- regula/documentreader/webclient/gen/models/document_image_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/document_position.py +340 -111
- regula/documentreader/webclient/gen/models/document_position_result.py +230 -68
- regula/documentreader/webclient/gen/models/document_position_result_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/document_type.py +539 -243
- regula/documentreader/webclient/gen/models/document_type_recognition_result.py +84 -15
- regula/documentreader/webclient/gen/models/document_types_candidates.py +131 -76
- regula/documentreader/webclient/gen/models/document_types_candidates_list.py +131 -76
- regula/documentreader/webclient/gen/models/document_types_candidates_result.py +230 -68
- regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/documents_database.py +191 -71
- regula/documentreader/webclient/gen/models/encrypted_rcl_result.py +233 -64
- regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py +122 -0
- regula/documentreader/webclient/gen/models/face_api.py +358 -88
- regula/documentreader/webclient/gen/models/face_api_search.py +159 -65
- regula/documentreader/webclient/gen/models/fdsid_list.py +390 -91
- regula/documentreader/webclient/gen/models/fiber_result.py +439 -103
- regula/documentreader/webclient/gen/models/fiber_result_all_of.py +343 -0
- regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +159 -66
- regula/documentreader/webclient/gen/models/graphic_field.py +271 -80
- regula/documentreader/webclient/gen/models/graphic_field_type.py +131 -40
- regula/documentreader/webclient/gen/models/graphic_fields_list.py +106 -75
- regula/documentreader/webclient/gen/models/graphics_result.py +231 -68
- regula/documentreader/webclient/gen/models/graphics_result_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/healthcheck.py +297 -117
- regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +187 -91
- regula/documentreader/webclient/gen/models/ident_result.py +345 -107
- regula/documentreader/webclient/gen/models/ident_result_all_of.py +249 -0
- regula/documentreader/webclient/gen/models/image_data.py +132 -63
- regula/documentreader/webclient/gen/models/image_qa.py +304 -83
- regula/documentreader/webclient/gen/models/image_quality_check.py +263 -86
- regula/documentreader/webclient/gen/models/image_quality_check_list.py +133 -78
- regula/documentreader/webclient/gen/models/image_quality_check_type.py +97 -22
- regula/documentreader/webclient/gen/models/image_quality_result.py +231 -68
- regula/documentreader/webclient/gen/models/image_quality_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/image_transaction_data.py +97 -61
- regula/documentreader/webclient/gen/models/images.py +133 -87
- regula/documentreader/webclient/gen/models/images_available_source.py +130 -64
- regula/documentreader/webclient/gen/models/images_field.py +162 -80
- regula/documentreader/webclient/gen/models/images_field_value.py +331 -94
- regula/documentreader/webclient/gen/models/images_result.py +231 -68
- regula/documentreader/webclient/gen/models/images_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/in_data.py +131 -79
- regula/documentreader/webclient/gen/models/in_data_rfid_session.py +121 -0
- regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py +187 -72
- regula/documentreader/webclient/gen/models/in_data_video.py +131 -63
- regula/documentreader/webclient/gen/models/inline_response200.py +197 -0
- regula/documentreader/webclient/gen/models/inline_response2001.py +333 -0
- regula/documentreader/webclient/gen/models/input_barcode_type.py +119 -33
- regula/documentreader/webclient/gen/models/input_image_quality_checks.py +97 -22
- regula/documentreader/webclient/gen/models/lcid.py +402 -179
- regula/documentreader/webclient/gen/models/lexical_analysis_result.py +234 -68
- regula/documentreader/webclient/gen/models/lexical_analysis_result_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/license_result.py +233 -64
- regula/documentreader/webclient/gen/models/license_result_all_of.py +122 -0
- regula/documentreader/webclient/gen/models/light.py +87 -61
- regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py +131 -75
- regula/documentreader/webclient/gen/models/list_verified_fields.py +105 -77
- regula/documentreader/webclient/gen/models/liveness_params.py +247 -77
- regula/documentreader/webclient/gen/models/log_level.py +88 -17
- regula/documentreader/webclient/gen/models/measure_system.py +82 -14
- regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py +84 -15
- regula/documentreader/webclient/gen/models/mrz_format.py +90 -18
- regula/documentreader/webclient/gen/models/ocr_security_text_result.py +449 -107
- regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py +353 -0
- regula/documentreader/webclient/gen/models/one_candidate.py +334 -94
- regula/documentreader/webclient/gen/models/original_symbol.py +167 -74
- regula/documentreader/webclient/gen/models/out_data.py +133 -75
- regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py +213 -75
- regula/documentreader/webclient/gen/models/p_array_field.py +342 -103
- regula/documentreader/webclient/gen/models/parsing_notification_codes.py +523 -235
- regula/documentreader/webclient/gen/models/per_document_config.py +131 -63
- regula/documentreader/webclient/gen/models/photo_ident_result.py +423 -107
- regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py +327 -0
- regula/documentreader/webclient/gen/models/point.py +127 -63
- regula/documentreader/webclient/gen/models/point_array.py +97 -65
- regula/documentreader/webclient/gen/models/points_container.py +131 -75
- regula/documentreader/webclient/gen/models/process_params.py +1743 -229
- regula/documentreader/webclient/gen/models/process_params_rfid.py +97 -56
- regula/documentreader/webclient/gen/models/process_request.py +411 -113
- regula/documentreader/webclient/gen/models/process_request_image.py +159 -74
- regula/documentreader/webclient/gen/models/process_response.py +299 -96
- regula/documentreader/webclient/gen/models/process_system_info.py +131 -63
- regula/documentreader/webclient/gen/models/processing_status.py +84 -15
- regula/documentreader/webclient/gen/models/raw_image_container_list.py +131 -75
- regula/documentreader/webclient/gen/models/rectangle_coordinates.py +187 -71
- regula/documentreader/webclient/gen/models/result.py +133 -49
- regula/documentreader/webclient/gen/models/result_item.py +245 -195
- regula/documentreader/webclient/gen/models/rfid_location.py +84 -15
- regula/documentreader/webclient/gen/models/rfid_origin.py +192 -71
- regula/documentreader/webclient/gen/models/scenario.py +117 -33
- regula/documentreader/webclient/gen/models/security_feature_result.py +345 -99
- regula/documentreader/webclient/gen/models/security_feature_result_all_of.py +249 -0
- regula/documentreader/webclient/gen/models/security_feature_type.py +185 -68
- regula/documentreader/webclient/gen/models/source.py +88 -18
- regula/documentreader/webclient/gen/models/source_validity.py +129 -65
- regula/documentreader/webclient/gen/models/status.py +264 -86
- regula/documentreader/webclient/gen/models/status_result.py +231 -68
- regula/documentreader/webclient/gen/models/status_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/string_recognition_result.py +108 -81
- regula/documentreader/webclient/gen/models/symbol_candidate.py +143 -72
- regula/documentreader/webclient/gen/models/symbol_recognition_result.py +135 -87
- regula/documentreader/webclient/gen/models/text.py +214 -92
- regula/documentreader/webclient/gen/models/text_available_source.py +157 -67
- regula/documentreader/webclient/gen/models/text_data_result.py +230 -68
- regula/documentreader/webclient/gen/models/text_data_result_all_of.py +119 -0
- regula/documentreader/webclient/gen/models/text_field.py +357 -115
- regula/documentreader/webclient/gen/models/text_field_type.py +1367 -660
- regula/documentreader/webclient/gen/models/text_field_value.py +307 -105
- regula/documentreader/webclient/gen/models/text_post_processing.py +86 -16
- regula/documentreader/webclient/gen/models/text_result.py +231 -68
- regula/documentreader/webclient/gen/models/text_result_all_of.py +120 -0
- regula/documentreader/webclient/gen/models/tfdsid_list.py +372 -0
- regula/documentreader/webclient/gen/models/transaction_image.py +97 -61
- regula/documentreader/webclient/gen/models/transaction_images_field_value.py +227 -0
- regula/documentreader/webclient/gen/models/transaction_info.py +302 -84
- regula/documentreader/webclient/gen/models/transaction_process_get_response.py +183 -79
- regula/documentreader/webclient/gen/models/transaction_process_request.py +299 -108
- regula/documentreader/webclient/gen/models/transaction_scenario_request.py +119 -0
- regula/documentreader/webclient/gen/models/verification_result.py +88 -17
- regula/documentreader/webclient/gen/models/verified_field_map.py +273 -85
- regula/documentreader/webclient/gen/models/visibility.py +88 -17
- regula/documentreader/webclient/gen/rest.py +174 -132
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.355rc0.dist-info}/METADATA +4 -6
- regula_documentreader_webclient-8.1.355rc0.dist-info/RECORD +192 -0
- regula/documentreader/webclient/gen/api_response.py +0 -21
- regula/documentreader/webclient/gen/models/authenticity_check_list_item.py +0 -83
- regula/documentreader/webclient/gen/models/authenticity_check_result_list_inner.py +0 -174
- regula/documentreader/webclient/gen/models/bar_code_module_type.py +0 -32
- regula/documentreader/webclient/gen/models/barcode_type.py +0 -47
- regula/documentreader/webclient/gen/models/binary_data.py +0 -218
- regula/documentreader/webclient/gen/models/byte_array_item.py +0 -79
- regula/documentreader/webclient/gen/models/candidates_list_item.py +0 -83
- regula/documentreader/webclient/gen/models/certificate_data.py +0 -81
- regula/documentreader/webclient/gen/models/container_list_list_inner.py +0 -426
- regula/documentreader/webclient/gen/models/doc_bar_code_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/doc_graphics_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/doc_visual_extended_field_item.py +0 -83
- regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/document_binary_info_result.py +0 -90
- regula/documentreader/webclient/gen/models/document_position_item.py +0 -83
- regula/documentreader/webclient/gen/models/encrypted_rcl_item.py +0 -79
- regula/documentreader/webclient/gen/models/error_coordinates.py +0 -85
- regula/documentreader/webclient/gen/models/face_detection.py +0 -95
- regula/documentreader/webclient/gen/models/face_detection_item.py +0 -83
- regula/documentreader/webclient/gen/models/face_detection_result.py +0 -90
- regula/documentreader/webclient/gen/models/face_item.py +0 -109
- regula/documentreader/webclient/gen/models/fiber_item.py +0 -106
- regula/documentreader/webclient/gen/models/field_item.py +0 -89
- regula/documentreader/webclient/gen/models/file_image.py +0 -81
- regula/documentreader/webclient/gen/models/graph_data.py +0 -95
- regula/documentreader/webclient/gen/models/ident_item.py +0 -110
- regula/documentreader/webclient/gen/models/image_quality_check_list_item.py +0 -83
- regula/documentreader/webclient/gen/models/images_item.py +0 -83
- regula/documentreader/webclient/gen/models/license_item.py +0 -79
- regula/documentreader/webclient/gen/models/list_verified_fields_item.py +0 -83
- regula/documentreader/webclient/gen/models/mrz_detector_result.py +0 -90
- regula/documentreader/webclient/gen/models/mrz_position.py +0 -124
- regula/documentreader/webclient/gen/models/mrz_position_item.py +0 -83
- regula/documentreader/webclient/gen/models/mrz_position_result.py +0 -90
- regula/documentreader/webclient/gen/models/mrz_rows_item.py +0 -91
- regula/documentreader/webclient/gen/models/mrz_test_quality.py +0 -105
- regula/documentreader/webclient/gen/models/mrz_test_quality_item.py +0 -83
- regula/documentreader/webclient/gen/models/mrz_test_quality_result.py +0 -90
- regula/documentreader/webclient/gen/models/ocr_security_text_item.py +0 -110
- regula/documentreader/webclient/gen/models/one_candidate_item.py +0 -87
- regula/documentreader/webclient/gen/models/parsed_data.py +0 -79
- regula/documentreader/webclient/gen/models/parsing_error_codes.py +0 -153
- regula/documentreader/webclient/gen/models/photo_ident_item.py +0 -110
- regula/documentreader/webclient/gen/models/raw_image_container_item.py +0 -83
- regula/documentreader/webclient/gen/models/result_mrz_detector.py +0 -93
- regula/documentreader/webclient/gen/models/result_mrz_detector_item.py +0 -83
- regula/documentreader/webclient/gen/models/rfid_a_chip.py +0 -33
- regula/documentreader/webclient/gen/models/rfid_access_control_info.py +0 -90
- regula/documentreader/webclient/gen/models/rfid_access_control_procedure_type.py +0 -35
- regula/documentreader/webclient/gen/models/rfid_access_key.py +0 -87
- regula/documentreader/webclient/gen/models/rfid_application.py +0 -101
- regula/documentreader/webclient/gen/models/rfid_application_type.py +0 -37
- regula/documentreader/webclient/gen/models/rfid_attribute_data.py +0 -81
- regula/documentreader/webclient/gen/models/rfid_attribute_name.py +0 -85
- regula/documentreader/webclient/gen/models/rfid_authentication_procedure_type.py +0 -31
- regula/documentreader/webclient/gen/models/rfid_baud_rate.py +0 -32
- regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py +0 -123
- regula/documentreader/webclient/gen/models/rfid_certificate_ex.py +0 -130
- regula/documentreader/webclient/gen/models/rfid_certificate_origin.py +0 -36
- regula/documentreader/webclient/gen/models/rfid_certificate_type.py +0 -35
- regula/documentreader/webclient/gen/models/rfid_data_file.py +0 -118
- regula/documentreader/webclient/gen/models/rfid_data_file_type.py +0 -119
- regula/documentreader/webclient/gen/models/rfid_data_group_type_tag.py +0 -82
- regula/documentreader/webclient/gen/models/rfid_dg1.py +0 -111
- regula/documentreader/webclient/gen/models/rfid_distinguished_name.py +0 -95
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field.py +0 -120
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field_item.py +0 -85
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info.py +0 -89
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/rfid_error_codes.py +0 -141
- regula/documentreader/webclient/gen/models/rfid_graphics_info_result.py +0 -90
- regula/documentreader/webclient/gen/models/rfid_password_type.py +0 -34
- regula/documentreader/webclient/gen/models/rfid_pki_extension.py +0 -81
- regula/documentreader/webclient/gen/models/rfid_raw_data.py +0 -81
- regula/documentreader/webclient/gen/models/rfid_security_object.py +0 -96
- regula/documentreader/webclient/gen/models/rfid_session_data.py +0 -150
- regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py +0 -133
- regula/documentreader/webclient/gen/models/rfid_terminal.py +0 -84
- regula/documentreader/webclient/gen/models/rfid_terminal_type.py +0 -32
- regula/documentreader/webclient/gen/models/rfid_text_data_result.py +0 -90
- regula/documentreader/webclient/gen/models/rfid_type.py +0 -30
- regula/documentreader/webclient/gen/models/rfid_validity.py +0 -88
- regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py +0 -35
- regula/documentreader/webclient/gen/models/security_feature_item.py +0 -102
- regula/documentreader/webclient/gen/models/security_object_certificates.py +0 -83
- regula/documentreader/webclient/gen/models/status_item.py +0 -83
- regula/documentreader/webclient/gen/models/string_item.py +0 -135
- regula/documentreader/webclient/gen/models/symbol.py +0 -79
- regula/documentreader/webclient/gen/models/symbol_estimation_item.py +0 -115
- regula/documentreader/webclient/gen/models/t_doc_binary_info.py +0 -93
- regula/documentreader/webclient/gen/models/t_doc_binary_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info.py +0 -87
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info_item.py +0 -83
- regula/documentreader/webclient/gen/models/text_item.py +0 -83
- regula/documentreader/webclient/gen/models/transaction_process_response.py +0 -107
- regula/documentreader/webclient/gen/models/transaction_process_response_item.py +0 -79
- regula/documentreader/webclient/gen/models/transaction_process_result.py +0 -93
- regula/documentreader/webclient/gen/models/trf_ft_bytes.py +0 -90
- regula/documentreader/webclient/gen/models/trf_ft_string.py +0 -85
- regula/documentreader/webclient/gen/models/visual_extended_field_item.py +0 -112
- regula/documentreader/webclient/gen/py.typed +0 -0
- regula_documentreader_webclient-8.1.354.dev0.dist-info/RECORD +0 -263
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.355rc0.dist-info}/WHEEL +0 -0
- {regula_documentreader_webclient-8.1.354.dev0.dist-info → regula_documentreader_webclient-8.1.355rc0.dist-info}/top_level.txt +0 -0
|
@@ -4,149 +4,340 @@
|
|
|
4
4
|
Generated by: https://openapi-generator.tech
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
from enum import Enum
|
|
10
|
-
from typing_extensions import Self
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
11
9
|
|
|
10
|
+
import six
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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.
|
|
16
25
|
"""
|
|
17
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
|
+
|
|
18
279
|
"""
|
|
19
|
-
|
|
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.
|
|
20
285
|
"""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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))
|
|
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()
|
|
151
337
|
|
|
338
|
+
def __ne__(self, other):
|
|
339
|
+
"""Returns true if both objects are not equal"""
|
|
340
|
+
if not isinstance(other, CheckDiagnose):
|
|
341
|
+
return True
|
|
152
342
|
|
|
343
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -4,27 +4,96 @@
|
|
|
4
4
|
Generated by: https://openapi-generator.tech
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
from enum import Enum
|
|
10
|
-
from typing_extensions import Self
|
|
7
|
+
import pprint
|
|
8
|
+
import re # noqa: F401
|
|
11
9
|
|
|
10
|
+
import six
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
0 - result is negative; 1 - result is positive; 2 - сheck was not performed
|
|
19
|
+
"""
|
|
20
|
+
class CheckResult(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.
|
|
16
25
|
"""
|
|
17
26
|
|
|
27
|
+
ERROR = int("0")
|
|
28
|
+
|
|
29
|
+
OK = int("1")
|
|
30
|
+
|
|
31
|
+
WAS_NOT_DONE = int("2")
|
|
32
|
+
|
|
33
|
+
allowable_values = [ERROR, OK, WAS_NOT_DONE] # noqa: E501
|
|
34
|
+
|
|
18
35
|
"""
|
|
19
|
-
|
|
36
|
+
Attributes:
|
|
37
|
+
openapi_types (dict): The key is attribute name
|
|
38
|
+
and the value is attribute type.
|
|
39
|
+
attribute_map (dict): The key is attribute name
|
|
40
|
+
and the value is json key in definition.
|
|
20
41
|
"""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
42
|
+
openapi_types = {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
49
|
+
"""CheckResult - a model defined in OpenAPI""" # noqa: E501
|
|
50
|
+
if local_vars_configuration is None:
|
|
51
|
+
local_vars_configuration = Configuration()
|
|
52
|
+
self.local_vars_configuration = local_vars_configuration
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
def to_dict(self):
|
|
56
|
+
"""Returns the model properties as a dict"""
|
|
57
|
+
result = {}
|
|
58
|
+
|
|
59
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
60
|
+
value = getattr(self, attr)
|
|
61
|
+
if isinstance(value, list):
|
|
62
|
+
result[attr] = list(map(
|
|
63
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
64
|
+
value
|
|
65
|
+
))
|
|
66
|
+
elif hasattr(value, "to_dict"):
|
|
67
|
+
result[attr] = value.to_dict()
|
|
68
|
+
elif isinstance(value, dict):
|
|
69
|
+
result[attr] = dict(map(
|
|
70
|
+
lambda item: (item[0], item[1].to_dict())
|
|
71
|
+
if hasattr(item[1], "to_dict") else item,
|
|
72
|
+
value.items()
|
|
73
|
+
))
|
|
74
|
+
else:
|
|
75
|
+
result[attr] = value
|
|
76
|
+
|
|
77
|
+
return result
|
|
78
|
+
|
|
79
|
+
def to_str(self):
|
|
80
|
+
"""Returns the string representation of the model"""
|
|
81
|
+
return pprint.pformat(self.to_dict())
|
|
82
|
+
|
|
83
|
+
def __repr__(self):
|
|
84
|
+
"""For `print` and `pprint`"""
|
|
85
|
+
return self.to_str()
|
|
86
|
+
|
|
87
|
+
def __eq__(self, other):
|
|
88
|
+
"""Returns true if both objects are equal"""
|
|
89
|
+
if not isinstance(other, CheckResult):
|
|
90
|
+
return False
|
|
24
91
|
|
|
25
|
-
|
|
26
|
-
def from_json(cls, json_str: str) -> Self:
|
|
27
|
-
"""Create an instance of CheckResult from a JSON string"""
|
|
28
|
-
return cls(json.loads(json_str))
|
|
92
|
+
return self.to_dict() == other.to_dict()
|
|
29
93
|
|
|
94
|
+
def __ne__(self, other):
|
|
95
|
+
"""Returns true if both objects are not equal"""
|
|
96
|
+
if not isinstance(other, CheckResult):
|
|
97
|
+
return True
|
|
30
98
|
|
|
99
|
+
return self.to_dict() != other.to_dict()
|