diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 6ebf766..d4b1624 100755 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -47,6 +47,8 @@ regula/documentreader/webclient/gen/models/document_types_candidates_result.py regula/documentreader/webclient/gen/models/document_types_candidates_result_all_of.py regula/documentreader/webclient/gen/models/encrypted_rcl_result.py regula/documentreader/webclient/gen/models/encrypted_rcl_result_all_of.py +regula/documentreader/webclient/gen/models/face_api.py +regula/documentreader/webclient/gen/models/face_api_search.py regula/documentreader/webclient/gen/models/fdsid_list.py regula/documentreader/webclient/gen/models/fiber_result.py regula/documentreader/webclient/gen/models/fiber_result_all_of.py diff --git a/regula/documentreader/webclient/gen/__init__.py b/regula/documentreader/webclient/gen/__init__.py index 17fcf2b..43bf5c9 100755 --- a/regula/documentreader/webclient/gen/__init__.py +++ b/regula/documentreader/webclient/gen/__init__.py @@ -66,6 +66,8 @@ from regula.documentreader.webclient.gen.models.encrypted_rcl_result import EncryptedRCLResult from regula.documentreader.webclient.gen.models.encrypted_rcl_result_all_of import EncryptedRCLResultAllOf from regula.documentreader.webclient.gen.models.fdsid_list import FDSIDList +from regula.documentreader.webclient.gen.models.face_api import FaceApi +from regula.documentreader.webclient.gen.models.face_api_search import FaceApiSearch from regula.documentreader.webclient.gen.models.fiber_result import FiberResult from regula.documentreader.webclient.gen.models.fiber_result_all_of import FiberResultAllOf from regula.documentreader.webclient.gen.models.graphic_field import GraphicField diff --git a/regula/documentreader/webclient/gen/models/__init__.py b/regula/documentreader/webclient/gen/models/__init__.py index a2ab7c0..ad283c1 100755 --- a/regula/documentreader/webclient/gen/models/__init__.py +++ b/regula/documentreader/webclient/gen/models/__init__.py @@ -50,6 +50,8 @@ from regula.documentreader.webclient.gen.models.encrypted_rcl_result import EncryptedRCLResult from regula.documentreader.webclient.gen.models.encrypted_rcl_result_all_of import EncryptedRCLResultAllOf from regula.documentreader.webclient.gen.models.fdsid_list import FDSIDList +from regula.documentreader.webclient.gen.models.face_api import FaceApi +from regula.documentreader.webclient.gen.models.face_api_search import FaceApiSearch from regula.documentreader.webclient.gen.models.fiber_result import FiberResult from regula.documentreader.webclient.gen.models.fiber_result_all_of import FiberResultAllOf from regula.documentreader.webclient.gen.models.graphic_field import GraphicField diff --git a/regula/documentreader/webclient/gen/models/check_diagnose.py b/regula/documentreader/webclient/gen/models/check_diagnose.py index ba1c8ee..876033b 100644 --- a/regula/documentreader/webclient/gen/models/check_diagnose.py +++ b/regula/documentreader/webclient/gen/models/check_diagnose.py @@ -182,6 +182,8 @@ class CheckDiagnose(object): NOT_ALL_BARCODES_READ = int("143") + GLARES_IN_BARCODE_AREA = int("144") + PORTRAIT_COMPARISON_PORTRAITS_DIFFER = int("150") PORTRAIT_COMPARISON_NO_SERVICE_REPLY = int("151") @@ -242,9 +244,11 @@ class CheckDiagnose(object): DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = int("240") + DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = int("241") + LAST_DIAGNOSE_VALUE = int("250") - 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, 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_IP_PARAMETERS, 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, 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, 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_ELECTRONIC_DEVICE_DETECTED, LAST_DIAGNOSE_VALUE] # noqa: E501 + 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, 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_IP_PARAMETERS, 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, 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, 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_ELECTRONIC_DEVICE_DETECTED, DOC_LIVENESS_INVALID_BARCODE_BACKGROUND, LAST_DIAGNOSE_VALUE] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/document_type.py b/regula/documentreader/webclient/gen/models/document_type.py index 0081a9e..80647b1 100755 --- a/regula/documentreader/webclient/gen/models/document_type.py +++ b/regula/documentreader/webclient/gen/models/document_type.py @@ -480,7 +480,11 @@ class DocumentType(object): PASSPORT_PAGE = int("240") - allowable_values = [NOT_DEFINED, PASSPORT, IDENTITY_CARD, DIPLOMATIC_PASSPORT, SERVICE_PASSPORT, SEAMANS_IDENTITY_DOCUMENT, IDENTITY_CARD_FOR_RESIDENCE, TRAVEL_DOCUMENT, NATIONAL_IDENTITY_CARD, SOCIAL_IDENTITY_CARD, ALIENS_IDENTITY_CARD, PRIVILEGED_IDENTITY_CARD, RESIDENCE_PERMIT_IDENTITY_CARD, ORIGIN_CARD, EMERGENCY_PASSPORT, ALIENS_PASSPORT, ALTERNATIVE_IDENTITY_CARD, VISA_ID2, VISA_ID3, AUTHORIZATION_CARD, BEGINNER_PERMIT, BORDER_CROSSING_CARD, CHAUFFEUR_LICENSE, CHAUFFEUR_LICENSE_UNDER_18, CHAUFFEUR_LICENSE_UNDER_21, COMMERCIAL_DRIVING_LICENSE, COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT, COMMERCIAL_DRIVING_LICENSE_UNDER_18, COMMERCIAL_DRIVING_LICENSE_UNDER_21, COMMERCIAL_INSTRUCTION_PERMIT, COMMERCIAL_NEW_PERMIT, CONCEALED_CARRY_LICENSE, CONCEALED_FIREARM_PERMIT, CONDITIONAL_DRIVING_LICENSE, DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD, DIPLOMATIC_DRIVING_LICENSE, DRIVING_LICENSE, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21, DRIVING_LICENSE_LEARNERS_PERMIT, DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18, DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21, DRIVING_LICENSE_NOVICE, DRIVING_LICENSE_NOVICE_UNDER_18, DRIVING_LICENSE_NOVICE_UNDER_21, DRIVING_LICENSE_REGISTERED_OFFENDER, DRIVING_LICENSE_RESTRICTED_UNDER_18, DRIVING_LICENSE_RESTRICTED_UNDER_21, DRIVING_LICENSE_TEMPORARY_VISITOR, DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18, DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21, DRIVING_LICENSE_UNDER_18, DRIVING_LICENSE_UNDER_21, EMPLOYMENT_DRIVING_PERMIT, ENHANCED_CHAUFFEUR_LICENSE, ENHANCED_CHAUFFEUR_LICENSE_UNDER_18, ENHANCED_CHAUFFEUR_LICENSE_UNDER_21, ENHANCED_COMMERCIAL_DRIVING_LICENSE, ENHANCED_DRIVING_LICENSE, ENHANCED_DRIVING_LICENSE_UNDER_18, ENHANCED_DRIVING_LICENSE_UNDER_21, ENHANCED_IDENTITY_CARD, ENHANCED_IDENTITY_CARD_UNDER_18, ENHANCED_IDENTITY_CARD_UNDER_21, ENHANCED_OPERATORS_LICENSE, FIREARMS_PERMIT, FULL_PROVISIONAL_LICENSE, FULL_PROVISIONAL_LICENSE_UNDER_18, FULL_PROVISIONAL_LICENSE_UNDER_21, GENEVA_CONVENTIONS_IDENTITY_CARD, GRADUATED_DRIVING_LICENSE_UNDER_18, GRADUATED_DRIVING_LICENSE_UNDER_21, GRADUATED_INSTRUCTION_PERMIT_UNDER_18, GRADUATED_INSTRUCTION_PERMIT_UNDER_21, GRADUATED_LICENSE_UNDER_18, GRADUATED_LICENSE_UNDER_21, HANDGUN_CARRY_PERMIT, IDENTITY_AND_PRIVILEGE_CARD, IDENTITY_CARD_MOBILITY_IMPAIRED, IDENTITY_CARD_REGISTERED_OFFENDER, IDENTITY_CARD_TEMPORARY_VISITOR, IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18, IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21, IDENTITY_CARD_UNDER_18, IDENTITY_CARD_UNDER_21, OTHER, IGNITION_INTERLOCK_PERMIT, IMMIGRANT_VISA, INSTRUCTION_PERMIT, INSTRUCTION_PERMIT_UNDER_18, INSTRUCTION_PERMIT_UNDER_21, INTERIM_DRIVING_LICENSE, INTERIM_IDENTITY_CARD, INTERMEDIATE_DRIVING_LICENSE, INTERMEDIATE_DRIVING_LICENSE_UNDER_18, INTERMEDIATE_DRIVING_LICENSE_UNDER_21, JUNIOR_DRIVING_LICENSE, LEARNER_INSTRUCTIONAL_PERMIT, LEARNER_LICENSE, LEARNER_LICENSE_UNDER_18, LEARNER_LICENSE_UNDER_21, LEARNER_PERMIT, LEARNER_PERMIT_UNDER_18, LEARNER_PERMIT_UNDER_21, LIMITED_LICENSE, LIMITED_PERMIT, LIMITED_TERM_DRIVING_LICENSE, LIMITED_TERM_IDENTITY_CARD, LIQUOR_IDENTITY_CARD, NEW_PERMIT, NEW_PERMIT_UNDER_18, NEW_PERMIT_UNDER_21, NON_US_CITIZEN_DRIVING_LICENSE, OCCUPATIONAL_DRIVING_LICENSE, ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD, OPERATOR_LICENSE, OPERATOR_LICENSE_UNDER_18, OPERATOR_LICENSE_UNDER_21, PERMANENT_DRIVING_LICENSE, PERMIT_TO_REENTER, PROBATIONARY_AUTO_LICENSE, PROBATIONARY_DRIVING_LICENSE_UNDER_18, PROBATIONARY_DRIVING_LICENSE_UNDER_21, PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE, PROVISIONAL_DRIVING_LICENSE, PROVISIONAL_DRIVING_LICENSE_UNDER_18, PROVISIONAL_DRIVING_LICENSE_UNDER_21, PROVISIONAL_LICENSE, PROVISIONAL_LICENSE_UNDER_18, PROVISIONAL_LICENSE_UNDER_21, PUBLIC_PASSENGER_CHAUFFEUR_LICENSE, RACING_AND_GAMING_COMISSION_CARD, REFUGEE_TRAVEL_DOCUMENT, RENEWAL_PERMIT, RESTRICTED_COMMERCIAL_DRIVER_LICENSE, RESTRICTED_DRIVER_LICENSE, RESTRICTED_PERMIT, SEASONAL_PERMIT, SEASONAL_RESIDENT_IDENTITY_CARD, SEASONAL_CITIZEN_IDENTITY_CARD, SEX_OFFENDER, SOCIAL_SECURITY_CARD, TEMPORARY_DRIVING_LICENSE, TEMPORARY_DRIVING_LICENSE_UNDER_18, TEMPORARY_DRIVING_LICENSE_UNDER_21, TEMPORARY_IDENTITY_CARD, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21, TEMPORARY_VISITOR_DRIVING_LICENSE, TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18, TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21, UNIFORMED_SERVICES_IDENTITY_CARD, VEHICLE_SALES_PERSON_LICENSE, WORKER_IDENTIFICATION_CREDENTIAL, COMMERCIAL_DRIVING_LICENSE_NOVICE, COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18, COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21, PASSPORT_CARD, PASSPORT_RESIDENT_CARD, PERSONAL_IDENTIFICATION_VERIFICATION, TEMPORARY_OPERATOR_LICENSE, DRIVING_LICENSE_UNDER_19, IDENTITY_CARD_UNDER_19, VISA, TEMPORARY_PASSPORT, VOTING_CARD, HEALTH_CARD, CERTIFICATE_OF_CITIZENSHIP, ADDRESS_CARD, AIRPORT_IMMIGRATION_CARD, ALIEN_REGISTRATION_CARD, APEH_CARD, COUPON_TO_DRIVING_LICENSE, CREW_MEMBER_CERTIFICATE, DOCUMENT_FOR_RETURN, E_CARD, EMPLOYMENT_CARD, HKSAR_IMMIGRATION_FORM, IMMIGRANT_CARD, LABOUR_CARD, LAISSEZ_PASSER, LAWYER_IDENTITY_CERTIFICATE, LICENSE_CARD, PASSPORT_STATELESS, PASSPORT_CHILD, PASSPORT_CONSULAR, PASSPORT_DIPLOMATIC_SERVICE, PASSPORT_OFFICIAL, PASSPORT_PROVISIONAL, PASSPORT_SPECIAL, PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC, REGISTRATION_CERTIFICATE, SEDESOL_CARD, SOCIAL_CARD, TB_CARD, VEHICLE_PASSPORT, W_DOCUMENT, DIPLOMATIC_IDENTITY_CARD, CONSULAR_IDENTITY_CARD, INCOME_TAX_CARD, RESIDENCE_PERMIT, DOCUMENT_OF_IDENTITY, BORDER_CROSSING_PERMIT, PASSPORT_LIMITED_VALIDITY, SIM_CARD, TAX_CARD, COMPANY_CARD, DOMESTIC_PASSPORT, IDENTITY_CERTIFICATE, RESIDENT_ID_CARD, ARMED_FORCES_IDENTITY_CARD, PROFESSIONAL_CARD, REGISTRATION_STAMP, DRIVER_CARD, DRIVER_TRAINING_CERTIFICATE, QUALIFICATION_DRIVING_LICENSE, MEMBERSHIP_CARD, PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD, MARINE_LICENSE, TEMPORARY_LEARNER_LICENSE, TEMPORARY_COMMERCIAL_DRIVING_LICENSE, INTERIM_INSTRUCTIONAL_PERMIT, CERTIFICATE_OF_COMPETENCY, CERTIFICATE_OF_PROFICIENCY, TRADE_LICENSE, PASSPORT_PAGE] # noqa: E501 + INVOICE = int("241") + + PASSENGER_LOCATOR_FORM = int("242") + + allowable_values = [NOT_DEFINED, PASSPORT, IDENTITY_CARD, DIPLOMATIC_PASSPORT, SERVICE_PASSPORT, SEAMANS_IDENTITY_DOCUMENT, IDENTITY_CARD_FOR_RESIDENCE, TRAVEL_DOCUMENT, NATIONAL_IDENTITY_CARD, SOCIAL_IDENTITY_CARD, ALIENS_IDENTITY_CARD, PRIVILEGED_IDENTITY_CARD, RESIDENCE_PERMIT_IDENTITY_CARD, ORIGIN_CARD, EMERGENCY_PASSPORT, ALIENS_PASSPORT, ALTERNATIVE_IDENTITY_CARD, VISA_ID2, VISA_ID3, AUTHORIZATION_CARD, BEGINNER_PERMIT, BORDER_CROSSING_CARD, CHAUFFEUR_LICENSE, CHAUFFEUR_LICENSE_UNDER_18, CHAUFFEUR_LICENSE_UNDER_21, COMMERCIAL_DRIVING_LICENSE, COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT, COMMERCIAL_DRIVING_LICENSE_UNDER_18, COMMERCIAL_DRIVING_LICENSE_UNDER_21, COMMERCIAL_INSTRUCTION_PERMIT, COMMERCIAL_NEW_PERMIT, CONCEALED_CARRY_LICENSE, CONCEALED_FIREARM_PERMIT, CONDITIONAL_DRIVING_LICENSE, DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD, DIPLOMATIC_DRIVING_LICENSE, DRIVING_LICENSE, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18, DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21, DRIVING_LICENSE_LEARNERS_PERMIT, DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18, DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21, DRIVING_LICENSE_NOVICE, DRIVING_LICENSE_NOVICE_UNDER_18, DRIVING_LICENSE_NOVICE_UNDER_21, DRIVING_LICENSE_REGISTERED_OFFENDER, DRIVING_LICENSE_RESTRICTED_UNDER_18, DRIVING_LICENSE_RESTRICTED_UNDER_21, DRIVING_LICENSE_TEMPORARY_VISITOR, DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18, DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21, DRIVING_LICENSE_UNDER_18, DRIVING_LICENSE_UNDER_21, EMPLOYMENT_DRIVING_PERMIT, ENHANCED_CHAUFFEUR_LICENSE, ENHANCED_CHAUFFEUR_LICENSE_UNDER_18, ENHANCED_CHAUFFEUR_LICENSE_UNDER_21, ENHANCED_COMMERCIAL_DRIVING_LICENSE, ENHANCED_DRIVING_LICENSE, ENHANCED_DRIVING_LICENSE_UNDER_18, ENHANCED_DRIVING_LICENSE_UNDER_21, ENHANCED_IDENTITY_CARD, ENHANCED_IDENTITY_CARD_UNDER_18, ENHANCED_IDENTITY_CARD_UNDER_21, ENHANCED_OPERATORS_LICENSE, FIREARMS_PERMIT, FULL_PROVISIONAL_LICENSE, FULL_PROVISIONAL_LICENSE_UNDER_18, FULL_PROVISIONAL_LICENSE_UNDER_21, GENEVA_CONVENTIONS_IDENTITY_CARD, GRADUATED_DRIVING_LICENSE_UNDER_18, GRADUATED_DRIVING_LICENSE_UNDER_21, GRADUATED_INSTRUCTION_PERMIT_UNDER_18, GRADUATED_INSTRUCTION_PERMIT_UNDER_21, GRADUATED_LICENSE_UNDER_18, GRADUATED_LICENSE_UNDER_21, HANDGUN_CARRY_PERMIT, IDENTITY_AND_PRIVILEGE_CARD, IDENTITY_CARD_MOBILITY_IMPAIRED, IDENTITY_CARD_REGISTERED_OFFENDER, IDENTITY_CARD_TEMPORARY_VISITOR, IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18, IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21, IDENTITY_CARD_UNDER_18, IDENTITY_CARD_UNDER_21, OTHER, IGNITION_INTERLOCK_PERMIT, IMMIGRANT_VISA, INSTRUCTION_PERMIT, INSTRUCTION_PERMIT_UNDER_18, INSTRUCTION_PERMIT_UNDER_21, INTERIM_DRIVING_LICENSE, INTERIM_IDENTITY_CARD, INTERMEDIATE_DRIVING_LICENSE, INTERMEDIATE_DRIVING_LICENSE_UNDER_18, INTERMEDIATE_DRIVING_LICENSE_UNDER_21, JUNIOR_DRIVING_LICENSE, LEARNER_INSTRUCTIONAL_PERMIT, LEARNER_LICENSE, LEARNER_LICENSE_UNDER_18, LEARNER_LICENSE_UNDER_21, LEARNER_PERMIT, LEARNER_PERMIT_UNDER_18, LEARNER_PERMIT_UNDER_21, LIMITED_LICENSE, LIMITED_PERMIT, LIMITED_TERM_DRIVING_LICENSE, LIMITED_TERM_IDENTITY_CARD, LIQUOR_IDENTITY_CARD, NEW_PERMIT, NEW_PERMIT_UNDER_18, NEW_PERMIT_UNDER_21, NON_US_CITIZEN_DRIVING_LICENSE, OCCUPATIONAL_DRIVING_LICENSE, ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD, OPERATOR_LICENSE, OPERATOR_LICENSE_UNDER_18, OPERATOR_LICENSE_UNDER_21, PERMANENT_DRIVING_LICENSE, PERMIT_TO_REENTER, PROBATIONARY_AUTO_LICENSE, PROBATIONARY_DRIVING_LICENSE_UNDER_18, PROBATIONARY_DRIVING_LICENSE_UNDER_21, PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE, PROVISIONAL_DRIVING_LICENSE, PROVISIONAL_DRIVING_LICENSE_UNDER_18, PROVISIONAL_DRIVING_LICENSE_UNDER_21, PROVISIONAL_LICENSE, PROVISIONAL_LICENSE_UNDER_18, PROVISIONAL_LICENSE_UNDER_21, PUBLIC_PASSENGER_CHAUFFEUR_LICENSE, RACING_AND_GAMING_COMISSION_CARD, REFUGEE_TRAVEL_DOCUMENT, RENEWAL_PERMIT, RESTRICTED_COMMERCIAL_DRIVER_LICENSE, RESTRICTED_DRIVER_LICENSE, RESTRICTED_PERMIT, SEASONAL_PERMIT, SEASONAL_RESIDENT_IDENTITY_CARD, SEASONAL_CITIZEN_IDENTITY_CARD, SEX_OFFENDER, SOCIAL_SECURITY_CARD, TEMPORARY_DRIVING_LICENSE, TEMPORARY_DRIVING_LICENSE_UNDER_18, TEMPORARY_DRIVING_LICENSE_UNDER_21, TEMPORARY_IDENTITY_CARD, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18, TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21, TEMPORARY_VISITOR_DRIVING_LICENSE, TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18, TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21, UNIFORMED_SERVICES_IDENTITY_CARD, VEHICLE_SALES_PERSON_LICENSE, WORKER_IDENTIFICATION_CREDENTIAL, COMMERCIAL_DRIVING_LICENSE_NOVICE, COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18, COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21, PASSPORT_CARD, PASSPORT_RESIDENT_CARD, PERSONAL_IDENTIFICATION_VERIFICATION, TEMPORARY_OPERATOR_LICENSE, DRIVING_LICENSE_UNDER_19, IDENTITY_CARD_UNDER_19, VISA, TEMPORARY_PASSPORT, VOTING_CARD, HEALTH_CARD, CERTIFICATE_OF_CITIZENSHIP, ADDRESS_CARD, AIRPORT_IMMIGRATION_CARD, ALIEN_REGISTRATION_CARD, APEH_CARD, COUPON_TO_DRIVING_LICENSE, CREW_MEMBER_CERTIFICATE, DOCUMENT_FOR_RETURN, E_CARD, EMPLOYMENT_CARD, HKSAR_IMMIGRATION_FORM, IMMIGRANT_CARD, LABOUR_CARD, LAISSEZ_PASSER, LAWYER_IDENTITY_CERTIFICATE, LICENSE_CARD, PASSPORT_STATELESS, PASSPORT_CHILD, PASSPORT_CONSULAR, PASSPORT_DIPLOMATIC_SERVICE, PASSPORT_OFFICIAL, PASSPORT_PROVISIONAL, PASSPORT_SPECIAL, PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC, REGISTRATION_CERTIFICATE, SEDESOL_CARD, SOCIAL_CARD, TB_CARD, VEHICLE_PASSPORT, W_DOCUMENT, DIPLOMATIC_IDENTITY_CARD, CONSULAR_IDENTITY_CARD, INCOME_TAX_CARD, RESIDENCE_PERMIT, DOCUMENT_OF_IDENTITY, BORDER_CROSSING_PERMIT, PASSPORT_LIMITED_VALIDITY, SIM_CARD, TAX_CARD, COMPANY_CARD, DOMESTIC_PASSPORT, IDENTITY_CERTIFICATE, RESIDENT_ID_CARD, ARMED_FORCES_IDENTITY_CARD, PROFESSIONAL_CARD, REGISTRATION_STAMP, DRIVER_CARD, DRIVER_TRAINING_CERTIFICATE, QUALIFICATION_DRIVING_LICENSE, MEMBERSHIP_CARD, PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD, MARINE_LICENSE, TEMPORARY_LEARNER_LICENSE, TEMPORARY_COMMERCIAL_DRIVING_LICENSE, INTERIM_INSTRUCTIONAL_PERMIT, CERTIFICATE_OF_COMPETENCY, CERTIFICATE_OF_PROFICIENCY, TRADE_LICENSE, PASSPORT_PAGE, INVOICE, PASSENGER_LOCATOR_FORM] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/face_api.py b/regula/documentreader/webclient/gen/models/face_api.py new file mode 100644 index 0000000..bce7cbe --- /dev/null +++ b/regula/documentreader/webclient/gen/models/face_api.py @@ -0,0 +1,315 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" + +""" +class FaceApi(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'url': 'str', + 'mode': 'str', + 'search': 'FaceApiSearch', + 'threshold': 'int', + 'service_timeout': 'int', + 'proxy': 'str', + 'proxy_userpwd': 'str', + 'proxy_type': 'int' + } + + attribute_map = { + 'url': 'url', + 'mode': 'mode', + 'search': 'search', + 'threshold': 'threshold', + 'service_timeout': 'serviceTimeout', + 'proxy': 'proxy', + 'proxy_userpwd': 'proxy_userpwd', + 'proxy_type': 'proxy_type' + } + + def __init__(self, url=None, mode=None, search=None, threshold=None, service_timeout=None, proxy=None, proxy_userpwd=None, proxy_type=None, local_vars_configuration=None): # noqa: E501 + """FaceApi - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._url = None + self._mode = None + self._search = None + self._threshold = None + self._service_timeout = None + self._proxy = None + self._proxy_userpwd = None + self._proxy_type = None + self.discriminator = None + + if url is not None: + self.url = url + if mode is not None: + self.mode = mode + if search is not None: + self.search = search + if threshold is not None: + self.threshold = threshold + if service_timeout is not None: + self.service_timeout = service_timeout + if proxy is not None: + self.proxy = proxy + if proxy_userpwd is not None: + self.proxy_userpwd = proxy_userpwd + if proxy_type is not None: + self.proxy_type = proxy_type + + @property + def url(self): + """Gets the url of this FaceApi. # noqa: E501 + + The URL of the Regula Face Web service to be used. # noqa: E501 + + :return: The url of this FaceApi. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this FaceApi. + + The URL of the Regula Face Web service to be used. # noqa: E501 + + :param url: The url of this FaceApi. # noqa: E501 + :type url: str + """ + + self._url = url + + @property + def mode(self): + """Gets the mode of this FaceApi. # noqa: E501 + + The processing mode: \"match\" or \"match+search\". # noqa: E501 + + :return: The mode of this FaceApi. # noqa: E501 + :rtype: str + """ + return self._mode + + @mode.setter + def mode(self, mode): + """Sets the mode of this FaceApi. + + The processing mode: \"match\" or \"match+search\". # noqa: E501 + + :param mode: The mode of this FaceApi. # noqa: E501 + :type mode: str + """ + + self._mode = mode + + @property + def search(self): + """Gets the search of this FaceApi. # noqa: E501 + + + :return: The search of this FaceApi. # noqa: E501 + :rtype: FaceApiSearch + """ + return self._search + + @search.setter + def search(self, search): + """Sets the search of this FaceApi. + + + :param search: The search of this FaceApi. # noqa: E501 + :type search: FaceApiSearch + """ + + self._search = search + + @property + def threshold(self): + """Gets the threshold of this FaceApi. # noqa: E501 + + The similarity threshold, 0-100. Above 75 means that the faces' similarity is verified, below 75 is not. # noqa: E501 + + :return: The threshold of this FaceApi. # noqa: E501 + :rtype: int + """ + return self._threshold + + @threshold.setter + def threshold(self, threshold): + """Sets the threshold of this FaceApi. + + The similarity threshold, 0-100. Above 75 means that the faces' similarity is verified, below 75 is not. # noqa: E501 + + :param threshold: The threshold of this FaceApi. # noqa: E501 + :type threshold: int + """ + + self._threshold = threshold + + @property + def service_timeout(self): + """Gets the service_timeout of this FaceApi. # noqa: E501 + + The Regula Face Web service requests timeout, ms. # noqa: E501 + + :return: The service_timeout of this FaceApi. # noqa: E501 + :rtype: int + """ + return self._service_timeout + + @service_timeout.setter + def service_timeout(self, service_timeout): + """Sets the service_timeout of this FaceApi. + + The Regula Face Web service requests timeout, ms. # noqa: E501 + + :param service_timeout: The service_timeout of this FaceApi. # noqa: E501 + :type service_timeout: int + """ + + self._service_timeout = service_timeout + + @property + def proxy(self): + """Gets the proxy of this FaceApi. # noqa: E501 + + Proxy to use, should be set according to the cURL standard. # noqa: E501 + + :return: The proxy of this FaceApi. # noqa: E501 + :rtype: str + """ + return self._proxy + + @proxy.setter + def proxy(self, proxy): + """Sets the proxy of this FaceApi. + + Proxy to use, should be set according to the cURL standard. # noqa: E501 + + :param proxy: The proxy of this FaceApi. # noqa: E501 + :type proxy: str + """ + + self._proxy = proxy + + @property + def proxy_userpwd(self): + """Gets the proxy_userpwd of this FaceApi. # noqa: E501 + + Username and password to use for proxy authentication, should be set according to the cURL standard. # noqa: E501 + + :return: The proxy_userpwd of this FaceApi. # noqa: E501 + :rtype: str + """ + return self._proxy_userpwd + + @proxy_userpwd.setter + def proxy_userpwd(self, proxy_userpwd): + """Sets the proxy_userpwd of this FaceApi. + + Username and password to use for proxy authentication, should be set according to the cURL standard. # noqa: E501 + + :param proxy_userpwd: The proxy_userpwd of this FaceApi. # noqa: E501 + :type proxy_userpwd: str + """ + + self._proxy_userpwd = proxy_userpwd + + @property + def proxy_type(self): + """Gets the proxy_type of this FaceApi. # noqa: E501 + + Proxy protocol type, should be set according to the cURL standard. # noqa: E501 + + :return: The proxy_type of this FaceApi. # noqa: E501 + :rtype: int + """ + return self._proxy_type + + @proxy_type.setter + def proxy_type(self, proxy_type): + """Sets the proxy_type of this FaceApi. + + Proxy protocol type, should be set according to the cURL standard. # noqa: E501 + + :param proxy_type: The proxy_type of this FaceApi. # noqa: E501 + :type proxy_type: int + """ + + self._proxy_type = proxy_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FaceApi): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FaceApi): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/face_api_search.py b/regula/documentreader/webclient/gen/models/face_api_search.py new file mode 100644 index 0000000..7e6c8cd --- /dev/null +++ b/regula/documentreader/webclient/gen/models/face_api_search.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + Generated by: https://openapi-generator.tech +""" + +import pprint +import re # noqa: F401 + +import six + +from regula.documentreader.webclient.gen.configuration import Configuration +# this line was added to enable pycharm type hinting +from regula.documentreader.webclient.gen.models import * + + +""" +A search filter that can be applied if the "match+search" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the <a href="https://dev.regulaforensics.com/FaceSDK-web-openapi/#tag/search/operation/search" target="_blank">OpenAPI documentation</a>. +""" +class FaceApiSearch(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'limit': 'int', + 'threshold': 'float', + 'group_ids': 'list[int]' + } + + attribute_map = { + 'limit': 'limit', + 'threshold': 'threshold', + 'group_ids': 'group_ids' + } + + def __init__(self, limit=None, threshold=None, group_ids=None, local_vars_configuration=None): # noqa: E501 + """FaceApiSearch - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._limit = None + self._threshold = None + self._group_ids = None + self.discriminator = None + + if limit is not None: + self.limit = limit + if threshold is not None: + self.threshold = threshold + if group_ids is not None: + self.group_ids = group_ids + + @property + def limit(self): + """Gets the limit of this FaceApiSearch. # noqa: E501 + + The maximum number of results to be returned. # noqa: E501 + + :return: The limit of this FaceApiSearch. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this FaceApiSearch. + + The maximum number of results to be returned. # noqa: E501 + + :param limit: The limit of this FaceApiSearch. # noqa: E501 + :type limit: int + """ + + self._limit = limit + + @property + def threshold(self): + """Gets the threshold of this FaceApiSearch. # noqa: E501 + + The similarity threshold. # noqa: E501 + + :return: The threshold of this FaceApiSearch. # noqa: E501 + :rtype: float + """ + return self._threshold + + @threshold.setter + def threshold(self, threshold): + """Sets the threshold of this FaceApiSearch. + + The similarity threshold. # noqa: E501 + + :param threshold: The threshold of this FaceApiSearch. # noqa: E501 + :type threshold: float + """ + + self._threshold = threshold + + @property + def group_ids(self): + """Gets the group_ids of this FaceApiSearch. # noqa: E501 + + The groups where to conduct the search. # noqa: E501 + + :return: The group_ids of this FaceApiSearch. # noqa: E501 + :rtype: list[int] + """ + return self._group_ids + + @group_ids.setter + def group_ids(self, group_ids): + """Sets the group_ids of this FaceApiSearch. + + The groups where to conduct the search. # noqa: E501 + + :param group_ids: The group_ids of this FaceApiSearch. # noqa: E501 + :type group_ids: list[int] + """ + + self._group_ids = group_ids + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FaceApiSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FaceApiSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/regula/documentreader/webclient/gen/models/process_params.py b/regula/documentreader/webclient/gen/models/process_params.py index d6d8988..49c1b68 100755 --- a/regula/documentreader/webclient/gen/models/process_params.py +++ b/regula/documentreader/webclient/gen/models/process_params.py @@ -32,6 +32,10 @@ class ProcessParams(object): and the value is json key in definition. """ openapi_types = { + 'one_shot_identification': 'bool', + 'use_face_api': 'bool', + 'face_api': 'FaceApi', + 'do_detect_can': 'bool', 'image_output_max_height': 'int', 'image_output_max_width': 'int', 'scenario': 'Scenario', @@ -80,6 +84,10 @@ class ProcessParams(object): } attribute_map = { + 'one_shot_identification': 'oneShotIdentification', + 'use_face_api': 'useFaceApi', + 'face_api': 'faceApi', + 'do_detect_can': 'doDetectCan', 'image_output_max_height': 'imageOutputMaxHeight', 'image_output_max_width': 'imageOutputMaxWidth', 'scenario': 'scenario', @@ -127,12 +135,16 @@ class ProcessParams(object): 'rfid': 'rfid' } - def __init__(self, image_output_max_height=None, image_output_max_width=None, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, document_area_min=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, process_auth=None, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, one_shot_identification=None, use_face_api=None, face_api=None, do_detect_can=None, image_output_max_height=None, image_output_max_width=None, scenario=None, result_type_output=None, double_page_spread=None, generate_double_page_spread_image=None, field_types_filter=None, date_format=None, measure_system=None, image_dpi_out_max=None, already_cropped=None, custom_params=None, config=None, log=None, log_level=None, force_doc_id=None, match_text_field_mask=None, fast_doc_detect=None, update_ocr_validity_by_glare=None, check_required_text_fields=None, return_cropped_barcode=None, image_qa=None, respect_image_quality=None, force_doc_format=None, no_graphics=None, document_area_min=None, depersonalize_log=None, multi_doc_on_image=None, shift_expiry_date=None, minimal_holder_age=None, return_uncropped_image=None, mrz_formats_filter=None, force_read_mrz_before_locate=None, parse_barcodes=None, convert_case=None, split_names=None, disable_perforation_ocr=None, document_group_filter=None, process_auth=None, device_id=None, device_type=None, device_type_hex=None, ignore_device_id_from_image=None, document_id_list=None, rfid=None, local_vars_configuration=None): # noqa: E501 """ProcessParams - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._one_shot_identification = None + self._use_face_api = None + self._face_api = None + self._do_detect_can = None self._image_output_max_height = None self._image_output_max_width = None self._scenario = None @@ -180,6 +192,14 @@ def __init__(self, image_output_max_height=None, image_output_max_width=None, sc self._rfid = None self.discriminator = None + if one_shot_identification is not None: + self.one_shot_identification = one_shot_identification + if use_face_api is not None: + self.use_face_api = use_face_api + if face_api is not None: + self.face_api = face_api + if do_detect_can is not None: + self.do_detect_can = do_detect_can if image_output_max_height is not None: self.image_output_max_height = image_output_max_height if image_output_max_width is not None: @@ -270,6 +290,96 @@ def __init__(self, image_output_max_height=None, image_output_max_width=None, sc if rfid is not None: self.rfid = rfid + @property + def one_shot_identification(self): + """Gets the one_shot_identification of this ProcessParams. # noqa: E501 + + This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person's face # noqa: E501 + + :return: The one_shot_identification of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._one_shot_identification + + @one_shot_identification.setter + def one_shot_identification(self, one_shot_identification): + """Sets the one_shot_identification of this ProcessParams. + + This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person's face # noqa: E501 + + :param one_shot_identification: The one_shot_identification of this ProcessParams. # noqa: E501 + :type one_shot_identification: bool + """ + + self._one_shot_identification = one_shot_identification + + @property + def use_face_api(self): + """Gets the use_face_api of this ProcessParams. # noqa: E501 + + This parameter allows comparing faces on Regula Face Web Service # noqa: E501 + + :return: The use_face_api of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._use_face_api + + @use_face_api.setter + def use_face_api(self, use_face_api): + """Sets the use_face_api of this ProcessParams. + + This parameter allows comparing faces on Regula Face Web Service # noqa: E501 + + :param use_face_api: The use_face_api of this ProcessParams. # noqa: E501 + :type use_face_api: bool + """ + + self._use_face_api = use_face_api + + @property + def face_api(self): + """Gets the face_api of this ProcessParams. # noqa: E501 + + + :return: The face_api of this ProcessParams. # noqa: E501 + :rtype: FaceApi + """ + return self._face_api + + @face_api.setter + def face_api(self, face_api): + """Sets the face_api of this ProcessParams. + + + :param face_api: The face_api of this ProcessParams. # noqa: E501 + :type face_api: FaceApi + """ + + self._face_api = face_api + + @property + def do_detect_can(self): + """Gets the do_detect_can of this ProcessParams. # noqa: E501 + + This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. # noqa: E501 + + :return: The do_detect_can of this ProcessParams. # noqa: E501 + :rtype: bool + """ + return self._do_detect_can + + @do_detect_can.setter + def do_detect_can(self, do_detect_can): + """Sets the do_detect_can of this ProcessParams. + + This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. # noqa: E501 + + :param do_detect_can: The do_detect_can of this ProcessParams. # noqa: E501 + :type do_detect_can: bool + """ + + self._do_detect_can = do_detect_can + @property def image_output_max_height(self): """Gets the image_output_max_height of this ProcessParams. # noqa: E501 diff --git a/regula/documentreader/webclient/gen/models/process_request.py b/regula/documentreader/webclient/gen/models/process_request.py index dd7add7..e8a7f1f 100755 --- a/regula/documentreader/webclient/gen/models/process_request.py +++ b/regula/documentreader/webclient/gen/models/process_request.py @@ -35,6 +35,8 @@ class ProcessRequest(object): 'tag': 'str', 'process_param': 'ProcessParams', 'list': 'list[ProcessRequestImage]', + 'live_portrait': 'str', + 'ext_portrait': 'str', 'container_list': 'ContainerList', 'system_info': 'ProcessSystemInfo', 'pass_back_object': 'dict(str, object)' @@ -44,12 +46,14 @@ class ProcessRequest(object): 'tag': 'tag', 'process_param': 'processParam', 'list': 'List', + 'live_portrait': 'livePortrait', + 'ext_portrait': 'extPortrait', 'container_list': 'ContainerList', 'system_info': 'systemInfo', 'pass_back_object': 'passBackObject' } - def __init__(self, tag=None, process_param=None, list=None, container_list=None, system_info=None, pass_back_object=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, tag=None, process_param=None, list=None, live_portrait=None, ext_portrait=None, container_list=None, system_info=None, pass_back_object=None, local_vars_configuration=None): # noqa: E501 """ProcessRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -58,6 +62,8 @@ def __init__(self, tag=None, process_param=None, list=None, container_list=None, self._tag = None self._process_param = None self._list = None + self._live_portrait = None + self._ext_portrait = None self._container_list = None self._system_info = None self._pass_back_object = None @@ -68,6 +74,10 @@ def __init__(self, tag=None, process_param=None, list=None, container_list=None, self.process_param = process_param if list is not None: self.list = list + if live_portrait is not None: + self.live_portrait = live_portrait + if ext_portrait is not None: + self.ext_portrait = ext_portrait if container_list is not None: self.container_list = container_list if system_info is not None: @@ -142,6 +152,52 @@ def list(self, list): self._list = list + @property + def live_portrait(self): + """Gets the live_portrait of this ProcessRequest. # noqa: E501 + + Live portrait photo # noqa: E501 + + :return: The live_portrait of this ProcessRequest. # noqa: E501 + :rtype: str + """ + return self._live_portrait + + @live_portrait.setter + def live_portrait(self, live_portrait): + """Sets the live_portrait of this ProcessRequest. + + Live portrait photo # noqa: E501 + + :param live_portrait: The live_portrait of this ProcessRequest. # noqa: E501 + :type live_portrait: str + """ + + self._live_portrait = live_portrait + + @property + def ext_portrait(self): + """Gets the ext_portrait of this ProcessRequest. # noqa: E501 + + Portrait photo from an external source # noqa: E501 + + :return: The ext_portrait of this ProcessRequest. # noqa: E501 + :rtype: str + """ + return self._ext_portrait + + @ext_portrait.setter + def ext_portrait(self, ext_portrait): + """Sets the ext_portrait of this ProcessRequest. + + Portrait photo from an external source # noqa: E501 + + :param ext_portrait: The ext_portrait of this ProcessRequest. # noqa: E501 + :type ext_portrait: str + """ + + self._ext_portrait = ext_portrait + @property def container_list(self): """Gets the container_list of this ProcessRequest. # noqa: E501 diff --git a/regula/documentreader/webclient/gen/models/result.py b/regula/documentreader/webclient/gen/models/result.py index 5488f75..de1311c 100755 --- a/regula/documentreader/webclient/gen/models/result.py +++ b/regula/documentreader/webclient/gen/models/result.py @@ -15,7 +15,7 @@ """ -Describes possible extracted result types from documents + """ class Result(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -26,45 +26,51 @@ class Result(object): DOCUMENT_IMAGE = int("1") - IMAGE_QUALITY = int("30") + MRZ_TEXT = int("3") - STATUS = int("33") + BARCODES = int("5") - TEXT = int("36") + VISUAL_GRAPHICS = int("6") - IMAGES = int("37") + DOCUMENT_TYPE_CANDIDATES = int("8") - MRZ_TEXT = int("3") + DOCUMENT_TYPE = int("9") + + LEXICAL_ANALYSIS = int("15") VISUAL_TEXT = int("17") BARCODE_TEXT = int("18") - RFID_TEXT = int("102") + BARCODE_GRAPHICS = int("19") - LEXICAL_ANALYSIS = int("15") + AUTHENTICITY = int("20") - VISUAL_GRAPHICS = int("6") + IMAGE_QUALITY = int("30") - BARCODE_GRAPHICS = int("19") + STATUS = int("33") - RFID_GRAPHICS = int("103") + TEXT = int("36") - DOCUMENT_TYPE_CANDIDATES = int("8") + IMAGES = int("37") - DOCUMENT_TYPE = int("9") + ENCRYPTED_RCL = int("49") - AUTHENTICITY = int("20") + LICENSE = int("50") DOCUMENT_POSITION = int("85") - BARCODES = int("5") + RFID_RAW_DATA = int("101") - LICENSE = int("50") + RFID_TEXT = int("102") - ENCRYPTED_RCL = int("49") + RFID_GRAPHICS = int("103") + + RFID_BINARY_DATA = int("104") + + RFID_ORIGINAL_GRAPHICS = int("105") - allowable_values = [DOCUMENT_IMAGE, IMAGE_QUALITY, STATUS, TEXT, IMAGES, MRZ_TEXT, VISUAL_TEXT, BARCODE_TEXT, RFID_TEXT, LEXICAL_ANALYSIS, VISUAL_GRAPHICS, BARCODE_GRAPHICS, RFID_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, AUTHENTICITY, DOCUMENT_POSITION, BARCODES, LICENSE, ENCRYPTED_RCL] # noqa: E501 + allowable_values = [DOCUMENT_IMAGE, MRZ_TEXT, BARCODES, VISUAL_GRAPHICS, DOCUMENT_TYPE_CANDIDATES, DOCUMENT_TYPE, LEXICAL_ANALYSIS, VISUAL_TEXT, BARCODE_TEXT, BARCODE_GRAPHICS, AUTHENTICITY, IMAGE_QUALITY, STATUS, TEXT, IMAGES, ENCRYPTED_RCL, LICENSE, DOCUMENT_POSITION, RFID_RAW_DATA, RFID_TEXT, RFID_GRAPHICS, RFID_BINARY_DATA, RFID_ORIGINAL_GRAPHICS] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/scenario.py b/regula/documentreader/webclient/gen/models/scenario.py index 4541e2a..c54aa71 100755 --- a/regula/documentreader/webclient/gen/models/scenario.py +++ b/regula/documentreader/webclient/gen/models/scenario.py @@ -52,8 +52,6 @@ class Scenario(object): FULL_AUTH = "FullAuth" - ID3RUS = "Id3Rus" - RUS_STAMP = "RusStamp" OCR_FREE = "OcrFree" @@ -62,7 +60,7 @@ class Scenario(object): CAPTURE = "Capture" - allowable_values = [MRZ, BARCODE, LOCATE, OCR, DOCTYPE, MRZ_OR_BARCODE, MRZ_OR_LOCATE, MRZ_AND_LOCATE, BARCODE_AND_LOCATE, MRZ_OR_OCR, MRZ_OR_BARCODE_OR_OCR, LOCATE_VISUAL_AND_MRZ_OR_OCR, FULL_PROCESS, FULL_AUTH, ID3RUS, RUS_STAMP, OCR_FREE, CREDIT_CARD, CAPTURE] # noqa: E501 + allowable_values = [MRZ, BARCODE, LOCATE, OCR, DOCTYPE, MRZ_OR_BARCODE, MRZ_OR_LOCATE, MRZ_AND_LOCATE, BARCODE_AND_LOCATE, MRZ_OR_OCR, MRZ_OR_BARCODE_OR_OCR, LOCATE_VISUAL_AND_MRZ_OR_OCR, FULL_PROCESS, FULL_AUTH, RUS_STAMP, OCR_FREE, CREDIT_CARD, CAPTURE] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/security_feature_type.py b/regula/documentreader/webclient/gen/models/security_feature_type.py index 0c75b60..c433c29 100644 --- a/regula/documentreader/webclient/gen/models/security_feature_type.py +++ b/regula/documentreader/webclient/gen/models/security_feature_type.py @@ -112,7 +112,9 @@ class SecurityFeatureType(object): LIVENESS_MLI = int("44") - allowable_values = [BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DYNAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_COLORS, PATTERN_IR_INVISIBLE, PHOTO_SIZE_CHECK, PORTRAIT_COMPARISON_VS_GHOST, PORTRAIT_COMPARISON_VS_RFID, PORTRAIT_COMPARISON_VS_VISUAL, BARCODE, PATTERN_DIFFERENT_LINES_THICKNESS, PORTRAIT_COMPARISON_VS_CAMERA, PORTRAIT_COMPARISON_RFID_VS_CAMERA, GHOST_PHOTO, CLEAR_GHOST_PHOTO, INVISIBLE_OBJECT, LOW_CONTRAST_OBJECT, PHOTO_COLOR, PHOTO_SHAPE, PHOTO_CORNERS, OCR, PORTRAIT_COMPARISON_EXT_VS_VISUAL, PORTRAIT_COMPARISON_EXT_VS_RFID, PORTRAIT_COMPARISON_EXT_VS_CAMERA, LIVENESS_DEPTH, MICRO_TEXT, FLUORESCENT_OBJECT, LANDMARK_CHECK, FACE_PRESENCE, FACE_ABSENCE, LIVENESS_SCREEN_CAPTURE, LIVENESS_ELECTRONIC_DEVICE, LIVENESS_OVI, BARCODE_SIZE_CHECK, LASINK, LIVENESS_MLI] # noqa: E501 + LIVENESS_BARCODE_BACKGROUND = int("45") + + allowable_values = [BLANK, FILL, PHOTO, MRZ, FALSE_LUMINESCENCE, HOLO_SIMPLE, HOLO_VERIFY_STATIC, HOLO_VERIFY_MULTI_STATIC, HOLO_VERIFY_DYNAMIC, PATTERN_NOT_INTERRUPTED, PATTERN_NOT_SHIFTED, PATTERN_SAME_COLORS, PATTERN_IR_INVISIBLE, PHOTO_SIZE_CHECK, PORTRAIT_COMPARISON_VS_GHOST, PORTRAIT_COMPARISON_VS_RFID, PORTRAIT_COMPARISON_VS_VISUAL, BARCODE, PATTERN_DIFFERENT_LINES_THICKNESS, PORTRAIT_COMPARISON_VS_CAMERA, PORTRAIT_COMPARISON_RFID_VS_CAMERA, GHOST_PHOTO, CLEAR_GHOST_PHOTO, INVISIBLE_OBJECT, LOW_CONTRAST_OBJECT, PHOTO_COLOR, PHOTO_SHAPE, PHOTO_CORNERS, OCR, PORTRAIT_COMPARISON_EXT_VS_VISUAL, PORTRAIT_COMPARISON_EXT_VS_RFID, PORTRAIT_COMPARISON_EXT_VS_CAMERA, LIVENESS_DEPTH, MICRO_TEXT, FLUORESCENT_OBJECT, LANDMARK_CHECK, FACE_PRESENCE, FACE_ABSENCE, LIVENESS_SCREEN_CAPTURE, LIVENESS_ELECTRONIC_DEVICE, LIVENESS_OVI, BARCODE_SIZE_CHECK, LASINK, LIVENESS_MLI, LIVENESS_BARCODE_BACKGROUND] # noqa: E501 """ Attributes: diff --git a/regula/documentreader/webclient/gen/models/text_field_type.py b/regula/documentreader/webclient/gen/models/text_field_type.py index bb70357..075f6eb 100755 --- a/regula/documentreader/webclient/gen/models/text_field_type.py +++ b/regula/documentreader/webclient/gen/models/text_field_type.py @@ -42,7 +42,7 @@ class TextFieldType(object): SURNAME = int("8") - GIVEN_NAME = int("9") + GIVEN_NAMES = int("9") MOTHERS_NAME = int("10") @@ -114,7 +114,7 @@ class TextFieldType(object): VISA_ID_CHECKSUM = int("47") - SURNAME_AND_GIVEN_NAME_CHECKSUM = int("48") + SURNAME_AND_GIVEN_NAMES_CHECKSUM = int("48") VISA_VALID_UNTIL_CHECKSUM = int("49") @@ -280,7 +280,7 @@ class TextFieldType(object): FATHERS_NAME_RUS = int("130") - SURNAME_AND_GIVEN_NAME_RUS = int("131") + SURNAME_AND_GIVEN_NAMES_RUS = int("131") PLACE_OF_BIRTH_RUS = int("132") @@ -352,7 +352,7 @@ class TextFieldType(object): CHILDREN = int("166") - COPY_NUMBER = int("167") + COPY = int("167") SERIAL_NUMBER = int("168") @@ -426,7 +426,7 @@ class TextFieldType(object): STATUS_DATE_OF_EXPIRY = int("251") - BANK_NOTE_NUMBER = int("252") + BANKNOTE_NUMBER = int("252") CSC_CODE = int("253") @@ -664,7 +664,7 @@ class TextFieldType(object): FREE_BAGGAGE_ALLOWANCE = int("373") - PDF_417_CODEC = int("374") + PDF417_CODEC = int("374") IDENTITY_CARD_NUMBER_CHECKSUM = int("375") @@ -1190,7 +1190,7 @@ class TextFieldType(object): DL_CLASS_CODE_D3_NOTES = int("636") - ALT_DATE_OF_EXPIRE = int("637") + ALT_DATE_OF_EXPIRY = int("637") DL_CLASS_CODE_CD_FROM = int("638") @@ -1256,7 +1256,29 @@ class TextFieldType(object): GRANDFATHER_NAME_MATERNAL = int("669") - allowable_values = [DOCUMENT_CLASS_CODE, ISSUING_STATE_CODE, DOCUMENT_NUMBER, DATE_OF_EXPIRY, DATE_OF_ISSUE, DATE_OF_BIRTH, PLACE_OF_BIRTH, PERSONAL_NUMBER, SURNAME, GIVEN_NAME, MOTHERS_NAME, NATIONALITY, SEX, HEIGHT, WEIGHT, EYES_COLOR, HAIR_COLOR, ADDRESS, DONOR, SOCIAL_SECURITY_NUMBER, DL_CLASS, DL_ENDORSED, DL_RESTRICTION_CODE, DL_UNDER_21_DATE, AUTHORITY, SURNAME_AND_GIVEN_NAMES, NATIONALITY_CODE, PASSPORT_NUMBER, INVITATION_NUMBER, VISA_ID, VISA_CLASS, VISA_SUBCLASS, MRZ_TYPE, OPTIONAL_DATA, DOCUMENT_CLASS_NAME, ISSUING_STATE_NAME, PLACE_OF_ISSUE, DOCUMENT_NUMBER_CHECKSUM, DATE_OF_BIRTH_CHECKSUM, DATE_OF_EXPIRY_CHECKSUM, PERSONAL_NUMBER_CHECKSUM, FINAL_CHECKSUM, PASSPORT_NUMBER_CHECKSUM, INVITATION_NUMBER_CHECKSUM, VISA_ID_CHECKSUM, SURNAME_AND_GIVEN_NAME_CHECKSUM, VISA_VALID_UNTIL_CHECKSUM, OTHER, MRZ_STRINGS, NAME_SUFFIX, NAME_PREFIX, DATE_OF_ISSUE_CHECKSUM, DATE_OF_ISSUE_CHECK_DIGIT, DOCUMENT_SERIES, REG_CERT_REG_NUMBER, REG_CERT_CAR_MODEL, REG_CERT_CAR_COLOR, REG_CERT_BODY_NUMBER, REG_CERT_CAR_TYPE, REG_CERT_MAX_WEIGHT, REG_CERT_WEIGHT, ADDRESS_AREA, ADDRESS_STATE, ADDRESS_BUILDING, ADDRESS_HOUSE, ADDRESS_FLAT, PLACE_OF_REGISTRATION, DATE_OF_REGISTRATION, RESIDENT_FROM, RESIDENT_UNTIL, AUTHORITY_CODE, PLACE_OF_BIRTH_AREA, PLACE_OF_BIRTH_STATE_CODE, ADDRESS_STREET, ADDRESS_CITY, ADDRESS_JURISDICTION_CODE, ADDRESS_POSTAL_CODE, DOCUMENT_NUMBER_CHECK_DIGIT, DATE_OF_BIRTH_CHECK_DIGIT, DATE_OF_EXPIRY_CHECK_DIGIT, PERSONAL_NUMBER_CHECK_DIGIT, FINAL_CHECK_DIGIT, PASSPORT_NUMBER_CHECK_DIGIT, INVITATION_NUMBER_CHECK_DIGIT, VISA_ID_CHECK_DIGIT, SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT, VISA_VALID_UNTIL_CHECK_DIGIT, PERMIT_DL_CLASS, PERMIT_DATE_OF_EXPIRY, PERMIT_IDENTIFIER, PERMIT_DATE_OF_ISSUE, PERMIT_RESTRICTION_CODE, PERMIT_ENDORSED, ISSUE_TIMESTAMP, NUMBER_OF_DUPLICATES, MEDICAL_INDICATOR_CODES, NON_RESIDENT_INDICATOR, VISA_TYPE, VISA_VALID_FROM, VISA_VALID_UNTIL, DURATION_OF_STAY, NUMBER_OF_ENTRIES, DAY, MONTH, YEAR, UNIQUE_CUSTOMER_IDENTIFIER, COMMERCIAL_VEHICLE_CODES, AKA_DATE_OF_BIRTH, AKA_SOCIAL_SECURITY_NUMBER, AKA_SURNAME, AKA_GIVEN_NAMES, AKA_NAME_SUFFIX, AKA_NAME_PREFIX, MAILING_ADDRESS_STREET, MAILING_ADDRESS_CITY, MAILING_ADDRESS_JURISDICTION_CODE, MAILING_ADDRESS_POSTAL_CODE, AUDIT_INFORMATION, INVENTORY_NUMBER, RACE_ETHNICITY, JURISDICTION_VEHICLE_CLASS, JURISDICTION_ENDORSEMENT_CODE, JURISDICTION_RESTRICTION_CODE, FAMILY_NAME, GIVEN_NAMES_RUS, VISA_ID_RUS, FATHERS_NAME, FATHERS_NAME_RUS, SURNAME_AND_GIVEN_NAME_RUS, PLACE_OF_BIRTH_RUS, AUTHORITY_RUS, ISSUING_STATE_CODE_NUMERIC, NATIONALITY_CODE_NUMERIC, ENGINE_POWER, ENGINE_VOLUME, CHASSIS_NUMBER, ENGINE_NUMBER, ENGINE_MODEL, VEHICLE_CATEGORY, IDENTITY_CARD_NUMBER, CONTROL_NUMBER, PARENTS_GIVEN_NAMES, SECOND_SURNAME, MIDDLE_NAME, REG_CERT_VIN, REG_CERT_VIN_CHECK_DIGIT, REG_CERT_VIN_CHECKSUM, LINE_1_CHECK_DIGIT, LINE_2_CHECK_DIGIT, LINE_3_CHECK_DIGIT, LINE_1_CHECKSUM, LINE_2_CHECKSUM, LINE_3_CHECKSUM, REG_CERT_REG_NUMBER_CHECK_DIGIT, REG_CERT_REG_NUMBER_CHECKSUM, REG_CERT_VEHICLE_ITS_CODE, CARD_ACCESS_NUMBER, MARITAL_STATUS, COMPANY_NAME, SPECIAL_NOTES, SURNAME_OF_SPOUSE, TRACKING_NUMBER, BOOKLET_NUMBER, CHILDREN, COPY_NUMBER, SERIAL_NUMBER, DOSSIER_NUMBER, AKA_SURNAME_AND_GIVEN_NAMES, TERRITORIAL_VALIDITY, MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS, DL_CDL_RESTRICTION_CODE, DL_UNDER_18_DATE, DL_RECORD_CREATED, DL_DUPLICATE_DATE, DL_ISSUE_TYPE, MILITARY_BOOK_NUMBER, DESTINATION, BLOOD_GROUP, SEQUENCE_NUMBER, REG_CERT_BODY_TYPE, REG_CERT_CAR_MARK, TRANSACTION_NUMBER, AGE, FOLIO_NUMBER, VOTER_KEY, ADDRESS_MUNICIPALITY, ADDRESS_LOCATION, SECTION, OCR_NUMBER, FEDERAL_ELECTIONS, REFERENCE_NUMBER, OPTIONAL_DATA_CHECKSUM, OPTIONAL_DATA_CHECK_DIGIT, VISA_NUMBER, VISA_NUMBER_CHECKSUM, VISA_NUMBER_CHECK_DIGIT, VOTER, PREVIOUS_TYPE, FIELD_FROM_MRZ, CURRENT_DATE, STATUS_DATE_OF_EXPIRY, BANK_NOTE_NUMBER, CSC_CODE, ARTISTIC_NAME, ACADEMIC_TITLE, ADDRESS_COUNTRY, ADDRESS_ZIP_CODE, E_ID_RESIDENCE_PERMIT_1, E_ID_RESIDENCE_PERMIT_2, E_ID_PLACE_OF_BIRTH_STREET, E_ID_PLACE_OF_BIRTH_CITY, E_ID_PLACE_OF_BIRTH_STATE, E_ID_PLACE_OF_BIRTH_COUNTRY, E_ID_PLACE_OF_BIRTH_ZIP_CODE, CDL_CLASS, DL_UNDER_19_DATE, WEIGHT_POUNDS, LIMITED_DURATION_DOCUMENT_INDICATOR, ENDORSEMENT_EXPIRATION_DATE, REVISION_DATE, COMPLIANCE_TYPE, FAMILY_NAME_TRUNCATION, FIRST_NAME_TRUNCATION, MIDDLE_NAME_TRUNCATION, EXAM_DATE, ORGANIZATION, DEPARTMENT, PAY_GRADE, RANK, BENEFITS_NUMBER, SPONSOR_SERVICE, SPONSOR_STATUS, SPONSOR, RELATIONSHIP, USCIS, CATEGORY, CONDITIONS, IDENTIFIER, CONFIGURATION, DISCRETIONARY_DATA, LINE_1_OPTIONAL_DATA, LINE_2_OPTIONAL_DATA, LINE_3_OPTIONAL_DATA, EQV_CODE, ALT_CODE, BINARY_CODE, PSEUDO_CODE, FEE, STAMP_NUMBER, SBH_SECURITY_OPTIONS, SBH_INTEGRITY_OPTIONS, DATE_OF_CREATION, VALIDITY_PERIOD, PATRON_HEADER_VERSION, BDB_TYPE, BIOMETRIC_TYPE, BIOMETRIC_SUBTYPE, BIOMETRIC_PRODUCT_ID, BIOMETRIC_FORMAT_OWNER, BIOMETRIC_FORMAT_TYPE, PHONE, PROFESSION, TITLE, PERSONAL_SUMMARY, OTHER_VALID_ID, CUSTODY_INFO, OTHER_NAME, OBSERVATIONS, TAX, DATE_OF_PERSONALIZATION, PERSONALIZATION_SN, OTHER_PERSON_NAME, PERSON_TO_NOTIFY_DATE_OF_RECORD, PERSON_TO_NOTIFY_NAME, PERSON_TO_NOTIFY_PHONE, PERSON_TO_NOTIFY_ADDRESS, DS_CERTIFICATE_ISSUER, DS_CERTIFICATE_SUBJECT, DS_CERTIFICATE_VALID_FROM, DS_CERTIFICATE_VALID_TO, VRC_DATA_OBJECT_ENTRY, TYPE_APPROVAL_NUMBER, ADMINISTRATIVE_NUMBER, DOCUMENT_DISCRIMINATOR, DATA_DISCRIMINATOR, ISO_ISSUER_ID_NUMBER, GNIB_NUMBER, DEPT_NUMBER, TELEX_CODE, ALLERGIES, SP_CODE, COURT_CODE, CTY, SPONSOR_SSN, DOD_NUMBER, MC_NOVICE_DATE, DUF_NUMBER, AGY, PNR_CODE, FROM_AIRPORT_CODE, TO_AIRPORT_CODE, FLIGHT_NUMBER, DATE_OF_FLIGHT, SEAT_NUMBER, DATE_OF_ISSUE_BOARDING_PASS, CCW_UNTIL, REFERENCE_NUMBER_CHECKSUM, REFERENCE_NUMBER_CHECK_DIGIT, ROOM_NUMBER, RELIGION, REMAINDER_TERM, ELECTRONIC_TICKET_INDICATOR, COMPARTMENT_CODE, CHECK_IN_SEQUENCE_NUMBER, AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER, AIRLINE_NUMERIC_CODE, TICKET_NUMBER, FREQUENT_FLYER_AIRLINE_DESIGNATOR, FREQUENT_FLYER_NUMBER, FREE_BAGGAGE_ALLOWANCE, PDF_417_CODEC, IDENTITY_CARD_NUMBER_CHECKSUM, IDENTITY_CARD_NUMBER_CHECK_DIGIT, VETERAN, DL_CLASS_CODE_A1_FROM, DL_CLASS_CODE_A1_TO, DL_CLASS_CODE_A1_NOTES, DL_CLASS_CODE_A_FROM, DL_CLASS_CODE_A_TO, DL_CLASS_CODE_A_NOTES, DL_CLASS_CODE_B_FROM, DL_CLASS_CODE_B_TO, DL_CLASS_CODE_B_NOTES, DL_CLASS_CODE_C1_FROM, DL_CLASS_CODE_C1_TO, DL_CLASS_CODE_C1_NOTES, DL_CLASS_CODE_C_FROM, DL_CLASS_CODE_C_TO, DL_CLASS_CODE_C_NOTES, DL_CLASS_CODE_D1_FROM, DL_CLASS_CODE_D1_TO, DL_CLASS_CODE_D1_NOTES, DL_CLASS_CODE_D_FROM, DL_CLASS_CODE_D_TO, DL_CLASS_CODE_D_NOTES, DL_CLASS_CODE_BE_FROM, DL_CLASS_CODE_BE_TO, DL_CLASS_CODE_BE_NOTES, DL_CLASS_CODE_C1E_FROM, DL_CLASS_CODE_C1E_TO, DL_CLASS_CODE_C1E_NOTES, DL_CLASS_CODE_CE_FROM, DL_CLASS_CODE_CE_TO, DL_CLASS_CODE_CE_NOTES, DL_CLASS_CODE_D1E_FROM, DL_CLASS_CODE_D1E_TO, DL_CLASS_CODE_D1E_NOTES, DL_CLASS_CODE_DE_FROM, DL_CLASS_CODE_DE_TO, DL_CLASS_CODE_DE_NOTES, DL_CLASS_CODE_M_FROM, DL_CLASS_CODE_M_TO, DL_CLASS_CODE_M_NOTES, DL_CLASS_CODE_L_FROM, DL_CLASS_CODE_L_TO, DL_CLASS_CODE_L_NOTES, DL_CLASS_CODE_T_FROM, DL_CLASS_CODE_T_TO, DL_CLASS_CODE_T_NOTES, DL_CLASS_CODE_AM_FROM, DL_CLASS_CODE_AM_TO, DL_CLASS_CODE_AM_NOTES, DL_CLASS_CODE_A2_FROM, DL_CLASS_CODE_A2_TO, DL_CLASS_CODE_A2_NOTES, DL_CLASS_CODE_B1_FROM, DL_CLASS_CODE_B1_TO, DL_CLASS_CODE_B1_NOTES, SURNAME_AT_BIRTH, CIVIL_STATUS, NUMBER_OF_SEATS, NUMBER_OF_STANDING_PLACES, MAX_SPEED, FUEL_TYPE, EC_ENVIRONMENTAL_TYPE, POWER_WEIGHT_RATIO, MAX_MASS_OF_TRAILER_BRAKED, MAX_MASS_OF_TRAILER_UNBRAKED, TRANSMISSION_TYPE, TRAILER_HITCH, ACCOMPANIED_BY, POLICE_DISTRICT, FIRST_ISSUE_DATE, PAYLOAD_CAPACITY, NUMBER_OF_AXLES, PERMISSIBLE_AXLE_LOAD, PRECINCT, INVITED_BY, PURPOSE_OF_ENTRY, SKIN_COLOR, COMPLEXION, AIRPORT_FROM, AIRPORT_TO, AIRLINE_NAME, AIRLINE_NAME_FREQUENT_FLYER, LICENSE_NUMBER, IN_TANKS, EXCEPT_IN_TANKS, FAST_TRACK, OWNER, MRZ_STRINGS_ICAO_RFID, NUMBER_OF_CARD_ISSUANCE, NUMBER_OF_CARD_ISSUANCE_CHECKSUM, NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT, CENTURY_DATE_OF_BIRTH, DL_CLASS_CODE_A3_FROM, DL_CLASS_CODE_A3_TO, DL_CLASS_CODE_A3_NOTES, DL_CLASS_CODE_C2_FROM, DL_CLASS_CODE_C2_TO, DL_CLASS_CODE_C2_NOTES, DL_CLASS_CODE_B2_FROM, DL_CLASS_CODE_B2_TO, DL_CLASS_CODE_B2_NOTES, DL_CLASS_CODE_D2_FROM, DL_CLASS_CODE_D2_TO, DL_CLASS_CODE_D2_NOTES, DL_CLASS_CODE_B2E_FROM, DL_CLASS_CODE_B2E_TO, DL_CLASS_CODE_B2E_NOTES, DL_CLASS_CODE_G_FROM, DL_CLASS_CODE_G_TO, DL_CLASS_CODE_G_NOTES, DL_CLASS_CODE_J_FROM, DL_CLASS_CODE_J_TO, DL_CLASS_CODE_J_NOTES, DL_CLASS_CODE_LC_FROM, DL_CLASS_CODE_LC_TO, DL_CLASS_CODE_LC_NOTES, BANK_CARD_NUMBER, BANK_CARD_VALID_THRU, TAX_NUMBER, HEALTH_NUMBER, GRANDFATHER_NAME, SELECTEE_INDICATOR, MOTHER_SURNAME, MOTHER_GIVEN_NAME, FATHER_SURNAME, FATHER_GIVEN_NAME, MOTHER_DATE_OF_BIRTH, FATHER_DATE_OF_BIRTH, MOTHER_PERSONAL_NUMBER, FATHER_PERSONAL_NUMBER, MOTHER_PLACE_OF_BIRTH, FATHER_PLACE_OF_BIRTH, MOTHER_COUNTRY_OF_BIRTH, FATHER_COUNTRY_OF_BIRTH, DATE_FIRST_RENEWAL, DATE_SECOND_RENEWAL, PLACE_OF_EXAMINATION, APPLICATION_NUMBER, VOUCHER_NUMBER, AUTHORIZATION_NUMBER, FACULTY, FORM_OF_EDUCATION, DNI_NUMBER, RETIREMENT_NUMBER, PROFESSIONAL_ID_NUMBER, AGE_AT_ISSUE, YEARS_SINCE_ISSUE, DL_CLASS_CODE_BTP_FROM, DL_CLASS_CODE_BTP_NOTES, DL_CLASS_CODE_BTP_TO, DL_CLASS_CODE_C3_FROM, DL_CLASS_CODE_C3_NOTES, DL_CLASS_CODE_C3_TO, DL_CLASS_CODE_E_FROM, DL_CLASS_CODE_E_NOTES, DL_CLASS_CODE_E_TO, DL_CLASS_CODE_F_FROM, DL_CLASS_CODE_F_NOTES, DL_CLASS_CODE_F_TO, DL_CLASS_CODE_FA_FROM, DL_CLASS_CODE_FA_NOTES, DL_CLASS_CODE_FA_TO, DL_CLASS_CODE_FA1_FROM, DL_CLASS_CODE_FA1_NOTES, DL_CLASS_CODE_FA1_TO, DL_CLASS_CODE_FB_FROM, DL_CLASS_CODE_FB_NOTES, DL_CLASS_CODE_FB_TO, DL_CLASS_CODE_G1_FROM, DL_CLASS_CODE_G1_NOTES, DL_CLASS_CODE_G1_TO, DL_CLASS_CODE_H_FROM, DL_CLASS_CODE_H_NOTES, DL_CLASS_CODE_H_TO, DL_CLASS_CODE_I_FROM, DL_CLASS_CODE_I_NOTES, DL_CLASS_CODE_I_TO, DL_CLASS_CODE_K_FROM, DL_CLASS_CODE_K_NOTES, DL_CLASS_CODE_K_TO, DL_CLASS_CODE_LK_FROM, DL_CLASS_CODE_LK_NOTES, DL_CLASS_CODE_LK_TO, DL_CLASS_CODE_N_FROM, DL_CLASS_CODE_N_NOTES, DL_CLASS_CODE_N_TO, DL_CLASS_CODE_S_FROM, DL_CLASS_CODE_S_NOTES, DL_CLASS_CODE_S_TO, DL_CLASS_CODE_TB_FROM, DL_CLASS_CODE_TB_NOTES, DL_CLASS_CODE_TB_TO, DL_CLASS_CODE_TM_FROM, DL_CLASS_CODE_TM_NOTES, DL_CLASS_CODE_TM_TO, DL_CLASS_CODE_TR_FROM, DL_CLASS_CODE_TR_NOTES, DL_CLASS_CODE_TR_TO, DL_CLASS_CODE_TV_FROM, DL_CLASS_CODE_TV_NOTES, DL_CLASS_CODE_TV_TO, DL_CLASS_CODE_V_FROM, DL_CLASS_CODE_V_NOTES, DL_CLASS_CODE_V_TO, DL_CLASS_CODE_W_FROM, DL_CLASS_CODE_W_NOTES, DL_CLASS_CODE_W_TO, URL, CALIBER, MODEL, MAKE, NUMBER_OF_CYLINDERS, SURNAME_OF_HUSBAND_AFTER_REGISTRATION, SURNAME_OF_WIFE_AFTER_REGISTRATION, DATE_OF_BIRTH_OF_WIFE, DATE_OF_BIRTH_OF_HUSBAND, CITIZENSHIP_OF_FIRST_PERSON, CITIZENSHIP_OF_SECOND_PERSON, CVV, DATE_OF_INSURANCE_EXPIRY, MORTGAGE_BY, OLD_DOCUMENT_NUMBER, OLD_DATE_OF_ISSUE, OLD_PLACE_OF_ISSUE, DL_CLASS_CODE_LR_FROM, DL_CLASS_CODE_LR_TO, DL_CLASS_CODE_LR_NOTES, DL_CLASS_CODE_MR_FROM, DL_CLASS_CODE_MR_TO, DL_CLASS_CODE_MR_NOTES, DL_CLASS_CODE_HR_FROM, DL_CLASS_CODE_HR_TO, DL_CLASS_CODE_HR_NOTES, DL_CLASS_CODE_HC_FROM, DL_CLASS_CODE_HC_TO, DL_CLASS_CODE_HC_NOTES, DL_CLASS_CODE_MC_FROM, DL_CLASS_CODE_MC_TO, DL_CLASS_CODE_MC_NOTES, DL_CLASS_CODE_RE_FROM, DL_CLASS_CODE_RE_TO, DL_CLASS_CODE_RE_NOTES, DL_CLASS_CODE_R_FROM, DL_CLASS_CODE_R_TO, DL_CLASS_CODE_R_NOTES, DL_CLASS_CODE_CA_FROM, DL_CLASS_CODE_CA_TO, DL_CLASS_CODE_CA_NOTES, CITIZENSHIP_STATUS, MILITARY_SERVICE_FROM, MILITARY_SERVICE_TO, DL_CLASS_CODE_NT_FROM, DL_CLASS_CODE_NT_TO, DL_CLASS_CODE_NT_NOTES, DL_CLASS_CODE_TN_FROM, DL_CLASS_CODE_TN_TO, DL_CLASS_CODE_TN_NOTES, DL_CLASS_CODE_D3_FROM, DL_CLASS_CODE_D3_TO, DL_CLASS_CODE_D3_NOTES, ALT_DATE_OF_EXPIRE, DL_CLASS_CODE_CD_FROM, DL_CLASS_CODE_CD_TO, DL_CLASS_CODE_CD_NOTES, ISSUER_IDENTIFICATION_NUMBER, PAYMENT_PERIOD_FROM, PAYMENT_PERIOD_TO, VACCINATION_CERTIFICATE_IDENTIFIER, FIRST_NAME, DATE_OF_ARRIVAL, SECOND_NAME, THIRD_NAME, FOURTH_NAME, LAST_NAME, DL_CLASS_CODE_RM_FROM, DL_CLASS_CODE_RM_NOTES, DL_CLASS_CODE_RM_TO, DL_CLASS_CODE_PW_FROM, DL_CLASS_CODE_PW_NOTES, DL_CLASS_CODE_PW_TO, DL_CLASS_CODE_EB_FROM, DL_CLASS_CODE_EB_NOTES, DL_CLASS_CODE_EB_TO, DL_CLASS_CODE_EC_FROM, DL_CLASS_CODE_EC_NOTES, DL_CLASS_CODE_EC_TO, DL_CLASS_CODE_EC1_FROM, DL_CLASS_CODE_EC1_NOTES, DL_CLASS_CODE_EC1_TO, PLACE_OF_BIRTH_CITY, YEAR_OF_BIRTH, YEAR_OF_EXPIRY, GRANDFATHER_NAME_MATERNAL] # noqa: E501 + FIRST_SURNAME = int("670") + + MONTH_OF_BIRTH = int("671") + + ADDRESS_FLOOR_NUMBER = int("672") + + ADDRESS_ENTRANCE = int("673") + + ADDRESS_BLOCK_NUMBER = int("674") + + ADDRESS_STREET_NUMBER = int("675") + + ADDRESS_STREET_TYPE = int("676") + + ADDRESS_CITY_SECTOR = int("677") + + ADDRESS_COUNTY_TYPE = int("678") + + ADDRESS_CITY_TYPE = int("679") + + ADDRESS_BUILDING_TYPE = int("680") + + allowable_values = [DOCUMENT_CLASS_CODE, ISSUING_STATE_CODE, DOCUMENT_NUMBER, DATE_OF_EXPIRY, DATE_OF_ISSUE, DATE_OF_BIRTH, PLACE_OF_BIRTH, PERSONAL_NUMBER, SURNAME, GIVEN_NAMES, MOTHERS_NAME, NATIONALITY, SEX, HEIGHT, WEIGHT, EYES_COLOR, HAIR_COLOR, ADDRESS, DONOR, SOCIAL_SECURITY_NUMBER, DL_CLASS, DL_ENDORSED, DL_RESTRICTION_CODE, DL_UNDER_21_DATE, AUTHORITY, SURNAME_AND_GIVEN_NAMES, NATIONALITY_CODE, PASSPORT_NUMBER, INVITATION_NUMBER, VISA_ID, VISA_CLASS, VISA_SUBCLASS, MRZ_TYPE, OPTIONAL_DATA, DOCUMENT_CLASS_NAME, ISSUING_STATE_NAME, PLACE_OF_ISSUE, DOCUMENT_NUMBER_CHECKSUM, DATE_OF_BIRTH_CHECKSUM, DATE_OF_EXPIRY_CHECKSUM, PERSONAL_NUMBER_CHECKSUM, FINAL_CHECKSUM, PASSPORT_NUMBER_CHECKSUM, INVITATION_NUMBER_CHECKSUM, VISA_ID_CHECKSUM, SURNAME_AND_GIVEN_NAMES_CHECKSUM, VISA_VALID_UNTIL_CHECKSUM, OTHER, MRZ_STRINGS, NAME_SUFFIX, NAME_PREFIX, DATE_OF_ISSUE_CHECKSUM, DATE_OF_ISSUE_CHECK_DIGIT, DOCUMENT_SERIES, REG_CERT_REG_NUMBER, REG_CERT_CAR_MODEL, REG_CERT_CAR_COLOR, REG_CERT_BODY_NUMBER, REG_CERT_CAR_TYPE, REG_CERT_MAX_WEIGHT, REG_CERT_WEIGHT, ADDRESS_AREA, ADDRESS_STATE, ADDRESS_BUILDING, ADDRESS_HOUSE, ADDRESS_FLAT, PLACE_OF_REGISTRATION, DATE_OF_REGISTRATION, RESIDENT_FROM, RESIDENT_UNTIL, AUTHORITY_CODE, PLACE_OF_BIRTH_AREA, PLACE_OF_BIRTH_STATE_CODE, ADDRESS_STREET, ADDRESS_CITY, ADDRESS_JURISDICTION_CODE, ADDRESS_POSTAL_CODE, DOCUMENT_NUMBER_CHECK_DIGIT, DATE_OF_BIRTH_CHECK_DIGIT, DATE_OF_EXPIRY_CHECK_DIGIT, PERSONAL_NUMBER_CHECK_DIGIT, FINAL_CHECK_DIGIT, PASSPORT_NUMBER_CHECK_DIGIT, INVITATION_NUMBER_CHECK_DIGIT, VISA_ID_CHECK_DIGIT, SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT, VISA_VALID_UNTIL_CHECK_DIGIT, PERMIT_DL_CLASS, PERMIT_DATE_OF_EXPIRY, PERMIT_IDENTIFIER, PERMIT_DATE_OF_ISSUE, PERMIT_RESTRICTION_CODE, PERMIT_ENDORSED, ISSUE_TIMESTAMP, NUMBER_OF_DUPLICATES, MEDICAL_INDICATOR_CODES, NON_RESIDENT_INDICATOR, VISA_TYPE, VISA_VALID_FROM, VISA_VALID_UNTIL, DURATION_OF_STAY, NUMBER_OF_ENTRIES, DAY, MONTH, YEAR, UNIQUE_CUSTOMER_IDENTIFIER, COMMERCIAL_VEHICLE_CODES, AKA_DATE_OF_BIRTH, AKA_SOCIAL_SECURITY_NUMBER, AKA_SURNAME, AKA_GIVEN_NAMES, AKA_NAME_SUFFIX, AKA_NAME_PREFIX, MAILING_ADDRESS_STREET, MAILING_ADDRESS_CITY, MAILING_ADDRESS_JURISDICTION_CODE, MAILING_ADDRESS_POSTAL_CODE, AUDIT_INFORMATION, INVENTORY_NUMBER, RACE_ETHNICITY, JURISDICTION_VEHICLE_CLASS, JURISDICTION_ENDORSEMENT_CODE, JURISDICTION_RESTRICTION_CODE, FAMILY_NAME, GIVEN_NAMES_RUS, VISA_ID_RUS, FATHERS_NAME, FATHERS_NAME_RUS, SURNAME_AND_GIVEN_NAMES_RUS, PLACE_OF_BIRTH_RUS, AUTHORITY_RUS, ISSUING_STATE_CODE_NUMERIC, NATIONALITY_CODE_NUMERIC, ENGINE_POWER, ENGINE_VOLUME, CHASSIS_NUMBER, ENGINE_NUMBER, ENGINE_MODEL, VEHICLE_CATEGORY, IDENTITY_CARD_NUMBER, CONTROL_NUMBER, PARENTS_GIVEN_NAMES, SECOND_SURNAME, MIDDLE_NAME, REG_CERT_VIN, REG_CERT_VIN_CHECK_DIGIT, REG_CERT_VIN_CHECKSUM, LINE_1_CHECK_DIGIT, LINE_2_CHECK_DIGIT, LINE_3_CHECK_DIGIT, LINE_1_CHECKSUM, LINE_2_CHECKSUM, LINE_3_CHECKSUM, REG_CERT_REG_NUMBER_CHECK_DIGIT, REG_CERT_REG_NUMBER_CHECKSUM, REG_CERT_VEHICLE_ITS_CODE, CARD_ACCESS_NUMBER, MARITAL_STATUS, COMPANY_NAME, SPECIAL_NOTES, SURNAME_OF_SPOUSE, TRACKING_NUMBER, BOOKLET_NUMBER, CHILDREN, COPY, SERIAL_NUMBER, DOSSIER_NUMBER, AKA_SURNAME_AND_GIVEN_NAMES, TERRITORIAL_VALIDITY, MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS, DL_CDL_RESTRICTION_CODE, DL_UNDER_18_DATE, DL_RECORD_CREATED, DL_DUPLICATE_DATE, DL_ISSUE_TYPE, MILITARY_BOOK_NUMBER, DESTINATION, BLOOD_GROUP, SEQUENCE_NUMBER, REG_CERT_BODY_TYPE, REG_CERT_CAR_MARK, TRANSACTION_NUMBER, AGE, FOLIO_NUMBER, VOTER_KEY, ADDRESS_MUNICIPALITY, ADDRESS_LOCATION, SECTION, OCR_NUMBER, FEDERAL_ELECTIONS, REFERENCE_NUMBER, OPTIONAL_DATA_CHECKSUM, OPTIONAL_DATA_CHECK_DIGIT, VISA_NUMBER, VISA_NUMBER_CHECKSUM, VISA_NUMBER_CHECK_DIGIT, VOTER, PREVIOUS_TYPE, FIELD_FROM_MRZ, CURRENT_DATE, STATUS_DATE_OF_EXPIRY, BANKNOTE_NUMBER, CSC_CODE, ARTISTIC_NAME, ACADEMIC_TITLE, ADDRESS_COUNTRY, ADDRESS_ZIP_CODE, E_ID_RESIDENCE_PERMIT_1, E_ID_RESIDENCE_PERMIT_2, E_ID_PLACE_OF_BIRTH_STREET, E_ID_PLACE_OF_BIRTH_CITY, E_ID_PLACE_OF_BIRTH_STATE, E_ID_PLACE_OF_BIRTH_COUNTRY, E_ID_PLACE_OF_BIRTH_ZIP_CODE, CDL_CLASS, DL_UNDER_19_DATE, WEIGHT_POUNDS, LIMITED_DURATION_DOCUMENT_INDICATOR, ENDORSEMENT_EXPIRATION_DATE, REVISION_DATE, COMPLIANCE_TYPE, FAMILY_NAME_TRUNCATION, FIRST_NAME_TRUNCATION, MIDDLE_NAME_TRUNCATION, EXAM_DATE, ORGANIZATION, DEPARTMENT, PAY_GRADE, RANK, BENEFITS_NUMBER, SPONSOR_SERVICE, SPONSOR_STATUS, SPONSOR, RELATIONSHIP, USCIS, CATEGORY, CONDITIONS, IDENTIFIER, CONFIGURATION, DISCRETIONARY_DATA, LINE_1_OPTIONAL_DATA, LINE_2_OPTIONAL_DATA, LINE_3_OPTIONAL_DATA, EQV_CODE, ALT_CODE, BINARY_CODE, PSEUDO_CODE, FEE, STAMP_NUMBER, SBH_SECURITY_OPTIONS, SBH_INTEGRITY_OPTIONS, DATE_OF_CREATION, VALIDITY_PERIOD, PATRON_HEADER_VERSION, BDB_TYPE, BIOMETRIC_TYPE, BIOMETRIC_SUBTYPE, BIOMETRIC_PRODUCT_ID, BIOMETRIC_FORMAT_OWNER, BIOMETRIC_FORMAT_TYPE, PHONE, PROFESSION, TITLE, PERSONAL_SUMMARY, OTHER_VALID_ID, CUSTODY_INFO, OTHER_NAME, OBSERVATIONS, TAX, DATE_OF_PERSONALIZATION, PERSONALIZATION_SN, OTHER_PERSON_NAME, PERSON_TO_NOTIFY_DATE_OF_RECORD, PERSON_TO_NOTIFY_NAME, PERSON_TO_NOTIFY_PHONE, PERSON_TO_NOTIFY_ADDRESS, DS_CERTIFICATE_ISSUER, DS_CERTIFICATE_SUBJECT, DS_CERTIFICATE_VALID_FROM, DS_CERTIFICATE_VALID_TO, VRC_DATA_OBJECT_ENTRY, TYPE_APPROVAL_NUMBER, ADMINISTRATIVE_NUMBER, DOCUMENT_DISCRIMINATOR, DATA_DISCRIMINATOR, ISO_ISSUER_ID_NUMBER, GNIB_NUMBER, DEPT_NUMBER, TELEX_CODE, ALLERGIES, SP_CODE, COURT_CODE, CTY, SPONSOR_SSN, DOD_NUMBER, MC_NOVICE_DATE, DUF_NUMBER, AGY, PNR_CODE, FROM_AIRPORT_CODE, TO_AIRPORT_CODE, FLIGHT_NUMBER, DATE_OF_FLIGHT, SEAT_NUMBER, DATE_OF_ISSUE_BOARDING_PASS, CCW_UNTIL, REFERENCE_NUMBER_CHECKSUM, REFERENCE_NUMBER_CHECK_DIGIT, ROOM_NUMBER, RELIGION, REMAINDER_TERM, ELECTRONIC_TICKET_INDICATOR, COMPARTMENT_CODE, CHECK_IN_SEQUENCE_NUMBER, AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER, AIRLINE_NUMERIC_CODE, TICKET_NUMBER, FREQUENT_FLYER_AIRLINE_DESIGNATOR, FREQUENT_FLYER_NUMBER, FREE_BAGGAGE_ALLOWANCE, PDF417_CODEC, IDENTITY_CARD_NUMBER_CHECKSUM, IDENTITY_CARD_NUMBER_CHECK_DIGIT, VETERAN, DL_CLASS_CODE_A1_FROM, DL_CLASS_CODE_A1_TO, DL_CLASS_CODE_A1_NOTES, DL_CLASS_CODE_A_FROM, DL_CLASS_CODE_A_TO, DL_CLASS_CODE_A_NOTES, DL_CLASS_CODE_B_FROM, DL_CLASS_CODE_B_TO, DL_CLASS_CODE_B_NOTES, DL_CLASS_CODE_C1_FROM, DL_CLASS_CODE_C1_TO, DL_CLASS_CODE_C1_NOTES, DL_CLASS_CODE_C_FROM, DL_CLASS_CODE_C_TO, DL_CLASS_CODE_C_NOTES, DL_CLASS_CODE_D1_FROM, DL_CLASS_CODE_D1_TO, DL_CLASS_CODE_D1_NOTES, DL_CLASS_CODE_D_FROM, DL_CLASS_CODE_D_TO, DL_CLASS_CODE_D_NOTES, DL_CLASS_CODE_BE_FROM, DL_CLASS_CODE_BE_TO, DL_CLASS_CODE_BE_NOTES, DL_CLASS_CODE_C1E_FROM, DL_CLASS_CODE_C1E_TO, DL_CLASS_CODE_C1E_NOTES, DL_CLASS_CODE_CE_FROM, DL_CLASS_CODE_CE_TO, DL_CLASS_CODE_CE_NOTES, DL_CLASS_CODE_D1E_FROM, DL_CLASS_CODE_D1E_TO, DL_CLASS_CODE_D1E_NOTES, DL_CLASS_CODE_DE_FROM, DL_CLASS_CODE_DE_TO, DL_CLASS_CODE_DE_NOTES, DL_CLASS_CODE_M_FROM, DL_CLASS_CODE_M_TO, DL_CLASS_CODE_M_NOTES, DL_CLASS_CODE_L_FROM, DL_CLASS_CODE_L_TO, DL_CLASS_CODE_L_NOTES, DL_CLASS_CODE_T_FROM, DL_CLASS_CODE_T_TO, DL_CLASS_CODE_T_NOTES, DL_CLASS_CODE_AM_FROM, DL_CLASS_CODE_AM_TO, DL_CLASS_CODE_AM_NOTES, DL_CLASS_CODE_A2_FROM, DL_CLASS_CODE_A2_TO, DL_CLASS_CODE_A2_NOTES, DL_CLASS_CODE_B1_FROM, DL_CLASS_CODE_B1_TO, DL_CLASS_CODE_B1_NOTES, SURNAME_AT_BIRTH, CIVIL_STATUS, NUMBER_OF_SEATS, NUMBER_OF_STANDING_PLACES, MAX_SPEED, FUEL_TYPE, EC_ENVIRONMENTAL_TYPE, POWER_WEIGHT_RATIO, MAX_MASS_OF_TRAILER_BRAKED, MAX_MASS_OF_TRAILER_UNBRAKED, TRANSMISSION_TYPE, TRAILER_HITCH, ACCOMPANIED_BY, POLICE_DISTRICT, FIRST_ISSUE_DATE, PAYLOAD_CAPACITY, NUMBER_OF_AXLES, PERMISSIBLE_AXLE_LOAD, PRECINCT, INVITED_BY, PURPOSE_OF_ENTRY, SKIN_COLOR, COMPLEXION, AIRPORT_FROM, AIRPORT_TO, AIRLINE_NAME, AIRLINE_NAME_FREQUENT_FLYER, LICENSE_NUMBER, IN_TANKS, EXCEPT_IN_TANKS, FAST_TRACK, OWNER, MRZ_STRINGS_ICAO_RFID, NUMBER_OF_CARD_ISSUANCE, NUMBER_OF_CARD_ISSUANCE_CHECKSUM, NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT, CENTURY_DATE_OF_BIRTH, DL_CLASS_CODE_A3_FROM, DL_CLASS_CODE_A3_TO, DL_CLASS_CODE_A3_NOTES, DL_CLASS_CODE_C2_FROM, DL_CLASS_CODE_C2_TO, DL_CLASS_CODE_C2_NOTES, DL_CLASS_CODE_B2_FROM, DL_CLASS_CODE_B2_TO, DL_CLASS_CODE_B2_NOTES, DL_CLASS_CODE_D2_FROM, DL_CLASS_CODE_D2_TO, DL_CLASS_CODE_D2_NOTES, DL_CLASS_CODE_B2E_FROM, DL_CLASS_CODE_B2E_TO, DL_CLASS_CODE_B2E_NOTES, DL_CLASS_CODE_G_FROM, DL_CLASS_CODE_G_TO, DL_CLASS_CODE_G_NOTES, DL_CLASS_CODE_J_FROM, DL_CLASS_CODE_J_TO, DL_CLASS_CODE_J_NOTES, DL_CLASS_CODE_LC_FROM, DL_CLASS_CODE_LC_TO, DL_CLASS_CODE_LC_NOTES, BANK_CARD_NUMBER, BANK_CARD_VALID_THRU, TAX_NUMBER, HEALTH_NUMBER, GRANDFATHER_NAME, SELECTEE_INDICATOR, MOTHER_SURNAME, MOTHER_GIVEN_NAME, FATHER_SURNAME, FATHER_GIVEN_NAME, MOTHER_DATE_OF_BIRTH, FATHER_DATE_OF_BIRTH, MOTHER_PERSONAL_NUMBER, FATHER_PERSONAL_NUMBER, MOTHER_PLACE_OF_BIRTH, FATHER_PLACE_OF_BIRTH, MOTHER_COUNTRY_OF_BIRTH, FATHER_COUNTRY_OF_BIRTH, DATE_FIRST_RENEWAL, DATE_SECOND_RENEWAL, PLACE_OF_EXAMINATION, APPLICATION_NUMBER, VOUCHER_NUMBER, AUTHORIZATION_NUMBER, FACULTY, FORM_OF_EDUCATION, DNI_NUMBER, RETIREMENT_NUMBER, PROFESSIONAL_ID_NUMBER, AGE_AT_ISSUE, YEARS_SINCE_ISSUE, DL_CLASS_CODE_BTP_FROM, DL_CLASS_CODE_BTP_NOTES, DL_CLASS_CODE_BTP_TO, DL_CLASS_CODE_C3_FROM, DL_CLASS_CODE_C3_NOTES, DL_CLASS_CODE_C3_TO, DL_CLASS_CODE_E_FROM, DL_CLASS_CODE_E_NOTES, DL_CLASS_CODE_E_TO, DL_CLASS_CODE_F_FROM, DL_CLASS_CODE_F_NOTES, DL_CLASS_CODE_F_TO, DL_CLASS_CODE_FA_FROM, DL_CLASS_CODE_FA_NOTES, DL_CLASS_CODE_FA_TO, DL_CLASS_CODE_FA1_FROM, DL_CLASS_CODE_FA1_NOTES, DL_CLASS_CODE_FA1_TO, DL_CLASS_CODE_FB_FROM, DL_CLASS_CODE_FB_NOTES, DL_CLASS_CODE_FB_TO, DL_CLASS_CODE_G1_FROM, DL_CLASS_CODE_G1_NOTES, DL_CLASS_CODE_G1_TO, DL_CLASS_CODE_H_FROM, DL_CLASS_CODE_H_NOTES, DL_CLASS_CODE_H_TO, DL_CLASS_CODE_I_FROM, DL_CLASS_CODE_I_NOTES, DL_CLASS_CODE_I_TO, DL_CLASS_CODE_K_FROM, DL_CLASS_CODE_K_NOTES, DL_CLASS_CODE_K_TO, DL_CLASS_CODE_LK_FROM, DL_CLASS_CODE_LK_NOTES, DL_CLASS_CODE_LK_TO, DL_CLASS_CODE_N_FROM, DL_CLASS_CODE_N_NOTES, DL_CLASS_CODE_N_TO, DL_CLASS_CODE_S_FROM, DL_CLASS_CODE_S_NOTES, DL_CLASS_CODE_S_TO, DL_CLASS_CODE_TB_FROM, DL_CLASS_CODE_TB_NOTES, DL_CLASS_CODE_TB_TO, DL_CLASS_CODE_TM_FROM, DL_CLASS_CODE_TM_NOTES, DL_CLASS_CODE_TM_TO, DL_CLASS_CODE_TR_FROM, DL_CLASS_CODE_TR_NOTES, DL_CLASS_CODE_TR_TO, DL_CLASS_CODE_TV_FROM, DL_CLASS_CODE_TV_NOTES, DL_CLASS_CODE_TV_TO, DL_CLASS_CODE_V_FROM, DL_CLASS_CODE_V_NOTES, DL_CLASS_CODE_V_TO, DL_CLASS_CODE_W_FROM, DL_CLASS_CODE_W_NOTES, DL_CLASS_CODE_W_TO, URL, CALIBER, MODEL, MAKE, NUMBER_OF_CYLINDERS, SURNAME_OF_HUSBAND_AFTER_REGISTRATION, SURNAME_OF_WIFE_AFTER_REGISTRATION, DATE_OF_BIRTH_OF_WIFE, DATE_OF_BIRTH_OF_HUSBAND, CITIZENSHIP_OF_FIRST_PERSON, CITIZENSHIP_OF_SECOND_PERSON, CVV, DATE_OF_INSURANCE_EXPIRY, MORTGAGE_BY, OLD_DOCUMENT_NUMBER, OLD_DATE_OF_ISSUE, OLD_PLACE_OF_ISSUE, DL_CLASS_CODE_LR_FROM, DL_CLASS_CODE_LR_TO, DL_CLASS_CODE_LR_NOTES, DL_CLASS_CODE_MR_FROM, DL_CLASS_CODE_MR_TO, DL_CLASS_CODE_MR_NOTES, DL_CLASS_CODE_HR_FROM, DL_CLASS_CODE_HR_TO, DL_CLASS_CODE_HR_NOTES, DL_CLASS_CODE_HC_FROM, DL_CLASS_CODE_HC_TO, DL_CLASS_CODE_HC_NOTES, DL_CLASS_CODE_MC_FROM, DL_CLASS_CODE_MC_TO, DL_CLASS_CODE_MC_NOTES, DL_CLASS_CODE_RE_FROM, DL_CLASS_CODE_RE_TO, DL_CLASS_CODE_RE_NOTES, DL_CLASS_CODE_R_FROM, DL_CLASS_CODE_R_TO, DL_CLASS_CODE_R_NOTES, DL_CLASS_CODE_CA_FROM, DL_CLASS_CODE_CA_TO, DL_CLASS_CODE_CA_NOTES, CITIZENSHIP_STATUS, MILITARY_SERVICE_FROM, MILITARY_SERVICE_TO, DL_CLASS_CODE_NT_FROM, DL_CLASS_CODE_NT_TO, DL_CLASS_CODE_NT_NOTES, DL_CLASS_CODE_TN_FROM, DL_CLASS_CODE_TN_TO, DL_CLASS_CODE_TN_NOTES, DL_CLASS_CODE_D3_FROM, DL_CLASS_CODE_D3_TO, DL_CLASS_CODE_D3_NOTES, ALT_DATE_OF_EXPIRY, DL_CLASS_CODE_CD_FROM, DL_CLASS_CODE_CD_TO, DL_CLASS_CODE_CD_NOTES, ISSUER_IDENTIFICATION_NUMBER, PAYMENT_PERIOD_FROM, PAYMENT_PERIOD_TO, VACCINATION_CERTIFICATE_IDENTIFIER, FIRST_NAME, DATE_OF_ARRIVAL, SECOND_NAME, THIRD_NAME, FOURTH_NAME, LAST_NAME, DL_CLASS_CODE_RM_FROM, DL_CLASS_CODE_RM_NOTES, DL_CLASS_CODE_RM_TO, DL_CLASS_CODE_PW_FROM, DL_CLASS_CODE_PW_NOTES, DL_CLASS_CODE_PW_TO, DL_CLASS_CODE_EB_FROM, DL_CLASS_CODE_EB_NOTES, DL_CLASS_CODE_EB_TO, DL_CLASS_CODE_EC_FROM, DL_CLASS_CODE_EC_NOTES, DL_CLASS_CODE_EC_TO, DL_CLASS_CODE_EC1_FROM, DL_CLASS_CODE_EC1_NOTES, DL_CLASS_CODE_EC1_TO, PLACE_OF_BIRTH_CITY, YEAR_OF_BIRTH, YEAR_OF_EXPIRY, GRANDFATHER_NAME_MATERNAL, FIRST_SURNAME, MONTH_OF_BIRTH, ADDRESS_FLOOR_NUMBER, ADDRESS_ENTRANCE, ADDRESS_BLOCK_NUMBER, ADDRESS_STREET_NUMBER, ADDRESS_STREET_TYPE, ADDRESS_CITY_SECTOR, ADDRESS_COUNTY_TYPE, ADDRESS_CITY_TYPE, ADDRESS_BUILDING_TYPE] # noqa: E501 """ Attributes: