@xompass/sdk-cloud-api
Version:
Xompass Client for cloud-api
70 lines (69 loc) • 1.8 kB
TypeScript
import { ModelDefinition } from './BaseModels';
import { Log } from './Log';
import { Tool } from './Tool';
import { Project } from './Project';
import { ToolkitTemplate } from './ToolkitTemplate';
import { Var } from './Var';
export interface ToolkitInterface {
name?: string;
description?: string;
logo?: string;
sector?: string;
keywords?: Array<any>;
created?: Date;
modified?: Date;
deleted?: Date;
id?: any;
adminToolIds?: Array<any>;
toolIds?: Array<any>;
templateId?: any;
varId?: any;
trackingLogs?: Log[];
adminTools?: Tool[];
tools?: Tool[];
projects?: Project[];
template?: ToolkitTemplate;
var?: Var;
}
export declare class Toolkit implements ToolkitInterface {
name: string;
description: string;
logo: string;
sector: string;
keywords: Array<any>;
created: Date;
modified: Date;
deleted: Date;
id: any;
adminToolIds: Array<any>;
toolIds: Array<any>;
templateId: any;
varId: any;
trackingLogs?: Log[];
adminTools?: Tool[];
tools?: Tool[];
projects?: Project[];
template?: ToolkitTemplate;
var?: Var;
constructor(data?: ToolkitInterface);
/**
* The name of the model represented by this $resource,
* i.e. `Toolkit`.
*/
static getModelName(): string;
/**
* @method factory
* @author Jonathan Casarrubias
* @license MIT
* This method creates an instance of Toolkit for dynamic purposes.
*/
static factory(data: ToolkitInterface): Toolkit;
/**
* @method getModelDefinition
* @author Julien Ledun
* @license MIT
* This method returns an object that represents some of the model
* definitions.
*/
static getModelDefinition(): ModelDefinition;
}