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:
Sampras Lopes
2024-04-15 16:05:40 +05:30
committed by GitHub
parent c3c8d09453
commit dea21c65ff
34 changed files with 269 additions and 91 deletions

View File

@ -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 {}