@memberjunction/core-entities 2.128.0 → 2.129.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 (60) hide show
  1. package/dist/custom/ResourcePermissions/ResourcePermissionEngine.d.ts.map +1 -1
  2. package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js +14 -4
  3. package/dist/custom/ResourcePermissions/ResourcePermissionEngine.js.map +1 -1
  4. package/dist/engines/EncryptionEngineBase.d.ts +246 -0
  5. package/dist/engines/EncryptionEngineBase.d.ts.map +1 -0
  6. package/dist/engines/EncryptionEngineBase.js +355 -0
  7. package/dist/engines/EncryptionEngineBase.js.map +1 -0
  8. package/dist/engines/TypeTablesCache.d.ts.map +1 -1
  9. package/dist/engines/TypeTablesCache.js +2 -1
  10. package/dist/engines/TypeTablesCache.js.map +1 -1
  11. package/dist/engines/UserInfoEngine.d.ts +228 -0
  12. package/dist/engines/UserInfoEngine.d.ts.map +1 -0
  13. package/dist/engines/UserInfoEngine.js +599 -0
  14. package/dist/engines/UserInfoEngine.js.map +1 -0
  15. package/dist/engines/artifacts.d.ts.map +1 -1
  16. package/dist/engines/artifacts.js +2 -1
  17. package/dist/engines/artifacts.js.map +1 -1
  18. package/dist/engines/component-metadata.d.ts.map +1 -1
  19. package/dist/engines/component-metadata.js +10 -5
  20. package/dist/engines/component-metadata.js.map +1 -1
  21. package/dist/engines/dashboards.d.ts.map +1 -1
  22. package/dist/engines/dashboards.js +19 -6
  23. package/dist/engines/dashboards.js.map +1 -1
  24. package/dist/generated/entity_subclasses.d.ts +1504 -418
  25. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  26. package/dist/generated/entity_subclasses.js +2852 -1188
  27. package/dist/generated/entity_subclasses.js.map +1 -1
  28. package/dist/index.d.ts +2 -7
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +2 -7
  31. package/dist/index.js.map +1 -1
  32. package/package.json +5 -5
  33. package/dist/custom/AIAgentExtended.d.ts +0 -13
  34. package/dist/custom/AIAgentExtended.d.ts.map +0 -1
  35. package/dist/custom/AIAgentExtended.js +0 -37
  36. package/dist/custom/AIAgentExtended.js.map +0 -1
  37. package/dist/custom/AIAgentRunExtended.d.ts +0 -32
  38. package/dist/custom/AIAgentRunExtended.d.ts.map +0 -1
  39. package/dist/custom/AIAgentRunExtended.js +0 -136
  40. package/dist/custom/AIAgentRunExtended.js.map +0 -1
  41. package/dist/custom/AIAgentRunStepExtended.d.ts +0 -48
  42. package/dist/custom/AIAgentRunStepExtended.d.ts.map +0 -1
  43. package/dist/custom/AIAgentRunStepExtended.js +0 -149
  44. package/dist/custom/AIAgentRunStepExtended.js.map +0 -1
  45. package/dist/custom/AIModelExtended.d.ts +0 -14
  46. package/dist/custom/AIModelExtended.d.ts.map +0 -1
  47. package/dist/custom/AIModelExtended.js +0 -36
  48. package/dist/custom/AIModelExtended.js.map +0 -1
  49. package/dist/custom/AIPromptCategoryExtended.d.ts +0 -7
  50. package/dist/custom/AIPromptCategoryExtended.d.ts.map +0 -1
  51. package/dist/custom/AIPromptCategoryExtended.js +0 -26
  52. package/dist/custom/AIPromptCategoryExtended.js.map +0 -1
  53. package/dist/custom/AIPromptExtended.d.ts +0 -51
  54. package/dist/custom/AIPromptExtended.d.ts.map +0 -1
  55. package/dist/custom/AIPromptExtended.js +0 -169
  56. package/dist/custom/AIPromptExtended.js.map +0 -1
  57. package/dist/custom/AIPromptRunEntityExtended.d.ts +0 -47
  58. package/dist/custom/AIPromptRunEntityExtended.d.ts.map +0 -1
  59. package/dist/custom/AIPromptRunEntityExtended.js +0 -156
  60. package/dist/custom/AIPromptRunEntityExtended.js.map +0 -1
@@ -614,8 +614,6 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
614
614
  AgentNoteType: z.ZodNullable<z.ZodString>;
615
615
  User: z.ZodNullable<z.ZodString>;
616
616
  SourceConversation: z.ZodNullable<z.ZodString>;
617
- SourceConversationDetail: z.ZodNullable<z.ZodString>;
618
- SourceAIAgentRun: z.ZodNullable<z.ZodString>;
619
617
  Company: z.ZodNullable<z.ZodString>;
620
618
  EmbeddingModel: z.ZodNullable<z.ZodString>;
621
619
  }, "strip", z.ZodTypeAny, {
@@ -640,8 +638,6 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
640
638
  EmbeddingModelID?: string;
641
639
  AgentNoteType?: string;
642
640
  SourceConversation?: string;
643
- SourceConversationDetail?: string;
644
- SourceAIAgentRun?: string;
645
641
  Company?: string;
646
642
  EmbeddingModel?: string;
647
643
  }, {
@@ -666,8 +662,6 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
666
662
  EmbeddingModelID?: string;
667
663
  AgentNoteType?: string;
668
664
  SourceConversation?: string;
669
- SourceConversationDetail?: string;
670
- SourceAIAgentRun?: string;
671
665
  Company?: string;
672
666
  EmbeddingModel?: string;
673
667
  }>;
