Skip to content

Commit

Permalink
fix!: remove invalid feedback types and add missing ones
Browse files Browse the repository at this point in the history
  • Loading branch information
figueredo committed Jul 18, 2024
1 parent 3ad6b4c commit ae0e4e4
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions src/main/java/com/incognia/feedback/FeedbackEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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,
}

0 comments on commit ae0e4e4

Please sign in to comment.