wallee
Version:
TypeScript/JavaScript client for wallee
89 lines (88 loc) • 2.66 kB
TypeScript
import type { TwoFactorAuthenticationType } from './TwoFactorAuthenticationType';
/**
*
* @export
* @interface HumanUser
*/
export interface HumanUser {
/**
* The user's mobile phone number.
* @type {string}
* @memberof HumanUser
*/
readonly mobilePhoneNumber?: string;
/**
* Whether two-factor authentication is enabled for this user.
* @type {boolean}
* @memberof HumanUser
*/
readonly twoFactorEnabled?: boolean;
/**
* The user's email address.
* @type {string}
* @memberof HumanUser
*/
readonly emailAddress?: string;
/**
* The user's first name.
* @type {string}
* @memberof HumanUser
*/
readonly firstname?: string;
/**
* Whether the user's email address has been verified.
* @type {boolean}
* @memberof HumanUser
*/
readonly emailAddressVerified?: boolean;
/**
* The scope that the user belongs to.
* @type {number}
* @memberof HumanUser
*/
readonly scope?: number;
/**
* The user's time zone. If none is specified, the one provided by the browser will be used.
* @type {string}
* @memberof HumanUser
*/
readonly timeZone?: string;
/**
* The user's preferred language.
* @type {string}
* @memberof HumanUser
*/
readonly language?: string;
/**
*
* @type {TwoFactorAuthenticationType}
* @memberof HumanUser
*/
twoFactorType?: TwoFactorAuthenticationType;
/**
* Whether the user's mobile phone number has been verified.
* @type {boolean}
* @memberof HumanUser
*/
readonly mobilePhoneVerified?: boolean;
/**
* The primary account that the user belongs to.
* @type {number}
* @memberof HumanUser
*/
readonly primaryAccount?: number;
/**
* The user's last name.
* @type {string}
* @memberof HumanUser
*/
readonly lastname?: string;
}
/**
* Check if a given object implements the HumanUser interface.
*/
export declare function instanceOfHumanUser(value: object): value is HumanUser;
export declare function HumanUserFromJSON(json: any): HumanUser;
export declare function HumanUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): HumanUser;
export declare function HumanUserToJSON(json: any): HumanUser;
export declare function HumanUserToJSONTyped(value?: Omit<HumanUser, 'mobilePhoneNumber' | 'twoFactorEnabled' | 'emailAddress' | 'firstname' | 'emailAddressVerified' | 'scope' | 'timeZone' | 'language' | 'mobilePhoneVerified' | 'primaryAccount' | 'lastname'> | null, ignoreDiscriminator?: boolean): any;