@@ -1285,7 +1279,6 @@ export declare const AIResultCacheSchema: z.ZodObject<{
1285
1279
  Vendor: z.ZodNullable<z.ZodString>;
1286
1280
  Agent: z.ZodNullable<z.ZodString>;
1287
1281
  Configuration: z.ZodNullable<z.ZodString>;
1288
- PromptRun: z.ZodNullable<z.ZodString>;
1289
1282
  }, "strip", z.ZodTypeAny, {
1290
1283
  ID?: string;
1291
1284
  __mj_CreatedAt?: Date;
@@ -1307,7 +1300,6 @@ export declare const AIResultCacheSchema: z.ZodObject<{
1307
1300
  PromptRunID?: string;
1308
1301
  AIPrompt?: string;
1309
1302
  Configuration?: string;
1310
- PromptRun?: string;
1311
1303
  }, {
1312
1304
  ID?: string;
1313
1305
  __mj_CreatedAt?: Date;
@@ -1329,7 +1321,6 @@ export declare const AIResultCacheSchema: z.ZodObject<{
1329
1321
  PromptRunID?: string;
1330
1322
  AIPrompt?: string;
1331
1323
  Configuration?: string;
1332
- PromptRun?: string;
1333
1324
  }>;
1334
1325
  export type AIResultCacheEntityType = z.infer<typeof AIResultCacheSchema>;
1335
1326
  /**
@@ -2506,12 +2497,14 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2506
2497
  ResponseForm: z.ZodNullable<z.ZodString>;
2507
2498
  ActionableCommands: z.ZodNullable<z.ZodString>;
2508
2499
  AutomaticCommands: z.ZodNullable<z.ZodString>;
2500
+ OriginalMessageChanged: z.ZodBoolean;
2509
2501
  Conversation: z.ZodNullable<z.ZodString>;
2510
2502
  User: z.ZodNullable<z.ZodString>;
2511
2503
  Artifact: z.ZodNullable<z.ZodString>;
2512
2504
  ArtifactVersion: z.ZodNullable<z.ZodString>;
2513
2505
  Parent: z.ZodNullable<z.ZodString>;
2514
2506
  Agent: z.ZodNullable<z.ZodString>;
2507
+ TestRun: z.ZodNullable<z.ZodString>;
2515
2508
  RootParentID: z.ZodNullable<z.ZodString>;
2516
2509
  }, "strip", z.ZodTypeAny, {
2517
2510
  ID?: string;
@@ -2544,9 +2537,11 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2544
2537
  ResponseForm?: string;
2545
2538
  ActionableCommands?: string;
2546
2539
  AutomaticCommands?: string;
2540
+ OriginalMessageChanged?: boolean;
2547
2541
  Conversation?: string;
2548
2542
  Artifact?: string;
2549
2543
  ArtifactVersion?: string;
2544
+ TestRun?: string;
2550
2545
  }, {
2551
2546
  ID?: string;
2552
2547
  __mj_CreatedAt?: Date;
@@ -2578,9 +2573,11 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2578
2573
  ResponseForm?: string;
2579
2574
  ActionableCommands?: string;
2580
2575
  AutomaticCommands?: string;
2576
+ OriginalMessageChanged?: boolean;
2581
2577
  Conversation?: string;
2582
2578
  Artifact?: string;
2583
2579
  ArtifactVersion?: string;
2580
+ TestRun?: string;
2584
2581
  }>;
2585
2582
  export type ConversationDetailEntityType = z.infer<typeof ConversationDetailSchema>;
2586
2583
  /**
@@ -2991,7 +2988,6 @@ export declare const DuplicateRunDetailSchema: z.ZodObject<{
2991
2988
  MergeErrorMessage: z.ZodNullable<z.ZodString>;
2992
2989
  __mj_CreatedAt: z.ZodDate;
2993
2990
  __mj_UpdatedAt: z.ZodDate;
2994
- DuplicateRun: z.ZodString;
2995
2991
  }, "strip", z.ZodTypeAny, {
2996
2992
  ID?: string;
2997
2993
  __mj_CreatedAt?: Date;
@@ -3003,7 +2999,6 @@ export declare const DuplicateRunDetailSchema: z.ZodObject<{
3003
2999
  SkippedReason?: string;
3004
3000
  MatchErrorMessage?: string;
3005
3001
  MergeErrorMessage?: string;
3006
- DuplicateRun?: string;
3007
3002
  }, {
3008
3003
  ID?: string;
3009
3004
  __mj_CreatedAt?: Date;
@@ -3015,7 +3010,6 @@ export declare const DuplicateRunDetailSchema: z.ZodObject<{
3015
3010
  SkippedReason?: string;
3016
3011
  MatchErrorMessage?: string;
3017
3012
  MergeErrorMessage?: string;
3018
- DuplicateRun?: string;
3019
3013
  }>;
3020
3014
  export type DuplicateRunDetailEntityType = z.infer<typeof DuplicateRunDetailSchema>;
3021
3015
  /**
@@ -3088,7 +3082,6 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
3088
3082
  IsActive: z.ZodBoolean;
3089
3083
  __mj_CreatedAt: z.ZodDate;
3090
3084
  __mj_UpdatedAt: z.ZodDate;
3091
- Employee: z.ZodNullable<z.ZodString>;
3092
3085
  CompanyIntegration: z.ZodString;
3093
3086
  }, "strip", z.ZodTypeAny, {
3094
3087
  ID?: string;
@@ -3099,7 +3092,6 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
3099
3092
  ExternalSystemRecordID?: string;
3100
3093
  CompanyIntegration?: string;
3101
3094
  EmployeeID?: string;
3102
- Employee?: string;
3103
3095
  }, {
3104
3096
  ID?: string;
3105
3097
  __mj_CreatedAt?: Date;
@@ -3109,7 +3101,6 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
3109
3101
  ExternalSystemRecordID?: string;
3110
3102
  CompanyIntegration?: string;
3111
3103
  EmployeeID?: string;
3112
- Employee?: string;
3113
3104
  }>;
3114
3105
  export type EmployeeCompanyIntegrationEntityType = z.infer<typeof EmployeeCompanyIntegrationSchema>;
3115
3106
  /**
@@ -3121,7 +3112,6 @@ export declare const EmployeeRoleSchema: z.ZodObject<{
3121
3112
  RoleID: z.ZodString;
3122
3113
  __mj_CreatedAt: z.ZodDate;
3123
3114
  __mj_UpdatedAt: z.ZodDate;
3124
- Employee: z.ZodNullable<z.ZodString>;
3125
3115
  Role: z.ZodString;
3126
3116
  }, "strip", z.ZodTypeAny, {
3127
3117
  ID?: string;
@@ -3130,7 +3120,6 @@ export declare const EmployeeRoleSchema: z.ZodObject<{
3130
3120
  RoleID?: string;
3131
3121
  Role?: string;
3132
3122
  EmployeeID?: string;
3133
- Employee?: string;
3134
3123
  }, {
3135
3124
  ID?: string;
3136
3125
  __mj_CreatedAt?: Date;
@@ -3138,7 +3127,6 @@ export declare const EmployeeRoleSchema: z.ZodObject<{
3138
3127
  RoleID?: string;
3139
3128
  Role?: string;
3140
3129
  EmployeeID?: string;
3141
- Employee?: string;
3142
3130
  }>;
3143
3131
  export type EmployeeRoleEntityType = z.infer<typeof EmployeeRoleSchema>;
3144
3132
  /**
@@ -3150,14 +3138,12 @@ export declare const EmployeeSkillSchema: z.ZodObject<{
3150
3138
  SkillID: z.ZodString;
3151
3139
  __mj_CreatedAt: z.ZodDate;
3152
3140
  __mj_UpdatedAt: z.ZodDate;
3153
- Employee: z.ZodNullable<z.ZodString>;
3154
3141
  Skill: z.ZodString;
3155
3142
  }, "strip", z.ZodTypeAny, {
3156
3143
  ID?: string;
3157
3144
  __mj_CreatedAt?: Date;
3158
3145
  __mj_UpdatedAt?: Date;
3159
3146
  EmployeeID?: string;
3160
- Employee?: string;
3161
3147
  SkillID?: string;
3162
3148
  Skill?: string;
3163
3149
  }, {
@@ -3165,7 +3151,6 @@ export declare const EmployeeSkillSchema: z.ZodObject<{
3165
3151
  __mj_CreatedAt?: Date;
3166
3152
  __mj_UpdatedAt?: Date;
3167
3153
  EmployeeID?: string;
3168
- Employee?: string;
3169
3154
  SkillID?: string;
3170
3155
  Skill?: string;
3171
3156
  }>;
@@ -3437,8 +3422,6 @@ export declare const EntityActionFilterSchema: z.ZodObject<{
3437
3422
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
3438
3423
  __mj_CreatedAt: z.ZodDate;
3439
3424
  __mj_UpdatedAt: z.ZodDate;
3440
- EntityAction: z.ZodString;
3441
- ActionFilter: z.ZodString;
3442
3425
  }, "strip", z.ZodTypeAny, {
3443
3426
  ID?: string;
3444
3427
  __mj_CreatedAt?: Date;
@@ -3447,8 +3430,6 @@ export declare const EntityActionFilterSchema: z.ZodObject<{
3447
3430
  Sequence?: number;
3448
3431
  EntityActionID?: string;
3449
3432
  ActionFilterID?: string;
3450
- EntityAction?: string;
3451
- ActionFilter?: string;
3452
3433
  }, {
3453
3434
  ID?: string;
3454
3435
  __mj_CreatedAt?: Date;
@@ -3457,8 +3438,6 @@ export declare const EntityActionFilterSchema: z.ZodObject<{
3457
3438
  Sequence?: number;
3458
3439
  EntityActionID?: string;
3459
3440
  ActionFilterID?: string;
3460
- EntityAction?: string;
3461
- ActionFilter?: string;
3462
3441
  }>;
3463
3442
  export type EntityActionFilterEntityType = z.infer<typeof EntityActionFilterSchema>;
3464
3443
  /**
@@ -3497,7 +3476,6 @@ export declare const EntityActionInvocationSchema: z.ZodObject<{
3497
3476
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
3498
3477
  __mj_CreatedAt: z.ZodDate;
3499
3478
  __mj_UpdatedAt: z.ZodDate;
3500
- EntityAction: z.ZodString;
3501
3479
  InvocationType: z.ZodString;
3502
3480
  }, "strip", z.ZodTypeAny, {
3503
3481
  ID?: string;
@@ -3505,7 +3483,6 @@ export declare const EntityActionInvocationSchema: z.ZodObject<{
3505
3483
  __mj_UpdatedAt?: Date;
3506
3484
  Status?: "Active" | "Disabled" | "Pending";
3507
3485
  EntityActionID?: string;
3508
- EntityAction?: string;
3509
3486
  InvocationTypeID?: string;
3510
3487
  InvocationType?: string;
3511
3488
  }, {
@@ -3514,7 +3491,6 @@ export declare const EntityActionInvocationSchema: z.ZodObject<{
3514
3491
  __mj_UpdatedAt?: Date;
3515
3492
  Status?: "Active" | "Disabled" | "Pending";
3516
3493
  EntityActionID?: string;
3517
- EntityAction?: string;
3518
3494
  InvocationTypeID?: string;
3519
3495
  InvocationType?: string;
3520
3496
  }>;
@@ -3531,7 +3507,6 @@ export declare const EntityActionParamSchema: z.ZodObject<{
3531
3507
  Comments: z.ZodNullable<z.ZodString>;
3532
3508
  __mj_CreatedAt: z.ZodDate;
3533
3509
  __mj_UpdatedAt: z.ZodDate;
3534
- EntityAction: z.ZodString;
3535
3510
  ActionParam: z.ZodString;
3536
3511
  }, "strip", z.ZodTypeAny, {
3537
3512
  ID?: string;
@@ -3541,7 +3516,6 @@ export declare const EntityActionParamSchema: z.ZodObject<{
3541
3516
  ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
3542
3517
  Value?: string;
3543
3518
  EntityActionID?: string;
3544
- EntityAction?: string;
3545
3519
  ActionParamID?: string;
3546
3520
  ActionParam?: string;
3547
3521
  }, {
@@ -3552,7 +3526,6 @@ export declare const EntityActionParamSchema: z.ZodObject<{
3552
3526
  ValueType?: "Entity Field" | "Entity Object" | "Script" | "Static";
3553
3527
  Value?: string;
3554
3528
  EntityActionID?: string;
3555
- EntityAction?: string;
3556
3529
  ActionParamID?: string;
3557
3530
  ActionParam?: string;
3558
3531
  }>;
@@ -3664,7 +3637,6 @@ export declare const EntityCommunicationFieldSchema: z.ZodObject<{
3664
3637
  Priority: z.ZodNumber;
3665
3638
  __mj_CreatedAt: z.ZodDate;
3666
3639
  __mj_UpdatedAt: z.ZodDate;
3667
- EntityCommunicationMessageType: z.ZodString;
3668
3640
  }, "strip", z.ZodTypeAny, {
3669
3641
  ID?: string;
3670
3642
  __mj_CreatedAt?: Date;
@@ -3672,7 +3644,6 @@ export declare const EntityCommunicationFieldSchema: z.ZodObject<{
3672
3644
  Priority?: number;
3673
3645
  EntityCommunicationMessageTypeID?: string;
3674
3646
  FieldName?: string;
3675
- EntityCommunicationMessageType?: string;
3676
3647
  }, {
3677
3648
  ID?: string;
3678
3649
  __mj_CreatedAt?: Date;
@@ -3680,7 +3651,6 @@ export declare const EntityCommunicationFieldSchema: z.ZodObject<{
3680
3651
  Priority?: number;
3681
3652
  EntityCommunicationMessageTypeID?: string;
3682
3653
  FieldName?: string;
3683
- EntityCommunicationMessageType?: string;
3684
3654
  }>;
3685
3655
  export type EntityCommunicationFieldEntityType = z.infer<typeof EntityCommunicationFieldSchema>;
3686
3656
  /**
@@ -3955,6 +3925,10 @@ export declare const EntityFieldSchema: z.ZodObject<{
3955
3925
  AutoUpdateCategory: z.ZodBoolean;
3956
3926
  AutoUpdateDisplayName: z.ZodBoolean;
3957
3927
  AutoUpdateIncludeInUserSearchAPI: z.ZodBoolean;
3928
+ Encrypt: z.ZodBoolean;
3929
+ EncryptionKeyID: z.ZodNullable<z.ZodString>;
3930
+ AllowDecryptInAPI: z.ZodBoolean;
3931
+ SendEncryptedValue: z.ZodBoolean;
3958
3932
  FieldCodeName: z.ZodNullable<z.ZodString>;
3959
3933
  Entity: z.ZodString;
3960
3934
  SchemaName: z.ZodString;
@@ -4024,6 +3998,10 @@ export declare const EntityFieldSchema: z.ZodObject<{
4024
3998
  AutoUpdateCategory?: boolean;
4025
3999
  AutoUpdateDisplayName?: boolean;
4026
4000
  AutoUpdateIncludeInUserSearchAPI?: boolean;
4001
+ Encrypt?: boolean;
4002
+ EncryptionKeyID?: string;
4003
+ AllowDecryptInAPI?: boolean;
4004
+ SendEncryptedValue?: boolean;
4027
4005
  FieldCodeName?: string;
4028
4006
  RelatedEntity?: string;
4029
4007
  RelatedEntitySchemaName?: string;
@@ -4087,6 +4065,10 @@ export declare const EntityFieldSchema: z.ZodObject<{
4087
4065
  AutoUpdateCategory?: boolean;
4088
4066
  AutoUpdateDisplayName?: boolean;
4089
4067
  AutoUpdateIncludeInUserSearchAPI?: boolean;
4068
+ Encrypt?: boolean;
4069
+ EncryptionKeyID?: string;
4070
+ AllowDecryptInAPI?: boolean;
4071
+ SendEncryptedValue?: boolean;
4090
4072
  FieldCodeName?: string;
4091
4073
  RelatedEntity?: string;
4092
4074
  RelatedEntitySchemaName?: string;
@@ -4400,8 +4382,6 @@ export declare const ErrorLogSchema: z.ZodObject<{
4400
4382
  Details: z.ZodNullable<z.ZodString>;
4401
4383
  __mj_CreatedAt: z.ZodDate;
4402
4384
  __mj_UpdatedAt: z.ZodDate;
4403
- CompanyIntegrationRun: z.ZodNullable<z.ZodString>;
4404
- CompanyIntegrationRunDetail: z.ZodNullable<z.ZodString>;
4405
4385
  }, "strip", z.ZodTypeAny, {
4406
4386
  ID?: string;
4407
4387
  __mj_CreatedAt?: Date;
@@ -4412,10 +4392,8 @@ export declare const ErrorLogSchema: z.ZodObject<{
4412
4392
  Category?: string;
4413
4393
  Details?: string;
4414
4394
  CompanyIntegrationRunID?: string;
4415
- CompanyIntegrationRun?: string;
4416
4395
  CompanyIntegrationRunDetailID?: string;
4417
4396
  CreatedBy?: string;
4418
- CompanyIntegrationRunDetail?: string;
4419
4397
  }, {
4420
4398
  ID?: string;
4421
4399
  __mj_CreatedAt?: Date;
@@ -4426,10 +4404,8 @@ export declare const ErrorLogSchema: z.ZodObject<{
4426
4404
  Category?: string;
4427
4405
  Details?: string;
4428
4406
  CompanyIntegrationRunID?: string;
4429
- CompanyIntegrationRun?: string;
4430
4407
  CompanyIntegrationRunDetailID?: string;
4431
4408
  CreatedBy?: string;
4432
- CompanyIntegrationRunDetail?: string;
4433
4409
  }>;
4434
4410
  export type ErrorLogEntityType = z.infer<typeof ErrorLogSchema>;
4435
4411
  /**
@@ -5211,8 +5187,6 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
5211
5187
  User: z.ZodNullable<z.ZodString>;
5212
5188
  Company: z.ZodNullable<z.ZodString>;
5213
5189
  SourceConversation: z.ZodNullable<z.ZodString>;
5214
- SourceConversationDetail: z.ZodNullable<z.ZodString>;
5215
- SourceAIAgentRun: z.ZodNullable<z.ZodString>;
5216
5190
  EmbeddingModel: z.ZodNullable<z.ZodString>;
5217
5191
  }, "strip", z.ZodTypeAny, {
5218
5192
  ID?: string;
@@ -5233,8 +5207,6 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
5233
5207
  EmbeddingVector?: string;
5234
5208
  EmbeddingModelID?: string;
5235
5209
  SourceConversation?: string;
5236
- SourceConversationDetail?: string;
5237
- SourceAIAgentRun?: string;
5238
5210
  Company?: string;
5239
5211
  EmbeddingModel?: string;
5240
5212
  ExampleInput?: string;
@@ -5259,8 +5231,6 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
5259
5231
  EmbeddingVector?: string;
5260
5232
  EmbeddingModelID?: string;
5261
5233
  SourceConversation?: string;
5262
- SourceConversationDetail?: string;
5263
- SourceAIAgentRun?: string;
5264
5234
  Company?: string;
5265
5235
  EmbeddingModel?: string;
5266
5236
  ExampleInput?: string;
@@ -5441,8 +5411,6 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
5441
5411
  FinalPayloadValidationMessages: z.ZodNullable<z.ZodString>;
5442
5412
  ParentID: z.ZodNullable<z.ZodString>;
5443
5413
  Comments: z.ZodNullable<z.ZodString>;
5444
- AgentRun: z.ZodNullable<z.ZodString>;
5445
- Parent: z.ZodNullable<z.ZodString>;
5446
5414
  RootParentID: z.ZodNullable<z.ZodString>;
5447
5415
  }, "strip", z.ZodTypeAny, {
5448
5416
  ID?: string;
@@ -5451,7 +5419,6 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
5451
5419
  __mj_UpdatedAt?: Date;
5452
5420
  ParentID?: string;
5453
5421
  Status?: "Failed" | "Cancelled" | "Completed" | "Running";
5454
- Parent?: string;
5455
5422
  RootParentID?: string;
5456
5423
  StartedAt?: Date;
5457
5424
  Success?: boolean;
@@ -5469,7 +5436,6 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
5469
5436
  PayloadAtEnd?: string;
5470
5437
  FinalPayloadValidationResult?: "Fail" | "Retry" | "Warn" | "Pass";
5471
5438
  FinalPayloadValidationMessages?: string;
5472
- AgentRun?: string;
5473
5439
  }, {
5474
5440
  ID?: string;
5475
5441
  Comments?: string;
@@ -5477,7 +5443,6 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
5477
5443
  __mj_UpdatedAt?: Date;
5478
5444
  ParentID?: string;
5479
5445
  Status?: "Failed" | "Cancelled" | "Completed" | "Running";
5480
- Parent?: string;
5481
5446
  RootParentID?: string;
5482
5447
  StartedAt?: Date;
5483
5448
  Success?: boolean;
@@ -5495,7 +5460,6 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
5495
5460
  PayloadAtEnd?: string;
5496
5461
  FinalPayloadValidationResult?: "Fail" | "Retry" | "Warn" | "Pass";
5497
5462
  FinalPayloadValidationMessages?: string;
5498
- AgentRun?: string;
5499
5463
  }>;
5500
5464
  export type AIAgentRunStepEntityType = z.infer<typeof AIAgentRunStepSchema>;
5501
5465
  /**
@@ -5918,6 +5882,56 @@ export declare const AIConfigurationSchema: z.ZodObject<{
5918
5882
  DefaultPromptForContextSummarization?: string;
5919
5883
  }>;
5920
5884
  export type AIConfigurationEntityType = z.infer<typeof AIConfigurationSchema>;
5885
+ /**
5886
+ * zod schema definition for the entity MJ: AI Credential Bindings
5887
+ */
5888
+ export declare const AICredentialBindingSchema: z.ZodObject<{
5889
+ ID: z.ZodString;
5890
+ CredentialID: z.ZodString;
5891
+ BindingType: z.ZodUnion<[z.ZodLiteral<"ModelVendor">, z.ZodLiteral<"PromptModel">, z.ZodLiteral<"Vendor">]>;
5892
+ AIVendorID: z.ZodNullable<z.ZodString>;
5893
+ AIModelVendorID: z.ZodNullable<z.ZodString>;
5894
+ AIPromptModelID: z.ZodNullable<z.ZodString>;
5895
+ Priority: z.ZodNumber;
5896
+ IsActive: z.ZodBoolean;
5897
+ __mj_CreatedAt: z.ZodDate;
5898
+ __mj_UpdatedAt: z.ZodDate;
5899
+ Credential: z.ZodString;
5900
+ AIVendor: z.ZodNullable<z.ZodString>;
5901
+ AIModelVendor: z.ZodNullable<z.ZodString>;
5902
+ AIPromptModel: z.ZodNullable<z.ZodString>;
5903
+ }, "strip", z.ZodTypeAny, {
5904
+ ID?: string;
5905
+ __mj_CreatedAt?: Date;
5906
+ __mj_UpdatedAt?: Date;
5907
+ IsActive?: boolean;
5908
+ Priority?: number;
5909
+ CredentialID?: string;
5910
+ BindingType?: "Vendor" | "ModelVendor" | "PromptModel";
5911
+ AIVendorID?: string;
5912
+ AIModelVendorID?: string;
5913
+ AIPromptModelID?: string;
5914
+ Credential?: string;
5915
+ AIVendor?: string;
5916
+ AIModelVendor?: string;
5917
+ AIPromptModel?: string;
5918
+ }, {
5919
+ ID?: string;
5920
+ __mj_CreatedAt?: Date;
5921
+ __mj_UpdatedAt?: Date;
5922
+ IsActive?: boolean;
5923
+ Priority?: number;
5924
+ CredentialID?: string;
5925
+ BindingType?: "Vendor" | "ModelVendor" | "PromptModel";
5926
+ AIVendorID?: string;
5927
+ AIModelVendorID?: string;
5928
+ AIPromptModelID?: string;
5929
+ Credential?: string;
5930
+ AIVendor?: string;
5931
+ AIModelVendor?: string;
5932
+ AIPromptModel?: string;
5933
+ }>;
5934
+ export type AICredentialBindingEntityType = z.infer<typeof AICredentialBindingSchema>;
5921
5935
  /**
5922
5936
  * zod schema definition for the entity MJ: AI Model Costs
5923
5937
  */
@@ -6261,6 +6275,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6261
6275
  RerunFromPromptRun: z.ZodNullable<z.ZodString>;
6262
6276
  Judge: z.ZodNullable<z.ZodString>;
6263
6277
  ChildPrompt: z.ZodNullable<z.ZodString>;
6278
+ TestRun: z.ZodNullable<z.ZodString>;
6264
6279
  RootParentID: z.ZodNullable<z.ZodString>;
6265
6280
  RootRerunFromPromptRunID: z.ZodNullable<z.ZodString>;
6266
6281
  }, "strip", z.ZodTypeAny, {
@@ -6301,11 +6316,11 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6301
6316
  Prompt?: string;
6302
6317
  CompletionTime?: number;
6303
6318
  TestRunID?: string;
6319
+ TestRun?: string;
6304
6320
  PromptID?: string;
6305
6321
  AgentRunID?: string;
6306
6322
  Cancelled?: boolean;
6307
6323
  CompletedAt?: Date;
6308
- AgentRun?: string;
6309
6324
  Result?: string;
6310
6325
  TotalCost?: number;
6311
6326
  CancellationReason?: string;
@@ -6356,6 +6371,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6356
6371
  QueueTime?: number;
6357
6372
  PromptTime?: number;
6358
6373
  ModelSpecificResponseDetails?: string;
6374
+ AgentRun?: string;
6359
6375
  OriginalModel?: string;
6360
6376
  RerunFromPromptRun?: string;
6361
6377
  Judge?: string;
@@ -6399,11 +6415,11 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6399
6415
  Prompt?: string;
6400
6416
  CompletionTime?: number;
6401
6417
  TestRunID?: string;
6418
+ TestRun?: string;
6402
6419
  PromptID?: string;
6403
6420
  AgentRunID?: string;
6404
6421
  Cancelled?: boolean;
6405
6422
  CompletedAt?: Date;
6406
- AgentRun?: string;
6407
6423
  Result?: string;
6408
6424
  TotalCost?: number;
6409
6425
  CancellationReason?: string;
@@ -6454,6 +6470,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6454
6470
  QueueTime?: number;
6455
6471
  PromptTime?: number;
6456
6472
  ModelSpecificResponseDetails?: string;
6473
+ AgentRun?: string;
6457
6474
  OriginalModel?: string;
6458
6475
  RerunFromPromptRun?: string;
6459
6476
  Judge?: string;
@@ -6528,18 +6545,24 @@ export declare const AIVendorSchema: z.ZodObject<{
6528
6545
  Description: z.ZodNullable<z.ZodString>;
6529
6546
  __mj_CreatedAt: z.ZodDate;
6530
6547
  __mj_UpdatedAt: z.ZodDate;
6548
+ CredentialTypeID: z.ZodNullable<z.ZodString>;
6549
+ CredentialType: z.ZodNullable<z.ZodString>;
6531
6550
  }, "strip", z.ZodTypeAny, {
6532
6551
  ID?: string;
6533
6552
  __mj_CreatedAt?: Date;
6534
6553
  __mj_UpdatedAt?: Date;
6535
6554
  Name?: string;
6536
6555
  Description?: string;
6556
+ CredentialTypeID?: string;
6557
+ CredentialType?: string;
6537
6558
  }, {
6538
6559
  ID?: string;
6539
6560
  __mj_CreatedAt?: Date;
6540
6561
  __mj_UpdatedAt?: Date;
6541
6562
  Name?: string;
6542
6563
  Description?: string;
6564
+ CredentialTypeID?: string;
6565
+ CredentialType?: string;
6543
6566
  }>;
6544
6567
  export type AIVendorEntityType = z.infer<typeof AIVendorSchema>;
6545
6568
  /**
@@ -7297,7 +7320,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7297
7320
  Direction: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
7298
7321
  __mj_CreatedAt: z.ZodDate;
7299
7322
  __mj_UpdatedAt: z.ZodDate;
7300
- ConversationDetail: z.ZodString;
7301
7323
  ArtifactVersion: z.ZodNullable<z.ZodString>;
7302
7324
  }, "strip", z.ZodTypeAny, {
7303
7325
  ID?: string;
@@ -7307,7 +7329,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7307
7329
  ArtifactVersionID?: string;
7308
7330
  ArtifactVersion?: string;
7309
7331
  ConversationDetailID?: string;
7310
- ConversationDetail?: string;
7311
7332
  }, {
7312
7333
  ID?: string;
7313
7334
  __mj_CreatedAt?: Date;
@@ -7316,7 +7337,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7316
7337
  ArtifactVersionID?: string;
7317
7338
  ArtifactVersion?: string;
7318
7339
  ConversationDetailID?: string;
7319
- ConversationDetail?: string;
7320
7340
  }>;
7321
7341
  export type ConversationDetailArtifactEntityType = z.infer<typeof ConversationDetailArtifactSchema>;
7322
7342
  /**
@@ -7330,7 +7350,6 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7330
7350
  Comments: z.ZodNullable<z.ZodString>;
7331
7351
  __mj_CreatedAt: z.ZodDate;
7332
7352
  __mj_UpdatedAt: z.ZodDate;
7333
- ConversationDetail: z.ZodString;
7334
7353
  User: z.ZodString;
7335
7354
  }, "strip", z.ZodTypeAny, {
7336
7355
  ID?: string;
@@ -7340,7 +7359,6 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7340
7359
  UserID?: string;
7341
7360
  User?: string;
7342
7361
  ConversationDetailID?: string;
7343
- ConversationDetail?: string;
7344
7362
  Rating?: number;
7345
7363
  }, {
7346
7364
  ID?: string;
@@ -7350,10 +7368,135 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7350
7368
  UserID?: string;
7351
7369
  User?: string;
7352
7370
  ConversationDetailID?: string;
7353
- ConversationDetail?: string;
7354
7371
  Rating?: number;
7355
7372
  }>;
7356
7373
  export type ConversationDetailRatingEntityType = z.infer<typeof ConversationDetailRatingSchema>;
7374
+ /**
7375
+ * zod schema definition for the entity MJ: Credential Categories
7376
+ */
7377
+ export declare const CredentialCategorySchema: z.ZodObject<{
7378
+ ID: z.ZodString;
7379
+ Name: z.ZodString;
7380
+ Description: z.ZodNullable<z.ZodString>;
7381
+ ParentID: z.ZodNullable<z.ZodString>;
7382
+ IconClass: z.ZodNullable<z.ZodString>;
7383
+ __mj_CreatedAt: z.ZodDate;
7384
+ __mj_UpdatedAt: z.ZodDate;
7385
+ Parent: z.ZodNullable<z.ZodString>;
7386
+ RootParentID: z.ZodNullable<z.ZodString>;
7387
+ }, "strip", z.ZodTypeAny, {
7388
+ ID?: string;
7389
+ __mj_CreatedAt?: Date;
7390
+ __mj_UpdatedAt?: Date;
7391
+ Name?: string;
7392
+ Description?: string;
7393
+ ParentID?: string;
7394
+ Parent?: string;
7395
+ RootParentID?: string;
7396
+ IconClass?: string;
7397
+ }, {
7398
+ ID?: string;
7399
+ __mj_CreatedAt?: Date;
7400
+ __mj_UpdatedAt?: Date;
7401
+ Name?: string;
7402
+ Description?: string;
7403
+ ParentID?: string;
7404
+ Parent?: string;
7405
+ RootParentID?: string;
7406
+ IconClass?: string;
7407
+ }>;
7408
+ export type CredentialCategoryEntityType = z.infer<typeof CredentialCategorySchema>;
7409
+ /**
7410
+ * zod schema definition for the entity MJ: Credential Types
7411
+ */
7412
+ export declare const CredentialTypeSchema: z.ZodObject<{
7413
+ ID: z.ZodString;
7414
+ Name: z.ZodString;
7415
+ Description: z.ZodNullable<z.ZodString>;
7416
+ Category: z.ZodUnion<[z.ZodLiteral<"AI">, z.ZodLiteral<"Authentication">, z.ZodLiteral<"Communication">, z.ZodLiteral<"Database">, z.ZodLiteral<"Integration">, z.ZodLiteral<"Storage">]>;
7417
+ FieldSchema: z.ZodString;
7418
+ IconClass: z.ZodNullable<z.ZodString>;
7419
+ ValidationEndpoint: z.ZodNullable<z.ZodString>;
7420
+ __mj_CreatedAt: z.ZodDate;
7421
+ __mj_UpdatedAt: z.ZodDate;
7422
+ }, "strip", z.ZodTypeAny, {
7423
+ ID?: string;
7424
+ __mj_CreatedAt?: Date;
7425
+ __mj_UpdatedAt?: Date;
7426
+ Name?: string;
7427
+ Description?: string;
7428
+ IconClass?: string;
7429
+ Category?: "Integration" | "AI" | "Authentication" | "Communication" | "Database" | "Storage";
7430
+ FieldSchema?: string;
7431
+ ValidationEndpoint?: string;
7432
+ }, {
7433
+ ID?: string;
7434
+ __mj_CreatedAt?: Date;
7435
+ __mj_UpdatedAt?: Date;
7436
+ Name?: string;
7437
+ Description?: string;
7438
+ IconClass?: string;
7439
+ Category?: "Integration" | "AI" | "Authentication" | "Communication" | "Database" | "Storage";
7440
+ FieldSchema?: string;
7441
+ ValidationEndpoint?: string;
7442
+ }>;
7443
+ export type CredentialTypeEntityType = z.infer<typeof CredentialTypeSchema>;
7444
+ /**
7445
+ * zod schema definition for the entity MJ: Credentials
7446
+ */
7447
+ export declare const CredentialSchema: z.ZodObject<{
7448
+ ID: z.ZodString;
7449
+ CredentialTypeID: z.ZodString;
7450
+ CategoryID: z.ZodNullable<z.ZodString>;
7451
+ Name: z.ZodString;
7452
+ Description: z.ZodNullable<z.ZodString>;
7453
+ Values: z.ZodString;
7454
+ IsDefault: z.ZodBoolean;
7455
+ IsActive: z.ZodBoolean;
7456
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
7457
+ LastValidatedAt: z.ZodNullable<z.ZodDate>;
7458
+ LastUsedAt: z.ZodNullable<z.ZodDate>;
7459
+ IconClass: z.ZodNullable<z.ZodString>;
7460
+ __mj_CreatedAt: z.ZodDate;
7461
+ __mj_UpdatedAt: z.ZodDate;
7462
+ CredentialType: z.ZodString;
7463
+ Category: z.ZodNullable<z.ZodString>;
7464
+ }, "strip", z.ZodTypeAny, {
7465
+ ID?: string;
7466
+ __mj_CreatedAt?: Date;
7467
+ __mj_UpdatedAt?: Date;
7468
+ Name?: string;
7469
+ Description?: string;
7470
+ CategoryID?: string;
7471
+ IconClass?: string;
7472
+ Category?: string;
7473
+ IsActive?: boolean;
7474
+ ExpiresAt?: Date;
7475
+ IsDefault?: boolean;
7476
+ CredentialTypeID?: string;
7477
+ CredentialType?: string;
7478
+ Values?: string;
7479
+ LastValidatedAt?: Date;
7480
+ LastUsedAt?: Date;
7481
+ }, {
7482
+ ID?: string;
7483
+ __mj_CreatedAt?: Date;
7484
+ __mj_UpdatedAt?: Date;
7485
+ Name?: string;
7486
+ Description?: string;
7487
+ CategoryID?: string;
7488
+ IconClass?: string;
7489
+ Category?: string;
7490
+ IsActive?: boolean;
7491
+ ExpiresAt?: Date;
7492
+ IsDefault?: boolean;
7493
+ CredentialTypeID?: string;
7494
+ CredentialType?: string;
7495
+ Values?: string;
7496
+ LastValidatedAt?: Date;
7497
+ LastUsedAt?: Date;
7498
+ }>;
7499
+ export type CredentialEntityType = z.infer<typeof CredentialSchema>;
7357
7500
  /**
7358
7501
  * zod schema definition for the entity MJ: Dashboard User Preferences
7359
7502
  */
@@ -7427,6 +7570,138 @@ export declare const DashboardUserStateSchema: z.ZodObject<{
7427
7570
  UserState?: string;
7428
7571
  }>;
7429
7572
  export type DashboardUserStateEntityType = z.infer<typeof DashboardUserStateSchema>;
7573
+ /**
7574
+ * zod schema definition for the entity MJ: Encryption Algorithms
7575
+ */
7576
+ export declare const EncryptionAlgorithmSchema: z.ZodObject<{
7577
+ ID: z.ZodString;
7578
+ Name: z.ZodString;
7579
+ Description: z.ZodNullable<z.ZodString>;
7580
+ NodeCryptoName: z.ZodString;
7581
+ KeyLengthBits: z.ZodNumber;
7582
+ IVLengthBytes: z.ZodNumber;
7583
+ IsAEAD: z.ZodBoolean;
7584
+ IsActive: z.ZodBoolean;
7585
+ __mj_CreatedAt: z.ZodDate;
7586
+ __mj_UpdatedAt: z.ZodDate;
7587
+ }, "strip", z.ZodTypeAny, {
7588
+ ID?: string;
7589
+ __mj_CreatedAt?: Date;
7590
+ __mj_UpdatedAt?: Date;
7591
+ Name?: string;
7592
+ Description?: string;
7593
+ IsActive?: boolean;
7594
+ NodeCryptoName?: string;
7595
+ KeyLengthBits?: number;
7596
+ IVLengthBytes?: number;
7597
+ IsAEAD?: boolean;
7598
+ }, {
7599
+ ID?: string;
7600
+ __mj_CreatedAt?: Date;
7601
+ __mj_UpdatedAt?: Date;
7602
+ Name?: string;
7603
+ Description?: string;
7604
+ IsActive?: boolean;
7605
+ NodeCryptoName?: string;
7606
+ KeyLengthBits?: number;
7607
+ IVLengthBytes?: number;
7608
+ IsAEAD?: boolean;
7609
+ }>;
7610
+ export type EncryptionAlgorithmEntityType = z.infer<typeof EncryptionAlgorithmSchema>;
7611
+ /**
7612
+ * zod schema definition for the entity MJ: Encryption Key Sources
7613
+ */
7614
+ export declare const EncryptionKeySourceSchema: z.ZodObject<{
7615
+ ID: z.ZodString;
7616
+ Name: z.ZodString;
7617
+ Description: z.ZodNullable<z.ZodString>;
7618
+ DriverClass: z.ZodString;
7619
+ DriverImportPath: z.ZodNullable<z.ZodString>;
7620
+ ConfigTemplate: z.ZodNullable<z.ZodString>;
7621
+ IsActive: z.ZodBoolean;
7622
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Inactive">]>;
7623
+ __mj_CreatedAt: z.ZodDate;
7624
+ __mj_UpdatedAt: z.ZodDate;
7625
+ }, "strip", z.ZodTypeAny, {
7626
+ ID?: string;
7627
+ __mj_CreatedAt?: Date;
7628
+ __mj_UpdatedAt?: Date;
7629
+ Name?: string;
7630
+ Description?: string;
7631
+ Status?: "Active" | "Deprecated" | "Inactive";
7632
+ DriverClass?: string;
7633
+ IsActive?: boolean;
7634
+ DriverImportPath?: string;
7635
+ ConfigTemplate?: string;
7636
+ }, {
7637
+ ID?: string;
7638
+ __mj_CreatedAt?: Date;
7639
+ __mj_UpdatedAt?: Date;
7640
+ Name?: string;
7641
+ Description?: string;
7642
+ Status?: "Active" | "Deprecated" | "Inactive";
7643
+ DriverClass?: string;
7644
+ IsActive?: boolean;
7645
+ DriverImportPath?: string;
7646
+ ConfigTemplate?: string;
7647
+ }>;
7648
+ export type EncryptionKeySourceEntityType = z.infer<typeof EncryptionKeySourceSchema>;
7649
+ /**
7650
+ * zod schema definition for the entity MJ: Encryption Keys
7651
+ */
7652
+ export declare const EncryptionKeySchema: z.ZodObject<{
7653
+ ID: z.ZodString;
7654
+ Name: z.ZodString;
7655
+ Description: z.ZodNullable<z.ZodString>;
7656
+ EncryptionKeySourceID: z.ZodString;
7657
+ EncryptionAlgorithmID: z.ZodString;
7658
+ KeyLookupValue: z.ZodString;
7659
+ KeyVersion: z.ZodString;
7660
+ Marker: z.ZodString;
7661
+ IsActive: z.ZodBoolean;
7662
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Expired">, z.ZodLiteral<"Inactive">, z.ZodLiteral<"Rotating">]>;
7663
+ ActivatedAt: z.ZodNullable<z.ZodDate>;
7664
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
7665
+ __mj_CreatedAt: z.ZodDate;
7666
+ __mj_UpdatedAt: z.ZodDate;
7667
+ EncryptionKeySource: z.ZodString;
7668
+ EncryptionAlgorithm: z.ZodString;
7669
+ }, "strip", z.ZodTypeAny, {
7670
+ ID?: string;
7671
+ __mj_CreatedAt?: Date;
7672
+ __mj_UpdatedAt?: Date;
7673
+ Name?: string;
7674
+ Description?: string;
7675
+ Status?: "Active" | "Expired" | "Inactive" | "Rotating";
7676
+ IsActive?: boolean;
7677
+ ExpiresAt?: Date;
7678
+ EncryptionKeySourceID?: string;
7679
+ EncryptionAlgorithmID?: string;
7680
+ KeyLookupValue?: string;
7681
+ KeyVersion?: string;
7682
+ Marker?: string;
7683
+ ActivatedAt?: Date;
7684
+ EncryptionKeySource?: string;
7685
+ EncryptionAlgorithm?: string;
7686
+ }, {
7687
+ ID?: string;
7688
+ __mj_CreatedAt?: Date;
7689
+ __mj_UpdatedAt?: Date;
7690
+ Name?: string;
7691
+ Description?: string;
7692
+ Status?: "Active" | "Expired" | "Inactive" | "Rotating";
7693
+ IsActive?: boolean;
7694
+ ExpiresAt?: Date;
7695
+ EncryptionKeySourceID?: string;
7696
+ EncryptionAlgorithmID?: string;
7697
+ KeyLookupValue?: string;
7698
+ KeyVersion?: string;
7699
+ Marker?: string;
7700
+ ActivatedAt?: Date;
7701
+ EncryptionKeySource?: string;
7702
+ EncryptionAlgorithm?: string;
7703
+ }>;
7704
+ export type EncryptionKeyEntityType = z.infer<typeof EncryptionKeySchema>;
7430
7705
  /**
7431
7706
  * zod schema definition for the entity MJ: Environments
7432
7707
  */
@@ -7980,7 +8255,6 @@ export declare const TaskSchema: z.ZodObject<{
7980
8255
  Type: z.ZodString;
7981
8256
  Environment: z.ZodString;
7982
8257
  Project: z.ZodNullable<z.ZodString>;
7983
- ConversationDetail: z.ZodNullable<z.ZodString>;
7984
8258
  User: z.ZodNullable<z.ZodString>;
7985
8259
  Agent: z.ZodNullable<z.ZodString>;
7986
8260
  RootParentID: z.ZodNullable<z.ZodString>;
@@ -8007,7 +8281,6 @@ export declare const TaskSchema: z.ZodObject<{
8007
8281
  Project?: string;
8008
8282
  CompletedAt?: Date;
8009
8283
  ConversationDetailID?: string;
8010
- ConversationDetail?: string;
8011
8284
  PercentComplete?: number;
8012
8285
  DueAt?: Date;
8013
8286
  }, {
@@ -8033,7 +8306,6 @@ export declare const TaskSchema: z.ZodObject<{
8033
8306
  Project?: string;
8034
8307
  CompletedAt?: Date;
8035
8308
  ConversationDetailID?: string;
8036
- ConversationDetail?: string;
8037
8309
  PercentComplete?: number;
8038
8310
  DueAt?: Date;
8039
8311
  }>;
@@ -8093,6 +8365,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8093
8365
  ReviewedAt: z.ZodDate;
8094
8366
  __mj_CreatedAt: z.ZodDate;
8095
8367
  __mj_UpdatedAt: z.ZodDate;
8368
+ TestRun: z.ZodString;
8096
8369
  ReviewerUser: z.ZodString;
8097
8370
  }, "strip", z.ZodTypeAny, {
8098
8371
  ID?: string;
@@ -8100,6 +8373,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8100
8373
  __mj_CreatedAt?: Date;
8101
8374
  __mj_UpdatedAt?: Date;
8102
8375
  TestRunID?: string;
8376
+ TestRun?: string;
8103
8377
  Rating?: number;
8104
8378
  ReviewerUserID?: string;
8105
8379
  IsCorrect?: boolean;
@@ -8112,6 +8386,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8112
8386
  __mj_CreatedAt?: Date;
8113
8387
  __mj_UpdatedAt?: Date;
8114
8388
  TestRunID?: string;
8389
+ TestRun?: string;
8115
8390
  Rating?: number;
8116
8391
  ReviewerUserID?: string;
8117
8392
  IsCorrect?: boolean;
@@ -8148,6 +8423,7 @@ export declare const TestRunSchema: z.ZodObject<{
8148
8423
  __mj_CreatedAt: z.ZodDate;
8149
8424
  __mj_UpdatedAt: z.ZodDate;
8150
8425
  Test: z.ZodString;
8426
+ TestSuiteRun: z.ZodNullable<z.ZodString>;
8151
8427
  RunByUser: z.ZodString;
8152
8428
  }, "strip", z.ZodTypeAny, {
8153
8429
  ID?: string;
@@ -8175,6 +8451,7 @@ export declare const TestRunSchema: z.ZodObject<{
8175
8451
  CostUSD?: number;
8176
8452
  ResultDetails?: string;
8177
8453
  Test?: string;
8454
+ TestSuiteRun?: string;
8178
8455
  }, {
8179
8456
  ID?: string;
8180
8457
  __mj_CreatedAt?: Date;
@@ -8201,6 +8478,7 @@ export declare const TestRunSchema: z.ZodObject<{
8201
8478
  CostUSD?: number;
8202
8479
  ResultDetails?: string;
8203
8480
  Test?: string;
8481
+ TestSuiteRun?: string;
8204
8482
  }>;
8205
8483
  export type TestRunEntityType = z.infer<typeof TestRunSchema>;
8206
8484
  /**
@@ -8573,6 +8851,7 @@ export declare const QuerySchema: z.ZodObject<{
8573
8851
  CacheMaxSize: z.ZodNullable<z.ZodNumber>;
8574
8852
  EmbeddingVector: z.ZodNullable<z.ZodString>;
8575
8853
  EmbeddingModelID: z.ZodNullable<z.ZodString>;
8854
+ CacheValidationSQL: z.ZodNullable<z.ZodString>;
8576
8855
  Category: z.ZodNullable<z.ZodString>;
8577
8856
  EmbeddingModel: z.ZodNullable<z.ZodString>;
8578
8857
  }, "strip", z.ZodTypeAny, {
@@ -8599,6 +8878,7 @@ export declare const QuerySchema: z.ZodObject<{
8599
8878
  CacheEnabled?: boolean;
8600
8879
  CacheTTLMinutes?: number;
8601
8880
  CacheMaxSize?: number;
8881
+ CacheValidationSQL?: string;
8602
8882
  }, {
8603
8883
  ID?: string;
8604
8884
  __mj_CreatedAt?: Date;
@@ -8623,6 +8903,7 @@ export declare const QuerySchema: z.ZodObject<{
8623
8903
  CacheEnabled?: boolean;
8624
8904
  CacheTTLMinutes?: number;
8625
8905
  CacheMaxSize?: number;
8906
+ CacheValidationSQL?: string;
8626
8907
  }>;
8627
8908
  export type QueryEntityType = z.infer<typeof QuerySchema>;
8628
8909
  /**
@@ -8962,7 +9243,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8962
9243
  MatchProbability: z.ZodNullable<z.ZodNumber>;
8963
9244
  __mj_CreatedAt: z.ZodDate;
8964
9245
  __mj_UpdatedAt: z.ZodDate;
8965
- Recommendation: z.ZodString;
8966
9246
  DestinationEntity: z.ZodString;
8967
9247
  }, "strip", z.ZodTypeAny, {
8968
9248
  ID?: string;
@@ -8972,7 +9252,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8972
9252
  RecommendationID?: string;
8973
9253
  DestinationEntityID?: string;
8974
9254
  DestinationEntityRecordID?: string;
8975
- Recommendation?: string;
8976
9255
  DestinationEntity?: string;
8977
9256
  }, {
8978
9257
  ID?: string;
@@ -8982,7 +9261,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8982
9261
  RecommendationID?: string;
8983
9262
  DestinationEntityID?: string;
8984
9263
  DestinationEntityRecordID?: string;
8985
- Recommendation?: string;
8986
9264
  DestinationEntity?: string;
8987
9265
  }>;
8988
9266
  export type RecommendationItemEntityType = z.infer<typeof RecommendationItemSchema>;
@@ -9060,7 +9338,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9060
9338
  SourceEntityRecordID: z.ZodString;
9061
9339
  __mj_CreatedAt: z.ZodDate;
9062
9340
  __mj_UpdatedAt: z.ZodDate;
9063
- RecommendationRun: z.ZodString;
9064
9341
  SourceEntity: z.ZodString;
9065
9342
  }, "strip", z.ZodTypeAny, {
9066
9343
  ID?: string;
@@ -9070,7 +9347,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9070
9347
  SourceEntity?: string;
9071
9348
  RecommendationRunID?: string;
9072
9349
  SourceEntityRecordID?: string;
9073
- RecommendationRun?: string;
9074
9350
  }, {
9075
9351
  ID?: string;
9076
9352
  __mj_CreatedAt?: Date;
@@ -9079,7 +9355,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9079
9355
  SourceEntity?: string;
9080
9356
  RecommendationRunID?: string;
9081
9357
  SourceEntityRecordID?: string;
9082
- RecommendationRun?: string;
9083
9358
  }>;
9084
9359
  export type RecommendationEntityType = z.infer<typeof RecommendationSchema>;
9085
9360
  /**
@@ -9137,7 +9412,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9137
9412
  UpdatedAt: z.ZodDate;
9138
9413
  Entity: z.ZodString;
9139
9414
  User: z.ZodString;
9140
- ReplayRun: z.ZodNullable<z.ZodString>;
9141
9415
  Integration: z.ZodNullable<z.ZodString>;
9142
9416
  }, "strip", z.ZodTypeAny, {
9143
9417
  ID?: string;
@@ -9160,7 +9434,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9160
9434
  ReplayRunID?: string;
9161
9435
  CreatedAt?: Date;
9162
9436
  UpdatedAt?: Date;
9163
- ReplayRun?: string;
9164
9437
  }, {
9165
9438
  ID?: string;
9166
9439
  Comments?: string;
@@ -9182,7 +9455,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9182
9455
  ReplayRunID?: string;
9183
9456
  CreatedAt?: Date;
9184
9457
  UpdatedAt?: Date;
9185
- ReplayRun?: string;
9186
9458
  }>;
9187
9459
  export type RecordChangeEntityType = z.infer<typeof RecordChangeSchema>;
9188
9460
  /**
@@ -9196,14 +9468,12 @@ export declare const RecordMergeDeletionLogSchema: z.ZodObject<{
9196
9468
  ProcessingLog: z.ZodNullable<z.ZodString>;
9197
9469
  __mj_CreatedAt: z.ZodDate;
9198
9470
  __mj_UpdatedAt: z.ZodDate;
9199
- RecordMergeLog: z.ZodString;
9200
9471
  }, "strip", z.ZodTypeAny, {
9201
9472
  ID?: string;
9202
9473
  __mj_CreatedAt?: Date;
9203
9474
  __mj_UpdatedAt?: Date;
9204
9475
  Status?: "Pending" | "Complete" | "Error";
9205
9476
  RecordMergeLogID?: string;
9206
- RecordMergeLog?: string;
9207
9477
  DeletedRecordID?: string;
9208
9478
  ProcessingLog?: string;
9209
9479
  }, {
@@ -9212,7 +9482,6 @@ export declare const RecordMergeDeletionLogSchema: z.ZodObject<{
9212
9482
  __mj_UpdatedAt?: Date;
9213
9483
  Status?: "Pending" | "Complete" | "Error";
9214
9484
  RecordMergeLogID?: string;
9215
- RecordMergeLog?: string;
9216
9485
  DeletedRecordID?: string;
9217
9486
  ProcessingLog?: string;
9218
9487
  }>;
@@ -9370,7 +9639,6 @@ export declare const ReportSchema: z.ZodObject<{
9370
9639
  Category: z.ZodNullable<z.ZodString>;
9371
9640
  User: z.ZodString;
9372
9641
  Conversation: z.ZodNullable<z.ZodString>;
9373
- ConversationDetail: z.ZodNullable<z.ZodString>;
9374
9642
  DataContext: z.ZodNullable<z.ZodString>;
9375
9643
  OutputTriggerType: z.ZodNullable<z.ZodString>;
9376
9644
  OutputFormatType: z.ZodNullable<z.ZodString>;
@@ -9396,7 +9664,6 @@ export declare const ReportSchema: z.ZodObject<{
9396
9664
  Environment?: string;
9397
9665
  Thumbnail?: string;
9398
9666
  ConversationDetailID?: string;
9399
- ConversationDetail?: string;
9400
9667
  SharingScope?: "None" | "Specific" | "Everyone";
9401
9668
  OutputTriggerTypeID?: string;
9402
9669
  OutputFormatTypeID?: string;
@@ -9427,7 +9694,6 @@ export declare const ReportSchema: z.ZodObject<{
9427
9694
  Environment?: string;
9428
9695
  Thumbnail?: string;
9429
9696
  ConversationDetailID?: string;
9430
- ConversationDetail?: string;
9431
9697
  SharingScope?: "None" | "Specific" | "Everyone";
9432
9698
  OutputTriggerTypeID?: string;
9433
9699
  OutputFormatTypeID?: string;
@@ -9980,7 +10246,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
9980
10246
  TemplateContentID: z.ZodNullable<z.ZodString>;
9981
10247
  Template: z.ZodString;
9982
10248
  Entity: z.ZodNullable<z.ZodString>;
9983
- TemplateContent: z.ZodNullable<z.ZodString>;
9984
10249
  }, "strip", z.ZodTypeAny, {
9985
10250
  ID?: string;
9986
10251
  __mj_CreatedAt?: Date;
@@ -10000,7 +10265,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
10000
10265
  LinkedParameterName?: string;
10001
10266
  LinkedParameterField?: string;
10002
10267
  TemplateContentID?: string;
10003
- TemplateContent?: string;
10004
10268
  }, {
10005
10269
  ID?: string;
10006
10270
  __mj_CreatedAt?: Date;
@@ -10020,7 +10284,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
10020
10284
  LinkedParameterName?: string;
10021
10285
  LinkedParameterField?: string;
10022
10286
  TemplateContentID?: string;
10023
- TemplateContent?: string;
10024
10287
  }>;
10025
10288
  export type TemplateParamEntityType = z.infer<typeof TemplateParamSchema>;
10026
10289
  /**
@@ -11745,7 +12008,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11745
12008
  set ID(value: string);
11746
12009
  /**
11747
12010
  * * Field Name: CategoryID
11748
- * * Display Name: Category ID
12011
+ * * Display Name: Category
11749
12012
  * * SQL Data Type: uniqueidentifier
11750
12013
  * * Related Entity/Foreign Key: Action Categories (vwActionCategories.ID)
11751
12014
  */
@@ -11835,7 +12098,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11835
12098
  set CodeApprovalComments(value: string | null);
11836
12099
  /**
11837
12100
  * * Field Name: CodeApprovedByUserID
11838
- * * Display Name: Code Approved By User ID
12101
+ * * Display Name: Code Approved By
11839
12102
  * * SQL Data Type: uniqueidentifier
11840
12103
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
11841
12104
  */
@@ -11844,7 +12107,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11844
12107
  /**
11845
12108
  * * Field Name: CodeApprovedAt
11846
12109
  * * Display Name: Code Approved At
11847
- * * SQL Data Type: datetime
12110
+ * * SQL Data Type: datetimeoffset
11848
12111
  * * Description: When the code was approved.
11849
12112
  */
11850
12113
  get CodeApprovedAt(): Date | null;
@@ -11891,14 +12154,14 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11891
12154
  set Status(value: 'Active' | 'Disabled' | 'Pending');
11892
12155
  /**
11893
12156
  * * Field Name: __mj_CreatedAt
11894
- * * Display Name: __mj _Created At
12157
+ * * Display Name: Created At
11895
12158
  * * SQL Data Type: datetimeoffset
11896
12159
  * * Default Value: getutcdate()
11897
12160
  */
11898
12161
  get __mj_CreatedAt(): Date;
11899
12162
  /**
11900
12163
  * * Field Name: __mj_UpdatedAt
11901
- * * Display Name: __mj _Updated At
12164
+ * * Display Name: Updated At
11902
12165
  * * SQL Data Type: datetimeoffset
11903
12166
  * * Default Value: getutcdate()
11904
12167
  */
@@ -11913,7 +12176,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11913
12176
  set DriverClass(value: string | null);
11914
12177
  /**
11915
12178
  * * Field Name: ParentID
11916
- * * Display Name: Parent ID
12179
+ * * Display Name: Parent
11917
12180
  * * SQL Data Type: uniqueidentifier
11918
12181
  * * Related Entity/Foreign Key: Actions (vwActions.ID)
11919
12182
  * * Description: Optional ID of the parent action this action inherits from. Used for hierarchical action composition where child actions can specialize parent actions.
@@ -11930,7 +12193,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11930
12193
  set IconClass(value: string | null);
11931
12194
  /**
11932
12195
  * * Field Name: DefaultCompactPromptID
11933
- * * Display Name: Default Compact Prompt ID
12196
+ * * Display Name: Default Compact Prompt
11934
12197
  * * SQL Data Type: uniqueidentifier
11935
12198
  * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
11936
12199
  * * Description: Default prompt for compacting/summarizing this action's results when used by agents with CompactMode=AISummary. Action designers define how their specific results should be summarized. Can be overridden per agent in AIAgentAction.CompactPromptID.
@@ -11963,7 +12226,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11963
12226
  get DefaultCompactPrompt(): string | null;
11964
12227
  /**
11965
12228
  * * Field Name: RootParentID
11966
- * * Display Name: Root Parent ID
12229
+ * * Display Name: Root Parent
11967
12230
  * * SQL Data Type: uniqueidentifier
11968
12231
  */
11969
12232
  get RootParentID(): string | null;
@@ -12780,18 +13043,6 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
12780
13043
  */
12781
13044
  get SourceConversation(): string | null;
12782
13045
  /**
12783
- * * Field Name: SourceConversationDetail
12784
- * * Display Name: Source Conversation Detail
12785
- * * SQL Data Type: nvarchar(MAX)
12786
- */
12787
- get SourceConversationDetail(): string | null;
12788
- /**
12789
- * * Field Name: SourceAIAgentRun
12790
- * * Display Name: Source AI Agent Run
12791
- * * SQL Data Type: nvarchar(255)
12792
- */
12793
- get SourceAIAgentRun(): string | null;
12794
- /**
12795
13046
  * * Field Name: Company
12796
13047
  * * Display Name: Company
12797
13048
  * * SQL Data Type: nvarchar(50)
@@ -12839,7 +13090,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12839
13090
  set ID(value: string);
12840
13091
  /**
12841
13092
  * * Field Name: AgentID
12842
- * * Display Name: Agent ID
13093
+ * * Display Name: Agent
12843
13094
  * * SQL Data Type: uniqueidentifier
12844
13095
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
12845
13096
  * * Description: Foreign key referencing the ID column in the AIAgent table.
@@ -12849,14 +13100,14 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12849
13100
  /**
12850
13101
  * * Field Name: RequestedAt
12851
13102
  * * Display Name: Requested At
12852
- * * SQL Data Type: datetime
13103
+ * * SQL Data Type: datetimeoffset
12853
13104
  * * Description: Timestamp when the request was made by the agent.
12854
13105
  */
12855
13106
  get RequestedAt(): Date;
12856
13107
  set RequestedAt(value: Date);
12857
13108
  /**
12858
13109
  * * Field Name: RequestForUserID
12859
- * * Display Name: Request For User ID
13110
+ * * Display Name: Request For User
12860
13111
  * * SQL Data Type: uniqueidentifier
12861
13112
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
12862
13113
  * * Description: Optional, a user that the AI specifically is directing the request to, if null intended for general system owner.
@@ -12895,7 +13146,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12895
13146
  set Response(value: string | null);
12896
13147
  /**
12897
13148
  * * Field Name: ResponseByUserID
12898
- * * Display Name: Response By User ID
13149
+ * * Display Name: Response By User
12899
13150
  * * SQL Data Type: uniqueidentifier
12900
13151
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
12901
13152
  * * Description: Populated when a user responds indicating which user responded to the request.
@@ -12905,7 +13156,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12905
13156
  /**
12906
13157
  * * Field Name: RespondedAt
12907
13158
  * * Display Name: Responded At
12908
- * * SQL Data Type: datetime
13159
+ * * SQL Data Type: datetimeoffset
12909
13160
  * * Description: Timestamp when the response was provided by the human.
12910
13161
  */
12911
13162
  get RespondedAt(): Date | null;
@@ -14890,12 +15141,6 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
14890
15141
  * * SQL Data Type: nvarchar(100)
14891
15142
  */
14892
15143
  get Configuration(): string | null;
14893
- /**
14894
- * * Field Name: PromptRun
14895
- * * Display Name: Prompt Run
14896
- * * SQL Data Type: nvarchar(255)
14897
- */
14898
- get PromptRun(): string | null;
14899
15144
  }
14900
15145
  /**
14901
15146
  * Application Entities - strongly typed entity sub-class
@@ -15822,7 +16067,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15822
16067
  set ID(value: string);
15823
16068
  /**
15824
16069
  * * Field Name: CommunicationProviderID
15825
- * * Display Name: Communication Provider ID
16070
+ * * Display Name: Communication Provider
15826
16071
  * * SQL Data Type: uniqueidentifier
15827
16072
  * * Related Entity/Foreign Key: Communication Providers (vwCommunicationProviders.ID)
15828
16073
  */
@@ -15830,7 +16075,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15830
16075
  set CommunicationProviderID(value: string);
15831
16076
  /**
15832
16077
  * * Field Name: CommunicationProviderMessageTypeID
15833
- * * Display Name: Communication Provider Message Type ID
16078
+ * * Display Name: Communication Provider Message Type
15834
16079
  * * SQL Data Type: uniqueidentifier
15835
16080
  * * Related Entity/Foreign Key: Communication Provider Message Types (vwCommunicationProviderMessageTypes.ID)
15836
16081
  */
@@ -15838,7 +16083,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15838
16083
  set CommunicationProviderMessageTypeID(value: string);
15839
16084
  /**
15840
16085
  * * Field Name: CommunicationRunID
15841
- * * Display Name: Communication Run ID
16086
+ * * Display Name: Communication Run
15842
16087
  * * SQL Data Type: uniqueidentifier
15843
16088
  * * Related Entity/Foreign Key: Communication Runs (vwCommunicationRuns.ID)
15844
16089
  */
@@ -15859,7 +16104,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15859
16104
  /**
15860
16105
  * * Field Name: MessageDate
15861
16106
  * * Display Name: Message Date
15862
- * * SQL Data Type: datetime
16107
+ * * SQL Data Type: datetimeoffset
15863
16108
  * * Description: The date and time when the message was logged.
15864
16109
  */
15865
16110
  get MessageDate(): Date;
@@ -16243,14 +16488,14 @@ export declare class CommunicationRunEntity extends BaseEntity<CommunicationRunE
16243
16488
  /**
16244
16489
  * * Field Name: StartedAt
16245
16490
  * * Display Name: Started At
16246
- * * SQL Data Type: datetime
16491
+ * * SQL Data Type: datetimeoffset
16247
16492
  */
16248
16493
  get StartedAt(): Date | null;
16249
16494
  set StartedAt(value: Date | null);
16250
16495
  /**
16251
16496
  * * Field Name: EndedAt
16252
16497
  * * Display Name: Ended At
16253
- * * SQL Data Type: datetime
16498
+ * * SQL Data Type: datetimeoffset
16254
16499
  */
16255
16500
  get EndedAt(): Date | null;
16256
16501
  set EndedAt(value: Date | null);
@@ -16488,6 +16733,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16488
16733
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16489
16734
  /**
16490
16735
  * * Field Name: ID
16736
+ * * Display Name: ID
16491
16737
  * * SQL Data Type: uniqueidentifier
16492
16738
  * * Default Value: newsequentialid()
16493
16739
  */
@@ -16495,7 +16741,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16495
16741
  set ID(value: string);
16496
16742
  /**
16497
16743
  * * Field Name: CompanyIntegrationRunID
16498
- * * Display Name: Company Integration Run ID
16744
+ * * Display Name: Company Integration Run
16499
16745
  * * SQL Data Type: uniqueidentifier
16500
16746
  * * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
16501
16747
  */
@@ -16504,15 +16750,15 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16504
16750
  /**
16505
16751
  * * Field Name: ExecutedAt
16506
16752
  * * Display Name: Executed At
16507
- * * SQL Data Type: datetime
16508
- * * Default Value: getdate()
16753
+ * * SQL Data Type: datetimeoffset
16754
+ * * Default Value: sysdatetimeoffset()
16509
16755
  * * Description: Timestamp when this API call was executed during the integration run.
16510
16756
  */
16511
16757
  get ExecutedAt(): Date;
16512
16758
  set ExecutedAt(value: Date);
16513
16759
  /**
16514
16760
  * * Field Name: IsSuccess
16515
- * * Display Name: Is Success
16761
+ * * Display Name: Success
16516
16762
  * * SQL Data Type: bit
16517
16763
  * * Default Value: 0
16518
16764
  * * Description: Indicates whether the API call completed successfully or encountered an error.
@@ -16538,6 +16784,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16538
16784
  set RequestMethod(value: 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | null);
16539
16785
  /**
16540
16786
  * * Field Name: URL
16787
+ * * Display Name: URL
16541
16788
  * * SQL Data Type: nvarchar(MAX)
16542
16789
  * * Description: The complete URL that was called, including query parameters.
16543
16790
  */
@@ -16545,6 +16792,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16545
16792
  set URL(value: string | null);
16546
16793
  /**
16547
16794
  * * Field Name: Parameters
16795
+ * * Display Name: Parameters
16548
16796
  * * SQL Data Type: nvarchar(MAX)
16549
16797
  * * Description: JSON-formatted request body or parameters sent with the API call.
16550
16798
  */
@@ -16597,6 +16845,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16597
16845
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16598
16846
  /**
16599
16847
  * * Field Name: ID
16848
+ * * Display Name: ID
16600
16849
  * * SQL Data Type: uniqueidentifier
16601
16850
  * * Default Value: newsequentialid()
16602
16851
  */
@@ -16604,7 +16853,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16604
16853
  set ID(value: string);
16605
16854
  /**
16606
16855
  * * Field Name: CompanyIntegrationRunID
16607
- * * Display Name: CompanyIntegrationRun ID
16856
+ * * Display Name: Company Integration Run
16608
16857
  * * SQL Data Type: uniqueidentifier
16609
16858
  * * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
16610
16859
  */
@@ -16620,7 +16869,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16620
16869
  set EntityID(value: string);
16621
16870
  /**
16622
16871
  * * Field Name: RecordID
16623
- * * Display Name: Record
16872
+ * * Display Name: Record ID
16624
16873
  * * SQL Data Type: nvarchar(450)
16625
16874
  * * Description: The ID of the specific record being processed in this integration operation.
16626
16875
  */
@@ -16628,6 +16877,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16628
16877
  set RecordID(value: string);
16629
16878
  /**
16630
16879
  * * Field Name: Action
16880
+ * * Display Name: Action
16631
16881
  * * SQL Data Type: nchar(20)
16632
16882
  * * Description: The type of operation performed (INSERT, UPDATE, DELETE, SYNC).
16633
16883
  */
@@ -16636,15 +16886,15 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16636
16886
  /**
16637
16887
  * * Field Name: ExecutedAt
16638
16888
  * * Display Name: Executed At
16639
- * * SQL Data Type: datetime
16640
- * * Default Value: getdate()
16889
+ * * SQL Data Type: datetimeoffset
16890
+ * * Default Value: sysdatetimeoffset()
16641
16891
  * * Description: Timestamp when this specific record operation was executed.
16642
16892
  */
16643
16893
  get ExecutedAt(): Date;
16644
16894
  set ExecutedAt(value: Date);
16645
16895
  /**
16646
16896
  * * Field Name: IsSuccess
16647
- * * Display Name: Is Success
16897
+ * * Display Name: Success
16648
16898
  * * SQL Data Type: bit
16649
16899
  * * Default Value: 0
16650
16900
  * * Description: Indicates whether this individual record operation succeeded or failed.
@@ -16667,19 +16917,20 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16667
16917
  get __mj_UpdatedAt(): Date;
16668
16918
  /**
16669
16919
  * * Field Name: Entity
16920
+ * * Display Name: Entity
16670
16921
  * * SQL Data Type: nvarchar(255)
16671
16922
  */
16672
16923
  get Entity(): string;
16673
16924
  /**
16674
16925
  * * Field Name: RunStartedAt
16675
16926
  * * Display Name: Run Started At
16676
- * * SQL Data Type: datetime
16927
+ * * SQL Data Type: datetimeoffset
16677
16928
  */
16678
16929
  get RunStartedAt(): Date | null;
16679
16930
  /**
16680
16931
  * * Field Name: RunEndedAt
16681
16932
  * * Display Name: Run Ended At
16682
- * * SQL Data Type: datetime
16933
+ * * SQL Data Type: datetimeoffset
16683
16934
  */
16684
16935
  get RunEndedAt(): Date | null;
16685
16936
  }
@@ -16709,6 +16960,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16709
16960
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16710
16961
  /**
16711
16962
  * * Field Name: ID
16963
+ * * Display Name: ID
16712
16964
  * * SQL Data Type: uniqueidentifier
16713
16965
  * * Default Value: newsequentialid()
16714
16966
  */
@@ -16716,7 +16968,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16716
16968
  set ID(value: string);
16717
16969
  /**
16718
16970
  * * Field Name: CompanyIntegrationID
16719
- * * Display Name: CompanyIntegration ID
16971
+ * * Display Name: Company Integration
16720
16972
  * * SQL Data Type: uniqueidentifier
16721
16973
  * * Related Entity/Foreign Key: Company Integrations (vwCompanyIntegrations.ID)
16722
16974
  */
@@ -16724,7 +16976,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16724
16976
  set CompanyIntegrationID(value: string);
16725
16977
  /**
16726
16978
  * * Field Name: RunByUserID
16727
- * * Display Name: RunByUser ID
16979
+ * * Display Name: Run By User
16728
16980
  * * SQL Data Type: uniqueidentifier
16729
16981
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
16730
16982
  */
@@ -16733,14 +16985,14 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16733
16985
  /**
16734
16986
  * * Field Name: StartedAt
16735
16987
  * * Display Name: Started At
16736
- * * SQL Data Type: datetime
16988
+ * * SQL Data Type: datetimeoffset
16737
16989
  */
16738
16990
  get StartedAt(): Date | null;
16739
16991
  set StartedAt(value: Date | null);
16740
16992
  /**
16741
16993
  * * Field Name: EndedAt
16742
16994
  * * Display Name: Ended At
16743
- * * SQL Data Type: datetime
16995
+ * * SQL Data Type: datetimeoffset
16744
16996
  */
16745
16997
  get EndedAt(): Date | null;
16746
16998
  set EndedAt(value: Date | null);
@@ -16754,6 +17006,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16754
17006
  set TotalRecords(value: number);
16755
17007
  /**
16756
17008
  * * Field Name: Comments
17009
+ * * Display Name: Comments
16757
17010
  * * SQL Data Type: nvarchar(MAX)
16758
17011
  */
16759
17012
  get Comments(): string | null;
@@ -16848,6 +17101,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16848
17101
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16849
17102
  /**
16850
17103
  * * Field Name: ID
17104
+ * * Display Name: ID
16851
17105
  * * SQL Data Type: uniqueidentifier
16852
17106
  * * Default Value: newsequentialid()
16853
17107
  */
@@ -16855,7 +17109,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16855
17109
  set ID(value: string);
16856
17110
  /**
16857
17111
  * * Field Name: CompanyID
16858
- * * Display Name: Company ID
17112
+ * * Display Name: Company
16859
17113
  * * SQL Data Type: uniqueidentifier
16860
17114
  * * Related Entity/Foreign Key: Companies (vwCompanies.ID)
16861
17115
  */
@@ -16863,7 +17117,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16863
17117
  set CompanyID(value: string);
16864
17118
  /**
16865
17119
  * * Field Name: IntegrationID
16866
- * * Display Name: Integration ID
17120
+ * * Display Name: Integration
16867
17121
  * * SQL Data Type: uniqueidentifier
16868
17122
  * * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
16869
17123
  */
@@ -16871,7 +17125,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16871
17125
  set IntegrationID(value: string);
16872
17126
  /**
16873
17127
  * * Field Name: IsActive
16874
- * * Display Name: Is Active
17128
+ * * Display Name: Active
16875
17129
  * * SQL Data Type: bit
16876
17130
  * * Description: Controls whether this integration is currently active for the company.
16877
17131
  */
@@ -16896,13 +17150,14 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16896
17150
  /**
16897
17151
  * * Field Name: TokenExpirationDate
16898
17152
  * * Display Name: Token Expiration Date
16899
- * * SQL Data Type: datetime
17153
+ * * SQL Data Type: datetimeoffset
16900
17154
  * * Description: Timestamp when the current access token expires and needs to be refreshed.
16901
17155
  */
16902
17156
  get TokenExpirationDate(): Date | null;
16903
17157
  set TokenExpirationDate(value: Date | null);
16904
17158
  /**
16905
17159
  * * Field Name: APIKey
17160
+ * * Display Name: API Key
16906
17161
  * * SQL Data Type: nvarchar(255)
16907
17162
  * * Description: API key for systems using key-based authentication instead of OAuth.
16908
17163
  */
@@ -16910,7 +17165,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16910
17165
  set APIKey(value: string | null);
16911
17166
  /**
16912
17167
  * * Field Name: ExternalSystemID
16913
- * * Display Name: ExternalSystem
17168
+ * * Display Name: External System ID
16914
17169
  * * SQL Data Type: nvarchar(100)
16915
17170
  * * Description: The company's identifier in the external system, used for API calls.
16916
17171
  */
@@ -16918,7 +17173,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16918
17173
  set ExternalSystemID(value: string | null);
16919
17174
  /**
16920
17175
  * * Field Name: IsExternalSystemReadOnly
16921
- * * Display Name: Is External System Read Only
17176
+ * * Display Name: External System Read Only
16922
17177
  * * SQL Data Type: bit
16923
17178
  * * Default Value: 0
16924
17179
  * * Description: Indicates if data can only be read from the external system, not written back.
@@ -16927,7 +17182,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16927
17182
  set IsExternalSystemReadOnly(value: boolean);
16928
17183
  /**
16929
17184
  * * Field Name: ClientID
16930
- * * Display Name: Client
17185
+ * * Display Name: Client ID
16931
17186
  * * SQL Data Type: nvarchar(255)
16932
17187
  * * Description: OAuth client ID for this integration instance.
16933
17188
  */
@@ -16973,11 +17228,13 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16973
17228
  set Name(value: string);
16974
17229
  /**
16975
17230
  * * Field Name: Company
17231
+ * * Display Name: Company
16976
17232
  * * SQL Data Type: nvarchar(50)
16977
17233
  */
16978
17234
  get Company(): string;
16979
17235
  /**
16980
17236
  * * Field Name: Integration
17237
+ * * Display Name: Integration
16981
17238
  * * SQL Data Type: nvarchar(100)
16982
17239
  */
16983
17240
  get Integration(): string;
@@ -16995,20 +17252,20 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16995
17252
  get DriverImportPath(): string | null;
16996
17253
  /**
16997
17254
  * * Field Name: LastRunID
16998
- * * Display Name: LastRun
17255
+ * * Display Name: Last Run ID
16999
17256
  * * SQL Data Type: uniqueidentifier
17000
17257
  */
17001
17258
  get LastRunID(): string | null;
17002
17259
  /**
17003
17260
  * * Field Name: LastRunStartedAt
17004
17261
  * * Display Name: Last Run Started At
17005
- * * SQL Data Type: datetime
17262
+ * * SQL Data Type: datetimeoffset
17006
17263
  */
17007
17264
  get LastRunStartedAt(): Date | null;
17008
17265
  /**
17009
17266
  * * Field Name: LastRunEndedAt
17010
17267
  * * Display Name: Last Run Ended At
17011
- * * SQL Data Type: datetime
17268
+ * * SQL Data Type: datetimeoffset
17012
17269
  */
17013
17270
  get LastRunEndedAt(): Date | null;
17014
17271
  }
@@ -17403,7 +17660,7 @@ export declare class ContentProcessRunEntity extends BaseEntity<ContentProcessRu
17403
17660
  /**
17404
17661
  * * Field Name: StartTime
17405
17662
  * * Display Name: Start Time
17406
- * * SQL Data Type: datetime
17663
+ * * SQL Data Type: datetimeoffset
17407
17664
  * * Description: Timestamp when the content processing workflow began execution.
17408
17665
  */
17409
17666
  get StartTime(): Date | null;
@@ -17411,7 +17668,7 @@ export declare class ContentProcessRunEntity extends BaseEntity<ContentProcessRu
17411
17668
  /**
17412
17669
  * * Field Name: EndTime
17413
17670
  * * Display Name: End Time
17414
- * * SQL Data Type: datetime
17671
+ * * SQL Data Type: datetimeoffset
17415
17672
  * * Description: Timestamp when the content processing workflow completed or failed.
17416
17673
  */
17417
17674
  get EndTime(): Date | null;
@@ -18006,7 +18263,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18006
18263
  set ID(value: string);
18007
18264
  /**
18008
18265
  * * Field Name: ConversationID
18009
- * * Display Name: Conversation ID
18266
+ * * Display Name: Conversation
18010
18267
  * * SQL Data Type: uniqueidentifier
18011
18268
  * * Related Entity/Foreign Key: Conversations (vwConversations.ID)
18012
18269
  */
@@ -18107,7 +18364,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18107
18364
  set SummaryOfEarlierConversation(value: string | null);
18108
18365
  /**
18109
18366
  * * Field Name: UserID
18110
- * * Display Name: User ID
18367
+ * * Display Name: User
18111
18368
  * * SQL Data Type: uniqueidentifier
18112
18369
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
18113
18370
  * * Description: This field, when populated, overrides the UserID at the Conversation level to specify a different user created the message.
@@ -18116,7 +18373,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18116
18373
  set UserID(value: string | null);
18117
18374
  /**
18118
18375
  * * Field Name: ArtifactID
18119
- * * Display Name: Artifact ID
18376
+ * * Display Name: Artifact
18120
18377
  * *
18121
18378
  * * @deprecated This field is deprecated and will be removed in a future version. Using it will result in console warnings.SQL Data Type: uniqueidentifier
18122
18379
  * * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
@@ -18126,7 +18383,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18126
18383
  set ArtifactID(value: string | null);
18127
18384
  /**
18128
18385
  * * Field Name: ArtifactVersionID
18129
- * * Display Name: Artifact Version ID
18386
+ * * Display Name: Artifact Version
18130
18387
  * *
18131
18388
  * * @deprecated This field is deprecated and will be removed in a future version. Using it will result in console warnings.SQL Data Type: uniqueidentifier
18132
18389
  * * Related Entity/Foreign Key: MJ: Conversation Artifact Versions (vwConversationArtifactVersions.ID)
@@ -18153,7 +18410,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18153
18410
  set IsPinned(value: boolean);
18154
18411
  /**
18155
18412
  * * Field Name: ParentID
18156
- * * Display Name: Parent ID
18413
+ * * Display Name: Parent
18157
18414
  * * SQL Data Type: uniqueidentifier
18158
18415
  * * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
18159
18416
  * * Description: Optional reference to parent message for threaded conversations. NULL for top-level messages.
@@ -18162,7 +18419,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18162
18419
  set ParentID(value: string | null);
18163
18420
  /**
18164
18421
  * * Field Name: AgentID
18165
- * * Display Name: Agent ID
18422
+ * * Display Name: Agent
18166
18423
  * * SQL Data Type: uniqueidentifier
18167
18424
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
18168
18425
  * * Description: Denormalized agent ID for quick lookup of agent name and icon without joining through AgentRun
@@ -18194,7 +18451,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18194
18451
  set SuggestedResponses(value: string | null);
18195
18452
  /**
18196
18453
  * * Field Name: TestRunID
18197
- * * Display Name: Test Run ID
18454
+ * * Display Name: Test Run
18198
18455
  * * SQL Data Type: uniqueidentifier
18199
18456
  * * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
18200
18457
  * * Description: Optional Foreign Key - Links this conversation detail to a test run if this message was part of a test conversation. Allows filtering and analyzing test-specific conversation turns.
@@ -18226,6 +18483,15 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18226
18483
  get AutomaticCommands(): string | null;
18227
18484
  set AutomaticCommands(value: string | null);
18228
18485
  /**
18486
+ * * Field Name: OriginalMessageChanged
18487
+ * * Display Name: Original Message Changed
18488
+ * * SQL Data Type: bit
18489
+ * * Default Value: 0
18490
+ * * Description: Indicates if the original message content was modified after initial creation. Set automatically by the server when the Message field is changed on update.
18491
+ */
18492
+ get OriginalMessageChanged(): boolean;
18493
+ set OriginalMessageChanged(value: boolean);
18494
+ /**
18229
18495
  * * Field Name: Conversation
18230
18496
  * * Display Name: Conversation
18231
18497
  * * SQL Data Type: nvarchar(255)
@@ -18262,8 +18528,14 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18262
18528
  */
18263
18529
  get Agent(): string | null;
18264
18530
  /**
18531
+ * * Field Name: TestRun
18532
+ * * Display Name: Test Run
18533
+ * * SQL Data Type: nvarchar(255)
18534
+ */
18535
+ get TestRun(): string | null;
18536
+ /**
18265
18537
  * * Field Name: RootParentID
18266
- * * Display Name: Root Parent ID
18538
+ * * Display Name: Root Parent
18267
18539
  * * SQL Data Type: uniqueidentifier
18268
18540
  */
18269
18541
  get RootParentID(): string | null;
@@ -18782,7 +19054,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18782
19054
  set ID(value: string);
18783
19055
  /**
18784
19056
  * * Field Name: DataContextID
18785
- * * Display Name: Data Context ID
19057
+ * * Display Name: Data Context
18786
19058
  * * SQL Data Type: uniqueidentifier
18787
19059
  * * Related Entity/Foreign Key: Data Contexts (vwDataContexts.ID)
18788
19060
  */
@@ -18805,7 +19077,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18805
19077
  set Type(value: 'full_entity' | 'query' | 'single_record' | 'sql' | 'view');
18806
19078
  /**
18807
19079
  * * Field Name: ViewID
18808
- * * Display Name: View ID
19080
+ * * Display Name: View
18809
19081
  * * SQL Data Type: uniqueidentifier
18810
19082
  * * Related Entity/Foreign Key: User Views (vwUserViews.ID)
18811
19083
  */
@@ -18813,7 +19085,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18813
19085
  set ViewID(value: string | null);
18814
19086
  /**
18815
19087
  * * Field Name: QueryID
18816
- * * Display Name: Query ID
19088
+ * * Display Name: Query
18817
19089
  * * SQL Data Type: uniqueidentifier
18818
19090
  * * Related Entity/Foreign Key: Queries (vwQueries.ID)
18819
19091
  */
@@ -18821,7 +19093,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18821
19093
  set QueryID(value: string | null);
18822
19094
  /**
18823
19095
  * * Field Name: EntityID
18824
- * * Display Name: Entity ID
19096
+ * * Display Name: Entity
18825
19097
  * * SQL Data Type: uniqueidentifier
18826
19098
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
18827
19099
  */
@@ -18854,7 +19126,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18854
19126
  /**
18855
19127
  * * Field Name: LastRefreshedAt
18856
19128
  * * Display Name: Last Refreshed At
18857
- * * SQL Data Type: datetime
19129
+ * * SQL Data Type: datetimeoffset
18858
19130
  * * Description: If DataJSON is populated, this field will show the date the the data was captured
18859
19131
  */
18860
19132
  get LastRefreshedAt(): Date | null;
@@ -18961,7 +19233,7 @@ export declare class DataContextEntity extends BaseEntity<DataContextEntityType>
18961
19233
  set Description(value: string | null);
18962
19234
  /**
18963
19235
  * * Field Name: UserID
18964
- * * Display Name: User ID
19236
+ * * Display Name: User
18965
19237
  * * SQL Data Type: uniqueidentifier
18966
19238
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
18967
19239
  */
@@ -18970,7 +19242,7 @@ export declare class DataContextEntity extends BaseEntity<DataContextEntityType>
18970
19242
  /**
18971
19243
  * * Field Name: LastRefreshedAt
18972
19244
  * * Display Name: Last Refreshed At
18973
- * * SQL Data Type: datetime
19245
+ * * SQL Data Type: datetimeoffset
18974
19246
  * * Description: Timestamp of when the data in this context was last refreshed or recalculated.
18975
19247
  */
18976
19248
  get LastRefreshedAt(): Date | null;
@@ -19214,7 +19486,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19214
19486
  set ID(value: string);
19215
19487
  /**
19216
19488
  * * Field Name: DuplicateRunDetailID
19217
- * * Display Name: Duplicate Run Detail ID
19489
+ * * Display Name: Duplicate Run Detail
19218
19490
  * * SQL Data Type: uniqueidentifier
19219
19491
  * * Related Entity/Foreign Key: Duplicate Run Details (vwDuplicateRunDetails.ID)
19220
19492
  */
@@ -19235,7 +19507,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19235
19507
  set MatchSource(value: 'SP' | 'Vector');
19236
19508
  /**
19237
19509
  * * Field Name: MatchRecordID
19238
- * * Display Name: Match Record ID
19510
+ * * Display Name: Match Record
19239
19511
  * * SQL Data Type: nvarchar(500)
19240
19512
  * * Description: The ID of the record identified as a potential duplicate match.
19241
19513
  */
@@ -19253,8 +19525,8 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19253
19525
  /**
19254
19526
  * * Field Name: MatchedAt
19255
19527
  * * Display Name: Matched At
19256
- * * SQL Data Type: datetime
19257
- * * Default Value: getdate()
19528
+ * * SQL Data Type: datetimeoffset
19529
+ * * Default Value: sysdatetimeoffset()
19258
19530
  * * Description: Timestamp when this duplicate match was identified.
19259
19531
  */
19260
19532
  get MatchedAt(): Date;
@@ -19284,7 +19556,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19284
19556
  set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
19285
19557
  /**
19286
19558
  * * Field Name: RecordMergeLogID
19287
- * * Display Name: Record Merge Log ID
19559
+ * * Display Name: Record Merge Log
19288
19560
  * * SQL Data Type: uniqueidentifier
19289
19561
  * * Related Entity/Foreign Key: Record Merge Logs (vwRecordMergeLogs.ID)
19290
19562
  */
@@ -19307,8 +19579,8 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19307
19579
  /**
19308
19580
  * * Field Name: MergedAt
19309
19581
  * * Display Name: Merged At
19310
- * * SQL Data Type: datetime
19311
- * * Default Value: getdate()
19582
+ * * SQL Data Type: datetimeoffset
19583
+ * * Default Value: sysdatetimeoffset()
19312
19584
  * * Description: Timestamp when records were merged, if applicable.
19313
19585
  */
19314
19586
  get MergedAt(): Date;
@@ -19456,12 +19728,6 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
19456
19728
  * * Default Value: getutcdate()
19457
19729
  */
19458
19730
  get __mj_UpdatedAt(): Date;
19459
- /**
19460
- * * Field Name: DuplicateRun
19461
- * * Display Name: Duplicate Run
19462
- * * SQL Data Type: nvarchar(255)
19463
- */
19464
- get DuplicateRun(): string;
19465
19731
  }
19466
19732
  /**
19467
19733
  * Duplicate Runs - strongly typed entity sub-class
@@ -19497,7 +19763,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19497
19763
  set ID(value: string);
19498
19764
  /**
19499
19765
  * * Field Name: EntityID
19500
- * * Display Name: Entity ID
19766
+ * * Display Name: Entity
19501
19767
  * * SQL Data Type: uniqueidentifier
19502
19768
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
19503
19769
  */
@@ -19505,7 +19771,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19505
19771
  set EntityID(value: string);
19506
19772
  /**
19507
19773
  * * Field Name: StartedByUserID
19508
- * * Display Name: Started By User ID
19774
+ * * Display Name: Started By User
19509
19775
  * * SQL Data Type: uniqueidentifier
19510
19776
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
19511
19777
  */
@@ -19513,7 +19779,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19513
19779
  set StartedByUserID(value: string);
19514
19780
  /**
19515
19781
  * * Field Name: SourceListID
19516
- * * Display Name: Source List ID
19782
+ * * Display Name: Source List
19517
19783
  * * SQL Data Type: uniqueidentifier
19518
19784
  * * Related Entity/Foreign Key: Lists (vwLists.ID)
19519
19785
  */
@@ -19522,15 +19788,15 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19522
19788
  /**
19523
19789
  * * Field Name: StartedAt
19524
19790
  * * Display Name: Started At
19525
- * * SQL Data Type: datetime
19526
- * * Default Value: getdate()
19791
+ * * SQL Data Type: datetimeoffset
19792
+ * * Default Value: sysdatetimeoffset()
19527
19793
  */
19528
19794
  get StartedAt(): Date;
19529
19795
  set StartedAt(value: Date);
19530
19796
  /**
19531
19797
  * * Field Name: EndedAt
19532
19798
  * * Display Name: Ended At
19533
- * * SQL Data Type: datetime
19799
+ * * SQL Data Type: datetimeoffset
19534
19800
  */
19535
19801
  get EndedAt(): Date | null;
19536
19802
  set EndedAt(value: Date | null);
@@ -19558,7 +19824,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19558
19824
  set ApprovalComments(value: string | null);
19559
19825
  /**
19560
19826
  * * Field Name: ApprovedByUserID
19561
- * * Display Name: Approved By User ID
19827
+ * * Display Name: Approved By User
19562
19828
  * * SQL Data Type: uniqueidentifier
19563
19829
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
19564
19830
  */
@@ -19705,12 +19971,6 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
19705
19971
  */
19706
19972
  get __mj_UpdatedAt(): Date;
19707
19973
  /**
19708
- * * Field Name: Employee
19709
- * * Display Name: Employee
19710
- * * SQL Data Type: nvarchar(81)
19711
- */
19712
- get Employee(): string | null;
19713
- /**
19714
19974
  * * Field Name: CompanyIntegration
19715
19975
  * * Display Name: Company Integration
19716
19976
  * * SQL Data Type: nvarchar(255)
@@ -19780,12 +20040,6 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
19780
20040
  */
19781
20041
  get __mj_UpdatedAt(): Date;
19782
20042
  /**
19783
- * * Field Name: Employee
19784
- * * Display Name: Employee
19785
- * * SQL Data Type: nvarchar(81)
19786
- */
19787
- get Employee(): string | null;
19788
- /**
19789
20043
  * * Field Name: Role
19790
20044
  * * Display Name: Role
19791
20045
  * * SQL Data Type: nvarchar(50)
@@ -19855,12 +20109,6 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
19855
20109
  */
19856
20110
  get __mj_UpdatedAt(): Date;
19857
20111
  /**
19858
- * * Field Name: Employee
19859
- * * Display Name: Employee
19860
- * * SQL Data Type: nvarchar(81)
19861
- */
19862
- get Employee(): string | null;
19863
- /**
19864
20112
  * * Field Name: Skill
19865
20113
  * * Display Name: Skill
19866
20114
  * * SQL Data Type: nvarchar(50)
@@ -20673,18 +20921,6 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
20673
20921
  * * Default Value: getutcdate()
20674
20922
  */
20675
20923
  get __mj_UpdatedAt(): Date;
20676
- /**
20677
- * * Field Name: EntityAction
20678
- * * Display Name: Entity Action
20679
- * * SQL Data Type: nvarchar(425)
20680
- */
20681
- get EntityAction(): string;
20682
- /**
20683
- * * Field Name: ActionFilter
20684
- * * Display Name: Action Filter
20685
- * * SQL Data Type: nvarchar(MAX)
20686
- */
20687
- get ActionFilter(): string;
20688
20924
  }
20689
20925
  /**
20690
20926
  * Entity Action Invocation Types - strongly typed entity sub-class
@@ -20835,12 +21071,6 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
20835
21071
  */
20836
21072
  get __mj_UpdatedAt(): Date;
20837
21073
  /**
20838
- * * Field Name: EntityAction
20839
- * * Display Name: Entity Action
20840
- * * SQL Data Type: nvarchar(425)
20841
- */
20842
- get EntityAction(): string;
20843
- /**
20844
21074
  * * Field Name: InvocationType
20845
21075
  * * Display Name: Invocation Type
20846
21076
  * * SQL Data Type: nvarchar(255)
@@ -20940,12 +21170,6 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
20940
21170
  */
20941
21171
  get __mj_UpdatedAt(): Date;
20942
21172
  /**
20943
- * * Field Name: EntityAction
20944
- * * Display Name: Entity Action
20945
- * * SQL Data Type: nvarchar(425)
20946
- */
20947
- get EntityAction(): string;
20948
- /**
20949
21173
  * * Field Name: ActionParam
20950
21174
  * * Display Name: Action Param
20951
21175
  * * SQL Data Type: nvarchar(255)
@@ -21288,12 +21512,6 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
21288
21512
  * * Default Value: getutcdate()
21289
21513
  */
21290
21514
  get __mj_UpdatedAt(): Date;
21291
- /**
21292
- * * Field Name: EntityCommunicationMessageType
21293
- * * Display Name: Entity Communication Message Type
21294
- * * SQL Data Type: nvarchar(100)
21295
- */
21296
- get EntityCommunicationMessageType(): string;
21297
21515
  }
