@memberjunction/core-entities 5.10.1 → 5.12.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.
@@ -296,7 +296,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
296
296
  Name: z.ZodString;
297
297
  DefaultValue: z.ZodNullable<z.ZodString>;
298
298
  Type: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
299
- ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"Other">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
299
+ ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
300
300
  IsArray: z.ZodBoolean;
301
301
  Description: z.ZodNullable<z.ZodString>;
302
302
  IsRequired: z.ZodBoolean;
@@ -314,7 +314,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
314
314
  Description?: string;
315
315
  DefaultValue?: string;
316
316
  Type?: "Both" | "Input" | "Output";
317
- ValueType?: "BaseEntity Sub-Class" | "Other" | "MediaOutput" | "Scalar" | "Simple Object";
317
+ ValueType?: "BaseEntity Sub-Class" | "MediaOutput" | "Other" | "Scalar" | "Simple Object";
318
318
  IsArray?: boolean;
319
319
  IsRequired?: boolean;
320
320
  MediaModality?: "Audio" | "Image" | "Video";
@@ -328,7 +328,7 @@ export declare const MJActionParamSchema: z.ZodObject<{
328
328
  Description?: string;
329
329
  DefaultValue?: string;
330
330
  Type?: "Both" | "Input" | "Output";
331
- ValueType?: "BaseEntity Sub-Class" | "Other" | "MediaOutput" | "Scalar" | "Simple Object";
331
+ ValueType?: "BaseEntity Sub-Class" | "MediaOutput" | "Other" | "Scalar" | "Simple Object";
332
332
  IsArray?: boolean;
333
333
  IsRequired?: boolean;
334
334
  MediaModality?: "Audio" | "Image" | "Video";
@@ -393,6 +393,7 @@ export declare const MJActionSchema: z.ZodObject<{
393
393
  ParentID: z.ZodNullable<z.ZodString>;
394
394
  IconClass: z.ZodNullable<z.ZodString>;
395
395
  DefaultCompactPromptID: z.ZodNullable<z.ZodString>;
396
+ Config_: z.ZodNullable<z.ZodString>;
396
397
  Category: z.ZodNullable<z.ZodString>;
397
398
  CodeApprovedByUser: z.ZodNullable<z.ZodString>;
398
399
  Parent: z.ZodNullable<z.ZodString>;
@@ -424,6 +425,7 @@ export declare const MJActionSchema: z.ZodObject<{
424
425
  DriverClass?: string;
425
426
  IconClass?: string;
426
427
  DefaultCompactPromptID?: string;
428
+ Config_?: string;
427
429
  Category?: string;
428
430
  CodeApprovedByUser?: string;
429
431
  DefaultCompactPrompt?: string;
@@ -453,6 +455,7 @@ export declare const MJActionSchema: z.ZodObject<{
453
455
  DriverClass?: string;
454
456
  IconClass?: string;
455
457
  DefaultCompactPromptID?: string;
458
+ Config_?: string;
456
459
  Category?: string;
457
460
  CodeApprovedByUser?: string;
458
461
  DefaultCompactPrompt?: string;
@@ -581,6 +584,44 @@ export declare const MJAIAgentArtifactTypeSchema: z.ZodObject<{
581
584
  ArtifactType?: string;
582
585
  }>;
583
586
  export type MJAIAgentArtifactTypeEntityType = z.infer<typeof MJAIAgentArtifactTypeSchema>;
587
+ /**
588
+ * zod schema definition for the entity MJ: AI Agent Categories
589
+ */
590
+ export declare const MJAIAgentCategorySchema: z.ZodObject<{
591
+ ID: z.ZodString;
592
+ Name: z.ZodString;
593
+ Description: z.ZodNullable<z.ZodString>;
594
+ ParentID: z.ZodNullable<z.ZodString>;
595
+ AssignmentStrategy: z.ZodNullable<z.ZodString>;
596
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
597
+ __mj_CreatedAt: z.ZodDate;
598
+ __mj_UpdatedAt: z.ZodDate;
599
+ Parent: z.ZodNullable<z.ZodString>;
600
+ RootParentID: z.ZodNullable<z.ZodString>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ ID?: string;
603
+ __mj_CreatedAt?: Date;
604
+ __mj_UpdatedAt?: Date;
605
+ Name?: string;
606
+ Description?: string;
607
+ ParentID?: string;
608
+ Status?: "Active" | "Disabled" | "Pending";
609
+ Parent?: string;
610
+ RootParentID?: string;
611
+ AssignmentStrategy?: string;
612
+ }, {
613
+ ID?: string;
614
+ __mj_CreatedAt?: Date;
615
+ __mj_UpdatedAt?: Date;
616
+ Name?: string;
617
+ Description?: string;
618
+ ParentID?: string;
619
+ Status?: "Active" | "Disabled" | "Pending";
620
+ Parent?: string;
621
+ RootParentID?: string;
622
+ AssignmentStrategy?: string;
623
+ }>;
624
+ export type MJAIAgentCategoryEntityType = z.infer<typeof MJAIAgentCategorySchema>;
584
625
  /**
585
626
  * zod schema definition for the entity MJ: AI Agent Configurations
586
627
  */
@@ -1200,6 +1241,44 @@ export declare const MJAIAgentRelationshipSchema: z.ZodObject<{
1200
1241
  SubAgent?: string;
1201
1242
  }>;
1202
1243
  export type MJAIAgentRelationshipEntityType = z.infer<typeof MJAIAgentRelationshipSchema>;
1244
+ /**
1245
+ * zod schema definition for the entity MJ: AI Agent Request Types
1246
+ */
1247
+ export declare const MJAIAgentRequestTypeSchema: z.ZodObject<{
1248
+ ID: z.ZodString;
1249
+ Name: z.ZodString;
1250
+ Description: z.ZodNullable<z.ZodString>;
1251
+ Icon: z.ZodNullable<z.ZodString>;
1252
+ __mj_CreatedAt: z.ZodDate;
1253
+ __mj_UpdatedAt: z.ZodDate;
1254
+ DefaultAssignmentStrategy: z.ZodNullable<z.ZodString>;
1255
+ DefaultPriority: z.ZodNullable<z.ZodNumber>;
1256
+ DefaultExpirationMinutes: z.ZodNullable<z.ZodNumber>;
1257
+ RequiresResponse: z.ZodBoolean;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ ID?: string;
1260
+ __mj_CreatedAt?: Date;
1261
+ __mj_UpdatedAt?: Date;
1262
+ Name?: string;
1263
+ Description?: string;
1264
+ Icon?: string;
1265
+ DefaultAssignmentStrategy?: string;
1266
+ DefaultPriority?: number;
1267
+ DefaultExpirationMinutes?: number;
1268
+ RequiresResponse?: boolean;
1269
+ }, {
1270
+ ID?: string;
1271
+ __mj_CreatedAt?: Date;
1272
+ __mj_UpdatedAt?: Date;
1273
+ Name?: string;
1274
+ Description?: string;
1275
+ Icon?: string;
1276
+ DefaultAssignmentStrategy?: string;
1277
+ DefaultPriority?: number;
1278
+ DefaultExpirationMinutes?: number;
1279
+ RequiresResponse?: boolean;
1280
+ }>;
1281
+ export type MJAIAgentRequestTypeEntityType = z.infer<typeof MJAIAgentRequestTypeSchema>;
1203
1282
  /**
1204
1283
  * zod schema definition for the entity MJ: AI Agent Requests
1205
1284
  */
@@ -1208,7 +1287,7 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1208
1287
  AgentID: z.ZodString;
1209
1288
  RequestedAt: z.ZodDate;
1210
1289
  RequestForUserID: z.ZodNullable<z.ZodString>;
1211
- Status: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Canceled">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Requested">]>;
1290
+ Status: z.ZodUnion<[z.ZodLiteral<"Approved">, z.ZodLiteral<"Canceled">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Requested">, z.ZodLiteral<"Responded">]>;
1212
1291
  Request: z.ZodString;
1213
1292
  Response: z.ZodNullable<z.ZodString>;
1214
1293
  ResponseByUserID: z.ZodNullable<z.ZodString>;
@@ -1216,41 +1295,80 @@ export declare const MJAIAgentRequestSchema: z.ZodObject<{
1216
1295
  Comments: z.ZodNullable<z.ZodString>;
1217
1296
  __mj_CreatedAt: z.ZodDate;
1218
1297
  __mj_UpdatedAt: z.ZodDate;
1298
+ RequestTypeID: z.ZodNullable<z.ZodString>;
1299
+ ResponseSchema: z.ZodNullable<z.ZodString>;
1300
+ ResponseData: z.ZodNullable<z.ZodString>;
1301
+ Priority: z.ZodNumber;
1302
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
1303
+ OriginatingAgentRunID: z.ZodNullable<z.ZodString>;
1304
+ OriginatingAgentRunStepID: z.ZodNullable<z.ZodString>;
1305
+ ResumingAgentRunID: z.ZodNullable<z.ZodString>;
1306
+ ResponseSource: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"API">, z.ZodLiteral<"Conversation">, z.ZodLiteral<"Dashboard">]>>;
1219
1307
  Agent: z.ZodNullable<z.ZodString>;
1220
1308
  RequestForUser: z.ZodNullable<z.ZodString>;
1221
1309
  ResponseByUser: z.ZodNullable<z.ZodString>;
1310
+ RequestType: z.ZodNullable<z.ZodString>;
1311
+ OriginatingAgentRun: z.ZodNullable<z.ZodString>;
1312
+ OriginatingAgentRunStep: z.ZodNullable<z.ZodString>;
1313
+ ResumingAgentRun: z.ZodNullable<z.ZodString>;
1222
1314
  }, "strip", z.ZodTypeAny, {
1223
1315
  ID?: string;
1316
+ ExpiresAt?: Date;
1224
1317
  __mj_CreatedAt?: Date;
1225
1318
  __mj_UpdatedAt?: Date;
1226
1319
  Comments?: string;
1227
- Status?: "Approved" | "Rejected" | "Canceled" | "Requested";
1320
+ Status?: "Approved" | "Rejected" | "Canceled" | "Expired" | "Requested" | "Responded";
1228
1321
  AgentID?: string;
1229
1322
  Agent?: string;
1323
+ Priority?: number;
1230
1324
  RequestedAt?: Date;
1231
1325
  RequestForUserID?: string;
1232
1326
  Request?: string;
1233
1327
  Response?: string;
1234
1328
  ResponseByUserID?: string;
1235
1329
  RespondedAt?: Date;
1330
+ RequestTypeID?: string;
1331
+ ResponseSchema?: string;
1332
+ ResponseData?: string;
1333
+ OriginatingAgentRunID?: string;
1334
+ OriginatingAgentRunStepID?: string;
1335
+ ResumingAgentRunID?: string;
1336
+ ResponseSource?: "API" | "Conversation" | "Dashboard";
1236
1337
  RequestForUser?: string;
1237
1338
  ResponseByUser?: string;
1339
+ RequestType?: string;
1340
+ OriginatingAgentRun?: string;
1341
+ OriginatingAgentRunStep?: string;
1342
+ ResumingAgentRun?: string;
1238
1343
  }, {
1239
1344
  ID?: string;
1345
+ ExpiresAt?: Date;
1240
1346
  __mj_CreatedAt?: Date;
1241
1347
  __mj_UpdatedAt?: Date;
1242
1348
  Comments?: string;
1243
- Status?: "Approved" | "Rejected" | "Canceled" | "Requested";
1349
+ Status?: "Approved" | "Rejected" | "Canceled" | "Expired" | "Requested" | "Responded";
1244
1350
  AgentID?: string;
1245
1351
  Agent?: string;
1352
+ Priority?: number;
1246
1353
  RequestedAt?: Date;
1247
1354
  RequestForUserID?: string;
1248
1355
  Request?: string;
1249
1356
  Response?: string;
1250
1357
  ResponseByUserID?: string;
1251
1358
  RespondedAt?: Date;
1359
+ RequestTypeID?: string;
1360
+ ResponseSchema?: string;
1361
+ ResponseData?: string;
1362
+ OriginatingAgentRunID?: string;
1363
+ OriginatingAgentRunStepID?: string;
1364
+ ResumingAgentRunID?: string;
1365
+ ResponseSource?: "API" | "Conversation" | "Dashboard";
1252
1366
  RequestForUser?: string;
1253
1367
  ResponseByUser?: string;
1368
+ RequestType?: string;
1369
+ OriginatingAgentRun?: string;
1370
+ OriginatingAgentRunStep?: string;
1371
+ ResumingAgentRun?: string;
1254
1372
  }>;
1255
1373
  export type MJAIAgentRequestEntityType = z.infer<typeof MJAIAgentRequestSchema>;
1256
1374
  /**
@@ -1420,7 +1538,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1420
1538
  ID: z.ZodString;
1421
1539
  AgentID: z.ZodString;
1422
1540
  ParentRunID: z.ZodNullable<z.ZodString>;
1423
- Status: z.ZodUnion<[z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Paused">, z.ZodLiteral<"Running">]>;
1541
+ Status: z.ZodUnion<[z.ZodLiteral<"AwaitingFeedback">, z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Paused">, z.ZodLiteral<"Running">]>;
1424
1542
  StartedAt: z.ZodDate;
1425
1543
  CompletedAt: z.ZodNullable<z.ZodDate>;
1426
1544
  Success: z.ZodNullable<z.ZodBoolean>;
@@ -1482,7 +1600,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1482
1600
  __mj_CreatedAt?: Date;
1483
1601
  __mj_UpdatedAt?: Date;
1484
1602
  Comments?: string;
1485
- Status?: "Failed" | "Cancelled" | "Completed" | "Running" | "Paused";
1603
+ Status?: "Failed" | "Cancelled" | "Completed" | "Running" | "AwaitingFeedback" | "Paused";
1486
1604
  StartedAt?: Date;
1487
1605
  UserID?: string;
1488
1606
  Message?: string;
@@ -1495,6 +1613,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1495
1613
  PrimaryScopeEntity?: string;
1496
1614
  ConfigurationID?: string;
1497
1615
  Configuration?: string;
1616
+ Conversation?: string;
1498
1617
  CompletedAt?: Date;
1499
1618
  Success?: boolean;
1500
1619
  ErrorMessage?: string;
@@ -1527,7 +1646,6 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1527
1646
  TestRunID?: string;
1528
1647
  ExternalReferenceID?: string;
1529
1648
  ParentRun?: string;
1530
- Conversation?: string;
1531
1649
  ConversationDetail?: string;
1532
1650
  LastRun?: string;
1533
1651
  OverrideModel?: string;
@@ -1542,7 +1660,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1542
1660
  __mj_CreatedAt?: Date;
1543
1661
  __mj_UpdatedAt?: Date;
1544
1662
  Comments?: string;
1545
- Status?: "Failed" | "Cancelled" | "Completed" | "Running" | "Paused";
1663
+ Status?: "Failed" | "Cancelled" | "Completed" | "Running" | "AwaitingFeedback" | "Paused";
1546
1664
  StartedAt?: Date;
1547
1665
  UserID?: string;
1548
1666
  Message?: string;
@@ -1555,6 +1673,7 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1555
1673
  PrimaryScopeEntity?: string;
1556
1674
  ConfigurationID?: string;
1557
1675
  Configuration?: string;
1676
+ Conversation?: string;
1558
1677
  CompletedAt?: Date;
1559
1678
  Success?: boolean;
1560
1679
  ErrorMessage?: string;
@@ -1587,7 +1706,6 @@ export declare const MJAIAgentRunSchema: z.ZodObject<{
1587
1706
  TestRunID?: string;
1588
1707
  ExternalReferenceID?: string;
1589
1708
  ParentRun?: string;
1590
- Conversation?: string;
1591
1709
  ConversationDetail?: string;
1592
1710
  LastRun?: string;
1593
1711
  OverrideModel?: string;
@@ -1745,6 +1863,7 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1745
1863
  UIFormKey: z.ZodNullable<z.ZodString>;
1746
1864
  UIFormSectionExpandedByDefault: z.ZodBoolean;
1747
1865
  PromptParamsSchema: z.ZodNullable<z.ZodString>;
1866
+ AssignmentStrategy: z.ZodNullable<z.ZodString>;
1748
1867
  SystemPrompt: z.ZodNullable<z.ZodString>;
1749
1868
  }, "strip", z.ZodTypeAny, {
1750
1869
  ID?: string;
@@ -1754,6 +1873,7 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1754
1873
  Description?: string;
1755
1874
  DriverClass?: string;
1756
1875
  IsActive?: boolean;
1876
+ AssignmentStrategy?: string;
1757
1877
  SystemPromptID?: string;
1758
1878
  AgentPromptPlaceholder?: string;
1759
1879
  UIFormSectionKey?: string;
@@ -1769,6 +1889,7 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1769
1889
  Description?: string;
1770
1890
  DriverClass?: string;
1771
1891
  IsActive?: boolean;
1892
+ AssignmentStrategy?: string;
1772
1893
  SystemPromptID?: string;
1773
1894
  AgentPromptPlaceholder?: string;
1774
1895
  UIFormSectionKey?: string;
@@ -1843,12 +1964,14 @@ export declare const MJAIAgentSchema: z.ZodObject<{
1843
1964
  ExampleRetentionDays: z.ZodNullable<z.ZodNumber>;
1844
1965
  AutoArchiveEnabled: z.ZodBoolean;
1845
1966
  RerankerConfiguration: z.ZodNullable<z.ZodString>;
1967
+ CategoryID: z.ZodNullable<z.ZodString>;
1846
1968
  Parent: z.ZodNullable<z.ZodString>;
1847
1969
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
1848
1970
  Type: z.ZodNullable<z.ZodString>;
1849
1971
  DefaultArtifactType: z.ZodNullable<z.ZodString>;
1850
1972
  OwnerUser: z.ZodString;
1851
1973
  AttachmentStorageProvider: z.ZodNullable<z.ZodString>;
1974
+ Category: z.ZodNullable<z.ZodString>;
1852
1975
  RootParentID: z.ZodNullable<z.ZodString>;
1853
1976
  }, "strip", z.ZodTypeAny, {
1854
1977
  ID?: string;
@@ -1861,8 +1984,10 @@ export declare const MJAIAgentSchema: z.ZodObject<{
1861
1984
  Parent?: string;
1862
1985
  RootParentID?: string;
1863
1986
  Type?: string;
1987
+ CategoryID?: string;
1864
1988
  DriverClass?: string;
1865
1989
  IconClass?: string;
1990
+ Category?: string;
1866
1991
  MinExecutionsPerRun?: number;
1867
1992
  MaxExecutionsPerRun?: number;
1868
1993
  ExecutionOrder?: number;
@@ -1930,8 +2055,10 @@ export declare const MJAIAgentSchema: z.ZodObject<{
1930
2055
  Parent?: string;
1931
2056
  RootParentID?: string;
1932
2057
  Type?: string;
2058
+ CategoryID?: string;
1933
2059
  DriverClass?: string;
1934
2060
  IconClass?: string;
2061
+ Category?: string;
1935
2062
  MinExecutionsPerRun?: number;
1936
2063
  MaxExecutionsPerRun?: number;
1937
2064
  ExecutionOrder?: number;
@@ -3855,8 +3982,8 @@ export declare const MJApplicationSchema: z.ZodObject<{
3855
3982
  Name?: string;
3856
3983
  Description?: string;
3857
3984
  Status?: "Active" | "Disabled" | "Pending" | "Deprecated";
3858
- DefaultForNewUser?: boolean;
3859
3985
  Icon?: string;
3986
+ DefaultForNewUser?: boolean;
3860
3987
  SchemaAutoAddNewEntities?: string;
3861
3988
  Color?: string;
3862
3989
  DefaultNavItems?: string;
@@ -3874,8 +4001,8 @@ export declare const MJApplicationSchema: z.ZodObject<{
3874
4001
  Name?: string;
3875
4002
  Description?: string;
3876
4003
  Status?: "Active" | "Disabled" | "Pending" | "Deprecated";
3877
- DefaultForNewUser?: boolean;
3878
4004
  Icon?: string;
4005
+ DefaultForNewUser?: boolean;
3879
4006
  SchemaAutoAddNewEntities?: string;
3880
4007
  Color?: string;
3881
4008
  DefaultNavItems?: string;
@@ -5308,7 +5435,7 @@ export declare const MJComponentSchema: z.ZodObject<{
5308
5435
  Name?: string;
5309
5436
  Description?: string;
5310
5437
  Status?: "Deprecated" | "Draft" | "Published";
5311
- Type?: "Other" | "Utility" | "Chart" | "Dashboard" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
5438
+ Type?: "Other" | "Dashboard" | "Utility" | "Chart" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
5312
5439
  FunctionalRequirements?: string;
5313
5440
  TechnicalDesign?: string;
5314
5441
  Version?: string;
@@ -5339,7 +5466,7 @@ export declare const MJComponentSchema: z.ZodObject<{
5339
5466
  Name?: string;
5340
5467
  Description?: string;
5341
5468
  Status?: "Deprecated" | "Draft" | "Published";
5342
- Type?: "Other" | "Utility" | "Chart" | "Dashboard" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
5469
+ Type?: "Other" | "Dashboard" | "Utility" | "Chart" | "Form" | "Navigation" | "Report" | "Search" | "Table" | "Widget";
5343
5470
  FunctionalRequirements?: string;
5344
5471
  TechnicalDesign?: string;
5345
5472
  Version?: string;
@@ -5811,8 +5938,8 @@ export declare const MJConversationArtifactSchema: z.ZodObject<{
5811
5938
  Description?: string;
5812
5939
  ArtifactTypeID?: string;
5813
5940
  ArtifactType?: string;
5814
- ConversationID?: string;
5815
5941
  Conversation?: string;
5942
+ ConversationID?: string;
5816
5943
  SharingScope?: "Everyone" | "Public" | "None" | "SpecificUsers";
5817
5944
  }, {
5818
5945
  ID?: string;
@@ -5823,8 +5950,8 @@ export declare const MJConversationArtifactSchema: z.ZodObject<{
5823
5950
  Description?: string;
5824
5951
  ArtifactTypeID?: string;
5825
5952
  ArtifactType?: string;
5826
- ConversationID?: string;
5827
5953
  Conversation?: string;
5954
+ ConversationID?: string;
5828
5955
  SharingScope?: "Everyone" | "Public" | "None" | "SpecificUsers";
5829
5956
  }>;
5830
5957
  export type MJConversationArtifactEntityType = z.infer<typeof MJConversationArtifactSchema>;
@@ -6013,9 +6140,9 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6013
6140
  Message?: string;
6014
6141
  AgentID?: string;
6015
6142
  Agent?: string;
6143
+ Conversation?: string;
6016
6144
  ConversationID?: string;
6017
6145
  TestRunID?: string;
6018
- Conversation?: string;
6019
6146
  TestRun?: string;
6020
6147
  CompletionTime?: number;
6021
6148
  ArtifactID?: string;
@@ -6049,9 +6176,9 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6049
6176
  Message?: string;
6050
6177
  AgentID?: string;
6051
6178
  Agent?: string;
6179
+ Conversation?: string;
6052
6180
  ConversationID?: string;
6053
6181
  TestRunID?: string;
6054
- Conversation?: string;
6055
6182
  TestRun?: string;
6056
6183
  CompletionTime?: number;
6057
6184
  ArtifactID?: string;
@@ -6470,9 +6597,9 @@ export declare const MJDashboardPermissionSchema: z.ZodObject<{
6470
6597
  __mj_UpdatedAt?: Date;
6471
6598
  UserID?: string;
6472
6599
  CanEdit?: boolean;
6600
+ Dashboard?: string;
6473
6601
  SharedByUserID?: string;
6474
6602
  SharedByUser?: string;
6475
- Dashboard?: string;
6476
6603
  DashboardID?: string;
6477
6604
  }, {
6478
6605
  ID?: string;
@@ -6484,9 +6611,9 @@ export declare const MJDashboardPermissionSchema: z.ZodObject<{
6484
6611
  __mj_UpdatedAt?: Date;
6485
6612
  UserID?: string;
6486
6613
  CanEdit?: boolean;
6614
+ Dashboard?: string;
6487
6615
  SharedByUserID?: string;
6488
6616
  SharedByUser?: string;
6489
- Dashboard?: string;
6490
6617
  DashboardID?: string;
6491
6618
  }>;
6492
6619
  export type MJDashboardPermissionEntityType = z.infer<typeof MJDashboardPermissionSchema>;
@@ -6511,11 +6638,11 @@ export declare const MJDashboardUserPreferenceSchema: z.ZodObject<{
6511
6638
  __mj_CreatedAt?: Date;
6512
6639
  __mj_UpdatedAt?: Date;
6513
6640
  UserID?: string;
6641
+ Dashboard?: string;
6514
6642
  DisplayOrder?: number;
6515
6643
  ApplicationID?: string;
6516
6644
  Application?: string;
6517
6645
  Scope?: "App" | "Global";
6518
- Dashboard?: string;
6519
6646
  DashboardID?: string;
6520
6647
  }, {
6521
6648
  ID?: string;
@@ -6523,11 +6650,11 @@ export declare const MJDashboardUserPreferenceSchema: z.ZodObject<{
6523
6650
  __mj_CreatedAt?: Date;
6524
6651
  __mj_UpdatedAt?: Date;
6525
6652
  UserID?: string;
6653
+ Dashboard?: string;
6526
6654
  DisplayOrder?: number;
6527
6655
  ApplicationID?: string;
6528
6656
  Application?: string;
6529
6657
  Scope?: "App" | "Global";
6530
- Dashboard?: string;
6531
6658
  DashboardID?: string;
6532
6659
  }>;
6533
6660
  export type MJDashboardUserPreferenceEntityType = z.infer<typeof MJDashboardUserPreferenceSchema>;
@@ -8913,6 +9040,9 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
8913
9040
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
8914
9041
  __mj_CreatedAt: z.ZodDate;
8915
9042
  __mj_UpdatedAt: z.ZodDate;
9043
+ WriteAPIPath: z.ZodNullable<z.ZodString>;
9044
+ WriteMethod: z.ZodNullable<z.ZodString>;
9045
+ DeleteMethod: z.ZodNullable<z.ZodString>;
8916
9046
  Integration: z.ZodString;
8917
9047
  }, "strip", z.ZodTypeAny, {
8918
9048
  ID?: string;
@@ -8935,6 +9065,9 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
8935
9065
  SupportsIncrementalSync?: boolean;
8936
9066
  SupportsWrite?: boolean;
8937
9067
  DefaultQueryParams?: string;
9068
+ WriteAPIPath?: string;
9069
+ WriteMethod?: string;
9070
+ DeleteMethod?: string;
8938
9071
  }, {
8939
9072
  ID?: string;
8940
9073
  __mj_CreatedAt?: Date;
@@ -8956,6 +9089,9 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
8956
9089
  SupportsIncrementalSync?: boolean;
8957
9090
  SupportsWrite?: boolean;
8958
9091
  DefaultQueryParams?: string;
9092
+ WriteAPIPath?: string;
9093
+ WriteMethod?: string;
9094
+ DeleteMethod?: string;
8959
9095
  }>;
8960
9096
  export type MJIntegrationObjectEntityType = z.infer<typeof MJIntegrationObjectSchema>;
8961
9097
  /**
@@ -9043,6 +9179,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
9043
9179
  __mj_UpdatedAt: z.ZodDate;
9044
9180
  ID: z.ZodString;
9045
9181
  CredentialTypeID: z.ZodNullable<z.ZodString>;
9182
+ Icon: z.ZodNullable<z.ZodString>;
9046
9183
  CredentialType: z.ZodNullable<z.ZodString>;
9047
9184
  }, "strip", z.ZodTypeAny, {
9048
9185
  ID?: string;
@@ -9050,6 +9187,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
9050
9187
  __mj_UpdatedAt?: Date;
9051
9188
  Name?: string;
9052
9189
  Description?: string;
9190
+ Icon?: string;
9053
9191
  CredentialTypeID?: string;
9054
9192
  CredentialType?: string;
9055
9193
  ClassName?: string;
@@ -9063,6 +9201,7 @@ export declare const MJIntegrationSchema: z.ZodObject<{
9063
9201
  __mj_UpdatedAt?: Date;
9064
9202
  Name?: string;
9065
9203
  Description?: string;
9204
+ Icon?: string;
9066
9205
  CredentialTypeID?: string;
9067
9206
  CredentialType?: string;
9068
9207
  ClassName?: string;
@@ -9790,7 +9929,7 @@ export declare const MJOAuthAuthorizationStateSchema: z.ZodObject<{
9790
9929
  ExpiresAt?: Date;
9791
9930
  __mj_CreatedAt?: Date;
9792
9931
  __mj_UpdatedAt?: Date;
9793
- Status?: "Pending" | "Failed" | "Completed" | "Expired";
9932
+ Status?: "Pending" | "Failed" | "Expired" | "Completed";
9794
9933
  UserID?: string;
9795
9934
  CompletedAt?: Date;
9796
9935
  MCPServerConnectionID?: string;
@@ -9811,7 +9950,7 @@ export declare const MJOAuthAuthorizationStateSchema: z.ZodObject<{
9811
9950
  ExpiresAt?: Date;
9812
9951
  __mj_CreatedAt?: Date;
9813
9952
  __mj_UpdatedAt?: Date;
9814
- Status?: "Pending" | "Failed" | "Completed" | "Expired";
9953
+ Status?: "Pending" | "Failed" | "Expired" | "Completed";
9815
9954
  UserID?: string;
9816
9955
  CompletedAt?: Date;
9817
9956
  MCPServerConnectionID?: string;
@@ -10310,6 +10449,7 @@ export declare const MJQuerySchema: z.ZodObject<{
10310
10449
  EmbeddingModelID: z.ZodNullable<z.ZodString>;
10311
10450
  CacheValidationSQL: z.ZodNullable<z.ZodString>;
10312
10451
  SQLDialectID: z.ZodString;
10452
+ Reusable: z.ZodBoolean;
10313
10453
  Category: z.ZodNullable<z.ZodString>;
10314
10454
  EmbeddingModel: z.ZodNullable<z.ZodString>;
10315
10455
  SQLDialect: z.ZodString;
@@ -10339,6 +10479,7 @@ export declare const MJQuerySchema: z.ZodObject<{
10339
10479
  CacheMaxSize?: number;
10340
10480
  CacheValidationSQL?: string;
10341
10481
  SQLDialectID?: string;
10482
+ Reusable?: boolean;
10342
10483
  SQLDialect?: string;
10343
10484
  }, {
10344
10485
  ID?: string;
@@ -10366,6 +10507,7 @@ export declare const MJQuerySchema: z.ZodObject<{
10366
10507
  CacheMaxSize?: number;
10367
10508
  CacheValidationSQL?: string;
10368
10509
  SQLDialectID?: string;
10510
+ Reusable?: boolean;
10369
10511
  SQLDialect?: string;
10370
10512
  }>;
10371
10513
  export type MJQueryEntityType = z.infer<typeof MJQuerySchema>;
@@ -10419,6 +10561,47 @@ export declare const MJQueryCategorySchema: z.ZodObject<{
10419
10561
  CacheInheritanceEnabled?: boolean;
10420
10562
  }>;
10421
10563
  export type MJQueryCategoryEntityType = z.infer<typeof MJQueryCategorySchema>;
10564
+ /**
10565
+ * zod schema definition for the entity MJ: Query Dependencies
10566
+ */
10567
+ export declare const MJQueryDependencySchema: z.ZodObject<{
10568
+ ID: z.ZodString;
10569
+ QueryID: z.ZodString;
10570
+ DependsOnQueryID: z.ZodString;
10571
+ ReferencePath: z.ZodString;
10572
+ Alias: z.ZodNullable<z.ZodString>;
10573
+ ParameterMapping: z.ZodNullable<z.ZodString>;
10574
+ DetectionMethod: z.ZodUnion<[z.ZodLiteral<"Auto">, z.ZodLiteral<"Manual">]>;
10575
+ __mj_CreatedAt: z.ZodDate;
10576
+ __mj_UpdatedAt: z.ZodDate;
10577
+ Query: z.ZodString;
10578
+ DependsOnQuery: z.ZodString;
10579
+ }, "strip", z.ZodTypeAny, {
10580
+ ID?: string;
10581
+ __mj_CreatedAt?: Date;
10582
+ __mj_UpdatedAt?: Date;
10583
+ QueryID?: string;
10584
+ Query?: string;
10585
+ DependsOnQueryID?: string;
10586
+ ReferencePath?: string;
10587
+ Alias?: string;
10588
+ ParameterMapping?: string;
10589
+ DetectionMethod?: "Manual" | "Auto";
10590
+ DependsOnQuery?: string;
10591
+ }, {
10592
+ ID?: string;
10593
+ __mj_CreatedAt?: Date;
10594
+ __mj_UpdatedAt?: Date;
10595
+ QueryID?: string;
10596
+ Query?: string;
10597
+ DependsOnQueryID?: string;
10598
+ ReferencePath?: string;
10599
+ Alias?: string;
10600
+ ParameterMapping?: string;
10601
+ DetectionMethod?: "Manual" | "Auto";
10602
+ DependsOnQuery?: string;
10603
+ }>;
10604
+ export type MJQueryDependencyEntityType = z.infer<typeof MJQueryDependencySchema>;
10422
10605
  /**
10423
10606
  * zod schema definition for the entity MJ: Query Entities
10424
10607
  */
@@ -11328,9 +11511,9 @@ export declare const MJReportSchema: z.ZodObject<{
11328
11511
  CategoryID?: string;
11329
11512
  Category?: string;
11330
11513
  Configuration?: string;
11514
+ Conversation?: string;
11331
11515
  ConversationID?: string;
11332
11516
  ConversationDetailID?: string;
11333
- Conversation?: string;
11334
11517
  ConversationDetail?: string;
11335
11518
  EnvironmentID?: string;
11336
11519
  Environment?: string;
@@ -11359,9 +11542,9 @@ export declare const MJReportSchema: z.ZodObject<{
11359
11542
  CategoryID?: string;
11360
11543
  Category?: string;
11361
11544
  Configuration?: string;
11545
+ Conversation?: string;
11362
11546
  ConversationID?: string;
11363
11547
  ConversationDetailID?: string;
11364
- Conversation?: string;
11365
11548
  ConversationDetail?: string;
11366
11549
  EnvironmentID?: string;
11367
11550
  Environment?: string;
@@ -11794,7 +11977,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
11794
11977
  __mj_UpdatedAt?: Date;
11795
11978
  Name?: string;
11796
11979
  Description?: string;
11797
- Status?: "Active" | "Disabled" | "Pending" | "Paused" | "Expired";
11980
+ Status?: "Active" | "Disabled" | "Pending" | "Expired" | "Paused";
11798
11981
  Configuration?: string;
11799
11982
  OwnerUserID?: string;
11800
11983
  OwnerUser?: string;
@@ -11826,7 +12009,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
11826
12009
  __mj_UpdatedAt?: Date;
11827
12010
  Name?: string;
11828
12011
  Description?: string;
11829
- Status?: "Active" | "Disabled" | "Pending" | "Paused" | "Expired";
12012
+ Status?: "Active" | "Disabled" | "Pending" | "Expired" | "Paused";
11830
12013
  Configuration?: string;
11831
12014
  OwnerUserID?: string;
11832
12015
  OwnerUser?: string;
@@ -14894,17 +15077,17 @@ export declare class MJActionParamEntity extends BaseEntity<MJActionParamEntityT
14894
15077
  * * Possible Values
14895
15078
  * * BaseEntity Sub-Class
14896
15079
  * * BaseEntity Sub-Class
14897
- * * Other
14898
15080
  * * MediaOutput
14899
15081
  * * Other
15082
+ * * Other
14900
15083
  * * Scalar
14901
15084
  * * Scalar
14902
15085
  * * Simple Object
14903
15086
  * * Simple Object
14904
15087
  * * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
14905
15088
  */
14906
- get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
14907
- set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
15089
+ get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'MediaOutput' | 'Other' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
15090
+ set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'MediaOutput' | 'Other' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
14908
15091
  /**
14909
15092
  * * Field Name: IsArray
14910
15093
  * * Display Name: Is Array
@@ -15218,7 +15401,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
15218
15401
  set ForceCodeGeneration(value: boolean);
15219
15402
  /**
15220
15403
  * * Field Name: RetentionPeriod
15221
- * * Display Name: Retention Period
15404
+ * * Display Name: Retention Period (Days)
15222
15405
  * * SQL Data Type: int
15223
15406
  * * Description: Number of days to retain execution logs; NULL for indefinite.
15224
15407
  */
@@ -15287,26 +15470,35 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
15287
15470
  get DefaultCompactPromptID(): string | null;
15288
15471
  set DefaultCompactPromptID(value: string | null);
15289
15472
  /**
15473
+ * * Field Name: Config
15474
+ * * Display Name: Configuration
15475
+ * * SQL Data Type: nvarchar(MAX)
15476
+ * * Description: Optional JSON configuration for the action. For integration actions, contains routing info: integrationName, objectName, verb, and optional connectorConfig. Non-integration actions leave this NULL.
15477
+ * * NOTE: Property renamed to `Config_` to avoid conflict with BaseEntity.Config
15478
+ */
15479
+ get Config_(): string | null;
15480
+ set Config_(value: string | null);
15481
+ /**
15290
15482
  * * Field Name: Category
15291
- * * Display Name: Category
15483
+ * * Display Name: Category Name
15292
15484
  * * SQL Data Type: nvarchar(255)
15293
15485
  */
15294
15486
  get Category(): string | null;
15295
15487
  /**
15296
15488
  * * Field Name: CodeApprovedByUser
15297
- * * Display Name: Code Approved By User
15489
+ * * Display Name: Code Approved By (User)
15298
15490
  * * SQL Data Type: nvarchar(100)
15299
15491
  */
15300
15492
  get CodeApprovedByUser(): string | null;
15301
15493
  /**
15302
15494
  * * Field Name: Parent
15303
- * * Display Name: Parent
15495
+ * * Display Name: Parent Name
15304
15496
  * * SQL Data Type: nvarchar(425)
15305
15497
  */
15306
15498
  get Parent(): string | null;
15307
15499
  /**
15308
15500
  * * Field Name: DefaultCompactPrompt
15309
- * * Display Name: Default Compact Prompt
15501
+ * * Display Name: Default Compact Prompt Text
15310
15502
  * * SQL Data Type: nvarchar(255)
15311
15503
  */
15312
15504
  get DefaultCompactPrompt(): string | null;
@@ -15738,6 +15930,113 @@ export declare class MJAIAgentArtifactTypeEntity extends BaseEntity<MJAIAgentArt
15738
15930
  */
15739
15931
  get ArtifactType(): string;
15740
15932
  }
15933
+ /**
15934
+ * MJ: AI Agent Categories - strongly typed entity sub-class
15935
+ * * Schema: __mj
15936
+ * * Base Table: AIAgentCategory
15937
+ * * Base View: vwAIAgentCategories
15938
+ * * @description Hierarchical organizational grouping for AI agents. Categories form a tree via the ParentID self-referencing foreign key and can carry inherited assignment strategies.
15939
+ * * Primary Key: ID
15940
+ * @extends {BaseEntity}
15941
+ * @class
15942
+ * @public
15943
+ */
15944
+ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategoryEntityType> {
15945
+ /**
15946
+ * Loads the MJ: AI Agent Categories record from the database
15947
+ * @param ID: string - primary key value to load the MJ: AI Agent Categories record.
15948
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
15949
+ * @returns {Promise<boolean>} - true if successful, false otherwise
15950
+ * @public
15951
+ * @async
15952
+ * @memberof MJAIAgentCategoryEntity
15953
+ * @method
15954
+ * @override
15955
+ */
15956
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
15957
+ /**
15958
+ * * Field Name: ID
15959
+ * * Display Name: ID
15960
+ * * SQL Data Type: uniqueidentifier
15961
+ * * Default Value: newsequentialid()
15962
+ * * Description: Primary key for the AIAgentCategory record.
15963
+ */
15964
+ get ID(): string;
15965
+ set ID(value: string);
15966
+ /**
15967
+ * * Field Name: Name
15968
+ * * Display Name: Name
15969
+ * * SQL Data Type: nvarchar(200)
15970
+ * * Description: Unique display name for the category (e.g., Research, Customer Support, Data Processing).
15971
+ */
15972
+ get Name(): string;
15973
+ set Name(value: string);
15974
+ /**
15975
+ * * Field Name: Description
15976
+ * * Display Name: Description
15977
+ * * SQL Data Type: nvarchar(MAX)
15978
+ * * Description: Optional description explaining the purpose and scope of this category.
15979
+ */
15980
+ get Description(): string | null;
15981
+ set Description(value: string | null);
15982
+ /**
15983
+ * * Field Name: ParentID
15984
+ * * Display Name: Parent
15985
+ * * SQL Data Type: uniqueidentifier
15986
+ * * Related Entity/Foreign Key: MJ: AI Agent Categories (vwAIAgentCategories.ID)
15987
+ * * Description: Self-referencing foreign key to the parent category, forming a tree hierarchy. NULL for root categories.
15988
+ */
15989
+ get ParentID(): string | null;
15990
+ set ParentID(value: string | null);
15991
+ /**
15992
+ * * Field Name: AssignmentStrategy
15993
+ * * Display Name: Assignment Strategy
15994
+ * * SQL Data Type: nvarchar(MAX)
15995
+ * * Description: JSON-serialized AgentRequestAssignmentStrategy defining who receives feedback requests for agents in this category. Inherited by child categories that do not define their own strategy.
15996
+ */
15997
+ get AssignmentStrategy(): string | null;
15998
+ set AssignmentStrategy(value: string | null);
15999
+ /**
16000
+ * * Field Name: Status
16001
+ * * Display Name: Status
16002
+ * * SQL Data Type: nvarchar(20)
16003
+ * * Default Value: Active
16004
+ * * Value List Type: List
16005
+ * * Possible Values
16006
+ * * Active
16007
+ * * Disabled
16008
+ * * Pending
16009
+ * * Description: Whether this category is Active, Disabled, or Pending.
16010
+ */
16011
+ get Status(): 'Active' | 'Disabled' | 'Pending';
16012
+ set Status(value: 'Active' | 'Disabled' | 'Pending');
16013
+ /**
16014
+ * * Field Name: __mj_CreatedAt
16015
+ * * Display Name: Created At
16016
+ * * SQL Data Type: datetimeoffset
16017
+ * * Default Value: getutcdate()
16018
+ */
16019
+ get __mj_CreatedAt(): Date;
16020
+ /**
16021
+ * * Field Name: __mj_UpdatedAt
16022
+ * * Display Name: Updated At
16023
+ * * SQL Data Type: datetimeoffset
16024
+ * * Default Value: getutcdate()
16025
+ */
16026
+ get __mj_UpdatedAt(): Date;
16027
+ /**
16028
+ * * Field Name: Parent
16029
+ * * Display Name: Parent Name
16030
+ * * SQL Data Type: nvarchar(200)
16031
+ */
16032
+ get Parent(): string | null;
16033
+ /**
16034
+ * * Field Name: RootParentID
16035
+ * * Display Name: Root Parent
16036
+ * * SQL Data Type: uniqueidentifier
16037
+ */
16038
+ get RootParentID(): string | null;
16039
+ }
15741
16040
  /**
15742
16041
  * MJ: AI Agent Configurations - strongly typed entity sub-class
15743
16042
  * * Schema: __mj
@@ -17574,6 +17873,111 @@ export declare class MJAIAgentRelationshipEntity extends BaseEntity<MJAIAgentRel
17574
17873
  */
17575
17874
  get SubAgent(): string | null;
17576
17875
  }
17876
+ /**
17877
+ * MJ: AI Agent Request Types - strongly typed entity sub-class
17878
+ * * Schema: __mj
17879
+ * * Base Table: AIAgentRequestType
17880
+ * * Base View: vwAIAgentRequestTypes
17881
+ * * @description Lookup table categorizing the types of requests an agent can make to a human (e.g., Approval, Information, Choice, Review, Custom).
17882
+ * * Primary Key: ID
17883
+ * @extends {BaseEntity}
17884
+ * @class
17885
+ * @public
17886
+ */
17887
+ export declare class MJAIAgentRequestTypeEntity extends BaseEntity<MJAIAgentRequestTypeEntityType> {
17888
+ /**
17889
+ * Loads the MJ: AI Agent Request Types record from the database
17890
+ * @param ID: string - primary key value to load the MJ: AI Agent Request Types record.
17891
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
17892
+ * @returns {Promise<boolean>} - true if successful, false otherwise
17893
+ * @public
17894
+ * @async
17895
+ * @memberof MJAIAgentRequestTypeEntity
17896
+ * @method
17897
+ * @override
17898
+ */
17899
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17900
+ /**
17901
+ * * Field Name: ID
17902
+ * * Display Name: ID
17903
+ * * SQL Data Type: uniqueidentifier
17904
+ * * Default Value: newsequentialid()
17905
+ * * Description: Primary key for the AIAgentRequestType record.
17906
+ */
17907
+ get ID(): string;
17908
+ set ID(value: string);
17909
+ /**
17910
+ * * Field Name: Name
17911
+ * * Display Name: Name
17912
+ * * SQL Data Type: nvarchar(100)
17913
+ * * Description: Unique display name for the request type (e.g., Approval, Information, Choice).
17914
+ */
17915
+ get Name(): string;
17916
+ set Name(value: string);
17917
+ /**
17918
+ * * Field Name: Description
17919
+ * * Display Name: Description
17920
+ * * SQL Data Type: nvarchar(MAX)
17921
+ * * Description: Explains when and how this request type should be used by agents.
17922
+ */
17923
+ get Description(): string | null;
17924
+ set Description(value: string | null);
17925
+ /**
17926
+ * * Field Name: Icon
17927
+ * * Display Name: Icon
17928
+ * * SQL Data Type: nvarchar(100)
17929
+ * * Description: Font Awesome icon class for UI rendering of this request type.
17930
+ */
17931
+ get Icon(): string | null;
17932
+ set Icon(value: string | null);
17933
+ /**
17934
+ * * Field Name: __mj_CreatedAt
17935
+ * * Display Name: Created At
17936
+ * * SQL Data Type: datetimeoffset
17937
+ * * Default Value: getutcdate()
17938
+ */
17939
+ get __mj_CreatedAt(): Date;
17940
+ /**
17941
+ * * Field Name: __mj_UpdatedAt
17942
+ * * Display Name: Updated At
17943
+ * * SQL Data Type: datetimeoffset
17944
+ * * Default Value: getutcdate()
17945
+ */
17946
+ get __mj_UpdatedAt(): Date;
17947
+ /**
17948
+ * * Field Name: DefaultAssignmentStrategy
17949
+ * * Display Name: Default Assignment Strategy
17950
+ * * SQL Data Type: nvarchar(MAX)
17951
+ * * Description: JSON-serialized AgentRequestAssignmentStrategy defining the default assignment strategy for requests of this type. Used as the lowest-priority fallback in the resolution chain.
17952
+ */
17953
+ get DefaultAssignmentStrategy(): string | null;
17954
+ set DefaultAssignmentStrategy(value: string | null);
17955
+ /**
17956
+ * * Field Name: DefaultPriority
17957
+ * * Display Name: Default Priority
17958
+ * * SQL Data Type: int
17959
+ * * Description: Default priority (1-100) for requests of this type when no explicit priority is provided. NULL means use the system default of 50.
17960
+ */
17961
+ get DefaultPriority(): number | null;
17962
+ set DefaultPriority(value: number | null);
17963
+ /**
17964
+ * * Field Name: DefaultExpirationMinutes
17965
+ * * Display Name: Default Expiration (Minutes)
17966
+ * * SQL Data Type: int
17967
+ * * Description: Default expiration time in minutes for requests of this type. NULL means requests do not expire by default.
17968
+ */
17969
+ get DefaultExpirationMinutes(): number | null;
17970
+ set DefaultExpirationMinutes(value: number | null);
17971
+ /**
17972
+ * * Field Name: RequiresResponse
17973
+ * * Display Name: Requires Response
17974
+ * * SQL Data Type: bit
17975
+ * * Default Value: 1
17976
+ * * Description: Whether requests of this type require a structured response from the human before the agent can resume. When 0, the agent may proceed with just an acknowledgment.
17977
+ */
17978
+ get RequiresResponse(): boolean;
17979
+ set RequiresResponse(value: boolean);
17980
+ }
17577
17981
  /**
17578
17982
  * MJ: AI Agent Requests - strongly typed entity sub-class
17579
17983
  * * Schema: __mj
@@ -17599,6 +18003,21 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17599
18003
  */
17600
18004
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17601
18005
  /**
18006
+ * Validate() method override for MJ: AI Agent Requests entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
18007
+ * * Priority: Priority must be between 1 and 100 to ensure requests are correctly ranked and processed within the allowed range.
18008
+ * @public
18009
+ * @method
18010
+ * @override
18011
+ */
18012
+ Validate(): ValidationResult;
18013
+ /**
18014
+ * Priority must be between 1 and 100 to ensure requests are correctly ranked and processed within the allowed range.
18015
+ * @param result - the ValidationResult object to add any errors or warnings to
18016
+ * @public
18017
+ * @method
18018
+ */
18019
+ ValidatePriorityRange(result: ValidationResult): void;
18020
+ /**
17602
18021
  * * Field Name: ID
17603
18022
  * * Display Name: ID
17604
18023
  * * SQL Data Type: uniqueidentifier
@@ -17641,12 +18060,14 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17641
18060
  * * Possible Values
17642
18061
  * * Approved
17643
18062
  * * Canceled
18063
+ * * Expired
17644
18064
  * * Rejected
17645
18065
  * * Requested
18066
+ * * Responded
17646
18067
  * * Description: Current status of the request (Requested, Approved, Rejected, Canceled).
17647
18068
  */
17648
- get Status(): 'Approved' | 'Canceled' | 'Rejected' | 'Requested';
17649
- set Status(value: 'Approved' | 'Canceled' | 'Rejected' | 'Requested');
18069
+ get Status(): 'Approved' | 'Canceled' | 'Expired' | 'Rejected' | 'Requested' | 'Responded';
18070
+ set Status(value: 'Approved' | 'Canceled' | 'Expired' | 'Rejected' | 'Requested' | 'Responded');
17650
18071
  /**
17651
18072
  * * Field Name: Request
17652
18073
  * * Display Name: Request
@@ -17703,23 +18124,129 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17703
18124
  */
17704
18125
  get __mj_UpdatedAt(): Date;
17705
18126
  /**
18127
+ * * Field Name: RequestTypeID
18128
+ * * Display Name: Request Type
18129
+ * * SQL Data Type: uniqueidentifier
18130
+ * * Related Entity/Foreign Key: MJ: AI Agent Request Types (vwAIAgentRequestTypes.ID)
18131
+ * * Description: Foreign key to AIAgentRequestType. Categorizes the purpose of this request (Approval, Information, Choice, Review, Custom).
18132
+ */
18133
+ get RequestTypeID(): string | null;
18134
+ set RequestTypeID(value: string | null);
18135
+ /**
18136
+ * * Field Name: ResponseSchema
18137
+ * * Display Name: Response Schema
18138
+ * * SQL Data Type: nvarchar(MAX)
18139
+ * * Description: JSON-serialized AgentResponseForm defining the structured input form the agent presents to the human. Uses the same form types as ConversationDetail.ResponseForm.
18140
+ */
18141
+ get ResponseSchema(): string | null;
18142
+ set ResponseSchema(value: string | null);
18143
+ /**
18144
+ * * Field Name: ResponseData
18145
+ * * Display Name: Response Data
18146
+ * * SQL Data Type: nvarchar(MAX)
18147
+ * * Description: JSON structured response data provided by the human, conforming to the ResponseSchema definition.
18148
+ */
18149
+ get ResponseData(): string | null;
18150
+ set ResponseData(value: string | null);
18151
+ /**
18152
+ * * Field Name: Priority
18153
+ * * Display Name: Priority
18154
+ * * SQL Data Type: int
18155
+ * * Default Value: 50
18156
+ * * Description: Urgency level of the request as an integer from 1 (lowest) to 100 (highest). Default is 50. Suggested ranges: 1-25 Low, 26-50 Normal, 51-75 High, 76-100 Critical. Used for notification routing and dashboard sorting.
18157
+ */
18158
+ get Priority(): number;
18159
+ set Priority(value: number);
18160
+ /**
18161
+ * * Field Name: ExpiresAt
18162
+ * * Display Name: Expires At
18163
+ * * SQL Data Type: datetimeoffset
18164
+ * * Description: Optional deadline for the human to respond. After this time the request may be marked Expired by a background process.
18165
+ */
18166
+ get ExpiresAt(): Date | null;
18167
+ set ExpiresAt(value: Date | null);
18168
+ /**
18169
+ * * Field Name: OriginatingAgentRunID
18170
+ * * Display Name: Originating Agent Run
18171
+ * * SQL Data Type: uniqueidentifier
18172
+ * * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
18173
+ * * Description: Foreign key to AIAgentRun. The agent run that created this request. Used to trace request origin in run chains.
18174
+ */
18175
+ get OriginatingAgentRunID(): string | null;
18176
+ set OriginatingAgentRunID(value: string | null);
18177
+ /**
18178
+ * * Field Name: OriginatingAgentRunStepID
18179
+ * * Display Name: Originating Agent Run Step
18180
+ * * SQL Data Type: uniqueidentifier
18181
+ * * Related Entity/Foreign Key: MJ: AI Agent Run Steps (vwAIAgentRunSteps.ID)
18182
+ * * Description: Foreign key to AIAgentRunStep. The specific execution step that triggered this request.
18183
+ */
18184
+ get OriginatingAgentRunStepID(): string | null;
18185
+ set OriginatingAgentRunStepID(value: string | null);
18186
+ /**
18187
+ * * Field Name: ResumingAgentRunID
18188
+ * * Display Name: Resuming Agent Run
18189
+ * * SQL Data Type: uniqueidentifier
18190
+ * * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
18191
+ * * Description: Foreign key to AIAgentRun. The new agent run spawned after the human responds. NULL until a response triggers a resuming run.
18192
+ */
18193
+ get ResumingAgentRunID(): string | null;
18194
+ set ResumingAgentRunID(value: string | null);
18195
+ /**
18196
+ * * Field Name: ResponseSource
18197
+ * * Display Name: Response Source
18198
+ * * SQL Data Type: nvarchar(20)
18199
+ * * Value List Type: List
18200
+ * * Possible Values
18201
+ * * API
18202
+ * * Conversation
18203
+ * * Dashboard
18204
+ * * Description: Identifies where the response originated: Conversation (handled by chat resolver), Dashboard (slide-in panel), or API (external integration). Used by the server-side entity subclass to determine whether agent resumption is needed.
18205
+ */
18206
+ get ResponseSource(): 'API' | 'Conversation' | 'Dashboard' | null;
18207
+ set ResponseSource(value: 'API' | 'Conversation' | 'Dashboard' | null);
18208
+ /**
17706
18209
  * * Field Name: Agent
17707
- * * Display Name: Agent
18210
+ * * Display Name: Agent Name
17708
18211
  * * SQL Data Type: nvarchar(255)
17709
18212
  */
17710
18213
  get Agent(): string | null;
17711
18214
  /**
17712
18215
  * * Field Name: RequestForUser
17713
- * * Display Name: Request For User
18216
+ * * Display Name: Request For User Name
17714
18217
  * * SQL Data Type: nvarchar(100)
17715
18218
  */
17716
18219
  get RequestForUser(): string | null;
17717
18220
  /**
17718
18221
  * * Field Name: ResponseByUser
17719
- * * Display Name: Response By User
18222
+ * * Display Name: Response By User Name
17720
18223
  * * SQL Data Type: nvarchar(100)
17721
18224
  */
17722
18225
  get ResponseByUser(): string | null;
18226
+ /**
18227
+ * * Field Name: RequestType
18228
+ * * Display Name: Request Type Name
18229
+ * * SQL Data Type: nvarchar(100)
18230
+ */
18231
+ get RequestType(): string | null;
18232
+ /**
18233
+ * * Field Name: OriginatingAgentRun
18234
+ * * Display Name: Originating Agent Run Name
18235
+ * * SQL Data Type: nvarchar(255)
18236
+ */
18237
+ get OriginatingAgentRun(): string | null;
18238
+ /**
18239
+ * * Field Name: OriginatingAgentRunStep
18240
+ * * Display Name: Originating Agent Run Step Name
18241
+ * * SQL Data Type: nvarchar(255)
18242
+ */
18243
+ get OriginatingAgentRunStep(): string | null;
18244
+ /**
18245
+ * * Field Name: ResumingAgentRun
18246
+ * * Display Name: Resuming Agent Run Name
18247
+ * * SQL Data Type: nvarchar(255)
18248
+ */
18249
+ get ResumingAgentRun(): string | null;
17723
18250
  }
17724
18251
  /**
17725
18252
  * MJ: AI Agent Run Medias - strongly typed entity sub-class
@@ -18285,6 +18812,7 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
18285
18812
  * * Default Value: Running
18286
18813
  * * Value List Type: List
18287
18814
  * * Possible Values
18815
+ * * AwaitingFeedback
18288
18816
  * * Cancelled
18289
18817
  * * Completed
18290
18818
  * * Failed
@@ -18292,8 +18820,8 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
18292
18820
  * * Running
18293
18821
  * * Description: Current status of the agent run. Running -> Completed/Failed/Cancelled
18294
18822
  */
18295
- get Status(): 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Running';
18296
- set Status(value: 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Running');
18823
+ get Status(): 'AwaitingFeedback' | 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Running';
18824
+ set Status(value: 'AwaitingFeedback' | 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Running');
18297
18825
  /**
18298
18826
  * * Field Name: StartedAt
18299
18827
  * * Display Name: Started At
@@ -19268,15 +19796,23 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
19268
19796
  set UIFormSectionExpandedByDefault(value: boolean);
19269
19797
  /**
19270
19798
  * * Field Name: PromptParamsSchema
19271
- * * Display Name: Prompt Params Schema
19799
+ * * Display Name: Prompt Parameters Schema
19272
19800
  * * SQL Data Type: nvarchar(MAX)
19273
19801
  * * 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.
19274
19802
  */
19275
19803
  get PromptParamsSchema(): string | null;
19276
19804
  set PromptParamsSchema(value: string | null);
19277
19805
  /**
19806
+ * * Field Name: AssignmentStrategy
19807
+ * * Display Name: Assignment Strategy
19808
+ * * SQL Data Type: nvarchar(MAX)
19809
+ * * Description: JSON-serialized AgentRequestAssignmentStrategy defining the default assignment strategy for all agents of this type. Overridden by per-invocation or category-level strategies in the resolution chain.
19810
+ */
19811
+ get AssignmentStrategy(): string | null;
19812
+ set AssignmentStrategy(value: string | null);
19813
+ /**
19278
19814
  * * Field Name: SystemPrompt
19279
- * * Display Name: System Prompt
19815
+ * * Display Name: System Prompt Text
19280
19816
  * * SQL Data Type: nvarchar(255)
19281
19817
  */
19282
19818
  get SystemPrompt(): string | null;
@@ -19476,7 +20012,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19476
20012
  set EnableContextCompression(value: boolean);
19477
20013
  /**
19478
20014
  * * Field Name: ContextCompressionMessageThreshold
19479
- * * Display Name: Context Compression Message Threshold
20015
+ * * Display Name: Compression Message Threshold
19480
20016
  * * SQL Data Type: int
19481
20017
  * * Description: Number of messages that triggers context compression when EnableContextCompression is true.
19482
20018
  */
@@ -19484,7 +20020,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19484
20020
  set ContextCompressionMessageThreshold(value: number | null);
19485
20021
  /**
19486
20022
  * * Field Name: ContextCompressionPromptID
19487
- * * Display Name: Context Compression Prompt ID
20023
+ * * Display Name: Context Compression Prompt
19488
20024
  * * SQL Data Type: uniqueidentifier
19489
20025
  * * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
19490
20026
  */
@@ -19492,7 +20028,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19492
20028
  set ContextCompressionPromptID(value: string | null);
19493
20029
  /**
19494
20030
  * * Field Name: ContextCompressionMessageRetentionCount
19495
- * * Display Name: Context Compression Message Retention Count
20031
+ * * Display Name: Compression Message Retention Count
19496
20032
  * * SQL Data Type: int
19497
20033
  * * Description: Number of recent messages to keep uncompressed when context compression is applied.
19498
20034
  */
@@ -19731,7 +20267,7 @@ if this limit is exceeded.
19731
20267
  set DefaultArtifactTypeID(value: string | null);
19732
20268
  /**
19733
20269
  * * Field Name: OwnerUserID
19734
- * * Display Name: Owner User ID
20270
+ * * Display Name: Owner
19735
20271
  * * SQL Data Type: uniqueidentifier
19736
20272
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
19737
20273
  * * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
@@ -19881,7 +20417,7 @@ if this limit is exceeded.
19881
20417
  set MaxMessages(value: number | null);
19882
20418
  /**
19883
20419
  * * Field Name: AttachmentStorageProviderID
19884
- * * Display Name: Attachment Storage Provider ID
20420
+ * * Display Name: Attachment Storage Provider
19885
20421
  * * SQL Data Type: uniqueidentifier
19886
20422
  * * Related Entity/Foreign Key: MJ: File Storage Providers (vwFileStorageProviders.ID)
19887
20423
  * * Description: File storage provider for large attachments. Overrides the default from AIConfiguration. NULL uses system default.
@@ -19898,7 +20434,7 @@ if this limit is exceeded.
19898
20434
  set AttachmentRootPath(value: string | null);
19899
20435
  /**
19900
20436
  * * Field Name: InlineStorageThresholdBytes
19901
- * * Display Name: Inline Storage Threshold Bytes
20437
+ * * Display Name: Inline Storage Threshold (Bytes)
19902
20438
  * * SQL Data Type: int
19903
20439
  * * Description: File size threshold for inline storage. Files <= this size are stored as base64 inline, larger files use MJStorage. NULL uses system default (1MB). Set to 0 to always use MJStorage.
19904
20440
  */
@@ -19914,7 +20450,7 @@ if this limit is exceeded.
19914
20450
  set AgentTypePromptParams(value: string | null);
19915
20451
  /**
19916
20452
  * * Field Name: ScopeConfig
19917
- * * Display Name: Scope Config
20453
+ * * Display Name: Scope Configuration
19918
20454
  * * SQL Data Type: nvarchar(MAX)
19919
20455
  * * 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"}
19920
20456
  */
@@ -19922,7 +20458,7 @@ if this limit is exceeded.
19922
20458
  set ScopeConfig(value: string | null);
19923
20459
  /**
19924
20460
  * * Field Name: NoteRetentionDays
19925
- * * Display Name: Note Retention Days
20461
+ * * Display Name: Note Retention (Days)
19926
20462
  * * SQL Data Type: int
19927
20463
  * * Default Value: 90
19928
20464
  * * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
@@ -19931,7 +20467,7 @@ if this limit is exceeded.
19931
20467
  set NoteRetentionDays(value: number | null);
19932
20468
  /**
19933
20469
  * * Field Name: ExampleRetentionDays
19934
- * * Display Name: Example Retention Days
20470
+ * * Display Name: Example Retention (Days)
19935
20471
  * * SQL Data Type: int
19936
20472
  * * Default Value: 180
19937
20473
  * * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
@@ -19956,44 +20492,59 @@ if this limit is exceeded.
19956
20492
  get RerankerConfiguration(): string | null;
19957
20493
  set RerankerConfiguration(value: string | null);
19958
20494
  /**
20495
+ * * Field Name: CategoryID
20496
+ * * Display Name: Category
20497
+ * * SQL Data Type: uniqueidentifier
20498
+ * * Related Entity/Foreign Key: MJ: AI Agent Categories (vwAIAgentCategories.ID)
20499
+ * * Description: Foreign key to AIAgentCategory. Assigns this agent to an organizational category for grouping, filtering, and inherited assignment strategy resolution.
20500
+ */
20501
+ get CategoryID(): string | null;
20502
+ set CategoryID(value: string | null);
20503
+ /**
19959
20504
  * * Field Name: Parent
19960
- * * Display Name: Parent
20505
+ * * Display Name: Parent Name
19961
20506
  * * SQL Data Type: nvarchar(255)
19962
20507
  */
19963
20508
  get Parent(): string | null;
19964
20509
  /**
19965
20510
  * * Field Name: ContextCompressionPrompt
19966
- * * Display Name: Context Compression Prompt
20511
+ * * Display Name: Context Compression Prompt Name
19967
20512
  * * SQL Data Type: nvarchar(255)
19968
20513
  */
19969
20514
  get ContextCompressionPrompt(): string | null;
19970
20515
  /**
19971
20516
  * * Field Name: Type
19972
- * * Display Name: Type
20517
+ * * Display Name: Type Name
19973
20518
  * * SQL Data Type: nvarchar(100)
19974
20519
  */
19975
20520
  get Type(): string | null;
19976
20521
  /**
19977
20522
  * * Field Name: DefaultArtifactType
19978
- * * Display Name: Default Artifact Type
20523
+ * * Display Name: Default Artifact Type Name
19979
20524
  * * SQL Data Type: nvarchar(100)
19980
20525
  */
19981
20526
  get DefaultArtifactType(): string | null;
19982
20527
  /**
19983
20528
  * * Field Name: OwnerUser
19984
- * * Display Name: Owner User
20529
+ * * Display Name: Owner Name
19985
20530
  * * SQL Data Type: nvarchar(100)
19986
20531
  */
19987
20532
  get OwnerUser(): string;
19988
20533
  /**
19989
20534
  * * Field Name: AttachmentStorageProvider
19990
- * * Display Name: Attachment Storage Provider
20535
+ * * Display Name: Attachment Storage Provider Name
19991
20536
  * * SQL Data Type: nvarchar(50)
19992
20537
  */
19993
20538
  get AttachmentStorageProvider(): string | null;
19994
20539
  /**
20540
+ * * Field Name: Category
20541
+ * * Display Name: Category Name
20542
+ * * SQL Data Type: nvarchar(200)
20543
+ */
20544
+ get Category(): string | null;
20545
+ /**
19995
20546
  * * Field Name: RootParentID
19996
- * * Display Name: Root Parent ID
20547
+ * * Display Name: Root Parent
19997
20548
  * * SQL Data Type: uniqueidentifier
19998
20549
  */
19999
20550
  get RootParentID(): string | null;
@@ -39482,7 +40033,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
39482
40033
  set IntegrationID(value: string);
39483
40034
  /**
39484
40035
  * * Field Name: Name
39485
- * * Display Name: Internal Name
40036
+ * * Display Name: Name
39486
40037
  * * SQL Data Type: nvarchar(255)
39487
40038
  * * Description: Internal/programmatic name of the external object (e.g., Members, Events)
39488
40039
  */
@@ -39633,6 +40184,32 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
39633
40184
  */
39634
40185
  get __mj_UpdatedAt(): Date;
39635
40186
  /**
40187
+ * * Field Name: WriteAPIPath
40188
+ * * Display Name: Write API Path
40189
+ * * SQL Data Type: nvarchar(500)
40190
+ * * Description: API path for create/update operations when different from the read APIPath. If NULL, the read APIPath is used for writes as well.
40191
+ */
40192
+ get WriteAPIPath(): string | null;
40193
+ set WriteAPIPath(value: string | null);
40194
+ /**
40195
+ * * Field Name: WriteMethod
40196
+ * * Display Name: Write Method
40197
+ * * SQL Data Type: nvarchar(10)
40198
+ * * Default Value: POST
40199
+ * * Description: HTTP method for create operations. Defaults to POST.
40200
+ */
40201
+ get WriteMethod(): string | null;
40202
+ set WriteMethod(value: string | null);
40203
+ /**
40204
+ * * Field Name: DeleteMethod
40205
+ * * Display Name: Delete Method
40206
+ * * SQL Data Type: nvarchar(10)
40207
+ * * Default Value: DELETE
40208
+ * * Description: HTTP method for delete operations. Defaults to DELETE.
40209
+ */
40210
+ get DeleteMethod(): string | null;
40211
+ set DeleteMethod(value: string | null);
40212
+ /**
39636
40213
  * * Field Name: Integration
39637
40214
  * * Display Name: Integration Name
39638
40215
  * * SQL Data Type: nvarchar(100)
@@ -39938,6 +40515,14 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
39938
40515
  get CredentialTypeID(): string | null;
39939
40516
  set CredentialTypeID(value: string | null);
39940
40517
  /**
40518
+ * * Field Name: Icon
40519
+ * * Display Name: Icon
40520
+ * * SQL Data Type: nvarchar(MAX)
40521
+ * * Description: Icon for the integration. Supports Font Awesome CSS classes, image URLs, or base64 data URIs.
40522
+ */
40523
+ get Icon(): string | null;
40524
+ set Icon(value: string | null);
40525
+ /**
39941
40526
  * * Field Name: CredentialType
39942
40527
  * * Display Name: Credential Type Name
39943
40528
  * * SQL Data Type: nvarchar(100)
@@ -43455,6 +44040,15 @@ export declare class MJQueryEntity extends BaseEntity<MJQueryEntityType> {
43455
44040
  get SQLDialectID(): string;
43456
44041
  set SQLDialectID(value: string);
43457
44042
  /**
44043
+ * * Field Name: Reusable
44044
+ * * Display Name: Is Reusable
44045
+ * * SQL Data Type: bit
44046
+ * * Default Value: 0
44047
+ * * Description: When true, this query can be referenced by other queries using composition syntax. Only queries that are both Reusable and Approved can be composed into other queries.
44048
+ */
44049
+ get Reusable(): boolean;
44050
+ set Reusable(value: boolean);
44051
+ /**
43458
44052
  * * Field Name: Category
43459
44053
  * * Display Name: Category Name
43460
44054
  * * SQL Data Type: nvarchar(50)
@@ -43602,6 +44196,120 @@ export declare class MJQueryCategoryEntity extends BaseEntity<MJQueryCategoryEnt
43602
44196
  */
43603
44197
  get RootParentID(): string | null;
43604
44198
  }
44199
+ /**
44200
+ * MJ: Query Dependencies - strongly typed entity sub-class
44201
+ * * Schema: __mj
44202
+ * * Base Table: QueryDependency
44203
+ * * Base View: vwQueryDependencies
44204
+ * * @description Tracks which queries reference other queries via composition syntax. Auto-populated by the query save pipeline.
44205
+ * * Primary Key: ID
44206
+ * @extends {BaseEntity}
44207
+ * @class
44208
+ * @public
44209
+ */
44210
+ export declare class MJQueryDependencyEntity extends BaseEntity<MJQueryDependencyEntityType> {
44211
+ /**
44212
+ * Loads the MJ: Query Dependencies record from the database
44213
+ * @param ID: string - primary key value to load the MJ: Query Dependencies record.
44214
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
44215
+ * @returns {Promise<boolean>} - true if successful, false otherwise
44216
+ * @public
44217
+ * @async
44218
+ * @memberof MJQueryDependencyEntity
44219
+ * @method
44220
+ * @override
44221
+ */
44222
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
44223
+ /**
44224
+ * * Field Name: ID
44225
+ * * Display Name: ID
44226
+ * * SQL Data Type: uniqueidentifier
44227
+ * * Default Value: newsequentialid()
44228
+ */
44229
+ get ID(): string;
44230
+ set ID(value: string);
44231
+ /**
44232
+ * * Field Name: QueryID
44233
+ * * Display Name: Query
44234
+ * * SQL Data Type: uniqueidentifier
44235
+ * * Related Entity/Foreign Key: MJ: Queries (vwQueries.ID)
44236
+ * * Description: Foreign key to the query that contains the composition reference.
44237
+ */
44238
+ get QueryID(): string;
44239
+ set QueryID(value: string);
44240
+ /**
44241
+ * * Field Name: DependsOnQueryID
44242
+ * * Display Name: Depends On Query
44243
+ * * SQL Data Type: uniqueidentifier
44244
+ * * Related Entity/Foreign Key: MJ: Queries (vwQueries.ID)
44245
+ * * Description: Foreign key to the referenced (depended-upon) query.
44246
+ */
44247
+ get DependsOnQueryID(): string;
44248
+ set DependsOnQueryID(value: string);
44249
+ /**
44250
+ * * Field Name: ReferencePath
44251
+ * * Display Name: Reference Path
44252
+ * * SQL Data Type: nvarchar(500)
44253
+ * * Description: The full composition reference path as written in the SQL.
44254
+ */
44255
+ get ReferencePath(): string;
44256
+ set ReferencePath(value: string);
44257
+ /**
44258
+ * * Field Name: Alias
44259
+ * * Display Name: Alias
44260
+ * * SQL Data Type: nvarchar(100)
44261
+ * * Description: SQL alias used for the composed CTE in the referencing query.
44262
+ */
44263
+ get Alias(): string | null;
44264
+ set Alias(value: string | null);
44265
+ /**
44266
+ * * Field Name: ParameterMapping
44267
+ * * Display Name: Parameter Mapping
44268
+ * * SQL Data Type: nvarchar(MAX)
44269
+ * * Description: JSON object mapping parameter names to values or pass-through parameter names.
44270
+ */
44271
+ get ParameterMapping(): string | null;
44272
+ set ParameterMapping(value: string | null);
44273
+ /**
44274
+ * * Field Name: DetectionMethod
44275
+ * * Display Name: Detection Method
44276
+ * * SQL Data Type: nvarchar(20)
44277
+ * * Default Value: Auto
44278
+ * * Value List Type: List
44279
+ * * Possible Values
44280
+ * * Auto
44281
+ * * Manual
44282
+ * * Description: How the dependency was detected: Auto (parsed from SQL) or Manual (user-specified).
44283
+ */
44284
+ get DetectionMethod(): 'Auto' | 'Manual';
44285
+ set DetectionMethod(value: 'Auto' | 'Manual');
44286
+ /**
44287
+ * * Field Name: __mj_CreatedAt
44288
+ * * Display Name: Created At
44289
+ * * SQL Data Type: datetimeoffset
44290
+ * * Default Value: getutcdate()
44291
+ */
44292
+ get __mj_CreatedAt(): Date;
44293
+ /**
44294
+ * * Field Name: __mj_UpdatedAt
44295
+ * * Display Name: Updated At
44296
+ * * SQL Data Type: datetimeoffset
44297
+ * * Default Value: getutcdate()
44298
+ */
44299
+ get __mj_UpdatedAt(): Date;
44300
+ /**
44301
+ * * Field Name: Query
44302
+ * * Display Name: Source Query Name
44303
+ * * SQL Data Type: nvarchar(255)
44304
+ */
44305
+ get Query(): string;
44306
+ /**
44307
+ * * Field Name: DependsOnQuery
44308
+ * * Display Name: Target Query Name
44309
+ * * SQL Data Type: nvarchar(255)
44310
+ */
44311
+ get DependsOnQuery(): string;
44312
+ }
43605
44313
  /**
43606
44314
  * MJ: Query Entities - strongly typed entity sub-class
43607
44315
  * * Schema: __mj