@memberjunction/core-entities 3.2.0 → 3.4.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/custom/UserViewEntity.d.ts +151 -0
- package/dist/custom/UserViewEntity.d.ts.map +1 -1
- package/dist/custom/UserViewEntity.js +16 -1
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/engines/MCPEngine.d.ts +149 -0
- package/dist/engines/MCPEngine.d.ts.map +1 -0
- package/dist/engines/MCPEngine.js +220 -0
- package/dist/engines/MCPEngine.js.map +1 -0
- package/dist/engines/UserInfoEngine.d.ts +63 -0
- package/dist/engines/UserInfoEngine.d.ts.map +1 -1
- package/dist/engines/UserInfoEngine.js +136 -0
- package/dist/engines/UserInfoEngine.js.map +1 -1
- package/dist/engines/dashboards.d.ts +17 -0
- package/dist/engines/dashboards.d.ts.map +1 -1
- package/dist/engines/dashboards.js +22 -0
- package/dist/engines/dashboards.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +2203 -109
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +3372 -298
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -240,7 +240,7 @@ export declare const ActionParamSchema: z.ZodObject<{
|
|
|
240
240
|
Name: z.ZodString;
|
|
241
241
|
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
242
242
|
Type: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
243
|
-
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"
|
|
243
|
+
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
|
|
244
244
|
IsArray: z.ZodBoolean;
|
|
245
245
|
Description: z.ZodNullable<z.ZodString>;
|
|
246
246
|
IsRequired: z.ZodBoolean;
|
|
@@ -613,6 +613,12 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
613
613
|
CompanyID: z.ZodNullable<z.ZodString>;
|
|
614
614
|
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
615
615
|
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
616
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
617
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
618
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
619
|
+
LastAccessedAt: z.ZodNullable<z.ZodDate>;
|
|
620
|
+
AccessCount: z.ZodNumber;
|
|
621
|
+
ExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
616
622
|
Agent: z.ZodNullable<z.ZodString>;
|
|
617
623
|
AgentNoteType: z.ZodNullable<z.ZodString>;
|
|
618
624
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -621,6 +627,7 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
621
627
|
SourceAIAgentRun: z.ZodNullable<z.ZodString>;
|
|
622
628
|
Company: z.ZodNullable<z.ZodString>;
|
|
623
629
|
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
630
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
624
631
|
}, "strip", z.ZodTypeAny, {
|
|
625
632
|
ID?: string;
|
|
626
633
|
Comments?: string;
|
|
@@ -641,12 +648,19 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
641
648
|
CompanyID?: string;
|
|
642
649
|
EmbeddingVector?: string;
|
|
643
650
|
EmbeddingModelID?: string;
|
|
651
|
+
PrimaryScopeEntityID?: string;
|
|
652
|
+
PrimaryScopeRecordID?: string;
|
|
653
|
+
SecondaryScopes?: string;
|
|
654
|
+
LastAccessedAt?: Date;
|
|
655
|
+
AccessCount?: number;
|
|
656
|
+
ExpiresAt?: Date;
|
|
644
657
|
AgentNoteType?: string;
|
|
645
658
|
SourceConversation?: string;
|
|
646
659
|
SourceConversationDetail?: string;
|
|
647
660
|
SourceAIAgentRun?: string;
|
|
648
661
|
Company?: string;
|
|
649
662
|
EmbeddingModel?: string;
|
|
663
|
+
PrimaryScopeEntity?: string;
|
|
650
664
|
}, {
|
|
651
665
|
ID?: string;
|
|
652
666
|
Comments?: string;
|
|
@@ -667,12 +681,19 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
667
681
|
CompanyID?: string;
|
|
668
682
|
EmbeddingVector?: string;
|
|
669
683
|
EmbeddingModelID?: string;
|
|
684
|
+
PrimaryScopeEntityID?: string;
|
|
685
|
+
PrimaryScopeRecordID?: string;
|
|
686
|
+
SecondaryScopes?: string;
|
|
687
|
+
LastAccessedAt?: Date;
|
|
688
|
+
AccessCount?: number;
|
|
689
|
+
ExpiresAt?: Date;
|
|
670
690
|
AgentNoteType?: string;
|
|
671
691
|
SourceConversation?: string;
|
|
672
692
|
SourceConversationDetail?: string;
|
|
673
693
|
SourceAIAgentRun?: string;
|
|
674
694
|
Company?: string;
|
|
675
695
|
EmbeddingModel?: string;
|
|
696
|
+
PrimaryScopeEntity?: string;
|
|
676
697
|
}>;
|
|
677
698
|
export type AIAgentNoteEntityType = z.infer<typeof AIAgentNoteSchema>;
|
|
678
699
|
/**
|
|
@@ -788,6 +809,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
788
809
|
AttachmentRootPath: z.ZodNullable<z.ZodString>;
|
|
789
810
|
InlineStorageThresholdBytes: z.ZodNullable<z.ZodNumber>;
|
|
790
811
|
AgentTypePromptParams: z.ZodNullable<z.ZodString>;
|
|
812
|
+
ScopeConfig: z.ZodNullable<z.ZodString>;
|
|
813
|
+
NoteRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
814
|
+
ExampleRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
815
|
+
AutoArchiveEnabled: z.ZodBoolean;
|
|
816
|
+
RerankerConfiguration: z.ZodNullable<z.ZodString>;
|
|
791
817
|
Parent: z.ZodNullable<z.ZodString>;
|
|
792
818
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
793
819
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -855,6 +881,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
855
881
|
AttachmentRootPath?: string;
|
|
856
882
|
InlineStorageThresholdBytes?: number;
|
|
857
883
|
AgentTypePromptParams?: string;
|
|
884
|
+
ScopeConfig?: string;
|
|
885
|
+
NoteRetentionDays?: number;
|
|
886
|
+
ExampleRetentionDays?: number;
|
|
887
|
+
AutoArchiveEnabled?: boolean;
|
|
888
|
+
RerankerConfiguration?: string;
|
|
858
889
|
ContextCompressionPrompt?: string;
|
|
859
890
|
DefaultArtifactType?: string;
|
|
860
891
|
OwnerUser?: string;
|
|
@@ -919,6 +950,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
919
950
|
AttachmentRootPath?: string;
|
|
920
951
|
InlineStorageThresholdBytes?: number;
|
|
921
952
|
AgentTypePromptParams?: string;
|
|
953
|
+
ScopeConfig?: string;
|
|
954
|
+
NoteRetentionDays?: number;
|
|
955
|
+
ExampleRetentionDays?: number;
|
|
956
|
+
AutoArchiveEnabled?: boolean;
|
|
957
|
+
RerankerConfiguration?: string;
|
|
922
958
|
ContextCompressionPrompt?: string;
|
|
923
959
|
DefaultArtifactType?: string;
|
|
924
960
|
OwnerUser?: string;
|
|
@@ -5060,6 +5096,7 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5060
5096
|
ID?: string;
|
|
5061
5097
|
__mj_CreatedAt?: Date;
|
|
5062
5098
|
__mj_UpdatedAt?: Date;
|
|
5099
|
+
ExpiresAt?: Date;
|
|
5063
5100
|
EntityID?: string;
|
|
5064
5101
|
Entity?: string;
|
|
5065
5102
|
RecordID?: string;
|
|
@@ -5070,13 +5107,13 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5070
5107
|
GranteeType?: "User" | "Role" | "Everyone" | "Public";
|
|
5071
5108
|
GranteeID?: string;
|
|
5072
5109
|
CanShare?: boolean;
|
|
5073
|
-
ExpiresAt?: Date;
|
|
5074
5110
|
GrantedByUserID?: string;
|
|
5075
5111
|
GrantedByUser?: string;
|
|
5076
5112
|
}, {
|
|
5077
5113
|
ID?: string;
|
|
5078
5114
|
__mj_CreatedAt?: Date;
|
|
5079
5115
|
__mj_UpdatedAt?: Date;
|
|
5116
|
+
ExpiresAt?: Date;
|
|
5080
5117
|
EntityID?: string;
|
|
5081
5118
|
Entity?: string;
|
|
5082
5119
|
RecordID?: string;
|
|
@@ -5087,7 +5124,6 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5087
5124
|
GranteeType?: "User" | "Role" | "Everyone" | "Public";
|
|
5088
5125
|
GranteeID?: string;
|
|
5089
5126
|
CanShare?: boolean;
|
|
5090
|
-
ExpiresAt?: Date;
|
|
5091
5127
|
GrantedByUserID?: string;
|
|
5092
5128
|
GrantedByUser?: string;
|
|
5093
5129
|
}>;
|
|
@@ -5270,6 +5306,12 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5270
5306
|
__mj_UpdatedAt: z.ZodDate;
|
|
5271
5307
|
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
5272
5308
|
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
5309
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
5310
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
5311
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
5312
|
+
LastAccessedAt: z.ZodNullable<z.ZodDate>;
|
|
5313
|
+
AccessCount: z.ZodNumber;
|
|
5314
|
+
ExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
5273
5315
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5274
5316
|
User: z.ZodNullable<z.ZodString>;
|
|
5275
5317
|
Company: z.ZodNullable<z.ZodString>;
|
|
@@ -5277,6 +5319,7 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5277
5319
|
SourceConversationDetail: z.ZodNullable<z.ZodString>;
|
|
5278
5320
|
SourceAIAgentRun: z.ZodNullable<z.ZodString>;
|
|
5279
5321
|
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
5322
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
5280
5323
|
}, "strip", z.ZodTypeAny, {
|
|
5281
5324
|
ID?: string;
|
|
5282
5325
|
Comments?: string;
|
|
@@ -5295,11 +5338,18 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5295
5338
|
CompanyID?: string;
|
|
5296
5339
|
EmbeddingVector?: string;
|
|
5297
5340
|
EmbeddingModelID?: string;
|
|
5341
|
+
PrimaryScopeEntityID?: string;
|
|
5342
|
+
PrimaryScopeRecordID?: string;
|
|
5343
|
+
SecondaryScopes?: string;
|
|
5344
|
+
LastAccessedAt?: Date;
|
|
5345
|
+
AccessCount?: number;
|
|
5346
|
+
ExpiresAt?: Date;
|
|
5298
5347
|
SourceConversation?: string;
|
|
5299
5348
|
SourceConversationDetail?: string;
|
|
5300
5349
|
SourceAIAgentRun?: string;
|
|
5301
5350
|
Company?: string;
|
|
5302
5351
|
EmbeddingModel?: string;
|
|
5352
|
+
PrimaryScopeEntity?: string;
|
|
5303
5353
|
ExampleInput?: string;
|
|
5304
5354
|
ExampleOutput?: string;
|
|
5305
5355
|
SuccessScore?: number;
|
|
@@ -5321,11 +5371,18 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5321
5371
|
CompanyID?: string;
|
|
5322
5372
|
EmbeddingVector?: string;
|
|
5323
5373
|
EmbeddingModelID?: string;
|
|
5374
|
+
PrimaryScopeEntityID?: string;
|
|
5375
|
+
PrimaryScopeRecordID?: string;
|
|
5376
|
+
SecondaryScopes?: string;
|
|
5377
|
+
LastAccessedAt?: Date;
|
|
5378
|
+
AccessCount?: number;
|
|
5379
|
+
ExpiresAt?: Date;
|
|
5324
5380
|
SourceConversation?: string;
|
|
5325
5381
|
SourceConversationDetail?: string;
|
|
5326
5382
|
SourceAIAgentRun?: string;
|
|
5327
5383
|
Company?: string;
|
|
5328
5384
|
EmbeddingModel?: string;
|
|
5385
|
+
PrimaryScopeEntity?: string;
|
|
5329
5386
|
ExampleInput?: string;
|
|
5330
5387
|
ExampleOutput?: string;
|
|
5331
5388
|
SuccessScore?: number;
|
|
@@ -5724,6 +5781,9 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5724
5781
|
Comments: z.ZodNullable<z.ZodString>;
|
|
5725
5782
|
ScheduledJobRunID: z.ZodNullable<z.ZodString>;
|
|
5726
5783
|
TestRunID: z.ZodNullable<z.ZodString>;
|
|
5784
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
5785
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
5786
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
5727
5787
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5728
5788
|
ParentRun: z.ZodNullable<z.ZodString>;
|
|
5729
5789
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
@@ -5735,6 +5795,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5735
5795
|
OverrideVendor: z.ZodNullable<z.ZodString>;
|
|
5736
5796
|
ScheduledJobRun: z.ZodNullable<z.ZodString>;
|
|
5737
5797
|
TestRun: z.ZodNullable<z.ZodString>;
|
|
5798
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
5738
5799
|
RootParentRunID: z.ZodNullable<z.ZodString>;
|
|
5739
5800
|
RootLastRunID: z.ZodNullable<z.ZodString>;
|
|
5740
5801
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5749,6 +5810,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5749
5810
|
User?: string;
|
|
5750
5811
|
AgentID?: string;
|
|
5751
5812
|
Agent?: string;
|
|
5813
|
+
PrimaryScopeEntityID?: string;
|
|
5814
|
+
PrimaryScopeRecordID?: string;
|
|
5815
|
+
SecondaryScopes?: string;
|
|
5816
|
+
PrimaryScopeEntity?: string;
|
|
5752
5817
|
Success?: boolean;
|
|
5753
5818
|
EffortLevel?: number;
|
|
5754
5819
|
ConfigurationID?: string;
|
|
@@ -5804,6 +5869,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5804
5869
|
User?: string;
|
|
5805
5870
|
AgentID?: string;
|
|
5806
5871
|
Agent?: string;
|
|
5872
|
+
PrimaryScopeEntityID?: string;
|
|
5873
|
+
PrimaryScopeRecordID?: string;
|
|
5874
|
+
SecondaryScopes?: string;
|
|
5875
|
+
PrimaryScopeEntity?: string;
|
|
5807
5876
|
Success?: boolean;
|
|
5808
5877
|
EffortLevel?: number;
|
|
5809
5878
|
ConfigurationID?: string;
|
|
@@ -7050,6 +7119,102 @@ export declare const AIVendorSchema: z.ZodObject<{
|
|
|
7050
7119
|
CredentialType?: string;
|
|
7051
7120
|
}>;
|
|
7052
7121
|
export type AIVendorEntityType = z.infer<typeof AIVendorSchema>;
|
|
7122
|
+
/**
|
|
7123
|
+
* zod schema definition for the entity MJ: API Application Scopes
|
|
7124
|
+
*/
|
|
7125
|
+
export declare const APIApplicationScopeSchema: z.ZodObject<{
|
|
7126
|
+
ID: z.ZodString;
|
|
7127
|
+
ApplicationID: z.ZodString;
|
|
7128
|
+
ScopeID: z.ZodString;
|
|
7129
|
+
ResourcePattern: z.ZodNullable<z.ZodString>;
|
|
7130
|
+
PatternType: z.ZodUnion<[z.ZodLiteral<"Exclude">, z.ZodLiteral<"Include">]>;
|
|
7131
|
+
IsDeny: z.ZodBoolean;
|
|
7132
|
+
Priority: z.ZodNumber;
|
|
7133
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7134
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7135
|
+
Application: z.ZodString;
|
|
7136
|
+
Scope: z.ZodString;
|
|
7137
|
+
}, "strip", z.ZodTypeAny, {
|
|
7138
|
+
ID?: string;
|
|
7139
|
+
__mj_CreatedAt?: Date;
|
|
7140
|
+
__mj_UpdatedAt?: Date;
|
|
7141
|
+
Priority?: number;
|
|
7142
|
+
ApplicationID?: string;
|
|
7143
|
+
Application?: string;
|
|
7144
|
+
Scope?: string;
|
|
7145
|
+
ScopeID?: string;
|
|
7146
|
+
ResourcePattern?: string;
|
|
7147
|
+
PatternType?: "Exclude" | "Include";
|
|
7148
|
+
IsDeny?: boolean;
|
|
7149
|
+
}, {
|
|
7150
|
+
ID?: string;
|
|
7151
|
+
__mj_CreatedAt?: Date;
|
|
7152
|
+
__mj_UpdatedAt?: Date;
|
|
7153
|
+
Priority?: number;
|
|
7154
|
+
ApplicationID?: string;
|
|
7155
|
+
Application?: string;
|
|
7156
|
+
Scope?: string;
|
|
7157
|
+
ScopeID?: string;
|
|
7158
|
+
ResourcePattern?: string;
|
|
7159
|
+
PatternType?: "Exclude" | "Include";
|
|
7160
|
+
IsDeny?: boolean;
|
|
7161
|
+
}>;
|
|
7162
|
+
export type APIApplicationScopeEntityType = z.infer<typeof APIApplicationScopeSchema>;
|
|
7163
|
+
/**
|
|
7164
|
+
* zod schema definition for the entity MJ: API Applications
|
|
7165
|
+
*/
|
|
7166
|
+
export declare const APIApplicationSchema: z.ZodObject<{
|
|
7167
|
+
ID: z.ZodString;
|
|
7168
|
+
Name: z.ZodString;
|
|
7169
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
7170
|
+
IsActive: z.ZodBoolean;
|
|
7171
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7172
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7173
|
+
}, "strip", z.ZodTypeAny, {
|
|
7174
|
+
ID?: string;
|
|
7175
|
+
__mj_CreatedAt?: Date;
|
|
7176
|
+
__mj_UpdatedAt?: Date;
|
|
7177
|
+
Name?: string;
|
|
7178
|
+
Description?: string;
|
|
7179
|
+
IsActive?: boolean;
|
|
7180
|
+
}, {
|
|
7181
|
+
ID?: string;
|
|
7182
|
+
__mj_CreatedAt?: Date;
|
|
7183
|
+
__mj_UpdatedAt?: Date;
|
|
7184
|
+
Name?: string;
|
|
7185
|
+
Description?: string;
|
|
7186
|
+
IsActive?: boolean;
|
|
7187
|
+
}>;
|
|
7188
|
+
export type APIApplicationEntityType = z.infer<typeof APIApplicationSchema>;
|
|
7189
|
+
/**
|
|
7190
|
+
* zod schema definition for the entity MJ: API Key Applications
|
|
7191
|
+
*/
|
|
7192
|
+
export declare const APIKeyApplicationSchema: z.ZodObject<{
|
|
7193
|
+
ID: z.ZodString;
|
|
7194
|
+
APIKeyID: z.ZodString;
|
|
7195
|
+
ApplicationID: z.ZodString;
|
|
7196
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7197
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7198
|
+
APIKey: z.ZodString;
|
|
7199
|
+
Application: z.ZodString;
|
|
7200
|
+
}, "strip", z.ZodTypeAny, {
|
|
7201
|
+
ID?: string;
|
|
7202
|
+
__mj_CreatedAt?: Date;
|
|
7203
|
+
__mj_UpdatedAt?: Date;
|
|
7204
|
+
ApplicationID?: string;
|
|
7205
|
+
Application?: string;
|
|
7206
|
+
APIKey?: string;
|
|
7207
|
+
APIKeyID?: string;
|
|
7208
|
+
}, {
|
|
7209
|
+
ID?: string;
|
|
7210
|
+
__mj_CreatedAt?: Date;
|
|
7211
|
+
__mj_UpdatedAt?: Date;
|
|
7212
|
+
ApplicationID?: string;
|
|
7213
|
+
Application?: string;
|
|
7214
|
+
APIKey?: string;
|
|
7215
|
+
APIKeyID?: string;
|
|
7216
|
+
}>;
|
|
7217
|
+
export type APIKeyApplicationEntityType = z.infer<typeof APIKeyApplicationSchema>;
|
|
7053
7218
|
/**
|
|
7054
7219
|
* zod schema definition for the entity MJ: API Key Scopes
|
|
7055
7220
|
*/
|
|
@@ -7059,24 +7224,36 @@ export declare const APIKeyScopeSchema: z.ZodObject<{
|
|
|
7059
7224
|
ScopeID: z.ZodString;
|
|
7060
7225
|
__mj_CreatedAt: z.ZodDate;
|
|
7061
7226
|
__mj_UpdatedAt: z.ZodDate;
|
|
7227
|
+
ResourcePattern: z.ZodNullable<z.ZodString>;
|
|
7228
|
+
PatternType: z.ZodUnion<[z.ZodLiteral<"Exclude">, z.ZodLiteral<"Include">]>;
|
|
7229
|
+
IsDeny: z.ZodBoolean;
|
|
7230
|
+
Priority: z.ZodNumber;
|
|
7062
7231
|
APIKey: z.ZodString;
|
|
7063
7232
|
Scope: z.ZodString;
|
|
7064
7233
|
}, "strip", z.ZodTypeAny, {
|
|
7065
7234
|
ID?: string;
|
|
7066
7235
|
__mj_CreatedAt?: Date;
|
|
7067
7236
|
__mj_UpdatedAt?: Date;
|
|
7237
|
+
Priority?: number;
|
|
7068
7238
|
APIKey?: string;
|
|
7069
7239
|
Scope?: string;
|
|
7070
|
-
APIKeyID?: string;
|
|
7071
7240
|
ScopeID?: string;
|
|
7241
|
+
ResourcePattern?: string;
|
|
7242
|
+
PatternType?: "Exclude" | "Include";
|
|
7243
|
+
IsDeny?: boolean;
|
|
7244
|
+
APIKeyID?: string;
|
|
7072
7245
|
}, {
|
|
7073
7246
|
ID?: string;
|
|
7074
7247
|
__mj_CreatedAt?: Date;
|
|
7075
7248
|
__mj_UpdatedAt?: Date;
|
|
7249
|
+
Priority?: number;
|
|
7076
7250
|
APIKey?: string;
|
|
7077
7251
|
Scope?: string;
|
|
7078
|
-
APIKeyID?: string;
|
|
7079
7252
|
ScopeID?: string;
|
|
7253
|
+
ResourcePattern?: string;
|
|
7254
|
+
PatternType?: "Exclude" | "Include";
|
|
7255
|
+
IsDeny?: boolean;
|
|
7256
|
+
APIKeyID?: string;
|
|
7080
7257
|
}>;
|
|
7081
7258
|
export type APIKeyScopeEntityType = z.infer<typeof APIKeyScopeSchema>;
|
|
7082
7259
|
/**
|
|
@@ -7094,11 +7271,19 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7094
7271
|
UserAgent: z.ZodNullable<z.ZodString>;
|
|
7095
7272
|
__mj_CreatedAt: z.ZodDate;
|
|
7096
7273
|
__mj_UpdatedAt: z.ZodDate;
|
|
7274
|
+
ApplicationID: z.ZodNullable<z.ZodString>;
|
|
7275
|
+
RequestedResource: z.ZodNullable<z.ZodString>;
|
|
7276
|
+
ScopesEvaluated: z.ZodNullable<z.ZodString>;
|
|
7277
|
+
AuthorizationResult: z.ZodUnion<[z.ZodLiteral<"Allowed">, z.ZodLiteral<"Denied">, z.ZodLiteral<"NoScopesRequired">]>;
|
|
7278
|
+
DeniedReason: z.ZodNullable<z.ZodString>;
|
|
7097
7279
|
APIKey: z.ZodString;
|
|
7280
|
+
Application: z.ZodNullable<z.ZodString>;
|
|
7098
7281
|
}, "strip", z.ZodTypeAny, {
|
|
7099
7282
|
ID?: string;
|
|
7100
7283
|
__mj_CreatedAt?: Date;
|
|
7101
7284
|
__mj_UpdatedAt?: Date;
|
|
7285
|
+
ApplicationID?: string;
|
|
7286
|
+
Application?: string;
|
|
7102
7287
|
APIKey?: string;
|
|
7103
7288
|
APIKeyID?: string;
|
|
7104
7289
|
Endpoint?: string;
|
|
@@ -7108,10 +7293,16 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7108
7293
|
ResponseTimeMs?: number;
|
|
7109
7294
|
IPAddress?: string;
|
|
7110
7295
|
UserAgent?: string;
|
|
7296
|
+
RequestedResource?: string;
|
|
7297
|
+
ScopesEvaluated?: string;
|
|
7298
|
+
AuthorizationResult?: "Allowed" | "Denied" | "NoScopesRequired";
|
|
7299
|
+
DeniedReason?: string;
|
|
7111
7300
|
}, {
|
|
7112
7301
|
ID?: string;
|
|
7113
7302
|
__mj_CreatedAt?: Date;
|
|
7114
7303
|
__mj_UpdatedAt?: Date;
|
|
7304
|
+
ApplicationID?: string;
|
|
7305
|
+
Application?: string;
|
|
7115
7306
|
APIKey?: string;
|
|
7116
7307
|
APIKeyID?: string;
|
|
7117
7308
|
Endpoint?: string;
|
|
@@ -7121,6 +7312,10 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7121
7312
|
ResponseTimeMs?: number;
|
|
7122
7313
|
IPAddress?: string;
|
|
7123
7314
|
UserAgent?: string;
|
|
7315
|
+
RequestedResource?: string;
|
|
7316
|
+
ScopesEvaluated?: string;
|
|
7317
|
+
AuthorizationResult?: "Allowed" | "Denied" | "NoScopesRequired";
|
|
7318
|
+
DeniedReason?: string;
|
|
7124
7319
|
}>;
|
|
7125
7320
|
export type APIKeyUsageLogEntityType = z.infer<typeof APIKeyUsageLogSchema>;
|
|
7126
7321
|
/**
|
|
@@ -7180,20 +7375,41 @@ export declare const APIScopeSchema: z.ZodObject<{
|
|
|
7180
7375
|
Description: z.ZodNullable<z.ZodString>;
|
|
7181
7376
|
__mj_CreatedAt: z.ZodDate;
|
|
7182
7377
|
__mj_UpdatedAt: z.ZodDate;
|
|
7378
|
+
ParentID: z.ZodNullable<z.ZodString>;
|
|
7379
|
+
FullPath: z.ZodString;
|
|
7380
|
+
ResourceType: z.ZodNullable<z.ZodString>;
|
|
7381
|
+
IsActive: z.ZodBoolean;
|
|
7382
|
+
UIConfig: z.ZodNullable<z.ZodString>;
|
|
7383
|
+
Parent: z.ZodNullable<z.ZodString>;
|
|
7384
|
+
RootParentID: z.ZodNullable<z.ZodString>;
|
|
7183
7385
|
}, "strip", z.ZodTypeAny, {
|
|
7184
7386
|
ID?: string;
|
|
7185
7387
|
__mj_CreatedAt?: Date;
|
|
7186
7388
|
__mj_UpdatedAt?: Date;
|
|
7187
7389
|
Name?: string;
|
|
7188
7390
|
Description?: string;
|
|
7391
|
+
ParentID?: string;
|
|
7392
|
+
Parent?: string;
|
|
7393
|
+
RootParentID?: string;
|
|
7189
7394
|
Category?: string;
|
|
7395
|
+
IsActive?: boolean;
|
|
7396
|
+
FullPath?: string;
|
|
7397
|
+
ResourceType?: string;
|
|
7398
|
+
UIConfig?: string;
|
|
7190
7399
|
}, {
|
|
7191
7400
|
ID?: string;
|
|
7192
7401
|
__mj_CreatedAt?: Date;
|
|
7193
7402
|
__mj_UpdatedAt?: Date;
|
|
7194
7403
|
Name?: string;
|
|
7195
7404
|
Description?: string;
|
|
7405
|
+
ParentID?: string;
|
|
7406
|
+
Parent?: string;
|
|
7407
|
+
RootParentID?: string;
|
|
7196
7408
|
Category?: string;
|
|
7409
|
+
IsActive?: boolean;
|
|
7410
|
+
FullPath?: string;
|
|
7411
|
+
ResourceType?: string;
|
|
7412
|
+
UIConfig?: string;
|
|
7197
7413
|
}>;
|
|
7198
7414
|
export type APIScopeEntityType = z.infer<typeof APIScopeSchema>;
|
|
7199
7415
|
/**
|
|
@@ -8665,11 +8881,11 @@ export declare const ListInvitationSchema: z.ZodObject<{
|
|
|
8665
8881
|
__mj_CreatedAt?: Date;
|
|
8666
8882
|
__mj_UpdatedAt?: Date;
|
|
8667
8883
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
8884
|
+
ExpiresAt?: Date;
|
|
8668
8885
|
Role?: "Editor" | "Viewer";
|
|
8669
8886
|
Email?: string;
|
|
8670
8887
|
List?: string;
|
|
8671
8888
|
ListID?: string;
|
|
8672
|
-
ExpiresAt?: Date;
|
|
8673
8889
|
CreatedByUserID?: string;
|
|
8674
8890
|
CreatedByUser?: string;
|
|
8675
8891
|
Token?: string;
|
|
@@ -8678,11 +8894,11 @@ export declare const ListInvitationSchema: z.ZodObject<{
|
|
|
8678
8894
|
__mj_CreatedAt?: Date;
|
|
8679
8895
|
__mj_UpdatedAt?: Date;
|
|
8680
8896
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
8897
|
+
ExpiresAt?: Date;
|
|
8681
8898
|
Role?: "Editor" | "Viewer";
|
|
8682
8899
|
Email?: string;
|
|
8683
8900
|
List?: string;
|
|
8684
8901
|
ListID?: string;
|
|
8685
|
-
ExpiresAt?: Date;
|
|
8686
8902
|
CreatedByUserID?: string;
|
|
8687
8903
|
CreatedByUser?: string;
|
|
8688
8904
|
Token?: string;
|
|
@@ -8723,6 +8939,354 @@ export declare const ListShareSchema: z.ZodObject<{
|
|
|
8723
8939
|
ListID?: string;
|
|
8724
8940
|
}>;
|
|
8725
8941
|
export type ListShareEntityType = z.infer<typeof ListShareSchema>;
|
|
8942
|
+
/**
|
|
8943
|
+
* zod schema definition for the entity MJ: MCP Server Connection Permissions
|
|
8944
|
+
*/
|
|
8945
|
+
export declare const MCPServerConnectionPermissionSchema: z.ZodObject<{
|
|
8946
|
+
ID: z.ZodString;
|
|
8947
|
+
MCPServerConnectionID: z.ZodString;
|
|
8948
|
+
UserID: z.ZodNullable<z.ZodString>;
|
|
8949
|
+
RoleID: z.ZodNullable<z.ZodString>;
|
|
8950
|
+
CanExecute: z.ZodBoolean;
|
|
8951
|
+
CanModify: z.ZodBoolean;
|
|
8952
|
+
CanViewCredentials: z.ZodBoolean;
|
|
8953
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8954
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8955
|
+
MCPServerConnection: z.ZodString;
|
|
8956
|
+
User: z.ZodNullable<z.ZodString>;
|
|
8957
|
+
Role: z.ZodNullable<z.ZodString>;
|
|
8958
|
+
}, "strip", z.ZodTypeAny, {
|
|
8959
|
+
ID?: string;
|
|
8960
|
+
__mj_CreatedAt?: Date;
|
|
8961
|
+
__mj_UpdatedAt?: Date;
|
|
8962
|
+
UserID?: string;
|
|
8963
|
+
User?: string;
|
|
8964
|
+
RoleID?: string;
|
|
8965
|
+
Role?: string;
|
|
8966
|
+
MCPServerConnectionID?: string;
|
|
8967
|
+
CanExecute?: boolean;
|
|
8968
|
+
CanModify?: boolean;
|
|
8969
|
+
CanViewCredentials?: boolean;
|
|
8970
|
+
MCPServerConnection?: string;
|
|
8971
|
+
}, {
|
|
8972
|
+
ID?: string;
|
|
8973
|
+
__mj_CreatedAt?: Date;
|
|
8974
|
+
__mj_UpdatedAt?: Date;
|
|
8975
|
+
UserID?: string;
|
|
8976
|
+
User?: string;
|
|
8977
|
+
RoleID?: string;
|
|
8978
|
+
Role?: string;
|
|
8979
|
+
MCPServerConnectionID?: string;
|
|
8980
|
+
CanExecute?: boolean;
|
|
8981
|
+
CanModify?: boolean;
|
|
8982
|
+
CanViewCredentials?: boolean;
|
|
8983
|
+
MCPServerConnection?: string;
|
|
8984
|
+
}>;
|
|
8985
|
+
export type MCPServerConnectionPermissionEntityType = z.infer<typeof MCPServerConnectionPermissionSchema>;
|
|
8986
|
+
/**
|
|
8987
|
+
* zod schema definition for the entity MJ: MCP Server Connection Tools
|
|
8988
|
+
*/
|
|
8989
|
+
export declare const MCPServerConnectionToolSchema: z.ZodObject<{
|
|
8990
|
+
ID: z.ZodString;
|
|
8991
|
+
MCPServerConnectionID: z.ZodString;
|
|
8992
|
+
MCPServerToolID: z.ZodString;
|
|
8993
|
+
IsEnabled: z.ZodBoolean;
|
|
8994
|
+
DefaultInputValues: z.ZodNullable<z.ZodString>;
|
|
8995
|
+
MaxCallsPerMinute: z.ZodNullable<z.ZodNumber>;
|
|
8996
|
+
__mj_CreatedAt: z.ZodDate;
|
|
8997
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
8998
|
+
MCPServerConnection: z.ZodString;
|
|
8999
|
+
MCPServerTool: z.ZodNullable<z.ZodString>;
|
|
9000
|
+
}, "strip", z.ZodTypeAny, {
|
|
9001
|
+
ID?: string;
|
|
9002
|
+
__mj_CreatedAt?: Date;
|
|
9003
|
+
__mj_UpdatedAt?: Date;
|
|
9004
|
+
IsEnabled?: boolean;
|
|
9005
|
+
MCPServerConnectionID?: string;
|
|
9006
|
+
MCPServerConnection?: string;
|
|
9007
|
+
MCPServerToolID?: string;
|
|
9008
|
+
DefaultInputValues?: string;
|
|
9009
|
+
MaxCallsPerMinute?: number;
|
|
9010
|
+
MCPServerTool?: string;
|
|
9011
|
+
}, {
|
|
9012
|
+
ID?: string;
|
|
9013
|
+
__mj_CreatedAt?: Date;
|
|
9014
|
+
__mj_UpdatedAt?: Date;
|
|
9015
|
+
IsEnabled?: boolean;
|
|
9016
|
+
MCPServerConnectionID?: string;
|
|
9017
|
+
MCPServerConnection?: string;
|
|
9018
|
+
MCPServerToolID?: string;
|
|
9019
|
+
DefaultInputValues?: string;
|
|
9020
|
+
MaxCallsPerMinute?: number;
|
|
9021
|
+
MCPServerTool?: string;
|
|
9022
|
+
}>;
|
|
9023
|
+
export type MCPServerConnectionToolEntityType = z.infer<typeof MCPServerConnectionToolSchema>;
|
|
9024
|
+
/**
|
|
9025
|
+
* zod schema definition for the entity MJ: MCP Server Connections
|
|
9026
|
+
*/
|
|
9027
|
+
export declare const MCPServerConnectionSchema: z.ZodObject<{
|
|
9028
|
+
ID: z.ZodString;
|
|
9029
|
+
MCPServerID: z.ZodString;
|
|
9030
|
+
Name: z.ZodString;
|
|
9031
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
9032
|
+
CredentialID: z.ZodNullable<z.ZodString>;
|
|
9033
|
+
CustomHeaderName: z.ZodNullable<z.ZodString>;
|
|
9034
|
+
CompanyID: z.ZodNullable<z.ZodString>;
|
|
9035
|
+
Status: z.ZodString;
|
|
9036
|
+
AutoSyncTools: z.ZodBoolean;
|
|
9037
|
+
AutoGenerateActions: z.ZodBoolean;
|
|
9038
|
+
LogToolCalls: z.ZodBoolean;
|
|
9039
|
+
LogInputParameters: z.ZodBoolean;
|
|
9040
|
+
LogOutputContent: z.ZodBoolean;
|
|
9041
|
+
MaxOutputLogSize: z.ZodNullable<z.ZodNumber>;
|
|
9042
|
+
LastConnectedAt: z.ZodNullable<z.ZodDate>;
|
|
9043
|
+
LastErrorMessage: z.ZodNullable<z.ZodString>;
|
|
9044
|
+
EnvironmentVars: z.ZodNullable<z.ZodString>;
|
|
9045
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9046
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9047
|
+
MCPServer: z.ZodString;
|
|
9048
|
+
Credential: z.ZodNullable<z.ZodString>;
|
|
9049
|
+
Company: z.ZodNullable<z.ZodString>;
|
|
9050
|
+
}, "strip", z.ZodTypeAny, {
|
|
9051
|
+
ID?: string;
|
|
9052
|
+
__mj_CreatedAt?: Date;
|
|
9053
|
+
__mj_UpdatedAt?: Date;
|
|
9054
|
+
Name?: string;
|
|
9055
|
+
Description?: string;
|
|
9056
|
+
Status?: string;
|
|
9057
|
+
CompanyID?: string;
|
|
9058
|
+
Company?: string;
|
|
9059
|
+
CredentialID?: string;
|
|
9060
|
+
Credential?: string;
|
|
9061
|
+
MCPServerID?: string;
|
|
9062
|
+
CustomHeaderName?: string;
|
|
9063
|
+
AutoSyncTools?: boolean;
|
|
9064
|
+
AutoGenerateActions?: boolean;
|
|
9065
|
+
LogToolCalls?: boolean;
|
|
9066
|
+
LogInputParameters?: boolean;
|
|
9067
|
+
LogOutputContent?: boolean;
|
|
9068
|
+
MaxOutputLogSize?: number;
|
|
9069
|
+
LastConnectedAt?: Date;
|
|
9070
|
+
LastErrorMessage?: string;
|
|
9071
|
+
EnvironmentVars?: string;
|
|
9072
|
+
MCPServer?: string;
|
|
9073
|
+
}, {
|
|
9074
|
+
ID?: string;
|
|
9075
|
+
__mj_CreatedAt?: Date;
|
|
9076
|
+
__mj_UpdatedAt?: Date;
|
|
9077
|
+
Name?: string;
|
|
9078
|
+
Description?: string;
|
|
9079
|
+
Status?: string;
|
|
9080
|
+
CompanyID?: string;
|
|
9081
|
+
Company?: string;
|
|
9082
|
+
CredentialID?: string;
|
|
9083
|
+
Credential?: string;
|
|
9084
|
+
MCPServerID?: string;
|
|
9085
|
+
CustomHeaderName?: string;
|
|
9086
|
+
AutoSyncTools?: boolean;
|
|
9087
|
+
AutoGenerateActions?: boolean;
|
|
9088
|
+
LogToolCalls?: boolean;
|
|
9089
|
+
LogInputParameters?: boolean;
|
|
9090
|
+
LogOutputContent?: boolean;
|
|
9091
|
+
MaxOutputLogSize?: number;
|
|
9092
|
+
LastConnectedAt?: Date;
|
|
9093
|
+
LastErrorMessage?: string;
|
|
9094
|
+
EnvironmentVars?: string;
|
|
9095
|
+
MCPServer?: string;
|
|
9096
|
+
}>;
|
|
9097
|
+
export type MCPServerConnectionEntityType = z.infer<typeof MCPServerConnectionSchema>;
|
|
9098
|
+
/**
|
|
9099
|
+
* zod schema definition for the entity MJ: MCP Server Tools
|
|
9100
|
+
*/
|
|
9101
|
+
export declare const MCPServerToolSchema: z.ZodObject<{
|
|
9102
|
+
ID: z.ZodString;
|
|
9103
|
+
MCPServerID: z.ZodString;
|
|
9104
|
+
ToolName: z.ZodString;
|
|
9105
|
+
ToolTitle: z.ZodNullable<z.ZodString>;
|
|
9106
|
+
ToolDescription: z.ZodNullable<z.ZodString>;
|
|
9107
|
+
InputSchema: z.ZodString;
|
|
9108
|
+
OutputSchema: z.ZodNullable<z.ZodString>;
|
|
9109
|
+
Annotations: z.ZodNullable<z.ZodString>;
|
|
9110
|
+
Status: z.ZodString;
|
|
9111
|
+
DiscoveredAt: z.ZodDate;
|
|
9112
|
+
LastSeenAt: z.ZodDate;
|
|
9113
|
+
GeneratedActionID: z.ZodNullable<z.ZodString>;
|
|
9114
|
+
GeneratedActionCategoryID: z.ZodNullable<z.ZodString>;
|
|
9115
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9116
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9117
|
+
MCPServer: z.ZodString;
|
|
9118
|
+
GeneratedAction: z.ZodNullable<z.ZodString>;
|
|
9119
|
+
GeneratedActionCategory: z.ZodNullable<z.ZodString>;
|
|
9120
|
+
}, "strip", z.ZodTypeAny, {
|
|
9121
|
+
ID?: string;
|
|
9122
|
+
__mj_CreatedAt?: Date;
|
|
9123
|
+
__mj_UpdatedAt?: Date;
|
|
9124
|
+
Status?: string;
|
|
9125
|
+
MCPServerID?: string;
|
|
9126
|
+
MCPServer?: string;
|
|
9127
|
+
ToolName?: string;
|
|
9128
|
+
ToolTitle?: string;
|
|
9129
|
+
ToolDescription?: string;
|
|
9130
|
+
InputSchema?: string;
|
|
9131
|
+
OutputSchema?: string;
|
|
9132
|
+
Annotations?: string;
|
|
9133
|
+
DiscoveredAt?: Date;
|
|
9134
|
+
LastSeenAt?: Date;
|
|
9135
|
+
GeneratedActionID?: string;
|
|
9136
|
+
GeneratedActionCategoryID?: string;
|
|
9137
|
+
GeneratedAction?: string;
|
|
9138
|
+
GeneratedActionCategory?: string;
|
|
9139
|
+
}, {
|
|
9140
|
+
ID?: string;
|
|
9141
|
+
__mj_CreatedAt?: Date;
|
|
9142
|
+
__mj_UpdatedAt?: Date;
|
|
9143
|
+
Status?: string;
|
|
9144
|
+
MCPServerID?: string;
|
|
9145
|
+
MCPServer?: string;
|
|
9146
|
+
ToolName?: string;
|
|
9147
|
+
ToolTitle?: string;
|
|
9148
|
+
ToolDescription?: string;
|
|
9149
|
+
InputSchema?: string;
|
|
9150
|
+
OutputSchema?: string;
|
|
9151
|
+
Annotations?: string;
|
|
9152
|
+
DiscoveredAt?: Date;
|
|
9153
|
+
LastSeenAt?: Date;
|
|
9154
|
+
GeneratedActionID?: string;
|
|
9155
|
+
GeneratedActionCategoryID?: string;
|
|
9156
|
+
GeneratedAction?: string;
|
|
9157
|
+
GeneratedActionCategory?: string;
|
|
9158
|
+
}>;
|
|
9159
|
+
export type MCPServerToolEntityType = z.infer<typeof MCPServerToolSchema>;
|
|
9160
|
+
/**
|
|
9161
|
+
* zod schema definition for the entity MJ: MCP Servers
|
|
9162
|
+
*/
|
|
9163
|
+
export declare const MCPServerSchema: z.ZodObject<{
|
|
9164
|
+
ID: z.ZodString;
|
|
9165
|
+
Name: z.ZodString;
|
|
9166
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
9167
|
+
ServerURL: z.ZodNullable<z.ZodString>;
|
|
9168
|
+
Command: z.ZodNullable<z.ZodString>;
|
|
9169
|
+
CommandArgs: z.ZodNullable<z.ZodString>;
|
|
9170
|
+
TransportType: z.ZodString;
|
|
9171
|
+
DefaultAuthType: z.ZodString;
|
|
9172
|
+
CredentialTypeID: z.ZodNullable<z.ZodString>;
|
|
9173
|
+
Status: z.ZodString;
|
|
9174
|
+
LastSyncAt: z.ZodNullable<z.ZodDate>;
|
|
9175
|
+
RateLimitPerMinute: z.ZodNullable<z.ZodNumber>;
|
|
9176
|
+
RateLimitPerHour: z.ZodNullable<z.ZodNumber>;
|
|
9177
|
+
ConnectionTimeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
9178
|
+
RequestTimeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
9179
|
+
DocumentationURL: z.ZodNullable<z.ZodString>;
|
|
9180
|
+
IconClass: z.ZodNullable<z.ZodString>;
|
|
9181
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9182
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9183
|
+
CredentialType: z.ZodNullable<z.ZodString>;
|
|
9184
|
+
}, "strip", z.ZodTypeAny, {
|
|
9185
|
+
ID?: string;
|
|
9186
|
+
__mj_CreatedAt?: Date;
|
|
9187
|
+
__mj_UpdatedAt?: Date;
|
|
9188
|
+
Name?: string;
|
|
9189
|
+
Description?: string;
|
|
9190
|
+
Status?: string;
|
|
9191
|
+
IconClass?: string;
|
|
9192
|
+
CredentialTypeID?: string;
|
|
9193
|
+
CredentialType?: string;
|
|
9194
|
+
ServerURL?: string;
|
|
9195
|
+
Command?: string;
|
|
9196
|
+
CommandArgs?: string;
|
|
9197
|
+
TransportType?: string;
|
|
9198
|
+
DefaultAuthType?: string;
|
|
9199
|
+
LastSyncAt?: Date;
|
|
9200
|
+
RateLimitPerMinute?: number;
|
|
9201
|
+
RateLimitPerHour?: number;
|
|
9202
|
+
ConnectionTimeoutMs?: number;
|
|
9203
|
+
RequestTimeoutMs?: number;
|
|
9204
|
+
DocumentationURL?: string;
|
|
9205
|
+
}, {
|
|
9206
|
+
ID?: string;
|
|
9207
|
+
__mj_CreatedAt?: Date;
|
|
9208
|
+
__mj_UpdatedAt?: Date;
|
|
9209
|
+
Name?: string;
|
|
9210
|
+
Description?: string;
|
|
9211
|
+
Status?: string;
|
|
9212
|
+
IconClass?: string;
|
|
9213
|
+
CredentialTypeID?: string;
|
|
9214
|
+
CredentialType?: string;
|
|
9215
|
+
ServerURL?: string;
|
|
9216
|
+
Command?: string;
|
|
9217
|
+
CommandArgs?: string;
|
|
9218
|
+
TransportType?: string;
|
|
9219
|
+
DefaultAuthType?: string;
|
|
9220
|
+
LastSyncAt?: Date;
|
|
9221
|
+
RateLimitPerMinute?: number;
|
|
9222
|
+
RateLimitPerHour?: number;
|
|
9223
|
+
ConnectionTimeoutMs?: number;
|
|
9224
|
+
RequestTimeoutMs?: number;
|
|
9225
|
+
DocumentationURL?: string;
|
|
9226
|
+
}>;
|
|
9227
|
+
export type MCPServerEntityType = z.infer<typeof MCPServerSchema>;
|
|
9228
|
+
/**
|
|
9229
|
+
* zod schema definition for the entity MJ: MCP Tool Execution Logs
|
|
9230
|
+
*/
|
|
9231
|
+
export declare const MCPToolExecutionLogSchema: z.ZodObject<{
|
|
9232
|
+
ID: z.ZodString;
|
|
9233
|
+
MCPServerConnectionID: z.ZodString;
|
|
9234
|
+
MCPServerToolID: z.ZodNullable<z.ZodString>;
|
|
9235
|
+
ToolName: z.ZodString;
|
|
9236
|
+
UserID: z.ZodString;
|
|
9237
|
+
StartedAt: z.ZodDate;
|
|
9238
|
+
EndedAt: z.ZodNullable<z.ZodDate>;
|
|
9239
|
+
DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
9240
|
+
Success: z.ZodBoolean;
|
|
9241
|
+
ErrorMessage: z.ZodNullable<z.ZodString>;
|
|
9242
|
+
InputParameters: z.ZodNullable<z.ZodString>;
|
|
9243
|
+
OutputContent: z.ZodNullable<z.ZodString>;
|
|
9244
|
+
OutputTruncated: z.ZodBoolean;
|
|
9245
|
+
__mj_CreatedAt: z.ZodDate;
|
|
9246
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
9247
|
+
MCPServerConnection: z.ZodString;
|
|
9248
|
+
MCPServerTool: z.ZodNullable<z.ZodString>;
|
|
9249
|
+
User: z.ZodString;
|
|
9250
|
+
}, "strip", z.ZodTypeAny, {
|
|
9251
|
+
ID?: string;
|
|
9252
|
+
__mj_CreatedAt?: Date;
|
|
9253
|
+
__mj_UpdatedAt?: Date;
|
|
9254
|
+
StartedAt?: Date;
|
|
9255
|
+
EndedAt?: Date;
|
|
9256
|
+
UserID?: string;
|
|
9257
|
+
User?: string;
|
|
9258
|
+
Success?: boolean;
|
|
9259
|
+
ErrorMessage?: string;
|
|
9260
|
+
MCPServerConnectionID?: string;
|
|
9261
|
+
MCPServerConnection?: string;
|
|
9262
|
+
MCPServerToolID?: string;
|
|
9263
|
+
MCPServerTool?: string;
|
|
9264
|
+
ToolName?: string;
|
|
9265
|
+
DurationMs?: number;
|
|
9266
|
+
InputParameters?: string;
|
|
9267
|
+
OutputContent?: string;
|
|
9268
|
+
OutputTruncated?: boolean;
|
|
9269
|
+
}, {
|
|
9270
|
+
ID?: string;
|
|
9271
|
+
__mj_CreatedAt?: Date;
|
|
9272
|
+
__mj_UpdatedAt?: Date;
|
|
9273
|
+
StartedAt?: Date;
|
|
9274
|
+
EndedAt?: Date;
|
|
9275
|
+
UserID?: string;
|
|
9276
|
+
User?: string;
|
|
9277
|
+
Success?: boolean;
|
|
9278
|
+
ErrorMessage?: string;
|
|
9279
|
+
MCPServerConnectionID?: string;
|
|
9280
|
+
MCPServerConnection?: string;
|
|
9281
|
+
MCPServerToolID?: string;
|
|
9282
|
+
MCPServerTool?: string;
|
|
9283
|
+
ToolName?: string;
|
|
9284
|
+
DurationMs?: number;
|
|
9285
|
+
InputParameters?: string;
|
|
9286
|
+
OutputContent?: string;
|
|
9287
|
+
OutputTruncated?: boolean;
|
|
9288
|
+
}>;
|
|
9289
|
+
export type MCPToolExecutionLogEntityType = z.infer<typeof MCPToolExecutionLogSchema>;
|
|
8726
9290
|
/**
|
|
8727
9291
|
* zod schema definition for the entity MJ: Projects
|
|
8728
9292
|
*/
|
|
@@ -8795,8 +9359,8 @@ export declare const PublicLinkSchema: z.ZodObject<{
|
|
|
8795
9359
|
User?: string;
|
|
8796
9360
|
IsActive?: boolean;
|
|
8797
9361
|
ExpiresAt?: Date;
|
|
8798
|
-
Token?: string;
|
|
8799
9362
|
ResourceType?: "Conversation" | "Artifact" | "Collection";
|
|
9363
|
+
Token?: string;
|
|
8800
9364
|
ResourceID?: string;
|
|
8801
9365
|
PasswordHash?: string;
|
|
8802
9366
|
MaxViews?: number;
|
|
@@ -8809,8 +9373,8 @@ export declare const PublicLinkSchema: z.ZodObject<{
|
|
|
8809
9373
|
User?: string;
|
|
8810
9374
|
IsActive?: boolean;
|
|
8811
9375
|
ExpiresAt?: Date;
|
|
8812
|
-
Token?: string;
|
|
8813
9376
|
ResourceType?: "Conversation" | "Artifact" | "Collection";
|
|
9377
|
+
Token?: string;
|
|
8814
9378
|
ResourceID?: string;
|
|
8815
9379
|
PasswordHash?: string;
|
|
8816
9380
|
MaxViews?: number;
|
|
@@ -13019,15 +13583,15 @@ export declare class ActionParamEntity extends BaseEntity<ActionParamEntityType>
|
|
|
13019
13583
|
* * BaseEntity Sub-Class
|
|
13020
13584
|
* * Other
|
|
13021
13585
|
* * MediaOutput
|
|
13022
|
-
* * Scalar
|
|
13023
13586
|
* * Other
|
|
13024
13587
|
* * Scalar
|
|
13588
|
+
* * Scalar
|
|
13025
13589
|
* * Simple Object
|
|
13026
13590
|
* * Simple Object
|
|
13027
13591
|
* * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
|
|
13028
13592
|
*/
|
|
13029
|
-
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
13030
|
-
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
13593
|
+
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
|
|
13594
|
+
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
|
|
13031
13595
|
/**
|
|
13032
13596
|
* * Field Name: IsArray
|
|
13033
13597
|
* * Display Name: Is Array
|
|
@@ -14080,7 +14644,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14080
14644
|
set ID(value: string);
|
|
14081
14645
|
/**
|
|
14082
14646
|
* * Field Name: AgentID
|
|
14083
|
-
* * Display Name: Agent
|
|
14647
|
+
* * Display Name: Agent
|
|
14084
14648
|
* * SQL Data Type: uniqueidentifier
|
|
14085
14649
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
14086
14650
|
*/
|
|
@@ -14088,7 +14652,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14088
14652
|
set AgentID(value: string | null);
|
|
14089
14653
|
/**
|
|
14090
14654
|
* * Field Name: AgentNoteTypeID
|
|
14091
|
-
* * Display Name: Agent Note Type
|
|
14655
|
+
* * Display Name: Agent Note Type
|
|
14092
14656
|
* * SQL Data Type: uniqueidentifier
|
|
14093
14657
|
* * Related Entity/Foreign Key: AI Agent Note Types (vwAIAgentNoteTypes.ID)
|
|
14094
14658
|
*/
|
|
@@ -14118,7 +14682,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14118
14682
|
get __mj_UpdatedAt(): Date;
|
|
14119
14683
|
/**
|
|
14120
14684
|
* * Field Name: UserID
|
|
14121
|
-
* * Display Name: User
|
|
14685
|
+
* * Display Name: User
|
|
14122
14686
|
* * SQL Data Type: uniqueidentifier
|
|
14123
14687
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
14124
14688
|
* * Description: Foreign key referencing the ID column in the User table, indicating the user associated with the note. Used when Type=User
|
|
@@ -14143,7 +14707,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14143
14707
|
set Type(value: 'Constraint' | 'Context' | 'Example' | 'Issue' | 'Preference');
|
|
14144
14708
|
/**
|
|
14145
14709
|
* * Field Name: IsAutoGenerated
|
|
14146
|
-
* * Display Name:
|
|
14710
|
+
* * Display Name: Auto Generated
|
|
14147
14711
|
* * SQL Data Type: bit
|
|
14148
14712
|
* * Default Value: 0
|
|
14149
14713
|
* * Description: Indicates whether this note was automatically generated by an AI agent (1) or manually created (0).
|
|
@@ -14174,7 +14738,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14174
14738
|
set Status(value: 'Active' | 'Pending' | 'Revoked');
|
|
14175
14739
|
/**
|
|
14176
14740
|
* * Field Name: SourceConversationID
|
|
14177
|
-
* * Display Name: Source Conversation
|
|
14741
|
+
* * Display Name: Source Conversation
|
|
14178
14742
|
* * SQL Data Type: uniqueidentifier
|
|
14179
14743
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
14180
14744
|
* * Description: Optional reference to the conversation that inspired or generated this note.
|
|
@@ -14183,7 +14747,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14183
14747
|
set SourceConversationID(value: string | null);
|
|
14184
14748
|
/**
|
|
14185
14749
|
* * Field Name: SourceConversationDetailID
|
|
14186
|
-
* * Display Name: Source Conversation Detail
|
|
14750
|
+
* * Display Name: Source Conversation Detail
|
|
14187
14751
|
* * SQL Data Type: uniqueidentifier
|
|
14188
14752
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
14189
14753
|
* * Description: Optional reference to the specific conversation message that inspired this note.
|
|
@@ -14192,7 +14756,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14192
14756
|
set SourceConversationDetailID(value: string | null);
|
|
14193
14757
|
/**
|
|
14194
14758
|
* * Field Name: SourceAIAgentRunID
|
|
14195
|
-
* * Display Name: Source AI Agent Run
|
|
14759
|
+
* * Display Name: Source AI Agent Run
|
|
14196
14760
|
* * SQL Data Type: uniqueidentifier
|
|
14197
14761
|
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
14198
14762
|
* * Description: Optional reference to the AI agent run that generated this note.
|
|
@@ -14201,7 +14765,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14201
14765
|
set SourceAIAgentRunID(value: string | null);
|
|
14202
14766
|
/**
|
|
14203
14767
|
* * Field Name: CompanyID
|
|
14204
|
-
* * Display Name: Company
|
|
14768
|
+
* * Display Name: Company
|
|
14205
14769
|
* * SQL Data Type: uniqueidentifier
|
|
14206
14770
|
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
14207
14771
|
* * Description: Optional company scope for this note. When populated with UserID, creates org+user specific notes.
|
|
@@ -14218,7 +14782,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14218
14782
|
set EmbeddingVector(value: string | null);
|
|
14219
14783
|
/**
|
|
14220
14784
|
* * Field Name: EmbeddingModelID
|
|
14221
|
-
* * Display Name: Embedding Model
|
|
14785
|
+
* * Display Name: Embedding Model
|
|
14222
14786
|
* * SQL Data Type: uniqueidentifier
|
|
14223
14787
|
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
14224
14788
|
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
@@ -14226,6 +14790,56 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14226
14790
|
get EmbeddingModelID(): string | null;
|
|
14227
14791
|
set EmbeddingModelID(value: string | null);
|
|
14228
14792
|
/**
|
|
14793
|
+
* * Field Name: PrimaryScopeEntityID
|
|
14794
|
+
* * Display Name: Primary Scope Entity
|
|
14795
|
+
* * SQL Data Type: uniqueidentifier
|
|
14796
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
14797
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping. NULL means this is a global note.
|
|
14798
|
+
*/
|
|
14799
|
+
get PrimaryScopeEntityID(): string | null;
|
|
14800
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
14801
|
+
/**
|
|
14802
|
+
* * Field Name: PrimaryScopeRecordID
|
|
14803
|
+
* * Display Name: Primary Scope Record
|
|
14804
|
+
* * SQL Data Type: nvarchar(100)
|
|
14805
|
+
* * Description: The record ID within the primary scope entity. NULL means global note. When set with empty SecondaryScopes, indicates primary-scope-only note.
|
|
14806
|
+
*/
|
|
14807
|
+
get PrimaryScopeRecordID(): string | null;
|
|
14808
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
14809
|
+
/**
|
|
14810
|
+
* * Field Name: SecondaryScopes
|
|
14811
|
+
* * Display Name: Secondary Scopes
|
|
14812
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
14813
|
+
* * Description: JSON object containing additional scope dimensions. Empty/NULL with PrimaryScopeRecordID set = org-level note. Populated = fully-scoped note.
|
|
14814
|
+
*/
|
|
14815
|
+
get SecondaryScopes(): string | null;
|
|
14816
|
+
set SecondaryScopes(value: string | null);
|
|
14817
|
+
/**
|
|
14818
|
+
* * Field Name: LastAccessedAt
|
|
14819
|
+
* * Display Name: Last Accessed At
|
|
14820
|
+
* * SQL Data Type: datetimeoffset
|
|
14821
|
+
* * Description: Timestamp of when this note was last accessed/injected into agent context. Used for lifecycle management and cleanup.
|
|
14822
|
+
*/
|
|
14823
|
+
get LastAccessedAt(): Date | null;
|
|
14824
|
+
set LastAccessedAt(value: Date | null);
|
|
14825
|
+
/**
|
|
14826
|
+
* * Field Name: AccessCount
|
|
14827
|
+
* * Display Name: Access Count
|
|
14828
|
+
* * SQL Data Type: int
|
|
14829
|
+
* * Default Value: 0
|
|
14830
|
+
* * Description: Number of times this note has been accessed/injected into agent context. Used for analytics and determining note value.
|
|
14831
|
+
*/
|
|
14832
|
+
get AccessCount(): number;
|
|
14833
|
+
set AccessCount(value: number);
|
|
14834
|
+
/**
|
|
14835
|
+
* * Field Name: ExpiresAt
|
|
14836
|
+
* * Display Name: Expires At
|
|
14837
|
+
* * SQL Data Type: datetimeoffset
|
|
14838
|
+
* * Description: Optional expiration timestamp. Notes past this date are candidates for archival. NULL means no expiration.
|
|
14839
|
+
*/
|
|
14840
|
+
get ExpiresAt(): Date | null;
|
|
14841
|
+
set ExpiresAt(value: Date | null);
|
|
14842
|
+
/**
|
|
14229
14843
|
* * Field Name: Agent
|
|
14230
14844
|
* * Display Name: Agent
|
|
14231
14845
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -14273,6 +14887,12 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14273
14887
|
* * SQL Data Type: nvarchar(50)
|
|
14274
14888
|
*/
|
|
14275
14889
|
get EmbeddingModel(): string | null;
|
|
14890
|
+
/**
|
|
14891
|
+
* * Field Name: PrimaryScopeEntity
|
|
14892
|
+
* * Display Name: Primary Scope Entity
|
|
14893
|
+
* * SQL Data Type: nvarchar(255)
|
|
14894
|
+
*/
|
|
14895
|
+
get PrimaryScopeEntity(): string | null;
|
|
14276
14896
|
}
|
|
14277
14897
|
/**
|
|
14278
14898
|
* AI Agent Requests - strongly typed entity sub-class
|
|
@@ -14557,7 +15177,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14557
15177
|
get __mj_UpdatedAt(): Date;
|
|
14558
15178
|
/**
|
|
14559
15179
|
* * Field Name: ParentID
|
|
14560
|
-
* * Display Name: Parent
|
|
15180
|
+
* * Display Name: Parent
|
|
14561
15181
|
* * SQL Data Type: uniqueidentifier
|
|
14562
15182
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
14563
15183
|
* * Description: References the parent agent in the hierarchical structure. If NULL, this is a root (top-level) agent.
|
|
@@ -14614,7 +15234,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14614
15234
|
set ContextCompressionMessageThreshold(value: number | null);
|
|
14615
15235
|
/**
|
|
14616
15236
|
* * Field Name: ContextCompressionPromptID
|
|
14617
|
-
* * Display Name: Context Compression Prompt
|
|
15237
|
+
* * Display Name: Context Compression Prompt ID
|
|
14618
15238
|
* * SQL Data Type: uniqueidentifier
|
|
14619
15239
|
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
14620
15240
|
*/
|
|
@@ -14630,7 +15250,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14630
15250
|
set ContextCompressionMessageRetentionCount(value: number | null);
|
|
14631
15251
|
/**
|
|
14632
15252
|
* * Field Name: TypeID
|
|
14633
|
-
* * Display Name:
|
|
15253
|
+
* * Display Name: Type
|
|
14634
15254
|
* * SQL Data Type: uniqueidentifier
|
|
14635
15255
|
* * Related Entity/Foreign Key: MJ: AI Agent Types (vwAIAgentTypes.ID)
|
|
14636
15256
|
* * Description: Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.
|
|
@@ -14861,7 +15481,7 @@ if this limit is exceeded.
|
|
|
14861
15481
|
set DefaultArtifactTypeID(value: string | null);
|
|
14862
15482
|
/**
|
|
14863
15483
|
* * Field Name: OwnerUserID
|
|
14864
|
-
* * Display Name: Owner User
|
|
15484
|
+
* * Display Name: Owner User ID
|
|
14865
15485
|
* * SQL Data Type: uniqueidentifier
|
|
14866
15486
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
14867
15487
|
* * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
|
|
@@ -15011,7 +15631,7 @@ if this limit is exceeded.
|
|
|
15011
15631
|
set MaxMessages(value: number | null);
|
|
15012
15632
|
/**
|
|
15013
15633
|
* * Field Name: AttachmentStorageProviderID
|
|
15014
|
-
* * Display Name: Attachment Storage Provider
|
|
15634
|
+
* * Display Name: Attachment Storage Provider ID
|
|
15015
15635
|
* * SQL Data Type: uniqueidentifier
|
|
15016
15636
|
* * Related Entity/Foreign Key: File Storage Providers (vwFileStorageProviders.ID)
|
|
15017
15637
|
* * Description: File storage provider for large attachments. Overrides the default from AIConfiguration. NULL uses system default.
|
|
@@ -15043,6 +15663,49 @@ if this limit is exceeded.
|
|
|
15043
15663
|
get AgentTypePromptParams(): string | null;
|
|
15044
15664
|
set AgentTypePromptParams(value: string | null);
|
|
15045
15665
|
/**
|
|
15666
|
+
* * Field Name: ScopeConfig
|
|
15667
|
+
* * Display Name: Scope Config
|
|
15668
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15669
|
+
* * Description: JSON configuration defining scope dimensions for multi-tenant deployments. Example: {"dimensions":[{"name":"OrganizationID","entityId":"...","isPrimary":true,"required":true},{"name":"ContactID","entityId":"...","isPrimary":false,"required":false}],"inheritanceMode":"cascading"}
|
|
15670
|
+
*/
|
|
15671
|
+
get ScopeConfig(): string | null;
|
|
15672
|
+
set ScopeConfig(value: string | null);
|
|
15673
|
+
/**
|
|
15674
|
+
* * Field Name: NoteRetentionDays
|
|
15675
|
+
* * Display Name: Note Retention Days
|
|
15676
|
+
* * SQL Data Type: int
|
|
15677
|
+
* * Default Value: 90
|
|
15678
|
+
* * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
|
|
15679
|
+
*/
|
|
15680
|
+
get NoteRetentionDays(): number | null;
|
|
15681
|
+
set NoteRetentionDays(value: number | null);
|
|
15682
|
+
/**
|
|
15683
|
+
* * Field Name: ExampleRetentionDays
|
|
15684
|
+
* * Display Name: Example Retention Days
|
|
15685
|
+
* * SQL Data Type: int
|
|
15686
|
+
* * Default Value: 180
|
|
15687
|
+
* * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
|
|
15688
|
+
*/
|
|
15689
|
+
get ExampleRetentionDays(): number | null;
|
|
15690
|
+
set ExampleRetentionDays(value: number | null);
|
|
15691
|
+
/**
|
|
15692
|
+
* * Field Name: AutoArchiveEnabled
|
|
15693
|
+
* * Display Name: Auto Archive Enabled
|
|
15694
|
+
* * SQL Data Type: bit
|
|
15695
|
+
* * Default Value: 1
|
|
15696
|
+
* * Description: Whether automatic archival of stale notes/examples is enabled for this agent. Default true.
|
|
15697
|
+
*/
|
|
15698
|
+
get AutoArchiveEnabled(): boolean;
|
|
15699
|
+
set AutoArchiveEnabled(value: boolean);
|
|
15700
|
+
/**
|
|
15701
|
+
* * Field Name: RerankerConfiguration
|
|
15702
|
+
* * Display Name: Reranker Configuration
|
|
15703
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15704
|
+
* * Description: JSON configuration for optional reranking of retrieved memory items. Schema: { enabled: boolean, rerankerModelId: string, retrievalMultiplier: number (default 3), minRelevanceThreshold: number (default 0.5), rerankPromptId?: string, contextFields?: string[], fallbackOnError: boolean (default true) }. When null or disabled, vector search results are used directly without reranking.
|
|
15705
|
+
*/
|
|
15706
|
+
get RerankerConfiguration(): string | null;
|
|
15707
|
+
set RerankerConfiguration(value: string | null);
|
|
15708
|
+
/**
|
|
15046
15709
|
* * Field Name: Parent
|
|
15047
15710
|
* * Display Name: Parent
|
|
15048
15711
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -16299,7 +16962,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16299
16962
|
set ID(value: string);
|
|
16300
16963
|
/**
|
|
16301
16964
|
* * Field Name: AIPromptID
|
|
16302
|
-
* * Display Name:
|
|
16965
|
+
* * Display Name: AI Prompt
|
|
16303
16966
|
* * SQL Data Type: uniqueidentifier
|
|
16304
16967
|
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
16305
16968
|
* * Description: Reference to the AI prompt this result corresponds to.
|
|
@@ -16308,7 +16971,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16308
16971
|
set AIPromptID(value: string);
|
|
16309
16972
|
/**
|
|
16310
16973
|
* * Field Name: AIModelID
|
|
16311
|
-
* * Display Name:
|
|
16974
|
+
* * Display Name: AI Model
|
|
16312
16975
|
* * SQL Data Type: uniqueidentifier
|
|
16313
16976
|
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
16314
16977
|
* * Description: Reference to the AI model that generated this result.
|
|
@@ -16375,7 +17038,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16375
17038
|
get __mj_UpdatedAt(): Date;
|
|
16376
17039
|
/**
|
|
16377
17040
|
* * Field Name: VendorID
|
|
16378
|
-
* * Display Name: Vendor
|
|
17041
|
+
* * Display Name: Vendor
|
|
16379
17042
|
* * SQL Data Type: uniqueidentifier
|
|
16380
17043
|
* * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
|
|
16381
17044
|
* * Description: The vendor that provided this result.
|
|
@@ -16384,7 +17047,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16384
17047
|
set VendorID(value: string | null);
|
|
16385
17048
|
/**
|
|
16386
17049
|
* * Field Name: AgentID
|
|
16387
|
-
* * Display Name: Agent
|
|
17050
|
+
* * Display Name: Agent
|
|
16388
17051
|
* * SQL Data Type: uniqueidentifier
|
|
16389
17052
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
16390
17053
|
* * Description: The agent that initiated the request, if any.
|
|
@@ -16393,7 +17056,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16393
17056
|
set AgentID(value: string | null);
|
|
16394
17057
|
/**
|
|
16395
17058
|
* * Field Name: ConfigurationID
|
|
16396
|
-
* * Display Name: Configuration
|
|
17059
|
+
* * Display Name: Configuration
|
|
16397
17060
|
* * SQL Data Type: uniqueidentifier
|
|
16398
17061
|
* * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
|
|
16399
17062
|
* * Description: The configuration used for this execution.
|
|
@@ -16410,7 +17073,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16410
17073
|
set PromptEmbedding(value: number | null);
|
|
16411
17074
|
/**
|
|
16412
17075
|
* * Field Name: PromptRunID
|
|
16413
|
-
* * Display Name: Prompt Run
|
|
17076
|
+
* * Display Name: Prompt Run
|
|
16414
17077
|
* * SQL Data Type: uniqueidentifier
|
|
16415
17078
|
* * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)
|
|
16416
17079
|
* * Description: Reference to the AIPromptRun that created this cache entry.
|
|
@@ -16419,13 +17082,13 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
16419
17082
|
set PromptRunID(value: string | null);
|
|
16420
17083
|
/**
|
|
16421
17084
|
* * Field Name: AIPrompt
|
|
16422
|
-
* * Display Name:
|
|
17085
|
+
* * Display Name: AI Prompt
|
|
16423
17086
|
* * SQL Data Type: nvarchar(255)
|
|
16424
17087
|
*/
|
|
16425
17088
|
get AIPrompt(): string;
|
|
16426
17089
|
/**
|
|
16427
17090
|
* * Field Name: AIModel
|
|
16428
|
-
* * Display Name:
|
|
17091
|
+
* * Display Name: AI Model
|
|
16429
17092
|
* * SQL Data Type: nvarchar(50)
|
|
16430
17093
|
*/
|
|
16431
17094
|
get AIModel(): string;
|
|
@@ -19896,7 +20559,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19896
20559
|
set ID(value: string);
|
|
19897
20560
|
/**
|
|
19898
20561
|
* * Field Name: UserID
|
|
19899
|
-
* * Display Name: User
|
|
20562
|
+
* * Display Name: User
|
|
19900
20563
|
* * SQL Data Type: uniqueidentifier
|
|
19901
20564
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
19902
20565
|
*/
|
|
@@ -19904,7 +20567,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19904
20567
|
set UserID(value: string);
|
|
19905
20568
|
/**
|
|
19906
20569
|
* * Field Name: ExternalID
|
|
19907
|
-
* * Display Name: External
|
|
20570
|
+
* * Display Name: External
|
|
19908
20571
|
* * SQL Data Type: nvarchar(500)
|
|
19909
20572
|
* * Description: External system identifier for cross-system conversation tracking.
|
|
19910
20573
|
*/
|
|
@@ -19935,7 +20598,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19935
20598
|
set Type(value: string);
|
|
19936
20599
|
/**
|
|
19937
20600
|
* * Field Name: IsArchived
|
|
19938
|
-
* * Display Name:
|
|
20601
|
+
* * Display Name: Archived
|
|
19939
20602
|
* * SQL Data Type: bit
|
|
19940
20603
|
* * Default Value: 0
|
|
19941
20604
|
* * Description: Indicates if this conversation has been archived and should not appear in active lists.
|
|
@@ -19944,7 +20607,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19944
20607
|
set IsArchived(value: boolean);
|
|
19945
20608
|
/**
|
|
19946
20609
|
* * Field Name: LinkedEntityID
|
|
19947
|
-
* * Display Name: Linked Entity
|
|
20610
|
+
* * Display Name: Linked Entity
|
|
19948
20611
|
* * SQL Data Type: uniqueidentifier
|
|
19949
20612
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
19950
20613
|
*/
|
|
@@ -19952,7 +20615,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19952
20615
|
set LinkedEntityID(value: string | null);
|
|
19953
20616
|
/**
|
|
19954
20617
|
* * Field Name: LinkedRecordID
|
|
19955
|
-
* * Display Name: Linked Record
|
|
20618
|
+
* * Display Name: Linked Record
|
|
19956
20619
|
* * SQL Data Type: nvarchar(500)
|
|
19957
20620
|
* * Description: ID of a related record this conversation is about (support ticket, order, etc.).
|
|
19958
20621
|
*/
|
|
@@ -19960,7 +20623,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19960
20623
|
set LinkedRecordID(value: string | null);
|
|
19961
20624
|
/**
|
|
19962
20625
|
* * Field Name: DataContextID
|
|
19963
|
-
* * Display Name: Data Context
|
|
20626
|
+
* * Display Name: Data Context
|
|
19964
20627
|
* * SQL Data Type: uniqueidentifier
|
|
19965
20628
|
* * Related Entity/Foreign Key: Data Contexts (vwDataContexts.ID)
|
|
19966
20629
|
*/
|
|
@@ -19995,7 +20658,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
19995
20658
|
set Status(value: 'Available' | 'Processing');
|
|
19996
20659
|
/**
|
|
19997
20660
|
* * Field Name: EnvironmentID
|
|
19998
|
-
* * Display Name: Environment
|
|
20661
|
+
* * Display Name: Environment
|
|
19999
20662
|
* * SQL Data Type: uniqueidentifier
|
|
20000
20663
|
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
20001
20664
|
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
@@ -20004,7 +20667,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
20004
20667
|
set EnvironmentID(value: string);
|
|
20005
20668
|
/**
|
|
20006
20669
|
* * Field Name: ProjectID
|
|
20007
|
-
* * Display Name: Project
|
|
20670
|
+
* * Display Name: Project
|
|
20008
20671
|
* * SQL Data Type: uniqueidentifier
|
|
20009
20672
|
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
20010
20673
|
*/
|
|
@@ -20012,7 +20675,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
20012
20675
|
set ProjectID(value: string | null);
|
|
20013
20676
|
/**
|
|
20014
20677
|
* * Field Name: IsPinned
|
|
20015
|
-
* * Display Name:
|
|
20678
|
+
* * Display Name: Pinned
|
|
20016
20679
|
* * SQL Data Type: bit
|
|
20017
20680
|
* * Default Value: 0
|
|
20018
20681
|
* * Description: Indicates if this conversation is pinned to the top of lists
|
|
@@ -20021,7 +20684,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
20021
20684
|
set IsPinned(value: boolean);
|
|
20022
20685
|
/**
|
|
20023
20686
|
* * Field Name: TestRunID
|
|
20024
|
-
* * Display Name: Test Run
|
|
20687
|
+
* * Display Name: Test Run
|
|
20025
20688
|
* * SQL Data Type: uniqueidentifier
|
|
20026
20689
|
* * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
|
|
20027
20690
|
* * Description: Optional Foreign Key - Links this conversation to a test run if this conversation was generated as part of a test. Enables tracking test conversations separately from production conversations.
|
|
@@ -20964,7 +21627,7 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
|
|
|
20964
21627
|
set ID(value: string);
|
|
20965
21628
|
/**
|
|
20966
21629
|
* * Field Name: DuplicateRunID
|
|
20967
|
-
* * Display Name: Duplicate Run
|
|
21630
|
+
* * Display Name: Duplicate Run
|
|
20968
21631
|
* * SQL Data Type: uniqueidentifier
|
|
20969
21632
|
* * Related Entity/Foreign Key: Duplicate Runs (vwDuplicateRuns.ID)
|
|
20970
21633
|
*/
|
|
@@ -21242,6 +21905,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21242
21905
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
21243
21906
|
/**
|
|
21244
21907
|
* * Field Name: ID
|
|
21908
|
+
* * Display Name: ID
|
|
21245
21909
|
* * SQL Data Type: uniqueidentifier
|
|
21246
21910
|
* * Default Value: newsequentialid()
|
|
21247
21911
|
*/
|
|
@@ -21249,7 +21913,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21249
21913
|
set ID(value: string);
|
|
21250
21914
|
/**
|
|
21251
21915
|
* * Field Name: EmployeeID
|
|
21252
|
-
* * Display Name: Employee
|
|
21916
|
+
* * Display Name: Employee
|
|
21253
21917
|
* * SQL Data Type: uniqueidentifier
|
|
21254
21918
|
* * Related Entity/Foreign Key: Employees (vwEmployees.ID)
|
|
21255
21919
|
*/
|
|
@@ -21257,7 +21921,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21257
21921
|
set EmployeeID(value: string);
|
|
21258
21922
|
/**
|
|
21259
21923
|
* * Field Name: CompanyIntegrationID
|
|
21260
|
-
* * Display Name: Company Integration
|
|
21924
|
+
* * Display Name: Company Integration
|
|
21261
21925
|
* * SQL Data Type: uniqueidentifier
|
|
21262
21926
|
* * Related Entity/Foreign Key: Company Integrations (vwCompanyIntegrations.ID)
|
|
21263
21927
|
*/
|
|
@@ -21265,7 +21929,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21265
21929
|
set CompanyIntegrationID(value: string);
|
|
21266
21930
|
/**
|
|
21267
21931
|
* * Field Name: ExternalSystemRecordID
|
|
21268
|
-
* * Display Name: External System Record
|
|
21932
|
+
* * Display Name: External System Record ID
|
|
21269
21933
|
* * SQL Data Type: nvarchar(750)
|
|
21270
21934
|
* * Description: The employee's unique identifier in the external integrated system.
|
|
21271
21935
|
*/
|
|
@@ -21273,7 +21937,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21273
21937
|
set ExternalSystemRecordID(value: string);
|
|
21274
21938
|
/**
|
|
21275
21939
|
* * Field Name: IsActive
|
|
21276
|
-
* * Display Name:
|
|
21940
|
+
* * Display Name: Active
|
|
21277
21941
|
* * SQL Data Type: bit
|
|
21278
21942
|
* * Default Value: 1
|
|
21279
21943
|
* * Description: Indicates if this employee integration mapping is currently active.
|
|
@@ -21296,7 +21960,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
21296
21960
|
get __mj_UpdatedAt(): Date;
|
|
21297
21961
|
/**
|
|
21298
21962
|
* * Field Name: Employee
|
|
21299
|
-
* * Display Name: Employee
|
|
21963
|
+
* * Display Name: Employee Name
|
|
21300
21964
|
* * SQL Data Type: nvarchar(81)
|
|
21301
21965
|
*/
|
|
21302
21966
|
get Employee(): string | null;
|
|
@@ -21341,7 +22005,7 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
|
|
|
21341
22005
|
set ID(value: string);
|
|
21342
22006
|
/**
|
|
21343
22007
|
* * Field Name: EmployeeID
|
|
21344
|
-
* * Display Name: Employee
|
|
22008
|
+
* * Display Name: Employee
|
|
21345
22009
|
* * SQL Data Type: uniqueidentifier
|
|
21346
22010
|
* * Related Entity/Foreign Key: Employees (vwEmployees.ID)
|
|
21347
22011
|
*/
|
|
@@ -21349,7 +22013,7 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
|
|
|
21349
22013
|
set EmployeeID(value: string);
|
|
21350
22014
|
/**
|
|
21351
22015
|
* * Field Name: RoleID
|
|
21352
|
-
* * Display Name: Role
|
|
22016
|
+
* * Display Name: Role
|
|
21353
22017
|
* * SQL Data Type: uniqueidentifier
|
|
21354
22018
|
* * Related Entity/Foreign Key: Roles (vwRoles.ID)
|
|
21355
22019
|
*/
|
|
@@ -21357,21 +22021,21 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
|
|
|
21357
22021
|
set RoleID(value: string);
|
|
21358
22022
|
/**
|
|
21359
22023
|
* * Field Name: __mj_CreatedAt
|
|
21360
|
-
* * Display Name:
|
|
22024
|
+
* * Display Name: Created At
|
|
21361
22025
|
* * SQL Data Type: datetimeoffset
|
|
21362
22026
|
* * Default Value: getutcdate()
|
|
21363
22027
|
*/
|
|
21364
22028
|
get __mj_CreatedAt(): Date;
|
|
21365
22029
|
/**
|
|
21366
22030
|
* * Field Name: __mj_UpdatedAt
|
|
21367
|
-
* * Display Name:
|
|
22031
|
+
* * Display Name: Updated At
|
|
21368
22032
|
* * SQL Data Type: datetimeoffset
|
|
21369
22033
|
* * Default Value: getutcdate()
|
|
21370
22034
|
*/
|
|
21371
22035
|
get __mj_UpdatedAt(): Date;
|
|
21372
22036
|
/**
|
|
21373
22037
|
* * Field Name: Employee
|
|
21374
|
-
* * Display Name: Employee
|
|
22038
|
+
* * Display Name: Employee Name
|
|
21375
22039
|
* * SQL Data Type: nvarchar(81)
|
|
21376
22040
|
*/
|
|
21377
22041
|
get Employee(): string | null;
|
|
@@ -21416,7 +22080,7 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
|
|
|
21416
22080
|
set ID(value: string);
|
|
21417
22081
|
/**
|
|
21418
22082
|
* * Field Name: EmployeeID
|
|
21419
|
-
* * Display Name: Employee
|
|
22083
|
+
* * Display Name: Employee
|
|
21420
22084
|
* * SQL Data Type: uniqueidentifier
|
|
21421
22085
|
* * Related Entity/Foreign Key: Employees (vwEmployees.ID)
|
|
21422
22086
|
*/
|
|
@@ -21424,7 +22088,7 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
|
|
|
21424
22088
|
set EmployeeID(value: string);
|
|
21425
22089
|
/**
|
|
21426
22090
|
* * Field Name: SkillID
|
|
21427
|
-
* * Display Name: Skill
|
|
22091
|
+
* * Display Name: Skill
|
|
21428
22092
|
* * SQL Data Type: uniqueidentifier
|
|
21429
22093
|
* * Related Entity/Foreign Key: Skills (vwSkills.ID)
|
|
21430
22094
|
*/
|
|
@@ -21432,14 +22096,14 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
|
|
|
21432
22096
|
set SkillID(value: string);
|
|
21433
22097
|
/**
|
|
21434
22098
|
* * Field Name: __mj_CreatedAt
|
|
21435
|
-
* * Display Name:
|
|
22099
|
+
* * Display Name: Created At
|
|
21436
22100
|
* * SQL Data Type: datetimeoffset
|
|
21437
22101
|
* * Default Value: getutcdate()
|
|
21438
22102
|
*/
|
|
21439
22103
|
get __mj_CreatedAt(): Date;
|
|
21440
22104
|
/**
|
|
21441
22105
|
* * Field Name: __mj_UpdatedAt
|
|
21442
|
-
* * Display Name:
|
|
22106
|
+
* * Display Name: Updated At
|
|
21443
22107
|
* * SQL Data Type: datetimeoffset
|
|
21444
22108
|
* * Default Value: getutcdate()
|
|
21445
22109
|
*/
|
|
@@ -22213,7 +22877,7 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
|
|
|
22213
22877
|
set ID(value: string);
|
|
22214
22878
|
/**
|
|
22215
22879
|
* * Field Name: EntityActionID
|
|
22216
|
-
* * Display Name: Entity Action
|
|
22880
|
+
* * Display Name: Entity Action
|
|
22217
22881
|
* * SQL Data Type: uniqueidentifier
|
|
22218
22882
|
* * Related Entity/Foreign Key: Entity Actions (vwEntityActions.ID)
|
|
22219
22883
|
*/
|
|
@@ -22221,7 +22885,7 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
|
|
|
22221
22885
|
set EntityActionID(value: string);
|
|
22222
22886
|
/**
|
|
22223
22887
|
* * Field Name: ActionFilterID
|
|
22224
|
-
* * Display Name: Action Filter
|
|
22888
|
+
* * Display Name: Action Filter
|
|
22225
22889
|
* * SQL Data Type: uniqueidentifier
|
|
22226
22890
|
* * Related Entity/Foreign Key: Action Filters (vwActionFilters.ID)
|
|
22227
22891
|
*/
|
|
@@ -22251,14 +22915,14 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
|
|
|
22251
22915
|
set Status(value: 'Active' | 'Disabled' | 'Pending');
|
|
22252
22916
|
/**
|
|
22253
22917
|
* * Field Name: __mj_CreatedAt
|
|
22254
|
-
* * Display Name:
|
|
22918
|
+
* * Display Name: Created At
|
|
22255
22919
|
* * SQL Data Type: datetimeoffset
|
|
22256
22920
|
* * Default Value: getutcdate()
|
|
22257
22921
|
*/
|
|
22258
22922
|
get __mj_CreatedAt(): Date;
|
|
22259
22923
|
/**
|
|
22260
22924
|
* * Field Name: __mj_UpdatedAt
|
|
22261
|
-
* * Display Name:
|
|
22925
|
+
* * Display Name: Updated At
|
|
22262
22926
|
* * SQL Data Type: datetimeoffset
|
|
22263
22927
|
* * Default Value: getutcdate()
|
|
22264
22928
|
*/
|
|
@@ -22382,7 +23046,7 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
22382
23046
|
set ID(value: string);
|
|
22383
23047
|
/**
|
|
22384
23048
|
* * Field Name: EntityActionID
|
|
22385
|
-
* * Display Name: Entity Action
|
|
23049
|
+
* * Display Name: Entity Action
|
|
22386
23050
|
* * SQL Data Type: uniqueidentifier
|
|
22387
23051
|
* * Related Entity/Foreign Key: Entity Actions (vwEntityActions.ID)
|
|
22388
23052
|
*/
|
|
@@ -22390,7 +23054,7 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
22390
23054
|
set EntityActionID(value: string);
|
|
22391
23055
|
/**
|
|
22392
23056
|
* * Field Name: InvocationTypeID
|
|
22393
|
-
* * Display Name: Invocation Type
|
|
23057
|
+
* * Display Name: Invocation Type
|
|
22394
23058
|
* * SQL Data Type: uniqueidentifier
|
|
22395
23059
|
* * Related Entity/Foreign Key: Entity Action Invocation Types (vwEntityActionInvocationTypes.ID)
|
|
22396
23060
|
*/
|
|
@@ -22412,21 +23076,21 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
22412
23076
|
set Status(value: 'Active' | 'Disabled' | 'Pending');
|
|
22413
23077
|
/**
|
|
22414
23078
|
* * Field Name: __mj_CreatedAt
|
|
22415
|
-
* * Display Name:
|
|
23079
|
+
* * Display Name: Created At
|
|
22416
23080
|
* * SQL Data Type: datetimeoffset
|
|
22417
23081
|
* * Default Value: getutcdate()
|
|
22418
23082
|
*/
|
|
22419
23083
|
get __mj_CreatedAt(): Date;
|
|
22420
23084
|
/**
|
|
22421
23085
|
* * Field Name: __mj_UpdatedAt
|
|
22422
|
-
* * Display Name:
|
|
23086
|
+
* * Display Name: Updated At
|
|
22423
23087
|
* * SQL Data Type: datetimeoffset
|
|
22424
23088
|
* * Default Value: getutcdate()
|
|
22425
23089
|
*/
|
|
22426
23090
|
get __mj_UpdatedAt(): Date;
|
|
22427
23091
|
/**
|
|
22428
23092
|
* * Field Name: EntityAction
|
|
22429
|
-
* * Display Name:
|
|
23093
|
+
* * Display Name: Action
|
|
22430
23094
|
* * SQL Data Type: nvarchar(425)
|
|
22431
23095
|
*/
|
|
22432
23096
|
get EntityAction(): string;
|
|
@@ -22471,7 +23135,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
22471
23135
|
set ID(value: string);
|
|
22472
23136
|
/**
|
|
22473
23137
|
* * Field Name: EntityActionID
|
|
22474
|
-
* * Display Name: Entity Action
|
|
23138
|
+
* * Display Name: Entity Action
|
|
22475
23139
|
* * SQL Data Type: uniqueidentifier
|
|
22476
23140
|
* * Related Entity/Foreign Key: Entity Actions (vwEntityActions.ID)
|
|
22477
23141
|
*/
|
|
@@ -22479,7 +23143,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
22479
23143
|
set EntityActionID(value: string);
|
|
22480
23144
|
/**
|
|
22481
23145
|
* * Field Name: ActionParamID
|
|
22482
|
-
* * Display Name: Action
|
|
23146
|
+
* * Display Name: Action Parameter
|
|
22483
23147
|
* * SQL Data Type: uniqueidentifier
|
|
22484
23148
|
* * Related Entity/Foreign Key: Action Params (vwActionParams.ID)
|
|
22485
23149
|
*/
|
|
@@ -22537,7 +23201,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
22537
23201
|
get EntityAction(): string;
|
|
22538
23202
|
/**
|
|
22539
23203
|
* * Field Name: ActionParam
|
|
22540
|
-
* * Display Name: Action
|
|
23204
|
+
* * Display Name: Action Parameter
|
|
22541
23205
|
* * SQL Data Type: nvarchar(255)
|
|
22542
23206
|
*/
|
|
22543
23207
|
get ActionParam(): string;
|
|
@@ -22842,7 +23506,7 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
|
|
|
22842
23506
|
set ID(value: string);
|
|
22843
23507
|
/**
|
|
22844
23508
|
* * Field Name: EntityCommunicationMessageTypeID
|
|
22845
|
-
* * Display Name:
|
|
23509
|
+
* * Display Name: Message Type ID
|
|
22846
23510
|
* * SQL Data Type: uniqueidentifier
|
|
22847
23511
|
* * Related Entity/Foreign Key: Entity Communication Message Types (vwEntityCommunicationMessageTypes.ID)
|
|
22848
23512
|
*/
|
|
@@ -22866,21 +23530,21 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
|
|
|
22866
23530
|
set Priority(value: number);
|
|
22867
23531
|
/**
|
|
22868
23532
|
* * Field Name: __mj_CreatedAt
|
|
22869
|
-
* * Display Name:
|
|
23533
|
+
* * Display Name: Created At
|
|
22870
23534
|
* * SQL Data Type: datetimeoffset
|
|
22871
23535
|
* * Default Value: getutcdate()
|
|
22872
23536
|
*/
|
|
22873
23537
|
get __mj_CreatedAt(): Date;
|
|
22874
23538
|
/**
|
|
22875
23539
|
* * Field Name: __mj_UpdatedAt
|
|
22876
|
-
* * Display Name:
|
|
23540
|
+
* * Display Name: Updated At
|
|
22877
23541
|
* * SQL Data Type: datetimeoffset
|
|
22878
23542
|
* * Default Value: getutcdate()
|
|
22879
23543
|
*/
|
|
22880
23544
|
get __mj_UpdatedAt(): Date;
|
|
22881
23545
|
/**
|
|
22882
23546
|
* * Field Name: EntityCommunicationMessageType
|
|
22883
|
-
* * Display Name:
|
|
23547
|
+
* * Display Name: Message Type
|
|
22884
23548
|
* * SQL Data Type: nvarchar(100)
|
|
22885
23549
|
*/
|
|
22886
23550
|
get EntityCommunicationMessageType(): string;
|
|
@@ -24847,6 +25511,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24847
25511
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
24848
25512
|
/**
|
|
24849
25513
|
* * Field Name: ID
|
|
25514
|
+
* * Display Name: ID
|
|
24850
25515
|
* * SQL Data Type: uniqueidentifier
|
|
24851
25516
|
* * Default Value: newsequentialid()
|
|
24852
25517
|
*/
|
|
@@ -24854,7 +25519,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24854
25519
|
set ID(value: string);
|
|
24855
25520
|
/**
|
|
24856
25521
|
* * Field Name: CompanyIntegrationRunID
|
|
24857
|
-
* * Display Name:
|
|
25522
|
+
* * Display Name: Company Integration Run ID
|
|
24858
25523
|
* * SQL Data Type: uniqueidentifier
|
|
24859
25524
|
* * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
|
|
24860
25525
|
*/
|
|
@@ -24862,7 +25527,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24862
25527
|
set CompanyIntegrationRunID(value: string | null);
|
|
24863
25528
|
/**
|
|
24864
25529
|
* * Field Name: CompanyIntegrationRunDetailID
|
|
24865
|
-
* * Display Name:
|
|
25530
|
+
* * Display Name: Company Integration Run Detail ID
|
|
24866
25531
|
* * SQL Data Type: uniqueidentifier
|
|
24867
25532
|
* * Related Entity/Foreign Key: Company Integration Run Details (vwCompanyIntegrationRunDetails.ID)
|
|
24868
25533
|
*/
|
|
@@ -24870,6 +25535,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24870
25535
|
set CompanyIntegrationRunDetailID(value: string | null);
|
|
24871
25536
|
/**
|
|
24872
25537
|
* * Field Name: Code
|
|
25538
|
+
* * Display Name: Code
|
|
24873
25539
|
* * SQL Data Type: nchar(20)
|
|
24874
25540
|
* * Description: Error code for categorizing and handling specific error types.
|
|
24875
25541
|
*/
|
|
@@ -24877,6 +25543,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24877
25543
|
set Code(value: string | null);
|
|
24878
25544
|
/**
|
|
24879
25545
|
* * Field Name: Message
|
|
25546
|
+
* * Display Name: Message
|
|
24880
25547
|
* * SQL Data Type: nvarchar(MAX)
|
|
24881
25548
|
* * Description: The primary error message describing what went wrong.
|
|
24882
25549
|
*/
|
|
@@ -24893,12 +25560,14 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24893
25560
|
set CreatedBy(value: string | null);
|
|
24894
25561
|
/**
|
|
24895
25562
|
* * Field Name: Status
|
|
25563
|
+
* * Display Name: Status
|
|
24896
25564
|
* * SQL Data Type: nvarchar(10)
|
|
24897
25565
|
*/
|
|
24898
25566
|
get Status(): string | null;
|
|
24899
25567
|
set Status(value: string | null);
|
|
24900
25568
|
/**
|
|
24901
25569
|
* * Field Name: Category
|
|
25570
|
+
* * Display Name: Category
|
|
24902
25571
|
* * SQL Data Type: nvarchar(20)
|
|
24903
25572
|
* * Description: High-level category for grouping related errors (Database, API, Validation, etc.).
|
|
24904
25573
|
*/
|
|
@@ -24906,6 +25575,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
24906
25575
|
set Category(value: string | null);
|
|
24907
25576
|
/**
|
|
24908
25577
|
* * Field Name: Details
|
|
25578
|
+
* * Display Name: Details
|
|
24909
25579
|
* * SQL Data Type: nvarchar(MAX)
|
|
24910
25580
|
* * Description: Full error details including stack trace, inner exceptions, and context data.
|
|
24911
25581
|
*/
|
|
@@ -27100,7 +27770,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27100
27770
|
set ID(value: string);
|
|
27101
27771
|
/**
|
|
27102
27772
|
* * Field Name: AgentID
|
|
27103
|
-
* * Display Name: Agent
|
|
27773
|
+
* * Display Name: Agent
|
|
27104
27774
|
* * SQL Data Type: uniqueidentifier
|
|
27105
27775
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
27106
27776
|
* * Description: The AI agent this example is associated with. Examples are always agent-specific.
|
|
@@ -27109,7 +27779,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27109
27779
|
set AgentID(value: string);
|
|
27110
27780
|
/**
|
|
27111
27781
|
* * Field Name: UserID
|
|
27112
|
-
* * Display Name: User
|
|
27782
|
+
* * Display Name: User
|
|
27113
27783
|
* * SQL Data Type: uniqueidentifier
|
|
27114
27784
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
27115
27785
|
* * Description: Optional user scope. When populated, this example is specific to this user.
|
|
@@ -27118,7 +27788,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27118
27788
|
set UserID(value: string | null);
|
|
27119
27789
|
/**
|
|
27120
27790
|
* * Field Name: CompanyID
|
|
27121
|
-
* * Display Name: Company
|
|
27791
|
+
* * Display Name: Company
|
|
27122
27792
|
* * SQL Data Type: uniqueidentifier
|
|
27123
27793
|
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
27124
27794
|
* * Description: Optional company scope. When populated, this example is specific to this company.
|
|
@@ -27168,7 +27838,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27168
27838
|
set IsAutoGenerated(value: boolean);
|
|
27169
27839
|
/**
|
|
27170
27840
|
* * Field Name: SourceConversationID
|
|
27171
|
-
* * Display Name: Source Conversation
|
|
27841
|
+
* * Display Name: Source Conversation
|
|
27172
27842
|
* * SQL Data Type: uniqueidentifier
|
|
27173
27843
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
27174
27844
|
* * Description: Optional reference to the conversation where this example originated.
|
|
@@ -27177,7 +27847,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27177
27847
|
set SourceConversationID(value: string | null);
|
|
27178
27848
|
/**
|
|
27179
27849
|
* * Field Name: SourceConversationDetailID
|
|
27180
|
-
* * Display Name: Source Conversation Detail
|
|
27850
|
+
* * Display Name: Source Conversation Detail
|
|
27181
27851
|
* * SQL Data Type: uniqueidentifier
|
|
27182
27852
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
27183
27853
|
* * Description: Optional reference to the specific conversation message that represents this example.
|
|
@@ -27186,7 +27856,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27186
27856
|
set SourceConversationDetailID(value: string | null);
|
|
27187
27857
|
/**
|
|
27188
27858
|
* * Field Name: SourceAIAgentRunID
|
|
27189
|
-
* * Display Name: Source AI Agent Run
|
|
27859
|
+
* * Display Name: Source AI Agent Run
|
|
27190
27860
|
* * SQL Data Type: uniqueidentifier
|
|
27191
27861
|
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
27192
27862
|
* * Description: Optional reference to the AI agent run that generated this example.
|
|
@@ -27247,7 +27917,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27247
27917
|
set EmbeddingVector(value: string | null);
|
|
27248
27918
|
/**
|
|
27249
27919
|
* * Field Name: EmbeddingModelID
|
|
27250
|
-
* * Display Name: Embedding Model
|
|
27920
|
+
* * Display Name: Embedding Model
|
|
27251
27921
|
* * SQL Data Type: uniqueidentifier
|
|
27252
27922
|
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
27253
27923
|
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
@@ -27255,6 +27925,56 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27255
27925
|
get EmbeddingModelID(): string | null;
|
|
27256
27926
|
set EmbeddingModelID(value: string | null);
|
|
27257
27927
|
/**
|
|
27928
|
+
* * Field Name: PrimaryScopeEntityID
|
|
27929
|
+
* * Display Name: Primary Scope Entity
|
|
27930
|
+
* * SQL Data Type: uniqueidentifier
|
|
27931
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
27932
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping. NULL means this is a global example.
|
|
27933
|
+
*/
|
|
27934
|
+
get PrimaryScopeEntityID(): string | null;
|
|
27935
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
27936
|
+
/**
|
|
27937
|
+
* * Field Name: PrimaryScopeRecordID
|
|
27938
|
+
* * Display Name: Primary Scope Record
|
|
27939
|
+
* * SQL Data Type: nvarchar(100)
|
|
27940
|
+
* * Description: The record ID within the primary scope entity. NULL means global example. When set with empty SecondaryScopes, indicates primary-scope-only example.
|
|
27941
|
+
*/
|
|
27942
|
+
get PrimaryScopeRecordID(): string | null;
|
|
27943
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
27944
|
+
/**
|
|
27945
|
+
* * Field Name: SecondaryScopes
|
|
27946
|
+
* * Display Name: Secondary Scopes
|
|
27947
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27948
|
+
* * Description: JSON object containing additional scope dimensions. Empty/NULL with PrimaryScopeRecordID set = org-level example. Populated = fully-scoped example.
|
|
27949
|
+
*/
|
|
27950
|
+
get SecondaryScopes(): string | null;
|
|
27951
|
+
set SecondaryScopes(value: string | null);
|
|
27952
|
+
/**
|
|
27953
|
+
* * Field Name: LastAccessedAt
|
|
27954
|
+
* * Display Name: Last Accessed At
|
|
27955
|
+
* * SQL Data Type: datetimeoffset
|
|
27956
|
+
* * Description: Timestamp of when this example was last accessed/used for agent context. Used for lifecycle management and cleanup.
|
|
27957
|
+
*/
|
|
27958
|
+
get LastAccessedAt(): Date | null;
|
|
27959
|
+
set LastAccessedAt(value: Date | null);
|
|
27960
|
+
/**
|
|
27961
|
+
* * Field Name: AccessCount
|
|
27962
|
+
* * Display Name: Access Count
|
|
27963
|
+
* * SQL Data Type: int
|
|
27964
|
+
* * Default Value: 0
|
|
27965
|
+
* * Description: Number of times this example has been accessed/used. Used for analytics and determining example value.
|
|
27966
|
+
*/
|
|
27967
|
+
get AccessCount(): number;
|
|
27968
|
+
set AccessCount(value: number);
|
|
27969
|
+
/**
|
|
27970
|
+
* * Field Name: ExpiresAt
|
|
27971
|
+
* * Display Name: Expires At
|
|
27972
|
+
* * SQL Data Type: datetimeoffset
|
|
27973
|
+
* * Description: Optional expiration timestamp. Examples past this date are candidates for archival. NULL means no expiration.
|
|
27974
|
+
*/
|
|
27975
|
+
get ExpiresAt(): Date | null;
|
|
27976
|
+
set ExpiresAt(value: Date | null);
|
|
27977
|
+
/**
|
|
27258
27978
|
* * Field Name: Agent
|
|
27259
27979
|
* * Display Name: Agent
|
|
27260
27980
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27296,6 +28016,12 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27296
28016
|
* * SQL Data Type: nvarchar(50)
|
|
27297
28017
|
*/
|
|
27298
28018
|
get EmbeddingModel(): string | null;
|
|
28019
|
+
/**
|
|
28020
|
+
* * Field Name: PrimaryScopeEntity
|
|
28021
|
+
* * Display Name: Primary Scope Entity
|
|
28022
|
+
* * SQL Data Type: nvarchar(255)
|
|
28023
|
+
*/
|
|
28024
|
+
get PrimaryScopeEntity(): string | null;
|
|
27299
28025
|
}
|
|
27300
28026
|
/**
|
|
27301
28027
|
* MJ: AI Agent Modalities - strongly typed entity sub-class
|
|
@@ -28122,7 +28848,7 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
28122
28848
|
set ID(value: string);
|
|
28123
28849
|
/**
|
|
28124
28850
|
* * Field Name: AgentRunID
|
|
28125
|
-
* * Display Name: Agent Run
|
|
28851
|
+
* * Display Name: Agent Run
|
|
28126
28852
|
* * SQL Data Type: uniqueidentifier
|
|
28127
28853
|
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
28128
28854
|
* * Description: Reference to the parent AIAgentRun that contains this step
|
|
@@ -28166,7 +28892,7 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
28166
28892
|
set StepName(value: string);
|
|
28167
28893
|
/**
|
|
28168
28894
|
* * Field Name: TargetID
|
|
28169
|
-
* * Display Name: Target
|
|
28895
|
+
* * Display Name: Target
|
|
28170
28896
|
* * SQL Data Type: uniqueidentifier
|
|
28171
28897
|
* * Description: ID of the specific target being executed (AIPrompt.ID, AIAction.ID, AIAgent.ID, etc.). NULL for steps that don't target a specific entity.
|
|
28172
28898
|
*/
|
|
@@ -28252,7 +28978,7 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
28252
28978
|
get __mj_UpdatedAt(): Date;
|
|
28253
28979
|
/**
|
|
28254
28980
|
* * Field Name: TargetLogID
|
|
28255
|
-
* * Display Name: Target Log
|
|
28981
|
+
* * Display Name: Target Log
|
|
28256
28982
|
* * SQL Data Type: uniqueidentifier
|
|
28257
28983
|
* * Description: ID of the execution log/run record created for this step (ActionExecutionLog.ID for action steps, AIAgentRun.ID for subagent steps, AIPromptRun.ID for prompt steps)
|
|
28258
28984
|
*/
|
|
@@ -28305,7 +29031,7 @@ detailed information about what validation rules failed.
|
|
|
28305
29031
|
set FinalPayloadValidationMessages(value: string | null);
|
|
28306
29032
|
/**
|
|
28307
29033
|
* * Field Name: ParentID
|
|
28308
|
-
* * Display Name: Parent
|
|
29034
|
+
* * Display Name: Parent
|
|
28309
29035
|
* * SQL Data Type: uniqueidentifier
|
|
28310
29036
|
* * Related Entity/Foreign Key: MJ: AI Agent Run Steps (vwAIAgentRunSteps.ID)
|
|
28311
29037
|
* * Description: Optional reference to parent step for tracking hierarchical relationships like code->test->fix->code cycles
|
|
@@ -28322,19 +29048,19 @@ detailed information about what validation rules failed.
|
|
|
28322
29048
|
set Comments(value: string | null);
|
|
28323
29049
|
/**
|
|
28324
29050
|
* * Field Name: AgentRun
|
|
28325
|
-
* * Display Name: Agent Run
|
|
29051
|
+
* * Display Name: Agent Run Name
|
|
28326
29052
|
* * SQL Data Type: nvarchar(255)
|
|
28327
29053
|
*/
|
|
28328
29054
|
get AgentRun(): string | null;
|
|
28329
29055
|
/**
|
|
28330
29056
|
* * Field Name: Parent
|
|
28331
|
-
* * Display Name: Parent
|
|
29057
|
+
* * Display Name: Parent Name
|
|
28332
29058
|
* * SQL Data Type: nvarchar(255)
|
|
28333
29059
|
*/
|
|
28334
29060
|
get Parent(): string | null;
|
|
28335
29061
|
/**
|
|
28336
29062
|
* * Field Name: RootParentID
|
|
28337
|
-
* * Display Name: Root Parent
|
|
29063
|
+
* * Display Name: Root Parent
|
|
28338
29064
|
* * SQL Data Type: uniqueidentifier
|
|
28339
29065
|
*/
|
|
28340
29066
|
get RootParentID(): string | null;
|
|
@@ -28397,7 +29123,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28397
29123
|
set ID(value: string);
|
|
28398
29124
|
/**
|
|
28399
29125
|
* * Field Name: AgentID
|
|
28400
|
-
* * Display Name: Agent
|
|
29126
|
+
* * Display Name: Agent
|
|
28401
29127
|
* * SQL Data Type: uniqueidentifier
|
|
28402
29128
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
28403
29129
|
* * Description: Reference to the AIAgent that is being executed in this run
|
|
@@ -28464,7 +29190,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28464
29190
|
set ErrorMessage(value: string | null);
|
|
28465
29191
|
/**
|
|
28466
29192
|
* * Field Name: ConversationID
|
|
28467
|
-
* * Display Name: Conversation
|
|
29193
|
+
* * Display Name: Conversation
|
|
28468
29194
|
* * SQL Data Type: uniqueidentifier
|
|
28469
29195
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
28470
29196
|
* * Description: Identifier linking multiple agent runs that are part of the same conversation or user session
|
|
@@ -28473,7 +29199,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28473
29199
|
set ConversationID(value: string | null);
|
|
28474
29200
|
/**
|
|
28475
29201
|
* * Field Name: UserID
|
|
28476
|
-
* * Display Name: User
|
|
29202
|
+
* * Display Name: User
|
|
28477
29203
|
* * SQL Data Type: uniqueidentifier
|
|
28478
29204
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28479
29205
|
* * Description: User context identifier for authentication and permissions during the agent run
|
|
@@ -28755,6 +29481,31 @@ each time the agent processes a prompt step.
|
|
|
28755
29481
|
get TestRunID(): string | null;
|
|
28756
29482
|
set TestRunID(value: string | null);
|
|
28757
29483
|
/**
|
|
29484
|
+
* * Field Name: PrimaryScopeEntityID
|
|
29485
|
+
* * Display Name: Primary Scope Entity ID
|
|
29486
|
+
* * SQL Data Type: uniqueidentifier
|
|
29487
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
29488
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping (e.g., Organizations, Tenants)
|
|
29489
|
+
*/
|
|
29490
|
+
get PrimaryScopeEntityID(): string | null;
|
|
29491
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
29492
|
+
/**
|
|
29493
|
+
* * Field Name: PrimaryScopeRecordID
|
|
29494
|
+
* * Display Name: Primary Scope Record ID
|
|
29495
|
+
* * SQL Data Type: nvarchar(100)
|
|
29496
|
+
* * Description: The record ID within the primary scope entity (e.g., the specific OrganizationID). Indexed for fast multi-tenant filtering.
|
|
29497
|
+
*/
|
|
29498
|
+
get PrimaryScopeRecordID(): string | null;
|
|
29499
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
29500
|
+
/**
|
|
29501
|
+
* * Field Name: SecondaryScopes
|
|
29502
|
+
* * Display Name: Secondary Scopes
|
|
29503
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
29504
|
+
* * Description: JSON object containing additional scope dimensions beyond the primary scope. Example: {"ContactID":"abc-123","TeamID":"team-456"}
|
|
29505
|
+
*/
|
|
29506
|
+
get SecondaryScopes(): string | null;
|
|
29507
|
+
set SecondaryScopes(value: string | null);
|
|
29508
|
+
/**
|
|
28758
29509
|
* * Field Name: Agent
|
|
28759
29510
|
* * Display Name: Agent
|
|
28760
29511
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -28821,6 +29572,12 @@ each time the agent processes a prompt step.
|
|
|
28821
29572
|
*/
|
|
28822
29573
|
get TestRun(): string | null;
|
|
28823
29574
|
/**
|
|
29575
|
+
* * Field Name: PrimaryScopeEntity
|
|
29576
|
+
* * Display Name: Primary Scope Entity
|
|
29577
|
+
* * SQL Data Type: nvarchar(255)
|
|
29578
|
+
*/
|
|
29579
|
+
get PrimaryScopeEntity(): string | null;
|
|
29580
|
+
/**
|
|
28824
29581
|
* * Field Name: RootParentRunID
|
|
28825
29582
|
* * Display Name: Root Parent Run ID
|
|
28826
29583
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -32396,6 +33153,271 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
|
|
|
32396
33153
|
*/
|
|
32397
33154
|
get CredentialType(): string | null;
|
|
32398
33155
|
}
|
|
33156
|
+
/**
|
|
33157
|
+
* MJ: API Application Scopes - strongly typed entity sub-class
|
|
33158
|
+
* * Schema: __mj
|
|
33159
|
+
* * Base Table: APIApplicationScope
|
|
33160
|
+
* * Base View: vwAPIApplicationScopes
|
|
33161
|
+
* * @description Defines the scope ceiling for each application with pattern-based rules. Controls which scopes and resource patterns an application can use, regardless of what API keys grant.
|
|
33162
|
+
* * Primary Key: ID
|
|
33163
|
+
* @extends {BaseEntity}
|
|
33164
|
+
* @class
|
|
33165
|
+
* @public
|
|
33166
|
+
*/
|
|
33167
|
+
export declare class APIApplicationScopeEntity extends BaseEntity<APIApplicationScopeEntityType> {
|
|
33168
|
+
/**
|
|
33169
|
+
* Loads the MJ: API Application Scopes record from the database
|
|
33170
|
+
* @param ID: string - primary key value to load the MJ: API Application Scopes record.
|
|
33171
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
33172
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
33173
|
+
* @public
|
|
33174
|
+
* @async
|
|
33175
|
+
* @memberof APIApplicationScopeEntity
|
|
33176
|
+
* @method
|
|
33177
|
+
* @override
|
|
33178
|
+
*/
|
|
33179
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
33180
|
+
/**
|
|
33181
|
+
* * Field Name: ID
|
|
33182
|
+
* * Display Name: ID
|
|
33183
|
+
* * SQL Data Type: uniqueidentifier
|
|
33184
|
+
* * Default Value: newsequentialid()
|
|
33185
|
+
*/
|
|
33186
|
+
get ID(): string;
|
|
33187
|
+
set ID(value: string);
|
|
33188
|
+
/**
|
|
33189
|
+
* * Field Name: ApplicationID
|
|
33190
|
+
* * Display Name: Application
|
|
33191
|
+
* * SQL Data Type: uniqueidentifier
|
|
33192
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33193
|
+
* * Description: Reference to the application this ceiling rule applies to.
|
|
33194
|
+
*/
|
|
33195
|
+
get ApplicationID(): string;
|
|
33196
|
+
set ApplicationID(value: string);
|
|
33197
|
+
/**
|
|
33198
|
+
* * Field Name: ScopeID
|
|
33199
|
+
* * Display Name: Scope
|
|
33200
|
+
* * SQL Data Type: uniqueidentifier
|
|
33201
|
+
* * Related Entity/Foreign Key: MJ: API Scopes (vwAPIScopes.ID)
|
|
33202
|
+
* * Description: Reference to the scope this rule applies to.
|
|
33203
|
+
*/
|
|
33204
|
+
get ScopeID(): string;
|
|
33205
|
+
set ScopeID(value: string);
|
|
33206
|
+
/**
|
|
33207
|
+
* * Field Name: ResourcePattern
|
|
33208
|
+
* * Display Name: Resource Pattern
|
|
33209
|
+
* * SQL Data Type: nvarchar(750)
|
|
33210
|
+
* * Description: Glob pattern for matching resources (e.g., Users,Accounts or Skip* or *). NULL means match all resources.
|
|
33211
|
+
*/
|
|
33212
|
+
get ResourcePattern(): string | null;
|
|
33213
|
+
set ResourcePattern(value: string | null);
|
|
33214
|
+
/**
|
|
33215
|
+
* * Field Name: PatternType
|
|
33216
|
+
* * Display Name: Pattern Type
|
|
33217
|
+
* * SQL Data Type: nvarchar(20)
|
|
33218
|
+
* * Default Value: Include
|
|
33219
|
+
* * Value List Type: List
|
|
33220
|
+
* * Possible Values
|
|
33221
|
+
* * Exclude
|
|
33222
|
+
* * Include
|
|
33223
|
+
* * Description: How to interpret the pattern: Include (grant if matches) or Exclude (grant if does NOT match).
|
|
33224
|
+
*/
|
|
33225
|
+
get PatternType(): 'Exclude' | 'Include';
|
|
33226
|
+
set PatternType(value: 'Exclude' | 'Include');
|
|
33227
|
+
/**
|
|
33228
|
+
* * Field Name: IsDeny
|
|
33229
|
+
* * Display Name: Deny
|
|
33230
|
+
* * SQL Data Type: bit
|
|
33231
|
+
* * Default Value: 0
|
|
33232
|
+
* * Description: If true, this rule explicitly DENIES access. Deny rules trump allow rules at the same priority level.
|
|
33233
|
+
*/
|
|
33234
|
+
get IsDeny(): boolean;
|
|
33235
|
+
set IsDeny(value: boolean);
|
|
33236
|
+
/**
|
|
33237
|
+
* * Field Name: Priority
|
|
33238
|
+
* * Display Name: Priority
|
|
33239
|
+
* * SQL Data Type: int
|
|
33240
|
+
* * Default Value: 0
|
|
33241
|
+
* * Description: Rule evaluation order. Higher priority rules are evaluated first. Within same priority, deny rules are evaluated before allow rules.
|
|
33242
|
+
*/
|
|
33243
|
+
get Priority(): number;
|
|
33244
|
+
set Priority(value: number);
|
|
33245
|
+
/**
|
|
33246
|
+
* * Field Name: __mj_CreatedAt
|
|
33247
|
+
* * Display Name: Created At
|
|
33248
|
+
* * SQL Data Type: datetimeoffset
|
|
33249
|
+
* * Default Value: getutcdate()
|
|
33250
|
+
*/
|
|
33251
|
+
get __mj_CreatedAt(): Date;
|
|
33252
|
+
/**
|
|
33253
|
+
* * Field Name: __mj_UpdatedAt
|
|
33254
|
+
* * Display Name: Updated At
|
|
33255
|
+
* * SQL Data Type: datetimeoffset
|
|
33256
|
+
* * Default Value: getutcdate()
|
|
33257
|
+
*/
|
|
33258
|
+
get __mj_UpdatedAt(): Date;
|
|
33259
|
+
/**
|
|
33260
|
+
* * Field Name: Application
|
|
33261
|
+
* * Display Name: Application Name
|
|
33262
|
+
* * SQL Data Type: nvarchar(100)
|
|
33263
|
+
*/
|
|
33264
|
+
get Application(): string;
|
|
33265
|
+
/**
|
|
33266
|
+
* * Field Name: Scope
|
|
33267
|
+
* * Display Name: Scope Name
|
|
33268
|
+
* * SQL Data Type: nvarchar(100)
|
|
33269
|
+
*/
|
|
33270
|
+
get Scope(): string;
|
|
33271
|
+
}
|
|
33272
|
+
/**
|
|
33273
|
+
* MJ: API Applications - strongly typed entity sub-class
|
|
33274
|
+
* * Schema: __mj
|
|
33275
|
+
* * Base Table: APIApplication
|
|
33276
|
+
* * Base View: vwAPIApplications
|
|
33277
|
+
* * @description Registry of applications that can consume MemberJunction APIs. Each application defines a scope ceiling that limits what API keys can access when used with that application.
|
|
33278
|
+
* * Primary Key: ID
|
|
33279
|
+
* @extends {BaseEntity}
|
|
33280
|
+
* @class
|
|
33281
|
+
* @public
|
|
33282
|
+
*/
|
|
33283
|
+
export declare class APIApplicationEntity extends BaseEntity<APIApplicationEntityType> {
|
|
33284
|
+
/**
|
|
33285
|
+
* Loads the MJ: API Applications record from the database
|
|
33286
|
+
* @param ID: string - primary key value to load the MJ: API Applications record.
|
|
33287
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
33288
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
33289
|
+
* @public
|
|
33290
|
+
* @async
|
|
33291
|
+
* @memberof APIApplicationEntity
|
|
33292
|
+
* @method
|
|
33293
|
+
* @override
|
|
33294
|
+
*/
|
|
33295
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
33296
|
+
/**
|
|
33297
|
+
* * Field Name: ID
|
|
33298
|
+
* * Display Name: ID
|
|
33299
|
+
* * SQL Data Type: uniqueidentifier
|
|
33300
|
+
* * Default Value: newsequentialid()
|
|
33301
|
+
*/
|
|
33302
|
+
get ID(): string;
|
|
33303
|
+
set ID(value: string);
|
|
33304
|
+
/**
|
|
33305
|
+
* * Field Name: Name
|
|
33306
|
+
* * Display Name: Name
|
|
33307
|
+
* * SQL Data Type: nvarchar(100)
|
|
33308
|
+
* * Description: Unique name identifying the application (e.g., MJAPI, MCPServer, Portal, CLI).
|
|
33309
|
+
*/
|
|
33310
|
+
get Name(): string;
|
|
33311
|
+
set Name(value: string);
|
|
33312
|
+
/**
|
|
33313
|
+
* * Field Name: Description
|
|
33314
|
+
* * Display Name: Description
|
|
33315
|
+
* * SQL Data Type: nvarchar(500)
|
|
33316
|
+
* * Description: Human-readable description of the application and its purpose.
|
|
33317
|
+
*/
|
|
33318
|
+
get Description(): string | null;
|
|
33319
|
+
set Description(value: string | null);
|
|
33320
|
+
/**
|
|
33321
|
+
* * Field Name: IsActive
|
|
33322
|
+
* * Display Name: Active
|
|
33323
|
+
* * SQL Data Type: bit
|
|
33324
|
+
* * Default Value: 1
|
|
33325
|
+
* * Description: Whether this application is currently active. Inactive applications reject all API key authentication.
|
|
33326
|
+
*/
|
|
33327
|
+
get IsActive(): boolean;
|
|
33328
|
+
set IsActive(value: boolean);
|
|
33329
|
+
/**
|
|
33330
|
+
* * Field Name: __mj_CreatedAt
|
|
33331
|
+
* * Display Name: Created At
|
|
33332
|
+
* * SQL Data Type: datetimeoffset
|
|
33333
|
+
* * Default Value: getutcdate()
|
|
33334
|
+
*/
|
|
33335
|
+
get __mj_CreatedAt(): Date;
|
|
33336
|
+
/**
|
|
33337
|
+
* * Field Name: __mj_UpdatedAt
|
|
33338
|
+
* * Display Name: Updated At
|
|
33339
|
+
* * SQL Data Type: datetimeoffset
|
|
33340
|
+
* * Default Value: getutcdate()
|
|
33341
|
+
*/
|
|
33342
|
+
get __mj_UpdatedAt(): Date;
|
|
33343
|
+
}
|
|
33344
|
+
/**
|
|
33345
|
+
* MJ: API Key Applications - strongly typed entity sub-class
|
|
33346
|
+
* * Schema: __mj
|
|
33347
|
+
* * Base Table: APIKeyApplication
|
|
33348
|
+
* * Base View: vwAPIKeyApplications
|
|
33349
|
+
* * @description Optional binding of API keys to specific applications. If no records exist for a key, it works with all applications. If records exist, the key only works with those specific applications.
|
|
33350
|
+
* * Primary Key: ID
|
|
33351
|
+
* @extends {BaseEntity}
|
|
33352
|
+
* @class
|
|
33353
|
+
* @public
|
|
33354
|
+
*/
|
|
33355
|
+
export declare class APIKeyApplicationEntity extends BaseEntity<APIKeyApplicationEntityType> {
|
|
33356
|
+
/**
|
|
33357
|
+
* Loads the MJ: API Key Applications record from the database
|
|
33358
|
+
* @param ID: string - primary key value to load the MJ: API Key Applications record.
|
|
33359
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
33360
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
33361
|
+
* @public
|
|
33362
|
+
* @async
|
|
33363
|
+
* @memberof APIKeyApplicationEntity
|
|
33364
|
+
* @method
|
|
33365
|
+
* @override
|
|
33366
|
+
*/
|
|
33367
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
33368
|
+
/**
|
|
33369
|
+
* * Field Name: ID
|
|
33370
|
+
* * Display Name: ID
|
|
33371
|
+
* * SQL Data Type: uniqueidentifier
|
|
33372
|
+
* * Default Value: newsequentialid()
|
|
33373
|
+
*/
|
|
33374
|
+
get ID(): string;
|
|
33375
|
+
set ID(value: string);
|
|
33376
|
+
/**
|
|
33377
|
+
* * Field Name: APIKeyID
|
|
33378
|
+
* * Display Name: API Key
|
|
33379
|
+
* * SQL Data Type: uniqueidentifier
|
|
33380
|
+
* * Related Entity/Foreign Key: MJ: API Keys (vwAPIKeys.ID)
|
|
33381
|
+
* * Description: Reference to the API key being bound to an application.
|
|
33382
|
+
*/
|
|
33383
|
+
get APIKeyID(): string;
|
|
33384
|
+
set APIKeyID(value: string);
|
|
33385
|
+
/**
|
|
33386
|
+
* * Field Name: ApplicationID
|
|
33387
|
+
* * Display Name: Application
|
|
33388
|
+
* * SQL Data Type: uniqueidentifier
|
|
33389
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33390
|
+
* * Description: Reference to the application this key is authorized to use.
|
|
33391
|
+
*/
|
|
33392
|
+
get ApplicationID(): string;
|
|
33393
|
+
set ApplicationID(value: string);
|
|
33394
|
+
/**
|
|
33395
|
+
* * Field Name: __mj_CreatedAt
|
|
33396
|
+
* * Display Name: Created At
|
|
33397
|
+
* * SQL Data Type: datetimeoffset
|
|
33398
|
+
* * Default Value: getutcdate()
|
|
33399
|
+
*/
|
|
33400
|
+
get __mj_CreatedAt(): Date;
|
|
33401
|
+
/**
|
|
33402
|
+
* * Field Name: __mj_UpdatedAt
|
|
33403
|
+
* * Display Name: Updated At
|
|
33404
|
+
* * SQL Data Type: datetimeoffset
|
|
33405
|
+
* * Default Value: getutcdate()
|
|
33406
|
+
*/
|
|
33407
|
+
get __mj_UpdatedAt(): Date;
|
|
33408
|
+
/**
|
|
33409
|
+
* * Field Name: APIKey
|
|
33410
|
+
* * Display Name: API Key Value
|
|
33411
|
+
* * SQL Data Type: nvarchar(255)
|
|
33412
|
+
*/
|
|
33413
|
+
get APIKey(): string;
|
|
33414
|
+
/**
|
|
33415
|
+
* * Field Name: Application
|
|
33416
|
+
* * Display Name: Application Name
|
|
33417
|
+
* * SQL Data Type: nvarchar(100)
|
|
33418
|
+
*/
|
|
33419
|
+
get Application(): string;
|
|
33420
|
+
}
|
|
32399
33421
|
/**
|
|
32400
33422
|
* MJ: API Key Scopes - strongly typed entity sub-class
|
|
32401
33423
|
* * Schema: __mj
|
|
@@ -32459,6 +33481,45 @@ export declare class APIKeyScopeEntity extends BaseEntity<APIKeyScopeEntityType>
|
|
|
32459
33481
|
*/
|
|
32460
33482
|
get __mj_UpdatedAt(): Date;
|
|
32461
33483
|
/**
|
|
33484
|
+
* * Field Name: ResourcePattern
|
|
33485
|
+
* * Display Name: Resource Pattern
|
|
33486
|
+
* * SQL Data Type: nvarchar(750)
|
|
33487
|
+
* * Description: Glob pattern for matching resources (e.g., Users,Accounts or Skip* or *). NULL means match all resources under this scope.
|
|
33488
|
+
*/
|
|
33489
|
+
get ResourcePattern(): string | null;
|
|
33490
|
+
set ResourcePattern(value: string | null);
|
|
33491
|
+
/**
|
|
33492
|
+
* * Field Name: PatternType
|
|
33493
|
+
* * Display Name: Pattern Type
|
|
33494
|
+
* * SQL Data Type: nvarchar(20)
|
|
33495
|
+
* * Default Value: Include
|
|
33496
|
+
* * Value List Type: List
|
|
33497
|
+
* * Possible Values
|
|
33498
|
+
* * Exclude
|
|
33499
|
+
* * Include
|
|
33500
|
+
* * Description: How to interpret the pattern: Include (grant if matches) or Exclude (grant if does NOT match).
|
|
33501
|
+
*/
|
|
33502
|
+
get PatternType(): 'Exclude' | 'Include';
|
|
33503
|
+
set PatternType(value: 'Exclude' | 'Include');
|
|
33504
|
+
/**
|
|
33505
|
+
* * Field Name: IsDeny
|
|
33506
|
+
* * Display Name: Is Deny
|
|
33507
|
+
* * SQL Data Type: bit
|
|
33508
|
+
* * Default Value: 0
|
|
33509
|
+
* * Description: If true, this rule explicitly DENIES access. Deny rules trump allow rules at the same priority level.
|
|
33510
|
+
*/
|
|
33511
|
+
get IsDeny(): boolean;
|
|
33512
|
+
set IsDeny(value: boolean);
|
|
33513
|
+
/**
|
|
33514
|
+
* * Field Name: Priority
|
|
33515
|
+
* * Display Name: Priority
|
|
33516
|
+
* * SQL Data Type: int
|
|
33517
|
+
* * Default Value: 0
|
|
33518
|
+
* * Description: Rule evaluation order. Higher priority rules are evaluated first. Within same priority, deny rules are evaluated before allow rules.
|
|
33519
|
+
*/
|
|
33520
|
+
get Priority(): number;
|
|
33521
|
+
set Priority(value: number);
|
|
33522
|
+
/**
|
|
32462
33523
|
* * Field Name: APIKey
|
|
32463
33524
|
* * Display Name: API Key
|
|
32464
33525
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -32466,7 +33527,7 @@ export declare class APIKeyScopeEntity extends BaseEntity<APIKeyScopeEntityType>
|
|
|
32466
33527
|
get APIKey(): string;
|
|
32467
33528
|
/**
|
|
32468
33529
|
* * Field Name: Scope
|
|
32469
|
-
* * Display Name: Scope
|
|
33530
|
+
* * Display Name: Scope
|
|
32470
33531
|
* * SQL Data Type: nvarchar(100)
|
|
32471
33532
|
*/
|
|
32472
33533
|
get Scope(): string;
|
|
@@ -32582,11 +33643,64 @@ export declare class APIKeyUsageLogEntity extends BaseEntity<APIKeyUsageLogEntit
|
|
|
32582
33643
|
*/
|
|
32583
33644
|
get __mj_UpdatedAt(): Date;
|
|
32584
33645
|
/**
|
|
33646
|
+
* * Field Name: ApplicationID
|
|
33647
|
+
* * Display Name: Application ID
|
|
33648
|
+
* * SQL Data Type: uniqueidentifier
|
|
33649
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33650
|
+
* * Description: The application through which this request was made (MJAPI, MCPServer, etc.).
|
|
33651
|
+
*/
|
|
33652
|
+
get ApplicationID(): string | null;
|
|
33653
|
+
set ApplicationID(value: string | null);
|
|
33654
|
+
/**
|
|
33655
|
+
* * Field Name: RequestedResource
|
|
33656
|
+
* * Display Name: Requested Resource
|
|
33657
|
+
* * SQL Data Type: nvarchar(500)
|
|
33658
|
+
* * Description: The specific resource that was requested (e.g., entity name, agent name, query name).
|
|
33659
|
+
*/
|
|
33660
|
+
get RequestedResource(): string | null;
|
|
33661
|
+
set RequestedResource(value: string | null);
|
|
33662
|
+
/**
|
|
33663
|
+
* * Field Name: ScopesEvaluated
|
|
33664
|
+
* * Display Name: Scopes Evaluated
|
|
33665
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
33666
|
+
* * Description: JSON array containing detailed evaluation of each scope rule checked during authorization.
|
|
33667
|
+
*/
|
|
33668
|
+
get ScopesEvaluated(): string | null;
|
|
33669
|
+
set ScopesEvaluated(value: string | null);
|
|
33670
|
+
/**
|
|
33671
|
+
* * Field Name: AuthorizationResult
|
|
33672
|
+
* * Display Name: Authorization Result
|
|
33673
|
+
* * SQL Data Type: nvarchar(20)
|
|
33674
|
+
* * Default Value: Allowed
|
|
33675
|
+
* * Value List Type: List
|
|
33676
|
+
* * Possible Values
|
|
33677
|
+
* * Allowed
|
|
33678
|
+
* * Denied
|
|
33679
|
+
* * NoScopesRequired
|
|
33680
|
+
* * Description: Final authorization result: Allowed, Denied, or NoScopesRequired (for operations that do not require scope checks).
|
|
33681
|
+
*/
|
|
33682
|
+
get AuthorizationResult(): 'Allowed' | 'Denied' | 'NoScopesRequired';
|
|
33683
|
+
set AuthorizationResult(value: 'Allowed' | 'Denied' | 'NoScopesRequired');
|
|
33684
|
+
/**
|
|
33685
|
+
* * Field Name: DeniedReason
|
|
33686
|
+
* * Display Name: Denied Reason
|
|
33687
|
+
* * SQL Data Type: nvarchar(500)
|
|
33688
|
+
* * Description: When authorization is denied, explains why (e.g., app ceiling blocked, no matching key scope, explicit deny rule).
|
|
33689
|
+
*/
|
|
33690
|
+
get DeniedReason(): string | null;
|
|
33691
|
+
set DeniedReason(value: string | null);
|
|
33692
|
+
/**
|
|
32585
33693
|
* * Field Name: APIKey
|
|
32586
33694
|
* * Display Name: API Key
|
|
32587
33695
|
* * SQL Data Type: nvarchar(255)
|
|
32588
33696
|
*/
|
|
32589
33697
|
get APIKey(): string;
|
|
33698
|
+
/**
|
|
33699
|
+
* * Field Name: Application
|
|
33700
|
+
* * Display Name: Application
|
|
33701
|
+
* * SQL Data Type: nvarchar(100)
|
|
33702
|
+
*/
|
|
33703
|
+
get Application(): string | null;
|
|
32590
33704
|
}
|
|
32591
33705
|
/**
|
|
32592
33706
|
* MJ: API Keys - strongly typed entity sub-class
|
|
@@ -32750,7 +33864,7 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32750
33864
|
set ID(value: string);
|
|
32751
33865
|
/**
|
|
32752
33866
|
* * Field Name: Name
|
|
32753
|
-
* * Display Name:
|
|
33867
|
+
* * Display Name: Name
|
|
32754
33868
|
* * SQL Data Type: nvarchar(100)
|
|
32755
33869
|
* * Description: Unique scope identifier following the pattern category:permission (e.g., entities:read, agents:execute, admin:*). Supports wildcard (*) for broad permissions.
|
|
32756
33870
|
*/
|
|
@@ -32758,7 +33872,7 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32758
33872
|
set Name(value: string);
|
|
32759
33873
|
/**
|
|
32760
33874
|
* * Field Name: Category
|
|
32761
|
-
* * Display Name:
|
|
33875
|
+
* * Display Name: Category
|
|
32762
33876
|
* * SQL Data Type: nvarchar(100)
|
|
32763
33877
|
* * Description: Grouping category for the scope (e.g., Entities, Agents, Admin). Used for organizing and filtering scopes in the UI.
|
|
32764
33878
|
*/
|
|
@@ -32786,6 +33900,60 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32786
33900
|
* * Default Value: getutcdate()
|
|
32787
33901
|
*/
|
|
32788
33902
|
get __mj_UpdatedAt(): Date;
|
|
33903
|
+
/**
|
|
33904
|
+
* * Field Name: ParentID
|
|
33905
|
+
* * Display Name: Parent ID
|
|
33906
|
+
* * SQL Data Type: uniqueidentifier
|
|
33907
|
+
* * Related Entity/Foreign Key: MJ: API Scopes (vwAPIScopes.ID)
|
|
33908
|
+
* * Description: Reference to parent scope for hierarchical organization. NULL indicates a root-level scope.
|
|
33909
|
+
*/
|
|
33910
|
+
get ParentID(): string | null;
|
|
33911
|
+
set ParentID(value: string | null);
|
|
33912
|
+
/**
|
|
33913
|
+
* * Field Name: FullPath
|
|
33914
|
+
* * Display Name: Full Path
|
|
33915
|
+
* * SQL Data Type: nvarchar(500)
|
|
33916
|
+
* * Description: Full hierarchical path of the scope (e.g., entity:runview, agent:execute). Used for matching during authorization.
|
|
33917
|
+
*/
|
|
33918
|
+
get FullPath(): string;
|
|
33919
|
+
set FullPath(value: string);
|
|
33920
|
+
/**
|
|
33921
|
+
* * Field Name: ResourceType
|
|
33922
|
+
* * Display Name: Resource Type
|
|
33923
|
+
* * SQL Data Type: nvarchar(50)
|
|
33924
|
+
* * Description: Type of resource this scope applies to (Entity, Agent, Query, Mutation, or NULL for abstract grouping scopes).
|
|
33925
|
+
*/
|
|
33926
|
+
get ResourceType(): string | null;
|
|
33927
|
+
set ResourceType(value: string | null);
|
|
33928
|
+
/**
|
|
33929
|
+
* * Field Name: IsActive
|
|
33930
|
+
* * Display Name: Active
|
|
33931
|
+
* * SQL Data Type: bit
|
|
33932
|
+
* * Default Value: 1
|
|
33933
|
+
* * Description: Whether this scope is currently active. Inactive scopes are ignored during authorization.
|
|
33934
|
+
*/
|
|
33935
|
+
get IsActive(): boolean;
|
|
33936
|
+
set IsActive(value: boolean);
|
|
33937
|
+
/**
|
|
33938
|
+
* * Field Name: UIConfig
|
|
33939
|
+
* * Display Name: UI Config
|
|
33940
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
33941
|
+
* * Description: JSON configuration for UI presentation. Schema: { "icon": "fa-solid fa-xxx", "color": "#hexcolor" }. Icon should be a Font Awesome class. Color should be a hex color code.
|
|
33942
|
+
*/
|
|
33943
|
+
get UIConfig(): string | null;
|
|
33944
|
+
set UIConfig(value: string | null);
|
|
33945
|
+
/**
|
|
33946
|
+
* * Field Name: Parent
|
|
33947
|
+
* * Display Name: Parent
|
|
33948
|
+
* * SQL Data Type: nvarchar(100)
|
|
33949
|
+
*/
|
|
33950
|
+
get Parent(): string | null;
|
|
33951
|
+
/**
|
|
33952
|
+
* * Field Name: RootParentID
|
|
33953
|
+
* * Display Name: Root Parent ID
|
|
33954
|
+
* * SQL Data Type: uniqueidentifier
|
|
33955
|
+
*/
|
|
33956
|
+
get RootParentID(): string | null;
|
|
32789
33957
|
}
|
|
32790
33958
|
/**
|
|
32791
33959
|
* MJ: Artifact Permissions - strongly typed entity sub-class
|
|
@@ -34927,7 +36095,7 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
34927
36095
|
set ID(value: string);
|
|
34928
36096
|
/**
|
|
34929
36097
|
* * Field Name: ConversationDetailID
|
|
34930
|
-
* * Display Name: Conversation Detail
|
|
36098
|
+
* * Display Name: Conversation Detail
|
|
34931
36099
|
* * SQL Data Type: uniqueidentifier
|
|
34932
36100
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
34933
36101
|
* * Description: Foreign key to ConversationDetail - the conversation message associated with this artifact
|
|
@@ -34936,7 +36104,7 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
34936
36104
|
set ConversationDetailID(value: string);
|
|
34937
36105
|
/**
|
|
34938
36106
|
* * Field Name: ArtifactVersionID
|
|
34939
|
-
* * Display Name: Artifact Version
|
|
36107
|
+
* * Display Name: Artifact Version
|
|
34940
36108
|
* * SQL Data Type: uniqueidentifier
|
|
34941
36109
|
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
34942
36110
|
* * Description: Foreign key to ArtifactVersion - the specific artifact version linked to this conversation message
|
|
@@ -34972,7 +36140,7 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
34972
36140
|
get __mj_UpdatedAt(): Date;
|
|
34973
36141
|
/**
|
|
34974
36142
|
* * Field Name: ConversationDetail
|
|
34975
|
-
* * Display Name:
|
|
36143
|
+
* * Display Name: Message Content
|
|
34976
36144
|
* * SQL Data Type: nvarchar(MAX)
|
|
34977
36145
|
*/
|
|
34978
36146
|
get ConversationDetail(): string;
|
|
@@ -35219,7 +36387,7 @@ export declare class ConversationDetailRatingEntity extends BaseEntity<Conversat
|
|
|
35219
36387
|
set ID(value: string);
|
|
35220
36388
|
/**
|
|
35221
36389
|
* * Field Name: ConversationDetailID
|
|
35222
|
-
* * Display Name: Conversation Detail
|
|
36390
|
+
* * Display Name: Conversation Detail
|
|
35223
36391
|
* * SQL Data Type: uniqueidentifier
|
|
35224
36392
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
35225
36393
|
* * Description: The conversation message being rated.
|
|
@@ -37092,6 +38260,932 @@ export declare class ListShareEntity extends BaseEntity<ListShareEntityType> {
|
|
|
37092
38260
|
*/
|
|
37093
38261
|
get User(): string;
|
|
37094
38262
|
}
|
|
38263
|
+
/**
|
|
38264
|
+
* MJ: MCP Server Connection Permissions - strongly typed entity sub-class
|
|
38265
|
+
* * Schema: __mj
|
|
38266
|
+
* * Base Table: MCPServerConnectionPermission
|
|
38267
|
+
* * Base View: vwMCPServerConnectionPermissions
|
|
38268
|
+
* * Primary Key: ID
|
|
38269
|
+
* @extends {BaseEntity}
|
|
38270
|
+
* @class
|
|
38271
|
+
* @public
|
|
38272
|
+
*/
|
|
38273
|
+
export declare class MCPServerConnectionPermissionEntity extends BaseEntity<MCPServerConnectionPermissionEntityType> {
|
|
38274
|
+
/**
|
|
38275
|
+
* Loads the MJ: MCP Server Connection Permissions record from the database
|
|
38276
|
+
* @param ID: string - primary key value to load the MJ: MCP Server Connection Permissions record.
|
|
38277
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38278
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38279
|
+
* @public
|
|
38280
|
+
* @async
|
|
38281
|
+
* @memberof MCPServerConnectionPermissionEntity
|
|
38282
|
+
* @method
|
|
38283
|
+
* @override
|
|
38284
|
+
*/
|
|
38285
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38286
|
+
/**
|
|
38287
|
+
* Validate() method override for MJ: MCP Server Connection Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
38288
|
+
* * Table-Level: Either a specific user or a role must be assigned to the permission record, but you cannot assign both at the same time and you cannot leave both empty. This ensures that each permission is linked to exactly one entity, maintaining clear ownership and preventing ambiguous access settings.
|
|
38289
|
+
* @public
|
|
38290
|
+
* @method
|
|
38291
|
+
* @override
|
|
38292
|
+
*/
|
|
38293
|
+
Validate(): ValidationResult;
|
|
38294
|
+
/**
|
|
38295
|
+
* Either a specific user or a role must be assigned to the permission record, but you cannot assign both at the same time and you cannot leave both empty. This ensures that each permission is linked to exactly one entity, maintaining clear ownership and preventing ambiguous access settings.
|
|
38296
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
38297
|
+
* @public
|
|
38298
|
+
* @method
|
|
38299
|
+
*/
|
|
38300
|
+
ValidateUserIDOrRoleIDExclusive(result: ValidationResult): void;
|
|
38301
|
+
/**
|
|
38302
|
+
* * Field Name: ID
|
|
38303
|
+
* * Display Name: ID
|
|
38304
|
+
* * SQL Data Type: uniqueidentifier
|
|
38305
|
+
* * Default Value: newsequentialid()
|
|
38306
|
+
*/
|
|
38307
|
+
get ID(): string;
|
|
38308
|
+
set ID(value: string);
|
|
38309
|
+
/**
|
|
38310
|
+
* * Field Name: MCPServerConnectionID
|
|
38311
|
+
* * Display Name: MCP Server Connection ID
|
|
38312
|
+
* * SQL Data Type: uniqueidentifier
|
|
38313
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
38314
|
+
*/
|
|
38315
|
+
get MCPServerConnectionID(): string;
|
|
38316
|
+
set MCPServerConnectionID(value: string);
|
|
38317
|
+
/**
|
|
38318
|
+
* * Field Name: UserID
|
|
38319
|
+
* * Display Name: User
|
|
38320
|
+
* * SQL Data Type: uniqueidentifier
|
|
38321
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
38322
|
+
* * Description: FK to User (mutually exclusive with RoleID)
|
|
38323
|
+
*/
|
|
38324
|
+
get UserID(): string | null;
|
|
38325
|
+
set UserID(value: string | null);
|
|
38326
|
+
/**
|
|
38327
|
+
* * Field Name: RoleID
|
|
38328
|
+
* * Display Name: Role
|
|
38329
|
+
* * SQL Data Type: uniqueidentifier
|
|
38330
|
+
* * Related Entity/Foreign Key: Roles (vwRoles.ID)
|
|
38331
|
+
* * Description: FK to Role (mutually exclusive with UserID)
|
|
38332
|
+
*/
|
|
38333
|
+
get RoleID(): string | null;
|
|
38334
|
+
set RoleID(value: string | null);
|
|
38335
|
+
/**
|
|
38336
|
+
* * Field Name: CanExecute
|
|
38337
|
+
* * Display Name: Can Execute
|
|
38338
|
+
* * SQL Data Type: bit
|
|
38339
|
+
* * Default Value: 1
|
|
38340
|
+
* * Description: Can invoke tools via this connection
|
|
38341
|
+
*/
|
|
38342
|
+
get CanExecute(): boolean;
|
|
38343
|
+
set CanExecute(value: boolean);
|
|
38344
|
+
/**
|
|
38345
|
+
* * Field Name: CanModify
|
|
38346
|
+
* * Display Name: Can Modify
|
|
38347
|
+
* * SQL Data Type: bit
|
|
38348
|
+
* * Default Value: 0
|
|
38349
|
+
* * Description: Can modify connection settings
|
|
38350
|
+
*/
|
|
38351
|
+
get CanModify(): boolean;
|
|
38352
|
+
set CanModify(value: boolean);
|
|
38353
|
+
/**
|
|
38354
|
+
* * Field Name: CanViewCredentials
|
|
38355
|
+
* * Display Name: Can View Credentials
|
|
38356
|
+
* * SQL Data Type: bit
|
|
38357
|
+
* * Default Value: 0
|
|
38358
|
+
* * Description: Can see credential info (but not decrypt)
|
|
38359
|
+
*/
|
|
38360
|
+
get CanViewCredentials(): boolean;
|
|
38361
|
+
set CanViewCredentials(value: boolean);
|
|
38362
|
+
/**
|
|
38363
|
+
* * Field Name: __mj_CreatedAt
|
|
38364
|
+
* * Display Name: Created At
|
|
38365
|
+
* * SQL Data Type: datetimeoffset
|
|
38366
|
+
* * Default Value: getutcdate()
|
|
38367
|
+
*/
|
|
38368
|
+
get __mj_CreatedAt(): Date;
|
|
38369
|
+
/**
|
|
38370
|
+
* * Field Name: __mj_UpdatedAt
|
|
38371
|
+
* * Display Name: Updated At
|
|
38372
|
+
* * SQL Data Type: datetimeoffset
|
|
38373
|
+
* * Default Value: getutcdate()
|
|
38374
|
+
*/
|
|
38375
|
+
get __mj_UpdatedAt(): Date;
|
|
38376
|
+
/**
|
|
38377
|
+
* * Field Name: MCPServerConnection
|
|
38378
|
+
* * Display Name: MCP Server Connection
|
|
38379
|
+
* * SQL Data Type: nvarchar(255)
|
|
38380
|
+
*/
|
|
38381
|
+
get MCPServerConnection(): string;
|
|
38382
|
+
/**
|
|
38383
|
+
* * Field Name: User
|
|
38384
|
+
* * Display Name: User Name
|
|
38385
|
+
* * SQL Data Type: nvarchar(100)
|
|
38386
|
+
*/
|
|
38387
|
+
get User(): string | null;
|
|
38388
|
+
/**
|
|
38389
|
+
* * Field Name: Role
|
|
38390
|
+
* * Display Name: Role Name
|
|
38391
|
+
* * SQL Data Type: nvarchar(50)
|
|
38392
|
+
*/
|
|
38393
|
+
get Role(): string | null;
|
|
38394
|
+
}
|
|
38395
|
+
/**
|
|
38396
|
+
* MJ: MCP Server Connection Tools - strongly typed entity sub-class
|
|
38397
|
+
* * Schema: __mj
|
|
38398
|
+
* * Base Table: MCPServerConnectionTool
|
|
38399
|
+
* * Base View: vwMCPServerConnectionTools
|
|
38400
|
+
* * Primary Key: ID
|
|
38401
|
+
* @extends {BaseEntity}
|
|
38402
|
+
* @class
|
|
38403
|
+
* @public
|
|
38404
|
+
*/
|
|
38405
|
+
export declare class MCPServerConnectionToolEntity extends BaseEntity<MCPServerConnectionToolEntityType> {
|
|
38406
|
+
/**
|
|
38407
|
+
* Loads the MJ: MCP Server Connection Tools record from the database
|
|
38408
|
+
* @param ID: string - primary key value to load the MJ: MCP Server Connection Tools record.
|
|
38409
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38410
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38411
|
+
* @public
|
|
38412
|
+
* @async
|
|
38413
|
+
* @memberof MCPServerConnectionToolEntity
|
|
38414
|
+
* @method
|
|
38415
|
+
* @override
|
|
38416
|
+
*/
|
|
38417
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38418
|
+
/**
|
|
38419
|
+
* * Field Name: ID
|
|
38420
|
+
* * Display Name: ID
|
|
38421
|
+
* * SQL Data Type: uniqueidentifier
|
|
38422
|
+
* * Default Value: newsequentialid()
|
|
38423
|
+
*/
|
|
38424
|
+
get ID(): string;
|
|
38425
|
+
set ID(value: string);
|
|
38426
|
+
/**
|
|
38427
|
+
* * Field Name: MCPServerConnectionID
|
|
38428
|
+
* * Display Name: MCP Server Connection
|
|
38429
|
+
* * SQL Data Type: uniqueidentifier
|
|
38430
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
38431
|
+
*/
|
|
38432
|
+
get MCPServerConnectionID(): string;
|
|
38433
|
+
set MCPServerConnectionID(value: string);
|
|
38434
|
+
/**
|
|
38435
|
+
* * Field Name: MCPServerToolID
|
|
38436
|
+
* * Display Name: MCP Server Tool
|
|
38437
|
+
* * SQL Data Type: uniqueidentifier
|
|
38438
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Tools (vwMCPServerTools.ID)
|
|
38439
|
+
*/
|
|
38440
|
+
get MCPServerToolID(): string;
|
|
38441
|
+
set MCPServerToolID(value: string);
|
|
38442
|
+
/**
|
|
38443
|
+
* * Field Name: IsEnabled
|
|
38444
|
+
* * Display Name: Enabled
|
|
38445
|
+
* * SQL Data Type: bit
|
|
38446
|
+
* * Default Value: 1
|
|
38447
|
+
* * Description: Whether this tool is enabled for the connection
|
|
38448
|
+
*/
|
|
38449
|
+
get IsEnabled(): boolean;
|
|
38450
|
+
set IsEnabled(value: boolean);
|
|
38451
|
+
/**
|
|
38452
|
+
* * Field Name: DefaultInputValues
|
|
38453
|
+
* * Display Name: Default Input Values
|
|
38454
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38455
|
+
* * Description: JSON default values for tool inputs
|
|
38456
|
+
*/
|
|
38457
|
+
get DefaultInputValues(): string | null;
|
|
38458
|
+
set DefaultInputValues(value: string | null);
|
|
38459
|
+
/**
|
|
38460
|
+
* * Field Name: MaxCallsPerMinute
|
|
38461
|
+
* * Display Name: Max Calls Per Minute
|
|
38462
|
+
* * SQL Data Type: int
|
|
38463
|
+
* * Description: Override rate limit for this specific tool
|
|
38464
|
+
*/
|
|
38465
|
+
get MaxCallsPerMinute(): number | null;
|
|
38466
|
+
set MaxCallsPerMinute(value: number | null);
|
|
38467
|
+
/**
|
|
38468
|
+
* * Field Name: __mj_CreatedAt
|
|
38469
|
+
* * Display Name: Created At
|
|
38470
|
+
* * SQL Data Type: datetimeoffset
|
|
38471
|
+
* * Default Value: getutcdate()
|
|
38472
|
+
*/
|
|
38473
|
+
get __mj_CreatedAt(): Date;
|
|
38474
|
+
/**
|
|
38475
|
+
* * Field Name: __mj_UpdatedAt
|
|
38476
|
+
* * Display Name: Updated At
|
|
38477
|
+
* * SQL Data Type: datetimeoffset
|
|
38478
|
+
* * Default Value: getutcdate()
|
|
38479
|
+
*/
|
|
38480
|
+
get __mj_UpdatedAt(): Date;
|
|
38481
|
+
/**
|
|
38482
|
+
* * Field Name: MCPServerConnection
|
|
38483
|
+
* * Display Name: Connection
|
|
38484
|
+
* * SQL Data Type: nvarchar(255)
|
|
38485
|
+
*/
|
|
38486
|
+
get MCPServerConnection(): string;
|
|
38487
|
+
/**
|
|
38488
|
+
* * Field Name: MCPServerTool
|
|
38489
|
+
* * Display Name: Tool
|
|
38490
|
+
* * SQL Data Type: nvarchar(255)
|
|
38491
|
+
*/
|
|
38492
|
+
get MCPServerTool(): string | null;
|
|
38493
|
+
}
|
|
38494
|
+
/**
|
|
38495
|
+
* MJ: MCP Server Connections - strongly typed entity sub-class
|
|
38496
|
+
* * Schema: __mj
|
|
38497
|
+
* * Base Table: MCPServerConnection
|
|
38498
|
+
* * Base View: vwMCPServerConnections
|
|
38499
|
+
* * Primary Key: ID
|
|
38500
|
+
* @extends {BaseEntity}
|
|
38501
|
+
* @class
|
|
38502
|
+
* @public
|
|
38503
|
+
*/
|
|
38504
|
+
export declare class MCPServerConnectionEntity extends BaseEntity<MCPServerConnectionEntityType> {
|
|
38505
|
+
/**
|
|
38506
|
+
* Loads the MJ: MCP Server Connections record from the database
|
|
38507
|
+
* @param ID: string - primary key value to load the MJ: MCP Server Connections record.
|
|
38508
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38509
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38510
|
+
* @public
|
|
38511
|
+
* @async
|
|
38512
|
+
* @memberof MCPServerConnectionEntity
|
|
38513
|
+
* @method
|
|
38514
|
+
* @override
|
|
38515
|
+
*/
|
|
38516
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38517
|
+
/**
|
|
38518
|
+
* * Field Name: ID
|
|
38519
|
+
* * Display Name: ID
|
|
38520
|
+
* * SQL Data Type: uniqueidentifier
|
|
38521
|
+
* * Default Value: newsequentialid()
|
|
38522
|
+
*/
|
|
38523
|
+
get ID(): string;
|
|
38524
|
+
set ID(value: string);
|
|
38525
|
+
/**
|
|
38526
|
+
* * Field Name: MCPServerID
|
|
38527
|
+
* * Display Name: MCP Server
|
|
38528
|
+
* * SQL Data Type: uniqueidentifier
|
|
38529
|
+
* * Related Entity/Foreign Key: MJ: MCP Servers (vwMCPServers.ID)
|
|
38530
|
+
*/
|
|
38531
|
+
get MCPServerID(): string;
|
|
38532
|
+
set MCPServerID(value: string);
|
|
38533
|
+
/**
|
|
38534
|
+
* * Field Name: Name
|
|
38535
|
+
* * Display Name: Name
|
|
38536
|
+
* * SQL Data Type: nvarchar(255)
|
|
38537
|
+
* * Description: Connection name (unique per company)
|
|
38538
|
+
*/
|
|
38539
|
+
get Name(): string;
|
|
38540
|
+
set Name(value: string);
|
|
38541
|
+
/**
|
|
38542
|
+
* * Field Name: Description
|
|
38543
|
+
* * Display Name: Description
|
|
38544
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38545
|
+
*/
|
|
38546
|
+
get Description(): string | null;
|
|
38547
|
+
set Description(value: string | null);
|
|
38548
|
+
/**
|
|
38549
|
+
* * Field Name: CredentialID
|
|
38550
|
+
* * Display Name: Credential
|
|
38551
|
+
* * SQL Data Type: uniqueidentifier
|
|
38552
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
|
|
38553
|
+
* * Description: FK to Credential entity (uses existing credential types)
|
|
38554
|
+
*/
|
|
38555
|
+
get CredentialID(): string | null;
|
|
38556
|
+
set CredentialID(value: string | null);
|
|
38557
|
+
/**
|
|
38558
|
+
* * Field Name: CustomHeaderName
|
|
38559
|
+
* * Display Name: Custom Header Name
|
|
38560
|
+
* * SQL Data Type: nvarchar(100)
|
|
38561
|
+
* * Description: Custom header name for API key auth (default: X-API-Key)
|
|
38562
|
+
*/
|
|
38563
|
+
get CustomHeaderName(): string | null;
|
|
38564
|
+
set CustomHeaderName(value: string | null);
|
|
38565
|
+
/**
|
|
38566
|
+
* * Field Name: CompanyID
|
|
38567
|
+
* * Display Name: Company
|
|
38568
|
+
* * SQL Data Type: uniqueidentifier
|
|
38569
|
+
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
38570
|
+
* * Description: Optional company association. NULL means the connection is global and available to all companies. Non-NULL restricts the connection to that specific company.
|
|
38571
|
+
*/
|
|
38572
|
+
get CompanyID(): string | null;
|
|
38573
|
+
set CompanyID(value: string | null);
|
|
38574
|
+
/**
|
|
38575
|
+
* * Field Name: Status
|
|
38576
|
+
* * Display Name: Status
|
|
38577
|
+
* * SQL Data Type: nvarchar(50)
|
|
38578
|
+
* * Default Value: Active
|
|
38579
|
+
*/
|
|
38580
|
+
get Status(): string;
|
|
38581
|
+
set Status(value: string);
|
|
38582
|
+
/**
|
|
38583
|
+
* * Field Name: AutoSyncTools
|
|
38584
|
+
* * Display Name: Auto Sync Tools
|
|
38585
|
+
* * SQL Data Type: bit
|
|
38586
|
+
* * Default Value: 1
|
|
38587
|
+
* * Description: Auto-sync tools when connecting
|
|
38588
|
+
*/
|
|
38589
|
+
get AutoSyncTools(): boolean;
|
|
38590
|
+
set AutoSyncTools(value: boolean);
|
|
38591
|
+
/**
|
|
38592
|
+
* * Field Name: AutoGenerateActions
|
|
38593
|
+
* * Display Name: Auto Generate Actions
|
|
38594
|
+
* * SQL Data Type: bit
|
|
38595
|
+
* * Default Value: 0
|
|
38596
|
+
* * Description: Auto-generate MJ Actions for discovered tools
|
|
38597
|
+
*/
|
|
38598
|
+
get AutoGenerateActions(): boolean;
|
|
38599
|
+
set AutoGenerateActions(value: boolean);
|
|
38600
|
+
/**
|
|
38601
|
+
* * Field Name: LogToolCalls
|
|
38602
|
+
* * Display Name: Log Tool Calls
|
|
38603
|
+
* * SQL Data Type: bit
|
|
38604
|
+
* * Default Value: 1
|
|
38605
|
+
* * Description: Log all tool calls to execution log
|
|
38606
|
+
*/
|
|
38607
|
+
get LogToolCalls(): boolean;
|
|
38608
|
+
set LogToolCalls(value: boolean);
|
|
38609
|
+
/**
|
|
38610
|
+
* * Field Name: LogInputParameters
|
|
38611
|
+
* * Display Name: Log Input Parameters
|
|
38612
|
+
* * SQL Data Type: bit
|
|
38613
|
+
* * Default Value: 1
|
|
38614
|
+
* * Description: Include input parameters in logs
|
|
38615
|
+
*/
|
|
38616
|
+
get LogInputParameters(): boolean;
|
|
38617
|
+
set LogInputParameters(value: boolean);
|
|
38618
|
+
/**
|
|
38619
|
+
* * Field Name: LogOutputContent
|
|
38620
|
+
* * Display Name: Log Output Content
|
|
38621
|
+
* * SQL Data Type: bit
|
|
38622
|
+
* * Default Value: 1
|
|
38623
|
+
* * Description: Include output content in logs
|
|
38624
|
+
*/
|
|
38625
|
+
get LogOutputContent(): boolean;
|
|
38626
|
+
set LogOutputContent(value: boolean);
|
|
38627
|
+
/**
|
|
38628
|
+
* * Field Name: MaxOutputLogSize
|
|
38629
|
+
* * Display Name: Max Output Log Size
|
|
38630
|
+
* * SQL Data Type: int
|
|
38631
|
+
* * Default Value: 102400
|
|
38632
|
+
* * Description: Max output size to log in bytes (default: 100KB)
|
|
38633
|
+
*/
|
|
38634
|
+
get MaxOutputLogSize(): number | null;
|
|
38635
|
+
set MaxOutputLogSize(value: number | null);
|
|
38636
|
+
/**
|
|
38637
|
+
* * Field Name: LastConnectedAt
|
|
38638
|
+
* * Display Name: Last Connected At
|
|
38639
|
+
* * SQL Data Type: datetimeoffset
|
|
38640
|
+
*/
|
|
38641
|
+
get LastConnectedAt(): Date | null;
|
|
38642
|
+
set LastConnectedAt(value: Date | null);
|
|
38643
|
+
/**
|
|
38644
|
+
* * Field Name: LastErrorMessage
|
|
38645
|
+
* * Display Name: Last Error Message
|
|
38646
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38647
|
+
*/
|
|
38648
|
+
get LastErrorMessage(): string | null;
|
|
38649
|
+
set LastErrorMessage(value: string | null);
|
|
38650
|
+
/**
|
|
38651
|
+
* * Field Name: EnvironmentVars
|
|
38652
|
+
* * Display Name: Environment Variables
|
|
38653
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38654
|
+
* * Description: JSON object of environment variables for Stdio transport
|
|
38655
|
+
*/
|
|
38656
|
+
get EnvironmentVars(): string | null;
|
|
38657
|
+
set EnvironmentVars(value: string | null);
|
|
38658
|
+
/**
|
|
38659
|
+
* * Field Name: __mj_CreatedAt
|
|
38660
|
+
* * Display Name: Created At
|
|
38661
|
+
* * SQL Data Type: datetimeoffset
|
|
38662
|
+
* * Default Value: getutcdate()
|
|
38663
|
+
*/
|
|
38664
|
+
get __mj_CreatedAt(): Date;
|
|
38665
|
+
/**
|
|
38666
|
+
* * Field Name: __mj_UpdatedAt
|
|
38667
|
+
* * Display Name: Updated At
|
|
38668
|
+
* * SQL Data Type: datetimeoffset
|
|
38669
|
+
* * Default Value: getutcdate()
|
|
38670
|
+
*/
|
|
38671
|
+
get __mj_UpdatedAt(): Date;
|
|
38672
|
+
/**
|
|
38673
|
+
* * Field Name: MCPServer
|
|
38674
|
+
* * Display Name: MCP Server
|
|
38675
|
+
* * SQL Data Type: nvarchar(255)
|
|
38676
|
+
*/
|
|
38677
|
+
get MCPServer(): string;
|
|
38678
|
+
/**
|
|
38679
|
+
* * Field Name: Credential
|
|
38680
|
+
* * Display Name: Credential
|
|
38681
|
+
* * SQL Data Type: nvarchar(200)
|
|
38682
|
+
*/
|
|
38683
|
+
get Credential(): string | null;
|
|
38684
|
+
/**
|
|
38685
|
+
* * Field Name: Company
|
|
38686
|
+
* * Display Name: Company
|
|
38687
|
+
* * SQL Data Type: nvarchar(50)
|
|
38688
|
+
*/
|
|
38689
|
+
get Company(): string | null;
|
|
38690
|
+
}
|
|
38691
|
+
/**
|
|
38692
|
+
* MJ: MCP Server Tools - strongly typed entity sub-class
|
|
38693
|
+
* * Schema: __mj
|
|
38694
|
+
* * Base Table: MCPServerTool
|
|
38695
|
+
* * Base View: vwMCPServerTools
|
|
38696
|
+
* * Primary Key: ID
|
|
38697
|
+
* @extends {BaseEntity}
|
|
38698
|
+
* @class
|
|
38699
|
+
* @public
|
|
38700
|
+
*/
|
|
38701
|
+
export declare class MCPServerToolEntity extends BaseEntity<MCPServerToolEntityType> {
|
|
38702
|
+
/**
|
|
38703
|
+
* Loads the MJ: MCP Server Tools record from the database
|
|
38704
|
+
* @param ID: string - primary key value to load the MJ: MCP Server Tools record.
|
|
38705
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38706
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38707
|
+
* @public
|
|
38708
|
+
* @async
|
|
38709
|
+
* @memberof MCPServerToolEntity
|
|
38710
|
+
* @method
|
|
38711
|
+
* @override
|
|
38712
|
+
*/
|
|
38713
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38714
|
+
/**
|
|
38715
|
+
* * Field Name: ID
|
|
38716
|
+
* * Display Name: ID
|
|
38717
|
+
* * SQL Data Type: uniqueidentifier
|
|
38718
|
+
* * Default Value: newsequentialid()
|
|
38719
|
+
*/
|
|
38720
|
+
get ID(): string;
|
|
38721
|
+
set ID(value: string);
|
|
38722
|
+
/**
|
|
38723
|
+
* * Field Name: MCPServerID
|
|
38724
|
+
* * Display Name: MCP Server
|
|
38725
|
+
* * SQL Data Type: uniqueidentifier
|
|
38726
|
+
* * Related Entity/Foreign Key: MJ: MCP Servers (vwMCPServers.ID)
|
|
38727
|
+
*/
|
|
38728
|
+
get MCPServerID(): string;
|
|
38729
|
+
set MCPServerID(value: string);
|
|
38730
|
+
/**
|
|
38731
|
+
* * Field Name: ToolName
|
|
38732
|
+
* * Display Name: Tool Name
|
|
38733
|
+
* * SQL Data Type: nvarchar(255)
|
|
38734
|
+
* * Description: Tool identifier from the MCP server
|
|
38735
|
+
*/
|
|
38736
|
+
get ToolName(): string;
|
|
38737
|
+
set ToolName(value: string);
|
|
38738
|
+
/**
|
|
38739
|
+
* * Field Name: ToolTitle
|
|
38740
|
+
* * Display Name: Tool Title
|
|
38741
|
+
* * SQL Data Type: nvarchar(255)
|
|
38742
|
+
* * Description: Human-readable title for the tool
|
|
38743
|
+
*/
|
|
38744
|
+
get ToolTitle(): string | null;
|
|
38745
|
+
set ToolTitle(value: string | null);
|
|
38746
|
+
/**
|
|
38747
|
+
* * Field Name: ToolDescription
|
|
38748
|
+
* * Display Name: Tool Description
|
|
38749
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38750
|
+
*/
|
|
38751
|
+
get ToolDescription(): string | null;
|
|
38752
|
+
set ToolDescription(value: string | null);
|
|
38753
|
+
/**
|
|
38754
|
+
* * Field Name: InputSchema
|
|
38755
|
+
* * Display Name: Input Schema
|
|
38756
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38757
|
+
* * Description: JSON Schema for tool input parameters
|
|
38758
|
+
*/
|
|
38759
|
+
get InputSchema(): string;
|
|
38760
|
+
set InputSchema(value: string);
|
|
38761
|
+
/**
|
|
38762
|
+
* * Field Name: OutputSchema
|
|
38763
|
+
* * Display Name: Output Schema
|
|
38764
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38765
|
+
* * Description: JSON Schema for tool output (if provided)
|
|
38766
|
+
*/
|
|
38767
|
+
get OutputSchema(): string | null;
|
|
38768
|
+
set OutputSchema(value: string | null);
|
|
38769
|
+
/**
|
|
38770
|
+
* * Field Name: Annotations
|
|
38771
|
+
* * Display Name: Annotations
|
|
38772
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38773
|
+
* * Description: JSON with tool hints (readOnlyHint, destructiveHint, etc.)
|
|
38774
|
+
*/
|
|
38775
|
+
get Annotations(): string | null;
|
|
38776
|
+
set Annotations(value: string | null);
|
|
38777
|
+
/**
|
|
38778
|
+
* * Field Name: Status
|
|
38779
|
+
* * Display Name: Status
|
|
38780
|
+
* * SQL Data Type: nvarchar(50)
|
|
38781
|
+
* * Default Value: Active
|
|
38782
|
+
* * Description: Tool status: Active, Inactive, or Deprecated
|
|
38783
|
+
*/
|
|
38784
|
+
get Status(): string;
|
|
38785
|
+
set Status(value: string);
|
|
38786
|
+
/**
|
|
38787
|
+
* * Field Name: DiscoveredAt
|
|
38788
|
+
* * Display Name: Discovered At
|
|
38789
|
+
* * SQL Data Type: datetimeoffset
|
|
38790
|
+
* * Default Value: getutcdate()
|
|
38791
|
+
*/
|
|
38792
|
+
get DiscoveredAt(): Date;
|
|
38793
|
+
set DiscoveredAt(value: Date);
|
|
38794
|
+
/**
|
|
38795
|
+
* * Field Name: LastSeenAt
|
|
38796
|
+
* * Display Name: Last Seen At
|
|
38797
|
+
* * SQL Data Type: datetimeoffset
|
|
38798
|
+
* * Default Value: getutcdate()
|
|
38799
|
+
*/
|
|
38800
|
+
get LastSeenAt(): Date;
|
|
38801
|
+
set LastSeenAt(value: Date);
|
|
38802
|
+
/**
|
|
38803
|
+
* * Field Name: GeneratedActionID
|
|
38804
|
+
* * Display Name: Generated Action
|
|
38805
|
+
* * SQL Data Type: uniqueidentifier
|
|
38806
|
+
* * Related Entity/Foreign Key: Actions (vwActions.ID)
|
|
38807
|
+
* * Description: FK to auto-generated Action (if promoted)
|
|
38808
|
+
*/
|
|
38809
|
+
get GeneratedActionID(): string | null;
|
|
38810
|
+
set GeneratedActionID(value: string | null);
|
|
38811
|
+
/**
|
|
38812
|
+
* * Field Name: GeneratedActionCategoryID
|
|
38813
|
+
* * Display Name: Generated Action Category
|
|
38814
|
+
* * SQL Data Type: uniqueidentifier
|
|
38815
|
+
* * Related Entity/Foreign Key: Action Categories (vwActionCategories.ID)
|
|
38816
|
+
*/
|
|
38817
|
+
get GeneratedActionCategoryID(): string | null;
|
|
38818
|
+
set GeneratedActionCategoryID(value: string | null);
|
|
38819
|
+
/**
|
|
38820
|
+
* * Field Name: __mj_CreatedAt
|
|
38821
|
+
* * Display Name: Created At
|
|
38822
|
+
* * SQL Data Type: datetimeoffset
|
|
38823
|
+
* * Default Value: getutcdate()
|
|
38824
|
+
*/
|
|
38825
|
+
get __mj_CreatedAt(): Date;
|
|
38826
|
+
/**
|
|
38827
|
+
* * Field Name: __mj_UpdatedAt
|
|
38828
|
+
* * Display Name: Updated At
|
|
38829
|
+
* * SQL Data Type: datetimeoffset
|
|
38830
|
+
* * Default Value: getutcdate()
|
|
38831
|
+
*/
|
|
38832
|
+
get __mj_UpdatedAt(): Date;
|
|
38833
|
+
/**
|
|
38834
|
+
* * Field Name: MCPServer
|
|
38835
|
+
* * Display Name: MCP Server
|
|
38836
|
+
* * SQL Data Type: nvarchar(255)
|
|
38837
|
+
*/
|
|
38838
|
+
get MCPServer(): string;
|
|
38839
|
+
/**
|
|
38840
|
+
* * Field Name: GeneratedAction
|
|
38841
|
+
* * Display Name: Generated Action
|
|
38842
|
+
* * SQL Data Type: nvarchar(425)
|
|
38843
|
+
*/
|
|
38844
|
+
get GeneratedAction(): string | null;
|
|
38845
|
+
/**
|
|
38846
|
+
* * Field Name: GeneratedActionCategory
|
|
38847
|
+
* * Display Name: Generated Action Category
|
|
38848
|
+
* * SQL Data Type: nvarchar(255)
|
|
38849
|
+
*/
|
|
38850
|
+
get GeneratedActionCategory(): string | null;
|
|
38851
|
+
}
|
|
38852
|
+
/**
|
|
38853
|
+
* MJ: MCP Servers - strongly typed entity sub-class
|
|
38854
|
+
* * Schema: __mj
|
|
38855
|
+
* * Base Table: MCPServer
|
|
38856
|
+
* * Base View: vwMCPServers
|
|
38857
|
+
* * Primary Key: ID
|
|
38858
|
+
* @extends {BaseEntity}
|
|
38859
|
+
* @class
|
|
38860
|
+
* @public
|
|
38861
|
+
*/
|
|
38862
|
+
export declare class MCPServerEntity extends BaseEntity<MCPServerEntityType> {
|
|
38863
|
+
/**
|
|
38864
|
+
* Loads the MJ: MCP Servers record from the database
|
|
38865
|
+
* @param ID: string - primary key value to load the MJ: MCP Servers record.
|
|
38866
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
38867
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
38868
|
+
* @public
|
|
38869
|
+
* @async
|
|
38870
|
+
* @memberof MCPServerEntity
|
|
38871
|
+
* @method
|
|
38872
|
+
* @override
|
|
38873
|
+
*/
|
|
38874
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
38875
|
+
/**
|
|
38876
|
+
* * Field Name: ID
|
|
38877
|
+
* * Display Name: ID
|
|
38878
|
+
* * SQL Data Type: uniqueidentifier
|
|
38879
|
+
* * Default Value: newsequentialid()
|
|
38880
|
+
*/
|
|
38881
|
+
get ID(): string;
|
|
38882
|
+
set ID(value: string);
|
|
38883
|
+
/**
|
|
38884
|
+
* * Field Name: Name
|
|
38885
|
+
* * Display Name: Name
|
|
38886
|
+
* * SQL Data Type: nvarchar(255)
|
|
38887
|
+
* * Description: Unique display name for the MCP server
|
|
38888
|
+
*/
|
|
38889
|
+
get Name(): string;
|
|
38890
|
+
set Name(value: string);
|
|
38891
|
+
/**
|
|
38892
|
+
* * Field Name: Description
|
|
38893
|
+
* * Display Name: Description
|
|
38894
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38895
|
+
*/
|
|
38896
|
+
get Description(): string | null;
|
|
38897
|
+
set Description(value: string | null);
|
|
38898
|
+
/**
|
|
38899
|
+
* * Field Name: ServerURL
|
|
38900
|
+
* * Display Name: Server URL
|
|
38901
|
+
* * SQL Data Type: nvarchar(1000)
|
|
38902
|
+
* * Description: Server endpoint URL for HTTP/SSE/WebSocket transports
|
|
38903
|
+
*/
|
|
38904
|
+
get ServerURL(): string | null;
|
|
38905
|
+
set ServerURL(value: string | null);
|
|
38906
|
+
/**
|
|
38907
|
+
* * Field Name: Command
|
|
38908
|
+
* * Display Name: Command
|
|
38909
|
+
* * SQL Data Type: nvarchar(500)
|
|
38910
|
+
* * Description: Executable path for Stdio transport
|
|
38911
|
+
*/
|
|
38912
|
+
get Command(): string | null;
|
|
38913
|
+
set Command(value: string | null);
|
|
38914
|
+
/**
|
|
38915
|
+
* * Field Name: CommandArgs
|
|
38916
|
+
* * Display Name: Command Arguments
|
|
38917
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
38918
|
+
* * Description: JSON array of command arguments for Stdio transport
|
|
38919
|
+
*/
|
|
38920
|
+
get CommandArgs(): string | null;
|
|
38921
|
+
set CommandArgs(value: string | null);
|
|
38922
|
+
/**
|
|
38923
|
+
* * Field Name: TransportType
|
|
38924
|
+
* * Display Name: Transport Type
|
|
38925
|
+
* * SQL Data Type: nvarchar(50)
|
|
38926
|
+
* * Description: Transport type: StreamableHTTP, SSE, Stdio, or WebSocket
|
|
38927
|
+
*/
|
|
38928
|
+
get TransportType(): string;
|
|
38929
|
+
set TransportType(value: string);
|
|
38930
|
+
/**
|
|
38931
|
+
* * Field Name: DefaultAuthType
|
|
38932
|
+
* * Display Name: Default Auth Type
|
|
38933
|
+
* * SQL Data Type: nvarchar(50)
|
|
38934
|
+
* * Description: Default auth type: None, Bearer, APIKey, OAuth2, Basic, or Custom
|
|
38935
|
+
*/
|
|
38936
|
+
get DefaultAuthType(): string;
|
|
38937
|
+
set DefaultAuthType(value: string);
|
|
38938
|
+
/**
|
|
38939
|
+
* * Field Name: CredentialTypeID
|
|
38940
|
+
* * Display Name: Credential Type
|
|
38941
|
+
* * SQL Data Type: uniqueidentifier
|
|
38942
|
+
* * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
|
|
38943
|
+
* * Description: Expected credential type for this server
|
|
38944
|
+
*/
|
|
38945
|
+
get CredentialTypeID(): string | null;
|
|
38946
|
+
set CredentialTypeID(value: string | null);
|
|
38947
|
+
/**
|
|
38948
|
+
* * Field Name: Status
|
|
38949
|
+
* * Display Name: Status
|
|
38950
|
+
* * SQL Data Type: nvarchar(50)
|
|
38951
|
+
* * Default Value: Active
|
|
38952
|
+
* * Description: Server status: Active, Inactive, or Deprecated
|
|
38953
|
+
*/
|
|
38954
|
+
get Status(): string;
|
|
38955
|
+
set Status(value: string);
|
|
38956
|
+
/**
|
|
38957
|
+
* * Field Name: LastSyncAt
|
|
38958
|
+
* * Display Name: Last Sync At
|
|
38959
|
+
* * SQL Data Type: datetimeoffset
|
|
38960
|
+
*/
|
|
38961
|
+
get LastSyncAt(): Date | null;
|
|
38962
|
+
set LastSyncAt(value: Date | null);
|
|
38963
|
+
/**
|
|
38964
|
+
* * Field Name: RateLimitPerMinute
|
|
38965
|
+
* * Display Name: Rate Limit Per Minute
|
|
38966
|
+
* * SQL Data Type: int
|
|
38967
|
+
*/
|
|
38968
|
+
get RateLimitPerMinute(): number | null;
|
|
38969
|
+
set RateLimitPerMinute(value: number | null);
|
|
38970
|
+
/**
|
|
38971
|
+
* * Field Name: RateLimitPerHour
|
|
38972
|
+
* * Display Name: Rate Limit Per Hour
|
|
38973
|
+
* * SQL Data Type: int
|
|
38974
|
+
*/
|
|
38975
|
+
get RateLimitPerHour(): number | null;
|
|
38976
|
+
set RateLimitPerHour(value: number | null);
|
|
38977
|
+
/**
|
|
38978
|
+
* * Field Name: ConnectionTimeoutMs
|
|
38979
|
+
* * Display Name: Connection Timeout (ms)
|
|
38980
|
+
* * SQL Data Type: int
|
|
38981
|
+
* * Default Value: 30000
|
|
38982
|
+
*/
|
|
38983
|
+
get ConnectionTimeoutMs(): number | null;
|
|
38984
|
+
set ConnectionTimeoutMs(value: number | null);
|
|
38985
|
+
/**
|
|
38986
|
+
* * Field Name: RequestTimeoutMs
|
|
38987
|
+
* * Display Name: Request Timeout (ms)
|
|
38988
|
+
* * SQL Data Type: int
|
|
38989
|
+
* * Default Value: 60000
|
|
38990
|
+
*/
|
|
38991
|
+
get RequestTimeoutMs(): number | null;
|
|
38992
|
+
set RequestTimeoutMs(value: number | null);
|
|
38993
|
+
/**
|
|
38994
|
+
* * Field Name: DocumentationURL
|
|
38995
|
+
* * Display Name: Documentation URL
|
|
38996
|
+
* * SQL Data Type: nvarchar(1000)
|
|
38997
|
+
*/
|
|
38998
|
+
get DocumentationURL(): string | null;
|
|
38999
|
+
set DocumentationURL(value: string | null);
|
|
39000
|
+
/**
|
|
39001
|
+
* * Field Name: IconClass
|
|
39002
|
+
* * Display Name: Icon Class
|
|
39003
|
+
* * SQL Data Type: nvarchar(100)
|
|
39004
|
+
*/
|
|
39005
|
+
get IconClass(): string | null;
|
|
39006
|
+
set IconClass(value: string | null);
|
|
39007
|
+
/**
|
|
39008
|
+
* * Field Name: __mj_CreatedAt
|
|
39009
|
+
* * Display Name: Created At
|
|
39010
|
+
* * SQL Data Type: datetimeoffset
|
|
39011
|
+
* * Default Value: getutcdate()
|
|
39012
|
+
*/
|
|
39013
|
+
get __mj_CreatedAt(): Date;
|
|
39014
|
+
/**
|
|
39015
|
+
* * Field Name: __mj_UpdatedAt
|
|
39016
|
+
* * Display Name: Updated At
|
|
39017
|
+
* * SQL Data Type: datetimeoffset
|
|
39018
|
+
* * Default Value: getutcdate()
|
|
39019
|
+
*/
|
|
39020
|
+
get __mj_UpdatedAt(): Date;
|
|
39021
|
+
/**
|
|
39022
|
+
* * Field Name: CredentialType
|
|
39023
|
+
* * Display Name: Credential Type
|
|
39024
|
+
* * SQL Data Type: nvarchar(100)
|
|
39025
|
+
*/
|
|
39026
|
+
get CredentialType(): string | null;
|
|
39027
|
+
}
|
|
39028
|
+
/**
|
|
39029
|
+
* MJ: MCP Tool Execution Logs - strongly typed entity sub-class
|
|
39030
|
+
* * Schema: __mj
|
|
39031
|
+
* * Base Table: MCPToolExecutionLog
|
|
39032
|
+
* * Base View: vwMCPToolExecutionLogs
|
|
39033
|
+
* * Primary Key: ID
|
|
39034
|
+
* @extends {BaseEntity}
|
|
39035
|
+
* @class
|
|
39036
|
+
* @public
|
|
39037
|
+
*/
|
|
39038
|
+
export declare class MCPToolExecutionLogEntity extends BaseEntity<MCPToolExecutionLogEntityType> {
|
|
39039
|
+
/**
|
|
39040
|
+
* Loads the MJ: MCP Tool Execution Logs record from the database
|
|
39041
|
+
* @param ID: string - primary key value to load the MJ: MCP Tool Execution Logs record.
|
|
39042
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
39043
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
39044
|
+
* @public
|
|
39045
|
+
* @async
|
|
39046
|
+
* @memberof MCPToolExecutionLogEntity
|
|
39047
|
+
* @method
|
|
39048
|
+
* @override
|
|
39049
|
+
*/
|
|
39050
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
39051
|
+
/**
|
|
39052
|
+
* * Field Name: ID
|
|
39053
|
+
* * Display Name: ID
|
|
39054
|
+
* * SQL Data Type: uniqueidentifier
|
|
39055
|
+
* * Default Value: newsequentialid()
|
|
39056
|
+
*/
|
|
39057
|
+
get ID(): string;
|
|
39058
|
+
set ID(value: string);
|
|
39059
|
+
/**
|
|
39060
|
+
* * Field Name: MCPServerConnectionID
|
|
39061
|
+
* * Display Name: MCP Server Connection
|
|
39062
|
+
* * SQL Data Type: uniqueidentifier
|
|
39063
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Connections (vwMCPServerConnections.ID)
|
|
39064
|
+
*/
|
|
39065
|
+
get MCPServerConnectionID(): string;
|
|
39066
|
+
set MCPServerConnectionID(value: string);
|
|
39067
|
+
/**
|
|
39068
|
+
* * Field Name: MCPServerToolID
|
|
39069
|
+
* * Display Name: MCP Server Tool
|
|
39070
|
+
* * SQL Data Type: uniqueidentifier
|
|
39071
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Tools (vwMCPServerTools.ID)
|
|
39072
|
+
* * Description: FK to MCP Server Tool (null if tool not cached)
|
|
39073
|
+
*/
|
|
39074
|
+
get MCPServerToolID(): string | null;
|
|
39075
|
+
set MCPServerToolID(value: string | null);
|
|
39076
|
+
/**
|
|
39077
|
+
* * Field Name: ToolName
|
|
39078
|
+
* * Display Name: Tool Name
|
|
39079
|
+
* * SQL Data Type: nvarchar(255)
|
|
39080
|
+
* * Description: Tool name (stored directly for resilience)
|
|
39081
|
+
*/
|
|
39082
|
+
get ToolName(): string;
|
|
39083
|
+
set ToolName(value: string);
|
|
39084
|
+
/**
|
|
39085
|
+
* * Field Name: UserID
|
|
39086
|
+
* * Display Name: User
|
|
39087
|
+
* * SQL Data Type: uniqueidentifier
|
|
39088
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
39089
|
+
* * Description: FK to User who initiated the call
|
|
39090
|
+
*/
|
|
39091
|
+
get UserID(): string;
|
|
39092
|
+
set UserID(value: string);
|
|
39093
|
+
/**
|
|
39094
|
+
* * Field Name: StartedAt
|
|
39095
|
+
* * Display Name: Started At
|
|
39096
|
+
* * SQL Data Type: datetimeoffset
|
|
39097
|
+
* * Default Value: getutcdate()
|
|
39098
|
+
*/
|
|
39099
|
+
get StartedAt(): Date;
|
|
39100
|
+
set StartedAt(value: Date);
|
|
39101
|
+
/**
|
|
39102
|
+
* * Field Name: EndedAt
|
|
39103
|
+
* * Display Name: Ended At
|
|
39104
|
+
* * SQL Data Type: datetimeoffset
|
|
39105
|
+
*/
|
|
39106
|
+
get EndedAt(): Date | null;
|
|
39107
|
+
set EndedAt(value: Date | null);
|
|
39108
|
+
/**
|
|
39109
|
+
* * Field Name: DurationMs
|
|
39110
|
+
* * Display Name: Duration (ms)
|
|
39111
|
+
* * SQL Data Type: int
|
|
39112
|
+
* * Description: Execution duration in milliseconds
|
|
39113
|
+
*/
|
|
39114
|
+
get DurationMs(): number | null;
|
|
39115
|
+
set DurationMs(value: number | null);
|
|
39116
|
+
/**
|
|
39117
|
+
* * Field Name: Success
|
|
39118
|
+
* * Display Name: Success
|
|
39119
|
+
* * SQL Data Type: bit
|
|
39120
|
+
* * Default Value: 0
|
|
39121
|
+
*/
|
|
39122
|
+
get Success(): boolean;
|
|
39123
|
+
set Success(value: boolean);
|
|
39124
|
+
/**
|
|
39125
|
+
* * Field Name: ErrorMessage
|
|
39126
|
+
* * Display Name: Error Message
|
|
39127
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39128
|
+
*/
|
|
39129
|
+
get ErrorMessage(): string | null;
|
|
39130
|
+
set ErrorMessage(value: string | null);
|
|
39131
|
+
/**
|
|
39132
|
+
* * Field Name: InputParameters
|
|
39133
|
+
* * Display Name: Input Parameters
|
|
39134
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39135
|
+
* * Description: JSON of input parameters (if logging enabled)
|
|
39136
|
+
*/
|
|
39137
|
+
get InputParameters(): string | null;
|
|
39138
|
+
set InputParameters(value: string | null);
|
|
39139
|
+
/**
|
|
39140
|
+
* * Field Name: OutputContent
|
|
39141
|
+
* * Display Name: Output Content
|
|
39142
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39143
|
+
* * Description: JSON of output content (if logging enabled)
|
|
39144
|
+
*/
|
|
39145
|
+
get OutputContent(): string | null;
|
|
39146
|
+
set OutputContent(value: string | null);
|
|
39147
|
+
/**
|
|
39148
|
+
* * Field Name: OutputTruncated
|
|
39149
|
+
* * Display Name: Output Truncated
|
|
39150
|
+
* * SQL Data Type: bit
|
|
39151
|
+
* * Default Value: 0
|
|
39152
|
+
* * Description: Whether output was truncated due to size
|
|
39153
|
+
*/
|
|
39154
|
+
get OutputTruncated(): boolean;
|
|
39155
|
+
set OutputTruncated(value: boolean);
|
|
39156
|
+
/**
|
|
39157
|
+
* * Field Name: __mj_CreatedAt
|
|
39158
|
+
* * Display Name: Created At
|
|
39159
|
+
* * SQL Data Type: datetimeoffset
|
|
39160
|
+
* * Default Value: getutcdate()
|
|
39161
|
+
*/
|
|
39162
|
+
get __mj_CreatedAt(): Date;
|
|
39163
|
+
/**
|
|
39164
|
+
* * Field Name: __mj_UpdatedAt
|
|
39165
|
+
* * Display Name: Updated At
|
|
39166
|
+
* * SQL Data Type: datetimeoffset
|
|
39167
|
+
* * Default Value: getutcdate()
|
|
39168
|
+
*/
|
|
39169
|
+
get __mj_UpdatedAt(): Date;
|
|
39170
|
+
/**
|
|
39171
|
+
* * Field Name: MCPServerConnection
|
|
39172
|
+
* * Display Name: MCP Server Connection Name
|
|
39173
|
+
* * SQL Data Type: nvarchar(255)
|
|
39174
|
+
*/
|
|
39175
|
+
get MCPServerConnection(): string;
|
|
39176
|
+
/**
|
|
39177
|
+
* * Field Name: MCPServerTool
|
|
39178
|
+
* * Display Name: MCP Server Tool Name
|
|
39179
|
+
* * SQL Data Type: nvarchar(255)
|
|
39180
|
+
*/
|
|
39181
|
+
get MCPServerTool(): string | null;
|
|
39182
|
+
/**
|
|
39183
|
+
* * Field Name: User
|
|
39184
|
+
* * Display Name: User Name
|
|
39185
|
+
* * SQL Data Type: nvarchar(100)
|
|
39186
|
+
*/
|
|
39187
|
+
get User(): string;
|
|
39188
|
+
}
|
|
37095
39189
|
/**
|
|
37096
39190
|
* MJ: Projects - strongly typed entity sub-class
|
|
37097
39191
|
* * Schema: __mj
|
|
@@ -38587,7 +40681,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38587
40681
|
set ID(value: string);
|
|
38588
40682
|
/**
|
|
38589
40683
|
* * Field Name: ParentID
|
|
38590
|
-
* * Display Name: Parent
|
|
40684
|
+
* * Display Name: Parent
|
|
38591
40685
|
* * SQL Data Type: uniqueidentifier
|
|
38592
40686
|
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
|
|
38593
40687
|
*/
|
|
@@ -38611,7 +40705,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38611
40705
|
set Description(value: string | null);
|
|
38612
40706
|
/**
|
|
38613
40707
|
* * Field Name: TypeID
|
|
38614
|
-
* * Display Name: Type
|
|
40708
|
+
* * Display Name: Type
|
|
38615
40709
|
* * SQL Data Type: uniqueidentifier
|
|
38616
40710
|
* * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)
|
|
38617
40711
|
*/
|
|
@@ -38619,7 +40713,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38619
40713
|
set TypeID(value: string);
|
|
38620
40714
|
/**
|
|
38621
40715
|
* * Field Name: EnvironmentID
|
|
38622
|
-
* * Display Name: Environment
|
|
40716
|
+
* * Display Name: Environment
|
|
38623
40717
|
* * SQL Data Type: uniqueidentifier
|
|
38624
40718
|
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
38625
40719
|
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
@@ -38628,7 +40722,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38628
40722
|
set EnvironmentID(value: string);
|
|
38629
40723
|
/**
|
|
38630
40724
|
* * Field Name: ProjectID
|
|
38631
|
-
* * Display Name: Project
|
|
40725
|
+
* * Display Name: Project
|
|
38632
40726
|
* * SQL Data Type: uniqueidentifier
|
|
38633
40727
|
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
38634
40728
|
*/
|
|
@@ -38636,7 +40730,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38636
40730
|
set ProjectID(value: string | null);
|
|
38637
40731
|
/**
|
|
38638
40732
|
* * Field Name: ConversationDetailID
|
|
38639
|
-
* * Display Name: Conversation Detail
|
|
40733
|
+
* * Display Name: Conversation Detail
|
|
38640
40734
|
* * SQL Data Type: uniqueidentifier
|
|
38641
40735
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
38642
40736
|
*/
|
|
@@ -38644,7 +40738,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38644
40738
|
set ConversationDetailID(value: string | null);
|
|
38645
40739
|
/**
|
|
38646
40740
|
* * Field Name: UserID
|
|
38647
|
-
* * Display Name: User
|
|
40741
|
+
* * Display Name: User
|
|
38648
40742
|
* * SQL Data Type: uniqueidentifier
|
|
38649
40743
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
38650
40744
|
*/
|
|
@@ -38652,7 +40746,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38652
40746
|
set UserID(value: string | null);
|
|
38653
40747
|
/**
|
|
38654
40748
|
* * Field Name: AgentID
|
|
38655
|
-
* * Display Name: Agent
|
|
40749
|
+
* * Display Name: Agent
|
|
38656
40750
|
* * SQL Data Type: uniqueidentifier
|
|
38657
40751
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
38658
40752
|
*/
|
|
@@ -38767,7 +40861,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
38767
40861
|
get Agent(): string | null;
|
|
38768
40862
|
/**
|
|
38769
40863
|
* * Field Name: RootParentID
|
|
38770
|
-
* * Display Name: Root Parent
|
|
40864
|
+
* * Display Name: Root Parent
|
|
38771
40865
|
* * SQL Data Type: uniqueidentifier
|
|
38772
40866
|
*/
|
|
38773
40867
|
get RootParentID(): string | null;
|