@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
115 lines (114 loc) • 3.39 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Credential } from './Credential';
import { Customer } from './Customer';
import { Country } from './Country';
import { Asset } from './Asset';
import { CctvDashboard } from './CctvDashboard';
import { CountReport } from './CountReport';
import { EventDashboard } from './EventDashboard';
import { PeopleCounterReport } from './PeopleCounterReport';
import { Report } from './Report';
import { StoreVideoAnalyticDashboard } from './StoreVideoAnalyticDashboard';
import { TimeZone } from './TimeZone';
import { TrafficFlowAnalysis } from './TrafficFlowAnalysis';
import { View } from './View';
export interface ManagerInterface {
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;
customerId?: any;
countryId?: any;
timeZoneId?: any;
password?: string;
accessTokens?: any[];
activityLogs?: Log[];
trackingLogs?: Log[];
loginAttempts?: any[];
credentials?: Credential[];
customer?: Customer;
country?: Country;
assets?: Asset[];
cctvDashboards?: CctvDashboard[];
countReports?: CountReport[];
eventDashboards?: EventDashboard[];
container?: any;
peopleCounterReports?: PeopleCounterReport[];
permission?: any;
reports?: Report[];
storeVideoAnalyticDashboards?: StoreVideoAnalyticDashboard[];
timeZone?: TimeZone;
trafficFlowAnalysis?: TrafficFlowAnalysis[];
views?: View[];
}
export declare class Manager implements ManagerInterface {
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;
customerId: any;
countryId: any;
timeZoneId: any;
password: string;
accessTokens?: any[];
activityLogs?: Log[];
trackingLogs?: Log[];
loginAttempts?: any[];
credentials?: Credential[];
customer?: Customer;
country?: Country;
assets?: Asset[];
cctvDashboards?: CctvDashboard[];
countReports?: CountReport[];
eventDashboards?: EventDashboard[];
container?: any;
peopleCounterReports?: PeopleCounterReport[];
permission?: any;
reports?: Report[];
storeVideoAnalyticDashboards?: StoreVideoAnalyticDashboard[];
timeZone?: TimeZone;
trafficFlowAnalysis?: TrafficFlowAnalysis[];
views?: View[];
constructor(data?: ManagerInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Manager`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Manager for dynamic purposes.
*/
static factory(data: ManagerInterface): Manager;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}