onfido-python 4.1.0__tar.gz → 4.2.0__tar.gz
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.
- {onfido_python-4.1.0 → onfido_python-4.2.0}/PKG-INFO +1 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/__init__.py +3 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/api_client.py +1 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/configuration.py +1 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/__init__.py +2 -0
- onfido_python-4.2.0/onfido/models/document_types.py +111 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_report.py +38 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +38 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_report.py +38 -1
- onfido_python-4.2.0/onfido/models/facial_similarity_report_media.py +100 -0
- onfido_python-4.2.0/onfido/models/facial_similarity_report_shared.py +135 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_report.py +38 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido_python.egg-info/PKG-INFO +1 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido_python.egg-info/SOURCES.txt +2 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/pyproject.toml +1 -1
- {onfido_python-4.1.0 → onfido_python-4.2.0}/setup.py +1 -1
- onfido_python-4.1.0/onfido/models/document_types.py +0 -65
- {onfido_python-4.1.0 → onfido_python-4.2.0}/LICENSE +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/README.md +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/api/__init__.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/api/default_api.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/api_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/exceptions.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/address.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/address_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/address_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/addresses_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_consent_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_consent_name.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_create.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_request.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_update.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicant_updater.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/applicants_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check_request.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/check_status.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/checks_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/complete_task_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/complete_task_data_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/country_codes.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/device_intelligence_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_age_validation.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_validation.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_police_record.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_cdq_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_iq_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_odp_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_address_lines.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_barcode.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_document_classification.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_extracted_data.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_properties_nfc.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_video_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_video_with_address_information_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_address_information_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_driver_verification_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/documents_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/error.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/error1.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/error_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/error_properties1.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/extract_request.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/extraction.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/extraction_document_classification.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/extraction_extracted_data.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_video_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/id_number.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/id_photo.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/id_photo_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/id_photos_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/identity_enhanced_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/known_faces_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/live_photo.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/live_photo_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/live_photos_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/live_video.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/live_videos_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/location.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/location_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/location_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/motion_capture.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/motion_captures_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/photo_auto_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/photo_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/proof_of_address_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/repeat_attempts_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_document.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_name.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_result.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_status.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/report_sub_result.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/reports_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/results_feedback.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/sdk_token.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/sdk_token_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/sdk_token_request.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/sdk_token_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/task.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/task_item.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/timeline_file_reference.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/us_driving_licence_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/video_reasons.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_aml_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_enhanced_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_match.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitor_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_monitors_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_peps_only_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_standard_properties.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/watchlist_standard_report.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_create.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_object_status.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_payload.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_payload_object.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_payload_resource.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_resource_type.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_event_type.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_resend.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_update.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhook_updater.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhooks_list.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/webhooks_resend_item.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_builder.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_error.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_link.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_request.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_response.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_shared.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/workflow_run_status.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/py.typed +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/rest.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/webhook_event_verifier.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido_python.egg-info/dependency_links.txt +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido_python.egg-info/requires.txt +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/onfido_python.egg-info/top_level.txt +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/setup.cfg +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_address_picker.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_applicants.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_checks.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_classic_webhook_event_verification.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_documents.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_extraction.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_id_photos.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_live_photos.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_live_video.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_motion_capture.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_qualified_electronic_signatures.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_report_schemas.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_reports.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_sdk_token.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_studio_webhook_event_verification.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_tasks.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_watchlist_monitor.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_webhooks.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_workflow_run_outputs.py +0 -0
- {onfido_python-4.1.0 → onfido_python-4.2.0}/tests/test_workflow_runs.py +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "4.
|
|
17
|
+
__version__ = "4.2.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from onfido.api.default_api import DefaultApi
|
|
@@ -165,6 +165,8 @@ from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSi
|
|
|
165
165
|
from onfido.models.facial_similarity_photo_fully_auto_report import FacialSimilarityPhotoFullyAutoReport
|
|
166
166
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
167
167
|
from onfido.models.facial_similarity_photo_report import FacialSimilarityPhotoReport
|
|
168
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
169
|
+
from onfido.models.facial_similarity_report_shared import FacialSimilarityReportShared
|
|
168
170
|
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
169
171
|
from onfido.models.facial_similarity_video_breakdown_face_comparison import FacialSimilarityVideoBreakdownFaceComparison
|
|
170
172
|
from onfido.models.facial_similarity_video_breakdown_image_integrity import FacialSimilarityVideoBreakdownImageIntegrity
|
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'onfido-python/4.
|
|
93
|
+
self.user_agent = 'onfido-python/4.2.0'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -394,7 +394,7 @@ conf = onfido.Configuration(
|
|
|
394
394
|
"OS: {env}\n"\
|
|
395
395
|
"Python Version: {pyversion}\n"\
|
|
396
396
|
"Version of the API: v3.6\n"\
|
|
397
|
-
"SDK Package Version: 4.
|
|
397
|
+
"SDK Package Version: 4.2.0".\
|
|
398
398
|
format(env=sys.platform, pyversion=sys.version)
|
|
399
399
|
|
|
400
400
|
def get_host_settings(self):
|
|
@@ -148,6 +148,8 @@ from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSi
|
|
|
148
148
|
from onfido.models.facial_similarity_photo_fully_auto_report import FacialSimilarityPhotoFullyAutoReport
|
|
149
149
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
150
150
|
from onfido.models.facial_similarity_photo_report import FacialSimilarityPhotoReport
|
|
151
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
152
|
+
from onfido.models.facial_similarity_report_shared import FacialSimilarityReportShared
|
|
151
153
|
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
152
154
|
from onfido.models.facial_similarity_video_breakdown_face_comparison import FacialSimilarityVideoBreakdownFaceComparison
|
|
153
155
|
from onfido.models.facial_similarity_video_breakdown_image_integrity import FacialSimilarityVideoBreakdownImageIntegrity
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DocumentTypes(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
DocumentTypes
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
PASSPORT = 'passport'
|
|
30
|
+
DRIVING_LICENCE = 'driving_licence'
|
|
31
|
+
NATIONAL_IDENTITY_CARD = 'national_identity_card'
|
|
32
|
+
RESIDENCE_PERMIT = 'residence_permit'
|
|
33
|
+
PASSPORT_CARD = 'passport_card'
|
|
34
|
+
TAX_ID = 'tax_id'
|
|
35
|
+
VISA = 'visa'
|
|
36
|
+
VOTER_ID = 'voter_id'
|
|
37
|
+
RESIDENCE_STATUS_DOCUMENT = 'residence_status_document'
|
|
38
|
+
POSTAL_IDENTITY_CARD = 'postal_identity_card'
|
|
39
|
+
SOCIAL_SECURITY_CARD = 'social_security_card'
|
|
40
|
+
WORK_PERMIT = 'work_permit'
|
|
41
|
+
ASYLUM_REGISTRATION_CARD = 'asylum_registration_card'
|
|
42
|
+
NATIONAL_HEALTH_INSURANCE_CARD = 'national_health_insurance_card'
|
|
43
|
+
MUNICIPALITY_IDENTITY_CARD = 'municipality_identity_card'
|
|
44
|
+
PRIVATE_OPERATORS_CARD = 'private_operators_card'
|
|
45
|
+
PROOF_OF_CITIZENSHIP = 'proof_of_citizenship'
|
|
46
|
+
SERVICE_ID_CARD = 'service_id_card'
|
|
47
|
+
IMMIGRATION_STATUS_DOCUMENT = 'immigration_status_document'
|
|
48
|
+
INDIGENOUS_CARD = 'indigenous_card'
|
|
49
|
+
VEHICLE_REGISTRATION_CARD = 'vehicle_registration_card'
|
|
50
|
+
CERTIFICATE_OF_NATURALISATION = 'certificate_of_naturalisation'
|
|
51
|
+
PROFESSIONAL_QUALIFICATION_CARD = 'professional_qualification_card'
|
|
52
|
+
CONSULAR_ID = 'consular_id'
|
|
53
|
+
INTERNATIONAL_DRIVING_LICENCE = 'international_driving_licence'
|
|
54
|
+
HOME_OFFICE_LETTER = 'home_office_letter'
|
|
55
|
+
BIRTH_CERTIFICATE = 'birth_certificate'
|
|
56
|
+
VEHICLE_REGISTRATION_CERTIFICATE = 'vehicle_registration_certificate'
|
|
57
|
+
FORM_FOR_AFFIXING_THE_VISA = 'form_for_affixing_the_visa'
|
|
58
|
+
IDENTIFICATION_NUMBER_DOCUMENT = 'identification_number_document'
|
|
59
|
+
ADOPTION_CERTIFICATE = 'adoption_certificate'
|
|
60
|
+
BANK_BUILDING_SOCIETY_STATEMENT = 'bank_building_society_statement'
|
|
61
|
+
BANK_STATEMENT = 'bank_statement'
|
|
62
|
+
BENEFIT_LETTERS = 'benefit_letters'
|
|
63
|
+
CBT = 'cbt'
|
|
64
|
+
CERTIFICATE_OF_SPONSORSHIP = 'certificate_of_sponsorship'
|
|
65
|
+
CHARACTER_REFERENCE = 'character_reference'
|
|
66
|
+
CIVIL_PARTNERSHIP_CERTIFICATE = 'civil_partnership_certificate'
|
|
67
|
+
COUNCIL_TAX = 'council_tax'
|
|
68
|
+
CREDIT_CARD_STATEMENT = 'credit_card_statement'
|
|
69
|
+
DEED_POLL = 'deed_poll'
|
|
70
|
+
DIVORCE_ABSOLUTE_DECREE = 'divorce_absolute_decree'
|
|
71
|
+
EDUCATIONAL_STATEMENT = 'educational_statement'
|
|
72
|
+
ELECTRICITY_BILL = 'electricity_bill'
|
|
73
|
+
GAS_BILL = 'gas_bill'
|
|
74
|
+
GOVERNMENT_LETTER = 'government_letter'
|
|
75
|
+
INTERNET_BILL = 'internet_bill'
|
|
76
|
+
MARRIAGE_CERTIFICATE = 'marriage_certificate'
|
|
77
|
+
MOTORCYCLE_INSURANCE = 'motorcycle_insurance'
|
|
78
|
+
NATIONAL_INSURANCE_CARD = 'national_insurance_card'
|
|
79
|
+
NATURALISATION_CERTIFICATE = 'naturalisation_certificate'
|
|
80
|
+
NON_UK_DRIVING_LICENCE = 'non_uk_driving_licence'
|
|
81
|
+
P45_P60 = 'p45_p60'
|
|
82
|
+
PAYSLIP = 'payslip'
|
|
83
|
+
PHONE_BILL = 'phone_bill'
|
|
84
|
+
PROFESSIONAL_IDENTIFICATION_CARD = 'professional_identification_card'
|
|
85
|
+
RIGHT_TO_WORK_SHARE_CODE_RESULT = 'right_to_work_share_code_result'
|
|
86
|
+
STATEMENT_FACT = 'statement_fact'
|
|
87
|
+
T4_STUDENT_UNIVERSITY_TERM_DATES_EVIDENCE = 't4_student_university_term_dates_evidence'
|
|
88
|
+
UK_BIOMETRIC_RESIDENCE_PERMIT = 'uk_biometric_residence_permit'
|
|
89
|
+
UK_DRIVING_LICENCE = 'uk_driving_licence'
|
|
90
|
+
UNKNOWN = 'unknown'
|
|
91
|
+
UTILITY_BILL = 'utility_bill'
|
|
92
|
+
UTILITY_BILL_ELECTRIC = 'utility_bill_electric'
|
|
93
|
+
UTILITY_BILL_GAS = 'utility_bill_gas'
|
|
94
|
+
UTILITY_BILL_OTHER = 'utility_bill_other'
|
|
95
|
+
WATER_BILL = 'water_bill'
|
|
96
|
+
ADDRESS_CERTIFICATE = 'address_certificate'
|
|
97
|
+
GENERAL_LETTER = 'general_letter'
|
|
98
|
+
INSURANCE_STATEMENT = 'insurance_statement'
|
|
99
|
+
PENSION_PROPERTY_STATEMENT_LETTER = 'pension_property_statement_letter'
|
|
100
|
+
MORTGAGE_STATEMENT = 'mortgage_statement'
|
|
101
|
+
MOBILE_PHONE_BILL = 'mobile_phone_bill'
|
|
102
|
+
IDENTITY_DOCUMENT_WITH_ADDRESS = 'identity_document_with_address'
|
|
103
|
+
EXCHANGE_HOUSE_STATEMENT = 'exchange_house_statement'
|
|
104
|
+
ACCOMMODATION_TENANCY_CERTIFICATE = 'accommodation_tenancy_certificate'
|
|
105
|
+
|
|
106
|
+
@classmethod
|
|
107
|
+
def from_json(cls, json_str: str) -> Self:
|
|
108
|
+
"""Create an instance of DocumentTypes from a JSON string"""
|
|
109
|
+
return cls(json.loads(json_str))
|
|
110
|
+
|
|
111
|
+
|
{onfido_python-4.1.0 → onfido_python-4.2.0}/onfido/models/facial_similarity_motion_report.py
RENAMED
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_motion_breakdown import FacialSimilarityMotionBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_motion_properties import FacialSimilarityMotionProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityMotionBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityMotionProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityMotionBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityMotionProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_photo_fully_auto_breakdown import FacialSimilarityPhotoFullyAutoBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSimilarityPhotoFullyAutoProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityPhotoFullyAutoBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityPhotoFullyAutoProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityPhotoFullyAutoBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityPhotoFullyAutoProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_photo_breakdown import FacialSimilarityPhotoBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityPhotoBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityPhotoProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityPhotoBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityPhotoProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class FacialSimilarityReportMedia(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
FacialSimilarityReportMedia
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
id: StrictStr = Field(description="ID of uploaded biometric media to use.")
|
|
30
|
+
additional_properties: Dict[str, Any] = {}
|
|
31
|
+
__properties: ClassVar[List[str]] = ["id"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of FacialSimilarityReportMedia from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
"additional_properties",
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
# puts key-value pairs in additional_properties in the top level
|
|
75
|
+
if self.additional_properties is not None:
|
|
76
|
+
for _key, _value in self.additional_properties.items():
|
|
77
|
+
_dict[_key] = _value
|
|
78
|
+
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of FacialSimilarityReportMedia from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"id": obj.get("id")
|
|
92
|
+
})
|
|
93
|
+
# store additional fields in additional_properties
|
|
94
|
+
for _key in obj.keys():
|
|
95
|
+
if _key not in cls.__properties:
|
|
96
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
97
|
+
|
|
98
|
+
return _obj
|
|
99
|
+
|
|
100
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class FacialSimilarityReportShared(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
FacialSimilarityReportShared
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
31
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
32
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
33
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
34
|
+
additional_properties: Dict[str, Any] = {}
|
|
35
|
+
__properties: ClassVar[List[str]] = ["live_photos", "live_videos", "motion_captures", "id_photos"]
|
|
36
|
+
|
|
37
|
+
model_config = ConfigDict(
|
|
38
|
+
populate_by_name=True,
|
|
39
|
+
validate_assignment=True,
|
|
40
|
+
protected_namespaces=(),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of FacialSimilarityReportShared from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
68
|
+
"""
|
|
69
|
+
excluded_fields: Set[str] = set([
|
|
70
|
+
"additional_properties",
|
|
71
|
+
])
|
|
72
|
+
|
|
73
|
+
_dict = self.model_dump(
|
|
74
|
+
by_alias=True,
|
|
75
|
+
exclude=excluded_fields,
|
|
76
|
+
exclude_none=True,
|
|
77
|
+
)
|
|
78
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
79
|
+
_items = []
|
|
80
|
+
if self.live_photos:
|
|
81
|
+
for _item_live_photos in self.live_photos:
|
|
82
|
+
if _item_live_photos:
|
|
83
|
+
_items.append(_item_live_photos.to_dict())
|
|
84
|
+
_dict['live_photos'] = _items
|
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
86
|
+
_items = []
|
|
87
|
+
if self.live_videos:
|
|
88
|
+
for _item_live_videos in self.live_videos:
|
|
89
|
+
if _item_live_videos:
|
|
90
|
+
_items.append(_item_live_videos.to_dict())
|
|
91
|
+
_dict['live_videos'] = _items
|
|
92
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
93
|
+
_items = []
|
|
94
|
+
if self.motion_captures:
|
|
95
|
+
for _item_motion_captures in self.motion_captures:
|
|
96
|
+
if _item_motion_captures:
|
|
97
|
+
_items.append(_item_motion_captures.to_dict())
|
|
98
|
+
_dict['motion_captures'] = _items
|
|
99
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
100
|
+
_items = []
|
|
101
|
+
if self.id_photos:
|
|
102
|
+
for _item_id_photos in self.id_photos:
|
|
103
|
+
if _item_id_photos:
|
|
104
|
+
_items.append(_item_id_photos.to_dict())
|
|
105
|
+
_dict['id_photos'] = _items
|
|
106
|
+
# puts key-value pairs in additional_properties in the top level
|
|
107
|
+
if self.additional_properties is not None:
|
|
108
|
+
for _key, _value in self.additional_properties.items():
|
|
109
|
+
_dict[_key] = _value
|
|
110
|
+
|
|
111
|
+
return _dict
|
|
112
|
+
|
|
113
|
+
@classmethod
|
|
114
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
115
|
+
"""Create an instance of FacialSimilarityReportShared from a dict"""
|
|
116
|
+
if obj is None:
|
|
117
|
+
return None
|
|
118
|
+
|
|
119
|
+
if not isinstance(obj, dict):
|
|
120
|
+
return cls.model_validate(obj)
|
|
121
|
+
|
|
122
|
+
_obj = cls.model_validate({
|
|
123
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
124
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
125
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
126
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None
|
|
127
|
+
})
|
|
128
|
+
# store additional fields in additional_properties
|
|
129
|
+
for _key in obj.keys():
|
|
130
|
+
if _key not in cls.__properties:
|
|
131
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
132
|
+
|
|
133
|
+
return _obj
|
|
134
|
+
|
|
135
|
+
|