21298
21516
  /**
21299
21517
  * Entity Communication Message Types - strongly typed entity sub-class
@@ -21413,7 +21631,7 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21413
21631
  set ID(value: string);
21414
21632
  /**
21415
21633
  * * Field Name: EntityDocumentID
21416
- * * Display Name: Entity Document ID
21634
+ * * Display Name: Entity Document
21417
21635
  * * SQL Data Type: uniqueidentifier
21418
21636
  * * Related Entity/Foreign Key: Entity Documents (vwEntityDocuments.ID)
21419
21637
  */
@@ -21422,14 +21640,14 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21422
21640
  /**
21423
21641
  * * Field Name: StartedAt
21424
21642
  * * Display Name: Started At
21425
- * * SQL Data Type: datetime
21643
+ * * SQL Data Type: datetimeoffset
21426
21644
  */
21427
21645
  get StartedAt(): Date | null;
21428
21646
  set StartedAt(value: Date | null);
21429
21647
  /**
21430
21648
  * * Field Name: EndedAt
21431
21649
  * * Display Name: Ended At
21432
- * * SQL Data Type: datetime
21650
+ * * SQL Data Type: datetimeoffset
21433
21651
  */
21434
21652
  get EndedAt(): Date | null;
21435
21653
  set EndedAt(value: Date | null);
