onfido-python 3.2.0__tar.gz → 3.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-3.2.0/onfido_python.egg-info → onfido_python-3.4.0}/PKG-INFO +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/__init__.py +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/api/default_api.py +281 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/api_client.py +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/configuration.py +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document.py +2 -2
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties.py +5 -3
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_shared.py +2 -2
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +5 -3
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_event_payload_object.py +3 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run.py +11 -2
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_builder.py +3 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_response.py +9 -2
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_shared.py +3 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0/onfido_python.egg-info}/PKG-INFO +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido_python.egg-info/SOURCES.txt +1 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/pyproject.toml +1 -1
- {onfido_python-3.2.0 → onfido_python-3.4.0}/setup.py +1 -1
- onfido_python-3.4.0/tests/test_qualified_electronic_signatures.py +58 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/LICENSE +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/README.md +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/api/__init__.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/api_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/exceptions.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/__init__.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/address.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/address_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/address_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/addresses_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_create.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_request.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_update.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicant_updater.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/applicants_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/check.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/check_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/check_request.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/check_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/check_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/checks_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/complete_task_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/complete_task_data_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/consent_item.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/consents_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/country_codes.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/device_intelligence_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_age_validation.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_validation.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_police_record.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_cdq_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_iq_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_odp_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_address_lines.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_barcode_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_document_classification.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_extracted_data.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_properties_nfc.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_types.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_video_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_video_with_address_information_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_address_information_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_driver_verification_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/documents_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/error.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/error1.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/error_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/error_properties1.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/extract_request.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/extraction.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/extraction_document_classification.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/extraction_extracted_data.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_motion_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_photo_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/facial_similarity_video_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/id_number.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/id_photo.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/id_photo_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/id_photos_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/identity_enhanced_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/known_faces_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/live_photo.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/live_photo_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/live_photos_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/live_video.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/live_videos_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/location.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/location_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/location_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/motion_capture.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/motion_captures_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/photo_auto_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/photo_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/proof_of_address_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/repeat_attempts_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_document.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_name.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_result.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_status.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/report_sub_result.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/reports_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/results_feedback.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/sdk_token.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/sdk_token_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/sdk_token_request.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/sdk_token_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/task.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/task_item.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/timeline_file_reference.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/us_driving_licence_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/video_reasons.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_aml_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_enhanced_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_enhanced_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_match.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitor_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_monitors_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_peps_only_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_standard_properties.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/watchlist_standard_report.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_builder.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_create.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_event.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_event_payload.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_event_type.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_resend.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_response.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_shared.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_update.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhook_updater.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhooks_list.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/webhooks_resend_item.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_request.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_response_error.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/models/workflow_run_shared_link.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/py.typed +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/rest.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido/webhook_event_verifier.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido_python.egg-info/dependency_links.txt +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido_python.egg-info/requires.txt +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/onfido_python.egg-info/top_level.txt +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/setup.cfg +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_address_picker.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_applicants.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_checks.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_documents.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_extraction.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_id_photos.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_live_photos.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_live_video.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_motion_capture.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_report_schemas.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_reports.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_sdk_token.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_tasks.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_watchlist_monitor.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_webhook_verification.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_webhooks.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_workflow_run_outputs.py +0 -0
- {onfido_python-3.2.0 → onfido_python-3.4.0}/tests/test_workflow_runs.py +0 -0
|
@@ -5359,6 +5359,287 @@ class DefaultApi:
|
|
|
5359
5359
|
|
|
5360
5360
|
|
|
5361
5361
|
|
|
5362
|
+
@validate_call
|
|
5363
|
+
def download_qes_document(
|
|
5364
|
+
self,
|
|
5365
|
+
workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
|
|
5366
|
+
file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
|
|
5367
|
+
_request_timeout: Union[
|
|
5368
|
+
None,
|
|
5369
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5370
|
+
Tuple[
|
|
5371
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5372
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5373
|
+
]
|
|
5374
|
+
] = None,
|
|
5375
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5376
|
+
_content_type: Optional[StrictStr] = None,
|
|
5377
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5378
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5379
|
+
) -> bytearray:
|
|
5380
|
+
"""Retrieves the signed document or application form
|
|
5381
|
+
|
|
5382
|
+
Retrieves the signed document or application form depending on the file_id provided.
|
|
5383
|
+
|
|
5384
|
+
:param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
|
|
5385
|
+
:type workflow_run_id: str
|
|
5386
|
+
:param file_id: The unique identifier of the file which you want to retrieve. (required)
|
|
5387
|
+
:type file_id: str
|
|
5388
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5389
|
+
number provided, it will be total request
|
|
5390
|
+
timeout. It can also be a pair (tuple) of
|
|
5391
|
+
(connection, read) timeouts.
|
|
5392
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5393
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5394
|
+
request; this effectively ignores the
|
|
5395
|
+
authentication in the spec for a single request.
|
|
5396
|
+
:type _request_auth: dict, optional
|
|
5397
|
+
:param _content_type: force content-type for the request.
|
|
5398
|
+
:type _content_type: str, Optional
|
|
5399
|
+
:param _headers: set to override the headers for a single
|
|
5400
|
+
request; this effectively ignores the headers
|
|
5401
|
+
in the spec for a single request.
|
|
5402
|
+
:type _headers: dict, optional
|
|
5403
|
+
:param _host_index: set to override the host_index for a single
|
|
5404
|
+
request; this effectively ignores the host_index
|
|
5405
|
+
in the spec for a single request.
|
|
5406
|
+
:type _host_index: int, optional
|
|
5407
|
+
:return: Returns the result object.
|
|
5408
|
+
""" # noqa: E501
|
|
5409
|
+
|
|
5410
|
+
_param = self._download_qes_document_serialize(
|
|
5411
|
+
workflow_run_id=workflow_run_id,
|
|
5412
|
+
file_id=file_id,
|
|
5413
|
+
_request_auth=_request_auth,
|
|
5414
|
+
_content_type=_content_type,
|
|
5415
|
+
_headers=_headers,
|
|
5416
|
+
_host_index=_host_index
|
|
5417
|
+
)
|
|
5418
|
+
|
|
5419
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5420
|
+
'302': None,
|
|
5421
|
+
'200': "bytearray",
|
|
5422
|
+
}
|
|
5423
|
+
response_data = self.api_client.call_api(
|
|
5424
|
+
*_param,
|
|
5425
|
+
_request_timeout=_request_timeout
|
|
5426
|
+
)
|
|
5427
|
+
response_data.read()
|
|
5428
|
+
return self.api_client.response_deserialize(
|
|
5429
|
+
response_data=response_data,
|
|
5430
|
+
response_types_map=_response_types_map,
|
|
5431
|
+
).data
|
|
5432
|
+
|
|
5433
|
+
|
|
5434
|
+
@validate_call
|
|
5435
|
+
def download_qes_document_with_http_info(
|
|
5436
|
+
self,
|
|
5437
|
+
workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
|
|
5438
|
+
file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
|
|
5439
|
+
_request_timeout: Union[
|
|
5440
|
+
None,
|
|
5441
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5442
|
+
Tuple[
|
|
5443
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5444
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5445
|
+
]
|
|
5446
|
+
] = None,
|
|
5447
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5448
|
+
_content_type: Optional[StrictStr] = None,
|
|
5449
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5450
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5451
|
+
) -> ApiResponse[bytearray]:
|
|
5452
|
+
"""Retrieves the signed document or application form
|
|
5453
|
+
|
|
5454
|
+
Retrieves the signed document or application form depending on the file_id provided.
|
|
5455
|
+
|
|
5456
|
+
:param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
|
|
5457
|
+
:type workflow_run_id: str
|
|
5458
|
+
:param file_id: The unique identifier of the file which you want to retrieve. (required)
|
|
5459
|
+
:type file_id: str
|
|
5460
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5461
|
+
number provided, it will be total request
|
|
5462
|
+
timeout. It can also be a pair (tuple) of
|
|
5463
|
+
(connection, read) timeouts.
|
|
5464
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5465
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5466
|
+
request; this effectively ignores the
|
|
5467
|
+
authentication in the spec for a single request.
|
|
5468
|
+
:type _request_auth: dict, optional
|
|
5469
|
+
:param _content_type: force content-type for the request.
|
|
5470
|
+
:type _content_type: str, Optional
|
|
5471
|
+
:param _headers: set to override the headers for a single
|
|
5472
|
+
request; this effectively ignores the headers
|
|
5473
|
+
in the spec for a single request.
|
|
5474
|
+
:type _headers: dict, optional
|
|
5475
|
+
:param _host_index: set to override the host_index for a single
|
|
5476
|
+
request; this effectively ignores the host_index
|
|
5477
|
+
in the spec for a single request.
|
|
5478
|
+
:type _host_index: int, optional
|
|
5479
|
+
:return: Returns the result object.
|
|
5480
|
+
""" # noqa: E501
|
|
5481
|
+
|
|
5482
|
+
_param = self._download_qes_document_serialize(
|
|
5483
|
+
workflow_run_id=workflow_run_id,
|
|
5484
|
+
file_id=file_id,
|
|
5485
|
+
_request_auth=_request_auth,
|
|
5486
|
+
_content_type=_content_type,
|
|
5487
|
+
_headers=_headers,
|
|
5488
|
+
_host_index=_host_index
|
|
5489
|
+
)
|
|
5490
|
+
|
|
5491
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5492
|
+
'302': None,
|
|
5493
|
+
'200': "bytearray",
|
|
5494
|
+
}
|
|
5495
|
+
response_data = self.api_client.call_api(
|
|
5496
|
+
*_param,
|
|
5497
|
+
_request_timeout=_request_timeout
|
|
5498
|
+
)
|
|
5499
|
+
response_data.read()
|
|
5500
|
+
return self.api_client.response_deserialize(
|
|
5501
|
+
response_data=response_data,
|
|
5502
|
+
response_types_map=_response_types_map,
|
|
5503
|
+
)
|
|
5504
|
+
|
|
5505
|
+
|
|
5506
|
+
@validate_call
|
|
5507
|
+
def download_qes_document_without_preload_content(
|
|
5508
|
+
self,
|
|
5509
|
+
workflow_run_id: Annotated[StrictStr, Field(description="The unique identifier of the Workflow Run for which you want to retrieve the signed document.")],
|
|
5510
|
+
file_id: Annotated[StrictStr, Field(description="The unique identifier of the file which you want to retrieve.")],
|
|
5511
|
+
_request_timeout: Union[
|
|
5512
|
+
None,
|
|
5513
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5514
|
+
Tuple[
|
|
5515
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5516
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5517
|
+
]
|
|
5518
|
+
] = None,
|
|
5519
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5520
|
+
_content_type: Optional[StrictStr] = None,
|
|
5521
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5522
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5523
|
+
) -> RESTResponseType:
|
|
5524
|
+
"""Retrieves the signed document or application form
|
|
5525
|
+
|
|
5526
|
+
Retrieves the signed document or application form depending on the file_id provided.
|
|
5527
|
+
|
|
5528
|
+
:param workflow_run_id: The unique identifier of the Workflow Run for which you want to retrieve the signed document. (required)
|
|
5529
|
+
:type workflow_run_id: str
|
|
5530
|
+
:param file_id: The unique identifier of the file which you want to retrieve. (required)
|
|
5531
|
+
:type file_id: str
|
|
5532
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5533
|
+
number provided, it will be total request
|
|
5534
|
+
timeout. It can also be a pair (tuple) of
|
|
5535
|
+
(connection, read) timeouts.
|
|
5536
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5537
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5538
|
+
request; this effectively ignores the
|
|
5539
|
+
authentication in the spec for a single request.
|
|
5540
|
+
:type _request_auth: dict, optional
|
|
5541
|
+
:param _content_type: force content-type for the request.
|
|
5542
|
+
:type _content_type: str, Optional
|
|
5543
|
+
:param _headers: set to override the headers for a single
|
|
5544
|
+
request; this effectively ignores the headers
|
|
5545
|
+
in the spec for a single request.
|
|
5546
|
+
:type _headers: dict, optional
|
|
5547
|
+
:param _host_index: set to override the host_index for a single
|
|
5548
|
+
request; this effectively ignores the host_index
|
|
5549
|
+
in the spec for a single request.
|
|
5550
|
+
:type _host_index: int, optional
|
|
5551
|
+
:return: Returns the result object.
|
|
5552
|
+
""" # noqa: E501
|
|
5553
|
+
|
|
5554
|
+
_param = self._download_qes_document_serialize(
|
|
5555
|
+
workflow_run_id=workflow_run_id,
|
|
5556
|
+
file_id=file_id,
|
|
5557
|
+
_request_auth=_request_auth,
|
|
5558
|
+
_content_type=_content_type,
|
|
5559
|
+
_headers=_headers,
|
|
5560
|
+
_host_index=_host_index
|
|
5561
|
+
)
|
|
5562
|
+
|
|
5563
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5564
|
+
'302': None,
|
|
5565
|
+
'200': "bytearray",
|
|
5566
|
+
}
|
|
5567
|
+
response_data = self.api_client.call_api(
|
|
5568
|
+
*_param,
|
|
5569
|
+
_request_timeout=_request_timeout
|
|
5570
|
+
)
|
|
5571
|
+
return response_data.response
|
|
5572
|
+
|
|
5573
|
+
|
|
5574
|
+
def _download_qes_document_serialize(
|
|
5575
|
+
self,
|
|
5576
|
+
workflow_run_id,
|
|
5577
|
+
file_id,
|
|
5578
|
+
_request_auth,
|
|
5579
|
+
_content_type,
|
|
5580
|
+
_headers,
|
|
5581
|
+
_host_index,
|
|
5582
|
+
) -> RequestSerialized:
|
|
5583
|
+
|
|
5584
|
+
_host = None
|
|
5585
|
+
|
|
5586
|
+
_collection_formats: Dict[str, str] = {
|
|
5587
|
+
}
|
|
5588
|
+
|
|
5589
|
+
_path_params: Dict[str, str] = {}
|
|
5590
|
+
_query_params: List[Tuple[str, str]] = []
|
|
5591
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5592
|
+
_form_params: List[Tuple[str, str]] = []
|
|
5593
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
5594
|
+
_body_params: Optional[bytes] = None
|
|
5595
|
+
|
|
5596
|
+
# process the path parameters
|
|
5597
|
+
# process the query parameters
|
|
5598
|
+
if workflow_run_id is not None:
|
|
5599
|
+
|
|
5600
|
+
_query_params.append(('workflow_run_id', workflow_run_id))
|
|
5601
|
+
|
|
5602
|
+
if file_id is not None:
|
|
5603
|
+
|
|
5604
|
+
_query_params.append(('file_id', file_id))
|
|
5605
|
+
|
|
5606
|
+
# process the header parameters
|
|
5607
|
+
# process the form parameters
|
|
5608
|
+
# process the body parameter
|
|
5609
|
+
|
|
5610
|
+
|
|
5611
|
+
# set the HTTP header `Accept`
|
|
5612
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5613
|
+
[
|
|
5614
|
+
'application/pdf',
|
|
5615
|
+
'application/json'
|
|
5616
|
+
]
|
|
5617
|
+
)
|
|
5618
|
+
|
|
5619
|
+
|
|
5620
|
+
# authentication setting
|
|
5621
|
+
_auth_settings: List[str] = [
|
|
5622
|
+
'Token'
|
|
5623
|
+
]
|
|
5624
|
+
|
|
5625
|
+
return self.api_client.param_serialize(
|
|
5626
|
+
method='GET',
|
|
5627
|
+
resource_path='/qualified_electronic_signature/documents',
|
|
5628
|
+
path_params=_path_params,
|
|
5629
|
+
query_params=_query_params,
|
|
5630
|
+
header_params=_header_params,
|
|
5631
|
+
body=_body_params,
|
|
5632
|
+
post_params=_form_params,
|
|
5633
|
+
files=_files,
|
|
5634
|
+
auth_settings=_auth_settings,
|
|
5635
|
+
collection_formats=_collection_formats,
|
|
5636
|
+
_host=_host,
|
|
5637
|
+
_request_auth=_request_auth
|
|
5638
|
+
)
|
|
5639
|
+
|
|
5640
|
+
|
|
5641
|
+
|
|
5642
|
+
|
|
5362
5643
|
@validate_call
|
|
5363
5644
|
def download_signed_evidence_file(
|
|
5364
5645
|
self,
|
|
@@ -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.4.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.4.0".\
|
|
387
387
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
388
|
|
|
389
389
|
def get_host_settings(self):
|
|
@@ -48,8 +48,8 @@ class Document(BaseModel):
|
|
|
48
48
|
if value is None:
|
|
49
49
|
return value
|
|
50
50
|
|
|
51
|
-
if value not in set(['jpg', 'png', 'pdf']):
|
|
52
|
-
raise ValueError("must be one of enum values ('jpg', 'png', 'pdf')")
|
|
51
|
+
if value not in set(['jpg', 'jpeg', 'png', 'pdf']):
|
|
52
|
+
raise ValueError("must be one of enum values ('jpg', 'jpeg', 'png', 'pdf')")
|
|
53
53
|
return value
|
|
54
54
|
|
|
55
55
|
@field_validator('side')
|
|
@@ -40,9 +40,10 @@ class DocumentProperties(BaseModel):
|
|
|
40
40
|
document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
|
|
41
41
|
document_type: Optional[StrictStr] = None
|
|
42
42
|
first_name: Optional[StrictStr] = None
|
|
43
|
+
middle_name: Optional[StrictStr] = None
|
|
44
|
+
last_name: Optional[StrictStr] = None
|
|
43
45
|
gender: Optional[StrictStr] = None
|
|
44
46
|
issuing_country: Optional[StrictStr] = None
|
|
45
|
-
last_name: Optional[StrictStr] = None
|
|
46
47
|
nationality: Optional[StrictStr] = None
|
|
47
48
|
issuing_state: Optional[StrictStr] = None
|
|
48
49
|
issuing_date: Optional[date] = None
|
|
@@ -79,7 +80,7 @@ class DocumentProperties(BaseModel):
|
|
|
79
80
|
document_classification: Optional[DocumentPropertiesDocumentClassification] = None
|
|
80
81
|
extracted_data: Optional[DocumentPropertiesExtractedData] = None
|
|
81
82
|
additional_properties: Dict[str, Any] = {}
|
|
82
|
-
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "
|
|
83
|
+
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "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
|
|
|
84
85
|
@field_validator('nist_identity_evidence_strength')
|
|
85
86
|
def nist_identity_evidence_strength_validate_enum(cls, value):
|
|
@@ -204,9 +205,10 @@ class DocumentProperties(BaseModel):
|
|
|
204
205
|
"document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
|
|
205
206
|
"document_type": obj.get("document_type"),
|
|
206
207
|
"first_name": obj.get("first_name"),
|
|
208
|
+
"middle_name": obj.get("middle_name"),
|
|
209
|
+
"last_name": obj.get("last_name"),
|
|
207
210
|
"gender": obj.get("gender"),
|
|
208
211
|
"issuing_country": obj.get("issuing_country"),
|
|
209
|
-
"last_name": obj.get("last_name"),
|
|
210
212
|
"nationality": obj.get("nationality"),
|
|
211
213
|
"issuing_state": obj.get("issuing_state"),
|
|
212
214
|
"issuing_date": obj.get("issuing_date"),
|
|
@@ -41,8 +41,8 @@ class DocumentShared(BaseModel):
|
|
|
41
41
|
if value is None:
|
|
42
42
|
return value
|
|
43
43
|
|
|
44
|
-
if value not in set(['jpg', 'png', 'pdf']):
|
|
45
|
-
raise ValueError("must be one of enum values ('jpg', 'png', 'pdf')")
|
|
44
|
+
if value not in set(['jpg', 'jpeg', 'png', 'pdf']):
|
|
45
|
+
raise ValueError("must be one of enum values ('jpg', 'jpeg', 'png', 'pdf')")
|
|
46
46
|
return value
|
|
47
47
|
|
|
48
48
|
@field_validator('side')
|
|
@@ -42,9 +42,10 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
42
42
|
document_numbers: Optional[List[DocumentPropertiesDocumentNumbersInner]] = None
|
|
43
43
|
document_type: Optional[StrictStr] = None
|
|
44
44
|
first_name: Optional[StrictStr] = None
|
|
45
|
+
middle_name: Optional[StrictStr] = None
|
|
46
|
+
last_name: Optional[StrictStr] = None
|
|
45
47
|
gender: Optional[StrictStr] = None
|
|
46
48
|
issuing_country: Optional[StrictStr] = None
|
|
47
|
-
last_name: Optional[StrictStr] = None
|
|
48
49
|
nationality: Optional[StrictStr] = None
|
|
49
50
|
issuing_state: Optional[StrictStr] = None
|
|
50
51
|
issuing_date: Optional[date] = None
|
|
@@ -87,7 +88,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
87
88
|
vehicle_class_details: Optional[List[DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner]] = Field(default=None, description="Detailed classes/categories information")
|
|
88
89
|
passenger_vehicle: Optional[DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle] = None
|
|
89
90
|
additional_properties: Dict[str, Any] = {}
|
|
90
|
-
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "
|
|
91
|
+
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "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
|
|
|
92
93
|
@field_validator('nist_identity_evidence_strength')
|
|
93
94
|
def nist_identity_evidence_strength_validate_enum(cls, value):
|
|
@@ -222,9 +223,10 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
222
223
|
"document_numbers": [DocumentPropertiesDocumentNumbersInner.from_dict(_item) for _item in obj["document_numbers"]] if obj.get("document_numbers") is not None else None,
|
|
223
224
|
"document_type": obj.get("document_type"),
|
|
224
225
|
"first_name": obj.get("first_name"),
|
|
226
|
+
"middle_name": obj.get("middle_name"),
|
|
227
|
+
"last_name": obj.get("last_name"),
|
|
225
228
|
"gender": obj.get("gender"),
|
|
226
229
|
"issuing_country": obj.get("issuing_country"),
|
|
227
|
-
"last_name": obj.get("last_name"),
|
|
228
230
|
"nationality": obj.get("nationality"),
|
|
229
231
|
"issuing_state": obj.get("issuing_state"),
|
|
230
232
|
"issuing_date": obj.get("issuing_date"),
|
|
@@ -29,10 +29,11 @@ class WebhookEventPayloadObject(BaseModel):
|
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
id: StrictStr = Field(description="The unique identifier of the resource.")
|
|
31
31
|
status: Optional[StrictStr] = Field(default=None, description="The current state of the object, if available.")
|
|
32
|
+
started_at_iso8601: Optional[datetime] = Field(default=None, description="The date and time when the operation was started, if available.")
|
|
32
33
|
completed_at_iso8601: Optional[datetime] = Field(default=None, description="The date and time when the operation was completed, if available.")
|
|
33
34
|
href: StrictStr = Field(description="The uri of the resource.")
|
|
34
35
|
additional_properties: Dict[str, Any] = {}
|
|
35
|
-
__properties: ClassVar[List[str]] = ["id", "status", "completed_at_iso8601", "href"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["id", "status", "started_at_iso8601", "completed_at_iso8601", "href"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
39
|
populate_by_name=True,
|
|
@@ -94,6 +95,7 @@ class WebhookEventPayloadObject(BaseModel):
|
|
|
94
95
|
_obj = cls.model_validate({
|
|
95
96
|
"id": obj.get("id"),
|
|
96
97
|
"status": obj.get("status"),
|
|
98
|
+
"started_at_iso8601": obj.get("started_at_iso8601"),
|
|
97
99
|
"completed_at_iso8601": obj.get("completed_at_iso8601"),
|
|
98
100
|
"href": obj.get("href")
|
|
99
101
|
})
|
|
@@ -33,6 +33,7 @@ class WorkflowRun(BaseModel):
|
|
|
33
33
|
applicant_id: StrictStr = Field(description="The unique identifier for the Applicant.")
|
|
34
34
|
workflow_id: StrictStr = Field(description="The unique identifier for the Workflow.")
|
|
35
35
|
tags: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(max_length=30)]] = Field(default=None, description="Tags or labels assigned to the workflow run.")
|
|
36
|
+
customer_user_id: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(default=None, description="Customer-provided user identifier.")
|
|
36
37
|
link: Optional[WorkflowRunSharedLink] = None
|
|
37
38
|
created_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was created.")
|
|
38
39
|
updated_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was last updated.")
|
|
@@ -43,8 +44,9 @@ class WorkflowRun(BaseModel):
|
|
|
43
44
|
output: Optional[Dict[str, Any]] = Field(default=None, description="Output object contains all of the properties configured on the Workflow version.")
|
|
44
45
|
reasons: Optional[List[StrictStr]] = Field(default=None, description="The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow version.")
|
|
45
46
|
error: Optional[WorkflowRunResponseError] = None
|
|
47
|
+
sdk_token: Optional[StrictStr] = Field(default=None, description="Client token to use when loading this workflow run in the Onfido SDK.")
|
|
46
48
|
additional_properties: Dict[str, Any] = {}
|
|
47
|
-
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "link", "created_at", "updated_at", "id", "workflow_version_id", "dashboard_url", "status", "output", "reasons", "error"]
|
|
49
|
+
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "customer_user_id", "link", "created_at", "updated_at", "id", "workflow_version_id", "dashboard_url", "status", "output", "reasons", "error", "sdk_token"]
|
|
48
50
|
|
|
49
51
|
@field_validator('status')
|
|
50
52
|
def status_validate_enum(cls, value):
|
|
@@ -113,6 +115,11 @@ class WorkflowRun(BaseModel):
|
|
|
113
115
|
if self.tags is None and "tags" in self.model_fields_set:
|
|
114
116
|
_dict['tags'] = None
|
|
115
117
|
|
|
118
|
+
# set to None if sdk_token (nullable) is None
|
|
119
|
+
# and model_fields_set contains the field
|
|
120
|
+
if self.sdk_token is None and "sdk_token" in self.model_fields_set:
|
|
121
|
+
_dict['sdk_token'] = None
|
|
122
|
+
|
|
116
123
|
return _dict
|
|
117
124
|
|
|
118
125
|
@classmethod
|
|
@@ -128,6 +135,7 @@ class WorkflowRun(BaseModel):
|
|
|
128
135
|
"applicant_id": obj.get("applicant_id"),
|
|
129
136
|
"workflow_id": obj.get("workflow_id"),
|
|
130
137
|
"tags": obj.get("tags"),
|
|
138
|
+
"customer_user_id": obj.get("customer_user_id"),
|
|
131
139
|
"link": WorkflowRunSharedLink.from_dict(obj["link"]) if obj.get("link") is not None else None,
|
|
132
140
|
"created_at": obj.get("created_at"),
|
|
133
141
|
"updated_at": obj.get("updated_at"),
|
|
@@ -137,7 +145,8 @@ class WorkflowRun(BaseModel):
|
|
|
137
145
|
"status": obj.get("status"),
|
|
138
146
|
"output": obj.get("output"),
|
|
139
147
|
"reasons": obj.get("reasons"),
|
|
140
|
-
"error": WorkflowRunResponseError.from_dict(obj["error"]) if obj.get("error") is not None else None
|
|
148
|
+
"error": WorkflowRunResponseError.from_dict(obj["error"]) if obj.get("error") is not None else None,
|
|
149
|
+
"sdk_token": obj.get("sdk_token")
|
|
141
150
|
})
|
|
142
151
|
# store additional fields in additional_properties
|
|
143
152
|
for _key in obj.keys():
|
|
@@ -32,12 +32,13 @@ class WorkflowRunBuilder(BaseModel):
|
|
|
32
32
|
applicant_id: StrictStr = Field(description="The unique identifier for the Applicant.")
|
|
33
33
|
workflow_id: StrictStr = Field(description="The unique identifier for the Workflow.")
|
|
34
34
|
tags: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(max_length=30)]] = Field(default=None, description="Tags or labels assigned to the workflow run.")
|
|
35
|
+
customer_user_id: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(default=None, description="Customer-provided user identifier.")
|
|
35
36
|
link: Optional[WorkflowRunSharedLink] = None
|
|
36
37
|
created_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was created.")
|
|
37
38
|
updated_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was last updated.")
|
|
38
39
|
custom_data: Optional[Dict[str, Any]] = Field(default=None, description="Object with Custom Input Data to be used in the Workflow Run.")
|
|
39
40
|
additional_properties: Dict[str, Any] = {}
|
|
40
|
-
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "link", "created_at", "updated_at", "custom_data"]
|
|
41
|
+
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "customer_user_id", "link", "created_at", "updated_at", "custom_data"]
|
|
41
42
|
|
|
42
43
|
model_config = ConfigDict(
|
|
43
44
|
populate_by_name=True,
|
|
@@ -108,6 +109,7 @@ class WorkflowRunBuilder(BaseModel):
|
|
|
108
109
|
"applicant_id": obj.get("applicant_id"),
|
|
109
110
|
"workflow_id": obj.get("workflow_id"),
|
|
110
111
|
"tags": obj.get("tags"),
|
|
112
|
+
"customer_user_id": obj.get("customer_user_id"),
|
|
111
113
|
"link": WorkflowRunSharedLink.from_dict(obj["link"]) if obj.get("link") is not None else None,
|
|
112
114
|
"created_at": obj.get("created_at"),
|
|
113
115
|
"updated_at": obj.get("updated_at"),
|
|
@@ -34,8 +34,9 @@ class WorkflowRunResponse(BaseModel):
|
|
|
34
34
|
output: Optional[Dict[str, Any]] = Field(default=None, description="Output object contains all of the properties configured on the Workflow version.")
|
|
35
35
|
reasons: Optional[List[StrictStr]] = Field(default=None, description="The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow version.")
|
|
36
36
|
error: Optional[WorkflowRunResponseError] = None
|
|
37
|
+
sdk_token: Optional[StrictStr] = Field(default=None, description="Client token to use when loading this workflow run in the Onfido SDK.")
|
|
37
38
|
additional_properties: Dict[str, Any] = {}
|
|
38
|
-
__properties: ClassVar[List[str]] = ["id", "workflow_version_id", "dashboard_url", "status", "output", "reasons", "error"]
|
|
39
|
+
__properties: ClassVar[List[str]] = ["id", "workflow_version_id", "dashboard_url", "status", "output", "reasons", "error", "sdk_token"]
|
|
39
40
|
|
|
40
41
|
@field_validator('status')
|
|
41
42
|
def status_validate_enum(cls, value):
|
|
@@ -96,6 +97,11 @@ class WorkflowRunResponse(BaseModel):
|
|
|
96
97
|
for _key, _value in self.additional_properties.items():
|
|
97
98
|
_dict[_key] = _value
|
|
98
99
|
|
|
100
|
+
# set to None if sdk_token (nullable) is None
|
|
101
|
+
# and model_fields_set contains the field
|
|
102
|
+
if self.sdk_token is None and "sdk_token" in self.model_fields_set:
|
|
103
|
+
_dict['sdk_token'] = None
|
|
104
|
+
|
|
99
105
|
return _dict
|
|
100
106
|
|
|
101
107
|
@classmethod
|
|
@@ -114,7 +120,8 @@ class WorkflowRunResponse(BaseModel):
|
|
|
114
120
|
"status": obj.get("status"),
|
|
115
121
|
"output": obj.get("output"),
|
|
116
122
|
"reasons": obj.get("reasons"),
|
|
117
|
-
"error": WorkflowRunResponseError.from_dict(obj["error"]) if obj.get("error") is not None else None
|
|
123
|
+
"error": WorkflowRunResponseError.from_dict(obj["error"]) if obj.get("error") is not None else None,
|
|
124
|
+
"sdk_token": obj.get("sdk_token")
|
|
118
125
|
})
|
|
119
126
|
# store additional fields in additional_properties
|
|
120
127
|
for _key in obj.keys():
|
|
@@ -32,11 +32,12 @@ class WorkflowRunShared(BaseModel):
|
|
|
32
32
|
applicant_id: StrictStr = Field(description="The unique identifier for the Applicant.")
|
|
33
33
|
workflow_id: StrictStr = Field(description="The unique identifier for the Workflow.")
|
|
34
34
|
tags: Optional[Annotated[List[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(max_length=30)]] = Field(default=None, description="Tags or labels assigned to the workflow run.")
|
|
35
|
+
customer_user_id: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(default=None, description="Customer-provided user identifier.")
|
|
35
36
|
link: Optional[WorkflowRunSharedLink] = None
|
|
36
37
|
created_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was created.")
|
|
37
38
|
updated_at: Optional[datetime] = Field(default=None, description="The date and time when the Workflow Run was last updated.")
|
|
38
39
|
additional_properties: Dict[str, Any] = {}
|
|
39
|
-
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "link", "created_at", "updated_at"]
|
|
40
|
+
__properties: ClassVar[List[str]] = ["applicant_id", "workflow_id", "tags", "customer_user_id", "link", "created_at", "updated_at"]
|
|
40
41
|
|
|
41
42
|
model_config = ConfigDict(
|
|
42
43
|
populate_by_name=True,
|
|
@@ -107,6 +108,7 @@ class WorkflowRunShared(BaseModel):
|
|
|
107
108
|
"applicant_id": obj.get("applicant_id"),
|
|
108
109
|
"workflow_id": obj.get("workflow_id"),
|
|
109
110
|
"tags": obj.get("tags"),
|
|
111
|
+
"customer_user_id": obj.get("customer_user_id"),
|
|
110
112
|
"link": WorkflowRunSharedLink.from_dict(obj["link"]) if obj.get("link") is not None else None,
|
|
111
113
|
"created_at": obj.get("created_at"),
|
|
112
114
|
"updated_at": obj.get("updated_at")
|
|
@@ -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.4.0"
|
|
25
25
|
PYTHON_REQUIRES = ">=3.7"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 1.25.3, < 2.1.0",
|