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 19, 2024
1 parent 23343f8 commit 204073f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -473,7 +475,6 @@ export enum FeedbackEvent {
PaymentDeclinedByBusiness = 'payment_declined_by_business',
PaymentDeclinedByManualReview = 'payment_declined_by_manual_review',
PaymentDeclinedByRiskAnalysis = 'payment_declined_by_risk_analysis',
PromotionAbuse = 'promotion_abuse',
Reset = 'reset',
SignupAccepted = 'signup_accepted',
SignupDeclined = 'signup_declined',
Expand Down

0 comments on commit 204073f

Please sign in to comment.