@memberjunction/core-entities 5.40.1 → 5.41.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/AIAgentNoteStatus.d.ts +22 -0
- package/dist/custom/AIAgentNoteStatus.d.ts.map +1 -0
- package/dist/custom/AIAgentNoteStatus.js +25 -0
- package/dist/custom/AIAgentNoteStatus.js.map +1 -0
- package/dist/engines/PermissionEngine.d.ts.map +1 -1
- package/dist/engines/PermissionEngine.js +6 -3
- package/dist/engines/PermissionEngine.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +2260 -141
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +3522 -544
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -640,6 +640,44 @@ export declare const MJAIAgentCategorySchema: z.ZodObject<{
|
|
|
640
640
|
DefaultStorageAccount?: string;
|
|
641
641
|
}>;
|
|
642
642
|
export type MJAIAgentCategoryEntityType = z.infer<typeof MJAIAgentCategorySchema>;
|
|
643
|
+
/**
|
|
644
|
+
* zod schema definition for the entity MJ: AI Agent Channels
|
|
645
|
+
*/
|
|
646
|
+
export declare const MJAIAgentChannelSchema: z.ZodObject<{
|
|
647
|
+
ID: z.ZodString;
|
|
648
|
+
Name: z.ZodString;
|
|
649
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
650
|
+
ServerPluginClass: z.ZodString;
|
|
651
|
+
ClientPluginClass: z.ZodString;
|
|
652
|
+
TransportType: z.ZodUnion<[z.ZodLiteral<"PubSub">, z.ZodLiteral<"WebRTC">, z.ZodLiteral<"WebSocket">]>;
|
|
653
|
+
ConfigSchema: z.ZodNullable<z.ZodString>;
|
|
654
|
+
IsActive: z.ZodBoolean;
|
|
655
|
+
__mj_CreatedAt: z.ZodDate;
|
|
656
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
|
658
|
+
ID?: string;
|
|
659
|
+
__mj_CreatedAt?: Date;
|
|
660
|
+
__mj_UpdatedAt?: Date;
|
|
661
|
+
Name?: string;
|
|
662
|
+
Description?: string;
|
|
663
|
+
IsActive?: boolean;
|
|
664
|
+
ServerPluginClass?: string;
|
|
665
|
+
ClientPluginClass?: string;
|
|
666
|
+
TransportType?: "PubSub" | "WebRTC" | "WebSocket";
|
|
667
|
+
ConfigSchema?: string;
|
|
668
|
+
}, {
|
|
669
|
+
ID?: string;
|
|
670
|
+
__mj_CreatedAt?: Date;
|
|
671
|
+
__mj_UpdatedAt?: Date;
|
|
672
|
+
Name?: string;
|
|
673
|
+
Description?: string;
|
|
674
|
+
IsActive?: boolean;
|
|
675
|
+
ServerPluginClass?: string;
|
|
676
|
+
ClientPluginClass?: string;
|
|
677
|
+
TransportType?: "PubSub" | "WebRTC" | "WebSocket";
|
|
678
|
+
ConfigSchema?: string;
|
|
679
|
+
}>;
|
|
680
|
+
export type MJAIAgentChannelEntityType = z.infer<typeof MJAIAgentChannelSchema>;
|
|
643
681
|
/**
|
|
644
682
|
* zod schema definition for the entity MJ: AI Agent Client Tools
|
|
645
683
|
*/
|
|
@@ -675,6 +713,56 @@ export declare const MJAIAgentClientToolSchema: z.ZodObject<{
|
|
|
675
713
|
ClientToolDefinition?: string;
|
|
676
714
|
}>;
|
|
677
715
|
export type MJAIAgentClientToolEntityType = z.infer<typeof MJAIAgentClientToolSchema>;
|
|
716
|
+
/**
|
|
717
|
+
* zod schema definition for the entity MJ: AI Agent Co Agents
|
|
718
|
+
*/
|
|
719
|
+
export declare const MJAIAgentCoAgentSchema: z.ZodObject<{
|
|
720
|
+
ID: z.ZodString;
|
|
721
|
+
CoAgentID: z.ZodString;
|
|
722
|
+
TargetAgentID: z.ZodNullable<z.ZodString>;
|
|
723
|
+
TargetAgentTypeID: z.ZodNullable<z.ZodString>;
|
|
724
|
+
Type: z.ZodUnion<[z.ZodLiteral<"CoAgent">, z.ZodLiteral<"Delegate">, z.ZodLiteral<"Fallback">, z.ZodLiteral<"Observer">, z.ZodLiteral<"Peer">, z.ZodLiteral<"Reviewer">]>;
|
|
725
|
+
IsDefault: z.ZodBoolean;
|
|
726
|
+
Sequence: z.ZodNumber;
|
|
727
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
|
|
728
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
729
|
+
__mj_CreatedAt: z.ZodDate;
|
|
730
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
731
|
+
CoAgent: z.ZodNullable<z.ZodString>;
|
|
732
|
+
TargetAgent: z.ZodNullable<z.ZodString>;
|
|
733
|
+
TargetAgentType: z.ZodNullable<z.ZodString>;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
ID?: string;
|
|
736
|
+
__mj_CreatedAt?: Date;
|
|
737
|
+
__mj_UpdatedAt?: Date;
|
|
738
|
+
Status?: "Active" | "Disabled";
|
|
739
|
+
Type?: "CoAgent" | "Delegate" | "Fallback" | "Observer" | "Peer" | "Reviewer";
|
|
740
|
+
Sequence?: number;
|
|
741
|
+
CoAgentID?: string;
|
|
742
|
+
TargetAgentID?: string;
|
|
743
|
+
TargetAgentTypeID?: string;
|
|
744
|
+
CoAgent?: string;
|
|
745
|
+
IsDefault?: boolean;
|
|
746
|
+
Configuration?: string;
|
|
747
|
+
TargetAgent?: string;
|
|
748
|
+
TargetAgentType?: string;
|
|
749
|
+
}, {
|
|
750
|
+
ID?: string;
|
|
751
|
+
__mj_CreatedAt?: Date;
|
|
752
|
+
__mj_UpdatedAt?: Date;
|
|
753
|
+
Status?: "Active" | "Disabled";
|
|
754
|
+
Type?: "CoAgent" | "Delegate" | "Fallback" | "Observer" | "Peer" | "Reviewer";
|
|
755
|
+
Sequence?: number;
|
|
756
|
+
CoAgentID?: string;
|
|
757
|
+
TargetAgentID?: string;
|
|
758
|
+
TargetAgentTypeID?: string;
|
|
759
|
+
CoAgent?: string;
|
|
760
|
+
IsDefault?: boolean;
|
|
761
|
+
Configuration?: string;
|
|
762
|
+
TargetAgent?: string;
|
|
763
|
+
TargetAgentType?: string;
|
|
764
|
+
}>;
|
|
765
|
+
export type MJAIAgentCoAgentEntityType = z.infer<typeof MJAIAgentCoAgentSchema>;
|
|
678
766
|
/**
|
|
679
767
|
* zod schema definition for the entity MJ: AI Agent Configurations
|
|
680
768
|
*/
|
|
@@ -702,9 +790,9 @@ export declare const MJAIAgentConfigurationSchema: z.ZodObject<{
|
|
|
702
790
|
AgentID?: string;
|
|
703
791
|
Agent?: string;
|
|
704
792
|
Priority?: number;
|
|
793
|
+
IsDefault?: boolean;
|
|
705
794
|
DisplayName?: string;
|
|
706
795
|
AIConfigurationID?: string;
|
|
707
|
-
IsDefault?: boolean;
|
|
708
796
|
AIConfiguration?: string;
|
|
709
797
|
}, {
|
|
710
798
|
ID?: string;
|
|
@@ -716,9 +804,9 @@ export declare const MJAIAgentConfigurationSchema: z.ZodObject<{
|
|
|
716
804
|
AgentID?: string;
|
|
717
805
|
Agent?: string;
|
|
718
806
|
Priority?: number;
|
|
807
|
+
IsDefault?: boolean;
|
|
719
808
|
DisplayName?: string;
|
|
720
809
|
AIConfigurationID?: string;
|
|
721
|
-
IsDefault?: boolean;
|
|
722
810
|
AIConfiguration?: string;
|
|
723
811
|
}>;
|
|
724
812
|
export type MJAIAgentConfigurationEntityType = z.infer<typeof MJAIAgentConfigurationSchema>;
|
|
@@ -1057,7 +1145,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1057
1145
|
Type: z.ZodUnion<[z.ZodLiteral<"Constraint">, z.ZodLiteral<"Context">, z.ZodLiteral<"Example">, z.ZodLiteral<"Issue">, z.ZodLiteral<"Preference">]>;
|
|
1058
1146
|
IsAutoGenerated: z.ZodBoolean;
|
|
1059
1147
|
Comments: z.ZodNullable<z.ZodString>;
|
|
1060
|
-
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Archived">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
1148
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Archived">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Provisional">, z.ZodLiteral<"Revoked">]>;
|
|
1061
1149
|
SourceConversationID: z.ZodNullable<z.ZodString>;
|
|
1062
1150
|
SourceConversationDetailID: z.ZodNullable<z.ZodString>;
|
|
1063
1151
|
SourceAIAgentRunID: z.ZodNullable<z.ZodString>;
|
|
@@ -1075,6 +1163,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1075
1163
|
DerivedFromNoteIDs: z.ZodNullable<z.ZodString>;
|
|
1076
1164
|
ProtectionTier: z.ZodUnion<[z.ZodLiteral<"Ephemeral">, z.ZodLiteral<"Immutable">, z.ZodLiteral<"Protected">, z.ZodLiteral<"Standard">]>;
|
|
1077
1165
|
ImportanceScore: z.ZodNullable<z.ZodNumber>;
|
|
1166
|
+
AuthorType: z.ZodUnion<[z.ZodLiteral<"Agent">, z.ZodLiteral<"MemoryManager">, z.ZodLiteral<"User">]>;
|
|
1078
1167
|
Agent: z.ZodNullable<z.ZodString>;
|
|
1079
1168
|
AgentNoteType: z.ZodNullable<z.ZodString>;
|
|
1080
1169
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -1093,7 +1182,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1093
1182
|
__mj_CreatedAt?: Date;
|
|
1094
1183
|
__mj_UpdatedAt?: Date;
|
|
1095
1184
|
Comments?: string;
|
|
1096
|
-
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
1185
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived" | "Provisional";
|
|
1097
1186
|
UserID?: string;
|
|
1098
1187
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
1099
1188
|
AgentID?: string;
|
|
@@ -1123,6 +1212,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1123
1212
|
DerivedFromNoteIDs?: string;
|
|
1124
1213
|
ProtectionTier?: "Ephemeral" | "Immutable" | "Protected" | "Standard";
|
|
1125
1214
|
ImportanceScore?: number;
|
|
1215
|
+
AuthorType?: "User" | "Agent" | "MemoryManager";
|
|
1126
1216
|
AgentNoteType?: string;
|
|
1127
1217
|
ConsolidatedIntoNote?: string;
|
|
1128
1218
|
RootConsolidatedIntoNoteID?: string;
|
|
@@ -1133,7 +1223,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1133
1223
|
__mj_CreatedAt?: Date;
|
|
1134
1224
|
__mj_UpdatedAt?: Date;
|
|
1135
1225
|
Comments?: string;
|
|
1136
|
-
Status?: "Active" | "Pending" | "Revoked" | "Archived";
|
|
1226
|
+
Status?: "Active" | "Pending" | "Revoked" | "Archived" | "Provisional";
|
|
1137
1227
|
UserID?: string;
|
|
1138
1228
|
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
|
|
1139
1229
|
AgentID?: string;
|
|
@@ -1163,6 +1253,7 @@ export declare const MJAIAgentNoteSchema: z.ZodObject<{
|
|
|
1163
1253
|
DerivedFromNoteIDs?: string;
|
|
1164
1254
|
ProtectionTier?: "Ephemeral" | "Immutable" | "Protected" | "Standard";
|
|
1165
1255
|
ImportanceScore?: number;
|
|
1256
|
+
AuthorType?: "User" | "Agent" | "MemoryManager";
|
|
1166
1257
|
AgentNoteType?: string;
|
|
1167
1258
|
ConsolidatedIntoNote?: string;
|
|
1168
1259
|
RootConsolidatedIntoNoteID?: string;
|
|
@@ -1243,6 +1334,7 @@ export declare const MJAIAgentPromptSchema: z.ZodObject<{
|
|
|
1243
1334
|
Status?: "Active" | "Deprecated" | "Inactive" | "Preview";
|
|
1244
1335
|
AgentID?: string;
|
|
1245
1336
|
Agent?: string;
|
|
1337
|
+
Configuration?: string;
|
|
1246
1338
|
ExecutionOrder?: number;
|
|
1247
1339
|
PromptID?: string;
|
|
1248
1340
|
Purpose?: string;
|
|
@@ -1250,7 +1342,6 @@ export declare const MJAIAgentPromptSchema: z.ZodObject<{
|
|
|
1250
1342
|
ContextBehavior?: "Custom" | "None" | "Complete" | "InitialMessages" | "RecentMessages" | "Smart";
|
|
1251
1343
|
ContextMessageCount?: number;
|
|
1252
1344
|
Prompt?: string;
|
|
1253
|
-
Configuration?: string;
|
|
1254
1345
|
}, {
|
|
1255
1346
|
ID?: string;
|
|
1256
1347
|
__mj_CreatedAt?: Date;
|
|
@@ -1258,6 +1349,7 @@ export declare const MJAIAgentPromptSchema: z.ZodObject<{
|
|
|
1258
1349
|
Status?: "Active" | "Deprecated" | "Inactive" | "Preview";
|
|
1259
1350
|
AgentID?: string;
|
|
1260
1351
|
Agent?: string;
|
|
1352
|
+
Configuration?: string;
|
|
1261
1353
|
ExecutionOrder?: number;
|
|
1262
1354
|
PromptID?: string;
|
|
1263
1355
|
Purpose?: string;
|
|
@@ -1265,7 +1357,6 @@ export declare const MJAIAgentPromptSchema: z.ZodObject<{
|
|
|
1265
1357
|
ContextBehavior?: "Custom" | "None" | "Complete" | "InitialMessages" | "RecentMessages" | "Smart";
|
|
1266
1358
|
ContextMessageCount?: number;
|
|
1267
1359
|
Prompt?: string;
|
|
1268
|
-
Configuration?: string;
|
|
1269
1360
|
}>;
|
|
1270
1361
|
export type MJAIAgentPromptEntityType = z.infer<typeof MJAIAgentPromptSchema>;
|
|
1271
1362
|
/**
|
|
@@ -1658,6 +1749,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1658
1749
|
TotalCacheReadTokensUsed: z.ZodNullable<z.ZodNumber>;
|
|
1659
1750
|
TotalCacheWriteTokensUsed: z.ZodNullable<z.ZodNumber>;
|
|
1660
1751
|
LastHeartbeatAt: z.ZodNullable<z.ZodDate>;
|
|
1752
|
+
AgentSessionID: z.ZodNullable<z.ZodString>;
|
|
1661
1753
|
Agent: z.ZodNullable<z.ZodString>;
|
|
1662
1754
|
ParentRun: z.ZodNullable<z.ZodString>;
|
|
1663
1755
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
@@ -1684,6 +1776,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1684
1776
|
Message?: string;
|
|
1685
1777
|
AgentID?: string;
|
|
1686
1778
|
Agent?: string;
|
|
1779
|
+
Configuration?: string;
|
|
1687
1780
|
Data?: string;
|
|
1688
1781
|
CompanyID?: string;
|
|
1689
1782
|
PrimaryScopeEntityID?: string;
|
|
@@ -1691,7 +1784,6 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1691
1784
|
SecondaryScopes?: string;
|
|
1692
1785
|
PrimaryScopeEntity?: string;
|
|
1693
1786
|
ConfigurationID?: string;
|
|
1694
|
-
Configuration?: string;
|
|
1695
1787
|
Conversation?: string;
|
|
1696
1788
|
CompletedAt?: Date;
|
|
1697
1789
|
Success?: boolean;
|
|
@@ -1727,6 +1819,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1727
1819
|
TotalCacheReadTokensUsed?: number;
|
|
1728
1820
|
TotalCacheWriteTokensUsed?: number;
|
|
1729
1821
|
LastHeartbeatAt?: Date;
|
|
1822
|
+
AgentSessionID?: string;
|
|
1730
1823
|
ParentRun?: string;
|
|
1731
1824
|
ConversationDetail?: string;
|
|
1732
1825
|
LastRun?: string;
|
|
@@ -1748,6 +1841,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1748
1841
|
Message?: string;
|
|
1749
1842
|
AgentID?: string;
|
|
1750
1843
|
Agent?: string;
|
|
1844
|
+
Configuration?: string;
|
|
1751
1845
|
Data?: string;
|
|
1752
1846
|
CompanyID?: string;
|
|
1753
1847
|
PrimaryScopeEntityID?: string;
|
|
@@ -1755,7 +1849,6 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1755
1849
|
SecondaryScopes?: string;
|
|
1756
1850
|
PrimaryScopeEntity?: string;
|
|
1757
1851
|
ConfigurationID?: string;
|
|
1758
|
-
Configuration?: string;
|
|
1759
1852
|
Conversation?: string;
|
|
1760
1853
|
CompletedAt?: Date;
|
|
1761
1854
|
Success?: boolean;
|
|
@@ -1791,6 +1884,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
|
|
|
1791
1884
|
TotalCacheReadTokensUsed?: number;
|
|
1792
1885
|
TotalCacheWriteTokensUsed?: number;
|
|
1793
1886
|
LastHeartbeatAt?: Date;
|
|
1887
|
+
AgentSessionID?: string;
|
|
1794
1888
|
ParentRun?: string;
|
|
1795
1889
|
ConversationDetail?: string;
|
|
1796
1890
|
LastRun?: string;
|
|
@@ -1864,6 +1958,218 @@ export declare const MJAIAgentSearchScopeSchema: z.ZodObject<{
|
|
|
1864
1958
|
QueryTemplate?: string;
|
|
1865
1959
|
}>;
|
|
1866
1960
|
export type MJAIAgentSearchScopeEntityType = z.infer<typeof MJAIAgentSearchScopeSchema>;
|
|
1961
|
+
/**
|
|
1962
|
+
* zod schema definition for the entity MJ: AI Agent Session Bridge Participants
|
|
1963
|
+
*/
|
|
1964
|
+
export declare const MJAIAgentSessionBridgeParticipantSchema: z.ZodObject<{
|
|
1965
|
+
ID: z.ZodString;
|
|
1966
|
+
SessionBridgeID: z.ZodString;
|
|
1967
|
+
ExternalParticipantID: z.ZodNullable<z.ZodString>;
|
|
1968
|
+
DisplayName: z.ZodNullable<z.ZodString>;
|
|
1969
|
+
Role: z.ZodUnion<[z.ZodLiteral<"Agent">, z.ZodLiteral<"CoHost">, z.ZodLiteral<"Host">, z.ZodLiteral<"Participant">]>;
|
|
1970
|
+
UserID: z.ZodNullable<z.ZodString>;
|
|
1971
|
+
IsAgent: z.ZodBoolean;
|
|
1972
|
+
JoinedAt: z.ZodNullable<z.ZodDate>;
|
|
1973
|
+
LeftAt: z.ZodNullable<z.ZodDate>;
|
|
1974
|
+
__mj_CreatedAt: z.ZodDate;
|
|
1975
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
1976
|
+
SessionBridge: z.ZodNullable<z.ZodString>;
|
|
1977
|
+
User: z.ZodNullable<z.ZodString>;
|
|
1978
|
+
}, "strip", z.ZodTypeAny, {
|
|
1979
|
+
ID?: string;
|
|
1980
|
+
Role?: "Agent" | "CoHost" | "Host" | "Participant";
|
|
1981
|
+
User?: string;
|
|
1982
|
+
__mj_CreatedAt?: Date;
|
|
1983
|
+
__mj_UpdatedAt?: Date;
|
|
1984
|
+
UserID?: string;
|
|
1985
|
+
DisplayName?: string;
|
|
1986
|
+
SessionBridgeID?: string;
|
|
1987
|
+
ExternalParticipantID?: string;
|
|
1988
|
+
IsAgent?: boolean;
|
|
1989
|
+
JoinedAt?: Date;
|
|
1990
|
+
LeftAt?: Date;
|
|
1991
|
+
SessionBridge?: string;
|
|
1992
|
+
}, {
|
|
1993
|
+
ID?: string;
|
|
1994
|
+
Role?: "Agent" | "CoHost" | "Host" | "Participant";
|
|
1995
|
+
User?: string;
|
|
1996
|
+
__mj_CreatedAt?: Date;
|
|
1997
|
+
__mj_UpdatedAt?: Date;
|
|
1998
|
+
UserID?: string;
|
|
1999
|
+
DisplayName?: string;
|
|
2000
|
+
SessionBridgeID?: string;
|
|
2001
|
+
ExternalParticipantID?: string;
|
|
2002
|
+
IsAgent?: boolean;
|
|
2003
|
+
JoinedAt?: Date;
|
|
2004
|
+
LeftAt?: Date;
|
|
2005
|
+
SessionBridge?: string;
|
|
2006
|
+
}>;
|
|
2007
|
+
export type MJAIAgentSessionBridgeParticipantEntityType = z.infer<typeof MJAIAgentSessionBridgeParticipantSchema>;
|
|
2008
|
+
/**
|
|
2009
|
+
* zod schema definition for the entity MJ: AI Agent Session Bridges
|
|
2010
|
+
*/
|
|
2011
|
+
export declare const MJAIAgentSessionBridgeSchema: z.ZodObject<{
|
|
2012
|
+
ID: z.ZodString;
|
|
2013
|
+
AgentSessionID: z.ZodString;
|
|
2014
|
+
ProviderID: z.ZodString;
|
|
2015
|
+
Direction: z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">]>;
|
|
2016
|
+
JoinMethod: z.ZodUnion<[z.ZodLiteral<"InMeetingCommand">, z.ZodLiteral<"InboundRoute">, z.ZodLiteral<"Invite">, z.ZodLiteral<"NativeInvite">, z.ZodLiteral<"OnDemand">, z.ZodLiteral<"Scheduled">]>;
|
|
2017
|
+
TurnMode: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Hybrid">, z.ZodLiteral<"Passive">]>;
|
|
2018
|
+
ExternalConnectionID: z.ZodNullable<z.ZodString>;
|
|
2019
|
+
Address: z.ZodNullable<z.ZodString>;
|
|
2020
|
+
BotParticipantID: z.ZodNullable<z.ZodString>;
|
|
2021
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Connected">, z.ZodLiteral<"Connecting">, z.ZodLiteral<"Disconnected">, z.ZodLiteral<"Disconnecting">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Scheduled">]>;
|
|
2022
|
+
ScheduledStartTime: z.ZodNullable<z.ZodDate>;
|
|
2023
|
+
ConnectedAt: z.ZodNullable<z.ZodDate>;
|
|
2024
|
+
DisconnectedAt: z.ZodNullable<z.ZodDate>;
|
|
2025
|
+
CloseReason: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Error">, z.ZodLiteral<"Explicit">, z.ZodLiteral<"HostEnded">, z.ZodLiteral<"Janitor">, z.ZodLiteral<"Shutdown">]>>;
|
|
2026
|
+
HostInstanceID: z.ZodNullable<z.ZodString>;
|
|
2027
|
+
Config_: z.ZodNullable<z.ZodString>;
|
|
2028
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2029
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2030
|
+
Provider: z.ZodString;
|
|
2031
|
+
}, "strip", z.ZodTypeAny, {
|
|
2032
|
+
ID?: string;
|
|
2033
|
+
__mj_CreatedAt?: Date;
|
|
2034
|
+
__mj_UpdatedAt?: Date;
|
|
2035
|
+
Status?: "Pending" | "Failed" | "Scheduled" | "Connected" | "Connecting" | "Disconnected" | "Disconnecting";
|
|
2036
|
+
Config_?: string;
|
|
2037
|
+
Direction?: "Inbound" | "Outbound";
|
|
2038
|
+
AgentSessionID?: string;
|
|
2039
|
+
ProviderID?: string;
|
|
2040
|
+
JoinMethod?: "InMeetingCommand" | "InboundRoute" | "Invite" | "NativeInvite" | "OnDemand" | "Scheduled";
|
|
2041
|
+
TurnMode?: "Active" | "Hybrid" | "Passive";
|
|
2042
|
+
ExternalConnectionID?: string;
|
|
2043
|
+
Address?: string;
|
|
2044
|
+
BotParticipantID?: string;
|
|
2045
|
+
ScheduledStartTime?: Date;
|
|
2046
|
+
ConnectedAt?: Date;
|
|
2047
|
+
DisconnectedAt?: Date;
|
|
2048
|
+
CloseReason?: "Error" | "Explicit" | "HostEnded" | "Janitor" | "Shutdown";
|
|
2049
|
+
HostInstanceID?: string;
|
|
2050
|
+
Provider?: string;
|
|
2051
|
+
}, {
|
|
2052
|
+
ID?: string;
|
|
2053
|
+
__mj_CreatedAt?: Date;
|
|
2054
|
+
__mj_UpdatedAt?: Date;
|
|
2055
|
+
Status?: "Pending" | "Failed" | "Scheduled" | "Connected" | "Connecting" | "Disconnected" | "Disconnecting";
|
|
2056
|
+
Config_?: string;
|
|
2057
|
+
Direction?: "Inbound" | "Outbound";
|
|
2058
|
+
AgentSessionID?: string;
|
|
2059
|
+
ProviderID?: string;
|
|
2060
|
+
JoinMethod?: "InMeetingCommand" | "InboundRoute" | "Invite" | "NativeInvite" | "OnDemand" | "Scheduled";
|
|
2061
|
+
TurnMode?: "Active" | "Hybrid" | "Passive";
|
|
2062
|
+
ExternalConnectionID?: string;
|
|
2063
|
+
Address?: string;
|
|
2064
|
+
BotParticipantID?: string;
|
|
2065
|
+
ScheduledStartTime?: Date;
|
|
2066
|
+
ConnectedAt?: Date;
|
|
2067
|
+
DisconnectedAt?: Date;
|
|
2068
|
+
CloseReason?: "Error" | "Explicit" | "HostEnded" | "Janitor" | "Shutdown";
|
|
2069
|
+
HostInstanceID?: string;
|
|
2070
|
+
Provider?: string;
|
|
2071
|
+
}>;
|
|
2072
|
+
export type MJAIAgentSessionBridgeEntityType = z.infer<typeof MJAIAgentSessionBridgeSchema>;
|
|
2073
|
+
/**
|
|
2074
|
+
* zod schema definition for the entity MJ: AI Agent Session Channels
|
|
2075
|
+
*/
|
|
2076
|
+
export declare const MJAIAgentSessionChannelSchema: z.ZodObject<{
|
|
2077
|
+
ID: z.ZodString;
|
|
2078
|
+
AgentSessionID: z.ZodString;
|
|
2079
|
+
ChannelID: z.ZodString;
|
|
2080
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Connected">, z.ZodLiteral<"Connecting">, z.ZodLiteral<"Disconnected">, z.ZodLiteral<"Paused">]>;
|
|
2081
|
+
SocketUrl: z.ZodNullable<z.ZodString>;
|
|
2082
|
+
Config_: z.ZodNullable<z.ZodString>;
|
|
2083
|
+
LastActiveAt: z.ZodDate;
|
|
2084
|
+
DisconnectedAt: z.ZodNullable<z.ZodDate>;
|
|
2085
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2086
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2087
|
+
Channel: z.ZodString;
|
|
2088
|
+
}, "strip", z.ZodTypeAny, {
|
|
2089
|
+
ID?: string;
|
|
2090
|
+
__mj_CreatedAt?: Date;
|
|
2091
|
+
__mj_UpdatedAt?: Date;
|
|
2092
|
+
Status?: "Paused" | "Connected" | "Connecting" | "Disconnected";
|
|
2093
|
+
Config_?: string;
|
|
2094
|
+
AgentSessionID?: string;
|
|
2095
|
+
DisconnectedAt?: Date;
|
|
2096
|
+
ChannelID?: string;
|
|
2097
|
+
SocketUrl?: string;
|
|
2098
|
+
LastActiveAt?: Date;
|
|
2099
|
+
Channel?: string;
|
|
2100
|
+
}, {
|
|
2101
|
+
ID?: string;
|
|
2102
|
+
__mj_CreatedAt?: Date;
|
|
2103
|
+
__mj_UpdatedAt?: Date;
|
|
2104
|
+
Status?: "Paused" | "Connected" | "Connecting" | "Disconnected";
|
|
2105
|
+
Config_?: string;
|
|
2106
|
+
AgentSessionID?: string;
|
|
2107
|
+
DisconnectedAt?: Date;
|
|
2108
|
+
ChannelID?: string;
|
|
2109
|
+
SocketUrl?: string;
|
|
2110
|
+
LastActiveAt?: Date;
|
|
2111
|
+
Channel?: string;
|
|
2112
|
+
}>;
|
|
2113
|
+
export type MJAIAgentSessionChannelEntityType = z.infer<typeof MJAIAgentSessionChannelSchema>;
|
|
2114
|
+
/**
|
|
2115
|
+
* zod schema definition for the entity MJ: AI Agent Sessions
|
|
2116
|
+
*/
|
|
2117
|
+
export declare const MJAIAgentSessionSchema: z.ZodObject<{
|
|
2118
|
+
ID: z.ZodString;
|
|
2119
|
+
AgentID: z.ZodString;
|
|
2120
|
+
UserID: z.ZodString;
|
|
2121
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Closed">, z.ZodLiteral<"Idle">]>;
|
|
2122
|
+
ConversationID: z.ZodNullable<z.ZodString>;
|
|
2123
|
+
LastSessionID: z.ZodNullable<z.ZodString>;
|
|
2124
|
+
HostInstanceID: z.ZodNullable<z.ZodString>;
|
|
2125
|
+
Config_: z.ZodNullable<z.ZodString>;
|
|
2126
|
+
LastActiveAt: z.ZodDate;
|
|
2127
|
+
ClosedAt: z.ZodNullable<z.ZodDate>;
|
|
2128
|
+
CloseReason: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Error">, z.ZodLiteral<"Explicit">, z.ZodLiteral<"Janitor">, z.ZodLiteral<"Shutdown">]>>;
|
|
2129
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2130
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2131
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
2132
|
+
User: z.ZodString;
|
|
2133
|
+
Conversation: z.ZodNullable<z.ZodString>;
|
|
2134
|
+
RootLastSessionID: z.ZodNullable<z.ZodString>;
|
|
2135
|
+
}, "strip", z.ZodTypeAny, {
|
|
2136
|
+
ID?: string;
|
|
2137
|
+
User?: string;
|
|
2138
|
+
__mj_CreatedAt?: Date;
|
|
2139
|
+
__mj_UpdatedAt?: Date;
|
|
2140
|
+
Status?: "Active" | "Closed" | "Idle";
|
|
2141
|
+
UserID?: string;
|
|
2142
|
+
Config_?: string;
|
|
2143
|
+
AgentID?: string;
|
|
2144
|
+
Agent?: string;
|
|
2145
|
+
Conversation?: string;
|
|
2146
|
+
ConversationID?: string;
|
|
2147
|
+
CloseReason?: "Error" | "Explicit" | "Janitor" | "Shutdown";
|
|
2148
|
+
HostInstanceID?: string;
|
|
2149
|
+
LastActiveAt?: Date;
|
|
2150
|
+
LastSessionID?: string;
|
|
2151
|
+
ClosedAt?: Date;
|
|
2152
|
+
RootLastSessionID?: string;
|
|
2153
|
+
}, {
|
|
2154
|
+
ID?: string;
|
|
2155
|
+
User?: string;
|
|
2156
|
+
__mj_CreatedAt?: Date;
|
|
2157
|
+
__mj_UpdatedAt?: Date;
|
|
2158
|
+
Status?: "Active" | "Closed" | "Idle";
|
|
2159
|
+
UserID?: string;
|
|
2160
|
+
Config_?: string;
|
|
2161
|
+
AgentID?: string;
|
|
2162
|
+
Agent?: string;
|
|
2163
|
+
Conversation?: string;
|
|
2164
|
+
ConversationID?: string;
|
|
2165
|
+
CloseReason?: "Error" | "Explicit" | "Janitor" | "Shutdown";
|
|
2166
|
+
HostInstanceID?: string;
|
|
2167
|
+
LastActiveAt?: Date;
|
|
2168
|
+
LastSessionID?: string;
|
|
2169
|
+
ClosedAt?: Date;
|
|
2170
|
+
RootLastSessionID?: string;
|
|
2171
|
+
}>;
|
|
2172
|
+
export type MJAIAgentSessionEntityType = z.infer<typeof MJAIAgentSessionSchema>;
|
|
1867
2173
|
/**
|
|
1868
2174
|
* zod schema definition for the entity MJ: AI Agent Step Paths
|
|
1869
2175
|
*/
|
|
@@ -1947,9 +2253,9 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
|
|
|
1947
2253
|
Status?: "Active" | "Disabled" | "Pending";
|
|
1948
2254
|
AgentID?: string;
|
|
1949
2255
|
Agent?: string;
|
|
2256
|
+
Configuration?: string;
|
|
1950
2257
|
PromptID?: string;
|
|
1951
2258
|
Prompt?: string;
|
|
1952
|
-
Configuration?: string;
|
|
1953
2259
|
SubAgentID?: string;
|
|
1954
2260
|
SubAgent?: string;
|
|
1955
2261
|
Width?: number;
|
|
@@ -1975,9 +2281,9 @@ export declare const MJAIAgentStepSchema: z.ZodObject<{
|
|
|
1975
2281
|
Status?: "Active" | "Disabled" | "Pending";
|
|
1976
2282
|
AgentID?: string;
|
|
1977
2283
|
Agent?: string;
|
|
2284
|
+
Configuration?: string;
|
|
1978
2285
|
PromptID?: string;
|
|
1979
2286
|
Prompt?: string;
|
|
1980
|
-
Configuration?: string;
|
|
1981
2287
|
SubAgentID?: string;
|
|
1982
2288
|
SubAgent?: string;
|
|
1983
2289
|
Width?: number;
|
|
@@ -2013,6 +2319,8 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
|
|
|
2013
2319
|
PromptParamsSchema: z.ZodNullable<z.ZodString>;
|
|
2014
2320
|
AssignmentStrategy: z.ZodNullable<z.ZodString>;
|
|
2015
2321
|
DefaultStorageAccountID: z.ZodNullable<z.ZodString>;
|
|
2322
|
+
ConfigSchema: z.ZodNullable<z.ZodString>;
|
|
2323
|
+
DefaultConfiguration: z.ZodNullable<z.ZodString>;
|
|
2016
2324
|
SystemPrompt: z.ZodNullable<z.ZodString>;
|
|
2017
2325
|
DefaultStorageAccount: z.ZodNullable<z.ZodString>;
|
|
2018
2326
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2026,12 +2334,14 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
|
|
|
2026
2334
|
AssignmentStrategy?: string;
|
|
2027
2335
|
DefaultStorageAccountID?: string;
|
|
2028
2336
|
DefaultStorageAccount?: string;
|
|
2337
|
+
ConfigSchema?: string;
|
|
2029
2338
|
SystemPromptID?: string;
|
|
2030
2339
|
AgentPromptPlaceholder?: string;
|
|
2031
2340
|
UIFormSectionKey?: string;
|
|
2032
2341
|
UIFormKey?: string;
|
|
2033
2342
|
UIFormSectionExpandedByDefault?: boolean;
|
|
2034
2343
|
PromptParamsSchema?: string;
|
|
2344
|
+
DefaultConfiguration?: string;
|
|
2035
2345
|
SystemPrompt?: string;
|
|
2036
2346
|
}, {
|
|
2037
2347
|
ID?: string;
|
|
@@ -2044,12 +2354,14 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
|
|
|
2044
2354
|
AssignmentStrategy?: string;
|
|
2045
2355
|
DefaultStorageAccountID?: string;
|
|
2046
2356
|
DefaultStorageAccount?: string;
|
|
2357
|
+
ConfigSchema?: string;
|
|
2047
2358
|
SystemPromptID?: string;
|
|
2048
2359
|
AgentPromptPlaceholder?: string;
|
|
2049
2360
|
UIFormSectionKey?: string;
|
|
2050
2361
|
UIFormKey?: string;
|
|
2051
2362
|
UIFormSectionExpandedByDefault?: boolean;
|
|
2052
2363
|
PromptParamsSchema?: string;
|
|
2364
|
+
DefaultConfiguration?: string;
|
|
2053
2365
|
SystemPrompt?: string;
|
|
2054
2366
|
}>;
|
|
2055
2367
|
export type MJAIAgentTypeEntityType = z.infer<typeof MJAIAgentTypeSchema>;
|
|
@@ -2123,6 +2435,9 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2123
2435
|
DefaultStorageAccountID: z.ZodNullable<z.ZodString>;
|
|
2124
2436
|
SearchScopeAccess: z.ZodUnion<[z.ZodLiteral<"All">, z.ZodLiteral<"Assigned">, z.ZodLiteral<"None">]>;
|
|
2125
2437
|
AcceptUnregisteredFiles: z.ZodBoolean;
|
|
2438
|
+
DefaultCoAgentID: z.ZodNullable<z.ZodString>;
|
|
2439
|
+
TypeConfiguration: z.ZodNullable<z.ZodString>;
|
|
2440
|
+
AllowMemoryWrite: z.ZodBoolean;
|
|
2126
2441
|
Parent: z.ZodNullable<z.ZodString>;
|
|
2127
2442
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
2128
2443
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -2131,7 +2446,9 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2131
2446
|
AttachmentStorageProvider: z.ZodNullable<z.ZodString>;
|
|
2132
2447
|
Category: z.ZodNullable<z.ZodString>;
|
|
2133
2448
|
DefaultStorageAccount: z.ZodNullable<z.ZodString>;
|
|
2449
|
+
DefaultCoAgent: z.ZodNullable<z.ZodString>;
|
|
2134
2450
|
RootParentID: z.ZodNullable<z.ZodString>;
|
|
2451
|
+
RootDefaultCoAgentID: z.ZodNullable<z.ZodString>;
|
|
2135
2452
|
}, "strip", z.ZodTypeAny, {
|
|
2136
2453
|
ID?: string;
|
|
2137
2454
|
__mj_CreatedAt?: Date;
|
|
@@ -2204,10 +2521,15 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2204
2521
|
AllowEphemeralClientTools?: boolean;
|
|
2205
2522
|
SearchScopeAccess?: "None" | "All" | "Assigned";
|
|
2206
2523
|
AcceptUnregisteredFiles?: boolean;
|
|
2524
|
+
DefaultCoAgentID?: string;
|
|
2525
|
+
TypeConfiguration?: string;
|
|
2526
|
+
AllowMemoryWrite?: boolean;
|
|
2207
2527
|
ContextCompressionPrompt?: string;
|
|
2208
2528
|
DefaultArtifactType?: string;
|
|
2209
2529
|
OwnerUser?: string;
|
|
2210
2530
|
AttachmentStorageProvider?: string;
|
|
2531
|
+
DefaultCoAgent?: string;
|
|
2532
|
+
RootDefaultCoAgentID?: string;
|
|
2211
2533
|
}, {
|
|
2212
2534
|
ID?: string;
|
|
2213
2535
|
__mj_CreatedAt?: Date;
|
|
@@ -2280,10 +2602,15 @@ export declare const MJAIAgentSchema: z.ZodObject<{
|
|
|
2280
2602
|
AllowEphemeralClientTools?: boolean;
|
|
2281
2603
|
SearchScopeAccess?: "None" | "All" | "Assigned";
|
|
2282
2604
|
AcceptUnregisteredFiles?: boolean;
|
|
2605
|
+
DefaultCoAgentID?: string;
|
|
2606
|
+
TypeConfiguration?: string;
|
|
2607
|
+
AllowMemoryWrite?: boolean;
|
|
2283
2608
|
ContextCompressionPrompt?: string;
|
|
2284
2609
|
DefaultArtifactType?: string;
|
|
2285
2610
|
OwnerUser?: string;
|
|
2286
2611
|
AttachmentStorageProvider?: string;
|
|
2612
|
+
DefaultCoAgent?: string;
|
|
2613
|
+
RootDefaultCoAgentID?: string;
|
|
2287
2614
|
}>;
|
|
2288
2615
|
export type MJAIAgentEntityType = z.infer<typeof MJAIAgentSchema>;
|
|
2289
2616
|
/**
|
|
@@ -2308,7 +2635,7 @@ export declare const MJAIArchitectureSchema: z.ZodObject<{
|
|
|
2308
2635
|
__mj_UpdatedAt?: Date;
|
|
2309
2636
|
Name?: string;
|
|
2310
2637
|
Description?: string;
|
|
2311
|
-
Category?: "
|
|
2638
|
+
Category?: "Hybrid" | "Core" | "Optimization" | "Specialized";
|
|
2312
2639
|
ParentArchitectureID?: string;
|
|
2313
2640
|
WikipediaURL?: string;
|
|
2314
2641
|
YearIntroduced?: number;
|
|
@@ -2321,7 +2648,7 @@ export declare const MJAIArchitectureSchema: z.ZodObject<{
|
|
|
2321
2648
|
__mj_UpdatedAt?: Date;
|
|
2322
2649
|
Name?: string;
|
|
2323
2650
|
Description?: string;
|
|
2324
|
-
Category?: "
|
|
2651
|
+
Category?: "Hybrid" | "Core" | "Optimization" | "Specialized";
|
|
2325
2652
|
ParentArchitectureID?: string;
|
|
2326
2653
|
WikipediaURL?: string;
|
|
2327
2654
|
YearIntroduced?: number;
|
|
@@ -2330,6 +2657,129 @@ export declare const MJAIArchitectureSchema: z.ZodObject<{
|
|
|
2330
2657
|
RootParentArchitectureID?: string;
|
|
2331
2658
|
}>;
|
|
2332
2659
|
export type MJAIArchitectureEntityType = z.infer<typeof MJAIArchitectureSchema>;
|
|
2660
|
+
/**
|
|
2661
|
+
* zod schema definition for the entity MJ: AI Bridge Agent Identities
|
|
2662
|
+
*/
|
|
2663
|
+
export declare const MJAIBridgeAgentIdentitySchema: z.ZodObject<{
|
|
2664
|
+
ID: z.ZodString;
|
|
2665
|
+
AgentID: z.ZodString;
|
|
2666
|
+
ProviderID: z.ZodString;
|
|
2667
|
+
IdentityType: z.ZodUnion<[z.ZodLiteral<"AccountID">, z.ZodLiteral<"Email">, z.ZodLiteral<"PhoneNumber">]>;
|
|
2668
|
+
IdentityValue: z.ZodString;
|
|
2669
|
+
DisplayName: z.ZodNullable<z.ZodString>;
|
|
2670
|
+
IsActive: z.ZodBoolean;
|
|
2671
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
2672
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2673
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2674
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
2675
|
+
Provider: z.ZodString;
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
|
+
ID?: string;
|
|
2678
|
+
__mj_CreatedAt?: Date;
|
|
2679
|
+
__mj_UpdatedAt?: Date;
|
|
2680
|
+
IsActive?: boolean;
|
|
2681
|
+
AgentID?: string;
|
|
2682
|
+
Agent?: string;
|
|
2683
|
+
Configuration?: string;
|
|
2684
|
+
DisplayName?: string;
|
|
2685
|
+
ProviderID?: string;
|
|
2686
|
+
Provider?: string;
|
|
2687
|
+
IdentityType?: "AccountID" | "Email" | "PhoneNumber";
|
|
2688
|
+
IdentityValue?: string;
|
|
2689
|
+
}, {
|
|
2690
|
+
ID?: string;
|
|
2691
|
+
__mj_CreatedAt?: Date;
|
|
2692
|
+
__mj_UpdatedAt?: Date;
|
|
2693
|
+
IsActive?: boolean;
|
|
2694
|
+
AgentID?: string;
|
|
2695
|
+
Agent?: string;
|
|
2696
|
+
Configuration?: string;
|
|
2697
|
+
DisplayName?: string;
|
|
2698
|
+
ProviderID?: string;
|
|
2699
|
+
Provider?: string;
|
|
2700
|
+
IdentityType?: "AccountID" | "Email" | "PhoneNumber";
|
|
2701
|
+
IdentityValue?: string;
|
|
2702
|
+
}>;
|
|
2703
|
+
export type MJAIBridgeAgentIdentityEntityType = z.infer<typeof MJAIBridgeAgentIdentitySchema>;
|
|
2704
|
+
/**
|
|
2705
|
+
* zod schema definition for the entity MJ: AI Bridge Provider Channels
|
|
2706
|
+
*/
|
|
2707
|
+
export declare const MJAIBridgeProviderChannelSchema: z.ZodObject<{
|
|
2708
|
+
ID: z.ZodString;
|
|
2709
|
+
ProviderID: z.ZodString;
|
|
2710
|
+
ChannelID: z.ZodString;
|
|
2711
|
+
IsDefault: z.ZodBoolean;
|
|
2712
|
+
Sequence: z.ZodNumber;
|
|
2713
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
2714
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2715
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2716
|
+
Provider: z.ZodString;
|
|
2717
|
+
Channel: z.ZodString;
|
|
2718
|
+
}, "strip", z.ZodTypeAny, {
|
|
2719
|
+
ID?: string;
|
|
2720
|
+
__mj_CreatedAt?: Date;
|
|
2721
|
+
__mj_UpdatedAt?: Date;
|
|
2722
|
+
Sequence?: number;
|
|
2723
|
+
IsDefault?: boolean;
|
|
2724
|
+
Configuration?: string;
|
|
2725
|
+
ProviderID?: string;
|
|
2726
|
+
Provider?: string;
|
|
2727
|
+
ChannelID?: string;
|
|
2728
|
+
Channel?: string;
|
|
2729
|
+
}, {
|
|
2730
|
+
ID?: string;
|
|
2731
|
+
__mj_CreatedAt?: Date;
|
|
2732
|
+
__mj_UpdatedAt?: Date;
|
|
2733
|
+
Sequence?: number;
|
|
2734
|
+
IsDefault?: boolean;
|
|
2735
|
+
Configuration?: string;
|
|
2736
|
+
ProviderID?: string;
|
|
2737
|
+
Provider?: string;
|
|
2738
|
+
ChannelID?: string;
|
|
2739
|
+
Channel?: string;
|
|
2740
|
+
}>;
|
|
2741
|
+
export type MJAIBridgeProviderChannelEntityType = z.infer<typeof MJAIBridgeProviderChannelSchema>;
|
|
2742
|
+
/**
|
|
2743
|
+
* zod schema definition for the entity MJ: AI Bridge Providers
|
|
2744
|
+
*/
|
|
2745
|
+
export declare const MJAIBridgeProviderSchema: z.ZodObject<{
|
|
2746
|
+
ID: z.ZodString;
|
|
2747
|
+
Name: z.ZodString;
|
|
2748
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
2749
|
+
BridgeType: z.ZodUnion<[z.ZodLiteral<"Meeting">, z.ZodLiteral<"Telephony">]>;
|
|
2750
|
+
DriverClass: z.ZodString;
|
|
2751
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
|
|
2752
|
+
SupportedFeatures: z.ZodNullable<z.ZodAny>;
|
|
2753
|
+
ConfigSchema: z.ZodNullable<z.ZodString>;
|
|
2754
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
2755
|
+
__mj_CreatedAt: z.ZodDate;
|
|
2756
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
2757
|
+
}, "strip", z.ZodTypeAny, {
|
|
2758
|
+
ID?: string;
|
|
2759
|
+
__mj_CreatedAt?: Date;
|
|
2760
|
+
__mj_UpdatedAt?: Date;
|
|
2761
|
+
Name?: string;
|
|
2762
|
+
Description?: string;
|
|
2763
|
+
Status?: "Active" | "Disabled";
|
|
2764
|
+
DriverClass?: string;
|
|
2765
|
+
ConfigSchema?: string;
|
|
2766
|
+
Configuration?: string;
|
|
2767
|
+
BridgeType?: "Meeting" | "Telephony";
|
|
2768
|
+
SupportedFeatures?: any;
|
|
2769
|
+
}, {
|
|
2770
|
+
ID?: string;
|
|
2771
|
+
__mj_CreatedAt?: Date;
|
|
2772
|
+
__mj_UpdatedAt?: Date;
|
|
2773
|
+
Name?: string;
|
|
2774
|
+
Description?: string;
|
|
2775
|
+
Status?: "Active" | "Disabled";
|
|
2776
|
+
DriverClass?: string;
|
|
2777
|
+
ConfigSchema?: string;
|
|
2778
|
+
Configuration?: string;
|
|
2779
|
+
BridgeType?: "Meeting" | "Telephony";
|
|
2780
|
+
SupportedFeatures?: any;
|
|
2781
|
+
}>;
|
|
2782
|
+
export type MJAIBridgeProviderEntityType = z.infer<typeof MJAIBridgeProviderSchema>;
|
|
2333
2783
|
/**
|
|
2334
2784
|
* zod schema definition for the entity MJ: AI Client Tool Definitions
|
|
2335
2785
|
*/
|
|
@@ -2388,8 +2838,8 @@ export declare const MJAIConfigurationParamSchema: z.ZodObject<{
|
|
|
2388
2838
|
Name?: string;
|
|
2389
2839
|
Description?: string;
|
|
2390
2840
|
Type?: "string" | "number" | "boolean" | "object" | "date";
|
|
2391
|
-
ConfigurationID?: string;
|
|
2392
2841
|
Configuration?: string;
|
|
2842
|
+
ConfigurationID?: string;
|
|
2393
2843
|
Value?: string;
|
|
2394
2844
|
}, {
|
|
2395
2845
|
ID?: string;
|
|
@@ -2398,8 +2848,8 @@ export declare const MJAIConfigurationParamSchema: z.ZodObject<{
|
|
|
2398
2848
|
Name?: string;
|
|
2399
2849
|
Description?: string;
|
|
2400
2850
|
Type?: "string" | "number" | "boolean" | "object" | "date";
|
|
2401
|
-
ConfigurationID?: string;
|
|
2402
2851
|
Configuration?: string;
|
|
2852
|
+
ConfigurationID?: string;
|
|
2403
2853
|
Value?: string;
|
|
2404
2854
|
}>;
|
|
2405
2855
|
export type MJAIConfigurationParamEntityType = z.infer<typeof MJAIConfigurationParamSchema>;
|
|
@@ -3046,12 +3496,12 @@ export declare const MJAIPromptModelSchema: z.ZodObject<{
|
|
|
3046
3496
|
__mj_UpdatedAt?: Date;
|
|
3047
3497
|
Status?: "Active" | "Deprecated" | "Inactive" | "Preview";
|
|
3048
3498
|
Priority?: number;
|
|
3499
|
+
Configuration?: string;
|
|
3049
3500
|
ModelID?: string;
|
|
3050
3501
|
Model?: string;
|
|
3051
3502
|
PromptID?: string;
|
|
3052
3503
|
ConfigurationID?: string;
|
|
3053
3504
|
Prompt?: string;
|
|
3054
|
-
Configuration?: string;
|
|
3055
3505
|
EffortLevel?: number;
|
|
3056
3506
|
Vendor?: string;
|
|
3057
3507
|
VendorID?: string;
|
|
@@ -3066,12 +3516,12 @@ export declare const MJAIPromptModelSchema: z.ZodObject<{
|
|
|
3066
3516
|
__mj_UpdatedAt?: Date;
|
|
3067
3517
|
Status?: "Active" | "Deprecated" | "Inactive" | "Preview";
|
|
3068
3518
|
Priority?: number;
|
|
3519
|
+
Configuration?: string;
|
|
3069
3520
|
ModelID?: string;
|
|
3070
3521
|
Model?: string;
|
|
3071
3522
|
PromptID?: string;
|
|
3072
3523
|
ConfigurationID?: string;
|
|
3073
3524
|
Prompt?: string;
|
|
3074
|
-
Configuration?: string;
|
|
3075
3525
|
EffortLevel?: number;
|
|
3076
3526
|
Vendor?: string;
|
|
3077
3527
|
VendorID?: string;
|
|
@@ -3268,13 +3718,13 @@ export declare const MJAIPromptRunSchema: z.ZodObject<{
|
|
|
3268
3718
|
RootParentID?: string;
|
|
3269
3719
|
AgentID?: string;
|
|
3270
3720
|
Agent?: string;
|
|
3721
|
+
Configuration?: string;
|
|
3271
3722
|
ExecutionOrder?: number;
|
|
3272
3723
|
ModelID?: string;
|
|
3273
3724
|
Model?: string;
|
|
3274
3725
|
PromptID?: string;
|
|
3275
3726
|
ConfigurationID?: string;
|
|
3276
3727
|
Prompt?: string;
|
|
3277
|
-
Configuration?: string;
|
|
3278
3728
|
AgentRunID?: string;
|
|
3279
3729
|
AgentRun?: string;
|
|
3280
3730
|
Cancelled?: boolean;
|
|
@@ -3372,13 +3822,13 @@ export declare const MJAIPromptRunSchema: z.ZodObject<{
|
|
|
3372
3822
|
RootParentID?: string;
|
|
3373
3823
|
AgentID?: string;
|
|
3374
3824
|
Agent?: string;
|
|
3825
|
+
Configuration?: string;
|
|
3375
3826
|
ExecutionOrder?: number;
|
|
3376
3827
|
ModelID?: string;
|
|
3377
3828
|
Model?: string;
|
|
3378
3829
|
PromptID?: string;
|
|
3379
3830
|
ConfigurationID?: string;
|
|
3380
3831
|
Prompt?: string;
|
|
3381
|
-
Configuration?: string;
|
|
3382
3832
|
AgentRunID?: string;
|
|
3383
3833
|
AgentRun?: string;
|
|
3384
3834
|
Cancelled?: boolean;
|
|
@@ -3678,6 +4128,50 @@ export declare const MJAIPromptSchema: z.ZodObject<{
|
|
|
3678
4128
|
RootResultSelectorPromptID?: string;
|
|
3679
4129
|
}>;
|
|
3680
4130
|
export type MJAIPromptEntityType = z.infer<typeof MJAIPromptSchema>;
|
|
4131
|
+
/**
|
|
4132
|
+
* zod schema definition for the entity MJ: AI Remote Browser Providers
|
|
4133
|
+
*/
|
|
4134
|
+
export declare const MJAIRemoteBrowserProviderSchema: z.ZodObject<{
|
|
4135
|
+
ID: z.ZodString;
|
|
4136
|
+
Name: z.ZodString;
|
|
4137
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
4138
|
+
ProviderType: z.ZodUnion<[z.ZodLiteral<"SelfHost">, z.ZodLiteral<"Service">]>;
|
|
4139
|
+
DriverClass: z.ZodString;
|
|
4140
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
|
|
4141
|
+
SupportedFeatures: z.ZodNullable<z.ZodAny>;
|
|
4142
|
+
DefaultControlMode: z.ZodUnion<[z.ZodLiteral<"AgentOnly">, z.ZodLiteral<"Collaborative">, z.ZodLiteral<"ViewOnly">]>;
|
|
4143
|
+
ConfigSchema: z.ZodNullable<z.ZodString>;
|
|
4144
|
+
Configuration: z.ZodNullable<z.ZodString>;
|
|
4145
|
+
__mj_CreatedAt: z.ZodDate;
|
|
4146
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
4147
|
+
}, "strip", z.ZodTypeAny, {
|
|
4148
|
+
ID?: string;
|
|
4149
|
+
__mj_CreatedAt?: Date;
|
|
4150
|
+
__mj_UpdatedAt?: Date;
|
|
4151
|
+
Name?: string;
|
|
4152
|
+
Description?: string;
|
|
4153
|
+
Status?: "Active" | "Disabled";
|
|
4154
|
+
DriverClass?: string;
|
|
4155
|
+
ConfigSchema?: string;
|
|
4156
|
+
Configuration?: string;
|
|
4157
|
+
SupportedFeatures?: any;
|
|
4158
|
+
ProviderType?: "SelfHost" | "Service";
|
|
4159
|
+
DefaultControlMode?: "AgentOnly" | "Collaborative" | "ViewOnly";
|
|
4160
|
+
}, {
|
|
4161
|
+
ID?: string;
|
|
4162
|
+
__mj_CreatedAt?: Date;
|
|
4163
|
+
__mj_UpdatedAt?: Date;
|
|
4164
|
+
Name?: string;
|
|
4165
|
+
Description?: string;
|
|
4166
|
+
Status?: "Active" | "Disabled";
|
|
4167
|
+
DriverClass?: string;
|
|
4168
|
+
ConfigSchema?: string;
|
|
4169
|
+
Configuration?: string;
|
|
4170
|
+
SupportedFeatures?: any;
|
|
4171
|
+
ProviderType?: "SelfHost" | "Service";
|
|
4172
|
+
DefaultControlMode?: "AgentOnly" | "Collaborative" | "ViewOnly";
|
|
4173
|
+
}>;
|
|
4174
|
+
export type MJAIRemoteBrowserProviderEntityType = z.infer<typeof MJAIRemoteBrowserProviderSchema>;
|
|
3681
4175
|
/**
|
|
3682
4176
|
* zod schema definition for the entity MJ: AI Result Cache
|
|
3683
4177
|
*/
|
|
@@ -3710,8 +4204,8 @@ export declare const MJAIResultCacheSchema: z.ZodObject<{
|
|
|
3710
4204
|
Status?: "Active" | "Expired";
|
|
3711
4205
|
AgentID?: string;
|
|
3712
4206
|
Agent?: string;
|
|
3713
|
-
ConfigurationID?: string;
|
|
3714
4207
|
Configuration?: string;
|
|
4208
|
+
ConfigurationID?: string;
|
|
3715
4209
|
Vendor?: string;
|
|
3716
4210
|
AIModelID?: string;
|
|
3717
4211
|
AIModel?: string;
|
|
@@ -3732,8 +4226,8 @@ export declare const MJAIResultCacheSchema: z.ZodObject<{
|
|
|
3732
4226
|
Status?: "Active" | "Expired";
|
|
3733
4227
|
AgentID?: string;
|
|
3734
4228
|
Agent?: string;
|
|
3735
|
-
ConfigurationID?: string;
|
|
3736
4229
|
Configuration?: string;
|
|
4230
|
+
ConfigurationID?: string;
|
|
3737
4231
|
Vendor?: string;
|
|
3738
4232
|
AIModelID?: string;
|
|
3739
4233
|
AIModel?: string;
|
|
@@ -5826,9 +6320,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
5826
6320
|
__mj_UpdatedAt?: Date;
|
|
5827
6321
|
Name?: string;
|
|
5828
6322
|
IsActive?: boolean;
|
|
6323
|
+
Configuration?: string;
|
|
5829
6324
|
CompanyID?: string;
|
|
5830
6325
|
Company?: string;
|
|
5831
|
-
Configuration?: string;
|
|
5832
6326
|
LastRunID?: string;
|
|
5833
6327
|
CredentialID?: string;
|
|
5834
6328
|
DriverImportPath?: string;
|
|
@@ -5864,9 +6358,9 @@ export declare const MJCompanyIntegrationSchema: z.ZodObject<{
|
|
|
5864
6358
|
__mj_UpdatedAt?: Date;
|
|
5865
6359
|
Name?: string;
|
|
5866
6360
|
IsActive?: boolean;
|
|
6361
|
+
Configuration?: string;
|
|
5867
6362
|
CompanyID?: string;
|
|
5868
6363
|
Company?: string;
|
|
5869
|
-
Configuration?: string;
|
|
5870
6364
|
LastRunID?: string;
|
|
5871
6365
|
CredentialID?: string;
|
|
5872
6366
|
DriverImportPath?: string;
|
|
@@ -6653,9 +7147,9 @@ export declare const MJContentSourceSchema: z.ZodObject<{
|
|
|
6653
7147
|
__mj_UpdatedAt?: Date;
|
|
6654
7148
|
Entity?: string;
|
|
6655
7149
|
Name?: string;
|
|
7150
|
+
Configuration?: any;
|
|
6656
7151
|
EmbeddingModelID?: string;
|
|
6657
7152
|
EmbeddingModel?: string;
|
|
6658
|
-
Configuration?: any;
|
|
6659
7153
|
ContentType?: string;
|
|
6660
7154
|
URL?: string;
|
|
6661
7155
|
ContentTypeID?: string;
|
|
@@ -6676,9 +7170,9 @@ export declare const MJContentSourceSchema: z.ZodObject<{
|
|
|
6676
7170
|
__mj_UpdatedAt?: Date;
|
|
6677
7171
|
Entity?: string;
|
|
6678
7172
|
Name?: string;
|
|
7173
|
+
Configuration?: any;
|
|
6679
7174
|
EmbeddingModelID?: string;
|
|
6680
7175
|
EmbeddingModel?: string;
|
|
6681
|
-
Configuration?: any;
|
|
6682
7176
|
ContentType?: string;
|
|
6683
7177
|
URL?: string;
|
|
6684
7178
|
ContentTypeID?: string;
|
|
@@ -6747,9 +7241,9 @@ export declare const MJContentTypeSchema: z.ZodObject<{
|
|
|
6747
7241
|
__mj_UpdatedAt?: Date;
|
|
6748
7242
|
Name?: string;
|
|
6749
7243
|
Description?: string;
|
|
7244
|
+
Configuration?: any;
|
|
6750
7245
|
EmbeddingModelID?: string;
|
|
6751
7246
|
EmbeddingModel?: string;
|
|
6752
|
-
Configuration?: any;
|
|
6753
7247
|
AIModelID?: string;
|
|
6754
7248
|
AIModel?: string;
|
|
6755
7249
|
VectorIndexID?: string;
|
|
@@ -6762,9 +7256,9 @@ export declare const MJContentTypeSchema: z.ZodObject<{
|
|
|
6762
7256
|
__mj_UpdatedAt?: Date;
|
|
6763
7257
|
Name?: string;
|
|
6764
7258
|
Description?: string;
|
|
7259
|
+
Configuration?: any;
|
|
6765
7260
|
EmbeddingModelID?: string;
|
|
6766
7261
|
EmbeddingModel?: string;
|
|
6767
|
-
Configuration?: any;
|
|
6768
7262
|
AIModelID?: string;
|
|
6769
7263
|
AIModel?: string;
|
|
6770
7264
|
VectorIndexID?: string;
|
|
@@ -6888,7 +7382,7 @@ export declare const MJConversationDetailArtifactSchema: z.ZodObject<{
|
|
|
6888
7382
|
Direction: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
6889
7383
|
__mj_CreatedAt: z.ZodDate;
|
|
6890
7384
|
__mj_UpdatedAt: z.ZodDate;
|
|
6891
|
-
ConversationDetail: z.ZodString
|
|
7385
|
+
ConversationDetail: z.ZodNullable<z.ZodString>;
|
|
6892
7386
|
ArtifactVersion: z.ZodNullable<z.ZodString>;
|
|
6893
7387
|
}, "strip", z.ZodTypeAny, {
|
|
6894
7388
|
ID?: string;
|
|
@@ -6931,7 +7425,7 @@ export declare const MJConversationDetailAttachmentSchema: z.ZodObject<{
|
|
|
6931
7425
|
__mj_UpdatedAt: z.ZodDate;
|
|
6932
7426
|
Description: z.ZodNullable<z.ZodString>;
|
|
6933
7427
|
ArtifactVersionID: z.ZodNullable<z.ZodString>;
|
|
6934
|
-
ConversationDetail: z.ZodString
|
|
7428
|
+
ConversationDetail: z.ZodNullable<z.ZodString>;
|
|
6935
7429
|
Modality: z.ZodString;
|
|
6936
7430
|
File: z.ZodNullable<z.ZodString>;
|
|
6937
7431
|
ArtifactVersion: z.ZodNullable<z.ZodString>;
|
|
@@ -6992,7 +7486,7 @@ export declare const MJConversationDetailRatingSchema: z.ZodObject<{
|
|
|
6992
7486
|
Comments: z.ZodNullable<z.ZodString>;
|
|
6993
7487
|
__mj_CreatedAt: z.ZodDate;
|
|
6994
7488
|
__mj_UpdatedAt: z.ZodDate;
|
|
6995
|
-
ConversationDetail: z.ZodString
|
|
7489
|
+
ConversationDetail: z.ZodNullable<z.ZodString>;
|
|
6996
7490
|
User: z.ZodString;
|
|
6997
7491
|
}, "strip", z.ZodTypeAny, {
|
|
6998
7492
|
ID?: string;
|
|
@@ -7047,6 +7541,7 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
7047
7541
|
ActionableCommands: z.ZodNullable<z.ZodString>;
|
|
7048
7542
|
AutomaticCommands: z.ZodNullable<z.ZodString>;
|
|
7049
7543
|
OriginalMessageChanged: z.ZodBoolean;
|
|
7544
|
+
AgentSessionID: z.ZodNullable<z.ZodString>;
|
|
7050
7545
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
7051
7546
|
User: z.ZodNullable<z.ZodString>;
|
|
7052
7547
|
Artifact: z.ZodNullable<z.ZodString>;
|
|
@@ -7072,9 +7567,10 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
7072
7567
|
Conversation?: string;
|
|
7073
7568
|
ConversationID?: string;
|
|
7074
7569
|
TestRunID?: string;
|
|
7570
|
+
AgentSessionID?: string;
|
|
7075
7571
|
TestRun?: string;
|
|
7076
|
-
CompletionTime?: number;
|
|
7077
7572
|
Error?: string;
|
|
7573
|
+
CompletionTime?: number;
|
|
7078
7574
|
ArtifactID?: string;
|
|
7079
7575
|
Artifact?: string;
|
|
7080
7576
|
ArtifactVersionID?: string;
|
|
@@ -7108,9 +7604,10 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
|
|
|
7108
7604
|
Conversation?: string;
|
|
7109
7605
|
ConversationID?: string;
|
|
7110
7606
|
TestRunID?: string;
|
|
7607
|
+
AgentSessionID?: string;
|
|
7111
7608
|
TestRun?: string;
|
|
7112
|
-
CompletionTime?: number;
|
|
7113
7609
|
Error?: string;
|
|
7610
|
+
CompletionTime?: number;
|
|
7114
7611
|
ArtifactID?: string;
|
|
7115
7612
|
Artifact?: string;
|
|
7116
7613
|
ArtifactVersionID?: string;
|
|
@@ -8207,12 +8704,12 @@ export declare const MJEmployeeSchema: z.ZodObject<{
|
|
|
8207
8704
|
__mj_UpdatedAt?: Date;
|
|
8208
8705
|
Active?: boolean;
|
|
8209
8706
|
CompanyID?: string;
|
|
8707
|
+
Email?: string;
|
|
8210
8708
|
Title?: string;
|
|
8211
8709
|
BCMID?: string;
|
|
8212
8710
|
FirstName?: string;
|
|
8213
8711
|
LastName?: string;
|
|
8214
8712
|
SupervisorID?: string;
|
|
8215
|
-
Email?: string;
|
|
8216
8713
|
Phone?: string;
|
|
8217
8714
|
FirstLast?: string;
|
|
8218
8715
|
Supervisor?: string;
|
|
@@ -8225,12 +8722,12 @@ export declare const MJEmployeeSchema: z.ZodObject<{
|
|
|
8225
8722
|
__mj_UpdatedAt?: Date;
|
|
8226
8723
|
Active?: boolean;
|
|
8227
8724
|
CompanyID?: string;
|
|
8725
|
+
Email?: string;
|
|
8228
8726
|
Title?: string;
|
|
8229
8727
|
BCMID?: string;
|
|
8230
8728
|
FirstName?: string;
|
|
8231
8729
|
LastName?: string;
|
|
8232
8730
|
SupervisorID?: string;
|
|
8233
|
-
Email?: string;
|
|
8234
8731
|
Phone?: string;
|
|
8235
8732
|
FirstLast?: string;
|
|
8236
8733
|
Supervisor?: string;
|
|
@@ -9190,7 +9687,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
9190
9687
|
AllowsNull?: boolean;
|
|
9191
9688
|
AutoIncrement?: boolean;
|
|
9192
9689
|
ValueListType?: "None" | "List" | "ListOrUserEntry";
|
|
9193
|
-
ExtendedType?: "Code" | "Other" | "Icon" | "
|
|
9690
|
+
ExtendedType?: "Code" | "Other" | "Icon" | "Email" | "Markdown" | "URL" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "HTML" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
|
|
9194
9691
|
CodeType?: "Other" | "SQL" | "HTML" | "CSS" | "JavaScript" | "TypeScript";
|
|
9195
9692
|
DefaultInView?: boolean;
|
|
9196
9693
|
ViewCellTemplate?: string;
|
|
@@ -9268,7 +9765,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
|
|
|
9268
9765
|
AllowsNull?: boolean;
|
|
9269
9766
|
AutoIncrement?: boolean;
|
|
9270
9767
|
ValueListType?: "None" | "List" | "ListOrUserEntry";
|
|
9271
|
-
ExtendedType?: "Code" | "Other" | "Icon" | "
|
|
9768
|
+
ExtendedType?: "Code" | "Other" | "Icon" | "Email" | "Markdown" | "URL" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "HTML" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
|
|
9272
9769
|
CodeType?: "Other" | "SQL" | "HTML" | "CSS" | "JavaScript" | "TypeScript";
|
|
9273
9770
|
DefaultInView?: boolean;
|
|
9274
9771
|
ViewCellTemplate?: string;
|
|
@@ -10021,22 +10518,22 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
|
|
|
10021
10518
|
__mj_UpdatedAt?: Date;
|
|
10022
10519
|
Name?: string;
|
|
10023
10520
|
Description?: string;
|
|
10521
|
+
ProviderID?: string;
|
|
10522
|
+
Provider?: string;
|
|
10024
10523
|
CredentialID?: string;
|
|
10025
10524
|
Credential?: string;
|
|
10026
|
-
ProviderID?: string;
|
|
10027
10525
|
IncludeInGlobalSearch?: boolean;
|
|
10028
|
-
Provider?: string;
|
|
10029
10526
|
}, {
|
|
10030
10527
|
ID?: string;
|
|
10031
10528
|
__mj_CreatedAt?: Date;
|
|
10032
10529
|
__mj_UpdatedAt?: Date;
|
|
10033
10530
|
Name?: string;
|
|
10034
10531
|
Description?: string;
|
|
10532
|
+
ProviderID?: string;
|
|
10533
|
+
Provider?: string;
|
|
10035
10534
|
CredentialID?: string;
|
|
10036
10535
|
Credential?: string;
|
|
10037
|
-
ProviderID?: string;
|
|
10038
10536
|
IncludeInGlobalSearch?: boolean;
|
|
10039
|
-
Provider?: string;
|
|
10040
10537
|
}>;
|
|
10041
10538
|
export type MJFileStorageAccountEntityType = z.infer<typeof MJFileStorageAccountSchema>;
|
|
10042
10539
|
/**
|
|
@@ -10108,9 +10605,9 @@ export declare const MJFileSchema: z.ZodObject<{
|
|
|
10108
10605
|
Status?: string;
|
|
10109
10606
|
CategoryID?: string;
|
|
10110
10607
|
Category?: string;
|
|
10111
|
-
ContentType?: string;
|
|
10112
10608
|
ProviderID?: string;
|
|
10113
10609
|
Provider?: string;
|
|
10610
|
+
ContentType?: string;
|
|
10114
10611
|
ProviderKey?: string;
|
|
10115
10612
|
}, {
|
|
10116
10613
|
ID?: string;
|
|
@@ -10121,9 +10618,9 @@ export declare const MJFileSchema: z.ZodObject<{
|
|
|
10121
10618
|
Status?: string;
|
|
10122
10619
|
CategoryID?: string;
|
|
10123
10620
|
Category?: string;
|
|
10124
|
-
ContentType?: string;
|
|
10125
10621
|
ProviderID?: string;
|
|
10126
10622
|
Provider?: string;
|
|
10623
|
+
ContentType?: string;
|
|
10127
10624
|
ProviderKey?: string;
|
|
10128
10625
|
}>;
|
|
10129
10626
|
export type MJFileEntityType = z.infer<typeof MJFileSchema>;
|
|
@@ -10299,8 +10796,8 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
|
|
|
10299
10796
|
IsRequired?: boolean;
|
|
10300
10797
|
Category?: string;
|
|
10301
10798
|
Sequence?: number;
|
|
10302
|
-
DisplayName?: string;
|
|
10303
10799
|
Configuration?: string;
|
|
10800
|
+
DisplayName?: string;
|
|
10304
10801
|
IsPrimaryKey?: boolean;
|
|
10305
10802
|
Length?: number;
|
|
10306
10803
|
Precision?: number;
|
|
@@ -10327,8 +10824,8 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
|
|
|
10327
10824
|
IsRequired?: boolean;
|
|
10328
10825
|
Category?: string;
|
|
10329
10826
|
Sequence?: number;
|
|
10330
|
-
DisplayName?: string;
|
|
10331
10827
|
Configuration?: string;
|
|
10828
|
+
DisplayName?: string;
|
|
10332
10829
|
IsPrimaryKey?: boolean;
|
|
10333
10830
|
Length?: number;
|
|
10334
10831
|
Precision?: number;
|
|
@@ -10396,8 +10893,8 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
|
|
|
10396
10893
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
10397
10894
|
Category?: string;
|
|
10398
10895
|
Sequence?: number;
|
|
10399
|
-
DisplayName?: string;
|
|
10400
10896
|
Configuration?: string;
|
|
10897
|
+
DisplayName?: string;
|
|
10401
10898
|
Integration?: string;
|
|
10402
10899
|
IntegrationID?: string;
|
|
10403
10900
|
IsCustom?: boolean;
|
|
@@ -10435,8 +10932,8 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
|
|
|
10435
10932
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
10436
10933
|
Category?: string;
|
|
10437
10934
|
Sequence?: number;
|
|
10438
|
-
DisplayName?: string;
|
|
10439
10935
|
Configuration?: string;
|
|
10936
|
+
DisplayName?: string;
|
|
10440
10937
|
Integration?: string;
|
|
10441
10938
|
IntegrationID?: string;
|
|
10442
10939
|
IsCustom?: boolean;
|
|
@@ -10782,9 +11279,9 @@ export declare const MJListInvitationSchema: z.ZodObject<{
|
|
|
10782
11279
|
__mj_CreatedAt?: Date;
|
|
10783
11280
|
__mj_UpdatedAt?: Date;
|
|
10784
11281
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
11282
|
+
Email?: string;
|
|
10785
11283
|
CreatedByUserID?: string;
|
|
10786
11284
|
CreatedByUser?: string;
|
|
10787
|
-
Email?: string;
|
|
10788
11285
|
List?: string;
|
|
10789
11286
|
ListID?: string;
|
|
10790
11287
|
Token?: string;
|
|
@@ -10795,9 +11292,9 @@ export declare const MJListInvitationSchema: z.ZodObject<{
|
|
|
10795
11292
|
__mj_CreatedAt?: Date;
|
|
10796
11293
|
__mj_UpdatedAt?: Date;
|
|
10797
11294
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
11295
|
+
Email?: string;
|
|
10798
11296
|
CreatedByUserID?: string;
|
|
10799
11297
|
CreatedByUser?: string;
|
|
10800
|
-
Email?: string;
|
|
10801
11298
|
List?: string;
|
|
10802
11299
|
ListID?: string;
|
|
10803
11300
|
Token?: string;
|
|
@@ -11043,12 +11540,12 @@ export declare const MJMagicLinkInviteSchema: z.ZodObject<{
|
|
|
11043
11540
|
__mj_UpdatedAt?: Date;
|
|
11044
11541
|
Status?: "Active" | "Revoked" | "Expired" | "Consumed";
|
|
11045
11542
|
RoleID?: string;
|
|
11543
|
+
Email?: string;
|
|
11046
11544
|
ApplicationID?: string;
|
|
11047
11545
|
Application?: string;
|
|
11048
11546
|
CreatedByUserID?: string;
|
|
11049
11547
|
CreatedByUser?: string;
|
|
11050
11548
|
ResourceType?: string;
|
|
11051
|
-
Email?: string;
|
|
11052
11549
|
TokenHash?: string;
|
|
11053
11550
|
ConsumedAt?: Date;
|
|
11054
11551
|
MaxUses?: number;
|
|
@@ -11065,12 +11562,12 @@ export declare const MJMagicLinkInviteSchema: z.ZodObject<{
|
|
|
11065
11562
|
__mj_UpdatedAt?: Date;
|
|
11066
11563
|
Status?: "Active" | "Revoked" | "Expired" | "Consumed";
|
|
11067
11564
|
RoleID?: string;
|
|
11565
|
+
Email?: string;
|
|
11068
11566
|
ApplicationID?: string;
|
|
11069
11567
|
Application?: string;
|
|
11070
11568
|
CreatedByUserID?: string;
|
|
11071
11569
|
CreatedByUser?: string;
|
|
11072
11570
|
ResourceType?: string;
|
|
11073
|
-
Email?: string;
|
|
11074
11571
|
TokenHash?: string;
|
|
11075
11572
|
ConsumedAt?: Date;
|
|
11076
11573
|
MaxUses?: number;
|
|
@@ -11378,13 +11875,13 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
11378
11875
|
Description?: string;
|
|
11379
11876
|
Status?: string;
|
|
11380
11877
|
IconClass?: string;
|
|
11878
|
+
TransportType?: string;
|
|
11381
11879
|
CredentialTypeID?: string;
|
|
11382
11880
|
CredentialType?: string;
|
|
11383
11881
|
LastSyncAt?: Date;
|
|
11384
11882
|
ServerURL?: string;
|
|
11385
11883
|
Command?: string;
|
|
11386
11884
|
CommandArgs?: string;
|
|
11387
|
-
TransportType?: string;
|
|
11388
11885
|
DefaultAuthType?: string;
|
|
11389
11886
|
RateLimitPerMinute?: number;
|
|
11390
11887
|
RateLimitPerHour?: number;
|
|
@@ -11405,13 +11902,13 @@ export declare const MJMCPServerSchema: z.ZodObject<{
|
|
|
11405
11902
|
Description?: string;
|
|
11406
11903
|
Status?: string;
|
|
11407
11904
|
IconClass?: string;
|
|
11905
|
+
TransportType?: string;
|
|
11408
11906
|
CredentialTypeID?: string;
|
|
11409
11907
|
CredentialType?: string;
|
|
11410
11908
|
LastSyncAt?: Date;
|
|
11411
11909
|
ServerURL?: string;
|
|
11412
11910
|
Command?: string;
|
|
11413
11911
|
CommandArgs?: string;
|
|
11414
|
-
TransportType?: string;
|
|
11415
11912
|
DefaultAuthType?: string;
|
|
11416
11913
|
RateLimitPerMinute?: number;
|
|
11417
11914
|
RateLimitPerHour?: number;
|
|
@@ -13782,6 +14279,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
13782
14279
|
__mj_CreatedAt: z.ZodDate;
|
|
13783
14280
|
__mj_UpdatedAt: z.ZodDate;
|
|
13784
14281
|
RunImmediatelyIfNeverRun: z.ZodBoolean;
|
|
14282
|
+
MaxRuntimeMinutes: z.ZodNullable<z.ZodNumber>;
|
|
13785
14283
|
JobType: z.ZodString;
|
|
13786
14284
|
OwnerUser: z.ZodNullable<z.ZodString>;
|
|
13787
14285
|
NotifyUser: z.ZodNullable<z.ZodString>;
|
|
@@ -13816,6 +14314,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
13816
14314
|
ExpectedCompletionAt?: Date;
|
|
13817
14315
|
ConcurrencyMode?: "Queue" | "Concurrent" | "Skip";
|
|
13818
14316
|
RunImmediatelyIfNeverRun?: boolean;
|
|
14317
|
+
MaxRuntimeMinutes?: number;
|
|
13819
14318
|
JobType?: string;
|
|
13820
14319
|
NotifyUser?: string;
|
|
13821
14320
|
}, {
|
|
@@ -13849,6 +14348,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
|
|
|
13849
14348
|
ExpectedCompletionAt?: Date;
|
|
13850
14349
|
ConcurrencyMode?: "Queue" | "Concurrent" | "Skip";
|
|
13851
14350
|
RunImmediatelyIfNeverRun?: boolean;
|
|
14351
|
+
MaxRuntimeMinutes?: number;
|
|
13852
14352
|
JobType?: string;
|
|
13853
14353
|
NotifyUser?: string;
|
|
13854
14354
|
}>;
|
|
@@ -14316,9 +14816,9 @@ export declare const MJSignatureAccountSchema: z.ZodObject<{
|
|
|
14316
14816
|
Name?: string;
|
|
14317
14817
|
IsActive?: boolean;
|
|
14318
14818
|
IsDefault?: boolean;
|
|
14819
|
+
Configuration?: string;
|
|
14319
14820
|
CompanyID?: string;
|
|
14320
14821
|
Company?: string;
|
|
14321
|
-
Configuration?: string;
|
|
14322
14822
|
CredentialID?: string;
|
|
14323
14823
|
Credential?: string;
|
|
14324
14824
|
SignatureProviderID?: string;
|
|
@@ -14332,9 +14832,9 @@ export declare const MJSignatureAccountSchema: z.ZodObject<{
|
|
|
14332
14832
|
Name?: string;
|
|
14333
14833
|
IsActive?: boolean;
|
|
14334
14834
|
IsDefault?: boolean;
|
|
14835
|
+
Configuration?: string;
|
|
14335
14836
|
CompanyID?: string;
|
|
14336
14837
|
Company?: string;
|
|
14337
|
-
Configuration?: string;
|
|
14338
14838
|
CredentialID?: string;
|
|
14339
14839
|
Credential?: string;
|
|
14340
14840
|
SignatureProviderID?: string;
|
|
@@ -16526,12 +17026,12 @@ export declare const MJUserSchema: z.ZodObject<{
|
|
|
16526
17026
|
Name?: string;
|
|
16527
17027
|
Type?: "User" | "Owner";
|
|
16528
17028
|
IsActive?: boolean;
|
|
17029
|
+
Email?: string;
|
|
16529
17030
|
Title?: string;
|
|
16530
17031
|
LinkedEntityID?: string;
|
|
16531
17032
|
EmployeeID?: string;
|
|
16532
17033
|
FirstName?: string;
|
|
16533
17034
|
LastName?: string;
|
|
16534
|
-
Email?: string;
|
|
16535
17035
|
FirstLast?: string;
|
|
16536
17036
|
LinkedRecordType?: string;
|
|
16537
17037
|
LinkedEntityRecordID?: string;
|
|
@@ -16549,12 +17049,12 @@ export declare const MJUserSchema: z.ZodObject<{
|
|
|
16549
17049
|
Name?: string;
|
|
16550
17050
|
Type?: "User" | "Owner";
|
|
16551
17051
|
IsActive?: boolean;
|
|
17052
|
+
Email?: string;
|
|
16552
17053
|
Title?: string;
|
|
16553
17054
|
LinkedEntityID?: string;
|
|
16554
17055
|
EmployeeID?: string;
|
|
16555
17056
|
FirstName?: string;
|
|
16556
17057
|
LastName?: string;
|
|
16557
|
-
Email?: string;
|
|
16558
17058
|
FirstLast?: string;
|
|
16559
17059
|
LinkedRecordType?: string;
|
|
16560
17060
|
LinkedEntityRecordID?: string;
|
|
@@ -19082,6 +19582,115 @@ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategor
|
|
|
19082
19582
|
*/
|
|
19083
19583
|
get RootParentID(): string | null;
|
|
19084
19584
|
}
|
|
19585
|
+
/**
|
|
19586
|
+
* MJ: AI Agent Channels - strongly typed entity sub-class
|
|
19587
|
+
* * Schema: __mj
|
|
19588
|
+
* * Base Table: AIAgentChannel
|
|
19589
|
+
* * Base View: vwAIAgentChannels
|
|
19590
|
+
* * Primary Key: ID
|
|
19591
|
+
* @extends {BaseEntity}
|
|
19592
|
+
* @class
|
|
19593
|
+
* @public
|
|
19594
|
+
*/
|
|
19595
|
+
export declare class MJAIAgentChannelEntity extends BaseEntity<MJAIAgentChannelEntityType> {
|
|
19596
|
+
/**
|
|
19597
|
+
* Loads the MJ: AI Agent Channels record from the database
|
|
19598
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Channels record.
|
|
19599
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
19600
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
19601
|
+
* @public
|
|
19602
|
+
* @async
|
|
19603
|
+
* @memberof MJAIAgentChannelEntity
|
|
19604
|
+
* @method
|
|
19605
|
+
* @override
|
|
19606
|
+
*/
|
|
19607
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
19608
|
+
/**
|
|
19609
|
+
* * Field Name: ID
|
|
19610
|
+
* * Display Name: ID
|
|
19611
|
+
* * SQL Data Type: uniqueidentifier
|
|
19612
|
+
* * Default Value: newsequentialid()
|
|
19613
|
+
*/
|
|
19614
|
+
get ID(): string;
|
|
19615
|
+
set ID(value: string);
|
|
19616
|
+
/**
|
|
19617
|
+
* * Field Name: Name
|
|
19618
|
+
* * Display Name: Name
|
|
19619
|
+
* * SQL Data Type: nvarchar(100)
|
|
19620
|
+
* * Description: Unique channel definition name (e.g. VoiceAudio, TextChat, ClientControl, Whiteboard).
|
|
19621
|
+
*/
|
|
19622
|
+
get Name(): string;
|
|
19623
|
+
set Name(value: string);
|
|
19624
|
+
/**
|
|
19625
|
+
* * Field Name: Description
|
|
19626
|
+
* * Display Name: Description
|
|
19627
|
+
* * SQL Data Type: nvarchar(1000)
|
|
19628
|
+
* * Description: Optional human-readable description of what the channel surface does.
|
|
19629
|
+
*/
|
|
19630
|
+
get Description(): string | null;
|
|
19631
|
+
set Description(value: string | null);
|
|
19632
|
+
/**
|
|
19633
|
+
* * Field Name: ServerPluginClass
|
|
19634
|
+
* * Display Name: Server Plugin Class
|
|
19635
|
+
* * SQL Data Type: nvarchar(250)
|
|
19636
|
+
* * Description: Driver key resolved at runtime via MJGlobal.ClassFactory.CreateInstance on the server. MUST match the @RegisterClass key on the concrete server-side channel plugin.
|
|
19637
|
+
*/
|
|
19638
|
+
get ServerPluginClass(): string;
|
|
19639
|
+
set ServerPluginClass(value: string);
|
|
19640
|
+
/**
|
|
19641
|
+
* * Field Name: ClientPluginClass
|
|
19642
|
+
* * Display Name: Client Plugin Class
|
|
19643
|
+
* * SQL Data Type: nvarchar(250)
|
|
19644
|
+
* * Description: Driver key resolved at runtime via MJGlobal.ClassFactory.CreateInstance on the client. MUST match the @RegisterClass key on the concrete client-side channel plugin (typically an Angular component).
|
|
19645
|
+
*/
|
|
19646
|
+
get ClientPluginClass(): string;
|
|
19647
|
+
set ClientPluginClass(value: string);
|
|
19648
|
+
/**
|
|
19649
|
+
* * Field Name: TransportType
|
|
19650
|
+
* * Display Name: Transport Type
|
|
19651
|
+
* * SQL Data Type: nvarchar(20)
|
|
19652
|
+
* * Default Value: PubSub
|
|
19653
|
+
* * Value List Type: List
|
|
19654
|
+
* * Possible Values
|
|
19655
|
+
* * PubSub
|
|
19656
|
+
* * WebRTC
|
|
19657
|
+
* * WebSocket
|
|
19658
|
+
* * Description: Which transport plane this channel rides: PubSub (the shared control plane), WebRTC (binary media), or WebSocket.
|
|
19659
|
+
*/
|
|
19660
|
+
get TransportType(): 'PubSub' | 'WebRTC' | 'WebSocket';
|
|
19661
|
+
set TransportType(value: 'PubSub' | 'WebRTC' | 'WebSocket');
|
|
19662
|
+
/**
|
|
19663
|
+
* * Field Name: ConfigSchema
|
|
19664
|
+
* * Display Name: Configuration Schema
|
|
19665
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
19666
|
+
* * Description: Optional JSON Schema used to validate the per-instance channel configuration (AIAgentSessionChannel.Config).
|
|
19667
|
+
*/
|
|
19668
|
+
get ConfigSchema(): string | null;
|
|
19669
|
+
set ConfigSchema(value: string | null);
|
|
19670
|
+
/**
|
|
19671
|
+
* * Field Name: IsActive
|
|
19672
|
+
* * Display Name: Is Active
|
|
19673
|
+
* * SQL Data Type: bit
|
|
19674
|
+
* * Default Value: 1
|
|
19675
|
+
* * Description: Whether this channel definition is available for use. Inactive channels cannot be attached to a session.
|
|
19676
|
+
*/
|
|
19677
|
+
get IsActive(): boolean;
|
|
19678
|
+
set IsActive(value: boolean);
|
|
19679
|
+
/**
|
|
19680
|
+
* * Field Name: __mj_CreatedAt
|
|
19681
|
+
* * Display Name: Created At
|
|
19682
|
+
* * SQL Data Type: datetimeoffset
|
|
19683
|
+
* * Default Value: getutcdate()
|
|
19684
|
+
*/
|
|
19685
|
+
get __mj_CreatedAt(): Date;
|
|
19686
|
+
/**
|
|
19687
|
+
* * Field Name: __mj_UpdatedAt
|
|
19688
|
+
* * Display Name: Updated At
|
|
19689
|
+
* * SQL Data Type: datetimeoffset
|
|
19690
|
+
* * Default Value: getutcdate()
|
|
19691
|
+
*/
|
|
19692
|
+
get __mj_UpdatedAt(): Date;
|
|
19693
|
+
}
|
|
19085
19694
|
/**
|
|
19086
19695
|
* MJ: AI Agent Client Tools - strongly typed entity sub-class
|
|
19087
19696
|
* * Schema: __mj
|
|
@@ -19174,6 +19783,177 @@ export declare class MJAIAgentClientToolEntity extends BaseEntity<MJAIAgentClien
|
|
|
19174
19783
|
*/
|
|
19175
19784
|
get ClientToolDefinition(): string;
|
|
19176
19785
|
}
|
|
19786
|
+
/**
|
|
19787
|
+
* MJ: AI Agent Co Agents - strongly typed entity sub-class
|
|
19788
|
+
* * Schema: __mj
|
|
19789
|
+
* * Base Table: AIAgentCoAgent
|
|
19790
|
+
* * Base View: vwAIAgentCoAgents
|
|
19791
|
+
* * @description Agent-to-agent affinity registry. Today: OPT-IN co-agent pairings — which underlying agents (or whole agent types) a Realtime-type co-agent can front in live sessions. A co-agent with NO rows is universal (fronts any single agent supplied at runtime — the zero-config default); rows restrict the co-agent to a prebuilt target list. The Type column reserves future relationship natures (Peer/Delegate/Fallback/Reviewer/Observer). Distinct from AIAgentRelationship, which wires agent-to-SUB-AGENT invocation (mappings, message modes); this table is peer affinity with no invocation config.
|
|
19792
|
+
* * Primary Key: ID
|
|
19793
|
+
* @extends {BaseEntity}
|
|
19794
|
+
* @class
|
|
19795
|
+
* @public
|
|
19796
|
+
*/
|
|
19797
|
+
export declare class MJAIAgentCoAgentEntity extends BaseEntity<MJAIAgentCoAgentEntityType> {
|
|
19798
|
+
/**
|
|
19799
|
+
* Loads the MJ: AI Agent Co Agents record from the database
|
|
19800
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Co Agents record.
|
|
19801
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
19802
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
19803
|
+
* @public
|
|
19804
|
+
* @async
|
|
19805
|
+
* @memberof MJAIAgentCoAgentEntity
|
|
19806
|
+
* @method
|
|
19807
|
+
* @override
|
|
19808
|
+
*/
|
|
19809
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
19810
|
+
/**
|
|
19811
|
+
* Validate() method override for MJ: AI Agent Co Agents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
19812
|
+
* * Table-Level: Exactly one of Target Agent or Target Agent Type must be specified. You cannot provide both, and you cannot leave both empty.
|
|
19813
|
+
* * Table-Level: An agent cannot be assigned as both the Co-Agent and the Target Agent on the same record.
|
|
19814
|
+
* @public
|
|
19815
|
+
* @method
|
|
19816
|
+
* @override
|
|
19817
|
+
*/
|
|
19818
|
+
Validate(): ValidationResult;
|
|
19819
|
+
/**
|
|
19820
|
+
* Exactly one of Target Agent or Target Agent Type must be specified. You cannot provide both, and you cannot leave both empty.
|
|
19821
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
19822
|
+
* @public
|
|
19823
|
+
* @method
|
|
19824
|
+
*/
|
|
19825
|
+
ValidateExclusiveTargetAgentOrType(result: ValidationResult): void;
|
|
19826
|
+
/**
|
|
19827
|
+
* An agent cannot be assigned as both the Co-Agent and the Target Agent on the same record.
|
|
19828
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
19829
|
+
* @public
|
|
19830
|
+
* @method
|
|
19831
|
+
*/
|
|
19832
|
+
ValidateTargetAgentNotEqualToCoAgent(result: ValidationResult): void;
|
|
19833
|
+
/**
|
|
19834
|
+
* * Field Name: ID
|
|
19835
|
+
* * Display Name: ID
|
|
19836
|
+
* * SQL Data Type: uniqueidentifier
|
|
19837
|
+
* * Default Value: newsequentialid()
|
|
19838
|
+
*/
|
|
19839
|
+
get ID(): string;
|
|
19840
|
+
set ID(value: string);
|
|
19841
|
+
/**
|
|
19842
|
+
* * Field Name: CoAgentID
|
|
19843
|
+
* * Display Name: Co-Agent
|
|
19844
|
+
* * SQL Data Type: uniqueidentifier
|
|
19845
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
19846
|
+
* * Description: The relationship OWNER. For Type=CoAgent this is the Realtime-type co-agent (the live voice); it must be an Active agent of the Realtime type (enforced server-side). For reserved future types, the agent the relationship is read FROM.
|
|
19847
|
+
*/
|
|
19848
|
+
get CoAgentID(): string;
|
|
19849
|
+
set CoAgentID(value: string);
|
|
19850
|
+
/**
|
|
19851
|
+
* * Field Name: TargetAgentID
|
|
19852
|
+
* * Display Name: Target Agent
|
|
19853
|
+
* * SQL Data Type: uniqueidentifier
|
|
19854
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
19855
|
+
* * Description: A specific paired agent — for Type=CoAgent, an underlying agent this co-agent can front. Exactly one of TargetAgentID / TargetAgentTypeID is set per row.
|
|
19856
|
+
*/
|
|
19857
|
+
get TargetAgentID(): string | null;
|
|
19858
|
+
set TargetAgentID(value: string | null);
|
|
19859
|
+
/**
|
|
19860
|
+
* * Field Name: TargetAgentTypeID
|
|
19861
|
+
* * Display Name: Target Agent Type
|
|
19862
|
+
* * SQL Data Type: uniqueidentifier
|
|
19863
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Types (vwAIAgentTypes.ID)
|
|
19864
|
+
* * Description: A whole agent TYPE as the paired side — for Type=CoAgent, this co-agent applies to every agent of the type (with IsDefault=1, it is the type-level default co-agent, replacing a column-based default that would create an AIAgent↔AIAgentType FK cycle). Exactly one of TargetAgentID / TargetAgentTypeID is set per row.
|
|
19865
|
+
*/
|
|
19866
|
+
get TargetAgentTypeID(): string | null;
|
|
19867
|
+
set TargetAgentTypeID(value: string | null);
|
|
19868
|
+
/**
|
|
19869
|
+
* * Field Name: Type
|
|
19870
|
+
* * Display Name: Relationship Type
|
|
19871
|
+
* * SQL Data Type: nvarchar(30)
|
|
19872
|
+
* * Default Value: CoAgent
|
|
19873
|
+
* * Value List Type: List
|
|
19874
|
+
* * Possible Values
|
|
19875
|
+
* * CoAgent
|
|
19876
|
+
* * Delegate
|
|
19877
|
+
* * Fallback
|
|
19878
|
+
* * Observer
|
|
19879
|
+
* * Peer
|
|
19880
|
+
* * Reviewer
|
|
19881
|
+
* * Description: Nature of the relationship, read CoAgentID → target side. CoAgent = the owner can front the target in realtime sessions (the ONLY type implemented today). Peer (agent-to-agent conversation partners), Delegate (handoff/escalation), Fallback (substitute when owner unavailable), Reviewer (target reviews owner output), Observer (target observes owner sessions) are RESERVED for future features — the vocabulary ships now so generated string-union types stay stable.
|
|
19882
|
+
*/
|
|
19883
|
+
get Type(): 'CoAgent' | 'Delegate' | 'Fallback' | 'Observer' | 'Peer' | 'Reviewer';
|
|
19884
|
+
set Type(value: 'CoAgent' | 'Delegate' | 'Fallback' | 'Observer' | 'Peer' | 'Reviewer');
|
|
19885
|
+
/**
|
|
19886
|
+
* * Field Name: IsDefault
|
|
19887
|
+
* * Display Name: Is Default
|
|
19888
|
+
* * SQL Data Type: bit
|
|
19889
|
+
* * Default Value: 0
|
|
19890
|
+
* * Description: When 1: for a TargetAgentID row, this target is the co-agent's default underlying agent (used when a session starts against the co-agent without an explicit runtime target); for a TargetAgentTypeID row, this co-agent is the default co-agent for agents of that type. At most one default per (CoAgentID, Type) is enforced server-side.
|
|
19891
|
+
*/
|
|
19892
|
+
get IsDefault(): boolean;
|
|
19893
|
+
set IsDefault(value: boolean);
|
|
19894
|
+
/**
|
|
19895
|
+
* * Field Name: Sequence
|
|
19896
|
+
* * Display Name: Sequence
|
|
19897
|
+
* * SQL Data Type: int
|
|
19898
|
+
* * Default Value: 0
|
|
19899
|
+
* * Description: Display/priority order of this pairing in target-agent pickers and resolution ties (ascending).
|
|
19900
|
+
*/
|
|
19901
|
+
get Sequence(): number;
|
|
19902
|
+
set Sequence(value: number);
|
|
19903
|
+
/**
|
|
19904
|
+
* * Field Name: Status
|
|
19905
|
+
* * Display Name: Status
|
|
19906
|
+
* * SQL Data Type: nvarchar(20)
|
|
19907
|
+
* * Default Value: Active
|
|
19908
|
+
* * Value List Type: List
|
|
19909
|
+
* * Possible Values
|
|
19910
|
+
* * Active
|
|
19911
|
+
* * Disabled
|
|
19912
|
+
* * Description: Whether this pairing participates in resolution. Disabled rows are kept for audit/toggling but ignored by the resolution chain and pickers.
|
|
19913
|
+
*/
|
|
19914
|
+
get Status(): 'Active' | 'Disabled';
|
|
19915
|
+
set Status(value: 'Active' | 'Disabled');
|
|
19916
|
+
/**
|
|
19917
|
+
* * Field Name: Configuration
|
|
19918
|
+
* * Display Name: Configuration
|
|
19919
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
19920
|
+
* * Description: Optional per-relationship configuration JSON (shape owned by the Type, e.g. a future Peer arena's turn budget). NULL for plain pairings.
|
|
19921
|
+
*/
|
|
19922
|
+
get Configuration(): string | null;
|
|
19923
|
+
set Configuration(value: string | null);
|
|
19924
|
+
/**
|
|
19925
|
+
* * Field Name: __mj_CreatedAt
|
|
19926
|
+
* * Display Name: Created At
|
|
19927
|
+
* * SQL Data Type: datetimeoffset
|
|
19928
|
+
* * Default Value: getutcdate()
|
|
19929
|
+
*/
|
|
19930
|
+
get __mj_CreatedAt(): Date;
|
|
19931
|
+
/**
|
|
19932
|
+
* * Field Name: __mj_UpdatedAt
|
|
19933
|
+
* * Display Name: Updated At
|
|
19934
|
+
* * SQL Data Type: datetimeoffset
|
|
19935
|
+
* * Default Value: getutcdate()
|
|
19936
|
+
*/
|
|
19937
|
+
get __mj_UpdatedAt(): Date;
|
|
19938
|
+
/**
|
|
19939
|
+
* * Field Name: CoAgent
|
|
19940
|
+
* * Display Name: Co-Agent Name
|
|
19941
|
+
* * SQL Data Type: nvarchar(255)
|
|
19942
|
+
*/
|
|
19943
|
+
get CoAgent(): string | null;
|
|
19944
|
+
/**
|
|
19945
|
+
* * Field Name: TargetAgent
|
|
19946
|
+
* * Display Name: Target Agent Name
|
|
19947
|
+
* * SQL Data Type: nvarchar(255)
|
|
19948
|
+
*/
|
|
19949
|
+
get TargetAgent(): string | null;
|
|
19950
|
+
/**
|
|
19951
|
+
* * Field Name: TargetAgentType
|
|
19952
|
+
* * Display Name: Target Agent Type Name
|
|
19953
|
+
* * SQL Data Type: nvarchar(100)
|
|
19954
|
+
*/
|
|
19955
|
+
get TargetAgentType(): string | null;
|
|
19956
|
+
}
|
|
19177
19957
|
/**
|
|
19178
19958
|
* MJ: AI Agent Configurations - strongly typed entity sub-class
|
|
19179
19959
|
* * Schema: __mj
|
|
@@ -19846,7 +20626,7 @@ export declare class MJAIAgentExampleEntity extends BaseEntity<MJAIAgentExampleE
|
|
|
19846
20626
|
/**
|
|
19847
20627
|
* * Field Name: SourceConversationDetail
|
|
19848
20628
|
* * Display Name: Source Conversation Detail
|
|
19849
|
-
* * SQL Data Type: nvarchar(
|
|
20629
|
+
* * SQL Data Type: nvarchar(100)
|
|
19850
20630
|
*/
|
|
19851
20631
|
get SourceConversationDetail(): string | null;
|
|
19852
20632
|
/**
|
|
@@ -20310,7 +21090,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20310
21090
|
set AgentNoteTypeID(value: string | null);
|
|
20311
21091
|
/**
|
|
20312
21092
|
* * Field Name: Note
|
|
20313
|
-
* * Display Name: Note
|
|
21093
|
+
* * Display Name: Note Content
|
|
20314
21094
|
* * SQL Data Type: nvarchar(MAX)
|
|
20315
21095
|
* * Description: The content of the note, observation, or learning captured by the AI agent during its execution.
|
|
20316
21096
|
*/
|
|
@@ -20341,7 +21121,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20341
21121
|
set UserID(value: string | null);
|
|
20342
21122
|
/**
|
|
20343
21123
|
* * Field Name: Type
|
|
20344
|
-
* * Display Name: Type
|
|
21124
|
+
* * Display Name: Note Type
|
|
20345
21125
|
* * SQL Data Type: nvarchar(20)
|
|
20346
21126
|
* * Default Value: Preference
|
|
20347
21127
|
* * Value List Type: List
|
|
@@ -20357,7 +21137,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20357
21137
|
set Type(value: 'Constraint' | 'Context' | 'Example' | 'Issue' | 'Preference');
|
|
20358
21138
|
/**
|
|
20359
21139
|
* * Field Name: IsAutoGenerated
|
|
20360
|
-
* * Display Name: Auto
|
|
21140
|
+
* * Display Name: Is Auto-Generated
|
|
20361
21141
|
* * SQL Data Type: bit
|
|
20362
21142
|
* * Default Value: 0
|
|
20363
21143
|
* * Description: Indicates whether this note was automatically generated by an AI agent (1) or manually created (0).
|
|
@@ -20382,11 +21162,12 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20382
21162
|
* * Active
|
|
20383
21163
|
* * Archived
|
|
20384
21164
|
* * Pending
|
|
21165
|
+
* * Provisional
|
|
20385
21166
|
* * Revoked
|
|
20386
|
-
* * Description:
|
|
21167
|
+
* * Description: Lifecycle status of the note. Pending = awaiting approval, Active = vetted and injectable, Provisional = written in-flight by an agent (immediately injectable, awaiting Memory Manager hardening to Active), Revoked = superseded/withdrawn, Archived = retired by consolidation or decay.
|
|
20387
21168
|
*/
|
|
20388
|
-
get Status(): 'Active' | 'Archived' | 'Pending' | 'Revoked';
|
|
20389
|
-
set Status(value: 'Active' | 'Archived' | 'Pending' | 'Revoked');
|
|
21169
|
+
get Status(): 'Active' | 'Archived' | 'Pending' | 'Provisional' | 'Revoked';
|
|
21170
|
+
set Status(value: 'Active' | 'Archived' | 'Pending' | 'Provisional' | 'Revoked');
|
|
20390
21171
|
/**
|
|
20391
21172
|
* * Field Name: SourceConversationID
|
|
20392
21173
|
* * Display Name: Source Conversation
|
|
@@ -20451,7 +21232,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20451
21232
|
set PrimaryScopeEntityID(value: string | null);
|
|
20452
21233
|
/**
|
|
20453
21234
|
* * Field Name: PrimaryScopeRecordID
|
|
20454
|
-
* * Display Name: Primary Scope Record
|
|
21235
|
+
* * Display Name: Primary Scope Record ID
|
|
20455
21236
|
* * SQL Data Type: nvarchar(100)
|
|
20456
21237
|
* * Description: The record ID within the primary scope entity. NULL means global note. When set with empty SecondaryScopes, indicates primary-scope-only note.
|
|
20457
21238
|
*/
|
|
@@ -20492,7 +21273,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20492
21273
|
set ExpiresAt(value: Date | null);
|
|
20493
21274
|
/**
|
|
20494
21275
|
* * Field Name: ConsolidatedIntoNoteID
|
|
20495
|
-
* * Display Name: Consolidated Into Note
|
|
21276
|
+
* * Display Name: Consolidated Into Note
|
|
20496
21277
|
* * SQL Data Type: uniqueidentifier
|
|
20497
21278
|
* * Related Entity/Foreign Key: MJ: AI Agent Notes (vwAIAgentNotes.ID)
|
|
20498
21279
|
* * Description: Self-referential FK. Points to the consolidated note that replaced this one when revoked during consolidation or contradiction resolution.
|
|
@@ -20510,7 +21291,7 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20510
21291
|
set ConsolidationCount(value: number);
|
|
20511
21292
|
/**
|
|
20512
21293
|
* * Field Name: DerivedFromNoteIDs
|
|
20513
|
-
* * Display Name: Derived From Note
|
|
21294
|
+
* * Display Name: Derived From Note IDs
|
|
20514
21295
|
* * SQL Data Type: nvarchar(MAX)
|
|
20515
21296
|
* * Description: JSON array of source note IDs that were consolidated into this note. Enables provenance chain resolution and rollback.
|
|
20516
21297
|
*/
|
|
@@ -20540,68 +21321,82 @@ export declare class MJAIAgentNoteEntity extends BaseEntity<MJAIAgentNoteEntityT
|
|
|
20540
21321
|
get ImportanceScore(): number | null;
|
|
20541
21322
|
set ImportanceScore(value: number | null);
|
|
20542
21323
|
/**
|
|
21324
|
+
* * Field Name: AuthorType
|
|
21325
|
+
* * Display Name: Author Type
|
|
21326
|
+
* * SQL Data Type: nvarchar(20)
|
|
21327
|
+
* * Default Value: MemoryManager
|
|
21328
|
+
* * Value List Type: List
|
|
21329
|
+
* * Possible Values
|
|
21330
|
+
* * Agent
|
|
21331
|
+
* * MemoryManager
|
|
21332
|
+
* * User
|
|
21333
|
+
* * Description: Type of author that created the note: Agent = written in-flight during an agent run, MemoryManager = extracted/consolidated by the scheduled Memory Manager, User = manually created by a person.
|
|
21334
|
+
*/
|
|
21335
|
+
get AuthorType(): 'Agent' | 'MemoryManager' | 'User';
|
|
21336
|
+
set AuthorType(value: 'Agent' | 'MemoryManager' | 'User');
|
|
21337
|
+
/**
|
|
20543
21338
|
* * Field Name: Agent
|
|
20544
|
-
* * Display Name: Agent
|
|
21339
|
+
* * Display Name: Agent Name
|
|
20545
21340
|
* * SQL Data Type: nvarchar(255)
|
|
20546
21341
|
*/
|
|
20547
21342
|
get Agent(): string | null;
|
|
20548
21343
|
/**
|
|
20549
21344
|
* * Field Name: AgentNoteType
|
|
20550
|
-
* * Display Name: Agent Note Type
|
|
21345
|
+
* * Display Name: Agent Note Type Name
|
|
20551
21346
|
* * SQL Data Type: nvarchar(255)
|
|
20552
21347
|
*/
|
|
20553
21348
|
get AgentNoteType(): string | null;
|
|
20554
21349
|
/**
|
|
20555
21350
|
* * Field Name: User
|
|
20556
|
-
* * Display Name: User
|
|
21351
|
+
* * Display Name: User Name
|
|
20557
21352
|
* * SQL Data Type: nvarchar(100)
|
|
20558
21353
|
*/
|
|
20559
21354
|
get User(): string | null;
|
|
20560
21355
|
/**
|
|
20561
21356
|
* * Field Name: SourceConversation
|
|
20562
|
-
* * Display Name: Source Conversation
|
|
21357
|
+
* * Display Name: Source Conversation Name
|
|
20563
21358
|
* * SQL Data Type: nvarchar(255)
|
|
20564
21359
|
*/
|
|
20565
21360
|
get SourceConversation(): string | null;
|
|
20566
21361
|
/**
|
|
20567
21362
|
* * Field Name: SourceConversationDetail
|
|
20568
21363
|
* * Display Name: Source Conversation Detail
|
|
20569
|
-
* * SQL Data Type: nvarchar(
|
|
21364
|
+
* * SQL Data Type: nvarchar(100)
|
|
20570
21365
|
*/
|
|
20571
21366
|
get SourceConversationDetail(): string | null;
|
|
20572
21367
|
/**
|
|
20573
21368
|
* * Field Name: SourceAIAgentRun
|
|
20574
|
-
* * Display Name: Source AI Agent Run
|
|
21369
|
+
* * Display Name: Source AI Agent Run Name
|
|
20575
21370
|
* * SQL Data Type: nvarchar(255)
|
|
20576
21371
|
*/
|
|
20577
21372
|
get SourceAIAgentRun(): string | null;
|
|
20578
21373
|
/**
|
|
20579
21374
|
* * Field Name: Company
|
|
20580
|
-
* * Display Name: Company
|
|
21375
|
+
* * Display Name: Company Name
|
|
20581
21376
|
* * SQL Data Type: nvarchar(50)
|
|
20582
21377
|
*/
|
|
20583
21378
|
get Company(): string | null;
|
|
20584
21379
|
/**
|
|
20585
21380
|
* * Field Name: EmbeddingModel
|
|
20586
|
-
* * Display Name: Embedding Model
|
|
21381
|
+
* * Display Name: Embedding Model Name
|
|
20587
21382
|
* * SQL Data Type: nvarchar(50)
|
|
20588
21383
|
*/
|
|
20589
21384
|
get EmbeddingModel(): string | null;
|
|
20590
21385
|
/**
|
|
20591
21386
|
* * Field Name: PrimaryScopeEntity
|
|
20592
|
-
* * Display Name: Primary Scope Entity
|
|
21387
|
+
* * Display Name: Primary Scope Entity Name
|
|
20593
21388
|
* * SQL Data Type: nvarchar(255)
|
|
20594
21389
|
*/
|
|
20595
21390
|
get PrimaryScopeEntity(): string | null;
|
|
20596
21391
|
/**
|
|
20597
21392
|
* * Field Name: ConsolidatedIntoNote
|
|
20598
|
-
* * Display Name: Consolidated Into Note
|
|
20599
|
-
* * SQL Data Type: nvarchar(
|
|
21393
|
+
* * Display Name: Consolidated Into Note Name
|
|
21394
|
+
* * SQL Data Type: nvarchar(20)
|
|
20600
21395
|
*/
|
|
20601
21396
|
get ConsolidatedIntoNote(): string | null;
|
|
20602
21397
|
/**
|
|
20603
21398
|
* * Field Name: RootConsolidatedIntoNoteID
|
|
20604
|
-
* * Display Name: Root Consolidated
|
|
21399
|
+
* * Display Name: Root Consolidated Note
|
|
20605
21400
|
* * SQL Data Type: uniqueidentifier
|
|
20606
21401
|
*/
|
|
20607
21402
|
get RootConsolidatedIntoNoteID(): string | null;
|
|
@@ -22093,7 +22888,7 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
|
|
|
22093
22888
|
set AgentState(value: string | null);
|
|
22094
22889
|
/**
|
|
22095
22890
|
* * Field Name: TotalTokensUsed
|
|
22096
|
-
* * Display Name: Total Tokens
|
|
22891
|
+
* * Display Name: Total Tokens Used
|
|
22097
22892
|
* * SQL Data Type: int
|
|
22098
22893
|
* * Default Value: 0
|
|
22099
22894
|
* * Description: Total number of tokens consumed by all LLM calls during this agent run
|
|
@@ -22182,7 +22977,7 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
|
|
|
22182
22977
|
set ConversationDetailID(value: string | null);
|
|
22183
22978
|
/**
|
|
22184
22979
|
* * Field Name: ConversationDetailSequence
|
|
22185
|
-
* * Display Name: Sequence
|
|
22980
|
+
* * Display Name: Detail Sequence
|
|
22186
22981
|
* * SQL Data Type: int
|
|
22187
22982
|
* * Description: If a conversation detail spawned multiple agent runs, tracks the order of their spawn/execution
|
|
22188
22983
|
*/
|
|
@@ -22291,7 +23086,7 @@ each time the agent processes a prompt step.
|
|
|
22291
23086
|
set OverrideVendorID(value: string | null);
|
|
22292
23087
|
/**
|
|
22293
23088
|
* * Field Name: Data
|
|
22294
|
-
* * Display Name:
|
|
23089
|
+
* * Display Name: Input Data
|
|
22295
23090
|
* * SQL Data Type: nvarchar(MAX)
|
|
22296
23091
|
* * Description: JSON serialized data that was passed for template rendering and prompt execution. This data was passed to the agent's prompt as well as all sub-agents.
|
|
22297
23092
|
*/
|
|
@@ -22407,81 +23202,90 @@ each time the agent processes a prompt step.
|
|
|
22407
23202
|
set TotalCacheWriteTokensUsed(value: number | null);
|
|
22408
23203
|
/**
|
|
22409
23204
|
* * Field Name: LastHeartbeatAt
|
|
22410
|
-
* * Display Name: Last Heartbeat
|
|
23205
|
+
* * Display Name: Last Heartbeat
|
|
22411
23206
|
* * SQL Data Type: datetimeoffset
|
|
22412
23207
|
* * Description: Timestamp of the most recent liveness heartbeat written by the owning process while this run is in progress. Used by the agent-run watchdog to detect runs orphaned by a process restart/crash or a failed terminal-state write: a Running row whose LastHeartbeatAt has gone stale (or is NULL with an old StartedAt) is force-failed. Always stamped on the database clock (GETUTCDATE), never process time.
|
|
22413
23208
|
*/
|
|
22414
23209
|
get LastHeartbeatAt(): Date | null;
|
|
22415
23210
|
set LastHeartbeatAt(value: Date | null);
|
|
22416
23211
|
/**
|
|
23212
|
+
* * Field Name: AgentSessionID
|
|
23213
|
+
* * Display Name: Agent Session
|
|
23214
|
+
* * SQL Data Type: uniqueidentifier
|
|
23215
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Sessions (vwAIAgentSessions.ID)
|
|
23216
|
+
* * Description: Links this run to the long-lived AIAgentSession it executed within. NULL for runs outside any real-time session. This is the persisted session reference and is distinct from the per-connection transport sessionID.
|
|
23217
|
+
*/
|
|
23218
|
+
get AgentSessionID(): string | null;
|
|
23219
|
+
set AgentSessionID(value: string | null);
|
|
23220
|
+
/**
|
|
22417
23221
|
* * Field Name: Agent
|
|
22418
|
-
* * Display Name: Agent
|
|
23222
|
+
* * Display Name: Agent Info
|
|
22419
23223
|
* * SQL Data Type: nvarchar(255)
|
|
22420
23224
|
*/
|
|
22421
23225
|
get Agent(): string | null;
|
|
22422
23226
|
/**
|
|
22423
23227
|
* * Field Name: ParentRun
|
|
22424
|
-
* * Display Name: Parent Run
|
|
23228
|
+
* * Display Name: Parent Run Info
|
|
22425
23229
|
* * SQL Data Type: nvarchar(255)
|
|
22426
23230
|
*/
|
|
22427
23231
|
get ParentRun(): string | null;
|
|
22428
23232
|
/**
|
|
22429
23233
|
* * Field Name: Conversation
|
|
22430
|
-
* * Display Name: Conversation
|
|
23234
|
+
* * Display Name: Conversation Info
|
|
22431
23235
|
* * SQL Data Type: nvarchar(255)
|
|
22432
23236
|
*/
|
|
22433
23237
|
get Conversation(): string | null;
|
|
22434
23238
|
/**
|
|
22435
23239
|
* * Field Name: User
|
|
22436
|
-
* * Display Name: User
|
|
23240
|
+
* * Display Name: User Info
|
|
22437
23241
|
* * SQL Data Type: nvarchar(100)
|
|
22438
23242
|
*/
|
|
22439
23243
|
get User(): string | null;
|
|
22440
23244
|
/**
|
|
22441
23245
|
* * Field Name: ConversationDetail
|
|
22442
|
-
* * Display Name: Conversation Detail
|
|
22443
|
-
* * SQL Data Type: nvarchar(
|
|
23246
|
+
* * Display Name: Conversation Detail Info
|
|
23247
|
+
* * SQL Data Type: nvarchar(100)
|
|
22444
23248
|
*/
|
|
22445
23249
|
get ConversationDetail(): string | null;
|
|
22446
23250
|
/**
|
|
22447
23251
|
* * Field Name: LastRun
|
|
22448
|
-
* * Display Name: Last Run
|
|
23252
|
+
* * Display Name: Last Run Info
|
|
22449
23253
|
* * SQL Data Type: nvarchar(255)
|
|
22450
23254
|
*/
|
|
22451
23255
|
get LastRun(): string | null;
|
|
22452
23256
|
/**
|
|
22453
23257
|
* * Field Name: Configuration
|
|
22454
|
-
* * Display Name: Configuration
|
|
23258
|
+
* * Display Name: Configuration Info
|
|
22455
23259
|
* * SQL Data Type: nvarchar(100)
|
|
22456
23260
|
*/
|
|
22457
23261
|
get Configuration(): string | null;
|
|
22458
23262
|
/**
|
|
22459
23263
|
* * Field Name: OverrideModel
|
|
22460
|
-
* * Display Name: Override Model
|
|
23264
|
+
* * Display Name: Override Model Info
|
|
22461
23265
|
* * SQL Data Type: nvarchar(50)
|
|
22462
23266
|
*/
|
|
22463
23267
|
get OverrideModel(): string | null;
|
|
22464
23268
|
/**
|
|
22465
23269
|
* * Field Name: OverrideVendor
|
|
22466
|
-
* * Display Name: Override Vendor
|
|
23270
|
+
* * Display Name: Override Vendor Info
|
|
22467
23271
|
* * SQL Data Type: nvarchar(50)
|
|
22468
23272
|
*/
|
|
22469
23273
|
get OverrideVendor(): string | null;
|
|
22470
23274
|
/**
|
|
22471
23275
|
* * Field Name: ScheduledJobRun
|
|
22472
|
-
* * Display Name: Scheduled Job
|
|
23276
|
+
* * Display Name: Scheduled Job Run Info
|
|
22473
23277
|
* * SQL Data Type: nvarchar(200)
|
|
22474
23278
|
*/
|
|
22475
23279
|
get ScheduledJobRun(): string | null;
|
|
22476
23280
|
/**
|
|
22477
23281
|
* * Field Name: TestRun
|
|
22478
|
-
* * Display Name: Test Run
|
|
23282
|
+
* * Display Name: Test Run Info
|
|
22479
23283
|
* * SQL Data Type: nvarchar(255)
|
|
22480
23284
|
*/
|
|
22481
23285
|
get TestRun(): string | null;
|
|
22482
23286
|
/**
|
|
22483
23287
|
* * Field Name: PrimaryScopeEntity
|
|
22484
|
-
* * Display Name: Primary Scope Entity
|
|
23288
|
+
* * Display Name: Primary Scope Entity Info
|
|
22485
23289
|
* * SQL Data Type: nvarchar(255)
|
|
22486
23290
|
*/
|
|
22487
23291
|
get PrimaryScopeEntity(): string | null;
|
|
@@ -22673,6 +23477,628 @@ export declare class MJAIAgentSearchScopeEntity extends BaseEntity<MJAIAgentSear
|
|
|
22673
23477
|
*/
|
|
22674
23478
|
get QueryTemplate(): string | null;
|
|
22675
23479
|
}
|
|
23480
|
+
/**
|
|
23481
|
+
* MJ: AI Agent Session Bridge Participants - strongly typed entity sub-class
|
|
23482
|
+
* * Schema: __mj
|
|
23483
|
+
* * Base Table: AIAgentSessionBridgeParticipant
|
|
23484
|
+
* * Base View: vwAIAgentSessionBridgeParticipants
|
|
23485
|
+
* * Primary Key: ID
|
|
23486
|
+
* @extends {BaseEntity}
|
|
23487
|
+
* @class
|
|
23488
|
+
* @public
|
|
23489
|
+
*/
|
|
23490
|
+
export declare class MJAIAgentSessionBridgeParticipantEntity extends BaseEntity<MJAIAgentSessionBridgeParticipantEntityType> {
|
|
23491
|
+
/**
|
|
23492
|
+
* Loads the MJ: AI Agent Session Bridge Participants record from the database
|
|
23493
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Session Bridge Participants record.
|
|
23494
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23495
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23496
|
+
* @public
|
|
23497
|
+
* @async
|
|
23498
|
+
* @memberof MJAIAgentSessionBridgeParticipantEntity
|
|
23499
|
+
* @method
|
|
23500
|
+
* @override
|
|
23501
|
+
*/
|
|
23502
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23503
|
+
/**
|
|
23504
|
+
* * Field Name: ID
|
|
23505
|
+
* * Display Name: ID
|
|
23506
|
+
* * SQL Data Type: uniqueidentifier
|
|
23507
|
+
* * Default Value: newsequentialid()
|
|
23508
|
+
*/
|
|
23509
|
+
get ID(): string;
|
|
23510
|
+
set ID(value: string);
|
|
23511
|
+
/**
|
|
23512
|
+
* * Field Name: SessionBridgeID
|
|
23513
|
+
* * Display Name: Session Bridge
|
|
23514
|
+
* * SQL Data Type: uniqueidentifier
|
|
23515
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Session Bridges (vwAIAgentSessionBridges.ID)
|
|
23516
|
+
*/
|
|
23517
|
+
get SessionBridgeID(): string;
|
|
23518
|
+
set SessionBridgeID(value: string);
|
|
23519
|
+
/**
|
|
23520
|
+
* * Field Name: ExternalParticipantID
|
|
23521
|
+
* * Display Name: External Participant ID
|
|
23522
|
+
* * SQL Data Type: nvarchar(500)
|
|
23523
|
+
* * Description: The platform's participant identifier (used to map diarized audio to a person).
|
|
23524
|
+
*/
|
|
23525
|
+
get ExternalParticipantID(): string | null;
|
|
23526
|
+
set ExternalParticipantID(value: string | null);
|
|
23527
|
+
/**
|
|
23528
|
+
* * Field Name: DisplayName
|
|
23529
|
+
* * Display Name: Display Name
|
|
23530
|
+
* * SQL Data Type: nvarchar(500)
|
|
23531
|
+
* * Description: The participant's display name as shown on the platform.
|
|
23532
|
+
*/
|
|
23533
|
+
get DisplayName(): string | null;
|
|
23534
|
+
set DisplayName(value: string | null);
|
|
23535
|
+
/**
|
|
23536
|
+
* * Field Name: Role
|
|
23537
|
+
* * Display Name: Role
|
|
23538
|
+
* * SQL Data Type: nvarchar(20)
|
|
23539
|
+
* * Default Value: Participant
|
|
23540
|
+
* * Value List Type: List
|
|
23541
|
+
* * Possible Values
|
|
23542
|
+
* * Agent
|
|
23543
|
+
* * CoHost
|
|
23544
|
+
* * Host
|
|
23545
|
+
* * Participant
|
|
23546
|
+
* * Description: The participant's role in the meeting/call: Host, CoHost, Participant, or Agent (the AI bot).
|
|
23547
|
+
*/
|
|
23548
|
+
get Role(): 'Agent' | 'CoHost' | 'Host' | 'Participant';
|
|
23549
|
+
set Role(value: 'Agent' | 'CoHost' | 'Host' | 'Participant');
|
|
23550
|
+
/**
|
|
23551
|
+
* * Field Name: UserID
|
|
23552
|
+
* * Display Name: User
|
|
23553
|
+
* * SQL Data Type: uniqueidentifier
|
|
23554
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
23555
|
+
* * Description: The matched MJ user, when the participant can be identified (NULL for external/anonymous participants).
|
|
23556
|
+
*/
|
|
23557
|
+
get UserID(): string | null;
|
|
23558
|
+
set UserID(value: string | null);
|
|
23559
|
+
/**
|
|
23560
|
+
* * Field Name: IsAgent
|
|
23561
|
+
* * Display Name: Is Agent
|
|
23562
|
+
* * SQL Data Type: bit
|
|
23563
|
+
* * Default Value: 0
|
|
23564
|
+
* * Description: True when this participant is the bridged AI agent bot itself.
|
|
23565
|
+
*/
|
|
23566
|
+
get IsAgent(): boolean;
|
|
23567
|
+
set IsAgent(value: boolean);
|
|
23568
|
+
/**
|
|
23569
|
+
* * Field Name: JoinedAt
|
|
23570
|
+
* * Display Name: Joined At
|
|
23571
|
+
* * SQL Data Type: datetimeoffset
|
|
23572
|
+
* * Description: When the participant joined the meeting/call.
|
|
23573
|
+
*/
|
|
23574
|
+
get JoinedAt(): Date | null;
|
|
23575
|
+
set JoinedAt(value: Date | null);
|
|
23576
|
+
/**
|
|
23577
|
+
* * Field Name: LeftAt
|
|
23578
|
+
* * Display Name: Left At
|
|
23579
|
+
* * SQL Data Type: datetimeoffset
|
|
23580
|
+
* * Description: When the participant left. NULL while still present.
|
|
23581
|
+
*/
|
|
23582
|
+
get LeftAt(): Date | null;
|
|
23583
|
+
set LeftAt(value: Date | null);
|
|
23584
|
+
/**
|
|
23585
|
+
* * Field Name: __mj_CreatedAt
|
|
23586
|
+
* * Display Name: Created At
|
|
23587
|
+
* * SQL Data Type: datetimeoffset
|
|
23588
|
+
* * Default Value: getutcdate()
|
|
23589
|
+
*/
|
|
23590
|
+
get __mj_CreatedAt(): Date;
|
|
23591
|
+
/**
|
|
23592
|
+
* * Field Name: __mj_UpdatedAt
|
|
23593
|
+
* * Display Name: Updated At
|
|
23594
|
+
* * SQL Data Type: datetimeoffset
|
|
23595
|
+
* * Default Value: getutcdate()
|
|
23596
|
+
*/
|
|
23597
|
+
get __mj_UpdatedAt(): Date;
|
|
23598
|
+
/**
|
|
23599
|
+
* * Field Name: SessionBridge
|
|
23600
|
+
* * Display Name: Session Bridge Name
|
|
23601
|
+
* * SQL Data Type: nvarchar(500)
|
|
23602
|
+
*/
|
|
23603
|
+
get SessionBridge(): string | null;
|
|
23604
|
+
/**
|
|
23605
|
+
* * Field Name: User
|
|
23606
|
+
* * Display Name: User Name
|
|
23607
|
+
* * SQL Data Type: nvarchar(100)
|
|
23608
|
+
*/
|
|
23609
|
+
get User(): string | null;
|
|
23610
|
+
}
|
|
23611
|
+
/**
|
|
23612
|
+
* MJ: AI Agent Session Bridges - strongly typed entity sub-class
|
|
23613
|
+
* * Schema: __mj
|
|
23614
|
+
* * Base Table: AIAgentSessionBridge
|
|
23615
|
+
* * Base View: vwAIAgentSessionBridges
|
|
23616
|
+
* * Primary Key: ID
|
|
23617
|
+
* @extends {BaseEntity}
|
|
23618
|
+
* @class
|
|
23619
|
+
* @public
|
|
23620
|
+
*/
|
|
23621
|
+
export declare class MJAIAgentSessionBridgeEntity extends BaseEntity<MJAIAgentSessionBridgeEntityType> {
|
|
23622
|
+
/**
|
|
23623
|
+
* Loads the MJ: AI Agent Session Bridges record from the database
|
|
23624
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Session Bridges record.
|
|
23625
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23626
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23627
|
+
* @public
|
|
23628
|
+
* @async
|
|
23629
|
+
* @memberof MJAIAgentSessionBridgeEntity
|
|
23630
|
+
* @method
|
|
23631
|
+
* @override
|
|
23632
|
+
*/
|
|
23633
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23634
|
+
/**
|
|
23635
|
+
* * Field Name: ID
|
|
23636
|
+
* * Display Name: ID
|
|
23637
|
+
* * SQL Data Type: uniqueidentifier
|
|
23638
|
+
* * Default Value: newsequentialid()
|
|
23639
|
+
*/
|
|
23640
|
+
get ID(): string;
|
|
23641
|
+
set ID(value: string);
|
|
23642
|
+
/**
|
|
23643
|
+
* * Field Name: AgentSessionID
|
|
23644
|
+
* * Display Name: Agent Session
|
|
23645
|
+
* * SQL Data Type: uniqueidentifier
|
|
23646
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Sessions (vwAIAgentSessions.ID)
|
|
23647
|
+
*/
|
|
23648
|
+
get AgentSessionID(): string;
|
|
23649
|
+
set AgentSessionID(value: string);
|
|
23650
|
+
/**
|
|
23651
|
+
* * Field Name: ProviderID
|
|
23652
|
+
* * Display Name: Provider ID
|
|
23653
|
+
* * SQL Data Type: uniqueidentifier
|
|
23654
|
+
* * Related Entity/Foreign Key: MJ: AI Bridge Providers (vwAIBridgeProviders.ID)
|
|
23655
|
+
*/
|
|
23656
|
+
get ProviderID(): string;
|
|
23657
|
+
set ProviderID(value: string);
|
|
23658
|
+
/**
|
|
23659
|
+
* * Field Name: Direction
|
|
23660
|
+
* * Display Name: Direction
|
|
23661
|
+
* * SQL Data Type: nvarchar(20)
|
|
23662
|
+
* * Default Value: Outbound
|
|
23663
|
+
* * Value List Type: List
|
|
23664
|
+
* * Possible Values
|
|
23665
|
+
* * Inbound
|
|
23666
|
+
* * Outbound
|
|
23667
|
+
* * Description: Direction of the connection: Outbound (the agent goes to a meeting / places a call) or Inbound (a meeting/call routes to the agent).
|
|
23668
|
+
*/
|
|
23669
|
+
get Direction(): 'Inbound' | 'Outbound';
|
|
23670
|
+
set Direction(value: 'Inbound' | 'Outbound');
|
|
23671
|
+
/**
|
|
23672
|
+
* * Field Name: JoinMethod
|
|
23673
|
+
* * Display Name: Join Method
|
|
23674
|
+
* * SQL Data Type: nvarchar(30)
|
|
23675
|
+
* * Default Value: OnDemand
|
|
23676
|
+
* * Value List Type: List
|
|
23677
|
+
* * Possible Values
|
|
23678
|
+
* * InMeetingCommand
|
|
23679
|
+
* * InboundRoute
|
|
23680
|
+
* * Invite
|
|
23681
|
+
* * NativeInvite
|
|
23682
|
+
* * OnDemand
|
|
23683
|
+
* * Scheduled
|
|
23684
|
+
* * Description: How the agent connected: OnDemand, Scheduled, Invite (calendar), NativeInvite (platform UI), InboundRoute (call/invite to the agent's identity), or InMeetingCommand (chat command).
|
|
23685
|
+
*/
|
|
23686
|
+
get JoinMethod(): 'InMeetingCommand' | 'InboundRoute' | 'Invite' | 'NativeInvite' | 'OnDemand' | 'Scheduled';
|
|
23687
|
+
set JoinMethod(value: 'InMeetingCommand' | 'InboundRoute' | 'Invite' | 'NativeInvite' | 'OnDemand' | 'Scheduled');
|
|
23688
|
+
/**
|
|
23689
|
+
* * Field Name: TurnMode
|
|
23690
|
+
* * Display Name: Turn Mode
|
|
23691
|
+
* * SQL Data Type: nvarchar(20)
|
|
23692
|
+
* * Default Value: Passive
|
|
23693
|
+
* * Value List Type: List
|
|
23694
|
+
* * Possible Values
|
|
23695
|
+
* * Active
|
|
23696
|
+
* * Hybrid
|
|
23697
|
+
* * Passive
|
|
23698
|
+
* * Description: Turn-taking mode for this bridged session: Passive (speak only when addressed — default), Active (proactive in silence windows), or Hybrid (passive voice + post-to-chat hand-raise).
|
|
23699
|
+
*/
|
|
23700
|
+
get TurnMode(): 'Active' | 'Hybrid' | 'Passive';
|
|
23701
|
+
set TurnMode(value: 'Active' | 'Hybrid' | 'Passive');
|
|
23702
|
+
/**
|
|
23703
|
+
* * Field Name: ExternalConnectionID
|
|
23704
|
+
* * Display Name: External Connection ID
|
|
23705
|
+
* * SQL Data Type: nvarchar(500)
|
|
23706
|
+
* * Description: The platform's identifier for the connection (meeting id / call SID), set once connecting.
|
|
23707
|
+
*/
|
|
23708
|
+
get ExternalConnectionID(): string | null;
|
|
23709
|
+
set ExternalConnectionID(value: string | null);
|
|
23710
|
+
/**
|
|
23711
|
+
* * Field Name: Address
|
|
23712
|
+
* * Display Name: Address
|
|
23713
|
+
* * SQL Data Type: nvarchar(2000)
|
|
23714
|
+
* * Description: The endpoint address: a meeting join URL (meetings) or a phone number (telephony).
|
|
23715
|
+
*/
|
|
23716
|
+
get Address(): string | null;
|
|
23717
|
+
set Address(value: string | null);
|
|
23718
|
+
/**
|
|
23719
|
+
* * Field Name: BotParticipantID
|
|
23720
|
+
* * Display Name: Bot Participant ID
|
|
23721
|
+
* * SQL Data Type: nvarchar(500)
|
|
23722
|
+
* * Description: The agent bot's own participant id within the meeting/call once admitted.
|
|
23723
|
+
*/
|
|
23724
|
+
get BotParticipantID(): string | null;
|
|
23725
|
+
set BotParticipantID(value: string | null);
|
|
23726
|
+
/**
|
|
23727
|
+
* * Field Name: Status
|
|
23728
|
+
* * Display Name: Status
|
|
23729
|
+
* * SQL Data Type: nvarchar(20)
|
|
23730
|
+
* * Default Value: Pending
|
|
23731
|
+
* * Value List Type: List
|
|
23732
|
+
* * Possible Values
|
|
23733
|
+
* * Connected
|
|
23734
|
+
* * Connecting
|
|
23735
|
+
* * Disconnected
|
|
23736
|
+
* * Disconnecting
|
|
23737
|
+
* * Failed
|
|
23738
|
+
* * Pending
|
|
23739
|
+
* * Scheduled
|
|
23740
|
+
* * Description: Bridge connection lifecycle: Pending, Scheduled, Connecting, Connected, Disconnecting, Disconnected, or Failed.
|
|
23741
|
+
*/
|
|
23742
|
+
get Status(): 'Connected' | 'Connecting' | 'Disconnected' | 'Disconnecting' | 'Failed' | 'Pending' | 'Scheduled';
|
|
23743
|
+
set Status(value: 'Connected' | 'Connecting' | 'Disconnected' | 'Disconnecting' | 'Failed' | 'Pending' | 'Scheduled');
|
|
23744
|
+
/**
|
|
23745
|
+
* * Field Name: ScheduledStartTime
|
|
23746
|
+
* * Display Name: Scheduled Start Time
|
|
23747
|
+
* * SQL Data Type: datetimeoffset
|
|
23748
|
+
* * Description: For scheduled/invite joins: when the bridge should connect. NULL for immediate (on-demand/inbound).
|
|
23749
|
+
*/
|
|
23750
|
+
get ScheduledStartTime(): Date | null;
|
|
23751
|
+
set ScheduledStartTime(value: Date | null);
|
|
23752
|
+
/**
|
|
23753
|
+
* * Field Name: ConnectedAt
|
|
23754
|
+
* * Display Name: Connected At
|
|
23755
|
+
* * SQL Data Type: datetimeoffset
|
|
23756
|
+
* * Description: When the bridge became Connected (media flowing). NULL until connected.
|
|
23757
|
+
*/
|
|
23758
|
+
get ConnectedAt(): Date | null;
|
|
23759
|
+
set ConnectedAt(value: Date | null);
|
|
23760
|
+
/**
|
|
23761
|
+
* * Field Name: DisconnectedAt
|
|
23762
|
+
* * Display Name: Disconnected At
|
|
23763
|
+
* * SQL Data Type: datetimeoffset
|
|
23764
|
+
* * Description: When the bridge disconnected. NULL while still connected.
|
|
23765
|
+
*/
|
|
23766
|
+
get DisconnectedAt(): Date | null;
|
|
23767
|
+
set DisconnectedAt(value: Date | null);
|
|
23768
|
+
/**
|
|
23769
|
+
* * Field Name: CloseReason
|
|
23770
|
+
* * Display Name: Close Reason
|
|
23771
|
+
* * SQL Data Type: nvarchar(20)
|
|
23772
|
+
* * Value List Type: List
|
|
23773
|
+
* * Possible Values
|
|
23774
|
+
* * Error
|
|
23775
|
+
* * Explicit
|
|
23776
|
+
* * HostEnded
|
|
23777
|
+
* * Janitor
|
|
23778
|
+
* * Shutdown
|
|
23779
|
+
* * Description: Why the bridge closed: Explicit, HostEnded (the meeting/call ended), Janitor (orphan sweep), Error, or Shutdown. NULL while active.
|
|
23780
|
+
*/
|
|
23781
|
+
get CloseReason(): 'Error' | 'Explicit' | 'HostEnded' | 'Janitor' | 'Shutdown' | null;
|
|
23782
|
+
set CloseReason(value: 'Error' | 'Explicit' | 'HostEnded' | 'Janitor' | 'Shutdown' | null);
|
|
23783
|
+
/**
|
|
23784
|
+
* * Field Name: HostInstanceID
|
|
23785
|
+
* * Display Name: Host Instance ID
|
|
23786
|
+
* * SQL Data Type: nvarchar(200)
|
|
23787
|
+
* * Description: Identifier of the server node currently hosting this bridge's bot connection (hostname:pid:bootId). Used for affinity and janitor orphan reconciliation, mirroring AIAgentSession.
|
|
23788
|
+
*/
|
|
23789
|
+
get HostInstanceID(): string | null;
|
|
23790
|
+
set HostInstanceID(value: string | null);
|
|
23791
|
+
/**
|
|
23792
|
+
* * Field Name: Config
|
|
23793
|
+
* * Display Name: Configuration
|
|
23794
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23795
|
+
* * Description: Per-session bridge configuration/state JSON (validated against the provider ConfigSchema).
|
|
23796
|
+
* * NOTE: Property renamed to `Config_` to avoid conflict with BaseEntity.Config
|
|
23797
|
+
*/
|
|
23798
|
+
get Config_(): string | null;
|
|
23799
|
+
set Config_(value: string | null);
|
|
23800
|
+
/**
|
|
23801
|
+
* * Field Name: __mj_CreatedAt
|
|
23802
|
+
* * Display Name: Created At
|
|
23803
|
+
* * SQL Data Type: datetimeoffset
|
|
23804
|
+
* * Default Value: getutcdate()
|
|
23805
|
+
*/
|
|
23806
|
+
get __mj_CreatedAt(): Date;
|
|
23807
|
+
/**
|
|
23808
|
+
* * Field Name: __mj_UpdatedAt
|
|
23809
|
+
* * Display Name: Updated At
|
|
23810
|
+
* * SQL Data Type: datetimeoffset
|
|
23811
|
+
* * Default Value: getutcdate()
|
|
23812
|
+
*/
|
|
23813
|
+
get __mj_UpdatedAt(): Date;
|
|
23814
|
+
/**
|
|
23815
|
+
* * Field Name: Provider
|
|
23816
|
+
* * Display Name: Provider
|
|
23817
|
+
* * SQL Data Type: nvarchar(100)
|
|
23818
|
+
*/
|
|
23819
|
+
get Provider(): string;
|
|
23820
|
+
}
|
|
23821
|
+
/**
|
|
23822
|
+
* MJ: AI Agent Session Channels - strongly typed entity sub-class
|
|
23823
|
+
* * Schema: __mj
|
|
23824
|
+
* * Base Table: AIAgentSessionChannel
|
|
23825
|
+
* * Base View: vwAIAgentSessionChannels
|
|
23826
|
+
* * Primary Key: ID
|
|
23827
|
+
* @extends {BaseEntity}
|
|
23828
|
+
* @class
|
|
23829
|
+
* @public
|
|
23830
|
+
*/
|
|
23831
|
+
export declare class MJAIAgentSessionChannelEntity extends BaseEntity<MJAIAgentSessionChannelEntityType> {
|
|
23832
|
+
/**
|
|
23833
|
+
* Loads the MJ: AI Agent Session Channels record from the database
|
|
23834
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Session Channels record.
|
|
23835
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23836
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23837
|
+
* @public
|
|
23838
|
+
* @async
|
|
23839
|
+
* @memberof MJAIAgentSessionChannelEntity
|
|
23840
|
+
* @method
|
|
23841
|
+
* @override
|
|
23842
|
+
*/
|
|
23843
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23844
|
+
/**
|
|
23845
|
+
* * Field Name: ID
|
|
23846
|
+
* * Display Name: ID
|
|
23847
|
+
* * SQL Data Type: uniqueidentifier
|
|
23848
|
+
* * Default Value: newsequentialid()
|
|
23849
|
+
*/
|
|
23850
|
+
get ID(): string;
|
|
23851
|
+
set ID(value: string);
|
|
23852
|
+
/**
|
|
23853
|
+
* * Field Name: AgentSessionID
|
|
23854
|
+
* * Display Name: Agent Session
|
|
23855
|
+
* * SQL Data Type: uniqueidentifier
|
|
23856
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Sessions (vwAIAgentSessions.ID)
|
|
23857
|
+
*/
|
|
23858
|
+
get AgentSessionID(): string;
|
|
23859
|
+
set AgentSessionID(value: string);
|
|
23860
|
+
/**
|
|
23861
|
+
* * Field Name: ChannelID
|
|
23862
|
+
* * Display Name: Channel ID
|
|
23863
|
+
* * SQL Data Type: uniqueidentifier
|
|
23864
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Channels (vwAIAgentChannels.ID)
|
|
23865
|
+
*/
|
|
23866
|
+
get ChannelID(): string;
|
|
23867
|
+
set ChannelID(value: string);
|
|
23868
|
+
/**
|
|
23869
|
+
* * Field Name: Status
|
|
23870
|
+
* * Display Name: Status
|
|
23871
|
+
* * SQL Data Type: nvarchar(20)
|
|
23872
|
+
* * Default Value: Connecting
|
|
23873
|
+
* * Value List Type: List
|
|
23874
|
+
* * Possible Values
|
|
23875
|
+
* * Connected
|
|
23876
|
+
* * Connecting
|
|
23877
|
+
* * Disconnected
|
|
23878
|
+
* * Paused
|
|
23879
|
+
* * Description: Connection status of this channel instance within the session.
|
|
23880
|
+
*/
|
|
23881
|
+
get Status(): 'Connected' | 'Connecting' | 'Disconnected' | 'Paused';
|
|
23882
|
+
set Status(value: 'Connected' | 'Connecting' | 'Disconnected' | 'Paused');
|
|
23883
|
+
/**
|
|
23884
|
+
* * Field Name: SocketUrl
|
|
23885
|
+
* * Display Name: Socket URL
|
|
23886
|
+
* * SQL Data Type: nvarchar(500)
|
|
23887
|
+
* * Description: Socket URL handed to the client for this channel. NULL for PubSub channels, which ride the shared session subscription rather than a dedicated socket.
|
|
23888
|
+
*/
|
|
23889
|
+
get SocketUrl(): string | null;
|
|
23890
|
+
set SocketUrl(value: string | null);
|
|
23891
|
+
/**
|
|
23892
|
+
* * Field Name: Config
|
|
23893
|
+
* * Display Name: Configuration
|
|
23894
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
23895
|
+
* * Description: JSON of per-instance channel configuration/state, validated against the channel definitions ConfigSchema.
|
|
23896
|
+
* * NOTE: Property renamed to `Config_` to avoid conflict with BaseEntity.Config
|
|
23897
|
+
*/
|
|
23898
|
+
get Config_(): string | null;
|
|
23899
|
+
set Config_(value: string | null);
|
|
23900
|
+
/**
|
|
23901
|
+
* * Field Name: LastActiveAt
|
|
23902
|
+
* * Display Name: Last Active At
|
|
23903
|
+
* * SQL Data Type: datetimeoffset
|
|
23904
|
+
* * Default Value: sysdatetimeoffset()
|
|
23905
|
+
* * Description: Timestamp of the last activity (or heartbeat) on this channel instance.
|
|
23906
|
+
*/
|
|
23907
|
+
get LastActiveAt(): Date;
|
|
23908
|
+
set LastActiveAt(value: Date);
|
|
23909
|
+
/**
|
|
23910
|
+
* * Field Name: DisconnectedAt
|
|
23911
|
+
* * Display Name: Disconnected At
|
|
23912
|
+
* * SQL Data Type: datetimeoffset
|
|
23913
|
+
* * Description: When this channel instance disconnected. NULL while still connected.
|
|
23914
|
+
*/
|
|
23915
|
+
get DisconnectedAt(): Date | null;
|
|
23916
|
+
set DisconnectedAt(value: Date | null);
|
|
23917
|
+
/**
|
|
23918
|
+
* * Field Name: __mj_CreatedAt
|
|
23919
|
+
* * Display Name: Created At
|
|
23920
|
+
* * SQL Data Type: datetimeoffset
|
|
23921
|
+
* * Default Value: getutcdate()
|
|
23922
|
+
*/
|
|
23923
|
+
get __mj_CreatedAt(): Date;
|
|
23924
|
+
/**
|
|
23925
|
+
* * Field Name: __mj_UpdatedAt
|
|
23926
|
+
* * Display Name: Updated At
|
|
23927
|
+
* * SQL Data Type: datetimeoffset
|
|
23928
|
+
* * Default Value: getutcdate()
|
|
23929
|
+
*/
|
|
23930
|
+
get __mj_UpdatedAt(): Date;
|
|
23931
|
+
/**
|
|
23932
|
+
* * Field Name: Channel
|
|
23933
|
+
* * Display Name: Channel
|
|
23934
|
+
* * SQL Data Type: nvarchar(100)
|
|
23935
|
+
*/
|
|
23936
|
+
get Channel(): string;
|
|
23937
|
+
}
|
|
23938
|
+
/**
|
|
23939
|
+
* MJ: AI Agent Sessions - strongly typed entity sub-class
|
|
23940
|
+
* * Schema: __mj
|
|
23941
|
+
* * Base Table: AIAgentSession
|
|
23942
|
+
* * Base View: vwAIAgentSessions
|
|
23943
|
+
* * Primary Key: ID
|
|
23944
|
+
* @extends {BaseEntity}
|
|
23945
|
+
* @class
|
|
23946
|
+
* @public
|
|
23947
|
+
*/
|
|
23948
|
+
export declare class MJAIAgentSessionEntity extends BaseEntity<MJAIAgentSessionEntityType> {
|
|
23949
|
+
/**
|
|
23950
|
+
* Loads the MJ: AI Agent Sessions record from the database
|
|
23951
|
+
* @param ID: string - primary key value to load the MJ: AI Agent Sessions record.
|
|
23952
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
23953
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
23954
|
+
* @public
|
|
23955
|
+
* @async
|
|
23956
|
+
* @memberof MJAIAgentSessionEntity
|
|
23957
|
+
* @method
|
|
23958
|
+
* @override
|
|
23959
|
+
*/
|
|
23960
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
23961
|
+
/**
|
|
23962
|
+
* * Field Name: ID
|
|
23963
|
+
* * Display Name: ID
|
|
23964
|
+
* * SQL Data Type: uniqueidentifier
|
|
23965
|
+
* * Default Value: newsequentialid()
|
|
23966
|
+
*/
|
|
23967
|
+
get ID(): string;
|
|
23968
|
+
set ID(value: string);
|
|
23969
|
+
/**
|
|
23970
|
+
* * Field Name: AgentID
|
|
23971
|
+
* * Display Name: Agent ID
|
|
23972
|
+
* * SQL Data Type: uniqueidentifier
|
|
23973
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
23974
|
+
*/
|
|
23975
|
+
get AgentID(): string;
|
|
23976
|
+
set AgentID(value: string);
|
|
23977
|
+
/**
|
|
23978
|
+
* * Field Name: UserID
|
|
23979
|
+
* * Display Name: User ID
|
|
23980
|
+
* * SQL Data Type: uniqueidentifier
|
|
23981
|
+
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
23982
|
+
*/
|
|
23983
|
+
get UserID(): string;
|
|
23984
|
+
set UserID(value: string);
|
|
23985
|
+
/**
|
|
23986
|
+
* * Field Name: Status
|
|
23987
|
+
* * Display Name: Status
|
|
23988
|
+
* * SQL Data Type: nvarchar(20)
|
|
23989
|
+
* * Default Value: Active
|
|
23990
|
+
* * Value List Type: List
|
|
23991
|
+
* * Possible Values
|
|
23992
|
+
* * Active
|
|
23993
|
+
* * Closed
|
|
23994
|
+
* * Idle
|
|
23995
|
+
* * Description: Lifecycle status of the session. Active = traffic flowing; Idle = connected but quiet beyond the idle threshold; Closed = terminal (ClosedAt set, channels disconnected).
|
|
23996
|
+
*/
|
|
23997
|
+
get Status(): 'Active' | 'Closed' | 'Idle';
|
|
23998
|
+
set Status(value: 'Active' | 'Closed' | 'Idle');
|
|
23999
|
+
/**
|
|
24000
|
+
* * Field Name: ConversationID
|
|
24001
|
+
* * Display Name: Conversation ID
|
|
24002
|
+
* * SQL Data Type: uniqueidentifier
|
|
24003
|
+
* * Related Entity/Foreign Key: MJ: Conversations (vwConversations.ID)
|
|
24004
|
+
*/
|
|
24005
|
+
get ConversationID(): string | null;
|
|
24006
|
+
set ConversationID(value: string | null);
|
|
24007
|
+
/**
|
|
24008
|
+
* * Field Name: LastSessionID
|
|
24009
|
+
* * Display Name: Last Session ID
|
|
24010
|
+
* * SQL Data Type: uniqueidentifier
|
|
24011
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Sessions (vwAIAgentSessions.ID)
|
|
24012
|
+
*/
|
|
24013
|
+
get LastSessionID(): string | null;
|
|
24014
|
+
set LastSessionID(value: string | null);
|
|
24015
|
+
/**
|
|
24016
|
+
* * Field Name: HostInstanceID
|
|
24017
|
+
* * Display Name: Host Instance ID
|
|
24018
|
+
* * SQL Data Type: nvarchar(200)
|
|
24019
|
+
* * Description: Identifier of the server node currently hosting this sessions in-memory sockets (e.g. hostname:pid:bootId). Used for affinity and janitor orphan reconciliation.
|
|
24020
|
+
*/
|
|
24021
|
+
get HostInstanceID(): string | null;
|
|
24022
|
+
set HostInstanceID(value: string | null);
|
|
24023
|
+
/**
|
|
24024
|
+
* * Field Name: Config
|
|
24025
|
+
* * Display Name: Configuration
|
|
24026
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24027
|
+
* * Description: JSON block for free-form, low-traffic session-specific state and variables.
|
|
24028
|
+
* * NOTE: Property renamed to `Config_` to avoid conflict with BaseEntity.Config
|
|
24029
|
+
*/
|
|
24030
|
+
get Config_(): string | null;
|
|
24031
|
+
set Config_(value: string | null);
|
|
24032
|
+
/**
|
|
24033
|
+
* * Field Name: LastActiveAt
|
|
24034
|
+
* * Display Name: Last Active At
|
|
24035
|
+
* * SQL Data Type: datetimeoffset
|
|
24036
|
+
* * Default Value: sysdatetimeoffset()
|
|
24037
|
+
* * Description: Timestamp of the last activity on the session. Bubbled up from the most-recently-active channel; used by the heartbeat and staleness sweep.
|
|
24038
|
+
*/
|
|
24039
|
+
get LastActiveAt(): Date;
|
|
24040
|
+
set LastActiveAt(value: Date);
|
|
24041
|
+
/**
|
|
24042
|
+
* * Field Name: ClosedAt
|
|
24043
|
+
* * Display Name: Closed At
|
|
24044
|
+
* * SQL Data Type: datetimeoffset
|
|
24045
|
+
* * Description: When the session was closed (terminal). NULL while the session is Active or Idle.
|
|
24046
|
+
*/
|
|
24047
|
+
get ClosedAt(): Date | null;
|
|
24048
|
+
set ClosedAt(value: Date | null);
|
|
24049
|
+
/**
|
|
24050
|
+
* * Field Name: CloseReason
|
|
24051
|
+
* * Display Name: Close Reason
|
|
24052
|
+
* * SQL Data Type: nvarchar(20)
|
|
24053
|
+
* * Value List Type: List
|
|
24054
|
+
* * Possible Values
|
|
24055
|
+
* * Error
|
|
24056
|
+
* * Explicit
|
|
24057
|
+
* * Janitor
|
|
24058
|
+
* * Shutdown
|
|
24059
|
+
* * Description: Why the session was closed: Explicit (user hang-up / deliberate API close), Janitor (orphan or staleness sweep), Shutdown (graceful server shutdown), Error (session failure). NULL while the session is Active/Idle.
|
|
24060
|
+
*/
|
|
24061
|
+
get CloseReason(): 'Error' | 'Explicit' | 'Janitor' | 'Shutdown' | null;
|
|
24062
|
+
set CloseReason(value: 'Error' | 'Explicit' | 'Janitor' | 'Shutdown' | null);
|
|
24063
|
+
/**
|
|
24064
|
+
* * Field Name: __mj_CreatedAt
|
|
24065
|
+
* * Display Name: Created At
|
|
24066
|
+
* * SQL Data Type: datetimeoffset
|
|
24067
|
+
* * Default Value: getutcdate()
|
|
24068
|
+
*/
|
|
24069
|
+
get __mj_CreatedAt(): Date;
|
|
24070
|
+
/**
|
|
24071
|
+
* * Field Name: __mj_UpdatedAt
|
|
24072
|
+
* * Display Name: Updated At
|
|
24073
|
+
* * SQL Data Type: datetimeoffset
|
|
24074
|
+
* * Default Value: getutcdate()
|
|
24075
|
+
*/
|
|
24076
|
+
get __mj_UpdatedAt(): Date;
|
|
24077
|
+
/**
|
|
24078
|
+
* * Field Name: Agent
|
|
24079
|
+
* * Display Name: Agent
|
|
24080
|
+
* * SQL Data Type: nvarchar(255)
|
|
24081
|
+
*/
|
|
24082
|
+
get Agent(): string | null;
|
|
24083
|
+
/**
|
|
24084
|
+
* * Field Name: User
|
|
24085
|
+
* * Display Name: User
|
|
24086
|
+
* * SQL Data Type: nvarchar(100)
|
|
24087
|
+
*/
|
|
24088
|
+
get User(): string;
|
|
24089
|
+
/**
|
|
24090
|
+
* * Field Name: Conversation
|
|
24091
|
+
* * Display Name: Conversation
|
|
24092
|
+
* * SQL Data Type: nvarchar(255)
|
|
24093
|
+
*/
|
|
24094
|
+
get Conversation(): string | null;
|
|
24095
|
+
/**
|
|
24096
|
+
* * Field Name: RootLastSessionID
|
|
24097
|
+
* * Display Name: Root Last Session ID
|
|
24098
|
+
* * SQL Data Type: uniqueidentifier
|
|
24099
|
+
*/
|
|
24100
|
+
get RootLastSessionID(): string | null;
|
|
24101
|
+
}
|
|
22676
24102
|
/**
|
|
22677
24103
|
* MJ: AI Agent Step Paths - strongly typed entity sub-class
|
|
22678
24104
|
* * Schema: __mj
|
|
@@ -23140,7 +24566,7 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
|
|
|
23140
24566
|
set SystemPromptID(value: string | null);
|
|
23141
24567
|
/**
|
|
23142
24568
|
* * Field Name: IsActive
|
|
23143
|
-
* * Display Name: Active
|
|
24569
|
+
* * Display Name: Is Active
|
|
23144
24570
|
* * SQL Data Type: bit
|
|
23145
24571
|
* * Default Value: 1
|
|
23146
24572
|
* * Description: Indicates whether this agent type is available for use. Inactive types cannot be assigned to new agents.
|
|
@@ -23204,7 +24630,7 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
|
|
|
23204
24630
|
set UIFormSectionExpandedByDefault(value: boolean);
|
|
23205
24631
|
/**
|
|
23206
24632
|
* * Field Name: PromptParamsSchema
|
|
23207
|
-
* * Display Name: Prompt
|
|
24633
|
+
* * Display Name: Prompt Parameters Schema
|
|
23208
24634
|
* * SQL Data Type: nvarchar(MAX)
|
|
23209
24635
|
* * Description: JSON Schema defining the available prompt parameters for this agent type. Includes property definitions with types, defaults, and descriptions. Used by agents of this type to customize which prompt sections are included in the system prompt. The schema follows JSON Schema draft-07 format.
|
|
23210
24636
|
*/
|
|
@@ -23228,8 +24654,24 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
|
|
|
23228
24654
|
get DefaultStorageAccountID(): string | null;
|
|
23229
24655
|
set DefaultStorageAccountID(value: string | null);
|
|
23230
24656
|
/**
|
|
24657
|
+
* * Field Name: ConfigSchema
|
|
24658
|
+
* * Display Name: Configuration Schema
|
|
24659
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24660
|
+
* * Description: JSON Schema (draft-07) describing the shape of TypeConfiguration payloads on agents of this type. When present, agent saves validate their TypeConfiguration against it server-side (MJAIAgentEntityServer.ValidateAsync); null = TypeConfiguration is freeform for this type.
|
|
24661
|
+
*/
|
|
24662
|
+
get ConfigSchema(): string | null;
|
|
24663
|
+
set ConfigSchema(value: string | null);
|
|
24664
|
+
/**
|
|
24665
|
+
* * Field Name: DefaultConfiguration
|
|
24666
|
+
* * Display Name: Default Configuration
|
|
24667
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24668
|
+
* * Description: Type-level DEFAULT configuration JSON for agents of this type — the base layer of the effective-configuration merge: type DefaultConfiguration <- agent TypeConfiguration <- runtime overrides (later layers win per key, deep-merged). Must itself conform to ConfigSchema when one is published. Null = no type defaults.
|
|
24669
|
+
*/
|
|
24670
|
+
get DefaultConfiguration(): string | null;
|
|
24671
|
+
set DefaultConfiguration(value: string | null);
|
|
24672
|
+
/**
|
|
23231
24673
|
* * Field Name: SystemPrompt
|
|
23232
|
-
* * Display Name: System Prompt
|
|
24674
|
+
* * Display Name: System Prompt Content
|
|
23233
24675
|
* * SQL Data Type: nvarchar(255)
|
|
23234
24676
|
*/
|
|
23235
24677
|
get SystemPrompt(): string | null;
|
|
@@ -23435,7 +24877,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
|
|
|
23435
24877
|
set EnableContextCompression(value: boolean);
|
|
23436
24878
|
/**
|
|
23437
24879
|
* * Field Name: ContextCompressionMessageThreshold
|
|
23438
|
-
* * Display Name: Compression Message Threshold
|
|
24880
|
+
* * Display Name: Context Compression Message Threshold
|
|
23439
24881
|
* * SQL Data Type: int
|
|
23440
24882
|
* * Description: Number of messages that triggers context compression when EnableContextCompression is true.
|
|
23441
24883
|
*/
|
|
@@ -23443,7 +24885,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
|
|
|
23443
24885
|
set ContextCompressionMessageThreshold(value: number | null);
|
|
23444
24886
|
/**
|
|
23445
24887
|
* * Field Name: ContextCompressionPromptID
|
|
23446
|
-
* * Display Name: Compression Prompt
|
|
24888
|
+
* * Display Name: Context Compression Prompt
|
|
23447
24889
|
* * SQL Data Type: uniqueidentifier
|
|
23448
24890
|
* * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
|
|
23449
24891
|
*/
|
|
@@ -23451,7 +24893,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
|
|
|
23451
24893
|
set ContextCompressionPromptID(value: string | null);
|
|
23452
24894
|
/**
|
|
23453
24895
|
* * Field Name: ContextCompressionMessageRetentionCount
|
|
23454
|
-
* * Display Name: Compression Retention Count
|
|
24896
|
+
* * Display Name: Context Compression Message Retention Count
|
|
23455
24897
|
* * SQL Data Type: int
|
|
23456
24898
|
* * Description: Number of recent messages to keep uncompressed when context compression is applied.
|
|
23457
24899
|
*/
|
|
@@ -23690,7 +25132,7 @@ if this limit is exceeded.
|
|
|
23690
25132
|
set DefaultArtifactTypeID(value: string | null);
|
|
23691
25133
|
/**
|
|
23692
25134
|
* * Field Name: OwnerUserID
|
|
23693
|
-
* * Display Name: Owner
|
|
25135
|
+
* * Display Name: Owner User
|
|
23694
25136
|
* * SQL Data Type: uniqueidentifier
|
|
23695
25137
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
23696
25138
|
* * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
|
|
@@ -23873,7 +25315,7 @@ if this limit is exceeded.
|
|
|
23873
25315
|
set AgentTypePromptParams(value: string | null);
|
|
23874
25316
|
/**
|
|
23875
25317
|
* * Field Name: ScopeConfig
|
|
23876
|
-
* * Display Name: Scope
|
|
25318
|
+
* * Display Name: Scope Config
|
|
23877
25319
|
* * SQL Data Type: nvarchar(MAX)
|
|
23878
25320
|
* * Description: JSON configuration defining scope dimensions for multi-tenant deployments. Example: {"dimensions":[{"name":"OrganizationID","entityId":"...","isPrimary":true,"required":true},{"name":"ContactID","entityId":"...","isPrimary":false,"required":false}],"inheritanceMode":"cascading"}
|
|
23879
25321
|
*/
|
|
@@ -23965,14 +25407,40 @@ if this limit is exceeded.
|
|
|
23965
25407
|
get AcceptUnregisteredFiles(): boolean;
|
|
23966
25408
|
set AcceptUnregisteredFiles(value: boolean);
|
|
23967
25409
|
/**
|
|
25410
|
+
* * Field Name: DefaultCoAgentID
|
|
25411
|
+
* * Display Name: Default Co-Agent
|
|
25412
|
+
* * SQL Data Type: uniqueidentifier
|
|
25413
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
25414
|
+
* * Description: Default co-agent (a Realtime-type AI Agent) that voices THIS agent in real-time sessions — a per-agent persona. Overridden by the runtime coAgentId parameter; NULL falls through to a type-level AIAgentCoAgent default row, then the global default co-agent.
|
|
25415
|
+
*/
|
|
25416
|
+
get DefaultCoAgentID(): string | null;
|
|
25417
|
+
set DefaultCoAgentID(value: string | null);
|
|
25418
|
+
/**
|
|
25419
|
+
* * Field Name: TypeConfiguration
|
|
25420
|
+
* * Display Name: Type Configuration
|
|
25421
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25422
|
+
* * Description: Agent-type-specific configuration JSON, validated against the agent type's ConfigSchema (when one is published) in the server-side entity subclass. For Realtime-type co-agents this holds the realtime profile: preferred model, per-provider voice settings, tone/speaking style (folded into the session system prompt at mint), user-override policy, and narration pacing. Null = type defaults apply.
|
|
25423
|
+
*/
|
|
25424
|
+
get TypeConfiguration(): string | null;
|
|
25425
|
+
set TypeConfiguration(value: string | null);
|
|
25426
|
+
/**
|
|
25427
|
+
* * Field Name: AllowMemoryWrite
|
|
25428
|
+
* * Display Name: Allow Memory Write
|
|
25429
|
+
* * SQL Data Type: bit
|
|
25430
|
+
* * Default Value: 1
|
|
25431
|
+
* * Description: When enabled, the agent may commit durable memories mid-run via the memoryWrites loop-response field. Writes are framework-guarded (type restriction, scope clamp, near-duplicate check, per-run cap) and land as Provisional notes pending Memory Manager hardening. On by default; disable for restricted or experimental agents.
|
|
25432
|
+
*/
|
|
25433
|
+
get AllowMemoryWrite(): boolean;
|
|
25434
|
+
set AllowMemoryWrite(value: boolean);
|
|
25435
|
+
/**
|
|
23968
25436
|
* * Field Name: Parent
|
|
23969
|
-
* * Display Name: Parent
|
|
25437
|
+
* * Display Name: Parent
|
|
23970
25438
|
* * SQL Data Type: nvarchar(255)
|
|
23971
25439
|
*/
|
|
23972
25440
|
get Parent(): string | null;
|
|
23973
25441
|
/**
|
|
23974
25442
|
* * Field Name: ContextCompressionPrompt
|
|
23975
|
-
* * Display Name: Compression Prompt
|
|
25443
|
+
* * Display Name: Context Compression Prompt
|
|
23976
25444
|
* * SQL Data Type: nvarchar(255)
|
|
23977
25445
|
*/
|
|
23978
25446
|
get ContextCompressionPrompt(): string | null;
|
|
@@ -23984,40 +25452,52 @@ if this limit is exceeded.
|
|
|
23984
25452
|
get Type(): string | null;
|
|
23985
25453
|
/**
|
|
23986
25454
|
* * Field Name: DefaultArtifactType
|
|
23987
|
-
* * Display Name: Default Artifact Type
|
|
25455
|
+
* * Display Name: Default Artifact Type
|
|
23988
25456
|
* * SQL Data Type: nvarchar(100)
|
|
23989
25457
|
*/
|
|
23990
25458
|
get DefaultArtifactType(): string | null;
|
|
23991
25459
|
/**
|
|
23992
25460
|
* * Field Name: OwnerUser
|
|
23993
|
-
* * Display Name: Owner
|
|
25461
|
+
* * Display Name: Owner User
|
|
23994
25462
|
* * SQL Data Type: nvarchar(100)
|
|
23995
25463
|
*/
|
|
23996
25464
|
get OwnerUser(): string;
|
|
23997
25465
|
/**
|
|
23998
25466
|
* * Field Name: AttachmentStorageProvider
|
|
23999
|
-
* * Display Name: Attachment Storage Provider
|
|
25467
|
+
* * Display Name: Attachment Storage Provider
|
|
24000
25468
|
* * SQL Data Type: nvarchar(50)
|
|
24001
25469
|
*/
|
|
24002
25470
|
get AttachmentStorageProvider(): string | null;
|
|
24003
25471
|
/**
|
|
24004
25472
|
* * Field Name: Category
|
|
24005
|
-
* * Display Name: Category
|
|
25473
|
+
* * Display Name: Category
|
|
24006
25474
|
* * SQL Data Type: nvarchar(200)
|
|
24007
25475
|
*/
|
|
24008
25476
|
get Category(): string | null;
|
|
24009
25477
|
/**
|
|
24010
25478
|
* * Field Name: DefaultStorageAccount
|
|
24011
|
-
* * Display Name: Default Storage Account
|
|
25479
|
+
* * Display Name: Default Storage Account
|
|
24012
25480
|
* * SQL Data Type: nvarchar(200)
|
|
24013
25481
|
*/
|
|
24014
25482
|
get DefaultStorageAccount(): string | null;
|
|
24015
25483
|
/**
|
|
25484
|
+
* * Field Name: DefaultCoAgent
|
|
25485
|
+
* * Display Name: Default Co-Agent
|
|
25486
|
+
* * SQL Data Type: nvarchar(255)
|
|
25487
|
+
*/
|
|
25488
|
+
get DefaultCoAgent(): string | null;
|
|
25489
|
+
/**
|
|
24016
25490
|
* * Field Name: RootParentID
|
|
24017
|
-
* * Display Name: Root Parent
|
|
25491
|
+
* * Display Name: Root Parent ID
|
|
24018
25492
|
* * SQL Data Type: uniqueidentifier
|
|
24019
25493
|
*/
|
|
24020
25494
|
get RootParentID(): string | null;
|
|
25495
|
+
/**
|
|
25496
|
+
* * Field Name: RootDefaultCoAgentID
|
|
25497
|
+
* * Display Name: Root Default Co-Agent ID
|
|
25498
|
+
* * SQL Data Type: uniqueidentifier
|
|
25499
|
+
*/
|
|
25500
|
+
get RootDefaultCoAgentID(): string | null;
|
|
24021
25501
|
}
|
|
24022
25502
|
/**
|
|
24023
25503
|
* MJ: AI Architectures - strongly typed entity sub-class
|
|
@@ -24135,6 +25615,411 @@ export declare class MJAIArchitectureEntity extends BaseEntity<MJAIArchitectureE
|
|
|
24135
25615
|
*/
|
|
24136
25616
|
get RootParentArchitectureID(): string | null;
|
|
24137
25617
|
}
|
|
25618
|
+
/**
|
|
25619
|
+
* MJ: AI Bridge Agent Identities - strongly typed entity sub-class
|
|
25620
|
+
* * Schema: __mj
|
|
25621
|
+
* * Base Table: AIBridgeAgentIdentity
|
|
25622
|
+
* * Base View: vwAIBridgeAgentIdentities
|
|
25623
|
+
* * Primary Key: ID
|
|
25624
|
+
* @extends {BaseEntity}
|
|
25625
|
+
* @class
|
|
25626
|
+
* @public
|
|
25627
|
+
*/
|
|
25628
|
+
export declare class MJAIBridgeAgentIdentityEntity extends BaseEntity<MJAIBridgeAgentIdentityEntityType> {
|
|
25629
|
+
/**
|
|
25630
|
+
* Loads the MJ: AI Bridge Agent Identities record from the database
|
|
25631
|
+
* @param ID: string - primary key value to load the MJ: AI Bridge Agent Identities record.
|
|
25632
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
25633
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
25634
|
+
* @public
|
|
25635
|
+
* @async
|
|
25636
|
+
* @memberof MJAIBridgeAgentIdentityEntity
|
|
25637
|
+
* @method
|
|
25638
|
+
* @override
|
|
25639
|
+
*/
|
|
25640
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
25641
|
+
/**
|
|
25642
|
+
* * Field Name: ID
|
|
25643
|
+
* * Display Name: ID
|
|
25644
|
+
* * SQL Data Type: uniqueidentifier
|
|
25645
|
+
* * Default Value: newsequentialid()
|
|
25646
|
+
*/
|
|
25647
|
+
get ID(): string;
|
|
25648
|
+
set ID(value: string);
|
|
25649
|
+
/**
|
|
25650
|
+
* * Field Name: AgentID
|
|
25651
|
+
* * Display Name: Agent
|
|
25652
|
+
* * SQL Data Type: uniqueidentifier
|
|
25653
|
+
* * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
|
|
25654
|
+
*/
|
|
25655
|
+
get AgentID(): string;
|
|
25656
|
+
set AgentID(value: string);
|
|
25657
|
+
/**
|
|
25658
|
+
* * Field Name: ProviderID
|
|
25659
|
+
* * Display Name: Provider ID
|
|
25660
|
+
* * SQL Data Type: uniqueidentifier
|
|
25661
|
+
* * Related Entity/Foreign Key: MJ: AI Bridge Providers (vwAIBridgeProviders.ID)
|
|
25662
|
+
*/
|
|
25663
|
+
get ProviderID(): string;
|
|
25664
|
+
set ProviderID(value: string);
|
|
25665
|
+
/**
|
|
25666
|
+
* * Field Name: IdentityType
|
|
25667
|
+
* * Display Name: Identity Type
|
|
25668
|
+
* * SQL Data Type: nvarchar(20)
|
|
25669
|
+
* * Value List Type: List
|
|
25670
|
+
* * Possible Values
|
|
25671
|
+
* * AccountID
|
|
25672
|
+
* * Email
|
|
25673
|
+
* * PhoneNumber
|
|
25674
|
+
* * Description: The kind of address: Email (a calendar mailbox organizers invite), PhoneNumber (an inbound DID), or AccountID (a platform-native bot/user account).
|
|
25675
|
+
*/
|
|
25676
|
+
get IdentityType(): 'AccountID' | 'Email' | 'PhoneNumber';
|
|
25677
|
+
set IdentityType(value: 'AccountID' | 'Email' | 'PhoneNumber');
|
|
25678
|
+
/**
|
|
25679
|
+
* * Field Name: IdentityValue
|
|
25680
|
+
* * Display Name: Identity Value
|
|
25681
|
+
* * SQL Data Type: nvarchar(500)
|
|
25682
|
+
* * Description: The address value itself (e.g. sage@customer.com, +15551234567, or a platform account id). Unique per provider.
|
|
25683
|
+
*/
|
|
25684
|
+
get IdentityValue(): string;
|
|
25685
|
+
set IdentityValue(value: string);
|
|
25686
|
+
/**
|
|
25687
|
+
* * Field Name: DisplayName
|
|
25688
|
+
* * Display Name: Display Name
|
|
25689
|
+
* * SQL Data Type: nvarchar(255)
|
|
25690
|
+
* * Description: Friendly display name shown to other participants (e.g. "Sage (AI)").
|
|
25691
|
+
*/
|
|
25692
|
+
get DisplayName(): string | null;
|
|
25693
|
+
set DisplayName(value: string | null);
|
|
25694
|
+
/**
|
|
25695
|
+
* * Field Name: IsActive
|
|
25696
|
+
* * Display Name: Is Active
|
|
25697
|
+
* * SQL Data Type: bit
|
|
25698
|
+
* * Default Value: 1
|
|
25699
|
+
* * Description: Whether this identity is active. Inactive identities are ignored by invite watchers and inbound routing.
|
|
25700
|
+
*/
|
|
25701
|
+
get IsActive(): boolean;
|
|
25702
|
+
set IsActive(value: boolean);
|
|
25703
|
+
/**
|
|
25704
|
+
* * Field Name: Configuration
|
|
25705
|
+
* * Display Name: Configuration
|
|
25706
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25707
|
+
* * Description: Identity-level configuration JSON (e.g. tenant/mailbox references, calendar-watch scopes). Credentials resolve via the MJ credential system; never inline.
|
|
25708
|
+
*/
|
|
25709
|
+
get Configuration(): string | null;
|
|
25710
|
+
set Configuration(value: string | null);
|
|
25711
|
+
/**
|
|
25712
|
+
* * Field Name: __mj_CreatedAt
|
|
25713
|
+
* * Display Name: Created At
|
|
25714
|
+
* * SQL Data Type: datetimeoffset
|
|
25715
|
+
* * Default Value: getutcdate()
|
|
25716
|
+
*/
|
|
25717
|
+
get __mj_CreatedAt(): Date;
|
|
25718
|
+
/**
|
|
25719
|
+
* * Field Name: __mj_UpdatedAt
|
|
25720
|
+
* * Display Name: Updated At
|
|
25721
|
+
* * SQL Data Type: datetimeoffset
|
|
25722
|
+
* * Default Value: getutcdate()
|
|
25723
|
+
*/
|
|
25724
|
+
get __mj_UpdatedAt(): Date;
|
|
25725
|
+
/**
|
|
25726
|
+
* * Field Name: Agent
|
|
25727
|
+
* * Display Name: Agent Name
|
|
25728
|
+
* * SQL Data Type: nvarchar(255)
|
|
25729
|
+
*/
|
|
25730
|
+
get Agent(): string | null;
|
|
25731
|
+
/**
|
|
25732
|
+
* * Field Name: Provider
|
|
25733
|
+
* * Display Name: Provider Name
|
|
25734
|
+
* * SQL Data Type: nvarchar(100)
|
|
25735
|
+
*/
|
|
25736
|
+
get Provider(): string;
|
|
25737
|
+
}
|
|
25738
|
+
/**
|
|
25739
|
+
* MJ: AI Bridge Provider Channels - strongly typed entity sub-class
|
|
25740
|
+
* * Schema: __mj
|
|
25741
|
+
* * Base Table: AIBridgeProviderChannel
|
|
25742
|
+
* * Base View: vwAIBridgeProviderChannels
|
|
25743
|
+
* * Primary Key: ID
|
|
25744
|
+
* @extends {BaseEntity}
|
|
25745
|
+
* @class
|
|
25746
|
+
* @public
|
|
25747
|
+
*/
|
|
25748
|
+
export declare class MJAIBridgeProviderChannelEntity extends BaseEntity<MJAIBridgeProviderChannelEntityType> {
|
|
25749
|
+
/**
|
|
25750
|
+
* Loads the MJ: AI Bridge Provider Channels record from the database
|
|
25751
|
+
* @param ID: string - primary key value to load the MJ: AI Bridge Provider Channels record.
|
|
25752
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
25753
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
25754
|
+
* @public
|
|
25755
|
+
* @async
|
|
25756
|
+
* @memberof MJAIBridgeProviderChannelEntity
|
|
25757
|
+
* @method
|
|
25758
|
+
* @override
|
|
25759
|
+
*/
|
|
25760
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
25761
|
+
/**
|
|
25762
|
+
* * Field Name: ID
|
|
25763
|
+
* * Display Name: ID
|
|
25764
|
+
* * SQL Data Type: uniqueidentifier
|
|
25765
|
+
* * Default Value: newsequentialid()
|
|
25766
|
+
*/
|
|
25767
|
+
get ID(): string;
|
|
25768
|
+
set ID(value: string);
|
|
25769
|
+
/**
|
|
25770
|
+
* * Field Name: ProviderID
|
|
25771
|
+
* * Display Name: Provider
|
|
25772
|
+
* * SQL Data Type: uniqueidentifier
|
|
25773
|
+
* * Related Entity/Foreign Key: MJ: AI Bridge Providers (vwAIBridgeProviders.ID)
|
|
25774
|
+
*/
|
|
25775
|
+
get ProviderID(): string;
|
|
25776
|
+
set ProviderID(value: string);
|
|
25777
|
+
/**
|
|
25778
|
+
* * Field Name: ChannelID
|
|
25779
|
+
* * Display Name: Channel
|
|
25780
|
+
* * SQL Data Type: uniqueidentifier
|
|
25781
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Channels (vwAIAgentChannels.ID)
|
|
25782
|
+
*/
|
|
25783
|
+
get ChannelID(): string;
|
|
25784
|
+
set ChannelID(value: string);
|
|
25785
|
+
/**
|
|
25786
|
+
* * Field Name: IsDefault
|
|
25787
|
+
* * Display Name: Is Default
|
|
25788
|
+
* * SQL Data Type: bit
|
|
25789
|
+
* * Default Value: 1
|
|
25790
|
+
* * Description: When 1, this channel is auto-attached to a new bridge session on this provider; when 0, it is available but attached on demand.
|
|
25791
|
+
*/
|
|
25792
|
+
get IsDefault(): boolean;
|
|
25793
|
+
set IsDefault(value: boolean);
|
|
25794
|
+
/**
|
|
25795
|
+
* * Field Name: Sequence
|
|
25796
|
+
* * Display Name: Sequence
|
|
25797
|
+
* * SQL Data Type: int
|
|
25798
|
+
* * Default Value: 0
|
|
25799
|
+
* * Description: Display/attachment order of this channel for the provider (ascending).
|
|
25800
|
+
*/
|
|
25801
|
+
get Sequence(): number;
|
|
25802
|
+
set Sequence(value: number);
|
|
25803
|
+
/**
|
|
25804
|
+
* * Field Name: Configuration
|
|
25805
|
+
* * Display Name: Configuration
|
|
25806
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25807
|
+
* * Description: Optional per-provider configuration JSON for this channel contribution (e.g. mapping platform tool names to the channel's tool vocabulary).
|
|
25808
|
+
*/
|
|
25809
|
+
get Configuration(): string | null;
|
|
25810
|
+
set Configuration(value: string | null);
|
|
25811
|
+
/**
|
|
25812
|
+
* * Field Name: __mj_CreatedAt
|
|
25813
|
+
* * Display Name: Created At
|
|
25814
|
+
* * SQL Data Type: datetimeoffset
|
|
25815
|
+
* * Default Value: getutcdate()
|
|
25816
|
+
*/
|
|
25817
|
+
get __mj_CreatedAt(): Date;
|
|
25818
|
+
/**
|
|
25819
|
+
* * Field Name: __mj_UpdatedAt
|
|
25820
|
+
* * Display Name: Updated At
|
|
25821
|
+
* * SQL Data Type: datetimeoffset
|
|
25822
|
+
* * Default Value: getutcdate()
|
|
25823
|
+
*/
|
|
25824
|
+
get __mj_UpdatedAt(): Date;
|
|
25825
|
+
/**
|
|
25826
|
+
* * Field Name: Provider
|
|
25827
|
+
* * Display Name: Provider Name
|
|
25828
|
+
* * SQL Data Type: nvarchar(100)
|
|
25829
|
+
*/
|
|
25830
|
+
get Provider(): string;
|
|
25831
|
+
/**
|
|
25832
|
+
* * Field Name: Channel
|
|
25833
|
+
* * Display Name: Channel Name
|
|
25834
|
+
* * SQL Data Type: nvarchar(100)
|
|
25835
|
+
*/
|
|
25836
|
+
get Channel(): string;
|
|
25837
|
+
}
|
|
25838
|
+
/**
|
|
25839
|
+
* Strongly-typed shape of `AIBridgeProvider.SupportedFeatures` (the `MJ: AI Bridge Providers`
|
|
25840
|
+
* entity), bound to the column via JSONType metadata so CodeGen emits a typed accessor.
|
|
25841
|
+
*
|
|
25842
|
+
* A *bridge* connects the one realtime agent engine to an external endpoint — a meeting
|
|
25843
|
+
* (Zoom/Teams/Slack/Meet/Webex/Discord) or a phone call (Twilio/Vonage/RingCentral/VOIP). These
|
|
25844
|
+
* flags declare what each platform's bridge driver supports. The bridge engine **gates** every
|
|
25845
|
+
* optional driver call on the matching flag; `BaseRealtimeBridge` additionally throws
|
|
25846
|
+
* `BridgeCapabilityNotSupportedError` if a feature is claimed here but the driver hasn't
|
|
25847
|
+
* implemented it (defense-in-depth). All properties are optional — an omitted flag means the
|
|
25848
|
+
* feature is **not** supported.
|
|
25849
|
+
*
|
|
25850
|
+
* Holding these as JSON (rather than dedicated BIT columns) keeps the table simple and lets new
|
|
25851
|
+
* platform features be added without a schema migration — just extend this interface.
|
|
25852
|
+
*
|
|
25853
|
+
* NOTE: *interactive* surfaces (hand-raise, in-meeting chat, native whiteboard) are deliberately
|
|
25854
|
+
* NOT here. Those are CHANNELS the bridge contributes (`RealtimeBridgeProviderChannel` →
|
|
25855
|
+
* `AIAgentChannel`), understood the same way as MJ-native channels. This interface is
|
|
25856
|
+
* transport/media capabilities only.
|
|
25857
|
+
*
|
|
25858
|
+
* See `/plans/realtime/realtime-bridges-architecture.md`.
|
|
25859
|
+
*/
|
|
25860
|
+
export interface MJAIBridgeProviderEntity_IBridgeProviderFeatures {
|
|
25861
|
+
/** The agent can join on demand from a supplied join URL/ID. */
|
|
25862
|
+
OnDemandJoin?: boolean;
|
|
25863
|
+
/** The agent can be scheduled to join a known meeting at a future start time. */
|
|
25864
|
+
ScheduledJoin?: boolean;
|
|
25865
|
+
/** The agent can be invited like a person via its calendar/email identity (a watcher joins at start). */
|
|
25866
|
+
InviteJoin?: boolean;
|
|
25867
|
+
/** A host can add the agent from inside the platform's own UI (requires a marketplace app). */
|
|
25868
|
+
NativeInvite?: boolean;
|
|
25869
|
+
/** Inbound connections (a call/invite to the agent's identity) route TO the agent. */
|
|
25870
|
+
InboundRouting?: boolean;
|
|
25871
|
+
/** Telephony: the agent can place outbound calls. */
|
|
25872
|
+
OutboundDial?: boolean;
|
|
25873
|
+
/** Inbound audio: the agent hears the meeting/call (routed to IRealtimeSession.SendInput). */
|
|
25874
|
+
AudioIn?: boolean;
|
|
25875
|
+
/** Outbound audio: the agent speaks into the meeting/call (fed from IRealtimeSession.OnOutput). */
|
|
25876
|
+
AudioOut?: boolean;
|
|
25877
|
+
/** Inbound video: the agent sees participants' video (forward-looking for full-duplex video models). */
|
|
25878
|
+
VideoIn?: boolean;
|
|
25879
|
+
/** Outbound video: the agent shows video. */
|
|
25880
|
+
VideoOut?: boolean;
|
|
25881
|
+
/** Inbound screen-share: the agent sees a shared screen. */
|
|
25882
|
+
ScreenIn?: boolean;
|
|
25883
|
+
/** Outbound screen-share: e.g. the Remote Browser channel screen-sharing a live demo. */
|
|
25884
|
+
ScreenOut?: boolean;
|
|
25885
|
+
/** Inbound audio carries per-speaker labels (diarized transcripts + addressed-speaker turn-taking). */
|
|
25886
|
+
SpeakerDiarization?: boolean;
|
|
25887
|
+
/** Telephony: the bridge can send/receive DTMF tones. */
|
|
25888
|
+
DTMF?: boolean;
|
|
25889
|
+
/** Telephony: the bridge can transfer a call to another party. */
|
|
25890
|
+
CallTransfer?: boolean;
|
|
25891
|
+
/** The bridge can request platform recording (subject to per-jurisdiction consent handling). */
|
|
25892
|
+
Recording?: boolean;
|
|
25893
|
+
}
|
|
25894
|
+
/**
|
|
25895
|
+
* MJ: AI Bridge Providers - strongly typed entity sub-class
|
|
25896
|
+
* * Schema: __mj
|
|
25897
|
+
* * Base Table: AIBridgeProvider
|
|
25898
|
+
* * Base View: vwAIBridgeProviders
|
|
25899
|
+
* * Primary Key: ID
|
|
25900
|
+
* @extends {BaseEntity}
|
|
25901
|
+
* @class
|
|
25902
|
+
* @public
|
|
25903
|
+
*/
|
|
25904
|
+
export declare class MJAIBridgeProviderEntity extends BaseEntity<MJAIBridgeProviderEntityType> {
|
|
25905
|
+
/**
|
|
25906
|
+
* Loads the MJ: AI Bridge Providers record from the database
|
|
25907
|
+
* @param ID: string - primary key value to load the MJ: AI Bridge Providers record.
|
|
25908
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
25909
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
25910
|
+
* @public
|
|
25911
|
+
* @async
|
|
25912
|
+
* @memberof MJAIBridgeProviderEntity
|
|
25913
|
+
* @method
|
|
25914
|
+
* @override
|
|
25915
|
+
*/
|
|
25916
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
25917
|
+
/**
|
|
25918
|
+
* * Field Name: ID
|
|
25919
|
+
* * Display Name: ID
|
|
25920
|
+
* * SQL Data Type: uniqueidentifier
|
|
25921
|
+
* * Default Value: newsequentialid()
|
|
25922
|
+
*/
|
|
25923
|
+
get ID(): string;
|
|
25924
|
+
set ID(value: string);
|
|
25925
|
+
/**
|
|
25926
|
+
* * Field Name: Name
|
|
25927
|
+
* * Display Name: Name
|
|
25928
|
+
* * SQL Data Type: nvarchar(100)
|
|
25929
|
+
* * Description: Unique platform name (e.g. Zoom, Microsoft Teams, Google Meet, Webex, Slack, Discord, RingCentral, Twilio, Vonage, LiveKit).
|
|
25930
|
+
*/
|
|
25931
|
+
get Name(): string;
|
|
25932
|
+
set Name(value: string);
|
|
25933
|
+
/**
|
|
25934
|
+
* * Field Name: Description
|
|
25935
|
+
* * Display Name: Description
|
|
25936
|
+
* * SQL Data Type: nvarchar(1000)
|
|
25937
|
+
* * Description: Optional human-readable description of the platform / driver.
|
|
25938
|
+
*/
|
|
25939
|
+
get Description(): string | null;
|
|
25940
|
+
set Description(value: string | null);
|
|
25941
|
+
/**
|
|
25942
|
+
* * Field Name: BridgeType
|
|
25943
|
+
* * Display Name: Bridge Type
|
|
25944
|
+
* * SQL Data Type: nvarchar(20)
|
|
25945
|
+
* * Default Value: Meeting
|
|
25946
|
+
* * Value List Type: List
|
|
25947
|
+
* * Possible Values
|
|
25948
|
+
* * Meeting
|
|
25949
|
+
* * Telephony
|
|
25950
|
+
* * Description: The family of endpoint this bridge connects to: Meeting (a conferencing room) or Telephony (a phone call). LiveKit (MJ-native multi-party room) is a Meeting.
|
|
25951
|
+
*/
|
|
25952
|
+
get BridgeType(): 'Meeting' | 'Telephony';
|
|
25953
|
+
set BridgeType(value: 'Meeting' | 'Telephony');
|
|
25954
|
+
/**
|
|
25955
|
+
* * Field Name: DriverClass
|
|
25956
|
+
* * Display Name: Driver Class
|
|
25957
|
+
* * SQL Data Type: nvarchar(250)
|
|
25958
|
+
* * Description: Driver key resolved at runtime via MJGlobal.ClassFactory.CreateInstance(BaseRealtimeBridge, DriverClass). MUST match the @RegisterClass key on the concrete bridge driver.
|
|
25959
|
+
*/
|
|
25960
|
+
get DriverClass(): string;
|
|
25961
|
+
set DriverClass(value: string);
|
|
25962
|
+
/**
|
|
25963
|
+
* * Field Name: Status
|
|
25964
|
+
* * Display Name: Status
|
|
25965
|
+
* * SQL Data Type: nvarchar(20)
|
|
25966
|
+
* * Default Value: Active
|
|
25967
|
+
* * Value List Type: List
|
|
25968
|
+
* * Possible Values
|
|
25969
|
+
* * Active
|
|
25970
|
+
* * Disabled
|
|
25971
|
+
* * Description: Whether this provider is available for use. Inactive providers cannot start new bridge sessions.
|
|
25972
|
+
*/
|
|
25973
|
+
get Status(): 'Active' | 'Disabled';
|
|
25974
|
+
set Status(value: 'Active' | 'Disabled');
|
|
25975
|
+
/**
|
|
25976
|
+
* * Field Name: SupportedFeatures
|
|
25977
|
+
* * Display Name: Supported Features
|
|
25978
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25979
|
+
* * JSON Type: MJAIBridgeProviderEntity_IBridgeProviderFeatures
|
|
25980
|
+
* * Description: Strongly-typed JSON of the platform's supported features (the IBridgeProviderFeatures interface, bound via JSONType metadata): join methods (OnDemandJoin, ScheduledJoin, InviteJoin, NativeInvite, InboundRouting, OutboundDial), directional media tracks (AudioIn/Out, VideoIn/Out, ScreenIn/Out), and signals (SpeakerDiarization, DTMF, CallTransfer, Recording). The engine gates optional driver calls on these flags; the base driver throws BridgeCapabilityNotSupportedError when a feature is claimed but unimplemented. Held as JSON so new features need no schema change. NULL/omitted = unsupported.
|
|
25981
|
+
*/
|
|
25982
|
+
get SupportedFeatures(): string | null;
|
|
25983
|
+
set SupportedFeatures(value: string | null);
|
|
25984
|
+
private _SupportedFeaturesObject_cached;
|
|
25985
|
+
private _SupportedFeaturesObject_lastRaw;
|
|
25986
|
+
/**
|
|
25987
|
+
* Typed accessor for SupportedFeatures — returns parsed JSON as MJAIBridgeProviderEntity_IBridgeProviderFeatures.
|
|
25988
|
+
* Uses lazy parsing with cache invalidation when the underlying raw value changes.
|
|
25989
|
+
*/
|
|
25990
|
+
get SupportedFeaturesObject(): MJAIBridgeProviderEntity_IBridgeProviderFeatures | null;
|
|
25991
|
+
set SupportedFeaturesObject(value: MJAIBridgeProviderEntity_IBridgeProviderFeatures | null);
|
|
25992
|
+
/**
|
|
25993
|
+
* * Field Name: ConfigSchema
|
|
25994
|
+
* * Display Name: Configuration Schema
|
|
25995
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
25996
|
+
* * Description: Optional JSON Schema validating the provider Configuration and per-session bridge Config payloads.
|
|
25997
|
+
*/
|
|
25998
|
+
get ConfigSchema(): string | null;
|
|
25999
|
+
set ConfigSchema(value: string | null);
|
|
26000
|
+
/**
|
|
26001
|
+
* * Field Name: Configuration
|
|
26002
|
+
* * Display Name: Configuration
|
|
26003
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
26004
|
+
* * Description: Provider-level configuration JSON (e.g. credential references resolved via the MJ credential system, region, bot display name). Never store secrets inline.
|
|
26005
|
+
*/
|
|
26006
|
+
get Configuration(): string | null;
|
|
26007
|
+
set Configuration(value: string | null);
|
|
26008
|
+
/**
|
|
26009
|
+
* * Field Name: __mj_CreatedAt
|
|
26010
|
+
* * Display Name: Created At
|
|
26011
|
+
* * SQL Data Type: datetimeoffset
|
|
26012
|
+
* * Default Value: getutcdate()
|
|
26013
|
+
*/
|
|
26014
|
+
get __mj_CreatedAt(): Date;
|
|
26015
|
+
/**
|
|
26016
|
+
* * Field Name: __mj_UpdatedAt
|
|
26017
|
+
* * Display Name: Updated At
|
|
26018
|
+
* * SQL Data Type: datetimeoffset
|
|
26019
|
+
* * Default Value: getutcdate()
|
|
26020
|
+
*/
|
|
26021
|
+
get __mj_UpdatedAt(): Date;
|
|
26022
|
+
}
|
|
24138
26023
|
/**
|
|
24139
26024
|
* MJ: AI Client Tool Definitions - strongly typed entity sub-class
|
|
24140
26025
|
* * Schema: __mj
|
|
@@ -28250,6 +30135,223 @@ export declare class MJAIPromptEntity extends BaseEntity<MJAIPromptEntityType> {
|
|
|
28250
30135
|
*/
|
|
28251
30136
|
get RootResultSelectorPromptID(): string | null;
|
|
28252
30137
|
}
|
|
30138
|
+
/**
|
|
30139
|
+
* Strongly-typed shape of `AIRemoteBrowserProvider.SupportedFeatures` (the
|
|
30140
|
+
* `MJ: AI Remote Browser Providers` entity), bound to the column via JSONType metadata so
|
|
30141
|
+
* CodeGen emits a typed accessor.
|
|
30142
|
+
*
|
|
30143
|
+
* A *remote browser provider* is a backend that hosts a real, live browser the Remote Browser
|
|
30144
|
+
* channel drives while an agent talks — self-hosted headless Chrome (MJ orchestrates a
|
|
30145
|
+
* lightweight container) or a browser-as-a-service (Browserbase / Steel / Browserless /
|
|
30146
|
+
* Hyperbrowser). Every backend sits on the SAME primitive: a Chrome DevTools Protocol (CDP)
|
|
30147
|
+
* endpoint that `@memberjunction/computer-use` attaches to. These flags declare what each
|
|
30148
|
+
* backend's driver supports. The Remote Browser engine **gates** every optional driver call on
|
|
30149
|
+
* the matching flag; `BaseRemoteBrowserProvider` additionally throws
|
|
30150
|
+
* `RemoteBrowserCapabilityNotSupportedError` if a feature is claimed here but the driver hasn't
|
|
30151
|
+
* implemented it (defense-in-depth — exactly like the bridge `IBridgeProviderFeatures` model).
|
|
30152
|
+
* All properties are optional — an omitted flag means the feature is **not** supported.
|
|
30153
|
+
*
|
|
30154
|
+
* Holding these as JSON (rather than dedicated BIT columns) keeps the table simple and lets new
|
|
30155
|
+
* backend capabilities be added without a schema migration — just extend this interface.
|
|
30156
|
+
*
|
|
30157
|
+
* NOTE: control *mode* (AgentOnly / ViewOnly / Collaborative) is NOT a feature flag — it is a
|
|
30158
|
+
* per-provider default (`DefaultControlMode`) plus a per-channel / runtime override. A mode only
|
|
30159
|
+
* has to be *supported* by the underlying capabilities here (Collaborative needs
|
|
30160
|
+
* {@link MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures.HumanTakeover}; ViewOnly/Collaborative need
|
|
30161
|
+
* {@link MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures.LiveView}).
|
|
30162
|
+
*
|
|
30163
|
+
* See `/plans/realtime/realtime-bridges-architecture.md` (§4d).
|
|
30164
|
+
*/
|
|
30165
|
+
export interface MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures {
|
|
30166
|
+
/**
|
|
30167
|
+
* The backend exposes a raw CDP endpoint MJ's computer-use layer connects to and drives
|
|
30168
|
+
* directly. This is the UNIVERSAL substrate — every backend supports it — and the default
|
|
30169
|
+
* control strategy: the realtime agent emits tool calls and our adapter executes DOM actions.
|
|
30170
|
+
*/
|
|
30171
|
+
RawCdpControl?: boolean;
|
|
30172
|
+
/**
|
|
30173
|
+
* The backend offers a FIRST-PARTY AI-control harness invoked via its API (e.g. Browserbase
|
|
30174
|
+
* Stagehand's act/extract/observe). An optional accelerator for heavy, robust, autonomous
|
|
30175
|
+
* automation — the engine may delegate high-level intents to it where available and opted-in,
|
|
30176
|
+
* instead of the default computer-use loop. (OSS Stagehand-over-CDP is a control *strategy*
|
|
30177
|
+
* the engine can run over RawCdpControl on any backend; this flag is specifically a provider's
|
|
30178
|
+
* own hosted harness.)
|
|
30179
|
+
*/
|
|
30180
|
+
NativeAIControl?: boolean;
|
|
30181
|
+
/**
|
|
30182
|
+
* The backend exposes a live-view stream / embeddable session URL so humans can watch the
|
|
30183
|
+
* browser without MJ encoding frames itself. Required for ViewOnly and Collaborative modes.
|
|
30184
|
+
*/
|
|
30185
|
+
LiveView?: boolean;
|
|
30186
|
+
/**
|
|
30187
|
+
* A human can take the wheel — their pointer/keyboard events route into the backend's browser.
|
|
30188
|
+
* Required for Collaborative mode (e.g. a trainer agent: demonstrate, then "your turn").
|
|
30189
|
+
*/
|
|
30190
|
+
HumanTakeover?: boolean;
|
|
30191
|
+
/**
|
|
30192
|
+
* A continuous video stream of the viewport is available (CDP `Page.startScreencast` for
|
|
30193
|
+
* self-host, or the provider's live-view stream) — the source for the channel's ScreenOut
|
|
30194
|
+
* track when screen-sharing the browser into a meeting.
|
|
30195
|
+
*/
|
|
30196
|
+
ScreenStreaming?: boolean;
|
|
30197
|
+
/** Anti-bot stealth / fingerprint evasion for sites that block automation. */
|
|
30198
|
+
Stealth?: boolean;
|
|
30199
|
+
/** Outbound traffic routes through a (geo-)proxy / controlled egress. */
|
|
30200
|
+
ProxyEgress?: boolean;
|
|
30201
|
+
/** The backend records the session (video / trace) for later review. */
|
|
30202
|
+
SessionRecording?: boolean;
|
|
30203
|
+
/** Persistent browser profiles / authenticated contexts survive across sessions. */
|
|
30204
|
+
PersistentContext?: boolean;
|
|
30205
|
+
/** Multiple tabs / pages within one session. */
|
|
30206
|
+
MultiTab?: boolean;
|
|
30207
|
+
/** File downloads triggered in the browser are captured and retrievable. */
|
|
30208
|
+
FileDownloads?: boolean;
|
|
30209
|
+
/** Built-in CAPTCHA solving. */
|
|
30210
|
+
CaptchaSolving?: boolean;
|
|
30211
|
+
}
|
|
30212
|
+
/**
|
|
30213
|
+
* MJ: AI Remote Browser Providers - strongly typed entity sub-class
|
|
30214
|
+
* * Schema: __mj
|
|
30215
|
+
* * Base Table: AIRemoteBrowserProvider
|
|
30216
|
+
* * Base View: vwAIRemoteBrowserProviders
|
|
30217
|
+
* * Primary Key: ID
|
|
30218
|
+
* @extends {BaseEntity}
|
|
30219
|
+
* @class
|
|
30220
|
+
* @public
|
|
30221
|
+
*/
|
|
30222
|
+
export declare class MJAIRemoteBrowserProviderEntity extends BaseEntity<MJAIRemoteBrowserProviderEntityType> {
|
|
30223
|
+
/**
|
|
30224
|
+
* Loads the MJ: AI Remote Browser Providers record from the database
|
|
30225
|
+
* @param ID: string - primary key value to load the MJ: AI Remote Browser Providers record.
|
|
30226
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
30227
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
30228
|
+
* @public
|
|
30229
|
+
* @async
|
|
30230
|
+
* @memberof MJAIRemoteBrowserProviderEntity
|
|
30231
|
+
* @method
|
|
30232
|
+
* @override
|
|
30233
|
+
*/
|
|
30234
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
30235
|
+
/**
|
|
30236
|
+
* * Field Name: ID
|
|
30237
|
+
* * Display Name: ID
|
|
30238
|
+
* * SQL Data Type: uniqueidentifier
|
|
30239
|
+
* * Default Value: newsequentialid()
|
|
30240
|
+
*/
|
|
30241
|
+
get ID(): string;
|
|
30242
|
+
set ID(value: string);
|
|
30243
|
+
/**
|
|
30244
|
+
* * Field Name: Name
|
|
30245
|
+
* * Display Name: Name
|
|
30246
|
+
* * SQL Data Type: nvarchar(100)
|
|
30247
|
+
* * Description: Unique backend name (e.g. Self-Hosted Chrome, Browserbase, Steel, Browserless, Hyperbrowser).
|
|
30248
|
+
*/
|
|
30249
|
+
get Name(): string;
|
|
30250
|
+
set Name(value: string);
|
|
30251
|
+
/**
|
|
30252
|
+
* * Field Name: Description
|
|
30253
|
+
* * Display Name: Description
|
|
30254
|
+
* * SQL Data Type: nvarchar(1000)
|
|
30255
|
+
* * Description: Optional human-readable description of the backend / driver.
|
|
30256
|
+
*/
|
|
30257
|
+
get Description(): string | null;
|
|
30258
|
+
set Description(value: string | null);
|
|
30259
|
+
/**
|
|
30260
|
+
* * Field Name: ProviderType
|
|
30261
|
+
* * Display Name: Provider Type
|
|
30262
|
+
* * SQL Data Type: nvarchar(20)
|
|
30263
|
+
* * Default Value: Service
|
|
30264
|
+
* * Value List Type: List
|
|
30265
|
+
* * Possible Values
|
|
30266
|
+
* * SelfHost
|
|
30267
|
+
* * Service
|
|
30268
|
+
* * Description: How the browser is hosted: SelfHost (MJ orchestrates a lightweight headless-Chrome container we connect to over CDP) or Service (a browser-as-a-service such as Browserbase/Steel/Browserless/Hyperbrowser exposes a CDP connect endpoint).
|
|
30269
|
+
*/
|
|
30270
|
+
get ProviderType(): 'SelfHost' | 'Service';
|
|
30271
|
+
set ProviderType(value: 'SelfHost' | 'Service');
|
|
30272
|
+
/**
|
|
30273
|
+
* * Field Name: DriverClass
|
|
30274
|
+
* * Display Name: Driver Class
|
|
30275
|
+
* * SQL Data Type: nvarchar(250)
|
|
30276
|
+
* * Description: Driver key resolved at runtime via MJGlobal.ClassFactory.CreateInstance(BaseRemoteBrowserProvider, DriverClass). MUST match the @RegisterClass key on the concrete provider driver.
|
|
30277
|
+
*/
|
|
30278
|
+
get DriverClass(): string;
|
|
30279
|
+
set DriverClass(value: string);
|
|
30280
|
+
/**
|
|
30281
|
+
* * Field Name: Status
|
|
30282
|
+
* * Display Name: Status
|
|
30283
|
+
* * SQL Data Type: nvarchar(20)
|
|
30284
|
+
* * Default Value: Active
|
|
30285
|
+
* * Value List Type: List
|
|
30286
|
+
* * Possible Values
|
|
30287
|
+
* * Active
|
|
30288
|
+
* * Disabled
|
|
30289
|
+
* * Description: Whether this backend is available for use. Disabled backends cannot start new remote-browser sessions.
|
|
30290
|
+
*/
|
|
30291
|
+
get Status(): 'Active' | 'Disabled';
|
|
30292
|
+
set Status(value: 'Active' | 'Disabled');
|
|
30293
|
+
/**
|
|
30294
|
+
* * Field Name: SupportedFeatures
|
|
30295
|
+
* * Display Name: Supported Features
|
|
30296
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
30297
|
+
* * JSON Type: MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures
|
|
30298
|
+
* * Description: Strongly-typed JSON of the backend's supported features (the IRemoteBrowserProviderFeatures interface, bound via JSONType metadata): the universal CDP-control substrate (RawCdpControl), an optional provider-native AI-control harness (NativeAIControl, e.g. Browserbase Stagehand), LiveView, HumanTakeover, ScreenStreaming, and operational capabilities (Stealth, ProxyEgress, SessionRecording, PersistentContext, MultiTab, FileDownloads, CaptchaSolving). The engine gates optional driver calls on these flags; the base driver throws RemoteBrowserCapabilityNotSupportedError when a feature is claimed but unimplemented. Held as JSON so new features need no schema change. NULL/omitted = unsupported.
|
|
30299
|
+
*/
|
|
30300
|
+
get SupportedFeatures(): string | null;
|
|
30301
|
+
set SupportedFeatures(value: string | null);
|
|
30302
|
+
private _SupportedFeaturesObject_cached;
|
|
30303
|
+
private _SupportedFeaturesObject_lastRaw;
|
|
30304
|
+
/**
|
|
30305
|
+
* Typed accessor for SupportedFeatures — returns parsed JSON as MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures.
|
|
30306
|
+
* Uses lazy parsing with cache invalidation when the underlying raw value changes.
|
|
30307
|
+
*/
|
|
30308
|
+
get SupportedFeaturesObject(): MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures | null;
|
|
30309
|
+
set SupportedFeaturesObject(value: MJAIRemoteBrowserProviderEntity_IRemoteBrowserProviderFeatures | null);
|
|
30310
|
+
/**
|
|
30311
|
+
* * Field Name: DefaultControlMode
|
|
30312
|
+
* * Display Name: Default Control Mode
|
|
30313
|
+
* * SQL Data Type: nvarchar(20)
|
|
30314
|
+
* * Default Value: AgentOnly
|
|
30315
|
+
* * Value List Type: List
|
|
30316
|
+
* * Possible Values
|
|
30317
|
+
* * AgentOnly
|
|
30318
|
+
* * Collaborative
|
|
30319
|
+
* * ViewOnly
|
|
30320
|
+
* * Description: Default control mode for channels using this backend, overridable per-channel and at runtime: AgentOnly (only the agent drives — e.g. a sales demo), ViewOnly (the agent drives while humans watch the live view but cannot take over), or Collaborative (a human can grab the wheel — e.g. a trainer agent that demonstrates then watches the user try). The backend must support the capabilities a mode requires (HumanTakeover for Collaborative, LiveView for ViewOnly/Collaborative).
|
|
30321
|
+
*/
|
|
30322
|
+
get DefaultControlMode(): 'AgentOnly' | 'Collaborative' | 'ViewOnly';
|
|
30323
|
+
set DefaultControlMode(value: 'AgentOnly' | 'Collaborative' | 'ViewOnly');
|
|
30324
|
+
/**
|
|
30325
|
+
* * Field Name: ConfigSchema
|
|
30326
|
+
* * Display Name: Config Schema
|
|
30327
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
30328
|
+
* * Description: Optional JSON Schema validating the backend Configuration and per-session remote-browser Config payloads.
|
|
30329
|
+
*/
|
|
30330
|
+
get ConfigSchema(): string | null;
|
|
30331
|
+
set ConfigSchema(value: string | null);
|
|
30332
|
+
/**
|
|
30333
|
+
* * Field Name: Configuration
|
|
30334
|
+
* * Display Name: Configuration
|
|
30335
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
30336
|
+
* * Description: Backend-level configuration JSON (e.g. API region, default Chrome container image for SelfHost, credential references resolved via the MJ credential system, egress proxy settings). Never store secrets inline.
|
|
30337
|
+
*/
|
|
30338
|
+
get Configuration(): string | null;
|
|
30339
|
+
set Configuration(value: string | null);
|
|
30340
|
+
/**
|
|
30341
|
+
* * Field Name: __mj_CreatedAt
|
|
30342
|
+
* * Display Name: Created At
|
|
30343
|
+
* * SQL Data Type: datetimeoffset
|
|
30344
|
+
* * Default Value: getutcdate()
|
|
30345
|
+
*/
|
|
30346
|
+
get __mj_CreatedAt(): Date;
|
|
30347
|
+
/**
|
|
30348
|
+
* * Field Name: __mj_UpdatedAt
|
|
30349
|
+
* * Display Name: Updated At
|
|
30350
|
+
* * SQL Data Type: datetimeoffset
|
|
30351
|
+
* * Default Value: getutcdate()
|
|
30352
|
+
*/
|
|
30353
|
+
get __mj_UpdatedAt(): Date;
|
|
30354
|
+
}
|
|
28253
30355
|
/**
|
|
28254
30356
|
* MJ: AI Result Cache - strongly typed entity sub-class
|
|
28255
30357
|
* * Schema: __mj
|
|
@@ -37540,9 +39642,9 @@ export declare class MJConversationDetailArtifactEntity extends BaseEntity<MJCon
|
|
|
37540
39642
|
/**
|
|
37541
39643
|
* * Field Name: ConversationDetail
|
|
37542
39644
|
* * Display Name: Conversation Detail Summary
|
|
37543
|
-
* * SQL Data Type: nvarchar(
|
|
39645
|
+
* * SQL Data Type: nvarchar(100)
|
|
37544
39646
|
*/
|
|
37545
|
-
get ConversationDetail(): string;
|
|
39647
|
+
get ConversationDetail(): string | null;
|
|
37546
39648
|
/**
|
|
37547
39649
|
* * Field Name: ArtifactVersion
|
|
37548
39650
|
* * Display Name: Artifact Version Summary
|
|
@@ -37731,9 +39833,9 @@ export declare class MJConversationDetailAttachmentEntity extends BaseEntity<MJC
|
|
|
37731
39833
|
/**
|
|
37732
39834
|
* * Field Name: ConversationDetail
|
|
37733
39835
|
* * Display Name: Conversation Detail Record
|
|
37734
|
-
* * SQL Data Type: nvarchar(
|
|
39836
|
+
* * SQL Data Type: nvarchar(100)
|
|
37735
39837
|
*/
|
|
37736
|
-
get ConversationDetail(): string;
|
|
39838
|
+
get ConversationDetail(): string | null;
|
|
37737
39839
|
/**
|
|
37738
39840
|
* * Field Name: Modality
|
|
37739
39841
|
* * Display Name: Modality Record
|
|
@@ -37851,9 +39953,9 @@ export declare class MJConversationDetailRatingEntity extends BaseEntity<MJConve
|
|
|
37851
39953
|
/**
|
|
37852
39954
|
* * Field Name: ConversationDetail
|
|
37853
39955
|
* * Display Name: Conversation Detail
|
|
37854
|
-
* * SQL Data Type: nvarchar(
|
|
39956
|
+
* * SQL Data Type: nvarchar(100)
|
|
37855
39957
|
*/
|
|
37856
|
-
get ConversationDetail(): string;
|
|
39958
|
+
get ConversationDetail(): string | null;
|
|
37857
39959
|
/**
|
|
37858
39960
|
* * Field Name: User
|
|
37859
39961
|
* * Display Name: User
|
|
@@ -37966,7 +40068,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
37966
40068
|
set Error(value: string | null);
|
|
37967
40069
|
/**
|
|
37968
40070
|
* * Field Name: HiddenToUser
|
|
37969
|
-
* * Display Name: Hidden
|
|
40071
|
+
* * Display Name: Hidden to User
|
|
37970
40072
|
* * SQL Data Type: bit
|
|
37971
40073
|
* * Default Value: 0
|
|
37972
40074
|
* * Description: Flag indicating if this message should be hidden from end users (system messages, function calls, etc.).
|
|
@@ -38013,7 +40115,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38013
40115
|
set ReflectionInsights(value: string | null);
|
|
38014
40116
|
/**
|
|
38015
40117
|
* * Field Name: SummaryOfEarlierConversation
|
|
38016
|
-
* * Display Name: Summary
|
|
40118
|
+
* * Display Name: Conversation Summary
|
|
38017
40119
|
* * SQL Data Type: nvarchar(MAX)
|
|
38018
40120
|
* * Description: This column optionally stores a summary of the entire conversation leading up to this particular conversation detail record. It is used in long-running conversations to optimize performance by summarizing earlier parts.
|
|
38019
40121
|
*/
|
|
@@ -38050,7 +40152,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38050
40152
|
set ArtifactVersionID(value: string | null);
|
|
38051
40153
|
/**
|
|
38052
40154
|
* * Field Name: CompletionTime
|
|
38053
|
-
* * Display Name: Completion Time
|
|
40155
|
+
* * Display Name: Completion Time (ms)
|
|
38054
40156
|
* * SQL Data Type: bigint
|
|
38055
40157
|
* * Description: Duration in milliseconds representing how long the AI response processing took to complete for this conversation detail.
|
|
38056
40158
|
*/
|
|
@@ -38058,7 +40160,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38058
40160
|
set CompletionTime(value: number | null);
|
|
38059
40161
|
/**
|
|
38060
40162
|
* * Field Name: IsPinned
|
|
38061
|
-
* * Display Name:
|
|
40163
|
+
* * Display Name: Pinned
|
|
38062
40164
|
* * SQL Data Type: bit
|
|
38063
40165
|
* * Default Value: 0
|
|
38064
40166
|
* * Description: Indicates if this message is pinned within the conversation for easy reference
|
|
@@ -38067,7 +40169,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38067
40169
|
set IsPinned(value: boolean);
|
|
38068
40170
|
/**
|
|
38069
40171
|
* * Field Name: ParentID
|
|
38070
|
-
* * Display Name: Parent
|
|
40172
|
+
* * Display Name: Parent Message
|
|
38071
40173
|
* * SQL Data Type: uniqueidentifier
|
|
38072
40174
|
* * Related Entity/Foreign Key: MJ: Conversation Details (vwConversationDetails.ID)
|
|
38073
40175
|
* * Description: Optional reference to parent message for threaded conversations. NULL for top-level messages.
|
|
@@ -38099,7 +40201,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38099
40201
|
set Status(value: 'Complete' | 'Error' | 'In-Progress');
|
|
38100
40202
|
/**
|
|
38101
40203
|
* * Field Name: SuggestedResponses
|
|
38102
|
-
* * Display Name: Suggested Responses
|
|
40204
|
+
* * Display Name: Suggested Responses (Legacy)
|
|
38103
40205
|
* *
|
|
38104
40206
|
* * @deprecated This field is deprecated and will be removed in a future version. Using it will result in console warnings.SQL Data Type: nvarchar(MAX)
|
|
38105
40207
|
* * Description: DEPRECATED: Use ResponseForm, ActionableCommands, and AutomaticCommands instead. Legacy field for simple text-based suggested responses. Replaced in v2.118 by more powerful structured forms and commands system. Retained for historical data only.
|
|
@@ -38141,7 +40243,7 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38141
40243
|
set AutomaticCommands(value: string | null);
|
|
38142
40244
|
/**
|
|
38143
40245
|
* * Field Name: OriginalMessageChanged
|
|
38144
|
-
* * Display Name:
|
|
40246
|
+
* * Display Name: Message Modified
|
|
38145
40247
|
* * SQL Data Type: bit
|
|
38146
40248
|
* * Default Value: 0
|
|
38147
40249
|
* * Description: Indicates if the original message content was modified after initial creation. Set automatically by the server when the Message field is changed on update.
|
|
@@ -38149,50 +40251,59 @@ export declare class MJConversationDetailEntity extends BaseEntity<MJConversatio
|
|
|
38149
40251
|
get OriginalMessageChanged(): boolean;
|
|
38150
40252
|
set OriginalMessageChanged(value: boolean);
|
|
38151
40253
|
/**
|
|
40254
|
+
* * Field Name: AgentSessionID
|
|
40255
|
+
* * Display Name: Agent Session
|
|
40256
|
+
* * SQL Data Type: uniqueidentifier
|
|
40257
|
+
* * Related Entity/Foreign Key: MJ: AI Agent Sessions (vwAIAgentSessions.ID)
|
|
40258
|
+
* * Description: Links this message to the AIAgentSession that was active when it was created. NULL for messages typed in standard text chat outside any live session. Lets the conversation timeline group a sessions messages into a single collapsible block.
|
|
40259
|
+
*/
|
|
40260
|
+
get AgentSessionID(): string | null;
|
|
40261
|
+
set AgentSessionID(value: string | null);
|
|
40262
|
+
/**
|
|
38152
40263
|
* * Field Name: Conversation
|
|
38153
|
-
* * Display Name: Conversation
|
|
40264
|
+
* * Display Name: Conversation Reference
|
|
38154
40265
|
* * SQL Data Type: nvarchar(255)
|
|
38155
40266
|
*/
|
|
38156
40267
|
get Conversation(): string | null;
|
|
38157
40268
|
/**
|
|
38158
40269
|
* * Field Name: User
|
|
38159
|
-
* * Display Name: User
|
|
40270
|
+
* * Display Name: User Reference
|
|
38160
40271
|
* * SQL Data Type: nvarchar(100)
|
|
38161
40272
|
*/
|
|
38162
40273
|
get User(): string | null;
|
|
38163
40274
|
/**
|
|
38164
40275
|
* * Field Name: Artifact
|
|
38165
|
-
* * Display Name: Artifact
|
|
40276
|
+
* * Display Name: Artifact Reference
|
|
38166
40277
|
* * SQL Data Type: nvarchar(255)
|
|
38167
40278
|
*/
|
|
38168
40279
|
get Artifact(): string | null;
|
|
38169
40280
|
/**
|
|
38170
40281
|
* * Field Name: ArtifactVersion
|
|
38171
|
-
* * Display Name: Artifact Version
|
|
40282
|
+
* * Display Name: Artifact Version Reference
|
|
38172
40283
|
* * SQL Data Type: nvarchar(255)
|
|
38173
40284
|
*/
|
|
38174
40285
|
get ArtifactVersion(): string | null;
|
|
38175
40286
|
/**
|
|
38176
40287
|
* * Field Name: Parent
|
|
38177
|
-
* * Display Name: Parent
|
|
38178
|
-
* * SQL Data Type: nvarchar(
|
|
40288
|
+
* * Display Name: Parent Reference
|
|
40289
|
+
* * SQL Data Type: nvarchar(100)
|
|
38179
40290
|
*/
|
|
38180
40291
|
get Parent(): string | null;
|
|
38181
40292
|
/**
|
|
38182
40293
|
* * Field Name: Agent
|
|
38183
|
-
* * Display Name: Agent
|
|
40294
|
+
* * Display Name: Agent Reference
|
|
38184
40295
|
* * SQL Data Type: nvarchar(255)
|
|
38185
40296
|
*/
|
|
38186
40297
|
get Agent(): string | null;
|
|
38187
40298
|
/**
|
|
38188
40299
|
* * Field Name: TestRun
|
|
38189
|
-
* * Display Name: Test Run
|
|
40300
|
+
* * Display Name: Test Run Reference
|
|
38190
40301
|
* * SQL Data Type: nvarchar(255)
|
|
38191
40302
|
*/
|
|
38192
40303
|
get TestRun(): string | null;
|
|
38193
40304
|
/**
|
|
38194
40305
|
* * Field Name: RootParentID
|
|
38195
|
-
* * Display Name: Root Parent
|
|
40306
|
+
* * Display Name: Root Parent ID
|
|
38196
40307
|
* * SQL Data Type: uniqueidentifier
|
|
38197
40308
|
*/
|
|
38198
40309
|
get RootParentID(): string | null;
|
|
@@ -55497,7 +57608,7 @@ export declare class MJReportEntity extends BaseEntity<MJReportEntityType> {
|
|
|
55497
57608
|
/**
|
|
55498
57609
|
* * Field Name: ConversationDetail
|
|
55499
57610
|
* * Display Name: Conversation Detail Name
|
|
55500
|
-
* * SQL Data Type: nvarchar(
|
|
57611
|
+
* * SQL Data Type: nvarchar(100)
|
|
55501
57612
|
*/
|
|
55502
57613
|
get ConversationDetail(): string | null;
|
|
55503
57614
|
/**
|
|
@@ -56652,7 +58763,7 @@ export declare class MJScheduledJobEntity extends BaseEntity<MJScheduledJobEntit
|
|
|
56652
58763
|
set ID(value: string);
|
|
56653
58764
|
/**
|
|
56654
58765
|
* * Field Name: JobTypeID
|
|
56655
|
-
* * Display Name: Job Type
|
|
58766
|
+
* * Display Name: Job Type
|
|
56656
58767
|
* * SQL Data Type: uniqueidentifier
|
|
56657
58768
|
* * Related Entity/Foreign Key: MJ: Scheduled Job Types (vwScheduledJobTypes.ID)
|
|
56658
58769
|
*/
|
|
@@ -56733,7 +58844,7 @@ export declare class MJScheduledJobEntity extends BaseEntity<MJScheduledJobEntit
|
|
|
56733
58844
|
set Configuration(value: string | null);
|
|
56734
58845
|
/**
|
|
56735
58846
|
* * Field Name: OwnerUserID
|
|
56736
|
-
* * Display Name: Owner
|
|
58847
|
+
* * Display Name: Owner
|
|
56737
58848
|
* * SQL Data Type: uniqueidentifier
|
|
56738
58849
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
56739
58850
|
* * Description: User who owns this schedule. Used as the execution context if no specific user is configured in the job-specific configuration.
|
|
@@ -56803,7 +58914,7 @@ export declare class MJScheduledJobEntity extends BaseEntity<MJScheduledJobEntit
|
|
|
56803
58914
|
set NotifyOnFailure(value: boolean);
|
|
56804
58915
|
/**
|
|
56805
58916
|
* * Field Name: NotifyUserID
|
|
56806
|
-
* * Display Name: Notify User
|
|
58917
|
+
* * Display Name: Notify User
|
|
56807
58918
|
* * SQL Data Type: uniqueidentifier
|
|
56808
58919
|
* * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
|
|
56809
58920
|
* * Description: User to notify about job execution results. If NULL and notifications are enabled, falls back to OwnerUserID.
|
|
@@ -56898,20 +59009,28 @@ export declare class MJScheduledJobEntity extends BaseEntity<MJScheduledJobEntit
|
|
|
56898
59009
|
get RunImmediatelyIfNeverRun(): boolean;
|
|
56899
59010
|
set RunImmediatelyIfNeverRun(value: boolean);
|
|
56900
59011
|
/**
|
|
59012
|
+
* * Field Name: MaxRuntimeMinutes
|
|
59013
|
+
* * Display Name: Max Runtime (Minutes)
|
|
59014
|
+
* * SQL Data Type: int
|
|
59015
|
+
* * Description: Optional per-job override for the acquire-time lock lease length, in minutes. When set and positive, the engine uses max(default lease, MaxRuntimeMinutes) as the initial ExpectedCompletionAt — so it only ever EXTENDS the default lease, never shrinks it. Intended for jobs whose work is a single long-running call that cannot heartbeat mid-flight (e.g. one slow synchronous action). Jobs that heartbeat via the plugin opt-in pattern do not need this. NULL = use the engine default lease (LeaseTimeoutMinutes). See plans/scheduled-job-engine-heartbeat-lease.md (GH #2749).
|
|
59016
|
+
*/
|
|
59017
|
+
get MaxRuntimeMinutes(): number | null;
|
|
59018
|
+
set MaxRuntimeMinutes(value: number | null);
|
|
59019
|
+
/**
|
|
56901
59020
|
* * Field Name: JobType
|
|
56902
|
-
* * Display Name: Job Type
|
|
59021
|
+
* * Display Name: Job Type Name
|
|
56903
59022
|
* * SQL Data Type: nvarchar(100)
|
|
56904
59023
|
*/
|
|
56905
59024
|
get JobType(): string;
|
|
56906
59025
|
/**
|
|
56907
59026
|
* * Field Name: OwnerUser
|
|
56908
|
-
* * Display Name: Owner User
|
|
59027
|
+
* * Display Name: Owner User Name
|
|
56909
59028
|
* * SQL Data Type: nvarchar(100)
|
|
56910
59029
|
*/
|
|
56911
59030
|
get OwnerUser(): string | null;
|
|
56912
59031
|
/**
|
|
56913
59032
|
* * Field Name: NotifyUser
|
|
56914
|
-
* * Display Name: Notify User
|
|
59033
|
+
* * Display Name: Notify User Name
|
|
56915
59034
|
* * SQL Data Type: nvarchar(100)
|
|
56916
59035
|
*/
|
|
56917
59036
|
get NotifyUser(): string | null;
|
|
@@ -60505,7 +62624,7 @@ export declare class MJTaskEntity extends BaseEntity<MJTaskEntityType> {
|
|
|
60505
62624
|
/**
|
|
60506
62625
|
* * Field Name: ConversationDetail
|
|
60507
62626
|
* * Display Name: Conversation Detail Name
|
|
60508
|
-
* * SQL Data Type: nvarchar(
|
|
62627
|
+
* * SQL Data Type: nvarchar(100)
|
|
60509
62628
|
*/
|
|
60510
62629
|
get ConversationDetail(): string | null;
|
|
60511
62630
|
/**
|