fix: Update routing_approach for session_token flow (#8490)

This commit is contained in:
Sarthak Soni
2025-07-03 12:21:59 +05:30
committed by GitHub
parent 721f780c6b
commit c275e13caf
9 changed files with 80 additions and 34 deletions

View File

@ -8523,6 +8523,7 @@ pub enum RoutingApproach {
DebitRouting,
RuleBasedRouting,
VolumeBasedRouting,
StraightThroughRouting,
#[default]
DefaultFallback,
}
@ -8533,6 +8534,7 @@ impl RoutingApproach {
"SR_SELECTION_V3_ROUTING" => Self::SuccessRateExploitation,
"SR_V3_HEDGING" => Self::SuccessRateExploration,
"NTW_BASED_ROUTING" => Self::DebitRouting,
"DEFAULT" => Self::StraightThroughRouting,
_ => Self::DefaultFallback,
}
}