From deedcf3a1613d4ee769f237756f2e195d484326c Mon Sep 17 00:00:00 2001 From: Thiago Cardoso Date: Wed, 17 Jul 2024 15:10:39 -0300 Subject: [PATCH] fix!: remove invalid feedback types and add missing ones --- .../com/incognia/feedback/FeedbackEvent.java | 40 ++++++++----------- 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/src/main/java/com/incognia/feedback/FeedbackEvent.java b/src/main/java/com/incognia/feedback/FeedbackEvent.java index fafbe98..3e8561c 100644 --- a/src/main/java/com/incognia/feedback/FeedbackEvent.java +++ b/src/main/java/com/incognia/feedback/FeedbackEvent.java @@ -25,8 +25,22 @@ public enum FeedbackEvent { PAYMENT_DECLINED_BY_ACQUIRER, @JsonProperty("login_accepted") LOGIN_ACCEPTED, + @JsonProperty("login_accepted_by_device_verification") + LOGIN_ACCEPTED_BY_DEVICE_VERIFICATION, + @JsonProperty("login_accepted_by_facial_biometrics") + LOGIN_ACCEPTED_BY_FACIAL_BIOMETRICS, + @JsonProperty("login_accepted_by_manual_review") + LOGIN_ACCEPTED_BY_MANUAL_REVIEW, @JsonProperty("login_declined") LOGIN_DECLINED, + @JsonProperty("login_declined_by_facial_biometrics") + LOGIN_DECLINED_BY_FACIAL_BIOMETRICS, + @JsonProperty("login_declined_by_manual_review") + LOGIN_DECLINED_BY_MANUAL_REVIEW, + @JsonProperty("account_allowed") + ACCOUNT_ALLOWED, + @JsonProperty("device_allowed") + DEVICE_ALLOWED, @JsonProperty("verified") VERIFIED, @JsonProperty("identity_fraud") @@ -37,28 +51,6 @@ public enum FeedbackEvent { CHARGEBACK_NOTIFICATION, @JsonProperty("chargeback") CHARGEBACK, - @JsonProperty("mpos_fraud") - MPOS_FRAUD, - @JsonProperty("challenge_passed") - CHALLENGE_PASSED, - @JsonProperty("challenge_failed") - CHALLENGE_FAILED, - @JsonProperty("password_changed_successfully") - PASSWORD_CHANGED_SUCCESSFULLY, - @JsonProperty("password_change_failed") - PASSWORD_CHANGE_FAILED, - @JsonProperty("promotion_abuse") - PROMOTION_ABUSE, - @JsonProperty("custom_other_fraud") - CUSTOM_OTHER_FRAUD, - @JsonProperty("custom_discipline_block") - CUSTOM_DISCIPLINE_BLOCK, - @JsonProperty("custom_pos_atm_fraud") - CUSTOM_POS_ATM_FRAUD, - @JsonProperty("custom_collusion_fraud") - CUSTOM_COLLUSION_FRAUD, - @JsonProperty("custom_cargo_fraud") - CUSTOM_CARGO_FRAUD, - @JsonProperty("custom_debt_churn_20d") - CUSTOM_DEBT_CHURN_20D; + @JsonProperty("reset") + RESET, }