@@ -21449,14 +21667,14 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21449
21667
  set Status(value: 'Complete' | 'Failed' | 'Pending');
21450
21668
  /**
21451
21669
  * * Field Name: __mj_CreatedAt
21452
- * * Display Name: __mj _Created At
21670
+ * * Display Name: Created At
21453
21671
  * * SQL Data Type: datetimeoffset
21454
21672
  * * Default Value: getutcdate()
21455
21673
  */
21456
21674
  get __mj_CreatedAt(): Date;
21457
21675
  /**
21458
21676
  * * Field Name: __mj_UpdatedAt
21459
- * * Display Name: __mj _Updated At
21677
+ * * Display Name: Updated At
21460
21678
  * * SQL Data Type: datetimeoffset
21461
21679
  * * Default Value: getutcdate()
21462
21680
  */
@@ -21815,7 +22033,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21815
22033
  set ID(value: string);
21816
22034
  /**
21817
22035
  * * Field Name: EntityFieldID
21818
- * * Display Name: Entity Field
22036
+ * * Display Name: Entity Field ID
21819
22037
  * * SQL Data Type: uniqueidentifier
21820
22038
  * * Related Entity/Foreign Key: Entity Fields (vwEntityFields.ID)
21821
22039
  */
@@ -21854,14 +22072,14 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21854
22072
  set Description(value: string | null);
