mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat: add resources and granular permission groups for reconciliation (#6591)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
use common_utils::pii;
|
||||
use common_utils::{id_type, pii};
|
||||
use masking::Secret;
|
||||
|
||||
use crate::enums;
|
||||
@ -18,3 +18,11 @@ pub struct ReconTokenResponse {
|
||||
pub struct ReconStatusResponse {
|
||||
pub recon_status: enums::ReconStatus,
|
||||
}
|
||||
|
||||
#[derive(serde::Serialize, Debug)]
|
||||
pub struct VerifyTokenResponse {
|
||||
pub merchant_id: id_type::MerchantId,
|
||||
pub user_email: pii::Email,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub acl: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user