@memberjunction/core-entities 2.127.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 +1523 -418
  25. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  26. package/dist/generated/entity_subclasses.js +2883 -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
  */
@@ -6115,6 +6129,7 @@ export declare const AIPromptModelSchema: z.ZodObject<{
6115
6129
  ParallelConfigParam: z.ZodNullable<z.ZodString>;
6116
6130
  __mj_CreatedAt: z.ZodDate;
6117
6131
  __mj_UpdatedAt: z.ZodDate;
6132
+ EffortLevel: z.ZodNullable<z.ZodNumber>;
6118
6133
  Prompt: z.ZodString;
6119
6134
  Model: z.ZodString;
6120
6135
  Vendor: z.ZodNullable<z.ZodString>;
@@ -6131,6 +6146,7 @@ export declare const AIPromptModelSchema: z.ZodObject<{
6131
6146
  ParallelizationMode?: "None" | "ConfigParam" | "StaticCount";
6132
6147
  ParallelCount?: number;
6133
6148
  ParallelConfigParam?: string;
6149
+ EffortLevel?: number;
6134
6150
  VendorID?: string;
6135
6151
  ConfigurationID?: string;
6136
6152
  Configuration?: string;
@@ -6150,6 +6166,7 @@ export declare const AIPromptModelSchema: z.ZodObject<{
6150
6166
  ParallelizationMode?: "None" | "ConfigParam" | "StaticCount";
6151
6167
  ParallelCount?: number;
6152
6168
  ParallelConfigParam?: string;
6169
+ EffortLevel?: number;
6153
6170
  VendorID?: string;
6154
6171
  ConfigurationID?: string;
6155
6172
  Configuration?: string;
@@ -6258,6 +6275,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6258
6275
  RerunFromPromptRun: z.ZodNullable<z.ZodString>;
6259
6276
  Judge: z.ZodNullable<z.ZodString>;
6260
6277
  ChildPrompt: z.ZodNullable<z.ZodString>;
6278
+ TestRun: z.ZodNullable<z.ZodString>;
6261
6279
  RootParentID: z.ZodNullable<z.ZodString>;
6262
6280
  RootRerunFromPromptRunID: z.ZodNullable<z.ZodString>;
6263
6281
  }, "strip", z.ZodTypeAny, {
@@ -6298,11 +6316,11 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6298
6316
  Prompt?: string;
6299
6317
  CompletionTime?: number;
6300
6318
  TestRunID?: string;
6319
+ TestRun?: string;
6301
6320
  PromptID?: string;
6302
6321
  AgentRunID?: string;
6303
6322
  Cancelled?: boolean;
6304
6323
  CompletedAt?: Date;
6305
- AgentRun?: string;
6306
6324
  Result?: string;
6307
6325
  TotalCost?: number;
6308
6326
  CancellationReason?: string;
@@ -6353,6 +6371,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6353
6371
  QueueTime?: number;
6354
6372
  PromptTime?: number;
6355
6373
  ModelSpecificResponseDetails?: string;
6374
+ AgentRun?: string;
6356
6375
  OriginalModel?: string;
6357
6376
  RerunFromPromptRun?: string;
6358
6377
  Judge?: string;
@@ -6396,11 +6415,11 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6396
6415
  Prompt?: string;
6397
6416
  CompletionTime?: number;
6398
6417
  TestRunID?: string;
6418
+ TestRun?: string;
6399
6419
  PromptID?: string;
6400
6420
  AgentRunID?: string;
6401
6421
  Cancelled?: boolean;
6402
6422
  CompletedAt?: Date;
6403
- AgentRun?: string;
6404
6423
  Result?: string;
6405
6424
  TotalCost?: number;
6406
6425
  CancellationReason?: string;
@@ -6451,6 +6470,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
6451
6470
  QueueTime?: number;
6452
6471
  PromptTime?: number;
6453
6472
  ModelSpecificResponseDetails?: string;
6473
+ AgentRun?: string;
6454
6474
  OriginalModel?: string;
6455
6475
  RerunFromPromptRun?: string;
6456
6476
  Judge?: string;
@@ -6525,18 +6545,24 @@ export declare const AIVendorSchema: z.ZodObject<{
6525
6545
  Description: z.ZodNullable<z.ZodString>;
6526
6546
  __mj_CreatedAt: z.ZodDate;
6527
6547
  __mj_UpdatedAt: z.ZodDate;
6548
+ CredentialTypeID: z.ZodNullable<z.ZodString>;
6549
+ CredentialType: z.ZodNullable<z.ZodString>;
6528
6550
  }, "strip", z.ZodTypeAny, {
6529
6551
  ID?: string;
6530
6552
  __mj_CreatedAt?: Date;
6531
6553
  __mj_UpdatedAt?: Date;
6532
6554
  Name?: string;
6533
6555
  Description?: string;
6556
+ CredentialTypeID?: string;
6557
+ CredentialType?: string;
6534
6558
  }, {
6535
6559
  ID?: string;
6536
6560
  __mj_CreatedAt?: Date;
6537
6561
  __mj_UpdatedAt?: Date;
6538
6562
  Name?: string;
6539
6563
  Description?: string;
6564
+ CredentialTypeID?: string;
6565
+ CredentialType?: string;
6540
6566
  }>;
6541
6567
  export type AIVendorEntityType = z.infer<typeof AIVendorSchema>;
6542
6568
  /**
@@ -7294,7 +7320,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7294
7320
  Direction: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
7295
7321
  __mj_CreatedAt: z.ZodDate;
7296
7322
  __mj_UpdatedAt: z.ZodDate;
7297
- ConversationDetail: z.ZodString;
7298
7323
  ArtifactVersion: z.ZodNullable<z.ZodString>;
7299
7324
  }, "strip", z.ZodTypeAny, {
7300
7325
  ID?: string;
@@ -7304,7 +7329,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7304
7329
  ArtifactVersionID?: string;
7305
7330
  ArtifactVersion?: string;
7306
7331
  ConversationDetailID?: string;
7307
- ConversationDetail?: string;
7308
7332
  }, {
7309
7333
  ID?: string;
7310
7334
  __mj_CreatedAt?: Date;
@@ -7313,7 +7337,6 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
7313
7337
  ArtifactVersionID?: string;
7314
7338
  ArtifactVersion?: string;
7315
7339
  ConversationDetailID?: string;
7316
- ConversationDetail?: string;
7317
7340
  }>;
7318
7341
  export type ConversationDetailArtifactEntityType = z.infer<typeof ConversationDetailArtifactSchema>;
7319
7342
  /**
@@ -7327,7 +7350,6 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7327
7350
  Comments: z.ZodNullable<z.ZodString>;
7328
7351
  __mj_CreatedAt: z.ZodDate;
7329
7352
  __mj_UpdatedAt: z.ZodDate;
7330
- ConversationDetail: z.ZodString;
7331
7353
  User: z.ZodString;
7332
7354
  }, "strip", z.ZodTypeAny, {
7333
7355
  ID?: string;
@@ -7337,7 +7359,6 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7337
7359
  UserID?: string;
7338
7360
  User?: string;
7339
7361
  ConversationDetailID?: string;
7340
- ConversationDetail?: string;
7341
7362
  Rating?: number;
7342
7363
  }, {
7343
7364
  ID?: string;
@@ -7347,10 +7368,135 @@ export declare const ConversationDetailRatingSchema: z.ZodObject<{
7347
7368
  UserID?: string;
7348
7369
  User?: string;
7349
7370
  ConversationDetailID?: string;
7350
- ConversationDetail?: string;
7351
7371
  Rating?: number;
7352
7372
  }>;
7353
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>;
7354
7500
  /**
7355
7501
  * zod schema definition for the entity MJ: Dashboard User Preferences
7356
7502
  */
@@ -7424,6 +7570,138 @@ export declare const DashboardUserStateSchema: z.ZodObject<{
7424
7570
  UserState?: string;
7425
7571
  }>;
7426
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>;
7427
7705
  /**
7428
7706
  * zod schema definition for the entity MJ: Environments
7429
7707
  */
@@ -7977,7 +8255,6 @@ export declare const TaskSchema: z.ZodObject<{
7977
8255
  Type: z.ZodString;
7978
8256
  Environment: z.ZodString;
7979
8257
  Project: z.ZodNullable<z.ZodString>;
7980
- ConversationDetail: z.ZodNullable<z.ZodString>;
7981
8258
  User: z.ZodNullable<z.ZodString>;
7982
8259
  Agent: z.ZodNullable<z.ZodString>;
7983
8260
  RootParentID: z.ZodNullable<z.ZodString>;
@@ -8004,7 +8281,6 @@ export declare const TaskSchema: z.ZodObject<{
8004
8281
  Project?: string;
8005
8282
  CompletedAt?: Date;
8006
8283
  ConversationDetailID?: string;
8007
- ConversationDetail?: string;
8008
8284
  PercentComplete?: number;
8009
8285
  DueAt?: Date;
8010
8286
  }, {
@@ -8030,7 +8306,6 @@ export declare const TaskSchema: z.ZodObject<{
8030
8306
  Project?: string;
8031
8307
  CompletedAt?: Date;
8032
8308
  ConversationDetailID?: string;
8033
- ConversationDetail?: string;
8034
8309
  PercentComplete?: number;
8035
8310
  DueAt?: Date;
8036
8311
  }>;
@@ -8090,6 +8365,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8090
8365
  ReviewedAt: z.ZodDate;
8091
8366
  __mj_CreatedAt: z.ZodDate;
8092
8367
  __mj_UpdatedAt: z.ZodDate;
8368
+ TestRun: z.ZodString;
8093
8369
  ReviewerUser: z.ZodString;
8094
8370
  }, "strip", z.ZodTypeAny, {
8095
8371
  ID?: string;
@@ -8097,6 +8373,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8097
8373
  __mj_CreatedAt?: Date;
8098
8374
  __mj_UpdatedAt?: Date;
8099
8375
  TestRunID?: string;
8376
+ TestRun?: string;
8100
8377
  Rating?: number;
8101
8378
  ReviewerUserID?: string;
8102
8379
  IsCorrect?: boolean;
@@ -8109,6 +8386,7 @@ export declare const TestRunFeedbackSchema: z.ZodObject<{
8109
8386
  __mj_CreatedAt?: Date;
8110
8387
  __mj_UpdatedAt?: Date;
8111
8388
  TestRunID?: string;
8389
+ TestRun?: string;
8112
8390
  Rating?: number;
8113
8391
  ReviewerUserID?: string;
8114
8392
  IsCorrect?: boolean;
@@ -8145,6 +8423,7 @@ export declare const TestRunSchema: z.ZodObject<{
8145
8423
  __mj_CreatedAt: z.ZodDate;
8146
8424
  __mj_UpdatedAt: z.ZodDate;
8147
8425
  Test: z.ZodString;
8426
+ TestSuiteRun: z.ZodNullable<z.ZodString>;
8148
8427
  RunByUser: z.ZodString;
8149
8428
  }, "strip", z.ZodTypeAny, {
8150
8429
  ID?: string;
@@ -8172,6 +8451,7 @@ export declare const TestRunSchema: z.ZodObject<{
8172
8451
  CostUSD?: number;
8173
8452
  ResultDetails?: string;
8174
8453
  Test?: string;
8454
+ TestSuiteRun?: string;
8175
8455
  }, {
8176
8456
  ID?: string;
8177
8457
  __mj_CreatedAt?: Date;
@@ -8198,6 +8478,7 @@ export declare const TestRunSchema: z.ZodObject<{
8198
8478
  CostUSD?: number;
8199
8479
  ResultDetails?: string;
8200
8480
  Test?: string;
8481
+ TestSuiteRun?: string;
8201
8482
  }>;
8202
8483
  export type TestRunEntityType = z.infer<typeof TestRunSchema>;
8203
8484
  /**
@@ -8570,6 +8851,7 @@ export declare const QuerySchema: z.ZodObject<{
8570
8851
  CacheMaxSize: z.ZodNullable<z.ZodNumber>;
8571
8852
  EmbeddingVector: z.ZodNullable<z.ZodString>;
8572
8853
  EmbeddingModelID: z.ZodNullable<z.ZodString>;
8854
+ CacheValidationSQL: z.ZodNullable<z.ZodString>;
8573
8855
  Category: z.ZodNullable<z.ZodString>;
8574
8856
  EmbeddingModel: z.ZodNullable<z.ZodString>;
8575
8857
  }, "strip", z.ZodTypeAny, {
@@ -8596,6 +8878,7 @@ export declare const QuerySchema: z.ZodObject<{
8596
8878
  CacheEnabled?: boolean;
8597
8879
  CacheTTLMinutes?: number;
8598
8880
  CacheMaxSize?: number;
8881
+ CacheValidationSQL?: string;
8599
8882
  }, {
8600
8883
  ID?: string;
8601
8884
  __mj_CreatedAt?: Date;
@@ -8620,6 +8903,7 @@ export declare const QuerySchema: z.ZodObject<{
8620
8903
  CacheEnabled?: boolean;
8621
8904
  CacheTTLMinutes?: number;
8622
8905
  CacheMaxSize?: number;
8906
+ CacheValidationSQL?: string;
8623
8907
  }>;
8624
8908
  export type QueryEntityType = z.infer<typeof QuerySchema>;
8625
8909
  /**
@@ -8959,7 +9243,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8959
9243
  MatchProbability: z.ZodNullable<z.ZodNumber>;
8960
9244
  __mj_CreatedAt: z.ZodDate;
8961
9245
  __mj_UpdatedAt: z.ZodDate;
8962
- Recommendation: z.ZodString;
8963
9246
  DestinationEntity: z.ZodString;
8964
9247
  }, "strip", z.ZodTypeAny, {
8965
9248
  ID?: string;
@@ -8969,7 +9252,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8969
9252
  RecommendationID?: string;
8970
9253
  DestinationEntityID?: string;
8971
9254
  DestinationEntityRecordID?: string;
8972
- Recommendation?: string;
8973
9255
  DestinationEntity?: string;
8974
9256
  }, {
8975
9257
  ID?: string;
@@ -8979,7 +9261,6 @@ export declare const RecommendationItemSchema: z.ZodObject<{
8979
9261
  RecommendationID?: string;
8980
9262
  DestinationEntityID?: string;
8981
9263
  DestinationEntityRecordID?: string;
8982
- Recommendation?: string;
8983
9264
  DestinationEntity?: string;
8984
9265
  }>;
8985
9266
  export type RecommendationItemEntityType = z.infer<typeof RecommendationItemSchema>;
@@ -9057,7 +9338,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9057
9338
  SourceEntityRecordID: z.ZodString;
9058
9339
  __mj_CreatedAt: z.ZodDate;
9059
9340
  __mj_UpdatedAt: z.ZodDate;
9060
- RecommendationRun: z.ZodString;
9061
9341
  SourceEntity: z.ZodString;
9062
9342
  }, "strip", z.ZodTypeAny, {
9063
9343
  ID?: string;
@@ -9067,7 +9347,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9067
9347
  SourceEntity?: string;
9068
9348
  RecommendationRunID?: string;
9069
9349
  SourceEntityRecordID?: string;
9070
- RecommendationRun?: string;
9071
9350
  }, {
9072
9351
  ID?: string;
9073
9352
  __mj_CreatedAt?: Date;
@@ -9076,7 +9355,6 @@ export declare const RecommendationSchema: z.ZodObject<{
9076
9355
  SourceEntity?: string;
9077
9356
  RecommendationRunID?: string;
9078
9357
  SourceEntityRecordID?: string;
9079
- RecommendationRun?: string;
9080
9358
  }>;
9081
9359
  export type RecommendationEntityType = z.infer<typeof RecommendationSchema>;
9082
9360
  /**
@@ -9134,7 +9412,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9134
9412
  UpdatedAt: z.ZodDate;
9135
9413
  Entity: z.ZodString;
9136
9414
  User: z.ZodString;
9137
- ReplayRun: z.ZodNullable<z.ZodString>;
9138
9415
  Integration: z.ZodNullable<z.ZodString>;
9139
9416
  }, "strip", z.ZodTypeAny, {
9140
9417
  ID?: string;
@@ -9157,7 +9434,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9157
9434
  ReplayRunID?: string;
9158
9435
  CreatedAt?: Date;
9159
9436
  UpdatedAt?: Date;
9160
- ReplayRun?: string;
9161
9437
  }, {
9162
9438
  ID?: string;
9163
9439
  Comments?: string;
@@ -9179,7 +9455,6 @@ export declare const RecordChangeSchema: z.ZodObject<{
9179
9455
  ReplayRunID?: string;
9180
9456
  CreatedAt?: Date;
9181
9457
  UpdatedAt?: Date;
9182
- ReplayRun?: string;
9183
9458
  }>;
9184
9459
  export type RecordChangeEntityType = z.infer<typeof RecordChangeSchema>;
9185
9460
  /**
@@ -9193,14 +9468,12 @@ export declare const RecordMergeDeletionLogSchema: z.ZodObject<{
9193
9468
  ProcessingLog: z.ZodNullable<z.ZodString>;
9194
9469
  __mj_CreatedAt: z.ZodDate;
9195
9470
  __mj_UpdatedAt: z.ZodDate;
9196
- RecordMergeLog: z.ZodString;
9197
9471
  }, "strip", z.ZodTypeAny, {
9198
9472
  ID?: string;
9199
9473
  __mj_CreatedAt?: Date;
9200
9474
  __mj_UpdatedAt?: Date;
9201
9475
  Status?: "Pending" | "Complete" | "Error";
9202
9476
  RecordMergeLogID?: string;
9203
- RecordMergeLog?: string;
9204
9477
  DeletedRecordID?: string;
9205
9478
  ProcessingLog?: string;
9206
9479
  }, {
@@ -9209,7 +9482,6 @@ export declare const RecordMergeDeletionLogSchema: z.ZodObject<{
9209
9482
  __mj_UpdatedAt?: Date;
9210
9483
  Status?: "Pending" | "Complete" | "Error";
9211
9484
  RecordMergeLogID?: string;
9212
- RecordMergeLog?: string;
9213
9485
  DeletedRecordID?: string;
9214
9486
  ProcessingLog?: string;
9215
9487
  }>;
@@ -9367,7 +9639,6 @@ export declare const ReportSchema: z.ZodObject<{
9367
9639
  Category: z.ZodNullable<z.ZodString>;
9368
9640
  User: z.ZodString;
9369
9641
  Conversation: z.ZodNullable<z.ZodString>;
9370
- ConversationDetail: z.ZodNullable<z.ZodString>;
9371
9642
  DataContext: z.ZodNullable<z.ZodString>;
9372
9643
  OutputTriggerType: z.ZodNullable<z.ZodString>;
9373
9644
  OutputFormatType: z.ZodNullable<z.ZodString>;
@@ -9393,7 +9664,6 @@ export declare const ReportSchema: z.ZodObject<{
9393
9664
  Environment?: string;
9394
9665
  Thumbnail?: string;
9395
9666
  ConversationDetailID?: string;
9396
- ConversationDetail?: string;
9397
9667
  SharingScope?: "None" | "Specific" | "Everyone";
9398
9668
  OutputTriggerTypeID?: string;
9399
9669
  OutputFormatTypeID?: string;
@@ -9424,7 +9694,6 @@ export declare const ReportSchema: z.ZodObject<{
9424
9694
  Environment?: string;
9425
9695
  Thumbnail?: string;
9426
9696
  ConversationDetailID?: string;
9427
- ConversationDetail?: string;
9428
9697
  SharingScope?: "None" | "Specific" | "Everyone";
9429
9698
  OutputTriggerTypeID?: string;
9430
9699
  OutputFormatTypeID?: string;
@@ -9977,7 +10246,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
9977
10246
  TemplateContentID: z.ZodNullable<z.ZodString>;
9978
10247
  Template: z.ZodString;
9979
10248
  Entity: z.ZodNullable<z.ZodString>;
9980
- TemplateContent: z.ZodNullable<z.ZodString>;
9981
10249
  }, "strip", z.ZodTypeAny, {
9982
10250
  ID?: string;
9983
10251
  __mj_CreatedAt?: Date;
@@ -9997,7 +10265,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
9997
10265
  LinkedParameterName?: string;
9998
10266
  LinkedParameterField?: string;
9999
10267
  TemplateContentID?: string;
10000
- TemplateContent?: string;
10001
10268
  }, {
10002
10269
  ID?: string;
10003
10270
  __mj_CreatedAt?: Date;
@@ -10017,7 +10284,6 @@ export declare const TemplateParamSchema: z.ZodObject<{
10017
10284
  LinkedParameterName?: string;
10018
10285
  LinkedParameterField?: string;
10019
10286
  TemplateContentID?: string;
10020
- TemplateContent?: string;
10021
10287
  }>;
10022
10288
  export type TemplateParamEntityType = z.infer<typeof TemplateParamSchema>;
10023
10289
  /**
@@ -11742,7 +12008,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11742
12008
  set ID(value: string);
11743
12009
  /**
11744
12010
  * * Field Name: CategoryID
11745
- * * Display Name: Category ID
12011
+ * * Display Name: Category
11746
12012
  * * SQL Data Type: uniqueidentifier
11747
12013
  * * Related Entity/Foreign Key: Action Categories (vwActionCategories.ID)
11748
12014
  */
@@ -11832,7 +12098,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11832
12098
  set CodeApprovalComments(value: string | null);
11833
12099
  /**
11834
12100
  * * Field Name: CodeApprovedByUserID
11835
- * * Display Name: Code Approved By User ID
12101
+ * * Display Name: Code Approved By
11836
12102
  * * SQL Data Type: uniqueidentifier
11837
12103
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
11838
12104
  */
@@ -11841,7 +12107,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11841
12107
  /**
11842
12108
  * * Field Name: CodeApprovedAt
11843
12109
  * * Display Name: Code Approved At
11844
- * * SQL Data Type: datetime
12110
+ * * SQL Data Type: datetimeoffset
11845
12111
  * * Description: When the code was approved.
11846
12112
  */
11847
12113
  get CodeApprovedAt(): Date | null;
@@ -11888,14 +12154,14 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11888
12154
  set Status(value: 'Active' | 'Disabled' | 'Pending');
11889
12155
  /**
11890
12156
  * * Field Name: __mj_CreatedAt
11891
- * * Display Name: __mj _Created At
12157
+ * * Display Name: Created At
11892
12158
  * * SQL Data Type: datetimeoffset
11893
12159
  * * Default Value: getutcdate()
11894
12160
  */
11895
12161
  get __mj_CreatedAt(): Date;
11896
12162
  /**
11897
12163
  * * Field Name: __mj_UpdatedAt
11898
- * * Display Name: __mj _Updated At
12164
+ * * Display Name: Updated At
11899
12165
  * * SQL Data Type: datetimeoffset
11900
12166
  * * Default Value: getutcdate()
11901
12167
  */
@@ -11910,7 +12176,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11910
12176
  set DriverClass(value: string | null);
11911
12177
  /**
11912
12178
  * * Field Name: ParentID
11913
- * * Display Name: Parent ID
12179
+ * * Display Name: Parent
11914
12180
  * * SQL Data Type: uniqueidentifier
11915
12181
  * * Related Entity/Foreign Key: Actions (vwActions.ID)
11916
12182
  * * Description: Optional ID of the parent action this action inherits from. Used for hierarchical action composition where child actions can specialize parent actions.
@@ -11927,7 +12193,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11927
12193
  set IconClass(value: string | null);
11928
12194
  /**
11929
12195
  * * Field Name: DefaultCompactPromptID
11930
- * * Display Name: Default Compact Prompt ID
12196
+ * * Display Name: Default Compact Prompt
11931
12197
  * * SQL Data Type: uniqueidentifier
11932
12198
  * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
11933
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.
@@ -11960,7 +12226,7 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
11960
12226
  get DefaultCompactPrompt(): string | null;
11961
12227
  /**
11962
12228
  * * Field Name: RootParentID
11963
- * * Display Name: Root Parent ID
12229
+ * * Display Name: Root Parent
11964
12230
  * * SQL Data Type: uniqueidentifier
11965
12231
  */
11966
12232
  get RootParentID(): string | null;
@@ -12777,18 +13043,6 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
12777
13043
  */
12778
13044
  get SourceConversation(): string | null;
12779
13045
  /**
12780
- * * Field Name: SourceConversationDetail
12781
- * * Display Name: Source Conversation Detail
12782
- * * SQL Data Type: nvarchar(MAX)
12783
- */
12784
- get SourceConversationDetail(): string | null;
12785
- /**
12786
- * * Field Name: SourceAIAgentRun
12787
- * * Display Name: Source AI Agent Run
12788
- * * SQL Data Type: nvarchar(255)
12789
- */
12790
- get SourceAIAgentRun(): string | null;
12791
- /**
12792
13046
  * * Field Name: Company
12793
13047
  * * Display Name: Company
12794
13048
  * * SQL Data Type: nvarchar(50)
@@ -12836,7 +13090,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12836
13090
  set ID(value: string);
12837
13091
  /**
12838
13092
  * * Field Name: AgentID
12839
- * * Display Name: Agent ID
13093
+ * * Display Name: Agent
12840
13094
  * * SQL Data Type: uniqueidentifier
12841
13095
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
12842
13096
  * * Description: Foreign key referencing the ID column in the AIAgent table.
@@ -12846,14 +13100,14 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12846
13100
  /**
12847
13101
  * * Field Name: RequestedAt
12848
13102
  * * Display Name: Requested At
12849
- * * SQL Data Type: datetime
13103
+ * * SQL Data Type: datetimeoffset
12850
13104
  * * Description: Timestamp when the request was made by the agent.
12851
13105
  */
12852
13106
  get RequestedAt(): Date;
12853
13107
  set RequestedAt(value: Date);
12854
13108
  /**
12855
13109
  * * Field Name: RequestForUserID
12856
- * * Display Name: Request For User ID
13110
+ * * Display Name: Request For User
12857
13111
  * * SQL Data Type: uniqueidentifier
12858
13112
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
12859
13113
  * * Description: Optional, a user that the AI specifically is directing the request to, if null intended for general system owner.
@@ -12892,7 +13146,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12892
13146
  set Response(value: string | null);
12893
13147
  /**
12894
13148
  * * Field Name: ResponseByUserID
12895
- * * Display Name: Response By User ID
13149
+ * * Display Name: Response By User
12896
13150
  * * SQL Data Type: uniqueidentifier
12897
13151
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
12898
13152
  * * Description: Populated when a user responds indicating which user responded to the request.
@@ -12902,7 +13156,7 @@ export declare class AIAgentRequestEntity extends BaseEntity<AIAgentRequestEntit
12902
13156
  /**
12903
13157
  * * Field Name: RespondedAt
12904
13158
  * * Display Name: Responded At
12905
- * * SQL Data Type: datetime
13159
+ * * SQL Data Type: datetimeoffset
12906
13160
  * * Description: Timestamp when the response was provided by the human.
12907
13161
  */
12908
13162
  get RespondedAt(): Date | null;
@@ -14887,12 +15141,6 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
14887
15141
  * * SQL Data Type: nvarchar(100)
14888
15142
  */
14889
15143
  get Configuration(): string | null;
14890
- /**
14891
- * * Field Name: PromptRun
14892
- * * Display Name: Prompt Run
14893
- * * SQL Data Type: nvarchar(255)
14894
- */
14895
- get PromptRun(): string | null;
14896
15144
  }
14897
15145
  /**
14898
15146
  * Application Entities - strongly typed entity sub-class
@@ -15819,7 +16067,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15819
16067
  set ID(value: string);
15820
16068
  /**
15821
16069
  * * Field Name: CommunicationProviderID
15822
- * * Display Name: Communication Provider ID
16070
+ * * Display Name: Communication Provider
15823
16071
  * * SQL Data Type: uniqueidentifier
15824
16072
  * * Related Entity/Foreign Key: Communication Providers (vwCommunicationProviders.ID)
15825
16073
  */
@@ -15827,7 +16075,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15827
16075
  set CommunicationProviderID(value: string);
15828
16076
  /**
15829
16077
  * * Field Name: CommunicationProviderMessageTypeID
15830
- * * Display Name: Communication Provider Message Type ID
16078
+ * * Display Name: Communication Provider Message Type
15831
16079
  * * SQL Data Type: uniqueidentifier
15832
16080
  * * Related Entity/Foreign Key: Communication Provider Message Types (vwCommunicationProviderMessageTypes.ID)
15833
16081
  */
@@ -15835,7 +16083,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15835
16083
  set CommunicationProviderMessageTypeID(value: string);
15836
16084
  /**
15837
16085
  * * Field Name: CommunicationRunID
15838
- * * Display Name: Communication Run ID
16086
+ * * Display Name: Communication Run
15839
16087
  * * SQL Data Type: uniqueidentifier
15840
16088
  * * Related Entity/Foreign Key: Communication Runs (vwCommunicationRuns.ID)
15841
16089
  */
@@ -15856,7 +16104,7 @@ export declare class CommunicationLogEntity extends BaseEntity<CommunicationLogE
15856
16104
  /**
15857
16105
  * * Field Name: MessageDate
15858
16106
  * * Display Name: Message Date
15859
- * * SQL Data Type: datetime
16107
+ * * SQL Data Type: datetimeoffset
15860
16108
  * * Description: The date and time when the message was logged.
15861
16109
  */
15862
16110
  get MessageDate(): Date;
@@ -16240,14 +16488,14 @@ export declare class CommunicationRunEntity extends BaseEntity<CommunicationRunE
16240
16488
  /**
16241
16489
  * * Field Name: StartedAt
16242
16490
  * * Display Name: Started At
16243
- * * SQL Data Type: datetime
16491
+ * * SQL Data Type: datetimeoffset
16244
16492
  */
16245
16493
  get StartedAt(): Date | null;
16246
16494
  set StartedAt(value: Date | null);
16247
16495
  /**
16248
16496
  * * Field Name: EndedAt
16249
16497
  * * Display Name: Ended At
16250
- * * SQL Data Type: datetime
16498
+ * * SQL Data Type: datetimeoffset
16251
16499
  */
16252
16500
  get EndedAt(): Date | null;
16253
16501
  set EndedAt(value: Date | null);
@@ -16485,6 +16733,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16485
16733
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16486
16734
  /**
16487
16735
  * * Field Name: ID
16736
+ * * Display Name: ID
16488
16737
  * * SQL Data Type: uniqueidentifier
16489
16738
  * * Default Value: newsequentialid()
16490
16739
  */
@@ -16492,7 +16741,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16492
16741
  set ID(value: string);
16493
16742
  /**
16494
16743
  * * Field Name: CompanyIntegrationRunID
16495
- * * Display Name: Company Integration Run ID
16744
+ * * Display Name: Company Integration Run
16496
16745
  * * SQL Data Type: uniqueidentifier
16497
16746
  * * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
16498
16747
  */
@@ -16501,15 +16750,15 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16501
16750
  /**
16502
16751
  * * Field Name: ExecutedAt
16503
16752
  * * Display Name: Executed At
16504
- * * SQL Data Type: datetime
16505
- * * Default Value: getdate()
16753
+ * * SQL Data Type: datetimeoffset
16754
+ * * Default Value: sysdatetimeoffset()
16506
16755
  * * Description: Timestamp when this API call was executed during the integration run.
16507
16756
  */
16508
16757
  get ExecutedAt(): Date;
16509
16758
  set ExecutedAt(value: Date);
16510
16759
  /**
16511
16760
  * * Field Name: IsSuccess
16512
- * * Display Name: Is Success
16761
+ * * Display Name: Success
16513
16762
  * * SQL Data Type: bit
16514
16763
  * * Default Value: 0
16515
16764
  * * Description: Indicates whether the API call completed successfully or encountered an error.
@@ -16535,6 +16784,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16535
16784
  set RequestMethod(value: 'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT' | null);
16536
16785
  /**
16537
16786
  * * Field Name: URL
16787
+ * * Display Name: URL
16538
16788
  * * SQL Data Type: nvarchar(MAX)
16539
16789
  * * Description: The complete URL that was called, including query parameters.
16540
16790
  */
@@ -16542,6 +16792,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity<Compan
16542
16792
  set URL(value: string | null);
16543
16793
  /**
16544
16794
  * * Field Name: Parameters
16795
+ * * Display Name: Parameters
16545
16796
  * * SQL Data Type: nvarchar(MAX)
16546
16797
  * * Description: JSON-formatted request body or parameters sent with the API call.
16547
16798
  */
@@ -16594,6 +16845,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16594
16845
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16595
16846
  /**
16596
16847
  * * Field Name: ID
16848
+ * * Display Name: ID
16597
16849
  * * SQL Data Type: uniqueidentifier
16598
16850
  * * Default Value: newsequentialid()
16599
16851
  */
@@ -16601,7 +16853,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16601
16853
  set ID(value: string);
16602
16854
  /**
16603
16855
  * * Field Name: CompanyIntegrationRunID
16604
- * * Display Name: CompanyIntegrationRun ID
16856
+ * * Display Name: Company Integration Run
16605
16857
  * * SQL Data Type: uniqueidentifier
16606
16858
  * * Related Entity/Foreign Key: Company Integration Runs (vwCompanyIntegrationRuns.ID)
16607
16859
  */
@@ -16617,7 +16869,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16617
16869
  set EntityID(value: string);
16618
16870
  /**
16619
16871
  * * Field Name: RecordID
16620
- * * Display Name: Record
16872
+ * * Display Name: Record ID
16621
16873
  * * SQL Data Type: nvarchar(450)
16622
16874
  * * Description: The ID of the specific record being processed in this integration operation.
16623
16875
  */
@@ -16625,6 +16877,7 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16625
16877
  set RecordID(value: string);
16626
16878
  /**
16627
16879
  * * Field Name: Action
16880
+ * * Display Name: Action
16628
16881
  * * SQL Data Type: nchar(20)
16629
16882
  * * Description: The type of operation performed (INSERT, UPDATE, DELETE, SYNC).
16630
16883
  */
@@ -16633,15 +16886,15 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16633
16886
  /**
16634
16887
  * * Field Name: ExecutedAt
16635
16888
  * * Display Name: Executed At
16636
- * * SQL Data Type: datetime
16637
- * * Default Value: getdate()
16889
+ * * SQL Data Type: datetimeoffset
16890
+ * * Default Value: sysdatetimeoffset()
16638
16891
  * * Description: Timestamp when this specific record operation was executed.
16639
16892
  */
16640
16893
  get ExecutedAt(): Date;
16641
16894
  set ExecutedAt(value: Date);
16642
16895
  /**
16643
16896
  * * Field Name: IsSuccess
16644
- * * Display Name: Is Success
16897
+ * * Display Name: Success
16645
16898
  * * SQL Data Type: bit
16646
16899
  * * Default Value: 0
16647
16900
  * * Description: Indicates whether this individual record operation succeeded or failed.
@@ -16664,19 +16917,20 @@ export declare class CompanyIntegrationRunDetailEntity extends BaseEntity<Compan
16664
16917
  get __mj_UpdatedAt(): Date;
16665
16918
  /**
16666
16919
  * * Field Name: Entity
16920
+ * * Display Name: Entity
16667
16921
  * * SQL Data Type: nvarchar(255)
16668
16922
  */
16669
16923
  get Entity(): string;
16670
16924
  /**
16671
16925
  * * Field Name: RunStartedAt
16672
16926
  * * Display Name: Run Started At
16673
- * * SQL Data Type: datetime
16927
+ * * SQL Data Type: datetimeoffset
16674
16928
  */
16675
16929
  get RunStartedAt(): Date | null;
16676
16930
  /**
16677
16931
  * * Field Name: RunEndedAt
16678
16932
  * * Display Name: Run Ended At
16679
- * * SQL Data Type: datetime
16933
+ * * SQL Data Type: datetimeoffset
16680
16934
  */
16681
16935
  get RunEndedAt(): Date | null;
16682
16936
  }
@@ -16706,6 +16960,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16706
16960
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16707
16961
  /**
16708
16962
  * * Field Name: ID
16963
+ * * Display Name: ID
16709
16964
  * * SQL Data Type: uniqueidentifier
16710
16965
  * * Default Value: newsequentialid()
16711
16966
  */
@@ -16713,7 +16968,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16713
16968
  set ID(value: string);
16714
16969
  /**
16715
16970
  * * Field Name: CompanyIntegrationID
16716
- * * Display Name: CompanyIntegration ID
16971
+ * * Display Name: Company Integration
16717
16972
  * * SQL Data Type: uniqueidentifier
16718
16973
  * * Related Entity/Foreign Key: Company Integrations (vwCompanyIntegrations.ID)
16719
16974
  */
@@ -16721,7 +16976,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16721
16976
  set CompanyIntegrationID(value: string);
16722
16977
  /**
16723
16978
  * * Field Name: RunByUserID
16724
- * * Display Name: RunByUser ID
16979
+ * * Display Name: Run By User
16725
16980
  * * SQL Data Type: uniqueidentifier
16726
16981
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
16727
16982
  */
@@ -16730,14 +16985,14 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16730
16985
  /**
16731
16986
  * * Field Name: StartedAt
16732
16987
  * * Display Name: Started At
16733
- * * SQL Data Type: datetime
16988
+ * * SQL Data Type: datetimeoffset
16734
16989
  */
16735
16990
  get StartedAt(): Date | null;
16736
16991
  set StartedAt(value: Date | null);
16737
16992
  /**
16738
16993
  * * Field Name: EndedAt
16739
16994
  * * Display Name: Ended At
16740
- * * SQL Data Type: datetime
16995
+ * * SQL Data Type: datetimeoffset
16741
16996
  */
16742
16997
  get EndedAt(): Date | null;
16743
16998
  set EndedAt(value: Date | null);
@@ -16751,6 +17006,7 @@ export declare class CompanyIntegrationRunEntity extends BaseEntity<CompanyInteg
16751
17006
  set TotalRecords(value: number);
16752
17007
  /**
16753
17008
  * * Field Name: Comments
17009
+ * * Display Name: Comments
16754
17010
  * * SQL Data Type: nvarchar(MAX)
16755
17011
  */
16756
17012
  get Comments(): string | null;
@@ -16845,6 +17101,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16845
17101
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16846
17102
  /**
16847
17103
  * * Field Name: ID
17104
+ * * Display Name: ID
16848
17105
  * * SQL Data Type: uniqueidentifier
16849
17106
  * * Default Value: newsequentialid()
16850
17107
  */
@@ -16852,7 +17109,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16852
17109
  set ID(value: string);
16853
17110
  /**
16854
17111
  * * Field Name: CompanyID
16855
- * * Display Name: Company ID
17112
+ * * Display Name: Company
16856
17113
  * * SQL Data Type: uniqueidentifier
16857
17114
  * * Related Entity/Foreign Key: Companies (vwCompanies.ID)
16858
17115
  */
@@ -16860,7 +17117,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16860
17117
  set CompanyID(value: string);
16861
17118
  /**
16862
17119
  * * Field Name: IntegrationID
16863
- * * Display Name: Integration ID
17120
+ * * Display Name: Integration
16864
17121
  * * SQL Data Type: uniqueidentifier
16865
17122
  * * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
16866
17123
  */
@@ -16868,7 +17125,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16868
17125
  set IntegrationID(value: string);
16869
17126
  /**
16870
17127
  * * Field Name: IsActive
16871
- * * Display Name: Is Active
17128
+ * * Display Name: Active
16872
17129
  * * SQL Data Type: bit
16873
17130
  * * Description: Controls whether this integration is currently active for the company.
16874
17131
  */
@@ -16893,13 +17150,14 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16893
17150
  /**
16894
17151
  * * Field Name: TokenExpirationDate
16895
17152
  * * Display Name: Token Expiration Date
16896
- * * SQL Data Type: datetime
17153
+ * * SQL Data Type: datetimeoffset
16897
17154
  * * Description: Timestamp when the current access token expires and needs to be refreshed.
16898
17155
  */
16899
17156
  get TokenExpirationDate(): Date | null;
16900
17157
  set TokenExpirationDate(value: Date | null);
16901
17158
  /**
16902
17159
  * * Field Name: APIKey
17160
+ * * Display Name: API Key
16903
17161
  * * SQL Data Type: nvarchar(255)
16904
17162
  * * Description: API key for systems using key-based authentication instead of OAuth.
16905
17163
  */
@@ -16907,7 +17165,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16907
17165
  set APIKey(value: string | null);
16908
17166
  /**
16909
17167
  * * Field Name: ExternalSystemID
16910
- * * Display Name: ExternalSystem
17168
+ * * Display Name: External System ID
16911
17169
  * * SQL Data Type: nvarchar(100)
16912
17170
  * * Description: The company's identifier in the external system, used for API calls.
16913
17171
  */
@@ -16915,7 +17173,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16915
17173
  set ExternalSystemID(value: string | null);
16916
17174
  /**
16917
17175
  * * Field Name: IsExternalSystemReadOnly
16918
- * * Display Name: Is External System Read Only
17176
+ * * Display Name: External System Read Only
16919
17177
  * * SQL Data Type: bit
16920
17178
  * * Default Value: 0
16921
17179
  * * Description: Indicates if data can only be read from the external system, not written back.
@@ -16924,7 +17182,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16924
17182
  set IsExternalSystemReadOnly(value: boolean);
16925
17183
  /**
16926
17184
  * * Field Name: ClientID
16927
- * * Display Name: Client
17185
+ * * Display Name: Client ID
16928
17186
  * * SQL Data Type: nvarchar(255)
16929
17187
  * * Description: OAuth client ID for this integration instance.
16930
17188
  */
@@ -16970,11 +17228,13 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16970
17228
  set Name(value: string);
16971
17229
  /**
16972
17230
  * * Field Name: Company
17231
+ * * Display Name: Company
16973
17232
  * * SQL Data Type: nvarchar(50)
16974
17233
  */
16975
17234
  get Company(): string;
16976
17235
  /**
16977
17236
  * * Field Name: Integration
17237
+ * * Display Name: Integration
16978
17238
  * * SQL Data Type: nvarchar(100)
16979
17239
  */
16980
17240
  get Integration(): string;
@@ -16992,20 +17252,20 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
16992
17252
  get DriverImportPath(): string | null;
16993
17253
  /**
16994
17254
  * * Field Name: LastRunID
16995
- * * Display Name: LastRun
17255
+ * * Display Name: Last Run ID
16996
17256
  * * SQL Data Type: uniqueidentifier
16997
17257
  */
16998
17258
  get LastRunID(): string | null;
16999
17259
  /**
17000
17260
  * * Field Name: LastRunStartedAt
17001
17261
  * * Display Name: Last Run Started At
17002
- * * SQL Data Type: datetime
17262
+ * * SQL Data Type: datetimeoffset
17003
17263
  */
17004
17264
  get LastRunStartedAt(): Date | null;
17005
17265
  /**
17006
17266
  * * Field Name: LastRunEndedAt
17007
17267
  * * Display Name: Last Run Ended At
17008
- * * SQL Data Type: datetime
17268
+ * * SQL Data Type: datetimeoffset
17009
17269
  */
17010
17270
  get LastRunEndedAt(): Date | null;
17011
17271
  }
@@ -17400,7 +17660,7 @@ export declare class ContentProcessRunEntity extends BaseEntity<ContentProcessRu
17400
17660
  /**
17401
17661
  * * Field Name: StartTime
17402
17662
  * * Display Name: Start Time
17403
- * * SQL Data Type: datetime
17663
+ * * SQL Data Type: datetimeoffset
17404
17664
  * * Description: Timestamp when the content processing workflow began execution.
17405
17665
  */
17406
17666
  get StartTime(): Date | null;
@@ -17408,7 +17668,7 @@ export declare class ContentProcessRunEntity extends BaseEntity<ContentProcessRu
17408
17668
  /**
17409
17669
  * * Field Name: EndTime
17410
17670
  * * Display Name: End Time
17411
- * * SQL Data Type: datetime
17671
+ * * SQL Data Type: datetimeoffset
17412
17672
  * * Description: Timestamp when the content processing workflow completed or failed.
17413
17673
  */
17414
17674
  get EndTime(): Date | null;
@@ -18003,7 +18263,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18003
18263
  set ID(value: string);
18004
18264
  /**
18005
18265
  * * Field Name: ConversationID
18006
- * * Display Name: Conversation ID
18266
+ * * Display Name: Conversation
18007
18267
  * * SQL Data Type: uniqueidentifier
18008
18268
  * * Related Entity/Foreign Key: Conversations (vwConversations.ID)
18009
18269
  */
@@ -18104,7 +18364,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18104
18364
  set SummaryOfEarlierConversation(value: string | null);
18105
18365
  /**
18106
18366
  * * Field Name: UserID
18107
- * * Display Name: User ID
18367
+ * * Display Name: User
18108
18368
  * * SQL Data Type: uniqueidentifier
18109
18369
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
18110
18370
  * * Description: This field, when populated, overrides the UserID at the Conversation level to specify a different user created the message.
@@ -18113,7 +18373,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18113
18373
  set UserID(value: string | null);
18114
18374
  /**
18115
18375
  * * Field Name: ArtifactID
18116
- * * Display Name: Artifact ID
18376
+ * * Display Name: Artifact
18117
18377
  * *
18118
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
18119
18379
  * * Related Entity/Foreign Key: MJ: Conversation Artifacts (vwConversationArtifacts.ID)
@@ -18123,7 +18383,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18123
18383
  set ArtifactID(value: string | null);
18124
18384
  /**
18125
18385
  * * Field Name: ArtifactVersionID
18126
- * * Display Name: Artifact Version ID
18386
+ * * Display Name: Artifact Version
18127
18387
  * *
18128
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
18129
18389
  * * Related Entity/Foreign Key: MJ: Conversation Artifact Versions (vwConversationArtifactVersions.ID)
@@ -18150,7 +18410,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18150
18410
  set IsPinned(value: boolean);
18151
18411
  /**
18152
18412
  * * Field Name: ParentID
18153
- * * Display Name: Parent ID
18413
+ * * Display Name: Parent
18154
18414
  * * SQL Data Type: uniqueidentifier
18155
18415
  * * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
18156
18416
  * * Description: Optional reference to parent message for threaded conversations. NULL for top-level messages.
@@ -18159,7 +18419,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18159
18419
  set ParentID(value: string | null);
18160
18420
  /**
18161
18421
  * * Field Name: AgentID
18162
- * * Display Name: Agent ID
18422
+ * * Display Name: Agent
18163
18423
  * * SQL Data Type: uniqueidentifier
18164
18424
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
18165
18425
  * * Description: Denormalized agent ID for quick lookup of agent name and icon without joining through AgentRun
@@ -18191,7 +18451,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18191
18451
  set SuggestedResponses(value: string | null);
18192
18452
  /**
18193
18453
  * * Field Name: TestRunID
18194
- * * Display Name: Test Run ID
18454
+ * * Display Name: Test Run
18195
18455
  * * SQL Data Type: uniqueidentifier
18196
18456
  * * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
18197
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.
@@ -18223,6 +18483,15 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18223
18483
  get AutomaticCommands(): string | null;
18224
18484
  set AutomaticCommands(value: string | null);
18225
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
+ /**
18226
18495
  * * Field Name: Conversation
18227
18496
  * * Display Name: Conversation
18228
18497
  * * SQL Data Type: nvarchar(255)
@@ -18259,8 +18528,14 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
18259
18528
  */
18260
18529
  get Agent(): string | null;
18261
18530
  /**
18531
+ * * Field Name: TestRun
18532
+ * * Display Name: Test Run
18533
+ * * SQL Data Type: nvarchar(255)
18534
+ */
18535
+ get TestRun(): string | null;
18536
+ /**
18262
18537
  * * Field Name: RootParentID
18263
- * * Display Name: Root Parent ID
18538
+ * * Display Name: Root Parent
18264
18539
  * * SQL Data Type: uniqueidentifier
18265
18540
  */
18266
18541
  get RootParentID(): string | null;
@@ -18779,7 +19054,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18779
19054
  set ID(value: string);
18780
19055
  /**
18781
19056
  * * Field Name: DataContextID
18782
- * * Display Name: Data Context ID
19057
+ * * Display Name: Data Context
18783
19058
  * * SQL Data Type: uniqueidentifier
18784
19059
  * * Related Entity/Foreign Key: Data Contexts (vwDataContexts.ID)
18785
19060
  */
@@ -18802,7 +19077,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18802
19077
  set Type(value: 'full_entity' | 'query' | 'single_record' | 'sql' | 'view');
18803
19078
  /**
18804
19079
  * * Field Name: ViewID
18805
- * * Display Name: View ID
19080
+ * * Display Name: View
18806
19081
  * * SQL Data Type: uniqueidentifier
18807
19082
  * * Related Entity/Foreign Key: User Views (vwUserViews.ID)
18808
19083
  */
@@ -18810,7 +19085,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18810
19085
  set ViewID(value: string | null);
18811
19086
  /**
18812
19087
  * * Field Name: QueryID
18813
- * * Display Name: Query ID
19088
+ * * Display Name: Query
18814
19089
  * * SQL Data Type: uniqueidentifier
18815
19090
  * * Related Entity/Foreign Key: Queries (vwQueries.ID)
18816
19091
  */
@@ -18818,7 +19093,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18818
19093
  set QueryID(value: string | null);
18819
19094
  /**
18820
19095
  * * Field Name: EntityID
18821
- * * Display Name: Entity ID
19096
+ * * Display Name: Entity
18822
19097
  * * SQL Data Type: uniqueidentifier
18823
19098
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
18824
19099
  */
@@ -18851,7 +19126,7 @@ export declare class DataContextItemEntity extends BaseEntity<DataContextItemEnt
18851
19126
  /**
18852
19127
  * * Field Name: LastRefreshedAt
18853
19128
  * * Display Name: Last Refreshed At
18854
- * * SQL Data Type: datetime
19129
+ * * SQL Data Type: datetimeoffset
18855
19130
  * * Description: If DataJSON is populated, this field will show the date the the data was captured
18856
19131
  */
18857
19132
  get LastRefreshedAt(): Date | null;
@@ -18958,7 +19233,7 @@ export declare class DataContextEntity extends BaseEntity<DataContextEntityType>
18958
19233
  set Description(value: string | null);
18959
19234
  /**
18960
19235
  * * Field Name: UserID
18961
- * * Display Name: User ID
19236
+ * * Display Name: User
18962
19237
  * * SQL Data Type: uniqueidentifier
18963
19238
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
18964
19239
  */
@@ -18967,7 +19242,7 @@ export declare class DataContextEntity extends BaseEntity<DataContextEntityType>
18967
19242
  /**
18968
19243
  * * Field Name: LastRefreshedAt
18969
19244
  * * Display Name: Last Refreshed At
18970
- * * SQL Data Type: datetime
19245
+ * * SQL Data Type: datetimeoffset
18971
19246
  * * Description: Timestamp of when the data in this context was last refreshed or recalculated.
18972
19247
  */
18973
19248
  get LastRefreshedAt(): Date | null;
@@ -19211,7 +19486,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19211
19486
  set ID(value: string);
19212
19487
  /**
19213
19488
  * * Field Name: DuplicateRunDetailID
19214
- * * Display Name: Duplicate Run Detail ID
19489
+ * * Display Name: Duplicate Run Detail
19215
19490
  * * SQL Data Type: uniqueidentifier
19216
19491
  * * Related Entity/Foreign Key: Duplicate Run Details (vwDuplicateRunDetails.ID)
19217
19492
  */
@@ -19232,7 +19507,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19232
19507
  set MatchSource(value: 'SP' | 'Vector');
19233
19508
  /**
19234
19509
  * * Field Name: MatchRecordID
19235
- * * Display Name: Match Record ID
19510
+ * * Display Name: Match Record
19236
19511
  * * SQL Data Type: nvarchar(500)
19237
19512
  * * Description: The ID of the record identified as a potential duplicate match.
19238
19513
  */
@@ -19250,8 +19525,8 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19250
19525
  /**
19251
19526
  * * Field Name: MatchedAt
19252
19527
  * * Display Name: Matched At
19253
- * * SQL Data Type: datetime
19254
- * * Default Value: getdate()
19528
+ * * SQL Data Type: datetimeoffset
19529
+ * * Default Value: sysdatetimeoffset()
19255
19530
  * * Description: Timestamp when this duplicate match was identified.
19256
19531
  */
19257
19532
  get MatchedAt(): Date;
@@ -19281,7 +19556,7 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19281
19556
  set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
19282
19557
  /**
19283
19558
  * * Field Name: RecordMergeLogID
19284
- * * Display Name: Record Merge Log ID
19559
+ * * Display Name: Record Merge Log
19285
19560
  * * SQL Data Type: uniqueidentifier
19286
19561
  * * Related Entity/Foreign Key: Record Merge Logs (vwRecordMergeLogs.ID)
19287
19562
  */
@@ -19304,8 +19579,8 @@ export declare class DuplicateRunDetailMatchEntity extends BaseEntity<DuplicateR
19304
19579
  /**
19305
19580
  * * Field Name: MergedAt
19306
19581
  * * Display Name: Merged At
19307
- * * SQL Data Type: datetime
19308
- * * Default Value: getdate()
19582
+ * * SQL Data Type: datetimeoffset
19583
+ * * Default Value: sysdatetimeoffset()
19309
19584
  * * Description: Timestamp when records were merged, if applicable.
19310
19585
  */
19311
19586
  get MergedAt(): Date;
@@ -19453,12 +19728,6 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
19453
19728
  * * Default Value: getutcdate()
19454
19729
  */
19455
19730
  get __mj_UpdatedAt(): Date;
19456
- /**
19457
- * * Field Name: DuplicateRun
19458
- * * Display Name: Duplicate Run
19459
- * * SQL Data Type: nvarchar(255)
19460
- */
19461
- get DuplicateRun(): string;
19462
19731
  }
19463
19732
  /**
19464
19733
  * Duplicate Runs - strongly typed entity sub-class
@@ -19494,7 +19763,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19494
19763
  set ID(value: string);
19495
19764
  /**
19496
19765
  * * Field Name: EntityID
19497
- * * Display Name: Entity ID
19766
+ * * Display Name: Entity
19498
19767
  * * SQL Data Type: uniqueidentifier
19499
19768
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
19500
19769
  */
@@ -19502,7 +19771,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19502
19771
  set EntityID(value: string);
19503
19772
  /**
19504
19773
  * * Field Name: StartedByUserID
19505
- * * Display Name: Started By User ID
19774
+ * * Display Name: Started By User
19506
19775
  * * SQL Data Type: uniqueidentifier
19507
19776
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
19508
19777
  */
@@ -19510,7 +19779,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19510
19779
  set StartedByUserID(value: string);
19511
19780
  /**
19512
19781
  * * Field Name: SourceListID
19513
- * * Display Name: Source List ID
19782
+ * * Display Name: Source List
19514
19783
  * * SQL Data Type: uniqueidentifier
19515
19784
  * * Related Entity/Foreign Key: Lists (vwLists.ID)
19516
19785
  */
@@ -19519,15 +19788,15 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19519
19788
  /**
19520
19789
  * * Field Name: StartedAt
19521
19790
  * * Display Name: Started At
19522
- * * SQL Data Type: datetime
19523
- * * Default Value: getdate()
19791
+ * * SQL Data Type: datetimeoffset
19792
+ * * Default Value: sysdatetimeoffset()
19524
19793
  */
19525
19794
  get StartedAt(): Date;
19526
19795
  set StartedAt(value: Date);
19527
19796
  /**
19528
19797
  * * Field Name: EndedAt
19529
19798
  * * Display Name: Ended At
19530
- * * SQL Data Type: datetime
19799
+ * * SQL Data Type: datetimeoffset
19531
19800
  */
19532
19801
  get EndedAt(): Date | null;
19533
19802
  set EndedAt(value: Date | null);
@@ -19555,7 +19824,7 @@ export declare class DuplicateRunEntity extends BaseEntity<DuplicateRunEntityTyp
19555
19824
  set ApprovalComments(value: string | null);
19556
19825
  /**
19557
19826
  * * Field Name: ApprovedByUserID
19558
- * * Display Name: Approved By User ID
19827
+ * * Display Name: Approved By User
19559
19828
  * * SQL Data Type: uniqueidentifier
19560
19829
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
19561
19830
  */
@@ -19702,12 +19971,6 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
19702
19971
  */
19703
19972
  get __mj_UpdatedAt(): Date;
19704
19973
  /**
19705
- * * Field Name: Employee
19706
- * * Display Name: Employee
19707
- * * SQL Data Type: nvarchar(81)
19708
- */
19709
- get Employee(): string | null;
19710
- /**
19711
19974
  * * Field Name: CompanyIntegration
19712
19975
  * * Display Name: Company Integration
19713
19976
  * * SQL Data Type: nvarchar(255)
@@ -19777,12 +20040,6 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
19777
20040
  */
19778
20041
  get __mj_UpdatedAt(): Date;
19779
20042
  /**
19780
- * * Field Name: Employee
19781
- * * Display Name: Employee
19782
- * * SQL Data Type: nvarchar(81)
19783
- */
19784
- get Employee(): string | null;
19785
- /**
19786
20043
  * * Field Name: Role
19787
20044
  * * Display Name: Role
19788
20045
  * * SQL Data Type: nvarchar(50)
@@ -19852,12 +20109,6 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
19852
20109
  */
19853
20110
  get __mj_UpdatedAt(): Date;
19854
20111
  /**
19855
- * * Field Name: Employee
19856
- * * Display Name: Employee
19857
- * * SQL Data Type: nvarchar(81)
19858
- */
19859
- get Employee(): string | null;
19860
- /**
19861
20112
  * * Field Name: Skill
19862
20113
  * * Display Name: Skill
19863
20114
  * * SQL Data Type: nvarchar(50)
@@ -20670,18 +20921,6 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
20670
20921
  * * Default Value: getutcdate()
20671
20922
  */
20672
20923
  get __mj_UpdatedAt(): Date;
20673
- /**
20674
- * * Field Name: EntityAction
20675
- * * Display Name: Entity Action
20676
- * * SQL Data Type: nvarchar(425)
20677
- */
20678
- get EntityAction(): string;
20679
- /**
20680
- * * Field Name: ActionFilter
20681
- * * Display Name: Action Filter
20682
- * * SQL Data Type: nvarchar(MAX)
20683
- */
20684
- get ActionFilter(): string;
20685
20924
  }
20686
20925
  /**
20687
20926
  * Entity Action Invocation Types - strongly typed entity sub-class
@@ -20832,12 +21071,6 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
20832
21071
  */
20833
21072
  get __mj_UpdatedAt(): Date;
20834
21073
  /**
20835
- * * Field Name: EntityAction
20836
- * * Display Name: Entity Action
20837
- * * SQL Data Type: nvarchar(425)
20838
- */
20839
- get EntityAction(): string;
20840
- /**
20841
21074
  * * Field Name: InvocationType
20842
21075
  * * Display Name: Invocation Type
20843
21076
  * * SQL Data Type: nvarchar(255)
@@ -20937,12 +21170,6 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
20937
21170
  */
20938
21171
  get __mj_UpdatedAt(): Date;
20939
21172
  /**
20940
- * * Field Name: EntityAction
20941
- * * Display Name: Entity Action
20942
- * * SQL Data Type: nvarchar(425)
20943
- */
20944
- get EntityAction(): string;
20945
- /**
20946
21173
  * * Field Name: ActionParam
20947
21174
  * * Display Name: Action Param
20948
21175
  * * SQL Data Type: nvarchar(255)
@@ -21285,12 +21512,6 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
21285
21512
  * * Default Value: getutcdate()
21286
21513
  */
21287
21514
  get __mj_UpdatedAt(): Date;
21288
- /**
21289
- * * Field Name: EntityCommunicationMessageType
21290
- * * Display Name: Entity Communication Message Type
21291
- * * SQL Data Type: nvarchar(100)
21292
- */
21293
- get EntityCommunicationMessageType(): string;
21294
21515
  }
21295
21516
  /**
21296
21517
  * Entity Communication Message Types - strongly typed entity sub-class
@@ -21410,7 +21631,7 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21410
21631
  set ID(value: string);
21411
21632
  /**
21412
21633
  * * Field Name: EntityDocumentID
21413
- * * Display Name: Entity Document ID
21634
+ * * Display Name: Entity Document
21414
21635
  * * SQL Data Type: uniqueidentifier
21415
21636
  * * Related Entity/Foreign Key: Entity Documents (vwEntityDocuments.ID)
21416
21637
  */
@@ -21419,14 +21640,14 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21419
21640
  /**
21420
21641
  * * Field Name: StartedAt
21421
21642
  * * Display Name: Started At
21422
- * * SQL Data Type: datetime
21643
+ * * SQL Data Type: datetimeoffset
21423
21644
  */
21424
21645
  get StartedAt(): Date | null;
21425
21646
  set StartedAt(value: Date | null);
21426
21647
  /**
21427
21648
  * * Field Name: EndedAt
21428
21649
  * * Display Name: Ended At
21429
- * * SQL Data Type: datetime
21650
+ * * SQL Data Type: datetimeoffset
21430
21651
  */
21431
21652
  get EndedAt(): Date | null;
21432
21653
  set EndedAt(value: Date | null);
@@ -21446,14 +21667,14 @@ export declare class EntityDocumentRunEntity extends BaseEntity<EntityDocumentRu
21446
21667
  set Status(value: 'Complete' | 'Failed' | 'Pending');
21447
21668
  /**
21448
21669
  * * Field Name: __mj_CreatedAt
21449
- * * Display Name: __mj _Created At
21670
+ * * Display Name: Created At
21450
21671
  * * SQL Data Type: datetimeoffset
21451
21672
  * * Default Value: getutcdate()
21452
21673
  */
21453
21674
  get __mj_CreatedAt(): Date;
21454
21675
  /**
21455
21676
  * * Field Name: __mj_UpdatedAt
21456
- * * Display Name: __mj _Updated At
21677
+ * * Display Name: Updated At
21457
21678
  * * SQL Data Type: datetimeoffset
21458
21679
  * * Default Value: getutcdate()
21459
21680
  */
@@ -21812,7 +22033,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21812
22033
  set ID(value: string);
21813
22034
  /**
21814
22035
  * * Field Name: EntityFieldID
21815
- * * Display Name: Entity Field
22036
+ * * Display Name: Entity Field ID
21816
22037
  * * SQL Data Type: uniqueidentifier
21817
22038
  * * Related Entity/Foreign Key: Entity Fields (vwEntityFields.ID)
21818
22039
  */
@@ -21851,14 +22072,14 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21851
22072
  set Description(value: string | null);
21852
22073
  /**
21853
22074
  * * Field Name: __mj_CreatedAt
21854
- * * Display Name: Created At
22075
+ * * Display Name: __mj _Created At
21855
22076
  * * SQL Data Type: datetimeoffset
21856
22077
  * * Default Value: getutcdate()
21857
22078
  */
21858
22079
  get __mj_CreatedAt(): Date;
21859
22080
  /**
21860
22081
  * * Field Name: __mj_UpdatedAt
21861
- * * Display Name: Updated At
22082
+ * * Display Name: __mj _Updated At
21862
22083
  * * SQL Data Type: datetimeoffset
21863
22084
  * * Default Value: getutcdate()
21864
22085
  */
@@ -21877,7 +22098,7 @@ export declare class EntityFieldValueEntity extends BaseEntity<EntityFieldValueE
21877
22098
  get Entity(): string;
21878
22099
  /**
21879
22100
  * * Field Name: EntityID
21880
- * * Display Name: Entity
22101
+ * * Display Name: Entity ID
21881
22102
  * * SQL Data Type: uniqueidentifier
21882
22103
  */
21883
22104
  get EntityID(): string;
@@ -22193,7 +22414,7 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22193
22414
  get IsVirtual(): boolean;
22194
22415
  /**
22195
22416
  * * Field Name: IsNameField
22196
- * * Display Name: Name Field
22417
+ * * Display Name: Is Name Field
22197
22418
  * * SQL Data Type: bit
22198
22419
  * * Default Value: 0
22199
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.
@@ -22355,6 +22576,42 @@ export declare class EntityFieldEntity extends BaseEntity<EntityFieldEntityType>
22355
22576
  get AutoUpdateIncludeInUserSearchAPI(): boolean;
22356
22577
  set AutoUpdateIncludeInUserSearchAPI(value: boolean);
22357
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
+ /**
22358
22615
  * * Field Name: FieldCodeName
22359
22616
  * * Display Name: Field Code Name
22360
22617
  * * SQL Data Type: nvarchar(MAX)
@@ -22696,21 +22953,21 @@ export declare class EntityRecordDocumentEntity extends BaseEntity<EntityRecordD
22696
22953
  /**
22697
22954
  * * Field Name: EntityRecordUpdatedAt
22698
22955
  * * Display Name: Entity Record Updated At
22699
- * * SQL Data Type: datetime
22956
+ * * SQL Data Type: datetimeoffset
22700
22957
  * * Description: Timestamp of when the source entity record was last updated.
22701
22958
  */
22702
22959
  get EntityRecordUpdatedAt(): Date;
22703
22960
  set EntityRecordUpdatedAt(value: Date);
22704
22961
  /**
22705
22962
  * * Field Name: __mj_CreatedAt
22706
- * * Display Name: __mj _Created At
22963
+ * * Display Name: Created At
22707
22964
  * * SQL Data Type: datetimeoffset
22708
22965
  * * Default Value: getutcdate()
22709
22966
  */
22710
22967
  get __mj_CreatedAt(): Date;
22711
22968
  /**
22712
22969
  * * Field Name: __mj_UpdatedAt
22713
- * * Display Name: __mj _Updated At
22970
+ * * Display Name: Updated At
22714
22971
  * * SQL Data Type: datetimeoffset
22715
22972
  * * Default Value: getutcdate()
22716
22973
  */
@@ -23296,18 +23553,6 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
23296
23553
  * * Default Value: getutcdate()
23297
23554
  */
23298
23555
  get __mj_UpdatedAt(): Date;
23299
- /**
23300
- * * Field Name: CompanyIntegrationRun
23301
- * * Display Name: Company Integration Run
23302
- * * SQL Data Type: nvarchar(100)
23303
- */
23304
- get CompanyIntegrationRun(): string | null;
23305
- /**
23306
- * * Field Name: CompanyIntegrationRunDetail
23307
- * * Display Name: Company Integration Run Detail
23308
- * * SQL Data Type: nvarchar(450)
23309
- */
23310
- get CompanyIntegrationRunDetail(): string | null;
23311
23556
  }
23312
23557
  /**
23313
23558
  * Explorer Navigation Items - strongly typed entity sub-class
@@ -25625,18 +25870,6 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
25625
25870
  */
25626
25871
  get SourceConversation(): string | null;
25627
25872
  /**
25628
- * * Field Name: SourceConversationDetail
25629
- * * Display Name: Source Conversation Detail
25630
- * * SQL Data Type: nvarchar(MAX)
25631
- */
25632
- get SourceConversationDetail(): string | null;
25633
- /**
25634
- * * Field Name: SourceAIAgentRun
25635
- * * Display Name: Source AI Agent Run
25636
- * * SQL Data Type: nvarchar(255)
25637
- */
25638
- get SourceAIAgentRun(): string | null;
25639
- /**
25640
25873
  * * Field Name: EmbeddingModel
25641
25874
  * * Display Name: Embedding Model
25642
25875
  * * SQL Data Type: nvarchar(50)
@@ -26359,18 +26592,6 @@ detailed information about what validation rules failed.
26359
26592
  get Comments(): string | null;
26360
26593
  set Comments(value: string | null);
26361
26594
  /**
26362
- * * Field Name: AgentRun
26363
- * * Display Name: Agent Run
26364
- * * SQL Data Type: nvarchar(255)
26365
- */
26366
- get AgentRun(): string | null;
26367
- /**
26368
- * * Field Name: Parent
26369
- * * Display Name: Parent
26370
- * * SQL Data Type: nvarchar(255)
26371
- */
26372
- get Parent(): string | null;
26373
- /**
26374
26595
  * * Field Name: RootParentID
26375
26596
  * * Display Name: Root Parent ID
26376
26597
  * * SQL Data Type: uniqueidentifier
@@ -27601,6 +27822,159 @@ export declare class AIConfigurationEntity extends BaseEntity<AIConfigurationEnt
27601
27822
  */
27602
27823
  get DefaultPromptForContextSummarization(): string | null;
27603
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
+ }
27604
27978
  /**
27605
27979
  * MJ: AI Model Costs - strongly typed entity sub-class
27606
27980
  * * Schema: __mj
@@ -28228,6 +28602,7 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
28228
28602
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28229
28603
  /**
28230
28604
  * Validate() method override for MJ: AI Prompt Models entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
28605
+ * * EffortLevel: Effort level must be between 1 and 100 whenever it is provided. This ensures that effort values stay within the allowed range.
28231
28606
  * * ExecutionGroup: This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative values are not allowed.
28232
28607
  * * ParallelCount: This rule ensures that the ParallelCount value must always be at least 1.
28233
28608
  * * Priority: This rule ensures that the priority value must be zero or a positive number; in other words, priority cannot be negative.
@@ -28238,6 +28613,13 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
28238
28613
  */
