@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
68 lines (67 loc) • 1.79 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Country } from './Country';
import { TimeZone } from './TimeZone';
export interface SuperAdminInterface {
name?: string;
created?: Date;
modified?: Date;
deleted?: Date;
otpEnabled?: boolean;
disabledPasswordLogin?: boolean;
username?: string;
email: string;
emailVerified?: boolean;
id?: any;
countryId?: any;
timeZoneId?: any;
password?: string;
accessTokens?: any[];
activityLogs?: Log[];
trackingLogs?: Log[];
loginAttempts?: any[];
country?: Country;
timeZone?: TimeZone;
}
export declare class SuperAdmin implements SuperAdminInterface {
name: string;
created: Date;
modified: Date;
deleted: Date;
otpEnabled: boolean;
disabledPasswordLogin: boolean;
username: string;
email: string;
emailVerified: boolean;
id: any;
countryId: any;
timeZoneId: any;
password: string;
accessTokens?: any[];
activityLogs?: Log[];
trackingLogs?: Log[];
loginAttempts?: any[];
country?: Country;
timeZone?: TimeZone;
constructor(data?: SuperAdminInterface);
/**
* The name of the model represented by this $resource,
* i.e. `SuperAdmin`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of SuperAdmin for dynamic purposes.
*/
static factory(data: SuperAdminInterface): SuperAdmin;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}