Skip to content

Commit ae0e4e4

Browse files
committed
fix!: remove invalid feedback types and add missing ones
1 parent 3ad6b4c commit ae0e4e4

File tree

1 file changed

+16
-24
lines changed

1 file changed

+16
-24
lines changed

src/main/java/com/incognia/feedback/FeedbackEvent.java

+16-24
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,22 @@ public enum FeedbackEvent {
2525
PAYMENT_DECLINED_BY_ACQUIRER,
2626
@JsonProperty("login_accepted")
2727
LOGIN_ACCEPTED,
28+
@JsonProperty("login_accepted_by_device_verification")
29+
LOGIN_ACCEPTED_BY_DEVICE_VERIFICATION,
30+
@JsonProperty("login_accepted_by_facial_biometrics")
31+
LOGIN_ACCEPTED_BY_FACIAL_BIOMETRICS,
32+
@JsonProperty("login_accepted_by_manual_review")
33+
LOGIN_ACCEPTED_BY_MANUAL_REVIEW,
2834
@JsonProperty("login_declined")
2935
LOGIN_DECLINED,
36+
@JsonProperty("login_declined_by_facial_biometrics")
37+
LOGIN_DECLINED_BY_FACIAL_BIOMETRICS,
38+
@JsonProperty("login_declined_by_manual_review")
39+
LOGIN_DECLINED_BY_MANUAL_REVIEW,
40+
@JsonProperty("account_allowed")
41+
ACCOUNT_ALLOWED,
42+
@JsonProperty("device_allowed")
43+
DEVICE_ALLOWED,
3044
@JsonProperty("verified")
3145
VERIFIED,
3246
@JsonProperty("identity_fraud")
@@ -37,28 +51,6 @@ public enum FeedbackEvent {
3751
CHARGEBACK_NOTIFICATION,
3852
@JsonProperty("chargeback")
3953
CHARGEBACK,
40-
@JsonProperty("mpos_fraud")
41-
MPOS_FRAUD,
42-
@JsonProperty("challenge_passed")
43-
CHALLENGE_PASSED,
44-
@JsonProperty("challenge_failed")
45-
CHALLENGE_FAILED,
46-
@JsonProperty("password_changed_successfully")
47-
PASSWORD_CHANGED_SUCCESSFULLY,
48-
@JsonProperty("password_change_failed")
49-
PASSWORD_CHANGE_FAILED,
50-
@JsonProperty("promotion_abuse")
51-
PROMOTION_ABUSE,
52-
@JsonProperty("custom_other_fraud")
53-
CUSTOM_OTHER_FRAUD,
54-
@JsonProperty("custom_discipline_block")
55-
CUSTOM_DISCIPLINE_BLOCK,
56-
@JsonProperty("custom_pos_atm_fraud")
57-
CUSTOM_POS_ATM_FRAUD,
58-
@JsonProperty("custom_collusion_fraud")
59-
CUSTOM_COLLUSION_FRAUD,
60-
@JsonProperty("custom_cargo_fraud")
61-
CUSTOM_CARGO_FRAUD,
62-
@JsonProperty("custom_debt_churn_20d")
63-
CUSTOM_DEBT_CHURN_20D;
54+
@JsonProperty("reset")
55+
RESET,
6456
}

0 commit comments

Comments
 (0)