28239
28614
  Validate(): ValidationResult;
28240
28615
  /**
28616
+ * Effort level must be between 1 and 100 whenever it is provided. This ensures that effort values stay within the allowed range.
28617
+ * @param result - the ValidationResult object to add any errors or warnings to
28618
+ * @public
28619
+ * @method
28620
+ */
28621
+ ValidateEffortLevelRange(result: ValidationResult): void;
28622
+ /**
28241
28623
  * This rule ensures that the ExecutionGroup value must be zero or a positive number. Negative values are not allowed.
28242
28624
  * @param result - the ValidationResult object to add any errors or warnings to
28243
28625
  * @public
@@ -28396,6 +28778,14 @@ export declare class AIPromptModelEntity extends BaseEntity<AIPromptModelEntityT
28396
28778
  */
28397
28779
  get __mj_UpdatedAt(): Date;
28398
28780
  /**
28781
+ * * Field Name: EffortLevel
28782
+ * * Display Name: Effort Level
28783
+ * * SQL Data Type: int
28784
+ * * Description: Model-specific effort level override (1-100, where 1=minimal effort, 100=maximum effort). Allows customizing effort level per model - useful when a more capable model can use lower effort for tasks that require higher effort from lesser models. Takes precedence over agent and prompt effort levels but can be overridden by runtime parameters.
28785
+ */
28786
+ get EffortLevel(): number | null;
28787
+ set EffortLevel(value: number | null);
28788
+ /**
28399
28789
  * * Field Name: Prompt
28400
28790
  * * Display Name: Prompt
28401
28791
  * * SQL Data Type: nvarchar(255)
@@ -28485,7 +28875,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28485
28875
  set ID(value: string);
28486
28876
  /**
28487
28877
  * * Field Name: PromptID
28488
- * * Display Name: Prompt ID
28878
+ * * Display Name: Prompt
28489
28879
  * * SQL Data Type: uniqueidentifier
28490
28880
  * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
28491
28881
  * * Description: The prompt that was executed.
@@ -28494,7 +28884,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28494
28884
  set PromptID(value: string);
28495
28885
  /**
28496
28886
  * * Field Name: ModelID
28497
- * * Display Name: Model ID
28887
+ * * Display Name: Model
28498
28888
  * * SQL Data Type: uniqueidentifier
28499
28889
  * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
28500
28890
  * * Description: The AI model used for execution.
@@ -28503,7 +28893,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28503
28893
  set ModelID(value: string);
28504
28894
  /**
28505
28895
  * * Field Name: VendorID
28506
- * * Display Name: Vendor ID
28896
+ * * Display Name: Vendor
28507
28897
  * * SQL Data Type: uniqueidentifier
28508
28898
  * * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
28509
28899
  * * Description: The vendor providing the model/inference.
@@ -28512,7 +28902,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28512
28902
  set VendorID(value: string);
28513
28903
  /**
28514
28904
  * * Field Name: AgentID
28515
- * * Display Name: Agent ID
28905
+ * * Display Name: Agent
28516
28906
  * * SQL Data Type: uniqueidentifier
28517
28907
  * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
28518
28908
  * * Description: If this prompt was run as part of an agent, references the agent.
@@ -28521,7 +28911,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28521
28911
  set AgentID(value: string | null);
28522
28912
  /**
28523
28913
  * * Field Name: ConfigurationID
28524
- * * Display Name: Configuration ID
28914
+ * * Display Name: Configuration
28525
28915
  * * SQL Data Type: uniqueidentifier
28526
28916
  * * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
28527
28917
  * * Description: Optional configuration used for this execution.
@@ -28547,7 +28937,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28547
28937
  set CompletedAt(value: Date | null);
28548
28938
  /**
28549
28939
  * * Field Name: ExecutionTimeMS
28550
- * * Display Name: Execution Time MS
28940
+ * * Display Name: Execution Time (ms)
28551
28941
  * * SQL Data Type: int
28552
28942
  * * Description: Total execution time in milliseconds.
28553
28943
  */
