UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

89 lines (88 loc) 2.24 kB
import { ModelDefinition } from './BaseModels'; import { Country } from './Country'; import { Credential } from './Credential'; import { Asset } from './Asset'; import { Log } from './Log'; import { TimeZone } from './TimeZone'; import { Var } from './Var'; export interface AdminInterface { name: string; surname?: string; phone?: string; address?: string; birthday?: Date; created?: Date; modified?: Date; deleted?: Date; otpEnabled?: boolean; disabledPasswordLogin?: boolean; username?: string; email: string; emailVerified?: boolean; id?: any; countryId?: any; timeZoneId?: any; varId?: any; password?: string; accessTokens?: any[]; loginAttempts?: any[]; country?: Country; container?: any; credentials?: Credential[]; assets?: Asset[]; activityLogs?: Log[]; trackingLogs?: Log[]; timeZone?: TimeZone; var?: Var; } export declare class Admin implements AdminInterface { name: string; surname: string; phone: string; address: string; birthday: Date; created: Date; modified: Date; deleted: Date; otpEnabled: boolean; disabledPasswordLogin: boolean; username: string; email: string; emailVerified: boolean; id: any; countryId: any; timeZoneId: any; varId: any; password: string; accessTokens?: any[]; loginAttempts?: any[]; country?: Country; container?: any; credentials?: Credential[]; assets?: Asset[]; activityLogs?: Log[]; trackingLogs?: Log[]; timeZone?: TimeZone; var?: Var; constructor(data?: AdminInterface); /** * The name of the model represented by this $resource, * i.e. `Admin`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Admin for dynamic purposes. */ static factory(data: AdminInterface): Admin; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }