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.
- regula/documentreader/webclient/ext/__init__.py +0 -1
- regula/documentreader/webclient/ext/api/document_reader_api.py +2 -2
- regula/documentreader/webclient/ext/models/__init__.py +0 -2
- regula/documentreader/webclient/ext/models/authenticity/authenticity_check_list.py +64 -19
- regula/documentreader/webclient/ext/models/authenticity/fiber.py +7 -7
- regula/documentreader/webclient/ext/models/authenticity/ident.py +10 -9
- regula/documentreader/webclient/ext/models/authenticity/image_ident.py +8 -7
- regula/documentreader/webclient/ext/models/authenticity/ocr_security_text.py +7 -7
- regula/documentreader/webclient/ext/models/authenticity/security_feature.py +10 -8
- regula/documentreader/webclient/ext/models/images.py +4 -4
- regula/documentreader/webclient/ext/models/recognition_request.py +23 -24
- regula/documentreader/webclient/ext/models/recognition_response.py +6 -8
- regula/documentreader/webclient/ext/models/text.py +7 -12
- regula/documentreader/webclient/gen/__init__.py +100 -26
- regula/documentreader/webclient/gen/api/__init__.py +1 -2
- regula/documentreader/webclient/gen/api/healthcheck_api.py +687 -298
- regula/documentreader/webclient/gen/api/process_api.py +270 -125
- regula/documentreader/webclient/gen/api/transaction_api.py +1472 -673
- regula/documentreader/webclient/gen/api_client.py +583 -462
- regula/documentreader/webclient/gen/api_response.py +21 -0
- regula/documentreader/webclient/gen/configuration.py +222 -99
- regula/documentreader/webclient/gen/exceptions.py +81 -30
- regula/documentreader/webclient/gen/models/__init__.py +98 -25
- regula/documentreader/webclient/gen/models/area_array.py +85 -131
- regula/documentreader/webclient/gen/models/area_container.py +85 -157
- regula/documentreader/webclient/gen/models/auth_params.py +100 -526
- regula/documentreader/webclient/gen/models/authenticity_check_list.py +75 -136
- regula/documentreader/webclient/gen/models/authenticity_check_list_item.py +83 -0
- regula/documentreader/webclient/gen/models/authenticity_check_result.py +81 -160
- regula/documentreader/webclient/gen/models/authenticity_check_result_item.py +154 -217
- regula/documentreader/webclient/gen/models/authenticity_check_result_list_inner.py +174 -0
- regula/documentreader/webclient/gen/models/authenticity_result.py +68 -231
- regula/documentreader/webclient/gen/models/authenticity_result_type.py +35 -123
- regula/documentreader/webclient/gen/models/bar_code_module_type.py +32 -0
- regula/documentreader/webclient/gen/models/barcode_type.py +47 -0
- regula/documentreader/webclient/gen/models/bc_pdf417_info.py +75 -235
- regula/documentreader/webclient/gen/models/bc_roidetect.py +71 -183
- regula/documentreader/webclient/gen/models/binary_data.py +218 -0
- regula/documentreader/webclient/gen/models/byte_array_item.py +79 -0
- regula/documentreader/webclient/gen/models/byte_array_result.py +64 -233
- regula/documentreader/webclient/gen/models/candidates_list_item.py +83 -0
- regula/documentreader/webclient/gen/models/certificate_data.py +81 -0
- regula/documentreader/webclient/gen/models/check_diagnose.py +138 -329
- regula/documentreader/webclient/gen/models/check_result.py +15 -84
- regula/documentreader/webclient/gen/models/chosen_document_type.py +94 -334
- regula/documentreader/webclient/gen/models/chosen_document_type_result.py +80 -264
- regula/documentreader/webclient/gen/models/container_list.py +75 -134
- regula/documentreader/webclient/gen/models/container_list_list_inner.py +426 -0
- regula/documentreader/webclient/gen/models/critical.py +14 -82
- regula/documentreader/webclient/gen/models/cross_source_value_comparison.py +67 -156
- regula/documentreader/webclient/gen/models/data_module.py +74 -209
- regula/documentreader/webclient/gen/models/details_optical.py +83 -298
- regula/documentreader/webclient/gen/models/details_rfid.py +78 -268
- regula/documentreader/webclient/gen/models/device_info.py +76 -235
- regula/documentreader/webclient/gen/models/doc_bar_code_info.py +68 -230
- regula/documentreader/webclient/gen/models/doc_bar_code_info_fields_list.py +75 -135
- regula/documentreader/webclient/gen/models/doc_bar_code_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/doc_graphics_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/doc_visual_extended_field.py +105 -301
- regula/documentreader/webclient/gen/models/doc_visual_extended_field_item.py +83 -0
- regula/documentreader/webclient/gen/models/doc_visual_extended_info.py +75 -106
- regula/documentreader/webclient/gen/models/doc_visual_extended_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/document_binary_info_result.py +90 -0
- regula/documentreader/webclient/gen/models/document_format.py +27 -105
- regula/documentreader/webclient/gen/models/document_image.py +63 -132
- regula/documentreader/webclient/gen/models/document_image_result.py +68 -231
- regula/documentreader/webclient/gen/models/document_position.py +111 -340
- regula/documentreader/webclient/gen/models/document_position_item.py +83 -0
- regula/documentreader/webclient/gen/models/document_position_result.py +68 -230
- regula/documentreader/webclient/gen/models/document_type.py +243 -539
- regula/documentreader/webclient/gen/models/document_type_recognition_result.py +15 -84
- regula/documentreader/webclient/gen/models/document_types_candidates.py +76 -131
- regula/documentreader/webclient/gen/models/document_types_candidates_list.py +76 -131
- regula/documentreader/webclient/gen/models/document_types_candidates_result.py +68 -230
- regula/documentreader/webclient/gen/models/documents_database.py +71 -191
- regula/documentreader/webclient/gen/models/encrypted_rcl_item.py +79 -0
- regula/documentreader/webclient/gen/models/encrypted_rcl_result.py +64 -233
- regula/documentreader/webclient/gen/models/error_coordinates.py +85 -0
- regula/documentreader/webclient/gen/models/face_api.py +88 -358
- regula/documentreader/webclient/gen/models/face_api_search.py +65 -159
- regula/documentreader/webclient/gen/models/face_detection.py +95 -0
- regula/documentreader/webclient/gen/models/face_detection_item.py +83 -0
- regula/documentreader/webclient/gen/models/face_detection_result.py +90 -0
- regula/documentreader/webclient/gen/models/face_item.py +109 -0
- regula/documentreader/webclient/gen/models/fdsid_list.py +91 -390
- regula/documentreader/webclient/gen/models/fiber_item.py +106 -0
- regula/documentreader/webclient/gen/models/fiber_result.py +103 -439
- regula/documentreader/webclient/gen/models/field_item.py +89 -0
- regula/documentreader/webclient/gen/models/file_image.py +81 -0
- regula/documentreader/webclient/gen/models/get_transactions_by_tag_response.py +66 -159
- regula/documentreader/webclient/gen/models/graph_data.py +95 -0
- regula/documentreader/webclient/gen/models/graphic_field.py +80 -271
- regula/documentreader/webclient/gen/models/graphic_field_type.py +40 -131
- regula/documentreader/webclient/gen/models/graphic_fields_list.py +75 -106
- regula/documentreader/webclient/gen/models/graphics_result.py +68 -231
- regula/documentreader/webclient/gen/models/healthcheck.py +117 -297
- regula/documentreader/webclient/gen/models/healthcheck_documents_database.py +91 -187
- regula/documentreader/webclient/gen/models/ident_item.py +110 -0
- regula/documentreader/webclient/gen/models/ident_result.py +107 -345
- regula/documentreader/webclient/gen/models/image_data.py +63 -132
- regula/documentreader/webclient/gen/models/image_qa.py +83 -304
- regula/documentreader/webclient/gen/models/image_quality_check.py +86 -263
- regula/documentreader/webclient/gen/models/image_quality_check_list.py +78 -133
- regula/documentreader/webclient/gen/models/image_quality_check_list_item.py +83 -0
- regula/documentreader/webclient/gen/models/image_quality_check_type.py +22 -97
- regula/documentreader/webclient/gen/models/image_quality_result.py +68 -231
- regula/documentreader/webclient/gen/models/image_transaction_data.py +61 -97
- regula/documentreader/webclient/gen/models/images.py +87 -133
- regula/documentreader/webclient/gen/models/images_available_source.py +64 -130
- regula/documentreader/webclient/gen/models/images_field.py +80 -162
- regula/documentreader/webclient/gen/models/images_field_value.py +94 -331
- regula/documentreader/webclient/gen/models/images_item.py +83 -0
- regula/documentreader/webclient/gen/models/images_result.py +68 -231
- regula/documentreader/webclient/gen/models/in_data.py +79 -131
- regula/documentreader/webclient/gen/models/in_data_transaction_images_field_value.py +72 -187
- regula/documentreader/webclient/gen/models/in_data_video.py +63 -131
- regula/documentreader/webclient/gen/models/input_barcode_type.py +33 -119
- regula/documentreader/webclient/gen/models/input_image_quality_checks.py +22 -97
- regula/documentreader/webclient/gen/models/lcid.py +179 -402
- regula/documentreader/webclient/gen/models/lexical_analysis_result.py +68 -234
- regula/documentreader/webclient/gen/models/license_item.py +79 -0
- regula/documentreader/webclient/gen/models/license_result.py +64 -233
- regula/documentreader/webclient/gen/models/light.py +61 -87
- regula/documentreader/webclient/gen/models/list_transactions_by_tag_response.py +75 -131
- regula/documentreader/webclient/gen/models/list_verified_fields.py +77 -105
- regula/documentreader/webclient/gen/models/list_verified_fields_item.py +83 -0
- regula/documentreader/webclient/gen/models/liveness_params.py +77 -247
- regula/documentreader/webclient/gen/models/log_level.py +17 -88
- regula/documentreader/webclient/gen/models/measure_system.py +14 -82
- regula/documentreader/webclient/gen/models/mrz_detect_mode_enum.py +15 -84
- regula/documentreader/webclient/gen/models/mrz_detector_result.py +90 -0
- regula/documentreader/webclient/gen/models/mrz_format.py +18 -90
- regula/documentreader/webclient/gen/models/mrz_position.py +124 -0
- regula/documentreader/webclient/gen/models/mrz_position_item.py +83 -0
- regula/documentreader/webclient/gen/models/mrz_position_result.py +90 -0
- regula/documentreader/webclient/gen/models/mrz_rows_item.py +91 -0
- regula/documentreader/webclient/gen/models/mrz_test_quality.py +105 -0
- regula/documentreader/webclient/gen/models/mrz_test_quality_item.py +83 -0
- regula/documentreader/webclient/gen/models/mrz_test_quality_result.py +90 -0
- regula/documentreader/webclient/gen/models/ocr_security_text_item.py +110 -0
- regula/documentreader/webclient/gen/models/ocr_security_text_result.py +107 -449
- regula/documentreader/webclient/gen/models/one_candidate.py +94 -334
- regula/documentreader/webclient/gen/models/one_candidate_item.py +87 -0
- regula/documentreader/webclient/gen/models/original_symbol.py +74 -167
- regula/documentreader/webclient/gen/models/out_data.py +75 -133
- regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py +75 -213
- regula/documentreader/webclient/gen/models/p_array_field.py +103 -342
- regula/documentreader/webclient/gen/models/parsed_data.py +79 -0
- regula/documentreader/webclient/gen/models/parsing_error_codes.py +153 -0
- regula/documentreader/webclient/gen/models/parsing_notification_codes.py +237 -523
- regula/documentreader/webclient/gen/models/per_document_config.py +63 -131
- regula/documentreader/webclient/gen/models/photo_ident_item.py +110 -0
- regula/documentreader/webclient/gen/models/photo_ident_result.py +107 -423
- regula/documentreader/webclient/gen/models/point.py +63 -127
- regula/documentreader/webclient/gen/models/point_array.py +65 -97
- regula/documentreader/webclient/gen/models/points_container.py +75 -131
- regula/documentreader/webclient/gen/models/process_params.py +229 -1743
- regula/documentreader/webclient/gen/models/process_params_rfid.py +56 -97
- regula/documentreader/webclient/gen/models/process_request.py +113 -411
- regula/documentreader/webclient/gen/models/process_request_image.py +74 -159
- regula/documentreader/webclient/gen/models/process_response.py +96 -299
- regula/documentreader/webclient/gen/models/process_system_info.py +63 -131
- regula/documentreader/webclient/gen/models/processing_status.py +15 -84
- regula/documentreader/webclient/gen/models/raw_image_container_item.py +83 -0
- regula/documentreader/webclient/gen/models/raw_image_container_list.py +75 -131
- regula/documentreader/webclient/gen/models/rectangle_coordinates.py +71 -187
- regula/documentreader/webclient/gen/models/result.py +49 -133
- regula/documentreader/webclient/gen/models/result_item.py +195 -245
- regula/documentreader/webclient/gen/models/result_mrz_detector.py +93 -0
- regula/documentreader/webclient/gen/models/result_mrz_detector_item.py +83 -0
- regula/documentreader/webclient/gen/models/rfid_a_chip.py +33 -0
- regula/documentreader/webclient/gen/models/rfid_access_control_info.py +90 -0
- regula/documentreader/webclient/gen/models/rfid_access_control_procedure_type.py +35 -0
- regula/documentreader/webclient/gen/models/rfid_access_key.py +87 -0
- regula/documentreader/webclient/gen/models/rfid_application.py +101 -0
- regula/documentreader/webclient/gen/models/rfid_application_type.py +37 -0
- regula/documentreader/webclient/gen/models/rfid_attribute_data.py +81 -0
- regula/documentreader/webclient/gen/models/rfid_attribute_name.py +85 -0
- regula/documentreader/webclient/gen/models/rfid_authentication_procedure_type.py +31 -0
- regula/documentreader/webclient/gen/models/rfid_baud_rate.py +32 -0
- regula/documentreader/webclient/gen/models/rfid_card_properties_ext.py +123 -0
- regula/documentreader/webclient/gen/models/rfid_certificate_ex.py +130 -0
- regula/documentreader/webclient/gen/models/rfid_certificate_origin.py +36 -0
- regula/documentreader/webclient/gen/models/rfid_certificate_type.py +35 -0
- regula/documentreader/webclient/gen/models/rfid_data_file.py +118 -0
- regula/documentreader/webclient/gen/models/rfid_data_file_type.py +119 -0
- regula/documentreader/webclient/gen/models/rfid_data_group_type_tag.py +82 -0
- regula/documentreader/webclient/gen/models/rfid_dg1.py +111 -0
- regula/documentreader/webclient/gen/models/rfid_distinguished_name.py +95 -0
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field.py +120 -0
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_field_item.py +85 -0
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info.py +89 -0
- regula/documentreader/webclient/gen/models/rfid_doc_visual_extended_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/rfid_error_codes.py +141 -0
- regula/documentreader/webclient/gen/models/rfid_graphics_info_result.py +90 -0
- regula/documentreader/webclient/gen/models/rfid_location.py +15 -84
- regula/documentreader/webclient/gen/models/rfid_origin.py +71 -192
- regula/documentreader/webclient/gen/models/rfid_password_type.py +34 -0
- regula/documentreader/webclient/gen/models/rfid_pki_extension.py +81 -0
- regula/documentreader/webclient/gen/models/rfid_raw_data.py +81 -0
- regula/documentreader/webclient/gen/models/rfid_security_object.py +96 -0
- regula/documentreader/webclient/gen/models/rfid_session_data.py +150 -0
- regula/documentreader/webclient/gen/models/rfid_signer_info_ex.py +133 -0
- regula/documentreader/webclient/gen/models/rfid_terminal.py +84 -0
- regula/documentreader/webclient/gen/models/rfid_terminal_type.py +32 -0
- regula/documentreader/webclient/gen/models/rfid_text_data_result.py +90 -0
- regula/documentreader/webclient/gen/models/rfid_type.py +30 -0
- regula/documentreader/webclient/gen/models/rfid_validity.py +88 -0
- regula/documentreader/webclient/gen/models/rfidpkd_resource_type.py +35 -0
- regula/documentreader/webclient/gen/models/scenario.py +33 -117
- regula/documentreader/webclient/gen/models/security_feature_item.py +102 -0
- regula/documentreader/webclient/gen/models/security_feature_result.py +99 -345
- regula/documentreader/webclient/gen/models/security_feature_type.py +68 -185
- regula/documentreader/webclient/gen/models/security_object_certificates.py +83 -0
- regula/documentreader/webclient/gen/models/source.py +18 -88
- regula/documentreader/webclient/gen/models/source_validity.py +65 -129
- regula/documentreader/webclient/gen/models/status.py +86 -264
- regula/documentreader/webclient/gen/models/status_item.py +83 -0
- regula/documentreader/webclient/gen/models/status_result.py +68 -231
- regula/documentreader/webclient/gen/models/string_item.py +135 -0
- regula/documentreader/webclient/gen/models/string_recognition_result.py +81 -108
- regula/documentreader/webclient/gen/models/symbol.py +79 -0
- regula/documentreader/webclient/gen/models/symbol_candidate.py +72 -143
- regula/documentreader/webclient/gen/models/symbol_estimation_item.py +115 -0
- regula/documentreader/webclient/gen/models/symbol_recognition_result.py +87 -135
- regula/documentreader/webclient/gen/models/t_doc_binary_info.py +93 -0
- regula/documentreader/webclient/gen/models/t_doc_binary_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info.py +87 -0
- regula/documentreader/webclient/gen/models/t_original_rfid_graphics_info_item.py +83 -0
- regula/documentreader/webclient/gen/models/text.py +92 -214
- regula/documentreader/webclient/gen/models/text_available_source.py +67 -157
- regula/documentreader/webclient/gen/models/text_data_result.py +68 -230
- regula/documentreader/webclient/gen/models/text_field.py +115 -357
- regula/documentreader/webclient/gen/models/text_field_type.py +661 -1368
- regula/documentreader/webclient/gen/models/text_field_value.py +105 -307
- regula/documentreader/webclient/gen/models/text_item.py +83 -0
- regula/documentreader/webclient/gen/models/text_post_processing.py +16 -86
- regula/documentreader/webclient/gen/models/text_result.py +68 -231
- regula/documentreader/webclient/gen/models/transaction_image.py +61 -97
- regula/documentreader/webclient/gen/models/transaction_info.py +84 -302
- regula/documentreader/webclient/gen/models/transaction_process_get_response.py +79 -183
- regula/documentreader/webclient/gen/models/transaction_process_request.py +108 -299
- regula/documentreader/webclient/gen/models/transaction_process_response.py +107 -0
- regula/documentreader/webclient/gen/models/transaction_process_response_item.py +79 -0
- regula/documentreader/webclient/gen/models/transaction_process_result.py +93 -0
- regula/documentreader/webclient/gen/models/trf_ft_bytes.py +90 -0
- regula/documentreader/webclient/gen/models/trf_ft_string.py +85 -0
- regula/documentreader/webclient/gen/models/verification_result.py +17 -88
- regula/documentreader/webclient/gen/models/verified_field_map.py +85 -273
- regula/documentreader/webclient/gen/models/visibility.py +17 -88
- regula/documentreader/webclient/gen/models/visual_extended_field_item.py +112 -0
- regula/documentreader/webclient/gen/py.typed +0 -0
- regula/documentreader/webclient/gen/rest.py +132 -174
- {regula_documentreader_webclient-8.1.355rc0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/METADATA +17 -6
- regula_documentreader_webclient-8.1.357.dev0.dist-info/RECORD +263 -0
- {regula_documentreader_webclient-8.1.355rc0.dist-info → regula_documentreader_webclient-8.1.357.dev0.dist-info}/WHEEL +1 -1
- regula/documentreader/webclient/ext/models/raw_authenticity_result_item.py +0 -27
- regula/documentreader/webclient/ext/models/raw_result_item.py +0 -26
- regula/documentreader/webclient/gen/api/default_api.py +0 -160
- regula/documentreader/webclient/gen/models/authenticity_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/byte_array_result_all_of.py +0 -122
- regula/documentreader/webclient/gen/models/chosen_document_type_result_all_of.py +0 -145
- regula/documentreader/webclient/gen/models/device_info2.py +0 -275
- regula/documentreader/webclient/gen/models/doc_bar_code_info_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/document_image_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/document_position_result_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py +0 -122
- regula/documentreader/webclient/gen/models/fiber_result_all_of.py +0 -343
- regula/documentreader/webclient/gen/models/graphics_result_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/ident_result_all_of.py +0 -249
- regula/documentreader/webclient/gen/models/image_quality_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/images_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/in_data_rfid_session.py +0 -121
- regula/documentreader/webclient/gen/models/inline_response200.py +0 -197
- regula/documentreader/webclient/gen/models/inline_response2001.py +0 -333
- regula/documentreader/webclient/gen/models/lexical_analysis_result_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/license_result_all_of.py +0 -122
- regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py +0 -353
- regula/documentreader/webclient/gen/models/photo_ident_result_all_of.py +0 -327
- regula/documentreader/webclient/gen/models/security_feature_result_all_of.py +0 -249
- regula/documentreader/webclient/gen/models/status_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/text_data_result_all_of.py +0 -119
- regula/documentreader/webclient/gen/models/text_result_all_of.py +0 -120
- regula/documentreader/webclient/gen/models/tfdsid_list.py +0 -372
- regula/documentreader/webclient/gen/models/transaction_images_field_value.py +0 -227
- regula/documentreader/webclient/gen/models/transaction_scenario_request.py +0 -119
- regula_documentreader_webclient-8.1.355rc0.dist-info/RECORD +0 -192
- {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
|
|
8
|
-
import
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
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
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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()
|