@@ -28884,7 +29274,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28884
29274
  /**
28885
29275
  * * Field Name: FirstAttemptAt
28886
29276
  * * Display Name: First Attempt At
28887
- * * SQL Data Type: datetime
29277
+ * * SQL Data Type: datetimeoffset
28888
29278
  * * Description: Timestamp of the first validation attempt
28889
29279
  */
28890
29280
  get FirstAttemptAt(): Date | null;
@@ -28892,14 +29282,14 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28892
29282
  /**
28893
29283
  * * Field Name: LastAttemptAt
28894
29284
  * * Display Name: Last Attempt At
28895
- * * SQL Data Type: datetime
29285
+ * * SQL Data Type: datetimeoffset
28896
29286
  * * Description: Timestamp of the last validation attempt
28897
29287
  */
28898
29288
  get LastAttemptAt(): Date | null;
28899
29289
  set LastAttemptAt(value: Date | null);
28900
29290
  /**
28901
29291
  * * Field Name: TotalRetryDurationMS
28902
- * * Display Name: Total Retry Duration MS
29292
+ * * Display Name: Total Retry Duration (ms)
28903
29293
  * * SQL Data Type: int
28904
29294
  * * Description: Total time spent on retries in milliseconds (excluding first attempt)
28905
29295
  */
