@memberjunction/core-entities 2.107.0 → 2.109.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.
|
@@ -333,9 +333,11 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
333
333
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
334
334
|
ParentID: z.ZodNullable<z.ZodString>;
|
|
335
335
|
IconClass: z.ZodNullable<z.ZodString>;
|
|
336
|
+
DefaultCompactPromptID: z.ZodNullable<z.ZodString>;
|
|
336
337
|
Category: z.ZodNullable<z.ZodString>;
|
|
337
338
|
CodeApprovedByUser: z.ZodNullable<z.ZodString>;
|
|
338
339
|
Parent: z.ZodNullable<z.ZodString>;
|
|
340
|
+
DefaultCompactPrompt: z.ZodNullable<z.ZodString>;
|
|
339
341
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
340
342
|
}, "strip", z.ZodTypeAny, {
|
|
341
343
|
ID?: string;
|
|
@@ -362,8 +364,10 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
362
364
|
ForceCodeGeneration?: boolean;
|
|
363
365
|
DriverClass?: string;
|
|
364
366
|
IconClass?: string;
|
|
367
|
+
DefaultCompactPromptID?: string;
|
|
365
368
|
Category?: string;
|
|
366
369
|
CodeApprovedByUser?: string;
|
|
370
|
+
DefaultCompactPrompt?: string;
|
|
367
371
|
}, {
|
|
368
372
|
ID?: string;
|
|
369
373
|
__mj_CreatedAt?: Date;
|
|
@@ -389,8 +393,10 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
389
393
|
ForceCodeGeneration?: boolean;
|
|
390
394
|
DriverClass?: string;
|
|
391
395
|
IconClass?: string;
|
|
396
|
+
DefaultCompactPromptID?: string;
|
|
392
397
|
Category?: string;
|
|
393
398
|
CodeApprovedByUser?: string;
|
|
399
|
+
DefaultCompactPrompt?: string;
|
|
394
400
|
}>;
|
|
395
401
|
export type ActionEntityType = z.infer<typeof ActionSchema>;
|
|
396
402
|
/**
|
|
@@ -440,8 +446,14 @@ export declare const AIAgentActionSchema: z.ZodObject<{
|
|
|
440
446
|
__mj_UpdatedAt: z.ZodDate;
|
|
441
447
|
MinExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
|
|
442
448
|
MaxExecutionsPerRun: z.ZodNullable<z.ZodNumber>;
|
|
449
|
+
ResultExpirationTurns: z.ZodNullable<z.ZodNumber>;
|
|
450
|
+
ResultExpirationMode: z.ZodUnion<[z.ZodLiteral<"Compact">, z.ZodLiteral<"None">, z.ZodLiteral<"Remove">]>;
|
|
451
|
+
CompactMode: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"AI Summary">, z.ZodLiteral<"First N Chars">]>>;
|
|
452
|
+
CompactLength: z.ZodNullable<z.ZodNumber>;
|
|
453
|
+
CompactPromptID: z.ZodNullable<z.ZodString>;
|
|
443
454
|
Agent: z.ZodNullable<z.ZodString>;
|
|
444
455
|
Action: z.ZodNullable<z.ZodString>;
|
|
456
|
+
CompactPrompt: z.ZodNullable<z.ZodString>;
|
|
445
457
|
}, "strip", z.ZodTypeAny, {
|
|
446
458
|
ID?: string;
|
|
447
459
|
ActionID?: string;
|
|
@@ -452,7 +464,13 @@ export declare const AIAgentActionSchema: z.ZodObject<{
|
|
|
452
464
|
AgentID?: string;
|
|
453
465
|
MinExecutionsPerRun?: number;
|
|
454
466
|
MaxExecutionsPerRun?: number;
|
|
467
|
+
ResultExpirationTurns?: number;
|
|
468
|
+
ResultExpirationMode?: "Compact" | "None" | "Remove";
|
|
469
|
+
CompactMode?: "AI Summary" | "First N Chars";
|
|
470
|
+
CompactLength?: number;
|
|
471
|
+
CompactPromptID?: string;
|
|
455
472
|
Agent?: string;
|
|
473
|
+
CompactPrompt?: string;
|
|
456
474
|
}, {
|
|
457
475
|
ID?: string;
|
|
458
476
|
ActionID?: string;
|
|
@@ -463,7 +481,13 @@ export declare const AIAgentActionSchema: z.ZodObject<{
|
|
|
463
481
|
AgentID?: string;
|
|
464
482
|
MinExecutionsPerRun?: number;
|
|
465
483
|
MaxExecutionsPerRun?: number;
|
|
484
|
+
ResultExpirationTurns?: number;
|
|
485
|
+
ResultExpirationMode?: "Compact" | "None" | "Remove";
|
|
486
|
+
CompactMode?: "AI Summary" | "First N Chars";
|
|
487
|
+
CompactLength?: number;
|
|
488
|
+
CompactPromptID?: string;
|
|
466
489
|
Agent?: string;
|
|
490
|
+
CompactPrompt?: string;
|
|
467
491
|
}>;
|
|
468
492
|
export type AIAgentActionEntityType = z.infer<typeof AIAgentActionSchema>;
|
|
469
493
|
/**
|
|
@@ -696,6 +720,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
696
720
|
ChatHandlingOption: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Retry">, z.ZodLiteral<"Success">]>>;
|
|
697
721
|
DefaultArtifactTypeID: z.ZodNullable<z.ZodString>;
|
|
698
722
|
OwnerUserID: z.ZodString;
|
|
723
|
+
InvocationMode: z.ZodUnion<[z.ZodLiteral<"Any">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"Top-Level">]>;
|
|
699
724
|
Parent: z.ZodNullable<z.ZodString>;
|
|
700
725
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
701
726
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -745,6 +770,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
745
770
|
ChatHandlingOption?: "Failed" | "Retry" | "Success";
|
|
746
771
|
DefaultArtifactTypeID?: string;
|
|
747
772
|
OwnerUserID?: string;
|
|
773
|
+
InvocationMode?: "Any" | "Sub-Agent" | "Top-Level";
|
|
748
774
|
ContextCompressionPrompt?: string;
|
|
749
775
|
DefaultArtifactType?: string;
|
|
750
776
|
OwnerUser?: string;
|
|
@@ -791,6 +817,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
791
817
|
ChatHandlingOption?: "Failed" | "Retry" | "Success";
|
|
792
818
|
DefaultArtifactTypeID?: string;
|
|
793
819
|
OwnerUserID?: string;
|
|
820
|
+
InvocationMode?: "Any" | "Sub-Agent" | "Top-Level";
|
|
794
821
|
ContextCompressionPrompt?: string;
|
|
795
822
|
DefaultArtifactType?: string;
|
|
796
823
|
OwnerUser?: string;
|
|
@@ -1051,12 +1078,12 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1051
1078
|
MinPowerRank?: number;
|
|
1052
1079
|
SelectionStrategy?: "ByPower" | "Default" | "Specific";
|
|
1053
1080
|
PowerPreference?: "Balanced" | "Highest" | "Lowest";
|
|
1054
|
-
ParallelizationMode?: "
|
|
1081
|
+
ParallelizationMode?: "None" | "ModelSpecific" | "ConfigParam" | "StaticCount";
|
|
1055
1082
|
ParallelCount?: number;
|
|
1056
1083
|
ParallelConfigParam?: string;
|
|
1057
1084
|
OutputType?: "string" | "number" | "boolean" | "object" | "date";
|
|
1058
1085
|
OutputExample?: string;
|
|
1059
|
-
ValidationBehavior?: "
|
|
1086
|
+
ValidationBehavior?: "None" | "Warn" | "Strict";
|
|
1060
1087
|
MaxRetries?: number;
|
|
1061
1088
|
RetryDelayMS?: number;
|
|
1062
1089
|
RetryStrategy?: "Exponential" | "Fixed" | "Linear";
|
|
@@ -1081,7 +1108,7 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1081
1108
|
StopSequences?: string;
|
|
1082
1109
|
IncludeLogProbs?: boolean;
|
|
1083
1110
|
TopLogProbs?: number;
|
|
1084
|
-
FailoverStrategy?: "
|
|
1111
|
+
FailoverStrategy?: "None" | "PowerRank" | "NextBestModel" | "SameModelDifferentVendor";
|
|
1085
1112
|
FailoverMaxAttempts?: number;
|
|
1086
1113
|
FailoverDelaySeconds?: number;
|
|
1087
1114
|
FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
|
|
@@ -1109,12 +1136,12 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1109
1136
|
MinPowerRank?: number;
|
|
1110
1137
|
SelectionStrategy?: "ByPower" | "Default" | "Specific";
|
|
1111
1138
|
PowerPreference?: "Balanced" | "Highest" | "Lowest";
|
|
1112
|
-
ParallelizationMode?: "
|
|
1139
|
+
ParallelizationMode?: "None" | "ModelSpecific" | "ConfigParam" | "StaticCount";
|
|
1113
1140
|
ParallelCount?: number;
|
|
1114
1141
|
ParallelConfigParam?: string;
|
|
1115
1142
|
OutputType?: "string" | "number" | "boolean" | "object" | "date";
|
|
1116
1143
|
OutputExample?: string;
|
|
1117
|
-
ValidationBehavior?: "
|
|
1144
|
+
ValidationBehavior?: "None" | "Warn" | "Strict";
|
|
1118
1145
|
MaxRetries?: number;
|
|
1119
1146
|
RetryDelayMS?: number;
|
|
1120
1147
|
RetryStrategy?: "Exponential" | "Fixed" | "Linear";
|
|
@@ -1139,7 +1166,7 @@ export declare const AIPromptSchema: z.ZodObject<{
|
|
|
1139
1166
|
StopSequences?: string;
|
|
1140
1167
|
IncludeLogProbs?: boolean;
|
|
1141
1168
|
TopLogProbs?: number;
|
|
1142
|
-
FailoverStrategy?: "
|
|
1169
|
+
FailoverStrategy?: "None" | "PowerRank" | "NextBestModel" | "SameModelDifferentVendor";
|
|
1143
1170
|
FailoverMaxAttempts?: number;
|
|
1144
1171
|
FailoverDelaySeconds?: number;
|
|
1145
1172
|
FailoverModelStrategy?: "PreferDifferentModel" | "PreferSameModel" | "RequireSameModel";
|
|
@@ -2348,6 +2375,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
|
|
|
2348
2375
|
ParentID: z.ZodNullable<z.ZodString>;
|
|
2349
2376
|
AgentID: z.ZodNullable<z.ZodString>;
|
|
2350
2377
|
Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">, z.ZodLiteral<"In-Progress">]>;
|
|
2378
|
+
SuggestedResponses: z.ZodNullable<z.ZodString>;
|
|
2351
2379
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
2352
2380
|
User: z.ZodNullable<z.ZodString>;
|
|
2353
2381
|
Artifact: z.ZodNullable<z.ZodString>;
|
|
@@ -2378,6 +2406,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
|
|
|
2378
2406
|
ArtifactVersionID?: string;
|
|
2379
2407
|
CompletionTime?: number;
|
|
2380
2408
|
IsPinned?: boolean;
|
|
2409
|
+
SuggestedResponses?: string;
|
|
2381
2410
|
Conversation?: string;
|
|
2382
2411
|
Artifact?: string;
|
|
2383
2412
|
}, {
|
|
@@ -2405,6 +2434,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
|
|
|
2405
2434
|
ArtifactVersionID?: string;
|
|
2406
2435
|
CompletionTime?: number;
|
|
2407
2436
|
IsPinned?: boolean;
|
|
2437
|
+
SuggestedResponses?: string;
|
|
2408
2438
|
Conversation?: string;
|
|
2409
2439
|
Artifact?: string;
|
|
2410
2440
|
}>;
|
|
@@ -4821,6 +4851,83 @@ export declare const AIAgentArtifactTypeSchema: z.ZodObject<{
|
|
|
4821
4851
|
ArtifactType?: string;
|
|
4822
4852
|
}>;
|
|
4823
4853
|
export type AIAgentArtifactTypeEntityType = z.infer<typeof AIAgentArtifactTypeSchema>;
|
|
4854
|
+
/**
|
|
4855
|
+
* zod schema definition for the entity MJ: AI Agent Data Sources
|
|
4856
|
+
*/
|
|
4857
|
+
export declare const AIAgentDataSourceSchema: z.ZodObject<{
|
|
4858
|
+
ID: z.ZodString;
|
|
4859
|
+
AgentID: z.ZodString;
|
|
4860
|
+
Name: z.ZodString;
|
|
4861
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4862
|
+
SourceType: z.ZodUnion<[z.ZodLiteral<"RunQuery">, z.ZodLiteral<"RunView">]>;
|
|
4863
|
+
EntityName: z.ZodNullable<z.ZodString>;
|
|
4864
|
+
ExtraFilter: z.ZodNullable<z.ZodString>;
|
|
4865
|
+
OrderBy: z.ZodNullable<z.ZodString>;
|
|
4866
|
+
FieldsToRetrieve: z.ZodNullable<z.ZodString>;
|
|
4867
|
+
ResultType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"entity_object">, z.ZodLiteral<"simple">]>>;
|
|
4868
|
+
QueryName: z.ZodNullable<z.ZodString>;
|
|
4869
|
+
CategoryPath: z.ZodNullable<z.ZodString>;
|
|
4870
|
+
Parameters: z.ZodNullable<z.ZodString>;
|
|
4871
|
+
MaxRows: z.ZodNullable<z.ZodNumber>;
|
|
4872
|
+
ExecutionOrder: z.ZodNumber;
|
|
4873
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
|
|
4874
|
+
CachePolicy: z.ZodUnion<[z.ZodLiteral<"None">, z.ZodLiteral<"PerAgent">, z.ZodLiteral<"PerRun">]>;
|
|
4875
|
+
CacheTimeoutSeconds: z.ZodNullable<z.ZodNumber>;
|
|
4876
|
+
DestinationType: z.ZodUnion<[z.ZodLiteral<"Context">, z.ZodLiteral<"Data">, z.ZodLiteral<"Payload">]>;
|
|
4877
|
+
DestinationPath: z.ZodNullable<z.ZodString>;
|
|
4878
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4879
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4880
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
4881
|
+
}, "strip", z.ZodTypeAny, {
|
|
4882
|
+
ID?: string;
|
|
4883
|
+
__mj_CreatedAt?: Date;
|
|
4884
|
+
__mj_UpdatedAt?: Date;
|
|
4885
|
+
Name?: string;
|
|
4886
|
+
Description?: string;
|
|
4887
|
+
Status?: "Active" | "Disabled";
|
|
4888
|
+
AgentID?: string;
|
|
4889
|
+
Agent?: string;
|
|
4890
|
+
ExecutionOrder?: number;
|
|
4891
|
+
Parameters?: string;
|
|
4892
|
+
SourceType?: "RunQuery" | "RunView";
|
|
4893
|
+
EntityName?: string;
|
|
4894
|
+
ExtraFilter?: string;
|
|
4895
|
+
OrderBy?: string;
|
|
4896
|
+
FieldsToRetrieve?: string;
|
|
4897
|
+
ResultType?: "entity_object" | "simple";
|
|
4898
|
+
QueryName?: string;
|
|
4899
|
+
CategoryPath?: string;
|
|
4900
|
+
MaxRows?: number;
|
|
4901
|
+
CachePolicy?: "None" | "PerAgent" | "PerRun";
|
|
4902
|
+
CacheTimeoutSeconds?: number;
|
|
4903
|
+
DestinationType?: "Context" | "Data" | "Payload";
|
|
4904
|
+
DestinationPath?: string;
|
|
4905
|
+
}, {
|
|
4906
|
+
ID?: string;
|
|
4907
|
+
__mj_CreatedAt?: Date;
|
|
4908
|
+
__mj_UpdatedAt?: Date;
|
|
4909
|
+
Name?: string;
|
|
4910
|
+
Description?: string;
|
|
4911
|
+
Status?: "Active" | "Disabled";
|
|
4912
|
+
AgentID?: string;
|
|
4913
|
+
Agent?: string;
|
|
4914
|
+
ExecutionOrder?: number;
|
|
4915
|
+
Parameters?: string;
|
|
4916
|
+
SourceType?: "RunQuery" | "RunView";
|
|
4917
|
+
EntityName?: string;
|
|
4918
|
+
ExtraFilter?: string;
|
|
4919
|
+
OrderBy?: string;
|
|
4920
|
+
FieldsToRetrieve?: string;
|
|
4921
|
+
ResultType?: "entity_object" | "simple";
|
|
4922
|
+
QueryName?: string;
|
|
4923
|
+
CategoryPath?: string;
|
|
4924
|
+
MaxRows?: number;
|
|
4925
|
+
CachePolicy?: "None" | "PerAgent" | "PerRun";
|
|
4926
|
+
CacheTimeoutSeconds?: number;
|
|
4927
|
+
DestinationType?: "Context" | "Data" | "Payload";
|
|
4928
|
+
DestinationPath?: string;
|
|
4929
|
+
}>;
|
|
4930
|
+
export type AIAgentDataSourceEntityType = z.infer<typeof AIAgentDataSourceSchema>;
|
|
4824
4931
|
/**
|
|
4825
4932
|
* zod schema definition for the entity MJ: AI Agent Permissions
|
|
4826
4933
|
*/
|
|
@@ -4902,7 +5009,7 @@ export declare const AIAgentPromptSchema: z.ZodObject<{
|
|
|
4902
5009
|
Prompt?: string;
|
|
4903
5010
|
PromptID?: string;
|
|
4904
5011
|
Purpose?: string;
|
|
4905
|
-
ContextBehavior?: "Custom" | "
|
|
5012
|
+
ContextBehavior?: "Custom" | "None" | "Complete" | "InitialMessages" | "RecentMessages" | "Smart";
|
|
4906
5013
|
ContextMessageCount?: number;
|
|
4907
5014
|
}, {
|
|
4908
5015
|
ID?: string;
|
|
@@ -4917,7 +5024,7 @@ export declare const AIAgentPromptSchema: z.ZodObject<{
|
|
|
4917
5024
|
Prompt?: string;
|
|
4918
5025
|
PromptID?: string;
|
|
4919
5026
|
Purpose?: string;
|
|
4920
|
-
ContextBehavior?: "Custom" | "
|
|
5027
|
+
ContextBehavior?: "Custom" | "None" | "Complete" | "InitialMessages" | "RecentMessages" | "Smart";
|
|
4921
5028
|
ContextMessageCount?: number;
|
|
4922
5029
|
}>;
|
|
4923
5030
|
export type AIAgentPromptEntityType = z.infer<typeof AIAgentPromptSchema>;
|
|
@@ -4932,6 +5039,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
4932
5039
|
__mj_CreatedAt: z.ZodDate;
|
|
4933
5040
|
__mj_UpdatedAt: z.ZodDate;
|
|
4934
5041
|
SubAgentOutputMapping: z.ZodNullable<z.ZodString>;
|
|
5042
|
+
SubAgentInputMapping: z.ZodNullable<z.ZodString>;
|
|
5043
|
+
SubAgentContextPaths: z.ZodNullable<z.ZodString>;
|
|
4935
5044
|
Agent: z.ZodNullable<z.ZodString>;
|
|
4936
5045
|
SubAgent: z.ZodNullable<z.ZodString>;
|
|
4937
5046
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4943,6 +5052,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
4943
5052
|
Agent?: string;
|
|
4944
5053
|
SubAgentID?: string;
|
|
4945
5054
|
SubAgentOutputMapping?: string;
|
|
5055
|
+
SubAgentInputMapping?: string;
|
|
5056
|
+
SubAgentContextPaths?: string;
|
|
4946
5057
|
SubAgent?: string;
|
|
4947
5058
|
}, {
|
|
4948
5059
|
ID?: string;
|
|
@@ -4953,6 +5064,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
4953
5064
|
Agent?: string;
|
|
4954
5065
|
SubAgentID?: string;
|
|
4955
5066
|
SubAgentOutputMapping?: string;
|
|
5067
|
+
SubAgentInputMapping?: string;
|
|
5068
|
+
SubAgentContextPaths?: string;
|
|
4956
5069
|
SubAgent?: string;
|
|
4957
5070
|
}>;
|
|
4958
5071
|
export type AIAgentRelationshipEntityType = z.infer<typeof AIAgentRelationshipSchema>;
|
|
@@ -4996,7 +5109,7 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
4996
5109
|
ErrorMessage?: string;
|
|
4997
5110
|
AgentRunID?: string;
|
|
4998
5111
|
StepNumber?: number;
|
|
4999
|
-
StepType?: "
|
|
5112
|
+
StepType?: "Sub-Agent" | "Prompt" | "Actions" | "Chat" | "Decision" | "Validation";
|
|
5000
5113
|
StepName?: string;
|
|
5001
5114
|
TargetID?: string;
|
|
5002
5115
|
CompletedAt?: Date;
|
|
@@ -5020,7 +5133,7 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
5020
5133
|
ErrorMessage?: string;
|
|
5021
5134
|
AgentRunID?: string;
|
|
5022
5135
|
StepNumber?: number;
|
|
5023
|
-
StepType?: "
|
|
5136
|
+
StepType?: "Sub-Agent" | "Prompt" | "Actions" | "Chat" | "Decision" | "Validation";
|
|
5024
5137
|
StepName?: string;
|
|
5025
5138
|
TargetID?: string;
|
|
5026
5139
|
CompletedAt?: Date;
|
|
@@ -5105,6 +5218,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5105
5218
|
LastRunID?: string;
|
|
5106
5219
|
ConversationID?: string;
|
|
5107
5220
|
Conversation?: string;
|
|
5221
|
+
Data?: string;
|
|
5108
5222
|
CompletedAt?: Date;
|
|
5109
5223
|
ParentRunID?: string;
|
|
5110
5224
|
Result?: string;
|
|
@@ -5120,13 +5234,12 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5120
5234
|
ConversationDetailID?: string;
|
|
5121
5235
|
ConversationDetailSequence?: number;
|
|
5122
5236
|
CancellationReason?: "System" | "Timeout" | "User Request";
|
|
5123
|
-
FinalStep?: "Failed" | "Retry" | "Success" | "
|
|
5237
|
+
FinalStep?: "Failed" | "Retry" | "Success" | "Sub-Agent" | "Actions" | "Chat";
|
|
5124
5238
|
FinalPayload?: string;
|
|
5125
5239
|
StartingPayload?: string;
|
|
5126
5240
|
TotalPromptIterations?: number;
|
|
5127
5241
|
OverrideModelID?: string;
|
|
5128
5242
|
OverrideVendorID?: string;
|
|
5129
|
-
Data?: string;
|
|
5130
5243
|
Verbose?: boolean;
|
|
5131
5244
|
RunName?: string;
|
|
5132
5245
|
ScheduledJobRunID?: string;
|
|
@@ -5154,6 +5267,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5154
5267
|
LastRunID?: string;
|
|
5155
5268
|
ConversationID?: string;
|
|
5156
5269
|
Conversation?: string;
|
|
5270
|
+
Data?: string;
|
|
5157
5271
|
CompletedAt?: Date;
|
|
5158
5272
|
ParentRunID?: string;
|
|
5159
5273
|
Result?: string;
|
|
@@ -5169,13 +5283,12 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5169
5283
|
ConversationDetailID?: string;
|
|
5170
5284
|
ConversationDetailSequence?: number;
|
|
5171
5285
|
CancellationReason?: "System" | "Timeout" | "User Request";
|
|
5172
|
-
FinalStep?: "Failed" | "Retry" | "Success" | "
|
|
5286
|
+
FinalStep?: "Failed" | "Retry" | "Success" | "Sub-Agent" | "Actions" | "Chat";
|
|
5173
5287
|
FinalPayload?: string;
|
|
5174
5288
|
StartingPayload?: string;
|
|
5175
5289
|
TotalPromptIterations?: number;
|
|
5176
5290
|
OverrideModelID?: string;
|
|
5177
5291
|
OverrideVendorID?: string;
|
|
5178
|
-
Data?: string;
|
|
5179
5292
|
Verbose?: boolean;
|
|
5180
5293
|
RunName?: string;
|
|
5181
5294
|
ScheduledJobRunID?: string;
|
|
@@ -5270,7 +5383,7 @@ export declare const AIAgentStepSchema: z.ZodObject<{
|
|
|
5270
5383
|
PromptID?: string;
|
|
5271
5384
|
SubAgentID?: string;
|
|
5272
5385
|
SubAgent?: string;
|
|
5273
|
-
StepType?: "Action" | "
|
|
5386
|
+
StepType?: "Action" | "Sub-Agent" | "Prompt";
|
|
5274
5387
|
StartingStep?: boolean;
|
|
5275
5388
|
TimeoutSeconds?: number;
|
|
5276
5389
|
RetryCount?: number;
|
|
@@ -5296,7 +5409,7 @@ export declare const AIAgentStepSchema: z.ZodObject<{
|
|
|
5296
5409
|
PromptID?: string;
|
|
5297
5410
|
SubAgentID?: string;
|
|
5298
5411
|
SubAgent?: string;
|
|
5299
|
-
StepType?: "Action" | "
|
|
5412
|
+
StepType?: "Action" | "Sub-Agent" | "Prompt";
|
|
5300
5413
|
StartingStep?: boolean;
|
|
5301
5414
|
TimeoutSeconds?: number;
|
|
5302
5415
|
RetryCount?: number;
|
|
@@ -5642,7 +5755,7 @@ export declare const AIPromptModelSchema: z.ZodObject<{
|
|
|
5642
5755
|
Priority?: number;
|
|
5643
5756
|
Model?: string;
|
|
5644
5757
|
Vendor?: string;
|
|
5645
|
-
ParallelizationMode?: "
|
|
5758
|
+
ParallelizationMode?: "None" | "ConfigParam" | "StaticCount";
|
|
5646
5759
|
ParallelCount?: number;
|
|
5647
5760
|
ParallelConfigParam?: string;
|
|
5648
5761
|
VendorID?: string;
|
|
@@ -5661,7 +5774,7 @@ export declare const AIPromptModelSchema: z.ZodObject<{
|
|
|
5661
5774
|
Priority?: number;
|
|
5662
5775
|
Model?: string;
|
|
5663
5776
|
Vendor?: string;
|
|
5664
|
-
ParallelizationMode?: "
|
|
5777
|
+
ParallelizationMode?: "None" | "ConfigParam" | "StaticCount";
|
|
5665
5778
|
ParallelCount?: number;
|
|
5666
5779
|
ParallelConfigParam?: string;
|
|
5667
5780
|
VendorID?: string;
|
|
@@ -6041,6 +6154,53 @@ export declare const AIVendorSchema: z.ZodObject<{
|
|
|
6041
6154
|
Description?: string;
|
|
6042
6155
|
}>;
|
|
6043
6156
|
export type AIVendorEntityType = z.infer<typeof AIVendorSchema>;
|
|
6157
|
+
/**
|
|
6158
|
+
* zod schema definition for the entity MJ: Artifact Permissions
|
|
6159
|
+
*/
|
|
6160
|
+
export declare const ArtifactPermissionSchema: z.ZodObject<{
|
|
6161
|
+
ID: z.ZodString;
|
|
6162
|
+
ArtifactID: z.ZodString;
|
|
6163
|
+
UserID: z.ZodString;
|
|
6164
|
+
CanRead: z.ZodBoolean;
|
|
6165
|
+
CanEdit: z.ZodBoolean;
|
|
6166
|
+
CanDelete: z.ZodBoolean;
|
|
6167
|
+
CanShare: z.ZodBoolean;
|
|
6168
|
+
SharedByUserID: z.ZodNullable<z.ZodString>;
|
|
6169
|
+
__mj_CreatedAt: z.ZodDate;
|
|
6170
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
6171
|
+
Artifact: z.ZodString;
|
|
6172
|
+
User: z.ZodString;
|
|
6173
|
+
SharedByUser: z.ZodNullable<z.ZodString>;
|
|
6174
|
+
}, "strip", z.ZodTypeAny, {
|
|
6175
|
+
ID?: string;
|
|
6176
|
+
__mj_CreatedAt?: Date;
|
|
6177
|
+
__mj_UpdatedAt?: Date;
|
|
6178
|
+
UserID?: string;
|
|
6179
|
+
User?: string;
|
|
6180
|
+
ArtifactID?: string;
|
|
6181
|
+
Artifact?: string;
|
|
6182
|
+
CanRead?: boolean;
|
|
6183
|
+
CanDelete?: boolean;
|
|
6184
|
+
CanShare?: boolean;
|
|
6185
|
+
CanEdit?: boolean;
|
|
6186
|
+
SharedByUserID?: string;
|
|
6187
|
+
SharedByUser?: string;
|
|
6188
|
+
}, {
|
|
6189
|
+
ID?: string;
|
|
6190
|
+
__mj_CreatedAt?: Date;
|
|
6191
|
+
__mj_UpdatedAt?: Date;
|
|
6192
|
+
UserID?: string;
|
|
6193
|
+
User?: string;
|
|
6194
|
+
ArtifactID?: string;
|
|
6195
|
+
Artifact?: string;
|
|
6196
|
+
CanRead?: boolean;
|
|
6197
|
+
CanDelete?: boolean;
|
|
6198
|
+
CanShare?: boolean;
|
|
6199
|
+
CanEdit?: boolean;
|
|
6200
|
+
SharedByUserID?: string;
|
|
6201
|
+
SharedByUser?: string;
|
|
6202
|
+
}>;
|
|
6203
|
+
export type ArtifactPermissionEntityType = z.infer<typeof ArtifactPermissionSchema>;
|
|
6044
6204
|
/**
|
|
6045
6205
|
* zod schema definition for the entity MJ: Artifact Types
|
|
6046
6206
|
*/
|
|
@@ -6246,6 +6406,53 @@ export declare const CollectionArtifactSchema: z.ZodObject<{
|
|
|
6246
6406
|
Collection?: string;
|
|
6247
6407
|
}>;
|
|
6248
6408
|
export type CollectionArtifactEntityType = z.infer<typeof CollectionArtifactSchema>;
|
|
6409
|
+
/**
|
|
6410
|
+
* zod schema definition for the entity MJ: Collection Permissions
|
|
6411
|
+
*/
|
|
6412
|
+
export declare const CollectionPermissionSchema: z.ZodObject<{
|
|
6413
|
+
ID: z.ZodString;
|
|
6414
|
+
CollectionID: z.ZodString;
|
|
6415
|
+
UserID: z.ZodString;
|
|
6416
|
+
CanRead: z.ZodBoolean;
|
|
6417
|
+
CanShare: z.ZodBoolean;
|
|
6418
|
+
CanEdit: z.ZodBoolean;
|
|
6419
|
+
CanDelete: z.ZodBoolean;
|
|
6420
|
+
SharedByUserID: z.ZodNullable<z.ZodString>;
|
|
6421
|
+
__mj_CreatedAt: z.ZodDate;
|
|
6422
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
6423
|
+
Collection: z.ZodString;
|
|
6424
|
+
User: z.ZodString;
|
|
6425
|
+
SharedByUser: z.ZodNullable<z.ZodString>;
|
|
6426
|
+
}, "strip", z.ZodTypeAny, {
|
|
6427
|
+
ID?: string;
|
|
6428
|
+
__mj_CreatedAt?: Date;
|
|
6429
|
+
__mj_UpdatedAt?: Date;
|
|
6430
|
+
UserID?: string;
|
|
6431
|
+
User?: string;
|
|
6432
|
+
CanRead?: boolean;
|
|
6433
|
+
CanDelete?: boolean;
|
|
6434
|
+
CanShare?: boolean;
|
|
6435
|
+
CanEdit?: boolean;
|
|
6436
|
+
SharedByUserID?: string;
|
|
6437
|
+
SharedByUser?: string;
|
|
6438
|
+
CollectionID?: string;
|
|
6439
|
+
Collection?: string;
|
|
6440
|
+
}, {
|
|
6441
|
+
ID?: string;
|
|
6442
|
+
__mj_CreatedAt?: Date;
|
|
6443
|
+
__mj_UpdatedAt?: Date;
|
|
6444
|
+
UserID?: string;
|
|
6445
|
+
User?: string;
|
|
6446
|
+
CanRead?: boolean;
|
|
6447
|
+
CanDelete?: boolean;
|
|
6448
|
+
CanShare?: boolean;
|
|
6449
|
+
CanEdit?: boolean;
|
|
6450
|
+
SharedByUserID?: string;
|
|
6451
|
+
SharedByUser?: string;
|
|
6452
|
+
CollectionID?: string;
|
|
6453
|
+
Collection?: string;
|
|
6454
|
+
}>;
|
|
6455
|
+
export type CollectionPermissionEntityType = z.infer<typeof CollectionPermissionSchema>;
|
|
6249
6456
|
/**
|
|
6250
6457
|
* zod schema definition for the entity MJ: Collections
|
|
6251
6458
|
*/
|
|
@@ -6260,8 +6467,10 @@ export declare const CollectionSchema: z.ZodObject<{
|
|
|
6260
6467
|
Sequence: z.ZodNullable<z.ZodNumber>;
|
|
6261
6468
|
__mj_CreatedAt: z.ZodDate;
|
|
6262
6469
|
__mj_UpdatedAt: z.ZodDate;
|
|
6470
|
+
OwnerID: z.ZodNullable<z.ZodString>;
|
|
6263
6471
|
Environment: z.ZodString;
|
|
6264
6472
|
Parent: z.ZodNullable<z.ZodString>;
|
|
6473
|
+
Owner: z.ZodNullable<z.ZodString>;
|
|
6265
6474
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
6266
6475
|
}, "strip", z.ZodTypeAny, {
|
|
6267
6476
|
ID?: string;
|
|
@@ -6277,6 +6486,8 @@ export declare const CollectionSchema: z.ZodObject<{
|
|
|
6277
6486
|
EnvironmentID?: string;
|
|
6278
6487
|
Environment?: string;
|
|
6279
6488
|
Color?: string;
|
|
6489
|
+
OwnerID?: string;
|
|
6490
|
+
Owner?: string;
|
|
6280
6491
|
}, {
|
|
6281
6492
|
ID?: string;
|
|
6282
6493
|
__mj_CreatedAt?: Date;
|
|
@@ -6291,6 +6502,8 @@ export declare const CollectionSchema: z.ZodObject<{
|
|
|
6291
6502
|
EnvironmentID?: string;
|
|
6292
6503
|
Environment?: string;
|
|
6293
6504
|
Color?: string;
|
|
6505
|
+
OwnerID?: string;
|
|
6506
|
+
Owner?: string;
|
|
6294
6507
|
}>;
|
|
6295
6508
|
export type CollectionEntityType = z.infer<typeof CollectionSchema>;
|
|
6296
6509
|
/**
|
|
@@ -6557,7 +6770,7 @@ export declare const ConversationArtifactPermissionSchema: z.ZodObject<{
|
|
|
6557
6770
|
__mj_UpdatedAt?: Date;
|
|
6558
6771
|
UserID?: string;
|
|
6559
6772
|
ConversationArtifactID?: string;
|
|
6560
|
-
AccessLevel?: "
|
|
6773
|
+
AccessLevel?: "Owner" | "Edit" | "Read";
|
|
6561
6774
|
ConversationArtifact?: string;
|
|
6562
6775
|
}, {
|
|
6563
6776
|
ID?: string;
|
|
@@ -6565,7 +6778,7 @@ export declare const ConversationArtifactPermissionSchema: z.ZodObject<{
|
|
|
6565
6778
|
__mj_UpdatedAt?: Date;
|
|
6566
6779
|
UserID?: string;
|
|
6567
6780
|
ConversationArtifactID?: string;
|
|
6568
|
-
AccessLevel?: "
|
|
6781
|
+
AccessLevel?: "Owner" | "Edit" | "Read";
|
|
6569
6782
|
ConversationArtifact?: string;
|
|
6570
6783
|
}>;
|
|
6571
6784
|
export type ConversationArtifactPermissionEntityType = z.infer<typeof ConversationArtifactPermissionSchema>;
|
|
@@ -8262,7 +8475,7 @@ export declare const ReportSchema: z.ZodObject<{
|
|
|
8262
8475
|
Environment?: string;
|
|
8263
8476
|
Thumbnail?: string;
|
|
8264
8477
|
ConversationDetailID?: string;
|
|
8265
|
-
SharingScope?: "
|
|
8478
|
+
SharingScope?: "None" | "Specific" | "Everyone";
|
|
8266
8479
|
OutputTriggerTypeID?: string;
|
|
8267
8480
|
OutputFormatTypeID?: string;
|
|
8268
8481
|
OutputDeliveryTypeID?: string;
|
|
@@ -8292,7 +8505,7 @@ export declare const ReportSchema: z.ZodObject<{
|
|
|
8292
8505
|
Environment?: string;
|
|
8293
8506
|
Thumbnail?: string;
|
|
8294
8507
|
ConversationDetailID?: string;
|
|
8295
|
-
SharingScope?: "
|
|
8508
|
+
SharingScope?: "None" | "Specific" | "Everyone";
|
|
8296
8509
|
OutputTriggerTypeID?: string;
|
|
8297
8510
|
OutputFormatTypeID?: string;
|
|
8298
8511
|
OutputDeliveryTypeID?: string;
|
|
@@ -8374,7 +8587,7 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
|
|
|
8374
8587
|
ResourceRecordID?: string;
|
|
8375
8588
|
StartSharingAt?: Date;
|
|
8376
8589
|
EndSharingAt?: Date;
|
|
8377
|
-
PermissionLevel?: "View" | "
|
|
8590
|
+
PermissionLevel?: "View" | "Owner" | "Edit";
|
|
8378
8591
|
}, {
|
|
8379
8592
|
ID?: string;
|
|
8380
8593
|
__mj_CreatedAt?: Date;
|
|
@@ -8390,7 +8603,7 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
|
|
|
8390
8603
|
ResourceRecordID?: string;
|
|
8391
8604
|
StartSharingAt?: Date;
|
|
8392
8605
|
EndSharingAt?: Date;
|
|
8393
|
-
PermissionLevel?: "View" | "
|
|
8606
|
+
PermissionLevel?: "View" | "Owner" | "Edit";
|
|
8394
8607
|
}>;
|
|
8395
8608
|
export type ResourcePermissionEntityType = z.infer<typeof ResourcePermissionSchema>;
|
|
8396
8609
|
/**
|
|
@@ -8852,10 +9065,10 @@ export declare const TemplateParamSchema: z.ZodObject<{
|
|
|
8852
9065
|
EntityID?: string;
|
|
8853
9066
|
Entity?: string;
|
|
8854
9067
|
RecordID?: string;
|
|
8855
|
-
LinkedParameterName?: string;
|
|
8856
|
-
LinkedParameterField?: string;
|
|
8857
9068
|
ExtraFilter?: string;
|
|
8858
9069
|
OrderBy?: string;
|
|
9070
|
+
LinkedParameterName?: string;
|
|
9071
|
+
LinkedParameterField?: string;
|
|
8859
9072
|
TemplateContentID?: string;
|
|
8860
9073
|
}, {
|
|
8861
9074
|
ID?: string;
|
|
@@ -8871,10 +9084,10 @@ export declare const TemplateParamSchema: z.ZodObject<{
|
|
|
8871
9084
|
EntityID?: string;
|
|
8872
9085
|
Entity?: string;
|
|
8873
9086
|
RecordID?: string;
|
|
8874
|
-
LinkedParameterName?: string;
|
|
8875
|
-
LinkedParameterField?: string;
|
|
8876
9087
|
ExtraFilter?: string;
|
|
8877
9088
|
OrderBy?: string;
|
|
9089
|
+
LinkedParameterName?: string;
|
|
9090
|
+
LinkedParameterField?: string;
|
|
8878
9091
|
TemplateContentID?: string;
|
|
8879
9092
|
}>;
|
|
8880
9093
|
export type TemplateParamEntityType = z.infer<typeof TemplateParamSchema>;
|
|
@@ -10769,6 +10982,15 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
|
|
|
10769
10982
|
get IconClass(): string | null;
|
|
10770
10983
|
set IconClass(value: string | null);
|
|
10771
10984
|
/**
|
|
10985
|
+
* * Field Name: DefaultCompactPromptID
|
|
10986
|
+
* * Display Name: Default Compact Prompt ID
|
|
10987
|
+
* * SQL Data Type: uniqueidentifier
|
|
10988
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
10989
|
+
* * Description: Default prompt for compacting/summarizing this action's results when used by agents with CompactMode=AISummary. Action designers define how their specific results should be summarized. Can be overridden per agent in AIAgentAction.CompactPromptID.
|
|
10990
|
+
*/
|
|
10991
|
+
get DefaultCompactPromptID(): string | null;
|
|
10992
|
+
set DefaultCompactPromptID(value: string | null);
|
|
10993
|
+
/**
|
|
10772
10994
|
* * Field Name: Category
|
|
10773
10995
|
* * Display Name: Category
|
|
10774
10996
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -10787,6 +11009,12 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
|
|
|
10787
11009
|
*/
|
|
10788
11010
|
get Parent(): string | null;
|
|
10789
11011
|
/**
|
|
11012
|
+
* * Field Name: DefaultCompactPrompt
|
|
11013
|
+
* * Display Name: Default Compact Prompt
|
|
11014
|
+
* * SQL Data Type: nvarchar(255)
|
|
11015
|
+
*/
|
|
11016
|
+
get DefaultCompactPrompt(): string | null;
|
|
11017
|
+
/**
|
|
10790
11018
|
* * Field Name: RootParentID
|
|
10791
11019
|
* * Display Name: Root Parent ID
|
|
10792
11020
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -10912,15 +11140,27 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
10912
11140
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
10913
11141
|
/**
|
|
10914
11142
|
* Validate() method override for AI Agent Actions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
11143
|
+
* * CompactLength: This rule ensures that if a value is provided for CompactLength, it must be greater than zero. If CompactLength is left empty, no rule applies.
|
|
10915
11144
|
* * MaxExecutionsPerRun: This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
10916
11145
|
* * MinExecutionsPerRun: This rule ensures that if a minimum executions per run value is provided, it must be zero or greater.
|
|
11146
|
+
* * ResultExpirationTurns: This rule ensures that if the ResultExpirationTurns field has a value, it must be zero or greater (it cannot be negative). If ResultExpirationTurns is left empty, there is no restriction.
|
|
11147
|
+
* * Table-Level: This rule ensures that if the compact mode is set to 'First N Chars', a compact length must be specified. For any other compact mode, the compact length can be left empty.
|
|
11148
|
+
* * Table-Level: This rule ensures that if the result expiration mode is set to 'Compact', a compact mode value must also be provided. If the result expiration mode is not 'Compact', compact mode can be left empty.
|
|
10917
11149
|
* * Table-Level: This rule ensures that if both minimum and maximum executions per run are specified, the minimum cannot be greater than the maximum. If either value is not specified, the rule is not enforced.
|
|
11150
|
+
* * Table-Level: This rule ensures that if the result expiration mode is set to 'Compact', then CompactMode, CompactLength, and CompactPromptID must all be empty (null). If the expiration mode is not 'Compact', these fields may be filled in.
|
|
10918
11151
|
* @public
|
|
10919
11152
|
* @method
|
|
10920
11153
|
* @override
|
|
10921
11154
|
*/
|
|
10922
11155
|
Validate(): ValidationResult;
|
|
10923
11156
|
/**
|
|
11157
|
+
* This rule ensures that if a value is provided for CompactLength, it must be greater than zero. If CompactLength is left empty, no rule applies.
|
|
11158
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11159
|
+
* @public
|
|
11160
|
+
* @method
|
|
11161
|
+
*/
|
|
11162
|
+
ValidateCompactLengthGreaterThanZero(result: ValidationResult): void;
|
|
11163
|
+
/**
|
|
10924
11164
|
* This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
10925
11165
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10926
11166
|
* @public
|
|
@@ -10935,6 +11175,27 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
10935
11175
|
*/
|
|
10936
11176
|
ValidateMinExecutionsPerRunIsNonNegative(result: ValidationResult): void;
|
|
10937
11177
|
/**
|
|
11178
|
+
* This rule ensures that if the ResultExpirationTurns field has a value, it must be zero or greater (it cannot be negative). If ResultExpirationTurns is left empty, there is no restriction.
|
|
11179
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11180
|
+
* @public
|
|
11181
|
+
* @method
|
|
11182
|
+
*/
|
|
11183
|
+
ValidateResultExpirationTurnsNonNegative(result: ValidationResult): void;
|
|
11184
|
+
/**
|
|
11185
|
+
* This rule ensures that if the compact mode is set to 'First N Chars', a compact length must be specified. For any other compact mode, the compact length can be left empty.
|
|
11186
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11187
|
+
* @public
|
|
11188
|
+
* @method
|
|
11189
|
+
*/
|
|
11190
|
+
ValidateCompactLengthRequiredForFirstNCharsMode(result: ValidationResult): void;
|
|
11191
|
+
/**
|
|
11192
|
+
* This rule ensures that if the result expiration mode is set to 'Compact', a compact mode value must also be provided. If the result expiration mode is not 'Compact', compact mode can be left empty.
|
|
11193
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11194
|
+
* @public
|
|
11195
|
+
* @method
|
|
11196
|
+
*/
|
|
11197
|
+
ValidateCompactModeWhenResultExpirationModeIsCompact(result: ValidationResult): void;
|
|
11198
|
+
/**
|
|
10938
11199
|
* This rule ensures that if both minimum and maximum executions per run are specified, the minimum cannot be greater than the maximum. If either value is not specified, the rule is not enforced.
|
|
10939
11200
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
10940
11201
|
* @public
|
|
@@ -10942,6 +11203,13 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
10942
11203
|
*/
|
|
10943
11204
|
ValidateMinExecutionsPerRunIsLessThanOrEqualToMaxExecutionsPerRun(result: ValidationResult): void;
|
|
10944
11205
|
/**
|
|
11206
|
+
* This rule ensures that if the result expiration mode is set to 'Compact', then CompactMode, CompactLength, and CompactPromptID must all be empty (null). If the expiration mode is not 'Compact', these fields may be filled in.
|
|
11207
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
11208
|
+
* @public
|
|
11209
|
+
* @method
|
|
11210
|
+
*/
|
|
11211
|
+
ValidateResultExpirationModeRequiresCompactFieldsEmpty(result: ValidationResult): void;
|
|
11212
|
+
/**
|
|
10945
11213
|
* * Field Name: ID
|
|
10946
11214
|
* * Display Name: ID
|
|
10947
11215
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -11012,6 +11280,57 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
11012
11280
|
get MaxExecutionsPerRun(): number | null;
|
|
11013
11281
|
set MaxExecutionsPerRun(value: number | null);
|
|
11014
11282
|
/**
|
|
11283
|
+
* * Field Name: ResultExpirationTurns
|
|
11284
|
+
* * Display Name: Result Expiration Turns
|
|
11285
|
+
* * SQL Data Type: int
|
|
11286
|
+
* * Description: Number of conversation turns before action results expire from conversation context. NULL = never expire (default). 0 = expire immediately after next turn.
|
|
11287
|
+
*/
|
|
11288
|
+
get ResultExpirationTurns(): number | null;
|
|
11289
|
+
set ResultExpirationTurns(value: number | null);
|
|
11290
|
+
/**
|
|
11291
|
+
* * Field Name: ResultExpirationMode
|
|
11292
|
+
* * Display Name: Result Expiration Mode
|
|
11293
|
+
* * SQL Data Type: nvarchar(20)
|
|
11294
|
+
* * Default Value: None
|
|
11295
|
+
* * Value List Type: List
|
|
11296
|
+
* * Possible Values
|
|
11297
|
+
* * Remove
|
|
11298
|
+
* * None
|
|
11299
|
+
* * Compact
|
|
11300
|
+
* * Description: How to handle expired action results: None (no expiration, default), Remove (delete message entirely), Compact (reduce size via CompactMode while preserving key information).
|
|
11301
|
+
*/
|
|
11302
|
+
get ResultExpirationMode(): 'Compact' | 'None' | 'Remove';
|
|
11303
|
+
set ResultExpirationMode(value: 'Compact' | 'None' | 'Remove');
|
|
11304
|
+
/**
|
|
11305
|
+
* * Field Name: CompactMode
|
|
11306
|
+
* * Display Name: Compact Mode
|
|
11307
|
+
* * SQL Data Type: nvarchar(20)
|
|
11308
|
+
* * Value List Type: List
|
|
11309
|
+
* * Possible Values
|
|
11310
|
+
* * AI Summary
|
|
11311
|
+
* * First N Chars
|
|
11312
|
+
* * Description: How to compact results when ResultExpirationMode=Compact: FirstNChars (truncate to CompactLength characters, fast and free), AISummary (use LLM to intelligently summarize with CompactPromptID or Action.DefaultCompactPromptID).
|
|
11313
|
+
*/
|
|
11314
|
+
get CompactMode(): 'AI Summary' | 'First N Chars' | null;
|
|
11315
|
+
set CompactMode(value: 'AI Summary' | 'First N Chars' | null);
|
|
11316
|
+
/**
|
|
11317
|
+
* * Field Name: CompactLength
|
|
11318
|
+
* * Display Name: Compact Length
|
|
11319
|
+
* * SQL Data Type: int
|
|
11320
|
+
* * Description: Number of characters to keep when CompactMode=FirstNChars. Required when CompactMode is FirstNChars, ignored otherwise.
|
|
11321
|
+
*/
|
|
11322
|
+
get CompactLength(): number | null;
|
|
11323
|
+
set CompactLength(value: number | null);
|
|
11324
|
+
/**
|
|
11325
|
+
* * Field Name: CompactPromptID
|
|
11326
|
+
* * Display Name: Compact Prompt ID
|
|
11327
|
+
* * SQL Data Type: uniqueidentifier
|
|
11328
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
11329
|
+
* * Description: Optional override for AI summarization prompt when CompactMode=AISummary. Lookup hierarchy: this field -> Action.DefaultCompactPromptID -> system default. Allows agent-specific summarization focus (e.g., technical vs. marketing perspective).
|
|
11330
|
+
*/
|
|
11331
|
+
get CompactPromptID(): string | null;
|
|
11332
|
+
set CompactPromptID(value: string | null);
|
|
11333
|
+
/**
|
|
11015
11334
|
* * Field Name: Agent
|
|
11016
11335
|
* * Display Name: Agent
|
|
11017
11336
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -11023,6 +11342,12 @@ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityT
|
|
|
11023
11342
|
* * SQL Data Type: nvarchar(425)
|
|
11024
11343
|
*/
|
|
11025
11344
|
get Action(): string | null;
|
|
11345
|
+
/**
|
|
11346
|
+
* * Field Name: CompactPrompt
|
|
11347
|
+
* * Display Name: Compact Prompt
|
|
11348
|
+
* * SQL Data Type: nvarchar(255)
|
|
11349
|
+
*/
|
|
11350
|
+
get CompactPrompt(): string | null;
|
|
11026
11351
|
}
|
|
11027
11352
|
/**
|
|
11028
11353
|
* AI Agent Learning Cycles - strongly typed entity sub-class
|
|
@@ -11973,6 +12298,20 @@ if this limit is exceeded.
|
|
|
11973
12298
|
get OwnerUserID(): string;
|
|
11974
12299
|
set OwnerUserID(value: string);
|
|
11975
12300
|
/**
|
|
12301
|
+
* * Field Name: InvocationMode
|
|
12302
|
+
* * Display Name: Invocation Mode
|
|
12303
|
+
* * SQL Data Type: nvarchar(20)
|
|
12304
|
+
* * Default Value: Any
|
|
12305
|
+
* * Value List Type: List
|
|
12306
|
+
* * Possible Values
|
|
12307
|
+
* * Sub-Agent
|
|
12308
|
+
* * Any
|
|
12309
|
+
* * Top-Level
|
|
12310
|
+
* * Description: Controls how the agent can be invoked: Any (default - can be top-level or sub-agent), Top-Level (only callable as primary agent), Sub-Agent (only callable as sub-agent). Used to filter available agents in tools like Sage.
|
|
12311
|
+
*/
|
|
12312
|
+
get InvocationMode(): 'Any' | 'Sub-Agent' | 'Top-Level';
|
|
12313
|
+
set InvocationMode(value: 'Any' | 'Sub-Agent' | 'Top-Level');
|
|
12314
|
+
/**
|
|
11976
12315
|
* * Field Name: Parent
|
|
11977
12316
|
* * Display Name: Parent
|
|
11978
12317
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -16485,6 +16824,14 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
|
|
|
16485
16824
|
get Status(): 'Complete' | 'Error' | 'In-Progress';
|
|
16486
16825
|
set Status(value: 'Complete' | 'Error' | 'In-Progress');
|
|
16487
16826
|
/**
|
|
16827
|
+
* * Field Name: SuggestedResponses
|
|
16828
|
+
* * Display Name: Suggested Responses
|
|
16829
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
16830
|
+
* * Description: JSON array of suggested responses that can be displayed to the user for quick replies. Each response object contains: text (display text), allowInput (boolean), iconClass (optional Font Awesome class), and data (optional payload).
|
|
16831
|
+
*/
|
|
16832
|
+
get SuggestedResponses(): string | null;
|
|
16833
|
+
set SuggestedResponses(value: string | null);
|
|
16834
|
+
/**
|
|
16488
16835
|
* * Field Name: Conversation
|
|
16489
16836
|
* * Display Name: Conversation
|
|
16490
16837
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -23097,44 +23444,60 @@ export declare class AIAgentArtifactTypeEntity extends BaseEntity<AIAgentArtifac
|
|
|
23097
23444
|
get ArtifactType(): string;
|
|
23098
23445
|
}
|
|
23099
23446
|
/**
|
|
23100
|
-
* MJ: AI Agent
|
|
23447
|
+
* MJ: AI Agent Data Sources - strongly typed entity sub-class
|
|
23101
23448
|
* * Schema: __mj
|
|
23102
|
-
* * Base Table:
|
|
23103
|
-
* * Base View:
|
|
23104
|
-
* * @description Defines
|
|
23449
|
+
* * Base Table: AIAgentDataSource
|
|
23450
|
+
* * Base View: vwAIAgentDataSources
|
|
23451
|
+
* * @description Defines data sources that should be preloaded into the data parameter before agent execution. Supports both RunView and RunQuery sources with configurable caching.
|
|
23105
23452
|
* * Primary Key: ID
|
|
23106
23453
|
* @extends {BaseEntity}
|
|
23107
23454
|
* @class
|
|
23108
23455
|
* @public
|
|
23109
23456
|
*/
|
|
23110
|
-
export declare class
|
|
23457
|
+
export declare class AIAgentDataSourceEntity extends BaseEntity<AIAgentDataSourceEntityType> {
|
|
23111
23458
|
/**
|
|
23112
|
-
* Loads the MJ: AI Agent
|
|
23113
|
-
* @param ID: string - primary key value to load the MJ: AI Agent
|
|
23459
|
+
* Loads the MJ: AI Agent Data Sources record from the database
|
|
23460
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Data Sources record.
|
|
23114
23461
|
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23115
23462
|
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23116
23463
|
* @public
|
|
23117
23464
|
* @async
|
|
23118
|
-
* @memberof
|
|
23465
|
+
* @memberof AIAgentDataSourceEntity
|
|
23119
23466
|
* @method
|
|
23120
23467
|
* @override
|
|
23121
23468
|
*/
|
|
23122
23469
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23123
23470
|
/**
|
|
23124
|
-
* Validate() method override for MJ: AI Agent
|
|
23125
|
-
* * Table-Level: This rule ensures that
|
|
23471
|
+
* Validate() method override for MJ: AI Agent Data Sources entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
23472
|
+
* * Table-Level: This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
23473
|
+
* * Table-Level: This rule makes sure that if the source type is 'RunView', the entity name must be provided. If the source type is anything else, the entity name can be left blank.
|
|
23474
|
+
* * Table-Level: This rule ensures that when the Source Type is set to 'RunQuery', a Query Name must be provided. If Source Type is anything other than 'RunQuery', Query Name is optional.
|
|
23126
23475
|
* @public
|
|
23127
23476
|
* @method
|
|
23128
23477
|
* @override
|
|
23129
23478
|
*/
|
|
23130
23479
|
Validate(): ValidationResult;
|
|
23131
23480
|
/**
|
|
23132
|
-
* This rule ensures that
|
|
23481
|
+
* This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
23133
23482
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23134
23483
|
* @public
|
|
23135
23484
|
* @method
|
|
23136
23485
|
*/
|
|
23137
|
-
|
|
23486
|
+
ValidateCacheTimeoutSecondsRequiredForPerAgentPolicy(result: ValidationResult): void;
|
|
23487
|
+
/**
|
|
23488
|
+
* This rule makes sure that if the source type is 'RunView', the entity name must be provided. If the source type is anything else, the entity name can be left blank.
|
|
23489
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23490
|
+
* @public
|
|
23491
|
+
* @method
|
|
23492
|
+
*/
|
|
23493
|
+
ValidateEntityNameRequiredWhenSourceTypeRunView(result: ValidationResult): void;
|
|
23494
|
+
/**
|
|
23495
|
+
* This rule ensures that when the Source Type is set to 'RunQuery', a Query Name must be provided. If Source Type is anything other than 'RunQuery', Query Name is optional.
|
|
23496
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23497
|
+
* @public
|
|
23498
|
+
* @method
|
|
23499
|
+
*/
|
|
23500
|
+
ValidateQueryNameRequiredWhenSourceTypeIsRunQuery(result: ValidationResult): void;
|
|
23138
23501
|
/**
|
|
23139
23502
|
* * Field Name: ID
|
|
23140
23503
|
* * Display Name: ID
|
|
@@ -23152,36 +23515,284 @@ export declare class AIAgentPermissionEntity extends BaseEntity<AIAgentPermissio
|
|
|
23152
23515
|
get AgentID(): string;
|
|
23153
23516
|
set AgentID(value: string);
|
|
23154
23517
|
/**
|
|
23155
|
-
* * Field Name:
|
|
23156
|
-
* * Display Name:
|
|
23157
|
-
* * SQL Data Type:
|
|
23158
|
-
* *
|
|
23159
|
-
* * Description: The role this permission is granted to. Either RoleID or UserID must be specified, but not both.
|
|
23518
|
+
* * Field Name: Name
|
|
23519
|
+
* * Display Name: Name
|
|
23520
|
+
* * SQL Data Type: nvarchar(255)
|
|
23521
|
+
* * Description: Variable name for the data in the data parameter (e.g., "ALL_ENTITIES"). Must be unique within an agent.
|
|
23160
23522
|
*/
|
|
23161
|
-
get
|
|
23162
|
-
set
|
|
23523
|
+
get Name(): string;
|
|
23524
|
+
set Name(value: string);
|
|
23163
23525
|
/**
|
|
23164
|
-
* * Field Name:
|
|
23165
|
-
* * Display Name:
|
|
23166
|
-
* * SQL Data Type:
|
|
23167
|
-
* *
|
|
23168
|
-
* * Description: The user this permission is granted to. Either RoleID or UserID must be specified, but not both.
|
|
23526
|
+
* * Field Name: Description
|
|
23527
|
+
* * Display Name: Description
|
|
23528
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23529
|
+
* * Description: Description of what this data source provides
|
|
23169
23530
|
*/
|
|
23170
|
-
get
|
|
23171
|
-
set
|
|
23531
|
+
get Description(): string | null;
|
|
23532
|
+
set Description(value: string | null);
|
|
23172
23533
|
/**
|
|
23173
|
-
* * Field Name:
|
|
23174
|
-
* * Display Name:
|
|
23175
|
-
* * SQL Data Type:
|
|
23176
|
-
* * Default Value:
|
|
23177
|
-
* *
|
|
23534
|
+
* * Field Name: SourceType
|
|
23535
|
+
* * Display Name: Source Type
|
|
23536
|
+
* * SQL Data Type: nvarchar(20)
|
|
23537
|
+
* * Default Value: RunView
|
|
23538
|
+
* * Value List Type: List
|
|
23539
|
+
* * Possible Values
|
|
23540
|
+
* * RunQuery
|
|
23541
|
+
* * RunView
|
|
23542
|
+
* * Description: Type of data source: RunView or RunQuery. Determines which parameters are used.
|
|
23178
23543
|
*/
|
|
23179
|
-
get
|
|
23180
|
-
set
|
|
23544
|
+
get SourceType(): 'RunQuery' | 'RunView';
|
|
23545
|
+
set SourceType(value: 'RunQuery' | 'RunView');
|
|
23181
23546
|
/**
|
|
23182
|
-
* * Field Name:
|
|
23183
|
-
* * Display Name:
|
|
23184
|
-
* * SQL Data Type:
|
|
23547
|
+
* * Field Name: EntityName
|
|
23548
|
+
* * Display Name: Entity Name
|
|
23549
|
+
* * SQL Data Type: nvarchar(255)
|
|
23550
|
+
* * Description: Entity name for RunView data sources (e.g., "Entities", "AI Models")
|
|
23551
|
+
*/
|
|
23552
|
+
get EntityName(): string | null;
|
|
23553
|
+
set EntityName(value: string | null);
|
|
23554
|
+
/**
|
|
23555
|
+
* * Field Name: ExtraFilter
|
|
23556
|
+
* * Display Name: Extra Filter
|
|
23557
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23558
|
+
* * Description: SQL WHERE clause filter for RunView data sources
|
|
23559
|
+
*/
|
|
23560
|
+
get ExtraFilter(): string | null;
|
|
23561
|
+
set ExtraFilter(value: string | null);
|
|
23562
|
+
/**
|
|
23563
|
+
* * Field Name: OrderBy
|
|
23564
|
+
* * Display Name: Order By
|
|
23565
|
+
* * SQL Data Type: nvarchar(500)
|
|
23566
|
+
* * Description: SQL ORDER BY clause for RunView data sources
|
|
23567
|
+
*/
|
|
23568
|
+
get OrderBy(): string | null;
|
|
23569
|
+
set OrderBy(value: string | null);
|
|
23570
|
+
/**
|
|
23571
|
+
* * Field Name: FieldsToRetrieve
|
|
23572
|
+
* * Display Name: Fields To Retrieve
|
|
23573
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23574
|
+
* * Description: JSON array of field names to return for RunView data sources (e.g., ["ID", "Name", "Description"])
|
|
23575
|
+
*/
|
|
23576
|
+
get FieldsToRetrieve(): string | null;
|
|
23577
|
+
set FieldsToRetrieve(value: string | null);
|
|
23578
|
+
/**
|
|
23579
|
+
* * Field Name: ResultType
|
|
23580
|
+
* * Display Name: Result Type
|
|
23581
|
+
* * SQL Data Type: nvarchar(20)
|
|
23582
|
+
* * Default Value: simple
|
|
23583
|
+
* * Value List Type: List
|
|
23584
|
+
* * Possible Values
|
|
23585
|
+
* * entity_object
|
|
23586
|
+
* * simple
|
|
23587
|
+
* * Description: Result type for RunView: simple (default) or entity_object
|
|
23588
|
+
*/
|
|
23589
|
+
get ResultType(): 'entity_object' | 'simple' | null;
|
|
23590
|
+
set ResultType(value: 'entity_object' | 'simple' | null);
|
|
23591
|
+
/**
|
|
23592
|
+
* * Field Name: QueryName
|
|
23593
|
+
* * Display Name: Query Name
|
|
23594
|
+
* * SQL Data Type: nvarchar(255)
|
|
23595
|
+
* * Description: Query name for RunQuery data sources
|
|
23596
|
+
*/
|
|
23597
|
+
get QueryName(): string | null;
|
|
23598
|
+
set QueryName(value: string | null);
|
|
23599
|
+
/**
|
|
23600
|
+
* * Field Name: CategoryPath
|
|
23601
|
+
* * Display Name: Category Path
|
|
23602
|
+
* * SQL Data Type: nvarchar(500)
|
|
23603
|
+
* * Description: Category path for RunQuery data sources (e.g., "/MJ/AI/Agents/")
|
|
23604
|
+
*/
|
|
23605
|
+
get CategoryPath(): string | null;
|
|
23606
|
+
set CategoryPath(value: string | null);
|
|
23607
|
+
/**
|
|
23608
|
+
* * Field Name: Parameters
|
|
23609
|
+
* * Display Name: Parameters
|
|
23610
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23611
|
+
* * Description: JSON object of parameters for RunQuery data sources (e.g., {"organizationId": "123"})
|
|
23612
|
+
*/
|
|
23613
|
+
get Parameters(): string | null;
|
|
23614
|
+
set Parameters(value: string | null);
|
|
23615
|
+
/**
|
|
23616
|
+
* * Field Name: MaxRows
|
|
23617
|
+
* * Display Name: Max Rows
|
|
23618
|
+
* * SQL Data Type: int
|
|
23619
|
+
* * Description: Maximum number of rows to return. Applies to both RunView and RunQuery.
|
|
23620
|
+
*/
|
|
23621
|
+
get MaxRows(): number | null;
|
|
23622
|
+
set MaxRows(value: number | null);
|
|
23623
|
+
/**
|
|
23624
|
+
* * Field Name: ExecutionOrder
|
|
23625
|
+
* * Display Name: Execution Order
|
|
23626
|
+
* * SQL Data Type: int
|
|
23627
|
+
* * Default Value: 0
|
|
23628
|
+
* * Description: Execution order when multiple data sources are defined for an agent (lower numbers execute first)
|
|
23629
|
+
*/
|
|
23630
|
+
get ExecutionOrder(): number;
|
|
23631
|
+
set ExecutionOrder(value: number);
|
|
23632
|
+
/**
|
|
23633
|
+
* * Field Name: Status
|
|
23634
|
+
* * Display Name: Status
|
|
23635
|
+
* * SQL Data Type: nvarchar(20)
|
|
23636
|
+
* * Default Value: Active
|
|
23637
|
+
* * Value List Type: List
|
|
23638
|
+
* * Possible Values
|
|
23639
|
+
* * Active
|
|
23640
|
+
* * Disabled
|
|
23641
|
+
* * Description: Status of the data source: Active or Disabled
|
|
23642
|
+
*/
|
|
23643
|
+
get Status(): 'Active' | 'Disabled';
|
|
23644
|
+
set Status(value: 'Active' | 'Disabled');
|
|
23645
|
+
/**
|
|
23646
|
+
* * Field Name: CachePolicy
|
|
23647
|
+
* * Display Name: Cache Policy
|
|
23648
|
+
* * SQL Data Type: nvarchar(20)
|
|
23649
|
+
* * Default Value: None
|
|
23650
|
+
* * Value List Type: List
|
|
23651
|
+
* * Possible Values
|
|
23652
|
+
* * PerRun
|
|
23653
|
+
* * PerAgent
|
|
23654
|
+
* * None
|
|
23655
|
+
* * Description: Cache policy: None (no caching), PerRun (cache for duration of agent run), PerAgent (cache across runs with timeout)
|
|
23656
|
+
*/
|
|
23657
|
+
get CachePolicy(): 'None' | 'PerAgent' | 'PerRun';
|
|
23658
|
+
set CachePolicy(value: 'None' | 'PerAgent' | 'PerRun');
|
|
23659
|
+
/**
|
|
23660
|
+
* * Field Name: CacheTimeoutSeconds
|
|
23661
|
+
* * Display Name: Cache Timeout Seconds
|
|
23662
|
+
* * SQL Data Type: int
|
|
23663
|
+
* * Description: Time-to-live in seconds for PerAgent cache policy. Ignored for other cache policies.
|
|
23664
|
+
*/
|
|
23665
|
+
get CacheTimeoutSeconds(): number | null;
|
|
23666
|
+
set CacheTimeoutSeconds(value: number | null);
|
|
23667
|
+
/**
|
|
23668
|
+
* * Field Name: DestinationType
|
|
23669
|
+
* * Display Name: Destination Type
|
|
23670
|
+
* * SQL Data Type: nvarchar(20)
|
|
23671
|
+
* * Default Value: Data
|
|
23672
|
+
* * Value List Type: List
|
|
23673
|
+
* * Possible Values
|
|
23674
|
+
* * Data
|
|
23675
|
+
* * Context
|
|
23676
|
+
* * Payload
|
|
23677
|
+
* * Description: Destination for the preloaded data: Data (for Nunjucks templates in prompts), Context (for actions only), or Payload (for agent state)
|
|
23678
|
+
*/
|
|
23679
|
+
get DestinationType(): 'Context' | 'Data' | 'Payload';
|
|
23680
|
+
set DestinationType(value: 'Context' | 'Data' | 'Payload');
|
|
23681
|
+
/**
|
|
23682
|
+
* * Field Name: DestinationPath
|
|
23683
|
+
* * Display Name: Destination Path
|
|
23684
|
+
* * SQL Data Type: nvarchar(500)
|
|
23685
|
+
* * Description: Path within the destination where data should be injected. Supports nested paths using dot notation (e.g., "config.api.endpoints", "analysis.orders.recent"). If null, uses Name as root-level key.
|
|
23686
|
+
*/
|
|
23687
|
+
get DestinationPath(): string | null;
|
|
23688
|
+
set DestinationPath(value: string | null);
|
|
23689
|
+
/**
|
|
23690
|
+
* * Field Name: __mj_CreatedAt
|
|
23691
|
+
* * Display Name: Created At
|
|
23692
|
+
* * SQL Data Type: datetimeoffset
|
|
23693
|
+
* * Default Value: getutcdate()
|
|
23694
|
+
*/
|
|
23695
|
+
get __mj_CreatedAt(): Date;
|
|
23696
|
+
/**
|
|
23697
|
+
* * Field Name: __mj_UpdatedAt
|
|
23698
|
+
* * Display Name: Updated At
|
|
23699
|
+
* * SQL Data Type: datetimeoffset
|
|
23700
|
+
* * Default Value: getutcdate()
|
|
23701
|
+
*/
|
|
23702
|
+
get __mj_UpdatedAt(): Date;
|
|
23703
|
+
/**
|
|
23704
|
+
* * Field Name: Agent
|
|
23705
|
+
* * Display Name: Agent
|
|
23706
|
+
* * SQL Data Type: nvarchar(255)
|
|
23707
|
+
*/
|
|
23708
|
+
get Agent(): string | null;
|
|
23709
|
+
}
|
|
23710
|
+
/**
|
|
23711
|
+
* MJ: AI Agent Permissions - strongly typed entity sub-class
|
|
23712
|
+
* * Schema: __mj
|
|
23713
|
+
* * Base Table: AIAgentPermission
|
|
23714
|
+
* * Base View: vwAIAgentPermissions
|
|
23715
|
+
* * @description Defines access control permissions for AI agents using an ACL (Access Control List) model. Permissions can be granted to individual users or roles.
|
|
23716
|
+
* * Primary Key: ID
|
|
23717
|
+
* @extends {BaseEntity}
|
|
23718
|
+
* @class
|
|
23719
|
+
* @public
|
|
23720
|
+
*/
|
|
23721
|
+
export declare class AIAgentPermissionEntity extends BaseEntity<AIAgentPermissionEntityType> {
|
|
23722
|
+
/**
|
|
23723
|
+
* Loads the MJ: AI Agent Permissions record from the database
|
|
23724
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Permissions record.
|
|
23725
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23726
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23727
|
+
* @public
|
|
23728
|
+
* @async
|
|
23729
|
+
* @memberof AIAgentPermissionEntity
|
|
23730
|
+
* @method
|
|
23731
|
+
* @override
|
|
23732
|
+
*/
|
|
23733
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23734
|
+
/**
|
|
23735
|
+
* Validate() method override for MJ: AI Agent Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
23736
|
+
* * Table-Level: This rule ensures that either a Role or a User is specified, but not both at the same time. You must provide one or the other, but never both, and neither can be left blank at the same time.
|
|
23737
|
+
* @public
|
|
23738
|
+
* @method
|
|
23739
|
+
* @override
|
|
23740
|
+
*/
|
|
23741
|
+
Validate(): ValidationResult;
|
|
23742
|
+
/**
|
|
23743
|
+
* This rule ensures that either a Role or a User is specified, but not both at the same time. You must provide one or the other, but never both, and neither can be left blank at the same time.
|
|
23744
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
23745
|
+
* @public
|
|
23746
|
+
* @method
|
|
23747
|
+
*/
|
|
23748
|
+
ValidateRoleIDAndUserIDExclusive(result: ValidationResult): void;
|
|
23749
|
+
/**
|
|
23750
|
+
* * Field Name: ID
|
|
23751
|
+
* * Display Name: ID
|
|
23752
|
+
* * SQL Data Type: uniqueidentifier
|
|
23753
|
+
* * Default Value: newsequentialid()
|
|
23754
|
+
*/
|
|
23755
|
+
get ID(): string;
|
|
23756
|
+
set ID(value: string);
|
|
23757
|
+
/**
|
|
23758
|
+
* * Field Name: AgentID
|
|
23759
|
+
* * Display Name: Agent ID
|
|
23760
|
+
* * SQL Data Type: uniqueidentifier
|
|
23761
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
23762
|
+
*/
|
|
23763
|
+
get AgentID(): string;
|
|
23764
|
+
set AgentID(value: string);
|
|
23765
|
+
/**
|
|
23766
|
+
* * Field Name: RoleID
|
|
23767
|
+
* * Display Name: Role ID
|
|
23768
|
+
* * SQL Data Type: uniqueidentifier
|
|
23769
|
+
* * Related Entity/Foreign Key: Roles (vwRoles.ID)
|
|
23770
|
+
* * Description: The role this permission is granted to. Either RoleID or UserID must be specified, but not both.
|
|
23771
|
+
*/
|
|
23772
|
+
get RoleID(): string | null;
|
|
23773
|
+
set RoleID(value: string | null);
|
|
23774
|
+
/**
|
|
23775
|
+
* * Field Name: UserID
|
|
23776
|
+
* * Display Name: User ID
|
|
23777
|
+
* * SQL Data Type: uniqueidentifier
|
|
23778
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
23779
|
+
* * Description: The user this permission is granted to. Either RoleID or UserID must be specified, but not both.
|
|
23780
|
+
*/
|
|
23781
|
+
get UserID(): string | null;
|
|
23782
|
+
set UserID(value: string | null);
|
|
23783
|
+
/**
|
|
23784
|
+
* * Field Name: CanView
|
|
23785
|
+
* * Display Name: Can View
|
|
23786
|
+
* * SQL Data Type: bit
|
|
23787
|
+
* * Default Value: 0
|
|
23788
|
+
* * Description: Grants permission to view the agent configuration and details.
|
|
23789
|
+
*/
|
|
23790
|
+
get CanView(): boolean;
|
|
23791
|
+
set CanView(value: boolean);
|
|
23792
|
+
/**
|
|
23793
|
+
* * Field Name: CanRun
|
|
23794
|
+
* * Display Name: Can Run
|
|
23795
|
+
* * SQL Data Type: bit
|
|
23185
23796
|
* * Default Value: 0
|
|
23186
23797
|
* * Description: Grants permission to execute/run the agent. Typically implies CanView as well.
|
|
23187
23798
|
*/
|
|
@@ -23497,6 +24108,22 @@ export declare class AIAgentRelationshipEntity extends BaseEntity<AIAgentRelatio
|
|
|
23497
24108
|
get SubAgentOutputMapping(): string | null;
|
|
23498
24109
|
set SubAgentOutputMapping(value: string | null);
|
|
23499
24110
|
/**
|
|
24111
|
+
* * Field Name: SubAgentInputMapping
|
|
24112
|
+
* * Display Name: Sub Agent Input Mapping
|
|
24113
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24114
|
+
* * Description: JSON mapping of parent payload paths to sub-agent initial payload paths. Enables structural data transfer from parent to related sub-agent. Format: {"parentPath": "subAgentPath", "parent.nested": "subAgent.field"}. Example: {"searchQuery": "query", "maxResults": "limit"}. If null, sub-agent starts with empty payload (default behavior).
|
|
24115
|
+
*/
|
|
24116
|
+
get SubAgentInputMapping(): string | null;
|
|
24117
|
+
set SubAgentInputMapping(value: string | null);
|
|
24118
|
+
/**
|
|
24119
|
+
* * Field Name: SubAgentContextPaths
|
|
24120
|
+
* * Display Name: Sub Agent Context Paths
|
|
24121
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24122
|
+
* * Description: JSON array of parent payload paths to send as LLM context to related sub-agent. Sub-agent receives this data in a formatted context message before its task message. Format: ["path1", "path2.nested", "path3.*", "*"]. Use "*" to send entire parent payload. Example: ["userPreferences", "priorFindings.summary", "sources[*]"]. If null, no parent context is sent (default behavior).
|
|
24123
|
+
*/
|
|
24124
|
+
get SubAgentContextPaths(): string | null;
|
|
24125
|
+
set SubAgentContextPaths(value: string | null);
|
|
24126
|
+
/**
|
|
23500
24127
|
* * Field Name: Agent
|
|
23501
24128
|
* * Display Name: Agent
|
|
23502
24129
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -26802,6 +27429,132 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
|
|
|
26802
27429
|
*/
|
|
26803
27430
|
get __mj_UpdatedAt(): Date;
|
|
26804
27431
|
}
|
|
27432
|
+
/**
|
|
27433
|
+
* MJ: Artifact Permissions - strongly typed entity sub-class
|
|
27434
|
+
* * Schema: __mj
|
|
27435
|
+
* * Base Table: ArtifactPermission
|
|
27436
|
+
* * Base View: vwArtifactPermissions
|
|
27437
|
+
* * @description Manages user permissions for artifacts with granular access control (Read, Edit, Delete, Share)
|
|
27438
|
+
* * Primary Key: ID
|
|
27439
|
+
* @extends {BaseEntity}
|
|
27440
|
+
* @class
|
|
27441
|
+
* @public
|
|
27442
|
+
*/
|
|
27443
|
+
export declare class ArtifactPermissionEntity extends BaseEntity<ArtifactPermissionEntityType> {
|
|
27444
|
+
/**
|
|
27445
|
+
* Loads the MJ: Artifact Permissions record from the database
|
|
27446
|
+
* @param ID: string - primary key value to load the MJ: Artifact Permissions record.
|
|
27447
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
27448
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27449
|
+
* @public
|
|
27450
|
+
* @async
|
|
27451
|
+
* @memberof ArtifactPermissionEntity
|
|
27452
|
+
* @method
|
|
27453
|
+
* @override
|
|
27454
|
+
*/
|
|
27455
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27456
|
+
/**
|
|
27457
|
+
* * Field Name: ID
|
|
27458
|
+
* * Display Name: ID
|
|
27459
|
+
* * SQL Data Type: uniqueidentifier
|
|
27460
|
+
* * Default Value: newsequentialid()
|
|
27461
|
+
*/
|
|
27462
|
+
get ID(): string;
|
|
27463
|
+
set ID(value: string);
|
|
27464
|
+
/**
|
|
27465
|
+
* * Field Name: ArtifactID
|
|
27466
|
+
* * Display Name: Artifact ID
|
|
27467
|
+
* * SQL Data Type: uniqueidentifier
|
|
27468
|
+
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
|
|
27469
|
+
*/
|
|
27470
|
+
get ArtifactID(): string;
|
|
27471
|
+
set ArtifactID(value: string);
|
|
27472
|
+
/**
|
|
27473
|
+
* * Field Name: UserID
|
|
27474
|
+
* * Display Name: User ID
|
|
27475
|
+
* * SQL Data Type: uniqueidentifier
|
|
27476
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
27477
|
+
*/
|
|
27478
|
+
get UserID(): string;
|
|
27479
|
+
set UserID(value: string);
|
|
27480
|
+
/**
|
|
27481
|
+
* * Field Name: CanRead
|
|
27482
|
+
* * Display Name: Can Read
|
|
27483
|
+
* * SQL Data Type: bit
|
|
27484
|
+
* * Default Value: 1
|
|
27485
|
+
* * Description: Whether the user can view/read the artifact
|
|
27486
|
+
*/
|
|
27487
|
+
get CanRead(): boolean;
|
|
27488
|
+
set CanRead(value: boolean);
|
|
27489
|
+
/**
|
|
27490
|
+
* * Field Name: CanEdit
|
|
27491
|
+
* * Display Name: Can Edit
|
|
27492
|
+
* * SQL Data Type: bit
|
|
27493
|
+
* * Default Value: 0
|
|
27494
|
+
* * Description: Whether the user can modify the artifact or create new versions
|
|
27495
|
+
*/
|
|
27496
|
+
get CanEdit(): boolean;
|
|
27497
|
+
set CanEdit(value: boolean);
|
|
27498
|
+
/**
|
|
27499
|
+
* * Field Name: CanDelete
|
|
27500
|
+
* * Display Name: Can Delete
|
|
27501
|
+
* * SQL Data Type: bit
|
|
27502
|
+
* * Default Value: 0
|
|
27503
|
+
* * Description: Whether the user can delete the artifact
|
|
27504
|
+
*/
|
|
27505
|
+
get CanDelete(): boolean;
|
|
27506
|
+
set CanDelete(value: boolean);
|
|
27507
|
+
/**
|
|
27508
|
+
* * Field Name: CanShare
|
|
27509
|
+
* * Display Name: Can Share
|
|
27510
|
+
* * SQL Data Type: bit
|
|
27511
|
+
* * Default Value: 0
|
|
27512
|
+
* * Description: Whether the user can share the artifact with other users
|
|
27513
|
+
*/
|
|
27514
|
+
get CanShare(): boolean;
|
|
27515
|
+
set CanShare(value: boolean);
|
|
27516
|
+
/**
|
|
27517
|
+
* * Field Name: SharedByUserID
|
|
27518
|
+
* * Display Name: Shared By User ID
|
|
27519
|
+
* * SQL Data Type: uniqueidentifier
|
|
27520
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
27521
|
+
* * Description: Foreign key to the User who shared this artifact (if shared)
|
|
27522
|
+
*/
|
|
27523
|
+
get SharedByUserID(): string | null;
|
|
27524
|
+
set SharedByUserID(value: string | null);
|
|
27525
|
+
/**
|
|
27526
|
+
* * Field Name: __mj_CreatedAt
|
|
27527
|
+
* * Display Name: Created At
|
|
27528
|
+
* * SQL Data Type: datetimeoffset
|
|
27529
|
+
* * Default Value: getutcdate()
|
|
27530
|
+
*/
|
|
27531
|
+
get __mj_CreatedAt(): Date;
|
|
27532
|
+
/**
|
|
27533
|
+
* * Field Name: __mj_UpdatedAt
|
|
27534
|
+
* * Display Name: Updated At
|
|
27535
|
+
* * SQL Data Type: datetimeoffset
|
|
27536
|
+
* * Default Value: getutcdate()
|
|
27537
|
+
*/
|
|
27538
|
+
get __mj_UpdatedAt(): Date;
|
|
27539
|
+
/**
|
|
27540
|
+
* * Field Name: Artifact
|
|
27541
|
+
* * Display Name: Artifact
|
|
27542
|
+
* * SQL Data Type: nvarchar(255)
|
|
27543
|
+
*/
|
|
27544
|
+
get Artifact(): string;
|
|
27545
|
+
/**
|
|
27546
|
+
* * Field Name: User
|
|
27547
|
+
* * Display Name: User
|
|
27548
|
+
* * SQL Data Type: nvarchar(100)
|
|
27549
|
+
*/
|
|
27550
|
+
get User(): string;
|
|
27551
|
+
/**
|
|
27552
|
+
* * Field Name: SharedByUser
|
|
27553
|
+
* * Display Name: Shared By User
|
|
27554
|
+
* * SQL Data Type: nvarchar(100)
|
|
27555
|
+
*/
|
|
27556
|
+
get SharedByUser(): string | null;
|
|
27557
|
+
}
|
|
26805
27558
|
/**
|
|
26806
27559
|
* MJ: Artifact Types - strongly typed entity sub-class
|
|
26807
27560
|
* * Schema: __mj
|
|
@@ -27347,6 +28100,132 @@ export declare class CollectionArtifactEntity extends BaseEntity<CollectionArtif
|
|
|
27347
28100
|
*/
|
|
27348
28101
|
get Artifact(): string;
|
|
27349
28102
|
}
|
|
28103
|
+
/**
|
|
28104
|
+
* MJ: Collection Permissions - strongly typed entity sub-class
|
|
28105
|
+
* * Schema: __mj
|
|
28106
|
+
* * Base Table: CollectionPermission
|
|
28107
|
+
* * Base View: vwCollectionPermissions
|
|
28108
|
+
* * @description Manages sharing permissions for collections, allowing granular access control
|
|
28109
|
+
* * Primary Key: ID
|
|
28110
|
+
* @extends {BaseEntity}
|
|
28111
|
+
* @class
|
|
28112
|
+
* @public
|
|
28113
|
+
*/
|
|
28114
|
+
export declare class CollectionPermissionEntity extends BaseEntity<CollectionPermissionEntityType> {
|
|
28115
|
+
/**
|
|
28116
|
+
* Loads the MJ: Collection Permissions record from the database
|
|
28117
|
+
* @param ID: string - primary key value to load the MJ: Collection Permissions record.
|
|
28118
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28119
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28120
|
+
* @public
|
|
28121
|
+
* @async
|
|
28122
|
+
* @memberof CollectionPermissionEntity
|
|
28123
|
+
* @method
|
|
28124
|
+
* @override
|
|
28125
|
+
*/
|
|
28126
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28127
|
+
/**
|
|
28128
|
+
* * Field Name: ID
|
|
28129
|
+
* * Display Name: ID
|
|
28130
|
+
* * SQL Data Type: uniqueidentifier
|
|
28131
|
+
* * Default Value: newsequentialid()
|
|
28132
|
+
*/
|
|
28133
|
+
get ID(): string;
|
|
28134
|
+
set ID(value: string);
|
|
28135
|
+
/**
|
|
28136
|
+
* * Field Name: CollectionID
|
|
28137
|
+
* * Display Name: Collection ID
|
|
28138
|
+
* * SQL Data Type: uniqueidentifier
|
|
28139
|
+
* * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)
|
|
28140
|
+
*/
|
|
28141
|
+
get CollectionID(): string;
|
|
28142
|
+
set CollectionID(value: string);
|
|
28143
|
+
/**
|
|
28144
|
+
* * Field Name: UserID
|
|
28145
|
+
* * Display Name: User ID
|
|
28146
|
+
* * SQL Data Type: uniqueidentifier
|
|
28147
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28148
|
+
*/
|
|
28149
|
+
get UserID(): string;
|
|
28150
|
+
set UserID(value: string);
|
|
28151
|
+
/**
|
|
28152
|
+
* * Field Name: CanRead
|
|
28153
|
+
* * Display Name: Can Read
|
|
28154
|
+
* * SQL Data Type: bit
|
|
28155
|
+
* * Default Value: 1
|
|
28156
|
+
* * Description: Always 1 - users must have read permission to access a shared collection
|
|
28157
|
+
*/
|
|
28158
|
+
get CanRead(): boolean;
|
|
28159
|
+
set CanRead(value: boolean);
|
|
28160
|
+
/**
|
|
28161
|
+
* * Field Name: CanShare
|
|
28162
|
+
* * Display Name: Can Share
|
|
28163
|
+
* * SQL Data Type: bit
|
|
28164
|
+
* * Default Value: 0
|
|
28165
|
+
* * Description: Can share this collection with others (but cannot grant more permissions than they have)
|
|
28166
|
+
*/
|
|
28167
|
+
get CanShare(): boolean;
|
|
28168
|
+
set CanShare(value: boolean);
|
|
28169
|
+
/**
|
|
28170
|
+
* * Field Name: CanEdit
|
|
28171
|
+
* * Display Name: Can Edit
|
|
28172
|
+
* * SQL Data Type: bit
|
|
28173
|
+
* * Default Value: 0
|
|
28174
|
+
* * Description: Can add/remove artifacts to/from this collection
|
|
28175
|
+
*/
|
|
28176
|
+
get CanEdit(): boolean;
|
|
28177
|
+
set CanEdit(value: boolean);
|
|
28178
|
+
/**
|
|
28179
|
+
* * Field Name: CanDelete
|
|
28180
|
+
* * Display Name: Can Delete
|
|
28181
|
+
* * SQL Data Type: bit
|
|
28182
|
+
* * Default Value: 0
|
|
28183
|
+
* * Description: Can delete the collection, child collections, and artifacts
|
|
28184
|
+
*/
|
|
28185
|
+
get CanDelete(): boolean;
|
|
28186
|
+
set CanDelete(value: boolean);
|
|
28187
|
+
/**
|
|
28188
|
+
* * Field Name: SharedByUserID
|
|
28189
|
+
* * Display Name: Shared By User ID
|
|
28190
|
+
* * SQL Data Type: uniqueidentifier
|
|
28191
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28192
|
+
* * Description: The user who shared this collection (NULL if shared by owner)
|
|
28193
|
+
*/
|
|
28194
|
+
get SharedByUserID(): string | null;
|
|
28195
|
+
set SharedByUserID(value: string | null);
|
|
28196
|
+
/**
|
|
28197
|
+
* * Field Name: __mj_CreatedAt
|
|
28198
|
+
* * Display Name: Created At
|
|
28199
|
+
* * SQL Data Type: datetimeoffset
|
|
28200
|
+
* * Default Value: getutcdate()
|
|
28201
|
+
*/
|
|
28202
|
+
get __mj_CreatedAt(): Date;
|
|
28203
|
+
/**
|
|
28204
|
+
* * Field Name: __mj_UpdatedAt
|
|
28205
|
+
* * Display Name: Updated At
|
|
28206
|
+
* * SQL Data Type: datetimeoffset
|
|
28207
|
+
* * Default Value: getutcdate()
|
|
28208
|
+
*/
|
|
28209
|
+
get __mj_UpdatedAt(): Date;
|
|
28210
|
+
/**
|
|
28211
|
+
* * Field Name: Collection
|
|
28212
|
+
* * Display Name: Collection
|
|
28213
|
+
* * SQL Data Type: nvarchar(255)
|
|
28214
|
+
*/
|
|
28215
|
+
get Collection(): string;
|
|
28216
|
+
/**
|
|
28217
|
+
* * Field Name: User
|
|
28218
|
+
* * Display Name: User
|
|
28219
|
+
* * SQL Data Type: nvarchar(100)
|
|
28220
|
+
*/
|
|
28221
|
+
get User(): string;
|
|
28222
|
+
/**
|
|
28223
|
+
* * Field Name: SharedByUser
|
|
28224
|
+
* * Display Name: Shared By User
|
|
28225
|
+
* * SQL Data Type: nvarchar(100)
|
|
28226
|
+
*/
|
|
28227
|
+
get SharedByUser(): string | null;
|
|
28228
|
+
}
|
|
27350
28229
|
/**
|
|
27351
28230
|
* MJ: Collections - strongly typed entity sub-class
|
|
27352
28231
|
* * Schema: __mj
|
|
@@ -27451,6 +28330,15 @@ export declare class CollectionEntity extends BaseEntity<CollectionEntityType> {
|
|
|
27451
28330
|
*/
|
|
27452
28331
|
get __mj_UpdatedAt(): Date;
|
|
27453
28332
|
/**
|
|
28333
|
+
* * Field Name: OwnerID
|
|
28334
|
+
* * Display Name: Owner ID
|
|
28335
|
+
* * SQL Data Type: uniqueidentifier
|
|
28336
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28337
|
+
* * Description: The user who owns this collection and has full permissions
|
|
28338
|
+
*/
|
|
28339
|
+
get OwnerID(): string | null;
|
|
28340
|
+
set OwnerID(value: string | null);
|
|
28341
|
+
/**
|
|
27454
28342
|
* * Field Name: Environment
|
|
27455
28343
|
* * Display Name: Environment
|
|
27456
28344
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27463,6 +28351,12 @@ export declare class CollectionEntity extends BaseEntity<CollectionEntityType> {
|
|
|
27463
28351
|
*/
|
|
27464
28352
|
get Parent(): string | null;
|
|
27465
28353
|
/**
|
|
28354
|
+
* * Field Name: Owner
|
|
28355
|
+
* * Display Name: Owner
|
|
28356
|
+
* * SQL Data Type: nvarchar(100)
|
|
28357
|
+
*/
|
|
28358
|
+
get Owner(): string | null;
|
|
28359
|
+
/**
|
|
27466
28360
|
* * Field Name: RootParentID
|
|
27467
28361
|
* * Display Name: Root Parent ID
|
|
27468
28362
|
* * SQL Data Type: uniqueidentifier
|