UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

58 lines (57 loc) 1.61 kB
import { ModelDefinition } from './BaseModels'; import { Log } from './Log'; import { Customer } from './Customer'; import { Device } from './Device'; import { EdgeAgent } from './EdgeAgent'; import { EventTrigger } from './EventTrigger'; export interface TelegramChatInterface { name: string; description?: string; chatId: string; created?: Date; modified?: Date; deleted?: Date; id?: any; customerId?: any; trackingLogs?: Log[]; customer?: Customer; devices?: Device[]; edgeAgents?: EdgeAgent[]; eventTriggers?: EventTrigger[]; } export declare class TelegramChat implements TelegramChatInterface { name: string; description: string; chatId: string; created: Date; modified: Date; deleted: Date; id: any; customerId: any; trackingLogs?: Log[]; customer?: Customer; devices?: Device[]; edgeAgents?: EdgeAgent[]; eventTriggers?: EventTrigger[]; constructor(data?: TelegramChatInterface); /** * The name of the model represented by this $resource, * i.e. `TelegramChat`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of TelegramChat for dynamic purposes. */ static factory(data: TelegramChatInterface): TelegramChat; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }