mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(analytics): FRM Analytics (#4880)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Abhitator216 <abhishek.kanojia@juspay.in> Co-authored-by: Abhishek Kanojia <89402434+Abhitator216@users.noreply.github.com> Co-authored-by: ivor-juspay <138492857+ivor-juspay@users.noreply.github.com> Co-authored-by: Sampras Lopes <sampras.lopes@juspay.in>
This commit is contained in:
@ -10,7 +10,8 @@ pub mod diesel_exports {
|
||||
DbBlocklistDataKind as BlocklistDataKind, DbCaptureMethod as CaptureMethod,
|
||||
DbCaptureStatus as CaptureStatus, DbConnectorType as ConnectorType,
|
||||
DbCountryAlpha2 as CountryAlpha2, DbCurrency as Currency, DbDisputeStage as DisputeStage,
|
||||
DbDisputeStatus as DisputeStatus, DbEventType as EventType, DbFutureUsage as FutureUsage,
|
||||
DbDisputeStatus as DisputeStatus, DbEventType as EventType,
|
||||
DbFraudCheckStatus as FraudCheckStatus, DbFutureUsage as FutureUsage,
|
||||
DbIntentStatus as IntentStatus, DbMandateStatus as MandateStatus,
|
||||
DbPaymentMethodIssuerCode as PaymentMethodIssuerCode, DbPaymentType as PaymentType,
|
||||
DbRefundStatus as RefundStatus,
|
||||
@ -236,6 +237,30 @@ pub enum AuthenticationType {
|
||||
}
|
||||
|
||||
/// The status of the capture
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Default,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
frunk::LabelledGeneric,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "db_enum")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum FraudCheckStatus {
|
||||
Fraud,
|
||||
ManualReview,
|
||||
#[default]
|
||||
Pending,
|
||||
Legit,
|
||||
TransactionFailure,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
@ -1556,6 +1581,28 @@ pub enum RefundStatus {
|
||||
TransactionFailure,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Default,
|
||||
Eq,
|
||||
Hash,
|
||||
PartialEq,
|
||||
strum::Display,
|
||||
strum::EnumString,
|
||||
strum::EnumIter,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "db_enum")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum FrmTransactionType {
|
||||
#[default]
|
||||
PreFrm,
|
||||
PostFrm,
|
||||
}
|
||||
|
||||
/// The status of the mandate, which indicates whether it can be used to initiate a payment.
|
||||
#[derive(
|
||||
Clone,
|
||||
|
||||
Reference in New Issue
Block a user