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
|
|
|
@@ -29,9 +29,14 @@ module Onfido
|
|
|
29
29
|
}
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
# Returns attribute mapping this model knows about
|
|
33
|
+
def self.acceptable_attribute_map
|
|
34
|
+
attribute_map
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
# Returns all the JSON keys this model knows about
|
|
33
38
|
def self.acceptable_attributes
|
|
34
|
-
|
|
39
|
+
acceptable_attribute_map.values
|
|
35
40
|
end
|
|
36
41
|
|
|
37
42
|
# Attribute type mapping.
|
|
@@ -56,9 +61,10 @@ module Onfido
|
|
|
56
61
|
end
|
|
57
62
|
|
|
58
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
|
-
if (!
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantCreate`. Please check the name to make sure it's valid. List of attributes: " +
|
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantCreate`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
68
|
end
|
|
63
69
|
h[k.to_sym] = v
|
|
64
70
|
}
|
|
@@ -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
|
|
|
@@ -31,9 +31,14 @@ module Onfido
|
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
# Returns attribute mapping this model knows about
|
|
35
|
+
def self.acceptable_attribute_map
|
|
36
|
+
attribute_map
|
|
37
|
+
end
|
|
38
|
+
|
|
34
39
|
# Returns all the JSON keys this model knows about
|
|
35
40
|
def self.acceptable_attributes
|
|
36
|
-
|
|
41
|
+
acceptable_attribute_map.values
|
|
37
42
|
end
|
|
38
43
|
|
|
39
44
|
# Attribute type mapping.
|
|
@@ -59,9 +64,10 @@ module Onfido
|
|
|
59
64
|
end
|
|
60
65
|
|
|
61
66
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
62
68
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
63
|
-
if (!
|
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
|
69
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
65
71
|
end
|
|
66
72
|
h[k.to_sym] = v
|
|
67
73
|
}
|
|
@@ -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
|
|
|
@@ -54,9 +54,14 @@ module Onfido
|
|
|
54
54
|
}
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# Returns attribute mapping this model knows about
|
|
58
|
+
def self.acceptable_attribute_map
|
|
59
|
+
attribute_map
|
|
60
|
+
end
|
|
61
|
+
|
|
57
62
|
# Returns all the JSON keys this model knows about
|
|
58
63
|
def self.acceptable_attributes
|
|
59
|
-
|
|
64
|
+
acceptable_attribute_map.values
|
|
60
65
|
end
|
|
61
66
|
|
|
62
67
|
# Attribute type mapping.
|
|
@@ -88,9 +93,10 @@ module Onfido
|
|
|
88
93
|
end
|
|
89
94
|
|
|
90
95
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
96
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
91
97
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
92
|
-
if (!
|
|
93
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
|
98
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
99
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
94
100
|
end
|
|
95
101
|
h[k.to_sym] = v
|
|
96
102
|
}
|
|
@@ -196,6 +202,16 @@ module Onfido
|
|
|
196
202
|
@last_name = last_name
|
|
197
203
|
end
|
|
198
204
|
|
|
205
|
+
# Custom attribute writer method with validation
|
|
206
|
+
# @param [Object] id Value to be assigned
|
|
207
|
+
def id=(id)
|
|
208
|
+
if id.nil?
|
|
209
|
+
fail ArgumentError, 'id cannot be nil'
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
@id = id
|
|
213
|
+
end
|
|
214
|
+
|
|
199
215
|
# Checks equality by comparing each attribute.
|
|
200
216
|
# @param [Object] Object to be compared
|
|
201
217
|
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
|
|
|
@@ -36,9 +36,14 @@ module Onfido
|
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# Returns attribute mapping this model knows about
|
|
40
|
+
def self.acceptable_attribute_map
|
|
41
|
+
attribute_map
|
|
42
|
+
end
|
|
43
|
+
|
|
39
44
|
# Returns all the JSON keys this model knows about
|
|
40
45
|
def self.acceptable_attributes
|
|
41
|
-
|
|
46
|
+
acceptable_attribute_map.values
|
|
42
47
|
end
|
|
43
48
|
|
|
44
49
|
# Attribute type mapping.
|
|
@@ -65,9 +70,10 @@ module Onfido
|
|
|
65
70
|
end
|
|
66
71
|
|
|
67
72
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
73
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
74
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
-
if (!
|
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantShared`. Please check the name to make sure it's valid. List of attributes: " +
|
|
75
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
76
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantShared`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
71
77
|
end
|
|
72
78
|
h[k.to_sym] = v
|
|
73
79
|
}
|
|
@@ -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
|
|
|
@@ -29,9 +29,14 @@ module Onfido
|
|
|
29
29
|
}
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
# Returns attribute mapping this model knows about
|
|
33
|
+
def self.acceptable_attribute_map
|
|
34
|
+
attribute_map
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
# Returns all the JSON keys this model knows about
|
|
33
38
|
def self.acceptable_attributes
|
|
34
|
-
|
|
39
|
+
acceptable_attribute_map.values
|
|
35
40
|
end
|
|
36
41
|
|
|
37
42
|
# Attribute type mapping.
|
|
@@ -56,9 +61,10 @@ module Onfido
|
|
|
56
61
|
end
|
|
57
62
|
|
|
58
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
|
-
if (!
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantUpdate`. Please check the name to make sure it's valid. List of attributes: " +
|
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantUpdate`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
68
|
end
|
|
63
69
|
h[k.to_sym] = v
|
|
64
70
|
}
|
|
@@ -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
|
|
|
@@ -54,9 +54,14 @@ module Onfido
|
|
|
54
54
|
}
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# Returns attribute mapping this model knows about
|
|
58
|
+
def self.acceptable_attribute_map
|
|
59
|
+
attribute_map
|
|
60
|
+
end
|
|
61
|
+
|
|
57
62
|
# Returns all the JSON keys this model knows about
|
|
58
63
|
def self.acceptable_attributes
|
|
59
|
-
|
|
64
|
+
acceptable_attribute_map.values
|
|
60
65
|
end
|
|
61
66
|
|
|
62
67
|
# Attribute type mapping.
|
|
@@ -97,9 +102,10 @@ module Onfido
|
|
|
97
102
|
end
|
|
98
103
|
|
|
99
104
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
105
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
100
106
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
101
|
-
if (!
|
|
102
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantUpdater`. Please check the name to make sure it's valid. List of attributes: " +
|
|
107
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
108
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantUpdater`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
103
109
|
end
|
|
104
110
|
h[k.to_sym] = v
|
|
105
111
|
}
|
|
@@ -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
|
|
|
@@ -24,9 +24,14 @@ module Onfido
|
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
# Returns attribute mapping this model knows about
|
|
28
|
+
def self.acceptable_attribute_map
|
|
29
|
+
attribute_map
|
|
30
|
+
end
|
|
31
|
+
|
|
27
32
|
# Returns all the JSON keys this model knows about
|
|
28
33
|
def self.acceptable_attributes
|
|
29
|
-
|
|
34
|
+
acceptable_attribute_map.values
|
|
30
35
|
end
|
|
31
36
|
|
|
32
37
|
# Attribute type mapping.
|
|
@@ -50,9 +55,10 @@ module Onfido
|
|
|
50
55
|
end
|
|
51
56
|
|
|
52
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
53
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
-
if (!
|
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantsList`. Please check the name to make sure it's valid. List of attributes: " +
|
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ApplicantsList`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
56
62
|
end
|
|
57
63
|
h[k.to_sym] = v
|
|
58
64
|
}
|
|
@@ -86,6 +92,16 @@ module Onfido
|
|
|
86
92
|
true
|
|
87
93
|
end
|
|
88
94
|
|
|
95
|
+
# Custom attribute writer method with validation
|
|
96
|
+
# @param [Object] applicants Value to be assigned
|
|
97
|
+
def applicants=(applicants)
|
|
98
|
+
if applicants.nil?
|
|
99
|
+
fail ArgumentError, 'applicants cannot be nil'
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
@applicants = applicants
|
|
103
|
+
end
|
|
104
|
+
|
|
89
105
|
# Checks equality by comparing each attribute.
|
|
90
106
|
# @param [Object] Object to be compared
|
|
91
107
|
def ==(o)
|
data/lib/onfido/models/check.rb
CHANGED
|
@@ -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
|
|
|
@@ -107,9 +107,14 @@ module Onfido
|
|
|
107
107
|
}
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
+
# Returns attribute mapping this model knows about
|
|
111
|
+
def self.acceptable_attribute_map
|
|
112
|
+
attribute_map
|
|
113
|
+
end
|
|
114
|
+
|
|
110
115
|
# Returns all the JSON keys this model knows about
|
|
111
116
|
def self.acceptable_attributes
|
|
112
|
-
|
|
117
|
+
acceptable_attribute_map.values
|
|
113
118
|
end
|
|
114
119
|
|
|
115
120
|
# Attribute type mapping.
|
|
@@ -157,9 +162,10 @@ module Onfido
|
|
|
157
162
|
end
|
|
158
163
|
|
|
159
164
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
165
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
160
166
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
161
|
-
if (!
|
|
162
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::Check`. Please check the name to make sure it's valid. List of attributes: " +
|
|
167
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
168
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::Check`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
163
169
|
end
|
|
164
170
|
h[k.to_sym] = v
|
|
165
171
|
}
|
|
@@ -270,6 +276,26 @@ module Onfido
|
|
|
270
276
|
true
|
|
271
277
|
end
|
|
272
278
|
|
|
279
|
+
# Custom attribute writer method with validation
|
|
280
|
+
# @param [Object] applicant_id Value to be assigned
|
|
281
|
+
def applicant_id=(applicant_id)
|
|
282
|
+
if applicant_id.nil?
|
|
283
|
+
fail ArgumentError, 'applicant_id cannot be nil'
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
@applicant_id = applicant_id
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# Custom attribute writer method with validation
|
|
290
|
+
# @param [Object] id Value to be assigned
|
|
291
|
+
def id=(id)
|
|
292
|
+
if id.nil?
|
|
293
|
+
fail ArgumentError, 'id cannot be nil'
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
@id = id
|
|
297
|
+
end
|
|
298
|
+
|
|
273
299
|
# Custom attribute writer method checking allowed values (enum).
|
|
274
300
|
# @param [Object] result Object to be assigned
|
|
275
301
|
def result=(result)
|
|
@@ -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
|
|
|
@@ -74,9 +74,14 @@ module Onfido
|
|
|
74
74
|
}
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
# Returns attribute mapping this model knows about
|
|
78
|
+
def self.acceptable_attribute_map
|
|
79
|
+
attribute_map
|
|
80
|
+
end
|
|
81
|
+
|
|
77
82
|
# Returns all the JSON keys this model knows about
|
|
78
83
|
def self.acceptable_attributes
|
|
79
|
-
|
|
84
|
+
acceptable_attribute_map.values
|
|
80
85
|
end
|
|
81
86
|
|
|
82
87
|
# Attribute type mapping.
|
|
@@ -121,9 +126,10 @@ module Onfido
|
|
|
121
126
|
end
|
|
122
127
|
|
|
123
128
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
129
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
124
130
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
125
|
-
if (!
|
|
126
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckBuilder`. Please check the name to make sure it's valid. List of attributes: " +
|
|
131
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
132
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckBuilder`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
127
133
|
end
|
|
128
134
|
h[k.to_sym] = v
|
|
129
135
|
}
|
|
@@ -228,6 +234,26 @@ module Onfido
|
|
|
228
234
|
true
|
|
229
235
|
end
|
|
230
236
|
|
|
237
|
+
# Custom attribute writer method with validation
|
|
238
|
+
# @param [Object] applicant_id Value to be assigned
|
|
239
|
+
def applicant_id=(applicant_id)
|
|
240
|
+
if applicant_id.nil?
|
|
241
|
+
fail ArgumentError, 'applicant_id cannot be nil'
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
@applicant_id = applicant_id
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# Custom attribute writer method with validation
|
|
248
|
+
# @param [Object] report_names Value to be assigned
|
|
249
|
+
def report_names=(report_names)
|
|
250
|
+
if report_names.nil?
|
|
251
|
+
fail ArgumentError, 'report_names cannot be nil'
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
@report_names = report_names
|
|
255
|
+
end
|
|
256
|
+
|
|
231
257
|
# Checks equality by comparing each attribute.
|
|
232
258
|
# @param [Object] Object to be compared
|
|
233
259
|
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
|
|
|
@@ -55,9 +55,14 @@ module Onfido
|
|
|
55
55
|
}
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
+
# Returns attribute mapping this model knows about
|
|
59
|
+
def self.acceptable_attribute_map
|
|
60
|
+
attribute_map
|
|
61
|
+
end
|
|
62
|
+
|
|
58
63
|
# Returns all the JSON keys this model knows about
|
|
59
64
|
def self.acceptable_attributes
|
|
60
|
-
|
|
65
|
+
acceptable_attribute_map.values
|
|
61
66
|
end
|
|
62
67
|
|
|
63
68
|
# Attribute type mapping.
|
|
@@ -89,9 +94,10 @@ module Onfido
|
|
|
89
94
|
end
|
|
90
95
|
|
|
91
96
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
97
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
92
98
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
93
|
-
if (!
|
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckRequest`. Please check the name to make sure it's valid. List of attributes: " +
|
|
99
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
100
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
95
101
|
end
|
|
96
102
|
h[k.to_sym] = v
|
|
97
103
|
}
|
|
@@ -165,6 +171,16 @@ module Onfido
|
|
|
165
171
|
true
|
|
166
172
|
end
|
|
167
173
|
|
|
174
|
+
# Custom attribute writer method with validation
|
|
175
|
+
# @param [Object] report_names Value to be assigned
|
|
176
|
+
def report_names=(report_names)
|
|
177
|
+
if report_names.nil?
|
|
178
|
+
fail ArgumentError, 'report_names cannot be nil'
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
@report_names = report_names
|
|
182
|
+
end
|
|
183
|
+
|
|
168
184
|
# Checks equality by comparing each attribute.
|
|
169
185
|
# @param [Object] Object to be compared
|
|
170
186
|
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
|
|
|
@@ -84,9 +84,14 @@ module Onfido
|
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
# Returns attribute mapping this model knows about
|
|
88
|
+
def self.acceptable_attribute_map
|
|
89
|
+
attribute_map
|
|
90
|
+
end
|
|
91
|
+
|
|
87
92
|
# Returns all the JSON keys this model knows about
|
|
88
93
|
def self.acceptable_attributes
|
|
89
|
-
|
|
94
|
+
acceptable_attribute_map.values
|
|
90
95
|
end
|
|
91
96
|
|
|
92
97
|
# Attribute type mapping.
|
|
@@ -120,9 +125,10 @@ module Onfido
|
|
|
120
125
|
end
|
|
121
126
|
|
|
122
127
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
128
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
123
129
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
124
|
-
if (!
|
|
125
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
|
130
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
131
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
126
132
|
end
|
|
127
133
|
h[k.to_sym] = v
|
|
128
134
|
}
|
|
@@ -198,6 +204,16 @@ module Onfido
|
|
|
198
204
|
true
|
|
199
205
|
end
|
|
200
206
|
|
|
207
|
+
# Custom attribute writer method with validation
|
|
208
|
+
# @param [Object] id Value to be assigned
|
|
209
|
+
def id=(id)
|
|
210
|
+
if id.nil?
|
|
211
|
+
fail ArgumentError, 'id cannot be nil'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@id = id
|
|
215
|
+
end
|
|
216
|
+
|
|
201
217
|
# Custom attribute writer method checking allowed values (enum).
|
|
202
218
|
# @param [Object] result Object to be assigned
|
|
203
219
|
def result=(result)
|
|
@@ -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
|
|
|
@@ -44,9 +44,14 @@ module Onfido
|
|
|
44
44
|
}
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
# Returns attribute mapping this model knows about
|
|
48
|
+
def self.acceptable_attribute_map
|
|
49
|
+
attribute_map
|
|
50
|
+
end
|
|
51
|
+
|
|
47
52
|
# Returns all the JSON keys this model knows about
|
|
48
53
|
def self.acceptable_attributes
|
|
49
|
-
|
|
54
|
+
acceptable_attribute_map.values
|
|
50
55
|
end
|
|
51
56
|
|
|
52
57
|
# Attribute type mapping.
|
|
@@ -75,9 +80,10 @@ module Onfido
|
|
|
75
80
|
end
|
|
76
81
|
|
|
77
82
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
83
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
78
84
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
79
|
-
if (!
|
|
80
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckShared`. Please check the name to make sure it's valid. List of attributes: " +
|
|
85
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
86
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::CheckShared`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
81
87
|
end
|
|
82
88
|
h[k.to_sym] = v
|
|
83
89
|
}
|
|
@@ -133,6 +139,16 @@ module Onfido
|
|
|
133
139
|
true
|
|
134
140
|
end
|
|
135
141
|
|
|
142
|
+
# Custom attribute writer method with validation
|
|
143
|
+
# @param [Object] applicant_id Value to be assigned
|
|
144
|
+
def applicant_id=(applicant_id)
|
|
145
|
+
if applicant_id.nil?
|
|
146
|
+
fail ArgumentError, 'applicant_id cannot be nil'
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
@applicant_id = applicant_id
|
|
150
|
+
end
|
|
151
|
+
|
|
136
152
|
# Checks equality by comparing each attribute.
|
|
137
153
|
# @param [Object] Object to be compared
|
|
138
154
|
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
|
|
|
@@ -24,9 +24,14 @@ module Onfido
|
|
|
24
24
|
}
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
# Returns attribute mapping this model knows about
|
|
28
|
+
def self.acceptable_attribute_map
|
|
29
|
+
attribute_map
|
|
30
|
+
end
|
|
31
|
+
|
|
27
32
|
# Returns all the JSON keys this model knows about
|
|
28
33
|
def self.acceptable_attributes
|
|
29
|
-
|
|
34
|
+
acceptable_attribute_map.values
|
|
30
35
|
end
|
|
31
36
|
|
|
32
37
|
# Attribute type mapping.
|
|
@@ -50,9 +55,10 @@ module Onfido
|
|
|
50
55
|
end
|
|
51
56
|
|
|
52
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
53
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
-
if (!
|
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ChecksList`. Please check the name to make sure it's valid. List of attributes: " +
|
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Onfido::ChecksList`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
56
62
|
end
|
|
57
63
|
h[k.to_sym] = v
|
|
58
64
|
}
|
|
@@ -86,6 +92,16 @@ module Onfido
|
|
|
86
92
|
true
|
|
87
93
|
end
|
|
88
94
|
|
|
95
|
+
# Custom attribute writer method with validation
|
|
96
|
+
# @param [Object] checks Value to be assigned
|
|
97
|
+
def checks=(checks)
|
|
98
|
+
if checks.nil?
|
|
99
|
+
fail ArgumentError, 'checks cannot be nil'
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
@checks = checks
|
|
103
|
+
end
|
|
104
|
+
|
|
89
105
|
# Checks equality by comparing each attribute.
|
|
90
106
|
# @param [Object] Object to be compared
|
|
91
107
|
def ==(o)
|