mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
feat: include response body for create_user_authentication_method (#9653)
This commit is contained in:
@ -353,6 +353,17 @@ pub struct CreateUserAuthenticationMethodRequest {
|
||||
pub email_domain: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct CreateUserAuthenticationMethodResponse {
|
||||
pub id: String,
|
||||
pub auth_id: String,
|
||||
pub owner_id: String,
|
||||
pub owner_type: common_enums::Owner,
|
||||
pub auth_type: common_enums::UserAuthType,
|
||||
pub email_domain: Option<String>,
|
||||
pub allow_signup: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum UpdateUserAuthenticationMethodRequest {
|
||||
|
||||
Reference in New Issue
Block a user