@@ -28958,7 +29348,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
28958
29348
  /**
28959
29349
  * * Field Name: OriginalRequestStartTime
28960
29350
  * * Display Name: Original Request Start Time
28961
- * * SQL Data Type: datetime
29351
+ * * SQL Data Type: datetimeoffset
28962
29352
  * * Description: Timestamp when the original request started, before any failovers
28963
29353
  */
28964
29354
  get OriginalRequestStartTime(): Date | null;
@@ -29251,6 +29641,12 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
29251
29641
  */
29252
29642
  get ChildPrompt(): string | null;
29253
29643
  /**
29644
+ * * Field Name: TestRun
29645
+ * * Display Name: Test Run
29646
+ * * SQL Data Type: nvarchar(255)
29647
+ */
29648
+ get TestRun(): string | null;
29649
+ /**
29254
29650
  * * Field Name: RootParentID
29255
29651
  * * Display Name: Root Parent ID
29256
29652
  * * SQL Data Type: uniqueidentifier
@@ -29501,6 +29897,21 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
29501
29897
  * * Default Value: getutcdate()
29502
29898
  */
29503
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;
29504
29915
  }
29505
29916
  /**
29506
29917
  * MJ: Artifact Permissions - strongly typed entity sub-class
@@ -31686,12 +32097,6 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
31686
32097
  */