21855
22073
  /**
21856
22074
  * * Field Name: __mj_CreatedAt
21857
- * * Display Name: Created At
22075
+ * * Display Name: __mj _Created At
21858
22076
  * * SQL Data Type: datetimeoffset
21859
22077
  * * Default Value: getutcdate()
21860
22078
  */
21861
22079
  get __mj_CreatedAt(): Date;
21862
22080
  /**
21863
22081
  * * Field Name: __mj_UpdatedAt
21864
- * * Display Name: Updated At
22082
+ * * Display Name: __mj _Updated At
21865
22083
  * * SQL Data Type: datetimeoffset
21866
22084
  * * Default Value: getutcdate()
21867
22085
  */
@@ -21880,7 +22098,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21880
22098
  get Entity(): string;
21881
22099
  /**
21882
22100
  * * Field Name: EntityID
21883
- * * Display Name: Entity
22101
+ * * Display Name: Entity ID
21884
22102
  * * SQL Data Type: uniqueidentifier
21885
22103
  */
21886
22104
  get EntityID(): string;
@@ -22196,7 +22414,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22196
22414
  get IsVirtual(): boolean;
22197
22415
  /**
22198
22416
  * * Field Name: IsNameField
22199
- * * Display Name: Name Field
22417
+ * * Display Name: Is Name Field
22200
22418
  * * SQL Data Type: bit
22201
22419
  * * Default Value: 0
22202
22420
  * * Description: If set to 1, this column will be used as the "Name" field for the entity and will be used to display the name of the record in various places in the UI.
@@ -22358,6 +22576,42 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22358
22576
  get AutoUpdateIncludeInUserSearchAPI(): boolean;
22359
22577
  set AutoUpdateIncludeInUserSearchAPI(value: boolean);
22360
22578
  /**
22579
+ * * Field Name: Encrypt
22580
+ * * Display Name: Encrypt
22581
+ * * SQL Data Type: bit
22582
+ * * Default Value: 0
22583
+ * * Description: When true, this field will be encrypted at rest using the specified EncryptionKeyID. Encrypted fields cannot be indexed or searched.
22584
+ */
22585
+ get Encrypt(): boolean;
22586
+ set Encrypt(value: boolean);
22587
+ /**
22588
+ * * Field Name: EncryptionKeyID
22589
+ * * Display Name: Encryption Key ID
22590
+ * * SQL Data Type: uniqueidentifier
22591
+ * * Related Entity/Foreign Key: MJ: Encryption Keys (vwEncryptionKeys.ID)
22592
+ * * Description: References the encryption key to use when Encrypt is true. Required if Encrypt is true.
22593
+ */
22594
+ get EncryptionKeyID(): string | null;
22595
+ set EncryptionKeyID(value: string | null);
22596
+ /**
22597
+ * * Field Name: AllowDecryptInAPI
22598
+ * * Display Name: Allow Decrypt In API
22599
+ * * SQL Data Type: bit
22600
+ * * Default Value: 0
22601
+ * * Description: When true, encrypted fields will be decrypted before returning via API. When false, behavior depends on SendEncryptedValue. Default is false (secure).
22602
+ */
22603
+ get AllowDecryptInAPI(): boolean;
22604
+ set AllowDecryptInAPI(value: boolean);
22605
+ /**
22606
+ * * Field Name: SendEncryptedValue
22607
+ * * Display Name: Send Encrypted Value
22608
+ * * SQL Data Type: bit
22609
+ * * Default Value: 0
22610
+ * * Description: When AllowDecryptInAPI is false: if true, send encrypted ciphertext (e.g., $ENC$...); if false (default), send sentinel value, usually "[!ENCRYPTED$]", indicating a value exists but is protected. Most secure option is false.
22611
+ */
22612
+ get SendEncryptedValue(): boolean;
22613
+ set SendEncryptedValue(value: boolean);
22614
+ /**
22361
22615
  * * Field Name: FieldCodeName
22362
22616
  * * Display Name: Field Code Name
22363
22617
  * * SQL Data Type: nvarchar(MAX)
@@ -22699,21 +22953,21 @@ export declare class EntityRecordDocumentEntity extends BaseEntity<EntityRecordD
22699
22953
  /**
22700
22954
  * * Field Name: EntityRecordUpdatedAt
22701
22955
  * * Display Name: Entity Record Updated At
22702
- * * SQL Data Type: datetime
22956
+ * * SQL Data Type: datetimeoffset
22703
22957
  * * Description: Timestamp of when the source entity record was last updated.
22704
22958
  */
22705
22959
  get EntityRecordUpdatedAt(): Date;
22706
22960
  set EntityRecordUpdatedAt(value: Date);
22707
22961
  /**
22708
22962
  * * Field Name: __mj_CreatedAt
22709
- * * Display Name: __mj _Created At
22963
+ * * Display Name: Created At
22710
22964
  * * SQL Data Type: datetimeoffset
22711
22965
  * * Default Value: getutcdate()
22712
22966
  */
22713
22967
  get __mj_CreatedAt(): Date;
22714
22968
  /**
22715
22969
  * * Field Name: __mj_UpdatedAt
22716
- * * Display Name: __mj _Updated At
22970
+ * * Display Name: Updated At
22717
22971
  * * SQL Data Type: datetimeoffset
22718
22972
  * * Default Value: getutcdate()
22719
22973
  */
@@ -23299,18 +23553,6 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
23299
23553
  * * Default Value: getutcdate()
23300
23554
  */
23301
23555
  get __mj_UpdatedAt(): Date;
23302
- /**
23303
- * * Field Name: CompanyIntegrationRun
23304
- * * Display Name: Company Integration Run
23305
- * * SQL Data Type: nvarchar(100)
23306
- */
23307
- get CompanyIntegrationRun(): string | null;
23308
- /**
23309
- * * Field Name: CompanyIntegrationRunDetail
23310
- * * Display Name: Company Integration Run Detail
23311
- * * SQL Data Type: nvarchar(450)
23312
- */
23313
- get CompanyIntegrationRunDetail(): string | null;
23314
23556
  }
23315
23557
  /**
23316
23558
  * Explorer Navigation Items - strongly typed entity sub-class
@@ -25628,18 +25870,6 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
25628
25870
  */
25629
25871
  get SourceConversation(): string | null;
25630
25872
  /**
25631
- * * Field Name: SourceConversationDetail
25632
- * * Display Name: Source Conversation Detail
25633
- * * SQL Data Type: nvarchar(MAX)
25634
- */
25635
- get SourceConversationDetail(): string | null;
25636
- /**
25637
- * * Field Name: SourceAIAgentRun
25638
- * * Display Name: Source AI Agent Run
25639
- * * SQL Data Type: nvarchar(255)
25640
- */
25641
- get SourceAIAgentRun(): string | null;
25642
- /**
25643
25873
  * * Field Name: EmbeddingModel
25644
25874
  * * Display Name: Embedding Model
25645
25875
  * * SQL Data Type: nvarchar(50)
@@ -26362,18 +26592,6 @@ detailed information about what validation rules failed.
26362
26592
  get Comments(): string | null;
26363
26593
  set Comments(value: string | null);
26364
26594
  /**
26365
- * * Field Name: AgentRun
26366
- * * Display Name: Agent Run
26367
- * * SQL Data Type: nvarchar(255)
26368
- */
26369
- get AgentRun(): string | null;
26370
- /**
26371
- * * Field Name: Parent
26372
- * * Display Name: Parent
26373
- * * SQL Data Type: nvarchar(255)
26374
- */
26375
- get Parent(): string | null;
26376
- /**
26377
26595
  * * Field Name: RootParentID
26378
26596
  * * Display Name: Root Parent ID
26379
26597
  * * SQL Data Type: uniqueidentifier
@@ -27604,6 +27822,159 @@ export declare class AIConfigurationEntity extends BaseEntity<AIConfigurationEnt
27604
27822
  */
27605
27823
  get DefaultPromptForContextSummarization(): string | null;
27606
27824
  }
27825
+ /**
27826
+ * MJ: AI Credential Bindings - strongly typed entity sub-class
27827
+ * * Schema: __mj
27828
+ * * Base Table: AICredentialBinding
27829
+ * * Base View: vwAICredentialBindings
27830
+ * * @description Junction table that binds credentials to AI entities (Vendors, ModelVendors, PromptModels). Decouples credential assignments from core AI entities to prevent MJ updates from overwriting customer configurations. Supports priority-based failover with multiple credentials per binding level.
27831
+ * * Primary Key: ID
27832
+ * @extends {BaseEntity}
27833
+ * @class
27834
+ * @public
27835
+ */
27836
+ export declare class AICredentialBindingEntity extends BaseEntity<AICredentialBindingEntityType> {
27837
+ /**
27838
+ * Loads the MJ: AI Credential Bindings record from the database
27839
+ * @param ID: string - primary key value to load the MJ: AI Credential Bindings record.
27840
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27841
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27842
+ * @public
27843
+ * @async
27844
+ * @memberof AICredentialBindingEntity
27845
+ * @method
27846
+ * @override
27847
+ */
27848
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27849
+ /**
27850
+ * Validate() method override for MJ: AI Credential Bindings entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
27851
+ * * Table-Level: Ensures that the type of binding specified in the record matches exactly one related ID column: when BindingType is 'Vendor' an AIVendorID must be provided and the other two IDs must be empty; when BindingType is 'ModelVendor' an AIModelVendorID must be provided and the other IDs must be empty; when BindingType is 'PromptModel' an AIPromptModelID must be provided and the other IDs must be empty. This prevents ambiguous or missing references.
27852
+ * @public
27853
+ * @method
27854
+ * @override
27855
+ */
27856
+ Validate(): ValidationResult;
27857
+ /**
27858
+ * Ensures that the type of binding specified in the record matches exactly one related ID column: when BindingType is 'Vendor' an AIVendorID must be provided and the other two IDs must be empty; when BindingType is 'ModelVendor' an AIModelVendorID must be provided and the other IDs must be empty; when BindingType is 'PromptModel' an AIPromptModelID must be provided and the other IDs must be empty. This prevents ambiguous or missing references.
27859
+ * @param result - the ValidationResult object to add any errors or warnings to
27860
+ * @public
27861
+ * @method
27862
+ */
27863
+ ValidateBindingTypeAndRelatedIds(result: ValidationResult): void;
27864
+ /**
27865
+ * * Field Name: ID
27866
+ * * Display Name: ID
27867
+ * * SQL Data Type: uniqueidentifier
27868
+ * * Default Value: newsequentialid()
27869
+ */
27870
+ get ID(): string;
27871
+ set ID(value: string);
27872
+ /**
27873
+ * * Field Name: CredentialID
27874
+ * * Display Name: Credential ID
27875
+ * * SQL Data Type: uniqueidentifier
27876
+ * * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
27877
+ * * Description: Reference to the credential being bound.
27878
+ */
27879
+ get CredentialID(): string;
27880
+ set CredentialID(value: string);
27881
+ /**
27882
+ * * Field Name: BindingType
27883
+ * * Display Name: Binding Type
27884
+ * * SQL Data Type: nvarchar(20)
27885
+ * * Value List Type: List
27886
+ * * Possible Values
27887
+ * * ModelVendor
27888
+ * * PromptModel
27889
+ * * Vendor
27890
+ * * Description: The type of AI entity this credential is bound to: Vendor (broadest), ModelVendor (model+vendor specific), or PromptModel (most specific). Resolution follows prompt → model → vendor hierarchy.
27891
+ */
27892
+ get BindingType(): 'ModelVendor' | 'PromptModel' | 'Vendor';
27893
+ set BindingType(value: 'ModelVendor' | 'PromptModel' | 'Vendor');
27894
+ /**
27895
+ * * Field Name: AIVendorID
27896
+ * * Display Name: AI Vendor ID
27897
+ * * SQL Data Type: uniqueidentifier
27898
+ * * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
27899
+ * * Description: Reference to AIVendor when BindingType is Vendor. NULL otherwise.
27900
+ */
27901
+ get AIVendorID(): string | null;
27902
+ set AIVendorID(value: string | null);
27903
+ /**
27904
+ * * Field Name: AIModelVendorID
27905
+ * * Display Name: AI Model Vendor ID
27906
+ * * SQL Data Type: uniqueidentifier
27907
+ * * Related Entity/Foreign Key: MJ: AI Model Vendors (vwAIModelVendors.ID)
27908
+ * * Description: Reference to AIModelVendor when BindingType is ModelVendor. NULL otherwise.
27909
+ */
27910
+ get AIModelVendorID(): string | null;
27911
+ set AIModelVendorID(value: string | null);
27912
+ /**
27913
+ * * Field Name: AIPromptModelID
27914
+ * * Display Name: AI Prompt Model ID
27915
+ * * SQL Data Type: uniqueidentifier
27916
+ * * Related Entity/Foreign Key: MJ: AI Prompt Models (vwAIPromptModels.ID)
27917
+ * * Description: Reference to AIPromptModel when BindingType is PromptModel. NULL otherwise.
27918
+ */
27919
+ get AIPromptModelID(): string | null;
27920
+ set AIPromptModelID(value: string | null);
27921
+ /**
27922
+ * * Field Name: Priority
27923
+ * * Display Name: Priority
27924
+ * * SQL Data Type: int
27925
+ * * Default Value: 0
27926
+ * * Description: Priority for credential selection when multiple bindings exist at the same level. Lower values have higher priority (0 is highest). Enables failover when primary credentials are unavailable.
27927
+ */
27928
+ get Priority(): number;
27929
+ set Priority(value: number);
27930
+ /**
27931
+ * * Field Name: IsActive
27932
+ * * Display Name: Is Active
27933
+ * * SQL Data Type: bit
27934
+ * * Default Value: 1
27935
+ * * Description: When false, this binding is ignored during credential resolution. Allows temporary disabling without deletion.
27936
+ */
27937
+ get IsActive(): boolean;
27938
+ set IsActive(value: boolean);
27939
+ /**
27940
+ * * Field Name: __mj_CreatedAt
27941
+ * * Display Name: Created At
27942
+ * * SQL Data Type: datetimeoffset
27943
+ * * Default Value: getutcdate()
27944
+ */
27945
+ get __mj_CreatedAt(): Date;
27946
+ /**
27947
+ * * Field Name: __mj_UpdatedAt
27948
+ * * Display Name: Updated At
27949
+ * * SQL Data Type: datetimeoffset
27950
+ * * Default Value: getutcdate()
27951
+ */
27952
+ get __mj_UpdatedAt(): Date;
27953
+ /**
27954
+ * * Field Name: Credential
27955
+ * * Display Name: Credential
27956
+ * * SQL Data Type: nvarchar(200)
27957
+ */
27958
+ get Credential(): string;
27959
+ /**
27960
+ * * Field Name: AIVendor
27961
+ * * Display Name: AI Vendor
27962
+ * * SQL Data Type: nvarchar(50)
27963
+ */
27964
+ get AIVendor(): string | null;
27965
+ /**
27966
+ * * Field Name: AIModelVendor
27967
+ * * Display Name: AI Model Vendor
27968
+ * * SQL Data Type: nvarchar(50)
27969
+ */
27970
+ get AIModelVendor(): string | null;
27971
+ /**
27972
+ * * Field Name: AIPromptModel
27973
+ * * Display Name: AI Prompt Model
27974
+ * * SQL Data Type: nvarchar(255)
27975
+ */
27976
+ get AIPromptModel(): string | null;
27977
+ }
27607
27978
  /**
27608
27979
  * MJ: AI Model Costs - strongly typed entity sub-class
27609
27980
  * * Schema: __mj
@@ -28504,7 +28875,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28504
28875
  set ID(value: string);
28505
28876
  /**
28506
28877
  * * Field Name: PromptID
28507
- * * Display Name: Prompt ID
28878
+ * * Display Name: Prompt
28508
28879
  * * SQL Data Type: uniqueidentifier
28509
28880
  * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
28510
28881
  * * Description: The prompt that was executed.
@@ -28513,7 +28884,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28513
28884
  set PromptID(value: string);
28514
28885
  /**
28515
28886
  * * Field Name: ModelID
28516
- * * Display Name: Model ID
28887
+ * * Display Name: Model
28517
28888
  * * SQL Data Type: uniqueidentifier
28518
28889
  * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
28519
28890
  * * Description: The AI model used for execution.
@@ -28522,7 +28893,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28522
28893
  set ModelID(value: string);
28523
28894
  /**
28524
28895
  * * Field Name: VendorID
28525
- * * Display Name: Vendor ID
28896
+ * * Display Name: Vendor
28526
28897
  * * SQL Data Type: uniqueidentifier
28527
28898
  * * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
28528
28899
  * * Description: The vendor providing the model/inference.
@@ -28531,7 +28902,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28531
28902
  set VendorID(value: string);
28532
28903
  /**
28533
28904
  * * Field Name: AgentID
28534
- * * Display Name: Agent ID
28905
+ * * Display Name: Agent
28535
28906
  * * SQL Data Type: uniqueidentifier
28536
28907
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
28537
28908
  * * Description: If this prompt was run as part of an agent, references the agent.
@@ -28540,7 +28911,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28540
28911
  set AgentID(value: string | null);
28541
28912
  /**
28542
28913
  * * Field Name: ConfigurationID
28543
- * * Display Name: Configuration ID
28914
+ * * Display Name: Configuration
28544
28915
  * * SQL Data Type: uniqueidentifier
28545
28916
  * * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
28546
28917
  * * Description: Optional configuration used for this execution.
@@ -28566,7 +28937,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28566
28937
  set CompletedAt(value: Date | null);
28567
28938
  /**
28568
28939
  * * Field Name: ExecutionTimeMS
28569
- * * Display Name: Execution Time MS
28940
+ * * Display Name: Execution Time (ms)
28570
28941
  * * SQL Data Type: int
28571
28942
  * * Description: Total execution time in milliseconds.
28572
28943
  */
