mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(analytics): Add v2 payment analytics (payment-intents analytics) (#5150)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -6,14 +6,15 @@ use api_models::{
|
||||
api_event::ApiEventDimensions,
|
||||
auth_events::AuthEventFlows,
|
||||
disputes::DisputeDimensions,
|
||||
payment_intents::PaymentIntentDimensions,
|
||||
payments::{PaymentDimensions, PaymentDistributions},
|
||||
refunds::{RefundDimensions, RefundType},
|
||||
sdk_events::{SdkEventDimensions, SdkEventNames},
|
||||
Granularity,
|
||||
},
|
||||
enums::{
|
||||
AttemptStatus, AuthenticationType, Connector, Currency, DisputeStage, PaymentMethod,
|
||||
PaymentMethodType,
|
||||
AttemptStatus, AuthenticationType, Connector, Currency, DisputeStage, IntentStatus,
|
||||
PaymentMethod, PaymentMethodType,
|
||||
},
|
||||
refunds::RefundStatus,
|
||||
};
|
||||
@ -369,8 +370,10 @@ impl_to_sql_for_to_string!(
|
||||
String,
|
||||
&str,
|
||||
&PaymentDimensions,
|
||||
&PaymentIntentDimensions,
|
||||
&RefundDimensions,
|
||||
PaymentDimensions,
|
||||
PaymentIntentDimensions,
|
||||
&PaymentDistributions,
|
||||
RefundDimensions,
|
||||
PaymentMethod,
|
||||
@ -378,6 +381,7 @@ impl_to_sql_for_to_string!(
|
||||
AuthenticationType,
|
||||
Connector,
|
||||
AttemptStatus,
|
||||
IntentStatus,
|
||||
RefundStatus,
|
||||
storage_enums::RefundStatus,
|
||||
Currency,
|
||||
|
||||
Reference in New Issue
Block a user