UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

84 lines (83 loc) 2.14 kB
import { ModelDefinition } from './BaseModels'; import { Customer } from './Customer'; import { Device } from './Device'; import { Asset } from './Asset'; import { Log } from './Log'; import { TelegramChat } from './TelegramChat'; export interface EdgeAgentInterface { name?: string; description?: string; enabled: boolean; image: string; sharedPath: string; broker?: any; brokers?: any; modules?: any; routes?: any; moduleParameters?: any; systems?: any; templateTagId?: string; created?: Date; modified?: Date; deleted?: Date; id?: any; customerId?: any; deviceId?: string; _presets?: Array<any>; customer?: Customer; device?: Device; assets?: Asset[]; edgeAgentAssets?: any[]; presets?: any[]; trackingLogs?: Log[]; telegramChats?: TelegramChat[]; } export declare class EdgeAgent implements EdgeAgentInterface { name: string; description: string; enabled: boolean; image: string; sharedPath: string; broker: any; brokers: any; modules: any; routes: any; moduleParameters: any; systems: any; templateTagId: string; created: Date; modified: Date; deleted: Date; id: any; customerId: any; deviceId: string; _presets: Array<any>; customer?: Customer; device?: Device; assets?: Asset[]; edgeAgentAssets?: any[]; presets?: any[]; trackingLogs?: Log[]; telegramChats?: TelegramChat[]; constructor(data?: EdgeAgentInterface); /** * The name of the model represented by this $resource, * i.e. `EdgeAgent`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of EdgeAgent for dynamic purposes. */ static factory(data: EdgeAgentInterface): EdgeAgent; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }