@memberjunction/core-entities 5.0.0 → 5.1.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.
Files changed (37) hide show
  1. package/dist/generated/entity_subclasses.d.ts +675 -246
  2. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  3. package/dist/generated/entity_subclasses.js +1180 -511
  4. package/dist/generated/entity_subclasses.js.map +1 -1
  5. package/package.json +5 -5
  6. package/dist/custom/AIAgentExtended.d.ts +0 -13
  7. package/dist/custom/AIAgentExtended.d.ts.map +0 -1
  8. package/dist/custom/AIAgentExtended.js +0 -37
  9. package/dist/custom/AIAgentExtended.js.map +0 -1
  10. package/dist/custom/AIAgentRunExtended.d.ts +0 -32
  11. package/dist/custom/AIAgentRunExtended.d.ts.map +0 -1
  12. package/dist/custom/AIAgentRunExtended.js +0 -136
  13. package/dist/custom/AIAgentRunExtended.js.map +0 -1
  14. package/dist/custom/AIAgentRunStepExtended.d.ts +0 -48
  15. package/dist/custom/AIAgentRunStepExtended.d.ts.map +0 -1
  16. package/dist/custom/AIAgentRunStepExtended.js +0 -149
  17. package/dist/custom/AIAgentRunStepExtended.js.map +0 -1
  18. package/dist/custom/AIModelExtended.d.ts +0 -14
  19. package/dist/custom/AIModelExtended.d.ts.map +0 -1
  20. package/dist/custom/AIModelExtended.js +0 -36
  21. package/dist/custom/AIModelExtended.js.map +0 -1
  22. package/dist/custom/AIPromptCategoryExtended.d.ts +0 -7
  23. package/dist/custom/AIPromptCategoryExtended.d.ts.map +0 -1
  24. package/dist/custom/AIPromptCategoryExtended.js +0 -26
  25. package/dist/custom/AIPromptCategoryExtended.js.map +0 -1
  26. package/dist/custom/AIPromptExtended.d.ts +0 -51
  27. package/dist/custom/AIPromptExtended.d.ts.map +0 -1
  28. package/dist/custom/AIPromptExtended.js +0 -169
  29. package/dist/custom/AIPromptExtended.js.map +0 -1
  30. package/dist/custom/AIPromptRunEntityExtended.d.ts +0 -47
  31. package/dist/custom/AIPromptRunEntityExtended.d.ts.map +0 -1
  32. package/dist/custom/AIPromptRunEntityExtended.js +0 -156
  33. package/dist/custom/AIPromptRunEntityExtended.js.map +0 -1
  34. package/dist/custom/TypeTablesCache.d.ts +0 -12
  35. package/dist/custom/TypeTablesCache.d.ts.map +0 -1
  36. package/dist/custom/TypeTablesCache.js +0 -31
  37. package/dist/custom/TypeTablesCache.js.map +0 -1
