@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
67 lines (66 loc) • 1.8 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Admin } from './Admin';
import { Customer } from './Customer';
import { Country } from './Country';
import { ToolkitTemplate } from './ToolkitTemplate';
import { Toolkit } from './Toolkit';
export interface VarInterface {
name: string;
businessName?: string;
description?: string;
address?: string;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
countryId?: any;
toolkitTemplateIds?: Array<any>;
trackingLogs?: Log[];
admins?: Admin[];
customers?: Customer[];
country?: Country;
toolkitTemplates?: ToolkitTemplate[];
toolkits?: Toolkit[];
container?: any;
}
export declare class Var implements VarInterface {
name: string;
businessName: string;
description: string;
address: string;
created: Date;
modified: Date;
deleted: Date;
id: any;
countryId: any;
toolkitTemplateIds: Array<any>;
trackingLogs?: Log[];
admins?: Admin[];
customers?: Customer[];
country?: Country;
toolkitTemplates?: ToolkitTemplate[];
toolkits?: Toolkit[];
container?: any;
constructor(data?: VarInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Var`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Var for dynamic purposes.
*/
static factory(data: VarInterface): Var;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}