@@ -28903,7 +29274,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28903
29274
  /**
28904
29275
  * * Field Name: FirstAttemptAt
28905
29276
  * * Display Name: First Attempt At
28906
- * * SQL Data Type: datetime
29277
+ * * SQL Data Type: datetimeoffset
28907
29278
  * * Description: Timestamp of the first validation attempt
28908
29279
  */
28909
29280
  get FirstAttemptAt(): Date | null;
@@ -28911,14 +29282,14 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28911
29282
  /**
28912
29283
  * * Field Name: LastAttemptAt
28913
29284
  * * Display Name: Last Attempt At
28914
- * * SQL Data Type: datetime
29285
+ * * SQL Data Type: datetimeoffset
28915
29286
  * * Description: Timestamp of the last validation attempt
28916
29287
  */
28917
29288
  get LastAttemptAt(): Date | null;
28918
29289
  set LastAttemptAt(value: Date | null);
28919
29290
  /**
28920
29291
  * * Field Name: TotalRetryDurationMS
28921
- * * Display Name: Total Retry Duration MS
29292
+ * * Display Name: Total Retry Duration (ms)
28922
29293
  * * SQL Data Type: int
28923
29294
  * * Description: Total time spent on retries in milliseconds (excluding first attempt)
28924
29295
  */
@@ -28977,7 +29348,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28977
29348
  /**
28978
29349
  * * Field Name: OriginalRequestStartTime
28979
29350
  * * Display Name: Original Request Start Time
28980
- * * SQL Data Type: datetime
29351
+ * * SQL Data Type: datetimeoffset
28981
29352
  * * Description: Timestamp when the original request started, before any failovers
28982
29353
  */
28983
29354
  get OriginalRequestStartTime(): Date | null;
@@ -29270,6 +29641,12 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
29270
29641
  */
29271
29642
  get ChildPrompt(): string | null;
29272
29643
  /**
29644
+ * * Field Name: TestRun
29645
+ * * Display Name: Test Run
29646
+ * * SQL Data Type: nvarchar(255)
29647
+ */
29648
+ get TestRun(): string | null;
29649
+ /**
29273
29650
  * * Field Name: RootParentID
29274
29651
  * * Display Name: Root Parent ID
29275
29652
  * * SQL Data Type: uniqueidentifier
@@ -29520,6 +29897,21 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
29520
29897
  * * Default Value: getutcdate()
29521
29898
  */
29522
29899
  get __mj_UpdatedAt(): Date;
29900
+ /**
29901
+ * * Field Name: CredentialTypeID
29902
+ * * Display Name: Credential Type ID
29903
+ * * SQL Data Type: uniqueidentifier
29904
+ * * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
29905
+ * * Description: Reference to the type of credential this vendor expects (e.g., API Key, GCP Service Account, Azure Service Principal). Used for type-based default credential resolution when no explicit binding exists, and for UI guidance when creating credentials.
29906
+ */
29907
+ get CredentialTypeID(): string | null;
29908
+ set CredentialTypeID(value: string | null);
29909
+ /**
29910
+ * * Field Name: CredentialType
29911
+ * * Display Name: Credential Type
29912
+ * * SQL Data Type: nvarchar(100)
29913
+ */
29914
+ get CredentialType(): string | null;
29523
29915
  }
29524
29916
  /**
29525
29917
  * MJ: Artifact Permissions - strongly typed entity sub-class
@@ -31705,12 +32097,6 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
31705
32097
  */
31706
32098
  get __mj_UpdatedAt(): Date;
31707
32099
  /**
31708
- * * Field Name: ConversationDetail
31709
- * * Display Name: Conversation Detail
31710
- * * SQL Data Type: nvarchar(MAX)
31711
- */
31712
- get ConversationDetail(): string;
31713
- /**
31714
32100
  * * Field Name: ArtifactVersion
31715
32101
  * * Display Name: Artifact Version
31716
32102
  * * SQL Data Type: nvarchar(255)
@@ -31813,18 +32199,358 @@ export declare class ConversationDetailRatingEntity extends BaseEntity<Conversat
31813
32199
  */
31814
32200
  get __mj_UpdatedAt(): Date;
31815
32201
  /**
31816
- * * Field Name: ConversationDetail
31817
- * * Display Name: Conversation Detail
31818
- * * SQL Data Type: nvarchar(MAX)
31819
- */
31820
- get ConversationDetail(): string;
31821
- /**
31822
32202
  * * Field Name: User
31823
32203
  * * Display Name: User
31824
32204
  * * SQL Data Type: nvarchar(100)
31825
32205
  */
31826
32206
  get User(): string;
31827
32207
  }
32208
+ /**
32209
+ * MJ: Credential Categories - strongly typed entity sub-class
32210
+ * * Schema: __mj
32211
+ * * Base Table: CredentialCategory
32212
+ * * Base View: vwCredentialCategories
32213
+ * * @description Hierarchical organization for credentials. Allows grouping credentials by service type, department, or any organizational structure.
32214
+ * * Primary Key: ID
32215
+ * @extends {BaseEntity}
32216
+ * @class
32217
+ * @public
32218
+ */
32219
+ export declare class CredentialCategoryEntity extends BaseEntity<CredentialCategoryEntityType> {
32220
+ /**
32221
+ * Loads the MJ: Credential Categories record from the database
32222
+ * @param ID: string - primary key value to load the MJ: Credential Categories record.
32223
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32224
+ * @returns {Promise<boolean>} - true if successful, false otherwise
32225
+ * @public
32226
+ * @async
32227
+ * @memberof CredentialCategoryEntity
32228
+ * @method
32229
+ * @override
32230
+ */
32231
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
32232
+ /**
32233
+ * * Field Name: ID
32234
+ * * Display Name: ID
32235
+ * * SQL Data Type: uniqueidentifier
32236
+ * * Default Value: newsequentialid()
32237
+ */
32238
+ get ID(): string;
32239
+ set ID(value: string);
32240
+ /**
32241
+ * * Field Name: Name
32242
+ * * Display Name: Name
32243
+ * * SQL Data Type: nvarchar(100)
32244
+ * * Description: Display name for the category.
32245
+ */
32246
+ get Name(): string;
32247
+ set Name(value: string);
32248
+ /**
32249
+ * * Field Name: Description
32250
+ * * Display Name: Description
32251
+ * * SQL Data Type: nvarchar(MAX)
32252
+ * * Description: Optional description of the category.
32253
+ */
32254
+ get Description(): string | null;
32255
+ set Description(value: string | null);
32256
+ /**
32257
+ * * Field Name: ParentID
32258
+ * * Display Name: Parent ID
32259
+ * * SQL Data Type: uniqueidentifier
32260
+ * * Related Entity/Foreign Key: MJ: Credential Categories (vwCredentialCategories.ID)
32261
+ * * Description: Parent category for hierarchical organization. NULL for root categories.
32262
+ */
32263
+ get ParentID(): string | null;
32264
+ set ParentID(value: string | null);
32265
+ /**
32266
+ * * Field Name: IconClass
32267
+ * * Display Name: Icon Class
32268
+ * * SQL Data Type: nvarchar(100)
32269
+ * * Description: Font Awesome icon class for UI display (e.g., fa-solid fa-folder).
32270
+ */
32271
+ get IconClass(): string | null;
32272
+ set IconClass(value: string | null);
32273
+ /**
32274
+ * * Field Name: __mj_CreatedAt
32275
+ * * Display Name: Created At
32276
+ * * SQL Data Type: datetimeoffset
32277
+ * * Default Value: getutcdate()
32278
+ */
32279
+ get __mj_CreatedAt(): Date;
32280
+ /**
32281
+ * * Field Name: __mj_UpdatedAt
32282
+ * * Display Name: Updated At
32283
+ * * SQL Data Type: datetimeoffset
32284
+ * * Default Value: getutcdate()
32285
+ */
32286
+ get __mj_UpdatedAt(): Date;
32287
+ /**
32288
+ * * Field Name: Parent
32289
+ * * Display Name: Parent
32290
+ * * SQL Data Type: nvarchar(100)
32291
+ */
32292
+ get Parent(): string | null;
32293
+ /**
32294
+ * * Field Name: RootParentID
32295
+ * * Display Name: Root Parent ID
32296
+ * * SQL Data Type: uniqueidentifier
32297
+ */
32298
+ get RootParentID(): string | null;
32299
+ }
32300
+ /**
32301
+ * MJ: Credential Types - strongly typed entity sub-class
32302
+ * * Schema: __mj
32303
+ * * Base Table: CredentialType
32304
+ * * Base View: vwCredentialTypes
32305
+ * * @description Defines credential templates for different services (e.g., OpenAI, SendGrid). Uses JSON Schema to define required fields and validation rules.
32306
+ * * Primary Key: ID
32307
+ * @extends {BaseEntity}
32308
+ * @class
32309
+ * @public
32310
+ */
32311
+ export declare class CredentialTypeEntity extends BaseEntity<CredentialTypeEntityType> {
32312
+ /**
32313
+ * Loads the MJ: Credential Types record from the database
32314
+ * @param ID: string - primary key value to load the MJ: Credential Types record.
32315
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32316
+ * @returns {Promise<boolean>} - true if successful, false otherwise
32317
+ * @public
32318
+ * @async
32319
+ * @memberof CredentialTypeEntity
32320
+ * @method
32321
+ * @override
32322
+ */
32323
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
32324
+ /**
32325
+ * * Field Name: ID
32326
+ * * Display Name: ID
32327
+ * * SQL Data Type: uniqueidentifier
32328
+ * * Default Value: newsequentialid()
32329
+ */
32330
+ get ID(): string;
32331
+ set ID(value: string);
32332
+ /**
32333
+ * * Field Name: Name
32334
+ * * Display Name: Name
32335
+ * * SQL Data Type: nvarchar(100)
32336
+ * * Description: Unique name for the credential type (e.g., OpenAI, SendGrid, AWS S3).
32337
+ */
32338
+ get Name(): string;
32339
+ set Name(value: string);
32340
+ /**
32341
+ * * Field Name: Description
32342
+ * * Display Name: Description
32343
+ * * SQL Data Type: nvarchar(MAX)
32344
+ * * Description: Optional description of the credential type.
32345
+ */
32346
+ get Description(): string | null;
32347
+ set Description(value: string | null);
32348
+ /**
32349
+ * * Field Name: Category
32350
+ * * Display Name: Category
32351
+ * * SQL Data Type: nvarchar(50)
32352
+ * * Value List Type: List
32353
+ * * Possible Values
32354
+ * * AI
32355
+ * * Authentication
32356
+ * * Communication
32357
+ * * Database
32358
+ * * Integration
32359
+ * * Storage
32360
+ * * Description: High-level category: AI, Communication, Storage, Authentication, Database, or Integration.
32361
+ */
32362
+ get Category(): 'AI' | 'Authentication' | 'Communication' | 'Database' | 'Integration' | 'Storage';
32363
+ set Category(value: 'AI' | 'Authentication' | 'Communication' | 'Database' | 'Integration' | 'Storage');
32364
+ /**
32365
+ * * Field Name: FieldSchema
32366
+ * * Display Name: Field Schema
32367
+ * * SQL Data Type: nvarchar(MAX)
32368
+ * * Description: JSON Schema defining the required fields for this credential type. Includes field names, types, validation rules, and UI hints.
32369
+ */
32370
+ get FieldSchema(): string;
32371
+ set FieldSchema(value: string);
32372
+ /**
32373
+ * * Field Name: IconClass
32374
+ * * Display Name: Icon Class
32375
+ * * SQL Data Type: nvarchar(100)
32376
+ * * Description: Font Awesome icon class for UI display (e.g., fa-brands fa-openai).
32377
+ */
32378
+ get IconClass(): string | null;
32379
+ set IconClass(value: string | null);
32380
+ /**
32381
+ * * Field Name: ValidationEndpoint
32382
+ * * Display Name: Validation Endpoint
32383
+ * * SQL Data Type: nvarchar(500)
32384
+ * * Description: Optional URL endpoint to validate credentials against the service provider.
32385
+ */
32386
+ get ValidationEndpoint(): string | null;
32387
+ set ValidationEndpoint(value: string | null);
32388
+ /**
32389
+ * * Field Name: __mj_CreatedAt
32390
+ * * Display Name: Created At
32391
+ * * SQL Data Type: datetimeoffset
32392
+ * * Default Value: getutcdate()
32393
+ */
32394
+ get __mj_CreatedAt(): Date;
32395
+ /**
32396
+ * * Field Name: __mj_UpdatedAt
32397
+ * * Display Name: Updated At
32398
+ * * SQL Data Type: datetimeoffset
32399
+ * * Default Value: getutcdate()
32400
+ */
32401
+ get __mj_UpdatedAt(): Date;
32402
+ }
32403
+ /**
32404
+ * MJ: Credentials - strongly typed entity sub-class
32405
+ * * Schema: __mj
32406
+ * * Base Table: Credential
32407
+ * * Base View: vwCredentials
32408
+ * * @description Stores credential instances with encrypted values. All access should go through CredentialEngine for proper audit logging.
32409
+ * * Primary Key: ID
32410
+ * @extends {BaseEntity}
32411
+ * @class
32412
+ * @public
32413
+ */
32414
+ export declare class CredentialEntity extends BaseEntity<CredentialEntityType> {
32415
+ /**
32416
+ * Loads the MJ: Credentials record from the database
32417
+ * @param ID: string - primary key value to load the MJ: Credentials record.
32418
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32419
+ * @returns {Promise<boolean>} - true if successful, false otherwise
32420
+ * @public
32421
+ * @async
32422
+ * @memberof CredentialEntity
32423
+ * @method
32424
+ * @override
32425
+ */
32426
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
32427
+ /**
32428
+ * * Field Name: ID
32429
+ * * Display Name: ID
32430
+ * * SQL Data Type: uniqueidentifier
32431
+ * * Default Value: newsequentialid()
32432
+ */
32433
+ get ID(): string;
32434
+ set ID(value: string);
32435
+ /**
32436
+ * * Field Name: CredentialTypeID
32437
+ * * Display Name: Credential Type
32438
+ * * SQL Data Type: uniqueidentifier
32439
+ * * Related Entity/Foreign Key: MJ: Credential Types (vwCredentialTypes.ID)
32440
+ * * Description: Reference to the credential type that defines the schema for this credential.
32441
+ */
32442
+ get CredentialTypeID(): string;
32443
+ set CredentialTypeID(value: string);
32444
+ /**
32445
+ * * Field Name: CategoryID
32446
+ * * Display Name: Category
32447
+ * * SQL Data Type: uniqueidentifier
32448
+ * * Related Entity/Foreign Key: MJ: Credential Categories (vwCredentialCategories.ID)
32449
+ * * Description: Optional category for organizational grouping.
32450
+ */
32451
+ get CategoryID(): string | null;
32452
+ set CategoryID(value: string | null);
32453
+ /**
32454
+ * * Field Name: Name
32455
+ * * Display Name: Name
32456
+ * * SQL Data Type: nvarchar(200)
32457
+ * * Description: Human-readable name for this credential (e.g., Production SendGrid, Development OpenAI).
32458
+ */
32459
+ get Name(): string;
32460
+ set Name(value: string);
32461
+ /**
32462
+ * * Field Name: Description
32463
+ * * Display Name: Description
32464
+ * * SQL Data Type: nvarchar(MAX)
32465
+ * * Description: Optional description of this credential instance.
32466
+ */
32467
+ get Description(): string | null;
32468
+ set Description(value: string | null);
32469
+ /**
32470
+ * * Field Name: Values
32471
+ * * Display Name: Values
32472
+ * * SQL Data Type: nvarchar(MAX)
32473
+ * * Description: Encrypted JSON blob containing all credential values. This field uses MemberJunction field-level encryption.
32474
+ */
32475
+ get Values(): string;
32476
+ set Values(value: string);
32477
+ /**
32478
+ * * Field Name: IsDefault
32479
+ * * Display Name: Default
32480
+ * * SQL Data Type: bit
32481
+ * * Default Value: 0
32482
+ * * Description: If true, this is the default credential for its type when no specific credential is requested.
32483
+ */
32484
+ get IsDefault(): boolean;
32485
+ set IsDefault(value: boolean);
32486
+ /**
32487
+ * * Field Name: IsActive
32488
+ * * Display Name: Active
32489
+ * * SQL Data Type: bit
32490
+ * * Default Value: 1
32491
+ * * Description: If false, the credential is disabled and will not be used.
32492
+ */
32493
+ get IsActive(): boolean;
32494
+ set IsActive(value: boolean);
32495
+ /**
32496
+ * * Field Name: ExpiresAt
32497
+ * * Display Name: Expires At
32498
+ * * SQL Data Type: datetimeoffset
32499
+ * * Description: Optional expiration date. Expired credentials are treated as inactive.
32500
+ */
32501
+ get ExpiresAt(): Date | null;
32502
+ set ExpiresAt(value: Date | null);
32503
+ /**
32504
+ * * Field Name: LastValidatedAt
32505
+ * * Display Name: Last Validated At
32506
+ * * SQL Data Type: datetimeoffset
32507
+ * * Description: Timestamp of the last successful validation against the provider.
32508
+ */
32509
+ get LastValidatedAt(): Date | null;
32510
+ set LastValidatedAt(value: Date | null);
32511
+ /**
32512
+ * * Field Name: LastUsedAt
32513
+ * * Display Name: Last Used At
32514
+ * * SQL Data Type: datetimeoffset
32515
+ * * Description: Timestamp of the last time this credential was used.
32516
+ */
32517
+ get LastUsedAt(): Date | null;
32518
+ set LastUsedAt(value: Date | null);
32519
+ /**
32520
+ * * Field Name: IconClass
32521
+ * * Display Name: Icon Class
32522
+ * * SQL Data Type: nvarchar(100)
32523
+ * * Description: Optional Font Awesome icon class to override the type icon for this specific credential.
32524
+ */
32525
+ get IconClass(): string | null;
32526
+ set IconClass(value: string | null);
32527
+ /**
32528
+ * * Field Name: __mj_CreatedAt
32529
+ * * Display Name: Created At
32530
+ * * SQL Data Type: datetimeoffset
32531
+ * * Default Value: getutcdate()
32532
+ */
32533
+ get __mj_CreatedAt(): Date;
32534
+ /**
32535
+ * * Field Name: __mj_UpdatedAt
32536
+ * * Display Name: Updated At
32537
+ * * SQL Data Type: datetimeoffset
32538
+ * * Default Value: getutcdate()
32539
+ */
32540
+ get __mj_UpdatedAt(): Date;
32541
+ /**
32542
+ * * Field Name: CredentialType
32543
+ * * Display Name: Credential Type
32544
+ * * SQL Data Type: nvarchar(100)
32545
+ */
32546
+ get CredentialType(): string;
32547
+ /**
32548
+ * * Field Name: Category
32549
+ * * Display Name: Category
32550
+ * * SQL Data Type: nvarchar(100)
32551
+ */
32552
+ get Category(): string | null;
32553
+ }
31828
32554
  /**
31829
32555
  * MJ: Dashboard User Preferences - strongly typed entity sub-class
31830
32556
  * * Schema: __mj
@@ -32037,6 +32763,383 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
32037
32763
  */
32038
32764
  get User(): string;
32039
32765
  }
