onfido 5.7.0 → 6.1.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 +19 -0
- data/MIGRATION.md +28 -0
- data/README.md +2 -2
- data/lib/onfido/api/default_api.rb +8 -5
- data/lib/onfido/api_client.rb +2 -2
- data/lib/onfido/api_error.rb +1 -1
- data/lib/onfido/configuration.rb +1 -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/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 +11 -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 +1 -1
- 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 +11 -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/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 +40 -4
- data/lib/onfido/models/passkey_updater.rb +10 -4
- data/lib/onfido/models/passkeys_list.rb +20 -4
- 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 +20 -4
- data/lib/onfido/models/signing_document_response.rb +20 -4
- data/lib/onfido/models/signing_document_shared.rb +10 -4
- data/lib/onfido/models/signing_documents_list.rb +20 -4
- 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/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_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 +20 -4
- data/lib/onfido/models/webhook_builder.rb +20 -4
- data/lib/onfido/models/webhook_create.rb +20 -4
- 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 +20 -4
- data/lib/onfido/models/webhook_shared.rb +10 -4
- data/lib/onfido/models/webhook_update.rb +10 -4
- data/lib/onfido/models/webhook_updater.rb +10 -4
- 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 +6 -6
- data/onfido.gemspec +1 -1
- data/spec/integrations/workflow_run_spec.rb +8 -4
- data/spec/spec_helper.rb +1 -1
- metadata +26 -26
- data/lib/onfido/models/device_intelligence_breakdown_breakdown.rb +0 -214
- data/lib/onfido/models/device_intelligence_breakdown_properties.rb +0 -232
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,9 +81,14 @@ module Onfido
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Returns attribute mapping this model knows about
|
|
85
|
+
def self.acceptable_attribute_map
|
|
86
|
+
attribute_map
|
|
87
|
+
end
|
|
88
|
+
|
|
84
89
|
# Returns all the JSON keys this model knows about
|
|
85
90
|
def self.acceptable_attributes
|
|
86
|
-
|
|
91
|
+
acceptable_attribute_map.values
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
# Attribute type mapping.
|
|
@@ -125,9 +130,10 @@ module Onfido
|
|
|
125
130
|
end
|
|
126
131
|
|
|
127
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
128
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
129
|
-
if (!
|
|
130
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentReport`. Please check the name to make sure it's valid. List of attributes: " +
|
|
135
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentReport`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
131
137
|
end
|
|
132
138
|
h[k.to_sym] = v
|
|
133
139
|
}
|
|
@@ -208,6 +214,26 @@ module Onfido
|
|
|
208
214
|
true
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
# Custom attribute writer method with validation
|
|
218
|
+
# @param [Object] id Value to be assigned
|
|
219
|
+
def id=(id)
|
|
220
|
+
if id.nil?
|
|
221
|
+
fail ArgumentError, 'id cannot be nil'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
@id = id
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Custom attribute writer method with validation
|
|
228
|
+
# @param [Object] name Value to be assigned
|
|
229
|
+
def name=(name)
|
|
230
|
+
if name.nil?
|
|
231
|
+
fail ArgumentError, 'name cannot be nil'
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
@name = name
|
|
235
|
+
end
|
|
236
|
+
|
|
211
237
|
# Checks equality by comparing each attribute.
|
|
212
238
|
# @param [Object] Object to be compared
|
|
213
239
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -25,9 +25,14 @@ module Onfido
|
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
# Returns attribute mapping this model knows about
|
|
29
|
+
def self.acceptable_attribute_map
|
|
30
|
+
attribute_map
|
|
31
|
+
end
|
|
32
|
+
|
|
28
33
|
# Returns all the JSON keys this model knows about
|
|
29
34
|
def self.acceptable_attributes
|
|
30
|
-
|
|
35
|
+
acceptable_attribute_map.values
|
|
31
36
|
end
|
|
32
37
|
|
|
33
38
|
# Attribute type mapping.
|
|
@@ -51,9 +56,10 @@ module Onfido
|
|
|
51
56
|
end
|
|
52
57
|
|
|
53
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
55
|
-
if (!
|
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentReportShared`. Please check the name to make sure it's valid. List of attributes: " +
|
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentReportShared`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
57
63
|
end
|
|
58
64
|
h[k.to_sym] = v
|
|
59
65
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -45,9 +45,14 @@ module Onfido
|
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# Returns attribute mapping this model knows about
|
|
49
|
+
def self.acceptable_attribute_map
|
|
50
|
+
attribute_map
|
|
51
|
+
end
|
|
52
|
+
|
|
48
53
|
# Returns all the JSON keys this model knows about
|
|
49
54
|
def self.acceptable_attributes
|
|
50
|
-
|
|
55
|
+
acceptable_attribute_map.values
|
|
51
56
|
end
|
|
52
57
|
|
|
53
58
|
# Attribute type mapping.
|
|
@@ -76,9 +81,10 @@ module Onfido
|
|
|
76
81
|
end
|
|
77
82
|
|
|
78
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
84
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
79
85
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
80
|
-
if (!
|
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
|
86
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
87
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
82
88
|
end
|
|
83
89
|
h[k.to_sym] = v
|
|
84
90
|
}
|
|
@@ -130,6 +136,16 @@ module Onfido
|
|
|
130
136
|
true
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
# Custom attribute writer method with validation
|
|
140
|
+
# @param [Object] id Value to be assigned
|
|
141
|
+
def id=(id)
|
|
142
|
+
if id.nil?
|
|
143
|
+
fail ArgumentError, 'id cannot be nil'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
@id = id
|
|
147
|
+
end
|
|
148
|
+
|
|
133
149
|
# Checks equality by comparing each attribute.
|
|
134
150
|
# @param [Object] Object to be compared
|
|
135
151
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -63,9 +63,14 @@ module Onfido
|
|
|
63
63
|
}
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
# Returns attribute mapping this model knows about
|
|
67
|
+
def self.acceptable_attribute_map
|
|
68
|
+
attribute_map
|
|
69
|
+
end
|
|
70
|
+
|
|
66
71
|
# Returns all the JSON keys this model knows about
|
|
67
72
|
def self.acceptable_attributes
|
|
68
|
-
|
|
73
|
+
acceptable_attribute_map.values
|
|
69
74
|
end
|
|
70
75
|
|
|
71
76
|
# Attribute type mapping.
|
|
@@ -93,9 +98,10 @@ module Onfido
|
|
|
93
98
|
end
|
|
94
99
|
|
|
95
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
101
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
96
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
97
|
-
if (!
|
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentShared`. Please check the name to make sure it's valid. List of attributes: " +
|
|
103
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentShared`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
99
105
|
end
|
|
100
106
|
h[k.to_sym] = v
|
|
101
107
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,9 +81,14 @@ module Onfido
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Returns attribute mapping this model knows about
|
|
85
|
+
def self.acceptable_attribute_map
|
|
86
|
+
attribute_map
|
|
87
|
+
end
|
|
88
|
+
|
|
84
89
|
# Returns all the JSON keys this model knows about
|
|
85
90
|
def self.acceptable_attributes
|
|
86
|
-
|
|
91
|
+
acceptable_attribute_map.values
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
# Attribute type mapping.
|
|
@@ -125,9 +130,10 @@ module Onfido
|
|
|
125
130
|
end
|
|
126
131
|
|
|
127
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
128
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
129
|
-
if (!
|
|
130
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentVideoReport`. Please check the name to make sure it's valid. List of attributes: " +
|
|
135
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentVideoReport`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
131
137
|
end
|
|
132
138
|
h[k.to_sym] = v
|
|
133
139
|
}
|
|
@@ -208,6 +214,26 @@ module Onfido
|
|
|
208
214
|
true
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
# Custom attribute writer method with validation
|
|
218
|
+
# @param [Object] id Value to be assigned
|
|
219
|
+
def id=(id)
|
|
220
|
+
if id.nil?
|
|
221
|
+
fail ArgumentError, 'id cannot be nil'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
@id = id
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Custom attribute writer method with validation
|
|
228
|
+
# @param [Object] name Value to be assigned
|
|
229
|
+
def name=(name)
|
|
230
|
+
if name.nil?
|
|
231
|
+
fail ArgumentError, 'name cannot be nil'
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
@name = name
|
|
235
|
+
end
|
|
236
|
+
|
|
211
237
|
# Checks equality by comparing each attribute.
|
|
212
238
|
# @param [Object] Object to be compared
|
|
213
239
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,9 +81,14 @@ module Onfido
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Returns attribute mapping this model knows about
|
|
85
|
+
def self.acceptable_attribute_map
|
|
86
|
+
attribute_map
|
|
87
|
+
end
|
|
88
|
+
|
|
84
89
|
# Returns all the JSON keys this model knows about
|
|
85
90
|
def self.acceptable_attributes
|
|
86
|
-
|
|
91
|
+
acceptable_attribute_map.values
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
# Attribute type mapping.
|
|
@@ -125,9 +130,10 @@ module Onfido
|
|
|
125
130
|
end
|
|
126
131
|
|
|
127
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
128
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
129
|
-
if (!
|
|
130
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentVideoWithAddressInformationReport`. Please check the name to make sure it's valid. List of attributes: " +
|
|
135
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentVideoWithAddressInformationReport`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
131
137
|
end
|
|
132
138
|
h[k.to_sym] = v
|
|
133
139
|
}
|
|
@@ -208,6 +214,26 @@ module Onfido
|
|
|
208
214
|
true
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
# Custom attribute writer method with validation
|
|
218
|
+
# @param [Object] id Value to be assigned
|
|
219
|
+
def id=(id)
|
|
220
|
+
if id.nil?
|
|
221
|
+
fail ArgumentError, 'id cannot be nil'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
@id = id
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Custom attribute writer method with validation
|
|
228
|
+
# @param [Object] name Value to be assigned
|
|
229
|
+
def name=(name)
|
|
230
|
+
if name.nil?
|
|
231
|
+
fail ArgumentError, 'name cannot be nil'
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
@name = name
|
|
235
|
+
end
|
|
236
|
+
|
|
211
237
|
# Checks equality by comparing each attribute.
|
|
212
238
|
# @param [Object] Object to be compared
|
|
213
239
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,9 +81,14 @@ module Onfido
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Returns attribute mapping this model knows about
|
|
85
|
+
def self.acceptable_attribute_map
|
|
86
|
+
attribute_map
|
|
87
|
+
end
|
|
88
|
+
|
|
84
89
|
# Returns all the JSON keys this model knows about
|
|
85
90
|
def self.acceptable_attributes
|
|
86
|
-
|
|
91
|
+
acceptable_attribute_map.values
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
# Attribute type mapping.
|
|
@@ -125,9 +130,10 @@ module Onfido
|
|
|
125
130
|
end
|
|
126
131
|
|
|
127
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
128
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
129
|
-
if (!
|
|
130
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithAddressInformationReport`. Please check the name to make sure it's valid. List of attributes: " +
|
|
135
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithAddressInformationReport`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
131
137
|
end
|
|
132
138
|
h[k.to_sym] = v
|
|
133
139
|
}
|
|
@@ -208,6 +214,26 @@ module Onfido
|
|
|
208
214
|
true
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
# Custom attribute writer method with validation
|
|
218
|
+
# @param [Object] id Value to be assigned
|
|
219
|
+
def id=(id)
|
|
220
|
+
if id.nil?
|
|
221
|
+
fail ArgumentError, 'id cannot be nil'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
@id = id
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Custom attribute writer method with validation
|
|
228
|
+
# @param [Object] name Value to be assigned
|
|
229
|
+
def name=(name)
|
|
230
|
+
if name.nil?
|
|
231
|
+
fail ArgumentError, 'name cannot be nil'
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
@name = name
|
|
235
|
+
end
|
|
236
|
+
|
|
211
237
|
# Checks equality by comparing each attribute.
|
|
212
238
|
# @param [Object] Object to be compared
|
|
213
239
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,9 +81,14 @@ module Onfido
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
# Returns attribute mapping this model knows about
|
|
85
|
+
def self.acceptable_attribute_map
|
|
86
|
+
attribute_map
|
|
87
|
+
end
|
|
88
|
+
|
|
84
89
|
# Returns all the JSON keys this model knows about
|
|
85
90
|
def self.acceptable_attributes
|
|
86
|
-
|
|
91
|
+
acceptable_attribute_map.values
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
# Attribute type mapping.
|
|
@@ -125,9 +130,10 @@ module Onfido
|
|
|
125
130
|
end
|
|
126
131
|
|
|
127
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
128
134
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
129
|
-
if (!
|
|
130
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReport`. Please check the name to make sure it's valid. List of attributes: " +
|
|
135
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReport`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
131
137
|
end
|
|
132
138
|
h[k.to_sym] = v
|
|
133
139
|
}
|
|
@@ -208,6 +214,26 @@ module Onfido
|
|
|
208
214
|
true
|
|
209
215
|
end
|
|
210
216
|
|
|
217
|
+
# Custom attribute writer method with validation
|
|
218
|
+
# @param [Object] id Value to be assigned
|
|
219
|
+
def id=(id)
|
|
220
|
+
if id.nil?
|
|
221
|
+
fail ArgumentError, 'id cannot be nil'
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
@id = id
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Custom attribute writer method with validation
|
|
228
|
+
# @param [Object] name Value to be assigned
|
|
229
|
+
def name=(name)
|
|
230
|
+
if name.nil?
|
|
231
|
+
fail ArgumentError, 'name cannot be nil'
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
@name = name
|
|
235
|
+
end
|
|
236
|
+
|
|
211
237
|
# Checks equality by comparing each attribute.
|
|
212
238
|
# @param [Object] Object to be compared
|
|
213
239
|
def ==(o)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -101,8 +101,6 @@ module Onfido
|
|
|
101
101
|
|
|
102
102
|
attr_accessor :nfc
|
|
103
103
|
|
|
104
|
-
attr_accessor :driving_licence_information
|
|
105
|
-
|
|
106
104
|
attr_accessor :document_classification
|
|
107
105
|
|
|
108
106
|
attr_accessor :extracted_data
|
|
@@ -195,7 +193,6 @@ module Onfido
|
|
|
195
193
|
:'address_lines' => :'address_lines',
|
|
196
194
|
:'barcode' => :'barcode',
|
|
197
195
|
:'nfc' => :'nfc',
|
|
198
|
-
:'driving_licence_information' => :'driving_licence_information',
|
|
199
196
|
:'document_classification' => :'document_classification',
|
|
200
197
|
:'extracted_data' => :'extracted_data',
|
|
201
198
|
:'drivers_licence' => :'drivers_licence',
|
|
@@ -208,9 +205,14 @@ module Onfido
|
|
|
208
205
|
}
|
|
209
206
|
end
|
|
210
207
|
|
|
208
|
+
# Returns attribute mapping this model knows about
|
|
209
|
+
def self.acceptable_attribute_map
|
|
210
|
+
attribute_map
|
|
211
|
+
end
|
|
212
|
+
|
|
211
213
|
# Returns all the JSON keys this model knows about
|
|
212
214
|
def self.acceptable_attributes
|
|
213
|
-
|
|
215
|
+
acceptable_attribute_map.values
|
|
214
216
|
end
|
|
215
217
|
|
|
216
218
|
# Attribute type mapping.
|
|
@@ -259,7 +261,6 @@ module Onfido
|
|
|
259
261
|
:'address_lines' => :'DocumentPropertiesAddressLines',
|
|
260
262
|
:'barcode' => :'Array<DocumentPropertiesBarcodeInner>',
|
|
261
263
|
:'nfc' => :'DocumentPropertiesNfc',
|
|
262
|
-
:'driving_licence_information' => :'Array<DocumentPropertiesDrivingLicenceInformationItem>',
|
|
263
264
|
:'document_classification' => :'DocumentPropertiesDocumentClassification',
|
|
264
265
|
:'extracted_data' => :'DocumentPropertiesExtractedData',
|
|
265
266
|
:'drivers_licence' => :'Boolean',
|
|
@@ -293,9 +294,10 @@ module Onfido
|
|
|
293
294
|
end
|
|
294
295
|
|
|
295
296
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
297
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
296
298
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
297
|
-
if (!
|
|
298
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfProperties`. Please check the name to make sure it's valid. List of attributes: " +
|
|
299
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
300
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfProperties`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
299
301
|
end
|
|
300
302
|
h[k.to_sym] = v
|
|
301
303
|
}
|
|
@@ -476,12 +478,6 @@ module Onfido
|
|
|
476
478
|
self.nfc = attributes[:'nfc']
|
|
477
479
|
end
|
|
478
480
|
|
|
479
|
-
if attributes.key?(:'driving_licence_information')
|
|
480
|
-
if (value = attributes[:'driving_licence_information']).is_a?(Array)
|
|
481
|
-
self.driving_licence_information = value
|
|
482
|
-
end
|
|
483
|
-
end
|
|
484
|
-
|
|
485
481
|
if attributes.key?(:'document_classification')
|
|
486
482
|
self.document_classification = attributes[:'document_classification']
|
|
487
483
|
end
|
|
@@ -620,7 +616,6 @@ module Onfido
|
|
|
620
616
|
address_lines == o.address_lines &&
|
|
621
617
|
barcode == o.barcode &&
|
|
622
618
|
nfc == o.nfc &&
|
|
623
|
-
driving_licence_information == o.driving_licence_information &&
|
|
624
619
|
document_classification == o.document_classification &&
|
|
625
620
|
extracted_data == o.extracted_data &&
|
|
626
621
|
drivers_licence == o.drivers_licence &&
|
|
@@ -641,7 +636,7 @@ module Onfido
|
|
|
641
636
|
# Calculates hash code according to all attributes.
|
|
642
637
|
# @return [Integer] Hash code
|
|
643
638
|
def hash
|
|
644
|
-
[date_of_birth, date_of_expiry, personal_number, document_numbers, document_type, first_name, middle_name, last_name, gender, issuing_country, nationality, issuing_state, issuing_date, valid_from, categorisation, mrz_line1, mrz_line2, mrz_line3, address, place_of_birth, spouse_name, widow_name, alias_name, issuing_authority, remarks, civil_state, expatriation, father_name, mother_name, religion, type_of_permit, version_number, document_subtype, profession, security_document_number, tax_number, nist_identity_evidence_strength, has_issuance_confirmation, real_id_compliance, security_tier, address_lines, barcode, nfc,
|
|
639
|
+
[date_of_birth, date_of_expiry, personal_number, document_numbers, document_type, first_name, middle_name, last_name, gender, issuing_country, nationality, issuing_state, issuing_date, valid_from, categorisation, mrz_line1, mrz_line2, mrz_line3, address, place_of_birth, spouse_name, widow_name, alias_name, issuing_authority, remarks, civil_state, expatriation, father_name, mother_name, religion, type_of_permit, version_number, document_subtype, profession, security_document_number, tax_number, nist_identity_evidence_strength, has_issuance_confirmation, real_id_compliance, security_tier, address_lines, barcode, nfc, document_classification, extracted_data, drivers_licence, restricted_licence, raw_licence_category, raw_vehicle_classes, manual_transmission_restriction, vehicle_class_details, passenger_vehicle].hash
|
|
645
640
|
end
|
|
646
641
|
|
|
647
642
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,9 +34,14 @@ module Onfido
|
|
|
34
34
|
}
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
# Returns attribute mapping this model knows about
|
|
38
|
+
def self.acceptable_attribute_map
|
|
39
|
+
attribute_map
|
|
40
|
+
end
|
|
41
|
+
|
|
37
42
|
# Returns all the JSON keys this model knows about
|
|
38
43
|
def self.acceptable_attributes
|
|
39
|
-
|
|
44
|
+
acceptable_attribute_map.values
|
|
40
45
|
end
|
|
41
46
|
|
|
42
47
|
# Attribute type mapping.
|
|
@@ -62,9 +67,10 @@ module Onfido
|
|
|
62
67
|
end
|
|
63
68
|
|
|
64
69
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
-
if (!
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle`. Please check the name to make sure it's valid. List of attributes: " +
|
|
72
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
74
|
end
|
|
69
75
|
h[k.to_sym] = v
|
|
70
76
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3.6
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.16.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -37,9 +37,14 @@ module Onfido
|
|
|
37
37
|
}
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
# Returns attribute mapping this model knows about
|
|
41
|
+
def self.acceptable_attribute_map
|
|
42
|
+
attribute_map
|
|
43
|
+
end
|
|
44
|
+
|
|
40
45
|
# Returns all the JSON keys this model knows about
|
|
41
46
|
def self.acceptable_attributes
|
|
42
|
-
|
|
47
|
+
acceptable_attribute_map.values
|
|
43
48
|
end
|
|
44
49
|
|
|
45
50
|
# Attribute type mapping.
|
|
@@ -66,9 +71,10 @@ module Onfido
|
|
|
66
71
|
end
|
|
67
72
|
|
|
68
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
74
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
69
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
70
|
-
if (!
|
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner`. Please check the name to make sure it's valid. List of attributes: " +
|
|
76
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
72
78
|
end
|
|
73
79
|
h[k.to_sym] = v
|
|
74
80
|
}
|