mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(analytics): adding metric api for dispute analytics (#3810)
Co-authored-by: Sampras Lopes <lsampras@pm.me>
This commit is contained in:
committed by
GitHub
parent
f3931cf484
commit
de6b16bed9
@ -11,7 +11,8 @@ use api_models::{
|
||||
Granularity,
|
||||
},
|
||||
enums::{
|
||||
AttemptStatus, AuthenticationType, Connector, Currency, PaymentMethod, PaymentMethodType,
|
||||
AttemptStatus, AuthenticationType, Connector, Currency, DisputeStage, PaymentMethod,
|
||||
PaymentMethodType,
|
||||
},
|
||||
refunds::RefundStatus,
|
||||
};
|
||||
@ -363,8 +364,6 @@ impl_to_sql_for_to_string!(
|
||||
PaymentDimensions,
|
||||
&PaymentDistributions,
|
||||
RefundDimensions,
|
||||
&DisputeDimensions,
|
||||
DisputeDimensions,
|
||||
PaymentMethod,
|
||||
PaymentMethodType,
|
||||
AuthenticationType,
|
||||
@ -386,6 +385,8 @@ impl_to_sql_for_to_string!(&SdkEventDimensions, SdkEventDimensions, SdkEventName
|
||||
|
||||
impl_to_sql_for_to_string!(&ApiEventDimensions, ApiEventDimensions);
|
||||
|
||||
impl_to_sql_for_to_string!(&DisputeDimensions, DisputeDimensions, DisputeStage);
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum FilterTypes {
|
||||
Equal,
|
||||
|
||||
Reference in New Issue
Block a user