32766
+ /**
32767
+ * MJ: Encryption Algorithms - strongly typed entity sub-class
32768
+ * * Schema: __mj
32769
+ * * Base Table: EncryptionAlgorithm
32770
+ * * Base View: vwEncryptionAlgorithms
32771
+ * * @description Defines available encryption algorithms and their configuration parameters. AES-256-GCM is the recommended algorithm for new implementations.
32772
+ * * Primary Key: ID
32773
+ * @extends {BaseEntity}
32774
+ * @class
32775
+ * @public
32776
+ */
32777
+ export declare class EncryptionAlgorithmEntity extends BaseEntity<EncryptionAlgorithmEntityType> {
32778
+ /**
32779
+ * Loads the MJ: Encryption Algorithms record from the database
32780
+ * @param ID: string - primary key value to load the MJ: Encryption Algorithms record.
32781
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32782
+ * @returns {Promise<boolean>} - true if successful, false otherwise
32783
+ * @public
32784
+ * @async
32785
+ * @memberof EncryptionAlgorithmEntity
32786
+ * @method
32787
+ * @override
32788
+ */
32789
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
32790
+ /**
32791
+ * * Field Name: ID
32792
+ * * Display Name: ID
32793
+ * * SQL Data Type: uniqueidentifier
32794
+ * * Default Value: newsequentialid()
32795
+ * * Description: Unique identifier for the algorithm.
32796
+ */
32797
+ get ID(): string;
32798
+ set ID(value: string);
32799
+ /**
32800
+ * * Field Name: Name
32801
+ * * Display Name: Name
32802
+ * * SQL Data Type: nvarchar(50)
32803
+ * * Description: Algorithm name (e.g., AES-256-GCM). Must match the format used in encrypted values.
32804
+ */
32805
+ get Name(): string;
32806
+ set Name(value: string);
32807
+ /**
32808
+ * * Field Name: Description
32809
+ * * Display Name: Description
32810
+ * * SQL Data Type: nvarchar(MAX)
32811
+ * * Description: Description of the algorithm and when to use it.
32812
+ */
32813
+ get Description(): string | null;
32814
+ set Description(value: string | null);
32815
+ /**
32816
+ * * Field Name: NodeCryptoName
32817
+ * * Display Name: Node Crypto Name
32818
+ * * SQL Data Type: nvarchar(50)
32819
+ * * Description: Node.js crypto module algorithm identifier (e.g., aes-256-gcm).
32820
+ */
32821
+ get NodeCryptoName(): string;
32822
+ set NodeCryptoName(value: string);
32823
+ /**
32824
+ * * Field Name: KeyLengthBits
32825
+ * * Display Name: Key Length Bits
32826
+ * * SQL Data Type: int
32827
+ * * Description: Required key length in bits (e.g., 256 for AES-256).
32828
+ */
32829
+ get KeyLengthBits(): number;
32830
+ set KeyLengthBits(value: number);
32831
+ /**
32832
+ * * Field Name: IVLengthBytes
32833
+ * * Display Name: IV Length Bytes
32834
+ * * SQL Data Type: int
32835
+ * * Description: Required initialization vector length in bytes (e.g., 12 for GCM, 16 for CBC).
32836
+ */
32837
+ get IVLengthBytes(): number;
32838
+ set IVLengthBytes(value: number);
32839
+ /**
32840
+ * * Field Name: IsAEAD
32841
+ * * Display Name: Is AEAD
32842
+ * * SQL Data Type: bit
32843
+ * * Default Value: 0
32844
+ * * Description: Whether this algorithm provides Authenticated Encryption with Associated Data (AEAD). AEAD algorithms like GCM detect tampering.
32845
+ */
32846
+ get IsAEAD(): boolean;
32847
+ set IsAEAD(value: boolean);
32848
+ /**
32849
+ * * Field Name: IsActive
32850
+ * * Display Name: Is Active
32851
+ * * SQL Data Type: bit
32852
+ * * Default Value: 1
32853
+ * * Description: Whether this algorithm is available for use.
32854
+ */
32855
+ get IsActive(): boolean;
32856
+ set IsActive(value: boolean);
32857
+ /**
32858
+ * * Field Name: __mj_CreatedAt
32859
+ * * Display Name: Created At
32860
+ * * SQL Data Type: datetimeoffset
32861
+ * * Default Value: getutcdate()
32862
+ */
32863
+ get __mj_CreatedAt(): Date;
32864
+ /**
32865
+ * * Field Name: __mj_UpdatedAt
32866
+ * * Display Name: Updated At
32867
+ * * SQL Data Type: datetimeoffset
32868
+ * * Default Value: getutcdate()
32869
+ */
32870
+ get __mj_UpdatedAt(): Date;
32871
+ }
32872
+ /**
32873
+ * MJ: Encryption Key Sources - strongly typed entity sub-class
32874
+ * * Schema: __mj
32875
+ * * Base Table: EncryptionKeySource
32876
+ * * Base View: vwEncryptionKeySources
32877
+ * * @description Defines sources for retrieving encryption keys (environment variables, vault services, config files, etc.). Key sources are pluggable providers that implement the EncryptionKeySourceBase class.
32878
+ * * Primary Key: ID
32879
+ * @extends {BaseEntity}
32880
+ * @class
32881
+ * @public
32882
+ */
32883
+ export declare class EncryptionKeySourceEntity extends BaseEntity<EncryptionKeySourceEntityType> {
32884
+ /**
32885
+ * Loads the MJ: Encryption Key Sources record from the database
32886
+ * @param ID: string - primary key value to load the MJ: Encryption Key Sources record.
32887
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32888
+ * @returns {Promise<boolean>} - true if successful, false otherwise
32889
+ * @public
32890
+ * @async
32891
+ * @memberof EncryptionKeySourceEntity
32892
+ * @method
32893
+ * @override
32894
+ */
32895
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
32896
+ /**
32897
+ * * Field Name: ID
32898
+ * * Display Name: ID
32899
+ * * SQL Data Type: uniqueidentifier
32900
+ * * Default Value: newsequentialid()
32901
+ * * Description: Unique identifier for the key source.
32902
+ */
32903
+ get ID(): string;
32904
+ set ID(value: string);
32905
+ /**
32906
+ * * Field Name: Name
32907
+ * * Display Name: Name
32908
+ * * SQL Data Type: nvarchar(100)
32909
+ * * Description: Unique name for this key source (e.g., Environment Variable, AWS KMS).
32910
+ */
32911
+ get Name(): string;
32912
+ set Name(value: string);
32913
+ /**
32914
+ * * Field Name: Description
32915
+ * * Display Name: Description
32916
+ * * SQL Data Type: nvarchar(MAX)
32917
+ * * Description: Human-readable description of this key source and usage instructions.
32918
+ */
32919
+ get Description(): string | null;
32920
+ set Description(value: string | null);
32921
+ /**
32922
+ * * Field Name: DriverClass
32923
+ * * Display Name: Driver Class
32924
+ * * SQL Data Type: nvarchar(255)
32925
+ * * Description: TypeScript class name that implements EncryptionKeySourceBase (e.g., EnvVarKeySource).
32926
+ */
32927
+ get DriverClass(): string;
32928
+ set DriverClass(value: string);
32929
+ /**
32930
+ * * Field Name: DriverImportPath
32931
+ * * Display Name: Driver Import Path
32932
+ * * SQL Data Type: nvarchar(500)
32933
+ * * Description: Package path where the driver class is exported (e.g., @memberjunction/encryption).
32934
+ */
32935
+ get DriverImportPath(): string | null;
32936
+ set DriverImportPath(value: string | null);
32937
+ /**
32938
+ * * Field Name: ConfigTemplate
32939
+ * * Display Name: Config Template
32940
+ * * SQL Data Type: nvarchar(MAX)
32941
+ * * Description: JSON template describing the configuration options for this key source.
32942
+ */
32943
+ get ConfigTemplate(): string | null;
32944
+ set ConfigTemplate(value: string | null);
32945
+ /**
32946
+ * * Field Name: IsActive
32947
+ * * Display Name: Is Active
32948
+ * * SQL Data Type: bit
32949
+ * * Default Value: 1
32950
+ * * Description: Whether this key source is available for use.
32951
+ */
32952
+ get IsActive(): boolean;
32953
+ set IsActive(value: boolean);
32954
+ /**
32955
+ * * Field Name: Status
32956
+ * * Display Name: Status
32957
+ * * SQL Data Type: nvarchar(20)
32958
+ * * Default Value: Active
32959
+ * * Value List Type: List
32960
+ * * Possible Values
32961
+ * * Active
32962
+ * * Deprecated
32963
+ * * Inactive
32964
+ * * Description: Current status: Active, Inactive, or Deprecated.
32965
+ */
32966
+ get Status(): 'Active' | 'Deprecated' | 'Inactive';
32967
+ set Status(value: 'Active' | 'Deprecated' | 'Inactive');
32968
+ /**
32969
+ * * Field Name: __mj_CreatedAt
32970
+ * * Display Name: Created At
32971
+ * * SQL Data Type: datetimeoffset
32972
+ * * Default Value: getutcdate()
32973
+ */
32974
+ get __mj_CreatedAt(): Date;
32975
+ /**
32976
+ * * Field Name: __mj_UpdatedAt
32977
+ * * Display Name: Updated At
32978
+ * * SQL Data Type: datetimeoffset
32979
+ * * Default Value: getutcdate()
32980
+ */
32981
+ get __mj_UpdatedAt(): Date;
32982
+ }
32983
+ /**
32984
+ * MJ: Encryption Keys - strongly typed entity sub-class
32985
+ * * Schema: __mj
32986
+ * * Base Table: EncryptionKey
32987
+ * * Base View: vwEncryptionKeys
32988
+ * * @description Defines encryption keys used for field-level encryption. Keys are NOT stored in the database - only references to external key sources. Configure one or more keys and assign them to entity fields.
32989
+ * * Primary Key: ID
32990
+ * @extends {BaseEntity}
32991
+ * @class
32992
+ * @public
32993
+ */
32994
+ export declare class EncryptionKeyEntity extends BaseEntity<EncryptionKeyEntityType> {
32995
+ /**
32996
+ * Loads the MJ: Encryption Keys record from the database
32997
+ * @param ID: string - primary key value to load the MJ: Encryption Keys record.
32998
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
32999
+ * @returns {Promise<boolean>} - true if successful, false otherwise
33000
+ * @public
33001
+ * @async
33002
+ * @memberof EncryptionKeyEntity
33003
+ * @method
33004
+ * @override
33005
+ */
33006
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
33007
+ /**
33008
+ * * Field Name: ID
33009
+ * * Display Name: ID
33010
+ * * SQL Data Type: uniqueidentifier
33011
+ * * Default Value: newsequentialid()
33012
+ * * Description: Unique identifier for the encryption key configuration.
33013
+ */
33014
+ get ID(): string;
33015
+ set ID(value: string);
33016
+ /**
33017
+ * * Field Name: Name
33018
+ * * Display Name: Name
33019
+ * * SQL Data Type: nvarchar(100)
33020
+ * * Description: Unique name for this key (e.g., PII Master Key, API Secrets Key).
33021
+ */
33022
+ get Name(): string;
33023
+ set Name(value: string);
33024
+ /**
33025
+ * * Field Name: Description
33026
+ * * Display Name: Description
33027
+ * * SQL Data Type: nvarchar(MAX)
33028
+ * * Description: Description of this key purpose and scope.
33029
+ */
33030
+ get Description(): string | null;
33031
+ set Description(value: string | null);
33032
+ /**
33033
+ * * Field Name: EncryptionKeySourceID
33034
+ * * Display Name: Encryption Key Source ID
33035
+ * * SQL Data Type: uniqueidentifier
33036
+ * * Related Entity/Foreign Key: MJ: Encryption Key Sources (vwEncryptionKeySources.ID)
33037
+ * * Description: References the key source that provides the key material.
33038
+ */
33039
+ get EncryptionKeySourceID(): string;
33040
+ set EncryptionKeySourceID(value: string);
33041
+ /**
33042
+ * * Field Name: EncryptionAlgorithmID
33043
+ * * Display Name: Encryption Algorithm ID
33044
+ * * SQL Data Type: uniqueidentifier
33045
+ * * Related Entity/Foreign Key: MJ: Encryption Algorithms (vwEncryptionAlgorithms.ID)
33046
+ * * Description: References the algorithm to use for encryption/decryption.
33047
+ */
33048
+ get EncryptionAlgorithmID(): string;
33049
+ set EncryptionAlgorithmID(value: string);
33050
+ /**
33051
+ * * Field Name: KeyLookupValue
33052
+ * * Display Name: Key Lookup Value
33053
+ * * SQL Data Type: nvarchar(500)
33054
+ * * Description: Source-specific lookup value (e.g., environment variable name, vault path).
33055
+ */
33056
+ get KeyLookupValue(): string;
33057
+ set KeyLookupValue(value: string);
33058
+ /**
33059
+ * * Field Name: KeyVersion
33060
+ * * Display Name: Key Version
33061
+ * * SQL Data Type: nvarchar(20)
33062
+ * * Default Value: 1
33063
+ * * Description: Version string for key rotation tracking. Incremented during rotation.
33064
+ */
33065
+ get KeyVersion(): string;
33066
+ set KeyVersion(value: string);
33067
+ /**
33068
+ * * Field Name: Marker
33069
+ * * Display Name: Marker
33070
+ * * SQL Data Type: nvarchar(20)
33071
+ * * Default Value: $ENC$
33072
+ * * Description: Prefix marker for encrypted values (default: $ENC$).
33073
+ */
33074
+ get Marker(): string;
33075
+ set Marker(value: string);
33076
+ /**
33077
+ * * Field Name: IsActive
33078
+ * * Display Name: Is Active
33079
+ * * SQL Data Type: bit
33080
+ * * Default Value: 1
33081
+ * * Description: Whether this key can be used for new encryption operations.
33082
+ */
33083
+ get IsActive(): boolean;
33084
+ set IsActive(value: boolean);
33085
+ /**
33086
+ * * Field Name: Status
33087
+ * * Display Name: Status
33088
+ * * SQL Data Type: nvarchar(20)
33089
+ * * Default Value: Active
33090
+ * * Value List Type: List
33091
+ * * Possible Values
33092
+ * * Active
33093
+ * * Expired
33094
+ * * Inactive
33095
+ * * Rotating
33096
+ * * Description: Current status: Active, Inactive, Rotating, or Expired.
33097
+ */
33098
+ get Status(): 'Active' | 'Expired' | 'Inactive' | 'Rotating';
33099
+ set Status(value: 'Active' | 'Expired' | 'Inactive' | 'Rotating');
33100
+ /**
33101
+ * * Field Name: ActivatedAt
33102
+ * * Display Name: Activated At
33103
+ * * SQL Data Type: datetimeoffset
33104
+ * * Description: When the current key version was activated.
33105
+ */
33106
+ get ActivatedAt(): Date | null;
33107
+ set ActivatedAt(value: Date | null);
33108
+ /**
33109
+ * * Field Name: ExpiresAt
33110
+ * * Display Name: Expires At
33111
+ * * SQL Data Type: datetimeoffset
33112
+ * * Description: Optional expiration date. Keys past this date cannot be used for new encryption.
33113
+ */
33114
+ get ExpiresAt(): Date | null;
33115
+ set ExpiresAt(value: Date | null);
33116
+ /**
33117
+ * * Field Name: __mj_CreatedAt
33118
+ * * Display Name: Created At
33119
+ * * SQL Data Type: datetimeoffset
33120
+ * * Default Value: getutcdate()
33121
+ */
33122
+ get __mj_CreatedAt(): Date;
33123
+ /**
33124
+ * * Field Name: __mj_UpdatedAt
33125
+ * * Display Name: Updated At
33126
+ * * SQL Data Type: datetimeoffset
33127
+ * * Default Value: getutcdate()
33128
+ */
33129
+ get __mj_UpdatedAt(): Date;
33130
+ /**
33131
+ * * Field Name: EncryptionKeySource
33132
+ * * Display Name: Encryption Key Source
33133
+ * * SQL Data Type: nvarchar(100)
33134
+ */
33135
+ get EncryptionKeySource(): string;
33136
+ /**
33137
+ * * Field Name: EncryptionAlgorithm
33138
+ * * Display Name: Encryption Algorithm
33139
+ * * SQL Data Type: nvarchar(50)
33140
+ */
33141
+ get EncryptionAlgorithm(): string;
33142
+ }
32040
33143
  /**
32041
33144
  * MJ: Environments - strongly typed entity sub-class
32042
33145
  * * Schema: __mj
@@ -33773,12 +34876,6 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
33773
34876
  */
33774
34877
  get Project(): string | null;
33775
34878
  /**
33776
- * * Field Name: ConversationDetail
33777
- * * Display Name: Conversation Detail
33778
- * * SQL Data Type: nvarchar(MAX)
33779
- */
33780
- get ConversationDetail(): string | null;
33781
- /**
33782
34879
  * * Field Name: User
33783
34880
  * * Display Name: User
33784
34881
  * * SQL Data Type: nvarchar(100)
@@ -33962,7 +35059,7 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
33962
35059
  set ID(value: string);
33963
35060
  /**
33964
35061
  * * Field Name: TestRunID
33965
- * * Display Name: Test Run ID
35062
+ * * Display Name: Test Run
33966
35063
  * * SQL Data Type: uniqueidentifier
33967
35064
  * * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
33968
35065
  * * Description: Foreign Key - The test run being reviewed
@@ -33971,7 +35068,7 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
33971
35068
  set TestRunID(value: string);
33972
35069
  /**
33973
35070
  * * Field Name: ReviewerUserID
33974
- * * Display Name: Reviewer User ID
35071
+ * * Display Name: Reviewer
33975
35072
  * * SQL Data Type: uniqueidentifier
33976
35073
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
33977
35074
  * * Description: Foreign Key - The user providing the feedback
@@ -34013,8 +35110,8 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
34013
35110
  /**
34014
35111
  * * Field Name: ReviewedAt
34015
35112
  * * Display Name: Reviewed At
34016
- * * SQL Data Type: datetime
34017
- * * Default Value: getdate()
35113
+ * * SQL Data Type: datetimeoffset
35114
+ * * Default Value: sysdatetimeoffset()
34018
35115
  * * Description: Timestamp when the feedback was provided
34019
35116
  */
34020
35117
  get ReviewedAt(): Date;
@@ -34034,8 +35131,14 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
34034
35131
  */
34035
35132
  get __mj_UpdatedAt(): Date;
34036
35133
  /**
35134
+ * * Field Name: TestRun
35135
+ * * Display Name: Test Run
35136
+ * * SQL Data Type: nvarchar(255)
35137
+ */
35138
+ get TestRun(): string;
35139
+ /**
34037
35140
  * * Field Name: ReviewerUser
34038
- * * Display Name: Reviewer User
35141
+ * * Display Name: Reviewer Name
34039
35142
  * * SQL Data Type: nvarchar(100)
34040
35143
  */
34041
35144
  get ReviewerUser(): string;
@@ -34074,7 +35177,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34074
35177
  set ID(value: string);
34075
35178
  /**
34076
35179
  * * Field Name: TestID
34077
- * * Display Name: Test ID
35180
+ * * Display Name: Test
34078
35181
  * * SQL Data Type: uniqueidentifier
34079
35182
  * * Related Entity/Foreign Key: MJ: Tests (vwTests.ID)
34080
35183
  * * Description: Foreign Key - The test definition that was executed
@@ -34083,7 +35186,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34083
35186
  set TestID(value: string);
34084
35187
  /**
34085
35188
  * * Field Name: TestSuiteRunID
34086
- * * Display Name: Test Suite Run ID
35189
+ * * Display Name: Test Suite Run
34087
35190
  * * SQL Data Type: uniqueidentifier
34088
35191
  * * Related Entity/Foreign Key: MJ: Test Suite Runs (vwTestSuiteRuns.ID)
34089
35192
  * * Description: Foreign Key - Optional parent suite run if this test was part of a suite execution. NULL for standalone test runs.
@@ -34143,7 +35246,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34143
35246
  /**
34144
35247
  * * Field Name: StartedAt
34145
35248
  * * Display Name: Started At
34146
- * * SQL Data Type: datetime
35249
+ * * SQL Data Type: datetimeoffset
34147
35250
  * * Description: Timestamp when the test run started execution
34148
35251
  */
34149
35252
  get StartedAt(): Date | null;
@@ -34151,14 +35254,14 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34151
35254
  /**
34152
35255
  * * Field Name: CompletedAt
34153
35256
  * * Display Name: Completed At
34154
- * * SQL Data Type: datetime
35257
+ * * SQL Data Type: datetimeoffset
34155
35258
  * * Description: Timestamp when the test run completed
34156
35259
  */
34157
35260
  get CompletedAt(): Date | null;
34158
35261
  set CompletedAt(value: Date | null);
34159
35262
  /**
34160
35263
  * * Field Name: DurationSeconds
34161
- * * Display Name: Duration Seconds
35264
+ * * Display Name: Duration (seconds)
34162
35265
  * * SQL Data Type: decimal(10, 3)
34163
35266
  * * Description: Execution time in seconds for this test
34164
35267
  */
@@ -34222,7 +35325,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34222
35325
  set Score(value: number | null);
34223
35326
  /**
34224
35327
  * * Field Name: CostUSD
34225
- * * Display Name: Cost USD
35328
+ * * Display Name: Cost (USD)
34226
35329
  * * SQL Data Type: decimal(10, 6)
34227
35330
  * * Description: Cost in USD for running this test (e.g., LLM token costs, compute resources)
34228
35331
  */
@@ -34265,6 +35368,12 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34265
35368
  */
34266
35369
  get Test(): string;
34267
35370
  /**
35371
+ * * Field Name: TestSuiteRun
35372
+ * * Display Name: Test Suite Run
35373
+ * * SQL Data Type: nvarchar(255)
35374
+ */
35375
+ get TestSuiteRun(): string | null;
35376
+ /**
34268
35377
  * * Field Name: RunByUser
34269
35378
  * * Display Name: Run By User
34270
35379
  * * SQL Data Type: nvarchar(100)
@@ -34305,7 +35414,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34305
35414
  set ID(value: string);
34306
35415
  /**
34307
35416
  * * Field Name: SuiteID
34308
- * * Display Name: Suite ID
35417
+ * * Display Name: Suite
34309
35418
  * * SQL Data Type: uniqueidentifier
34310
35419
  * * Related Entity/Foreign Key: MJ: Test Suites (vwTestSuites.ID)
34311
35420
  * * Description: Foreign Key - The test suite that was executed
@@ -34314,7 +35423,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34314
35423
  set SuiteID(value: string);
34315
35424
  /**
34316
35425
  * * Field Name: RunByUserID
34317
- * * Display Name: Run By User ID
35426
+ * * Display Name: Run By User
34318
35427
  * * SQL Data Type: uniqueidentifier
34319
35428
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
34320
35429
  * * Description: Foreign Key - The user who triggered the suite run (could be system user for automated runs)
@@ -34372,7 +35481,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34372
35481
  /**
34373
35482
  * * Field Name: StartedAt
34374
35483
  * * Display Name: Started At
34375
- * * SQL Data Type: datetime
35484
+ * * SQL Data Type: datetimeoffset
34376
35485
  * * Description: Timestamp when the suite run started execution
34377
35486
  */
34378
35487
  get StartedAt(): Date | null;
@@ -34380,7 +35489,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34380
35489
  /**
34381
35490
  * * Field Name: CompletedAt
34382
35491
  * * Display Name: Completed At
34383
- * * SQL Data Type: datetime
35492
+ * * SQL Data Type: datetimeoffset
34384
35493
  * * Description: Timestamp when the suite run completed (successfully or with failures)
34385
35494
  */
34386
35495
  get CompletedAt(): Date | null;
@@ -34481,13 +35590,13 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34481
35590
  get __mj_UpdatedAt(): Date;
34482
35591
  /**
34483
35592
  * * Field Name: Suite
34484
- * * Display Name: Suite
35593
+ * * Display Name: Suite Name
34485
35594
  * * SQL Data Type: nvarchar(255)
34486
35595
  */
34487
35596
  get Suite(): string;
34488
35597
  /**
34489
35598
  * * Field Name: RunByUser
34490
- * * Display Name: Run By User
35599
+ * * Display Name: Run By User Name
34491
35600
  * * SQL Data Type: nvarchar(100)
34492
35601
  */
34493
35602
  get RunByUser(): string;
@@ -35294,7 +36403,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35294
36403
  set Name(value: string);
35295
36404
  /**
35296
36405
  * * Field Name: CategoryID
35297
- * * Display Name: Category ID
36406
+ * * Display Name: Category
35298
36407
  * * SQL Data Type: uniqueidentifier
35299
36408
  * * Related Entity/Foreign Key: Query Categories (vwQueryCategories.ID)
35300
36409
  */
@@ -35380,14 +36489,14 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35380
36489
  set ExecutionCostRank(value: number | null);
35381
36490
  /**
35382
36491
  * * Field Name: __mj_CreatedAt
35383
- * * Display Name: __mj _Created At
36492
+ * * Display Name: Created At
35384
36493
  * * SQL Data Type: datetimeoffset
35385
36494
  * * Default Value: getutcdate()
35386
36495
  */
35387
36496
  get __mj_CreatedAt(): Date;
35388
36497
  /**
35389
36498
  * * Field Name: __mj_UpdatedAt
35390
- * * Display Name: __mj _Updated At
36499
+ * * Display Name: Updated At
35391
36500
  * * SQL Data Type: datetimeoffset
35392
36501
  * * Default Value: getutcdate()
35393
36502
  */
@@ -35415,7 +36524,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35415
36524
  * * Display Name: Cache Enabled
35416
36525
  * * SQL Data Type: bit
35417
36526
  * * Default Value: 0
35418
- * * Description: When true, query results will be cached in memory with TTL expiration
36527
+ * * Description: When true, enables query result caching. Caching behavior depends on CacheValidationSQL: (1) If CacheValidationSQL is NULL, uses simple server-side TTL caching based on CacheTTLMinutes - results are cached on the server and expire after the TTL period. (2) If CacheValidationSQL is set, enables smart client-side caching with freshness validation - client sends cache fingerprint (maxUpdatedAt + rowCount) to server, server validates using CacheValidationSQL and returns 'current' (use cached) or 'stale' (with fresh data). Smart caching provides real-time accuracy while minimizing data transfer.
35419
36528
  */
35420
36529
  get CacheEnabled(): boolean;
35421
36530
  set CacheEnabled(value: boolean);
@@ -35445,7 +36554,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35445
36554
  set EmbeddingVector(value: string | null);
35446
36555
  /**
35447
36556
  * * Field Name: EmbeddingModelID
35448
- * * Display Name: Embedding Model ID
36557
+ * * Display Name: Embedding Model
35449
36558
  * * SQL Data Type: uniqueidentifier
35450
36559
  * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
35451
36560
  * * Description: The AI Model used to generate the embedding vector for this query. Required for vector similarity comparisons.
@@ -35453,6 +36562,14 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35453
36562
  get EmbeddingModelID(): string | null;
35454
36563
  set EmbeddingModelID(value: string | null);
35455
36564
  /**
36565
+ * * Field Name: CacheValidationSQL
36566
+ * * Display Name: Cache Validation SQL
36567
+ * * SQL Data Type: nvarchar(MAX)
36568
+ * * Description: SQL query used to validate cache freshness for smart caching. When set (and CacheEnabled=true), enables smart cache validation instead of simple TTL expiration. This query MUST return exactly two columns: MaxUpdatedAt (datetime/datetimeoffset) and TotalRows (int). The query has access to the same Nunjucks parameters as the main query SQL. When NULL, caching uses TTL-only behavior based on CacheTTLMinutes. Example: SELECT MAX(__mj_UpdatedAt) AS MaxUpdatedAt, COUNT(*) AS TotalRows FROM Orders WHERE Status = '{{ status }}'
36569
+ */
36570
+ get CacheValidationSQL(): string | null;
36571
+ set CacheValidationSQL(value: string | null);
36572
+ /**
35456
36573
  * * Field Name: Category
35457
36574
  * * Display Name: Category
35458
36575
  * * SQL Data Type: nvarchar(50)
@@ -36000,14 +37117,14 @@ export declare class QueueTaskEntity extends BaseEntity<QueueTaskEntityType> {
36000
37117
  /**
36001
37118
  * * Field Name: StartedAt
36002
37119
  * * Display Name: Started At
36003
- * * SQL Data Type: datetime
37120
+ * * SQL Data Type: datetimeoffset
36004
37121
  */
