mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(events): Add payment cancel events (#4166)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -22,7 +22,6 @@ pub mod vergen;
|
||||
pub use logger::*;
|
||||
pub use once_cell;
|
||||
pub use opentelemetry;
|
||||
use strum::Display;
|
||||
pub use tracing;
|
||||
#[cfg(feature = "actix_web")]
|
||||
pub use tracing_actix_web;
|
||||
@ -30,34 +29,3 @@ pub use tracing_appender;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use self::env::*;
|
||||
use crate::types::FlowMetric;
|
||||
|
||||
/// Analytics Flow routes Enums
|
||||
/// Info - Dimensions and filters available for the domain
|
||||
/// Filters - Set of values present for the dimension
|
||||
/// Metrics - Analytical data on dimensions and metrics
|
||||
#[derive(Debug, Display, Clone, PartialEq, Eq)]
|
||||
pub enum AnalyticsFlow {
|
||||
GetInfo,
|
||||
GetPaymentMetrics,
|
||||
GetRefundsMetrics,
|
||||
GetSdkMetrics,
|
||||
GetPaymentFilters,
|
||||
GetRefundFilters,
|
||||
GetSdkEventFilters,
|
||||
GetApiEvents,
|
||||
GetSdkEvents,
|
||||
GeneratePaymentReport,
|
||||
GenerateDisputeReport,
|
||||
GenerateRefundReport,
|
||||
GetApiEventMetrics,
|
||||
GetApiEventFilters,
|
||||
GetConnectorEvents,
|
||||
GetOutgoingWebhookEvents,
|
||||
GetGlobalSearchResults,
|
||||
GetSearchResults,
|
||||
GetDisputeFilters,
|
||||
GetDisputeMetrics,
|
||||
}
|
||||
|
||||
impl FlowMetric for AnalyticsFlow {}
|
||||
|
||||
Reference in New Issue
Block a user