mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(user): implement invitations api (#5769)
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
use common_enums::PermissionGroup;
|
||||
use common_utils::pii;
|
||||
use masking::Secret;
|
||||
|
||||
pub mod role;
|
||||
|
||||
@ -138,3 +139,11 @@ pub struct ListUsersInEntityResponse {
|
||||
pub email: pii::Email,
|
||||
pub roles: Vec<role::MinimalRoleInfo>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct ListInvitationForUserResponse {
|
||||
pub entity_id: String,
|
||||
pub entity_type: common_enums::EntityType,
|
||||
pub entity_name: Option<Secret<String>>,
|
||||
pub role_id: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user