// !!!
// WARNING: This file is autogenerated
// Only modify code within MANUAL() sections
// or your changes may be overwritten later!
// !!!

use serde::{Deserialize, Serialize};

/// MemberOptions:
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct MemberOptions {
    /// mfa_phone_number: The Member's MFA phone number.
    pub mfa_phone_number: String,
    /// totp_registration_id: The Member's MFA TOTP registration ID.
    pub totp_registration_id: String,
}
/// MfaRequired:
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct MfaRequired {
    /// member_options: Information about the Member's options for completing MFA.
    pub member_options: std::option::Option<MemberOptions>,
    /// secondary_auth_initiated: If null, indicates that no secondary authentication has been initiated. If
    /// equal to "sms_otp", indicates that the Member has a phone number, and a one time passcode has been sent
    /// to the Member's phone number. No secondary authentication will be initiated during calls to the
    /// discovery authenticate or list organizations endpoints, even if the Member has a phone number.
    pub secondary_auth_initiated: std::option::Option<String>,
}
