@memberjunction/core-entities 5.22.0 → 5.23.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.
- package/dist/engines/conversations.d.ts +439 -0
- package/dist/engines/conversations.d.ts.map +1 -0
- package/dist/engines/conversations.js +1102 -0
- package/dist/engines/conversations.js.map +1 -0
- package/dist/engines/knowledgeHubMetadata.d.ts +54 -0
- package/dist/engines/knowledgeHubMetadata.d.ts.map +1 -0
- package/dist/engines/knowledgeHubMetadata.js +152 -0
- package/dist/engines/knowledgeHubMetadata.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +495 -39
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +703 -46
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +73 -1
|
@@ -622,6 +622,41 @@ export declare const MJAIAgentCategorySchema: z.ZodObject<{
|
|
|
622
622
|
AssignmentStrategy?: string;
|
|
623
623
|
}>;
|
|
624
624
|
export type MJAIAgentCategoryEntityType = z.infer<typeof MJAIAgentCategorySchema>;
|
|
625
|
+
/**
|
|
626
|
+
* zod schema definition for the entity MJ: AI Agent Client Tools
|
|
627
|
+
*/
|
|
628
|
+
export declare const MJAIAgentClientToolSchema: z.ZodObject<{
|
|
629
|
+
ID: z.ZodString;
|
|
630
|
+
AgentID: z.ZodString;
|
|
631
|
+
ClientToolDefinitionID: z.ZodString;
|
|
632
|
+
IsRequired: z.ZodBoolean;
|
|
633
|
+
Priority: z.ZodNumber;
|
|
634
|
+
__mj_CreatedAt: z.ZodDate;
|
|
635
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
636
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
637
|
+
ClientToolDefinition: z.ZodString;
|
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
|
639
|
+
ID?: string;
|
|
640
|
+
__mj_CreatedAt?: Date;
|
|
641
|
+
__mj_UpdatedAt?: Date;
|
|
642
|
+
IsRequired?: boolean;
|
|
643
|
+
AgentID?: string;
|
|
644
|
+
Agent?: string;
|
|
645
|
+
ClientToolDefinitionID?: string;
|
|
646
|
+
Priority?: number;
|
|
647
|
+
ClientToolDefinition?: string;
|
|
648
|
+
}, {
|
|
649
|
+
ID?: string;
|
|
650
|
+
__mj_CreatedAt?: Date;
|
|
651
|
+
__mj_UpdatedAt?: Date;
|
|
652
|
+
IsRequired?: boolean;
|
|
653
|
+
AgentID?: string;
|
|
654
|
+
Agent?: string;
|
|
655
|
+
ClientToolDefinitionID?: string;
|
|
656
|
+
Priority?: number;
|
|
657
|
+
ClientToolDefinition?: string;
|
|
658
|
+
}>;
|
|
659
|
+
export type MJAIAgentClientToolEntityType = z.infer<typeof MJAIAgentClientToolSchema>;
|
|
625
660
|
/**
|
|
626
661
|
* zod schema definition for the entity MJ: AI Agent Configurations
|
|
627
662
|
*/
|
|
@@ -648,10 +683,10 @@ export declare const MJAIAgentConfigurationSchema: z.ZodObject<{
|
|
|
648
683
|
Status?: "Active" | "Pending" | "Revoked";
|
|
649
684
|
AgentID?: string;
|
|
650
685
|
Agent?: string;
|
|
686
|
+
Priority?: number;
|
|
651
687
|
DisplayName?: string;
|
|
652
688
|
AIConfigurationID?: string;
|
|
653
689
|
IsDefault?: boolean;
|
|
654
|
-
Priority?: number;
|
|
655
690
|
AIConfiguration?: string;
|
|
656
691
|
}, {
|
|
657
692
|
ID?: string;
|
|
@@ -662,10 +697,10 @@ export declare const MJAIAgentConfigurationSchema: z.ZodObject<{
|
|
|
662
697
|
Status?: "Active" | "Pending" | "Revoked";
|
|
663
698
|
AgentID?: string;
|
|
664
699
|
Agent?: string;
|
|
700
|
+
Priority?: number;
|
|
665
701
|
DisplayName?: string;
|
|
666
702
|
AIConfigurationID?: string;
|
|
667
703
|
IsDefault?: boolean;
|
|
668
|
-
Priority?: number;
|
|
669
704
|
AIConfiguration?: string;
|
|
670
705
|
}>;
|
|
671
706
|
export type MJAIAgentConfigurationEntityType = z.infer<typeof MJAIAgentConfigurationSchema>;
|
|
@@ -1965,6 +2000,7 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
1965
2000
|
AutoArchiveEnabled: z.ZodBoolean;
|
|
1966
2001
|
RerankerConfiguration: z.ZodNullable<z.ZodString>;
|
|
1967
2002
|
CategoryID: z.ZodNullable<z.ZodString>;
|
|
2003
|
+
AllowEphemeralClientTools: z.ZodBoolean;
|
|
1968
2004
|
Parent: z.ZodNullable<z.ZodString>;
|
|
1969
2005
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
1970
2006
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -2040,6 +2076,7 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2040
2076
|
ExampleRetentionDays?: number;
|
|
2041
2077
|
AutoArchiveEnabled?: boolean;
|
|
2042
2078
|
RerankerConfiguration?: string;
|
|
2079
|
+
AllowEphemeralClientTools?: boolean;
|
|
2043
2080
|
ContextCompressionPrompt?: string;
|
|
2044
2081
|
DefaultArtifactType?: string;
|
|
2045
2082
|
OwnerUser?: string;
|
|
@@ -2111,6 +2148,7 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2111
2148
|
ExampleRetentionDays?: number;
|
|
2112
2149
|
AutoArchiveEnabled?: boolean;
|
|
2113
2150
|
RerankerConfiguration?: string;
|
|
2151
|
+
AllowEphemeralClientTools?: boolean;
|
|
2114
2152
|
ContextCompressionPrompt?: string;
|
|
2115
2153
|
DefaultArtifactType?: string;
|
|
2116
2154
|
OwnerUser?: string;
|
|
@@ -2161,6 +2199,44 @@ export declare const MJAIArchitectureSchema: z.ZodObject<{
|
|
|
2161
2199
|
RootParentArchitectureID?: string;
|
|
2162
2200
|
}>;
|
|
2163
2201
|
export type MJAIArchitectureEntityType = z.infer<typeof MJAIArchitectureSchema>;
|
|
2202
|
+
/**
|
|
2203
|
+
* zod schema definition for the entity MJ: AI Client Tool Definitions
|
|
2204
|
+
*/
|
|
2205
|
+
export declare const MJAIClientToolDefinitionSchema: z.ZodObject<{
|
|
2206
|
+
ID: z.ZodString;
|
|
2207
|
+
Name: z.ZodString;
|
|
2208
|
+
Description: z.ZodString;
|
|
2209
|
+
Category: z.ZodNullable<z.ZodString>;
|
|
2210
|
+
InputSchemaJSON: z.ZodNullable<z.ZodString>;
|
|
2211
|
+
OutputSchemaJSON: z.ZodNullable<z.ZodString>;
|
|
2212
|
+
DefaultTimeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
2213
|
+
RequiresContextType: z.ZodNullable<z.ZodString>;
|
|
2214
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2215
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2216
|
+
}, "strip", z.ZodTypeAny, {
|
|
2217
|
+
ID?: string;
|
|
2218
|
+
__mj_CreatedAt?: Date;
|
|
2219
|
+
__mj_UpdatedAt?: Date;
|
|
2220
|
+
Name?: string;
|
|
2221
|
+
Description?: string;
|
|
2222
|
+
Category?: string;
|
|
2223
|
+
InputSchemaJSON?: string;
|
|
2224
|
+
OutputSchemaJSON?: string;
|
|
2225
|
+
DefaultTimeoutMs?: number;
|
|
2226
|
+
RequiresContextType?: string;
|
|
2227
|
+
}, {
|
|
2228
|
+
ID?: string;
|
|
2229
|
+
__mj_CreatedAt?: Date;
|
|
2230
|
+
__mj_UpdatedAt?: Date;
|
|
2231
|
+
Name?: string;
|
|
2232
|
+
Description?: string;
|
|
2233
|
+
Category?: string;
|
|
2234
|
+
InputSchemaJSON?: string;
|
|
2235
|
+
OutputSchemaJSON?: string;
|
|
2236
|
+
DefaultTimeoutMs?: number;
|
|
2237
|
+
RequiresContextType?: string;
|
|
2238
|
+
}>;
|
|
2239
|
+
export type MJAIClientToolDefinitionEntityType = z.infer<typeof MJAIClientToolDefinitionSchema>;
|
|
2164
2240
|
/**
|
|
2165
2241
|
* zod schema definition for the entity MJ: AI Configuration Params
|
|
2166
2242
|
*/
|
|
@@ -3996,7 +4072,7 @@ export declare const MJApplicationSchema: z.ZodObject<{
|
|
|
3996
4072
|
__mj_UpdatedAt: z.ZodDate;
|
|
3997
4073
|
SchemaAutoAddNewEntities: z.ZodNullable<z.ZodString>;
|
|
3998
4074
|
Color: z.ZodNullable<z.ZodString>;
|
|
3999
|
-
DefaultNavItems: z.ZodNullable<z.
|
|
4075
|
+
DefaultNavItems: z.ZodNullable<z.ZodAny>;
|
|
4000
4076
|
ClassName: z.ZodNullable<z.ZodString>;
|
|
4001
4077
|
DefaultSequence: z.ZodNumber;
|
|
4002
4078
|
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
|
|
@@ -4016,7 +4092,7 @@ export declare const MJApplicationSchema: z.ZodObject<{
|
|
|
4016
4092
|
DefaultForNewUser?: boolean;
|
|
4017
4093
|
SchemaAutoAddNewEntities?: string;
|
|
4018
4094
|
Color?: string;
|
|
4019
|
-
DefaultNavItems?:
|
|
4095
|
+
DefaultNavItems?: any;
|
|
4020
4096
|
ClassName?: string;
|
|
4021
4097
|
DefaultSequence?: number;
|
|
4022
4098
|
NavigationStyle?: "Both" | "App Switcher" | "Nav Bar";
|
|
@@ -4035,7 +4111,7 @@ export declare const MJApplicationSchema: z.ZodObject<{
|
|
|
4035
4111
|
DefaultForNewUser?: boolean;
|
|
4036
4112
|
SchemaAutoAddNewEntities?: string;
|
|
4037
4113
|
Color?: string;
|
|
4038
|
-
DefaultNavItems?:
|
|
4114
|
+
DefaultNavItems?: any;
|
|
4039
4115
|
ClassName?: string;
|
|
4040
4116
|
DefaultSequence?: number;
|
|
4041
4117
|
NavigationStyle?: "Both" | "App Switcher" | "Nav Bar";
|
|
@@ -5589,11 +5665,13 @@ export declare const MJContentItemTagSchema: z.ZodObject<{
|
|
|
5589
5665
|
Tag: z.ZodString;
|
|
5590
5666
|
__mj_CreatedAt: z.ZodDate;
|
|
5591
5667
|
__mj_UpdatedAt: z.ZodDate;
|
|
5668
|
+
Weight: z.ZodNumber;
|
|
5592
5669
|
Item: z.ZodNullable<z.ZodString>;
|
|
5593
5670
|
}, "strip", z.ZodTypeAny, {
|
|
5594
5671
|
ID?: string;
|
|
5595
5672
|
__mj_CreatedAt?: Date;
|
|
5596
5673
|
__mj_UpdatedAt?: Date;
|
|
5674
|
+
Weight?: number;
|
|
5597
5675
|
ItemID?: string;
|
|
5598
5676
|
Tag?: string;
|
|
5599
5677
|
Item?: string;
|
|
@@ -5601,6 +5679,7 @@ export declare const MJContentItemTagSchema: z.ZodObject<{
|
|
|
5601
5679
|
ID?: string;
|
|
5602
5680
|
__mj_CreatedAt?: Date;
|
|
5603
5681
|
__mj_UpdatedAt?: Date;
|
|
5682
|
+
Weight?: number;
|
|
5604
5683
|
ItemID?: string;
|
|
5605
5684
|
Tag?: string;
|
|
5606
5685
|
Item?: string;
|
|
@@ -5793,14 +5872,20 @@ export declare const MJContentSourceSchema: z.ZodObject<{
|
|
|
5793
5872
|
URL: z.ZodString;
|
|
5794
5873
|
__mj_CreatedAt: z.ZodDate;
|
|
5795
5874
|
__mj_UpdatedAt: z.ZodDate;
|
|
5875
|
+
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
5876
|
+
VectorIndexID: z.ZodNullable<z.ZodString>;
|
|
5796
5877
|
ContentType: z.ZodString;
|
|
5797
5878
|
ContentSourceType: z.ZodString;
|
|
5798
5879
|
ContentFileType: z.ZodString;
|
|
5880
|
+
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
5881
|
+
VectorIndex: z.ZodNullable<z.ZodString>;
|
|
5799
5882
|
}, "strip", z.ZodTypeAny, {
|
|
5800
5883
|
ID?: string;
|
|
5801
5884
|
__mj_CreatedAt?: Date;
|
|
5802
5885
|
__mj_UpdatedAt?: Date;
|
|
5803
5886
|
Name?: string;
|
|
5887
|
+
EmbeddingModelID?: string;
|
|
5888
|
+
EmbeddingModel?: string;
|
|
5804
5889
|
ContentType?: string;
|
|
5805
5890
|
URL?: string;
|
|
5806
5891
|
ContentTypeID?: string;
|
|
@@ -5808,11 +5893,15 @@ export declare const MJContentSourceSchema: z.ZodObject<{
|
|
|
5808
5893
|
ContentFileTypeID?: string;
|
|
5809
5894
|
ContentSourceType?: string;
|
|
5810
5895
|
ContentFileType?: string;
|
|
5896
|
+
VectorIndexID?: string;
|
|
5897
|
+
VectorIndex?: string;
|
|
5811
5898
|
}, {
|
|
5812
5899
|
ID?: string;
|
|
5813
5900
|
__mj_CreatedAt?: Date;
|
|
5814
5901
|
__mj_UpdatedAt?: Date;
|
|
5815
5902
|
Name?: string;
|
|
5903
|
+
EmbeddingModelID?: string;
|
|
5904
|
+
EmbeddingModel?: string;
|
|
5816
5905
|
ContentType?: string;
|
|
5817
5906
|
URL?: string;
|
|
5818
5907
|
ContentTypeID?: string;
|
|
@@ -5820,6 +5909,8 @@ export declare const MJContentSourceSchema: z.ZodObject<{
|
|
|
5820
5909
|
ContentFileTypeID?: string;
|
|
5821
5910
|
ContentSourceType?: string;
|
|
5822
5911
|
ContentFileType?: string;
|
|
5912
|
+
VectorIndexID?: string;
|
|
5913
|
+
VectorIndex?: string;
|
|
5823
5914
|
}>;
|
|
5824
5915
|
export type MJContentSourceEntityType = z.infer<typeof MJContentSourceSchema>;
|
|
5825
5916
|
/**
|
|
@@ -5863,15 +5954,23 @@ export declare const MJContentTypeSchema: z.ZodObject<{
|
|
|
5863
5954
|
MaxTags: z.ZodNumber;
|
|
5864
5955
|
__mj_CreatedAt: z.ZodDate;
|
|
5865
5956
|
__mj_UpdatedAt: z.ZodDate;
|
|
5957
|
+
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
5958
|
+
VectorIndexID: z.ZodNullable<z.ZodString>;
|
|
5866
5959
|
AIModel: z.ZodString;
|
|
5960
|
+
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
5961
|
+
VectorIndex: z.ZodNullable<z.ZodString>;
|
|
5867
5962
|
}, "strip", z.ZodTypeAny, {
|
|
5868
5963
|
ID?: string;
|
|
5869
5964
|
__mj_CreatedAt?: Date;
|
|
5870
5965
|
__mj_UpdatedAt?: Date;
|
|
5871
5966
|
Name?: string;
|
|
5872
5967
|
Description?: string;
|
|
5968
|
+
EmbeddingModelID?: string;
|
|
5969
|
+
EmbeddingModel?: string;
|
|
5873
5970
|
AIModelID?: string;
|
|
5874
5971
|
AIModel?: string;
|
|
5972
|
+
VectorIndexID?: string;
|
|
5973
|
+
VectorIndex?: string;
|
|
5875
5974
|
MinTags?: number;
|
|
5876
5975
|
MaxTags?: number;
|
|
5877
5976
|
}, {
|
|
@@ -5880,8 +5979,12 @@ export declare const MJContentTypeSchema: z.ZodObject<{
|
|
|
5880
5979
|
__mj_UpdatedAt?: Date;
|
|
5881
5980
|
Name?: string;
|
|
5882
5981
|
Description?: string;
|
|
5982
|
+
EmbeddingModelID?: string;
|
|
5983
|
+
EmbeddingModel?: string;
|
|
5883
5984
|
AIModelID?: string;
|
|
5884
5985
|
AIModel?: string;
|
|
5986
|
+
VectorIndexID?: string;
|
|
5987
|
+
VectorIndex?: string;
|
|
5885
5988
|
MinTags?: number;
|
|
5886
5989
|
MaxTags?: number;
|
|
5887
5990
|
}>;
|
|
@@ -6972,6 +7075,7 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
|
|
|
6972
7075
|
MergedAt: z.ZodDate;
|
|
6973
7076
|
__mj_CreatedAt: z.ZodDate;
|
|
6974
7077
|
__mj_UpdatedAt: z.ZodDate;
|
|
7078
|
+
RecordMetadata: z.ZodNullable<z.ZodString>;
|
|
6975
7079
|
DuplicateRunDetail: z.ZodString;
|
|
6976
7080
|
RecordMergeLog: z.ZodNullable<z.ZodString>;
|
|
6977
7081
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6988,6 +7092,7 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
|
|
|
6988
7092
|
RecordMergeLogID?: string;
|
|
6989
7093
|
MergeStatus?: "Pending" | "Complete" | "Error";
|
|
6990
7094
|
MergedAt?: Date;
|
|
7095
|
+
RecordMetadata?: string;
|
|
6991
7096
|
DuplicateRunDetail?: string;
|
|
6992
7097
|
RecordMergeLog?: string;
|
|
6993
7098
|
}, {
|
|
@@ -7004,6 +7109,7 @@ export declare const MJDuplicateRunDetailMatchSchema: z.ZodObject<{
|
|
|
7004
7109
|
RecordMergeLogID?: string;
|
|
7005
7110
|
MergeStatus?: "Pending" | "Complete" | "Error";
|
|
7006
7111
|
MergedAt?: Date;
|
|
7112
|
+
RecordMetadata?: string;
|
|
7007
7113
|
DuplicateRunDetail?: string;
|
|
7008
7114
|
RecordMergeLog?: string;
|
|
7009
7115
|
}>;
|
|
@@ -7022,6 +7128,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
|
|
|
7022
7128
|
MergeErrorMessage: z.ZodNullable<z.ZodString>;
|
|
7023
7129
|
__mj_CreatedAt: z.ZodDate;
|
|
7024
7130
|
__mj_UpdatedAt: z.ZodDate;
|
|
7131
|
+
RecordMetadata: z.ZodNullable<z.ZodString>;
|
|
7025
7132
|
DuplicateRun: z.ZodString;
|
|
7026
7133
|
}, "strip", z.ZodTypeAny, {
|
|
7027
7134
|
ID?: string;
|
|
@@ -7029,6 +7136,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
|
|
|
7029
7136
|
__mj_CreatedAt?: Date;
|
|
7030
7137
|
__mj_UpdatedAt?: Date;
|
|
7031
7138
|
MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
|
|
7139
|
+
RecordMetadata?: string;
|
|
7032
7140
|
DuplicateRunID?: string;
|
|
7033
7141
|
MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
|
|
7034
7142
|
SkippedReason?: string;
|
|
@@ -7041,6 +7149,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
|
|
|
7041
7149
|
__mj_CreatedAt?: Date;
|
|
7042
7150
|
__mj_UpdatedAt?: Date;
|
|
7043
7151
|
MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
|
|
7152
|
+
RecordMetadata?: string;
|
|
7044
7153
|
DuplicateRunID?: string;
|
|
7045
7154
|
MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
|
|
7046
7155
|
SkippedReason?: string;
|
|
@@ -7056,7 +7165,7 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
|
|
|
7056
7165
|
ID: z.ZodString;
|
|
7057
7166
|
EntityID: z.ZodString;
|
|
7058
7167
|
StartedByUserID: z.ZodString;
|
|
7059
|
-
SourceListID: z.ZodString
|
|
7168
|
+
SourceListID: z.ZodNullable<z.ZodString>;
|
|
7060
7169
|
StartedAt: z.ZodDate;
|
|
7061
7170
|
EndedAt: z.ZodNullable<z.ZodDate>;
|
|
7062
7171
|
ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Rejected">]>;
|
|
@@ -7068,7 +7177,7 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
|
|
|
7068
7177
|
__mj_UpdatedAt: z.ZodDate;
|
|
7069
7178
|
Entity: z.ZodString;
|
|
7070
7179
|
StartedByUser: z.ZodString;
|
|
7071
|
-
SourceList: z.ZodString
|
|
7180
|
+
SourceList: z.ZodNullable<z.ZodString>;
|
|
7072
7181
|
ApprovedByUser: z.ZodNullable<z.ZodString>;
|
|
7073
7182
|
}, "strip", z.ZodTypeAny, {
|
|
7074
7183
|
ID?: string;
|
|
@@ -8007,12 +8116,12 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8007
8116
|
AIModel?: string;
|
|
8008
8117
|
TemplateID?: string;
|
|
8009
8118
|
Template?: string;
|
|
8119
|
+
VectorIndexID?: string;
|
|
8120
|
+
VectorIndex?: string;
|
|
8010
8121
|
VectorDatabaseID?: string;
|
|
8011
8122
|
PotentialMatchThreshold?: number;
|
|
8012
8123
|
AbsoluteMatchThreshold?: number;
|
|
8013
|
-
VectorIndexID?: string;
|
|
8014
8124
|
VectorDatabase?: string;
|
|
8015
|
-
VectorIndex?: string;
|
|
8016
8125
|
}, {
|
|
8017
8126
|
ID?: string;
|
|
8018
8127
|
EntityID?: string;
|
|
@@ -8028,12 +8137,12 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8028
8137
|
AIModel?: string;
|
|
8029
8138
|
TemplateID?: string;
|
|
8030
8139
|
Template?: string;
|
|
8140
|
+
VectorIndexID?: string;
|
|
8141
|
+
VectorIndex?: string;
|
|
8031
8142
|
VectorDatabaseID?: string;
|
|
8032
8143
|
PotentialMatchThreshold?: number;
|
|
8033
8144
|
AbsoluteMatchThreshold?: number;
|
|
8034
|
-
VectorIndexID?: string;
|
|
8035
8145
|
VectorDatabase?: string;
|
|
8036
|
-
VectorIndex?: string;
|
|
8037
8146
|
}>;
|
|
8038
8147
|
export type MJEntityDocumentEntityType = z.infer<typeof MJEntityDocumentSchema>;
|
|
8039
8148
|
/**
|
|
@@ -8137,6 +8246,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8137
8246
|
IsSoftPrimaryKey: z.ZodBoolean;
|
|
8138
8247
|
IsSoftForeignKey: z.ZodBoolean;
|
|
8139
8248
|
RelatedEntityJoinFields: z.ZodNullable<z.ZodString>;
|
|
8249
|
+
JSONType: z.ZodNullable<z.ZodString>;
|
|
8250
|
+
JSONTypeIsArray: z.ZodBoolean;
|
|
8251
|
+
JSONTypeDefinition: z.ZodNullable<z.ZodString>;
|
|
8140
8252
|
FieldCodeName: z.ZodNullable<z.ZodString>;
|
|
8141
8253
|
Entity: z.ZodString;
|
|
8142
8254
|
SchemaName: z.ZodString;
|
|
@@ -8213,6 +8325,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8213
8325
|
IsSoftPrimaryKey?: boolean;
|
|
8214
8326
|
IsSoftForeignKey?: boolean;
|
|
8215
8327
|
RelatedEntityJoinFields?: string;
|
|
8328
|
+
JSONType?: string;
|
|
8329
|
+
JSONTypeIsArray?: boolean;
|
|
8330
|
+
JSONTypeDefinition?: string;
|
|
8216
8331
|
FieldCodeName?: string;
|
|
8217
8332
|
RelatedEntity?: string;
|
|
8218
8333
|
RelatedEntitySchemaName?: string;
|
|
@@ -8283,6 +8398,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8283
8398
|
IsSoftPrimaryKey?: boolean;
|
|
8284
8399
|
IsSoftForeignKey?: boolean;
|
|
8285
8400
|
RelatedEntityJoinFields?: string;
|
|
8401
|
+
JSONType?: string;
|
|
8402
|
+
JSONTypeIsArray?: boolean;
|
|
8403
|
+
JSONTypeDefinition?: string;
|
|
8286
8404
|
FieldCodeName?: string;
|
|
8287
8405
|
RelatedEntity?: string;
|
|
8288
8406
|
RelatedEntitySchemaName?: string;
|
|
@@ -8491,10 +8609,10 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8491
8609
|
__mj_CreatedAt?: Date;
|
|
8492
8610
|
__mj_UpdatedAt?: Date;
|
|
8493
8611
|
Entity?: string;
|
|
8494
|
-
EntityDocumentID?: string;
|
|
8495
|
-
EntityDocument?: string;
|
|
8496
8612
|
VectorIndexID?: string;
|
|
8497
8613
|
VectorIndex?: string;
|
|
8614
|
+
EntityDocumentID?: string;
|
|
8615
|
+
EntityDocument?: string;
|
|
8498
8616
|
DocumentText?: string;
|
|
8499
8617
|
VectorID?: string;
|
|
8500
8618
|
VectorJSON?: string;
|
|
@@ -8506,10 +8624,10 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8506
8624
|
__mj_CreatedAt?: Date;
|
|
8507
8625
|
__mj_UpdatedAt?: Date;
|
|
8508
8626
|
Entity?: string;
|
|
8509
|
-
EntityDocumentID?: string;
|
|
8510
|
-
EntityDocument?: string;
|
|
8511
8627
|
VectorIndexID?: string;
|
|
8512
8628
|
VectorIndex?: string;
|
|
8629
|
+
EntityDocumentID?: string;
|
|
8630
|
+
EntityDocument?: string;
|
|
8513
8631
|
DocumentText?: string;
|
|
8514
8632
|
VectorID?: string;
|
|
8515
8633
|
VectorJSON?: string;
|
|
@@ -16203,6 +16321,98 @@ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategor
|
|
|
16203
16321
|
*/
|
|
16204
16322
|
get RootParentID(): string | null;
|
|
16205
16323
|
}
|
|
16324
|
+
/**
|
|
16325
|
+
* MJ: AI Agent Client Tools - strongly typed entity sub-class
|
|
16326
|
+
* * Schema: __mj
|
|
16327
|
+
* * Base Table: AIAgentClientTool
|
|
16328
|
+
* * Base View: vwAIAgentClientTools
|
|
16329
|
+
* * Primary Key: ID
|
|
16330
|
+
* @extends {BaseEntity}
|
|
16331
|
+
* @class
|
|
16332
|
+
* @public
|
|
16333
|
+
*/
|
|
16334
|
+
export declare class MJAIAgentClientToolEntity extends BaseEntity<MJAIAgentClientToolEntityType> {
|
|
16335
|
+
/**
|
|
16336
|
+
* Loads the MJ: AI Agent Client Tools record from the database
|
|
16337
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Client Tools record.
|
|
16338
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
16339
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
16340
|
+
* @public
|
|
16341
|
+
* @async
|
|
16342
|
+
* @memberof MJAIAgentClientToolEntity
|
|
16343
|
+
* @method
|
|
16344
|
+
* @override
|
|
16345
|
+
*/
|
|
16346
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
16347
|
+
/**
|
|
16348
|
+
* * Field Name: ID
|
|
16349
|
+
* * Display Name: ID
|
|
16350
|
+
* * SQL Data Type: uniqueidentifier
|
|
16351
|
+
* * Default Value: newsequentialid()
|
|
16352
|
+
*/
|
|
16353
|
+
get ID(): string;
|
|
16354
|
+
set ID(value: string);
|
|
16355
|
+
/**
|
|
16356
|
+
* * Field Name: AgentID
|
|
16357
|
+
* * Display Name: Agent
|
|
16358
|
+
* * SQL Data Type: uniqueidentifier
|
|
16359
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
16360
|
+
*/
|
|
16361
|
+
get AgentID(): string;
|
|
16362
|
+
set AgentID(value: string);
|
|
16363
|
+
/**
|
|
16364
|
+
* * Field Name: ClientToolDefinitionID
|
|
16365
|
+
* * Display Name: Tool Definition
|
|
16366
|
+
* * SQL Data Type: uniqueidentifier
|
|
16367
|
+
* * Related Entity/Foreign Key: MJ: AI Client Tool Definitions (vwAIClientToolDefinitions.ID)
|
|
16368
|
+
*/
|
|
16369
|
+
get ClientToolDefinitionID(): string;
|
|
16370
|
+
set ClientToolDefinitionID(value: string);
|
|
16371
|
+
/**
|
|
16372
|
+
* * Field Name: IsRequired
|
|
16373
|
+
* * Display Name: Is Required
|
|
16374
|
+
* * SQL Data Type: bit
|
|
16375
|
+
* * Default Value: 0
|
|
16376
|
+
* * Description: When true, the agent expects this tool to always be available on the client. If the client has not registered a handler, agent execution may warn or fail depending on configuration.
|
|
16377
|
+
*/
|
|
16378
|
+
get IsRequired(): boolean;
|
|
16379
|
+
set IsRequired(value: boolean);
|
|
16380
|
+
/**
|
|
16381
|
+
* * Field Name: Priority
|
|
16382
|
+
* * Display Name: Priority
|
|
16383
|
+
* * SQL Data Type: int
|
|
16384
|
+
* * Default Value: 0
|
|
16385
|
+
* * Description: Sort order for tool listing in prompts. Lower numbers appear first. Tools with the same priority are listed alphabetically.
|
|
16386
|
+
*/
|
|
16387
|
+
get Priority(): number;
|
|
16388
|
+
set Priority(value: number);
|
|
16389
|
+
/**
|
|
16390
|
+
* * Field Name: __mj_CreatedAt
|
|
16391
|
+
* * Display Name: Created At
|
|
16392
|
+
* * SQL Data Type: datetimeoffset
|
|
16393
|
+
* * Default Value: getutcdate()
|
|
16394
|
+
*/
|
|
16395
|
+
get __mj_CreatedAt(): Date;
|
|
16396
|
+
/**
|
|
16397
|
+
* * Field Name: __mj_UpdatedAt
|
|
16398
|
+
* * Display Name: Updated At
|
|
16399
|
+
* * SQL Data Type: datetimeoffset
|
|
16400
|
+
* * Default Value: getutcdate()
|
|
16401
|
+
*/
|
|
16402
|
+
get __mj_UpdatedAt(): Date;
|
|
16403
|
+
/**
|
|
16404
|
+
* * Field Name: Agent
|
|
16405
|
+
* * Display Name: Agent Name
|
|
16406
|
+
* * SQL Data Type: nvarchar(255)
|
|
16407
|
+
*/
|
|
16408
|
+
get Agent(): string | null;
|
|
16409
|
+
/**
|
|
16410
|
+
* * Field Name: ClientToolDefinition
|
|
16411
|
+
* * Display Name: Tool Name
|
|
16412
|
+
* * SQL Data Type: nvarchar(200)
|
|
16413
|
+
*/
|
|
16414
|
+
get ClientToolDefinition(): string;
|
|
16415
|
+
}
|
|
16206
16416
|
/**
|
|
16207
16417
|
* MJ: AI Agent Configurations - strongly typed entity sub-class
|
|
16208
16418
|
* * Schema: __mj
|
|
@@ -20186,7 +20396,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
|
|
|
20186
20396
|
set ContextCompressionMessageThreshold(value: number | null);
|
|
20187
20397
|
/**
|
|
20188
20398
|
* * Field Name: ContextCompressionPromptID
|
|
20189
|
-
* * Display Name:
|
|
20399
|
+
* * Display Name: Compression Prompt
|
|
20190
20400
|
* * SQL Data Type: uniqueidentifier
|
|
20191
20401
|
* * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
|
|
20192
20402
|
*/
|
|
@@ -20433,7 +20643,7 @@ if this limit is exceeded.
|
|
|
20433
20643
|
set DefaultArtifactTypeID(value: string | null);
|
|
20434
20644
|
/**
|
|
20435
20645
|
* * Field Name: OwnerUserID
|
|
20436
|
-
* * Display Name: Owner
|
|
20646
|
+
* * Display Name: Owner User
|
|
20437
20647
|
* * SQL Data Type: uniqueidentifier
|
|
20438
20648
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
20439
20649
|
* * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
|
|
@@ -20600,7 +20810,7 @@ if this limit is exceeded.
|
|
|
20600
20810
|
set AttachmentRootPath(value: string | null);
|
|
20601
20811
|
/**
|
|
20602
20812
|
* * Field Name: InlineStorageThresholdBytes
|
|
20603
|
-
* * Display Name: Inline Storage Threshold
|
|
20813
|
+
* * Display Name: Inline Storage Threshold Bytes
|
|
20604
20814
|
* * SQL Data Type: int
|
|
20605
20815
|
* * Description: File size threshold for inline storage. Files <= this size are stored as base64 inline, larger files use MJStorage. NULL uses system default (1MB). Set to 0 to always use MJStorage.
|
|
20606
20816
|
*/
|
|
@@ -20624,7 +20834,7 @@ if this limit is exceeded.
|
|
|
20624
20834
|
set ScopeConfig(value: string | null);
|
|
20625
20835
|
/**
|
|
20626
20836
|
* * Field Name: NoteRetentionDays
|
|
20627
|
-
* * Display Name: Note Retention
|
|
20837
|
+
* * Display Name: Note Retention Days
|
|
20628
20838
|
* * SQL Data Type: int
|
|
20629
20839
|
* * Default Value: 90
|
|
20630
20840
|
* * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
|
|
@@ -20633,7 +20843,7 @@ if this limit is exceeded.
|
|
|
20633
20843
|
set NoteRetentionDays(value: number | null);
|
|
20634
20844
|
/**
|
|
20635
20845
|
* * Field Name: ExampleRetentionDays
|
|
20636
|
-
* * Display Name: Example Retention
|
|
20846
|
+
* * Display Name: Example Retention Days
|
|
20637
20847
|
* * SQL Data Type: int
|
|
20638
20848
|
* * Default Value: 180
|
|
20639
20849
|
* * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
|
|
@@ -20667,6 +20877,15 @@ if this limit is exceeded.
|
|
|
20667
20877
|
get CategoryID(): string | null;
|
|
20668
20878
|
set CategoryID(value: string | null);
|
|
20669
20879
|
/**
|
|
20880
|
+
* * Field Name: AllowEphemeralClientTools
|
|
20881
|
+
* * Display Name: Allow Ephemeral Client Tools
|
|
20882
|
+
* * SQL Data Type: bit
|
|
20883
|
+
* * Default Value: 1
|
|
20884
|
+
* * Description: When true (default), this agent accepts runtime-registered ephemeral client tools that are not defined in metadata. Set to false for agents that require strict tool governance.
|
|
20885
|
+
*/
|
|
20886
|
+
get AllowEphemeralClientTools(): boolean;
|
|
20887
|
+
set AllowEphemeralClientTools(value: boolean);
|
|
20888
|
+
/**
|
|
20670
20889
|
* * Field Name: Parent
|
|
20671
20890
|
* * Display Name: Parent Name
|
|
20672
20891
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -20692,7 +20911,7 @@ if this limit is exceeded.
|
|
|
20692
20911
|
get DefaultArtifactType(): string | null;
|
|
20693
20912
|
/**
|
|
20694
20913
|
* * Field Name: OwnerUser
|
|
20695
|
-
* * Display Name: Owner Name
|
|
20914
|
+
* * Display Name: Owner User Name
|
|
20696
20915
|
* * SQL Data Type: nvarchar(100)
|
|
20697
20916
|
*/
|
|
20698
20917
|
get OwnerUser(): string;
|
|
@@ -20831,6 +21050,109 @@ export declare class MJAIArchitectureEntity extends BaseEntity<MJAIArchitectureE
|
|
|
20831
21050
|
*/
|
|
20832
21051
|
get RootParentArchitectureID(): string | null;
|
|
20833
21052
|
}
|
|
21053
|
+
/**
|
|
21054
|
+
* MJ: AI Client Tool Definitions - strongly typed entity sub-class
|
|
21055
|
+
* * Schema: __mj
|
|
21056
|
+
* * Base Table: AIClientToolDefinition
|
|
21057
|
+
* * Base View: vwAIClientToolDefinitions
|
|
21058
|
+
* * Primary Key: ID
|
|
21059
|
+
* @extends {BaseEntity}
|
|
21060
|
+
* @class
|
|
21061
|
+
* @public
|
|
21062
|
+
*/
|
|
21063
|
+
export declare class MJAIClientToolDefinitionEntity extends BaseEntity<MJAIClientToolDefinitionEntityType> {
|
|
21064
|
+
/**
|
|
21065
|
+
* Loads the MJ: AI Client Tool Definitions record from the database
|
|
21066
|
+
* @param ID: string - primary key value to load the MJ: AI Client Tool Definitions record.
|
|
21067
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
21068
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
21069
|
+
* @public
|
|
21070
|
+
* @async
|
|
21071
|
+
* @memberof MJAIClientToolDefinitionEntity
|
|
21072
|
+
* @method
|
|
21073
|
+
* @override
|
|
21074
|
+
*/
|
|
21075
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21076
|
+
/**
|
|
21077
|
+
* * Field Name: ID
|
|
21078
|
+
* * Display Name: ID
|
|
21079
|
+
* * SQL Data Type: uniqueidentifier
|
|
21080
|
+
* * Default Value: newsequentialid()
|
|
21081
|
+
*/
|
|
21082
|
+
get ID(): string;
|
|
21083
|
+
set ID(value: string);
|
|
21084
|
+
/**
|
|
21085
|
+
* * Field Name: Name
|
|
21086
|
+
* * Display Name: Tool Name
|
|
21087
|
+
* * SQL Data Type: nvarchar(200)
|
|
21088
|
+
* * Description: Unique identifier for the client tool (e.g., NavigateToApp, NavigateToRecord). Used to match tool invocations from the LLM to registered handlers on the client.
|
|
21089
|
+
*/
|
|
21090
|
+
get Name(): string;
|
|
21091
|
+
set Name(value: string);
|
|
21092
|
+
/**
|
|
21093
|
+
* * Field Name: Description
|
|
21094
|
+
* * Display Name: Description
|
|
21095
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21096
|
+
* * Description: Human-readable description of what the tool does. This text is injected into the LLM system prompt so it knows when and how to use the tool.
|
|
21097
|
+
*/
|
|
21098
|
+
get Description(): string;
|
|
21099
|
+
set Description(value: string);
|
|
21100
|
+
/**
|
|
21101
|
+
* * Field Name: Category
|
|
21102
|
+
* * Display Name: Category
|
|
21103
|
+
* * SQL Data Type: nvarchar(50)
|
|
21104
|
+
* * Description: Tool category for grouping and filtering (e.g., navigation, form, display, data).
|
|
21105
|
+
*/
|
|
21106
|
+
get Category(): string | null;
|
|
21107
|
+
set Category(value: string | null);
|
|
21108
|
+
/**
|
|
21109
|
+
* * Field Name: InputSchemaJSON
|
|
21110
|
+
* * Display Name: Input Schema
|
|
21111
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21112
|
+
* * Description: JSON Schema defining the input parameters the tool accepts. Included in the LLM prompt so it generates valid parameter objects.
|
|
21113
|
+
*/
|
|
21114
|
+
get InputSchemaJSON(): string | null;
|
|
21115
|
+
set InputSchemaJSON(value: string | null);
|
|
21116
|
+
/**
|
|
21117
|
+
* * Field Name: OutputSchemaJSON
|
|
21118
|
+
* * Display Name: Output Schema
|
|
21119
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21120
|
+
* * Description: JSON Schema describing the return value from the tool. Optional — used for documentation and LLM context.
|
|
21121
|
+
*/
|
|
21122
|
+
get OutputSchemaJSON(): string | null;
|
|
21123
|
+
set OutputSchemaJSON(value: string | null);
|
|
21124
|
+
/**
|
|
21125
|
+
* * Field Name: DefaultTimeoutMs
|
|
21126
|
+
* * Display Name: Default Timeout (ms)
|
|
21127
|
+
* * SQL Data Type: int
|
|
21128
|
+
* * Default Value: 30000
|
|
21129
|
+
* * Description: Default timeout in milliseconds for this tool. Can be overridden per-invocation by the LLM or per-run by execution params. Default is 30000ms (30 seconds).
|
|
21130
|
+
*/
|
|
21131
|
+
get DefaultTimeoutMs(): number | null;
|
|
21132
|
+
set DefaultTimeoutMs(value: number | null);
|
|
21133
|
+
/**
|
|
21134
|
+
* * Field Name: RequiresContextType
|
|
21135
|
+
* * Display Name: Required Context Type
|
|
21136
|
+
* * SQL Data Type: nvarchar(100)
|
|
21137
|
+
* * Description: When set, the client only sends this tool to the server when the user is in the specified context (e.g., entity-form, dashboard, search). Null means the tool is always available.
|
|
21138
|
+
*/
|
|
21139
|
+
get RequiresContextType(): string | null;
|
|
21140
|
+
set RequiresContextType(value: string | null);
|
|
21141
|
+
/**
|
|
21142
|
+
* * Field Name: __mj_CreatedAt
|
|
21143
|
+
* * Display Name: Created At
|
|
21144
|
+
* * SQL Data Type: datetimeoffset
|
|
21145
|
+
* * Default Value: getutcdate()
|
|
21146
|
+
*/
|
|
21147
|
+
get __mj_CreatedAt(): Date;
|
|
21148
|
+
/**
|
|
21149
|
+
* * Field Name: __mj_UpdatedAt
|
|
21150
|
+
* * Display Name: Updated At
|
|
21151
|
+
* * SQL Data Type: datetimeoffset
|
|
21152
|
+
* * Default Value: getutcdate()
|
|
21153
|
+
*/
|
|
21154
|
+
get __mj_UpdatedAt(): Date;
|
|
21155
|
+
}
|
|
20834
21156
|
/**
|
|
20835
21157
|
* MJ: AI Configuration Params - strongly typed entity sub-class
|
|
20836
21158
|
* * Schema: __mj
|
|
@@ -26235,6 +26557,20 @@ export declare class MJApplicationSettingEntity extends BaseEntity<MJApplication
|
|
|
26235
26557
|
*/
|
|
26236
26558
|
get Application(): string;
|
|
26237
26559
|
}
|
|
26560
|
+
export interface MJApplicationEntity_IDefaultNavItem {
|
|
26561
|
+
/** Display label for the navigation item */
|
|
26562
|
+
Label: string;
|
|
26563
|
+
/** Font Awesome icon class (e.g., "fa-solid fa-database") */
|
|
26564
|
+
Icon: string;
|
|
26565
|
+
/** Type of resource: "Dashboards", "Custom", etc. */
|
|
26566
|
+
ResourceType: string;
|
|
26567
|
+
/** For Dashboard resources, the ID of the dashboard record */
|
|
26568
|
+
RecordID?: string | null;
|
|
26569
|
+
/** For Custom resources, the registered driver class name */
|
|
26570
|
+
DriverClass?: string | null;
|
|
26571
|
+
/** Whether this is the default tab when the app opens */
|
|
26572
|
+
isDefault?: boolean;
|
|
26573
|
+
}
|
|
26238
26574
|
/**
|
|
26239
26575
|
* MJ: Applications - strongly typed entity sub-class
|
|
26240
26576
|
* * Schema: __mj
|
|
@@ -26332,10 +26668,19 @@ export declare class MJApplicationEntity extends BaseEntity<MJApplicationEntityT
|
|
|
26332
26668
|
* * Field Name: DefaultNavItems
|
|
26333
26669
|
* * Display Name: Default Nav Items
|
|
26334
26670
|
* * SQL Data Type: nvarchar(MAX)
|
|
26671
|
+
* * JSON Type: Array<MJApplicationEntity_IDefaultNavItem>
|
|
26335
26672
|
* * Description: JSON array of default navigation items for this application. Parsed by BaseApplication.GetNavItems()
|
|
26336
26673
|
*/
|
|
26337
26674
|
get DefaultNavItems(): string | null;
|
|
26338
26675
|
set DefaultNavItems(value: string | null);
|
|
26676
|
+
private _DefaultNavItemsObject_cached;
|
|
26677
|
+
private _DefaultNavItemsObject_lastRaw;
|
|
26678
|
+
/**
|
|
26679
|
+
* Typed accessor for DefaultNavItems — returns parsed JSON as Array<MJApplicationEntity_IDefaultNavItem>.
|
|
26680
|
+
* Uses lazy parsing with cache invalidation when the underlying raw value changes.
|
|
26681
|
+
*/
|
|
26682
|
+
get DefaultNavItemsObject(): Array<MJApplicationEntity_IDefaultNavItem> | null;
|
|
26683
|
+
set DefaultNavItemsObject(value: Array<MJApplicationEntity_IDefaultNavItem> | null);
|
|
26339
26684
|
/**
|
|
26340
26685
|
* * Field Name: ClassName
|
|
26341
26686
|
* * Display Name: Class Name
|
|
@@ -30734,6 +31079,15 @@ export declare class MJContentItemTagEntity extends BaseEntity<MJContentItemTagE
|
|
|
30734
31079
|
*/
|
|
30735
31080
|
get __mj_UpdatedAt(): Date;
|
|
30736
31081
|
/**
|
|
31082
|
+
* * Field Name: Weight
|
|
31083
|
+
* * Display Name: Weight
|
|
31084
|
+
* * SQL Data Type: numeric(5, 4)
|
|
31085
|
+
* * Default Value: 1.0
|
|
31086
|
+
* * Description: Relevance weight for this tag (0.0-1.0). 1.0 = highly relevant central topic, 0.5 = moderately relevant, 0.1 = tangentially related. Assigned by the LLM during autotagging.
|
|
31087
|
+
*/
|
|
31088
|
+
get Weight(): number;
|
|
31089
|
+
set Weight(value: number);
|
|
31090
|
+
/**
|
|
30737
31091
|
* * Field Name: Item
|
|
30738
31092
|
* * Display Name: Item
|
|
30739
31093
|
* * SQL Data Type: nvarchar(250)
|
|
@@ -31237,7 +31591,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31237
31591
|
set Name(value: string | null);
|
|
31238
31592
|
/**
|
|
31239
31593
|
* * Field Name: ContentTypeID
|
|
31240
|
-
* * Display Name: Content Type
|
|
31594
|
+
* * Display Name: Content Type
|
|
31241
31595
|
* * SQL Data Type: uniqueidentifier
|
|
31242
31596
|
* * Related Entity/Foreign Key: MJ: Content Types (vwContentTypes.ID)
|
|
31243
31597
|
*/
|
|
@@ -31245,7 +31599,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31245
31599
|
set ContentTypeID(value: string);
|
|
31246
31600
|
/**
|
|
31247
31601
|
* * Field Name: ContentSourceTypeID
|
|
31248
|
-
* * Display Name: Content Source Type
|
|
31602
|
+
* * Display Name: Content Source Type
|
|
31249
31603
|
* * SQL Data Type: uniqueidentifier
|
|
31250
31604
|
* * Related Entity/Foreign Key: MJ: Content Source Types (vwContentSourceTypes.ID)
|
|
31251
31605
|
*/
|
|
@@ -31253,7 +31607,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31253
31607
|
set ContentSourceTypeID(value: string);
|
|
31254
31608
|
/**
|
|
31255
31609
|
* * Field Name: ContentFileTypeID
|
|
31256
|
-
* * Display Name: Content File Type
|
|
31610
|
+
* * Display Name: Content File Type
|
|
31257
31611
|
* * SQL Data Type: uniqueidentifier
|
|
31258
31612
|
* * Related Entity/Foreign Key: MJ: Content File Types (vwContentFileTypes.ID)
|
|
31259
31613
|
*/
|
|
@@ -31282,6 +31636,24 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31282
31636
|
*/
|
|
31283
31637
|
get __mj_UpdatedAt(): Date;
|
|
31284
31638
|
/**
|
|
31639
|
+
* * Field Name: EmbeddingModelID
|
|
31640
|
+
* * Display Name: Embedding Model
|
|
31641
|
+
* * SQL Data Type: uniqueidentifier
|
|
31642
|
+
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
31643
|
+
* * Description: Per-source override for the AI embedding model. When NULL, falls back to the ContentType default.
|
|
31644
|
+
*/
|
|
31645
|
+
get EmbeddingModelID(): string | null;
|
|
31646
|
+
set EmbeddingModelID(value: string | null);
|
|
31647
|
+
/**
|
|
31648
|
+
* * Field Name: VectorIndexID
|
|
31649
|
+
* * Display Name: Vector Index
|
|
31650
|
+
* * SQL Data Type: uniqueidentifier
|
|
31651
|
+
* * Related Entity/Foreign Key: MJ: Vector Indexes (vwVectorIndexes.ID)
|
|
31652
|
+
* * Description: Per-source override for the vector index. When NULL, falls back to the ContentType default.
|
|
31653
|
+
*/
|
|
31654
|
+
get VectorIndexID(): string | null;
|
|
31655
|
+
set VectorIndexID(value: string | null);
|
|
31656
|
+
/**
|
|
31285
31657
|
* * Field Name: ContentType
|
|
31286
31658
|
* * Display Name: Content Type
|
|
31287
31659
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -31299,6 +31671,18 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31299
31671
|
* * SQL Data Type: nvarchar(255)
|
|
31300
31672
|
*/
|
|
31301
31673
|
get ContentFileType(): string;
|
|
31674
|
+
/**
|
|
31675
|
+
* * Field Name: EmbeddingModel
|
|
31676
|
+
* * Display Name: Embedding Model
|
|
31677
|
+
* * SQL Data Type: nvarchar(50)
|
|
31678
|
+
*/
|
|
31679
|
+
get EmbeddingModel(): string | null;
|
|
31680
|
+
/**
|
|
31681
|
+
* * Field Name: VectorIndex
|
|
31682
|
+
* * Display Name: Vector Index
|
|
31683
|
+
* * SQL Data Type: nvarchar(255)
|
|
31684
|
+
*/
|
|
31685
|
+
get VectorIndex(): string | null;
|
|
31302
31686
|
}
|
|
31303
31687
|
/**
|
|
31304
31688
|
* MJ: Content Type Attributes - strongly typed entity sub-class
|
|
@@ -31425,7 +31809,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31425
31809
|
set Description(value: string | null);
|
|
31426
31810
|
/**
|
|
31427
31811
|
* * Field Name: AIModelID
|
|
31428
|
-
* * Display Name:
|
|
31812
|
+
* * Display Name: AI Model
|
|
31429
31813
|
* * SQL Data Type: uniqueidentifier
|
|
31430
31814
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
31431
31815
|
*/
|
|
@@ -31433,7 +31817,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31433
31817
|
set AIModelID(value: string);
|
|
31434
31818
|
/**
|
|
31435
31819
|
* * Field Name: MinTags
|
|
31436
|
-
* * Display Name:
|
|
31820
|
+
* * Display Name: Minimum Tags
|
|
31437
31821
|
* * SQL Data Type: int
|
|
31438
31822
|
* * Description: Minimum number of tags that must be applied to content of this type.
|
|
31439
31823
|
*/
|
|
@@ -31441,7 +31825,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31441
31825
|
set MinTags(value: number);
|
|
31442
31826
|
/**
|
|
31443
31827
|
* * Field Name: MaxTags
|
|
31444
|
-
* * Display Name:
|
|
31828
|
+
* * Display Name: Maximum Tags
|
|
31445
31829
|
* * SQL Data Type: int
|
|
31446
31830
|
* * Description: Maximum number of tags allowed on content of this type.
|
|
31447
31831
|
*/
|
|
@@ -31462,11 +31846,41 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31462
31846
|
*/
|
|
31463
31847
|
get __mj_UpdatedAt(): Date;
|
|
31464
31848
|
/**
|
|
31849
|
+
* * Field Name: EmbeddingModelID
|
|
31850
|
+
* * Display Name: Embedding Model
|
|
31851
|
+
* * SQL Data Type: uniqueidentifier
|
|
31852
|
+
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
31853
|
+
* * Description: Default AI embedding model for vectorizing content items of this type. Sources can override per-source. If NULL, uses the first available embedding model.
|
|
31854
|
+
*/
|
|
31855
|
+
get EmbeddingModelID(): string | null;
|
|
31856
|
+
set EmbeddingModelID(value: string | null);
|
|
31857
|
+
/**
|
|
31858
|
+
* * Field Name: VectorIndexID
|
|
31859
|
+
* * Display Name: Vector Index
|
|
31860
|
+
* * SQL Data Type: uniqueidentifier
|
|
31861
|
+
* * Related Entity/Foreign Key: MJ: Vector Indexes (vwVectorIndexes.ID)
|
|
31862
|
+
* * Description: Default vector index for storing embeddings of this content type. Sources can override per-source. If NULL, uses the first available vector index.
|
|
31863
|
+
*/
|
|
31864
|
+
get VectorIndexID(): string | null;
|
|
31865
|
+
set VectorIndexID(value: string | null);
|
|
31866
|
+
/**
|
|
31465
31867
|
* * Field Name: AIModel
|
|
31466
|
-
* * Display Name:
|
|
31868
|
+
* * Display Name: AI Model Name
|
|
31467
31869
|
* * SQL Data Type: nvarchar(50)
|
|
31468
31870
|
*/
|
|
31469
31871
|
get AIModel(): string;
|
|
31872
|
+
/**
|
|
31873
|
+
* * Field Name: EmbeddingModel
|
|
31874
|
+
* * Display Name: Embedding Model Name
|
|
31875
|
+
* * SQL Data Type: nvarchar(50)
|
|
31876
|
+
*/
|
|
31877
|
+
get EmbeddingModel(): string | null;
|
|
31878
|
+
/**
|
|
31879
|
+
* * Field Name: VectorIndex
|
|
31880
|
+
* * Display Name: Vector Index Name
|
|
31881
|
+
* * SQL Data Type: nvarchar(255)
|
|
31882
|
+
*/
|
|
31883
|
+
get VectorIndex(): string | null;
|
|
31470
31884
|
}
|
|
31471
31885
|
/**
|
|
31472
31886
|
* MJ: Conversation Artifact Permissions - strongly typed entity sub-class
|
|
@@ -34502,7 +34916,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34502
34916
|
set ID(value: string);
|
|
34503
34917
|
/**
|
|
34504
34918
|
* * Field Name: DuplicateRunDetailID
|
|
34505
|
-
* * Display Name: Duplicate Run Detail
|
|
34919
|
+
* * Display Name: Duplicate Run Detail ID
|
|
34506
34920
|
* * SQL Data Type: uniqueidentifier
|
|
34507
34921
|
* * Related Entity/Foreign Key: MJ: Duplicate Run Details (vwDuplicateRunDetails.ID)
|
|
34508
34922
|
*/
|
|
@@ -34523,7 +34937,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34523
34937
|
set MatchSource(value: 'SP' | 'Vector');
|
|
34524
34938
|
/**
|
|
34525
34939
|
* * Field Name: MatchRecordID
|
|
34526
|
-
* * Display Name: Match Record
|
|
34940
|
+
* * Display Name: Match Record ID
|
|
34527
34941
|
* * SQL Data Type: nvarchar(500)
|
|
34528
34942
|
* * Description: The ID of the record identified as a potential duplicate match.
|
|
34529
34943
|
*/
|
|
@@ -34572,7 +34986,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34572
34986
|
set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
|
|
34573
34987
|
/**
|
|
34574
34988
|
* * Field Name: RecordMergeLogID
|
|
34575
|
-
* * Display Name: Record Merge Log
|
|
34989
|
+
* * Display Name: Record Merge Log ID
|
|
34576
34990
|
* * SQL Data Type: uniqueidentifier
|
|
34577
34991
|
* * Related Entity/Foreign Key: MJ: Record Merge Logs (vwRecordMergeLogs.ID)
|
|
34578
34992
|
*/
|
|
@@ -34616,6 +35030,14 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34616
35030
|
*/
|
|
34617
35031
|
get __mj_UpdatedAt(): Date;
|
|
34618
35032
|
/**
|
|
35033
|
+
* * Field Name: RecordMetadata
|
|
35034
|
+
* * Display Name: Record Metadata
|
|
35035
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
35036
|
+
* * Description: JSON metadata snapshot of the matched record from the vector database at detection time. Contains display fields (Name, Description, EntityIcon, etc.) for rich UI rendering without additional lookups.
|
|
35037
|
+
*/
|
|
35038
|
+
get RecordMetadata(): string | null;
|
|
35039
|
+
set RecordMetadata(value: string | null);
|
|
35040
|
+
/**
|
|
34619
35041
|
* * Field Name: DuplicateRunDetail
|
|
34620
35042
|
* * Display Name: Duplicate Run Detail
|
|
34621
35043
|
* * SQL Data Type: nvarchar(500)
|
|
@@ -34662,7 +35084,7 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34662
35084
|
set ID(value: string);
|
|
34663
35085
|
/**
|
|
34664
35086
|
* * Field Name: DuplicateRunID
|
|
34665
|
-
* * Display Name: Duplicate Run
|
|
35087
|
+
* * Display Name: Duplicate Run
|
|
34666
35088
|
* * SQL Data Type: uniqueidentifier
|
|
34667
35089
|
* * Related Entity/Foreign Key: MJ: Duplicate Runs (vwDuplicateRuns.ID)
|
|
34668
35090
|
*/
|
|
@@ -34670,7 +35092,7 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34670
35092
|
set DuplicateRunID(value: string);
|
|
34671
35093
|
/**
|
|
34672
35094
|
* * Field Name: RecordID
|
|
34673
|
-
* * Display Name: Record
|
|
35095
|
+
* * Display Name: Source Record
|
|
34674
35096
|
* * SQL Data Type: nvarchar(500)
|
|
34675
35097
|
* * Description: The ID of the record being analyzed for duplicates.
|
|
34676
35098
|
*/
|
|
@@ -34745,8 +35167,16 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34745
35167
|
*/
|
|
34746
35168
|
get __mj_UpdatedAt(): Date;
|
|
34747
35169
|
/**
|
|
35170
|
+
* * Field Name: RecordMetadata
|
|
35171
|
+
* * Display Name: Record Metadata
|
|
35172
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
35173
|
+
* * Description: JSON metadata snapshot of the source record from the vector database at detection time. Contains display fields (Name, Description, EntityIcon, etc.) for rich UI rendering without additional lookups.
|
|
35174
|
+
*/
|
|
35175
|
+
get RecordMetadata(): string | null;
|
|
35176
|
+
set RecordMetadata(value: string | null);
|
|
35177
|
+
/**
|
|
34748
35178
|
* * Field Name: DuplicateRun
|
|
34749
|
-
* * Display Name:
|
|
35179
|
+
* * Display Name: Run Name
|
|
34750
35180
|
* * SQL Data Type: nvarchar(255)
|
|
34751
35181
|
*/
|
|
34752
35182
|
get DuplicateRun(): string;
|
|
@@ -34804,9 +35234,10 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
|
|
|
34804
35234
|
* * Display Name: Source List
|
|
34805
35235
|
* * SQL Data Type: uniqueidentifier
|
|
34806
35236
|
* * Related Entity/Foreign Key: MJ: Lists (vwLists.ID)
|
|
35237
|
+
* * Description: Optional List ID to narrow the scope of duplicate detection. When NULL, all records in the entity are scanned. When set, only records in the specified list are checked for duplicates.
|
|
34807
35238
|
*/
|
|
34808
|
-
get SourceListID(): string;
|
|
34809
|
-
set SourceListID(value: string);
|
|
35239
|
+
get SourceListID(): string | null;
|
|
35240
|
+
set SourceListID(value: string | null);
|
|
34810
35241
|
/**
|
|
34811
35242
|
* * Field Name: StartedAt
|
|
34812
35243
|
* * Display Name: Started At
|
|
@@ -34906,7 +35337,7 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
|
|
|
34906
35337
|
* * Display Name: Source List
|
|
34907
35338
|
* * SQL Data Type: nvarchar(100)
|
|
34908
35339
|
*/
|
|
34909
|
-
get SourceList(): string;
|
|
35340
|
+
get SourceList(): string | null;
|
|
34910
35341
|
/**
|
|
34911
35342
|
* * Field Name: ApprovedByUser
|
|
34912
35343
|
* * Display Name: Approved By User
|
|
@@ -37403,7 +37834,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37403
37834
|
* * Field Name: PotentialMatchThreshold
|
|
37404
37835
|
* * Display Name: Potential Match Threshold
|
|
37405
37836
|
* * SQL Data Type: numeric(12, 11)
|
|
37406
|
-
* * Default Value:
|
|
37837
|
+
* * Default Value: 0.7
|
|
37407
37838
|
* * Description: Value between 0 and 1 that determines what is considered a potential matching record. Value must be <= AbsoluteMatchThreshold. This is primarily used for duplicate detection but can be used for other applications as well where matching is relevant.
|
|
37408
37839
|
*/
|
|
37409
37840
|
get PotentialMatchThreshold(): number;
|
|
@@ -37412,7 +37843,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37412
37843
|
* * Field Name: AbsoluteMatchThreshold
|
|
37413
37844
|
* * Display Name: Absolute Match Threshold
|
|
37414
37845
|
* * SQL Data Type: numeric(12, 11)
|
|
37415
|
-
* * Default Value:
|
|
37846
|
+
* * Default Value: 0.95
|
|
37416
37847
|
* * Description: Value between 0 and 1 that determines what is considered an absolute matching record. Value must be >= PotentialMatchThreshold. This is primarily used for duplicate detection but can be used for other applications as well where matching is relevant.
|
|
37417
37848
|
*/
|
|
37418
37849
|
get AbsoluteMatchThreshold(): number;
|
|
@@ -38124,6 +38555,31 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
|
|
|
38124
38555
|
get RelatedEntityJoinFields(): string | null;
|
|
38125
38556
|
set RelatedEntityJoinFields(value: string | null);
|
|
38126
38557
|
/**
|
|
38558
|
+
* * Field Name: JSONType
|
|
38559
|
+
* * Display Name: JSON Type
|
|
38560
|
+
* * SQL Data Type: nvarchar(255)
|
|
38561
|
+
* * Description: The name of the TypeScript interface/type for this JSON field. When set, CodeGen emits a strongly-typed Object-suffixed accessor using this type instead of only the default string getter/setter.
|
|
38562
|
+
*/
|
|
38563
|
+
get JSONType(): string | null;
|
|
38564
|
+
set JSONType(value: string | null);
|
|
38565
|
+
/**
|
|
38566
|
+
* * Field Name: JSONTypeIsArray
|
|
38567
|
+
* * Display Name: JSON Type Is Array
|
|
38568
|
+
* * SQL Data Type: bit
|
|
38569
|
+
* * Default Value: 0
|
|
38570
|
+
* * Description: If true, the field holds a JSON array of JSONType items. The Object accessor returns Array<JSONType> | null and the setter accepts Array<JSONType> | null.
|
|
38571
|
+
*/
|
|
38572
|
+
get JSONTypeIsArray(): boolean;
|
|
38573
|
+
set JSONTypeIsArray(value: boolean);
|
|
38574
|
+
/**
|
|
38575
|
+
* * Field Name: JSONTypeDefinition
|
|
38576
|
+
* * Display Name: JSON Type Definition
|
|
38577
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38578
|
+
* * Description: Raw TypeScript code emitted by CodeGen above the entity class definition. Typically contains the interface/type definition referenced by JSONType. Can include imports, multiple types, or any valid TypeScript.
|
|
38579
|
+
*/
|
|
38580
|
+
get JSONTypeDefinition(): string | null;
|
|
38581
|
+
set JSONTypeDefinition(value: string | null);
|
|
38582
|
+
/**
|
|
38127
38583
|
* * Field Name: FieldCodeName
|
|
38128
38584
|
* * Display Name: Field Code Name
|
|
38129
38585
|
* * SQL Data Type: nvarchar(MAX)
|