36005
37122
  get StartedAt(): Date | null;
36006
37123
  set StartedAt(value: Date | null);
36007
37124
  /**
36008
37125
  * * Field Name: EndedAt
36009
37126
  * * Display Name: Ended At
36010
- * * SQL Data Type: datetime
37127
+ * * SQL Data Type: datetimeoffset
36011
37128
  */
36012
37129
  get EndedAt(): Date | null;
36013
37130
  set EndedAt(value: Date | null);
@@ -36205,7 +37322,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36205
37322
  set Description(value: string | null);
36206
37323
  /**
36207
37324
  * * Field Name: QueueTypeID
36208
- * * Display Name: Queue Type ID
37325
+ * * Display Name: Queue Type
36209
37326
  * * SQL Data Type: uniqueidentifier
36210
37327
  * * Related Entity/Foreign Key: Queue Types (vwQueueTypes.ID)
36211
37328
  */
@@ -36213,7 +37330,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36213
37330
  set QueueTypeID(value: string);
36214
37331
  /**
36215
37332
  * * Field Name: IsActive
36216
- * * Display Name: Is Active
37333
+ * * Display Name: Active
36217
37334
  * * SQL Data Type: bit
36218
37335
  * * Default Value: 0
36219
37336
  * * Description: Field IsActive for entity Queues.
@@ -36222,7 +37339,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36222
37339
  set IsActive(value: boolean);
36223
37340
  /**
36224
37341
  * * Field Name: ProcessPID
36225
- * * Display Name: Process PID
37342
+ * * Display Name: Process ID
36226
37343
  * * SQL Data Type: int
36227
37344
  * * Description: Field ProcessPID for entity Queues.
36228
37345
  */
@@ -36246,7 +37363,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36246
37363
  set ProcessVersion(value: string | null);
36247
37364
  /**
36248
37365
  * * Field Name: ProcessCwd
36249
- * * Display Name: Process Cwd
37366
+ * * Display Name: Process Working Directory
36250
37367
  * * SQL Data Type: nvarchar(100)
36251
37368
  * * Description: Field ProcessCwd for entity Queues.
36252
37369
  */
@@ -36254,7 +37371,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36254
37371
  set ProcessCwd(value: string | null);
36255
37372
  /**
36256
37373
  * * Field Name: ProcessIPAddress
36257
- * * Display Name: Process IPAddress
37374
+ * * Display Name: Process IP Address
36258
37375
  * * SQL Data Type: nvarchar(50)
36259
37376
  * * Description: Field ProcessIPAddress for entity Queues.
36260
37377
  */
@@ -36262,7 +37379,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36262
37379
  set ProcessIPAddress(value: string | null);
36263
37380
  /**
36264
37381
  * * Field Name: ProcessMacAddress
36265
- * * Display Name: Process Mac Address
37382
+ * * Display Name: Process MAC Address
36266
37383
  * * SQL Data Type: nvarchar(50)
36267
37384
  * * Description: Field ProcessMacAddress for entity Queues.
36268
37385
  */
@@ -36270,7 +37387,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36270
37387
  set ProcessMacAddress(value: string | null);
36271
37388
  /**
36272
37389
  * * Field Name: ProcessOSName
36273
- * * Display Name: Process OSName
37390
+ * * Display Name: Process OS Name
36274
37391
  * * SQL Data Type: nvarchar(25)
36275
37392
  * * Description: Field ProcessOSName for entity Queues.
36276
37393
  */
@@ -36278,7 +37395,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36278
37395
  set ProcessOSName(value: string | null);
36279
37396
  /**
36280
37397
  * * Field Name: ProcessOSVersion
36281
- * * Display Name: Process OSVersion
37398
+ * * Display Name: Process OS Version
36282
37399
  * * SQL Data Type: nvarchar(10)
36283
37400
  * * Description: Field ProcessOSVersion for entity Queues.
36284
37401
  */
@@ -36311,8 +37428,8 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36311
37428
  /**
36312
37429
  * * Field Name: LastHeartbeat
36313
37430
  * * Display Name: Last Heartbeat
36314
- * * SQL Data Type: datetime
36315
- * * Default Value: getdate()
37431
+ * * SQL Data Type: datetimeoffset
37432
+ * * Default Value: sysdatetimeoffset()
36316
37433
  * * Description: Field LastHeartbeat for entity Queues.
36317
37434
  */
36318
37435
  get LastHeartbeat(): Date;
@@ -36432,12 +37549,6 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
36432
37549
  */
36433
37550
  get __mj_UpdatedAt(): Date;
36434
37551
  /**
36435
- * * Field Name: Recommendation
36436
- * * Display Name: Recommendation
36437
- * * SQL Data Type: nvarchar(MAX)
36438
- */
36439
- get Recommendation(): string;
36440
- /**
36441
37552
  * * Field Name: DestinationEntity
36442
37553
  * * Display Name: Destination Entity
36443
37554
  * * SQL Data Type: nvarchar(255)
@@ -36539,7 +37650,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36539
37650
  set ID(value: string);
36540
37651
  /**
36541
37652
  * * Field Name: RecommendationProviderID
36542
- * * Display Name: Recommendation Provider ID
37653
+ * * Display Name: Recommendation Provider
36543
37654
  * * SQL Data Type: uniqueidentifier
36544
37655
  * * Related Entity/Foreign Key: Recommendation Providers (vwRecommendationProviders.ID)
36545
37656
  */
@@ -36548,7 +37659,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36548
37659
  /**
36549
37660
  * * Field Name: StartDate
36550
37661
  * * Display Name: Start Date
36551
- * * SQL Data Type: datetime
37662
+ * * SQL Data Type: datetimeoffset
36552
37663
  * * Description: The start date of the recommendation run
36553
37664
  */
36554
37665
  get StartDate(): Date;
@@ -36556,7 +37667,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36556
37667
  /**
36557
37668
  * * Field Name: EndDate
36558
37669
  * * Display Name: End Date
36559
- * * SQL Data Type: datetime
37670
+ * * SQL Data Type: datetimeoffset
36560
37671
  * * Description: The end date of the recommendation run
36561
37672
  */
36562
37673
  get EndDate(): Date | null;
@@ -36585,7 +37696,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36585
37696
  set Description(value: string | null);
36586
37697
  /**
36587
37698
  * * Field Name: RunByUserID
36588
- * * Display Name: Run By User ID
37699
+ * * Display Name: Run By User
36589
37700
  * * SQL Data Type: uniqueidentifier
36590
37701
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
36591
37702
  */
@@ -36689,12 +37800,6 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
36689
37800
  */
36690
37801
  get __mj_UpdatedAt(): Date;
36691
37802
  /**
36692
- * * Field Name: RecommendationRun
36693
- * * Display Name: Recommendation Run
36694
- * * SQL Data Type: nvarchar(255)
36695
- */
36696
- get RecommendationRun(): string;
36697
- /**
36698
37803
  * * Field Name: SourceEntity
36699
37804
  * * Display Name: Source Entity
36700
37805
  * * SQL Data Type: nvarchar(255)
@@ -36736,7 +37841,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36736
37841
  /**
36737
37842
  * * Field Name: StartedAt
36738
37843
  * * Display Name: Started At
36739
- * * SQL Data Type: datetime
37844
+ * * SQL Data Type: datetimeoffset
36740
37845
  * * Description: Timestamp when the replay run started
36741
37846
  */
36742
37847
  get StartedAt(): Date;
@@ -36744,7 +37849,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36744
37849
  /**
36745
37850
  * * Field Name: EndedAt
36746
37851
  * * Display Name: Ended At
36747
- * * SQL Data Type: datetime
37852
+ * * SQL Data Type: datetimeoffset
36748
37853
  * * Description: Timestamp when the replay run ended
36749
37854
  */
36750
37855
  get EndedAt(): Date | null;
@@ -36765,7 +37870,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36765
37870
  set Status(value: 'Complete' | 'Error' | 'In Progress' | 'Pending');
36766
37871
  /**
36767
37872
  * * Field Name: UserID
36768
- * * Display Name: User ID
37873
+ * * Display Name: User
36769
37874
  * * SQL Data Type: uniqueidentifier
36770
37875
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
36771
37876
  */
@@ -36979,12 +38084,6 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
36979
38084
  */
36980
38085
  get User(): string;
36981
38086
  /**
36982
- * * Field Name: ReplayRun
36983
- * * Display Name: Replay Run
36984
- * * SQL Data Type: nvarchar(100)
36985
- */
36986
- get ReplayRun(): string | null;
36987
- /**
36988
38087
  * * Field Name: Integration
36989
38088
  * * Display Name: Integration
36990
38089
  * * SQL Data Type: nvarchar(100)
@@ -37074,12 +38173,6 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
37074
38173
  * * Default Value: getutcdate()
37075
38174
  */
37076
38175
  get __mj_UpdatedAt(): Date;
37077
- /**
37078
- * * Field Name: RecordMergeLog
37079
- * * Display Name: Record Merge Log
37080
- * * SQL Data Type: nvarchar(450)
37081
- */
37082
- get RecordMergeLog(): string;
37083
38176
  }
37084
38177
  /**
37085
38178
  * Record Merge Logs - strongly typed entity sub-class
@@ -37131,7 +38224,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37131
38224
  set SurvivingRecordID(value: string);
37132
38225
  /**
37133
38226
  * * Field Name: InitiatedByUserID
37134
- * * Display Name: Initiated By User ID
38227
+ * * Display Name: Initiated By User
37135
38228
  * * SQL Data Type: uniqueidentifier
37136
38229
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
37137
38230
  */
@@ -37153,7 +38246,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37153
38246
  set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
37154
38247
  /**
37155
38248
  * * Field Name: ApprovedByUserID
37156
- * * Display Name: Approved By User ID
38249
+ * * Display Name: Approved By User
37157
38250
  * * SQL Data Type: uniqueidentifier
37158
38251
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
37159
38252
  */
@@ -37176,8 +38269,8 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37176
38269
  /**
37177
38270
  * * Field Name: ProcessingStartedAt
37178
38271
  * * Display Name: Processing Started At
37179
- * * SQL Data Type: datetime
37180
- * * Default Value: getdate()
38272
+ * * SQL Data Type: datetimeoffset
38273
+ * * Default Value: sysdatetimeoffset()
37181
38274
  * * Description: Field ProcessingStartedAt for entity Record Merge Logs.
37182
38275
  */
37183
38276
  get ProcessingStartedAt(): Date;
@@ -37185,7 +38278,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37185
38278
  /**
37186
38279
  * * Field Name: ProcessingEndedAt
37187
38280
  * * Display Name: Processing Ended At
37188
- * * SQL Data Type: datetime
38281
+ * * SQL Data Type: datetimeoffset
37189
38282
  * * Description: Field ProcessingEndedAt for entity Record Merge Logs.
37190
38283
  */
37191
38284
  get ProcessingEndedAt(): Date | null;
@@ -37227,13 +38320,13 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37227
38320
  get Entity(): string;
37228
38321
  /**
37229
38322
  * * Field Name: InitiatedByUser
37230
- * * Display Name: Initiated By User
38323
+ * * Display Name: Initiated By User Name
37231
38324
  * * SQL Data Type: nvarchar(100)
37232
38325
  */
37233
38326
  get InitiatedByUser(): string;
37234
38327
  /**
37235
38328
  * * Field Name: ApprovedByUser
37236
- * * Display Name: Approved By User
38329
+ * * Display Name: Approved By User Name
37237
38330
  * * SQL Data Type: nvarchar(100)
37238
38331
  */
37239
38332
  get ApprovedByUser(): string | null;
@@ -37632,12 +38725,6 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
37632
38725
  */
37633
38726
  get Conversation(): string | null;
37634
38727
  /**
37635
- * * Field Name: ConversationDetail
37636
- * * Display Name: Conversation Detail
37637
- * * SQL Data Type: nvarchar(MAX)
37638
- */
37639
- get ConversationDetail(): string | null;
37640
- /**
37641
38728
  * * Field Name: DataContext
37642
38729
  * * Display Name: Data Context
37643
38730
  * * SQL Data Type: nvarchar(255)
@@ -39275,12 +40362,6 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
39275
40362
  * * SQL Data Type: nvarchar(255)
39276
40363
  */
39277
40364
  get Entity(): string | null;
39278
- /**
39279
- * * Field Name: TemplateContent
39280
- * * Display Name: Template Content
39281
- * * SQL Data Type: nvarchar(255)
39282
- */
39283
- get TemplateContent(): string | null;
39284
40365
  }
39285
40366
  /**
39286
40367
  * Templates - strongly typed entity sub-class
@@ -39332,7 +40413,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39332
40413
  set Description(value: string | null);
39333
40414
  /**
39334
40415
  * * Field Name: CategoryID
39335
- * * Display Name: Category ID
40416
+ * * Display Name: Category
39336
40417
  * * SQL Data Type: uniqueidentifier
39337
40418
  * * Related Entity/Foreign Key: Template Categories (vwTemplateCategories.ID)
39338
40419
  */
@@ -39348,7 +40429,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39348
40429
  set UserPrompt(value: string | null);
39349
40430
  /**
39350
40431
  * * Field Name: UserID
39351
- * * Display Name: User ID
40432
+ * * Display Name: User
39352
40433
  * * SQL Data Type: uniqueidentifier
39353
40434
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39354
40435
  */
@@ -39357,7 +40438,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39357
40438
  /**
39358
40439
  * * Field Name: ActiveAt
39359
40440
  * * Display Name: Active At
39360
- * * SQL Data Type: datetime
40441
+ * * SQL Data Type: datetimeoffset
39361
40442
  * * Description: Optional, if provided, this template will not be available for use until the specified date. Requires IsActive to be set to 1
39362
40443
  */
39363
40444
  get ActiveAt(): Date | null;
@@ -39365,7 +40446,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39365
40446
  /**
39366
40447
  * * Field Name: DisabledAt
39367
40448
  * * Display Name: Disabled At
39368
- * * SQL Data Type: datetime
40449
+ * * SQL Data Type: datetimeoffset
39369
40450
  * * Description: Optional, if provided, this template will not be available for use after the specified date. If IsActive=0, this has no effect.
39370
40451
  */
39371
40452
  get DisabledAt(): Date | null;
@@ -39706,7 +40787,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39706
40787
  set ID(value: string);
39707
40788
  /**
39708
40789
  * * Field Name: UserID
39709
- * * Display Name: User ID
40790
+ * * Display Name: User
39710
40791
  * * SQL Data Type: uniqueidentifier
39711
40792
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39712
40793
  */
@@ -39730,7 +40811,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39730
40811
  set Message(value: string | null);
39731
40812
  /**
39732
40813
  * * Field Name: ResourceTypeID
39733
- * * Display Name: Resource Type ID
40814
+ * * Display Name: Resource Type
39734
40815
  * * SQL Data Type: uniqueidentifier
39735
40816
  * * Related Entity/Foreign Key: Resource Types (vwResourceTypes.ID)
39736
40817
  */
@@ -39756,7 +40837,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39756
40837
  /**
39757
40838
  * * Field Name: ReadAt
39758
40839
  * * Display Name: Read At
39759
- * * SQL Data Type: datetime
40840
+ * * SQL Data Type: datetimeoffset
39760
40841
  * * Description: Timestamp when the user read this notification.
39761
40842
  */
39762
40843
  get ReadAt(): Date | null;
@@ -39777,7 +40858,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39777
40858
  get __mj_UpdatedAt(): Date;
39778
40859
  /**
39779
40860
  * * Field Name: ResourceRecordID
39780
- * * Display Name: Resource Record ID
40861
+ * * Display Name: Resource Record
39781
40862
  * * SQL Data Type: uniqueidentifier
39782
40863
  * * Description: ID of the specific record this notification is about.
39783
40864
  */
@@ -39822,6 +40903,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39822
40903
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
39823
40904
  /**
39824
40905
  * * Field Name: ID
40906
+ * * Display Name: ID
39825
40907
  * * SQL Data Type: uniqueidentifier
39826
40908
  * * Default Value: newsequentialid()
39827
40909
  */
@@ -39829,7 +40911,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39829
40911
  set ID(value: string);
39830
40912
  /**
39831
40913
  * * Field Name: UserID
39832
- * * Display Name: User ID
40914
+ * * Display Name: User
39833
40915
  * * SQL Data Type: uniqueidentifier
39834
40916
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39835
40917
  */
@@ -39837,7 +40919,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39837
40919
  set UserID(value: string);
39838
40920
  /**
39839
40921
  * * Field Name: EntityID
39840
- * * Display Name: Entity ID
40922
+ * * Display Name: Entity
39841
40923
  * * SQL Data Type: uniqueidentifier
39842
40924
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
39843
40925
  */
@@ -39845,7 +40927,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39845
40927
  set EntityID(value: string);
39846
40928
  /**
39847
40929
  * * Field Name: RecordID
39848
- * * Display Name: Record
40930
+ * * Display Name: Record ID
39849
40931
  * * SQL Data Type: nvarchar(450)
39850
40932
  * * Description: The ID of the accessed record.
39851
40933
  */
@@ -39854,8 +40936,8 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39854
40936
  /**
39855
40937
  * * Field Name: EarliestAt
39856
40938
  * * Display Name: Earliest At
39857
- * * SQL Data Type: datetime
39858
- * * Default Value: getdate()
40939
+ * * SQL Data Type: datetimeoffset
40940
+ * * Default Value: sysdatetimeoffset()
39859
40941
  * * Description: Field EarliestAt for entity User Record Logs.
39860
40942
  */
39861
40943
  get EarliestAt(): Date;
@@ -39863,8 +40945,8 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39863
40945
  /**
39864
40946
  * * Field Name: LatestAt
39865
40947
  * * Display Name: Latest At
39866
- * * SQL Data Type: datetime
39867
- * * Default Value: getdate()
40948
+ * * SQL Data Type: datetimeoffset
40949
+ * * Default Value: sysdatetimeoffset()
39868
40950
  * * Description: Field LatestAt for entity User Record Logs.
39869
40951
  */
39870
40952
  get LatestAt(): Date;
@@ -39906,7 +40988,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39906
40988
  get UserName(): string;
39907
40989
  /**
39908
40990
  * * Field Name: UserFirstLast
39909
- * * Display Name: User First Last
40991
+ * * Display Name: User Full Name
39910
40992
  * * SQL Data Type: nvarchar(101)
39911
40993
  */
39912
40994
  get UserFirstLast(): string | null;
@@ -39924,7 +41006,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39924
41006
  get UserSupervisor(): string | null;
39925
41007
  /**
39926
41008
  * * Field Name: UserSupervisorEmail
39927
- * * Display Name: User Supervisor Email
41009
+ * * Display Name: Supervisor Email
39928
41010
  * * SQL Data Type: nvarchar(100)
39929
41011
  */
39930
41012
  get UserSupervisorEmail(): string | null;
@@ -40213,6 +41295,7 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40213
41295
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
40214
41296
  /**
40215
41297
  * * Field Name: ID
41298
+ * * Display Name: ID
40216
41299
  * * SQL Data Type: uniqueidentifier
40217
41300
  * * Default Value: newsequentialid()
40218
41301
  */
@@ -40220,7 +41303,7 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40220
41303
  set ID(value: string);
40221
41304
  /**
40222
41305
  * * Field Name: UserViewID
40223
- * * Display Name: User View ID
41306
+ * * Display Name: User View
40224
41307
  * * SQL Data Type: uniqueidentifier
40225
41308
  * * Related Entity/Foreign Key: User Views (vwUserViews.ID)
40226
41309
  */
@@ -40229,14 +41312,14 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40229
41312
  /**
40230
41313
  * * Field Name: RunAt
40231
41314
  * * Display Name: Run At
40232
- * * SQL Data Type: datetime
41315
+ * * SQL Data Type: datetimeoffset
40233
41316
  * * Description: Timestamp when the view was executed.
40234
41317
  */
40235
41318
  get RunAt(): Date;
40236
41319
  set RunAt(value: Date);
40237
41320
  /**
40238
41321
  * * Field Name: RunByUserID
40239
- * * Display Name: Run By User ID
41322
+ * * Display Name: Run By User
40240
41323
  * * SQL Data Type: uniqueidentifier
40241
41324
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
40242
41325
  */
@@ -40927,7 +42010,7 @@ export declare class VersionInstallationEntity extends BaseEntity<VersionInstall
40927
42010
  set PatchVersion(value: number);
40928
42011
  /**
40929
42012
  * * Field Name: Type
40930
- * * Display Name: Type
42013
+ * * Display Name: Installation Type
40931
42014
  * * SQL Data Type: nvarchar(20)
40932
42015
  * * Default Value: System
40933
42016
  * * Value List Type: List
@@ -40941,7 +42024,7 @@ export declare class VersionInstallationEntity extends BaseEntity<VersionInstall
40941
42024
  /**
40942
42025
  * * Field Name: InstalledAt
40943
42026
  * * Display Name: Installed At
40944
- * * SQL Data Type: datetime
42027
+ * * SQL Data Type: datetimeoffset
40945
42028
  * * Description: Timestamp when this version was installed.
40946
42029
  */
40947
42030
  get InstalledAt(): Date;
@@ -41100,6 +42183,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41100
42183
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
41101
42184
  /**
41102
42185
  * * Field Name: ID
42186
+ * * Display Name: ID
41103
42187
  * * SQL Data Type: uniqueidentifier
41104
42188
  * * Default Value: newsequentialid()
41105
42189
  */
@@ -41115,7 +42199,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41115
42199
  set WorkflowID(value: string);
41116
42200
  /**
41117
42201
  * * Field Name: ExternalSystemRecordID
41118
- * * Display Name: External System Record
42202
+ * * Display Name: External System Record ID
41119
42203
  * * SQL Data Type: nvarchar(500)
41120
42204
  * * Description: Field ExternalSystemRecordID for entity Workflow Runs.
41121
42205
  */
@@ -41124,19 +42208,20 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41124
42208
  /**
41125
42209
  * * Field Name: StartedAt
41126
42210
  * * Display Name: Started At
41127
- * * SQL Data Type: datetime
42211
+ * * SQL Data Type: datetimeoffset
41128
42212
  */
41129
42213
  get StartedAt(): Date;
41130
42214
  set StartedAt(value: Date);
41131
42215
  /**
41132
42216
  * * Field Name: EndedAt
41133
42217
  * * Display Name: Ended At
41134
- * * SQL Data Type: datetime
42218
+ * * SQL Data Type: datetimeoffset
41135
42219
  */
41136
42220
  get EndedAt(): Date | null;
41137
42221
  set EndedAt(value: Date | null);
41138
42222
  /**
41139
42223
  * * Field Name: Status
42224
+ * * Display Name: Status
41140
42225
  * * SQL Data Type: nchar(10)
41141
42226
  * * Default Value: Pending
41142
42227
  * * Value List Type: List
@@ -41150,6 +42235,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41150
42235
  set Status(value: 'Complete' | 'Failed' | 'In Progress' | 'Pending');
41151
42236
  /**
41152
42237
  * * Field Name: Results
42238
+ * * Display Name: Results
41153
42239
  * * SQL Data Type: nvarchar(MAX)
41154
42240
  * * Description: JSON-formatted detailed results from the workflow execution, including outputs from each step and any error information.
41155
42241
  */
@@ -41171,13 +42257,13 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41171
42257
  get __mj_UpdatedAt(): Date;
41172
42258
  /**
41173
42259
  * * Field Name: Workflow
41174
- * * Display Name: Workflow
42260
+ * * Display Name: Workflow Name
41175
42261
  * * SQL Data Type: nvarchar(100)
41176
42262
  */
41177
42263
  get Workflow(): string;
41178
42264
  /**
41179
42265
  * * Field Name: WorkflowEngineName
41180
- * * Display Name: Workflow Engine Name
42266
+ * * Display Name: Workflow Engine
41181
42267
  * * SQL Data Type: nvarchar(100)
41182
42268
  */
41183
42269
  get WorkflowEngineName(): string;