onfido 5.6.0 → 6.3.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/MIGRATION.md +28 -0
- data/README.md +18 -2
- data/lib/onfido/api/default_api.rb +1191 -94
- data/lib/onfido/api_client.rb +7 -3
- data/lib/onfido/api_error.rb +1 -1
- data/lib/onfido/configuration.rb +89 -2
- data/lib/onfido/models/address.rb +30 -4
- data/lib/onfido/models/address_builder.rb +30 -4
- data/lib/onfido/models/address_shared.rb +30 -4
- data/lib/onfido/models/addresses_list.rb +10 -4
- data/lib/onfido/models/applicant.rb +20 -4
- data/lib/onfido/models/applicant_builder.rb +10 -4
- data/lib/onfido/models/applicant_consent.rb +30 -4
- data/lib/onfido/models/applicant_consent_builder.rb +30 -4
- data/lib/onfido/models/applicant_consent_name.rb +1 -1
- data/lib/onfido/models/applicant_create.rb +10 -4
- data/lib/onfido/models/applicant_request.rb +10 -4
- data/lib/onfido/models/applicant_response.rb +20 -4
- data/lib/onfido/models/applicant_shared.rb +10 -4
- data/lib/onfido/models/applicant_update.rb +10 -4
- data/lib/onfido/models/applicant_updater.rb +10 -4
- data/lib/onfido/models/applicants_list.rb +20 -4
- data/lib/onfido/models/biometric_token.rb +265 -0
- data/lib/onfido/models/biometric_token_data.rb +317 -0
- data/lib/onfido/models/biometric_token_response.rb +237 -0
- data/lib/onfido/models/biometric_token_updater.rb +262 -0
- data/lib/onfido/models/biometric_tokens_response.rb +239 -0
- data/lib/onfido/models/check.rb +30 -4
- data/lib/onfido/models/check_builder.rb +30 -4
- data/lib/onfido/models/check_request.rb +20 -4
- data/lib/onfido/models/check_response.rb +20 -4
- data/lib/onfido/models/check_shared.rb +20 -4
- data/lib/onfido/models/check_status.rb +1 -1
- data/lib/onfido/models/checks_list.rb +20 -4
- data/lib/onfido/models/complete_task_builder.rb +20 -4
- data/lib/onfido/models/complete_task_data_builder.rb +3 -4
- data/lib/onfido/models/country_codes.rb +1 -1
- data/lib/onfido/models/device_intelligence_breakdown.rb +14 -26
- data/lib/onfido/models/device_intelligence_breakdown_device.rb +10 -4
- data/lib/onfido/models/device_intelligence_breakdown_device_breakdown.rb +10 -4
- data/lib/onfido/models/device_intelligence_properties.rb +13 -7
- data/lib/onfido/models/{device_intelligence_breakdown_properties_device.rb → device_intelligence_properties_device.rb} +33 -7
- data/lib/onfido/models/{device_intelligence_breakdown_properties_geolocation.rb → device_intelligence_properties_geolocation.rb} +12 -6
- data/lib/onfido/models/{device_intelligence_breakdown_properties_ip.rb → device_intelligence_properties_ip.rb} +12 -6
- data/lib/onfido/models/device_intelligence_report.rb +30 -4
- data/lib/onfido/models/document.rb +20 -4
- data/lib/onfido/models/document_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_age_validation.rb +10 -4
- data/lib/onfido/models/document_breakdown_age_validation_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_compromised_document.rb +10 -4
- data/lib/onfido/models/document_breakdown_compromised_document_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_comparison.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_comparison_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_consistency.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_consistency_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_validation.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_validation_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.rb +10 -4
- data/lib/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.rb +10 -4
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.rb +10 -4
- data/lib/onfido/models/document_breakdown_issuing_authority.rb +10 -4
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.rb +10 -4
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.rb +10 -4
- data/lib/onfido/models/document_breakdown_police_record.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_other.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.rb +10 -4
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_template.rb +10 -4
- data/lib/onfido/models/document_cdq_reasons.rb +10 -4
- data/lib/onfido/models/document_iq_reasons.rb +10 -4
- data/lib/onfido/models/document_odp_reasons.rb +10 -4
- data/lib/onfido/models/document_properties.rb +20 -16
- data/lib/onfido/models/document_properties_address_lines.rb +10 -4
- data/lib/onfido/models/document_properties_barcode_inner.rb +10 -4
- data/lib/onfido/models/document_properties_document_classification.rb +10 -4
- data/lib/onfido/models/document_properties_document_numbers_inner.rb +10 -4
- data/lib/onfido/models/document_properties_driving_licence_information_item.rb +10 -4
- data/lib/onfido/models/document_properties_extracted_data.rb +10 -4
- data/lib/onfido/models/document_properties_nfc.rb +10 -4
- data/lib/onfido/models/document_properties_with_driving_licence_information.rb +697 -0
- data/lib/onfido/models/document_report.rb +30 -4
- data/lib/onfido/models/document_report_shared.rb +10 -4
- data/lib/onfido/models/document_response.rb +20 -4
- data/lib/onfido/models/document_shared.rb +10 -4
- data/lib/onfido/models/document_types.rb +4 -2
- data/lib/onfido/models/document_video_report.rb +30 -4
- data/lib/onfido/models/document_video_with_address_information_report.rb +30 -4
- data/lib/onfido/models/document_with_address_information_report.rb +30 -4
- data/lib/onfido/models/document_with_driver_verification_report.rb +30 -4
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties.rb +20 -16
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.rb +10 -4
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.rb +10 -4
- data/lib/onfido/models/document_with_driving_licence_information_report.rb +31 -5
- data/lib/onfido/models/documents_list.rb +20 -4
- data/lib/onfido/models/error.rb +10 -4
- data/lib/onfido/models/error1.rb +10 -4
- data/lib/onfido/models/error_properties.rb +10 -4
- data/lib/onfido/models/error_properties1.rb +10 -4
- data/lib/onfido/models/extract_request.rb +20 -4
- data/lib/onfido/models/extraction.rb +10 -4
- data/lib/onfido/models/extraction_document_classification.rb +10 -4
- data/lib/onfido/models/extraction_extracted_data.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_face_comparison.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_motion_report.rb +30 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_fully_auto_report.rb +30 -4
- data/lib/onfido/models/facial_similarity_photo_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_photo_report.rb +30 -4
- data/lib/onfido/models/facial_similarity_report_media.rb +20 -4
- data/lib/onfido/models/facial_similarity_report_shared.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_face_comparison.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_properties.rb +10 -4
- data/lib/onfido/models/facial_similarity_video_report.rb +30 -4
- data/lib/onfido/models/id_number.rb +10 -4
- data/lib/onfido/models/id_photo.rb +20 -4
- data/lib/onfido/models/id_photo_response.rb +20 -4
- data/lib/onfido/models/id_photos_list.rb +20 -4
- data/lib/onfido/models/identity_enhanced_breakdown.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_address.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.rb +11 -5
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_mortality.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_sources.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.rb +10 -4
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.rb +11 -5
- data/lib/onfido/models/identity_enhanced_properties.rb +10 -4
- data/lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb +10 -4
- data/lib/onfido/models/identity_enhanced_report.rb +30 -4
- data/lib/onfido/models/idr_ssn_breakdown.rb +10 -4
- data/lib/onfido/models/idr_ssn_breakdown_breakdown.rb +10 -4
- data/lib/onfido/models/idr_ssn_breakdown_breakdown_full_match.rb +10 -4
- data/lib/onfido/models/idr_ssn_breakdown_breakdown_last4_digits_match.rb +10 -4
- data/lib/onfido/models/india_pan_report.rb +30 -4
- data/lib/onfido/models/india_pan_report_all_of_breakdown.rb +10 -4
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device.rb +10 -4
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.rb +10 -4
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.rb +10 -4
- data/lib/onfido/models/india_pan_report_all_of_properties.rb +10 -4
- data/lib/onfido/models/india_pan_report_all_of_properties_device.rb +10 -4
- data/lib/onfido/models/invalidated_biometric_token_response.rb +237 -0
- data/lib/onfido/models/invalidated_biometric_token_summary.rb +238 -0
- data/lib/onfido/models/invalidated_biometric_token_summary_deleted_items.rb +239 -0
- data/lib/onfido/models/invalidated_biometric_tokens_response.rb +237 -0
- data/lib/onfido/models/known_faces_breakdown.rb +10 -4
- data/lib/onfido/models/known_faces_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/known_faces_breakdown_previously_seen_faces.rb +10 -4
- data/lib/onfido/models/known_faces_properties.rb +10 -4
- data/lib/onfido/models/known_faces_properties_matches_inner.rb +10 -4
- data/lib/onfido/models/known_faces_report.rb +30 -4
- data/lib/onfido/models/live_photo.rb +20 -4
- data/lib/onfido/models/live_photo_response.rb +20 -4
- data/lib/onfido/models/live_photos_list.rb +20 -4
- data/lib/onfido/models/live_video.rb +10 -4
- data/lib/onfido/models/live_videos_list.rb +20 -4
- data/lib/onfido/models/location.rb +10 -4
- data/lib/onfido/models/location_builder.rb +10 -4
- data/lib/onfido/models/location_shared.rb +10 -4
- data/lib/onfido/models/motion_capture.rb +10 -4
- data/lib/onfido/models/motion_captures_list.rb +20 -4
- data/lib/onfido/models/passkey.rb +353 -0
- data/lib/onfido/models/passkey_updater.rb +262 -0
- data/lib/onfido/models/passkeys_list.rb +239 -0
- data/lib/onfido/models/photo_auto_reasons.rb +10 -4
- data/lib/onfido/models/photo_reasons.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_data_comparison.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_document_classification.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_document_classification_breakdown.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_image_integrity.rb +10 -4
- data/lib/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.rb +10 -4
- data/lib/onfido/models/proof_of_address_properties.rb +10 -4
- data/lib/onfido/models/proof_of_address_report.rb +30 -4
- data/lib/onfido/models/repeat_attempts_list.rb +20 -4
- data/lib/onfido/models/repeat_attempts_list_repeat_attempts_inner.rb +10 -4
- data/lib/onfido/models/report.rb +1 -1
- data/lib/onfido/models/report_configuration.rb +10 -4
- data/lib/onfido/models/report_configuration_facial_similarity.rb +10 -4
- data/lib/onfido/models/report_document.rb +20 -4
- data/lib/onfido/models/report_name.rb +1 -1
- data/lib/onfido/models/report_result.rb +1 -1
- data/lib/onfido/models/report_shared.rb +30 -4
- data/lib/onfido/models/report_status.rb +1 -1
- data/lib/onfido/models/report_sub_result.rb +1 -1
- data/lib/onfido/models/reports_list.rb +20 -4
- data/lib/onfido/models/results_feedback.rb +10 -4
- data/lib/onfido/models/sdk_token.rb +20 -4
- data/lib/onfido/models/sdk_token_builder.rb +20 -4
- data/lib/onfido/models/sdk_token_request.rb +20 -4
- data/lib/onfido/models/sdk_token_response.rb +20 -4
- data/lib/onfido/models/signing_document.rb +316 -0
- data/lib/onfido/models/signing_document_response.rb +298 -0
- data/lib/onfido/models/{device_intelligence_breakdown_breakdown.rb → signing_document_shared.rb} +20 -13
- data/lib/onfido/models/signing_documents_list.rb +239 -0
- data/lib/onfido/models/task.rb +10 -4
- data/lib/onfido/models/task_item.rb +10 -4
- data/lib/onfido/models/timeline_file_reference.rb +30 -4
- data/lib/onfido/models/updated_biometric_token_response.rb +237 -0
- data/lib/onfido/models/us_driving_licence_breakdown.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_address.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_address_breakdown.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_document.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_document_breakdown.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_personal.rb +10 -4
- data/lib/onfido/models/us_driving_licence_breakdown_personal_breakdown.rb +10 -4
- data/lib/onfido/models/us_driving_licence_builder.rb +20 -4
- data/lib/onfido/models/us_driving_licence_report.rb +30 -4
- data/lib/onfido/models/us_driving_licence_shared.rb +20 -4
- data/lib/onfido/models/video_reasons.rb +10 -4
- data/lib/onfido/models/watchlist_aml_breakdown.rb +10 -4
- data/lib/onfido/models/watchlist_aml_breakdown_adverse_media.rb +10 -4
- data/lib/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.rb +10 -4
- data/lib/onfido/models/watchlist_aml_breakdown_politically_exposed_person.rb +10 -4
- data/lib/onfido/models/watchlist_aml_breakdown_sanction.rb +10 -4
- data/lib/onfido/models/watchlist_aml_properties.rb +10 -4
- data/lib/onfido/models/watchlist_aml_report.rb +30 -4
- data/lib/onfido/models/watchlist_enhanced_breakdown.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.rb +10 -4
- data/lib/onfido/models/watchlist_enhanced_report.rb +30 -4
- data/lib/onfido/models/watchlist_mesh_added_mentions.rb +247 -0
- data/lib/onfido/models/watchlist_mesh_alert_risk.rb +323 -0
- data/lib/onfido/models/watchlist_mesh_alert_risk1.rb +316 -0
- data/lib/onfido/models/watchlist_mesh_associate.rb +231 -0
- data/lib/onfido/models/watchlist_mesh_date_value.rb +231 -0
- data/lib/onfido/models/{device_intelligence_breakdown_properties.rb → watchlist_mesh_field.rb} +34 -25
- data/lib/onfido/models/watchlist_mesh_image.rb +231 -0
- data/lib/onfido/models/watchlist_mesh_lists.rb +309 -0
- data/lib/onfido/models/watchlist_mesh_media.rb +261 -0
- data/lib/onfido/models/watchlist_mesh_name.rb +231 -0
- data/lib/onfido/models/watchlist_mesh_pep.rb +369 -0
- data/lib/onfido/models/watchlist_mesh_person.rb +283 -0
- data/lib/onfido/models/watchlist_mesh_profile.rb +273 -0
- data/lib/onfido/models/watchlist_mesh_risk_decision.rb +43 -0
- data/lib/onfido/models/watchlist_mesh_risk_detail.rb +255 -0
- data/lib/onfido/models/watchlist_mesh_risk_indicators.rb +271 -0
- data/lib/onfido/models/watchlist_mesh_sanctions.rb +309 -0
- data/lib/onfido/models/watchlist_monitor.rb +30 -4
- data/lib/onfido/models/watchlist_monitor_builder.rb +20 -4
- data/lib/onfido/models/watchlist_monitor_match.rb +10 -4
- data/lib/onfido/models/watchlist_monitor_matches_list.rb +20 -4
- data/lib/onfido/models/watchlist_monitor_matches_updater.rb +10 -4
- data/lib/onfido/models/watchlist_monitor_response.rb +20 -4
- data/lib/onfido/models/watchlist_monitor_shared.rb +20 -4
- data/lib/onfido/models/watchlist_monitors_list.rb +20 -4
- data/lib/onfido/models/watchlist_peps_only_report.rb +30 -4
- data/lib/onfido/models/watchlist_sanctions_only_report.rb +30 -4
- data/lib/onfido/models/watchlist_standard_breakdown.rb +10 -4
- data/lib/onfido/models/watchlist_standard_properties.rb +10 -4
- data/lib/onfido/models/watchlist_standard_report.rb +30 -4
- data/lib/onfido/models/webhook.rb +31 -5
- data/lib/onfido/models/webhook_builder.rb +31 -5
- data/lib/onfido/models/webhook_create.rb +31 -5
- data/lib/onfido/models/webhook_event.rb +10 -4
- data/lib/onfido/models/webhook_event_object_status.rb +1 -1
- data/lib/onfido/models/webhook_event_payload.rb +20 -4
- data/lib/onfido/models/webhook_event_payload_object.rb +20 -4
- data/lib/onfido/models/webhook_event_payload_resource.rb +54 -5
- data/lib/onfido/models/webhook_event_resource_status.rb +50 -0
- data/lib/onfido/models/webhook_event_resource_type.rb +1 -1
- data/lib/onfido/models/webhook_event_type.rb +1 -1
- data/lib/onfido/models/webhook_resend.rb +10 -4
- data/lib/onfido/models/webhook_response.rb +31 -5
- data/lib/onfido/models/webhook_shared.rb +10 -4
- data/lib/onfido/models/webhook_update.rb +21 -5
- data/lib/onfido/models/webhook_updater.rb +21 -5
- data/lib/onfido/models/webhooks_list.rb +20 -4
- data/lib/onfido/models/webhooks_resend_item.rb +30 -4
- data/lib/onfido/models/workflow_run.rb +40 -4
- data/lib/onfido/models/workflow_run_builder.rb +30 -4
- data/lib/onfido/models/workflow_run_error.rb +10 -4
- data/lib/onfido/models/workflow_run_link.rb +10 -4
- data/lib/onfido/models/workflow_run_request.rb +10 -4
- data/lib/onfido/models/workflow_run_response.rb +20 -4
- data/lib/onfido/models/workflow_run_shared.rb +30 -4
- data/lib/onfido/models/workflow_run_status.rb +1 -1
- data/lib/onfido/version.rb +2 -2
- data/lib/onfido.rb +40 -6
- data/onfido.gemspec +1 -1
- data/spec/integrations/biometric_token_spec.rb +122 -0
- data/spec/integrations/document_spec.rb +8 -1
- data/spec/integrations/media/nfc_data.json +11768 -0
- data/spec/integrations/media/sample_signing_document.pdf +33 -0
- data/spec/integrations/passkey_spec.rb +63 -0
- data/spec/integrations/signing_document_spec.rb +61 -0
- data/spec/integrations/watchlist_alert_risk_spec.rb +66 -0
- data/spec/integrations/workflow_run_spec.rb +8 -4
- data/spec/shared_contexts/with_document.rb +0 -1
- data/spec/shared_contexts/with_onfido.rb +14 -2
- data/spec/shared_contexts/with_signing_document.rb +15 -0
- data/spec/spec_helper.rb +7 -8
- metadata +71 -23
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
%PDF-1.4
|
|
2
|
+
%����
|
|
3
|
+
1 0 obj
|
|
4
|
+
<< /Type /Catalog /Pages 2 0 R >>
|
|
5
|
+
endobj
|
|
6
|
+
2 0 obj
|
|
7
|
+
<< /Type /Pages /Count 1 /Kids [3 0 R] >>
|
|
8
|
+
endobj
|
|
9
|
+
3 0 obj
|
|
10
|
+
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Contents 4 0 R /Resources << /Font << /F1 5 0 R >> >> >>
|
|
11
|
+
endobj
|
|
12
|
+
4 0 obj
|
|
13
|
+
<< /Length 2612 >>
|
|
14
|
+
stream
|
|
15
|
+
BT /F1 12 Tf 72 700 Td (Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. Signing document integration test fixture. ) Tj ET
|
|
16
|
+
endstream
|
|
17
|
+
endobj
|
|
18
|
+
5 0 obj
|
|
19
|
+
<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>
|
|
20
|
+
endobj
|
|
21
|
+
xref
|
|
22
|
+
0 6
|
|
23
|
+
0000000000 65535 f
|
|
24
|
+
0000000015 00000 n
|
|
25
|
+
0000000064 00000 n
|
|
26
|
+
0000000121 00000 n
|
|
27
|
+
0000000247 00000 n
|
|
28
|
+
0000002910 00000 n
|
|
29
|
+
trailer
|
|
30
|
+
<< /Size 6 /Root 1 0 R >>
|
|
31
|
+
startxref
|
|
32
|
+
2980
|
|
33
|
+
%%EOF
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'securerandom'
|
|
4
|
+
require_relative '../shared_contexts/with_onfido'
|
|
5
|
+
|
|
6
|
+
describe Onfido::Passkey do
|
|
7
|
+
describe 'Passkeys' do
|
|
8
|
+
include_context 'with onfido'
|
|
9
|
+
|
|
10
|
+
let(:username) { ENV.fetch('ONFIDO_SAMPLE_PASSKEY_USERNAME', 'sample-username') }
|
|
11
|
+
let(:sample_passkey_id) { ENV.fetch('ONFIDO_SAMPLE_PASSKEY_ID', '00000000-0000-0000-0000-000000000000') }
|
|
12
|
+
|
|
13
|
+
it 'lists passkeys' do
|
|
14
|
+
passkeys = onfido_api.list_passkeys(username)
|
|
15
|
+
|
|
16
|
+
expect(passkeys).to be_an_instance_of(Onfido::PasskeysList)
|
|
17
|
+
expect(passkeys.passkeys.size).to be > 0
|
|
18
|
+
|
|
19
|
+
sample_passkey = passkeys.passkeys.find { |passkey| passkey.id == sample_passkey_id } || passkeys.passkeys.first
|
|
20
|
+
|
|
21
|
+
expect(sample_passkey).to be_an_instance_of(Onfido::Passkey)
|
|
22
|
+
expect(sample_passkey.application_domain).not_to be_nil
|
|
23
|
+
expect(sample_passkey.state).not_to be_nil
|
|
24
|
+
expect(sample_passkey.created_at).not_to be_nil
|
|
25
|
+
expect(sample_passkey.to_hash).not_to be_nil
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
it 'finds a passkey' do
|
|
29
|
+
passkey = onfido_api.find_passkey(username, sample_passkey_id)
|
|
30
|
+
|
|
31
|
+
expect(passkey).to be_an_instance_of(Onfido::Passkey)
|
|
32
|
+
expect(passkey.id).to eq(sample_passkey_id)
|
|
33
|
+
expect(passkey.application_domain).not_to be_nil
|
|
34
|
+
expect(passkey.state).not_to be_nil
|
|
35
|
+
expect(passkey.created_at).not_to be_nil
|
|
36
|
+
expect(passkey.to_hash).not_to be_nil
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
it 'updates a passkey state' do
|
|
40
|
+
updated_passkey = onfido_api.update_passkey(
|
|
41
|
+
username,
|
|
42
|
+
sample_passkey_id,
|
|
43
|
+
Onfido::PasskeyUpdater.new(state: 'INACTIVE'),
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
expect(updated_passkey).to be_an_instance_of(Onfido::Passkey)
|
|
47
|
+
expect(updated_passkey.id).to eq(sample_passkey_id)
|
|
48
|
+
expect(updated_passkey.state).to eq('INACTIVE')
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
it 'deletes a passkey successfully' do
|
|
52
|
+
_, status_code, = onfido_api.delete_passkey_with_http_info(username, sample_passkey_id)
|
|
53
|
+
|
|
54
|
+
expect(status_code).to eq(204)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
it 'deletes passkeys successfully' do
|
|
58
|
+
_, status_code, = onfido_api.delete_passkeys_with_http_info(username)
|
|
59
|
+
|
|
60
|
+
expect(status_code).to eq(204)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative '../shared_contexts/with_signing_document'
|
|
4
|
+
require_relative '../shared_examples/file_examples'
|
|
5
|
+
|
|
6
|
+
describe Onfido::SigningDocument do
|
|
7
|
+
describe 'Signing Documents' do
|
|
8
|
+
include_context 'with signing document'
|
|
9
|
+
|
|
10
|
+
it 'uploads a signing document' do
|
|
11
|
+
expect(signing_document).not_to be_nil
|
|
12
|
+
expect(signing_document.id).not_to be_empty
|
|
13
|
+
expect(signing_document.file_name).to eq('sample_signing_document.pdf')
|
|
14
|
+
expect(signing_document.file_type).to eq('pdf')
|
|
15
|
+
expect(signing_document.applicant_id).to eq(applicant_id)
|
|
16
|
+
expect(signing_document.href).not_to be_nil
|
|
17
|
+
expect(signing_document.download_href).not_to be_nil
|
|
18
|
+
expect(signing_document.file_size).to be > 0
|
|
19
|
+
expect(signing_document.to_hash).not_to be_nil
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
describe 'downloading a signing document' do
|
|
23
|
+
let(:file) { onfido_api.download_signing_document(signing_document_id) }
|
|
24
|
+
|
|
25
|
+
it_behaves_like "a valid PDF file"
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
it 'finds a signing document' do
|
|
29
|
+
found_document = onfido_api.find_signing_document(signing_document_id)
|
|
30
|
+
|
|
31
|
+
expect(found_document).to be_an_instance_of(Onfido::SigningDocument)
|
|
32
|
+
expect(found_document.id).to eq signing_document_id
|
|
33
|
+
expect(found_document.file_name).to eq('sample_signing_document.pdf')
|
|
34
|
+
expect(found_document.file_type).to eq('pdf')
|
|
35
|
+
expect(found_document.applicant_id).to eq(applicant_id)
|
|
36
|
+
expect(found_document.download_href).not_to be_nil
|
|
37
|
+
expect(found_document.to_hash).not_to be_nil
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
it 'lists signing documents' do
|
|
41
|
+
documents = onfido_api.list_signing_documents(applicant_id)
|
|
42
|
+
|
|
43
|
+
expect(documents).to be_an_instance_of(Onfido::SigningDocumentsList)
|
|
44
|
+
expect(documents.signing_documents.map(&:id)).to include(signing_document_id)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
it 'cannot upload a signing document without required parameters' do
|
|
48
|
+
expect {
|
|
49
|
+
onfido_api.upload_signing_document(nil, nil)
|
|
50
|
+
}.to raise_error(ArgumentError)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
it 'cannot download an inexistent signing document' do
|
|
54
|
+
expect {
|
|
55
|
+
onfido_api.download_signing_document(inexistent_signing_document_id)
|
|
56
|
+
}.to raise_error(Onfido::ApiError) { |e|
|
|
57
|
+
expect(e.code).to eq(404)
|
|
58
|
+
}
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative '../shared_contexts/with_workflow_run'
|
|
4
|
+
|
|
5
|
+
describe Onfido::WatchlistMeshAlertRisk do
|
|
6
|
+
describe 'Watchlist alert risks' do
|
|
7
|
+
include_context 'with workflow run'
|
|
8
|
+
|
|
9
|
+
let(:workflow_id) { '18effbfe-73c3-4680-ae43-e1c474767ff4' }
|
|
10
|
+
let(:default_applicant_body) do
|
|
11
|
+
{
|
|
12
|
+
'first_name' => 'Donald',
|
|
13
|
+
'last_name' => 'Consider',
|
|
14
|
+
'dob' => '1990-01-01',
|
|
15
|
+
'address' => {
|
|
16
|
+
'country' => 'PRT',
|
|
17
|
+
'town' => 'Town',
|
|
18
|
+
'street' => 'Street',
|
|
19
|
+
'building_number' => '12',
|
|
20
|
+
'postcode' => '12345',
|
|
21
|
+
},
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
let(:workflow_run_builder) do
|
|
25
|
+
Onfido::WorkflowRunBuilder.new(
|
|
26
|
+
applicant_id: applicant_id,
|
|
27
|
+
workflow_id: workflow_id,
|
|
28
|
+
custom_data: {
|
|
29
|
+
national_id: {
|
|
30
|
+
type: 'passport',
|
|
31
|
+
value: 'P1234567',
|
|
32
|
+
},
|
|
33
|
+
nationality: 'PRT',
|
|
34
|
+
},
|
|
35
|
+
)
|
|
36
|
+
end
|
|
37
|
+
let(:watchlist_task) do
|
|
38
|
+
task = onfido_api.list_tasks(workflow_run_id).find do |workflow_task|
|
|
39
|
+
workflow_task.task_def_id == 'query_watchlists_complyadvantage_mesh'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
expect(task).not_to be_nil
|
|
43
|
+
|
|
44
|
+
repeat_request_until_task_output_changes(30, 2) do
|
|
45
|
+
onfido_api.find_task(workflow_run_id, task.id)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
let(:alert_id) do
|
|
49
|
+
properties = watchlist_task.output[:properties]
|
|
50
|
+
|
|
51
|
+
expect(properties[:alert_identifier]).not_to be_nil
|
|
52
|
+
properties[:alert_identifier]
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
it 'retrieves paginated risks for a sandbox alert' do
|
|
56
|
+
risks = onfido_api.list_watchlist_mesh_alert_risks(alert_id, page: 1, per_page: 1)
|
|
57
|
+
|
|
58
|
+
expect(risks).not_to be_empty
|
|
59
|
+
expect(risks.size).to be <= 1
|
|
60
|
+
expect(risks.first).to be_an_instance_of(Onfido::WatchlistMeshAlertRisk)
|
|
61
|
+
expect(risks.first.identifier).not_to be_nil
|
|
62
|
+
expect(risks.first.decision).not_to be_nil
|
|
63
|
+
expect(risks.first.detail).not_to be_nil
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -50,7 +50,11 @@ describe Onfido::WorkflowRun do
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
describe 'downloading evidence file' do
|
|
53
|
-
let(:file)
|
|
53
|
+
let(:file) do
|
|
54
|
+
repeat_request_until_http_code_changes(15, 2) do
|
|
55
|
+
onfido_api.download_signed_evidence_file(workflow_run_id)
|
|
56
|
+
end
|
|
57
|
+
end
|
|
54
58
|
|
|
55
59
|
it_behaves_like "a valid PDF file", 497605
|
|
56
60
|
end
|
|
@@ -76,15 +80,15 @@ describe Onfido::WorkflowRun do
|
|
|
76
80
|
end
|
|
77
81
|
|
|
78
82
|
timeline_file_id = onfido_api.create_timeline_file(workflow_run_id).workflow_timeline_file_id
|
|
79
|
-
file =
|
|
83
|
+
file = repeat_request_until_http_code_changes do
|
|
80
84
|
onfido_api.find_timeline_file(workflow_run_id, timeline_file_id)
|
|
81
85
|
end
|
|
82
86
|
|
|
83
|
-
expect(file.
|
|
87
|
+
expect(File.exist?(file.path)).to be_truthy
|
|
84
88
|
end
|
|
85
89
|
|
|
86
90
|
it 'downloads an evidence folder' do
|
|
87
|
-
file =
|
|
91
|
+
file = repeat_request_until_http_code_changes(15, 2) do
|
|
88
92
|
onfido_api.download_evidence_folder(workflow_run_id)
|
|
89
93
|
end
|
|
90
94
|
|
|
@@ -11,7 +11,6 @@ RSpec.shared_context 'with document', shared_context: :metadata do
|
|
|
11
11
|
let(:document) { onfido_api.upload_document(Onfido::DocumentTypes::PASSPORT, applicant_id, document_file) }
|
|
12
12
|
let!(:document_id) { document.id }
|
|
13
13
|
|
|
14
|
-
let(:nfc_face_id) { 'cc2dc25f-2df6-4f8f-a5aa-60f49cef9b3c' }
|
|
15
14
|
|
|
16
15
|
let(:inexistent_document_id) { '00000000-0000-0000-0000-000000000000' }
|
|
17
16
|
end
|
|
@@ -8,7 +8,19 @@ RSpec.shared_context 'with onfido' do
|
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
Onfido.configure do |config|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
if ENV['ONFIDO_OAUTH_CLIENT_ID'] && !ENV['ONFIDO_OAUTH_CLIENT_ID'].empty?
|
|
12
|
+
config.set_oauth_credentials(ENV['ONFIDO_OAUTH_CLIENT_ID'], ENV['ONFIDO_OAUTH_CLIENT_SECRET'])
|
|
13
|
+
else
|
|
14
|
+
config.api_token = ENV['ONFIDO_API_TOKEN']
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
if ENV['ONFIDO_BASE_PATH'] && !ENV['ONFIDO_BASE_PATH'].empty?
|
|
18
|
+
uri = URI(ENV['ONFIDO_BASE_PATH'])
|
|
19
|
+
config.scheme = uri.scheme
|
|
20
|
+
config.host = uri.host
|
|
21
|
+
config.base_path = uri.path
|
|
22
|
+
else
|
|
23
|
+
config.region = config.region[:EU]
|
|
24
|
+
end
|
|
13
25
|
end
|
|
14
26
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative '../shared_contexts/with_applicant'
|
|
4
|
+
|
|
5
|
+
RSpec.shared_context 'with signing document', shared_context: :metadata do
|
|
6
|
+
include_context 'with applicant'
|
|
7
|
+
|
|
8
|
+
let(:signing_document_file_name) { 'sample_signing_document.pdf' }
|
|
9
|
+
let(:signing_document_file) { File.open("spec/integrations/media/#{signing_document_file_name}") }
|
|
10
|
+
|
|
11
|
+
let(:signing_document) { onfido_api.upload_signing_document(applicant_id, signing_document_file) }
|
|
12
|
+
let!(:signing_document_id) { signing_document.id }
|
|
13
|
+
|
|
14
|
+
let(:inexistent_signing_document_id) { '00000000-0000-0000-0000-000000000000' }
|
|
15
|
+
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -106,22 +106,21 @@ def repeat_request_until_task_output_changes(max_retries = 15,
|
|
|
106
106
|
instance
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
def
|
|
109
|
+
def repeat_request_until_http_code_changes(max_retries = 15,
|
|
110
110
|
interval = 1, &proc)
|
|
111
111
|
# max_retries --> how many times to retry the request
|
|
112
112
|
# interval --> how many seconds to wait until the next retry
|
|
113
113
|
# proc --> code containing the request
|
|
114
114
|
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
last_error = nil
|
|
116
|
+
(max_retries + 1).times do
|
|
117
117
|
begin
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
return proc.call
|
|
119
|
+
rescue Onfido::ApiError => e
|
|
120
|
+
last_error = e
|
|
121
121
|
sleep(interval)
|
|
122
|
-
iteration += 1
|
|
123
122
|
end
|
|
124
123
|
end
|
|
125
124
|
|
|
126
|
-
|
|
125
|
+
raise last_error
|
|
127
126
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: onfido
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 6.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -154,6 +154,11 @@ files:
|
|
|
154
154
|
- lib/onfido/models/applicant_update.rb
|
|
155
155
|
- lib/onfido/models/applicant_updater.rb
|
|
156
156
|
- lib/onfido/models/applicants_list.rb
|
|
157
|
+
- lib/onfido/models/biometric_token.rb
|
|
158
|
+
- lib/onfido/models/biometric_token_data.rb
|
|
159
|
+
- lib/onfido/models/biometric_token_response.rb
|
|
160
|
+
- lib/onfido/models/biometric_token_updater.rb
|
|
161
|
+
- lib/onfido/models/biometric_tokens_response.rb
|
|
157
162
|
- lib/onfido/models/check.rb
|
|
158
163
|
- lib/onfido/models/check_builder.rb
|
|
159
164
|
- lib/onfido/models/check_request.rb
|
|
@@ -165,14 +170,12 @@ files:
|
|
|
165
170
|
- lib/onfido/models/complete_task_data_builder.rb
|
|
166
171
|
- lib/onfido/models/country_codes.rb
|
|
167
172
|
- lib/onfido/models/device_intelligence_breakdown.rb
|
|
168
|
-
- lib/onfido/models/device_intelligence_breakdown_breakdown.rb
|
|
169
173
|
- lib/onfido/models/device_intelligence_breakdown_device.rb
|
|
170
174
|
- lib/onfido/models/device_intelligence_breakdown_device_breakdown.rb
|
|
171
|
-
- lib/onfido/models/device_intelligence_breakdown_properties.rb
|
|
172
|
-
- lib/onfido/models/device_intelligence_breakdown_properties_device.rb
|
|
173
|
-
- lib/onfido/models/device_intelligence_breakdown_properties_geolocation.rb
|
|
174
|
-
- lib/onfido/models/device_intelligence_breakdown_properties_ip.rb
|
|
175
175
|
- lib/onfido/models/device_intelligence_properties.rb
|
|
176
|
+
- lib/onfido/models/device_intelligence_properties_device.rb
|
|
177
|
+
- lib/onfido/models/device_intelligence_properties_geolocation.rb
|
|
178
|
+
- lib/onfido/models/device_intelligence_properties_ip.rb
|
|
176
179
|
- lib/onfido/models/device_intelligence_report.rb
|
|
177
180
|
- lib/onfido/models/document.rb
|
|
178
181
|
- lib/onfido/models/document_breakdown.rb
|
|
@@ -221,6 +224,7 @@ files:
|
|
|
221
224
|
- lib/onfido/models/document_properties_driving_licence_information_item.rb
|
|
222
225
|
- lib/onfido/models/document_properties_extracted_data.rb
|
|
223
226
|
- lib/onfido/models/document_properties_nfc.rb
|
|
227
|
+
- lib/onfido/models/document_properties_with_driving_licence_information.rb
|
|
224
228
|
- lib/onfido/models/document_report.rb
|
|
225
229
|
- lib/onfido/models/document_report_shared.rb
|
|
226
230
|
- lib/onfido/models/document_response.rb
|
|
@@ -323,6 +327,10 @@ files:
|
|
|
323
327
|
- lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.rb
|
|
324
328
|
- lib/onfido/models/india_pan_report_all_of_properties.rb
|
|
325
329
|
- lib/onfido/models/india_pan_report_all_of_properties_device.rb
|
|
330
|
+
- lib/onfido/models/invalidated_biometric_token_response.rb
|
|
331
|
+
- lib/onfido/models/invalidated_biometric_token_summary.rb
|
|
332
|
+
- lib/onfido/models/invalidated_biometric_token_summary_deleted_items.rb
|
|
333
|
+
- lib/onfido/models/invalidated_biometric_tokens_response.rb
|
|
326
334
|
- lib/onfido/models/known_faces_breakdown.rb
|
|
327
335
|
- lib/onfido/models/known_faces_breakdown_image_integrity.rb
|
|
328
336
|
- lib/onfido/models/known_faces_breakdown_previously_seen_faces.rb
|
|
@@ -339,6 +347,9 @@ files:
|
|
|
339
347
|
- lib/onfido/models/location_shared.rb
|
|
340
348
|
- lib/onfido/models/motion_capture.rb
|
|
341
349
|
- lib/onfido/models/motion_captures_list.rb
|
|
350
|
+
- lib/onfido/models/passkey.rb
|
|
351
|
+
- lib/onfido/models/passkey_updater.rb
|
|
352
|
+
- lib/onfido/models/passkeys_list.rb
|
|
342
353
|
- lib/onfido/models/photo_auto_reasons.rb
|
|
343
354
|
- lib/onfido/models/photo_reasons.rb
|
|
344
355
|
- lib/onfido/models/proof_of_address_breakdown.rb
|
|
@@ -367,9 +378,14 @@ files:
|
|
|
367
378
|
- lib/onfido/models/sdk_token_builder.rb
|
|
368
379
|
- lib/onfido/models/sdk_token_request.rb
|
|
369
380
|
- lib/onfido/models/sdk_token_response.rb
|
|
381
|
+
- lib/onfido/models/signing_document.rb
|
|
382
|
+
- lib/onfido/models/signing_document_response.rb
|
|
383
|
+
- lib/onfido/models/signing_document_shared.rb
|
|
384
|
+
- lib/onfido/models/signing_documents_list.rb
|
|
370
385
|
- lib/onfido/models/task.rb
|
|
371
386
|
- lib/onfido/models/task_item.rb
|
|
372
387
|
- lib/onfido/models/timeline_file_reference.rb
|
|
388
|
+
- lib/onfido/models/updated_biometric_token_response.rb
|
|
373
389
|
- lib/onfido/models/us_driving_licence_breakdown.rb
|
|
374
390
|
- lib/onfido/models/us_driving_licence_breakdown_address.rb
|
|
375
391
|
- lib/onfido/models/us_driving_licence_breakdown_address_breakdown.rb
|
|
@@ -399,6 +415,23 @@ files:
|
|
|
399
415
|
- lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.rb
|
|
400
416
|
- lib/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.rb
|
|
401
417
|
- lib/onfido/models/watchlist_enhanced_report.rb
|
|
418
|
+
- lib/onfido/models/watchlist_mesh_added_mentions.rb
|
|
419
|
+
- lib/onfido/models/watchlist_mesh_alert_risk.rb
|
|
420
|
+
- lib/onfido/models/watchlist_mesh_alert_risk1.rb
|
|
421
|
+
- lib/onfido/models/watchlist_mesh_associate.rb
|
|
422
|
+
- lib/onfido/models/watchlist_mesh_date_value.rb
|
|
423
|
+
- lib/onfido/models/watchlist_mesh_field.rb
|
|
424
|
+
- lib/onfido/models/watchlist_mesh_image.rb
|
|
425
|
+
- lib/onfido/models/watchlist_mesh_lists.rb
|
|
426
|
+
- lib/onfido/models/watchlist_mesh_media.rb
|
|
427
|
+
- lib/onfido/models/watchlist_mesh_name.rb
|
|
428
|
+
- lib/onfido/models/watchlist_mesh_pep.rb
|
|
429
|
+
- lib/onfido/models/watchlist_mesh_person.rb
|
|
430
|
+
- lib/onfido/models/watchlist_mesh_profile.rb
|
|
431
|
+
- lib/onfido/models/watchlist_mesh_risk_decision.rb
|
|
432
|
+
- lib/onfido/models/watchlist_mesh_risk_detail.rb
|
|
433
|
+
- lib/onfido/models/watchlist_mesh_risk_indicators.rb
|
|
434
|
+
- lib/onfido/models/watchlist_mesh_sanctions.rb
|
|
402
435
|
- lib/onfido/models/watchlist_monitor.rb
|
|
403
436
|
- lib/onfido/models/watchlist_monitor_builder.rb
|
|
404
437
|
- lib/onfido/models/watchlist_monitor_match.rb
|
|
@@ -420,6 +453,7 @@ files:
|
|
|
420
453
|
- lib/onfido/models/webhook_event_payload.rb
|
|
421
454
|
- lib/onfido/models/webhook_event_payload_object.rb
|
|
422
455
|
- lib/onfido/models/webhook_event_payload_resource.rb
|
|
456
|
+
- lib/onfido/models/webhook_event_resource_status.rb
|
|
423
457
|
- lib/onfido/models/webhook_event_resource_type.rb
|
|
424
458
|
- lib/onfido/models/webhook_event_type.rb
|
|
425
459
|
- lib/onfido/models/webhook_resend.rb
|
|
@@ -444,20 +478,26 @@ files:
|
|
|
444
478
|
- spec/integrations/address_picker_spec.rb
|
|
445
479
|
- spec/integrations/advanced_electronic_signature_spec.rb
|
|
446
480
|
- spec/integrations/applicant_spec.rb
|
|
481
|
+
- spec/integrations/biometric_token_spec.rb
|
|
447
482
|
- spec/integrations/check_spec.rb
|
|
448
483
|
- spec/integrations/document_spec.rb
|
|
449
484
|
- spec/integrations/extraction_spec.rb
|
|
450
485
|
- spec/integrations/id_photo_spec.rb
|
|
451
486
|
- spec/integrations/live_photo_spec.rb
|
|
452
487
|
- spec/integrations/live_video_spec.rb
|
|
488
|
+
- spec/integrations/media/nfc_data.json
|
|
453
489
|
- spec/integrations/media/sample_driving_licence.png
|
|
454
490
|
- spec/integrations/media/sample_photo.png
|
|
491
|
+
- spec/integrations/media/sample_signing_document.pdf
|
|
455
492
|
- spec/integrations/motion_capture_spec.rb
|
|
493
|
+
- spec/integrations/passkey_spec.rb
|
|
456
494
|
- spec/integrations/qualified_electronic_signature_spec.rb
|
|
457
495
|
- spec/integrations/report_schema_spec.rb
|
|
458
496
|
- spec/integrations/report_spec.rb
|
|
459
497
|
- spec/integrations/sdk_token_spec.rb
|
|
498
|
+
- spec/integrations/signing_document_spec.rb
|
|
460
499
|
- spec/integrations/tasks_spec.rb
|
|
500
|
+
- spec/integrations/watchlist_alert_risk_spec.rb
|
|
461
501
|
- spec/integrations/watchlist_monitor_spec.rb
|
|
462
502
|
- spec/integrations/webhook_spec.rb
|
|
463
503
|
- spec/integrations/workflow_run_output_spec.rb
|
|
@@ -469,6 +509,7 @@ files:
|
|
|
469
509
|
- spec/shared_contexts/with_document.rb
|
|
470
510
|
- spec/shared_contexts/with_live_photo.rb
|
|
471
511
|
- spec/shared_contexts/with_onfido.rb
|
|
512
|
+
- spec/shared_contexts/with_signing_document.rb
|
|
472
513
|
- spec/shared_contexts/with_workflow_run.rb
|
|
473
514
|
- spec/shared_examples/file_examples.rb
|
|
474
515
|
- spec/spec_helper.rb
|
|
@@ -498,35 +539,42 @@ specification_version: 4
|
|
|
498
539
|
summary: The official Ruby library for integrating with the Onfido API.
|
|
499
540
|
test_files:
|
|
500
541
|
- spec/classic_webhook_event_verifier_spec.rb
|
|
542
|
+
- spec/integrations/signing_document_spec.rb
|
|
543
|
+
- spec/integrations/document_spec.rb
|
|
544
|
+
- spec/integrations/extraction_spec.rb
|
|
545
|
+
- spec/integrations/passkey_spec.rb
|
|
546
|
+
- spec/integrations/workflow_run_spec.rb
|
|
547
|
+
- spec/integrations/sdk_token_spec.rb
|
|
548
|
+
- spec/integrations/address_picker_spec.rb
|
|
549
|
+
- spec/integrations/webhook_spec.rb
|
|
501
550
|
- spec/integrations/tasks_spec.rb
|
|
502
551
|
- spec/integrations/workflow_run_output_spec.rb
|
|
503
|
-
- spec/integrations/
|
|
552
|
+
- spec/integrations/media/nfc_data.json
|
|
504
553
|
- spec/integrations/media/sample_photo.png
|
|
554
|
+
- spec/integrations/media/sample_signing_document.pdf
|
|
505
555
|
- spec/integrations/media/sample_driving_licence.png
|
|
506
|
-
- spec/integrations/
|
|
507
|
-
- spec/integrations/advanced_electronic_signature_spec.rb
|
|
508
|
-
- spec/integrations/applicant_spec.rb
|
|
556
|
+
- spec/integrations/check_spec.rb
|
|
509
557
|
- spec/integrations/qualified_electronic_signature_spec.rb
|
|
510
|
-
- spec/integrations/
|
|
511
|
-
- spec/integrations/
|
|
512
|
-
- spec/integrations/
|
|
513
|
-
- spec/integrations/
|
|
514
|
-
- spec/integrations/webhook_spec.rb
|
|
558
|
+
- spec/integrations/watchlist_alert_risk_spec.rb
|
|
559
|
+
- spec/integrations/live_video_spec.rb
|
|
560
|
+
- spec/integrations/advanced_electronic_signature_spec.rb
|
|
561
|
+
- spec/integrations/live_photo_spec.rb
|
|
515
562
|
- spec/integrations/report_spec.rb
|
|
563
|
+
- spec/integrations/motion_capture_spec.rb
|
|
564
|
+
- spec/integrations/id_photo_spec.rb
|
|
565
|
+
- spec/integrations/biometric_token_spec.rb
|
|
566
|
+
- spec/integrations/applicant_spec.rb
|
|
516
567
|
- spec/integrations/report_schema_spec.rb
|
|
517
|
-
- spec/integrations/
|
|
518
|
-
- spec/integrations/address_picker_spec.rb
|
|
519
|
-
- spec/integrations/check_spec.rb
|
|
520
|
-
- spec/integrations/extraction_spec.rb
|
|
521
|
-
- spec/integrations/live_video_spec.rb
|
|
568
|
+
- spec/integrations/watchlist_monitor_spec.rb
|
|
522
569
|
- spec/media/studio_webhook_event_with_list_in_output.json
|
|
523
570
|
- spec/media/studio_webhook_event_with_object_in_output.json
|
|
571
|
+
- spec/shared_contexts/with_document.rb
|
|
524
572
|
- spec/shared_contexts/with_onfido.rb
|
|
573
|
+
- spec/shared_contexts/with_check.rb
|
|
525
574
|
- spec/shared_contexts/with_workflow_run.rb
|
|
575
|
+
- spec/shared_contexts/with_signing_document.rb
|
|
526
576
|
- spec/shared_contexts/with_applicant.rb
|
|
527
577
|
- spec/shared_contexts/with_live_photo.rb
|
|
528
|
-
- spec/shared_contexts/with_document.rb
|
|
529
|
-
- spec/shared_contexts/with_check.rb
|
|
530
578
|
- spec/shared_examples/file_examples.rb
|
|
531
579
|
- spec/spec_helper.rb
|
|
532
580
|
- spec/studio_webhook_event_verifier_spec.rb
|