mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(router): add gateway_status_map CRUD APIs (#2809)
This commit is contained in:
committed by
GitHub
parent
8b151898dc
commit
5c9e235bd3
33
crates/api_models/src/events/gsm.rs
Normal file
33
crates/api_models/src/events/gsm.rs
Normal file
@ -0,0 +1,33 @@
|
||||
use common_utils::events::{ApiEventMetric, ApiEventsType};
|
||||
|
||||
use crate::gsm;
|
||||
|
||||
impl ApiEventMetric for gsm::GsmCreateRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Gsm)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for gsm::GsmUpdateRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Gsm)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for gsm::GsmRetrieveRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Gsm)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for gsm::GsmDeleteRequest {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Gsm)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for gsm::GsmDeleteResponse {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Gsm)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user