mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
feat(revenue_recovery): Implement redis API to update the lock status for connector customer id (#9403)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -23,6 +23,11 @@ pub struct RevenueRecoveryBackfillRequest {
|
||||
pub daily_retry_history: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct UnlockStatusResponse {
|
||||
pub unlocked: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct RevenueRecoveryDataBackfillResponse {
|
||||
pub processed_records: usize,
|
||||
@ -59,6 +64,12 @@ impl ApiEventMetric for RevenueRecoveryDataBackfillResponse {
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for UnlockStatusResponse {
|
||||
fn get_api_event_type(&self) -> Option<common_utils::events::ApiEventsType> {
|
||||
Some(common_utils::events::ApiEventsType::Miscellaneous)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for CsvParsingResult {
|
||||
fn get_api_event_type(&self) -> Option<common_utils::events::ApiEventsType> {
|
||||
Some(common_utils::events::ApiEventsType::Miscellaneous)
|
||||
|
||||
Reference in New Issue
Block a user