mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(users): Add profile level invites (#5793)
This commit is contained in:
@ -147,3 +147,12 @@ pub struct ListInvitationForUserResponse {
|
||||
pub entity_name: Option<Secret<String>>,
|
||||
pub role_id: String,
|
||||
}
|
||||
|
||||
pub type AcceptInvitationsV2Request = Vec<Entity>;
|
||||
pub type AcceptInvitationsPreAuthRequest = Vec<Entity>;
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct Entity {
|
||||
pub entity_id: String,
|
||||
pub entity_type: common_enums::EntityType,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user