@memberjunction/core-entities 5.21.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 +594 -51
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +868 -78
- 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;
|
|
@@ -7984,11 +8093,14 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
7984
8093
|
AbsoluteMatchThreshold: z.ZodNumber;
|
|
7985
8094
|
__mj_CreatedAt: z.ZodDate;
|
|
7986
8095
|
__mj_UpdatedAt: z.ZodDate;
|
|
8096
|
+
VectorIndexID: z.ZodNullable<z.ZodString>;
|
|
8097
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
7987
8098
|
Type: z.ZodString;
|
|
7988
8099
|
Entity: z.ZodString;
|
|
7989
8100
|
VectorDatabase: z.ZodString;
|
|
7990
8101
|
Template: z.ZodString;
|
|
7991
8102
|
AIModel: z.ZodString;
|
|
8103
|
+
VectorIndex: z.ZodNullable<z.ZodString>;
|
|
7992
8104
|
}, "strip", z.ZodTypeAny, {
|
|
7993
8105
|
ID?: string;
|
|
7994
8106
|
EntityID?: string;
|
|
@@ -7998,11 +8110,14 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
7998
8110
|
Name?: string;
|
|
7999
8111
|
Status?: "Active" | "Inactive";
|
|
8000
8112
|
Type?: string;
|
|
8113
|
+
Configuration?: string;
|
|
8001
8114
|
TypeID?: string;
|
|
8002
8115
|
AIModelID?: string;
|
|
8003
8116
|
AIModel?: string;
|
|
8004
8117
|
TemplateID?: string;
|
|
8005
8118
|
Template?: string;
|
|
8119
|
+
VectorIndexID?: string;
|
|
8120
|
+
VectorIndex?: string;
|
|
8006
8121
|
VectorDatabaseID?: string;
|
|
8007
8122
|
PotentialMatchThreshold?: number;
|
|
8008
8123
|
AbsoluteMatchThreshold?: number;
|
|
@@ -8016,11 +8131,14 @@ export declare const MJEntityDocumentSchema: z.ZodObject<{
|
|
|
8016
8131
|
Name?: string;
|
|
8017
8132
|
Status?: "Active" | "Inactive";
|
|
8018
8133
|
Type?: string;
|
|
8134
|
+
Configuration?: string;
|
|
8019
8135
|
TypeID?: string;
|
|
8020
8136
|
AIModelID?: string;
|
|
8021
8137
|
AIModel?: string;
|
|
8022
8138
|
TemplateID?: string;
|
|
8023
8139
|
Template?: string;
|
|
8140
|
+
VectorIndexID?: string;
|
|
8141
|
+
VectorIndex?: string;
|
|
8024
8142
|
VectorDatabaseID?: string;
|
|
8025
8143
|
PotentialMatchThreshold?: number;
|
|
8026
8144
|
AbsoluteMatchThreshold?: number;
|
|
@@ -8128,6 +8246,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8128
8246
|
IsSoftPrimaryKey: z.ZodBoolean;
|
|
8129
8247
|
IsSoftForeignKey: z.ZodBoolean;
|
|
8130
8248
|
RelatedEntityJoinFields: z.ZodNullable<z.ZodString>;
|
|
8249
|
+
JSONType: z.ZodNullable<z.ZodString>;
|
|
8250
|
+
JSONTypeIsArray: z.ZodBoolean;
|
|
8251
|
+
JSONTypeDefinition: z.ZodNullable<z.ZodString>;
|
|
8131
8252
|
FieldCodeName: z.ZodNullable<z.ZodString>;
|
|
8132
8253
|
Entity: z.ZodString;
|
|
8133
8254
|
SchemaName: z.ZodString;
|
|
@@ -8204,6 +8325,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8204
8325
|
IsSoftPrimaryKey?: boolean;
|
|
8205
8326
|
IsSoftForeignKey?: boolean;
|
|
8206
8327
|
RelatedEntityJoinFields?: string;
|
|
8328
|
+
JSONType?: string;
|
|
8329
|
+
JSONTypeIsArray?: boolean;
|
|
8330
|
+
JSONTypeDefinition?: string;
|
|
8207
8331
|
FieldCodeName?: string;
|
|
8208
8332
|
RelatedEntity?: string;
|
|
8209
8333
|
RelatedEntitySchemaName?: string;
|
|
@@ -8274,6 +8398,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
8274
8398
|
IsSoftPrimaryKey?: boolean;
|
|
8275
8399
|
IsSoftForeignKey?: boolean;
|
|
8276
8400
|
RelatedEntityJoinFields?: string;
|
|
8401
|
+
JSONType?: string;
|
|
8402
|
+
JSONTypeIsArray?: boolean;
|
|
8403
|
+
JSONTypeDefinition?: string;
|
|
8277
8404
|
FieldCodeName?: string;
|
|
8278
8405
|
RelatedEntity?: string;
|
|
8279
8406
|
RelatedEntitySchemaName?: string;
|
|
@@ -8482,14 +8609,14 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8482
8609
|
__mj_CreatedAt?: Date;
|
|
8483
8610
|
__mj_UpdatedAt?: Date;
|
|
8484
8611
|
Entity?: string;
|
|
8612
|
+
VectorIndexID?: string;
|
|
8613
|
+
VectorIndex?: string;
|
|
8485
8614
|
EntityDocumentID?: string;
|
|
8486
8615
|
EntityDocument?: string;
|
|
8487
8616
|
DocumentText?: string;
|
|
8488
|
-
VectorIndexID?: string;
|
|
8489
8617
|
VectorID?: string;
|
|
8490
8618
|
VectorJSON?: string;
|
|
8491
8619
|
EntityRecordUpdatedAt?: Date;
|
|
8492
|
-
VectorIndex?: string;
|
|
8493
8620
|
}, {
|
|
8494
8621
|
ID?: string;
|
|
8495
8622
|
EntityID?: string;
|
|
@@ -8497,14 +8624,14 @@ export declare const MJEntityRecordDocumentSchema: z.ZodObject<{
|
|
|
8497
8624
|
__mj_CreatedAt?: Date;
|
|
8498
8625
|
__mj_UpdatedAt?: Date;
|
|
8499
8626
|
Entity?: string;
|
|
8627
|
+
VectorIndexID?: string;
|
|
8628
|
+
VectorIndex?: string;
|
|
8500
8629
|
EntityDocumentID?: string;
|
|
8501
8630
|
EntityDocument?: string;
|
|
8502
8631
|
DocumentText?: string;
|
|
8503
|
-
VectorIndexID?: string;
|
|
8504
8632
|
VectorID?: string;
|
|
8505
8633
|
VectorJSON?: string;
|
|
8506
8634
|
EntityRecordUpdatedAt?: Date;
|
|
8507
|
-
VectorIndex?: string;
|
|
8508
8635
|
}>;
|
|
8509
8636
|
export type MJEntityRecordDocumentEntityType = z.infer<typeof MJEntityRecordDocumentSchema>;
|
|
8510
8637
|
/**
|
|
@@ -13926,12 +14053,14 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
|
|
|
13926
14053
|
ClassKey: z.ZodNullable<z.ZodString>;
|
|
13927
14054
|
__mj_CreatedAt: z.ZodDate;
|
|
13928
14055
|
__mj_UpdatedAt: z.ZodDate;
|
|
14056
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
13929
14057
|
}, "strip", z.ZodTypeAny, {
|
|
13930
14058
|
ID?: string;
|
|
13931
14059
|
__mj_CreatedAt?: Date;
|
|
13932
14060
|
__mj_UpdatedAt?: Date;
|
|
13933
14061
|
Name?: string;
|
|
13934
14062
|
Description?: string;
|
|
14063
|
+
Configuration?: string;
|
|
13935
14064
|
DefaultURL?: string;
|
|
13936
14065
|
ClassKey?: string;
|
|
13937
14066
|
}, {
|
|
@@ -13940,6 +14069,7 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
|
|
|
13940
14069
|
__mj_UpdatedAt?: Date;
|
|
13941
14070
|
Name?: string;
|
|
13942
14071
|
Description?: string;
|
|
14072
|
+
Configuration?: string;
|
|
13943
14073
|
DefaultURL?: string;
|
|
13944
14074
|
ClassKey?: string;
|
|
13945
14075
|
}>;
|
|
@@ -13955,6 +14085,10 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13955
14085
|
EmbeddingModelID: z.ZodString;
|
|
13956
14086
|
__mj_CreatedAt: z.ZodDate;
|
|
13957
14087
|
__mj_UpdatedAt: z.ZodDate;
|
|
14088
|
+
ExternalID: z.ZodNullable<z.ZodString>;
|
|
14089
|
+
Dimensions: z.ZodNullable<z.ZodNumber>;
|
|
14090
|
+
Metric: z.ZodNullable<z.ZodString>;
|
|
14091
|
+
ProviderConfig: z.ZodNullable<z.ZodString>;
|
|
13958
14092
|
VectorDatabase: z.ZodString;
|
|
13959
14093
|
EmbeddingModel: z.ZodString;
|
|
13960
14094
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13965,8 +14099,12 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13965
14099
|
Description?: string;
|
|
13966
14100
|
EmbeddingModelID?: string;
|
|
13967
14101
|
EmbeddingModel?: string;
|
|
14102
|
+
ExternalID?: string;
|
|
13968
14103
|
VectorDatabaseID?: string;
|
|
13969
14104
|
VectorDatabase?: string;
|
|
14105
|
+
Dimensions?: number;
|
|
14106
|
+
Metric?: string;
|
|
14107
|
+
ProviderConfig?: string;
|
|
13970
14108
|
}, {
|
|
13971
14109
|
ID?: string;
|
|
13972
14110
|
__mj_CreatedAt?: Date;
|
|
@@ -13975,8 +14113,12 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
|
|
|
13975
14113
|
Description?: string;
|
|
13976
14114
|
EmbeddingModelID?: string;
|
|
13977
14115
|
EmbeddingModel?: string;
|
|
14116
|
+
ExternalID?: string;
|
|
13978
14117
|
VectorDatabaseID?: string;
|
|
13979
14118
|
VectorDatabase?: string;
|
|
14119
|
+
Dimensions?: number;
|
|
14120
|
+
Metric?: string;
|
|
14121
|
+
ProviderConfig?: string;
|
|
13980
14122
|
}>;
|
|
13981
14123
|
export type MJVectorIndexEntityType = z.infer<typeof MJVectorIndexSchema>;
|
|
13982
14124
|
/**
|
|
@@ -16179,6 +16321,98 @@ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategor
|
|
|
16179
16321
|
*/
|
|
16180
16322
|
get RootParentID(): string | null;
|
|
16181
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
|
+
}
|
|
16182
16416
|
/**
|
|
16183
16417
|
* MJ: AI Agent Configurations - strongly typed entity sub-class
|
|
16184
16418
|
* * Schema: __mj
|
|
@@ -20162,7 +20396,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
|
|
|
20162
20396
|
set ContextCompressionMessageThreshold(value: number | null);
|
|
20163
20397
|
/**
|
|
20164
20398
|
* * Field Name: ContextCompressionPromptID
|
|
20165
|
-
* * Display Name:
|
|
20399
|
+
* * Display Name: Compression Prompt
|
|
20166
20400
|
* * SQL Data Type: uniqueidentifier
|
|
20167
20401
|
* * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
|
|
20168
20402
|
*/
|
|
@@ -20409,7 +20643,7 @@ if this limit is exceeded.
|
|
|
20409
20643
|
set DefaultArtifactTypeID(value: string | null);
|
|
20410
20644
|
/**
|
|
20411
20645
|
* * Field Name: OwnerUserID
|
|
20412
|
-
* * Display Name: Owner
|
|
20646
|
+
* * Display Name: Owner User
|
|
20413
20647
|
* * SQL Data Type: uniqueidentifier
|
|
20414
20648
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
20415
20649
|
* * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
|
|
@@ -20576,7 +20810,7 @@ if this limit is exceeded.
|
|
|
20576
20810
|
set AttachmentRootPath(value: string | null);
|
|
20577
20811
|
/**
|
|
20578
20812
|
* * Field Name: InlineStorageThresholdBytes
|
|
20579
|
-
* * Display Name: Inline Storage Threshold
|
|
20813
|
+
* * Display Name: Inline Storage Threshold Bytes
|
|
20580
20814
|
* * SQL Data Type: int
|
|
20581
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.
|
|
20582
20816
|
*/
|
|
@@ -20600,7 +20834,7 @@ if this limit is exceeded.
|
|
|
20600
20834
|
set ScopeConfig(value: string | null);
|
|
20601
20835
|
/**
|
|
20602
20836
|
* * Field Name: NoteRetentionDays
|
|
20603
|
-
* * Display Name: Note Retention
|
|
20837
|
+
* * Display Name: Note Retention Days
|
|
20604
20838
|
* * SQL Data Type: int
|
|
20605
20839
|
* * Default Value: 90
|
|
20606
20840
|
* * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
|
|
@@ -20609,7 +20843,7 @@ if this limit is exceeded.
|
|
|
20609
20843
|
set NoteRetentionDays(value: number | null);
|
|
20610
20844
|
/**
|
|
20611
20845
|
* * Field Name: ExampleRetentionDays
|
|
20612
|
-
* * Display Name: Example Retention
|
|
20846
|
+
* * Display Name: Example Retention Days
|
|
20613
20847
|
* * SQL Data Type: int
|
|
20614
20848
|
* * Default Value: 180
|
|
20615
20849
|
* * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
|
|
@@ -20643,6 +20877,15 @@ if this limit is exceeded.
|
|
|
20643
20877
|
get CategoryID(): string | null;
|
|
20644
20878
|
set CategoryID(value: string | null);
|
|
20645
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
|
+
/**
|
|
20646
20889
|
* * Field Name: Parent
|
|
20647
20890
|
* * Display Name: Parent Name
|
|
20648
20891
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -20668,7 +20911,7 @@ if this limit is exceeded.
|
|
|
20668
20911
|
get DefaultArtifactType(): string | null;
|
|
20669
20912
|
/**
|
|
20670
20913
|
* * Field Name: OwnerUser
|
|
20671
|
-
* * Display Name: Owner Name
|
|
20914
|
+
* * Display Name: Owner User Name
|
|
20672
20915
|
* * SQL Data Type: nvarchar(100)
|
|
20673
20916
|
*/
|
|
20674
20917
|
get OwnerUser(): string;
|
|
@@ -20807,6 +21050,109 @@ export declare class MJAIArchitectureEntity extends BaseEntity<MJAIArchitectureE
|
|
|
20807
21050
|
*/
|
|
20808
21051
|
get RootParentArchitectureID(): string | null;
|
|
20809
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
|
+
}
|
|
20810
21156
|
/**
|
|
20811
21157
|
* MJ: AI Configuration Params - strongly typed entity sub-class
|
|
20812
21158
|
* * Schema: __mj
|
|
@@ -26211,6 +26557,20 @@ export declare class MJApplicationSettingEntity extends BaseEntity<MJApplication
|
|
|
26211
26557
|
*/
|
|
26212
26558
|
get Application(): string;
|
|
26213
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
|
+
}
|
|
26214
26574
|
/**
|
|
26215
26575
|
* MJ: Applications - strongly typed entity sub-class
|
|
26216
26576
|
* * Schema: __mj
|
|
@@ -26308,10 +26668,19 @@ export declare class MJApplicationEntity extends BaseEntity<MJApplicationEntityT
|
|
|
26308
26668
|
* * Field Name: DefaultNavItems
|
|
26309
26669
|
* * Display Name: Default Nav Items
|
|
26310
26670
|
* * SQL Data Type: nvarchar(MAX)
|
|
26671
|
+
* * JSON Type: Array<MJApplicationEntity_IDefaultNavItem>
|
|
26311
26672
|
* * Description: JSON array of default navigation items for this application. Parsed by BaseApplication.GetNavItems()
|
|
26312
26673
|
*/
|
|
26313
26674
|
get DefaultNavItems(): string | null;
|
|
26314
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);
|
|
26315
26684
|
/**
|
|
26316
26685
|
* * Field Name: ClassName
|
|
26317
26686
|
* * Display Name: Class Name
|
|
@@ -30710,6 +31079,15 @@ export declare class MJContentItemTagEntity extends BaseEntity<MJContentItemTagE
|
|
|
30710
31079
|
*/
|
|
30711
31080
|
get __mj_UpdatedAt(): Date;
|
|
30712
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
|
+
/**
|
|
30713
31091
|
* * Field Name: Item
|
|
30714
31092
|
* * Display Name: Item
|
|
30715
31093
|
* * SQL Data Type: nvarchar(250)
|
|
@@ -31213,7 +31591,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31213
31591
|
set Name(value: string | null);
|
|
31214
31592
|
/**
|
|
31215
31593
|
* * Field Name: ContentTypeID
|
|
31216
|
-
* * Display Name: Content Type
|
|
31594
|
+
* * Display Name: Content Type
|
|
31217
31595
|
* * SQL Data Type: uniqueidentifier
|
|
31218
31596
|
* * Related Entity/Foreign Key: MJ: Content Types (vwContentTypes.ID)
|
|
31219
31597
|
*/
|
|
@@ -31221,7 +31599,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31221
31599
|
set ContentTypeID(value: string);
|
|
31222
31600
|
/**
|
|
31223
31601
|
* * Field Name: ContentSourceTypeID
|
|
31224
|
-
* * Display Name: Content Source Type
|
|
31602
|
+
* * Display Name: Content Source Type
|
|
31225
31603
|
* * SQL Data Type: uniqueidentifier
|
|
31226
31604
|
* * Related Entity/Foreign Key: MJ: Content Source Types (vwContentSourceTypes.ID)
|
|
31227
31605
|
*/
|
|
@@ -31229,7 +31607,7 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31229
31607
|
set ContentSourceTypeID(value: string);
|
|
31230
31608
|
/**
|
|
31231
31609
|
* * Field Name: ContentFileTypeID
|
|
31232
|
-
* * Display Name: Content File Type
|
|
31610
|
+
* * Display Name: Content File Type
|
|
31233
31611
|
* * SQL Data Type: uniqueidentifier
|
|
31234
31612
|
* * Related Entity/Foreign Key: MJ: Content File Types (vwContentFileTypes.ID)
|
|
31235
31613
|
*/
|
|
@@ -31258,6 +31636,24 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31258
31636
|
*/
|
|
31259
31637
|
get __mj_UpdatedAt(): Date;
|
|
31260
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
|
+
/**
|
|
31261
31657
|
* * Field Name: ContentType
|
|
31262
31658
|
* * Display Name: Content Type
|
|
31263
31659
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -31275,6 +31671,18 @@ export declare class MJContentSourceEntity extends BaseEntity<MJContentSourceEnt
|
|
|
31275
31671
|
* * SQL Data Type: nvarchar(255)
|
|
31276
31672
|
*/
|
|
31277
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;
|
|
31278
31686
|
}
|
|
31279
31687
|
/**
|
|
31280
31688
|
* MJ: Content Type Attributes - strongly typed entity sub-class
|
|
@@ -31401,7 +31809,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31401
31809
|
set Description(value: string | null);
|
|
31402
31810
|
/**
|
|
31403
31811
|
* * Field Name: AIModelID
|
|
31404
|
-
* * Display Name:
|
|
31812
|
+
* * Display Name: AI Model
|
|
31405
31813
|
* * SQL Data Type: uniqueidentifier
|
|
31406
31814
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
31407
31815
|
*/
|
|
@@ -31409,7 +31817,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31409
31817
|
set AIModelID(value: string);
|
|
31410
31818
|
/**
|
|
31411
31819
|
* * Field Name: MinTags
|
|
31412
|
-
* * Display Name:
|
|
31820
|
+
* * Display Name: Minimum Tags
|
|
31413
31821
|
* * SQL Data Type: int
|
|
31414
31822
|
* * Description: Minimum number of tags that must be applied to content of this type.
|
|
31415
31823
|
*/
|
|
@@ -31417,7 +31825,7 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31417
31825
|
set MinTags(value: number);
|
|
31418
31826
|
/**
|
|
31419
31827
|
* * Field Name: MaxTags
|
|
31420
|
-
* * Display Name:
|
|
31828
|
+
* * Display Name: Maximum Tags
|
|
31421
31829
|
* * SQL Data Type: int
|
|
31422
31830
|
* * Description: Maximum number of tags allowed on content of this type.
|
|
31423
31831
|
*/
|
|
@@ -31438,11 +31846,41 @@ export declare class MJContentTypeEntity extends BaseEntity<MJContentTypeEntityT
|
|
|
31438
31846
|
*/
|
|
31439
31847
|
get __mj_UpdatedAt(): Date;
|
|
31440
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
|
+
/**
|
|
31441
31867
|
* * Field Name: AIModel
|
|
31442
|
-
* * Display Name:
|
|
31868
|
+
* * Display Name: AI Model Name
|
|
31443
31869
|
* * SQL Data Type: nvarchar(50)
|
|
31444
31870
|
*/
|
|
31445
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;
|
|
31446
31884
|
}
|
|
31447
31885
|
/**
|
|
31448
31886
|
* MJ: Conversation Artifact Permissions - strongly typed entity sub-class
|
|
@@ -34478,7 +34916,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34478
34916
|
set ID(value: string);
|
|
34479
34917
|
/**
|
|
34480
34918
|
* * Field Name: DuplicateRunDetailID
|
|
34481
|
-
* * Display Name: Duplicate Run Detail
|
|
34919
|
+
* * Display Name: Duplicate Run Detail ID
|
|
34482
34920
|
* * SQL Data Type: uniqueidentifier
|
|
34483
34921
|
* * Related Entity/Foreign Key: MJ: Duplicate Run Details (vwDuplicateRunDetails.ID)
|
|
34484
34922
|
*/
|
|
@@ -34499,7 +34937,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34499
34937
|
set MatchSource(value: 'SP' | 'Vector');
|
|
34500
34938
|
/**
|
|
34501
34939
|
* * Field Name: MatchRecordID
|
|
34502
|
-
* * Display Name: Match Record
|
|
34940
|
+
* * Display Name: Match Record ID
|
|
34503
34941
|
* * SQL Data Type: nvarchar(500)
|
|
34504
34942
|
* * Description: The ID of the record identified as a potential duplicate match.
|
|
34505
34943
|
*/
|
|
@@ -34548,7 +34986,7 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34548
34986
|
set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
|
|
34549
34987
|
/**
|
|
34550
34988
|
* * Field Name: RecordMergeLogID
|
|
34551
|
-
* * Display Name: Record Merge Log
|
|
34989
|
+
* * Display Name: Record Merge Log ID
|
|
34552
34990
|
* * SQL Data Type: uniqueidentifier
|
|
34553
34991
|
* * Related Entity/Foreign Key: MJ: Record Merge Logs (vwRecordMergeLogs.ID)
|
|
34554
34992
|
*/
|
|
@@ -34592,6 +35030,14 @@ export declare class MJDuplicateRunDetailMatchEntity extends BaseEntity<MJDuplic
|
|
|
34592
35030
|
*/
|
|
34593
35031
|
get __mj_UpdatedAt(): Date;
|
|
34594
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
|
+
/**
|
|
34595
35041
|
* * Field Name: DuplicateRunDetail
|
|
34596
35042
|
* * Display Name: Duplicate Run Detail
|
|
34597
35043
|
* * SQL Data Type: nvarchar(500)
|
|
@@ -34638,7 +35084,7 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34638
35084
|
set ID(value: string);
|
|
34639
35085
|
/**
|
|
34640
35086
|
* * Field Name: DuplicateRunID
|
|
34641
|
-
* * Display Name: Duplicate Run
|
|
35087
|
+
* * Display Name: Duplicate Run
|
|
34642
35088
|
* * SQL Data Type: uniqueidentifier
|
|
34643
35089
|
* * Related Entity/Foreign Key: MJ: Duplicate Runs (vwDuplicateRuns.ID)
|
|
34644
35090
|
*/
|
|
@@ -34646,7 +35092,7 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34646
35092
|
set DuplicateRunID(value: string);
|
|
34647
35093
|
/**
|
|
34648
35094
|
* * Field Name: RecordID
|
|
34649
|
-
* * Display Name: Record
|
|
35095
|
+
* * Display Name: Source Record
|
|
34650
35096
|
* * SQL Data Type: nvarchar(500)
|
|
34651
35097
|
* * Description: The ID of the record being analyzed for duplicates.
|
|
34652
35098
|
*/
|
|
@@ -34721,8 +35167,16 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
|
|
|
34721
35167
|
*/
|
|
34722
35168
|
get __mj_UpdatedAt(): Date;
|
|
34723
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
|
+
/**
|
|
34724
35178
|
* * Field Name: DuplicateRun
|
|
34725
|
-
* * Display Name:
|
|
35179
|
+
* * Display Name: Run Name
|
|
34726
35180
|
* * SQL Data Type: nvarchar(255)
|
|
34727
35181
|
*/
|
|
34728
35182
|
get DuplicateRun(): string;
|
|
@@ -34780,9 +35234,10 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
|
|
|
34780
35234
|
* * Display Name: Source List
|
|
34781
35235
|
* * SQL Data Type: uniqueidentifier
|
|
34782
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.
|
|
34783
35238
|
*/
|
|
34784
|
-
get SourceListID(): string;
|
|
34785
|
-
set SourceListID(value: string);
|
|
35239
|
+
get SourceListID(): string | null;
|
|
35240
|
+
set SourceListID(value: string | null);
|
|
34786
35241
|
/**
|
|
34787
35242
|
* * Field Name: StartedAt
|
|
34788
35243
|
* * Display Name: Started At
|
|
@@ -34882,7 +35337,7 @@ export declare class MJDuplicateRunEntity extends BaseEntity<MJDuplicateRunEntit
|
|
|
34882
35337
|
* * Display Name: Source List
|
|
34883
35338
|
* * SQL Data Type: nvarchar(100)
|
|
34884
35339
|
*/
|
|
34885
|
-
get SourceList(): string;
|
|
35340
|
+
get SourceList(): string | null;
|
|
34886
35341
|
/**
|
|
34887
35342
|
* * Field Name: ApprovedByUser
|
|
34888
35343
|
* * Display Name: Approved By User
|
|
@@ -37325,7 +37780,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37325
37780
|
set Name(value: string);
|
|
37326
37781
|
/**
|
|
37327
37782
|
* * Field Name: TypeID
|
|
37328
|
-
* * Display Name: Type
|
|
37783
|
+
* * Display Name: Type
|
|
37329
37784
|
* * SQL Data Type: uniqueidentifier
|
|
37330
37785
|
* * Related Entity/Foreign Key: MJ: Entity Document Types (vwEntityDocumentTypes.ID)
|
|
37331
37786
|
*/
|
|
@@ -37333,7 +37788,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37333
37788
|
set TypeID(value: string);
|
|
37334
37789
|
/**
|
|
37335
37790
|
* * Field Name: EntityID
|
|
37336
|
-
* * Display Name: Entity
|
|
37791
|
+
* * Display Name: Entity
|
|
37337
37792
|
* * SQL Data Type: uniqueidentifier
|
|
37338
37793
|
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
37339
37794
|
*/
|
|
@@ -37341,7 +37796,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37341
37796
|
set EntityID(value: string);
|
|
37342
37797
|
/**
|
|
37343
37798
|
* * Field Name: VectorDatabaseID
|
|
37344
|
-
* * Display Name: Vector Database
|
|
37799
|
+
* * Display Name: Vector Database
|
|
37345
37800
|
* * SQL Data Type: uniqueidentifier
|
|
37346
37801
|
* * Related Entity/Foreign Key: MJ: Vector Databases (vwVectorDatabases.ID)
|
|
37347
37802
|
*/
|
|
@@ -37361,7 +37816,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37361
37816
|
set Status(value: 'Active' | 'Inactive');
|
|
37362
37817
|
/**
|
|
37363
37818
|
* * Field Name: TemplateID
|
|
37364
|
-
* * Display Name: Template
|
|
37819
|
+
* * Display Name: Template
|
|
37365
37820
|
* * SQL Data Type: uniqueidentifier
|
|
37366
37821
|
* * Related Entity/Foreign Key: MJ: Templates (vwTemplates.ID)
|
|
37367
37822
|
*/
|
|
@@ -37369,7 +37824,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37369
37824
|
set TemplateID(value: string);
|
|
37370
37825
|
/**
|
|
37371
37826
|
* * Field Name: AIModelID
|
|
37372
|
-
* * Display Name:
|
|
37827
|
+
* * Display Name: AI Model
|
|
37373
37828
|
* * SQL Data Type: uniqueidentifier
|
|
37374
37829
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
37375
37830
|
*/
|
|
@@ -37379,7 +37834,7 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37379
37834
|
* * Field Name: PotentialMatchThreshold
|
|
37380
37835
|
* * Display Name: Potential Match Threshold
|
|
37381
37836
|
* * SQL Data Type: numeric(12, 11)
|
|
37382
|
-
* * Default Value:
|
|
37837
|
+
* * Default Value: 0.7
|
|
37383
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.
|
|
37384
37839
|
*/
|
|
37385
37840
|
get PotentialMatchThreshold(): number;
|
|
@@ -37388,55 +37843,78 @@ export declare class MJEntityDocumentEntity extends BaseEntity<MJEntityDocumentE
|
|
|
37388
37843
|
* * Field Name: AbsoluteMatchThreshold
|
|
37389
37844
|
* * Display Name: Absolute Match Threshold
|
|
37390
37845
|
* * SQL Data Type: numeric(12, 11)
|
|
37391
|
-
* * Default Value:
|
|
37846
|
+
* * Default Value: 0.95
|
|
37392
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.
|
|
37393
37848
|
*/
|
|
37394
37849
|
get AbsoluteMatchThreshold(): number;
|
|
37395
37850
|
set AbsoluteMatchThreshold(value: number);
|
|
37396
37851
|
/**
|
|
37397
37852
|
* * Field Name: __mj_CreatedAt
|
|
37398
|
-
* * Display Name:
|
|
37853
|
+
* * Display Name: Created At
|
|
37399
37854
|
* * SQL Data Type: datetimeoffset
|
|
37400
37855
|
* * Default Value: getutcdate()
|
|
37401
37856
|
*/
|
|
37402
37857
|
get __mj_CreatedAt(): Date;
|
|
37403
37858
|
/**
|
|
37404
37859
|
* * Field Name: __mj_UpdatedAt
|
|
37405
|
-
* * Display Name:
|
|
37860
|
+
* * Display Name: Updated At
|
|
37406
37861
|
* * SQL Data Type: datetimeoffset
|
|
37407
37862
|
* * Default Value: getutcdate()
|
|
37408
37863
|
*/
|
|
37409
37864
|
get __mj_UpdatedAt(): Date;
|
|
37410
37865
|
/**
|
|
37866
|
+
* * Field Name: VectorIndexID
|
|
37867
|
+
* * Display Name: Vector Index
|
|
37868
|
+
* * SQL Data Type: uniqueidentifier
|
|
37869
|
+
* * Related Entity/Foreign Key: MJ: Vector Indexes (vwVectorIndexes.ID)
|
|
37870
|
+
* * Description: Optional foreign key to the specific Vector Index where this entity document's embeddings should be stored. When specified, the vectorization pipeline will upsert vectors directly to this index rather than auto-creating or looking up an index based on VectorDatabaseID + AIModelID. This enables explicit control over which Pinecone/Weaviate/etc. index is used per entity document, supporting multi-index architectures and shared indexes across entity types.
|
|
37871
|
+
*/
|
|
37872
|
+
get VectorIndexID(): string | null;
|
|
37873
|
+
set VectorIndexID(value: string | null);
|
|
37874
|
+
/**
|
|
37875
|
+
* * Field Name: Configuration
|
|
37876
|
+
* * Display Name: Configuration
|
|
37877
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
37878
|
+
* * Description: JSON configuration settings for this entity document. Controls vector metadata field inclusion (which fields get stored in the vector index for search result display), large field truncation limits, and future settings like sync scheduling and threshold overrides. NULL means use system defaults.
|
|
37879
|
+
*/
|
|
37880
|
+
get Configuration(): string | null;
|
|
37881
|
+
set Configuration(value: string | null);
|
|
37882
|
+
/**
|
|
37411
37883
|
* * Field Name: Type
|
|
37412
|
-
* * Display Name: Type
|
|
37884
|
+
* * Display Name: Type Name
|
|
37413
37885
|
* * SQL Data Type: nvarchar(100)
|
|
37414
37886
|
*/
|
|
37415
37887
|
get Type(): string;
|
|
37416
37888
|
/**
|
|
37417
37889
|
* * Field Name: Entity
|
|
37418
|
-
* * Display Name: Entity
|
|
37890
|
+
* * Display Name: Entity Name
|
|
37419
37891
|
* * SQL Data Type: nvarchar(255)
|
|
37420
37892
|
*/
|
|
37421
37893
|
get Entity(): string;
|
|
37422
37894
|
/**
|
|
37423
37895
|
* * Field Name: VectorDatabase
|
|
37424
|
-
* * Display Name: Vector Database
|
|
37896
|
+
* * Display Name: Vector Database Name
|
|
37425
37897
|
* * SQL Data Type: nvarchar(100)
|
|
37426
37898
|
*/
|
|
37427
37899
|
get VectorDatabase(): string;
|
|
37428
37900
|
/**
|
|
37429
37901
|
* * Field Name: Template
|
|
37430
|
-
* * Display Name: Template
|
|
37902
|
+
* * Display Name: Template Name
|
|
37431
37903
|
* * SQL Data Type: nvarchar(255)
|
|
37432
37904
|
*/
|
|
37433
37905
|
get Template(): string;
|
|
37434
37906
|
/**
|
|
37435
37907
|
* * Field Name: AIModel
|
|
37436
|
-
* * Display Name:
|
|
37908
|
+
* * Display Name: AI Model Name
|
|
37437
37909
|
* * SQL Data Type: nvarchar(50)
|
|
37438
37910
|
*/
|
|
37439
37911
|
get AIModel(): string;
|
|
37912
|
+
/**
|
|
37913
|
+
* * Field Name: VectorIndex
|
|
37914
|
+
* * Display Name: Vector Index Name
|
|
37915
|
+
* * SQL Data Type: nvarchar(255)
|
|
37916
|
+
*/
|
|
37917
|
+
get VectorIndex(): string | null;
|
|
37440
37918
|
}
|
|
37441
37919
|
/**
|
|
37442
37920
|
* MJ: Entity Field Values - strongly typed entity sub-class
|
|
@@ -38077,6 +38555,31 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
|
|
|
38077
38555
|
get RelatedEntityJoinFields(): string | null;
|
|
38078
38556
|
set RelatedEntityJoinFields(value: string | null);
|
|
38079
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
|
+
/**
|
|
38080
38583
|
* * Field Name: FieldCodeName
|
|
38081
38584
|
* * Display Name: Field Code Name
|
|
38082
38585
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -53645,6 +54148,14 @@ export declare class MJVectorDatabaseEntity extends BaseEntity<MJVectorDatabaseE
|
|
|
53645
54148
|
* * Default Value: getutcdate()
|
|
53646
54149
|
*/
|
|
53647
54150
|
get __mj_UpdatedAt(): Date;
|
|
54151
|
+
/**
|
|
54152
|
+
* * Field Name: Configuration
|
|
54153
|
+
* * Display Name: Configuration
|
|
54154
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
54155
|
+
* * Description: JSON configuration settings for this vector database provider. Stores provider-specific connection settings like custom host URLs, authentication configuration, timeouts, retry policies, and batch size limits. NULL means use defaults from environment variables or provider defaults.
|
|
54156
|
+
*/
|
|
54157
|
+
get Configuration(): string | null;
|
|
54158
|
+
set Configuration(value: string | null);
|
|
53648
54159
|
}
|
|
53649
54160
|
/**
|
|
53650
54161
|
* MJ: Vector Indexes - strongly typed entity sub-class
|
|
@@ -53694,7 +54205,7 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53694
54205
|
set Description(value: string | null);
|
|
53695
54206
|
/**
|
|
53696
54207
|
* * Field Name: VectorDatabaseID
|
|
53697
|
-
* * Display Name: Vector Database
|
|
54208
|
+
* * Display Name: Vector Database
|
|
53698
54209
|
* * SQL Data Type: uniqueidentifier
|
|
53699
54210
|
* * Related Entity/Foreign Key: MJ: Vector Databases (vwVectorDatabases.ID)
|
|
53700
54211
|
*/
|
|
@@ -53702,7 +54213,7 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53702
54213
|
set VectorDatabaseID(value: string);
|
|
53703
54214
|
/**
|
|
53704
54215
|
* * Field Name: EmbeddingModelID
|
|
53705
|
-
* * Display Name: Embedding Model
|
|
54216
|
+
* * Display Name: Embedding Model
|
|
53706
54217
|
* * SQL Data Type: uniqueidentifier
|
|
53707
54218
|
* * Related Entity/Foreign Key: MJ: AI Models (vwAIModels.ID)
|
|
53708
54219
|
*/
|
|
@@ -53723,14 +54234,46 @@ export declare class MJVectorIndexEntity extends BaseEntity<MJVectorIndexEntityT
|
|
|
53723
54234
|
*/
|
|
53724
54235
|
get __mj_UpdatedAt(): Date;
|
|
53725
54236
|
/**
|
|
54237
|
+
* * Field Name: ExternalID
|
|
54238
|
+
* * Display Name: External ID
|
|
54239
|
+
* * SQL Data Type: nvarchar(500)
|
|
54240
|
+
* * Description: The provider's native identifier for this index. For Pinecone this is the index name; for other providers it may be a separate UUID or identifier. Used for syncing operations between MJ metadata and the remote vector database.
|
|
54241
|
+
*/
|
|
54242
|
+
get ExternalID(): string | null;
|
|
54243
|
+
set ExternalID(value: string | null);
|
|
54244
|
+
/**
|
|
54245
|
+
* * Field Name: Dimensions
|
|
54246
|
+
* * Display Name: Dimensions
|
|
54247
|
+
* * SQL Data Type: int
|
|
54248
|
+
* * Description: The number of dimensions for vectors stored in this index. Determined by the embedding model (e.g., 1536 for text-embedding-3-small, 768 for all-mpnet-base-v2). Set automatically when the index is created via the vector database provider.
|
|
54249
|
+
*/
|
|
54250
|
+
get Dimensions(): number | null;
|
|
54251
|
+
set Dimensions(value: number | null);
|
|
54252
|
+
/**
|
|
54253
|
+
* * Field Name: Metric
|
|
54254
|
+
* * Display Name: Distance Metric
|
|
54255
|
+
* * SQL Data Type: nvarchar(50)
|
|
54256
|
+
* * Description: The distance metric used for similarity calculations in this index. Common values: cosine (default, measures angular similarity), euclidean (L2 distance), dotproduct (inner product). Must match what the vector database provider was configured with.
|
|
54257
|
+
*/
|
|
54258
|
+
get Metric(): string | null;
|
|
54259
|
+
set Metric(value: string | null);
|
|
54260
|
+
/**
|
|
54261
|
+
* * Field Name: ProviderConfig
|
|
54262
|
+
* * Display Name: Provider Configuration
|
|
54263
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
54264
|
+
* * Description: JSON object containing provider-specific configuration for this index. For Pinecone serverless: {"cloud":"aws","region":"us-east-1"}. For pod-based: {"environment":"us-east1-gcp","podType":"p1.x1","replicas":1}. Stored as a flexible JSON bag to support any provider without schema changes.
|
|
54265
|
+
*/
|
|
54266
|
+
get ProviderConfig(): string | null;
|
|
54267
|
+
set ProviderConfig(value: string | null);
|
|
54268
|
+
/**
|
|
53726
54269
|
* * Field Name: VectorDatabase
|
|
53727
|
-
* * Display Name: Vector Database
|
|
54270
|
+
* * Display Name: Vector Database Name
|
|
53728
54271
|
* * SQL Data Type: nvarchar(100)
|
|
53729
54272
|
*/
|
|
53730
54273
|
get VectorDatabase(): string;
|
|
53731
54274
|
/**
|
|
53732
54275
|
* * Field Name: EmbeddingModel
|
|
53733
|
-
* * Display Name: Embedding Model
|
|
54276
|
+
* * Display Name: Embedding Model Name
|
|
53734
54277
|
* * SQL Data Type: nvarchar(50)
|
|
53735
54278
|
*/
|
|
53736
54279
|
get EmbeddingModel(): string;
|