import { ResourceBase } from '../resource'; import { Value, List } from '../dataTypes'; export declare class Component { Status?: Status; Description?: Value; DefinedIn?: Value; PropertyGroups?: { [key: string]: PropertyGroup; }; ComponentTypeId?: Value; ComponentName?: Value; Properties?: { [key: string]: Property; }; constructor(properties: Component); } export declare class DataType { Type?: Value; AllowedValues?: List; UnitOfMeasure?: Value; Relationship?: Relationship; NestedType?: DataType; constructor(properties: DataType); } export declare class DataValue { DoubleValue?: Value; Expression?: Value; BooleanValue?: Value; IntegerValue?: Value; ListValue?: List; LongValue?: Value; MapValue?: { [key: string]: DataValue; }; RelationshipValue?: RelationshipValue; StringValue?: Value; constructor(properties: DataValue); } export declare class Definition { DefaultValue?: DataValue; IsImported?: Value; IsInherited?: Value; Configuration?: { [key: string]: Value; }; IsExternalId?: Value; IsStoredExternally?: Value; IsTimeSeries?: Value; IsRequiredInEntity?: Value; DataType?: DataType; IsFinal?: Value; constructor(properties: Definition); } export declare class Error { Message?: Value; Code?: Value; constructor(properties: Error); } export declare class Property { Definition?: Definition; Value?: DataValue; constructor(properties: Property); } export declare class PropertyGroup { GroupType?: Value; PropertyNames?: List>; constructor(properties: PropertyGroup); } export declare class Relationship { RelationshipType?: Value; TargetComponentTypeId?: Value; constructor(properties: Relationship); } export declare class RelationshipValue { TargetComponentName?: Value; TargetEntityId?: Value; constructor(properties: RelationshipValue); } export declare class Status { State?: Value; Error?: Error; constructor(properties: Status); } export interface EntityProperties { EntityId?: Value; Components?: { [key: string]: Component; }; ParentEntityId?: Value; Description?: Value; EntityName: Value; WorkspaceId: Value; Tags?: { [key: string]: Value; }; } export default class Entity extends ResourceBase { static Component: typeof Component; static DataType: typeof DataType; static DataValue: typeof DataValue; static Definition: typeof Definition; static Error: typeof Error; static Property: typeof Property; static PropertyGroup: typeof PropertyGroup; static Relationship: typeof Relationship; static RelationshipValue: typeof RelationshipValue; static Status: typeof Status; constructor(properties: EntityProperties); }