UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

59 lines (58 loc) 1.51 kB
import { ModelDefinition } from './BaseModels'; import { Customer } from './Customer'; import { Log } from './Log'; export interface AgentInterface { name?: string; description?: string; enabled?: boolean; sendInterval?: string; testMode?: boolean; dataMode?: string; responsible?: Array<any>; notification?: any; created?: Date; modified?: Date; deleted?: Date; id?: any; customerId?: any; customer?: Customer; trackingLogs?: Log[]; } export declare class Agent implements AgentInterface { name: string; description: string; enabled: boolean; sendInterval: string; testMode: boolean; dataMode: string; responsible: Array<any>; notification: any; created: Date; modified: Date; deleted: Date; id: any; customerId: any; customer?: Customer; trackingLogs?: Log[]; constructor(data?: AgentInterface); /** * The name of the model represented by this $resource, * i.e. `Agent`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Agent for dynamic purposes. */ static factory(data: AgentInterface): Agent; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }