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:
ivor-juspay
2024-01-17 15:07:41 +05:30
committed by GitHub
parent 01c2de223f
commit 68a3a28067
12 changed files with 160 additions and 2 deletions

View 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,
}