31687
32098
  get __mj_UpdatedAt(): Date;
31688
32099
  /**
31689
- * * Field Name: ConversationDetail
31690
- * * Display Name: Conversation Detail
31691
- * * SQL Data Type: nvarchar(MAX)
31692
- */
31693
- get ConversationDetail(): string;
31694
- /**
31695
32100
  * * Field Name: ArtifactVersion
31696
32101
  * * Display Name: Artifact Version
31697
32102
  * * SQL Data Type: nvarchar(255)
@@ -31794,18 +32199,358 @@ export declare class ConversationDetailRatingEntity extends BaseEntity<Conversat
31794
32199
  */
31795
32200
  get __mj_UpdatedAt(): Date;
31796
32201
  /**
31797
- * * Field Name: ConversationDetail
31798
- * * Display Name: Conversation Detail
31799
- * * SQL Data Type: nvarchar(MAX)
31800
- */
31801
- get ConversationDetail(): string;
31802
- /**
31803
32202
  * * Field Name: User
31804
32203
  * * Display Name: User
31805
32204
  * * SQL Data Type: nvarchar(100)
31806
32205
  */
31807
32206
  get User(): string;
31808
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
+ }
31809
32554
  /**
31810
32555
  * MJ: Dashboard User Preferences - strongly typed entity sub-class
31811
32556
  * * Schema: __mj
@@ -32018,6 +32763,383 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
32018
32763
  */
