feat: adding refunds type to api_event_logs api to fetch refunds audit trail (#3503)

Co-authored-by: harsh-sharma-juspay <125131007+harsh-sharma-juspay@users.noreply.github.com>
Co-authored-by: oscar2d2 <oscarkong@gmail.com>
Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
Co-authored-by: Apoorv Dixit <64925866+apoorvdixit88@users.noreply.github.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Kartikeya Hegde <karthikey.hegde@juspay.in>
This commit is contained in:
Sagar naik
2024-02-08 12:50:15 +05:30
committed by GitHub
parent 014c2d5f55
commit c2b2b65b9c
2 changed files with 52 additions and 25 deletions

View File

@ -8,7 +8,6 @@ use super::{NameDescription, TimeRange};
pub struct ApiLogsRequest {
#[serde(flatten)]
pub query_param: QueryType,
pub api_name_filter: Option<Vec<String>>,
}
pub enum FilterType {
@ -27,6 +26,10 @@ pub enum QueryType {
payment_id: String,
refund_id: String,
},
Dispute {
payment_id: String,
dispute_id: String,
},
}
#[derive(