@memberjunction/core-entities 5.28.0 → 5.30.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/MJConversationDetailEntityExtended.d.ts +31 -0
- package/dist/custom/MJConversationDetailEntityExtended.d.ts.map +1 -0
- package/dist/custom/MJConversationDetailEntityExtended.js +106 -0
- package/dist/custom/MJConversationDetailEntityExtended.js.map +1 -0
- package/dist/custom/PermissionProviders/AIAgentPermissionProvider.d.ts +31 -0
- package/dist/custom/PermissionProviders/AIAgentPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/AIAgentPermissionProvider.js +151 -0
- package/dist/custom/PermissionProviders/AIAgentPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/AccessControlRuleProvider.d.ts +45 -0
- package/dist/custom/PermissionProviders/AccessControlRuleProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/AccessControlRuleProvider.js +253 -0
- package/dist/custom/PermissionProviders/AccessControlRuleProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/ApplicationRolePermissionProvider.d.ts +28 -0
- package/dist/custom/PermissionProviders/ApplicationRolePermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/ApplicationRolePermissionProvider.js +144 -0
- package/dist/custom/PermissionProviders/ApplicationRolePermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/ArtifactPermissionProvider.d.ts +45 -0
- package/dist/custom/PermissionProviders/ArtifactPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/ArtifactPermissionProvider.js +169 -0
- package/dist/custom/PermissionProviders/ArtifactPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/CollectionPermissionProvider.d.ts +40 -0
- package/dist/custom/PermissionProviders/CollectionPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/CollectionPermissionProvider.js +220 -0
- package/dist/custom/PermissionProviders/CollectionPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/DashboardPermissionProvider.d.ts +47 -0
- package/dist/custom/PermissionProviders/DashboardPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/DashboardPermissionProvider.js +218 -0
- package/dist/custom/PermissionProviders/DashboardPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/EntityPermissionProvider.d.ts +25 -0
- package/dist/custom/PermissionProviders/EntityPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/EntityPermissionProvider.js +129 -0
- package/dist/custom/PermissionProviders/EntityPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/QueryPermissionProvider.d.ts +24 -0
- package/dist/custom/PermissionProviders/QueryPermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/QueryPermissionProvider.js +123 -0
- package/dist/custom/PermissionProviders/QueryPermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/ResourcePermissionProvider.d.ts +39 -0
- package/dist/custom/PermissionProviders/ResourcePermissionProvider.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/ResourcePermissionProvider.js +193 -0
- package/dist/custom/PermissionProviders/ResourcePermissionProvider.js.map +1 -0
- package/dist/custom/PermissionProviders/index.d.ts +16 -0
- package/dist/custom/PermissionProviders/index.d.ts.map +1 -0
- package/dist/custom/PermissionProviders/index.js +41 -0
- package/dist/custom/PermissionProviders/index.js.map +1 -0
- package/dist/custom/Permissions/BaseShareEntityExtended.d.ts +105 -0
- package/dist/custom/Permissions/BaseShareEntityExtended.d.ts.map +1 -0
- package/dist/custom/Permissions/BaseShareEntityExtended.js +162 -0
- package/dist/custom/Permissions/BaseShareEntityExtended.js.map +1 -0
- package/dist/custom/Permissions/MJAccessControlRuleEntityExtended.d.ts +22 -0
- package/dist/custom/Permissions/MJAccessControlRuleEntityExtended.d.ts.map +1 -0
- package/dist/custom/Permissions/MJAccessControlRuleEntityExtended.js +75 -0
- package/dist/custom/Permissions/MJAccessControlRuleEntityExtended.js.map +1 -0
- package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.d.ts +22 -0
- package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.d.ts.map +1 -0
- package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.js +114 -0
- package/dist/custom/Permissions/MJArtifactPermissionEntityExtended.js.map +1 -0
- package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.d.ts +25 -0
- package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.d.ts.map +1 -0
- package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.js +101 -0
- package/dist/custom/Permissions/MJCollectionPermissionEntityExtended.js.map +1 -0
- package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.d.ts +32 -0
- package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.d.ts.map +1 -0
- package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.js +95 -0
- package/dist/custom/Permissions/MJDashboardPermissionEntityExtended.js.map +1 -0
- package/dist/custom/Permissions/index.d.ts +13 -0
- package/dist/custom/Permissions/index.d.ts.map +1 -0
- package/dist/custom/Permissions/index.js +22 -0
- package/dist/custom/Permissions/index.js.map +1 -0
- package/dist/custom/Permissions/shareNotification.d.ts +72 -0
- package/dist/custom/Permissions/shareNotification.d.ts.map +1 -0
- package/dist/custom/Permissions/shareNotification.js +98 -0
- package/dist/custom/Permissions/shareNotification.js.map +1 -0
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.d.ts +63 -1
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.d.ts.map +1 -1
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js +244 -27
- package/dist/custom/ResourcePermissions/MJResourcePermissionEntityExtended.js.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.d.ts +7 -0
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.d.ts.map +1 -1
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js +13 -0
- package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js.map +1 -1
- package/dist/engines/GeoDataEngine.d.ts +42 -8
- package/dist/engines/GeoDataEngine.d.ts.map +1 -1
- package/dist/engines/GeoDataEngine.js +191 -36
- package/dist/engines/GeoDataEngine.js.map +1 -1
- package/dist/engines/MCPEngine.d.ts +20 -1
- package/dist/engines/MCPEngine.d.ts.map +1 -1
- package/dist/engines/MCPEngine.js +31 -0
- package/dist/engines/MCPEngine.js.map +1 -1
- package/dist/engines/PermissionEngine.d.ts +142 -0
- package/dist/engines/PermissionEngine.d.ts.map +1 -0
- package/dist/engines/PermissionEngine.js +343 -0
- package/dist/engines/PermissionEngine.js.map +1 -0
- package/dist/engines/UserInfoEngine.d.ts +6 -1
- package/dist/engines/UserInfoEngine.d.ts.map +1 -1
- package/dist/engines/UserInfoEngine.js +21 -5
- package/dist/engines/UserInfoEngine.js.map +1 -1
- package/dist/engines/conversations.d.ts +35 -0
- package/dist/engines/conversations.d.ts.map +1 -1
- package/dist/engines/conversations.js +103 -16
- package/dist/engines/conversations.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +1593 -78
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +2440 -352
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -374,7 +374,7 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
374
374
|
CategoryID: z.ZodNullable<z.ZodString>;
|
|
375
375
|
Name: z.ZodString;
|
|
376
376
|
Description: z.ZodNullable<z.ZodString>;
|
|
377
|
-
Type: z.ZodUnion<[z.ZodLiteral<"Custom">, z.ZodLiteral<"Generated">]>;
|
|
377
|
+
Type: z.ZodUnion<[z.ZodLiteral<"Custom">, z.ZodLiteral<"Generated">, z.ZodLiteral<"Runtime">]>;
|
|
378
378
|
UserPrompt: z.ZodNullable<z.ZodString>;
|
|
379
379
|
UserComments: z.ZodNullable<z.ZodString>;
|
|
380
380
|
Code: z.ZodNullable<z.ZodString>;
|
|
@@ -394,10 +394,14 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
394
394
|
IconClass: z.ZodNullable<z.ZodString>;
|
|
395
395
|
DefaultCompactPromptID: z.ZodNullable<z.ZodString>;
|
|
396
396
|
Config_: z.ZodNullable<z.ZodString>;
|
|
397
|
+
RuntimeActionConfiguration: z.ZodNullable<z.ZodAny>;
|
|
398
|
+
MaxExecutionTimeMS: z.ZodNullable<z.ZodNumber>;
|
|
399
|
+
CreatedByAgentID: z.ZodNullable<z.ZodString>;
|
|
397
400
|
Category: z.ZodNullable<z.ZodString>;
|
|
398
401
|
CodeApprovedByUser: z.ZodNullable<z.ZodString>;
|
|
399
402
|
Parent: z.ZodNullable<z.ZodString>;
|
|
400
403
|
DefaultCompactPrompt: z.ZodNullable<z.ZodString>;
|
|
404
|
+
CreatedByAgent: z.ZodNullable<z.ZodString>;
|
|
401
405
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
402
406
|
}, "strip", z.ZodTypeAny, {
|
|
403
407
|
ID?: string;
|
|
@@ -412,7 +416,7 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
412
416
|
RetentionPeriod?: number;
|
|
413
417
|
UserComments?: string;
|
|
414
418
|
Code?: string;
|
|
415
|
-
Type?: "Custom" | "Generated";
|
|
419
|
+
Type?: "Custom" | "Generated" | "Runtime";
|
|
416
420
|
CategoryID?: string;
|
|
417
421
|
UserPrompt?: string;
|
|
418
422
|
CodeComments?: string;
|
|
@@ -426,9 +430,13 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
426
430
|
IconClass?: string;
|
|
427
431
|
DefaultCompactPromptID?: string;
|
|
428
432
|
Config_?: string;
|
|
433
|
+
RuntimeActionConfiguration?: any;
|
|
434
|
+
MaxExecutionTimeMS?: number;
|
|
435
|
+
CreatedByAgentID?: string;
|
|
429
436
|
Category?: string;
|
|
430
437
|
CodeApprovedByUser?: string;
|
|
431
438
|
DefaultCompactPrompt?: string;
|
|
439
|
+
CreatedByAgent?: string;
|
|
432
440
|
}, {
|
|
433
441
|
ID?: string;
|
|
434
442
|
__mj_CreatedAt?: Date;
|
|
@@ -442,7 +450,7 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
442
450
|
RetentionPeriod?: number;
|
|
443
451
|
UserComments?: string;
|
|
444
452
|
Code?: string;
|
|
445
|
-
Type?: "Custom" | "Generated";
|
|
453
|
+
Type?: "Custom" | "Generated" | "Runtime";
|
|
446
454
|
CategoryID?: string;
|
|
447
455
|
UserPrompt?: string;
|
|
448
456
|
CodeComments?: string;
|
|
@@ -456,9 +464,13 @@ export declare const MJActionSchema: z.ZodObject<{
|
|
|
456
464
|
IconClass?: string;
|
|
457
465
|
DefaultCompactPromptID?: string;
|
|
458
466
|
Config_?: string;
|
|
467
|
+
RuntimeActionConfiguration?: any;
|
|
468
|
+
MaxExecutionTimeMS?: number;
|
|
469
|
+
CreatedByAgentID?: string;
|
|
459
470
|
Category?: string;
|
|
460
471
|
CodeApprovedByUser?: string;
|
|
461
472
|
DefaultCompactPrompt?: string;
|
|
473
|
+
CreatedByAgent?: string;
|
|
462
474
|
}>;
|
|
463
475
|
export type MJActionEntityType = z.infer<typeof MJActionSchema>;
|
|
464
476
|
/**
|
|
@@ -804,7 +816,7 @@ export declare const MJAIAgentExampleSchema: z.ZodObject<{
|
|
|
804
816
|
SourceAIAgentRunID: z.ZodNullable<z.ZodString>;
|
|
805
817
|
SuccessScore: z.ZodNullable<z.ZodNumber>;
|
|
806
818
|
Comments: z.ZodNullable<z.ZodString>;
|
|
807
|
-
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
819
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Archived">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
808
820
|
__mj_CreatedAt: z.ZodDate;
|
|
809
821
|
__mj_UpdatedAt: z.ZodDate;
|
|
810
822
|
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
@@ -830,7 +842,7 @@ export declare const MJAIAgentExampleSchema: z.ZodObject<{
|
|
|
830
842
|
__mj_CreatedAt?: Date;
|
|
831
843
|
__mj_UpdatedAt?: Date;
|
|
832
844
|
Comments?: string;
|
|
833
|
-
Status?: "Active" | "Pending" | "Revoked";
|
|
845
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
834
846
|
UserID?: string;
|
|
835
847
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
836
848
|
AgentID?: string;
|
|
@@ -863,7 +875,7 @@ export declare const MJAIAgentExampleSchema: z.ZodObject<{
|
|
|
863
875
|
__mj_CreatedAt?: Date;
|
|
864
876
|
__mj_UpdatedAt?: Date;
|
|
865
877
|
Comments?: string;
|
|
866
|
-
Status?: "Active" | "Pending" | "Revoked";
|
|
878
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
867
879
|
UserID?: string;
|
|
868
880
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
869
881
|
AgentID?: string;
|
|
@@ -1045,7 +1057,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1045
1057
|
Type: z.ZodUnion<[z.ZodLiteral<"Constraint">, z.ZodLiteral<"Context">, z.ZodLiteral<"Example">, z.ZodLiteral<"Issue">, z.ZodLiteral<"Preference">]>;
|
|
1046
1058
|
IsAutoGenerated: z.ZodBoolean;
|
|
1047
1059
|
Comments: z.ZodNullable<z.ZodString>;
|
|
1048
|
-
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
1060
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Archived">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
1049
1061
|
SourceConversationID: z.ZodNullable<z.ZodString>;
|
|
1050
1062
|
SourceConversationDetailID: z.ZodNullable<z.ZodString>;
|
|
1051
1063
|
SourceAIAgentRunID: z.ZodNullable<z.ZodString>;
|
|
@@ -1058,6 +1070,11 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1058
1070
|
LastAccessedAt: z.ZodNullable<z.ZodDate>;
|
|
1059
1071
|
AccessCount: z.ZodNumber;
|
|
1060
1072
|
ExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
1073
|
+
ConsolidatedIntoNoteID: z.ZodNullable<z.ZodString>;
|
|
1074
|
+
ConsolidationCount: z.ZodNumber;
|
|
1075
|
+
DerivedFromNoteIDs: z.ZodNullable<z.ZodString>;
|
|
1076
|
+
ProtectionTier: z.ZodUnion<[z.ZodLiteral<"Ephemeral">, z.ZodLiteral<"Immutable">, z.ZodLiteral<"Protected">, z.ZodLiteral<"Standard">]>;
|
|
1077
|
+
ImportanceScore: z.ZodNullable<z.ZodNumber>;
|
|
1061
1078
|
Agent: z.ZodNullable<z.ZodString>;
|
|
1062
1079
|
AgentNoteType: z.ZodNullable<z.ZodString>;
|
|
1063
1080
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -1067,6 +1084,8 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1067
1084
|
Company: z.ZodNullable<z.ZodString>;
|
|
1068
1085
|
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
1069
1086
|
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
1087
|
+
ConsolidatedIntoNote: z.ZodNullable<z.ZodString>;
|
|
1088
|
+
RootConsolidatedIntoNoteID: z.ZodNullable<z.ZodString>;
|
|
1070
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1090
|
ID?: string;
|
|
1072
1091
|
User?: string;
|
|
@@ -1074,7 +1093,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1074
1093
|
__mj_CreatedAt?: Date;
|
|
1075
1094
|
__mj_UpdatedAt?: Date;
|
|
1076
1095
|
Comments?: string;
|
|
1077
|
-
Status?: "Active" | "Pending" | "Revoked";
|
|
1096
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
1078
1097
|
UserID?: string;
|
|
1079
1098
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
1080
1099
|
AgentID?: string;
|
|
@@ -1099,7 +1118,14 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1099
1118
|
PrimaryScopeEntity?: string;
|
|
1100
1119
|
AgentNoteTypeID?: string;
|
|
1101
1120
|
Note?: string;
|
|
1121
|
+
ConsolidatedIntoNoteID?: string;
|
|
1122
|
+
ConsolidationCount?: number;
|
|
1123
|
+
DerivedFromNoteIDs?: string;
|
|
1124
|
+
ProtectionTier?: "Ephemeral" | "Immutable" | "Protected" | "Standard";
|
|
1125
|
+
ImportanceScore?: number;
|
|
1102
1126
|
AgentNoteType?: string;
|
|
1127
|
+
ConsolidatedIntoNote?: string;
|
|
1128
|
+
RootConsolidatedIntoNoteID?: string;
|
|
1103
1129
|
}, {
|
|
1104
1130
|
ID?: string;
|
|
1105
1131
|
User?: string;
|
|
@@ -1107,7 +1133,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1107
1133
|
__mj_CreatedAt?: Date;
|
|
1108
1134
|
__mj_UpdatedAt?: Date;
|
|
1109
1135
|
Comments?: string;
|
|
1110
|
-
Status?: "Active" | "Pending" | "Revoked";
|
|
1136
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
1111
1137
|
UserID?: string;
|
|
1112
1138
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
1113
1139
|
AgentID?: string;
|
|
@@ -1132,7 +1158,14 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1132
1158
|
PrimaryScopeEntity?: string;
|
|
1133
1159
|
AgentNoteTypeID?: string;
|
|
1134
1160
|
Note?: string;
|
|
1161
|
+
ConsolidatedIntoNoteID?: string;
|
|
1162
|
+
ConsolidationCount?: number;
|
|
1163
|
+
DerivedFromNoteIDs?: string;
|
|
1164
|
+
ProtectionTier?: "Ephemeral" | "Immutable" | "Protected" | "Standard";
|
|
1165
|
+
ImportanceScore?: number;
|
|
1135
1166
|
AgentNoteType?: string;
|
|
1167
|
+
ConsolidatedIntoNote?: string;
|
|
1168
|
+
RootConsolidatedIntoNoteID?: string;
|
|
1136
1169
|
}>;
|
|
1137
1170
|
export type MJAIAgentNoteEntityType = z.infer<typeof MJAIAgentNoteSchema>;
|
|
1138
1171
|
/**
|
|
@@ -1621,6 +1654,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1621
1654
|
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
1622
1655
|
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
1623
1656
|
ExternalReferenceID: z.ZodNullable<z.ZodString>;
|
|
1657
|
+
CompanyID: z.ZodNullable<z.ZodString>;
|
|
1624
1658
|
Agent: z.ZodNullable<z.ZodString>;
|
|
1625
1659
|
ParentRun: z.ZodNullable<z.ZodString>;
|
|
1626
1660
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
@@ -1648,6 +1682,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1648
1682
|
AgentID?: string;
|
|
1649
1683
|
Agent?: string;
|
|
1650
1684
|
Data?: string;
|
|
1685
|
+
CompanyID?: string;
|
|
1651
1686
|
PrimaryScopeEntityID?: string;
|
|
1652
1687
|
PrimaryScopeRecordID?: string;
|
|
1653
1688
|
SecondaryScopes?: string;
|
|
@@ -1708,6 +1743,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1708
1743
|
AgentID?: string;
|
|
1709
1744
|
Agent?: string;
|
|
1710
1745
|
Data?: string;
|
|
1746
|
+
CompanyID?: string;
|
|
1711
1747
|
PrimaryScopeEntityID?: string;
|
|
1712
1748
|
PrimaryScopeRecordID?: string;
|
|
1713
1749
|
SecondaryScopes?: string;
|
|
@@ -4174,6 +4210,233 @@ export declare const MJApplicationSchema: z.ZodObject<{
|
|
|
4174
4210
|
AutoUpdatePath?: boolean;
|
|
4175
4211
|
}>;
|
|
4176
4212
|
export type MJApplicationEntityType = z.infer<typeof MJApplicationSchema>;
|
|
4213
|
+
/**
|
|
4214
|
+
* zod schema definition for the entity MJ: Archive Configuration Entities
|
|
4215
|
+
*/
|
|
4216
|
+
export declare const MJArchiveConfigurationEntitySchema: z.ZodObject<{
|
|
4217
|
+
ID: z.ZodString;
|
|
4218
|
+
ArchiveConfigurationID: z.ZodString;
|
|
4219
|
+
EntityID: z.ZodString;
|
|
4220
|
+
Mode: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"ArchiveOnly">, z.ZodLiteral<"HardDelete">, z.ZodLiteral<"StripFields">]>>;
|
|
4221
|
+
RetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
4222
|
+
DateField: z.ZodString;
|
|
4223
|
+
FilterExpression: z.ZodNullable<z.ZodString>;
|
|
4224
|
+
BatchSize: z.ZodNullable<z.ZodNumber>;
|
|
4225
|
+
Priority: z.ZodNumber;
|
|
4226
|
+
FieldConfiguration: z.ZodString;
|
|
4227
|
+
DriverClass: z.ZodNullable<z.ZodString>;
|
|
4228
|
+
ArchiveRelatedRecordChanges: z.ZodNullable<z.ZodBoolean>;
|
|
4229
|
+
IsActive: z.ZodBoolean;
|
|
4230
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4231
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4232
|
+
ArchiveConfiguration: z.ZodString;
|
|
4233
|
+
Entity: z.ZodString;
|
|
4234
|
+
}, "strip", z.ZodTypeAny, {
|
|
4235
|
+
ID?: string;
|
|
4236
|
+
EntityID?: string;
|
|
4237
|
+
__mj_CreatedAt?: Date;
|
|
4238
|
+
__mj_UpdatedAt?: Date;
|
|
4239
|
+
Entity?: string;
|
|
4240
|
+
DriverClass?: string;
|
|
4241
|
+
IsActive?: boolean;
|
|
4242
|
+
Priority?: number;
|
|
4243
|
+
ArchiveConfigurationID?: string;
|
|
4244
|
+
Mode?: "ArchiveOnly" | "HardDelete" | "StripFields";
|
|
4245
|
+
RetentionDays?: number;
|
|
4246
|
+
DateField?: string;
|
|
4247
|
+
FilterExpression?: string;
|
|
4248
|
+
BatchSize?: number;
|
|
4249
|
+
FieldConfiguration?: string;
|
|
4250
|
+
ArchiveRelatedRecordChanges?: boolean;
|
|
4251
|
+
ArchiveConfiguration?: string;
|
|
4252
|
+
}, {
|
|
4253
|
+
ID?: string;
|
|
4254
|
+
EntityID?: string;
|
|
4255
|
+
__mj_CreatedAt?: Date;
|
|
4256
|
+
__mj_UpdatedAt?: Date;
|
|
4257
|
+
Entity?: string;
|
|
4258
|
+
DriverClass?: string;
|
|
4259
|
+
IsActive?: boolean;
|
|
4260
|
+
Priority?: number;
|
|
4261
|
+
ArchiveConfigurationID?: string;
|
|
4262
|
+
Mode?: "ArchiveOnly" | "HardDelete" | "StripFields";
|
|
4263
|
+
RetentionDays?: number;
|
|
4264
|
+
DateField?: string;
|
|
4265
|
+
FilterExpression?: string;
|
|
4266
|
+
BatchSize?: number;
|
|
4267
|
+
FieldConfiguration?: string;
|
|
4268
|
+
ArchiveRelatedRecordChanges?: boolean;
|
|
4269
|
+
ArchiveConfiguration?: string;
|
|
4270
|
+
}>;
|
|
4271
|
+
export type MJArchiveConfigurationEntityEntityType = z.infer<typeof MJArchiveConfigurationEntitySchema>;
|
|
4272
|
+
/**
|
|
4273
|
+
* zod schema definition for the entity MJ: Archive Configurations
|
|
4274
|
+
*/
|
|
4275
|
+
export declare const MJArchiveConfigurationSchema: z.ZodObject<{
|
|
4276
|
+
ID: z.ZodString;
|
|
4277
|
+
Name: z.ZodString;
|
|
4278
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4279
|
+
StorageAccountID: z.ZodNullable<z.ZodString>;
|
|
4280
|
+
RootPath: z.ZodString;
|
|
4281
|
+
ArchiveFormat: z.ZodUnion<[z.ZodLiteral<"CSV">, z.ZodLiteral<"JSON">, z.ZodLiteral<"Parquet">]>;
|
|
4282
|
+
IsActive: z.ZodBoolean;
|
|
4283
|
+
DefaultRetentionDays: z.ZodNumber;
|
|
4284
|
+
DefaultMode: z.ZodUnion<[z.ZodLiteral<"ArchiveOnly">, z.ZodLiteral<"HardDelete">, z.ZodLiteral<"StripFields">]>;
|
|
4285
|
+
DefaultBatchSize: z.ZodNumber;
|
|
4286
|
+
ArchiveRelatedRecordChanges: z.ZodBoolean;
|
|
4287
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Error">, z.ZodLiteral<"Idle">, z.ZodLiteral<"Running">]>;
|
|
4288
|
+
CreatedByUserID: z.ZodString;
|
|
4289
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4290
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4291
|
+
StorageAccount: z.ZodNullable<z.ZodString>;
|
|
4292
|
+
CreatedByUser: z.ZodString;
|
|
4293
|
+
}, "strip", z.ZodTypeAny, {
|
|
4294
|
+
ID?: string;
|
|
4295
|
+
__mj_CreatedAt?: Date;
|
|
4296
|
+
__mj_UpdatedAt?: Date;
|
|
4297
|
+
Name?: string;
|
|
4298
|
+
Description?: string;
|
|
4299
|
+
Status?: "Disabled" | "Running" | "Error" | "Idle";
|
|
4300
|
+
IsActive?: boolean;
|
|
4301
|
+
CreatedByUserID?: string;
|
|
4302
|
+
CreatedByUser?: string;
|
|
4303
|
+
ArchiveRelatedRecordChanges?: boolean;
|
|
4304
|
+
StorageAccountID?: string;
|
|
4305
|
+
RootPath?: string;
|
|
4306
|
+
ArchiveFormat?: "JSON" | "CSV" | "Parquet";
|
|
4307
|
+
DefaultRetentionDays?: number;
|
|
4308
|
+
DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
|
|
4309
|
+
DefaultBatchSize?: number;
|
|
4310
|
+
StorageAccount?: string;
|
|
4311
|
+
}, {
|
|
4312
|
+
ID?: string;
|
|
4313
|
+
__mj_CreatedAt?: Date;
|
|
4314
|
+
__mj_UpdatedAt?: Date;
|
|
4315
|
+
Name?: string;
|
|
4316
|
+
Description?: string;
|
|
4317
|
+
Status?: "Disabled" | "Running" | "Error" | "Idle";
|
|
4318
|
+
IsActive?: boolean;
|
|
4319
|
+
CreatedByUserID?: string;
|
|
4320
|
+
CreatedByUser?: string;
|
|
4321
|
+
ArchiveRelatedRecordChanges?: boolean;
|
|
4322
|
+
StorageAccountID?: string;
|
|
4323
|
+
RootPath?: string;
|
|
4324
|
+
ArchiveFormat?: "JSON" | "CSV" | "Parquet";
|
|
4325
|
+
DefaultRetentionDays?: number;
|
|
4326
|
+
DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
|
|
4327
|
+
DefaultBatchSize?: number;
|
|
4328
|
+
StorageAccount?: string;
|
|
4329
|
+
}>;
|
|
4330
|
+
export type MJArchiveConfigurationEntityType = z.infer<typeof MJArchiveConfigurationSchema>;
|
|
4331
|
+
/**
|
|
4332
|
+
* zod schema definition for the entity MJ: Archive Run Details
|
|
4333
|
+
*/
|
|
4334
|
+
export declare const MJArchiveRunDetailSchema: z.ZodObject<{
|
|
4335
|
+
ID: z.ZodString;
|
|
4336
|
+
ArchiveRunID: z.ZodString;
|
|
4337
|
+
EntityID: z.ZodString;
|
|
4338
|
+
RecordID: z.ZodString;
|
|
4339
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Skipped">, z.ZodLiteral<"Success">]>;
|
|
4340
|
+
StoragePath: z.ZodNullable<z.ZodString>;
|
|
4341
|
+
BytesArchived: z.ZodNumber;
|
|
4342
|
+
ErrorMessage: z.ZodNullable<z.ZodString>;
|
|
4343
|
+
ArchivedAt: z.ZodNullable<z.ZodDate>;
|
|
4344
|
+
VersionStamp: z.ZodNullable<z.ZodDate>;
|
|
4345
|
+
IsRecordChangeArchive: z.ZodBoolean;
|
|
4346
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4347
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4348
|
+
ArchiveRun: z.ZodDate;
|
|
4349
|
+
Entity: z.ZodString;
|
|
4350
|
+
}, "strip", z.ZodTypeAny, {
|
|
4351
|
+
ID?: string;
|
|
4352
|
+
EntityID?: string;
|
|
4353
|
+
RecordID?: string;
|
|
4354
|
+
__mj_CreatedAt?: Date;
|
|
4355
|
+
__mj_UpdatedAt?: Date;
|
|
4356
|
+
Entity?: string;
|
|
4357
|
+
Status?: "Failed" | "Success" | "Skipped";
|
|
4358
|
+
ErrorMessage?: string;
|
|
4359
|
+
ArchiveRunID?: string;
|
|
4360
|
+
StoragePath?: string;
|
|
4361
|
+
BytesArchived?: number;
|
|
4362
|
+
ArchivedAt?: Date;
|
|
4363
|
+
VersionStamp?: Date;
|
|
4364
|
+
IsRecordChangeArchive?: boolean;
|
|
4365
|
+
ArchiveRun?: Date;
|
|
4366
|
+
}, {
|
|
4367
|
+
ID?: string;
|
|
4368
|
+
EntityID?: string;
|
|
4369
|
+
RecordID?: string;
|
|
4370
|
+
__mj_CreatedAt?: Date;
|
|
4371
|
+
__mj_UpdatedAt?: Date;
|
|
4372
|
+
Entity?: string;
|
|
4373
|
+
Status?: "Failed" | "Success" | "Skipped";
|
|
4374
|
+
ErrorMessage?: string;
|
|
4375
|
+
ArchiveRunID?: string;
|
|
4376
|
+
StoragePath?: string;
|
|
4377
|
+
BytesArchived?: number;
|
|
4378
|
+
ArchivedAt?: Date;
|
|
4379
|
+
VersionStamp?: Date;
|
|
4380
|
+
IsRecordChangeArchive?: boolean;
|
|
4381
|
+
ArchiveRun?: Date;
|
|
4382
|
+
}>;
|
|
4383
|
+
export type MJArchiveRunDetailEntityType = z.infer<typeof MJArchiveRunDetailSchema>;
|
|
4384
|
+
/**
|
|
4385
|
+
* zod schema definition for the entity MJ: Archive Runs
|
|
4386
|
+
*/
|
|
4387
|
+
export declare const MJArchiveRunSchema: z.ZodObject<{
|
|
4388
|
+
ID: z.ZodString;
|
|
4389
|
+
ArchiveConfigurationID: z.ZodString;
|
|
4390
|
+
StartedAt: z.ZodDate;
|
|
4391
|
+
CompletedAt: z.ZodNullable<z.ZodDate>;
|
|
4392
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"PartialSuccess">, z.ZodLiteral<"Running">]>;
|
|
4393
|
+
TotalRecords: z.ZodNumber;
|
|
4394
|
+
ArchivedRecords: z.ZodNumber;
|
|
4395
|
+
FailedRecords: z.ZodNumber;
|
|
4396
|
+
SkippedRecords: z.ZodNumber;
|
|
4397
|
+
TotalBytesArchived: z.ZodNumber;
|
|
4398
|
+
ErrorLog: z.ZodNullable<z.ZodString>;
|
|
4399
|
+
UserID: z.ZodString;
|
|
4400
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4401
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4402
|
+
ArchiveConfiguration: z.ZodString;
|
|
4403
|
+
User: z.ZodString;
|
|
4404
|
+
}, "strip", z.ZodTypeAny, {
|
|
4405
|
+
ID?: string;
|
|
4406
|
+
User?: string;
|
|
4407
|
+
__mj_CreatedAt?: Date;
|
|
4408
|
+
__mj_UpdatedAt?: Date;
|
|
4409
|
+
Status?: "Complete" | "Failed" | "Cancelled" | "Running" | "PartialSuccess";
|
|
4410
|
+
StartedAt?: Date;
|
|
4411
|
+
UserID?: string;
|
|
4412
|
+
CompletedAt?: Date;
|
|
4413
|
+
ArchiveConfigurationID?: string;
|
|
4414
|
+
ArchiveConfiguration?: string;
|
|
4415
|
+
TotalRecords?: number;
|
|
4416
|
+
ArchivedRecords?: number;
|
|
4417
|
+
FailedRecords?: number;
|
|
4418
|
+
SkippedRecords?: number;
|
|
4419
|
+
TotalBytesArchived?: number;
|
|
4420
|
+
ErrorLog?: string;
|
|
4421
|
+
}, {
|
|
4422
|
+
ID?: string;
|
|
4423
|
+
User?: string;
|
|
4424
|
+
__mj_CreatedAt?: Date;
|
|
4425
|
+
__mj_UpdatedAt?: Date;
|
|
4426
|
+
Status?: "Complete" | "Failed" | "Cancelled" | "Running" | "PartialSuccess";
|
|
4427
|
+
StartedAt?: Date;
|
|
4428
|
+
UserID?: string;
|
|
4429
|
+
CompletedAt?: Date;
|
|
4430
|
+
ArchiveConfigurationID?: string;
|
|
4431
|
+
ArchiveConfiguration?: string;
|
|
4432
|
+
TotalRecords?: number;
|
|
4433
|
+
ArchivedRecords?: number;
|
|
4434
|
+
FailedRecords?: number;
|
|
4435
|
+
SkippedRecords?: number;
|
|
4436
|
+
TotalBytesArchived?: number;
|
|
4437
|
+
ErrorLog?: string;
|
|
4438
|
+
}>;
|
|
4439
|
+
export type MJArchiveRunEntityType = z.infer<typeof MJArchiveRunSchema>;
|
|
4177
4440
|
/**
|
|
4178
4441
|
* zod schema definition for the entity MJ: Artifact Permissions
|
|
4179
4442
|
*/
|
|
@@ -4237,6 +4500,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
|
|
|
4237
4500
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
4238
4501
|
Icon: z.ZodNullable<z.ZodString>;
|
|
4239
4502
|
ContentCategory: z.ZodUnion<[z.ZodLiteral<"File">, z.ZodLiteral<"Text">]>;
|
|
4503
|
+
ToolLibraryClass: z.ZodNullable<z.ZodString>;
|
|
4240
4504
|
Parent: z.ZodNullable<z.ZodString>;
|
|
4241
4505
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
4242
4506
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4254,6 +4518,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
|
|
|
4254
4518
|
IsEnabled?: boolean;
|
|
4255
4519
|
ExtractRules?: string;
|
|
4256
4520
|
ContentCategory?: "File" | "Text";
|
|
4521
|
+
ToolLibraryClass?: string;
|
|
4257
4522
|
}, {
|
|
4258
4523
|
ID?: string;
|
|
4259
4524
|
__mj_CreatedAt?: Date;
|
|
@@ -4269,6 +4534,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
|
|
|
4269
4534
|
IsEnabled?: boolean;
|
|
4270
4535
|
ExtractRules?: string;
|
|
4271
4536
|
ContentCategory?: "File" | "Text";
|
|
4537
|
+
ToolLibraryClass?: string;
|
|
4272
4538
|
}>;
|
|
4273
4539
|
export type MJArtifactTypeEntityType = z.infer<typeof MJArtifactTypeSchema>;
|
|
4274
4540
|
/**
|
|
@@ -5023,7 +5289,7 @@ export declare const MJCompanyIntegrationEntityMapSchema: z.ZodObject<{
|
|
|
5023
5289
|
SyncEnabled?: boolean;
|
|
5024
5290
|
MatchStrategy?: string;
|
|
5025
5291
|
ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
|
|
5026
|
-
DeleteBehavior?: "
|
|
5292
|
+
DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
|
|
5027
5293
|
CompanyIntegration?: string;
|
|
5028
5294
|
}, {
|
|
5029
5295
|
ID?: string;
|
|
@@ -5041,7 +5307,7 @@ export declare const MJCompanyIntegrationEntityMapSchema: z.ZodObject<{
|
|
|
5041
5307
|
SyncEnabled?: boolean;
|
|
5042
5308
|
MatchStrategy?: string;
|
|
5043
5309
|
ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
|
|
5044
|
-
DeleteBehavior?: "
|
|
5310
|
+
DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
|
|
5045
5311
|
CompanyIntegration?: string;
|
|
5046
5312
|
}>;
|
|
5047
5313
|
export type MJCompanyIntegrationEntityMapEntityType = z.infer<typeof MJCompanyIntegrationEntityMapSchema>;
|
|
@@ -5248,10 +5514,10 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
|
|
|
5248
5514
|
EndedAt?: Date;
|
|
5249
5515
|
Company?: string;
|
|
5250
5516
|
ScheduledJobRunID?: string;
|
|
5251
|
-
CompanyIntegrationID?: string;
|
|
5252
|
-
RunByUserID?: string;
|
|
5253
5517
|
TotalRecords?: number;
|
|
5254
5518
|
ErrorLog?: string;
|
|
5519
|
+
CompanyIntegrationID?: string;
|
|
5520
|
+
RunByUserID?: string;
|
|
5255
5521
|
ConfigData?: string;
|
|
5256
5522
|
Integration?: string;
|
|
5257
5523
|
RunByUser?: string;
|
|
@@ -5265,10 +5531,10 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
|
|
|
5265
5531
|
EndedAt?: Date;
|
|
5266
5532
|
Company?: string;
|
|
5267
5533
|
ScheduledJobRunID?: string;
|
|
5268
|
-
CompanyIntegrationID?: string;
|
|
5269
|
-
RunByUserID?: string;
|
|
5270
5534
|
TotalRecords?: number;
|
|
5271
5535
|
ErrorLog?: string;
|
|
5536
|
+
CompanyIntegrationID?: string;
|
|
5537
|
+
RunByUserID?: string;
|
|
5272
5538
|
ConfigData?: string;
|
|
5273
5539
|
Integration?: string;
|
|
5274
5540
|
RunByUser?: string;
|
|
@@ -5486,7 +5752,7 @@ export declare const MJComponentLibrarySchema: z.ZodObject<{
|
|
|
5486
5752
|
Name?: string;
|
|
5487
5753
|
Description?: string;
|
|
5488
5754
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
5489
|
-
Category?: "Other" | "
|
|
5755
|
+
Category?: "Other" | "Runtime" | "Core" | "Charting" | "UI" | "Utility";
|
|
5490
5756
|
DisplayName?: string;
|
|
5491
5757
|
UsageType?: "Both" | "Dependency" | "Direct";
|
|
5492
5758
|
Version?: string;
|
|
@@ -5502,7 +5768,7 @@ export declare const MJComponentLibrarySchema: z.ZodObject<{
|
|
|
5502
5768
|
Name?: string;
|
|
5503
5769
|
Description?: string;
|
|
5504
5770
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
5505
|
-
Category?: "Other" | "
|
|
5771
|
+
Category?: "Other" | "Runtime" | "Core" | "Charting" | "UI" | "Utility";
|
|
5506
5772
|
DisplayName?: string;
|
|
5507
5773
|
UsageType?: "Both" | "Dependency" | "Direct";
|
|
5508
5774
|
Version?: string;
|
|
@@ -5860,9 +6126,9 @@ export declare const MJContentItemSchema: z.ZodObject<{
|
|
|
5860
6126
|
ContentSourceTypeID?: string;
|
|
5861
6127
|
ContentFileTypeID?: string;
|
|
5862
6128
|
EntityRecordDocumentID?: string;
|
|
5863
|
-
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
6129
|
+
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5864
6130
|
LastEmbeddedAt?: Date;
|
|
5865
|
-
TaggingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
6131
|
+
TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5866
6132
|
LastTaggedAt?: Date;
|
|
5867
6133
|
ContentSource?: string;
|
|
5868
6134
|
ContentSourceType?: string;
|
|
@@ -5885,9 +6151,9 @@ export declare const MJContentItemSchema: z.ZodObject<{
|
|
|
5885
6151
|
ContentSourceTypeID?: string;
|
|
5886
6152
|
ContentFileTypeID?: string;
|
|
5887
6153
|
EntityRecordDocumentID?: string;
|
|
5888
|
-
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
6154
|
+
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5889
6155
|
LastEmbeddedAt?: Date;
|
|
5890
|
-
TaggingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
6156
|
+
TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5891
6157
|
LastTaggedAt?: Date;
|
|
5892
6158
|
ContentSource?: string;
|
|
5893
6159
|
ContentSourceType?: string;
|
|
@@ -6018,6 +6284,7 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
|
|
|
6018
6284
|
Status?: string;
|
|
6019
6285
|
Configuration?: any;
|
|
6020
6286
|
ErrorMessage?: string;
|
|
6287
|
+
BatchSize?: number;
|
|
6021
6288
|
ErrorCount?: number;
|
|
6022
6289
|
StartTime?: Date;
|
|
6023
6290
|
EndTime?: Date;
|
|
@@ -6026,7 +6293,6 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
|
|
|
6026
6293
|
StartedByUserID?: string;
|
|
6027
6294
|
TotalItemCount?: number;
|
|
6028
6295
|
LastProcessedOffset?: number;
|
|
6029
|
-
BatchSize?: number;
|
|
6030
6296
|
CancellationRequested?: boolean;
|
|
6031
6297
|
Source?: string;
|
|
6032
6298
|
StartedByUser?: string;
|
|
@@ -6037,6 +6303,7 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
|
|
|
6037
6303
|
Status?: string;
|
|
6038
6304
|
Configuration?: any;
|
|
6039
6305
|
ErrorMessage?: string;
|
|
6306
|
+
BatchSize?: number;
|
|
6040
6307
|
ErrorCount?: number;
|
|
6041
6308
|
StartTime?: Date;
|
|
6042
6309
|
EndTime?: Date;
|
|
@@ -6045,7 +6312,6 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
|
|
|
6045
6312
|
StartedByUserID?: string;
|
|
6046
6313
|
TotalItemCount?: number;
|
|
6047
6314
|
LastProcessedOffset?: number;
|
|
6048
|
-
BatchSize?: number;
|
|
6049
6315
|
CancellationRequested?: boolean;
|
|
6050
6316
|
Source?: string;
|
|
6051
6317
|
StartedByUser?: string;
|
|
@@ -6572,7 +6838,7 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
6572
6838
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
6573
6839
|
}, "strip", z.ZodTypeAny, {
|
|
6574
6840
|
ID?: string;
|
|
6575
|
-
Role?: "User" | "
|
|
6841
|
+
Role?: "User" | "Error" | "AI";
|
|
6576
6842
|
User?: string;
|
|
6577
6843
|
__mj_CreatedAt?: Date;
|
|
6578
6844
|
__mj_UpdatedAt?: Date;
|
|
@@ -6589,12 +6855,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
6589
6855
|
TestRunID?: string;
|
|
6590
6856
|
TestRun?: string;
|
|
6591
6857
|
CompletionTime?: number;
|
|
6858
|
+
Error?: string;
|
|
6592
6859
|
ArtifactID?: string;
|
|
6593
6860
|
Artifact?: string;
|
|
6594
6861
|
ArtifactVersionID?: string;
|
|
6595
6862
|
ArtifactVersion?: string;
|
|
6596
6863
|
ExternalID?: string;
|
|
6597
|
-
Error?: string;
|
|
6598
6864
|
HiddenToUser?: boolean;
|
|
6599
6865
|
UserRating?: number;
|
|
6600
6866
|
UserFeedback?: string;
|
|
@@ -6608,7 +6874,7 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
6608
6874
|
OriginalMessageChanged?: boolean;
|
|
6609
6875
|
}, {
|
|
6610
6876
|
ID?: string;
|
|
6611
|
-
Role?: "User" | "
|
|
6877
|
+
Role?: "User" | "Error" | "AI";
|
|
6612
6878
|
User?: string;
|
|
6613
6879
|
__mj_CreatedAt?: Date;
|
|
6614
6880
|
__mj_UpdatedAt?: Date;
|
|
@@ -6625,12 +6891,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
6625
6891
|
TestRunID?: string;
|
|
6626
6892
|
TestRun?: string;
|
|
6627
6893
|
CompletionTime?: number;
|
|
6894
|
+
Error?: string;
|
|
6628
6895
|
ArtifactID?: string;
|
|
6629
6896
|
Artifact?: string;
|
|
6630
6897
|
ArtifactVersionID?: string;
|
|
6631
6898
|
ArtifactVersion?: string;
|
|
6632
6899
|
ExternalID?: string;
|
|
6633
|
-
Error?: string;
|
|
6634
6900
|
HiddenToUser?: boolean;
|
|
6635
6901
|
UserRating?: number;
|
|
6636
6902
|
UserFeedback?: string;
|
|
@@ -7488,7 +7754,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
|
|
|
7488
7754
|
MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
|
|
7489
7755
|
RecordMetadata?: string;
|
|
7490
7756
|
DuplicateRunID?: string;
|
|
7491
|
-
MatchStatus?: "Pending" | "Complete" | "
|
|
7757
|
+
MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
|
|
7492
7758
|
SkippedReason?: string;
|
|
7493
7759
|
MatchErrorMessage?: string;
|
|
7494
7760
|
MergeErrorMessage?: string;
|
|
@@ -7503,7 +7769,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
|
|
|
7503
7769
|
MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
|
|
7504
7770
|
RecordMetadata?: string;
|
|
7505
7771
|
DuplicateRunID?: string;
|
|
7506
|
-
MatchStatus?: "Pending" | "Complete" | "
|
|
7772
|
+
MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
|
|
7507
7773
|
SkippedReason?: string;
|
|
7508
7774
|
MatchErrorMessage?: string;
|
|
7509
7775
|
MergeErrorMessage?: string;
|
|
@@ -7544,10 +7810,10 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
|
|
|
7544
7810
|
Entity?: string;
|
|
7545
7811
|
StartedAt?: Date;
|
|
7546
7812
|
EndedAt?: Date;
|
|
7813
|
+
BatchSize?: number;
|
|
7547
7814
|
StartedByUserID?: string;
|
|
7548
7815
|
TotalItemCount?: number;
|
|
7549
7816
|
LastProcessedOffset?: number;
|
|
7550
|
-
BatchSize?: number;
|
|
7551
7817
|
CancellationRequested?: boolean;
|
|
7552
7818
|
StartedByUser?: string;
|
|
7553
7819
|
ApprovalStatus?: "Pending" | "Approved" | "Rejected";
|
|
@@ -7567,10 +7833,10 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
|
|
|
7567
7833
|
Entity?: string;
|
|
7568
7834
|
StartedAt?: Date;
|
|
7569
7835
|
EndedAt?: Date;
|
|
7836
|
+
BatchSize?: number;
|
|
7570
7837
|
StartedByUserID?: string;
|
|
7571
7838
|
TotalItemCount?: number;
|
|
7572
7839
|
LastProcessedOffset?: number;
|
|
7573
|
-
BatchSize?: number;
|
|
7574
7840
|
CancellationRequested?: boolean;
|
|
7575
7841
|
StartedByUser?: string;
|
|
7576
7842
|
ApprovalStatus?: "Pending" | "Approved" | "Rejected";
|
|
@@ -8933,6 +9199,7 @@ export declare const MJEntityPermissionSchema: z.ZodObject<{
|
|
|
8933
9199
|
DeleteRLSFilterID: z.ZodNullable<z.ZodString>;
|
|
8934
9200
|
__mj_CreatedAt: z.ZodDate;
|
|
8935
9201
|
__mj_UpdatedAt: z.ZodDate;
|
|
9202
|
+
Type: z.ZodUnion<[z.ZodLiteral<"Allow">, z.ZodLiteral<"Deny">]>;
|
|
8936
9203
|
Entity: z.ZodString;
|
|
8937
9204
|
RoleName: z.ZodString;
|
|
8938
9205
|
RoleSQLName: z.ZodNullable<z.ZodString>;
|
|
@@ -8950,6 +9217,7 @@ export declare const MJEntityPermissionSchema: z.ZodObject<{
|
|
|
8950
9217
|
__mj_CreatedAt?: Date;
|
|
8951
9218
|
__mj_UpdatedAt?: Date;
|
|
8952
9219
|
Entity?: string;
|
|
9220
|
+
Type?: "Allow" | "Deny";
|
|
8953
9221
|
RoleID?: string;
|
|
8954
9222
|
ReadRLSFilterID?: string;
|
|
8955
9223
|
CreateRLSFilterID?: string;
|
|
@@ -8971,6 +9239,7 @@ export declare const MJEntityPermissionSchema: z.ZodObject<{
|
|
|
8971
9239
|
__mj_CreatedAt?: Date;
|
|
8972
9240
|
__mj_UpdatedAt?: Date;
|
|
8973
9241
|
Entity?: string;
|
|
9242
|
+
Type?: "Allow" | "Deny";
|
|
8974
9243
|
RoleID?: string;
|
|
8975
9244
|
ReadRLSFilterID?: string;
|
|
8976
9245
|
CreateRLSFilterID?: string;
|
|
@@ -10641,6 +10910,35 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
|
|
|
10641
10910
|
OutputTruncated?: boolean;
|
|
10642
10911
|
}>;
|
|
10643
10912
|
export type MJMCPToolExecutionLogEntityType = z.infer<typeof MJMCPToolExecutionLogSchema>;
|
|
10913
|
+
/**
|
|
10914
|
+
* zod schema definition for the entity MJ: MCP Tool Favorites
|
|
10915
|
+
*/
|
|
10916
|
+
export declare const MJMCPToolFavoriteSchema: z.ZodObject<{
|
|
10917
|
+
ID: z.ZodString;
|
|
10918
|
+
UserID: z.ZodString;
|
|
10919
|
+
MCPServerToolID: z.ZodString;
|
|
10920
|
+
__mj_CreatedAt: z.ZodDate;
|
|
10921
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
10922
|
+
User: z.ZodString;
|
|
10923
|
+
MCPServerTool: z.ZodNullable<z.ZodString>;
|
|
10924
|
+
}, "strip", z.ZodTypeAny, {
|
|
10925
|
+
ID?: string;
|
|
10926
|
+
User?: string;
|
|
10927
|
+
__mj_CreatedAt?: Date;
|
|
10928
|
+
__mj_UpdatedAt?: Date;
|
|
10929
|
+
UserID?: string;
|
|
10930
|
+
MCPServerToolID?: string;
|
|
10931
|
+
MCPServerTool?: string;
|
|
10932
|
+
}, {
|
|
10933
|
+
ID?: string;
|
|
10934
|
+
User?: string;
|
|
10935
|
+
__mj_CreatedAt?: Date;
|
|
10936
|
+
__mj_UpdatedAt?: Date;
|
|
10937
|
+
UserID?: string;
|
|
10938
|
+
MCPServerToolID?: string;
|
|
10939
|
+
MCPServerTool?: string;
|
|
10940
|
+
}>;
|
|
10941
|
+
export type MJMCPToolFavoriteEntityType = z.infer<typeof MJMCPToolFavoriteSchema>;
|
|
10644
10942
|
/**
|
|
10645
10943
|
* zod schema definition for the entity MJ: O Auth Auth Server Metadata Caches
|
|
10646
10944
|
*/
|
|
@@ -11129,6 +11427,56 @@ export declare const MJOutputTriggerTypeSchema: z.ZodObject<{
|
|
|
11129
11427
|
Description?: string;
|
|
11130
11428
|
}>;
|
|
11131
11429
|
export type MJOutputTriggerTypeEntityType = z.infer<typeof MJOutputTriggerTypeSchema>;
|
|
11430
|
+
/**
|
|
11431
|
+
* zod schema definition for the entity MJ: Permission Domains
|
|
11432
|
+
*/
|
|
11433
|
+
export declare const MJPermissionDomainSchema: z.ZodObject<{
|
|
11434
|
+
ID: z.ZodString;
|
|
11435
|
+
Name: z.ZodString;
|
|
11436
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
11437
|
+
ProviderClassName: z.ZodString;
|
|
11438
|
+
SupportedGranteeTypes: z.ZodString;
|
|
11439
|
+
SupportedActions: z.ZodString;
|
|
11440
|
+
SupportsDeny: z.ZodBoolean;
|
|
11441
|
+
SupportsExpiration: z.ZodBoolean;
|
|
11442
|
+
SupportsHierarchyInheritance: z.ZodBoolean;
|
|
11443
|
+
IsActive: z.ZodBoolean;
|
|
11444
|
+
DisplayOrder: z.ZodNumber;
|
|
11445
|
+
Icon: z.ZodNullable<z.ZodString>;
|
|
11446
|
+
__mj_CreatedAt: z.ZodDate;
|
|
11447
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
11448
|
+
}, "strip", z.ZodTypeAny, {
|
|
11449
|
+
ID?: string;
|
|
11450
|
+
__mj_CreatedAt?: Date;
|
|
11451
|
+
__mj_UpdatedAt?: Date;
|
|
11452
|
+
Name?: string;
|
|
11453
|
+
Description?: string;
|
|
11454
|
+
IsActive?: boolean;
|
|
11455
|
+
Icon?: string;
|
|
11456
|
+
DisplayOrder?: number;
|
|
11457
|
+
ProviderClassName?: string;
|
|
11458
|
+
SupportedGranteeTypes?: string;
|
|
11459
|
+
SupportedActions?: string;
|
|
11460
|
+
SupportsDeny?: boolean;
|
|
11461
|
+
SupportsExpiration?: boolean;
|
|
11462
|
+
SupportsHierarchyInheritance?: boolean;
|
|
11463
|
+
}, {
|
|
11464
|
+
ID?: string;
|
|
11465
|
+
__mj_CreatedAt?: Date;
|
|
11466
|
+
__mj_UpdatedAt?: Date;
|
|
11467
|
+
Name?: string;
|
|
11468
|
+
Description?: string;
|
|
11469
|
+
IsActive?: boolean;
|
|
11470
|
+
Icon?: string;
|
|
11471
|
+
DisplayOrder?: number;
|
|
11472
|
+
ProviderClassName?: string;
|
|
11473
|
+
SupportedGranteeTypes?: string;
|
|
11474
|
+
SupportedActions?: string;
|
|
11475
|
+
SupportsDeny?: boolean;
|
|
11476
|
+
SupportsExpiration?: boolean;
|
|
11477
|
+
SupportsHierarchyInheritance?: boolean;
|
|
11478
|
+
}>;
|
|
11479
|
+
export type MJPermissionDomainEntityType = z.infer<typeof MJPermissionDomainSchema>;
|
|
11132
11480
|
/**
|
|
11133
11481
|
* zod schema definition for the entity MJ: Projects
|
|
11134
11482
|
*/
|
|
@@ -11839,7 +12187,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
|
|
|
11839
12187
|
__mj_CreatedAt?: Date;
|
|
11840
12188
|
__mj_UpdatedAt?: Date;
|
|
11841
12189
|
Description?: string;
|
|
11842
|
-
Status?: "Pending" | "Canceled" | "Completed" | "
|
|
12190
|
+
Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
|
|
11843
12191
|
RunByUserID?: string;
|
|
11844
12192
|
RunByUser?: string;
|
|
11845
12193
|
RecommendationProviderID?: string;
|
|
@@ -11851,7 +12199,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
|
|
|
11851
12199
|
__mj_CreatedAt?: Date;
|
|
11852
12200
|
__mj_UpdatedAt?: Date;
|
|
11853
12201
|
Description?: string;
|
|
11854
|
-
Status?: "Pending" | "Canceled" | "Completed" | "
|
|
12202
|
+
Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
|
|
11855
12203
|
RunByUserID?: string;
|
|
11856
12204
|
RunByUser?: string;
|
|
11857
12205
|
RecommendationProviderID?: string;
|
|
@@ -11909,7 +12257,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
|
|
|
11909
12257
|
User?: string;
|
|
11910
12258
|
__mj_CreatedAt?: Date;
|
|
11911
12259
|
__mj_UpdatedAt?: Date;
|
|
11912
|
-
Status?: "Pending" | "Complete" | "
|
|
12260
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress";
|
|
11913
12261
|
StartedAt?: Date;
|
|
11914
12262
|
EndedAt?: Date;
|
|
11915
12263
|
UserID?: string;
|
|
@@ -11918,7 +12266,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
|
|
|
11918
12266
|
User?: string;
|
|
11919
12267
|
__mj_CreatedAt?: Date;
|
|
11920
12268
|
__mj_UpdatedAt?: Date;
|
|
11921
|
-
Status?: "Pending" | "Complete" | "
|
|
12269
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress";
|
|
11922
12270
|
StartedAt?: Date;
|
|
11923
12271
|
EndedAt?: Date;
|
|
11924
12272
|
UserID?: string;
|
|
@@ -12496,9 +12844,11 @@ export declare const MJResourcePermissionSchema: z.ZodObject<{
|
|
|
12496
12844
|
__mj_CreatedAt: z.ZodDate;
|
|
12497
12845
|
__mj_UpdatedAt: z.ZodDate;
|
|
12498
12846
|
Status: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Requested">, z.ZodLiteral<"Revoked">]>;
|
|
12847
|
+
SharedByUserID: z.ZodNullable<z.ZodString>;
|
|
12499
12848
|
ResourceType: z.ZodString;
|
|
12500
12849
|
Role: z.ZodNullable<z.ZodString>;
|
|
12501
12850
|
User: z.ZodNullable<z.ZodString>;
|
|
12851
|
+
SharedByUser: z.ZodNullable<z.ZodString>;
|
|
12502
12852
|
}, "strip", z.ZodTypeAny, {
|
|
12503
12853
|
ID?: string;
|
|
12504
12854
|
Role?: string;
|
|
@@ -12510,6 +12860,8 @@ export declare const MJResourcePermissionSchema: z.ZodObject<{
|
|
|
12510
12860
|
Type?: "Role" | "User";
|
|
12511
12861
|
RoleID?: string;
|
|
12512
12862
|
ResourceType?: string;
|
|
12863
|
+
SharedByUserID?: string;
|
|
12864
|
+
SharedByUser?: string;
|
|
12513
12865
|
ResourceTypeID?: string;
|
|
12514
12866
|
ResourceRecordID?: string;
|
|
12515
12867
|
StartSharingAt?: Date;
|
|
@@ -12526,6 +12878,8 @@ export declare const MJResourcePermissionSchema: z.ZodObject<{
|
|
|
12526
12878
|
Type?: "Role" | "User";
|
|
12527
12879
|
RoleID?: string;
|
|
12528
12880
|
ResourceType?: string;
|
|
12881
|
+
SharedByUserID?: string;
|
|
12882
|
+
SharedByUser?: string;
|
|
12529
12883
|
ResourceTypeID?: string;
|
|
12530
12884
|
ResourceRecordID?: string;
|
|
12531
12885
|
StartSharingAt?: Date;
|
|
@@ -13850,7 +14204,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
|
|
|
13850
14204
|
ID?: string;
|
|
13851
14205
|
__mj_CreatedAt?: Date;
|
|
13852
14206
|
__mj_UpdatedAt?: Date;
|
|
13853
|
-
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "
|
|
14207
|
+
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
|
|
13854
14208
|
StartedAt?: Date;
|
|
13855
14209
|
Sequence?: number;
|
|
13856
14210
|
DurationSeconds?: number;
|
|
@@ -13887,7 +14241,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
|
|
|
13887
14241
|
ID?: string;
|
|
13888
14242
|
__mj_CreatedAt?: Date;
|
|
13889
14243
|
__mj_UpdatedAt?: Date;
|
|
13890
|
-
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "
|
|
14244
|
+
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
|
|
13891
14245
|
StartedAt?: Date;
|
|
13892
14246
|
Sequence?: number;
|
|
13893
14247
|
DurationSeconds?: number;
|
|
@@ -14088,9 +14442,9 @@ export declare const MJTestSuiteSchema: z.ZodObject<{
|
|
|
14088
14442
|
Status?: "Active" | "Disabled" | "Pending";
|
|
14089
14443
|
Parent?: string;
|
|
14090
14444
|
RootParentID?: string;
|
|
14445
|
+
MaxExecutionTimeMS?: number;
|
|
14091
14446
|
Configuration?: string;
|
|
14092
14447
|
Tags?: string;
|
|
14093
|
-
MaxExecutionTimeMS?: number;
|
|
14094
14448
|
Variables?: string;
|
|
14095
14449
|
}, {
|
|
14096
14450
|
ID?: string;
|
|
@@ -14102,9 +14456,9 @@ export declare const MJTestSuiteSchema: z.ZodObject<{
|
|
|
14102
14456
|
Status?: "Active" | "Disabled" | "Pending";
|
|
14103
14457
|
Parent?: string;
|
|
14104
14458
|
RootParentID?: string;
|
|
14459
|
+
MaxExecutionTimeMS?: number;
|
|
14105
14460
|
Configuration?: string;
|
|
14106
14461
|
Tags?: string;
|
|
14107
|
-
MaxExecutionTimeMS?: number;
|
|
14108
14462
|
Variables?: string;
|
|
14109
14463
|
}>;
|
|
14110
14464
|
export type MJTestSuiteEntityType = z.infer<typeof MJTestSuiteSchema>;
|
|
@@ -14170,11 +14524,11 @@ export declare const MJTestSchema: z.ZodObject<{
|
|
|
14170
14524
|
Description?: string;
|
|
14171
14525
|
Status?: "Active" | "Disabled" | "Pending";
|
|
14172
14526
|
Type?: string;
|
|
14527
|
+
MaxExecutionTimeMS?: number;
|
|
14173
14528
|
Priority?: number;
|
|
14174
14529
|
Configuration?: string;
|
|
14175
14530
|
TypeID?: string;
|
|
14176
14531
|
Tags?: string;
|
|
14177
|
-
MaxExecutionTimeMS?: number;
|
|
14178
14532
|
Variables?: string;
|
|
14179
14533
|
InputDefinition?: string;
|
|
14180
14534
|
ExpectedOutcomes?: string;
|
|
@@ -14189,11 +14543,11 @@ export declare const MJTestSchema: z.ZodObject<{
|
|
|
14189
14543
|
Description?: string;
|
|
14190
14544
|
Status?: "Active" | "Disabled" | "Pending";
|
|
14191
14545
|
Type?: string;
|
|
14546
|
+
MaxExecutionTimeMS?: number;
|
|
14192
14547
|
Priority?: number;
|
|
14193
14548
|
Configuration?: string;
|
|
14194
14549
|
TypeID?: string;
|
|
14195
14550
|
Tags?: string;
|
|
14196
|
-
MaxExecutionTimeMS?: number;
|
|
14197
14551
|
Variables?: string;
|
|
14198
14552
|
InputDefinition?: string;
|
|
14199
14553
|
ExpectedOutcomes?: string;
|
|
@@ -15037,7 +15391,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
|
|
|
15037
15391
|
User?: string;
|
|
15038
15392
|
__mj_CreatedAt?: Date;
|
|
15039
15393
|
__mj_UpdatedAt?: Date;
|
|
15040
|
-
Status?: "Pending" | "Complete" | "
|
|
15394
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
|
|
15041
15395
|
StartedAt?: Date;
|
|
15042
15396
|
EndedAt?: Date;
|
|
15043
15397
|
UserID?: string;
|
|
@@ -15054,7 +15408,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
|
|
|
15054
15408
|
User?: string;
|
|
15055
15409
|
__mj_CreatedAt?: Date;
|
|
15056
15410
|
__mj_UpdatedAt?: Date;
|
|
15057
|
-
Status?: "Pending" | "Complete" | "
|
|
15411
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
|
|
15058
15412
|
StartedAt?: Date;
|
|
15059
15413
|
EndedAt?: Date;
|
|
15060
15414
|
UserID?: string;
|
|
@@ -16326,6 +16680,136 @@ export declare class MJActionResultCodeEntity extends BaseEntity<MJActionResultC
|
|
|
16326
16680
|
*/
|
|
16327
16681
|
get Action(): string;
|
|
16328
16682
|
}
|
|
16683
|
+
/**
|
|
16684
|
+
* Configuration stored on Action.RuntimeActionConfiguration when Action.Type='Runtime'.
|
|
16685
|
+
*
|
|
16686
|
+
* Runtime actions are JavaScript payloads executed inside MJ's isolated-vm
|
|
16687
|
+
* sandbox that call back to the host via a permissioned bridge (utilities
|
|
16688
|
+
* object) to access metadata, views, queries, entity CRUD, other actions,
|
|
16689
|
+
* agents, and AI capabilities.
|
|
16690
|
+
*
|
|
16691
|
+
* This configuration is the security and resource contract for a single
|
|
16692
|
+
* Runtime action:
|
|
16693
|
+
* - What it is permitted to touch (permissions)
|
|
16694
|
+
* - How much it is allowed to consume (limits)
|
|
16695
|
+
* - What sandbox affordances it needs (sandbox)
|
|
16696
|
+
* - How it relates to prior versions of itself (version / previousVersionId)
|
|
16697
|
+
*
|
|
16698
|
+
* The JSON blob is evolvable — new optional keys can be added without a
|
|
16699
|
+
* schema migration. Required keys MUST be marked required here and enforced
|
|
16700
|
+
* at Save time (see the zod validator in @memberjunction/actions-base).
|
|
16701
|
+
*
|
|
16702
|
+
* Only applicable when Action.Type='Runtime'. NULL for Custom / Generated actions.
|
|
16703
|
+
*/
|
|
16704
|
+
export interface MJActionEntity_IRuntimeActionConfiguration {
|
|
16705
|
+
/** Declarative permission scopes. The bridge validates every call against these. */
|
|
16706
|
+
permissions: MJActionEntity_IRuntimeActionPermissions;
|
|
16707
|
+
/** Resource limits (memory, bridge-call count). Defaults applied when omitted. */
|
|
16708
|
+
limits?: MJActionEntity_IRuntimeActionLimits;
|
|
16709
|
+
/** Sandbox options — additional libraries, debug mode, etc. */
|
|
16710
|
+
sandbox?: MJActionEntity_IRuntimeActionSandboxOptions;
|
|
16711
|
+
/** Semantic version of this action (e.g. "1.0.3"). Tracked in version history. */
|
|
16712
|
+
version?: string;
|
|
16713
|
+
/** ID of the previous Action record this version was derived from, if any. */
|
|
16714
|
+
previousVersionId?: string;
|
|
16715
|
+
}
|
|
16716
|
+
/**
|
|
16717
|
+
* Declarative permission scopes for a Runtime action. The bridge enforces
|
|
16718
|
+
* each scope on every call — an attempt to touch an unlisted entity / action /
|
|
16719
|
+
* agent throws a PermissionDenied error before the downstream operation runs.
|
|
16720
|
+
*
|
|
16721
|
+
* IDs are the source of truth; names are kept alongside for display, logging,
|
|
16722
|
+
* and human review during the approval workflow.
|
|
16723
|
+
*
|
|
16724
|
+
* The `allowAnyEntity` / `allowAnyAction` / `allowAnyAgent` booleans are
|
|
16725
|
+
* escape hatches for framework-shipped utility actions that must accept the
|
|
16726
|
+
* target entity/action/agent as runtime input (e.g. a generic "data quality
|
|
16727
|
+
* report" that can analyze any entity). They bypass the allowlist entirely
|
|
16728
|
+
* for their namespace. The approval UI renders a prominent warning when any
|
|
16729
|
+
* of them is set so a human reviewer sees the blast radius at approval time;
|
|
16730
|
+
* agent-authored Runtime actions should enumerate specific references rather
|
|
16731
|
+
* than set these flags.
|
|
16732
|
+
*/
|
|
16733
|
+
export interface MJActionEntity_IRuntimeActionPermissions {
|
|
16734
|
+
/** Other actions this Runtime action can invoke via utilities.actions.Invoke */
|
|
16735
|
+
allowedActions: MJActionEntity_IRuntimeActionReference[];
|
|
16736
|
+
/** Agents this Runtime action can run via utilities.agents.Run */
|
|
16737
|
+
allowedAgents: MJActionEntity_IRuntimeActionReference[];
|
|
16738
|
+
/** Entities this Runtime action can read or mutate via utilities.rv / utilities.entity */
|
|
16739
|
+
allowedEntities: MJActionEntity_IRuntimeActionReference[];
|
|
16740
|
+
/**
|
|
16741
|
+
* DANGEROUS ESCAPE HATCH. When true, allows access to ANY entity via
|
|
16742
|
+
* `utilities.md.*`, `utilities.rv.*`, and `utilities.entity.*`, ignoring
|
|
16743
|
+
* `allowedEntities`. Only set for framework-authored utility actions that
|
|
16744
|
+
* accept the target entity as runtime input. Approval UI flags this.
|
|
16745
|
+
*/
|
|
16746
|
+
allowAnyEntity?: boolean;
|
|
16747
|
+
/**
|
|
16748
|
+
* DANGEROUS ESCAPE HATCH. When true, allows invocation of ANY action via
|
|
16749
|
+
* `utilities.actions.Invoke`, ignoring `allowedActions`. Only set for
|
|
16750
|
+
* framework-authored orchestrators. Approval UI flags this.
|
|
16751
|
+
*/
|
|
16752
|
+
allowAnyAction?: boolean;
|
|
16753
|
+
/**
|
|
16754
|
+
* DANGEROUS ESCAPE HATCH. When true, allows invocation of ANY agent via
|
|
16755
|
+
* `utilities.agents.Run`, ignoring `allowedAgents`. Only set for
|
|
16756
|
+
* framework-authored orchestrators. Approval UI flags this.
|
|
16757
|
+
*/
|
|
16758
|
+
allowAnyAgent?: boolean;
|
|
16759
|
+
}
|
|
16760
|
+
/**
|
|
16761
|
+
* Resource limits enforced per invocation. Host enforces memory via isolated-vm;
|
|
16762
|
+
* bridge-call count is tracked on the host side and blocks once exceeded.
|
|
16763
|
+
*/
|
|
16764
|
+
export interface MJActionEntity_IRuntimeActionLimits {
|
|
16765
|
+
/** Memory limit in MB. Default: 128. */
|
|
16766
|
+
maxMemoryMB?: number;
|
|
16767
|
+
/** Max bridge calls per single execution. Default: 100. Prevents runaway loops. */
|
|
16768
|
+
maxBridgeCalls?: number;
|
|
16769
|
+
}
|
|
16770
|
+
/**
|
|
16771
|
+
* Sandbox affordances the action needs beyond the default library set
|
|
16772
|
+
* (lodash, date-fns, uuid, validator).
|
|
16773
|
+
*/
|
|
16774
|
+
export interface MJActionEntity_IRuntimeActionSandboxOptions {
|
|
16775
|
+
/**
|
|
16776
|
+
* Additional libraries beyond the default set. Must be in the approved
|
|
16777
|
+
* registry in @memberjunction/action-runtime — arbitrary npm packages
|
|
16778
|
+
* are not allowed. Currently approved opt-in libraries:
|
|
16779
|
+
* - mathjs (heavy math)
|
|
16780
|
+
* - papaparse (CSV parsing)
|
|
16781
|
+
* - cheerio (HTML parsing)
|
|
16782
|
+
* - marked (markdown parsing)
|
|
16783
|
+
*/
|
|
16784
|
+
additionalLibraries?: MJActionEntity_IRuntimeLibraryReference[];
|
|
16785
|
+
/** Enable verbose console output in the sandbox. Default false. */
|
|
16786
|
+
debugMode?: boolean;
|
|
16787
|
+
}
|
|
16788
|
+
/**
|
|
16789
|
+
* Stable reference to an entity / action / agent.
|
|
16790
|
+
*
|
|
16791
|
+
* `id` is authoritative (used for lookups and permission checks).
|
|
16792
|
+
* `name` is kept so that the approval UI, logs, and diffs stay readable
|
|
16793
|
+
* even when items are renamed — the UI should show the current name from
|
|
16794
|
+
* the lookup and fall back to the stored one if the target is deleted.
|
|
16795
|
+
*/
|
|
16796
|
+
export interface MJActionEntity_IRuntimeActionReference {
|
|
16797
|
+
/** UUID of the referenced item */
|
|
16798
|
+
id: string;
|
|
16799
|
+
/** Human-readable name at the time this configuration was authored */
|
|
16800
|
+
name: string;
|
|
16801
|
+
}
|
|
16802
|
+
/**
|
|
16803
|
+
* Reference to a sandbox library. Names must match the approved library
|
|
16804
|
+
* registry in @memberjunction/action-runtime. Version is optional and only
|
|
16805
|
+
* honored if multiple versions of the same library are registered.
|
|
16806
|
+
*/
|
|
16807
|
+
export interface MJActionEntity_IRuntimeLibraryReference {
|
|
16808
|
+
/** Library name as used in require() / import (e.g. "papaparse") */
|
|
16809
|
+
name: string;
|
|
16810
|
+
/** Optional semver constraint. If omitted, uses the registry's default. */
|
|
16811
|
+
version?: string;
|
|
16812
|
+
}
|
|
16329
16813
|
/**
|
|
16330
16814
|
* MJ: Actions - strongly typed entity sub-class
|
|
16331
16815
|
* * Schema: __mj
|
|
@@ -16400,10 +16884,11 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16400
16884
|
* * Possible Values
|
|
16401
16885
|
* * Custom
|
|
16402
16886
|
* * Generated
|
|
16887
|
+
* * Runtime
|
|
16403
16888
|
* * Description: Generated or Custom. Generated means the UserPrompt is used to prompt an AI model to automatically create the code for the Action. Custom means that a custom class has been implemented that subclasses the BaseAction class. The custom class needs to use the @RegisterClass decorator and be included in the MJAPI (or other runtime environment) to be available for execution.
|
|
16404
16889
|
*/
|
|
16405
|
-
get Type(): 'Custom' | 'Generated';
|
|
16406
|
-
set Type(value: 'Custom' | 'Generated');
|
|
16890
|
+
get Type(): 'Custom' | 'Generated' | 'Runtime';
|
|
16891
|
+
set Type(value: 'Custom' | 'Generated' | 'Runtime');
|
|
16407
16892
|
/**
|
|
16408
16893
|
* * Field Name: UserPrompt
|
|
16409
16894
|
* * Display Name: User Prompt
|
|
@@ -16438,7 +16923,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16438
16923
|
set CodeComments(value: string | null);
|
|
16439
16924
|
/**
|
|
16440
16925
|
* * Field Name: CodeApprovalStatus
|
|
16441
|
-
* * Display Name:
|
|
16926
|
+
* * Display Name: Approval Status
|
|
16442
16927
|
* * SQL Data Type: nvarchar(20)
|
|
16443
16928
|
* * Default Value: Pending
|
|
16444
16929
|
* * Value List Type: List
|
|
@@ -16452,7 +16937,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16452
16937
|
set CodeApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
|
|
16453
16938
|
/**
|
|
16454
16939
|
* * Field Name: CodeApprovalComments
|
|
16455
|
-
* * Display Name:
|
|
16940
|
+
* * Display Name: Approval Comments
|
|
16456
16941
|
* * SQL Data Type: nvarchar(MAX)
|
|
16457
16942
|
* * Description: Optional comments when an individual (or an AI) reviews and approves the code.
|
|
16458
16943
|
*/
|
|
@@ -16460,7 +16945,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16460
16945
|
set CodeApprovalComments(value: string | null);
|
|
16461
16946
|
/**
|
|
16462
16947
|
* * Field Name: CodeApprovedByUserID
|
|
16463
|
-
* * Display Name:
|
|
16948
|
+
* * Display Name: Approved By User
|
|
16464
16949
|
* * SQL Data Type: uniqueidentifier
|
|
16465
16950
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
16466
16951
|
*/
|
|
@@ -16468,7 +16953,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16468
16953
|
set CodeApprovedByUserID(value: string | null);
|
|
16469
16954
|
/**
|
|
16470
16955
|
* * Field Name: CodeApprovedAt
|
|
16471
|
-
* * Display Name:
|
|
16956
|
+
* * Display Name: Approved At
|
|
16472
16957
|
* * SQL Data Type: datetimeoffset
|
|
16473
16958
|
* * Description: When the code was approved.
|
|
16474
16959
|
*/
|
|
@@ -16538,7 +17023,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16538
17023
|
set DriverClass(value: string | null);
|
|
16539
17024
|
/**
|
|
16540
17025
|
* * Field Name: ParentID
|
|
16541
|
-
* * Display Name: Parent
|
|
17026
|
+
* * Display Name: Parent Action
|
|
16542
17027
|
* * SQL Data Type: uniqueidentifier
|
|
16543
17028
|
* * Related Entity/Foreign Key: MJ: Actions (vwActions.ID)
|
|
16544
17029
|
* * Description: Optional ID of the parent action this action inherits from. Used for hierarchical action composition where child actions can specialize parent actions.
|
|
@@ -16572,6 +17057,40 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16572
17057
|
get Config_(): string | null;
|
|
16573
17058
|
set Config_(value: string | null);
|
|
16574
17059
|
/**
|
|
17060
|
+
* * Field Name: RuntimeActionConfiguration
|
|
17061
|
+
* * Display Name: Runtime Configuration
|
|
17062
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
17063
|
+
* * JSON Type: MJActionEntity_IRuntimeActionConfiguration
|
|
17064
|
+
* * Description: JSON blob holding configuration specific to Type='Runtime' actions: declarative permission scopes (allowedEntities, allowedActions, allowedAgents with id+name pairs), resource limits (maxMemoryMB, maxBridgeCalls), and sandbox options (additionalLibraries, debugMode). Evolvable — new keys can be introduced without schema changes. NULL for non-Runtime actions.
|
|
17065
|
+
*/
|
|
17066
|
+
get RuntimeActionConfiguration(): string | null;
|
|
17067
|
+
set RuntimeActionConfiguration(value: string | null);
|
|
17068
|
+
private _RuntimeActionConfigurationObject_cached;
|
|
17069
|
+
private _RuntimeActionConfigurationObject_lastRaw;
|
|
17070
|
+
/**
|
|
17071
|
+
* Typed accessor for RuntimeActionConfiguration — returns parsed JSON as MJActionEntity_IRuntimeActionConfiguration.
|
|
17072
|
+
* Uses lazy parsing with cache invalidation when the underlying raw value changes.
|
|
17073
|
+
*/
|
|
17074
|
+
get RuntimeActionConfigurationObject(): MJActionEntity_IRuntimeActionConfiguration | null;
|
|
17075
|
+
set RuntimeActionConfigurationObject(value: MJActionEntity_IRuntimeActionConfiguration | null);
|
|
17076
|
+
/**
|
|
17077
|
+
* * Field Name: MaxExecutionTimeMS
|
|
17078
|
+
* * Display Name: Max Execution Time (ms)
|
|
17079
|
+
* * SQL Data Type: int
|
|
17080
|
+
* * Description: Universal maximum execution time in milliseconds for a single action invocation. Enforced by ActionEngine across ALL action types (Custom, Generated, Runtime) via AbortSignal passed through RunActionParams. NULL means use the engine default.
|
|
17081
|
+
*/
|
|
17082
|
+
get MaxExecutionTimeMS(): number | null;
|
|
17083
|
+
set MaxExecutionTimeMS(value: number | null);
|
|
17084
|
+
/**
|
|
17085
|
+
* * Field Name: CreatedByAgentID
|
|
17086
|
+
* * Display Name: Created By Agent
|
|
17087
|
+
* * SQL Data Type: uniqueidentifier
|
|
17088
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
17089
|
+
* * Description: Optional reference to the AI Agent that authored this action — populated when an agent (e.g. ActionSmith) dynamically generates a Runtime action. NULL for human-authored Custom/Generated actions. Provides an audit trail linking agent-generated capabilities back to their creator.
|
|
17090
|
+
*/
|
|
17091
|
+
get CreatedByAgentID(): string | null;
|
|
17092
|
+
set CreatedByAgentID(value: string | null);
|
|
17093
|
+
/**
|
|
16575
17094
|
* * Field Name: Category
|
|
16576
17095
|
* * Display Name: Category Name
|
|
16577
17096
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -16579,23 +17098,29 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
|
|
|
16579
17098
|
get Category(): string | null;
|
|
16580
17099
|
/**
|
|
16581
17100
|
* * Field Name: CodeApprovedByUser
|
|
16582
|
-
* * Display Name:
|
|
17101
|
+
* * Display Name: Approved By User Name
|
|
16583
17102
|
* * SQL Data Type: nvarchar(100)
|
|
16584
17103
|
*/
|
|
16585
17104
|
get CodeApprovedByUser(): string | null;
|
|
16586
17105
|
/**
|
|
16587
17106
|
* * Field Name: Parent
|
|
16588
|
-
* * Display Name: Parent Name
|
|
17107
|
+
* * Display Name: Parent Action Name
|
|
16589
17108
|
* * SQL Data Type: nvarchar(425)
|
|
16590
17109
|
*/
|
|
16591
17110
|
get Parent(): string | null;
|
|
16592
17111
|
/**
|
|
16593
17112
|
* * Field Name: DefaultCompactPrompt
|
|
16594
|
-
* * Display Name: Default Compact Prompt
|
|
17113
|
+
* * Display Name: Default Compact Prompt Name
|
|
16595
17114
|
* * SQL Data Type: nvarchar(255)
|
|
16596
17115
|
*/
|
|
16597
17116
|
get DefaultCompactPrompt(): string | null;
|
|
16598
17117
|
/**
|
|
17118
|
+
* * Field Name: CreatedByAgent
|
|
17119
|
+
* * Display Name: Created By Agent Name
|
|
17120
|
+
* * SQL Data Type: nvarchar(255)
|
|
17121
|
+
*/
|
|
17122
|
+
get CreatedByAgent(): string | null;
|
|
17123
|
+
/**
|
|
16599
17124
|
* * Field Name: RootParentID
|
|
16600
17125
|
* * Display Name: Root Parent
|
|
16601
17126
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -17794,12 +18319,13 @@ export declare class MJAIAgentExampleEntity extends BaseEntity<MJAIAgentExampleE
|
|
|
17794
18319
|
* * Value List Type: List
|
|
17795
18320
|
* * Possible Values
|
|
17796
18321
|
* * Active
|
|
18322
|
+
* * Archived
|
|
17797
18323
|
* * Pending
|
|
17798
18324
|
* * Revoked
|
|
17799
18325
|
* * Description: Status of the example: Pending (awaiting review), Active (in use), or Revoked (disabled).
|
|
17800
18326
|
*/
|
|
17801
|
-
get Status(): 'Active' | 'Pending' | 'Revoked';
|
|
17802
|
-
set Status(value: 'Active' | 'Pending' | 'Revoked');
|
|
18327
|
+
get Status(): 'Active' | 'Archived' | 'Pending' | 'Revoked';
|
|
18328
|
+
set Status(value: 'Active' | 'Archived' | 'Pending' | 'Revoked');
|
|
17803
18329
|
/**
|
|
17804
18330
|
* * Field Name: __mj_CreatedAt
|
|
17805
18331
|
* * Display Name: Created At
|
|
@@ -18442,12 +18968,13 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
18442
18968
|
* * Value List Type: List
|
|
18443
18969
|
* * Possible Values
|
|
18444
18970
|
* * Active
|
|
18971
|
+
* * Archived
|
|
18445
18972
|
* * Pending
|
|
18446
18973
|
* * Revoked
|
|
18447
18974
|
* * Description: Status of the note: Pending (awaiting review), Active (in use), or Revoked (disabled).
|
|
18448
18975
|
*/
|
|
18449
|
-
get Status(): 'Active' | 'Pending' | 'Revoked';
|
|
18450
|
-
set Status(value: 'Active' | 'Pending' | 'Revoked');
|
|
18976
|
+
get Status(): 'Active' | 'Archived' | 'Pending' | 'Revoked';
|
|
18977
|
+
set Status(value: 'Active' | 'Archived' | 'Pending' | 'Revoked');
|
|
18451
18978
|
/**
|
|
18452
18979
|
* * Field Name: SourceConversationID
|
|
18453
18980
|
* * Display Name: Source Conversation
|
|
@@ -18552,6 +19079,55 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
18552
19079
|
get ExpiresAt(): Date | null;
|
|
18553
19080
|
set ExpiresAt(value: Date | null);
|
|
18554
19081
|
/**
|
|
19082
|
+
* * Field Name: ConsolidatedIntoNoteID
|
|
19083
|
+
* * Display Name: Consolidated Into Note ID
|
|
19084
|
+
* * SQL Data Type: uniqueidentifier
|
|
19085
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Notes (vwAIAgentNotes.ID)
|
|
19086
|
+
* * Description: Self-referential FK. Points to the consolidated note that replaced this one when revoked during consolidation or contradiction resolution.
|
|
19087
|
+
*/
|
|
19088
|
+
get ConsolidatedIntoNoteID(): string | null;
|
|
19089
|
+
set ConsolidatedIntoNoteID(value: string | null);
|
|
19090
|
+
/**
|
|
19091
|
+
* * Field Name: ConsolidationCount
|
|
19092
|
+
* * Display Name: Consolidation Count
|
|
19093
|
+
* * SQL Data Type: int
|
|
19094
|
+
* * Default Value: 0
|
|
19095
|
+
* * Description: Tracks re-summarization depth. 0=raw extraction, 1=first consolidation, etc. Capped at 3 to prevent semantic drift.
|
|
19096
|
+
*/
|
|
19097
|
+
get ConsolidationCount(): number;
|
|
19098
|
+
set ConsolidationCount(value: number);
|
|
19099
|
+
/**
|
|
19100
|
+
* * Field Name: DerivedFromNoteIDs
|
|
19101
|
+
* * Display Name: Derived From Note I Ds
|
|
19102
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
19103
|
+
* * Description: JSON array of source note IDs that were consolidated into this note. Enables provenance chain resolution and rollback.
|
|
19104
|
+
*/
|
|
19105
|
+
get DerivedFromNoteIDs(): string | null;
|
|
19106
|
+
set DerivedFromNoteIDs(value: string | null);
|
|
19107
|
+
/**
|
|
19108
|
+
* * Field Name: ProtectionTier
|
|
19109
|
+
* * Display Name: Protection Tier
|
|
19110
|
+
* * SQL Data Type: nvarchar(20)
|
|
19111
|
+
* * Default Value: Standard
|
|
19112
|
+
* * Value List Type: List
|
|
19113
|
+
* * Possible Values
|
|
19114
|
+
* * Ephemeral
|
|
19115
|
+
* * Immutable
|
|
19116
|
+
* * Protected
|
|
19117
|
+
* * Standard
|
|
19118
|
+
* * Description: Protection level: Immutable (never consolidated/archived), Protected (no consolidation, extended 365-day retention), Standard (default), Ephemeral (aggressive consolidation, 2x decay rate).
|
|
19119
|
+
*/
|
|
19120
|
+
get ProtectionTier(): 'Ephemeral' | 'Immutable' | 'Protected' | 'Standard';
|
|
19121
|
+
set ProtectionTier(value: 'Ephemeral' | 'Immutable' | 'Protected' | 'Standard');
|
|
19122
|
+
/**
|
|
19123
|
+
* * Field Name: ImportanceScore
|
|
19124
|
+
* * Display Name: Importance Score
|
|
19125
|
+
* * SQL Data Type: decimal(5, 2)
|
|
19126
|
+
* * Description: Composite importance score (0-10) computed from 7 signals: recency, LLM-importance, relevance, uniqueness, correction boost, goal alignment, user mark. Replaces raw AccessCount for authority and retention decisions.
|
|
19127
|
+
*/
|
|
19128
|
+
get ImportanceScore(): number | null;
|
|
19129
|
+
set ImportanceScore(value: number | null);
|
|
19130
|
+
/**
|
|
18555
19131
|
* * Field Name: Agent
|
|
18556
19132
|
* * Display Name: Agent
|
|
18557
19133
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -18605,6 +19181,18 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
18605
19181
|
* * SQL Data Type: nvarchar(255)
|
|
18606
19182
|
*/
|
|
18607
19183
|
get PrimaryScopeEntity(): string | null;
|
|
19184
|
+
/**
|
|
19185
|
+
* * Field Name: ConsolidatedIntoNote
|
|
19186
|
+
* * Display Name: Consolidated Into Note
|
|
19187
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
19188
|
+
*/
|
|
19189
|
+
get ConsolidatedIntoNote(): string | null;
|
|
19190
|
+
/**
|
|
19191
|
+
* * Field Name: RootConsolidatedIntoNoteID
|
|
19192
|
+
* * Display Name: Root Consolidated Into Note ID
|
|
19193
|
+
* * SQL Data Type: uniqueidentifier
|
|
19194
|
+
*/
|
|
19195
|
+
get RootConsolidatedIntoNoteID(): string | null;
|
|
18608
19196
|
}
|
|
18609
19197
|
/**
|
|
18610
19198
|
* MJ: AI Agent Permissions - strongly typed entity sub-class
|
|
@@ -20381,6 +20969,14 @@ each time the agent processes a prompt step.
|
|
|
20381
20969
|
get ExternalReferenceID(): string | null;
|
|
20382
20970
|
set ExternalReferenceID(value: string | null);
|
|
20383
20971
|
/**
|
|
20972
|
+
* * Field Name: CompanyID
|
|
20973
|
+
* * Display Name: Company ID
|
|
20974
|
+
* * SQL Data Type: uniqueidentifier
|
|
20975
|
+
* * Description: Optional company scope for multi-tenant memory. When populated, Memory Manager uses this to scope extracted notes to the company. Flows from ExecuteAgentParams.companyId at agent invocation time.
|
|
20976
|
+
*/
|
|
20977
|
+
get CompanyID(): string | null;
|
|
20978
|
+
set CompanyID(value: string | null);
|
|
20979
|
+
/**
|
|
20384
20980
|
* * Field Name: Agent
|
|
20385
20981
|
* * Display Name: Agent Name
|
|
20386
20982
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27729,6 +28325,661 @@ export declare class MJApplicationEntity extends BaseEntity<MJApplicationEntityT
|
|
|
27729
28325
|
get AutoUpdatePath(): boolean;
|
|
27730
28326
|
set AutoUpdatePath(value: boolean);
|
|
27731
28327
|
}
|
|
28328
|
+
/**
|
|
28329
|
+
* MJ: Archive Configuration Entities - strongly typed entity sub-class
|
|
28330
|
+
* * Schema: __mj
|
|
28331
|
+
* * Base Table: ArchiveConfigurationEntity
|
|
28332
|
+
* * Base View: vwArchiveConfigurationEntities
|
|
28333
|
+
* * @description Per-entity configuration within an archive pipeline. Allows overriding the parent configuration's defaults for mode, retention, batch size, and filtering on a per-entity basis.
|
|
28334
|
+
* * Primary Key: ID
|
|
28335
|
+
* @extends {BaseEntity}
|
|
28336
|
+
* @class
|
|
28337
|
+
* @public
|
|
28338
|
+
*/
|
|
28339
|
+
export declare class MJArchiveConfigurationEntityEntity extends BaseEntity<MJArchiveConfigurationEntityEntityType> {
|
|
28340
|
+
/**
|
|
28341
|
+
* Loads the MJ: Archive Configuration Entities record from the database
|
|
28342
|
+
* @param ID: string - primary key value to load the MJ: Archive Configuration Entities record.
|
|
28343
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28344
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28345
|
+
* @public
|
|
28346
|
+
* @async
|
|
28347
|
+
* @memberof MJArchiveConfigurationEntityEntity
|
|
28348
|
+
* @method
|
|
28349
|
+
* @override
|
|
28350
|
+
*/
|
|
28351
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28352
|
+
/**
|
|
28353
|
+
* * Field Name: ID
|
|
28354
|
+
* * Display Name: ID
|
|
28355
|
+
* * SQL Data Type: uniqueidentifier
|
|
28356
|
+
* * Default Value: newsequentialid()
|
|
28357
|
+
*/
|
|
28358
|
+
get ID(): string;
|
|
28359
|
+
set ID(value: string);
|
|
28360
|
+
/**
|
|
28361
|
+
* * Field Name: ArchiveConfigurationID
|
|
28362
|
+
* * Display Name: Archive Configuration
|
|
28363
|
+
* * SQL Data Type: uniqueidentifier
|
|
28364
|
+
* * Related Entity/Foreign Key: MJ: Archive Configurations (vwArchiveConfigurations.ID)
|
|
28365
|
+
* * Description: Foreign key to the parent ArchiveConfiguration.
|
|
28366
|
+
*/
|
|
28367
|
+
get ArchiveConfigurationID(): string;
|
|
28368
|
+
set ArchiveConfigurationID(value: string);
|
|
28369
|
+
/**
|
|
28370
|
+
* * Field Name: EntityID
|
|
28371
|
+
* * Display Name: Entity
|
|
28372
|
+
* * SQL Data Type: uniqueidentifier
|
|
28373
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
28374
|
+
* * Description: Foreign key to the Entity being archived.
|
|
28375
|
+
*/
|
|
28376
|
+
get EntityID(): string;
|
|
28377
|
+
set EntityID(value: string);
|
|
28378
|
+
/**
|
|
28379
|
+
* * Field Name: Mode
|
|
28380
|
+
* * Display Name: Archive Mode
|
|
28381
|
+
* * SQL Data Type: nvarchar(20)
|
|
28382
|
+
* * Value List Type: List
|
|
28383
|
+
* * Possible Values
|
|
28384
|
+
* * ArchiveOnly
|
|
28385
|
+
* * HardDelete
|
|
28386
|
+
* * StripFields
|
|
28387
|
+
* * Description: Archive mode override for this entity. NULL inherits from the parent configuration's DefaultMode.
|
|
28388
|
+
*/
|
|
28389
|
+
get Mode(): 'ArchiveOnly' | 'HardDelete' | 'StripFields' | null;
|
|
28390
|
+
set Mode(value: 'ArchiveOnly' | 'HardDelete' | 'StripFields' | null);
|
|
28391
|
+
/**
|
|
28392
|
+
* * Field Name: RetentionDays
|
|
28393
|
+
* * Display Name: Retention Days
|
|
28394
|
+
* * SQL Data Type: int
|
|
28395
|
+
* * Description: Retention period override in days. NULL inherits from the parent configuration's DefaultRetentionDays.
|
|
28396
|
+
*/
|
|
28397
|
+
get RetentionDays(): number | null;
|
|
28398
|
+
set RetentionDays(value: number | null);
|
|
28399
|
+
/**
|
|
28400
|
+
* * Field Name: DateField
|
|
28401
|
+
* * Display Name: Date Field
|
|
28402
|
+
* * SQL Data Type: nvarchar(100)
|
|
28403
|
+
* * Default Value: __mj_CreatedAt
|
|
28404
|
+
* * Description: The date field on the entity used to determine record age for retention policy evaluation. Defaults to __mj_CreatedAt.
|
|
28405
|
+
*/
|
|
28406
|
+
get DateField(): string;
|
|
28407
|
+
set DateField(value: string);
|
|
28408
|
+
/**
|
|
28409
|
+
* * Field Name: FilterExpression
|
|
28410
|
+
* * Display Name: Filter Expression
|
|
28411
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28412
|
+
* * Description: Optional SQL WHERE clause fragment to further filter which records are eligible for archiving (e.g., "Status = 'Closed'").
|
|
28413
|
+
*/
|
|
28414
|
+
get FilterExpression(): string | null;
|
|
28415
|
+
set FilterExpression(value: string | null);
|
|
28416
|
+
/**
|
|
28417
|
+
* * Field Name: BatchSize
|
|
28418
|
+
* * Display Name: Batch Size
|
|
28419
|
+
* * SQL Data Type: int
|
|
28420
|
+
* * Description: Batch size override for this entity. NULL inherits from the parent configuration's DefaultBatchSize.
|
|
28421
|
+
*/
|
|
28422
|
+
get BatchSize(): number | null;
|
|
28423
|
+
set BatchSize(value: number | null);
|
|
28424
|
+
/**
|
|
28425
|
+
* * Field Name: Priority
|
|
28426
|
+
* * Display Name: Priority
|
|
28427
|
+
* * SQL Data Type: int
|
|
28428
|
+
* * Default Value: 100
|
|
28429
|
+
* * Description: Processing priority — lower numbers are archived first. Default is 100.
|
|
28430
|
+
*/
|
|
28431
|
+
get Priority(): number;
|
|
28432
|
+
set Priority(value: number);
|
|
28433
|
+
/**
|
|
28434
|
+
* * Field Name: FieldConfiguration
|
|
28435
|
+
* * Display Name: Field Configuration
|
|
28436
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28437
|
+
* * Description: JSON configuration specifying which fields to include/exclude in the archive output. Required for all modes.
|
|
28438
|
+
*/
|
|
28439
|
+
get FieldConfiguration(): string;
|
|
28440
|
+
set FieldConfiguration(value: string);
|
|
28441
|
+
/**
|
|
28442
|
+
* * Field Name: DriverClass
|
|
28443
|
+
* * Display Name: Driver Class
|
|
28444
|
+
* * SQL Data Type: nvarchar(500)
|
|
28445
|
+
* * Description: Optional fully-qualified class name of a custom archive driver to use for this entity, overriding the default archiver.
|
|
28446
|
+
*/
|
|
28447
|
+
get DriverClass(): string | null;
|
|
28448
|
+
set DriverClass(value: string | null);
|
|
28449
|
+
/**
|
|
28450
|
+
* * Field Name: ArchiveRelatedRecordChanges
|
|
28451
|
+
* * Display Name: Archive Related Record Changes
|
|
28452
|
+
* * SQL Data Type: bit
|
|
28453
|
+
* * Description: Override for archiving related Record Changes. NULL inherits from the parent configuration.
|
|
28454
|
+
*/
|
|
28455
|
+
get ArchiveRelatedRecordChanges(): boolean | null;
|
|
28456
|
+
set ArchiveRelatedRecordChanges(value: boolean | null);
|
|
28457
|
+
/**
|
|
28458
|
+
* * Field Name: IsActive
|
|
28459
|
+
* * Display Name: Is Active
|
|
28460
|
+
* * SQL Data Type: bit
|
|
28461
|
+
* * Default Value: 1
|
|
28462
|
+
* * Description: Whether this entity is active within the archive configuration.
|
|
28463
|
+
*/
|
|
28464
|
+
get IsActive(): boolean;
|
|
28465
|
+
set IsActive(value: boolean);
|
|
28466
|
+
/**
|
|
28467
|
+
* * Field Name: __mj_CreatedAt
|
|
28468
|
+
* * Display Name: Created At
|
|
28469
|
+
* * SQL Data Type: datetimeoffset
|
|
28470
|
+
* * Default Value: getutcdate()
|
|
28471
|
+
*/
|
|
28472
|
+
get __mj_CreatedAt(): Date;
|
|
28473
|
+
/**
|
|
28474
|
+
* * Field Name: __mj_UpdatedAt
|
|
28475
|
+
* * Display Name: Updated At
|
|
28476
|
+
* * SQL Data Type: datetimeoffset
|
|
28477
|
+
* * Default Value: getutcdate()
|
|
28478
|
+
*/
|
|
28479
|
+
get __mj_UpdatedAt(): Date;
|
|
28480
|
+
/**
|
|
28481
|
+
* * Field Name: ArchiveConfiguration
|
|
28482
|
+
* * Display Name: Archive Configuration Name
|
|
28483
|
+
* * SQL Data Type: nvarchar(255)
|
|
28484
|
+
*/
|
|
28485
|
+
get ArchiveConfiguration(): string;
|
|
28486
|
+
/**
|
|
28487
|
+
* * Field Name: Entity
|
|
28488
|
+
* * Display Name: Entity Name
|
|
28489
|
+
* * SQL Data Type: nvarchar(255)
|
|
28490
|
+
*/
|
|
28491
|
+
get Entity(): string;
|
|
28492
|
+
}
|
|
28493
|
+
/**
|
|
28494
|
+
* MJ: Archive Configurations - strongly typed entity sub-class
|
|
28495
|
+
* * Schema: __mj
|
|
28496
|
+
* * Base Table: ArchiveConfiguration
|
|
28497
|
+
* * Base View: vwArchiveConfigurations
|
|
28498
|
+
* * @description Top-level configuration for an archive pipeline. Defines the storage target, default retention policy, archive format, and operational mode for archiving entity records.
|
|
28499
|
+
* * Primary Key: ID
|
|
28500
|
+
* @extends {BaseEntity}
|
|
28501
|
+
* @class
|
|
28502
|
+
* @public
|
|
28503
|
+
*/
|
|
28504
|
+
export declare class MJArchiveConfigurationEntity extends BaseEntity<MJArchiveConfigurationEntityType> {
|
|
28505
|
+
/**
|
|
28506
|
+
* Loads the MJ: Archive Configurations record from the database
|
|
28507
|
+
* @param ID: string - primary key value to load the MJ: Archive Configurations record.
|
|
28508
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28509
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28510
|
+
* @public
|
|
28511
|
+
* @async
|
|
28512
|
+
* @memberof MJArchiveConfigurationEntity
|
|
28513
|
+
* @method
|
|
28514
|
+
* @override
|
|
28515
|
+
*/
|
|
28516
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28517
|
+
/**
|
|
28518
|
+
* * Field Name: ID
|
|
28519
|
+
* * Display Name: ID
|
|
28520
|
+
* * SQL Data Type: uniqueidentifier
|
|
28521
|
+
* * Default Value: newsequentialid()
|
|
28522
|
+
*/
|
|
28523
|
+
get ID(): string;
|
|
28524
|
+
set ID(value: string);
|
|
28525
|
+
/**
|
|
28526
|
+
* * Field Name: Name
|
|
28527
|
+
* * Display Name: Name
|
|
28528
|
+
* * SQL Data Type: nvarchar(255)
|
|
28529
|
+
* * Description: Human-readable name for this archive configuration.
|
|
28530
|
+
*/
|
|
28531
|
+
get Name(): string;
|
|
28532
|
+
set Name(value: string);
|
|
28533
|
+
/**
|
|
28534
|
+
* * Field Name: Description
|
|
28535
|
+
* * Display Name: Description
|
|
28536
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28537
|
+
*/
|
|
28538
|
+
get Description(): string | null;
|
|
28539
|
+
set Description(value: string | null);
|
|
28540
|
+
/**
|
|
28541
|
+
* * Field Name: StorageAccountID
|
|
28542
|
+
* * Display Name: Storage Account
|
|
28543
|
+
* * SQL Data Type: uniqueidentifier
|
|
28544
|
+
* * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
|
|
28545
|
+
* * Description: Foreign key to FileStorageAccount — the blob/file storage target for archived data.
|
|
28546
|
+
*/
|
|
28547
|
+
get StorageAccountID(): string | null;
|
|
28548
|
+
set StorageAccountID(value: string | null);
|
|
28549
|
+
/**
|
|
28550
|
+
* * Field Name: RootPath
|
|
28551
|
+
* * Display Name: Root Path
|
|
28552
|
+
* * SQL Data Type: nvarchar(500)
|
|
28553
|
+
* * Description: Root path within the storage account where archive files are written (e.g., "archives/production/").
|
|
28554
|
+
*/
|
|
28555
|
+
get RootPath(): string;
|
|
28556
|
+
set RootPath(value: string);
|
|
28557
|
+
/**
|
|
28558
|
+
* * Field Name: ArchiveFormat
|
|
28559
|
+
* * Display Name: Archive Format
|
|
28560
|
+
* * SQL Data Type: nvarchar(20)
|
|
28561
|
+
* * Default Value: JSON
|
|
28562
|
+
* * Value List Type: List
|
|
28563
|
+
* * Possible Values
|
|
28564
|
+
* * CSV
|
|
28565
|
+
* * JSON
|
|
28566
|
+
* * Parquet
|
|
28567
|
+
* * Description: Output format for archived records: JSON, Parquet, or CSV.
|
|
28568
|
+
*/
|
|
28569
|
+
get ArchiveFormat(): 'CSV' | 'JSON' | 'Parquet';
|
|
28570
|
+
set ArchiveFormat(value: 'CSV' | 'JSON' | 'Parquet');
|
|
28571
|
+
/**
|
|
28572
|
+
* * Field Name: IsActive
|
|
28573
|
+
* * Display Name: Is Active
|
|
28574
|
+
* * SQL Data Type: bit
|
|
28575
|
+
* * Default Value: 0
|
|
28576
|
+
* * Description: Whether this configuration is active and eligible for scheduled archive runs.
|
|
28577
|
+
*/
|
|
28578
|
+
get IsActive(): boolean;
|
|
28579
|
+
set IsActive(value: boolean);
|
|
28580
|
+
/**
|
|
28581
|
+
* * Field Name: DefaultRetentionDays
|
|
28582
|
+
* * Display Name: Default Retention Days
|
|
28583
|
+
* * SQL Data Type: int
|
|
28584
|
+
* * Default Value: 365
|
|
28585
|
+
* * Description: Default number of days after which records become eligible for archiving. Can be overridden per entity.
|
|
28586
|
+
*/
|
|
28587
|
+
get DefaultRetentionDays(): number;
|
|
28588
|
+
set DefaultRetentionDays(value: number);
|
|
28589
|
+
/**
|
|
28590
|
+
* * Field Name: DefaultMode
|
|
28591
|
+
* * Display Name: Default Mode
|
|
28592
|
+
* * SQL Data Type: nvarchar(20)
|
|
28593
|
+
* * Default Value: StripFields
|
|
28594
|
+
* * Value List Type: List
|
|
28595
|
+
* * Possible Values
|
|
28596
|
+
* * ArchiveOnly
|
|
28597
|
+
* * HardDelete
|
|
28598
|
+
* * StripFields
|
|
28599
|
+
* * Description: Default archive mode: StripFields (null out specified fields), HardDelete (delete from source after archiving), ArchiveOnly (copy to storage without modifying source).
|
|
28600
|
+
*/
|
|
28601
|
+
get DefaultMode(): 'ArchiveOnly' | 'HardDelete' | 'StripFields';
|
|
28602
|
+
set DefaultMode(value: 'ArchiveOnly' | 'HardDelete' | 'StripFields');
|
|
28603
|
+
/**
|
|
28604
|
+
* * Field Name: DefaultBatchSize
|
|
28605
|
+
* * Display Name: Default Batch Size
|
|
28606
|
+
* * SQL Data Type: int
|
|
28607
|
+
* * Default Value: 100
|
|
28608
|
+
* * Description: Default number of records to process per batch during archive runs.
|
|
28609
|
+
*/
|
|
28610
|
+
get DefaultBatchSize(): number;
|
|
28611
|
+
set DefaultBatchSize(value: number);
|
|
28612
|
+
/**
|
|
28613
|
+
* * Field Name: ArchiveRelatedRecordChanges
|
|
28614
|
+
* * Display Name: Archive Related Record Changes
|
|
28615
|
+
* * SQL Data Type: bit
|
|
28616
|
+
* * Default Value: 1
|
|
28617
|
+
* * Description: When enabled, related Record Changes entries are also archived alongside the source records.
|
|
28618
|
+
*/
|
|
28619
|
+
get ArchiveRelatedRecordChanges(): boolean;
|
|
28620
|
+
set ArchiveRelatedRecordChanges(value: boolean);
|
|
28621
|
+
/**
|
|
28622
|
+
* * Field Name: Status
|
|
28623
|
+
* * Display Name: Status
|
|
28624
|
+
* * SQL Data Type: nvarchar(20)
|
|
28625
|
+
* * Default Value: Idle
|
|
28626
|
+
* * Value List Type: List
|
|
28627
|
+
* * Possible Values
|
|
28628
|
+
* * Disabled
|
|
28629
|
+
* * Error
|
|
28630
|
+
* * Idle
|
|
28631
|
+
* * Running
|
|
28632
|
+
* * Description: Current operational status of this configuration: Idle, Running, Error, or Disabled.
|
|
28633
|
+
*/
|
|
28634
|
+
get Status(): 'Disabled' | 'Error' | 'Idle' | 'Running';
|
|
28635
|
+
set Status(value: 'Disabled' | 'Error' | 'Idle' | 'Running');
|
|
28636
|
+
/**
|
|
28637
|
+
* * Field Name: CreatedByUserID
|
|
28638
|
+
* * Display Name: Created By User ID
|
|
28639
|
+
* * SQL Data Type: uniqueidentifier
|
|
28640
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
28641
|
+
* * Description: The user who created this archive configuration.
|
|
28642
|
+
*/
|
|
28643
|
+
get CreatedByUserID(): string;
|
|
28644
|
+
set CreatedByUserID(value: string);
|
|
28645
|
+
/**
|
|
28646
|
+
* * Field Name: __mj_CreatedAt
|
|
28647
|
+
* * Display Name: Created At
|
|
28648
|
+
* * SQL Data Type: datetimeoffset
|
|
28649
|
+
* * Default Value: getutcdate()
|
|
28650
|
+
*/
|
|
28651
|
+
get __mj_CreatedAt(): Date;
|
|
28652
|
+
/**
|
|
28653
|
+
* * Field Name: __mj_UpdatedAt
|
|
28654
|
+
* * Display Name: Updated At
|
|
28655
|
+
* * SQL Data Type: datetimeoffset
|
|
28656
|
+
* * Default Value: getutcdate()
|
|
28657
|
+
*/
|
|
28658
|
+
get __mj_UpdatedAt(): Date;
|
|
28659
|
+
/**
|
|
28660
|
+
* * Field Name: StorageAccount
|
|
28661
|
+
* * Display Name: Storage Account Name
|
|
28662
|
+
* * SQL Data Type: nvarchar(200)
|
|
28663
|
+
*/
|
|
28664
|
+
get StorageAccount(): string | null;
|
|
28665
|
+
/**
|
|
28666
|
+
* * Field Name: CreatedByUser
|
|
28667
|
+
* * Display Name: Created By User
|
|
28668
|
+
* * SQL Data Type: nvarchar(100)
|
|
28669
|
+
*/
|
|
28670
|
+
get CreatedByUser(): string;
|
|
28671
|
+
}
|
|
28672
|
+
/**
|
|
28673
|
+
* MJ: Archive Run Details - strongly typed entity sub-class
|
|
28674
|
+
* * Schema: __mj
|
|
28675
|
+
* * Base Table: ArchiveRunDetail
|
|
28676
|
+
* * Base View: vwArchiveRunDetails
|
|
28677
|
+
* * @description Per-record detail for each archive run. Tracks the outcome, storage location, and error information for each individual record processed.
|
|
28678
|
+
* * Primary Key: ID
|
|
28679
|
+
* @extends {BaseEntity}
|
|
28680
|
+
* @class
|
|
28681
|
+
* @public
|
|
28682
|
+
*/
|
|
28683
|
+
export declare class MJArchiveRunDetailEntity extends BaseEntity<MJArchiveRunDetailEntityType> {
|
|
28684
|
+
/**
|
|
28685
|
+
* Loads the MJ: Archive Run Details record from the database
|
|
28686
|
+
* @param ID: string - primary key value to load the MJ: Archive Run Details record.
|
|
28687
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28688
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28689
|
+
* @public
|
|
28690
|
+
* @async
|
|
28691
|
+
* @memberof MJArchiveRunDetailEntity
|
|
28692
|
+
* @method
|
|
28693
|
+
* @override
|
|
28694
|
+
*/
|
|
28695
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28696
|
+
/**
|
|
28697
|
+
* * Field Name: ID
|
|
28698
|
+
* * Display Name: ID
|
|
28699
|
+
* * SQL Data Type: uniqueidentifier
|
|
28700
|
+
* * Default Value: newsequentialid()
|
|
28701
|
+
*/
|
|
28702
|
+
get ID(): string;
|
|
28703
|
+
set ID(value: string);
|
|
28704
|
+
/**
|
|
28705
|
+
* * Field Name: ArchiveRunID
|
|
28706
|
+
* * Display Name: Archive Run
|
|
28707
|
+
* * SQL Data Type: uniqueidentifier
|
|
28708
|
+
* * Related Entity/Foreign Key: MJ: Archive Runs (vwArchiveRuns.ID)
|
|
28709
|
+
* * Description: Foreign key to the parent ArchiveRun.
|
|
28710
|
+
*/
|
|
28711
|
+
get ArchiveRunID(): string;
|
|
28712
|
+
set ArchiveRunID(value: string);
|
|
28713
|
+
/**
|
|
28714
|
+
* * Field Name: EntityID
|
|
28715
|
+
* * Display Name: Entity ID
|
|
28716
|
+
* * SQL Data Type: uniqueidentifier
|
|
28717
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
28718
|
+
* * Description: Foreign key to the Entity this record belongs to.
|
|
28719
|
+
*/
|
|
28720
|
+
get EntityID(): string;
|
|
28721
|
+
set EntityID(value: string);
|
|
28722
|
+
/**
|
|
28723
|
+
* * Field Name: RecordID
|
|
28724
|
+
* * Display Name: Record ID
|
|
28725
|
+
* * SQL Data Type: nvarchar(750)
|
|
28726
|
+
* * Description: The primary key value of the archived record (string representation to support all key types).
|
|
28727
|
+
*/
|
|
28728
|
+
get RecordID(): string;
|
|
28729
|
+
set RecordID(value: string);
|
|
28730
|
+
/**
|
|
28731
|
+
* * Field Name: Status
|
|
28732
|
+
* * Display Name: Status
|
|
28733
|
+
* * SQL Data Type: nvarchar(50)
|
|
28734
|
+
* * Value List Type: List
|
|
28735
|
+
* * Possible Values
|
|
28736
|
+
* * Failed
|
|
28737
|
+
* * Skipped
|
|
28738
|
+
* * Success
|
|
28739
|
+
* * Description: Outcome for this record: Success, Failed, or Skipped.
|
|
28740
|
+
*/
|
|
28741
|
+
get Status(): 'Failed' | 'Skipped' | 'Success';
|
|
28742
|
+
set Status(value: 'Failed' | 'Skipped' | 'Success');
|
|
28743
|
+
/**
|
|
28744
|
+
* * Field Name: StoragePath
|
|
28745
|
+
* * Display Name: Storage Path
|
|
28746
|
+
* * SQL Data Type: nvarchar(1000)
|
|
28747
|
+
* * Description: Full path to the archived file in storage (e.g., "archives/production/Users/2026/04/record-id.json").
|
|
28748
|
+
*/
|
|
28749
|
+
get StoragePath(): string | null;
|
|
28750
|
+
set StoragePath(value: string | null);
|
|
28751
|
+
/**
|
|
28752
|
+
* * Field Name: BytesArchived
|
|
28753
|
+
* * Display Name: Bytes Archived
|
|
28754
|
+
* * SQL Data Type: bigint
|
|
28755
|
+
* * Default Value: 0
|
|
28756
|
+
* * Description: Number of bytes written to storage for this record.
|
|
28757
|
+
*/
|
|
28758
|
+
get BytesArchived(): number;
|
|
28759
|
+
set BytesArchived(value: number);
|
|
28760
|
+
/**
|
|
28761
|
+
* * Field Name: ErrorMessage
|
|
28762
|
+
* * Display Name: Error Message
|
|
28763
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28764
|
+
* * Description: Error details when Status is Failed.
|
|
28765
|
+
*/
|
|
28766
|
+
get ErrorMessage(): string | null;
|
|
28767
|
+
set ErrorMessage(value: string | null);
|
|
28768
|
+
/**
|
|
28769
|
+
* * Field Name: ArchivedAt
|
|
28770
|
+
* * Display Name: Archived At
|
|
28771
|
+
* * SQL Data Type: datetimeoffset
|
|
28772
|
+
* * Description: Timestamp when this record was successfully archived.
|
|
28773
|
+
*/
|
|
28774
|
+
get ArchivedAt(): Date | null;
|
|
28775
|
+
set ArchivedAt(value: Date | null);
|
|
28776
|
+
/**
|
|
28777
|
+
* * Field Name: VersionStamp
|
|
28778
|
+
* * Display Name: Version Stamp
|
|
28779
|
+
* * SQL Data Type: datetimeoffset
|
|
28780
|
+
* * Description: The __mj_UpdatedAt timestamp of the record at the time of archiving, used for conflict detection during restore.
|
|
28781
|
+
*/
|
|
28782
|
+
get VersionStamp(): Date | null;
|
|
28783
|
+
set VersionStamp(value: Date | null);
|
|
28784
|
+
/**
|
|
28785
|
+
* * Field Name: IsRecordChangeArchive
|
|
28786
|
+
* * Display Name: Is Record Change
|
|
28787
|
+
* * SQL Data Type: bit
|
|
28788
|
+
* * Default Value: 0
|
|
28789
|
+
* * Description: When true, this detail row represents an archived Record Change entry rather than a primary entity record.
|
|
28790
|
+
*/
|
|
28791
|
+
get IsRecordChangeArchive(): boolean;
|
|
28792
|
+
set IsRecordChangeArchive(value: boolean);
|
|
28793
|
+
/**
|
|
28794
|
+
* * Field Name: __mj_CreatedAt
|
|
28795
|
+
* * Display Name: Created At
|
|
28796
|
+
* * SQL Data Type: datetimeoffset
|
|
28797
|
+
* * Default Value: getutcdate()
|
|
28798
|
+
*/
|
|
28799
|
+
get __mj_CreatedAt(): Date;
|
|
28800
|
+
/**
|
|
28801
|
+
* * Field Name: __mj_UpdatedAt
|
|
28802
|
+
* * Display Name: Updated At
|
|
28803
|
+
* * SQL Data Type: datetimeoffset
|
|
28804
|
+
* * Default Value: getutcdate()
|
|
28805
|
+
*/
|
|
28806
|
+
get __mj_UpdatedAt(): Date;
|
|
28807
|
+
/**
|
|
28808
|
+
* * Field Name: ArchiveRun
|
|
28809
|
+
* * Display Name: Archive Run Timestamp
|
|
28810
|
+
* * SQL Data Type: datetimeoffset
|
|
28811
|
+
*/
|
|
28812
|
+
get ArchiveRun(): Date;
|
|
28813
|
+
/**
|
|
28814
|
+
* * Field Name: Entity
|
|
28815
|
+
* * Display Name: Entity Name
|
|
28816
|
+
* * SQL Data Type: nvarchar(255)
|
|
28817
|
+
*/
|
|
28818
|
+
get Entity(): string;
|
|
28819
|
+
}
|
|
28820
|
+
/**
|
|
28821
|
+
* MJ: Archive Runs - strongly typed entity sub-class
|
|
28822
|
+
* * Schema: __mj
|
|
28823
|
+
* * Base Table: ArchiveRun
|
|
28824
|
+
* * Base View: vwArchiveRuns
|
|
28825
|
+
* * @description Tracks each execution of an archive configuration, including timing, aggregate statistics, and overall status.
|
|
28826
|
+
* * Primary Key: ID
|
|
28827
|
+
* @extends {BaseEntity}
|
|
28828
|
+
* @class
|
|
28829
|
+
* @public
|
|
28830
|
+
*/
|
|
28831
|
+
export declare class MJArchiveRunEntity extends BaseEntity<MJArchiveRunEntityType> {
|
|
28832
|
+
/**
|
|
28833
|
+
* Loads the MJ: Archive Runs record from the database
|
|
28834
|
+
* @param ID: string - primary key value to load the MJ: Archive Runs record.
|
|
28835
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28836
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28837
|
+
* @public
|
|
28838
|
+
* @async
|
|
28839
|
+
* @memberof MJArchiveRunEntity
|
|
28840
|
+
* @method
|
|
28841
|
+
* @override
|
|
28842
|
+
*/
|
|
28843
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28844
|
+
/**
|
|
28845
|
+
* * Field Name: ID
|
|
28846
|
+
* * Display Name: ID
|
|
28847
|
+
* * SQL Data Type: uniqueidentifier
|
|
28848
|
+
* * Default Value: newsequentialid()
|
|
28849
|
+
*/
|
|
28850
|
+
get ID(): string;
|
|
28851
|
+
set ID(value: string);
|
|
28852
|
+
/**
|
|
28853
|
+
* * Field Name: ArchiveConfigurationID
|
|
28854
|
+
* * Display Name: Archive Configuration
|
|
28855
|
+
* * SQL Data Type: uniqueidentifier
|
|
28856
|
+
* * Related Entity/Foreign Key: MJ: Archive Configurations (vwArchiveConfigurations.ID)
|
|
28857
|
+
* * Description: Foreign key to the ArchiveConfiguration that was executed.
|
|
28858
|
+
*/
|
|
28859
|
+
get ArchiveConfigurationID(): string;
|
|
28860
|
+
set ArchiveConfigurationID(value: string);
|
|
28861
|
+
/**
|
|
28862
|
+
* * Field Name: StartedAt
|
|
28863
|
+
* * Display Name: Started At
|
|
28864
|
+
* * SQL Data Type: datetimeoffset
|
|
28865
|
+
* * Default Value: getutcdate()
|
|
28866
|
+
* * Description: Timestamp when the archive run started.
|
|
28867
|
+
*/
|
|
28868
|
+
get StartedAt(): Date;
|
|
28869
|
+
set StartedAt(value: Date);
|
|
28870
|
+
/**
|
|
28871
|
+
* * Field Name: CompletedAt
|
|
28872
|
+
* * Display Name: Completed At
|
|
28873
|
+
* * SQL Data Type: datetimeoffset
|
|
28874
|
+
* * Description: Timestamp when the archive run completed (NULL while still running).
|
|
28875
|
+
*/
|
|
28876
|
+
get CompletedAt(): Date | null;
|
|
28877
|
+
set CompletedAt(value: Date | null);
|
|
28878
|
+
/**
|
|
28879
|
+
* * Field Name: Status
|
|
28880
|
+
* * Display Name: Status
|
|
28881
|
+
* * SQL Data Type: nvarchar(50)
|
|
28882
|
+
* * Default Value: Running
|
|
28883
|
+
* * Value List Type: List
|
|
28884
|
+
* * Possible Values
|
|
28885
|
+
* * Cancelled
|
|
28886
|
+
* * Complete
|
|
28887
|
+
* * Failed
|
|
28888
|
+
* * PartialSuccess
|
|
28889
|
+
* * Running
|
|
28890
|
+
* * Description: Current status: Running, Complete, Failed, Cancelled, or PartialSuccess.
|
|
28891
|
+
*/
|
|
28892
|
+
get Status(): 'Cancelled' | 'Complete' | 'Failed' | 'PartialSuccess' | 'Running';
|
|
28893
|
+
set Status(value: 'Cancelled' | 'Complete' | 'Failed' | 'PartialSuccess' | 'Running');
|
|
28894
|
+
/**
|
|
28895
|
+
* * Field Name: TotalRecords
|
|
28896
|
+
* * Display Name: Total Records
|
|
28897
|
+
* * SQL Data Type: int
|
|
28898
|
+
* * Default Value: 0
|
|
28899
|
+
* * Description: Total number of records identified for archiving in this run.
|
|
28900
|
+
*/
|
|
28901
|
+
get TotalRecords(): number;
|
|
28902
|
+
set TotalRecords(value: number);
|
|
28903
|
+
/**
|
|
28904
|
+
* * Field Name: ArchivedRecords
|
|
28905
|
+
* * Display Name: Archived Records
|
|
28906
|
+
* * SQL Data Type: int
|
|
28907
|
+
* * Default Value: 0
|
|
28908
|
+
* * Description: Number of records successfully archived.
|
|
28909
|
+
*/
|
|
28910
|
+
get ArchivedRecords(): number;
|
|
28911
|
+
set ArchivedRecords(value: number);
|
|
28912
|
+
/**
|
|
28913
|
+
* * Field Name: FailedRecords
|
|
28914
|
+
* * Display Name: Failed Records
|
|
28915
|
+
* * SQL Data Type: int
|
|
28916
|
+
* * Default Value: 0
|
|
28917
|
+
* * Description: Number of records that failed to archive.
|
|
28918
|
+
*/
|
|
28919
|
+
get FailedRecords(): number;
|
|
28920
|
+
set FailedRecords(value: number);
|
|
28921
|
+
/**
|
|
28922
|
+
* * Field Name: SkippedRecords
|
|
28923
|
+
* * Display Name: Skipped Records
|
|
28924
|
+
* * SQL Data Type: int
|
|
28925
|
+
* * Default Value: 0
|
|
28926
|
+
* * Description: Number of records skipped (e.g., already archived or filtered out).
|
|
28927
|
+
*/
|
|
28928
|
+
get SkippedRecords(): number;
|
|
28929
|
+
set SkippedRecords(value: number);
|
|
28930
|
+
/**
|
|
28931
|
+
* * Field Name: TotalBytesArchived
|
|
28932
|
+
* * Display Name: Total Bytes Archived
|
|
28933
|
+
* * SQL Data Type: bigint
|
|
28934
|
+
* * Default Value: 0
|
|
28935
|
+
* * Description: Total bytes written to archive storage during this run.
|
|
28936
|
+
*/
|
|
28937
|
+
get TotalBytesArchived(): number;
|
|
28938
|
+
set TotalBytesArchived(value: number);
|
|
28939
|
+
/**
|
|
28940
|
+
* * Field Name: ErrorLog
|
|
28941
|
+
* * Display Name: Error Log
|
|
28942
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28943
|
+
* * Description: Aggregated error log for the run. Contains error details when Status is Failed or PartialSuccess.
|
|
28944
|
+
*/
|
|
28945
|
+
get ErrorLog(): string | null;
|
|
28946
|
+
set ErrorLog(value: string | null);
|
|
28947
|
+
/**
|
|
28948
|
+
* * Field Name: UserID
|
|
28949
|
+
* * Display Name: Initiated By
|
|
28950
|
+
* * SQL Data Type: uniqueidentifier
|
|
28951
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
28952
|
+
* * Description: The user who initiated this archive run.
|
|
28953
|
+
*/
|
|
28954
|
+
get UserID(): string;
|
|
28955
|
+
set UserID(value: string);
|
|
28956
|
+
/**
|
|
28957
|
+
* * Field Name: __mj_CreatedAt
|
|
28958
|
+
* * Display Name: Created At
|
|
28959
|
+
* * SQL Data Type: datetimeoffset
|
|
28960
|
+
* * Default Value: getutcdate()
|
|
28961
|
+
*/
|
|
28962
|
+
get __mj_CreatedAt(): Date;
|
|
28963
|
+
/**
|
|
28964
|
+
* * Field Name: __mj_UpdatedAt
|
|
28965
|
+
* * Display Name: Updated At
|
|
28966
|
+
* * SQL Data Type: datetimeoffset
|
|
28967
|
+
* * Default Value: getutcdate()
|
|
28968
|
+
*/
|
|
28969
|
+
get __mj_UpdatedAt(): Date;
|
|
28970
|
+
/**
|
|
28971
|
+
* * Field Name: ArchiveConfiguration
|
|
28972
|
+
* * Display Name: Configuration Name
|
|
28973
|
+
* * SQL Data Type: nvarchar(255)
|
|
28974
|
+
*/
|
|
28975
|
+
get ArchiveConfiguration(): string;
|
|
28976
|
+
/**
|
|
28977
|
+
* * Field Name: User
|
|
28978
|
+
* * Display Name: User Name
|
|
28979
|
+
* * SQL Data Type: nvarchar(100)
|
|
28980
|
+
*/
|
|
28981
|
+
get User(): string;
|
|
28982
|
+
}
|
|
27732
28983
|
/**
|
|
27733
28984
|
* MJ: Artifact Permissions - strongly typed entity sub-class
|
|
27734
28985
|
* * Schema: __mj
|
|
@@ -27944,7 +29195,7 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
|
|
|
27944
29195
|
set ParentID(value: string | null);
|
|
27945
29196
|
/**
|
|
27946
29197
|
* * Field Name: ExtractRules
|
|
27947
|
-
* * Display Name:
|
|
29198
|
+
* * Display Name: Extraction Rules
|
|
27948
29199
|
* * SQL Data Type: nvarchar(MAX)
|
|
27949
29200
|
* * Description: JSON array of extraction rules defining how to extract attributes from artifact content. Each rule has: name (string), description (string), type (TypeScript type), standardProperty ('name'|'description'|'displayMarkdown'|'displayHtml'|null), extractor (JavaScript code string). Child types inherit parent rules and can override by name.
|
|
27950
29201
|
*/
|
|
@@ -27980,6 +29231,14 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
|
|
|
27980
29231
|
get ContentCategory(): 'File' | 'Text';
|
|
27981
29232
|
set ContentCategory(value: 'File' | 'Text');
|
|
27982
29233
|
/**
|
|
29234
|
+
* * Field Name: ToolLibraryClass
|
|
29235
|
+
* * Display Name: Tool Library Class
|
|
29236
|
+
* * SQL Data Type: nvarchar(100)
|
|
29237
|
+
* * Description: Class name for the BaseArtifactToolLibrary subclass that provides type-specific artifact exploration tools for agents. Resolved via ClassFactory. When NULL, ArtifactToolManager uses name-based fallback resolution.
|
|
29238
|
+
*/
|
|
29239
|
+
get ToolLibraryClass(): string | null;
|
|
29240
|
+
set ToolLibraryClass(value: string | null);
|
|
29241
|
+
/**
|
|
27983
29242
|
* * Field Name: Parent
|
|
27984
29243
|
* * Display Name: Parent
|
|
27985
29244
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -36279,6 +37538,16 @@ export declare class MJDashboardEntity extends BaseEntity<MJDashboardEntityType>
|
|
|
36279
37538
|
*/
|
|
36280
37539
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
36281
37540
|
/**
|
|
37541
|
+
* MJ: Dashboards - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
37542
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
37543
|
+
* @public
|
|
37544
|
+
* @method
|
|
37545
|
+
* @override
|
|
37546
|
+
* @memberof MJDashboardEntity
|
|
37547
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
37548
|
+
*/
|
|
37549
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
37550
|
+
/**
|
|
36282
37551
|
* * Field Name: ID
|
|
36283
37552
|
* * Display Name: ID
|
|
36284
37553
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -41147,6 +42416,7 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41147
42416
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
41148
42417
|
/**
|
|
41149
42418
|
* * Field Name: ID
|
|
42419
|
+
* * Display Name: ID
|
|
41150
42420
|
* * SQL Data Type: uniqueidentifier
|
|
41151
42421
|
* * Default Value: newsequentialid()
|
|
41152
42422
|
*/
|
|
@@ -41206,7 +42476,7 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41206
42476
|
set CanDelete(value: boolean);
|
|
41207
42477
|
/**
|
|
41208
42478
|
* * Field Name: ReadRLSFilterID
|
|
41209
|
-
* * Display Name: Read
|
|
42479
|
+
* * Display Name: Read Filter ID
|
|
41210
42480
|
* * SQL Data Type: uniqueidentifier
|
|
41211
42481
|
* * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
|
|
41212
42482
|
*/
|
|
@@ -41214,7 +42484,7 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41214
42484
|
set ReadRLSFilterID(value: string | null);
|
|
41215
42485
|
/**
|
|
41216
42486
|
* * Field Name: CreateRLSFilterID
|
|
41217
|
-
* * Display Name: Create
|
|
42487
|
+
* * Display Name: Create Filter ID
|
|
41218
42488
|
* * SQL Data Type: uniqueidentifier
|
|
41219
42489
|
* * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
|
|
41220
42490
|
*/
|
|
@@ -41222,7 +42492,7 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41222
42492
|
set CreateRLSFilterID(value: string | null);
|
|
41223
42493
|
/**
|
|
41224
42494
|
* * Field Name: UpdateRLSFilterID
|
|
41225
|
-
* * Display Name: Update
|
|
42495
|
+
* * Display Name: Update Filter ID
|
|
41226
42496
|
* * SQL Data Type: uniqueidentifier
|
|
41227
42497
|
* * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
|
|
41228
42498
|
*/
|
|
@@ -41230,7 +42500,7 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41230
42500
|
set UpdateRLSFilterID(value: string | null);
|
|
41231
42501
|
/**
|
|
41232
42502
|
* * Field Name: DeleteRLSFilterID
|
|
41233
|
-
* * Display Name: Delete
|
|
42503
|
+
* * Display Name: Delete Filter ID
|
|
41234
42504
|
* * SQL Data Type: uniqueidentifier
|
|
41235
42505
|
* * Related Entity/Foreign Key: MJ: Row Level Security Filters (vwRowLevelSecurityFilters.ID)
|
|
41236
42506
|
*/
|
|
@@ -41238,19 +42508,32 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41238
42508
|
set DeleteRLSFilterID(value: string | null);
|
|
41239
42509
|
/**
|
|
41240
42510
|
* * Field Name: __mj_CreatedAt
|
|
41241
|
-
* * Display Name:
|
|
42511
|
+
* * Display Name: Created At
|
|
41242
42512
|
* * SQL Data Type: datetimeoffset
|
|
41243
42513
|
* * Default Value: getutcdate()
|
|
41244
42514
|
*/
|
|
41245
42515
|
get __mj_CreatedAt(): Date;
|
|
41246
42516
|
/**
|
|
41247
42517
|
* * Field Name: __mj_UpdatedAt
|
|
41248
|
-
* * Display Name:
|
|
42518
|
+
* * Display Name: Updated At
|
|
41249
42519
|
* * SQL Data Type: datetimeoffset
|
|
41250
42520
|
* * Default Value: getutcdate()
|
|
41251
42521
|
*/
|
|
41252
42522
|
get __mj_UpdatedAt(): Date;
|
|
41253
42523
|
/**
|
|
42524
|
+
* * Field Name: Type
|
|
42525
|
+
* * Display Name: Access Type
|
|
42526
|
+
* * SQL Data Type: nvarchar(10)
|
|
42527
|
+
* * Default Value: Allow
|
|
42528
|
+
* * Value List Type: List
|
|
42529
|
+
* * Possible Values
|
|
42530
|
+
* * Allow
|
|
42531
|
+
* * Deny
|
|
42532
|
+
* * Description: Allow or Deny. Deny rows override any Allow grants on the same (EntityID, RoleID, action) at evaluation time, letting administrators exclude a role from an action another role grants.
|
|
42533
|
+
*/
|
|
42534
|
+
get Type(): 'Allow' | 'Deny';
|
|
42535
|
+
set Type(value: 'Allow' | 'Deny');
|
|
42536
|
+
/**
|
|
41254
42537
|
* * Field Name: Entity
|
|
41255
42538
|
* * Display Name: Entity
|
|
41256
42539
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -41264,31 +42547,31 @@ export declare class MJEntityPermissionEntity extends BaseEntity<MJEntityPermiss
|
|
|
41264
42547
|
get RoleName(): string;
|
|
41265
42548
|
/**
|
|
41266
42549
|
* * Field Name: RoleSQLName
|
|
41267
|
-
* * Display Name: Role
|
|
42550
|
+
* * Display Name: Role SQL Name
|
|
41268
42551
|
* * SQL Data Type: nvarchar(250)
|
|
41269
42552
|
*/
|
|
41270
42553
|
get RoleSQLName(): string | null;
|
|
41271
42554
|
/**
|
|
41272
42555
|
* * Field Name: CreateRLSFilter
|
|
41273
|
-
* * Display Name: Create
|
|
42556
|
+
* * Display Name: Create Filter
|
|
41274
42557
|
* * SQL Data Type: nvarchar(100)
|
|
41275
42558
|
*/
|
|
41276
42559
|
get CreateRLSFilter(): string | null;
|
|
41277
42560
|
/**
|
|
41278
42561
|
* * Field Name: ReadRLSFilter
|
|
41279
|
-
* * Display Name: Read
|
|
42562
|
+
* * Display Name: Read Filter
|
|
41280
42563
|
* * SQL Data Type: nvarchar(100)
|
|
41281
42564
|
*/
|
|
41282
42565
|
get ReadRLSFilter(): string | null;
|
|
41283
42566
|
/**
|
|
41284
42567
|
* * Field Name: UpdateRLSFilter
|
|
41285
|
-
* * Display Name: Update
|
|
42568
|
+
* * Display Name: Update Filter
|
|
41286
42569
|
* * SQL Data Type: nvarchar(100)
|
|
41287
42570
|
*/
|
|
41288
42571
|
get UpdateRLSFilter(): string | null;
|
|
41289
42572
|
/**
|
|
41290
42573
|
* * Field Name: DeleteRLSFilter
|
|
41291
|
-
* * Display Name: Delete
|
|
42574
|
+
* * Display Name: Delete Filter
|
|
41292
42575
|
* * SQL Data Type: nvarchar(100)
|
|
41293
42576
|
*/
|
|
41294
42577
|
get DeleteRLSFilter(): string | null;
|
|
@@ -43272,7 +44555,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
|
|
|
43272
44555
|
set IntegrationObjectID(value: string);
|
|
43273
44556
|
/**
|
|
43274
44557
|
* * Field Name: Name
|
|
43275
|
-
* * Display Name: Name
|
|
44558
|
+
* * Display Name: Field Name
|
|
43276
44559
|
* * SQL Data Type: nvarchar(255)
|
|
43277
44560
|
* * Description: Field name as returned by the external API
|
|
43278
44561
|
*/
|
|
@@ -43389,7 +44672,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
|
|
|
43389
44672
|
set IsRequired(value: boolean);
|
|
43390
44673
|
/**
|
|
43391
44674
|
* * Field Name: RelatedIntegrationObjectID
|
|
43392
|
-
* * Display Name: Related Integration Object
|
|
44675
|
+
* * Display Name: Related Integration Object
|
|
43393
44676
|
* * SQL Data Type: uniqueidentifier
|
|
43394
44677
|
* * Related Entity/Foreign Key: MJ: Integration Objects (vwIntegrationObjects.ID)
|
|
43395
44678
|
* * Description: Foreign key to another IntegrationObject, establishing a relationship. Used for DAG-based dependency ordering and template variable resolution in parent APIPath patterns.
|
|
@@ -43506,7 +44789,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43506
44789
|
set ID(value: string);
|
|
43507
44790
|
/**
|
|
43508
44791
|
* * Field Name: IntegrationID
|
|
43509
|
-
* * Display Name: Integration
|
|
44792
|
+
* * Display Name: Integration ID
|
|
43510
44793
|
* * SQL Data Type: uniqueidentifier
|
|
43511
44794
|
* * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
|
|
43512
44795
|
* * Description: Foreign key to the Integration that owns this object
|
|
@@ -43614,7 +44897,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43614
44897
|
set SupportsWrite(value: boolean);
|
|
43615
44898
|
/**
|
|
43616
44899
|
* * Field Name: DefaultQueryParams
|
|
43617
|
-
* * Display Name: Default Query
|
|
44900
|
+
* * Display Name: Default Query Params
|
|
43618
44901
|
* * SQL Data Type: nvarchar(MAX)
|
|
43619
44902
|
* * Description: JSON object of default query parameters to include with every API request for this object
|
|
43620
44903
|
*/
|
|
@@ -43702,7 +44985,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43702
44985
|
set IsCustom(value: boolean);
|
|
43703
44986
|
/**
|
|
43704
44987
|
* * Field Name: Integration
|
|
43705
|
-
* * Display Name: Integration
|
|
44988
|
+
* * Display Name: Integration
|
|
43706
44989
|
* * SQL Data Type: nvarchar(100)
|
|
43707
44990
|
*/
|
|
43708
44991
|
get Integration(): string;
|
|
@@ -45829,6 +47112,83 @@ export declare class MJMCPToolExecutionLogEntity extends BaseEntity<MJMCPToolExe
|
|
|
45829
47112
|
*/
|
|
45830
47113
|
get User(): string;
|
|
45831
47114
|
}
|
|
47115
|
+
/**
|
|
47116
|
+
* MJ: MCP Tool Favorites - strongly typed entity sub-class
|
|
47117
|
+
* * Schema: __mj
|
|
47118
|
+
* * Base Table: MCPToolFavorite
|
|
47119
|
+
* * Base View: vwMCPToolFavorites
|
|
47120
|
+
* * @description Per-user favorite marker for an MCP Server Tool. Each row indicates the user has starred the referenced tool for quick access in the MCP Dashboard Tools tab and in the Test Tool dialog picker. Combined with UserID forms a unique pair so a user cannot favorite the same tool twice.
|
|
47121
|
+
* * Primary Key: ID
|
|
47122
|
+
* @extends {BaseEntity}
|
|
47123
|
+
* @class
|
|
47124
|
+
* @public
|
|
47125
|
+
*/
|
|
47126
|
+
export declare class MJMCPToolFavoriteEntity extends BaseEntity<MJMCPToolFavoriteEntityType> {
|
|
47127
|
+
/**
|
|
47128
|
+
* Loads the MJ: MCP Tool Favorites record from the database
|
|
47129
|
+
* @param ID: string - primary key value to load the MJ: MCP Tool Favorites record.
|
|
47130
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
47131
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
47132
|
+
* @public
|
|
47133
|
+
* @async
|
|
47134
|
+
* @memberof MJMCPToolFavoriteEntity
|
|
47135
|
+
* @method
|
|
47136
|
+
* @override
|
|
47137
|
+
*/
|
|
47138
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
47139
|
+
/**
|
|
47140
|
+
* * Field Name: ID
|
|
47141
|
+
* * Display Name: ID
|
|
47142
|
+
* * SQL Data Type: uniqueidentifier
|
|
47143
|
+
* * Default Value: newsequentialid()
|
|
47144
|
+
*/
|
|
47145
|
+
get ID(): string;
|
|
47146
|
+
set ID(value: string);
|
|
47147
|
+
/**
|
|
47148
|
+
* * Field Name: UserID
|
|
47149
|
+
* * Display Name: User
|
|
47150
|
+
* * SQL Data Type: uniqueidentifier
|
|
47151
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
47152
|
+
* * Description: The user who starred this tool. Favorites are per-user; multiple users can favorite the same tool independently. References the MJ User table.
|
|
47153
|
+
*/
|
|
47154
|
+
get UserID(): string;
|
|
47155
|
+
set UserID(value: string);
|
|
47156
|
+
/**
|
|
47157
|
+
* * Field Name: MCPServerToolID
|
|
47158
|
+
* * Display Name: MCP Server Tool
|
|
47159
|
+
* * SQL Data Type: uniqueidentifier
|
|
47160
|
+
* * Related Entity/Foreign Key: MJ: MCP Server Tools (vwMCPServerTools.ID)
|
|
47161
|
+
* * Description: The MCP Server Tool that has been favorited. Combined with UserID this forms a unique constraint so a user cannot favorite the same tool twice.
|
|
47162
|
+
*/
|
|
47163
|
+
get MCPServerToolID(): string;
|
|
47164
|
+
set MCPServerToolID(value: string);
|
|
47165
|
+
/**
|
|
47166
|
+
* * Field Name: __mj_CreatedAt
|
|
47167
|
+
* * Display Name: Created At
|
|
47168
|
+
* * SQL Data Type: datetimeoffset
|
|
47169
|
+
* * Default Value: getutcdate()
|
|
47170
|
+
*/
|
|
47171
|
+
get __mj_CreatedAt(): Date;
|
|
47172
|
+
/**
|
|
47173
|
+
* * Field Name: __mj_UpdatedAt
|
|
47174
|
+
* * Display Name: Updated At
|
|
47175
|
+
* * SQL Data Type: datetimeoffset
|
|
47176
|
+
* * Default Value: getutcdate()
|
|
47177
|
+
*/
|
|
47178
|
+
get __mj_UpdatedAt(): Date;
|
|
47179
|
+
/**
|
|
47180
|
+
* * Field Name: User
|
|
47181
|
+
* * Display Name: User Name
|
|
47182
|
+
* * SQL Data Type: nvarchar(100)
|
|
47183
|
+
*/
|
|
47184
|
+
get User(): string;
|
|
47185
|
+
/**
|
|
47186
|
+
* * Field Name: MCPServerTool
|
|
47187
|
+
* * Display Name: Tool Name
|
|
47188
|
+
* * SQL Data Type: nvarchar(255)
|
|
47189
|
+
*/
|
|
47190
|
+
get MCPServerTool(): string | null;
|
|
47191
|
+
}
|
|
45832
47192
|
/**
|
|
45833
47193
|
* MJ: O Auth Auth Server Metadata Caches - strongly typed entity sub-class
|
|
45834
47194
|
* * Schema: __mj
|
|
@@ -47156,6 +48516,146 @@ export declare class MJOutputTriggerTypeEntity extends BaseEntity<MJOutputTrigge
|
|
|
47156
48516
|
*/
|
|
47157
48517
|
get __mj_UpdatedAt(): Date;
|
|
47158
48518
|
}
|
|
48519
|
+
/**
|
|
48520
|
+
* MJ: Permission Domains - strongly typed entity sub-class
|
|
48521
|
+
* * Schema: __mj
|
|
48522
|
+
* * Base Table: PermissionDomain
|
|
48523
|
+
* * Base View: vwPermissionDomains
|
|
48524
|
+
* * @description Catalog of registered permission subsystems. Each row describes one permission provider; the PermissionEngine uses ProviderClassName as the ClassFactory key to instantiate providers at startup. Enables unified permission queries across all subsystems.
|
|
48525
|
+
* * Primary Key: ID
|
|
48526
|
+
* @extends {BaseEntity}
|
|
48527
|
+
* @class
|
|
48528
|
+
* @public
|
|
48529
|
+
*/
|
|
48530
|
+
export declare class MJPermissionDomainEntity extends BaseEntity<MJPermissionDomainEntityType> {
|
|
48531
|
+
/**
|
|
48532
|
+
* Loads the MJ: Permission Domains record from the database
|
|
48533
|
+
* @param ID: string - primary key value to load the MJ: Permission Domains record.
|
|
48534
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
48535
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
48536
|
+
* @public
|
|
48537
|
+
* @async
|
|
48538
|
+
* @memberof MJPermissionDomainEntity
|
|
48539
|
+
* @method
|
|
48540
|
+
* @override
|
|
48541
|
+
*/
|
|
48542
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
48543
|
+
/**
|
|
48544
|
+
* * Field Name: ID
|
|
48545
|
+
* * Display Name: ID
|
|
48546
|
+
* * SQL Data Type: uniqueidentifier
|
|
48547
|
+
* * Default Value: newsequentialid()
|
|
48548
|
+
*/
|
|
48549
|
+
get ID(): string;
|
|
48550
|
+
set ID(value: string);
|
|
48551
|
+
/**
|
|
48552
|
+
* * Field Name: Name
|
|
48553
|
+
* * Display Name: Name
|
|
48554
|
+
* * SQL Data Type: nvarchar(200)
|
|
48555
|
+
* * Description: Human-readable unique name for the permission domain (e.g., "Entity Permissions", "Dashboard Permissions"). Used in admin UI and as the domain identifier in PermissionEngine API calls.
|
|
48556
|
+
*/
|
|
48557
|
+
get Name(): string;
|
|
48558
|
+
set Name(value: string);
|
|
48559
|
+
/**
|
|
48560
|
+
* * Field Name: Description
|
|
48561
|
+
* * Display Name: Description
|
|
48562
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
48563
|
+
* * Description: Detailed description of what this permission domain covers and how permissions are enforced.
|
|
48564
|
+
*/
|
|
48565
|
+
get Description(): string | null;
|
|
48566
|
+
set Description(value: string | null);
|
|
48567
|
+
/**
|
|
48568
|
+
* * Field Name: ProviderClassName
|
|
48569
|
+
* * Display Name: Provider Class Name
|
|
48570
|
+
* * SQL Data Type: nvarchar(500)
|
|
48571
|
+
* * Description: ClassFactory key used to instantiate this provider. Must match the key passed to @RegisterClass(PermissionProviderBase, 'ClassName'). Convention: prefix with MJ for built-in providers (e.g., MJEntityPermissionProvider).
|
|
48572
|
+
*/
|
|
48573
|
+
get ProviderClassName(): string;
|
|
48574
|
+
set ProviderClassName(value: string);
|
|
48575
|
+
/**
|
|
48576
|
+
* * Field Name: SupportedGranteeTypes
|
|
48577
|
+
* * Display Name: Supported Grantee Types
|
|
48578
|
+
* * SQL Data Type: nvarchar(200)
|
|
48579
|
+
* * Description: Comma-delimited list of grantee types this provider supports. Valid tokens: User, Role, Everyone, Public. Example: "User,Role".
|
|
48580
|
+
*/
|
|
48581
|
+
get SupportedGranteeTypes(): string;
|
|
48582
|
+
set SupportedGranteeTypes(value: string);
|
|
48583
|
+
/**
|
|
48584
|
+
* * Field Name: SupportedActions
|
|
48585
|
+
* * Display Name: Supported Actions
|
|
48586
|
+
* * SQL Data Type: nvarchar(500)
|
|
48587
|
+
* * Description: Comma-delimited list of permission actions this provider can evaluate. Valid tokens: Read, Create, Update, Delete, Share, Execute, Admin. Example: "Read,Create,Update,Delete".
|
|
48588
|
+
*/
|
|
48589
|
+
get SupportedActions(): string;
|
|
48590
|
+
set SupportedActions(value: string);
|
|
48591
|
+
/**
|
|
48592
|
+
* * Field Name: SupportsDeny
|
|
48593
|
+
* * Display Name: Supports Deny
|
|
48594
|
+
* * SQL Data Type: bit
|
|
48595
|
+
* * Default Value: 0
|
|
48596
|
+
* * Description: When true, this provider supports explicit Deny records that override Allow grants at the same scope.
|
|
48597
|
+
*/
|
|
48598
|
+
get SupportsDeny(): boolean;
|
|
48599
|
+
set SupportsDeny(value: boolean);
|
|
48600
|
+
/**
|
|
48601
|
+
* * Field Name: SupportsExpiration
|
|
48602
|
+
* * Display Name: Supports Expiration
|
|
48603
|
+
* * SQL Data Type: bit
|
|
48604
|
+
* * Default Value: 0
|
|
48605
|
+
* * Description: When true, this provider supports time-bound permissions with an expiration timestamp.
|
|
48606
|
+
*/
|
|
48607
|
+
get SupportsExpiration(): boolean;
|
|
48608
|
+
set SupportsExpiration(value: boolean);
|
|
48609
|
+
/**
|
|
48610
|
+
* * Field Name: SupportsHierarchyInheritance
|
|
48611
|
+
* * Display Name: Supports Hierarchy Inheritance
|
|
48612
|
+
* * SQL Data Type: bit
|
|
48613
|
+
* * Default Value: 0
|
|
48614
|
+
* * Description: When true, this provider resolves permissions hierarchically (e.g., category-level grants cascade to items within the category).
|
|
48615
|
+
*/
|
|
48616
|
+
get SupportsHierarchyInheritance(): boolean;
|
|
48617
|
+
set SupportsHierarchyInheritance(value: boolean);
|
|
48618
|
+
/**
|
|
48619
|
+
* * Field Name: IsActive
|
|
48620
|
+
* * Display Name: Is Active
|
|
48621
|
+
* * SQL Data Type: bit
|
|
48622
|
+
* * Default Value: 1
|
|
48623
|
+
* * Description: When false, the PermissionEngine skips loading this provider at startup. Use to temporarily disable a provider without removing its record.
|
|
48624
|
+
*/
|
|
48625
|
+
get IsActive(): boolean;
|
|
48626
|
+
set IsActive(value: boolean);
|
|
48627
|
+
/**
|
|
48628
|
+
* * Field Name: DisplayOrder
|
|
48629
|
+
* * Display Name: Display Order
|
|
48630
|
+
* * SQL Data Type: int
|
|
48631
|
+
* * Default Value: 100
|
|
48632
|
+
* * Description: Sort order for displaying domains in the Sharing Center admin UI. Lower numbers appear first.
|
|
48633
|
+
*/
|
|
48634
|
+
get DisplayOrder(): number;
|
|
48635
|
+
set DisplayOrder(value: number);
|
|
48636
|
+
/**
|
|
48637
|
+
* * Field Name: Icon
|
|
48638
|
+
* * Display Name: Icon
|
|
48639
|
+
* * SQL Data Type: nvarchar(100)
|
|
48640
|
+
* * Description: Optional Font Awesome icon class for display in admin UI (e.g., "fa-solid fa-shield").
|
|
48641
|
+
*/
|
|
48642
|
+
get Icon(): string | null;
|
|
48643
|
+
set Icon(value: string | null);
|
|
48644
|
+
/**
|
|
48645
|
+
* * Field Name: __mj_CreatedAt
|
|
48646
|
+
* * Display Name: Created At
|
|
48647
|
+
* * SQL Data Type: datetimeoffset
|
|
48648
|
+
* * Default Value: getutcdate()
|
|
48649
|
+
*/
|
|
48650
|
+
get __mj_CreatedAt(): Date;
|
|
48651
|
+
/**
|
|
48652
|
+
* * Field Name: __mj_UpdatedAt
|
|
48653
|
+
* * Display Name: Updated At
|
|
48654
|
+
* * SQL Data Type: datetimeoffset
|
|
48655
|
+
* * Default Value: getutcdate()
|
|
48656
|
+
*/
|
|
48657
|
+
get __mj_UpdatedAt(): Date;
|
|
48658
|
+
}
|
|
47159
48659
|
/**
|
|
47160
48660
|
* MJ: Projects - strongly typed entity sub-class
|
|
47161
48661
|
* * Schema: __mj
|
|
@@ -50923,7 +52423,7 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
50923
52423
|
set ResourceTypeID(value: string);
|
|
50924
52424
|
/**
|
|
50925
52425
|
* * Field Name: ResourceRecordID
|
|
50926
|
-
* * Display Name: Resource Record
|
|
52426
|
+
* * Display Name: Resource Record
|
|
50927
52427
|
* * SQL Data Type: nvarchar(255)
|
|
50928
52428
|
* * Description: ID of the specific resource being shared
|
|
50929
52429
|
*/
|
|
@@ -50931,7 +52431,7 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
50931
52431
|
set ResourceRecordID(value: string);
|
|
50932
52432
|
/**
|
|
50933
52433
|
* * Field Name: Type
|
|
50934
|
-
* * Display Name: Type
|
|
52434
|
+
* * Display Name: Share Type
|
|
50935
52435
|
* * SQL Data Type: nvarchar(10)
|
|
50936
52436
|
* * Value List Type: List
|
|
50937
52437
|
* * Possible Values
|
|
@@ -50943,7 +52443,7 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
50943
52443
|
set Type(value: 'Role' | 'User');
|
|
50944
52444
|
/**
|
|
50945
52445
|
* * Field Name: StartSharingAt
|
|
50946
|
-
* * Display Name: Start
|
|
52446
|
+
* * Display Name: Start Date
|
|
50947
52447
|
* * SQL Data Type: datetimeoffset
|
|
50948
52448
|
* * Description: Optional: Date when sharing starts
|
|
50949
52449
|
*/
|
|
@@ -50951,7 +52451,7 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
50951
52451
|
set StartSharingAt(value: Date | null);
|
|
50952
52452
|
/**
|
|
50953
52453
|
* * Field Name: EndSharingAt
|
|
50954
|
-
* * Display Name: End
|
|
52454
|
+
* * Display Name: End Date
|
|
50955
52455
|
* * SQL Data Type: datetimeoffset
|
|
50956
52456
|
* * Description: Optional: Date when sharing ends
|
|
50957
52457
|
*/
|
|
@@ -51016,6 +52516,15 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
51016
52516
|
get Status(): 'Approved' | 'Rejected' | 'Requested' | 'Revoked';
|
|
51017
52517
|
set Status(value: 'Approved' | 'Rejected' | 'Requested' | 'Revoked');
|
|
51018
52518
|
/**
|
|
52519
|
+
* * Field Name: SharedByUserID
|
|
52520
|
+
* * Display Name: Shared By User ID
|
|
52521
|
+
* * SQL Data Type: uniqueidentifier
|
|
52522
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
52523
|
+
* * Description: The user who granted this permission. NULL when the share pre-dates this column or when the grantor is unknown (e.g., a system-seeded permission).
|
|
52524
|
+
*/
|
|
52525
|
+
get SharedByUserID(): string | null;
|
|
52526
|
+
set SharedByUserID(value: string | null);
|
|
52527
|
+
/**
|
|
51019
52528
|
* * Field Name: ResourceType
|
|
51020
52529
|
* * Display Name: Resource Type
|
|
51021
52530
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -51033,6 +52542,12 @@ export declare class MJResourcePermissionEntity extends BaseEntity<MJResourcePer
|
|
|
51033
52542
|
* * SQL Data Type: nvarchar(100)
|
|
51034
52543
|
*/
|
|
51035
52544
|
get User(): string | null;
|
|
52545
|
+
/**
|
|
52546
|
+
* * Field Name: SharedByUser
|
|
52547
|
+
* * Display Name: Shared By User
|
|
52548
|
+
* * SQL Data Type: nvarchar(100)
|
|
52549
|
+
*/
|
|
52550
|
+
get SharedByUser(): string | null;
|
|
51036
52551
|
}
|
|
51037
52552
|
/**
|
|
51038
52553
|
* MJ: Resource Types - strongly typed entity sub-class
|