onfido-python 3.1.0__tar.gz → 3.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-3.1.0/onfido_python.egg-info → onfido_python-3.2.0}/PKG-INFO +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/README.md +5 -2
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/__init__.py +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/api_client.py +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/configuration.py +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties.py +64 -2
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +64 -2
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/webhook_event_verifier.py +7 -4
- {onfido_python-3.1.0 → onfido_python-3.2.0/onfido_python.egg-info}/PKG-INFO +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/pyproject.toml +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/setup.py +1 -1
- {onfido_python-3.1.0 → onfido_python-3.2.0}/LICENSE +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/api/__init__.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/api/default_api.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/api_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/exceptions.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/__init__.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/address.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/address_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/address_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/addresses_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_create.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_request.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_update.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicant_updater.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/applicants_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/check.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/check_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/check_request.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/check_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/check_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/checks_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/complete_task_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/complete_task_data_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/consent_item.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/consents_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/country_codes.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_age_validation.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_validation.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_police_record.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_cdq_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_iq_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_odp_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_address_lines.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_barcode_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_document_classification.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_extracted_data.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_nfc.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_types.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_video_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_video_with_address_information_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_address_information_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_driver_verification_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/documents_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/error.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/error1.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/error_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/error_properties1.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/extract_request.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/extraction.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/extraction_document_classification.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/extraction_extracted_data.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_motion_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_photo_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/facial_similarity_video_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/id_number.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/id_photo.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/id_photo_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/id_photos_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/identity_enhanced_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/known_faces_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/live_photo.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/live_photo_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/live_photos_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/live_video.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/live_videos_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/location.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/location_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/location_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/motion_capture.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/motion_captures_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/photo_auto_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/photo_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/proof_of_address_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/repeat_attempts_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_document.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_name.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_result.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_status.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/report_sub_result.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/reports_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/results_feedback.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/sdk_token.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/sdk_token_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/sdk_token_request.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/sdk_token_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/task.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/task_item.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/timeline_file_reference.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/us_driving_licence_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/video_reasons.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_aml_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_enhanced_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_match.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitor_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_monitors_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_peps_only_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_standard_properties.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/watchlist_standard_report.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_create.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_event.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_event_payload.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_event_payload_object.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_event_type.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_resend.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_update.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhook_updater.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhooks_list.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/webhooks_resend_item.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_builder.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_request.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_response.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_response_error.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_shared.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/workflow_run_shared_link.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/py.typed +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/rest.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido_python.egg-info/SOURCES.txt +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido_python.egg-info/dependency_links.txt +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido_python.egg-info/requires.txt +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/onfido_python.egg-info/top_level.txt +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/setup.cfg +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_address_picker.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_applicants.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_checks.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_documents.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_extraction.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_id_photos.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_live_photos.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_live_video.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_motion_capture.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_report_schemas.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_reports.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_sdk_token.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_tasks.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_watchlist_monitor.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_webhook_verification.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_webhooks.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_workflow_run_outputs.py +0 -0
- {onfido_python-3.1.0 → onfido_python-3.2.0}/tests/test_workflow_runs.py +0 -0
|
@@ -6,6 +6,9 @@ Documentation can be found at <https://documentation.onfido.com>.
|
|
|
6
6
|
|
|
7
7
|
This version uses Onfido API v3.6. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API.
|
|
8
8
|
|
|
9
|
+
[](https://badge.fury.io/py/onfido-python)
|
|
10
|
+

|
|
11
|
+
|
|
9
12
|
## Installation & Usage
|
|
10
13
|
|
|
11
14
|
### Requirements
|
|
@@ -19,7 +22,7 @@ Python 3.7+
|
|
|
19
22
|
If the python package is hosted on a repository, you can install directly using:
|
|
20
23
|
|
|
21
24
|
```sh
|
|
22
|
-
pip install onfido
|
|
25
|
+
pip install onfido-python
|
|
23
26
|
```
|
|
24
27
|
|
|
25
28
|
Then import the package:
|
|
@@ -31,7 +34,7 @@ import onfido
|
|
|
31
34
|
#### Poetry
|
|
32
35
|
|
|
33
36
|
```sh
|
|
34
|
-
poetry add onfido
|
|
37
|
+
poetry add onfido-python
|
|
35
38
|
```
|
|
36
39
|
|
|
37
40
|
Then import the package:
|
|
@@ -88,7 +88,7 @@ class ApiClient:
|
|
|
88
88
|
self.default_headers[header_name] = header_value
|
|
89
89
|
self.cookie = cookie
|
|
90
90
|
# Set default User-Agent.
|
|
91
|
-
self.user_agent = 'onfido-python/3.
|
|
91
|
+
self.user_agent = 'onfido-python/3.2.0'
|
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
|
93
93
|
|
|
94
94
|
def __enter__(self):
|
|
@@ -383,7 +383,7 @@ conf = onfido.Configuration(
|
|
|
383
383
|
"OS: {env}\n"\
|
|
384
384
|
"Python Version: {pyversion}\n"\
|
|
385
385
|
"Version of the API: v3.6\n"\
|
|
386
|
-
"SDK Package Version: 3.
|
|
386
|
+
"SDK Package Version: 3.2.0".\
|
|
387
387
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
388
|
|
|
389
389
|
def get_host_settings(self):
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from datetime import date
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr, field_validator
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
24
24
|
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
@@ -36,6 +36,7 @@ class DocumentProperties(BaseModel):
|
|
|
36
36
|
""" # noqa: E501
|
|
37
37
|
date_of_birth: Optional[date] = None
|
|
38
38
|
date_of_expiry: Optional[date] = None
|
|
39
|
+
personal_number: Optional[StrictStr] = None
|
|
39
40
|
document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
|
|
40
41
|
document_type: Optional[StrictStr] = None
|
|
41
42
|
first_name: Optional[StrictStr] = None
|
|
@@ -55,7 +56,22 @@ class DocumentProperties(BaseModel):
|
|
|
55
56
|
widow_name: Optional[StrictStr] = None
|
|
56
57
|
alias_name: Optional[StrictStr] = None
|
|
57
58
|
issuing_authority: Optional[StrictStr] = None
|
|
59
|
+
remarks: Optional[StrictStr] = None
|
|
60
|
+
civil_state: Optional[StrictStr] = None
|
|
61
|
+
expatriation: Optional[StrictStr] = None
|
|
62
|
+
father_name: Optional[StrictStr] = None
|
|
63
|
+
mother_name: Optional[StrictStr] = None
|
|
64
|
+
religion: Optional[StrictStr] = None
|
|
65
|
+
type_of_permit: Optional[StrictStr] = None
|
|
66
|
+
version_number: Optional[StrictStr] = None
|
|
67
|
+
document_subtype: Optional[StrictStr] = None
|
|
68
|
+
profession: Optional[StrictStr] = None
|
|
69
|
+
security_document_number: Optional[StrictStr] = None
|
|
70
|
+
tax_number: Optional[StrictStr] = None
|
|
71
|
+
nist_identity_evidence_strength: Optional[StrictStr] = None
|
|
72
|
+
has_issuance_confirmation: Optional[StrictStr] = None
|
|
58
73
|
real_id_compliance: Optional[StrictBool] = None
|
|
74
|
+
security_tier: Optional[StrictStr] = None
|
|
59
75
|
address_lines: Optional[DocumentPropertiesAddressLines] = None
|
|
60
76
|
barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
|
|
61
77
|
nfc: Optional[DocumentPropertiesNfc] = None
|
|
@@ -63,7 +79,37 @@ class DocumentProperties(BaseModel):
|
|
|
63
79
|
document_classification: Optional[DocumentPropertiesDocumentClassification] = None
|
|
64
80
|
extracted_data: Optional[DocumentPropertiesExtractedData] = None
|
|
65
81
|
additional_properties: Dict[str, Any] = {}
|
|
66
|
-
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "real_id_compliance", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data"]
|
|
82
|
+
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data"]
|
|
83
|
+
|
|
84
|
+
@field_validator('nist_identity_evidence_strength')
|
|
85
|
+
def nist_identity_evidence_strength_validate_enum(cls, value):
|
|
86
|
+
"""Validates the enum"""
|
|
87
|
+
if value is None:
|
|
88
|
+
return value
|
|
89
|
+
|
|
90
|
+
if value not in set(['superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength']):
|
|
91
|
+
raise ValueError("must be one of enum values ('superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength')")
|
|
92
|
+
return value
|
|
93
|
+
|
|
94
|
+
@field_validator('has_issuance_confirmation')
|
|
95
|
+
def has_issuance_confirmation_validate_enum(cls, value):
|
|
96
|
+
"""Validates the enum"""
|
|
97
|
+
if value is None:
|
|
98
|
+
return value
|
|
99
|
+
|
|
100
|
+
if value not in set(['true', 'false', 'unspecified']):
|
|
101
|
+
raise ValueError("must be one of enum values ('true', 'false', 'unspecified')")
|
|
102
|
+
return value
|
|
103
|
+
|
|
104
|
+
@field_validator('security_tier')
|
|
105
|
+
def security_tier_validate_enum(cls, value):
|
|
106
|
+
"""Validates the enum"""
|
|
107
|
+
if value is None:
|
|
108
|
+
return value
|
|
109
|
+
|
|
110
|
+
if value not in set(['tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier']):
|
|
111
|
+
raise ValueError("must be one of enum values ('tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier')")
|
|
112
|
+
return value
|
|
67
113
|
|
|
68
114
|
model_config = ConfigDict(
|
|
69
115
|
populate_by_name=True,
|
|
@@ -154,6 +200,7 @@ class DocumentProperties(BaseModel):
|
|
|
154
200
|
_obj = cls.model_validate({
|
|
155
201
|
"date_of_birth": obj.get("date_of_birth"),
|
|
156
202
|
"date_of_expiry": obj.get("date_of_expiry"),
|
|
203
|
+
"personal_number": obj.get("personal_number"),
|
|
157
204
|
"document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
|
|
158
205
|
"document_type": obj.get("document_type"),
|
|
159
206
|
"first_name": obj.get("first_name"),
|
|
@@ -173,7 +220,22 @@ class DocumentProperties(BaseModel):
|
|
|
173
220
|
"widow_name": obj.get("widow_name"),
|
|
174
221
|
"alias_name": obj.get("alias_name"),
|
|
175
222
|
"issuing_authority": obj.get("issuing_authority"),
|
|
223
|
+
"remarks": obj.get("remarks"),
|
|
224
|
+
"civil_state": obj.get("civil_state"),
|
|
225
|
+
"expatriation": obj.get("expatriation"),
|
|
226
|
+
"father_name": obj.get("father_name"),
|
|
227
|
+
"mother_name": obj.get("mother_name"),
|
|
228
|
+
"religion": obj.get("religion"),
|
|
229
|
+
"type_of_permit": obj.get("type_of_permit"),
|
|
230
|
+
"version_number": obj.get("version_number"),
|
|
231
|
+
"document_subtype": obj.get("document_subtype"),
|
|
232
|
+
"profession": obj.get("profession"),
|
|
233
|
+
"security_document_number": obj.get("security_document_number"),
|
|
234
|
+
"tax_number": obj.get("tax_number"),
|
|
235
|
+
"nist_identity_evidence_strength": obj.get("nist_identity_evidence_strength"),
|
|
236
|
+
"has_issuance_confirmation": obj.get("has_issuance_confirmation"),
|
|
176
237
|
"real_id_compliance": obj.get("real_id_compliance"),
|
|
238
|
+
"security_tier": obj.get("security_tier"),
|
|
177
239
|
"address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
|
|
178
240
|
"barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
|
|
179
241
|
"nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from datetime import date
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
24
24
|
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
@@ -38,6 +38,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
38
38
|
""" # noqa: E501
|
|
39
39
|
date_of_birth: Optional[date] = None
|
|
40
40
|
date_of_expiry: Optional[date] = None
|
|
41
|
+
personal_number: Optional[StrictStr] = None
|
|
41
42
|
document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
|
|
42
43
|
document_type: Optional[StrictStr] = None
|
|
43
44
|
first_name: Optional[StrictStr] = None
|
|
@@ -57,7 +58,22 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
57
58
|
widow_name: Optional[StrictStr] = None
|
|
58
59
|
alias_name: Optional[StrictStr] = None
|
|
59
60
|
issuing_authority: Optional[StrictStr] = None
|
|
61
|
+
remarks: Optional[StrictStr] = None
|
|
62
|
+
civil_state: Optional[StrictStr] = None
|
|
63
|
+
expatriation: Optional[StrictStr] = None
|
|
64
|
+
father_name: Optional[StrictStr] = None
|
|
65
|
+
mother_name: Optional[StrictStr] = None
|
|
66
|
+
religion: Optional[StrictStr] = None
|
|
67
|
+
type_of_permit: Optional[StrictStr] = None
|
|
68
|
+
version_number: Optional[StrictStr] = None
|
|
69
|
+
document_subtype: Optional[StrictStr] = None
|
|
70
|
+
profession: Optional[StrictStr] = None
|
|
71
|
+
security_document_number: Optional[StrictStr] = None
|
|
72
|
+
tax_number: Optional[StrictStr] = None
|
|
73
|
+
nist_identity_evidence_strength: Optional[StrictStr] = None
|
|
74
|
+
has_issuance_confirmation: Optional[StrictStr] = None
|
|
60
75
|
real_id_compliance: Optional[StrictBool] = None
|
|
76
|
+
security_tier: Optional[StrictStr] = None
|
|
61
77
|
address_lines: Optional[DocumentPropertiesAddressLines] = None
|
|
62
78
|
barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
|
|
63
79
|
nfc: Optional[DocumentPropertiesNfc] = None
|
|
@@ -71,7 +87,37 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
71
87
|
vehicle_class_details: Optional[List[DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner]] = Field(default=None, description="Detailed classes/categories information")
|
|
72
88
|
passenger_vehicle: Optional[DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle] = None
|
|
73
89
|
additional_properties: Dict[str, Any] = {}
|
|
74
|
-
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "real_id_compliance", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "vehicle_class_details", "passenger_vehicle"]
|
|
90
|
+
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "gender", "issuing_country", "last_name", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "vehicle_class_details", "passenger_vehicle"]
|
|
91
|
+
|
|
92
|
+
@field_validator('nist_identity_evidence_strength')
|
|
93
|
+
def nist_identity_evidence_strength_validate_enum(cls, value):
|
|
94
|
+
"""Validates the enum"""
|
|
95
|
+
if value is None:
|
|
96
|
+
return value
|
|
97
|
+
|
|
98
|
+
if value not in set(['superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength']):
|
|
99
|
+
raise ValueError("must be one of enum values ('superior', 'strong', 'fair', 'weak', 'unacceptable', 'unspecified_identity_evidence_strength')")
|
|
100
|
+
return value
|
|
101
|
+
|
|
102
|
+
@field_validator('has_issuance_confirmation')
|
|
103
|
+
def has_issuance_confirmation_validate_enum(cls, value):
|
|
104
|
+
"""Validates the enum"""
|
|
105
|
+
if value is None:
|
|
106
|
+
return value
|
|
107
|
+
|
|
108
|
+
if value not in set(['true', 'false', 'unspecified']):
|
|
109
|
+
raise ValueError("must be one of enum values ('true', 'false', 'unspecified')")
|
|
110
|
+
return value
|
|
111
|
+
|
|
112
|
+
@field_validator('security_tier')
|
|
113
|
+
def security_tier_validate_enum(cls, value):
|
|
114
|
+
"""Validates the enum"""
|
|
115
|
+
if value is None:
|
|
116
|
+
return value
|
|
117
|
+
|
|
118
|
+
if value not in set(['tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier']):
|
|
119
|
+
raise ValueError("must be one of enum values ('tier_1', 'tier_2', 'tier_3', 'tier_4', 'tier_5', 'unspecified_security_tier')")
|
|
120
|
+
return value
|
|
75
121
|
|
|
76
122
|
model_config = ConfigDict(
|
|
77
123
|
populate_by_name=True,
|
|
@@ -172,6 +218,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
172
218
|
_obj = cls.model_validate({
|
|
173
219
|
"date_of_birth": obj.get("date_of_birth"),
|
|
174
220
|
"date_of_expiry": obj.get("date_of_expiry"),
|
|
221
|
+
"personal_number": obj.get("personal_number"),
|
|
175
222
|
"document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
|
|
176
223
|
"document_type": obj.get("document_type"),
|
|
177
224
|
"first_name": obj.get("first_name"),
|
|
@@ -191,7 +238,22 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
191
238
|
"widow_name": obj.get("widow_name"),
|
|
192
239
|
"alias_name": obj.get("alias_name"),
|
|
193
240
|
"issuing_authority": obj.get("issuing_authority"),
|
|
241
|
+
"remarks": obj.get("remarks"),
|
|
242
|
+
"civil_state": obj.get("civil_state"),
|
|
243
|
+
"expatriation": obj.get("expatriation"),
|
|
244
|
+
"father_name": obj.get("father_name"),
|
|
245
|
+
"mother_name": obj.get("mother_name"),
|
|
246
|
+
"religion": obj.get("religion"),
|
|
247
|
+
"type_of_permit": obj.get("type_of_permit"),
|
|
248
|
+
"version_number": obj.get("version_number"),
|
|
249
|
+
"document_subtype": obj.get("document_subtype"),
|
|
250
|
+
"profession": obj.get("profession"),
|
|
251
|
+
"security_document_number": obj.get("security_document_number"),
|
|
252
|
+
"tax_number": obj.get("tax_number"),
|
|
253
|
+
"nist_identity_evidence_strength": obj.get("nist_identity_evidence_strength"),
|
|
254
|
+
"has_issuance_confirmation": obj.get("has_issuance_confirmation"),
|
|
194
255
|
"real_id_compliance": obj.get("real_id_compliance"),
|
|
256
|
+
"security_tier": obj.get("security_tier"),
|
|
195
257
|
"address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
|
|
196
258
|
"barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
|
|
197
259
|
"nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import hmac
|
|
2
2
|
import hashlib
|
|
3
|
-
import json
|
|
4
3
|
|
|
5
4
|
from .models import WebhookEvent
|
|
6
5
|
|
|
6
|
+
|
|
7
7
|
class OnfidoInvalidSignatureError(Exception):
|
|
8
8
|
pass
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
class WebhookEventVerifier:
|
|
11
12
|
def __init__(self, webhook_token):
|
|
12
13
|
self.webhook_token = webhook_token
|
|
13
14
|
|
|
14
15
|
def read_payload(self, raw_event, signature):
|
|
15
16
|
# Compute the the actual HMAC signature from the raw request body.
|
|
16
|
-
event_signature = hmac.new(
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
event_signature = hmac.new(
|
|
18
|
+
key=self.webhook_token.encode("utf-8"),
|
|
19
|
+
msg=raw_event.encode("utf-8"),
|
|
20
|
+
digestmod=hashlib.sha256,
|
|
21
|
+
).hexdigest()
|
|
19
22
|
|
|
20
23
|
# Compare the signatures (prevent against timing attacks).
|
|
21
24
|
if not hmac.compare_digest(signature, event_signature):
|
|
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
21
21
|
# prerequisite: setuptools
|
|
22
22
|
# http://pypi.python.org/pypi/setuptools
|
|
23
23
|
NAME = "onfido-python"
|
|
24
|
-
VERSION = "3.
|
|
24
|
+
VERSION = "3.2.0"
|
|
25
25
|
PYTHON_REQUIRES = ">=3.7"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 1.25.3, < 2.1.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/device_intelligence_breakdown_breakdown.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_age_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_compromised_document.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_comparison.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_consistency.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_data_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_image_integrity.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_issuing_authority.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_police_record.py
RENAMED
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_breakdown_visual_authenticity.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_address_lines.py
RENAMED
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_barcode_inner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-3.1.0 → onfido_python-3.2.0}/onfido/models/document_properties_extracted_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|