mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(connector_events): added api to fetch connector event logs (#3319)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: harsh-sharma-juspay <125131007+harsh-sharma-juspay@users.noreply.github.com>
This commit is contained in:
11
crates/api_models/src/analytics/connector_events.rs
Normal file
11
crates/api_models/src/analytics/connector_events.rs
Normal file
@ -0,0 +1,11 @@
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum QueryType {
|
||||
Payment { payment_id: String },
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct ConnectorEventsRequest {
|
||||
#[serde(flatten)]
|
||||
pub query_param: QueryType,
|
||||
}
|
||||
Reference in New Issue
Block a user