feat(webhooks): Adding event search option in the webhooks page (#9907)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Venu Madhav Bandarupalli
2025-10-24 13:32:04 +05:30
committed by GitHub
parent 8fd8884d5c
commit b0d5a1b046
7 changed files with 98 additions and 45 deletions

View File

@ -27,6 +27,9 @@ pub struct EventListConstraints {
/// Refund ID, etc.)
pub object_id: Option<String>,
/// Filter all events associated with the specified Event_id
pub event_id: Option<String>,
/// Filter all events associated with the specified business profile ID.
#[schema(value_type = Option<String>)]
pub profile_id: Option<common_utils::id_type::ProfileId>,
@ -53,6 +56,7 @@ pub enum EventListConstraintsInternal {
},
ObjectIdFilter {
object_id: String,
event_id: String,
},
}