UNPKG

dynamicsnode

Version:

Create simple scripts to interact with Dynamics CRM using Node.js

79 lines (78 loc) 1.8 kB
export declare class EntityReference { Id: string; LogicalName: string; __typeName: string; constructor(Id: string, LogicalName: string); } export declare class OptionSetValue { Value: number; __typeName: string; constructor(Value: number); } export declare class Entity { __typeName: string; Id: string; LogicalName: string; Attributes: any; } export declare class EntityMetadata { PrimaryIdAttribute: string; SchemaName: string; Attributes: AttributeMetadata[]; IsActivity: boolean; } export declare class LocalizedLabel { Label: string; } export declare class Label { UserLocalizedLabel: LocalizedLabel; } export declare class OptionMetadata { Label: Label; Value: number; } export declare class OptionsetMetadata { Options: OptionMetadata[]; } export declare class BooleanOptionsetMetadata { TrueOption: OptionMetadata; FalseOption: OptionMetadata; } export declare class AttributeMetadata { LogicalName: string; AttributeType: string; Targets: string[]; DisplayName: Label; OptionSet: OptionsetMetadata | BooleanOptionsetMetadata; } export declare enum AttributeTypeCode { BigInt = 18, Boolean = 0, CalendarRules = 16, Customer = 1, DateTime = 2, Decimal = 3, Double = 4, EntityName = 20, Integer = 5, Lookup = 6, ManagedProperty = 19, Memo = 7, Money = 8, Owner = 9, PartyList = 10, Picklist = 11, State = 12, Status = 13, String = 14, Uniqueidentifier = 15, Virtual = 17, } export declare enum EntityFilters { Entity = 1, Default = 1, Attributes = 2, Privileges = 4, Relationships = 8, All = 15, }