@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
143 lines (142 loc) • 4.64 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { AssetTag } from './AssetTag';
import { Asset } from './Asset';
import { AssetTemplate } from './AssetTemplate';
import { CountReport } from './CountReport';
import { Credential } from './Credential';
import { ApiKey } from './ApiKey';
import { Country } from './Country';
import { AssetStateChange } from './AssetStateChange';
import { CustomerOperabilitySummary } from './CustomerOperabilitySummary';
import { CustomerRestrictionTable } from './CustomerRestrictionTable';
import { DefaultEventComment } from './DefaultEventComment';
import { Device } from './Device';
import { DeviceEventType } from './DeviceEventType';
import { EdgeAgent } from './EdgeAgent';
import { EmergencyContact } from './EmergencyContact';
import { EventState } from './EventState';
import { Log } from './Log';
import { Manager } from './Manager';
import { Project } from './Project';
import { SensorUptime } from './SensorUptime';
import { SensorUptimeCollector } from './SensorUptimeCollector';
import { Storyline } from './Storyline';
import { StorylineCategory } from './StorylineCategory';
import { TelegramChat } from './TelegramChat';
import { TimeZone } from './TimeZone';
import { Toolkit } from './Toolkit';
import { Var } from './Var';
import { YoloClass } from './YoloClass';
export interface CustomerInterface {
name: string;
businessName?: string;
description?: string;
address?: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
countryId?: any;
_config?: any;
timeZoneId?: any;
toolkitIds?: Array<any>;
varId?: any;
assetTags?: AssetTag[];
assets?: Asset[];
assetTemplates?: AssetTemplate[];
countReports?: CountReport[];
credentials?: Credential[];
apiKeys?: ApiKey[];
country?: Country;
assetStateChanges?: AssetStateChange[];
activeDirectory?: any;
config?: any[];
operabilitySummaries?: CustomerOperabilitySummary[];
restrictionTable?: CustomerRestrictionTable;
container?: any;
defaultEventComments?: DefaultEventComment[];
devices?: Device[];
deviceEventTypes?: DeviceEventType[];
edgeAgents?: EdgeAgent[];
emergencyContacts?: EmergencyContact[];
eventStates?: EventState[];
trackingLogs?: Log[];
managers?: Manager[];
projects?: Project[];
sensorUptime?: SensorUptime[];
sensorUptimeCollector?: SensorUptimeCollector[];
storylines?: Storyline[];
storylineCategories?: StorylineCategory[];
telegramChats?: TelegramChat[];
timeZone?: TimeZone;
toolkits?: Toolkit[];
var?: Var;
yoloClasses?: YoloClass[];
}
export declare class Customer implements CustomerInterface {
name: string;
businessName: string;
description: string;
address: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
countryId: any;
_config: any;
timeZoneId: any;
toolkitIds: Array<any>;
varId: any;
assetTags?: AssetTag[];
assets?: Asset[];
assetTemplates?: AssetTemplate[];
countReports?: CountReport[];
credentials?: Credential[];
apiKeys?: ApiKey[];
country?: Country;
assetStateChanges?: AssetStateChange[];
activeDirectory?: any;
config?: any[];
operabilitySummaries?: CustomerOperabilitySummary[];
restrictionTable?: CustomerRestrictionTable;
container?: any;
defaultEventComments?: DefaultEventComment[];
devices?: Device[];
deviceEventTypes?: DeviceEventType[];
edgeAgents?: EdgeAgent[];
emergencyContacts?: EmergencyContact[];
eventStates?: EventState[];
trackingLogs?: Log[];
managers?: Manager[];
projects?: Project[];
sensorUptime?: SensorUptime[];
sensorUptimeCollector?: SensorUptimeCollector[];
storylines?: Storyline[];
storylineCategories?: StorylineCategory[];
telegramChats?: TelegramChat[];
timeZone?: TimeZone;
toolkits?: Toolkit[];
var?: Var;
yoloClasses?: YoloClass[];
constructor(data?: CustomerInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Customer`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Customer for dynamic purposes.
*/
static factory(data: CustomerInterface): Customer;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}