@memberjunction/core-entities 5.11.0 → 5.13.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.
@@ -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;
@@ -11372,9 +11511,9 @@ export declare const MJReportSchema: z.ZodObject<{
11372
11511
  CategoryID?: string;
11373
11512
  Category?: string;
11374
11513
  Configuration?: string;
11514
+ Conversation?: string;
11375
11515
  ConversationID?: string;
11376
11516
  ConversationDetailID?: string;
11377
- Conversation?: string;
11378
11517
  ConversationDetail?: string;
11379
11518
  EnvironmentID?: string;
11380
11519
  Environment?: string;
@@ -11403,9 +11542,9 @@ export declare const MJReportSchema: z.ZodObject<{
11403
11542
  CategoryID?: string;
11404
11543
  Category?: string;
11405
11544
  Configuration?: string;
11545
+ Conversation?: string;
11406
11546
  ConversationID?: string;
11407
11547
  ConversationDetailID?: string;
11408
- Conversation?: string;
11409
11548
  ConversationDetail?: string;
11410
11549
  EnvironmentID?: string;
11411
11550
  Environment?: string;
@@ -11838,7 +11977,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
11838
11977
  __mj_UpdatedAt?: Date;
11839
11978
  Name?: string;
11840
11979
  Description?: string;
11841
- Status?: "Active" | "Disabled" | "Pending" | "Paused" | "Expired";
11980
+ Status?: "Active" | "Disabled" | "Pending" | "Expired" | "Paused";
11842
11981
  Configuration?: string;
11843
11982
  OwnerUserID?: string;
11844
11983
  OwnerUser?: string;
@@ -11870,7 +12009,7 @@ export declare const MJScheduledJobSchema: z.ZodObject<{
11870
12009
  __mj_UpdatedAt?: Date;
11871
12010
  Name?: string;
11872
12011
  Description?: string;
11873
- Status?: "Active" | "Disabled" | "Pending" | "Paused" | "Expired";
12012
+ Status?: "Active" | "Disabled" | "Pending" | "Expired" | "Paused";
11874
12013
  Configuration?: string;
11875
12014
  OwnerUserID?: string;
11876
12015
  OwnerUser?: string;
@@ -15262,7 +15401,7 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
15262
15401
  set ForceCodeGeneration(value: boolean);
15263
15402
  /**
15264
15403
  * * Field Name: RetentionPeriod
15265
- * * Display Name: Retention Period
15404
+ * * Display Name: Retention Period (Days)
15266
15405
  * * SQL Data Type: int
15267
15406
  * * Description: Number of days to retain execution logs; NULL for indefinite.
15268
15407
  */
@@ -15331,26 +15470,35 @@ export declare class MJActionEntity extends BaseEntity<MJActionEntityType> {
15331
15470
  get DefaultCompactPromptID(): string | null;
15332
15471
  set DefaultCompactPromptID(value: string | null);
15333
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
+ /**
15334
15482
  * * Field Name: Category
15335
- * * Display Name: Category
15483
+ * * Display Name: Category Name
15336
15484
  * * SQL Data Type: nvarchar(255)
15337
15485
  */
15338
15486
  get Category(): string | null;
15339
15487
  /**
15340
15488
  * * Field Name: CodeApprovedByUser
15341
- * * Display Name: Code Approved By User
15489
+ * * Display Name: Code Approved By (User)
15342
15490
  * * SQL Data Type: nvarchar(100)
15343
15491
  */
15344
15492
  get CodeApprovedByUser(): string | null;
15345
15493
  /**
15346
15494
  * * Field Name: Parent
15347
- * * Display Name: Parent
15495
+ * * Display Name: Parent Name
15348
15496
  * * SQL Data Type: nvarchar(425)
15349
15497
  */
15350
15498
  get Parent(): string | null;
15351
15499
  /**
15352
15500
  * * Field Name: DefaultCompactPrompt
15353
- * * Display Name: Default Compact Prompt
15501
+ * * Display Name: Default Compact Prompt Text
15354
15502
  * * SQL Data Type: nvarchar(255)
15355
15503
  */
15356
15504
  get DefaultCompactPrompt(): string | null;
@@ -15782,6 +15930,113 @@ export declare class MJAIAgentArtifactTypeEntity extends BaseEntity<MJAIAgentArt
15782
15930
  */
15783
15931
  get ArtifactType(): string;
15784
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
+ }
15785
16040
  /**
15786
16041
  * MJ: AI Agent Configurations - strongly typed entity sub-class
15787
16042
  * * Schema: __mj
@@ -17618,6 +17873,111 @@ export declare class MJAIAgentRelationshipEntity extends BaseEntity<MJAIAgentRel
17618
17873
  */
17619
17874
  get SubAgent(): string | null;
17620
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
+ }
17621
17981
  /**
17622
17982
  * MJ: AI Agent Requests - strongly typed entity sub-class
17623
17983
  * * Schema: __mj
@@ -17643,6 +18003,21 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17643
18003
  */
17644
18004
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17645
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
+ /**
17646
18021
  * * Field Name: ID
17647
18022
  * * Display Name: ID
17648
18023
  * * SQL Data Type: uniqueidentifier
@@ -17685,12 +18060,14 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17685
18060
  * * Possible Values
17686
18061
  * * Approved
17687
18062
  * * Canceled
18063
+ * * Expired
17688
18064
  * * Rejected
17689
18065
  * * Requested
18066
+ * * Responded
17690
18067
  * * Description: Current status of the request (Requested, Approved, Rejected, Canceled).
17691
18068
  */
17692
- get Status(): 'Approved' | 'Canceled' | 'Rejected' | 'Requested';
17693
- 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');
17694
18071
  /**
17695
18072
  * * Field Name: Request
17696
18073
  * * Display Name: Request
@@ -17747,23 +18124,129 @@ export declare class MJAIAgentRequestEntity extends BaseEntity<MJAIAgentRequestE
17747
18124
  */
17748
18125
  get __mj_UpdatedAt(): Date;
17749
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
+ /**
17750
18209
  * * Field Name: Agent
17751
- * * Display Name: Agent
18210
+ * * Display Name: Agent Name
17752
18211
  * * SQL Data Type: nvarchar(255)
17753
18212
  */
17754
18213
  get Agent(): string | null;
17755
18214
  /**
17756
18215
  * * Field Name: RequestForUser
17757
- * * Display Name: Request For User
18216
+ * * Display Name: Request For User Name
17758
18217
  * * SQL Data Type: nvarchar(100)
17759
18218
  */
17760
18219
  get RequestForUser(): string | null;
17761
18220
  /**
17762
18221
  * * Field Name: ResponseByUser
17763
- * * Display Name: Response By User
18222
+ * * Display Name: Response By User Name
17764
18223
  * * SQL Data Type: nvarchar(100)
17765
18224
  */
17766
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;
17767
18250
  }
17768
18251
  /**
17769
18252
  * MJ: AI Agent Run Medias - strongly typed entity sub-class
@@ -18329,6 +18812,7 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
18329
18812
  * * Default Value: Running
18330
18813
  * * Value List Type: List
18331
18814
  * * Possible Values
18815
+ * * AwaitingFeedback
18332
18816
  * * Cancelled
18333
18817
  * * Completed
18334
18818
  * * Failed
@@ -18336,8 +18820,8 @@ export declare class MJAIAgentRunEntity extends BaseEntity<MJAIAgentRunEntityTyp
18336
18820
  * * Running
18337
18821
  * * Description: Current status of the agent run. Running -> Completed/Failed/Cancelled
18338
18822
  */
18339
- get Status(): 'Cancelled' | 'Completed' | 'Failed' | 'Paused' | 'Running';
18340
- 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');
18341
18825
  /**
18342
18826
  * * Field Name: StartedAt
18343
18827
  * * Display Name: Started At
@@ -19312,15 +19796,23 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
19312
19796
  set UIFormSectionExpandedByDefault(value: boolean);
19313
19797
  /**
19314
19798
  * * Field Name: PromptParamsSchema
19315
- * * Display Name: Prompt Params Schema
19799
+ * * Display Name: Prompt Parameters Schema
19316
19800
  * * SQL Data Type: nvarchar(MAX)
19317
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.
19318
19802
  */
19319
19803
  get PromptParamsSchema(): string | null;
19320
19804
  set PromptParamsSchema(value: string | null);
19321
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
+ /**
19322
19814
  * * Field Name: SystemPrompt
19323
- * * Display Name: System Prompt
19815
+ * * Display Name: System Prompt Text
19324
19816
  * * SQL Data Type: nvarchar(255)
19325
19817
  */
19326
19818
  get SystemPrompt(): string | null;
@@ -19520,7 +20012,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19520
20012
  set EnableContextCompression(value: boolean);
19521
20013
  /**
19522
20014
  * * Field Name: ContextCompressionMessageThreshold
19523
- * * Display Name: Context Compression Message Threshold
20015
+ * * Display Name: Compression Message Threshold
19524
20016
  * * SQL Data Type: int
19525
20017
  * * Description: Number of messages that triggers context compression when EnableContextCompression is true.
19526
20018
  */
@@ -19528,7 +20020,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19528
20020
  set ContextCompressionMessageThreshold(value: number | null);
19529
20021
  /**
19530
20022
  * * Field Name: ContextCompressionPromptID
19531
- * * Display Name: Context Compression Prompt ID
20023
+ * * Display Name: Context Compression Prompt
19532
20024
  * * SQL Data Type: uniqueidentifier
19533
20025
  * * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
19534
20026
  */
@@ -19536,7 +20028,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
19536
20028
  set ContextCompressionPromptID(value: string | null);
19537
20029
  /**
19538
20030
  * * Field Name: ContextCompressionMessageRetentionCount
19539
- * * Display Name: Context Compression Message Retention Count
20031
+ * * Display Name: Compression Message Retention Count
19540
20032
  * * SQL Data Type: int
19541
20033
  * * Description: Number of recent messages to keep uncompressed when context compression is applied.
19542
20034
  */
@@ -19775,7 +20267,7 @@ if this limit is exceeded.
19775
20267
  set DefaultArtifactTypeID(value: string | null);
19776
20268
  /**
19777
20269
  * * Field Name: OwnerUserID
19778
- * * Display Name: Owner User ID
20270
+ * * Display Name: Owner
19779
20271
  * * SQL Data Type: uniqueidentifier
19780
20272
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
19781
20273
  * * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
@@ -19925,7 +20417,7 @@ if this limit is exceeded.
19925
20417
  set MaxMessages(value: number | null);
19926
20418
  /**
19927
20419
  * * Field Name: AttachmentStorageProviderID
19928
- * * Display Name: Attachment Storage Provider ID
20420
+ * * Display Name: Attachment Storage Provider
19929
20421
  * * SQL Data Type: uniqueidentifier
19930
20422
  * * Related Entity/Foreign Key: MJ: File Storage Providers (vwFileStorageProviders.ID)
19931
20423
  * * Description: File storage provider for large attachments. Overrides the default from AIConfiguration. NULL uses system default.
@@ -19942,7 +20434,7 @@ if this limit is exceeded.
19942
20434
  set AttachmentRootPath(value: string | null);
19943
20435
  /**
19944
20436
  * * Field Name: InlineStorageThresholdBytes
19945
- * * Display Name: Inline Storage Threshold Bytes
20437
+ * * Display Name: Inline Storage Threshold (Bytes)
19946
20438
  * * SQL Data Type: int
19947
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.
19948
20440
  */
@@ -19958,7 +20450,7 @@ if this limit is exceeded.
19958
20450
  set AgentTypePromptParams(value: string | null);
19959
20451
  /**
19960
20452
  * * Field Name: ScopeConfig
19961
- * * Display Name: Scope Config
20453
+ * * Display Name: Scope Configuration
19962
20454
  * * SQL Data Type: nvarchar(MAX)
19963
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"}
19964
20456
  */
@@ -19966,7 +20458,7 @@ if this limit is exceeded.
19966
20458
  set ScopeConfig(value: string | null);
19967
20459
  /**
19968
20460
  * * Field Name: NoteRetentionDays
19969
- * * Display Name: Note Retention Days
20461
+ * * Display Name: Note Retention (Days)
19970
20462
  * * SQL Data Type: int
19971
20463
  * * Default Value: 90
19972
20464
  * * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
@@ -19975,7 +20467,7 @@ if this limit is exceeded.
19975
20467
  set NoteRetentionDays(value: number | null);
19976
20468
  /**
19977
20469
  * * Field Name: ExampleRetentionDays
19978
- * * Display Name: Example Retention Days
20470
+ * * Display Name: Example Retention (Days)
19979
20471
  * * SQL Data Type: int
19980
20472
  * * Default Value: 180
19981
20473
  * * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
@@ -20000,44 +20492,59 @@ if this limit is exceeded.
20000
20492
  get RerankerConfiguration(): string | null;
20001
20493
  set RerankerConfiguration(value: string | null);
20002
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
+ /**
20003
20504
  * * Field Name: Parent
20004
- * * Display Name: Parent
20505
+ * * Display Name: Parent Name
20005
20506
  * * SQL Data Type: nvarchar(255)
20006
20507
  */
20007
20508
  get Parent(): string | null;
20008
20509
  /**
20009
20510
  * * Field Name: ContextCompressionPrompt
20010
- * * Display Name: Context Compression Prompt
20511
+ * * Display Name: Context Compression Prompt Name
20011
20512
  * * SQL Data Type: nvarchar(255)
20012
20513
  */
20013
20514
  get ContextCompressionPrompt(): string | null;
20014
20515
  /**
20015
20516
  * * Field Name: Type
20016
- * * Display Name: Type
20517
+ * * Display Name: Type Name
20017
20518
  * * SQL Data Type: nvarchar(100)
20018
20519
  */
20019
20520
  get Type(): string | null;
20020
20521
  /**
20021
20522
  * * Field Name: DefaultArtifactType
20022
- * * Display Name: Default Artifact Type
20523
+ * * Display Name: Default Artifact Type Name
20023
20524
  * * SQL Data Type: nvarchar(100)
20024
20525
  */
20025
20526
  get DefaultArtifactType(): string | null;
20026
20527
  /**
20027
20528
  * * Field Name: OwnerUser
20028
- * * Display Name: Owner User
20529
+ * * Display Name: Owner Name
20029
20530
  * * SQL Data Type: nvarchar(100)
20030
20531
  */
20031
20532
  get OwnerUser(): string;
20032
20533
  /**
20033
20534
  * * Field Name: AttachmentStorageProvider
20034
- * * Display Name: Attachment Storage Provider
20535
+ * * Display Name: Attachment Storage Provider Name
20035
20536
  * * SQL Data Type: nvarchar(50)
20036
20537
  */
20037
20538
  get AttachmentStorageProvider(): string | null;
20038
20539
  /**
20540
+ * * Field Name: Category
20541
+ * * Display Name: Category Name
20542
+ * * SQL Data Type: nvarchar(200)
20543
+ */
20544
+ get Category(): string | null;
20545
+ /**
20039
20546
  * * Field Name: RootParentID
20040
- * * Display Name: Root Parent ID
20547
+ * * Display Name: Root Parent
20041
20548
  * * SQL Data Type: uniqueidentifier
20042
20549
  */
20043
20550
  get RootParentID(): string | null;
@@ -39526,7 +40033,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
39526
40033
  set IntegrationID(value: string);
39527
40034
  /**
39528
40035
  * * Field Name: Name
39529
- * * Display Name: Internal Name
40036
+ * * Display Name: Name
39530
40037
  * * SQL Data Type: nvarchar(255)
39531
40038
  * * Description: Internal/programmatic name of the external object (e.g., Members, Events)
39532
40039
  */
@@ -39677,6 +40184,32 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
39677
40184
  */
39678
40185
  get __mj_UpdatedAt(): Date;
39679
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
+ /**
39680
40213
  * * Field Name: Integration
39681
40214
  * * Display Name: Integration Name
39682
40215
  * * SQL Data Type: nvarchar(100)
@@ -39982,6 +40515,14 @@ export declare class MJIntegrationEntity extends BaseEntity<MJIntegrationEntityT
39982
40515
  get CredentialTypeID(): string | null;
39983
40516
  set CredentialTypeID(value: string | null);
39984
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
+ /**
39985
40526
  * * Field Name: CredentialType
39986
40527
  * * Display Name: Credential Type Name
39987
40528
  * * SQL Data Type: nvarchar(100)