32019
32764
  get User(): string;
32020
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
+ }
32021
33143
  /**
32022
33144
  * MJ: Environments - strongly typed entity sub-class
32023
33145
  * * Schema: __mj
@@ -33754,12 +34876,6 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
33754
34876
  */
33755
34877
  get Project(): string | null;
33756
34878
  /**
33757
- * * Field Name: ConversationDetail
33758
- * * Display Name: Conversation Detail
33759
- * * SQL Data Type: nvarchar(MAX)
33760
- */
33761
- get ConversationDetail(): string | null;
33762
- /**
33763
34879
  * * Field Name: User
33764
34880
  * * Display Name: User
33765
34881
  * * SQL Data Type: nvarchar(100)
@@ -33943,7 +35059,7 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
33943
35059
  set ID(value: string);
33944
35060
  /**
33945
35061
  * * Field Name: TestRunID
33946
- * * Display Name: Test Run ID
35062
+ * * Display Name: Test Run
33947
35063
  * * SQL Data Type: uniqueidentifier
33948
35064
  * * Related Entity/Foreign Key: MJ: Test Runs (vwTestRuns.ID)
33949
35065
  * * Description: Foreign Key - The test run being reviewed
@@ -33952,7 +35068,7 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
33952
35068
  set TestRunID(value: string);
33953
35069
  /**
33954
35070
  * * Field Name: ReviewerUserID
33955
- * * Display Name: Reviewer User ID
35071
+ * * Display Name: Reviewer
33956
35072
  * * SQL Data Type: uniqueidentifier
33957
35073
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
33958
35074
  * * Description: Foreign Key - The user providing the feedback
@@ -33994,8 +35110,8 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
33994
35110
  /**
33995
35111
  * * Field Name: ReviewedAt
33996
35112
  * * Display Name: Reviewed At
33997
- * * SQL Data Type: datetime
33998
- * * Default Value: getdate()
35113
+ * * SQL Data Type: datetimeoffset
35114
+ * * Default Value: sysdatetimeoffset()
33999
35115
  * * Description: Timestamp when the feedback was provided
34000
35116
  */
34001
35117
  get ReviewedAt(): Date;
@@ -34015,8 +35131,14 @@ export declare class TestRunFeedbackEntity extends BaseEntity<TestRunFeedbackEnt
34015
35131
  */
34016
35132
  get __mj_UpdatedAt(): Date;
34017
35133
  /**
35134
+ * * Field Name: TestRun
35135
+ * * Display Name: Test Run
35136
+ * * SQL Data Type: nvarchar(255)
35137
+ */
35138
+ get TestRun(): string;
35139
+ /**
34018
35140
  * * Field Name: ReviewerUser
34019
- * * Display Name: Reviewer User
35141
+ * * Display Name: Reviewer Name
34020
35142
  * * SQL Data Type: nvarchar(100)
34021
35143
  */
34022
35144
  get ReviewerUser(): string;
@@ -34055,7 +35177,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34055
35177
  set ID(value: string);
34056
35178
  /**
34057
35179
  * * Field Name: TestID
34058
- * * Display Name: Test ID
35180
+ * * Display Name: Test
34059
35181
  * * SQL Data Type: uniqueidentifier
34060
35182
  * * Related Entity/Foreign Key: MJ: Tests (vwTests.ID)
34061
35183
  * * Description: Foreign Key - The test definition that was executed
@@ -34064,7 +35186,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34064
35186
  set TestID(value: string);
34065
35187
  /**
34066
35188
  * * Field Name: TestSuiteRunID
34067
- * * Display Name: Test Suite Run ID
35189
+ * * Display Name: Test Suite Run
34068
35190
  * * SQL Data Type: uniqueidentifier
34069
35191
  * * Related Entity/Foreign Key: MJ: Test Suite Runs (vwTestSuiteRuns.ID)
34070
35192
  * * Description: Foreign Key - Optional parent suite run if this test was part of a suite execution. NULL for standalone test runs.
@@ -34124,7 +35246,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34124
35246
  /**
34125
35247
  * * Field Name: StartedAt
34126
35248
  * * Display Name: Started At
34127
- * * SQL Data Type: datetime
35249
+ * * SQL Data Type: datetimeoffset
34128
35250
  * * Description: Timestamp when the test run started execution
34129
35251
  */
34130
35252
  get StartedAt(): Date | null;
@@ -34132,14 +35254,14 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34132
35254
  /**
34133
35255
  * * Field Name: CompletedAt
34134
35256
  * * Display Name: Completed At
34135
- * * SQL Data Type: datetime
35257
+ * * SQL Data Type: datetimeoffset
34136
35258
  * * Description: Timestamp when the test run completed
34137
35259
  */
34138
35260
  get CompletedAt(): Date | null;
34139
35261
  set CompletedAt(value: Date | null);
34140
35262
  /**
34141
35263
  * * Field Name: DurationSeconds
34142
- * * Display Name: Duration Seconds
35264
+ * * Display Name: Duration (seconds)
34143
35265
  * * SQL Data Type: decimal(10, 3)
34144
35266
  * * Description: Execution time in seconds for this test
34145
35267
  */
@@ -34203,7 +35325,7 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34203
35325
  set Score(value: number | null);
34204
35326
  /**
34205
35327
  * * Field Name: CostUSD
34206
- * * Display Name: Cost USD
35328
+ * * Display Name: Cost (USD)
34207
35329
  * * SQL Data Type: decimal(10, 6)
34208
35330
  * * Description: Cost in USD for running this test (e.g., LLM token costs, compute resources)
34209
35331
  */
