mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(user): support multiple invites (#3422)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -89,6 +89,16 @@ pub struct InviteUserResponse {
|
||||
pub password: Option<Secret<String>>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize)]
|
||||
pub struct InviteMultipleUserResponse {
|
||||
pub email: pii::Email,
|
||||
pub is_email_sent: bool,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub password: Option<Secret<String>>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub error: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct SwitchMerchantIdRequest {
|
||||
pub merchant_id: String,
|
||||
|
||||
Reference in New Issue
Block a user