UNPKG

@xompass/sdk-cloud-api

Version:

Xompass Client for cloud-api

85 lines (84 loc) 2.12 kB
import { ModelDefinition } from './BaseModels'; export interface LogInterface { authorizedRoles?: Array<any>; role?: string; remoteAddress?: string; httpMethod?: string; accessType?: string; method?: string; methodString?: string; query?: any; params?: any; data?: any; embeddedRelationName?: string; accessThrough?: string; created?: Date; modified?: Date; deleted?: Date; id?: any; trackingModelName?: string; trackingModelId?: any; userId?: any; principalType?: string; modelId?: string; modelName?: string; embeddedModelId?: string; embeddedModelName?: string; trackingLogs?: Log[]; user?: any; remoteModel?: any; trackingModel?: any; embeddedModel?: any; } export declare class Log implements LogInterface { authorizedRoles: Array<any>; role: string; remoteAddress: string; httpMethod: string; accessType: string; method: string; methodString: string; query: any; params: any; data: any; embeddedRelationName: string; accessThrough: string; created: Date; modified: Date; deleted: Date; id: any; trackingModelName: string; trackingModelId: any; userId: any; principalType: string; modelId: string; modelName: string; embeddedModelId: string; embeddedModelName: string; trackingLogs?: Log[]; user?: any; remoteModel?: any; trackingModel?: any; embeddedModel?: any; constructor(data?: LogInterface); /** * The name of the model represented by this $resource, * i.e. `Log`. */ static getModelName(): string; /** * @method factory * @author Jonathan Casarrubias * @license MIT * This method creates an instance of Log for dynamic purposes. */ static factory(data: LogInterface): Log; /** * @method getModelDefinition * @author Julien Ledun * @license MIT * This method returns an object that represents some of the model * definitions. */ static getModelDefinition(): ModelDefinition; }