From 652b479ecaed016e8730ac8263d3b7b34a096f3f Mon Sep 17 00:00:00 2001 From: Thiago Cardoso Date: Wed, 17 Jul 2024 21:49:35 -0300 Subject: [PATCH] fix!: remove invalid feedback types and add missing ones --- src/types.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/types.ts b/src/types.ts index 207e106..2691b38 100644 --- a/src/types.ts +++ b/src/types.ts @@ -454,17 +454,19 @@ type PaymentMethod = { } export enum FeedbackEvent { + AccountAllowed = 'account_allowed', AccountTakeover = 'account_takeover', - ChallengeFailed = 'challenge_failed', - ChallengePassed = 'challenge_passed', Chargeback = 'chargeback', ChargebackNotification = 'chargeback_notification', + DeviceAllowed = 'device_allowed', IdentityFraud = 'identity_fraud', LoginAccepted = 'login_accepted', + LoginAcceptedByDeviceVerification = 'login_accepted_by_device_verification', + LoginAcceptedByFacialBiometrics = 'login_accepted_by_facial_biometrics', + LoginAcceptedByManualReview = 'login_accepted_by_manual_review', LoginDeclined = 'login_declined', - MposFraud = 'mpos_fraud', - PasswordChangedSuccessfully = 'password_changed_successfully', - PasswordChangeFailed = 'password_change_failed', + LoginDeclinedByFacialBiometrics = 'login_declined_by_facial_biometrics', + LoginDeclinedByManualReview = 'login_declined_by_manual_review', PaymentAccepted = 'payment_accepted', PaymentAcceptedByControlGroup = 'payment_accepted_by_control_group', PaymentAcceptedByThirdParty = 'payment_accepted_by_third_party',