@@ -34246,6 +35368,12 @@ export declare class TestRunEntity extends BaseEntity<TestRunEntityType> {
34246
35368
  */
34247
35369
  get Test(): string;
34248
35370
  /**
35371
+ * * Field Name: TestSuiteRun
35372
+ * * Display Name: Test Suite Run
35373
+ * * SQL Data Type: nvarchar(255)
35374
+ */
35375
+ get TestSuiteRun(): string | null;
35376
+ /**
34249
35377
  * * Field Name: RunByUser
34250
35378
  * * Display Name: Run By User
34251
35379
  * * SQL Data Type: nvarchar(100)
@@ -34286,7 +35414,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34286
35414
  set ID(value: string);
34287
35415
  /**
34288
35416
  * * Field Name: SuiteID
34289
- * * Display Name: Suite ID
35417
+ * * Display Name: Suite
34290
35418
  * * SQL Data Type: uniqueidentifier
34291
35419
  * * Related Entity/Foreign Key: MJ: Test Suites (vwTestSuites.ID)
34292
35420
  * * Description: Foreign Key - The test suite that was executed
@@ -34295,7 +35423,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34295
35423
  set SuiteID(value: string);
34296
35424
  /**
34297
35425
  * * Field Name: RunByUserID
34298
- * * Display Name: Run By User ID
35426
+ * * Display Name: Run By User
34299
35427
  * * SQL Data Type: uniqueidentifier
34300
35428
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
34301
35429
  * * Description: Foreign Key - The user who triggered the suite run (could be system user for automated runs)
@@ -34353,7 +35481,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34353
35481
  /**
34354
35482
  * * Field Name: StartedAt
34355
35483
  * * Display Name: Started At
34356
- * * SQL Data Type: datetime
35484
+ * * SQL Data Type: datetimeoffset
34357
35485
  * * Description: Timestamp when the suite run started execution
34358
35486
  */
34359
35487
  get StartedAt(): Date | null;
@@ -34361,7 +35489,7 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34361
35489
  /**
34362
35490
  * * Field Name: CompletedAt
34363
35491
  * * Display Name: Completed At
34364
- * * SQL Data Type: datetime
35492
+ * * SQL Data Type: datetimeoffset
34365
35493
  * * Description: Timestamp when the suite run completed (successfully or with failures)
34366
35494
  */
34367
35495
  get CompletedAt(): Date | null;
@@ -34462,13 +35590,13 @@ export declare class TestSuiteRunEntity extends BaseEntity<TestSuiteRunEntityTyp
34462
35590
  get __mj_UpdatedAt(): Date;
34463
35591
  /**
34464
35592
  * * Field Name: Suite
34465
- * * Display Name: Suite
35593
+ * * Display Name: Suite Name
34466
35594
  * * SQL Data Type: nvarchar(255)
34467
35595
  */
34468
35596
  get Suite(): string;
34469
35597
  /**
34470
35598
  * * Field Name: RunByUser
34471
- * * Display Name: Run By User
35599
+ * * Display Name: Run By User Name
34472
35600
  * * SQL Data Type: nvarchar(100)
34473
35601
  */
34474
35602
  get RunByUser(): string;
@@ -35275,7 +36403,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35275
36403
  set Name(value: string);
35276
36404
  /**
35277
36405
  * * Field Name: CategoryID
35278
- * * Display Name: Category ID
36406
+ * * Display Name: Category
35279
36407
  * * SQL Data Type: uniqueidentifier
35280
36408
  * * Related Entity/Foreign Key: Query Categories (vwQueryCategories.ID)
35281
36409
  */
@@ -35361,14 +36489,14 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35361
36489
  set ExecutionCostRank(value: number | null);
35362
36490
  /**
35363
36491
  * * Field Name: __mj_CreatedAt
35364
- * * Display Name: __mj _Created At
36492
+ * * Display Name: Created At
35365
36493
  * * SQL Data Type: datetimeoffset
35366
36494
  * * Default Value: getutcdate()
35367
36495
  */
35368
36496
  get __mj_CreatedAt(): Date;
35369
36497
  /**
35370
36498
  * * Field Name: __mj_UpdatedAt
35371
- * * Display Name: __mj _Updated At
36499
+ * * Display Name: Updated At
35372
36500
  * * SQL Data Type: datetimeoffset
35373
36501
  * * Default Value: getutcdate()
35374
36502
  */
@@ -35396,7 +36524,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35396
36524
  * * Display Name: Cache Enabled
35397
36525
  * * SQL Data Type: bit
35398
36526
  * * Default Value: 0
35399
- * * 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.
35400
36528
  */
35401
36529
  get CacheEnabled(): boolean;
35402
36530
  set CacheEnabled(value: boolean);
@@ -35426,7 +36554,7 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35426
36554
  set EmbeddingVector(value: string | null);
35427
36555
  /**
35428
36556
  * * Field Name: EmbeddingModelID
35429
- * * Display Name: Embedding Model ID
36557
+ * * Display Name: Embedding Model
35430
36558
  * * SQL Data Type: uniqueidentifier
35431
36559
  * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
35432
36560
  * * Description: The AI Model used to generate the embedding vector for this query. Required for vector similarity comparisons.
@@ -35434,6 +36562,14 @@ export declare class QueryEntity extends BaseEntity<QueryEntityType> {
35434
36562
  get EmbeddingModelID(): string | null;
35435
36563
  set EmbeddingModelID(value: string | null);
35436
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
+ /**
35437
36573
  * * Field Name: Category
35438
36574
  * * Display Name: Category
35439
36575
  * * SQL Data Type: nvarchar(50)
@@ -35981,14 +37117,14 @@ export declare class QueueTaskEntity extends BaseEntity<QueueTaskEntityType> {
35981
37117
  /**
35982
37118
  * * Field Name: StartedAt
35983
37119
  * * Display Name: Started At
35984
- * * SQL Data Type: datetime
37120
+ * * SQL Data Type: datetimeoffset
35985
37121
  */
35986
37122
  get StartedAt(): Date | null;
35987
37123
  set StartedAt(value: Date | null);
35988
37124
  /**
35989
37125
  * * Field Name: EndedAt
35990
37126
  * * Display Name: Ended At
35991
- * * SQL Data Type: datetime
37127
+ * * SQL Data Type: datetimeoffset
35992
37128
  */
35993
37129
  get EndedAt(): Date | null;
35994
37130
  set EndedAt(value: Date | null);
@@ -36186,7 +37322,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36186
37322
  set Description(value: string | null);
36187
37323
  /**
36188
37324
  * * Field Name: QueueTypeID
36189
- * * Display Name: Queue Type ID
37325
+ * * Display Name: Queue Type
36190
37326
  * * SQL Data Type: uniqueidentifier
36191
37327
  * * Related Entity/Foreign Key: Queue Types (vwQueueTypes.ID)
36192
37328
  */
@@ -36194,7 +37330,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36194
37330
  set QueueTypeID(value: string);
36195
37331
  /**
36196
37332
  * * Field Name: IsActive
36197
- * * Display Name: Is Active
37333
+ * * Display Name: Active
36198
37334
  * * SQL Data Type: bit
36199
37335
  * * Default Value: 0
36200
37336
  * * Description: Field IsActive for entity Queues.
@@ -36203,7 +37339,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36203
37339
  set IsActive(value: boolean);
36204
37340
  /**
36205
37341
  * * Field Name: ProcessPID
36206
- * * Display Name: Process PID
37342
+ * * Display Name: Process ID
36207
37343
  * * SQL Data Type: int
36208
37344
  * * Description: Field ProcessPID for entity Queues.
36209
37345
  */
@@ -36227,7 +37363,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36227
37363
  set ProcessVersion(value: string | null);
36228
37364
  /**
36229
37365
  * * Field Name: ProcessCwd
36230
- * * Display Name: Process Cwd
37366
+ * * Display Name: Process Working Directory
36231
37367
  * * SQL Data Type: nvarchar(100)
36232
37368
  * * Description: Field ProcessCwd for entity Queues.
36233
37369
  */
@@ -36235,7 +37371,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36235
37371
  set ProcessCwd(value: string | null);
36236
37372
  /**
36237
37373
  * * Field Name: ProcessIPAddress
36238
- * * Display Name: Process IPAddress
37374
+ * * Display Name: Process IP Address
36239
37375
  * * SQL Data Type: nvarchar(50)
36240
37376
  * * Description: Field ProcessIPAddress for entity Queues.
36241
37377
  */
@@ -36243,7 +37379,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36243
37379
  set ProcessIPAddress(value: string | null);
36244
37380
  /**
36245
37381
  * * Field Name: ProcessMacAddress
36246
- * * Display Name: Process Mac Address
37382
+ * * Display Name: Process MAC Address
36247
37383
  * * SQL Data Type: nvarchar(50)
36248
37384
  * * Description: Field ProcessMacAddress for entity Queues.
36249
37385
  */
@@ -36251,7 +37387,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36251
37387
  set ProcessMacAddress(value: string | null);
36252
37388
  /**
36253
37389
  * * Field Name: ProcessOSName
36254
- * * Display Name: Process OSName
37390
+ * * Display Name: Process OS Name
36255
37391
  * * SQL Data Type: nvarchar(25)
36256
37392
  * * Description: Field ProcessOSName for entity Queues.
36257
37393
  */
@@ -36259,7 +37395,7 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36259
37395
  set ProcessOSName(value: string | null);
36260
37396
  /**
36261
37397
  * * Field Name: ProcessOSVersion
36262
- * * Display Name: Process OSVersion
37398
+ * * Display Name: Process OS Version
36263
37399
  * * SQL Data Type: nvarchar(10)
36264
37400
  * * Description: Field ProcessOSVersion for entity Queues.
36265
37401
  */
@@ -36292,8 +37428,8 @@ export declare class QueueEntity extends BaseEntity<QueueEntityType> {
36292
37428
  /**
36293
37429
  * * Field Name: LastHeartbeat
36294
37430
  * * Display Name: Last Heartbeat
36295
- * * SQL Data Type: datetime
36296
- * * Default Value: getdate()
37431
+ * * SQL Data Type: datetimeoffset
37432
+ * * Default Value: sysdatetimeoffset()
36297
37433
  * * Description: Field LastHeartbeat for entity Queues.
36298
37434
  */
36299
37435
  get LastHeartbeat(): Date;
@@ -36413,12 +37549,6 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
36413
37549
  */
36414
37550
  get __mj_UpdatedAt(): Date;
36415
37551
  /**
36416
- * * Field Name: Recommendation
36417
- * * Display Name: Recommendation
36418
- * * SQL Data Type: nvarchar(MAX)
36419
- */
36420
- get Recommendation(): string;
36421
- /**
36422
37552
  * * Field Name: DestinationEntity
36423
37553
  * * Display Name: Destination Entity
36424
37554
  * * SQL Data Type: nvarchar(255)
@@ -36520,7 +37650,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36520
37650
  set ID(value: string);
36521
37651
  /**
36522
37652
  * * Field Name: RecommendationProviderID
36523
- * * Display Name: Recommendation Provider ID
37653
+ * * Display Name: Recommendation Provider
36524
37654
  * * SQL Data Type: uniqueidentifier
36525
37655
  * * Related Entity/Foreign Key: Recommendation Providers (vwRecommendationProviders.ID)
36526
37656
  */
@@ -36529,7 +37659,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36529
37659
  /**
36530
37660
  * * Field Name: StartDate
36531
37661
  * * Display Name: Start Date
36532
- * * SQL Data Type: datetime
37662
+ * * SQL Data Type: datetimeoffset
36533
37663
  * * Description: The start date of the recommendation run
36534
37664
  */
36535
37665
  get StartDate(): Date;
@@ -36537,7 +37667,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36537
37667
  /**
36538
37668
  * * Field Name: EndDate
36539
37669
  * * Display Name: End Date
36540
- * * SQL Data Type: datetime
37670
+ * * SQL Data Type: datetimeoffset
36541
37671
  * * Description: The end date of the recommendation run
36542
37672
  */
36543
37673
  get EndDate(): Date | null;
@@ -36566,7 +37696,7 @@ export declare class RecommendationRunEntity extends BaseEntity<RecommendationRu
36566
37696
  set Description(value: string | null);
36567
37697
  /**
36568
37698
  * * Field Name: RunByUserID
36569
- * * Display Name: Run By User ID
37699
+ * * Display Name: Run By User
36570
37700
  * * SQL Data Type: uniqueidentifier
36571
37701
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
36572
37702
  */
@@ -36670,12 +37800,6 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
36670
37800
  */
36671
37801
  get __mj_UpdatedAt(): Date;
36672
37802
  /**
36673
- * * Field Name: RecommendationRun
36674
- * * Display Name: Recommendation Run
36675
- * * SQL Data Type: nvarchar(255)
36676
- */
36677
- get RecommendationRun(): string;
36678
- /**
36679
37803
  * * Field Name: SourceEntity
36680
37804
  * * Display Name: Source Entity
36681
37805
  * * SQL Data Type: nvarchar(255)
@@ -36717,7 +37841,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36717
37841
  /**
36718
37842
  * * Field Name: StartedAt
36719
37843
  * * Display Name: Started At
36720
- * * SQL Data Type: datetime
37844
+ * * SQL Data Type: datetimeoffset
36721
37845
  * * Description: Timestamp when the replay run started
36722
37846
  */
36723
37847
  get StartedAt(): Date;
@@ -36725,7 +37849,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36725
37849
  /**
36726
37850
  * * Field Name: EndedAt
36727
37851
  * * Display Name: Ended At
36728
- * * SQL Data Type: datetime
37852
+ * * SQL Data Type: datetimeoffset
36729
37853
  * * Description: Timestamp when the replay run ended
36730
37854
  */
36731
37855
  get EndedAt(): Date | null;
@@ -36746,7 +37870,7 @@ export declare class RecordChangeReplayRunEntity extends BaseEntity<RecordChange
36746
37870
  set Status(value: 'Complete' | 'Error' | 'In Progress' | 'Pending');
36747
37871
  /**
36748
37872
  * * Field Name: UserID
36749
- * * Display Name: User ID
37873
+ * * Display Name: User
36750
37874
  * * SQL Data Type: uniqueidentifier
36751
37875
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
36752
37876
  */
@@ -36960,12 +38084,6 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
36960
38084
  */
36961
38085
  get User(): string;
36962
38086
  /**
36963
- * * Field Name: ReplayRun
36964
- * * Display Name: Replay Run
36965
- * * SQL Data Type: nvarchar(100)
36966
- */
36967
- get ReplayRun(): string | null;
36968
- /**
36969
38087
  * * Field Name: Integration
36970
38088
  * * Display Name: Integration
36971
38089
  * * SQL Data Type: nvarchar(100)
@@ -37055,12 +38173,6 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
37055
38173
  * * Default Value: getutcdate()
37056
38174
  */
37057
38175
  get __mj_UpdatedAt(): Date;
37058
- /**
37059
- * * Field Name: RecordMergeLog
37060
- * * Display Name: Record Merge Log
37061
- * * SQL Data Type: nvarchar(450)
37062
- */
37063
- get RecordMergeLog(): string;
37064
38176
  }
37065
38177
  /**
37066
38178
  * Record Merge Logs - strongly typed entity sub-class
@@ -37112,7 +38224,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37112
38224
  set SurvivingRecordID(value: string);
37113
38225
  /**
37114
38226
  * * Field Name: InitiatedByUserID
37115
- * * Display Name: Initiated By User ID
38227
+ * * Display Name: Initiated By User
37116
38228
  * * SQL Data Type: uniqueidentifier
37117
38229
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
37118
38230
  */
@@ -37134,7 +38246,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37134
38246
  set ApprovalStatus(value: 'Approved' | 'Pending' | 'Rejected');
37135
38247
  /**
37136
38248
  * * Field Name: ApprovedByUserID
37137
- * * Display Name: Approved By User ID
38249
+ * * Display Name: Approved By User
37138
38250
  * * SQL Data Type: uniqueidentifier
37139
38251
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
37140
38252
  */
@@ -37157,8 +38269,8 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37157
38269
  /**
37158
38270
  * * Field Name: ProcessingStartedAt
37159
38271
  * * Display Name: Processing Started At
37160
- * * SQL Data Type: datetime
37161
- * * Default Value: getdate()
38272
+ * * SQL Data Type: datetimeoffset
38273
+ * * Default Value: sysdatetimeoffset()
37162
38274
  * * Description: Field ProcessingStartedAt for entity Record Merge Logs.
37163
38275
  */
37164
38276
  get ProcessingStartedAt(): Date;
@@ -37166,7 +38278,7 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37166
38278
  /**
37167
38279
  * * Field Name: ProcessingEndedAt
37168
38280
  * * Display Name: Processing Ended At
37169
- * * SQL Data Type: datetime
38281
+ * * SQL Data Type: datetimeoffset
37170
38282
  * * Description: Field ProcessingEndedAt for entity Record Merge Logs.
37171
38283
  */
37172
38284
  get ProcessingEndedAt(): Date | null;
@@ -37208,13 +38320,13 @@ export declare class RecordMergeLogEntity extends BaseEntity<RecordMergeLogEntit
37208
38320
  get Entity(): string;
37209
38321
  /**
37210
38322
  * * Field Name: InitiatedByUser
37211
- * * Display Name: Initiated By User
38323
+ * * Display Name: Initiated By User Name
37212
38324
  * * SQL Data Type: nvarchar(100)
37213
38325
  */
37214
38326
  get InitiatedByUser(): string;
37215
38327
  /**
37216
38328
  * * Field Name: ApprovedByUser
37217
- * * Display Name: Approved By User
38329
+ * * Display Name: Approved By User Name
37218
38330
  * * SQL Data Type: nvarchar(100)
37219
38331
  */
37220
38332
  get ApprovedByUser(): string | null;
@@ -37613,12 +38725,6 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
37613
38725
  */
37614
38726
  get Conversation(): string | null;
37615
38727
  /**
37616
- * * Field Name: ConversationDetail
37617
- * * Display Name: Conversation Detail
37618
- * * SQL Data Type: nvarchar(MAX)
37619
- */
37620
- get ConversationDetail(): string | null;
37621
- /**
37622
38728
  * * Field Name: DataContext
37623
38729
  * * Display Name: Data Context
37624
38730
  * * SQL Data Type: nvarchar(255)
@@ -39256,12 +40362,6 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
39256
40362
  * * SQL Data Type: nvarchar(255)
39257
40363
  */
39258
40364
  get Entity(): string | null;
39259
- /**
39260
- * * Field Name: TemplateContent
39261
- * * Display Name: Template Content
39262
- * * SQL Data Type: nvarchar(255)
39263
- */
39264
- get TemplateContent(): string | null;
39265
40365
  }
