mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(users): Add API to list users in user lineage (#5722)
This commit is contained in:
@ -418,3 +418,15 @@ pub struct ListProfilesForUserInOrgAndMerchantAccountResponse {
|
||||
pub profile_id: id_type::ProfileId,
|
||||
pub profile_name: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize)]
|
||||
pub struct ListUsersInEntityResponse {
|
||||
pub email: pii::Email,
|
||||
pub roles: Vec<MinimalRoleInfo>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, Clone)]
|
||||
pub struct MinimalRoleInfo {
|
||||
pub role_id: String,
|
||||
pub role_name: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user