@memberjunction/core-entities 2.84.0 → 2.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4696,6 +4696,38 @@ export declare const AIAgentPromptSchema: z.ZodObject<{
4696
4696
  ContextMessageCount?: number;
4697
4697
  }>;
4698
4698
  export type AIAgentPromptEntityType = z.infer<typeof AIAgentPromptSchema>;
4699
+ /**
4700
+ * zod schema definition for the entity MJ: AI Agent Relationships
4701
+ */
4702
+ export declare const AIAgentRelationshipSchema: z.ZodObject<{
4703
+ ID: z.ZodString;
4704
+ AgentID: z.ZodString;
4705
+ SubAgentID: z.ZodString;
4706
+ Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Revoked">]>;
4707
+ __mj_CreatedAt: z.ZodDate;
4708
+ __mj_UpdatedAt: z.ZodDate;
4709
+ Agent: z.ZodNullable<z.ZodString>;
4710
+ SubAgent: z.ZodNullable<z.ZodString>;
4711
+ }, "strip", z.ZodTypeAny, {
4712
+ ID?: string;
4713
+ __mj_CreatedAt?: Date;
4714
+ __mj_UpdatedAt?: Date;
4715
+ Status?: "Active" | "Pending" | "Revoked";
4716
+ AgentID?: string;
4717
+ Agent?: string;
4718
+ SubAgentID?: string;
4719
+ SubAgent?: string;
4720
+ }, {
4721
+ ID?: string;
4722
+ __mj_CreatedAt?: Date;
4723
+ __mj_UpdatedAt?: Date;
4724
+ Status?: "Active" | "Pending" | "Revoked";
4725
+ AgentID?: string;
4726
+ Agent?: string;
4727
+ SubAgentID?: string;
4728
+ SubAgent?: string;
4729
+ }>;
4730
+ export type AIAgentRelationshipEntityType = z.infer<typeof AIAgentRelationshipSchema>;
4699
4731
  /**
4700
4732
  * zod schema definition for the entity MJ: AI Agent Run Steps
4701
4733
  */