@@ -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<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Other">, 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;
@@ -1356,8 +1356,6 @@ export declare const MJAIAgentRunStepSchema: z.ZodObject<{
1356
1356
  FinalPayloadValidationMessages: z.ZodNullable<z.ZodString>;
1357
1357
  ParentID: z.ZodNullable<z.ZodString>;
1358
1358
  Comments: z.ZodNullable<z.ZodString>;
1359
- AgentRun: z.ZodNullable<z.ZodString>;
1360
- Parent: z.ZodNullable<z.ZodString>;
1361
1359
  RootParentID: z.ZodNullable<z.ZodString>;
1362
1360
  }, "strip", z.ZodTypeAny, {
1363
1361
  ID?: string;
@@ -1366,11 +1364,9 @@ export declare const MJAIAgentRunStepSchema: z.ZodObject<{
1366
1364
  Comments?: string;
1367
1365
  ParentID?: string;
1368
1366
  Status?: "Failed" | "Cancelled" | "Completed" | "Running";
1369
- Parent?: string;
1370
1367
  RootParentID?: string;
1371
1368
  StartedAt?: Date;
1372
1369
  AgentRunID?: string;
1373
- AgentRun?: string;
1374
1370
  StepNumber?: number;
1375
1371
  StepType?: "Prompt" | "Actions" | "Chat" | "Decision" | "ForEach" | "Sub-Agent" | "Validation" | "While";
1376
1372
  StepName?: string;
@@ -1392,11 +1388,9 @@ export declare const MJAIAgentRunStepSchema: z.ZodObject<{
1392
1388
  Comments?: string;
1393
1389
  ParentID?: string;
1394
1390
  Status?: "Failed" | "Cancelled" | "Completed" | "Running";
1395
- Parent?: string;
1396
1391
  RootParentID?: string;
1397
1392
  StartedAt?: Date;
1398
1393
  AgentRunID?: string;
1399
- AgentRun?: string;
1400
1394
  StepNumber?: number;
1401
1395
  StepType?: "Prompt" | "Actions" | "Chat" | "Decision" | "ForEach" | "Sub-Agent" | "Validation" | "While";
1402
1396
  StepName?: string;
@@ -3317,7 +3311,6 @@ export declare const MJAIResultCacheSchema: z.ZodObject<{
3317
3311
  Vendor: z.ZodNullable<z.ZodString>;
3318
3312
  Agent: z.ZodNullable<z.ZodString>;
3319
3313
  Configuration: z.ZodNullable<z.ZodString>;
3320
- PromptRun: z.ZodNullable<z.ZodString>;
3321
3314
  }, "strip", z.ZodTypeAny, {
3322
3315
  ID?: string;
3323
3316
  __mj_CreatedAt?: Date;
@@ -3332,7 +3325,6 @@ export declare const MJAIResultCacheSchema: z.ZodObject<{
3332
3325
  AIModel?: string;
3333
3326
  VendorID?: string;
3334
3327
  PromptRunID?: string;
3335
- PromptRun?: string;
3336
3328
  RunAt?: Date;
3337
3329
  AIPromptID?: string;
3338
3330
  PromptText?: string;
@@ -3354,7 +3346,6 @@ export declare const MJAIResultCacheSchema: z.ZodObject<{
3354
3346
  AIModel?: string;
3355
3347
  VendorID?: string;
3356
3348
  PromptRunID?: string;
3357
- PromptRun?: string;
3358
3349
  RunAt?: Date;
3359
3350
  AIPromptID?: string;
3360
3351
  PromptText?: string;
@@ -5643,7 +5634,6 @@ export declare const MJConversationDetailArtifactSchema: z.ZodObject<{
5643
5634
  Direction: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
5644
5635
  __mj_CreatedAt: z.ZodDate;
5645
5636
  __mj_UpdatedAt: z.ZodDate;
5646
- ConversationDetail: z.ZodString;
5647
5637
  ArtifactVersion: z.ZodNullable<z.ZodString>;
5648
5638
  }, "strip", z.ZodTypeAny, {
5649
5639
  ID?: string;
@@ -5651,7 +5641,6 @@ export declare const MJConversationDetailArtifactSchema: z.ZodObject<{
5651
5641
  __mj_UpdatedAt?: Date;
5652
5642
  Direction?: "Input" | "Output";
5653
5643
  ConversationDetailID?: string;
5654
- ConversationDetail?: string;
5655
5644
  ArtifactVersionID?: string;
5656
5645
  ArtifactVersion?: string;
5657
5646
  }, {
@@ -5660,7 +5649,6 @@ export declare const MJConversationDetailArtifactSchema: z.ZodObject<{
5660
5649
  __mj_UpdatedAt?: Date;
5661
5650
  Direction?: "Input" | "Output";
5662
5651
  ConversationDetailID?: string;
5663
- ConversationDetail?: string;
5664
5652
  ArtifactVersionID?: string;
5665
5653
  ArtifactVersion?: string;
5666
5654
  }>;
@@ -5741,7 +5729,6 @@ export declare const MJConversationDetailRatingSchema: z.ZodObject<{
5741
5729
  Comments: z.ZodNullable<z.ZodString>;
5742
5730
  __mj_CreatedAt: z.ZodDate;
5743
5731
  __mj_UpdatedAt: z.ZodDate;
5744
- ConversationDetail: z.ZodString;
5745
5732
  User: z.ZodString;
5746
5733
  }, "strip", z.ZodTypeAny, {
5747
5734
  ID?: string;
@@ -5751,7 +5738,6 @@ export declare const MJConversationDetailRatingSchema: z.ZodObject<{
5751
5738
  Comments?: string;
5752
5739
  UserID?: string;
5753
5740
  ConversationDetailID?: string;
5754
- ConversationDetail?: string;
5755
5741
  Rating?: number;
5756
5742
  }, {
5757
5743
  ID?: string;
@@ -5761,7 +5747,6 @@ export declare const MJConversationDetailRatingSchema: z.ZodObject<{
5761
5747
  Comments?: string;
5762
5748
  UserID?: string;
5763
5749
  ConversationDetailID?: string;
5764
- ConversationDetail?: string;
5765
5750
  Rating?: number;
5766
5751
  }>;
5767
5752
  export type MJConversationDetailRatingEntityType = z.infer<typeof MJConversationDetailRatingSchema>;
@@ -5904,7 +5889,6 @@ export declare const MJConversationSchema: z.ZodObject<{
5904
5889
  DataContext: z.ZodNullable<z.ZodString>;
5905
5890
  Environment: z.ZodString;
5906
5891
  Project: z.ZodNullable<z.ZodString>;
5907
- TestRun: z.ZodNullable<z.ZodString>;
5908
5892
  }, "strip", z.ZodTypeAny, {
5909
5893
  ID?: string;
5910
5894
  User?: string;
@@ -5916,7 +5900,6 @@ export declare const MJConversationSchema: z.ZodObject<{
5916
5900
  UserID?: string;
5917
5901
  Type?: string;
5918
5902
  TestRunID?: string;
5919
- TestRun?: string;
5920
5903
  EnvironmentID?: string;
5921
5904
  Environment?: string;
5922
5905
  ExternalID?: string;
@@ -5940,7 +5923,6 @@ export declare const MJConversationSchema: z.ZodObject<{
5940
5923
  UserID?: string;
5941
5924
  Type?: string;
5942
5925
  TestRunID?: string;
5943
- TestRun?: string;
5944
5926
  EnvironmentID?: string;
5945
5927
  Environment?: string;
5946
5928
  ExternalID?: string;
@@ -6664,7 +6646,6 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
6664
6646
  MergeErrorMessage: z.ZodNullable<z.ZodString>;
6665
6647
  __mj_CreatedAt: z.ZodDate;
6666
6648
  __mj_UpdatedAt: z.ZodDate;
6667
- DuplicateRun: z.ZodString;
6668
6649
  }, "strip", z.ZodTypeAny, {
6669
6650
  ID?: string;
6670
6651
  RecordID?: string;
@@ -6676,7 +6657,6 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
6676
6657
  SkippedReason?: string;
6677
6658
  MatchErrorMessage?: string;
6678
6659
  MergeErrorMessage?: string;
6679
- DuplicateRun?: string;
6680
6660
  }, {
6681
6661
  ID?: string;
6682
6662
  RecordID?: string;
@@ -6688,7 +6668,6 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
6688
6668
  SkippedReason?: string;
6689
6669
  MatchErrorMessage?: string;
6690
6670
  MergeErrorMessage?: string;
6691
- DuplicateRun?: string;
6692
6671
  }>;
6693
6672
  export type MJDuplicateRunDetailEntityType = z.infer<typeof MJDuplicateRunDetailSchema>;
6694
6673
  /**
@@ -6761,7 +6740,6 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
6761
6740
  IsActive: z.ZodBoolean;
6762
6741
  __mj_CreatedAt: z.ZodDate;
6763
6742
  __mj_UpdatedAt: z.ZodDate;
6764
- Employee: z.ZodNullable<z.ZodString>;
6765
6743
  CompanyIntegration: z.ZodString;
6766
6744
  }, "strip", z.ZodTypeAny, {
6767
6745
  ID?: string;
@@ -6772,7 +6750,6 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
6772
6750
  ExternalSystemRecordID?: string;
6773
6751
  CompanyIntegration?: string;
6774
6752
  EmployeeID?: string;
6775
- Employee?: string;
6776
6753
  }, {
6777
6754
  ID?: string;
6778
6755
  __mj_CreatedAt?: Date;
@@ -6782,7 +6759,6 @@ export declare const MJEmployeeCompanyIntegrationSchema: z.ZodObject<{
6782
6759
  ExternalSystemRecordID?: string;
6783
6760
  CompanyIntegration?: string;
6784
6761
  EmployeeID?: string;
6785
- Employee?: string;
6786
6762
  }>;
6787
6763
  export type MJEmployeeCompanyIntegrationEntityType = z.infer<typeof MJEmployeeCompanyIntegrationSchema>;
6788
6764
  /**
@@ -6794,7 +6770,6 @@ export declare const MJEmployeeRoleSchema: z.ZodObject<{
6794
6770
  RoleID: z.ZodString;
6795
6771
  __mj_CreatedAt: z.ZodDate;
6796
6772
  __mj_UpdatedAt: z.ZodDate;
6797
- Employee: z.ZodNullable<z.ZodString>;
6798
6773
  Role: z.ZodString;
6799
6774
  }, "strip", z.ZodTypeAny, {
6800
6775
  ID?: string;
@@ -6803,7 +6778,6 @@ export declare const MJEmployeeRoleSchema: z.ZodObject<{
6803
6778
  __mj_UpdatedAt?: Date;
6804
6779
  RoleID?: string;
6805
6780
  EmployeeID?: string;
6806
- Employee?: string;
6807
6781
  }, {
6808
6782
  ID?: string;
6809
6783
  Role?: string;
@@ -6811,7 +6785,6 @@ export declare const MJEmployeeRoleSchema: z.ZodObject<{
6811
6785
  __mj_UpdatedAt?: Date;
6812
6786
  RoleID?: string;
6813
6787
  EmployeeID?: string;
6814
- Employee?: string;
6815
6788
  }>;
6816
6789
  export type MJEmployeeRoleEntityType = z.infer<typeof MJEmployeeRoleSchema>;
6817
6790
  /**
@@ -6823,14 +6796,12 @@ export declare const MJEmployeeSkillSchema: z.ZodObject<{
6823
6796
  SkillID: z.ZodString;
6824
6797
  __mj_CreatedAt: z.ZodDate;
6825
6798
  __mj_UpdatedAt: z.ZodDate;
6826
- Employee: z.ZodNullable<z.ZodString>;
6827
6799
  Skill: z.ZodString;
6828
6800
  }, "strip", z.ZodTypeAny, {
6829
6801
  ID?: string;
6830
6802
  __mj_CreatedAt?: Date;
6831
6803
  __mj_UpdatedAt?: Date;
6832
6804
  EmployeeID?: string;
6833
- Employee?: string;
6834
6805
  SkillID?: string;
6835
6806
  Skill?: string;
6836
6807
  }, {
@@ -6838,7 +6809,6 @@ export declare const MJEmployeeSkillSchema: z.ZodObject<{
6838
6809
  __mj_CreatedAt?: Date;
6839
6810
  __mj_UpdatedAt?: Date;
6840
6811
  EmployeeID?: string;
6841
- Employee?: string;
6842
6812
  SkillID?: string;
6843
6813
  Skill?: string;
6844
6814
  }>;
@@ -7245,8 +7215,6 @@ export declare const MJEntityActionFilterSchema: z.ZodObject<{
7245
7215
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
7246
7216
  __mj_CreatedAt: z.ZodDate;
7247
7217
  __mj_UpdatedAt: z.ZodDate;
7248
- EntityAction: z.ZodString;
7249
- ActionFilter: z.ZodString;
7250
7218
  }, "strip", z.ZodTypeAny, {
7251
7219
  ID?: string;
7252
7220
  __mj_CreatedAt?: Date;
@@ -7255,8 +7223,6 @@ export declare const MJEntityActionFilterSchema: z.ZodObject<{
7255
7223
  Sequence?: number;
7256
7224
  EntityActionID?: string;
7257
7225
  ActionFilterID?: string;
7258
- EntityAction?: string;
7259
- ActionFilter?: string;
7260
7226
  }, {
7261
7227
  ID?: string;
7262
7228
  __mj_CreatedAt?: Date;
@@ -7265,8 +7231,6 @@ export declare const MJEntityActionFilterSchema: z.ZodObject<{
7265
7231
  Sequence?: number;
7266
7232
  EntityActionID?: string;
7267
7233
  ActionFilterID?: string;
7268
- EntityAction?: string;
7269
- ActionFilter?: string;
7270
7234
  }>;
7271
7235
  export type MJEntityActionFilterEntityType = z.infer<typeof MJEntityActionFilterSchema>;
7272
7236
  /**
@@ -7305,7 +7269,6 @@ export declare const MJEntityActionInvocationSchema: z.ZodObject<{
7305
7269
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
7306
7270
  __mj_CreatedAt: z.ZodDate;
7307
7271
  __mj_UpdatedAt: z.ZodDate;
7308
- EntityAction: z.ZodString;
7309
7272
  InvocationType: z.ZodString;
7310
7273
  }, "strip", z.ZodTypeAny, {
7311
7274
  ID?: string;
@@ -7313,7 +7276,6 @@ export declare const MJEntityActionInvocationSchema: z.ZodObject<{
7313
7276
  __mj_UpdatedAt?: Date;
7314
7277
  Status?: "Active" | "Disabled" | "Pending";
7315
7278
  EntityActionID?: string;
7316
- EntityAction?: string;
7317
7279
  InvocationTypeID?: string;
7318
7280
  InvocationType?: string;
7319
7281
  }, {
@@ -7322,7 +7284,6 @@ export declare const MJEntityActionInvocationSchema: z.ZodObject<{
7322
7284
  __mj_UpdatedAt?: Date;
7323
7285
  Status?: "Active" | "Disabled" | "Pending";
7324
7286
  EntityActionID?: string;
7325
- EntityAction?: string;
7326
7287
  InvocationTypeID?: string;
7327
7288
  InvocationType?: string;
7328
7289
  }>;
@@ -7339,7 +7300,6 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
7339
7300
  Comments: z.ZodNullable<z.ZodString>;
7340
7301
  __mj_CreatedAt: z.ZodDate;
7341
7302
  __mj_UpdatedAt: z.ZodDate;
7342
- EntityAction: z.ZodString;
7343
7303
  ActionParam: z.ZodString;
7344
7304
  }, "strip", z.ZodTypeAny, {
7345
7305
  ID?: string;
@@ -7349,7 +7309,6 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
7349
7309
  ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
7350
7310
  Value?: string;
7351
7311
  EntityActionID?: string;
7352
- EntityAction?: string;
7353
7312
  ActionParamID?: string;
7354
7313
  ActionParam?: string;
7355
7314
  }, {
@@ -7360,7 +7319,6 @@ export declare const MJEntityActionParamSchema: z.ZodObject<{
7360
7319
  ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
7361
7320
  Value?: string;
7362
7321
  EntityActionID?: string;
7363
- EntityAction?: string;
7364
7322
  ActionParamID?: string;
7365
7323
  ActionParam?: string;
7366
7324
  }>;
@@ -7472,7 +7430,6 @@ export declare const MJEntityCommunicationFieldSchema: z.ZodObject<{
7472
7430
  Priority: z.ZodNumber;
7473
7431
  __mj_CreatedAt: z.ZodDate;
7474
7432
  __mj_UpdatedAt: z.ZodDate;
7475
- EntityCommunicationMessageType: z.ZodString;
7476
7433
  }, "strip", z.ZodTypeAny, {
7477
7434
  ID?: string;
7478
7435
  __mj_CreatedAt?: Date;
@@ -7480,7 +7437,6 @@ export declare const MJEntityCommunicationFieldSchema: z.ZodObject<{
7480
7437
  Priority?: number;
7481
7438
  EntityCommunicationMessageTypeID?: string;
7482
7439
  FieldName?: string;
7483
- EntityCommunicationMessageType?: string;
7484
7440
  }, {
7485
7441
  ID?: string;
7486
7442
  __mj_CreatedAt?: Date;
@@ -7488,7 +7444,6 @@ export declare const MJEntityCommunicationFieldSchema: z.ZodObject<{
7488
7444
  Priority?: number;
7489
7445
  EntityCommunicationMessageTypeID?: string;
7490
7446
  FieldName?: string;
7491
- EntityCommunicationMessageType?: string;
7492
7447
  }>;
7493
7448
  export type MJEntityCommunicationFieldEntityType = z.infer<typeof MJEntityCommunicationFieldSchema>;
7494
7449
  /**
@@ -8258,8 +8213,6 @@ export declare const MJErrorLogSchema: z.ZodObject<{
8258
8213
  Details: z.ZodNullable<z.ZodString>;
8259
8214
  __mj_CreatedAt: z.ZodDate;
8260
8215
  __mj_UpdatedAt: z.ZodDate;
8261
- CompanyIntegrationRun: z.ZodNullable<z.ZodString>;
8262
- CompanyIntegrationRunDetail: z.ZodNullable<z.ZodString>;
8263
8216
  }, "strip", z.ZodTypeAny, {
8264
8217
  ID?: string;
8265
8218
  __mj_CreatedAt?: Date;
@@ -8270,10 +8223,8 @@ export declare const MJErrorLogSchema: z.ZodObject<{
8270
8223
  Category?: string;
8271
8224
  Details?: string;
8272
8225
  CompanyIntegrationRunID?: string;
8273
- CompanyIntegrationRun?: string;
8274
8226
  CompanyIntegrationRunDetailID?: string;
8275
8227
  CreatedBy?: string;
8276
- CompanyIntegrationRunDetail?: string;
8277
8228
  }, {
8278
8229
  ID?: string;
8279
8230
  __mj_CreatedAt?: Date;
@@ -8284,10 +8235,8 @@ export declare const MJErrorLogSchema: z.ZodObject<{
8284
8235
  Category?: string;
8285
8236
  Details?: string;
8286
8237
  CompanyIntegrationRunID?: string;
8287
- CompanyIntegrationRun?: string;
8288
8238
  CompanyIntegrationRunDetailID?: string;
8289
8239
  CreatedBy?: string;
8290
- CompanyIntegrationRunDetail?: string;
8291
8240
  }>;
8292
8241
  export type MJErrorLogEntityType = z.infer<typeof MJErrorLogSchema>;
8293
8242
  /**
@@ -9008,7 +8957,6 @@ export declare const MJMCPServerConnectionToolSchema: z.ZodObject<{
9008
8957
  __mj_CreatedAt: z.ZodDate;
9009
8958
  __mj_UpdatedAt: z.ZodDate;
9010
8959
  MCPServerConnection: z.ZodString;
9011
- MCPServerTool: z.ZodNullable<z.ZodString>;
9012
8960
  }, "strip", z.ZodTypeAny, {
9013
8961
  ID?: string;
9014
8962
  __mj_CreatedAt?: Date;
@@ -9019,7 +8967,6 @@ export declare const MJMCPServerConnectionToolSchema: z.ZodObject<{
9019
8967
  MCPServerToolID?: string;
9020
8968
  DefaultInputValues?: string;
9021
8969
  MaxCallsPerMinute?: number;
9022
- MCPServerTool?: string;
9023
8970
  }, {
9024
8971
  ID?: string;
9025
8972
  __mj_CreatedAt?: Date;
@@ -9030,7 +8977,6 @@ export declare const MJMCPServerConnectionToolSchema: z.ZodObject<{
9030
8977
  MCPServerToolID?: string;
9031
8978
  DefaultInputValues?: string;
9032
8979
  MaxCallsPerMinute?: number;
9033
- MCPServerTool?: string;
9034
8980
  }>;
9035
8981
  export type MJMCPServerConnectionToolEntityType = z.infer<typeof MJMCPServerConnectionToolSchema>;
9036
8982
  /**
@@ -9275,7 +9221,6 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
9275
9221
  __mj_CreatedAt: z.ZodDate;
9276
9222
  __mj_UpdatedAt: z.ZodDate;
9277
9223
  MCPServerConnection: z.ZodString;
9278
- MCPServerTool: z.ZodNullable<z.ZodString>;
9279
9224
  User: z.ZodString;
9280
9225
  }, "strip", z.ZodTypeAny, {
9281
9226
  ID?: string;
@@ -9290,7 +9235,6 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
9290
9235
  MCPServerConnectionID?: string;
9291
9236
  MCPServerConnection?: string;
9292
9237
  MCPServerToolID?: string;
9293
- MCPServerTool?: string;
9294
9238
  ToolName?: string;
9295
9239
  DurationMs?: number;
9296
9240
  InputParameters?: string;
@@ -9309,7 +9253,6 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
9309
9253
  MCPServerConnectionID?: string;
9310
9254
  MCPServerConnection?: string;
9311
9255
  MCPServerToolID?: string;
9312
- MCPServerTool?: string;
9313
9256
  ToolName?: string;
9314
9257
  DurationMs?: number;
9315
9258
  InputParameters?: string;
@@ -9559,6 +9502,180 @@ export declare const MJOAuthTokenSchema: z.ZodObject<{
9559
9502
  RefreshCount?: number;
9560
9503
  }>;
9561
9504
  export type MJOAuthTokenEntityType = z.infer<typeof MJOAuthTokenSchema>;
9505
+ /**
9506
+ * zod schema definition for the entity MJ: Open App Dependencies
9507
+ */
9508
+ export declare const MJOpenAppDependencySchema: z.ZodObject<{
9509
+ ID: z.ZodString;
9510
+ OpenAppID: z.ZodString;
9511
+ DependsOnAppName: z.ZodString;
9512
+ DependsOnAppID: z.ZodNullable<z.ZodString>;
9513
+ VersionRange: z.ZodString;
9514
+ InstalledVersion: z.ZodNullable<z.ZodString>;
9515
+ Status: z.ZodUnion<[z.ZodLiteral<"Incompatible">, z.ZodLiteral<"Missing">, z.ZodLiteral<"Satisfied">]>;
9516
+ __mj_CreatedAt: z.ZodDate;
9517
+ __mj_UpdatedAt: z.ZodDate;
9518
+ OpenApp: z.ZodString;
9519
+ DependsOnApp: z.ZodNullable<z.ZodString>;
9520
+ }, "strip", z.ZodTypeAny, {
9521
+ ID?: string;
9522
+ __mj_CreatedAt?: Date;
9523
+ __mj_UpdatedAt?: Date;
9524
+ Status?: "Incompatible" | "Missing" | "Satisfied";
9525
+ OpenAppID?: string;
9526
+ DependsOnAppName?: string;
9527
+ DependsOnAppID?: string;
9528
+ VersionRange?: string;
9529
+ InstalledVersion?: string;
9530
+ OpenApp?: string;
9531
+ DependsOnApp?: string;
9532
+ }, {
9533
+ ID?: string;
9534
+ __mj_CreatedAt?: Date;
9535
+ __mj_UpdatedAt?: Date;
9536
+ Status?: "Incompatible" | "Missing" | "Satisfied";
9537
+ OpenAppID?: string;
9538
+ DependsOnAppName?: string;
9539
+ DependsOnAppID?: string;
9540
+ VersionRange?: string;
9541
+ InstalledVersion?: string;
9542
+ OpenApp?: string;
9543
+ DependsOnApp?: string;
9544
+ }>;
9545
+ export type MJOpenAppDependencyEntityType = z.infer<typeof MJOpenAppDependencySchema>;
9546
+ /**
9547
+ * zod schema definition for the entity MJ: Open App Install Histories
9548
+ */
9549
+ export declare const MJOpenAppInstallHistorySchema: z.ZodObject<{
9550
+ ID: z.ZodString;
9551
+ OpenAppID: z.ZodString;
9552
+ Version: z.ZodString;
9553
+ PreviousVersion: z.ZodNullable<z.ZodString>;
9554
+ Action: z.ZodUnion<[z.ZodLiteral<"Install">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Upgrade">]>;
9555
+ ManifestJSON: z.ZodString;
9556
+ Summary: z.ZodNullable<z.ZodString>;
9557
+ ExecutedByUserID: z.ZodString;
9558
+ DurationSeconds: z.ZodNullable<z.ZodNumber>;
9559
+ StartedAt: z.ZodNullable<z.ZodDate>;
9560
+ EndedAt: z.ZodNullable<z.ZodDate>;
9561
+ Success: z.ZodBoolean;
9562
+ ErrorMessage: z.ZodNullable<z.ZodString>;
9563
+ ErrorPhase: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Config">, z.ZodLiteral<"Hooks">, z.ZodLiteral<"Migration">, z.ZodLiteral<"Packages">, z.ZodLiteral<"Record">, z.ZodLiteral<"Schema">]>>;
9564
+ __mj_CreatedAt: z.ZodDate;
9565
+ __mj_UpdatedAt: z.ZodDate;
9566
+ OpenApp: z.ZodString;
9567
+ ExecutedByUser: z.ZodString;
9568
+ }, "strip", z.ZodTypeAny, {
9569
+ ID?: string;
9570
+ __mj_CreatedAt?: Date;
9571
+ __mj_UpdatedAt?: Date;
9572
+ Action?: "Remove" | "Install" | "Upgrade";
9573
+ StartedAt?: Date;
9574
+ EndedAt?: Date;
9575
+ DurationSeconds?: number;
9576
+ Success?: boolean;
9577
+ ErrorMessage?: string;
9578
+ Version?: string;
9579
+ OpenAppID?: string;
9580
+ OpenApp?: string;
9581
+ PreviousVersion?: string;
9582
+ ManifestJSON?: string;
9583
+ Summary?: string;
9584
+ ExecutedByUserID?: string;
9585
+ ErrorPhase?: "Config" | "Hooks" | "Migration" | "Packages" | "Record" | "Schema";
9586
+ ExecutedByUser?: string;
9587
+ }, {
9588
+ ID?: string;
9589
+ __mj_CreatedAt?: Date;
9590
+ __mj_UpdatedAt?: Date;
9591
+ Action?: "Remove" | "Install" | "Upgrade";
9592
+ StartedAt?: Date;
9593
+ EndedAt?: Date;
9594
+ DurationSeconds?: number;
9595
+ Success?: boolean;
9596
+ ErrorMessage?: string;
9597
+ Version?: string;
9598
+ OpenAppID?: string;
9599
+ OpenApp?: string;
9600
+ PreviousVersion?: string;
9601
+ ManifestJSON?: string;
9602
+ Summary?: string;
9603
+ ExecutedByUserID?: string;
9604
+ ErrorPhase?: "Config" | "Hooks" | "Migration" | "Packages" | "Record" | "Schema";
9605
+ ExecutedByUser?: string;
9606
+ }>;
9607
+ export type MJOpenAppInstallHistoryEntityType = z.infer<typeof MJOpenAppInstallHistorySchema>;
9608
+ /**
9609
+ * zod schema definition for the entity MJ: Open Apps
9610
+ */
9611
+ export declare const MJOpenAppSchema: z.ZodObject<{
9612
+ ID: z.ZodString;
9613
+ Name: z.ZodString;
9614
+ DisplayName: z.ZodString;
9615
+ Description: z.ZodNullable<z.ZodString>;
9616
+ Version: z.ZodString;
9617
+ Publisher: z.ZodString;
9618
+ PublisherEmail: z.ZodNullable<z.ZodString>;
9619
+ PublisherURL: z.ZodNullable<z.ZodString>;
9620
+ RepositoryURL: z.ZodString;
9621
+ SchemaName: z.ZodNullable<z.ZodString>;
9622
+ MJVersionRange: z.ZodString;
9623
+ License: z.ZodNullable<z.ZodString>;
9624
+ Icon: z.ZodNullable<z.ZodString>;
9625
+ Color: z.ZodNullable<z.ZodString>;
9626
+ ManifestJSON: z.ZodString;
9627
+ ConfigurationSchemaJSON: z.ZodNullable<z.ZodString>;
9628
+ InstalledByUserID: z.ZodString;
9629
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Error">, z.ZodLiteral<"Installing">, z.ZodLiteral<"Removed">, z.ZodLiteral<"Removing">, z.ZodLiteral<"Upgrading">]>;
9630
+ __mj_CreatedAt: z.ZodDate;
9631
+ __mj_UpdatedAt: z.ZodDate;
9632
+ InstalledByUser: z.ZodString;
9633
+ }, "strip", z.ZodTypeAny, {
9634
+ ID?: string;
9635
+ __mj_CreatedAt?: Date;
9636
+ __mj_UpdatedAt?: Date;
9637
+ Name?: string;
9638
+ Description?: string;
9639
+ Status?: "Active" | "Disabled" | "Error" | "Installing" | "Removed" | "Removing" | "Upgrading";
9640
+ DisplayName?: string;
9641
+ Icon?: string;
9642
+ Color?: string;
9643
+ Version?: string;
9644
+ SchemaName?: string;
9645
+ ManifestJSON?: string;
9646
+ Publisher?: string;
9647
+ PublisherEmail?: string;
9648
+ PublisherURL?: string;
9649
+ RepositoryURL?: string;
9650
+ MJVersionRange?: string;
9651
+ License?: string;
9652
+ ConfigurationSchemaJSON?: string;
9653
+ InstalledByUserID?: string;
9654
+ InstalledByUser?: string;
9655
+ }, {
9656
+ ID?: string;
9657
+ __mj_CreatedAt?: Date;
9658
+ __mj_UpdatedAt?: Date;
9659
+ Name?: string;
9660
+ Description?: string;
9661
+ Status?: "Active" | "Disabled" | "Error" | "Installing" | "Removed" | "Removing" | "Upgrading";
9662
+ DisplayName?: string;
9663
+ Icon?: string;
9664
+ Color?: string;
9665
+ Version?: string;
9666
+ SchemaName?: string;
9667
+ ManifestJSON?: string;
9668
+ Publisher?: string;
9669
+ PublisherEmail?: string;
9670
+ PublisherURL?: string;
9671
+ RepositoryURL?: string;
9672
+ MJVersionRange?: string;
9673
+ License?: string;
9674
+ ConfigurationSchemaJSON?: string;
9675
+ InstalledByUserID?: string;
9676
+ InstalledByUser?: string;
9677
+ }>;
9678
+ export type MJOpenAppEntityType = z.infer<typeof MJOpenAppSchema>;
9562
9679
  /**
9563
9680
  * zod schema definition for the entity MJ: Output Delivery Types
9564
9681
  */
@@ -10192,7 +10309,6 @@ export declare const MJRecommendationItemSchema: z.ZodObject<{
10192
10309
  MatchProbability: z.ZodNullable<z.ZodNumber>;
10193
10310
  __mj_CreatedAt: z.ZodDate;
10194
10311
  __mj_UpdatedAt: z.ZodDate;
10195
- Recommendation: z.ZodString;
10196
10312
  DestinationEntity: z.ZodString;
10197
10313
  }, "strip", z.ZodTypeAny, {
10198
10314
  ID?: string;
@@ -10202,7 +10318,6 @@ export declare const MJRecommendationItemSchema: z.ZodObject<{
10202
10318
  RecommendationID?: string;
10203
10319
  DestinationEntityID?: string;
10204
10320
  DestinationEntityRecordID?: string;
10205
- Recommendation?: string;
10206
10321
  DestinationEntity?: string;
10207
10322
  }, {
10208
10323
  ID?: string;
@@ -10212,7 +10327,6 @@ export declare const MJRecommendationItemSchema: z.ZodObject<{
10212
10327
  RecommendationID?: string;
10213
10328
  DestinationEntityID?: string;
10214
10329
  DestinationEntityRecordID?: string;
10215
- Recommendation?: string;
10216
10330
  DestinationEntity?: string;
10217
10331
  }>;
10218
10332
  export type MJRecommendationItemEntityType = z.infer<typeof MJRecommendationItemSchema>;
@@ -10290,7 +10404,6 @@ export declare const MJRecommendationSchema: z.ZodObject<{
10290
10404
  SourceEntityRecordID: z.ZodString;
10291
10405
  __mj_CreatedAt: z.ZodDate;
10292
10406
  __mj_UpdatedAt: z.ZodDate;
10293
- RecommendationRun: z.ZodString;
10294
10407
  SourceEntity: z.ZodString;
10295
10408
  }, "strip", z.ZodTypeAny, {
10296
10409
  ID?: string;
@@ -10300,7 +10413,6 @@ export declare const MJRecommendationSchema: z.ZodObject<{
10300
10413
  SourceEntity?: string;
10301
10414
  RecommendationRunID?: string;
10302
10415
  SourceEntityRecordID?: string;
10303
- RecommendationRun?: string;
10304
10416
  }, {
10305
10417
  ID?: string;
10306
10418
  __mj_CreatedAt?: Date;
@@ -10309,7 +10421,6 @@ export declare const MJRecommendationSchema: z.ZodObject<{
10309
10421
  SourceEntity?: string;
10310
10422
  RecommendationRunID?: string;
10311
10423
  SourceEntityRecordID?: string;
10312
- RecommendationRun?: string;
10313
10424
  }>;
10314
10425
  export type MJRecommendationEntityType = z.infer<typeof MJRecommendationSchema>;
10315
10426
  /**
@@ -10367,7 +10478,6 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
10367
10478
  UpdatedAt: z.ZodDate;
10368
10479
  Entity: z.ZodString;
10369
10480
  User: z.ZodString;
10370
- ReplayRun: z.ZodNullable<z.ZodString>;
10371
10481
  Integration: z.ZodNullable<z.ZodString>;
10372
10482
  }, "strip", z.ZodTypeAny, {
10373
10483
  ID?: string;
@@ -10390,7 +10500,6 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
10390
10500
  ReplayRunID?: string;
10391
10501
  CreatedAt?: Date;
10392
10502
  UpdatedAt?: Date;
10393
- ReplayRun?: string;
10394
10503
  }, {
10395
10504
  ID?: string;
10396
10505
  EntityID?: string;
@@ -10412,7 +10521,6 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
10412
10521
  ReplayRunID?: string;
10413
10522
  CreatedAt?: Date;
10414
10523
  UpdatedAt?: Date;
10415
- ReplayRun?: string;
10416
10524
  }>;
10417
10525
  export type MJRecordChangeEntityType = z.infer<typeof MJRecordChangeSchema>;
10418
10526
  /**
@@ -10470,14 +10578,12 @@ export declare const MJRecordMergeDeletionLogSchema: z.ZodObject<{
10470
10578
  ProcessingLog: z.ZodNullable<z.ZodString>;
10471
10579
  __mj_CreatedAt: z.ZodDate;
10472
10580
  __mj_UpdatedAt: z.ZodDate;
10473
- RecordMergeLog: z.ZodString;
10474
10581
  }, "strip", z.ZodTypeAny, {
10475
10582
  ID?: string;
10476
10583
  __mj_CreatedAt?: Date;
10477
10584
  __mj_UpdatedAt?: Date;
10478
10585
  Status?: "Pending" | "Complete" | "Error";
10479
10586
  RecordMergeLogID?: string;
10480
- RecordMergeLog?: string;
10481
10587
  DeletedRecordID?: string;
10482
10588
  ProcessingLog?: string;
10483
10589
  }, {
@@ -10486,7 +10592,6 @@ export declare const MJRecordMergeDeletionLogSchema: z.ZodObject<{
10486
10592
  __mj_UpdatedAt?: Date;
10487
10593
  Status?: "Pending" | "Complete" | "Error";
10488
10594
  RecordMergeLogID?: string;
10489
- RecordMergeLog?: string;
10490
10595
  DeletedRecordID?: string;
10491
10596
  ProcessingLog?: string;
10492
10597
  }>;
@@ -10714,7 +10819,6 @@ export declare const MJReportSchema: z.ZodObject<{
10714
10819
  Category: z.ZodNullable<z.ZodString>;
10715
10820
  User: z.ZodString;
10716
10821
  Conversation: z.ZodNullable<z.ZodString>;
10717
- ConversationDetail: z.ZodNullable<z.ZodString>;
10718
10822
  DataContext: z.ZodNullable<z.ZodString>;
10719
10823
  OutputTriggerType: z.ZodNullable<z.ZodString>;
10720
10824
  OutputFormatType: z.ZodNullable<z.ZodString>;
@@ -10735,7 +10839,6 @@ export declare const MJReportSchema: z.ZodObject<{
10735
10839
  ConversationID?: string;
10736
10840
  ConversationDetailID?: string;
10737
10841
  Conversation?: string;
10738
- ConversationDetail?: string;
10739
10842
  EnvironmentID?: string;
10740
10843
  Environment?: string;
10741
10844
  SharingScope?: "Everyone" | "None" | "Specific";
@@ -10766,7 +10869,6 @@ export declare const MJReportSchema: z.ZodObject<{
10766
10869
  ConversationID?: string;
10767
10870
  ConversationDetailID?: string;
10768
10871
  Conversation?: string;
10769
- ConversationDetail?: string;
10770
10872
  EnvironmentID?: string;
10771
10873
  Environment?: string;
10772
10874
  SharingScope?: "Everyone" | "None" | "Specific";
@@ -11100,11 +11202,11 @@ export declare const MJScheduledJobRunSchema: z.ZodObject<{
11100
11202
  Success?: boolean;
11101
11203
  ErrorMessage?: string;
11102
11204
  Details?: string;
11103
- ScheduledJobID?: string;
11104
11205
  ExecutedByUserID?: string;
11206
+ ExecutedByUser?: string;
11207
+ ScheduledJobID?: string;
11105
11208
  QueuedAt?: Date;
11106
11209
  ScheduledJob?: string;
11107
- ExecutedByUser?: string;
11108
11210
  }, {
11109
11211
  ID?: string;
11110
11212
  __mj_CreatedAt?: Date;
@@ -11115,11 +11217,11 @@ export declare const MJScheduledJobRunSchema: z.ZodObject<{
11115
11217
  Success?: boolean;
11116
11218
  ErrorMessage?: string;
11117
11219
  Details?: string;
11118
- ScheduledJobID?: string;
11119
11220
  ExecutedByUserID?: string;
11221
+ ExecutedByUser?: string;
11222
+ ScheduledJobID?: string;
11120
11223
  QueuedAt?: Date;
11121
11224
  ScheduledJob?: string;
11122
- ExecutedByUser?: string;
11123
11225
  }>;
11124
11226
  export type MJScheduledJobRunEntityType = z.infer<typeof MJScheduledJobRunSchema>;
11125
11227
  /**
@@ -11472,7 +11574,6 @@ export declare const MJTaskSchema: z.ZodObject<{
11472
11574
  Type: z.ZodString;
11473
11575
  Environment: z.ZodString;
11474
11576
  Project: z.ZodNullable<z.ZodString>;
11475
- ConversationDetail: z.ZodNullable<z.ZodString>;
11476
11577
  User: z.ZodNullable<z.ZodString>;
11477
11578
  Agent: z.ZodNullable<z.ZodString>;
11478
11579
  RootParentID: z.ZodNullable<z.ZodString>;
@@ -11494,7 +11595,6 @@ export declare const MJTaskSchema: z.ZodObject<{
11494
11595
  Agent?: string;
11495
11596
  CompletedAt?: Date;
11496
11597
  ConversationDetailID?: string;
11497
- ConversationDetail?: string;
11498
11598
  TypeID?: string;
11499
11599
  EnvironmentID?: string;
11500
11600
  Environment?: string;
@@ -11520,7 +11620,6 @@ export declare const MJTaskSchema: z.ZodObject<{
11520
11620
  Agent?: string;
11521
11621
  CompletedAt?: Date;
11522
11622
  ConversationDetailID?: string;
11523
- ConversationDetail?: string;
11524
11623
  TypeID?: string;
11525
11624
  EnvironmentID?: string;
11526
11625
  Environment?: string;
@@ -11654,7 +11753,6 @@ export declare const MJTemplateParamSchema: z.ZodObject<{
11654
11753
  TemplateContentID: z.ZodNullable<z.ZodString>;
11655
11754
  Template: z.ZodString;
11656
11755
  Entity: z.ZodNullable<z.ZodString>;
11657
- TemplateContent: z.ZodNullable<z.ZodString>;
11658
11756
  }, "strip", z.ZodTypeAny, {
11659
11757
  ID?: string;
11660
11758
  EntityID?: string;
@@ -11665,7 +11763,7 @@ export declare const MJTemplateParamSchema: z.ZodObject<{
11665
11763
  Name?: string;
11666
11764
  Description?: string;
11667
11765
  DefaultValue?: string;
11668
- Type?: "Entity" | "Scalar" | "Array" | "Object" | "Record";
11766
+ Type?: "Entity" | "Scalar" | "Record" | "Array" | "Object";
11669
11767
  IsRequired?: boolean;
11670
11768
  ExtraFilter?: string;
11671
11769
  OrderBy?: string;
@@ -11674,7 +11772,6 @@ export declare const MJTemplateParamSchema: z.ZodObject<{
11674
11772
  LinkedParameterName?: string;
11675
11773
  LinkedParameterField?: string;
11676
11774
  TemplateContentID?: string;
11677
- TemplateContent?: string;
11678
11775
  }, {
11679
11776
  ID?: string;
11680
11777
  EntityID?: string;
@@ -11685,7 +11782,7 @@ export declare const MJTemplateParamSchema: z.ZodObject<{
11685
11782
  Name?: string;
11686
11783
  Description?: string;
11687
11784
  DefaultValue?: string;
11688
- Type?: "Entity" | "Scalar" | "Array" | "Object" | "Record";
11785
+ Type?: "Entity" | "Scalar" | "Record" | "Array" | "Object";
11689
11786
  IsRequired?: boolean;
11690
11787
  ExtraFilter?: string;
11691
11788
  OrderBy?: string;
@@ -11694,7 +11791,6 @@ export declare const MJTemplateParamSchema: z.ZodObject<{
11694
11791
  LinkedParameterName?: string;
11695
11792
  LinkedParameterField?: string;
11696
11793
  TemplateContentID?: string;
11697
- TemplateContent?: string;
11698
11794
  }>;
11699
11795
  export type MJTemplateParamEntityType = z.infer<typeof MJTemplateParamSchema>;
11700
11796
  /**
@@ -12954,7 +13050,7 @@ export declare const MJVersionInstallationSchema: z.ZodObject<{
12954
13050
  __mj_UpdatedAt?: Date;
12955
13051
  Comments?: string;
12956
13052
  Status?: "Pending" | "Complete" | "Failed" | "In Progress";
12957
- Type?: "New" | "Upgrade";
13053
+ Type?: "Upgrade" | "New";
12958
13054
  MajorVersion?: number;
12959
13055
  MinorVersion?: number;
12960
13056
  PatchVersion?: number;
@@ -12967,7 +13063,7 @@ export declare const MJVersionInstallationSchema: z.ZodObject<{
12967
13063
  __mj_UpdatedAt?: Date;
12968
13064
  Comments?: string;
12969
13065
  Status?: "Pending" | "Complete" | "Failed" | "In Progress";
12970
- Type?: "New" | "Upgrade";
13066
+ Type?: "Upgrade" | "New";
12971
13067
  MajorVersion?: number;
12972
13068
  MinorVersion?: number;
12973
13069
  PatchVersion?: number;
@@ -14174,15 +14270,15 @@ export declare class MJActionParamEntity extends BaseEntity<MJActionParamEntityT
14174
14270
  * * BaseEntity Sub-Class
14175
14271
  * * Other
14176
14272
  * * MediaOutput
14177
- * * Scalar
14178
14273
  * * Other
14179
14274
  * * Scalar
14275
+ * * Scalar
14180
14276
  * * Simple Object
14181
14277
  * * Simple Object
14182
14278
  * * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
14183
14279
  */
14184
- get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Scalar' | 'Other' | 'Scalar' | 'Simple Object' | 'Simple Object';
14185
- set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Scalar' | 'Other' | 'Scalar' | 'Simple Object' | 'Simple Object');
14280
+ get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
14281
+ set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
14186
14282
  /**
14187
14283
  * * Field Name: IsArray
14188
14284
  * * Display Name: Is Array
@@ -17454,18 +17550,6 @@ detailed information about what validation rules failed.
17454
17550
  get Comments(): string | null;
17455
17551
  set Comments(value: string | null);
17456
17552
  /**
17457
- * * Field Name: AgentRun
17458
- * * Display Name: Agent Run Label
17459
- * * SQL Data Type: nvarchar(255)
17460
- */
17461
- get AgentRun(): string | null;
17462
- /**
17463
- * * Field Name: Parent
17464
- * * Display Name: Parent Step Label
17465
- * * SQL Data Type: nvarchar(255)
17466
- */
17467
- get Parent(): string | null;
17468
- /**
17469
17553
  * * Field Name: RootParentID
17470
17554
  * * Display Name: Root Parent Step
17471
17555
  * * SQL Data Type: uniqueidentifier
@@ -23442,12 +23526,6 @@ export declare class MJAIResultCacheEntity extends BaseEntity<MJAIResultCacheEnt
23442
23526
  * * SQL Data Type: nvarchar(100)
23443
23527
  */
23444
23528
  get Configuration(): string | null;
23445
- /**
23446
- * * Field Name: PromptRun
23447
- * * Display Name: Prompt Run
23448
- * * SQL Data Type: nvarchar(255)
23449
- */
23450
- get PromptRun(): string | null;
23451
23529
  }
23452
23530
  /**
23453
23531
  * MJ: AI Vendor Type Definitions - strongly typed entity sub-class
@@ -29751,12 +29829,6 @@ export declare class MJConversationDetailArtifactEntity extends BaseEntity<MJCon
29751
29829
  */
29752
29830
  get __mj_UpdatedAt(): Date;
29753
29831
  /**
29754
- * * Field Name: ConversationDetail
29755
- * * Display Name: Conversation Detail Summary
29756
- * * SQL Data Type: nvarchar(MAX)
29757
- */
29758
- get ConversationDetail(): string;
29759
- /**
29760
29832
  * * Field Name: ArtifactVersion
29761
29833
  * * Display Name: Artifact Version Summary
29762
29834
  * * SQL Data Type: nvarchar(255)
@@ -30046,12 +30118,6 @@ export declare class MJConversationDetailRatingEntity extends BaseEntity<MJConve
30046
30118
  */
30047
30119
  get __mj_UpdatedAt(): Date;
30048
30120
  /**
30049
- * * Field Name: ConversationDetail
30050
- * * Display Name: Conversation Detail
30051
- * * SQL Data Type: nvarchar(MAX)
30052
- */
30053
- get ConversationDetail(): string;
30054
- /**
30055
30121
  * * Field Name: User
30056
30122
  * * Display Name: User
30057
30123
  * * SQL Data Type: nvarchar(100)
@@ -30600,12 +30666,6 @@ export declare class MJConversationEntity extends BaseEntity<MJConversationEntit
30600
30666
  * * SQL Data Type: nvarchar(255)
30601
30667
  */
30602
30668
  get Project(): string | null;
30603
- /**
30604
- * * Field Name: TestRun
30605
- * * Display Name: Test Run Name
30606
- * * SQL Data Type: nvarchar(255)
30607
- */
30608
- get TestRun(): string | null;
30609
30669
  }
30610
30670
  /**
30611
30671
  * MJ: Credential Categories - strongly typed entity sub-class
@@ -32619,12 +32679,6 @@ export declare class MJDuplicateRunDetailEntity extends BaseEntity<MJDuplicateRu
32619
32679
  * * Default Value: getutcdate()
32620
32680
  */
32621
32681
  get __mj_UpdatedAt(): Date;
32622
- /**
32623
- * * Field Name: DuplicateRun
32624
- * * Display Name: Duplicate Run
32625
- * * SQL Data Type: nvarchar(255)
32626
- */
32627
- get DuplicateRun(): string;
32628
32682
  }
32629
32683
  /**
32630
32684
  * MJ: Duplicate Runs - strongly typed entity sub-class
@@ -32869,12 +32923,6 @@ export declare class MJEmployeeCompanyIntegrationEntity extends BaseEntity<MJEmp
32869
32923
  */
32870
32924
  get __mj_UpdatedAt(): Date;
32871
32925
  /**
32872
- * * Field Name: Employee
32873
- * * Display Name: Employee Name
32874
- * * SQL Data Type: nvarchar(81)
32875
- */
32876
- get Employee(): string | null;
32877
- /**
32878
32926
  * * Field Name: CompanyIntegration
32879
32927
  * * Display Name: Integration Name
32880
32928
  * * SQL Data Type: nvarchar(255)
@@ -32944,12 +32992,6 @@ export declare class MJEmployeeRoleEntity extends BaseEntity<MJEmployeeRoleEntit
32944
32992
  */
32945
32993
  get __mj_UpdatedAt(): Date;
32946
32994
  /**
32947
- * * Field Name: Employee
32948
- * * Display Name: Employee Name
32949
- * * SQL Data Type: nvarchar(81)
32950
- */
32951
- get Employee(): string | null;
32952
- /**
32953
32995
  * * Field Name: Role
32954
32996
  * * Display Name: Role Name
32955
32997
  * * SQL Data Type: nvarchar(50)
@@ -33019,12 +33061,6 @@ export declare class MJEmployeeSkillEntity extends BaseEntity<MJEmployeeSkillEnt
33019
33061
  */
33020
33062
  get __mj_UpdatedAt(): Date;
33021
33063
  /**
33022
- * * Field Name: Employee
33023
- * * Display Name: Employee Name
33024
- * * SQL Data Type: nvarchar(81)
33025
- */
33026
- get Employee(): string | null;
33027
- /**
33028
33064
  * * Field Name: Skill
33029
33065
  * * Display Name: Skill Name
33030
33066
  * * SQL Data Type: nvarchar(50)
@@ -34227,18 +34263,6 @@ export declare class MJEntityActionFilterEntity extends BaseEntity<MJEntityActio
34227
34263
  * * Default Value: getutcdate()
34228
34264
  */
34229
34265
  get __mj_UpdatedAt(): Date;
34230
- /**
34231
- * * Field Name: EntityAction
34232
- * * Display Name: Entity Action
34233
- * * SQL Data Type: nvarchar(425)
34234
- */
34235
- get EntityAction(): string;
34236
- /**
34237
- * * Field Name: ActionFilter
34238
- * * Display Name: Action Filter
34239
- * * SQL Data Type: nvarchar(MAX)
34240
- */
34241
- get ActionFilter(): string;
34242
34266
  }
34243
34267
  /**
34244
34268
  * MJ: Entity Action Invocation Types - strongly typed entity sub-class
@@ -34389,12 +34413,6 @@ export declare class MJEntityActionInvocationEntity extends BaseEntity<MJEntityA
34389
34413
  */
34390
34414
  get __mj_UpdatedAt(): Date;
34391
34415
  /**
34392
- * * Field Name: EntityAction
34393
- * * Display Name: Entity Action Name
34394
- * * SQL Data Type: nvarchar(425)
34395
- */
34396
- get EntityAction(): string;
34397
- /**
34398
34416
  * * Field Name: InvocationType
34399
34417
  * * Display Name: Invocation Type Name
34400
34418
  * * SQL Data Type: nvarchar(255)
@@ -34494,12 +34512,6 @@ export declare class MJEntityActionParamEntity extends BaseEntity<MJEntityAction
34494
34512
  */
34495
34513
  get __mj_UpdatedAt(): Date;
34496
34514
  /**
34497
- * * Field Name: EntityAction
34498
- * * Display Name: Entity Action
34499
- * * SQL Data Type: nvarchar(425)
34500
- */
34501
- get EntityAction(): string;
34502
- /**
34503
34515
  * * Field Name: ActionParam
34504
34516
  * * Display Name: Action Param
34505
34517
  * * SQL Data Type: nvarchar(255)
@@ -34842,12 +34854,6 @@ export declare class MJEntityCommunicationFieldEntity extends BaseEntity<MJEntit
34842
34854
  * * Default Value: getutcdate()
34843
34855
  */
34844
34856
  get __mj_UpdatedAt(): Date;
34845
- /**
34846
- * * Field Name: EntityCommunicationMessageType
34847
- * * Display Name: Message Type
34848
- * * SQL Data Type: nvarchar(100)
34849
- */
34850
- get EntityCommunicationMessageType(): string;
34851
34857
  }
34852
34858
  /**
34853
34859
  * MJ: Entity Communication Message Types - strongly typed entity sub-class
@@ -37001,18 +37007,6 @@ export declare class MJErrorLogEntity extends BaseEntity<MJErrorLogEntityType> {
37001
37007
  * * Default Value: getutcdate()
37002
37008
  */
37003
37009
  get __mj_UpdatedAt(): Date;
37004
- /**
37005
- * * Field Name: CompanyIntegrationRun
37006
- * * Display Name: Company Integration Run
37007
- * * SQL Data Type: nvarchar(100)
37008
- */
37009
- get CompanyIntegrationRun(): string | null;
37010
- /**
37011
- * * Field Name: CompanyIntegrationRunDetail
37012
- * * Display Name: Company Integration Run Detail
37013
- * * SQL Data Type: nvarchar(450)
37014
- */
37015
- get CompanyIntegrationRunDetail(): string | null;
37016
37010
  }
37017
37011
  /**
37018
37012
  * MJ: Explorer Navigation Items - strongly typed entity sub-class
@@ -39045,12 +39039,6 @@ export declare class MJMCPServerConnectionToolEntity extends BaseEntity<MJMCPSer
39045
39039
  * * SQL Data Type: nvarchar(255)
39046
39040
  */
39047
39041
  get MCPServerConnection(): string;
39048
- /**
39049
- * * Field Name: MCPServerTool
39050
- * * Display Name: Tool Name
39051
- * * SQL Data Type: nvarchar(255)
39052
- */
39053
- get MCPServerTool(): string | null;
39054
39042
  }
39055
39043
  /**
39056
39044
  * MJ: MCP Server Connections - strongly typed entity sub-class
@@ -39785,12 +39773,6 @@ export declare class MJMCPToolExecutionLogEntity extends BaseEntity<MJMCPToolExe
39785
39773
  */
39786
39774
  get MCPServerConnection(): string;
39787
39775
  /**
39788
- * * Field Name: MCPServerTool
39789
- * * Display Name: Server Tool
39790
- * * SQL Data Type: nvarchar(255)
39791
- */
39792
- get MCPServerTool(): string | null;
39793
- /**
39794
39776
  * * Field Name: User
39795
39777
  * * Display Name: User
39796
39778
  * * SQL Data Type: nvarchar(100)
@@ -40426,6 +40408,495 @@ export declare class MJOAuthTokenEntity extends BaseEntity<MJOAuthTokenEntityTyp
40426
40408
  */
40427
40409
  get Credential(): string | null;
40428
40410
  }
40411
+ /**
40412
+ * MJ: Open App Dependencies - strongly typed entity sub-class
40413
+ * * Schema: __mj
40414
+ * * Base Table: OpenAppDependency
40415
+ * * Base View: vwOpenAppDependencies
40416
+ * * @description Inter-app dependency relationships between installed Open Apps
40417
+ * * Primary Key: ID
40418
+ * @extends {BaseEntity}
40419
+ * @class
40420
+ * @public
40421
+ */
40422
+ export declare class MJOpenAppDependencyEntity extends BaseEntity<MJOpenAppDependencyEntityType> {
40423
+ /**
40424
+ * Loads the MJ: Open App Dependencies record from the database
40425
+ * @param ID: string - primary key value to load the MJ: Open App Dependencies record.
40426
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
40427
+ * @returns {Promise<boolean>} - true if successful, false otherwise
40428
+ * @public
40429
+ * @async
40430
+ * @memberof MJOpenAppDependencyEntity
40431
+ * @method
40432
+ * @override
40433
+ */
40434
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
40435
+ /**
40436
+ * * Field Name: ID
40437
+ * * Display Name: ID
40438
+ * * SQL Data Type: uniqueidentifier
40439
+ * * Default Value: newsequentialid()
40440
+ */
40441
+ get ID(): string;
40442
+ set ID(value: string);
40443
+ /**
40444
+ * * Field Name: OpenAppID
40445
+ * * Display Name: Open App ID
40446
+ * * SQL Data Type: uniqueidentifier
40447
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
40448
+ */
40449
+ get OpenAppID(): string;
40450
+ set OpenAppID(value: string);
40451
+ /**
40452
+ * * Field Name: DependsOnAppName
40453
+ * * Display Name: Depends On App Name
40454
+ * * SQL Data Type: nvarchar(64)
40455
+ * * Description: Name of the app that this app depends on (matches OpenApp.Name)
40456
+ */
40457
+ get DependsOnAppName(): string;
40458
+ set DependsOnAppName(value: string);
40459
+ /**
40460
+ * * Field Name: DependsOnAppID
40461
+ * * Display Name: Depends On App ID
40462
+ * * SQL Data Type: uniqueidentifier
40463
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
40464
+ */
40465
+ get DependsOnAppID(): string | null;
40466
+ set DependsOnAppID(value: string | null);
40467
+ /**
40468
+ * * Field Name: VersionRange
40469
+ * * Display Name: Version Range
40470
+ * * SQL Data Type: nvarchar(100)
40471
+ * * Description: Semver range specifying which versions of the dependency are acceptable (e.g. ^1.0.0)
40472
+ */
40473
+ get VersionRange(): string;
40474
+ set VersionRange(value: string);
40475
+ /**
40476
+ * * Field Name: InstalledVersion
40477
+ * * Display Name: Installed Version
40478
+ * * SQL Data Type: nvarchar(50)
40479
+ * * Description: Actual installed version of the dependency (NULL if not yet installed)
40480
+ */
40481
+ get InstalledVersion(): string | null;
40482
+ set InstalledVersion(value: string | null);
40483
+ /**
40484
+ * * Field Name: Status
40485
+ * * Display Name: Status
40486
+ * * SQL Data Type: nvarchar(20)
40487
+ * * Default Value: Satisfied
40488
+ * * Value List Type: List
40489
+ * * Possible Values
40490
+ * * Incompatible
40491
+ * * Missing
40492
+ * * Satisfied
40493
+ * * Description: Whether the dependency is satisfied: Satisfied, Missing, or Incompatible
40494
+ */
40495
+ get Status(): 'Incompatible' | 'Missing' | 'Satisfied';
40496
+ set Status(value: 'Incompatible' | 'Missing' | 'Satisfied');
40497
+ /**
40498
+ * * Field Name: __mj_CreatedAt
40499
+ * * Display Name: Created At
40500
+ * * SQL Data Type: datetimeoffset
40501
+ * * Default Value: getutcdate()
40502
+ */
40503
+ get __mj_CreatedAt(): Date;
40504
+ /**
40505
+ * * Field Name: __mj_UpdatedAt
40506
+ * * Display Name: Updated At
40507
+ * * SQL Data Type: datetimeoffset
40508
+ * * Default Value: getutcdate()
40509
+ */
40510
+ get __mj_UpdatedAt(): Date;
40511
+ /**
40512
+ * * Field Name: OpenApp
40513
+ * * Display Name: Open App
40514
+ * * SQL Data Type: nvarchar(64)
40515
+ */
40516
+ get OpenApp(): string;
40517
+ /**
40518
+ * * Field Name: DependsOnApp
40519
+ * * Display Name: Depends On App
40520
+ * * SQL Data Type: nvarchar(64)
40521
+ */
40522
+ get DependsOnApp(): string | null;
40523
+ }
40524
+ /**
40525
+ * MJ: Open App Install Histories - strongly typed entity sub-class
40526
+ * * Schema: __mj
40527
+ * * Base Table: OpenAppInstallHistory
40528
+ * * Base View: vwOpenAppInstallHistories
40529
+ * * @description Audit trail of every install, upgrade, and removal for Open Apps
40530
+ * * Primary Key: ID
40531
+ * @extends {BaseEntity}
40532
+ * @class
40533
+ * @public
40534
+ */
40535
+ export declare class MJOpenAppInstallHistoryEntity extends BaseEntity<MJOpenAppInstallHistoryEntityType> {
40536
+ /**
40537
+ * Loads the MJ: Open App Install Histories record from the database
40538
+ * @param ID: string - primary key value to load the MJ: Open App Install Histories record.
40539
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
40540
+ * @returns {Promise<boolean>} - true if successful, false otherwise
40541
+ * @public
40542
+ * @async
40543
+ * @memberof MJOpenAppInstallHistoryEntity
40544
+ * @method
40545
+ * @override
40546
+ */
40547
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
40548
+ /**
40549
+ * * Field Name: ID
40550
+ * * Display Name: ID
40551
+ * * SQL Data Type: uniqueidentifier
40552
+ * * Default Value: newsequentialid()
40553
+ */
40554
+ get ID(): string;
40555
+ set ID(value: string);
40556
+ /**
40557
+ * * Field Name: OpenAppID
40558
+ * * Display Name: Open App ID
40559
+ * * SQL Data Type: uniqueidentifier
40560
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
40561
+ */
40562
+ get OpenAppID(): string;
40563
+ set OpenAppID(value: string);
40564
+ /**
40565
+ * * Field Name: Version
40566
+ * * Display Name: Version
40567
+ * * SQL Data Type: nvarchar(50)
40568
+ * * Description: Semver version that was installed or upgraded to in this operation
40569
+ */
40570
+ get Version(): string;
40571
+ set Version(value: string);
40572
+ /**
40573
+ * * Field Name: PreviousVersion
40574
+ * * Display Name: Previous Version
40575
+ * * SQL Data Type: nvarchar(50)
40576
+ * * Description: Version that was installed before this operation (NULL for initial installs)
40577
+ */
40578
+ get PreviousVersion(): string | null;
40579
+ set PreviousVersion(value: string | null);
40580
+ /**
40581
+ * * Field Name: Action
40582
+ * * Display Name: Action
40583
+ * * SQL Data Type: nvarchar(20)
40584
+ * * Value List Type: List
40585
+ * * Possible Values
40586
+ * * Install
40587
+ * * Remove
40588
+ * * Upgrade
40589
+ * * Description: Type of operation performed: Install, Upgrade, or Remove
40590
+ */
40591
+ get Action(): 'Install' | 'Remove' | 'Upgrade';
40592
+ set Action(value: 'Install' | 'Remove' | 'Upgrade');
40593
+ /**
40594
+ * * Field Name: ManifestJSON
40595
+ * * Display Name: Manifest JSON
40596
+ * * SQL Data Type: nvarchar(MAX)
40597
+ * * Description: Snapshot of the mj-app.json manifest at the time of this operation
40598
+ */
40599
+ get ManifestJSON(): string;
40600
+ set ManifestJSON(value: string);
40601
+ /**
40602
+ * * Field Name: Summary
40603
+ * * Display Name: Summary
40604
+ * * SQL Data Type: nvarchar(MAX)
40605
+ * * Description: Human-readable summary of what happened during this operation
40606
+ */
40607
+ get Summary(): string | null;
40608
+ set Summary(value: string | null);
40609
+ /**
40610
+ * * Field Name: ExecutedByUserID
40611
+ * * Display Name: Executed By User ID
40612
+ * * SQL Data Type: uniqueidentifier
40613
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
40614
+ */
40615
+ get ExecutedByUserID(): string;
40616
+ set ExecutedByUserID(value: string);
40617
+ /**
40618
+ * * Field Name: DurationSeconds
40619
+ * * Display Name: Duration Seconds
40620
+ * * SQL Data Type: int
40621
+ * * Description: Total wall-clock seconds the operation took to complete
40622
+ */
40623
+ get DurationSeconds(): number | null;
40624
+ set DurationSeconds(value: number | null);
40625
+ /**
40626
+ * * Field Name: StartedAt
40627
+ * * Display Name: Started At
40628
+ * * SQL Data Type: datetimeoffset
40629
+ * * Description: Timestamp when the operation began
40630
+ */
40631
+ get StartedAt(): Date | null;
40632
+ set StartedAt(value: Date | null);
40633
+ /**
40634
+ * * Field Name: EndedAt
40635
+ * * Display Name: Ended At
40636
+ * * SQL Data Type: datetimeoffset
40637
+ * * Description: Timestamp when the operation completed (success or failure)
40638
+ */
40639
+ get EndedAt(): Date | null;
40640
+ set EndedAt(value: Date | null);
40641
+ /**
40642
+ * * Field Name: Success
40643
+ * * Display Name: Success
40644
+ * * SQL Data Type: bit
40645
+ * * Default Value: 1
40646
+ * * Description: Whether the operation completed successfully (1) or failed (0)
40647
+ */
40648
+ get Success(): boolean;
40649
+ set Success(value: boolean);
40650
+ /**
40651
+ * * Field Name: ErrorMessage
40652
+ * * Display Name: Error Message
40653
+ * * SQL Data Type: nvarchar(MAX)
40654
+ * * Description: Detailed error message if the operation failed
40655
+ */
40656
+ get ErrorMessage(): string | null;
40657
+ set ErrorMessage(value: string | null);
40658
+ /**
40659
+ * * Field Name: ErrorPhase
40660
+ * * Display Name: Error Phase
40661
+ * * SQL Data Type: nvarchar(50)
40662
+ * * Value List Type: List
40663
+ * * Possible Values
40664
+ * * Config
40665
+ * * Hooks
40666
+ * * Migration
40667
+ * * Packages
40668
+ * * Record
40669
+ * * Schema
40670
+ * * Description: Which phase of the operation failed: Schema, Migration, Packages, Config, Hooks, or Record
40671
+ */
40672
+ get ErrorPhase(): 'Config' | 'Hooks' | 'Migration' | 'Packages' | 'Record' | 'Schema' | null;
40673
+ set ErrorPhase(value: 'Config' | 'Hooks' | 'Migration' | 'Packages' | 'Record' | 'Schema' | null);
40674
+ /**
40675
+ * * Field Name: __mj_CreatedAt
40676
+ * * Display Name: Created At
40677
+ * * SQL Data Type: datetimeoffset
40678
+ * * Default Value: getutcdate()
40679
+ */
40680
+ get __mj_CreatedAt(): Date;
40681
+ /**
40682
+ * * Field Name: __mj_UpdatedAt
40683
+ * * Display Name: Updated At
40684
+ * * SQL Data Type: datetimeoffset
40685
+ * * Default Value: getutcdate()
40686
+ */
40687
+ get __mj_UpdatedAt(): Date;
40688
+ /**
40689
+ * * Field Name: OpenApp
40690
+ * * Display Name: Open App
40691
+ * * SQL Data Type: nvarchar(64)
40692
+ */
40693
+ get OpenApp(): string;
40694
+ /**
40695
+ * * Field Name: ExecutedByUser
40696
+ * * Display Name: Executed By User
40697
+ * * SQL Data Type: nvarchar(100)
40698
+ */
40699
+ get ExecutedByUser(): string;
40700
+ }
40701
+ /**
40702
+ * MJ: Open Apps - strongly typed entity sub-class
40703
+ * * Schema: __mj
40704
+ * * Base Table: OpenApp
40705
+ * * Base View: vwOpenApps
40706
+ * * @description Tracks all MJ Open Apps installed in this instance
40707
+ * * Primary Key: ID
40708
+ * @extends {BaseEntity}
40709
+ * @class
40710
+ * @public
40711
+ */
40712
+ export declare class MJOpenAppEntity extends BaseEntity<MJOpenAppEntityType> {
40713
+ /**
40714
+ * Loads the MJ: Open Apps record from the database
40715
+ * @param ID: string - primary key value to load the MJ: Open Apps record.
40716
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
40717
+ * @returns {Promise<boolean>} - true if successful, false otherwise
40718
+ * @public
40719
+ * @async
40720
+ * @memberof MJOpenAppEntity
40721
+ * @method
40722
+ * @override
40723
+ */
40724
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
40725
+ /**
40726
+ * * Field Name: ID
40727
+ * * Display Name: ID
40728
+ * * SQL Data Type: uniqueidentifier
40729
+ * * Default Value: newsequentialid()
40730
+ */
40731
+ get ID(): string;
40732
+ set ID(value: string);
40733
+ /**
40734
+ * * Field Name: Name
40735
+ * * Display Name: Name
40736
+ * * SQL Data Type: nvarchar(64)
40737
+ * * Description: Unique lowercase identifier for the app (e.g. acme-crm). Must contain only lowercase letters, digits, and hyphens.
40738
+ */
40739
+ get Name(): string;
40740
+ set Name(value: string);
40741
+ /**
40742
+ * * Field Name: DisplayName
40743
+ * * Display Name: Display Name
40744
+ * * SQL Data Type: nvarchar(200)
40745
+ * * Description: Human-readable display name shown in the UI (e.g. Acme CRM)
40746
+ */
40747
+ get DisplayName(): string;
40748
+ set DisplayName(value: string);
40749
+ /**
40750
+ * * Field Name: Description
40751
+ * * Display Name: Description
40752
+ * * SQL Data Type: nvarchar(MAX)
40753
+ * * Description: Optional long description of what this app does
40754
+ */
40755
+ get Description(): string | null;
40756
+ set Description(value: string | null);
40757
+ /**
40758
+ * * Field Name: Version
40759
+ * * Display Name: Version
40760
+ * * SQL Data Type: nvarchar(50)
40761
+ * * Description: Currently installed semver version string (e.g. 1.2.3)
40762
+ */
40763
+ get Version(): string;
40764
+ set Version(value: string);
40765
+ /**
40766
+ * * Field Name: Publisher
40767
+ * * Display Name: Publisher
40768
+ * * SQL Data Type: nvarchar(200)
40769
+ * * Description: Name of the organization or individual who published the app
40770
+ */
40771
+ get Publisher(): string;
40772
+ set Publisher(value: string);
40773
+ /**
40774
+ * * Field Name: PublisherEmail
40775
+ * * Display Name: Publisher Email
40776
+ * * SQL Data Type: nvarchar(255)
40777
+ * * Description: Optional contact email for the publisher
40778
+ */
40779
+ get PublisherEmail(): string | null;
40780
+ set PublisherEmail(value: string | null);
40781
+ /**
40782
+ * * Field Name: PublisherURL
40783
+ * * Display Name: Publisher URL
40784
+ * * SQL Data Type: nvarchar(500)
40785
+ * * Description: Optional website URL for the publisher
40786
+ */
40787
+ get PublisherURL(): string | null;
40788
+ set PublisherURL(value: string | null);
40789
+ /**
40790
+ * * Field Name: RepositoryURL
40791
+ * * Display Name: Repository URL
40792
+ * * SQL Data Type: nvarchar(500)
40793
+ * * Description: GitHub repository URL where this app is hosted
40794
+ */
40795
+ get RepositoryURL(): string;
40796
+ set RepositoryURL(value: string);
40797
+ /**
40798
+ * * Field Name: SchemaName
40799
+ * * Display Name: Schema Name
40800
+ * * SQL Data Type: nvarchar(128)
40801
+ * * Description: Database schema name used by this app for its tables and objects. Unique per instance.
40802
+ */
40803
+ get SchemaName(): string | null;
40804
+ set SchemaName(value: string | null);
40805
+ /**
40806
+ * * Field Name: MJVersionRange
40807
+ * * Display Name: MJ Version Range
40808
+ * * SQL Data Type: nvarchar(100)
40809
+ * * Description: Semver range specifying which MJ versions this app is compatible with (e.g. >=4.0.0 <5.0.0)
40810
+ */
40811
+ get MJVersionRange(): string;
40812
+ set MJVersionRange(value: string);
40813
+ /**
40814
+ * * Field Name: License
40815
+ * * Display Name: License
40816
+ * * SQL Data Type: nvarchar(50)
40817
+ * * Description: SPDX license identifier for this app (e.g. MIT, Apache-2.0)
40818
+ */
40819
+ get License(): string | null;
40820
+ set License(value: string | null);
40821
+ /**
40822
+ * * Field Name: Icon
40823
+ * * Display Name: Icon
40824
+ * * SQL Data Type: nvarchar(100)
40825
+ * * Description: Optional icon identifier (e.g. Font Awesome class) for UI display
40826
+ */
40827
+ get Icon(): string | null;
40828
+ set Icon(value: string | null);
40829
+ /**
40830
+ * * Field Name: Color
40831
+ * * Display Name: Color
40832
+ * * SQL Data Type: nvarchar(20)
40833
+ * * Description: Optional hex color code for branding in the UI (e.g. #FF5733)
40834
+ */
40835
+ get Color(): string | null;
40836
+ set Color(value: string | null);
40837
+ /**
40838
+ * * Field Name: ManifestJSON
40839
+ * * Display Name: Manifest JSON
40840
+ * * SQL Data Type: nvarchar(MAX)
40841
+ * * Description: Full mj-app.json manifest stored as JSON for the currently installed version
40842
+ */
40843
+ get ManifestJSON(): string;
40844
+ set ManifestJSON(value: string);
40845
+ /**
40846
+ * * Field Name: ConfigurationSchemaJSON
40847
+ * * Display Name: Configuration Schema JSON
40848
+ * * SQL Data Type: nvarchar(MAX)
40849
+ * * Description: Optional JSON Schema defining the configuration options this app accepts
40850
+ */
40851
+ get ConfigurationSchemaJSON(): string | null;
40852
+ set ConfigurationSchemaJSON(value: string | null);
40853
+ /**
40854
+ * * Field Name: InstalledByUserID
40855
+ * * Display Name: Installed By User ID
40856
+ * * SQL Data Type: uniqueidentifier
40857
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
40858
+ */
40859
+ get InstalledByUserID(): string;
40860
+ set InstalledByUserID(value: string);
40861
+ /**
40862
+ * * Field Name: Status
40863
+ * * Display Name: Status
40864
+ * * SQL Data Type: nvarchar(20)
40865
+ * * Default Value: Active
40866
+ * * Value List Type: List
40867
+ * * Possible Values
40868
+ * * Active
40869
+ * * Disabled
40870
+ * * Error
40871
+ * * Installing
40872
+ * * Removed
40873
+ * * Removing
40874
+ * * Upgrading
40875
+ * * Description: Current lifecycle status of the app: Active, Disabled, Error, Installing, Upgrading, Removing, or Removed
40876
+ */
40877
+ get Status(): 'Active' | 'Disabled' | 'Error' | 'Installing' | 'Removed' | 'Removing' | 'Upgrading';
40878
+ set Status(value: 'Active' | 'Disabled' | 'Error' | 'Installing' | 'Removed' | 'Removing' | 'Upgrading');
40879
+ /**
40880
+ * * Field Name: __mj_CreatedAt
40881
+ * * Display Name: Created At
40882
+ * * SQL Data Type: datetimeoffset
40883
+ * * Default Value: getutcdate()
40884
+ */
40885
+ get __mj_CreatedAt(): Date;
40886
+ /**
40887
+ * * Field Name: __mj_UpdatedAt
40888
+ * * Display Name: Updated At
40889
+ * * SQL Data Type: datetimeoffset
40890
+ * * Default Value: getutcdate()
40891
+ */
40892
+ get __mj_UpdatedAt(): Date;
40893
+ /**
40894
+ * * Field Name: InstalledByUser
40895
+ * * Display Name: Installed By User
40896
+ * * SQL Data Type: nvarchar(100)
40897
+ */
40898
+ get InstalledByUser(): string;
40899
+ }
40429
40900
  /**
40430
40901
  * MJ: Output Delivery Types - strongly typed entity sub-class
40431
40902
  * * Schema: __mj
@@ -42217,12 +42688,6 @@ export declare class MJRecommendationItemEntity extends BaseEntity<MJRecommendat
42217
42688
  */
42218
42689
  get __mj_UpdatedAt(): Date;
42219
42690
  /**
42220
- * * Field Name: Recommendation
42221
- * * Display Name: Recommendation Name
42222
- * * SQL Data Type: nvarchar(MAX)
42223
- */
42224
- get Recommendation(): string;
42225
- /**
42226
42691
  * * Field Name: DestinationEntity
42227
42692
  * * Display Name: Destination Entity Name
42228
42693
  * * SQL Data Type: nvarchar(255)
@@ -42474,12 +42939,6 @@ export declare class MJRecommendationEntity extends BaseEntity<MJRecommendationE
42474
42939
  */
42475
42940
  get __mj_UpdatedAt(): Date;
42476
42941
  /**
42477
- * * Field Name: RecommendationRun
42478
- * * Display Name: Recommendation Run
42479
- * * SQL Data Type: nvarchar(255)
42480
- */
42481
- get RecommendationRun(): string;
42482
- /**
42483
42942
  * * Field Name: SourceEntity
42484
42943
  * * Display Name: Source Entity
42485
42944
  * * SQL Data Type: nvarchar(255)
@@ -42768,12 +43227,6 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
42768
43227
  */
42769
43228
  get User(): string;
42770
43229
  /**
42771
- * * Field Name: ReplayRun
42772
- * * Display Name: Replay Run Name
42773
- * * SQL Data Type: nvarchar(100)
42774
- */
42775
- get ReplayRun(): string | null;
42776
- /**
42777
43230
  * * Field Name: Integration
42778
43231
  * * Display Name: Integration Name
42779
43232
  * * SQL Data Type: nvarchar(100)
@@ -42978,12 +43431,6 @@ export declare class MJRecordMergeDeletionLogEntity extends BaseEntity<MJRecordM
42978
43431
  * * Default Value: getutcdate()
42979
43432
  */
42980
43433
  get __mj_UpdatedAt(): Date;
42981
- /**
42982
- * * Field Name: RecordMergeLog
42983
- * * Display Name: Merge Log Details
42984
- * * SQL Data Type: nvarchar(450)
42985
- */
42986
- get RecordMergeLog(): string;
42987
43434
  }
42988
43435
  /**
42989
43436
  * MJ: Record Merge Logs - strongly typed entity sub-class
@@ -43736,12 +44183,6 @@ export declare class MJReportEntity extends BaseEntity<MJReportEntityType> {
43736
44183
  */
43737
44184
  get Conversation(): string | null;
43738
44185
  /**
43739
- * * Field Name: ConversationDetail
43740
- * * Display Name: Conversation Detail
43741
- * * SQL Data Type: nvarchar(MAX)
43742
- */
43743
- get ConversationDetail(): string | null;
43744
- /**
43745
44186
  * * Field Name: DataContext
43746
44187
  * * Display Name: Data Context
43747
44188
  * * SQL Data Type: nvarchar(255)
@@ -45886,12 +46327,6 @@ export declare class MJTaskEntity extends BaseEntity<MJTaskEntityType> {
45886
46327
  */
45887
46328
  get Project(): string | null;
45888
46329
  /**
45889
- * * Field Name: ConversationDetail
45890
- * * Display Name: Conversation Detail
45891
- * * SQL Data Type: nvarchar(MAX)
45892
- */
45893
- get ConversationDetail(): string | null;
45894
- /**
45895
46330
  * * Field Name: User
45896
46331
  * * Display Name: User
45897
46332
  * * SQL Data Type: nvarchar(100)
@@ -46361,12 +46796,6 @@ export declare class MJTemplateParamEntity extends BaseEntity<MJTemplateParamEnt
46361
46796
  * * SQL Data Type: nvarchar(255)
46362
46797
  */
46363
46798
  get Entity(): string | null;
46364
- /**
46365
- * * Field Name: TemplateContent
46366
- * * Display Name: Template Content Name
46367
- * * SQL Data Type: nvarchar(255)
46368
- */
46369
- get TemplateContent(): string | null;
46370
46799
  }
46371
46800
  /**
46372
46801
  * MJ: Templates - strongly typed entity sub-class