feat(framework): Added diff-checker required code and running ucs in shadow mode (#9684)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amitsingh Tanwar
2025-10-10 17:27:30 +05:30
committed by GitHub
parent 9dc2e95864
commit 115ef10aef
26 changed files with 1052 additions and 324 deletions

View File

@ -157,6 +157,15 @@ pub const APPLEPAY_VALIDATION_URL: &str =
/// Request ID
pub const X_REQUEST_ID: &str = "x-request-id";
/// Flow name
pub const X_FLOW_NAME: &str = "x-flow";
/// Connector name
pub const X_CONNECTOR_NAME: &str = "x-connector";
/// Unified Connector Service Mode
pub const X_UNIFIED_CONNECTOR_SERVICE_MODE: &str = "x-shadow-mode";
/// Chat Session ID
pub const X_CHAT_SESSION_ID: &str = "x-chat-session-id";

View File

@ -1,5 +1,7 @@
//! Errors and error specific types for universal use
use serde::Serialize;
use crate::types::MinorUnit;
/// Custom Result
@ -78,7 +80,7 @@ pub enum ValidationError {
}
/// Integrity check errors.
#[derive(Debug, Clone, PartialEq, Default)]
#[derive(Debug, Clone, PartialEq, Default, Serialize)]
pub struct IntegrityCheckError {
/// Field names for which integrity check failed!
pub field_names: String,