mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(customer): customer v2 refactor for customer create end point (#5350)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -490,6 +490,10 @@ pub type OptionalEncryptablePhone = Option<Encryptable<Secret<String>>>;
|
||||
pub type OptionalEncryptableValue = Option<Encryptable<Secret<serde_json::Value>>>;
|
||||
/// Type alias for `Option<Secret<serde_json::Value>>`
|
||||
pub type OptionalSecretValue = Option<Secret<serde_json::Value>>;
|
||||
/// Type alias for `Encryptable<Secret<String>>` used for `name` field
|
||||
pub type EncryptableName = Encryptable<Secret<String>>;
|
||||
/// Type alias for `Encryptable<Secret<String>>` used for `email` field
|
||||
pub type EncryptableEmail = Encryptable<Secret<String, pii::EmailStrategy>>;
|
||||
|
||||
#[cfg(test)]
|
||||
mod crypto_tests {
|
||||
|
||||
Reference in New Issue
Block a user