onfido-python 3.4.0__tar.gz → 3.5.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.4.0/onfido_python.egg-info → onfido_python-3.5.0}/PKG-INFO +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/__init__.py +9 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/api_client.py +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/configuration.py +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/__init__.py +8 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_enhanced_properties.py +11 -3
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner.py +164 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +111 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.py +102 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +104 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +102 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +113 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +107 -0
- onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +106 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0/onfido_python.egg-info}/PKG-INFO +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido_python.egg-info/SOURCES.txt +8 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/pyproject.toml +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/setup.py +1 -1
- {onfido_python-3.4.0 → onfido_python-3.5.0}/LICENSE +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/README.md +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/api/__init__.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/api/default_api.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/api_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/exceptions.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/address.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/address_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/address_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/addresses_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_create.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_request.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_update.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicant_updater.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/applicants_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/check.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/check_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/check_request.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/check_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/check_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/checks_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/complete_task_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/complete_task_data_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/consent_item.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/consents_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/country_codes.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_breakdown_device.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_properties_device.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_properties_geolocation.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_breakdown_properties_ip.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/device_intelligence_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_age_validation.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_age_validation_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_compromised_document.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_compromised_document_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_comparison.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_consistency.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_consistency_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_validation.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_validation_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_issuing_authority.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_issuing_authority_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_police_record.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_other.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_breakdown_visual_authenticity_breakdown_template.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_cdq_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_iq_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_odp_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_address_lines.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_barcode_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_document_classification.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_document_numbers_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_driving_licence_information.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_extracted_data.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_properties_nfc.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_types.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_video_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_video_with_address_information_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_address_information_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_driver_verification_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_driver_verification_report_all_of_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/document_with_driving_licence_information_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/documents_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/error.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/error1.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/error_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/error_properties1.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/extract_request.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/extraction.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/extraction_document_classification.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/extraction_extracted_data.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_face_comparison.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_motion_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_fully_auto_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_photo_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_face_comparison.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/facial_similarity_video_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/id_number.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/id_photo.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/id_photo_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/id_photos_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_date_of_birth.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_mortality.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_sources.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_properties_matched_addresses_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/identity_enhanced_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_breakdown_device.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/india_pan_report_all_of_properties_device.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_breakdown_previously_seen_faces.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_properties_matches_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/known_faces_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/live_photo.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/live_photo_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/live_photos_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/live_video.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/live_videos_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/location.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/location_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/location_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/motion_capture.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/motion_captures_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/photo_auto_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/photo_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_data_comparison.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_document_classification.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_document_classification_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_image_integrity.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/proof_of_address_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/repeat_attempts_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/repeat_attempts_list_repeat_attempts_inner.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_document.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_name.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_result.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_status.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/report_sub_result.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/reports_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/results_feedback.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/sdk_token.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/sdk_token_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/sdk_token_request.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/sdk_token_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/task.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/task_item.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/timeline_file_reference.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_address.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_address_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_document.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_document_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_personal.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_breakdown_personal_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/us_driving_licence_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/video_reasons.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_breakdown_adverse_media.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_breakdown_politically_exposed_person.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_breakdown_sanction.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_aml_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_enhanced_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_enhanced_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_match.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_matches_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_matches_updater.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitor_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_monitors_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_peps_only_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_sanctions_only_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_standard_breakdown.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_standard_properties.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/watchlist_standard_report.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_create.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_event.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_event_payload.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_event_payload_object.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_event_type.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_resend.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_update.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhook_updater.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhooks_list.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/webhooks_resend_item.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_builder.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_request.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_response.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_response_error.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_shared.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/models/workflow_run_shared_link.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/py.typed +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/rest.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido/webhook_event_verifier.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido_python.egg-info/dependency_links.txt +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido_python.egg-info/requires.txt +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/onfido_python.egg-info/top_level.txt +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/setup.cfg +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_address_picker.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_applicants.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_checks.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_documents.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_extraction.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_id_photos.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_live_photos.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_live_video.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_motion_capture.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_qualified_electronic_signatures.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_report_schemas.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_reports.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_sdk_token.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_tasks.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_watchlist_monitor.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_webhook_verification.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_webhooks.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_workflow_run_outputs.py +0 -0
- {onfido_python-3.4.0 → onfido_python-3.5.0}/tests/test_workflow_runs.py +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "3.
|
|
17
|
+
__version__ = "3.5.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from onfido.api.default_api import DefaultApi
|
|
@@ -271,6 +271,14 @@ from onfido.models.watchlist_aml_properties import WatchlistAmlProperties
|
|
|
271
271
|
from onfido.models.watchlist_aml_report import WatchlistAmlReport
|
|
272
272
|
from onfido.models.watchlist_enhanced_breakdown import WatchlistEnhancedBreakdown
|
|
273
273
|
from onfido.models.watchlist_enhanced_properties import WatchlistEnhancedProperties
|
|
274
|
+
from onfido.models.watchlist_enhanced_properties_records_inner import WatchlistEnhancedPropertiesRecordsInner
|
|
275
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_address_inner import WatchlistEnhancedPropertiesRecordsInnerAddressInner
|
|
276
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_alias_inner import WatchlistEnhancedPropertiesRecordsInnerAliasInner
|
|
277
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_associate_inner import WatchlistEnhancedPropertiesRecordsInnerAssociateInner
|
|
278
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_attribute_inner import WatchlistEnhancedPropertiesRecordsInnerAttributeInner
|
|
279
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_event_inner import WatchlistEnhancedPropertiesRecordsInnerEventInner
|
|
280
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_event_inner_source import WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
|
|
281
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_source_inner import WatchlistEnhancedPropertiesRecordsInnerSourceInner
|
|
274
282
|
from onfido.models.watchlist_enhanced_report import WatchlistEnhancedReport
|
|
275
283
|
from onfido.models.watchlist_monitor import WatchlistMonitor
|
|
276
284
|
from onfido.models.watchlist_monitor_builder import WatchlistMonitorBuilder
|
|
@@ -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.5.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.5.0".\
|
|
387
387
|
format(env=sys.platform, pyversion=sys.version)
|
|
388
388
|
|
|
389
389
|
def get_host_settings(self):
|
|
@@ -254,6 +254,14 @@ from onfido.models.watchlist_aml_properties import WatchlistAmlProperties
|
|
|
254
254
|
from onfido.models.watchlist_aml_report import WatchlistAmlReport
|
|
255
255
|
from onfido.models.watchlist_enhanced_breakdown import WatchlistEnhancedBreakdown
|
|
256
256
|
from onfido.models.watchlist_enhanced_properties import WatchlistEnhancedProperties
|
|
257
|
+
from onfido.models.watchlist_enhanced_properties_records_inner import WatchlistEnhancedPropertiesRecordsInner
|
|
258
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_address_inner import WatchlistEnhancedPropertiesRecordsInnerAddressInner
|
|
259
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_alias_inner import WatchlistEnhancedPropertiesRecordsInnerAliasInner
|
|
260
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_associate_inner import WatchlistEnhancedPropertiesRecordsInnerAssociateInner
|
|
261
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_attribute_inner import WatchlistEnhancedPropertiesRecordsInnerAttributeInner
|
|
262
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_event_inner import WatchlistEnhancedPropertiesRecordsInnerEventInner
|
|
263
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_event_inner_source import WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
|
|
264
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_source_inner import WatchlistEnhancedPropertiesRecordsInnerSourceInner
|
|
257
265
|
from onfido.models.watchlist_enhanced_report import WatchlistEnhancedReport
|
|
258
266
|
from onfido.models.watchlist_monitor import WatchlistMonitor
|
|
259
267
|
from onfido.models.watchlist_monitor_builder import WatchlistMonitorBuilder
|
|
@@ -17,8 +17,9 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from onfido.models.watchlist_enhanced_properties_records_inner import WatchlistEnhancedPropertiesRecordsInner
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -26,7 +27,7 @@ class WatchlistEnhancedProperties(BaseModel):
|
|
|
26
27
|
"""
|
|
27
28
|
WatchlistEnhancedProperties
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
records: Optional[List[
|
|
30
|
+
records: Optional[List[WatchlistEnhancedPropertiesRecordsInner]] = Field(default=None, description="Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.")
|
|
30
31
|
additional_properties: Dict[str, Any] = {}
|
|
31
32
|
__properties: ClassVar[List[str]] = ["records"]
|
|
32
33
|
|
|
@@ -71,6 +72,13 @@ class WatchlistEnhancedProperties(BaseModel):
|
|
|
71
72
|
exclude=excluded_fields,
|
|
72
73
|
exclude_none=True,
|
|
73
74
|
)
|
|
75
|
+
# override the default output from pydantic by calling `to_dict()` of each item in records (list)
|
|
76
|
+
_items = []
|
|
77
|
+
if self.records:
|
|
78
|
+
for _item in self.records:
|
|
79
|
+
if _item:
|
|
80
|
+
_items.append(_item.to_dict())
|
|
81
|
+
_dict['records'] = _items
|
|
74
82
|
# puts key-value pairs in additional_properties in the top level
|
|
75
83
|
if self.additional_properties is not None:
|
|
76
84
|
for _key, _value in self.additional_properties.items():
|
|
@@ -88,7 +96,7 @@ class WatchlistEnhancedProperties(BaseModel):
|
|
|
88
96
|
return cls.model_validate(obj)
|
|
89
97
|
|
|
90
98
|
_obj = cls.model_validate({
|
|
91
|
-
"records": obj.get("records")
|
|
99
|
+
"records": [WatchlistEnhancedPropertiesRecordsInner.from_dict(_item) for _item in obj["records"]] if obj.get("records") is not None else None
|
|
92
100
|
})
|
|
93
101
|
# store additional fields in additional_properties
|
|
94
102
|
for _key in obj.keys():
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_address_inner import WatchlistEnhancedPropertiesRecordsInnerAddressInner
|
|
23
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_alias_inner import WatchlistEnhancedPropertiesRecordsInnerAliasInner
|
|
24
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_associate_inner import WatchlistEnhancedPropertiesRecordsInnerAssociateInner
|
|
25
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_attribute_inner import WatchlistEnhancedPropertiesRecordsInnerAttributeInner
|
|
26
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_event_inner import WatchlistEnhancedPropertiesRecordsInnerEventInner
|
|
27
|
+
from onfido.models.watchlist_enhanced_properties_records_inner_source_inner import WatchlistEnhancedPropertiesRecordsInnerSourceInner
|
|
28
|
+
from typing import Optional, Set
|
|
29
|
+
from typing_extensions import Self
|
|
30
|
+
|
|
31
|
+
class WatchlistEnhancedPropertiesRecordsInner(BaseModel):
|
|
32
|
+
"""
|
|
33
|
+
WatchlistEnhancedPropertiesRecordsInner
|
|
34
|
+
""" # noqa: E501
|
|
35
|
+
address: Optional[List[WatchlistEnhancedPropertiesRecordsInnerAddressInner]] = Field(default=None, description="All addresses on file.")
|
|
36
|
+
alias: Optional[List[WatchlistEnhancedPropertiesRecordsInnerAliasInner]] = Field(default=None, description="Any names that the person is also known as.")
|
|
37
|
+
associate: Optional[List[WatchlistEnhancedPropertiesRecordsInnerAssociateInner]] = Field(default=None, description="Any linked persons, for example family relatives or business partners.")
|
|
38
|
+
attribute: Optional[List[WatchlistEnhancedPropertiesRecordsInnerAttributeInner]] = Field(default=None, description="Information about the person, for example hair color or nationality.")
|
|
39
|
+
date_of_birth: Optional[List[StrictStr]] = Field(default=None, description="All the date of births on file.")
|
|
40
|
+
event: Optional[List[WatchlistEnhancedPropertiesRecordsInnerEventInner]] = Field(default=None, description="Information about events that have occurred to the person, for example deportation or arrest.")
|
|
41
|
+
full_name: Optional[StrictStr] = Field(default=None, description="The name on file")
|
|
42
|
+
position: Optional[List[StrictStr]] = Field(default=None, description="The role, country and date of each position.")
|
|
43
|
+
source: Optional[List[WatchlistEnhancedPropertiesRecordsInnerSourceInner]] = Field(default=None, description="Details about where the information was obtained.")
|
|
44
|
+
additional_properties: Dict[str, Any] = {}
|
|
45
|
+
__properties: ClassVar[List[str]] = ["address", "alias", "associate", "attribute", "date_of_birth", "event", "full_name", "position", "source"]
|
|
46
|
+
|
|
47
|
+
model_config = ConfigDict(
|
|
48
|
+
populate_by_name=True,
|
|
49
|
+
validate_assignment=True,
|
|
50
|
+
protected_namespaces=(),
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def to_str(self) -> str:
|
|
55
|
+
"""Returns the string representation of the model using alias"""
|
|
56
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
57
|
+
|
|
58
|
+
def to_json(self) -> str:
|
|
59
|
+
"""Returns the JSON representation of the model using alias"""
|
|
60
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
61
|
+
return json.dumps(self.to_dict())
|
|
62
|
+
|
|
63
|
+
@classmethod
|
|
64
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
65
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInner from a JSON string"""
|
|
66
|
+
return cls.from_dict(json.loads(json_str))
|
|
67
|
+
|
|
68
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
69
|
+
"""Return the dictionary representation of the model using alias.
|
|
70
|
+
|
|
71
|
+
This has the following differences from calling pydantic's
|
|
72
|
+
`self.model_dump(by_alias=True)`:
|
|
73
|
+
|
|
74
|
+
* `None` is only added to the output dict for nullable fields that
|
|
75
|
+
were set at model initialization. Other fields with value `None`
|
|
76
|
+
are ignored.
|
|
77
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
78
|
+
"""
|
|
79
|
+
excluded_fields: Set[str] = set([
|
|
80
|
+
"additional_properties",
|
|
81
|
+
])
|
|
82
|
+
|
|
83
|
+
_dict = self.model_dump(
|
|
84
|
+
by_alias=True,
|
|
85
|
+
exclude=excluded_fields,
|
|
86
|
+
exclude_none=True,
|
|
87
|
+
)
|
|
88
|
+
# override the default output from pydantic by calling `to_dict()` of each item in address (list)
|
|
89
|
+
_items = []
|
|
90
|
+
if self.address:
|
|
91
|
+
for _item in self.address:
|
|
92
|
+
if _item:
|
|
93
|
+
_items.append(_item.to_dict())
|
|
94
|
+
_dict['address'] = _items
|
|
95
|
+
# override the default output from pydantic by calling `to_dict()` of each item in alias (list)
|
|
96
|
+
_items = []
|
|
97
|
+
if self.alias:
|
|
98
|
+
for _item in self.alias:
|
|
99
|
+
if _item:
|
|
100
|
+
_items.append(_item.to_dict())
|
|
101
|
+
_dict['alias'] = _items
|
|
102
|
+
# override the default output from pydantic by calling `to_dict()` of each item in associate (list)
|
|
103
|
+
_items = []
|
|
104
|
+
if self.associate:
|
|
105
|
+
for _item in self.associate:
|
|
106
|
+
if _item:
|
|
107
|
+
_items.append(_item.to_dict())
|
|
108
|
+
_dict['associate'] = _items
|
|
109
|
+
# override the default output from pydantic by calling `to_dict()` of each item in attribute (list)
|
|
110
|
+
_items = []
|
|
111
|
+
if self.attribute:
|
|
112
|
+
for _item in self.attribute:
|
|
113
|
+
if _item:
|
|
114
|
+
_items.append(_item.to_dict())
|
|
115
|
+
_dict['attribute'] = _items
|
|
116
|
+
# override the default output from pydantic by calling `to_dict()` of each item in event (list)
|
|
117
|
+
_items = []
|
|
118
|
+
if self.event:
|
|
119
|
+
for _item in self.event:
|
|
120
|
+
if _item:
|
|
121
|
+
_items.append(_item.to_dict())
|
|
122
|
+
_dict['event'] = _items
|
|
123
|
+
# override the default output from pydantic by calling `to_dict()` of each item in source (list)
|
|
124
|
+
_items = []
|
|
125
|
+
if self.source:
|
|
126
|
+
for _item in self.source:
|
|
127
|
+
if _item:
|
|
128
|
+
_items.append(_item.to_dict())
|
|
129
|
+
_dict['source'] = _items
|
|
130
|
+
# puts key-value pairs in additional_properties in the top level
|
|
131
|
+
if self.additional_properties is not None:
|
|
132
|
+
for _key, _value in self.additional_properties.items():
|
|
133
|
+
_dict[_key] = _value
|
|
134
|
+
|
|
135
|
+
return _dict
|
|
136
|
+
|
|
137
|
+
@classmethod
|
|
138
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
139
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInner from a dict"""
|
|
140
|
+
if obj is None:
|
|
141
|
+
return None
|
|
142
|
+
|
|
143
|
+
if not isinstance(obj, dict):
|
|
144
|
+
return cls.model_validate(obj)
|
|
145
|
+
|
|
146
|
+
_obj = cls.model_validate({
|
|
147
|
+
"address": [WatchlistEnhancedPropertiesRecordsInnerAddressInner.from_dict(_item) for _item in obj["address"]] if obj.get("address") is not None else None,
|
|
148
|
+
"alias": [WatchlistEnhancedPropertiesRecordsInnerAliasInner.from_dict(_item) for _item in obj["alias"]] if obj.get("alias") is not None else None,
|
|
149
|
+
"associate": [WatchlistEnhancedPropertiesRecordsInnerAssociateInner.from_dict(_item) for _item in obj["associate"]] if obj.get("associate") is not None else None,
|
|
150
|
+
"attribute": [WatchlistEnhancedPropertiesRecordsInnerAttributeInner.from_dict(_item) for _item in obj["attribute"]] if obj.get("attribute") is not None else None,
|
|
151
|
+
"date_of_birth": obj.get("date_of_birth"),
|
|
152
|
+
"event": [WatchlistEnhancedPropertiesRecordsInnerEventInner.from_dict(_item) for _item in obj["event"]] if obj.get("event") is not None else None,
|
|
153
|
+
"full_name": obj.get("full_name"),
|
|
154
|
+
"position": obj.get("position"),
|
|
155
|
+
"source": [WatchlistEnhancedPropertiesRecordsInnerSourceInner.from_dict(_item) for _item in obj["source"]] if obj.get("source") is not None else None
|
|
156
|
+
})
|
|
157
|
+
# store additional fields in additional_properties
|
|
158
|
+
for _key in obj.keys():
|
|
159
|
+
if _key not in cls.__properties:
|
|
160
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
161
|
+
|
|
162
|
+
return _obj
|
|
163
|
+
|
|
164
|
+
|
onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from onfido.models.country_codes import CountryCodes
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class WatchlistEnhancedPropertiesRecordsInnerAddressInner(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
WatchlistEnhancedPropertiesRecordsInnerAddressInner
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
address_line1: Optional[StrictStr] = None
|
|
31
|
+
country: Optional[CountryCodes] = None
|
|
32
|
+
postal_code: Optional[StrictStr] = None
|
|
33
|
+
state_province: Optional[StrictStr] = None
|
|
34
|
+
town: Optional[StrictStr] = None
|
|
35
|
+
locator_type: Optional[StrictStr] = None
|
|
36
|
+
additional_properties: Dict[str, Any] = {}
|
|
37
|
+
__properties: ClassVar[List[str]] = ["address_line1", "country", "postal_code", "state_province", "town", "locator_type"]
|
|
38
|
+
|
|
39
|
+
model_config = ConfigDict(
|
|
40
|
+
populate_by_name=True,
|
|
41
|
+
validate_assignment=True,
|
|
42
|
+
protected_namespaces=(),
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
53
|
+
return json.dumps(self.to_dict())
|
|
54
|
+
|
|
55
|
+
@classmethod
|
|
56
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
57
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner from a JSON string"""
|
|
58
|
+
return cls.from_dict(json.loads(json_str))
|
|
59
|
+
|
|
60
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
61
|
+
"""Return the dictionary representation of the model using alias.
|
|
62
|
+
|
|
63
|
+
This has the following differences from calling pydantic's
|
|
64
|
+
`self.model_dump(by_alias=True)`:
|
|
65
|
+
|
|
66
|
+
* `None` is only added to the output dict for nullable fields that
|
|
67
|
+
were set at model initialization. Other fields with value `None`
|
|
68
|
+
are ignored.
|
|
69
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
70
|
+
"""
|
|
71
|
+
excluded_fields: Set[str] = set([
|
|
72
|
+
"additional_properties",
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
# puts key-value pairs in additional_properties in the top level
|
|
81
|
+
if self.additional_properties is not None:
|
|
82
|
+
for _key, _value in self.additional_properties.items():
|
|
83
|
+
_dict[_key] = _value
|
|
84
|
+
|
|
85
|
+
return _dict
|
|
86
|
+
|
|
87
|
+
@classmethod
|
|
88
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
89
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner from a dict"""
|
|
90
|
+
if obj is None:
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
if not isinstance(obj, dict):
|
|
94
|
+
return cls.model_validate(obj)
|
|
95
|
+
|
|
96
|
+
_obj = cls.model_validate({
|
|
97
|
+
"address_line1": obj.get("address_line1"),
|
|
98
|
+
"country": obj.get("country"),
|
|
99
|
+
"postal_code": obj.get("postal_code"),
|
|
100
|
+
"state_province": obj.get("state_province"),
|
|
101
|
+
"town": obj.get("town"),
|
|
102
|
+
"locator_type": obj.get("locator_type")
|
|
103
|
+
})
|
|
104
|
+
# store additional fields in additional_properties
|
|
105
|
+
for _key in obj.keys():
|
|
106
|
+
if _key not in cls.__properties:
|
|
107
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
108
|
+
|
|
109
|
+
return _obj
|
|
110
|
+
|
|
111
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class WatchlistEnhancedPropertiesRecordsInnerAliasInner(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
WatchlistEnhancedPropertiesRecordsInnerAliasInner
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
alias_name: Optional[StrictStr] = None
|
|
30
|
+
alias_type: Optional[StrictStr] = None
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties: ClassVar[List[str]] = ["alias_name", "alias_type"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
"additional_properties",
|
|
68
|
+
])
|
|
69
|
+
|
|
70
|
+
_dict = self.model_dump(
|
|
71
|
+
by_alias=True,
|
|
72
|
+
exclude=excluded_fields,
|
|
73
|
+
exclude_none=True,
|
|
74
|
+
)
|
|
75
|
+
# puts key-value pairs in additional_properties in the top level
|
|
76
|
+
if self.additional_properties is not None:
|
|
77
|
+
for _key, _value in self.additional_properties.items():
|
|
78
|
+
_dict[_key] = _value
|
|
79
|
+
|
|
80
|
+
return _dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAliasInner from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
90
|
+
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"alias_name": obj.get("alias_name"),
|
|
93
|
+
"alias_type": obj.get("alias_type")
|
|
94
|
+
})
|
|
95
|
+
# store additional fields in additional_properties
|
|
96
|
+
for _key in obj.keys():
|
|
97
|
+
if _key not in cls.__properties:
|
|
98
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
99
|
+
|
|
100
|
+
return _obj
|
|
101
|
+
|
|
102
|
+
|
onfido_python-3.5.0/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class WatchlistEnhancedPropertiesRecordsInnerAssociateInner(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
WatchlistEnhancedPropertiesRecordsInnerAssociateInner
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
entity_name: Optional[StrictStr] = None
|
|
30
|
+
relationship_direction: Optional[StrictStr] = None
|
|
31
|
+
relationship_type: Optional[StrictStr] = None
|
|
32
|
+
additional_properties: Dict[str, Any] = {}
|
|
33
|
+
__properties: ClassVar[List[str]] = ["entity_name", "relationship_direction", "relationship_type"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
"additional_properties",
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# puts key-value pairs in additional_properties in the top level
|
|
77
|
+
if self.additional_properties is not None:
|
|
78
|
+
for _key, _value in self.additional_properties.items():
|
|
79
|
+
_dict[_key] = _value
|
|
80
|
+
|
|
81
|
+
return _dict
|
|
82
|
+
|
|
83
|
+
@classmethod
|
|
84
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
85
|
+
"""Create an instance of WatchlistEnhancedPropertiesRecordsInnerAssociateInner from a dict"""
|
|
86
|
+
if obj is None:
|
|
87
|
+
return None
|
|
88
|
+
|
|
89
|
+
if not isinstance(obj, dict):
|
|
90
|
+
return cls.model_validate(obj)
|
|
91
|
+
|
|
92
|
+
_obj = cls.model_validate({
|
|
93
|
+
"entity_name": obj.get("entity_name"),
|
|
94
|
+
"relationship_direction": obj.get("relationship_direction"),
|
|
95
|
+
"relationship_type": obj.get("relationship_type")
|
|
96
|
+
})
|
|
97
|
+
# store additional fields in additional_properties
|
|
98
|
+
for _key in obj.keys():
|
|
99
|
+
if _key not in cls.__properties:
|
|
100
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
101
|
+
|
|
102
|
+
return _obj
|
|
103
|
+
|
|
104
|
+
|