mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451)
Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
This commit is contained in:
@ -4,7 +4,7 @@ use api_models::{
|
||||
analytics::{
|
||||
self as analytics_api,
|
||||
api_event::ApiEventDimensions,
|
||||
auth_events::AuthEventFlows,
|
||||
auth_events::{AuthEventDimensions, AuthEventFlows},
|
||||
disputes::DisputeDimensions,
|
||||
frm::{FrmDimensions, FrmTransactionType},
|
||||
payment_intents::PaymentIntentDimensions,
|
||||
@ -19,7 +19,7 @@ use api_models::{
|
||||
},
|
||||
refunds::RefundStatus,
|
||||
};
|
||||
use common_enums::{AuthenticationStatus, TransactionStatus};
|
||||
use common_enums::{AuthenticationConnectors, AuthenticationStatus, TransactionStatus};
|
||||
use common_utils::{
|
||||
errors::{CustomResult, ParsingError},
|
||||
id_type::{MerchantId, OrganizationId, ProfileId},
|
||||
@ -505,6 +505,7 @@ impl_to_sql_for_to_string!(
|
||||
FrmTransactionType,
|
||||
TransactionStatus,
|
||||
AuthenticationStatus,
|
||||
AuthenticationConnectors,
|
||||
Flow,
|
||||
&String,
|
||||
&bool,
|
||||
@ -522,7 +523,9 @@ impl_to_sql_for_to_string!(
|
||||
ApiEventDimensions,
|
||||
&DisputeDimensions,
|
||||
DisputeDimensions,
|
||||
DisputeStage
|
||||
DisputeStage,
|
||||
AuthEventDimensions,
|
||||
&AuthEventDimensions
|
||||
);
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
||||
Reference in New Issue
Block a user