onfido-python 4.3.0__tar.gz → 4.4.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.3.0 → onfido_python-4.4.0}/PKG-INFO +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/__init__.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/api_client.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/configuration.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/task.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_payload_resource.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_resource_type.py +2 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_type.py +1 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido_python.egg-info/PKG-INFO +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/pyproject.toml +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/setup.py +1 -1
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_studio_webhook_event_verification.py +38 -0
- onfido_python-4.4.0/tests/test_tasks.py +90 -0
- onfido_python-4.3.0/tests/test_tasks.py +0 -59
- {onfido_python-4.3.0 → onfido_python-4.4.0}/LICENSE +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/README.md +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/api/__init__.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/api/default_api.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/api_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/exceptions.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/__init__.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/address.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/address_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/address_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/addresses_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_consent_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_consent_name.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_create.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_request.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_update.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicant_updater.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/applicants_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check_request.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/check_status.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/checks_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/complete_task_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/complete_task_data_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/country_codes.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/device_intelligence_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_age_validation.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_validation.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_police_record.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_cdq_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_iq_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_odp_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_address_lines.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_barcode_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_document_classification.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_extracted_data.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_nfc.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_types.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_video_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_video_with_address_information_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_address_information_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_driver_verification_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/documents_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/error.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/error1.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/error_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/error_properties1.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/extract_request.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/extraction.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/extraction_document_classification.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/extraction_extracted_data.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_photo_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_report_media.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_report_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_video_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/id_number.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/id_photo.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/id_photo_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/id_photos_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/identity_enhanced_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/known_faces_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/live_photo.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/live_photo_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/live_photos_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/live_video.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/live_videos_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/location.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/location_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/location_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/motion_capture.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/motion_captures_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/photo_auto_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/photo_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/proof_of_address_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/repeat_attempts_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_document.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_name.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_result.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_status.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/report_sub_result.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/reports_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/results_feedback.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/sdk_token.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/sdk_token_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/sdk_token_request.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/sdk_token_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/task_item.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/timeline_file_reference.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/us_driving_licence_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/video_reasons.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_aml_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_enhanced_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_match.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitor_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_monitors_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_peps_only_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_standard_properties.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/watchlist_standard_report.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_create.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_object_status.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_payload.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_event_payload_object.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_resend.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_update.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhook_updater.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhooks_list.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/webhooks_resend_item.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_builder.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_error.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_link.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_request.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_response.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_shared.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/workflow_run_status.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/py.typed +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/rest.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/webhook_event_verifier.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido_python.egg-info/SOURCES.txt +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido_python.egg-info/dependency_links.txt +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido_python.egg-info/requires.txt +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/onfido_python.egg-info/top_level.txt +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/setup.cfg +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_address_picker.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_applicants.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_checks.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_classic_webhook_event_verification.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_documents.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_extraction.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_id_photos.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_live_photos.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_live_video.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_motion_capture.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_qualified_electronic_signatures.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_report_schemas.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_reports.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_sdk_token.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_watchlist_monitor.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_webhooks.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_workflow_run_outputs.py +0 -0
- {onfido_python-4.3.0 → onfido_python-4.4.0}/tests/test_workflow_runs.py +0 -0
|
@@ -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.4.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.4.0".\
|
|
398
398
|
format(env=sys.platform, pyversion=sys.version)
|
|
399
399
|
|
|
400
400
|
def get_host_settings(self):
|
|
@@ -33,7 +33,7 @@ class Task(BaseModel):
|
|
|
33
33
|
task_def_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The identifier for the Task Definition.")
|
|
34
34
|
task_def_version: Optional[StrictStr] = Field(default=None, description="The task definition version.")
|
|
35
35
|
input: Optional[Dict[str, Any]] = Field(default=None, description="Input object with the fields used by the Task to execute.")
|
|
36
|
-
output:
|
|
36
|
+
output: Any = Field(default=None, description="Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.")
|
|
37
37
|
created_at: Optional[datetime] = Field(default=None, description="The date and time when the Task was created.")
|
|
38
38
|
updated_at: Optional[datetime] = Field(default=None, description="The date and time when the Task was last updated.")
|
|
39
39
|
additional_properties: Dict[str, Any] = {}
|
|
@@ -41,7 +41,7 @@ class WebhookEventPayloadResource(BaseModel):
|
|
|
41
41
|
task_def_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The identifier for the Task Definition.")
|
|
42
42
|
task_def_version: Optional[StrictStr] = Field(default=None, description="The task definition version.")
|
|
43
43
|
input: Optional[Dict[str, Any]] = Field(default=None, description="Input object with the fields used by the Task execution.")
|
|
44
|
-
output:
|
|
44
|
+
output: Any = Field(default=None, description="Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.")
|
|
45
45
|
reasons: Optional[List[StrictStr]] = Field(default=None, description="The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow Version.")
|
|
46
46
|
link: Optional[WorkflowRunLink] = Field(default=None, description="Object for the configuration of the Workflow Run link.")
|
|
47
47
|
error: Optional[WorkflowRunError] = Field(default=None, description="Error object that details why a Workflow Run is in Error status.")
|
|
@@ -32,6 +32,8 @@ class WebhookEventResourceType(str, Enum):
|
|
|
32
32
|
WORKFLOW_RUN = 'workflow_run'
|
|
33
33
|
WORKFLOW_TASK = 'workflow_task'
|
|
34
34
|
WATCHLIST_MONITOR = 'watchlist_monitor'
|
|
35
|
+
WORKFLOW_TIMELINE_FILE = 'workflow_timeline_file'
|
|
36
|
+
WORKFLOW_RUN_EVIDENCE_FOLDER = 'workflow_run_evidence_folder'
|
|
35
37
|
|
|
36
38
|
@classmethod
|
|
37
39
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -43,6 +43,7 @@ class WebhookEventType(str, Enum):
|
|
|
43
43
|
REPORT_DOT_COMPLETED = 'report.completed'
|
|
44
44
|
WORKFLOW_TIMELINE_FILE_DOT_CREATED = 'workflow_timeline_file.created'
|
|
45
45
|
WORKFLOW_SIGNED_EVIDENCE_FILE_DOT_CREATED = 'workflow_signed_evidence_file.created'
|
|
46
|
+
WORKFLOW_RUN_EVIDENCE_FOLDER_DOT_CREATED = 'workflow_run_evidence_folder.created'
|
|
46
47
|
|
|
47
48
|
@classmethod
|
|
48
49
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -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 = "4.
|
|
24
|
+
VERSION = "4.4.0"
|
|
25
25
|
PYTHON_REQUIRES = ">= 3.8"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 1.25.3, < 3.0.0",
|
|
@@ -61,3 +61,41 @@ def test_webhook_verification_invalid_signature():
|
|
|
61
61
|
|
|
62
62
|
with pytest.raises(OnfidoInvalidSignatureError):
|
|
63
63
|
verifier.read_payload(raw_event, signature)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def test_webhook_verification_with_object_in_output():
|
|
67
|
+
signature = "e3e5565647f5ccf07b2fd8ac22eab94a0a0619413d981fb768295c820523f7d7"
|
|
68
|
+
|
|
69
|
+
with open('tests/media/studio_webhook_event_with_object_in_output.json', 'r') as file:
|
|
70
|
+
event = verifier.read_payload(file.read(), signature)
|
|
71
|
+
|
|
72
|
+
assert event.payload.resource.output['properties'] == {
|
|
73
|
+
'date_of_birth': '1990-01-01',
|
|
74
|
+
'date_of_expiry': '2031-05-28',
|
|
75
|
+
'document_number': '999999999',
|
|
76
|
+
'document_numbers': [
|
|
77
|
+
{
|
|
78
|
+
'type': 'document_number',
|
|
79
|
+
'value': '999999999'
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
'document_type': 'passport',
|
|
83
|
+
'first_name': 'Jane',
|
|
84
|
+
'issuing_country': 'GBR',
|
|
85
|
+
'last_name': 'Doe',
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def test_webhook_verification_with_list_in_output():
|
|
90
|
+
signature = "f3a5170acfcecf8c1bf6d9cb9995c0d9dec941af83056a721530f8de7af2c293"
|
|
91
|
+
|
|
92
|
+
with open('tests/media/studio_webhook_event_with_list_in_output.json', 'r') as file:
|
|
93
|
+
event = verifier.read_payload(file.read(), signature)
|
|
94
|
+
|
|
95
|
+
assert event.payload.resource.output == [
|
|
96
|
+
{
|
|
97
|
+
'checksum_sha256': 'hiwV2PLmeQZzeySPGGwVL48sxVXcyfpXy9LDl1u3lWU=',
|
|
98
|
+
'id': '7af75a3a-ba34-4aa5-9e3e-096c9f56256b',
|
|
99
|
+
'type': 'document_photo'
|
|
100
|
+
}
|
|
101
|
+
]
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from onfido import Task, TaskItem, CompleteTaskBuilder, CompleteTaskDataBuilder
|
|
4
|
+
from tests.conftest import create_applicant, create_workflow_run, upload_document
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@pytest.fixture(scope="function")
|
|
8
|
+
def applicant_id(onfido_api):
|
|
9
|
+
return create_applicant(onfido_api).id
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@pytest.fixture(scope="function")
|
|
13
|
+
def workflow_id():
|
|
14
|
+
return "5025d9fd-7842-4805-bce1-a7bfd7131b4e"
|
|
15
|
+
|
|
16
|
+
@pytest.fixture(scope="function")
|
|
17
|
+
def document_id(onfido_api, applicant_id):
|
|
18
|
+
return upload_document(onfido_api, applicant_id).id
|
|
19
|
+
|
|
20
|
+
@pytest.fixture(scope="function")
|
|
21
|
+
def workflow_run_id(onfido_api, applicant_id, workflow_id):
|
|
22
|
+
return create_workflow_run(
|
|
23
|
+
onfido_api, applicant_id=applicant_id, workflow_id=workflow_id
|
|
24
|
+
).id
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def test_list_tasks(onfido_api, workflow_run_id):
|
|
28
|
+
tasks = onfido_api.list_tasks(workflow_run_id)
|
|
29
|
+
|
|
30
|
+
assert tasks is not None
|
|
31
|
+
assert isinstance(tasks[0], TaskItem)
|
|
32
|
+
assert len(tasks) == 2
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def test_find_task(onfido_api, workflow_run_id):
|
|
36
|
+
task = onfido_api.list_tasks(workflow_run_id)[0]
|
|
37
|
+
get_task = onfido_api.find_task(workflow_run_id, task.id)
|
|
38
|
+
|
|
39
|
+
assert get_task is not None
|
|
40
|
+
assert isinstance(get_task, Task)
|
|
41
|
+
assert get_task.id == task.id
|
|
42
|
+
assert get_task.task_def_id == task.task_def_id
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def test_complete_task(onfido_api, workflow_run_id, document_id):
|
|
46
|
+
profile_data_task_id = next(
|
|
47
|
+
filter(lambda task: "profile" in task.id,
|
|
48
|
+
onfido_api.list_tasks(workflow_run_id))).id
|
|
49
|
+
|
|
50
|
+
complete_task_builder = CompleteTaskBuilder(
|
|
51
|
+
data=CompleteTaskDataBuilder({"first_name": "Jane", "last_name": "Doe"})
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
onfido_api.complete_task(
|
|
55
|
+
workflow_run_id=workflow_run_id,
|
|
56
|
+
task_id=profile_data_task_id,
|
|
57
|
+
complete_task_builder=complete_task_builder,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
profile_task_outputs = onfido_api.find_task(workflow_run_id,
|
|
61
|
+
profile_data_task_id).output
|
|
62
|
+
|
|
63
|
+
assert profile_task_outputs["first_name"] == "Jane"
|
|
64
|
+
assert profile_task_outputs["last_name"] == "Doe"
|
|
65
|
+
|
|
66
|
+
document_capture_task_id = next(
|
|
67
|
+
filter(lambda task: "document_photo" in task.id,
|
|
68
|
+
onfido_api.list_tasks(workflow_run_id))
|
|
69
|
+
).id
|
|
70
|
+
|
|
71
|
+
complete_document_capture_task_builder = CompleteTaskBuilder(
|
|
72
|
+
data=CompleteTaskDataBuilder([{"id": document_id}])
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
onfido_api.complete_task(
|
|
76
|
+
workflow_run_id=workflow_run_id,
|
|
77
|
+
task_id=document_capture_task_id,
|
|
78
|
+
complete_task_builder=complete_document_capture_task_builder,
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
document_photo_task_id = next(
|
|
82
|
+
filter(lambda task: "document_photo" in task.id,
|
|
83
|
+
onfido_api.list_tasks(workflow_run_id))).id
|
|
84
|
+
|
|
85
|
+
document_photo_task_outputs = onfido_api.find_task(
|
|
86
|
+
workflow_run_id,
|
|
87
|
+
document_photo_task_id).output
|
|
88
|
+
|
|
89
|
+
assert document_photo_task_outputs == [{"id": document_id,
|
|
90
|
+
"type": "document"}]
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
from onfido import Task, TaskItem, CompleteTaskBuilder, CompleteTaskDataBuilder
|
|
4
|
-
from tests.conftest import create_applicant, create_workflow_run
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@pytest.fixture(scope="function")
|
|
8
|
-
def applicant_id(onfido_api):
|
|
9
|
-
return create_applicant(onfido_api).id
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@pytest.fixture(scope="function")
|
|
13
|
-
def workflow_id():
|
|
14
|
-
return "e8c921eb-0495-44fe-b655-bcdcaffdafe5"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@pytest.fixture(scope="function")
|
|
18
|
-
def workflow_run_id(onfido_api, applicant_id, workflow_id):
|
|
19
|
-
return create_workflow_run(
|
|
20
|
-
onfido_api, applicant_id=applicant_id, workflow_id=workflow_id
|
|
21
|
-
).id
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def test_list_tasks(onfido_api, workflow_run_id):
|
|
25
|
-
tasks = onfido_api.list_tasks(workflow_run_id)
|
|
26
|
-
|
|
27
|
-
assert tasks is not None
|
|
28
|
-
assert isinstance(tasks[0], TaskItem)
|
|
29
|
-
assert len(tasks) == 2
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
def test_find_task(onfido_api, workflow_run_id):
|
|
33
|
-
task = onfido_api.list_tasks(workflow_run_id)[0]
|
|
34
|
-
get_task = onfido_api.find_task(workflow_run_id, task.id)
|
|
35
|
-
|
|
36
|
-
assert get_task is not None
|
|
37
|
-
assert isinstance(get_task, Task)
|
|
38
|
-
assert get_task.id == task.id
|
|
39
|
-
assert get_task.task_def_id == task.task_def_id
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
def test_complete_task(onfido_api, workflow_run_id):
|
|
43
|
-
tasks = onfido_api.list_tasks(workflow_run_id)
|
|
44
|
-
profile_data_task_id = list(filter(lambda task: "profile" in task.id, tasks))[0].id
|
|
45
|
-
|
|
46
|
-
complete_task_builder = CompleteTaskBuilder(
|
|
47
|
-
data=CompleteTaskDataBuilder({"first_name": "Jane", "last_name": "Doe"})
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
onfido_api.complete_task(
|
|
51
|
-
workflow_run_id=workflow_run_id,
|
|
52
|
-
task_id=profile_data_task_id,
|
|
53
|
-
complete_task_builder=complete_task_builder,
|
|
54
|
-
)
|
|
55
|
-
|
|
56
|
-
task_outputs = onfido_api.find_task(workflow_run_id, profile_data_task_id).output
|
|
57
|
-
|
|
58
|
-
assert task_outputs["first_name"] == "Jane"
|
|
59
|
-
assert task_outputs["last_name"] == "Doe"
|
|
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
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.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-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_age_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_compromised_document.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_comparison.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_consistency.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_data_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.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-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_issuing_authority.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_breakdown_police_record.py
RENAMED
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.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
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_address_lines.py
RENAMED
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/document_properties_barcode_inner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/extraction_document_classification.py
RENAMED
|
File without changes
|
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_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
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_properties.py
RENAMED
|
File without changes
|
{onfido_python-4.3.0 → onfido_python-4.4.0}/onfido/models/facial_similarity_motion_report.py
RENAMED
|
File without changes
|