39266
40366
  /**
39267
40367
  * Templates - strongly typed entity sub-class
@@ -39313,7 +40413,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39313
40413
  set Description(value: string | null);
39314
40414
  /**
39315
40415
  * * Field Name: CategoryID
39316
- * * Display Name: Category ID
40416
+ * * Display Name: Category
39317
40417
  * * SQL Data Type: uniqueidentifier
39318
40418
  * * Related Entity/Foreign Key: Template Categories (vwTemplateCategories.ID)
39319
40419
  */
@@ -39329,7 +40429,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39329
40429
  set UserPrompt(value: string | null);
39330
40430
  /**
39331
40431
  * * Field Name: UserID
39332
- * * Display Name: User ID
40432
+ * * Display Name: User
39333
40433
  * * SQL Data Type: uniqueidentifier
39334
40434
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39335
40435
  */
@@ -39338,7 +40438,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39338
40438
  /**
39339
40439
  * * Field Name: ActiveAt
39340
40440
  * * Display Name: Active At
39341
- * * SQL Data Type: datetime
40441
+ * * SQL Data Type: datetimeoffset
39342
40442
  * * Description: Optional, if provided, this template will not be available for use until the specified date. Requires IsActive to be set to 1
39343
40443
  */
39344
40444
  get ActiveAt(): Date | null;
@@ -39346,7 +40446,7 @@ export declare class TemplateEntity extends BaseEntity<TemplateEntityType> {
39346
40446
  /**
39347
40447
  * * Field Name: DisabledAt
39348
40448
  * * Display Name: Disabled At
39349
- * * SQL Data Type: datetime
40449
+ * * SQL Data Type: datetimeoffset
39350
40450
  * * Description: Optional, if provided, this template will not be available for use after the specified date. If IsActive=0, this has no effect.
39351
40451
  */
39352
40452
  get DisabledAt(): Date | null;
@@ -39687,7 +40787,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39687
40787
  set ID(value: string);
39688
40788
  /**
39689
40789
  * * Field Name: UserID
39690
- * * Display Name: User ID
40790
+ * * Display Name: User
39691
40791
  * * SQL Data Type: uniqueidentifier
39692
40792
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39693
40793
  */
@@ -39711,7 +40811,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39711
40811
  set Message(value: string | null);
39712
40812
  /**
39713
40813
  * * Field Name: ResourceTypeID
39714
- * * Display Name: Resource Type ID
40814
+ * * Display Name: Resource Type
39715
40815
  * * SQL Data Type: uniqueidentifier
39716
40816
  * * Related Entity/Foreign Key: Resource Types (vwResourceTypes.ID)
39717
40817
  */
@@ -39737,7 +40837,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39737
40837
  /**
39738
40838
  * * Field Name: ReadAt
39739
40839
  * * Display Name: Read At
39740
- * * SQL Data Type: datetime
40840
+ * * SQL Data Type: datetimeoffset
39741
40841
  * * Description: Timestamp when the user read this notification.
39742
40842
  */
39743
40843
  get ReadAt(): Date | null;
@@ -39758,7 +40858,7 @@ export declare class UserNotificationEntity extends BaseEntity<UserNotificationE
39758
40858
  get __mj_UpdatedAt(): Date;
39759
40859
  /**
39760
40860
  * * Field Name: ResourceRecordID
39761
- * * Display Name: Resource Record ID
40861
+ * * Display Name: Resource Record
39762
40862
  * * SQL Data Type: uniqueidentifier
39763
40863
  * * Description: ID of the specific record this notification is about.
39764
40864
  */
@@ -39803,6 +40903,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39803
40903
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
39804
40904
  /**
39805
40905
  * * Field Name: ID
40906
+ * * Display Name: ID
39806
40907
  * * SQL Data Type: uniqueidentifier
39807
40908
  * * Default Value: newsequentialid()
39808
40909
  */
@@ -39810,7 +40911,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39810
40911
  set ID(value: string);
39811
40912
  /**
39812
40913
  * * Field Name: UserID
39813
- * * Display Name: User ID
40914
+ * * Display Name: User
39814
40915
  * * SQL Data Type: uniqueidentifier
39815
40916
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
39816
40917
  */
@@ -39818,7 +40919,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39818
40919
  set UserID(value: string);
39819
40920
  /**
39820
40921
  * * Field Name: EntityID
39821
- * * Display Name: Entity ID
40922
+ * * Display Name: Entity
39822
40923
  * * SQL Data Type: uniqueidentifier
39823
40924
  * * Related Entity/Foreign Key: Entities (vwEntities.ID)
39824
40925
  */
@@ -39826,7 +40927,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39826
40927
  set EntityID(value: string);
39827
40928
  /**
39828
40929
  * * Field Name: RecordID
39829
- * * Display Name: Record
40930
+ * * Display Name: Record ID
39830
40931
  * * SQL Data Type: nvarchar(450)
39831
40932
  * * Description: The ID of the accessed record.
39832
40933
  */
@@ -39835,8 +40936,8 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39835
40936
  /**
39836
40937
  * * Field Name: EarliestAt
39837
40938
  * * Display Name: Earliest At
39838
- * * SQL Data Type: datetime
39839
- * * Default Value: getdate()
40939
+ * * SQL Data Type: datetimeoffset
40940
+ * * Default Value: sysdatetimeoffset()
39840
40941
  * * Description: Field EarliestAt for entity User Record Logs.
39841
40942
  */
39842
40943
  get EarliestAt(): Date;
@@ -39844,8 +40945,8 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39844
40945
  /**
39845
40946
  * * Field Name: LatestAt
39846
40947
  * * Display Name: Latest At
39847
- * * SQL Data Type: datetime
39848
- * * Default Value: getdate()
40948
+ * * SQL Data Type: datetimeoffset
40949
+ * * Default Value: sysdatetimeoffset()
39849
40950
  * * Description: Field LatestAt for entity User Record Logs.
39850
40951
  */
39851
40952
  get LatestAt(): Date;
@@ -39887,7 +40988,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39887
40988
  get UserName(): string;
39888
40989
  /**
39889
40990
  * * Field Name: UserFirstLast
39890
- * * Display Name: User First Last
40991
+ * * Display Name: User Full Name
39891
40992
  * * SQL Data Type: nvarchar(101)
39892
40993
  */
39893
40994
  get UserFirstLast(): string | null;
@@ -39905,7 +41006,7 @@ export declare class UserRecordLogEntity extends BaseEntity<UserRecordLogEntityT
39905
41006
  get UserSupervisor(): string | null;
39906
41007
  /**
39907
41008
  * * Field Name: UserSupervisorEmail
39908
- * * Display Name: User Supervisor Email
41009
+ * * Display Name: Supervisor Email
39909
41010
  * * SQL Data Type: nvarchar(100)
39910
41011
  */
39911
41012
  get UserSupervisorEmail(): string | null;
@@ -40194,6 +41295,7 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40194
41295
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
40195
41296
  /**
40196
41297
  * * Field Name: ID
41298
+ * * Display Name: ID
40197
41299
  * * SQL Data Type: uniqueidentifier
40198
41300
  * * Default Value: newsequentialid()
40199
41301
  */
@@ -40201,7 +41303,7 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40201
41303
  set ID(value: string);
40202
41304
  /**
40203
41305
  * * Field Name: UserViewID
40204
- * * Display Name: User View ID
41306
+ * * Display Name: User View
40205
41307
  * * SQL Data Type: uniqueidentifier
40206
41308
  * * Related Entity/Foreign Key: User Views (vwUserViews.ID)
40207
41309
  */
@@ -40210,14 +41312,14 @@ export declare class UserViewRunEntity extends BaseEntity<UserViewRunEntityType>
40210
41312
  /**
40211
41313
  * * Field Name: RunAt
40212
41314
  * * Display Name: Run At
40213
- * * SQL Data Type: datetime
41315
+ * * SQL Data Type: datetimeoffset
40214
41316
  * * Description: Timestamp when the view was executed.
40215
41317
  */
40216
41318
  get RunAt(): Date;
40217
41319
  set RunAt(value: Date);
40218
41320
  /**
40219
41321
  * * Field Name: RunByUserID
40220
- * * Display Name: Run By User ID
41322
+ * * Display Name: Run By User
40221
41323
  * * SQL Data Type: uniqueidentifier
40222
41324
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
40223
41325
  */
@@ -40908,7 +42010,7 @@ export declare class VersionInstallationEntity extends BaseEntity<VersionInstall
40908
42010
  set PatchVersion(value: number);
40909
42011
  /**
40910
42012
  * * Field Name: Type
40911
- * * Display Name: Type
42013
+ * * Display Name: Installation Type
40912
42014
  * * SQL Data Type: nvarchar(20)
40913
42015
  * * Default Value: System
40914
42016
  * * Value List Type: List
@@ -40922,7 +42024,7 @@ export declare class VersionInstallationEntity extends BaseEntity<VersionInstall
40922
42024
  /**
40923
42025
  * * Field Name: InstalledAt
40924
42026
  * * Display Name: Installed At
40925
- * * SQL Data Type: datetime
42027
+ * * SQL Data Type: datetimeoffset
40926
42028
  * * Description: Timestamp when this version was installed.
40927
42029
  */
40928
42030
  get InstalledAt(): Date;
@@ -41081,6 +42183,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41081
42183
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
41082
42184
  /**
41083
42185
  * * Field Name: ID
42186
+ * * Display Name: ID
41084
42187
  * * SQL Data Type: uniqueidentifier
41085
42188
  * * Default Value: newsequentialid()
41086
42189
  */
@@ -41096,7 +42199,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41096
42199
  set WorkflowID(value: string);
41097
42200
  /**
41098
42201
  * * Field Name: ExternalSystemRecordID
41099
- * * Display Name: External System Record
42202
+ * * Display Name: External System Record ID
41100
42203
  * * SQL Data Type: nvarchar(500)
41101
42204
  * * Description: Field ExternalSystemRecordID for entity Workflow Runs.
41102
42205
  */
@@ -41105,19 +42208,20 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41105
42208
  /**
41106
42209
  * * Field Name: StartedAt
41107
42210
  * * Display Name: Started At
41108
- * * SQL Data Type: datetime
42211
+ * * SQL Data Type: datetimeoffset
41109
42212
  */
41110
42213
  get StartedAt(): Date;
41111
42214
  set StartedAt(value: Date);
41112
42215
  /**
41113
42216
  * * Field Name: EndedAt
41114
42217
  * * Display Name: Ended At
41115
- * * SQL Data Type: datetime
42218
+ * * SQL Data Type: datetimeoffset
41116
42219
  */
41117
42220
  get EndedAt(): Date | null;
41118
42221
  set EndedAt(value: Date | null);
41119
42222
  /**
41120
42223
  * * Field Name: Status
42224
+ * * Display Name: Status
41121
42225
  * * SQL Data Type: nchar(10)
41122
42226
  * * Default Value: Pending
41123
42227
  * * Value List Type: List
@@ -41131,6 +42235,7 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41131
42235
  set Status(value: 'Complete' | 'Failed' | 'In Progress' | 'Pending');
41132
42236
  /**
41133
42237
  * * Field Name: Results
42238
+ * * Display Name: Results
41134
42239
  * * SQL Data Type: nvarchar(MAX)
41135
42240
  * * Description: JSON-formatted detailed results from the workflow execution, including outputs from each step and any error information.
41136
42241
  */
@@ -41152,13 +42257,13 @@ export declare class WorkflowRunEntity extends BaseEntity<WorkflowRunEntityType>
41152
42257
  get __mj_UpdatedAt(): Date;
41153
42258
  /**
41154
42259
  * * Field Name: Workflow
41155
- * * Display Name: Workflow
42260
+ * * Display Name: Workflow Name
41156
42261
  * * SQL Data Type: nvarchar(100)
41157
42262
  */
41158
42263
  get Workflow(): string;
41159
42264
  /**
41160
42265
  * * Field Name: WorkflowEngineName
41161
- * * Display Name: Workflow Engine Name
42266
+ * * Display Name: Workflow Engine
41162
42267
  * * SQL Data Type: nvarchar(100)
41163
42268
  */
41164
42269
  get WorkflowEngineName(): string;