onfido 4.6.0 → 5.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 +25 -0
- data/MIGRATION.md +29 -0
- data/README.md +3 -3
- data/lib/onfido/api/default_api.rb +130 -5
- data/lib/onfido/api_client.rb +3 -2
- data/lib/onfido/api_error.rb +1 -1
- data/lib/onfido/configuration.rb +1 -1
- data/lib/onfido/models/address.rb +1 -1
- data/lib/onfido/models/address_builder.rb +1 -1
- data/lib/onfido/models/address_shared.rb +1 -1
- data/lib/onfido/models/addresses_list.rb +1 -1
- data/lib/onfido/models/applicant.rb +1 -1
- data/lib/onfido/models/applicant_builder.rb +1 -1
- data/lib/onfido/models/applicant_consent.rb +272 -0
- data/lib/onfido/models/applicant_consent_builder.rb +1 -1
- data/lib/onfido/models/applicant_consent_name.rb +1 -1
- data/lib/onfido/models/applicant_create.rb +1 -1
- data/lib/onfido/models/applicant_request.rb +1 -1
- data/lib/onfido/models/applicant_response.rb +1 -1
- data/lib/onfido/models/applicant_shared.rb +1 -1
- data/lib/onfido/models/applicant_update.rb +1 -1
- data/lib/onfido/models/applicant_updater.rb +1 -1
- data/lib/onfido/models/applicants_list.rb +1 -1
- data/lib/onfido/models/check.rb +1 -1
- data/lib/onfido/models/check_builder.rb +1 -1
- data/lib/onfido/models/check_request.rb +1 -1
- data/lib/onfido/models/check_response.rb +1 -1
- data/lib/onfido/models/check_shared.rb +1 -1
- data/lib/onfido/models/check_status.rb +1 -1
- data/lib/onfido/models/checks_list.rb +1 -1
- data/lib/onfido/models/complete_task_builder.rb +1 -1
- data/lib/onfido/models/complete_task_data_builder.rb +1 -1
- data/lib/onfido/models/country_codes.rb +1 -1
- data/lib/onfido/models/device_intelligence_breakdown.rb +11 -2
- data/lib/onfido/models/device_intelligence_breakdown_breakdown.rb +2 -2
- data/lib/onfido/models/{device_intelligence_breakdown_breakdown_device.rb → device_intelligence_breakdown_device.rb} +5 -5
- data/lib/onfido/models/{device_intelligence_breakdown_breakdown_device_breakdown.rb → device_intelligence_breakdown_device_breakdown.rb} +4 -4
- data/lib/onfido/models/device_intelligence_breakdown_properties.rb +1 -1
- data/lib/onfido/models/device_intelligence_breakdown_properties_device.rb +2 -2
- data/lib/onfido/models/device_intelligence_breakdown_properties_geolocation.rb +1 -1
- data/lib/onfido/models/device_intelligence_breakdown_properties_ip.rb +1 -1
- data/lib/onfido/models/device_intelligence_properties.rb +232 -0
- data/lib/onfido/models/device_intelligence_report.rb +14 -17
- data/lib/onfido/models/document.rb +1 -13
- data/lib/onfido/models/document_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_age_validation.rb +1 -1
- data/lib/onfido/models/document_breakdown_age_validation_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_compromised_document.rb +1 -1
- data/lib/onfido/models/document_breakdown_compromised_document_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_comparison.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_comparison_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_comparison_breakdown_issuing_country.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_consistency.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_consistency_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_validation.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_validation_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_validation_breakdown_document_expiration.rb +1 -1
- data/lib/onfido/models/document_breakdown_data_validation_breakdown_expiry_date.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_colour_picture.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_conclusive_document_quality.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_image_quality.rb +1 -1
- data/lib/onfido/models/document_breakdown_image_integrity_breakdown_supported_document.rb +1 -1
- data/lib/onfido/models/document_breakdown_issuing_authority.rb +1 -1
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_active_authentication.rb +1 -1
- data/lib/onfido/models/document_breakdown_issuing_authority_breakdown_nfc_passive_authentication.rb +1 -1
- data/lib/onfido/models/document_breakdown_police_record.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_digital_tampering.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_face_detection.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_fonts.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_original_document_present.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_other.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_picture_face_integrity.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_security_features.rb +1 -1
- data/lib/onfido/models/document_breakdown_visual_authenticity_breakdown_template.rb +1 -1
- data/lib/onfido/models/document_cdq_reasons.rb +1 -1
- data/lib/onfido/models/document_iq_reasons.rb +1 -1
- data/lib/onfido/models/document_odp_reasons.rb +1 -1
- data/lib/onfido/models/document_properties.rb +5 -3
- data/lib/onfido/models/document_properties_address_lines.rb +1 -1
- data/lib/onfido/models/document_properties_barcode_inner.rb +1 -1
- data/lib/onfido/models/document_properties_document_classification.rb +1 -1
- data/lib/onfido/models/document_properties_document_numbers_inner.rb +1 -1
- data/lib/onfido/models/{document_properties_driving_licence_information.rb → document_properties_driving_licence_information_item.rb} +4 -4
- data/lib/onfido/models/document_properties_extracted_data.rb +1 -1
- data/lib/onfido/models/document_properties_nfc.rb +1 -1
- data/lib/onfido/models/document_report.rb +15 -14
- data/lib/onfido/models/document_report_shared.rb +217 -0
- data/lib/onfido/models/document_response.rb +1 -1
- data/lib/onfido/models/document_shared.rb +1 -13
- data/lib/onfido/models/document_types.rb +1 -1
- data/lib/onfido/models/document_video_report.rb +15 -14
- data/lib/onfido/models/document_video_with_address_information_report.rb +15 -14
- data/lib/onfido/models/document_with_address_information_report.rb +15 -14
- data/lib/onfido/models/document_with_driver_verification_report.rb +15 -14
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties.rb +5 -3
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.rb +1 -1
- data/lib/onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.rb +1 -1
- data/lib/onfido/models/document_with_driving_licence_information_report.rb +15 -14
- data/lib/onfido/models/documents_list.rb +1 -1
- data/lib/onfido/models/error.rb +1 -1
- data/lib/onfido/models/error1.rb +1 -1
- data/lib/onfido/models/error_properties.rb +1 -1
- data/lib/onfido/models/error_properties1.rb +1 -1
- data/lib/onfido/models/extract_request.rb +1 -1
- data/lib/onfido/models/extraction.rb +1 -1
- data/lib/onfido/models/extraction_document_classification.rb +1 -1
- data/lib/onfido/models/extraction_extracted_data.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_face_comparison.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_motion_report.rb +14 -14
- data/lib/onfido/models/facial_similarity_photo_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown_face_match_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_breakdown_visual_authenticity_breakdown_spoofing_detection_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_fully_auto_report.rb +14 -14
- data/lib/onfido/models/facial_similarity_photo_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_photo_report.rb +14 -14
- data/lib/onfido/models/facial_similarity_report_media.rb +1 -1
- data/lib/onfido/models/facial_similarity_report_shared.rb +14 -2
- data/lib/onfido/models/facial_similarity_video_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_face_comparison.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_face_detected.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_image_integrity_breakdown_source_integrity.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_properties.rb +1 -1
- data/lib/onfido/models/facial_similarity_video_report.rb +14 -14
- data/lib/onfido/models/id_number.rb +1 -1
- data/lib/onfido/models/id_photo.rb +1 -1
- data/lib/onfido/models/id_photo_response.rb +1 -1
- data/lib/onfido/models/id_photos_list.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_credit_agencies_properties.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_telephone_database.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_address_breakdown_voting_register.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_credit_agencies.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_date_of_birth_breakdown_voting_register.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_mortality.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_sources.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources.rb +1 -1
- data/lib/onfido/models/identity_enhanced_breakdown_sources_breakdown_total_sources_properties.rb +1 -1
- data/lib/onfido/models/identity_enhanced_properties.rb +1 -1
- data/lib/onfido/models/identity_enhanced_properties_matched_addresses_inner.rb +1 -1
- data/lib/onfido/models/identity_enhanced_report.rb +2 -14
- data/lib/onfido/models/india_pan_report.rb +2 -14
- data/lib/onfido/models/india_pan_report_all_of_breakdown.rb +1 -1
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device.rb +1 -1
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown.rb +1 -1
- data/lib/onfido/models/india_pan_report_all_of_breakdown_device_breakdown_pan_valid.rb +1 -1
- data/lib/onfido/models/india_pan_report_all_of_properties.rb +1 -1
- data/lib/onfido/models/india_pan_report_all_of_properties_device.rb +1 -1
- data/lib/onfido/models/known_faces_breakdown.rb +1 -1
- data/lib/onfido/models/known_faces_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/known_faces_breakdown_previously_seen_faces.rb +1 -1
- data/lib/onfido/models/known_faces_properties.rb +1 -1
- data/lib/onfido/models/known_faces_properties_matches_inner.rb +1 -1
- data/lib/onfido/models/known_faces_report.rb +2 -14
- data/lib/onfido/models/live_photo.rb +1 -1
- data/lib/onfido/models/live_photo_response.rb +1 -1
- data/lib/onfido/models/live_photos_list.rb +1 -1
- data/lib/onfido/models/live_video.rb +1 -1
- data/lib/onfido/models/live_videos_list.rb +1 -1
- data/lib/onfido/models/location.rb +1 -1
- data/lib/onfido/models/location_builder.rb +1 -1
- data/lib/onfido/models/location_shared.rb +1 -1
- data/lib/onfido/models/motion_capture.rb +1 -1
- data/lib/onfido/models/motion_captures_list.rb +1 -1
- data/lib/onfido/models/photo_auto_reasons.rb +1 -1
- data/lib/onfido/models/photo_reasons.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_data_comparison.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_data_comparison_breakdown.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_document_classification.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_document_classification_breakdown.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_image_integrity.rb +1 -1
- data/lib/onfido/models/proof_of_address_breakdown_image_integrity_breakdown.rb +1 -1
- data/lib/onfido/models/proof_of_address_properties.rb +1 -1
- data/lib/onfido/models/proof_of_address_report.rb +2 -14
- data/lib/onfido/models/repeat_attempts_list.rb +1 -1
- data/lib/onfido/models/repeat_attempts_list_repeat_attempts_inner.rb +1 -1
- data/lib/onfido/models/report.rb +1 -1
- data/lib/onfido/models/report_document.rb +1 -1
- 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 +2 -14
- 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 +1 -1
- data/lib/onfido/models/results_feedback.rb +1 -1
- data/lib/onfido/models/sdk_token.rb +1 -1
- data/lib/onfido/models/sdk_token_builder.rb +1 -1
- data/lib/onfido/models/sdk_token_request.rb +1 -1
- data/lib/onfido/models/sdk_token_response.rb +1 -1
- data/lib/onfido/models/task.rb +1 -1
- data/lib/onfido/models/task_item.rb +1 -1
- data/lib/onfido/models/timeline_file_reference.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_address.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_address_breakdown.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_document.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_document_breakdown.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_personal.rb +1 -1
- data/lib/onfido/models/us_driving_licence_breakdown_personal_breakdown.rb +1 -1
- data/lib/onfido/models/us_driving_licence_builder.rb +1 -1
- data/lib/onfido/models/us_driving_licence_report.rb +2 -14
- data/lib/onfido/models/us_driving_licence_shared.rb +1 -1
- data/lib/onfido/models/video_reasons.rb +1 -1
- data/lib/onfido/models/watchlist_aml_breakdown.rb +1 -1
- data/lib/onfido/models/watchlist_aml_breakdown_adverse_media.rb +1 -1
- data/lib/onfido/models/watchlist_aml_breakdown_legal_and_regulatory_warnings.rb +1 -1
- data/lib/onfido/models/watchlist_aml_breakdown_politically_exposed_person.rb +1 -1
- data/lib/onfido/models/watchlist_aml_breakdown_sanction.rb +1 -1
- data/lib/onfido/models/watchlist_aml_properties.rb +2 -2
- data/lib/onfido/models/watchlist_aml_report.rb +2 -14
- data/lib/onfido/models/watchlist_enhanced_breakdown.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_address_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_alias_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_properties_records_inner_source_inner.rb +1 -1
- data/lib/onfido/models/watchlist_enhanced_report.rb +2 -14
- data/lib/onfido/models/watchlist_monitor.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_builder.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_match.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_matches_list.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_matches_updater.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_response.rb +1 -1
- data/lib/onfido/models/watchlist_monitor_shared.rb +1 -1
- data/lib/onfido/models/watchlist_monitors_list.rb +1 -1
- data/lib/onfido/models/watchlist_peps_only_report.rb +2 -14
- data/lib/onfido/models/watchlist_sanctions_only_report.rb +2 -14
- data/lib/onfido/models/watchlist_standard_breakdown.rb +1 -1
- data/lib/onfido/models/watchlist_standard_properties.rb +2 -2
- data/lib/onfido/models/watchlist_standard_report.rb +2 -14
- data/lib/onfido/models/webhook.rb +52 -2
- data/lib/onfido/models/webhook_builder.rb +52 -2
- data/lib/onfido/models/webhook_create.rb +1 -1
- data/lib/onfido/models/webhook_event.rb +1 -1
- data/lib/onfido/models/webhook_event_object_status.rb +1 -1
- data/lib/onfido/models/webhook_event_payload.rb +1 -1
- data/lib/onfido/models/webhook_event_payload_object.rb +1 -8
- data/lib/onfido/models/webhook_event_payload_resource.rb +1 -1
- data/lib/onfido/models/webhook_event_resource_type.rb +1 -1
- data/lib/onfido/models/webhook_event_type.rb +2 -3
- data/lib/onfido/models/webhook_resend.rb +1 -1
- data/lib/onfido/models/webhook_response.rb +1 -1
- data/lib/onfido/models/webhook_shared.rb +55 -5
- data/lib/onfido/models/webhook_update.rb +1 -1
- data/lib/onfido/models/webhook_updater.rb +52 -2
- data/lib/onfido/models/webhooks_list.rb +1 -1
- data/lib/onfido/models/webhooks_resend_item.rb +1 -1
- data/lib/onfido/models/workflow_run.rb +1 -1
- data/lib/onfido/models/workflow_run_builder.rb +1 -1
- data/lib/onfido/models/workflow_run_error.rb +1 -1
- data/lib/onfido/models/workflow_run_link.rb +1 -1
- data/lib/onfido/models/workflow_run_request.rb +1 -1
- data/lib/onfido/models/workflow_run_response.rb +1 -1
- data/lib/onfido/models/workflow_run_shared.rb +1 -1
- data/lib/onfido/models/workflow_run_status.rb +1 -1
- data/lib/onfido/version.rb +2 -2
- data/lib/onfido.rb +7 -4
- data/onfido.gemspec +1 -1
- data/spec/integrations/applicant_spec.rb +28 -0
- data/spec/integrations/document_spec.rb +14 -2
- data/spec/integrations/report_schema_spec.rb +33 -0
- data/spec/shared_contexts/with_document.rb +4 -0
- metadata +26 -23
@@ -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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,6 @@ module Onfido
|
|
33
33
|
# The ID of the check to which the report belongs. Read-only.
|
34
34
|
attr_accessor :check_id
|
35
35
|
|
36
|
-
# Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
37
|
-
attr_accessor :documents
|
38
|
-
|
39
36
|
attr_accessor :name
|
40
37
|
|
41
38
|
attr_accessor :breakdown
|
@@ -74,7 +71,6 @@ module Onfido
|
|
74
71
|
:'result' => :'result',
|
75
72
|
:'sub_result' => :'sub_result',
|
76
73
|
:'check_id' => :'check_id',
|
77
|
-
:'documents' => :'documents',
|
78
74
|
:'name' => :'name',
|
79
75
|
:'breakdown' => :'breakdown',
|
80
76
|
:'properties' => :'properties'
|
@@ -96,7 +92,6 @@ module Onfido
|
|
96
92
|
:'result' => :'ReportResult',
|
97
93
|
:'sub_result' => :'ReportSubResult',
|
98
94
|
:'check_id' => :'String',
|
99
|
-
:'documents' => :'Array<ReportDocument>',
|
100
95
|
:'name' => :'ReportName',
|
101
96
|
:'breakdown' => :'WatchlistStandardBreakdown',
|
102
97
|
:'properties' => :'WatchlistStandardProperties'
|
@@ -161,12 +156,6 @@ module Onfido
|
|
161
156
|
self.check_id = attributes[:'check_id']
|
162
157
|
end
|
163
158
|
|
164
|
-
if attributes.key?(:'documents')
|
165
|
-
if (value = attributes[:'documents']).is_a?(Array)
|
166
|
-
self.documents = value
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
159
|
if attributes.key?(:'name')
|
171
160
|
self.name = attributes[:'name']
|
172
161
|
else
|
@@ -219,7 +208,6 @@ module Onfido
|
|
219
208
|
result == o.result &&
|
220
209
|
sub_result == o.sub_result &&
|
221
210
|
check_id == o.check_id &&
|
222
|
-
documents == o.documents &&
|
223
211
|
name == o.name &&
|
224
212
|
breakdown == o.breakdown &&
|
225
213
|
properties == o.properties
|
@@ -234,7 +222,7 @@ module Onfido
|
|
234
222
|
# Calculates hash code according to all attributes.
|
235
223
|
# @return [Integer] Hash code
|
236
224
|
def hash
|
237
|
-
[id, created_at, href, status, result, sub_result, check_id,
|
225
|
+
[id, created_at, href, status, result, sub_result, check_id, name, breakdown, properties].hash
|
238
226
|
end
|
239
227
|
|
240
228
|
# 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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,6 @@ module Onfido
|
|
33
33
|
# The ID of the check to which the report belongs. Read-only.
|
34
34
|
attr_accessor :check_id
|
35
35
|
|
36
|
-
# Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
37
|
-
attr_accessor :documents
|
38
|
-
|
39
36
|
attr_accessor :name
|
40
37
|
|
41
38
|
attr_accessor :breakdown
|
@@ -74,7 +71,6 @@ module Onfido
|
|
74
71
|
:'result' => :'result',
|
75
72
|
:'sub_result' => :'sub_result',
|
76
73
|
:'check_id' => :'check_id',
|
77
|
-
:'documents' => :'documents',
|
78
74
|
:'name' => :'name',
|
79
75
|
:'breakdown' => :'breakdown',
|
80
76
|
:'properties' => :'properties'
|
@@ -96,7 +92,6 @@ module Onfido
|
|
96
92
|
:'result' => :'ReportResult',
|
97
93
|
:'sub_result' => :'ReportSubResult',
|
98
94
|
:'check_id' => :'String',
|
99
|
-
:'documents' => :'Array<ReportDocument>',
|
100
95
|
:'name' => :'ReportName',
|
101
96
|
:'breakdown' => :'WatchlistStandardBreakdown',
|
102
97
|
:'properties' => :'WatchlistStandardProperties'
|
@@ -161,12 +156,6 @@ module Onfido
|
|
161
156
|
self.check_id = attributes[:'check_id']
|
162
157
|
end
|
163
158
|
|
164
|
-
if attributes.key?(:'documents')
|
165
|
-
if (value = attributes[:'documents']).is_a?(Array)
|
166
|
-
self.documents = value
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
159
|
if attributes.key?(:'name')
|
171
160
|
self.name = attributes[:'name']
|
172
161
|
else
|
@@ -219,7 +208,6 @@ module Onfido
|
|
219
208
|
result == o.result &&
|
220
209
|
sub_result == o.sub_result &&
|
221
210
|
check_id == o.check_id &&
|
222
|
-
documents == o.documents &&
|
223
211
|
name == o.name &&
|
224
212
|
breakdown == o.breakdown &&
|
225
213
|
properties == o.properties
|
@@ -234,7 +222,7 @@ module Onfido
|
|
234
222
|
# Calculates hash code according to all attributes.
|
235
223
|
# @return [Integer] Hash code
|
236
224
|
def hash
|
237
|
-
[id, created_at, href, status, result, sub_result, check_id,
|
225
|
+
[id, created_at, href, status, result, sub_result, check_id, name, breakdown, properties].hash
|
238
226
|
end
|
239
227
|
|
240
228
|
# 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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,7 +33,7 @@ module Onfido
|
|
33
33
|
# Attribute type mapping.
|
34
34
|
def self.openapi_types
|
35
35
|
{
|
36
|
-
:'records' => :'Array<
|
36
|
+
:'records' => :'Array<Object>'
|
37
37
|
}
|
38
38
|
end
|
39
39
|
|
@@ -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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,6 @@ module Onfido
|
|
33
33
|
# The ID of the check to which the report belongs. Read-only.
|
34
34
|
attr_accessor :check_id
|
35
35
|
|
36
|
-
# Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
37
|
-
attr_accessor :documents
|
38
|
-
|
39
36
|
attr_accessor :name
|
40
37
|
|
41
38
|
attr_accessor :breakdown
|
@@ -74,7 +71,6 @@ module Onfido
|
|
74
71
|
:'result' => :'result',
|
75
72
|
:'sub_result' => :'sub_result',
|
76
73
|
:'check_id' => :'check_id',
|
77
|
-
:'documents' => :'documents',
|
78
74
|
:'name' => :'name',
|
79
75
|
:'breakdown' => :'breakdown',
|
80
76
|
:'properties' => :'properties'
|
@@ -96,7 +92,6 @@ module Onfido
|
|
96
92
|
:'result' => :'ReportResult',
|
97
93
|
:'sub_result' => :'ReportSubResult',
|
98
94
|
:'check_id' => :'String',
|
99
|
-
:'documents' => :'Array<ReportDocument>',
|
100
95
|
:'name' => :'ReportName',
|
101
96
|
:'breakdown' => :'WatchlistStandardBreakdown',
|
102
97
|
:'properties' => :'WatchlistStandardProperties'
|
@@ -161,12 +156,6 @@ module Onfido
|
|
161
156
|
self.check_id = attributes[:'check_id']
|
162
157
|
end
|
163
158
|
|
164
|
-
if attributes.key?(:'documents')
|
165
|
-
if (value = attributes[:'documents']).is_a?(Array)
|
166
|
-
self.documents = value
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
159
|
if attributes.key?(:'name')
|
171
160
|
self.name = attributes[:'name']
|
172
161
|
else
|
@@ -219,7 +208,6 @@ module Onfido
|
|
219
208
|
result == o.result &&
|
220
209
|
sub_result == o.sub_result &&
|
221
210
|
check_id == o.check_id &&
|
222
|
-
documents == o.documents &&
|
223
211
|
name == o.name &&
|
224
212
|
breakdown == o.breakdown &&
|
225
213
|
properties == o.properties
|
@@ -234,7 +222,7 @@ module Onfido
|
|
234
222
|
# Calculates hash code according to all attributes.
|
235
223
|
# @return [Integer] Hash code
|
236
224
|
def hash
|
237
|
-
[id, created_at, href, status, result, sub_result, check_id,
|
225
|
+
[id, created_at, href, status, result, sub_result, check_id, name, breakdown, properties].hash
|
238
226
|
end
|
239
227
|
|
240
228
|
# 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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,6 +27,21 @@ module Onfido
|
|
27
27
|
# Webhook version used to control the payload object when sending webhooks.
|
28
28
|
attr_accessor :payload_version
|
29
29
|
|
30
|
+
# Determines if the webhook will fetch OAuth access tokens to send in the Authorization header.
|
31
|
+
attr_accessor :oauth_enabled
|
32
|
+
|
33
|
+
# The url to fetch the OAuth access token using client credentials grant.
|
34
|
+
attr_accessor :oauth_server_url
|
35
|
+
|
36
|
+
# The client id to authenticate the client credentials grant.
|
37
|
+
attr_accessor :oauth_server_client_id
|
38
|
+
|
39
|
+
# The client secret to authenticate the client credentials grant.
|
40
|
+
attr_accessor :oauth_server_client_secret
|
41
|
+
|
42
|
+
# The scopes to be sent when requesting the access token.
|
43
|
+
attr_accessor :oauth_server_scope
|
44
|
+
|
30
45
|
# The unique identifier of the webhook.
|
31
46
|
attr_accessor :id
|
32
47
|
|
@@ -46,6 +61,11 @@ module Onfido
|
|
46
61
|
:'events' => :'events',
|
47
62
|
:'environments' => :'environments',
|
48
63
|
:'payload_version' => :'payload_version',
|
64
|
+
:'oauth_enabled' => :'oauth_enabled',
|
65
|
+
:'oauth_server_url' => :'oauth_server_url',
|
66
|
+
:'oauth_server_client_id' => :'oauth_server_client_id',
|
67
|
+
:'oauth_server_client_secret' => :'oauth_server_client_secret',
|
68
|
+
:'oauth_server_scope' => :'oauth_server_scope',
|
49
69
|
:'id' => :'id',
|
50
70
|
:'url' => :'url',
|
51
71
|
:'token' => :'token',
|
@@ -65,6 +85,11 @@ module Onfido
|
|
65
85
|
:'events' => :'Array<WebhookEventType>',
|
66
86
|
:'environments' => :'Array<String>',
|
67
87
|
:'payload_version' => :'Integer',
|
88
|
+
:'oauth_enabled' => :'Boolean',
|
89
|
+
:'oauth_server_url' => :'String',
|
90
|
+
:'oauth_server_client_id' => :'String',
|
91
|
+
:'oauth_server_client_secret' => :'String',
|
92
|
+
:'oauth_server_scope' => :'String',
|
68
93
|
:'id' => :'String',
|
69
94
|
:'url' => :'String',
|
70
95
|
:'token' => :'String',
|
@@ -121,6 +146,26 @@ module Onfido
|
|
121
146
|
self.payload_version = attributes[:'payload_version']
|
122
147
|
end
|
123
148
|
|
149
|
+
if attributes.key?(:'oauth_enabled')
|
150
|
+
self.oauth_enabled = attributes[:'oauth_enabled']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'oauth_server_url')
|
154
|
+
self.oauth_server_url = attributes[:'oauth_server_url']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'oauth_server_client_id')
|
158
|
+
self.oauth_server_client_id = attributes[:'oauth_server_client_id']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.key?(:'oauth_server_client_secret')
|
162
|
+
self.oauth_server_client_secret = attributes[:'oauth_server_client_secret']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.key?(:'oauth_server_scope')
|
166
|
+
self.oauth_server_scope = attributes[:'oauth_server_scope']
|
167
|
+
end
|
168
|
+
|
124
169
|
if attributes.key?(:'id')
|
125
170
|
self.id = attributes[:'id']
|
126
171
|
else
|
@@ -169,6 +214,11 @@ module Onfido
|
|
169
214
|
events == o.events &&
|
170
215
|
environments == o.environments &&
|
171
216
|
payload_version == o.payload_version &&
|
217
|
+
oauth_enabled == o.oauth_enabled &&
|
218
|
+
oauth_server_url == o.oauth_server_url &&
|
219
|
+
oauth_server_client_id == o.oauth_server_client_id &&
|
220
|
+
oauth_server_client_secret == o.oauth_server_client_secret &&
|
221
|
+
oauth_server_scope == o.oauth_server_scope &&
|
172
222
|
id == o.id &&
|
173
223
|
url == o.url &&
|
174
224
|
token == o.token &&
|
@@ -184,7 +234,7 @@ module Onfido
|
|
184
234
|
# Calculates hash code according to all attributes.
|
185
235
|
# @return [Integer] Hash code
|
186
236
|
def hash
|
187
|
-
[enabled, events, environments, payload_version, id, url, token, href].hash
|
237
|
+
[enabled, events, environments, payload_version, oauth_enabled, oauth_server_url, oauth_server_client_id, oauth_server_client_secret, oauth_server_scope, id, url, token, href].hash
|
188
238
|
end
|
189
239
|
|
190
240
|
# 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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,6 +27,21 @@ module Onfido
|
|
27
27
|
# Webhook version used to control the payload object when sending webhooks.
|
28
28
|
attr_accessor :payload_version
|
29
29
|
|
30
|
+
# Determines if the webhook will fetch OAuth access tokens to send in the Authorization header.
|
31
|
+
attr_accessor :oauth_enabled
|
32
|
+
|
33
|
+
# The url to fetch the OAuth access token using client credentials grant.
|
34
|
+
attr_accessor :oauth_server_url
|
35
|
+
|
36
|
+
# The client id to authenticate the client credentials grant.
|
37
|
+
attr_accessor :oauth_server_client_id
|
38
|
+
|
39
|
+
# The client secret to authenticate the client credentials grant.
|
40
|
+
attr_accessor :oauth_server_client_secret
|
41
|
+
|
42
|
+
# The scopes to be sent when requesting the access token.
|
43
|
+
attr_accessor :oauth_server_scope
|
44
|
+
|
30
45
|
# The url that will listen to notifications (must be https).
|
31
46
|
attr_accessor :url
|
32
47
|
|
@@ -37,6 +52,11 @@ module Onfido
|
|
37
52
|
:'events' => :'events',
|
38
53
|
:'environments' => :'environments',
|
39
54
|
:'payload_version' => :'payload_version',
|
55
|
+
:'oauth_enabled' => :'oauth_enabled',
|
56
|
+
:'oauth_server_url' => :'oauth_server_url',
|
57
|
+
:'oauth_server_client_id' => :'oauth_server_client_id',
|
58
|
+
:'oauth_server_client_secret' => :'oauth_server_client_secret',
|
59
|
+
:'oauth_server_scope' => :'oauth_server_scope',
|
40
60
|
:'url' => :'url'
|
41
61
|
}
|
42
62
|
end
|
@@ -53,6 +73,11 @@ module Onfido
|
|
53
73
|
:'events' => :'Array<WebhookEventType>',
|
54
74
|
:'environments' => :'Array<String>',
|
55
75
|
:'payload_version' => :'Integer',
|
76
|
+
:'oauth_enabled' => :'Boolean',
|
77
|
+
:'oauth_server_url' => :'String',
|
78
|
+
:'oauth_server_client_id' => :'String',
|
79
|
+
:'oauth_server_client_secret' => :'String',
|
80
|
+
:'oauth_server_scope' => :'String',
|
56
81
|
:'url' => :'String'
|
57
82
|
}
|
58
83
|
end
|
@@ -106,6 +131,26 @@ module Onfido
|
|
106
131
|
self.payload_version = attributes[:'payload_version']
|
107
132
|
end
|
108
133
|
|
134
|
+
if attributes.key?(:'oauth_enabled')
|
135
|
+
self.oauth_enabled = attributes[:'oauth_enabled']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.key?(:'oauth_server_url')
|
139
|
+
self.oauth_server_url = attributes[:'oauth_server_url']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes.key?(:'oauth_server_client_id')
|
143
|
+
self.oauth_server_client_id = attributes[:'oauth_server_client_id']
|
144
|
+
end
|
145
|
+
|
146
|
+
if attributes.key?(:'oauth_server_client_secret')
|
147
|
+
self.oauth_server_client_secret = attributes[:'oauth_server_client_secret']
|
148
|
+
end
|
149
|
+
|
150
|
+
if attributes.key?(:'oauth_server_scope')
|
151
|
+
self.oauth_server_scope = attributes[:'oauth_server_scope']
|
152
|
+
end
|
153
|
+
|
109
154
|
if attributes.key?(:'url')
|
110
155
|
self.url = attributes[:'url']
|
111
156
|
else
|
@@ -142,6 +187,11 @@ module Onfido
|
|
142
187
|
events == o.events &&
|
143
188
|
environments == o.environments &&
|
144
189
|
payload_version == o.payload_version &&
|
190
|
+
oauth_enabled == o.oauth_enabled &&
|
191
|
+
oauth_server_url == o.oauth_server_url &&
|
192
|
+
oauth_server_client_id == o.oauth_server_client_id &&
|
193
|
+
oauth_server_client_secret == o.oauth_server_client_secret &&
|
194
|
+
oauth_server_scope == o.oauth_server_scope &&
|
145
195
|
url == o.url
|
146
196
|
end
|
147
197
|
|
@@ -154,7 +204,7 @@ module Onfido
|
|
154
204
|
# Calculates hash code according to all attributes.
|
155
205
|
# @return [Integer] Hash code
|
156
206
|
def hash
|
157
|
-
[enabled, events, environments, payload_version, url].hash
|
207
|
+
[enabled, events, environments, payload_version, oauth_enabled, oauth_server_url, oauth_server_client_id, oauth_server_client_secret, oauth_server_scope, url].hash
|
158
208
|
end
|
159
209
|
|
160
210
|
# 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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -120,8 +120,6 @@ module Onfido
|
|
120
120
|
|
121
121
|
if attributes.key?(:'href')
|
122
122
|
self.href = attributes[:'href']
|
123
|
-
else
|
124
|
-
self.href = nil
|
125
123
|
end
|
126
124
|
end
|
127
125
|
|
@@ -134,10 +132,6 @@ module Onfido
|
|
134
132
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
135
133
|
end
|
136
134
|
|
137
|
-
if @href.nil?
|
138
|
-
invalid_properties.push('invalid value for "href", href cannot be nil.')
|
139
|
-
end
|
140
|
-
|
141
135
|
invalid_properties
|
142
136
|
end
|
143
137
|
|
@@ -146,7 +140,6 @@ module Onfido
|
|
146
140
|
def valid?
|
147
141
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
148
142
|
return false if @id.nil?
|
149
|
-
return false if @href.nil?
|
150
143
|
true
|
151
144
|
end
|
152
145
|
|
@@ -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.11.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,12 +31,11 @@ module Onfido
|
|
31
31
|
REPORT_AWAITING_APPROVAL = "report.awaiting_approval".freeze
|
32
32
|
REPORT_COMPLETED = "report.completed".freeze
|
33
33
|
WORKFLOW_TIMELINE_FILE_CREATED = "workflow_timeline_file.created".freeze
|
34
|
-
WORKFLOW_SIGNED_EVIDENCE_FILE_CREATED = "workflow_signed_evidence_file.created".freeze
|
35
34
|
WORKFLOW_RUN_EVIDENCE_FOLDER_CREATED = "workflow_run_evidence_folder.created".freeze
|
36
35
|
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze
|
37
36
|
|
38
37
|
def self.all_vars
|
39
|
-
@all_vars ||= [AUDIT_LOG_CREATED, WATCHLIST_MONITOR_MATCHES_UPDATED, WORKFLOW_RUN_COMPLETED, WORKFLOW_TASK_STARTED, WORKFLOW_TASK_COMPLETED, CHECK_STARTED, CHECK_REOPENED, CHECK_WITHDRAWN, CHECK_COMPLETED, CHECK_FORM_COMPLETED, REPORT_WITHDRAWN, REPORT_RESUMED, REPORT_CANCELLED, REPORT_AWAITING_APPROVAL, REPORT_COMPLETED, WORKFLOW_TIMELINE_FILE_CREATED,
|
38
|
+
@all_vars ||= [AUDIT_LOG_CREATED, WATCHLIST_MONITOR_MATCHES_UPDATED, WORKFLOW_RUN_COMPLETED, WORKFLOW_TASK_STARTED, WORKFLOW_TASK_COMPLETED, CHECK_STARTED, CHECK_REOPENED, CHECK_WITHDRAWN, CHECK_COMPLETED, CHECK_FORM_COMPLETED, REPORT_WITHDRAWN, REPORT_RESUMED, REPORT_CANCELLED, REPORT_AWAITING_APPROVAL, REPORT_COMPLETED, WORKFLOW_TIMELINE_FILE_CREATED, WORKFLOW_RUN_EVIDENCE_FOLDER_CREATED, UNKNOWN_DEFAULT_OPEN_API].freeze
|
40
39
|
end
|
41
40
|
|
42
41
|
# Builds the enum from string
|