mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(users): new routes to accept invite and list merchants (#4591)
This commit is contained in:
@ -97,11 +97,15 @@ pub enum UserStatus {
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct AcceptInvitationRequest {
|
||||
pub struct MerchantSelectRequest {
|
||||
pub merchant_ids: Vec<String>,
|
||||
// TODO: Remove this once the token only api is being used
|
||||
pub need_dashboard_entry_response: Option<bool>,
|
||||
}
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct AcceptInvitationRequest {
|
||||
pub merchant_ids: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct DeleteUserRoleRequest {
|
||||
|
||||
Reference in New Issue
Block a user