@@ -4984,19 +5016,19 @@ export declare const AIAgentStepSchema: z.ZodObject<{
4984
5016
  Agent?: string;
4985
5017
  Prompt?: string;
4986
5018
  PromptID?: string;
5019
+ SubAgentID?: string;
5020
+ SubAgent?: string;
4987
5021
  StepType?: "Action" | "Prompt" | "Sub-Agent";
4988
5022
  StartingStep?: boolean;
4989
5023
  TimeoutSeconds?: number;
4990
5024
  RetryCount?: number;
4991
5025
  OnErrorBehavior?: "fail" | "continue" | "retry";
4992
- SubAgentID?: string;
4993
5026
  ActionOutputMapping?: string;
4994
5027
  PositionX?: number;
4995
5028
  PositionY?: number;
4996
5029
  Width?: number;
4997
5030
  Height?: number;
4998
5031
  ActionInputMapping?: string;
4999
- SubAgent?: string;
5000
5032
  }, {
5001
5033
  ID?: string;
5002
5034
  ActionID?: string;
@@ -5010,19 +5042,19 @@ export declare const AIAgentStepSchema: z.ZodObject<{
5010
5042
  Agent?: string;
5011
5043
  Prompt?: string;
5012
5044
  PromptID?: string;
5045
+ SubAgentID?: string;
5046
+ SubAgent?: string;
5013
5047
  StepType?: "Action" | "Prompt" | "Sub-Agent";
5014
5048
  StartingStep?: boolean;
5015
5049
  TimeoutSeconds?: number;
5016
5050
  RetryCount?: number;
5017
5051
  OnErrorBehavior?: "fail" | "continue" | "retry";
5018
- SubAgentID?: string;
5019
5052
  ActionOutputMapping?: string;
5020
5053
  PositionX?: number;
5021
5054
  PositionY?: number;
5022
5055
  Width?: number;
5023
5056
  Height?: number;
5024
5057
  ActionInputMapping?: string;
5025
- SubAgent?: string;
5026
5058
  }>;
5027
5059
  export type AIAgentStepEntityType = z.infer<typeof AIAgentStepSchema>;
5028
5060
  /**
@@ -5774,6 +5806,220 @@ export declare const ArtifactTypeSchema: z.ZodObject<{
5774
5806
  IsEnabled?: boolean;
5775
5807
  }>;
5776
5808
  export type ArtifactTypeEntityType = z.infer<typeof ArtifactTypeSchema>;
5809
+ /**
5810
+ * zod schema definition for the entity MJ: Component Dependencies
5811
+ */
5812
+ export declare const ComponentDependencySchema: z.ZodObject<{
5813
+ ID: z.ZodString;
5814
+ ComponentID: z.ZodString;
5815
+ DependencyComponentID: z.ZodString;
5816
+ __mj_CreatedAt: z.ZodDate;
5817
+ __mj_UpdatedAt: z.ZodDate;
5818
+ Component: z.ZodString;
5819
+ DependencyComponent: z.ZodString;
5820
+ }, "strip", z.ZodTypeAny, {
5821
+ ID?: string;
5822
+ __mj_CreatedAt?: Date;
5823
+ __mj_UpdatedAt?: Date;
5824
+ ComponentID?: string;
5825
+ DependencyComponentID?: string;
5826
+ Component?: string;
5827
+ DependencyComponent?: string;
5828
+ }, {
5829
+ ID?: string;
5830
+ __mj_CreatedAt?: Date;
5831
+ __mj_UpdatedAt?: Date;
5832
+ ComponentID?: string;
5833
+ DependencyComponentID?: string;
5834
+ Component?: string;
5835
+ DependencyComponent?: string;
5836
+ }>;
5837
+ export type ComponentDependencyEntityType = z.infer<typeof ComponentDependencySchema>;
5838
+ /**
5839
+ * zod schema definition for the entity MJ: Component Libraries
5840
+ */
5841
+ export declare const ComponentLibrarySchema: z.ZodObject<{
5842
+ ID: z.ZodString;
5843
+ Name: z.ZodString;
5844
+ DisplayName: z.ZodNullable<z.ZodString>;
5845
+ Version: z.ZodNullable<z.ZodString>;
5846
+ GlobalVariable: z.ZodNullable<z.ZodString>;
5847
+ Category: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Core">, z.ZodLiteral<"Runtime">, z.ZodLiteral<"UI">, z.ZodLiteral<"Charting">, z.ZodLiteral<"Utility">, z.ZodLiteral<"Other">]>>;
5848
+ CDNUrl: z.ZodNullable<z.ZodString>;
5849
+ CDNCssUrl: z.ZodNullable<z.ZodString>;
5850
+ Description: z.ZodNullable<z.ZodString>;
5851
+ __mj_CreatedAt: z.ZodDate;
5852
+ __mj_UpdatedAt: z.ZodDate;
5853
+ }, "strip", z.ZodTypeAny, {
5854
+ ID?: string;
5855
+ __mj_CreatedAt?: Date;
5856
+ __mj_UpdatedAt?: Date;
5857
+ Name?: string;
5858
+ Description?: string;
5859
+ Category?: "Other" | "Core" | "Runtime" | "UI" | "Charting" | "Utility";
5860
+ DisplayName?: string;
5861
+ Version?: string;
5862
+ GlobalVariable?: string;
5863
+ CDNUrl?: string;
5864
+ CDNCssUrl?: string;
5865
+ }, {
5866
+ ID?: string;
5867
+ __mj_CreatedAt?: Date;
5868
+ __mj_UpdatedAt?: Date;
5869
+ Name?: string;
5870
+ Description?: string;
5871
+ Category?: "Other" | "Core" | "Runtime" | "UI" | "Charting" | "Utility";
5872
+ DisplayName?: string;
5873
+ Version?: string;
5874
+ GlobalVariable?: string;
5875
+ CDNUrl?: string;
5876
+ CDNCssUrl?: string;
5877
+ }>;
5878
+ export type ComponentLibraryEntityType = z.infer<typeof ComponentLibrarySchema>;
5879
+ /**
5880
+ * zod schema definition for the entity MJ: Component Library Links
5881
+ */
5882
+ export declare const ComponentLibraryLinkSchema: z.ZodObject<{
5883
+ ID: z.ZodString;
5884
+ ComponentID: z.ZodString;
5885
+ LibraryID: z.ZodString;
5886
+ MinVersion: z.ZodNullable<z.ZodString>;
5887
+ __mj_CreatedAt: z.ZodDate;
5888
+ __mj_UpdatedAt: z.ZodDate;
5889
+ Component: z.ZodString;
5890
+ Library: z.ZodString;
5891
+ }, "strip", z.ZodTypeAny, {
5892
+ ID?: string;
5893
+ __mj_CreatedAt?: Date;
5894
+ __mj_UpdatedAt?: Date;
5895
+ LibraryID?: string;
5896
+ Library?: string;
5897
+ ComponentID?: string;
5898
+ Component?: string;
5899
+ MinVersion?: string;
5900
+ }, {
5901
+ ID?: string;
5902
+ __mj_CreatedAt?: Date;
5903
+ __mj_UpdatedAt?: Date;
5904
+ LibraryID?: string;
5905
+ Library?: string;
5906
+ ComponentID?: string;
5907
+ Component?: string;
5908
+ MinVersion?: string;
5909
+ }>;
5910
+ export type ComponentLibraryLinkEntityType = z.infer<typeof ComponentLibraryLinkSchema>;
5911
+ /**
5912
+ * zod schema definition for the entity MJ: Component Registries
5913
+ */
5914
+ export declare const ComponentRegistrySchema: z.ZodObject<{
5915
+ ID: z.ZodString;
5916
+ Name: z.ZodString;
5917
+ Description: z.ZodNullable<z.ZodString>;
5918
+ URI: z.ZodNullable<z.ZodString>;
5919
+ Type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Public">, z.ZodLiteral<"Private">, z.ZodLiteral<"Internal">]>>;
5920
+ APIVersion: z.ZodNullable<z.ZodString>;
5921
+ Status: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Offline">]>>;
5922
+ __mj_CreatedAt: z.ZodDate;
5923
+ __mj_UpdatedAt: z.ZodDate;
5924
+ }, "strip", z.ZodTypeAny, {
5925
+ ID?: string;
5926
+ __mj_CreatedAt?: Date;
5927
+ __mj_UpdatedAt?: Date;
5928
+ Name?: string;
5929
+ Description?: string;
5930
+ Status?: "Active" | "Deprecated" | "Offline";
5931
+ Type?: "Public" | "Private" | "Internal";
5932
+ URI?: string;
5933
+ APIVersion?: string;
5934
+ }, {
5935
+ ID?: string;
5936
+ __mj_CreatedAt?: Date;
5937
+ __mj_UpdatedAt?: Date;
5938
+ Name?: string;
5939
+ Description?: string;
5940
+ Status?: "Active" | "Deprecated" | "Offline";
5941
+ Type?: "Public" | "Private" | "Internal";
5942
+ URI?: string;
5943
+ APIVersion?: string;
5944
+ }>;
5945
+ export type ComponentRegistryEntityType = z.infer<typeof ComponentRegistrySchema>;
5946
+ /**
5947
+ * zod schema definition for the entity MJ: Components
5948
+ */
5949
+ export declare const ComponentSchema: z.ZodObject<{
5950
+ ID: z.ZodString;
5951
+ Namespace: z.ZodNullable<z.ZodString>;
5952
+ Name: z.ZodString;
5953
+ Version: z.ZodString;
5954
+ VersionSequence: z.ZodNumber;
5955
+ Title: z.ZodNullable<z.ZodString>;
5956
+ Description: z.ZodNullable<z.ZodString>;
5957
+ Type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Report">, z.ZodLiteral<"Dashboard">, z.ZodLiteral<"Form">, z.ZodLiteral<"Table">, z.ZodLiteral<"Chart">, z.ZodLiteral<"Navigation">, z.ZodLiteral<"Search">, z.ZodLiteral<"Widget">, z.ZodLiteral<"Utility">, z.ZodLiteral<"Other">]>>;
5958
+ Status: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Draft">, z.ZodLiteral<"Published">, z.ZodLiteral<"Deprecated">]>>;
5959
+ DeveloperName: z.ZodNullable<z.ZodString>;
5960
+ DeveloperEmail: z.ZodNullable<z.ZodString>;
5961
+ DeveloperOrganization: z.ZodNullable<z.ZodString>;
5962
+ SourceRegistryID: z.ZodNullable<z.ZodString>;
5963
+ ReplicatedAt: z.ZodNullable<z.ZodDate>;
5964
+ LastSyncedAt: z.ZodNullable<z.ZodDate>;
5965
+ __mj_CreatedAt: z.ZodDate;
5966
+ __mj_UpdatedAt: z.ZodDate;
5967
+ Specification: z.ZodString;
5968
+ FunctionalRequirements: z.ZodNullable<z.ZodString>;
5969
+ TechnicalDesign: z.ZodNullable<z.ZodString>;
5970
+ FunctionalRequirementsVector: z.ZodNullable<z.ZodString>;
5971
+ TechnicalDesignVector: z.ZodNullable<z.ZodString>;
5972
+ SourceRegistry: z.ZodNullable<z.ZodString>;
5973
+ }, "strip", z.ZodTypeAny, {
5974
+ ID?: string;
5975
+ __mj_CreatedAt?: Date;
5976
+ __mj_UpdatedAt?: Date;
5977
+ Name?: string;
5978
+ Description?: string;
5979
+ Status?: "Deprecated" | "Draft" | "Published";
5980
+ Type?: "Other" | "Search" | "Utility" | "Report" | "Dashboard" | "Form" | "Table" | "Chart" | "Navigation" | "Widget";
5981
+ Title?: string;
5982
+ Version?: string;
5983
+ Namespace?: string;
5984
+ VersionSequence?: number;
5985
+ DeveloperName?: string;
5986
+ DeveloperEmail?: string;
5987
+ DeveloperOrganization?: string;
5988
+ SourceRegistryID?: string;
5989
+ ReplicatedAt?: Date;
5990
+ LastSyncedAt?: Date;
5991
+ Specification?: string;
5992
+ FunctionalRequirements?: string;
5993
+ TechnicalDesign?: string;
5994
+ FunctionalRequirementsVector?: string;
5995
+ TechnicalDesignVector?: string;
5996
+ SourceRegistry?: string;
5997
+ }, {
5998
+ ID?: string;
5999
+ __mj_CreatedAt?: Date;
6000
+ __mj_UpdatedAt?: Date;
6001
+ Name?: string;
6002
+ Description?: string;
6003
+ Status?: "Deprecated" | "Draft" | "Published";
6004
+ Type?: "Other" | "Search" | "Utility" | "Report" | "Dashboard" | "Form" | "Table" | "Chart" | "Navigation" | "Widget";
6005
+ Title?: string;
6006
+ Version?: string;
6007
+ Namespace?: string;
6008
+ VersionSequence?: number;
6009
+ DeveloperName?: string;
6010
+ DeveloperEmail?: string;
6011
+ DeveloperOrganization?: string;
6012
+ SourceRegistryID?: string;
6013
+ ReplicatedAt?: Date;
6014
+ LastSyncedAt?: Date;
6015
+ Specification?: string;
6016
+ FunctionalRequirements?: string;
6017
+ TechnicalDesign?: string;
6018
+ FunctionalRequirementsVector?: string;
6019
+ TechnicalDesignVector?: string;
6020
+ SourceRegistry?: string;
6021
+ }>;
6022
+ export type ComponentEntityType = z.infer<typeof ComponentSchema>;
5777
6023
  /**
5778
6024
  * zod schema definition for the entity MJ: Conversation Artifact Permissions
5779
6025
  */
@@ -5822,9 +6068,9 @@ export declare const ConversationArtifactVersionSchema: z.ZodObject<{
5822
6068
  __mj_CreatedAt?: Date;
5823
6069
  __mj_UpdatedAt?: Date;
5824
6070
  Configuration?: string;
6071
+ Version?: number;
5825
6072
  ConversationArtifactID?: string;
5826
6073
  ConversationArtifact?: string;
5827
- Version?: number;
5828
6074
  Content?: string;
5829
6075
  }, {
5830
6076
  ID?: string;
@@ -5832,9 +6078,9 @@ export declare const ConversationArtifactVersionSchema: z.ZodObject<{
5832
6078
  __mj_CreatedAt?: Date;
5833
6079
  __mj_UpdatedAt?: Date;
5834
6080
  Configuration?: string;
6081
+ Version?: number;
5835
6082
  ConversationArtifactID?: string;
5836
6083
  ConversationArtifact?: string;
5837
- Version?: number;
5838
6084
  Content?: string;
5839
6085
  }>;
5840
6086
  export type ConversationArtifactVersionEntityType = z.infer<typeof ConversationArtifactVersionSchema>;
@@ -5863,7 +6109,7 @@ export declare const ConversationArtifactSchema: z.ZodObject<{
5863
6109
  ConversationID?: string;
5864
6110
  Conversation?: string;
5865
6111
  ArtifactTypeID?: string;
5866
- SharingScope?: "None" | "SpecificUsers" | "Everyone" | "Public";
6112
+ SharingScope?: "None" | "Public" | "SpecificUsers" | "Everyone";
5867
6113
  ArtifactType?: string;
5868
6114
  }, {
5869
6115
  ID?: string;
@@ -5875,7 +6121,7 @@ export declare const ConversationArtifactSchema: z.ZodObject<{
5875
6121
  ConversationID?: string;
5876
6122
  Conversation?: string;
5877
6123
  ArtifactTypeID?: string;
5878
- SharingScope?: "None" | "SpecificUsers" | "Everyone" | "Public";
6124
+ SharingScope?: "None" | "Public" | "SpecificUsers" | "Everyone";
5879
6125
  ArtifactType?: string;
5880
6126
  }>;
5881
6127
  export type ConversationArtifactEntityType = z.infer<typeof ConversationArtifactSchema>;
@@ -5903,9 +6149,9 @@ export declare const DashboardUserPreferenceSchema: z.ZodObject<{
5903
6149
  ApplicationID?: string;
5904
6150
  Application?: string;
5905
6151
  Scope?: "Global" | "App";
6152
+ Dashboard?: string;
5906
6153
  DashboardID?: string;
5907
6154
  DisplayOrder?: number;
5908
- Dashboard?: string;
5909
6155
  }, {
5910
6156
  ID?: string;
5911
6157
  __mj_CreatedAt?: Date;
@@ -5915,9 +6161,9 @@ export declare const DashboardUserPreferenceSchema: z.ZodObject<{
5915
6161
  ApplicationID?: string;
5916
6162
  Application?: string;
5917
6163
  Scope?: "Global" | "App";
6164
+ Dashboard?: string;
5918
6165
  DashboardID?: string;
5919
6166
  DisplayOrder?: number;
5920
- Dashboard?: string;
5921
6167
  }>;
5922
6168
  export type DashboardUserPreferenceEntityType = z.infer<typeof DashboardUserPreferenceSchema>;
5923
6169
  /**
@@ -5938,8 +6184,8 @@ export declare const DashboardUserStateSchema: z.ZodObject<{
5938
6184
  __mj_UpdatedAt?: Date;
5939
6185
  UserID?: string;
5940
6186
  User?: string;
5941
- DashboardID?: string;
5942
6187
  Dashboard?: string;
6188
+ DashboardID?: string;
5943
6189
  UserState?: string;
5944
6190
  }, {
5945
6191
  ID?: string;
@@ -5947,8 +6193,8 @@ export declare const DashboardUserStateSchema: z.ZodObject<{
5947
6193
  __mj_UpdatedAt?: Date;
5948
6194
  UserID?: string;
5949
6195
  User?: string;
5950
- DashboardID?: string;
5951
6196
  Dashboard?: string;
6197
+ DashboardID?: string;
5952
6198
  UserState?: string;
5953
6199
  }>;
5954
6200
  export type DashboardUserStateEntityType = z.infer<typeof DashboardUserStateSchema>;
@@ -6020,18 +6266,18 @@ export declare const ReportUserStateSchema: z.ZodObject<{
6020
6266
  __mj_UpdatedAt?: Date;
6021
6267
  UserID?: string;
6022
6268
  User?: string;
6269
+ Report?: string;
6023
6270
  ReportID?: string;
6024
6271
  ReportState?: string;
6025
- Report?: string;
6026
6272
  }, {
6027
6273
  ID?: string;
6028
6274
  __mj_CreatedAt?: Date;
6029
6275
  __mj_UpdatedAt?: Date;
6030
6276
  UserID?: string;
6031
6277
  User?: string;
6278
+ Report?: string;
6032
6279
  ReportID?: string;
6033
6280
  ReportState?: string;
6034
- Report?: string;
6035
6281
  }>;
6036
6282
  export type ReportUserStateEntityType = z.infer<typeof ReportUserStateSchema>;
6037
6283
  /**
@@ -6055,8 +6301,8 @@ export declare const ReportVersionSchema: z.ZodObject<{
6055
6301
  Name?: string;
6056
6302
  Description?: string;
6057
6303
  Configuration?: string;
6058
- ReportID?: string;
6059
6304
  Report?: string;
6305
+ ReportID?: string;
6060
6306
  VersionNumber?: number;
6061
6307
  DataContextUpdated?: boolean;
6062
6308
  }, {
@@ -6066,8 +6312,8 @@ export declare const ReportVersionSchema: z.ZodObject<{
6066
6312
  Name?: string;
6067
6313
  Description?: string;
6068
6314
  Configuration?: string;
6069
- ReportID?: string;
6070
6315
  Report?: string;
6316
+ ReportID?: string;
6071
6317
  VersionNumber?: number;
6072
6318
  DataContextUpdated?: boolean;
6073
6319
  }>;
@@ -6167,7 +6413,10 @@ export declare const QuerySchema: z.ZodObject<{
6167
6413
  CacheEnabled: z.ZodBoolean;
6168
6414
  CacheTTLMinutes: z.ZodNullable<z.ZodNumber>;
6169
6415
  CacheMaxSize: z.ZodNullable<z.ZodNumber>;
6416
+ EmbeddingVector: z.ZodNullable<z.ZodString>;
6417
+ EmbeddingModelID: z.ZodNullable<z.ZodString>;
6170
6418
  Category: z.ZodNullable<z.ZodString>;
6419
+ EmbeddingModel: z.ZodNullable<z.ZodString>;
6171
6420
  }, "strip", z.ZodTypeAny, {
6172
6421
  ID?: string;
6173
6422
  __mj_CreatedAt?: Date;
@@ -6189,6 +6438,9 @@ export declare const QuerySchema: z.ZodObject<{
6189
6438
  CacheEnabled?: boolean;
6190
6439
  CacheTTLMinutes?: number;
6191
6440
  CacheMaxSize?: number;
6441
+ EmbeddingVector?: string;
6442
+ EmbeddingModelID?: string;
6443
+ EmbeddingModel?: string;
6192
6444
  }, {
6193
6445
  ID?: string;
6194
6446
  __mj_CreatedAt?: Date;
@@ -6210,6 +6462,9 @@ export declare const QuerySchema: z.ZodObject<{
6210
6462
  CacheEnabled?: boolean;
6211
6463
  CacheTTLMinutes?: number;
6212
6464
  CacheMaxSize?: number;
6465
+ EmbeddingVector?: string;
6466
+ EmbeddingModelID?: string;
6467
+ EmbeddingModel?: string;
6213
6468
  }>;
6214
6469
  export type QueryEntityType = z.infer<typeof QuerySchema>;
6215
6470
  /**
@@ -6898,8 +7153,8 @@ export declare const ReportSnapshotSchema: z.ZodObject<{
6898
7153
  __mj_UpdatedAt?: Date;
6899
7154
  UserID?: string;
6900
7155
  User?: string;
6901
- ReportID?: string;
6902
7156
  Report?: string;
7157
+ ReportID?: string;
6903
7158
  ResultSet?: string;
6904
7159
  }, {
6905
7160
  ID?: string;
@@ -6907,8 +7162,8 @@ export declare const ReportSnapshotSchema: z.ZodObject<{
6907
7162
  __mj_UpdatedAt?: Date;
6908
7163
  UserID?: string;
6909
7164
  User?: string;
6910
- ReportID?: string;
6911
7165
  Report?: string;
7166
+ ReportID?: string;
6912
7167
  ResultSet?: string;
6913
7168
  }>;
6914
7169
  export type ReportSnapshotEntityType = z.infer<typeof ReportSnapshotSchema>;
@@ -21479,6 +21734,97 @@ export declare class AIAgentPromptEntity extends BaseEntity<AIAgentPromptEntityT
21479
21734
  */
21480
21735
  get Configuration(): string | null;
21481
21736
  }
21737
+ /**
21738
+ * MJ: AI Agent Relationships - strongly typed entity sub-class
21739
+ * * Schema: __mj
21740
+ * * Base Table: AIAgentRelationship
21741
+ * * Base View: vwAIAgentRelationships
21742
+ * * @description Tracks relationships between AI agents for sub-agent orchestration
21743
+ * * Primary Key: ID
21744
+ * @extends {BaseEntity}
21745
+ * @class
21746
+ * @public
21747
+ */
21748
+ export declare class AIAgentRelationshipEntity extends BaseEntity<AIAgentRelationshipEntityType> {
21749
+ /**
21750
+ * Loads the MJ: AI Agent Relationships record from the database
21751
+ * @param ID: string - primary key value to load the MJ: AI Agent Relationships record.
21752
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
21753
+ * @returns {Promise<boolean>} - true if successful, false otherwise
21754
+ * @public
21755
+ * @async
21756
+ * @memberof AIAgentRelationshipEntity
21757
+ * @method
21758
+ * @override
21759
+ */
21760
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
21761
+ /**
21762
+ * * Field Name: ID
21763
+ * * Display Name: ID
21764
+ * * SQL Data Type: uniqueidentifier
21765
+ * * Default Value: newsequentialid()
21766
+ * * Description: Primary key for AI agent relationships
21767
+ */
21768
+ get ID(): string;
21769
+ set ID(value: string);
21770
+ /**
21771
+ * * Field Name: AgentID
21772
+ * * Display Name: Agent ID
21773
+ * * SQL Data Type: uniqueidentifier
21774
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
21775
+ * * Description: Foreign key to parent AIAgent that can invoke the sub-agent
21776
+ */
21777
+ get AgentID(): string;
21778
+ set AgentID(value: string);
21779
+ /**
21780
+ * * Field Name: SubAgentID
21781
+ * * Display Name: Sub Agent ID
21782
+ * * SQL Data Type: uniqueidentifier
21783
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
21784
+ * * Description: Foreign key to sub-agent AIAgent that can be invoked
21785
+ */
21786
+ get SubAgentID(): string;
21787
+ set SubAgentID(value: string);
21788
+ /**
21789
+ * * Field Name: Status
21790
+ * * Display Name: Status
21791
+ * * SQL Data Type: nvarchar(50)
21792
+ * * Value List Type: List
21793
+ * * Possible Values
21794
+ * * Pending
21795
+ * * Active
21796
+ * * Revoked
21797
+ * * Description: Status of the relationship: Pending (awaiting approval), Active (can invoke), or Revoked (no longer allowed)
21798
+ */
21799
+ get Status(): 'Pending' | 'Active' | 'Revoked';
21800
+ set Status(value: 'Pending' | 'Active' | 'Revoked');
21801
+ /**
21802
+ * * Field Name: __mj_CreatedAt
21803
+ * * Display Name: Created At
21804
+ * * SQL Data Type: datetimeoffset
21805
+ * * Default Value: getutcdate()
21806
+ */
21807
+ get __mj_CreatedAt(): Date;
21808
+ /**
21809
+ * * Field Name: __mj_UpdatedAt
21810
+ * * Display Name: Updated At
21811
+ * * SQL Data Type: datetimeoffset
21812
+ * * Default Value: getutcdate()
21813
+ */
21814
+ get __mj_UpdatedAt(): Date;
21815
+ /**
21816
+ * * Field Name: Agent
21817
+ * * Display Name: Agent
21818
+ * * SQL Data Type: nvarchar(255)
21819
+ */
21820
+ get Agent(): string | null;
21821
+ /**
21822
+ * * Field Name: SubAgent
21823
+ * * Display Name: Sub Agent
21824
+ * * SQL Data Type: nvarchar(255)
21825
+ */
21826
+ get SubAgent(): string | null;
21827
+ }
21482
21828
  /**
21483
21829
  * MJ: AI Agent Run Steps - strongly typed entity sub-class
21484
21830
  * * Schema: __mj
@@ -24762,25 +25108,25 @@ export declare class ArtifactTypeEntity extends BaseEntity<ArtifactTypeEntityTyp
24762
25108
  get __mj_UpdatedAt(): Date;
24763
25109
  }
24764
25110
  /**
24765
- * MJ: Conversation Artifact Permissions - strongly typed entity sub-class
25111
+ * MJ: Component Dependencies - strongly typed entity sub-class
24766
25112
  * * Schema: __mj
24767
- * * Base Table: ConversationArtifactPermission
24768
- * * Base View: vwConversationArtifactPermissions
24769
- * * @description Manages user permissions for conversation artifacts
25113
+ * * Base Table: ComponentDependency
25114
+ * * Base View: vwComponentDependencies
25115
+ * * @description Tracks component-to-component dependencies for composition
24770
25116
  * * Primary Key: ID
24771
25117
  * @extends {BaseEntity}
24772
25118
  * @class
24773
25119
  * @public
24774
25120
  */
24775
- export declare class ConversationArtifactPermissionEntity extends BaseEntity<ConversationArtifactPermissionEntityType> {
25121
+ export declare class ComponentDependencyEntity extends BaseEntity<ComponentDependencyEntityType> {
24776
25122
  /**
24777
- * Loads the MJ: Conversation Artifact Permissions record from the database
24778
- * @param ID: string - primary key value to load the MJ: Conversation Artifact Permissions record.
25123
+ * Loads the MJ: Component Dependencies record from the database
25124
+ * @param ID: string - primary key value to load the MJ: Component Dependencies record.
24779
25125
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
24780
25126
  * @returns {Promise<boolean>} - true if successful, false otherwise
24781
25127
  * @public
24782
25128
  * @async
24783
- * @memberof ConversationArtifactPermissionEntity
25129
+ * @memberof ComponentDependencyEntity
24784
25130
  * @method
24785
25131
  * @override
24786
25132
  */
@@ -24790,20 +25136,635 @@ export declare class ConversationArtifactPermissionEntity extends BaseEntity<Con
24790
25136
  * * Display Name: ID
24791
25137
  * * SQL Data Type: uniqueidentifier
24792
25138
  * * Default Value: newsequentialid()
25139
+ * * Description: Primary key for component dependency
24793
25140
  */
24794
25141
  get ID(): string;
24795
25142
  set ID(value: string);
24796
25143
  /**
24797
- * * Field Name: ConversationArtifactID
24798
- * * Display Name: Conversation Artifact ID
25144
+ * * Field Name: ComponentID
25145
+ * * Display Name: Component ID
24799
25146
  * * SQL Data Type: uniqueidentifier
24800
- * * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
24801
- * * Description: Reference to the artifact this permission applies to
25147
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25148
+ * * Description: Foreign key to parent Component that has the dependency
24802
25149
  */
24803
- get ConversationArtifactID(): string;
24804
- set ConversationArtifactID(value: string);
25150
+ get ComponentID(): string;
25151
+ set ComponentID(value: string);
24805
25152
  /**
24806
- * * Field Name: UserID
25153
+ * * Field Name: DependencyComponentID
25154
+ * * Display Name: Dependency Component ID
25155
+ * * SQL Data Type: uniqueidentifier
25156
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25157
+ * * Description: Foreign key to the Component that is depended upon
25158
+ */
25159
+ get DependencyComponentID(): string;
25160
+ set DependencyComponentID(value: string);
25161
+ /**
25162
+ * * Field Name: __mj_CreatedAt
25163
+ * * Display Name: Created At
25164
+ * * SQL Data Type: datetimeoffset
25165
+ * * Default Value: getutcdate()
25166
+ */
25167
+ get __mj_CreatedAt(): Date;
25168
+ /**
25169
+ * * Field Name: __mj_UpdatedAt
25170
+ * * Display Name: Updated At
25171
+ * * SQL Data Type: datetimeoffset
25172
+ * * Default Value: getutcdate()
25173
+ */
25174
+ get __mj_UpdatedAt(): Date;
25175
+ /**
25176
+ * * Field Name: Component
25177
+ * * Display Name: Component
25178
+ * * SQL Data Type: nvarchar(500)
25179
+ */
25180
+ get Component(): string;
25181
+ /**
25182
+ * * Field Name: DependencyComponent
25183
+ * * Display Name: Dependency Component
25184
+ * * SQL Data Type: nvarchar(500)
25185
+ */
25186
+ get DependencyComponent(): string;
25187
+ }
25188
+ /**
25189
+ * MJ: Component Libraries - strongly typed entity sub-class
25190
+ * * Schema: __mj
25191
+ * * Base Table: ComponentLibrary
25192
+ * * Base View: vwComponentLibraries
25193
+ * * @description Catalog of third-party JavaScript libraries that components can depend on
25194
+ * * Primary Key: ID
25195
+ * @extends {BaseEntity}
25196
+ * @class
25197
+ * @public
25198
+ */
25199
+ export declare class ComponentLibraryEntity extends BaseEntity<ComponentLibraryEntityType> {
25200
+ /**
25201
+ * Loads the MJ: Component Libraries record from the database
25202
+ * @param ID: string - primary key value to load the MJ: Component Libraries record.
25203
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
25204
+ * @returns {Promise<boolean>} - true if successful, false otherwise
25205
+ * @public
25206
+ * @async
25207
+ * @memberof ComponentLibraryEntity
25208
+ * @method
25209
+ * @override
25210
+ */
25211
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
25212
+ /**
25213
+ * * Field Name: ID
25214
+ * * Display Name: ID
25215
+ * * SQL Data Type: uniqueidentifier
25216
+ * * Default Value: newsequentialid()
25217
+ * * Description: Primary key for the component library
25218
+ */
25219
+ get ID(): string;
25220
+ set ID(value: string);
25221
+ /**
25222
+ * * Field Name: Name
25223
+ * * Display Name: Name
25224
+ * * SQL Data Type: nvarchar(500)
25225
+ * * Description: NPM-style package name (e.g., recharts, lodash, @memberjunction/lib-name)
25226
+ */
25227
+ get Name(): string;
25228
+ set Name(value: string);
25229
+ /**
25230
+ * * Field Name: DisplayName
25231
+ * * Display Name: Display Name
25232
+ * * SQL Data Type: nvarchar(500)
25233
+ * * Description: User-friendly display name for the library
25234
+ */
25235
+ get DisplayName(): string | null;
25236
+ set DisplayName(value: string | null);
25237
+ /**
25238
+ * * Field Name: Version
25239
+ * * Display Name: Version
25240
+ * * SQL Data Type: nvarchar(100)
25241
+ * * Description: Library version number
25242
+ */
25243
+ get Version(): string | null;
25244
+ set Version(value: string | null);
25245
+ /**
25246
+ * * Field Name: GlobalVariable
25247
+ * * Display Name: Global Variable
25248
+ * * SQL Data Type: nvarchar(255)
25249
+ * * Description: Global variable name when loaded (e.g., _ for lodash, React for react)
25250
+ */
25251
+ get GlobalVariable(): string | null;
25252
+ set GlobalVariable(value: string | null);
25253
+ /**
25254
+ * * Field Name: Category
25255
+ * * Display Name: Category
25256
+ * * SQL Data Type: nvarchar(100)
25257
+ * * Value List Type: List
25258
+ * * Possible Values
25259
+ * * Core
25260
+ * * Runtime
25261
+ * * UI
25262
+ * * Charting
25263
+ * * Utility
25264
+ * * Other
25265
+ * * Description: Library category: Core, Runtime, UI, Charting, Utility, or Other
25266
+ */
25267
+ get Category(): 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null;
25268
+ set Category(value: 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null);
25269
+ /**
25270
+ * * Field Name: CDNUrl
25271
+ * * Display Name: CDN Url
25272
+ * * SQL Data Type: nvarchar(1000)
25273
+ * * Description: CDN URL for loading the library JavaScript
25274
+ */
25275
+ get CDNUrl(): string | null;
25276
+ set CDNUrl(value: string | null);
25277
+ /**
25278
+ * * Field Name: CDNCssUrl
25279
+ * * Display Name: CDN Css Url
25280
+ * * SQL Data Type: nvarchar(1000)
25281
+ * * Description: Optional CDN URL for loading library CSS
25282
+ */
25283
+ get CDNCssUrl(): string | null;
25284
+ set CDNCssUrl(value: string | null);
25285
+ /**
25286
+ * * Field Name: Description
25287
+ * * Display Name: Description
25288
+ * * SQL Data Type: nvarchar(MAX)
25289
+ * * Description: Description of the library and its capabilities
25290
+ */
25291
+ get Description(): string | null;
25292
+ set Description(value: string | null);
25293
+ /**
25294
+ * * Field Name: __mj_CreatedAt
25295
+ * * Display Name: Created At
25296
+ * * SQL Data Type: datetimeoffset
25297
+ * * Default Value: getutcdate()
25298
+ */
25299
+ get __mj_CreatedAt(): Date;
25300
+ /**
25301
+ * * Field Name: __mj_UpdatedAt
25302
+ * * Display Name: Updated At
25303
+ * * SQL Data Type: datetimeoffset
25304
+ * * Default Value: getutcdate()
25305
+ */
25306
+ get __mj_UpdatedAt(): Date;
25307
+ }
25308
+ /**
25309
+ * MJ: Component Library Links - strongly typed entity sub-class
25310
+ * * Schema: __mj
25311
+ * * Base Table: ComponentLibraryLink
25312
+ * * Base View: vwComponentLibraryLinks
25313
+ * * @description Links components to their third-party library dependencies
25314
+ * * Primary Key: ID
25315
+ * @extends {BaseEntity}
25316
+ * @class
25317
+ * @public
25318
+ */
25319
+ export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibraryLinkEntityType> {
25320
+ /**
25321
+ * Loads the MJ: Component Library Links record from the database
25322
+ * @param ID: string - primary key value to load the MJ: Component Library Links record.
25323
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
25324
+ * @returns {Promise<boolean>} - true if successful, false otherwise
25325
+ * @public
25326
+ * @async
25327
+ * @memberof ComponentLibraryLinkEntity
25328
+ * @method
25329
+ * @override
25330
+ */
25331
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
25332
+ /**
25333
+ * * Field Name: ID
25334
+ * * Display Name: ID
25335
+ * * SQL Data Type: uniqueidentifier
25336
+ * * Default Value: newsequentialid()
25337
+ * * Description: Primary key for component-library relationship
25338
+ */
25339
+ get ID(): string;
25340
+ set ID(value: string);
25341
+ /**
25342
+ * * Field Name: ComponentID
25343
+ * * Display Name: Component ID
25344
+ * * SQL Data Type: uniqueidentifier
25345
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25346
+ * * Description: Foreign key to Component that depends on the library
25347
+ */
25348
+ get ComponentID(): string;
25349
+ set ComponentID(value: string);
25350
+ /**
25351
+ * * Field Name: LibraryID
25352
+ * * Display Name: Library ID
25353
+ * * SQL Data Type: uniqueidentifier
25354
+ * * Related Entity/Foreign Key: MJ: Component Libraries (vwComponentLibraries.ID)
25355
+ * * Description: Foreign key to ComponentLibrary that the component depends on
25356
+ */
25357
+ get LibraryID(): string;
25358
+ set LibraryID(value: string);
25359
+ /**
25360
+ * * Field Name: MinVersion
25361
+ * * Display Name: Min Version
25362
+ * * SQL Data Type: nvarchar(100)
25363
+ * * Description: Minimum version requirement using semantic versioning (e.g., ^1.0.0, ~2.5.0)
25364
+ */
25365
+ get MinVersion(): string | null;
25366
+ set MinVersion(value: string | null);
25367
+ /**
25368
+ * * Field Name: __mj_CreatedAt
25369
+ * * Display Name: Created At
25370
+ * * SQL Data Type: datetimeoffset
25371
+ * * Default Value: getutcdate()
25372
+ */
25373
+ get __mj_CreatedAt(): Date;
25374
+ /**
25375
+ * * Field Name: __mj_UpdatedAt
25376
+ * * Display Name: Updated At
25377
+ * * SQL Data Type: datetimeoffset
25378
+ * * Default Value: getutcdate()
25379
+ */
25380
+ get __mj_UpdatedAt(): Date;
25381
+ /**
25382
+ * * Field Name: Component
25383
+ * * Display Name: Component
25384
+ * * SQL Data Type: nvarchar(500)
25385
+ */
25386
+ get Component(): string;
25387
+ /**
25388
+ * * Field Name: Library
25389
+ * * Display Name: Library
25390
+ * * SQL Data Type: nvarchar(500)
25391
+ */
25392
+ get Library(): string;
25393
+ }
25394
+ /**
25395
+ * MJ: Component Registries - strongly typed entity sub-class
25396
+ * * Schema: __mj
25397
+ * * Base Table: ComponentRegistry
25398
+ * * Base View: vwComponentRegistries
25399
+ * * @description Registry catalog for component sources, similar to NPM registry but supporting multiple sources
25400
+ * * Primary Key: ID
25401
+ * @extends {BaseEntity}
25402
+ * @class
25403
+ * @public
25404
+ */
25405
+ export declare class ComponentRegistryEntity extends BaseEntity<ComponentRegistryEntityType> {
25406
+ /**
25407
+ * Loads the MJ: Component Registries record from the database
25408
+ * @param ID: string - primary key value to load the MJ: Component Registries record.
25409
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
25410
+ * @returns {Promise<boolean>} - true if successful, false otherwise
25411
+ * @public
25412
+ * @async
25413
+ * @memberof ComponentRegistryEntity
25414
+ * @method
25415
+ * @override
25416
+ */
25417
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
25418
+ /**
25419
+ * * Field Name: ID
25420
+ * * Display Name: ID
25421
+ * * SQL Data Type: uniqueidentifier
25422
+ * * Default Value: newsequentialid()
25423
+ * * Description: Primary key for the component registry
25424
+ */
25425
+ get ID(): string;
25426
+ set ID(value: string);
25427
+ /**
25428
+ * * Field Name: Name
25429
+ * * Display Name: Name
25430
+ * * SQL Data Type: nvarchar(255)
25431
+ * * Description: Name of the registry (e.g., MemberJunction Registry, NPM, Internal Registry)
25432
+ */
25433
+ get Name(): string;
25434
+ set Name(value: string);
25435
+ /**
25436
+ * * Field Name: Description
25437
+ * * Display Name: Description
25438
+ * * SQL Data Type: nvarchar(MAX)
25439
+ * * Description: Description of the registry and its purpose
25440
+ */
25441
+ get Description(): string | null;
25442
+ set Description(value: string | null);
25443
+ /**
25444
+ * * Field Name: URI
25445
+ * * Display Name: URI
25446
+ * * SQL Data Type: nvarchar(500)
25447
+ * * Description: Registry endpoint URI (e.g., https://registry.memberjunction.org)
25448
+ */
25449
+ get URI(): string | null;
25450
+ set URI(value: string | null);
25451
+ /**
25452
+ * * Field Name: Type
25453
+ * * Display Name: Type
25454
+ * * SQL Data Type: nvarchar(50)
25455
+ * * Value List Type: List
25456
+ * * Possible Values
25457
+ * * Public
25458
+ * * Private
25459
+ * * Internal
25460
+ * * Description: Type of registry: public, private, or internal
25461
+ */
25462
+ get Type(): 'Public' | 'Private' | 'Internal' | null;
25463
+ set Type(value: 'Public' | 'Private' | 'Internal' | null);
25464
+ /**
25465
+ * * Field Name: APIVersion
25466
+ * * Display Name: API Version
25467
+ * * SQL Data Type: nvarchar(50)
25468
+ * * Description: API version supported by the registry for compatibility
25469
+ */
25470
+ get APIVersion(): string | null;
25471
+ set APIVersion(value: string | null);
25472
+ /**
25473
+ * * Field Name: Status
25474
+ * * Display Name: Status
25475
+ * * SQL Data Type: nvarchar(50)
25476
+ * * Value List Type: List
25477
+ * * Possible Values
25478
+ * * Active
25479
+ * * Deprecated
25480
+ * * Offline
25481
+ * * Description: Current status of the registry: active, deprecated, or offline
25482
+ */
25483
+ get Status(): 'Active' | 'Deprecated' | 'Offline' | null;
25484
+ set Status(value: 'Active' | 'Deprecated' | 'Offline' | null);
25485
+ /**
25486
+ * * Field Name: __mj_CreatedAt
25487
+ * * Display Name: Created At
25488
+ * * SQL Data Type: datetimeoffset
25489
+ * * Default Value: getutcdate()
25490
+ */
25491
+ get __mj_CreatedAt(): Date;
25492
+ /**
25493
+ * * Field Name: __mj_UpdatedAt
25494
+ * * Display Name: Updated At
25495
+ * * SQL Data Type: datetimeoffset
25496
+ * * Default Value: getutcdate()
25497
+ */
25498
+ get __mj_UpdatedAt(): Date;
25499
+ }
25500
+ /**
25501
+ * MJ: Components - strongly typed entity sub-class
25502
+ * * Schema: __mj
25503
+ * * Base Table: Component
25504
+ * * Base View: vwComponents
25505
+ * * @description Main catalog of reusable components with versioning and registry support
25506
+ * * Primary Key: ID
25507
+ * @extends {BaseEntity}
25508
+ * @class
25509
+ * @public
25510
+ */
25511
+ export declare class ComponentEntity extends BaseEntity<ComponentEntityType> {
25512
+ /**
25513
+ * Loads the MJ: Components record from the database
25514
+ * @param ID: string - primary key value to load the MJ: Components record.
25515
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
25516
+ * @returns {Promise<boolean>} - true if successful, false otherwise
25517
+ * @public
25518
+ * @async
25519
+ * @memberof ComponentEntity
25520
+ * @method
25521
+ * @override
25522
+ */
25523
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
25524
+ /**
25525
+ * * Field Name: ID
25526
+ * * Display Name: ID
25527
+ * * SQL Data Type: uniqueidentifier
25528
+ * * Default Value: newsequentialid()
25529
+ * * Description: Immutable UUID that remains the same across all systems
25530
+ */
25531
+ get ID(): string;
25532
+ set ID(value: string);
25533
+ /**
25534
+ * * Field Name: Namespace
25535
+ * * Display Name: Namespace
25536
+ * * SQL Data Type: nvarchar(MAX)
25537
+ * * Description: Hierarchical namespace path (e.g., dashboards/sales for local, @memberjunction/dashboards/financial for external)
25538
+ */
25539
+ get Namespace(): string | null;
25540
+ set Namespace(value: string | null);
25541
+ /**
25542
+ * * Field Name: Name
25543
+ * * Display Name: Name
25544
+ * * SQL Data Type: nvarchar(500)
25545
+ * * Description: Component name within the namespace (e.g., revenue-tracker)
25546
+ */
25547
+ get Name(): string;
25548
+ set Name(value: string);
25549
+ /**
25550
+ * * Field Name: Version
25551
+ * * Display Name: Version
25552
+ * * SQL Data Type: nvarchar(50)
25553
+ * * Description: Semantic version number (e.g., 1.0.0, 1.2.3-beta)
25554
+ */
25555
+ get Version(): string;
25556
+ set Version(value: string);
25557
+ /**
25558
+ * * Field Name: VersionSequence
25559
+ * * Display Name: Version Sequence
25560
+ * * SQL Data Type: int
25561
+ * * Default Value: 0
25562
+ * * Description: Numeric sequence for sorting versions
25563
+ */
25564
+ get VersionSequence(): number;
25565
+ set VersionSequence(value: number);
25566
+ /**
25567
+ * * Field Name: Title
25568
+ * * Display Name: Title
25569
+ * * SQL Data Type: nvarchar(1000)
25570
+ * * Description: User-friendly display title for the component
25571
+ */
25572
+ get Title(): string | null;
25573
+ set Title(value: string | null);
25574
+ /**
25575
+ * * Field Name: Description
25576
+ * * Display Name: Description
25577
+ * * SQL Data Type: nvarchar(MAX)
25578
+ * * Description: Detailed description of the component functionality
25579
+ */
25580
+ get Description(): string | null;
25581
+ set Description(value: string | null);
25582
+ /**
25583
+ * * Field Name: Type
25584
+ * * Display Name: Type
25585
+ * * SQL Data Type: nvarchar(255)
25586
+ * * Value List Type: List
25587
+ * * Possible Values
25588
+ * * Report
25589
+ * * Dashboard
25590
+ * * Form
25591
+ * * Table
25592
+ * * Chart
25593
+ * * Navigation
25594
+ * * Search
25595
+ * * Widget
25596
+ * * Utility
25597
+ * * Other
25598
+ * * Description: Component type: report, dashboard, form, table, chart, navigation, search, widget, utility, or other
25599
+ */
25600
+ get Type(): 'Report' | 'Dashboard' | 'Form' | 'Table' | 'Chart' | 'Navigation' | 'Search' | 'Widget' | 'Utility' | 'Other' | null;
25601
+ set Type(value: 'Report' | 'Dashboard' | 'Form' | 'Table' | 'Chart' | 'Navigation' | 'Search' | 'Widget' | 'Utility' | 'Other' | null);
25602
+ /**
25603
+ * * Field Name: Status
25604
+ * * Display Name: Status
25605
+ * * SQL Data Type: nvarchar(50)
25606
+ * * Value List Type: List
25607
+ * * Possible Values
25608
+ * * Draft
25609
+ * * Published
25610
+ * * Deprecated
25611
+ * * Description: Publication status: draft, published, or deprecated
25612
+ */
25613
+ get Status(): 'Draft' | 'Published' | 'Deprecated' | null;
25614
+ set Status(value: 'Draft' | 'Published' | 'Deprecated' | null);
25615
+ /**
25616
+ * * Field Name: DeveloperName
25617
+ * * Display Name: Developer Name
25618
+ * * SQL Data Type: nvarchar(255)
25619
+ * * Description: Name of the component developer or author
25620
+ */
25621
+ get DeveloperName(): string | null;
25622
+ set DeveloperName(value: string | null);
25623
+ /**
25624
+ * * Field Name: DeveloperEmail
25625
+ * * Display Name: Developer Email
25626
+ * * SQL Data Type: nvarchar(255)
25627
+ * * Description: Contact email for the component developer
25628
+ */
25629
+ get DeveloperEmail(): string | null;
25630
+ set DeveloperEmail(value: string | null);
25631
+ /**
25632
+ * * Field Name: DeveloperOrganization
25633
+ * * Display Name: Developer Organization
25634
+ * * SQL Data Type: nvarchar(255)
25635
+ * * Description: Organization name of the component developer
25636
+ */
25637
+ get DeveloperOrganization(): string | null;
25638
+ set DeveloperOrganization(value: string | null);
25639
+ /**
25640
+ * * Field Name: SourceRegistryID
25641
+ * * Display Name: Source Registry ID
25642
+ * * SQL Data Type: uniqueidentifier
25643
+ * * Related Entity/Foreign Key: MJ: Component Registries (vwComponentRegistries.ID)
25644
+ * * Description: Foreign key to ComponentRegistry - NULL for local components, populated for replicated ones
25645
+ */
25646
+ get SourceRegistryID(): string | null;
25647
+ set SourceRegistryID(value: string | null);
25648
+ /**
25649
+ * * Field Name: ReplicatedAt
25650
+ * * Display Name: Replicated At
25651
+ * * SQL Data Type: datetimeoffset
25652
+ * * Description: Timestamp when the component was replicated from external registry (NULL for local components)
25653
+ */
25654
+ get ReplicatedAt(): Date | null;
25655
+ set ReplicatedAt(value: Date | null);
25656
+ /**
25657
+ * * Field Name: LastSyncedAt
25658
+ * * Display Name: Last Synced At
25659
+ * * SQL Data Type: datetimeoffset
25660
+ * * Description: Last synchronization timestamp with the source registry
25661
+ */
25662
+ get LastSyncedAt(): Date | null;
25663
+ set LastSyncedAt(value: Date | null);
25664
+ /**
25665
+ * * Field Name: __mj_CreatedAt
25666
+ * * Display Name: Created At
25667
+ * * SQL Data Type: datetimeoffset
25668
+ * * Default Value: getutcdate()
25669
+ */
25670
+ get __mj_CreatedAt(): Date;
25671
+ /**
25672
+ * * Field Name: __mj_UpdatedAt
25673
+ * * Display Name: Updated At
25674
+ * * SQL Data Type: datetimeoffset
25675
+ * * Default Value: getutcdate()
25676
+ */
25677
+ get __mj_UpdatedAt(): Date;
25678
+ /**
25679
+ * * Field Name: Specification
25680
+ * * Display Name: Specification
25681
+ * * SQL Data Type: nvarchar(MAX)
25682
+ * * Description: Complete JSON specification object for the component
25683
+ */
25684
+ get Specification(): string;
25685
+ set Specification(value: string);
25686
+ /**
25687
+ * * Field Name: FunctionalRequirements
25688
+ * * Display Name: Functional Requirements
25689
+ * * SQL Data Type: nvarchar(MAX)
25690
+ * * Description: Functional requirements describing what the component should accomplish
25691
+ */
25692
+ get FunctionalRequirements(): string | null;
25693
+ set FunctionalRequirements(value: string | null);
25694
+ /**
25695
+ * * Field Name: TechnicalDesign
25696
+ * * Display Name: Technical Design
25697
+ * * SQL Data Type: nvarchar(MAX)
25698
+ * * Description: Technical design describing how the component is implemented
25699
+ */
25700
+ get TechnicalDesign(): string | null;
25701
+ set TechnicalDesign(value: string | null);
25702
+ /**
25703
+ * * Field Name: FunctionalRequirementsVector
25704
+ * * Display Name: Functional Requirements Vector
25705
+ * * SQL Data Type: nvarchar(MAX)
25706
+ * * Description: Vector embedding of the functional requirements for similarity search
25707
+ */
25708
+ get FunctionalRequirementsVector(): string | null;
25709
+ set FunctionalRequirementsVector(value: string | null);
25710
+ /**
25711
+ * * Field Name: TechnicalDesignVector
25712
+ * * Display Name: Technical Design Vector
25713
+ * * SQL Data Type: nvarchar(MAX)
25714
+ * * Description: Vector embedding of the technical design for similarity search
25715
+ */
25716
+ get TechnicalDesignVector(): string | null;
25717
+ set TechnicalDesignVector(value: string | null);
25718
+ /**
25719
+ * * Field Name: SourceRegistry
25720
+ * * Display Name: Source Registry
25721
+ * * SQL Data Type: nvarchar(255)
25722
+ */
25723
+ get SourceRegistry(): string | null;
25724
+ }
25725
+ /**
25726
+ * MJ: Conversation Artifact Permissions - strongly typed entity sub-class
25727
+ * * Schema: __mj
25728
+ * * Base Table: ConversationArtifactPermission
25729
+ * * Base View: vwConversationArtifactPermissions
25730
+ * * @description Manages user permissions for conversation artifacts
25731
+ * * Primary Key: ID
25732
+ * @extends {BaseEntity}
25733
+ * @class
25734
+ * @public
25735
+ */
25736
+ export declare class ConversationArtifactPermissionEntity extends BaseEntity<ConversationArtifactPermissionEntityType> {
25737
+ /**
25738
+ * Loads the MJ: Conversation Artifact Permissions record from the database
25739
+ * @param ID: string - primary key value to load the MJ: Conversation Artifact Permissions record.
25740
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
25741
+ * @returns {Promise<boolean>} - true if successful, false otherwise
25742
+ * @public
25743
+ * @async
25744
+ * @memberof ConversationArtifactPermissionEntity
25745
+ * @method
25746
+ * @override
25747
+ */
25748
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
25749
+ /**
25750
+ * * Field Name: ID
25751
+ * * Display Name: ID
25752
+ * * SQL Data Type: uniqueidentifier
25753
+ * * Default Value: newsequentialid()
25754
+ */
25755
+ get ID(): string;
25756
+ set ID(value: string);
25757
+ /**
25758
+ * * Field Name: ConversationArtifactID
25759
+ * * Display Name: Conversation Artifact ID
25760
+ * * SQL Data Type: uniqueidentifier
25761
+ * * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
25762
+ * * Description: Reference to the artifact this permission applies to
25763
+ */
25764
+ get ConversationArtifactID(): string;
25765
+ set ConversationArtifactID(value: string);
25766
+ /**
25767
+ * * Field Name: UserID
24807
25768
  * * Display Name: User ID
24808
25769
  * * SQL Data Type: uniqueidentifier
24809
25770
  * * Description: User this permission applies to
@@ -26033,11 +26994,34 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
26033
26994
  get CacheMaxSize(): number | null;
26034
26995
  set CacheMaxSize(value: number | null);
26035
26996
  /**
26997
+ * * Field Name: EmbeddingVector
26998
+ * * Display Name: Embedding Vector
26999
+ * * SQL Data Type: nvarchar(MAX)
27000
+ * * Description: Optional JSON-serialized embedding vector for the query, used for similarity search and query analysis
27001
+ */
27002
+ get EmbeddingVector(): string | null;
27003
+ set EmbeddingVector(value: string | null);
27004
+ /**
27005
+ * * Field Name: EmbeddingModelID
27006
+ * * Display Name: Embedding Model ID
27007
+ * * SQL Data Type: uniqueidentifier
27008
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
27009
+ * * Description: The AI Model used to generate the embedding vector for this query. Required for vector similarity comparisons.
27010
+ */
27011
+ get EmbeddingModelID(): string | null;
27012
+ set EmbeddingModelID(value: string | null);
27013
+ /**
26036
27014
  * * Field Name: Category
26037
27015
  * * Display Name: Category
26038
27016
  * * SQL Data Type: nvarchar(50)
26039
27017
  */
26040
27018
  get Category(): string | null;
27019
+ /**
27020
+ * * Field Name: EmbeddingModel
27021
+ * * Display Name: Embedding Model
27022
+ * * SQL Data Type: nvarchar(50)
27023
+ */
27024
+ get EmbeddingModel(): string | null;
26041
27025
  }
26042
27026
  /**
26043
27027
  * Query Categories - strongly typed entity sub-class