@memberjunction/core-entities 5.2.0 → 5.3.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.
@@ -463,7 +463,7 @@ export const MJActionParamSchema = z.object({
463
463
  * * Input
464
464
  * * Output
465
465
  * * Description: Specifies whether this parameter is used for Input, Output, or Both directions in the action execution flow.`),
466
- ValueType: z.union([z.literal('BaseEntity Sub-Class'), z.literal('BaseEntity Sub-Class'), z.literal('MediaOutput'), z.literal('Other'), z.literal('Other'), z.literal('Scalar'), z.literal('Scalar'), z.literal('Simple Object'), z.literal('Simple Object')]).describe(`
466
+ ValueType: z.union([z.literal('BaseEntity Sub-Class'), z.literal('BaseEntity Sub-Class'), z.literal('MediaOutput'), z.literal('Other'), z.literal('Scalar'), z.literal('Other'), z.literal('Scalar'), z.literal('Simple Object'), z.literal('Simple Object')]).describe(`
467
467
  * * Field Name: ValueType
468
468
  * * Display Name: Value Type
469
469
  * * SQL Data Type: nvarchar(30)
@@ -473,8 +473,8 @@ export const MJActionParamSchema = z.object({
473
473
  * * BaseEntity Sub-Class
474
474
  * * Other
475
475
  * * MediaOutput
476
- * * Other
477
476
  * * Scalar
477
+ * * Other
478
478
  * * Scalar
479
479
  * * Simple Object
480
480
  * * Simple Object
@@ -2316,6 +2316,14 @@ detailed information about what validation rules failed.`),
2316
2316
  * * Display Name: Comments
2317
2317
  * * SQL Data Type: nvarchar(MAX)
2318
2318
  * * Description: Human-readable notes and comments about this agent run step`),
2319
+ AgentRun: z.string().nullable().describe(`
2320
+ * * Field Name: AgentRun
2321
+ * * Display Name: Agent Run
2322
+ * * SQL Data Type: nvarchar(255)`),
2323
+ Parent: z.string().nullable().describe(`
2324
+ * * Field Name: Parent
2325
+ * * Display Name: Parent Step
2326
+ * * SQL Data Type: nvarchar(255)`),
2319
2327
  RootParentID: z.string().nullable().describe(`
2320
2328
  * * Field Name: RootParentID
2321
2329
  * * Display Name: Root Parent Step
@@ -3702,7 +3710,7 @@ export const MJAIModalitySchema = z.object({
3702
3710
  * * Field Name: MIMETypePattern
3703
3711
  * * Display Name: MIME Type Pattern
3704
3712
  * * SQL Data Type: nvarchar(100)
3705
- * * Description: MIME type pattern for this modality (e.g., image/*, audio/*, video/*, text/*, application/*). Used for file type validation.`),
3713
+ * * Description: MIME type pattern for this modality (e.g., image/\*, audio/\*, video/\*, text/\*, application/\*). Used for file type validation.`),
3706
3714
  Type: z.union([z.literal('Binary'), z.literal('Content'), z.literal('Structured')]).describe(`
3707
3715
  * * Field Name: Type
3708
3716
  * * Display Name: Type
@@ -5662,6 +5670,10 @@ export const MJAIResultCacheSchema = z.object({
5662
5670
  * * Field Name: Configuration
5663
5671
  * * Display Name: Configuration
5664
5672
  * * SQL Data Type: nvarchar(100)`),
5673
+ PromptRun: z.string().nullable().describe(`
5674
+ * * Field Name: PromptRun
5675
+ * * Display Name: Prompt Run
5676
+ * * SQL Data Type: nvarchar(255)`),
5665
5677
  });
5666
5678
  /**
5667
5679
  * zod schema definition for the entity MJ: AI Vendor Type Definitions
@@ -9129,6 +9141,10 @@ export const MJConversationDetailArtifactSchema = z.object({
9129
9141
  * * Display Name: Updated At
9130
9142
  * * SQL Data Type: datetimeoffset
9131
9143
  * * Default Value: getutcdate()`),
9144
+ ConversationDetail: z.string().describe(`
9145
+ * * Field Name: ConversationDetail
9146
+ * * Display Name: Conversation Detail Summary
9147
+ * * SQL Data Type: nvarchar(MAX)`),
9132
9148
  ArtifactVersion: z.string().nullable().describe(`
9133
9149
  * * Field Name: ArtifactVersion
9134
9150
  * * Display Name: Artifact Version Summary
@@ -9275,6 +9291,10 @@ export const MJConversationDetailRatingSchema = z.object({
9275
9291
  * * Display Name: Updated At
9276
9292
  * * SQL Data Type: datetimeoffset
9277
9293
  * * Default Value: getutcdate()`),
9294
+ ConversationDetail: z.string().describe(`
9295
+ * * Field Name: ConversationDetail
9296
+ * * Display Name: Conversation Detail
9297
+ * * SQL Data Type: nvarchar(MAX)`),
9278
9298
  User: z.string().describe(`
9279
9299
  * * Field Name: User
9280
9300
  * * Display Name: User
@@ -9576,7 +9596,7 @@ export const MJConversationSchema = z.object({
9576
9596
  * * SQL Data Type: nvarchar(100)`),
9577
9597
  LinkedEntity: z.string().nullable().describe(`
9578
9598
  * * Field Name: LinkedEntity
9579
- * * Display Name: Linked Entity Name
9599
+ * * Display Name: Linked Entity Type
9580
9600
  * * SQL Data Type: nvarchar(255)`),
9581
9601
  DataContext: z.string().nullable().describe(`
9582
9602
  * * Field Name: DataContext
@@ -9590,6 +9610,10 @@ export const MJConversationSchema = z.object({
9590
9610
  * * Field Name: Project
9591
9611
  * * Display Name: Project Name
9592
9612
  * * SQL Data Type: nvarchar(255)`),
9613
+ TestRun: z.string().nullable().describe(`
9614
+ * * Field Name: TestRun
9615
+ * * Display Name: Test Run Name
9616
+ * * SQL Data Type: nvarchar(255)`),
9593
9617
  });
9594
9618
  /**
9595
9619
  * zod schema definition for the entity MJ: Credential Categories
@@ -10719,6 +10743,10 @@ export const MJDuplicateRunDetailSchema = z.object({
10719
10743
  * * Display Name: Updated At
10720
10744
  * * SQL Data Type: datetimeoffset
10721
10745
  * * Default Value: getutcdate()`),
10746
+ DuplicateRun: z.string().describe(`
10747
+ * * Field Name: DuplicateRun
10748
+ * * Display Name: Duplicate Run
10749
+ * * SQL Data Type: nvarchar(255)`),
10722
10750
  });
10723
10751
  /**
10724
10752
  * zod schema definition for the entity MJ: Duplicate Runs
@@ -10839,12 +10867,12 @@ export const MJEmployeeCompanyIntegrationSchema = z.object({
10839
10867
  * * Related Entity/Foreign Key: MJ: Company Integrations (vwCompanyIntegrations.ID)`),
10840
10868
  ExternalSystemRecordID: z.string().describe(`
10841
10869
  * * Field Name: ExternalSystemRecordID
10842
- * * Display Name: External Record ID
10870
+ * * Display Name: External ID
10843
10871
  * * SQL Data Type: nvarchar(750)
10844
10872
  * * Description: The employee's unique identifier in the external integrated system.`),
10845
10873
  IsActive: z.boolean().describe(`
10846
10874
  * * Field Name: IsActive
10847
- * * Display Name: Is Active
10875
+ * * Display Name: Active
10848
10876
  * * SQL Data Type: bit
10849
10877
  * * Default Value: 1
10850
10878
  * * Description: Indicates if this employee integration mapping is currently active.`),
@@ -10858,6 +10886,10 @@ export const MJEmployeeCompanyIntegrationSchema = z.object({
10858
10886
  * * Display Name: Updated At
10859
10887
  * * SQL Data Type: datetimeoffset
10860
10888
  * * Default Value: getutcdate()`),
10889
+ Employee: z.string().nullable().describe(`
10890
+ * * Field Name: Employee
10891
+ * * Display Name: Employee Name
10892
+ * * SQL Data Type: nvarchar(81)`),
10861
10893
  CompanyIntegration: z.string().describe(`
10862
10894
  * * Field Name: CompanyIntegration
10863
10895
  * * Display Name: Integration Name
@@ -10892,6 +10924,10 @@ export const MJEmployeeRoleSchema = z.object({
10892
10924
  * * Display Name: Updated At
10893
10925
  * * SQL Data Type: datetimeoffset
10894
10926
  * * Default Value: getutcdate()`),
10927
+ Employee: z.string().nullable().describe(`
10928
+ * * Field Name: Employee
10929
+ * * Display Name: Employee Name
10930
+ * * SQL Data Type: nvarchar(81)`),
10895
10931
  Role: z.string().describe(`
10896
10932
  * * Field Name: Role
10897
10933
  * * Display Name: Role Name
@@ -10913,7 +10949,7 @@ export const MJEmployeeSkillSchema = z.object({
10913
10949
  * * Related Entity/Foreign Key: MJ: Employees (vwEmployees.ID)`),
10914
10950
  SkillID: z.string().describe(`
10915
10951
  * * Field Name: SkillID
10916
- * * Display Name: Skill
10952
+ * * Display Name: Skill ID
10917
10953
  * * SQL Data Type: uniqueidentifier
10918
10954
  * * Related Entity/Foreign Key: MJ: Skills (vwSkills.ID)`),
10919
10955
  __mj_CreatedAt: z.date().describe(`
@@ -10926,9 +10962,13 @@ export const MJEmployeeSkillSchema = z.object({
10926
10962
  * * Display Name: Updated At
10927
10963
  * * SQL Data Type: datetimeoffset
10928
10964
  * * Default Value: getutcdate()`),
10965
+ Employee: z.string().nullable().describe(`
10966
+ * * Field Name: Employee
10967
+ * * Display Name: Employee Name
10968
+ * * SQL Data Type: nvarchar(81)`),
10929
10969
  Skill: z.string().describe(`
10930
10970
  * * Field Name: Skill
10931
- * * Display Name: Skill Name
10971
+ * * Display Name: Skill
10932
10972
  * * SQL Data Type: nvarchar(50)`),
10933
10973
  });
10934
10974
  /**
@@ -11581,11 +11621,13 @@ export const MJEntitySchema = z.object({
11581
11621
  CodeName: z.string().nullable().describe(`
11582
11622
  * * Field Name: CodeName
11583
11623
  * * Display Name: Code Name
11584
- * * SQL Data Type: nvarchar(MAX)`),
11624
+ * * SQL Data Type: nvarchar(MAX)
11625
+ * * Description: Schema-based programmatic code name derived from the entity Name. Uses GetClassNameSchemaPrefix(SchemaName) as the prefix, then strips EntityNamePrefix from the Name and removes spaces. For "__mj" schema with entity "MJ: AI Models", this produces "MJAIModels". For entities in other schemas, the sanitized schema name is prepended. Used in GraphQL type generation and internal code references.`),
11585
11626
  ClassName: z.string().nullable().describe(`
11586
11627
  * * Field Name: ClassName
11587
11628
  * * Display Name: Class Name
11588
- * * SQL Data Type: nvarchar(MAX)`),
11629
+ * * SQL Data Type: nvarchar(MAX)
11630
+ * * Description: Schema-based programmatic class name used for TypeScript entity classes, Zod schemas, and Angular form components. Computed as GetProgrammaticName(GetClassNameSchemaPrefix(SchemaName) + BaseTable + NameSuffix). The prefix is derived from SchemaName (guaranteed unique by SQL Server), not from EntityNamePrefix. For the core __mj schema, the prefix is "MJ"; for all other schemas it is the alphanumeric-sanitized schema name. This prevents cross-schema collisions and aligns with GraphQL type naming in getGraphQLTypeNameBase().`),
11589
11631
  BaseTableCodeName: z.string().nullable().describe(`
11590
11632
  * * Field Name: BaseTableCodeName
11591
11633
  * * Display Name: Base Table Code Name
@@ -11614,12 +11656,12 @@ export const MJEntityActionFilterSchema = z.object({
11614
11656
  * * Default Value: newsequentialid()`),
11615
11657
  EntityActionID: z.string().describe(`
11616
11658
  * * Field Name: EntityActionID
11617
- * * Display Name: Entity Action ID
11659
+ * * Display Name: Entity Action
11618
11660
  * * SQL Data Type: uniqueidentifier
11619
11661
  * * Related Entity/Foreign Key: MJ: Entity Actions (vwEntityActions.ID)`),
11620
11662
  ActionFilterID: z.string().describe(`
11621
11663
  * * Field Name: ActionFilterID
11622
- * * Display Name: Action Filter ID
11664
+ * * Display Name: Action Filter
11623
11665
  * * SQL Data Type: uniqueidentifier
11624
11666
  * * Related Entity/Foreign Key: MJ: Action Filters (vwActionFilters.ID)`),
11625
11667
  Sequence: z.number().describe(`
@@ -11648,6 +11690,14 @@ export const MJEntityActionFilterSchema = z.object({
11648
11690
  * * Display Name: Updated At
11649
11691
  * * SQL Data Type: datetimeoffset
11650
11692
  * * Default Value: getutcdate()`),
11693
+ EntityAction: z.string().describe(`
11694
+ * * Field Name: EntityAction
11695
+ * * Display Name: Entity Action Name
11696
+ * * SQL Data Type: nvarchar(425)`),
11697
+ ActionFilter: z.string().describe(`
11698
+ * * Field Name: ActionFilter
11699
+ * * Display Name: Action Filter Name
11700
+ * * SQL Data Type: nvarchar(MAX)`),
11651
11701
  });
11652
11702
  /**
11653
11703
  * zod schema definition for the entity MJ: Entity Action Invocation Types
@@ -11725,6 +11775,10 @@ export const MJEntityActionInvocationSchema = z.object({
11725
11775
  * * Display Name: Updated At
11726
11776
  * * SQL Data Type: datetimeoffset
11727
11777
  * * Default Value: getutcdate()`),
11778
+ EntityAction: z.string().describe(`
11779
+ * * Field Name: EntityAction
11780
+ * * Display Name: Entity Action Name
11781
+ * * SQL Data Type: nvarchar(425)`),
11728
11782
  InvocationType: z.string().describe(`
11729
11783
  * * Field Name: InvocationType
11730
11784
  * * Display Name: Invocation Type Name
@@ -11746,7 +11800,7 @@ export const MJEntityActionParamSchema = z.object({
11746
11800
  * * Related Entity/Foreign Key: MJ: Entity Actions (vwEntityActions.ID)`),
11747
11801
  ActionParamID: z.string().describe(`
11748
11802
  * * Field Name: ActionParamID
11749
- * * Display Name: Action Param ID
11803
+ * * Display Name: Action Parameter ID
11750
11804
  * * SQL Data Type: uniqueidentifier
11751
11805
  * * Related Entity/Foreign Key: MJ: Action Params (vwActionParams.ID)`),
11752
11806
  ValueType: z.union([z.literal('Entity Field'), z.literal('Entity Object'), z.literal('Script'), z.literal('Static')]).describe(`
@@ -11780,9 +11834,13 @@ export const MJEntityActionParamSchema = z.object({
11780
11834
  * * Display Name: Updated At
11781
11835
  * * SQL Data Type: datetimeoffset
11782
11836
  * * Default Value: getutcdate()`),
11837
+ EntityAction: z.string().describe(`
11838
+ * * Field Name: EntityAction
11839
+ * * Display Name: Entity Action
11840
+ * * SQL Data Type: nvarchar(425)`),
11783
11841
  ActionParam: z.string().describe(`
11784
11842
  * * Field Name: ActionParam
11785
- * * Display Name: Action Param
11843
+ * * Display Name: Action Parameter
11786
11844
  * * SQL Data Type: nvarchar(255)`),
11787
11845
  });
11788
11846
  /**
@@ -11950,7 +12008,7 @@ export const MJEntityCommunicationFieldSchema = z.object({
11950
12008
  * * Default Value: newsequentialid()`),
11951
12009
  EntityCommunicationMessageTypeID: z.string().describe(`
11952
12010
  * * Field Name: EntityCommunicationMessageTypeID
11953
- * * Display Name: Message Type ID
12011
+ * * Display Name: Message Type
11954
12012
  * * SQL Data Type: uniqueidentifier
11955
12013
  * * Related Entity/Foreign Key: MJ: Entity Communication Message Types (vwEntityCommunicationMessageTypes.ID)`),
11956
12014
  FieldName: z.string().describe(`
@@ -11973,6 +12031,10 @@ export const MJEntityCommunicationFieldSchema = z.object({
11973
12031
  * * Display Name: Updated At
11974
12032
  * * SQL Data Type: datetimeoffset
11975
12033
  * * Default Value: getutcdate()`),
12034
+ EntityCommunicationMessageType: z.string().describe(`
12035
+ * * Field Name: EntityCommunicationMessageType
12036
+ * * Display Name: Message Type Name
12037
+ * * SQL Data Type: nvarchar(100)`),
11976
12038
  });
11977
12039
  /**
11978
12040
  * zod schema definition for the entity MJ: Entity Communication Message Types
@@ -13236,6 +13298,14 @@ export const MJErrorLogSchema = z.object({
13236
13298
  * * Display Name: Updated At
13237
13299
  * * SQL Data Type: datetimeoffset
13238
13300
  * * Default Value: getutcdate()`),
13301
+ CompanyIntegrationRun: z.string().nullable().describe(`
13302
+ * * Field Name: CompanyIntegrationRun
13303
+ * * Display Name: Company Integration Run
13304
+ * * SQL Data Type: nvarchar(100)`),
13305
+ CompanyIntegrationRunDetail: z.string().nullable().describe(`
13306
+ * * Field Name: CompanyIntegrationRunDetail
13307
+ * * Display Name: Company Integration Run Detail
13308
+ * * SQL Data Type: nvarchar(450)`),
13239
13309
  });
13240
13310
  /**
13241
13311
  * zod schema definition for the entity MJ: Explorer Navigation Items
@@ -14342,6 +14412,10 @@ export const MJMCPServerConnectionToolSchema = z.object({
14342
14412
  * * Field Name: MCPServerConnection
14343
14413
  * * Display Name: Connection Name
14344
14414
  * * SQL Data Type: nvarchar(255)`),
14415
+ MCPServerTool: z.string().nullable().describe(`
14416
+ * * Field Name: MCPServerTool
14417
+ * * Display Name: Tool Name
14418
+ * * SQL Data Type: nvarchar(255)`),
14345
14419
  });
14346
14420
  /**
14347
14421
  * zod schema definition for the entity MJ: MCP Server Connections
@@ -14769,6 +14843,10 @@ export const MJMCPToolExecutionLogSchema = z.object({
14769
14843
  * * Field Name: MCPServerConnection
14770
14844
  * * Display Name: Connection
14771
14845
  * * SQL Data Type: nvarchar(255)`),
14846
+ MCPServerTool: z.string().nullable().describe(`
14847
+ * * Field Name: MCPServerTool
14848
+ * * Display Name: Tool
14849
+ * * SQL Data Type: nvarchar(255)`),
14772
14850
  User: z.string().describe(`
14773
14851
  * * Field Name: User
14774
14852
  * * Display Name: User
@@ -16373,7 +16451,7 @@ export const MJRecommendationItemSchema = z.object({
16373
16451
  * * Related Entity/Foreign Key: MJ: Recommendations (vwRecommendations.ID)`),
16374
16452
  DestinationEntityID: z.string().describe(`
16375
16453
  * * Field Name: DestinationEntityID
16376
- * * Display Name: Destination Entity
16454
+ * * Display Name: Destination Entity ID
16377
16455
  * * SQL Data Type: uniqueidentifier
16378
16456
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)`),
16379
16457
  DestinationEntityRecordID: z.string().describe(`
@@ -16396,9 +16474,13 @@ export const MJRecommendationItemSchema = z.object({
16396
16474
  * * Display Name: Updated At
16397
16475
  * * SQL Data Type: datetimeoffset
16398
16476
  * * Default Value: getutcdate()`),
16477
+ Recommendation: z.string().describe(`
16478
+ * * Field Name: Recommendation
16479
+ * * Display Name: Recommendation
16480
+ * * SQL Data Type: nvarchar(MAX)`),
16399
16481
  DestinationEntity: z.string().describe(`
16400
16482
  * * Field Name: DestinationEntity
16401
- * * Display Name: Destination Entity Name
16483
+ * * Display Name: Destination Entity
16402
16484
  * * SQL Data Type: nvarchar(255)`),
16403
16485
  });
16404
16486
  /**
@@ -16527,6 +16609,10 @@ export const MJRecommendationSchema = z.object({
16527
16609
  * * Display Name: Updated At
16528
16610
  * * SQL Data Type: datetimeoffset
16529
16611
  * * Default Value: getutcdate()`),
16612
+ RecommendationRun: z.string().describe(`
16613
+ * * Field Name: RecommendationRun
16614
+ * * Display Name: Recommendation Run
16615
+ * * SQL Data Type: nvarchar(255)`),
16530
16616
  SourceEntity: z.string().describe(`
16531
16617
  * * Field Name: SourceEntity
16532
16618
  * * Display Name: Source Entity
@@ -16593,7 +16679,7 @@ export const MJRecordChangeSchema = z.object({
16593
16679
  * * Default Value: newsequentialid()`),
16594
16680
  EntityID: z.string().describe(`
16595
16681
  * * Field Name: EntityID
16596
- * * Display Name: Entity
16682
+ * * Display Name: Entity ID
16597
16683
  * * SQL Data Type: uniqueidentifier
16598
16684
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)`),
16599
16685
  RecordID: z.string().describe(`
@@ -16603,7 +16689,7 @@ export const MJRecordChangeSchema = z.object({
16603
16689
  * * Description: Field RecordID for entity Record Changes.`),
16604
16690
  UserID: z.string().describe(`
16605
16691
  * * Field Name: UserID
16606
- * * Display Name: User
16692
+ * * Display Name: User ID
16607
16693
  * * SQL Data Type: uniqueidentifier
16608
16694
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)`),
16609
16695
  Type: z.union([z.literal('Create'), z.literal('Delete'), z.literal('Snapshot'), z.literal('Update')]).describe(`
@@ -16636,12 +16722,12 @@ export const MJRecordChangeSchema = z.object({
16636
16722
  * * Description: The date/time that the change occured.`),
16637
16723
  ChangesJSON: z.string().describe(`
16638
16724
  * * Field Name: ChangesJSON
16639
- * * Display Name: Changes (JSON)
16725
+ * * Display Name: Changes JSON
16640
16726
  * * SQL Data Type: nvarchar(MAX)
16641
16727
  * * Description: JSON structure that describes what was changed in a structured format.`),
16642
16728
  ChangesDescription: z.string().describe(`
16643
16729
  * * Field Name: ChangesDescription
16644
- * * Display Name: Description
16730
+ * * Display Name: Changes Description
16645
16731
  * * SQL Data Type: nvarchar(MAX)
16646
16732
  * * Description: A generated, human-readable description of what was changed.`),
16647
16733
  FullRecordJSON: z.string().describe(`
@@ -16667,12 +16753,12 @@ export const MJRecordChangeSchema = z.object({
16667
16753
  * * Description: Field ErrorLog for entity Record Changes.`),
16668
16754
  ReplayRunID: z.string().nullable().describe(`
16669
16755
  * * Field Name: ReplayRunID
16670
- * * Display Name: Replay Run
16756
+ * * Display Name: Replay Run ID
16671
16757
  * * SQL Data Type: uniqueidentifier
16672
16758
  * * Related Entity/Foreign Key: MJ: Record Change Replay Runs (vwRecordChangeReplayRuns.ID)`),
16673
16759
  IntegrationID: z.string().nullable().describe(`
16674
16760
  * * Field Name: IntegrationID
16675
- * * Display Name: Integration
16761
+ * * Display Name: Integration ID
16676
16762
  * * SQL Data Type: uniqueidentifier
16677
16763
  * * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)`),
16678
16764
  Comments: z.string().nullable().describe(`
@@ -16693,15 +16779,19 @@ export const MJRecordChangeSchema = z.object({
16693
16779
  * * Description: Field UpdatedAt for entity Record Changes.`),
16694
16780
  Entity: z.string().describe(`
16695
16781
  * * Field Name: Entity
16696
- * * Display Name: Entity Name
16782
+ * * Display Name: Entity
16697
16783
  * * SQL Data Type: nvarchar(255)`),
16698
16784
  User: z.string().describe(`
16699
16785
  * * Field Name: User
16700
- * * Display Name: User Name
16786
+ * * Display Name: User
16787
+ * * SQL Data Type: nvarchar(100)`),
16788
+ ReplayRun: z.string().nullable().describe(`
16789
+ * * Field Name: ReplayRun
16790
+ * * Display Name: Replay Run
16701
16791
  * * SQL Data Type: nvarchar(100)`),
16702
16792
  Integration: z.string().nullable().describe(`
16703
16793
  * * Field Name: Integration
16704
- * * Display Name: Integration Name
16794
+ * * Display Name: Integration
16705
16795
  * * SQL Data Type: nvarchar(100)`),
16706
16796
  });
16707
16797
  /**
@@ -16811,6 +16901,10 @@ export const MJRecordMergeDeletionLogSchema = z.object({
16811
16901
  * * Display Name: Updated At
16812
16902
  * * SQL Data Type: datetimeoffset
16813
16903
  * * Default Value: getutcdate()`),
16904
+ RecordMergeLog: z.string().describe(`
16905
+ * * Field Name: RecordMergeLog
16906
+ * * Display Name: Merge Log Summary
16907
+ * * SQL Data Type: nvarchar(450)`),
16814
16908
  });
16815
16909
  /**
16816
16910
  * zod schema definition for the entity MJ: Record Merge Logs
@@ -17208,39 +17302,43 @@ export const MJReportSchema = z.object({
17208
17302
  * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
17209
17303
  Category: z.string().nullable().describe(`
17210
17304
  * * Field Name: Category
17211
- * * Display Name: Category
17305
+ * * Display Name: Category Name
17212
17306
  * * SQL Data Type: nvarchar(100)`),
17213
17307
  User: z.string().describe(`
17214
17308
  * * Field Name: User
17215
- * * Display Name: User
17309
+ * * Display Name: User Name
17216
17310
  * * SQL Data Type: nvarchar(100)`),
17217
17311
  Conversation: z.string().nullable().describe(`
17218
17312
  * * Field Name: Conversation
17219
- * * Display Name: Conversation
17313
+ * * Display Name: Conversation Name
17220
17314
  * * SQL Data Type: nvarchar(255)`),
17315
+ ConversationDetail: z.string().nullable().describe(`
17316
+ * * Field Name: ConversationDetail
17317
+ * * Display Name: Conversation Detail Name
17318
+ * * SQL Data Type: nvarchar(MAX)`),
17221
17319
  DataContext: z.string().nullable().describe(`
17222
17320
  * * Field Name: DataContext
17223
- * * Display Name: Data Context
17321
+ * * Display Name: Data Context Name
17224
17322
  * * SQL Data Type: nvarchar(255)`),
17225
17323
  OutputTriggerType: z.string().nullable().describe(`
17226
17324
  * * Field Name: OutputTriggerType
17227
- * * Display Name: Output Trigger Type
17325
+ * * Display Name: Output Trigger Type Name
17228
17326
  * * SQL Data Type: nvarchar(255)`),
17229
17327
  OutputFormatType: z.string().nullable().describe(`
17230
17328
  * * Field Name: OutputFormatType
17231
- * * Display Name: Output Format Type
17329
+ * * Display Name: Output Format Type Name
17232
17330
  * * SQL Data Type: nvarchar(255)`),
17233
17331
  OutputDeliveryType: z.string().nullable().describe(`
17234
17332
  * * Field Name: OutputDeliveryType
17235
- * * Display Name: Output Delivery Type
17333
+ * * Display Name: Output Delivery Type Name
17236
17334
  * * SQL Data Type: nvarchar(255)`),
17237
17335
  OutputWorkflow: z.string().nullable().describe(`
17238
17336
  * * Field Name: OutputWorkflow
17239
- * * Display Name: Output Workflow
17337
+ * * Display Name: Output Workflow Name
17240
17338
  * * SQL Data Type: nvarchar(100)`),
17241
17339
  Environment: z.string().describe(`
17242
17340
  * * Field Name: Environment
17243
- * * Display Name: Environment
17341
+ * * Display Name: Environment Name
17244
17342
  * * SQL Data Type: nvarchar(255)`),
17245
17343
  });
17246
17344
  /**
@@ -18263,7 +18361,7 @@ export const MJTaskSchema = z.object({
18263
18361
  * * Default Value: newsequentialid()`),
18264
18362
  ParentID: z.string().nullable().describe(`
18265
18363
  * * Field Name: ParentID
18266
- * * Display Name: Parent ID
18364
+ * * Display Name: Parent
18267
18365
  * * SQL Data Type: uniqueidentifier
18268
18366
  * * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)`),
18269
18367
  Name: z.string().describe(`
@@ -18278,33 +18376,33 @@ export const MJTaskSchema = z.object({
18278
18376
  * * Description: Detailed description of the task requirements and objectives`),
18279
18377
  TypeID: z.string().describe(`
18280
18378
  * * Field Name: TypeID
18281
- * * Display Name: Type ID
18379
+ * * Display Name: Type
18282
18380
  * * SQL Data Type: uniqueidentifier
18283
18381
  * * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)`),
18284
18382
  EnvironmentID: z.string().describe(`
18285
18383
  * * Field Name: EnvironmentID
18286
- * * Display Name: Environment ID
18384
+ * * Display Name: Environment
18287
18385
  * * SQL Data Type: uniqueidentifier
18288
18386
  * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
18289
18387
  * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09`),
18290
18388
  ProjectID: z.string().nullable().describe(`
18291
18389
  * * Field Name: ProjectID
18292
- * * Display Name: Project ID
18390
+ * * Display Name: Project
18293
18391
  * * SQL Data Type: uniqueidentifier
18294
18392
  * * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)`),
18295
18393
  ConversationDetailID: z.string().nullable().describe(`
18296
18394
  * * Field Name: ConversationDetailID
18297
- * * Display Name: Conversation Detail ID
18395
+ * * Display Name: Conversation Detail
18298
18396
  * * SQL Data Type: uniqueidentifier
18299
18397
  * * Related Entity/Foreign Key: MJ: Conversation Details (vwConversationDetails.ID)`),
18300
18398
  UserID: z.string().nullable().describe(`
18301
18399
  * * Field Name: UserID
18302
- * * Display Name: User ID
18400
+ * * Display Name: User
18303
18401
  * * SQL Data Type: uniqueidentifier
18304
18402
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)`),
18305
18403
  AgentID: z.string().nullable().describe(`
18306
18404
  * * Field Name: AgentID
18307
- * * Display Name: Agent ID
18405
+ * * Display Name: Agent
18308
18406
  * * SQL Data Type: uniqueidentifier
18309
18407
  * * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)`),
18310
18408
  Status: z.union([z.literal('Blocked'), z.literal('Cancelled'), z.literal('Complete'), z.literal('Deferred'), z.literal('Failed'), z.literal('In Progress'), z.literal('Pending')]).describe(`
@@ -18355,27 +18453,31 @@ export const MJTaskSchema = z.object({
18355
18453
  * * Default Value: getutcdate()`),
18356
18454
  Parent: z.string().nullable().describe(`
18357
18455
  * * Field Name: Parent
18358
- * * Display Name: Parent
18456
+ * * Display Name: Parent Name
18359
18457
  * * SQL Data Type: nvarchar(255)`),
18360
18458
  Type: z.string().describe(`
18361
18459
  * * Field Name: Type
18362
- * * Display Name: Type
18460
+ * * Display Name: Type Name
18363
18461
  * * SQL Data Type: nvarchar(255)`),
18364
18462
  Environment: z.string().describe(`
18365
18463
  * * Field Name: Environment
18366
- * * Display Name: Environment
18464
+ * * Display Name: Environment Name
18367
18465
  * * SQL Data Type: nvarchar(255)`),
18368
18466
  Project: z.string().nullable().describe(`
18369
18467
  * * Field Name: Project
18370
- * * Display Name: Project
18468
+ * * Display Name: Project Name
18371
18469
  * * SQL Data Type: nvarchar(255)`),
18470
+ ConversationDetail: z.string().nullable().describe(`
18471
+ * * Field Name: ConversationDetail
18472
+ * * Display Name: Conversation Detail Name
18473
+ * * SQL Data Type: nvarchar(MAX)`),
18372
18474
  User: z.string().nullable().describe(`
18373
18475
  * * Field Name: User
18374
- * * Display Name: User
18476
+ * * Display Name: User Name
18375
18477
  * * SQL Data Type: nvarchar(100)`),
18376
18478
  Agent: z.string().nullable().describe(`
18377
18479
  * * Field Name: Agent
18378
- * * Display Name: Agent
18480
+ * * Display Name: Agent Name
18379
18481
  * * SQL Data Type: nvarchar(255)`),
18380
18482
  RootParentID: z.string().nullable().describe(`
18381
18483
  * * Field Name: RootParentID
@@ -18584,12 +18686,12 @@ export const MJTemplateParamSchema = z.object({
18584
18686
  * * Description: Whether this parameter must be provided when using the template.`),
18585
18687
  LinkedParameterName: z.string().nullable().describe(`
18586
18688
  * * Field Name: LinkedParameterName
18587
- * * Display Name: Linked Parameter
18689
+ * * Display Name: Linked Parameter Name
18588
18690
  * * SQL Data Type: nvarchar(255)
18589
18691
  * * Description: Only used when Type=Entity, this is used to link an Entity parameter with another parameter so that the rows in the Entity parameter can be filtered automatically based on the FKEY relationship between the Record and this Entity parameter. For example, if the Entity-based parameter is for an entity like Activities and there is another parameter of type Record for an entity like Contacts, in that situation the Activities Parameter would point to the Contacts parameter as the LinkedParameterName because we would filter down the Activities in each template render to only those linked to the Contact.`),
18590
18692
  LinkedParameterField: z.string().nullable().describe(`
18591
18693
  * * Field Name: LinkedParameterField
18592
- * * Display Name: Linked Field
18694
+ * * Display Name: Linked Parameter Field
18593
18695
  * * SQL Data Type: nvarchar(500)
18594
18696
  * * Description: If the LinkedParameterName is specified, this is an optional setting to specify the field within the LinkedParameter that will be used for filtering. This is only needed if there is more than one foreign key relationship between the Entity parameter and the Linked parameter, or if there is no defined foreign key in the database between the two entities.`),
18595
18697
  ExtraFilter: z.string().nullable().describe(`
@@ -18636,6 +18738,10 @@ export const MJTemplateParamSchema = z.object({
18636
18738
  * * Field Name: Entity
18637
18739
  * * Display Name: Entity Name
18638
18740
  * * SQL Data Type: nvarchar(255)`),
18741
+ TemplateContent: z.string().nullable().describe(`
18742
+ * * Field Name: TemplateContent
18743
+ * * Display Name: Template Content Name
18744
+ * * SQL Data Type: nvarchar(255)`),
18639
18745
  });
18640
18746
  /**
18641
18747
  * zod schema definition for the entity MJ: Templates
@@ -22274,8 +22380,8 @@ let MJActionParamEntity = class MJActionParamEntity extends BaseEntity {
22274
22380
  * * BaseEntity Sub-Class
22275
22381
  * * Other
22276
22382
  * * MediaOutput
22277
- * * Other
22278
22383
  * * Scalar
22384
+ * * Other
22279
22385
  * * Scalar
22280
22386
  * * Simple Object
22281
22387
  * * Simple Object
@@ -26951,6 +27057,22 @@ detailed information about what validation rules failed.
26951
27057
  this.Set('Comments', value);
26952
27058
  }
26953
27059
  /**
27060
+ * * Field Name: AgentRun
27061
+ * * Display Name: Agent Run
27062
+ * * SQL Data Type: nvarchar(255)
27063
+ */
27064
+ get AgentRun() {
27065
+ return this.Get('AgentRun');
27066
+ }
27067
+ /**
27068
+ * * Field Name: Parent
27069
+ * * Display Name: Parent Step
27070
+ * * SQL Data Type: nvarchar(255)
27071
+ */
27072
+ get Parent() {
27073
+ return this.Get('Parent');
27074
+ }
27075
+ /**
26954
27076
  * * Field Name: RootParentID
26955
27077
  * * Display Name: Root Parent Step
26956
27078
  * * SQL Data Type: uniqueidentifier
@@ -30505,7 +30627,7 @@ let MJAIModalityEntity = class MJAIModalityEntity extends BaseEntity {
30505
30627
  * * Field Name: MIMETypePattern
30506
30628
  * * Display Name: MIME Type Pattern
30507
30629
  * * SQL Data Type: nvarchar(100)
30508
- * * Description: MIME type pattern for this modality (e.g., image/*, audio/*, video/*, text/*, application/*). Used for file type validation.
30630
+ * * Description: MIME type pattern for this modality (e.g., image/\*, audio/\*, video/\*, text/\*, application/\*). Used for file type validation.
30509
30631
  */
30510
30632
  get MIMETypePattern() {
30511
30633
  return this.Get('MIMETypePattern');
@@ -35671,6 +35793,14 @@ let MJAIResultCacheEntity = class MJAIResultCacheEntity extends BaseEntity {
35671
35793
  get Configuration() {
35672
35794
  return this.Get('Configuration');
35673
35795
  }
35796
+ /**
35797
+ * * Field Name: PromptRun
35798
+ * * Display Name: Prompt Run
35799
+ * * SQL Data Type: nvarchar(255)
35800
+ */
35801
+ get PromptRun() {
35802
+ return this.Get('PromptRun');
35803
+ }
35674
35804
  };
35675
35805
  MJAIResultCacheEntity = __decorate([
35676
35806
  RegisterClass(BaseEntity, 'MJ: AI Result Cache')
@@ -44535,6 +44665,14 @@ let MJConversationDetailArtifactEntity = class MJConversationDetailArtifactEntit
44535
44665
  return this.Get('__mj_UpdatedAt');
44536
44666
  }
44537
44667
  /**
44668
+ * * Field Name: ConversationDetail
44669
+ * * Display Name: Conversation Detail Summary
44670
+ * * SQL Data Type: nvarchar(MAX)
44671
+ */
44672
+ get ConversationDetail() {
44673
+ return this.Get('ConversationDetail');
44674
+ }
44675
+ /**
44538
44676
  * * Field Name: ArtifactVersion
44539
44677
  * * Display Name: Artifact Version Summary
44540
44678
  * * SQL Data Type: nvarchar(255)
@@ -44951,6 +45089,14 @@ let MJConversationDetailRatingEntity = class MJConversationDetailRatingEntity ex
44951
45089
  return this.Get('__mj_UpdatedAt');
44952
45090
  }
44953
45091
  /**
45092
+ * * Field Name: ConversationDetail
45093
+ * * Display Name: Conversation Detail
45094
+ * * SQL Data Type: nvarchar(MAX)
45095
+ */
45096
+ get ConversationDetail() {
45097
+ return this.Get('ConversationDetail');
45098
+ }
45099
+ /**
44954
45100
  * * Field Name: User
44955
45101
  * * Display Name: User
44956
45102
  * * SQL Data Type: nvarchar(100)
@@ -45740,7 +45886,7 @@ let MJConversationEntity = class MJConversationEntity extends BaseEntity {
45740
45886
  }
45741
45887
  /**
45742
45888
  * * Field Name: LinkedEntity
45743
- * * Display Name: Linked Entity Name
45889
+ * * Display Name: Linked Entity Type
45744
45890
  * * SQL Data Type: nvarchar(255)
45745
45891
  */
45746
45892
  get LinkedEntity() {
@@ -45770,6 +45916,14 @@ let MJConversationEntity = class MJConversationEntity extends BaseEntity {
45770
45916
  get Project() {
45771
45917
  return this.Get('Project');
45772
45918
  }
45919
+ /**
45920
+ * * Field Name: TestRun
45921
+ * * Display Name: Test Run Name
45922
+ * * SQL Data Type: nvarchar(255)
45923
+ */
45924
+ get TestRun() {
45925
+ return this.Get('TestRun');
45926
+ }
45773
45927
  };
45774
45928
  MJConversationEntity = __decorate([
45775
45929
  RegisterClass(BaseEntity, 'MJ: Conversations')
@@ -48588,6 +48742,14 @@ let MJDuplicateRunDetailEntity = class MJDuplicateRunDetailEntity extends BaseEn
48588
48742
  get __mj_UpdatedAt() {
48589
48743
  return this.Get('__mj_UpdatedAt');
48590
48744
  }
48745
+ /**
48746
+ * * Field Name: DuplicateRun
48747
+ * * Display Name: Duplicate Run
48748
+ * * SQL Data Type: nvarchar(255)
48749
+ */
48750
+ get DuplicateRun() {
48751
+ return this.Get('DuplicateRun');
48752
+ }
48591
48753
  };
48592
48754
  MJDuplicateRunDetailEntity = __decorate([
48593
48755
  RegisterClass(BaseEntity, 'MJ: Duplicate Run Details')
@@ -48886,7 +49048,7 @@ let MJEmployeeCompanyIntegrationEntity = class MJEmployeeCompanyIntegrationEntit
48886
49048
  }
48887
49049
  /**
48888
49050
  * * Field Name: ExternalSystemRecordID
48889
- * * Display Name: External Record ID
49051
+ * * Display Name: External ID
48890
49052
  * * SQL Data Type: nvarchar(750)
48891
49053
  * * Description: The employee's unique identifier in the external integrated system.
48892
49054
  */
@@ -48898,7 +49060,7 @@ let MJEmployeeCompanyIntegrationEntity = class MJEmployeeCompanyIntegrationEntit
48898
49060
  }
48899
49061
  /**
48900
49062
  * * Field Name: IsActive
48901
- * * Display Name: Is Active
49063
+ * * Display Name: Active
48902
49064
  * * SQL Data Type: bit
48903
49065
  * * Default Value: 1
48904
49066
  * * Description: Indicates if this employee integration mapping is currently active.
@@ -48928,6 +49090,14 @@ let MJEmployeeCompanyIntegrationEntity = class MJEmployeeCompanyIntegrationEntit
48928
49090
  return this.Get('__mj_UpdatedAt');
48929
49091
  }
48930
49092
  /**
49093
+ * * Field Name: Employee
49094
+ * * Display Name: Employee Name
49095
+ * * SQL Data Type: nvarchar(81)
49096
+ */
49097
+ get Employee() {
49098
+ return this.Get('Employee');
49099
+ }
49100
+ /**
48931
49101
  * * Field Name: CompanyIntegration
48932
49102
  * * Display Name: Integration Name
48933
49103
  * * SQL Data Type: nvarchar(255)
@@ -49023,6 +49193,14 @@ let MJEmployeeRoleEntity = class MJEmployeeRoleEntity extends BaseEntity {
49023
49193
  return this.Get('__mj_UpdatedAt');
49024
49194
  }
49025
49195
  /**
49196
+ * * Field Name: Employee
49197
+ * * Display Name: Employee Name
49198
+ * * SQL Data Type: nvarchar(81)
49199
+ */
49200
+ get Employee() {
49201
+ return this.Get('Employee');
49202
+ }
49203
+ /**
49026
49204
  * * Field Name: Role
49027
49205
  * * Display Name: Role Name
49028
49206
  * * SQL Data Type: nvarchar(50)
@@ -49089,7 +49267,7 @@ let MJEmployeeSkillEntity = class MJEmployeeSkillEntity extends BaseEntity {
49089
49267
  }
49090
49268
  /**
49091
49269
  * * Field Name: SkillID
49092
- * * Display Name: Skill
49270
+ * * Display Name: Skill ID
49093
49271
  * * SQL Data Type: uniqueidentifier
49094
49272
  * * Related Entity/Foreign Key: MJ: Skills (vwSkills.ID)
49095
49273
  */
@@ -49118,8 +49296,16 @@ let MJEmployeeSkillEntity = class MJEmployeeSkillEntity extends BaseEntity {
49118
49296
  return this.Get('__mj_UpdatedAt');
49119
49297
  }
49120
49298
  /**
49299
+ * * Field Name: Employee
49300
+ * * Display Name: Employee Name
49301
+ * * SQL Data Type: nvarchar(81)
49302
+ */
49303
+ get Employee() {
49304
+ return this.Get('Employee');
49305
+ }
49306
+ /**
49121
49307
  * * Field Name: Skill
49122
- * * Display Name: Skill Name
49308
+ * * Display Name: Skill
49123
49309
  * * SQL Data Type: nvarchar(50)
49124
49310
  */
49125
49311
  get Skill() {
@@ -50658,6 +50844,7 @@ let MJEntityEntity = class MJEntityEntity extends BaseEntity {
50658
50844
  * * Field Name: CodeName
50659
50845
  * * Display Name: Code Name
50660
50846
  * * SQL Data Type: nvarchar(MAX)
50847
+ * * Description: Schema-based programmatic code name derived from the entity Name. Uses GetClassNameSchemaPrefix(SchemaName) as the prefix, then strips EntityNamePrefix from the Name and removes spaces. For "__mj" schema with entity "MJ: AI Models", this produces "MJAIModels". For entities in other schemas, the sanitized schema name is prepended. Used in GraphQL type generation and internal code references.
50661
50848
  */
50662
50849
  get CodeName() {
50663
50850
  return this.Get('CodeName');
@@ -50666,6 +50853,7 @@ let MJEntityEntity = class MJEntityEntity extends BaseEntity {
50666
50853
  * * Field Name: ClassName
50667
50854
  * * Display Name: Class Name
50668
50855
  * * SQL Data Type: nvarchar(MAX)
50856
+ * * Description: Schema-based programmatic class name used for TypeScript entity classes, Zod schemas, and Angular form components. Computed as GetProgrammaticName(GetClassNameSchemaPrefix(SchemaName) + BaseTable + NameSuffix). The prefix is derived from SchemaName (guaranteed unique by SQL Server), not from EntityNamePrefix. For the core __mj schema, the prefix is "MJ"; for all other schemas it is the alphanumeric-sanitized schema name. This prevents cross-schema collisions and aligns with GraphQL type naming in getGraphQLTypeNameBase().
50669
50857
  */
50670
50858
  get ClassName() {
50671
50859
  return this.Get('ClassName');
@@ -50749,7 +50937,7 @@ let MJEntityActionFilterEntity = class MJEntityActionFilterEntity extends BaseEn
50749
50937
  }
50750
50938
  /**
50751
50939
  * * Field Name: EntityActionID
50752
- * * Display Name: Entity Action ID
50940
+ * * Display Name: Entity Action
50753
50941
  * * SQL Data Type: uniqueidentifier
50754
50942
  * * Related Entity/Foreign Key: MJ: Entity Actions (vwEntityActions.ID)
50755
50943
  */
@@ -50761,7 +50949,7 @@ let MJEntityActionFilterEntity = class MJEntityActionFilterEntity extends BaseEn
50761
50949
  }
50762
50950
  /**
50763
50951
  * * Field Name: ActionFilterID
50764
- * * Display Name: Action Filter ID
50952
+ * * Display Name: Action Filter
50765
50953
  * * SQL Data Type: uniqueidentifier
50766
50954
  * * Related Entity/Foreign Key: MJ: Action Filters (vwActionFilters.ID)
50767
50955
  */
@@ -50819,6 +51007,22 @@ let MJEntityActionFilterEntity = class MJEntityActionFilterEntity extends BaseEn
50819
51007
  get __mj_UpdatedAt() {
50820
51008
  return this.Get('__mj_UpdatedAt');
50821
51009
  }
51010
+ /**
51011
+ * * Field Name: EntityAction
51012
+ * * Display Name: Entity Action Name
51013
+ * * SQL Data Type: nvarchar(425)
51014
+ */
51015
+ get EntityAction() {
51016
+ return this.Get('EntityAction');
51017
+ }
51018
+ /**
51019
+ * * Field Name: ActionFilter
51020
+ * * Display Name: Action Filter Name
51021
+ * * SQL Data Type: nvarchar(MAX)
51022
+ */
51023
+ get ActionFilter() {
51024
+ return this.Get('ActionFilter');
51025
+ }
50822
51026
  };
50823
51027
  MJEntityActionFilterEntity = __decorate([
50824
51028
  RegisterClass(BaseEntity, 'MJ: Entity Action Filters')
@@ -51025,6 +51229,14 @@ let MJEntityActionInvocationEntity = class MJEntityActionInvocationEntity extend
51025
51229
  return this.Get('__mj_UpdatedAt');
51026
51230
  }
51027
51231
  /**
51232
+ * * Field Name: EntityAction
51233
+ * * Display Name: Entity Action Name
51234
+ * * SQL Data Type: nvarchar(425)
51235
+ */
51236
+ get EntityAction() {
51237
+ return this.Get('EntityAction');
51238
+ }
51239
+ /**
51028
51240
  * * Field Name: InvocationType
51029
51241
  * * Display Name: Invocation Type Name
51030
51242
  * * SQL Data Type: nvarchar(255)
@@ -51091,7 +51303,7 @@ let MJEntityActionParamEntity = class MJEntityActionParamEntity extends BaseEnti
51091
51303
  }
51092
51304
  /**
51093
51305
  * * Field Name: ActionParamID
51094
- * * Display Name: Action Param ID
51306
+ * * Display Name: Action Parameter ID
51095
51307
  * * SQL Data Type: uniqueidentifier
51096
51308
  * * Related Entity/Foreign Key: MJ: Action Params (vwActionParams.ID)
51097
51309
  */
@@ -51162,8 +51374,16 @@ let MJEntityActionParamEntity = class MJEntityActionParamEntity extends BaseEnti
51162
51374
  return this.Get('__mj_UpdatedAt');
51163
51375
  }
51164
51376
  /**
51377
+ * * Field Name: EntityAction
51378
+ * * Display Name: Entity Action
51379
+ * * SQL Data Type: nvarchar(425)
51380
+ */
51381
+ get EntityAction() {
51382
+ return this.Get('EntityAction');
51383
+ }
51384
+ /**
51165
51385
  * * Field Name: ActionParam
51166
- * * Display Name: Action Param
51386
+ * * Display Name: Action Parameter
51167
51387
  * * SQL Data Type: nvarchar(255)
51168
51388
  */
51169
51389
  get ActionParam() {
@@ -51586,7 +51806,7 @@ let MJEntityCommunicationFieldEntity = class MJEntityCommunicationFieldEntity ex
51586
51806
  }
51587
51807
  /**
51588
51808
  * * Field Name: EntityCommunicationMessageTypeID
51589
- * * Display Name: Message Type ID
51809
+ * * Display Name: Message Type
51590
51810
  * * SQL Data Type: uniqueidentifier
51591
51811
  * * Related Entity/Foreign Key: MJ: Entity Communication Message Types (vwEntityCommunicationMessageTypes.ID)
51592
51812
  */
@@ -51638,6 +51858,14 @@ let MJEntityCommunicationFieldEntity = class MJEntityCommunicationFieldEntity ex
51638
51858
  get __mj_UpdatedAt() {
51639
51859
  return this.Get('__mj_UpdatedAt');
51640
51860
  }
51861
+ /**
51862
+ * * Field Name: EntityCommunicationMessageType
51863
+ * * Display Name: Message Type Name
51864
+ * * SQL Data Type: nvarchar(100)
51865
+ */
51866
+ get EntityCommunicationMessageType() {
51867
+ return this.Get('EntityCommunicationMessageType');
51868
+ }
51641
51869
  };
51642
51870
  MJEntityCommunicationFieldEntity = __decorate([
51643
51871
  RegisterClass(BaseEntity, 'MJ: Entity Communication Fields')
@@ -54654,6 +54882,22 @@ let MJErrorLogEntity = class MJErrorLogEntity extends BaseEntity {
54654
54882
  get __mj_UpdatedAt() {
54655
54883
  return this.Get('__mj_UpdatedAt');
54656
54884
  }
54885
+ /**
54886
+ * * Field Name: CompanyIntegrationRun
54887
+ * * Display Name: Company Integration Run
54888
+ * * SQL Data Type: nvarchar(100)
54889
+ */
54890
+ get CompanyIntegrationRun() {
54891
+ return this.Get('CompanyIntegrationRun');
54892
+ }
54893
+ /**
54894
+ * * Field Name: CompanyIntegrationRunDetail
54895
+ * * Display Name: Company Integration Run Detail
54896
+ * * SQL Data Type: nvarchar(450)
54897
+ */
54898
+ get CompanyIntegrationRunDetail() {
54899
+ return this.Get('CompanyIntegrationRunDetail');
54900
+ }
54657
54901
  };
54658
54902
  MJErrorLogEntity = __decorate([
54659
54903
  RegisterClass(BaseEntity, 'MJ: Error Logs')
@@ -57499,6 +57743,14 @@ let MJMCPServerConnectionToolEntity = class MJMCPServerConnectionToolEntity exte
57499
57743
  get MCPServerConnection() {
57500
57744
  return this.Get('MCPServerConnection');
57501
57745
  }
57746
+ /**
57747
+ * * Field Name: MCPServerTool
57748
+ * * Display Name: Tool Name
57749
+ * * SQL Data Type: nvarchar(255)
57750
+ */
57751
+ get MCPServerTool() {
57752
+ return this.Get('MCPServerTool');
57753
+ }
57502
57754
  };
57503
57755
  MJMCPServerConnectionToolEntity = __decorate([
57504
57756
  RegisterClass(BaseEntity, 'MJ: MCP Server Connection Tools')
@@ -58561,6 +58813,14 @@ let MJMCPToolExecutionLogEntity = class MJMCPToolExecutionLogEntity extends Base
58561
58813
  return this.Get('MCPServerConnection');
58562
58814
  }
58563
58815
  /**
58816
+ * * Field Name: MCPServerTool
58817
+ * * Display Name: Tool
58818
+ * * SQL Data Type: nvarchar(255)
58819
+ */
58820
+ get MCPServerTool() {
58821
+ return this.Get('MCPServerTool');
58822
+ }
58823
+ /**
58564
58824
  * * Field Name: User
58565
58825
  * * Display Name: User
58566
58826
  * * SQL Data Type: nvarchar(100)
@@ -59921,6 +60181,32 @@ let MJOpenAppEntity = class MJOpenAppEntity extends BaseEntity {
59921
60181
  return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
59922
60182
  }
59923
60183
  /**
60184
+ * Validate() method override for MJ: Open Apps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
60185
+ * * Name: The name must consist only of lowercase letters, numbers, and hyphens to ensure it is compatible with system naming standards.
60186
+ * @public
60187
+ * @method
60188
+ * @override
60189
+ */
60190
+ Validate() {
60191
+ const result = super.Validate();
60192
+ this.ValidateNameAlphanumericHyphenOnly(result);
60193
+ result.Success = result.Success && (result.Errors.length === 0);
60194
+ return result;
60195
+ }
60196
+ /**
60197
+ * The name must consist only of lowercase letters, numbers, and hyphens to ensure it is compatible with system naming standards.
60198
+ * @param result - the ValidationResult object to add any errors or warnings to
60199
+ * @public
60200
+ * @method
60201
+ */
60202
+ ValidateNameAlphanumericHyphenOnly(result) {
60203
+ // The regex checks that the entire string consists only of lowercase letters, digits, or hyphens
60204
+ const regex = /^[a-z0-9-]+$/;
60205
+ if (this.Name != null && !regex.test(this.Name)) {
60206
+ result.Errors.push(new ValidationErrorInfo("Name", "The name must only contain lowercase letters, numbers, and hyphens.", this.Name, ValidationErrorType.Failure));
60207
+ }
60208
+ }
60209
+ /**
59924
60210
  * * Field Name: ID
59925
60211
  * * Display Name: ID
59926
60212
  * * SQL Data Type: uniqueidentifier
@@ -62677,7 +62963,7 @@ let MJRecommendationItemEntity = class MJRecommendationItemEntity extends BaseEn
62677
62963
  }
62678
62964
  /**
62679
62965
  * * Field Name: DestinationEntityID
62680
- * * Display Name: Destination Entity
62966
+ * * Display Name: Destination Entity ID
62681
62967
  * * SQL Data Type: uniqueidentifier
62682
62968
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
62683
62969
  */
@@ -62730,8 +63016,16 @@ let MJRecommendationItemEntity = class MJRecommendationItemEntity extends BaseEn
62730
63016
  return this.Get('__mj_UpdatedAt');
62731
63017
  }
62732
63018
  /**
63019
+ * * Field Name: Recommendation
63020
+ * * Display Name: Recommendation
63021
+ * * SQL Data Type: nvarchar(MAX)
63022
+ */
63023
+ get Recommendation() {
63024
+ return this.Get('Recommendation');
63025
+ }
63026
+ /**
62733
63027
  * * Field Name: DestinationEntity
62734
- * * Display Name: Destination Entity Name
63028
+ * * Display Name: Destination Entity
62735
63029
  * * SQL Data Type: nvarchar(255)
62736
63030
  */
62737
63031
  get DestinationEntity() {
@@ -63079,6 +63373,14 @@ let MJRecommendationEntity = class MJRecommendationEntity extends BaseEntity {
63079
63373
  return this.Get('__mj_UpdatedAt');
63080
63374
  }
63081
63375
  /**
63376
+ * * Field Name: RecommendationRun
63377
+ * * Display Name: Recommendation Run
63378
+ * * SQL Data Type: nvarchar(255)
63379
+ */
63380
+ get RecommendationRun() {
63381
+ return this.Get('RecommendationRun');
63382
+ }
63383
+ /**
63082
63384
  * * Field Name: SourceEntity
63083
63385
  * * Display Name: Source Entity
63084
63386
  * * SQL Data Type: nvarchar(255)
@@ -63258,7 +63560,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63258
63560
  }
63259
63561
  /**
63260
63562
  * * Field Name: EntityID
63261
- * * Display Name: Entity
63563
+ * * Display Name: Entity ID
63262
63564
  * * SQL Data Type: uniqueidentifier
63263
63565
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
63264
63566
  */
@@ -63282,7 +63584,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63282
63584
  }
63283
63585
  /**
63284
63586
  * * Field Name: UserID
63285
- * * Display Name: User
63587
+ * * Display Name: User ID
63286
63588
  * * SQL Data Type: uniqueidentifier
63287
63589
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
63288
63590
  */
@@ -63343,7 +63645,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63343
63645
  }
63344
63646
  /**
63345
63647
  * * Field Name: ChangesJSON
63346
- * * Display Name: Changes (JSON)
63648
+ * * Display Name: Changes JSON
63347
63649
  * * SQL Data Type: nvarchar(MAX)
63348
63650
  * * Description: JSON structure that describes what was changed in a structured format.
63349
63651
  */
@@ -63355,7 +63657,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63355
63657
  }
63356
63658
  /**
63357
63659
  * * Field Name: ChangesDescription
63358
- * * Display Name: Description
63660
+ * * Display Name: Changes Description
63359
63661
  * * SQL Data Type: nvarchar(MAX)
63360
63662
  * * Description: A generated, human-readable description of what was changed.
63361
63663
  */
@@ -63409,7 +63711,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63409
63711
  }
63410
63712
  /**
63411
63713
  * * Field Name: ReplayRunID
63412
- * * Display Name: Replay Run
63714
+ * * Display Name: Replay Run ID
63413
63715
  * * SQL Data Type: uniqueidentifier
63414
63716
  * * Related Entity/Foreign Key: MJ: Record Change Replay Runs (vwRecordChangeReplayRuns.ID)
63415
63717
  */
@@ -63421,7 +63723,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63421
63723
  }
63422
63724
  /**
63423
63725
  * * Field Name: IntegrationID
63424
- * * Display Name: Integration
63726
+ * * Display Name: Integration ID
63425
63727
  * * SQL Data Type: uniqueidentifier
63426
63728
  * * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
63427
63729
  */
@@ -63464,7 +63766,7 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63464
63766
  }
63465
63767
  /**
63466
63768
  * * Field Name: Entity
63467
- * * Display Name: Entity Name
63769
+ * * Display Name: Entity
63468
63770
  * * SQL Data Type: nvarchar(255)
63469
63771
  */
63470
63772
  get Entity() {
@@ -63472,15 +63774,23 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
63472
63774
  }
63473
63775
  /**
63474
63776
  * * Field Name: User
63475
- * * Display Name: User Name
63777
+ * * Display Name: User
63476
63778
  * * SQL Data Type: nvarchar(100)
63477
63779
  */
63478
63780
  get User() {
63479
63781
  return this.Get('User');
63480
63782
  }
63481
63783
  /**
63784
+ * * Field Name: ReplayRun
63785
+ * * Display Name: Replay Run
63786
+ * * SQL Data Type: nvarchar(100)
63787
+ */
63788
+ get ReplayRun() {
63789
+ return this.Get('ReplayRun');
63790
+ }
63791
+ /**
63482
63792
  * * Field Name: Integration
63483
- * * Display Name: Integration Name
63793
+ * * Display Name: Integration
63484
63794
  * * SQL Data Type: nvarchar(100)
63485
63795
  */
63486
63796
  get Integration() {
@@ -63765,6 +64075,14 @@ let MJRecordMergeDeletionLogEntity = class MJRecordMergeDeletionLogEntity extend
63765
64075
  get __mj_UpdatedAt() {
63766
64076
  return this.Get('__mj_UpdatedAt');
63767
64077
  }
64078
+ /**
64079
+ * * Field Name: RecordMergeLog
64080
+ * * Display Name: Merge Log Summary
64081
+ * * SQL Data Type: nvarchar(450)
64082
+ */
64083
+ get RecordMergeLog() {
64084
+ return this.Get('RecordMergeLog');
64085
+ }
63768
64086
  };
63769
64087
  MJRecordMergeDeletionLogEntity = __decorate([
63770
64088
  RegisterClass(BaseEntity, 'MJ: Record Merge Deletion Logs')
@@ -64824,7 +65142,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64824
65142
  }
64825
65143
  /**
64826
65144
  * * Field Name: Category
64827
- * * Display Name: Category
65145
+ * * Display Name: Category Name
64828
65146
  * * SQL Data Type: nvarchar(100)
64829
65147
  */
64830
65148
  get Category() {
@@ -64832,7 +65150,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64832
65150
  }
64833
65151
  /**
64834
65152
  * * Field Name: User
64835
- * * Display Name: User
65153
+ * * Display Name: User Name
64836
65154
  * * SQL Data Type: nvarchar(100)
64837
65155
  */
64838
65156
  get User() {
@@ -64840,15 +65158,23 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64840
65158
  }
64841
65159
  /**
64842
65160
  * * Field Name: Conversation
64843
- * * Display Name: Conversation
65161
+ * * Display Name: Conversation Name
64844
65162
  * * SQL Data Type: nvarchar(255)
64845
65163
  */
64846
65164
  get Conversation() {
64847
65165
  return this.Get('Conversation');
64848
65166
  }
64849
65167
  /**
65168
+ * * Field Name: ConversationDetail
65169
+ * * Display Name: Conversation Detail Name
65170
+ * * SQL Data Type: nvarchar(MAX)
65171
+ */
65172
+ get ConversationDetail() {
65173
+ return this.Get('ConversationDetail');
65174
+ }
65175
+ /**
64850
65176
  * * Field Name: DataContext
64851
- * * Display Name: Data Context
65177
+ * * Display Name: Data Context Name
64852
65178
  * * SQL Data Type: nvarchar(255)
64853
65179
  */
64854
65180
  get DataContext() {
@@ -64856,7 +65182,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64856
65182
  }
64857
65183
  /**
64858
65184
  * * Field Name: OutputTriggerType
64859
- * * Display Name: Output Trigger Type
65185
+ * * Display Name: Output Trigger Type Name
64860
65186
  * * SQL Data Type: nvarchar(255)
64861
65187
  */
64862
65188
  get OutputTriggerType() {
@@ -64864,7 +65190,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64864
65190
  }
64865
65191
  /**
64866
65192
  * * Field Name: OutputFormatType
64867
- * * Display Name: Output Format Type
65193
+ * * Display Name: Output Format Type Name
64868
65194
  * * SQL Data Type: nvarchar(255)
64869
65195
  */
64870
65196
  get OutputFormatType() {
@@ -64872,7 +65198,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64872
65198
  }
64873
65199
  /**
64874
65200
  * * Field Name: OutputDeliveryType
64875
- * * Display Name: Output Delivery Type
65201
+ * * Display Name: Output Delivery Type Name
64876
65202
  * * SQL Data Type: nvarchar(255)
64877
65203
  */
64878
65204
  get OutputDeliveryType() {
@@ -64880,7 +65206,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64880
65206
  }
64881
65207
  /**
64882
65208
  * * Field Name: OutputWorkflow
64883
- * * Display Name: Output Workflow
65209
+ * * Display Name: Output Workflow Name
64884
65210
  * * SQL Data Type: nvarchar(100)
64885
65211
  */
64886
65212
  get OutputWorkflow() {
@@ -64888,7 +65214,7 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64888
65214
  }
64889
65215
  /**
64890
65216
  * * Field Name: Environment
64891
- * * Display Name: Environment
65217
+ * * Display Name: Environment Name
64892
65218
  * * SQL Data Type: nvarchar(255)
64893
65219
  */
64894
65220
  get Environment() {
@@ -67672,7 +67998,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67672
67998
  }
67673
67999
  /**
67674
68000
  * * Field Name: ParentID
67675
- * * Display Name: Parent ID
68001
+ * * Display Name: Parent
67676
68002
  * * SQL Data Type: uniqueidentifier
67677
68003
  * * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
67678
68004
  */
@@ -67708,7 +68034,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67708
68034
  }
67709
68035
  /**
67710
68036
  * * Field Name: TypeID
67711
- * * Display Name: Type ID
68037
+ * * Display Name: Type
67712
68038
  * * SQL Data Type: uniqueidentifier
67713
68039
  * * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)
67714
68040
  */
@@ -67720,7 +68046,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67720
68046
  }
67721
68047
  /**
67722
68048
  * * Field Name: EnvironmentID
67723
- * * Display Name: Environment ID
68049
+ * * Display Name: Environment
67724
68050
  * * SQL Data Type: uniqueidentifier
67725
68051
  * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
67726
68052
  * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
@@ -67733,7 +68059,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67733
68059
  }
67734
68060
  /**
67735
68061
  * * Field Name: ProjectID
67736
- * * Display Name: Project ID
68062
+ * * Display Name: Project
67737
68063
  * * SQL Data Type: uniqueidentifier
67738
68064
  * * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
67739
68065
  */
@@ -67745,7 +68071,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67745
68071
  }
67746
68072
  /**
67747
68073
  * * Field Name: ConversationDetailID
67748
- * * Display Name: Conversation Detail ID
68074
+ * * Display Name: Conversation Detail
67749
68075
  * * SQL Data Type: uniqueidentifier
67750
68076
  * * Related Entity/Foreign Key: MJ: Conversation Details (vwConversationDetails.ID)
67751
68077
  */
@@ -67757,7 +68083,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67757
68083
  }
67758
68084
  /**
67759
68085
  * * Field Name: UserID
67760
- * * Display Name: User ID
68086
+ * * Display Name: User
67761
68087
  * * SQL Data Type: uniqueidentifier
67762
68088
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
67763
68089
  */
@@ -67769,7 +68095,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67769
68095
  }
67770
68096
  /**
67771
68097
  * * Field Name: AgentID
67772
- * * Display Name: Agent ID
68098
+ * * Display Name: Agent
67773
68099
  * * SQL Data Type: uniqueidentifier
67774
68100
  * * Related Entity/Foreign Key: MJ: AI Agents (vwAIAgents.ID)
67775
68101
  */
@@ -67870,7 +68196,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67870
68196
  }
67871
68197
  /**
67872
68198
  * * Field Name: Parent
67873
- * * Display Name: Parent
68199
+ * * Display Name: Parent Name
67874
68200
  * * SQL Data Type: nvarchar(255)
67875
68201
  */
67876
68202
  get Parent() {
@@ -67878,7 +68204,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67878
68204
  }
67879
68205
  /**
67880
68206
  * * Field Name: Type
67881
- * * Display Name: Type
68207
+ * * Display Name: Type Name
67882
68208
  * * SQL Data Type: nvarchar(255)
67883
68209
  */
67884
68210
  get Type() {
@@ -67886,7 +68212,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67886
68212
  }
67887
68213
  /**
67888
68214
  * * Field Name: Environment
67889
- * * Display Name: Environment
68215
+ * * Display Name: Environment Name
67890
68216
  * * SQL Data Type: nvarchar(255)
67891
68217
  */
67892
68218
  get Environment() {
@@ -67894,15 +68220,23 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67894
68220
  }
67895
68221
  /**
67896
68222
  * * Field Name: Project
67897
- * * Display Name: Project
68223
+ * * Display Name: Project Name
67898
68224
  * * SQL Data Type: nvarchar(255)
67899
68225
  */
67900
68226
  get Project() {
67901
68227
  return this.Get('Project');
67902
68228
  }
67903
68229
  /**
68230
+ * * Field Name: ConversationDetail
68231
+ * * Display Name: Conversation Detail Name
68232
+ * * SQL Data Type: nvarchar(MAX)
68233
+ */
68234
+ get ConversationDetail() {
68235
+ return this.Get('ConversationDetail');
68236
+ }
68237
+ /**
67904
68238
  * * Field Name: User
67905
- * * Display Name: User
68239
+ * * Display Name: User Name
67906
68240
  * * SQL Data Type: nvarchar(100)
67907
68241
  */
67908
68242
  get User() {
@@ -67910,7 +68244,7 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67910
68244
  }
67911
68245
  /**
67912
68246
  * * Field Name: Agent
67913
- * * Display Name: Agent
68247
+ * * Display Name: Agent Name
67914
68248
  * * SQL Data Type: nvarchar(255)
67915
68249
  */
67916
68250
  get Agent() {
@@ -68437,7 +68771,7 @@ let MJTemplateParamEntity = class MJTemplateParamEntity extends BaseEntity {
68437
68771
  }
68438
68772
  /**
68439
68773
  * * Field Name: LinkedParameterName
68440
- * * Display Name: Linked Parameter
68774
+ * * Display Name: Linked Parameter Name
68441
68775
  * * SQL Data Type: nvarchar(255)
68442
68776
  * * Description: Only used when Type=Entity, this is used to link an Entity parameter with another parameter so that the rows in the Entity parameter can be filtered automatically based on the FKEY relationship between the Record and this Entity parameter. For example, if the Entity-based parameter is for an entity like Activities and there is another parameter of type Record for an entity like Contacts, in that situation the Activities Parameter would point to the Contacts parameter as the LinkedParameterName because we would filter down the Activities in each template render to only those linked to the Contact.
68443
68777
  */
@@ -68449,7 +68783,7 @@ let MJTemplateParamEntity = class MJTemplateParamEntity extends BaseEntity {
68449
68783
  }
68450
68784
  /**
68451
68785
  * * Field Name: LinkedParameterField
68452
- * * Display Name: Linked Field
68786
+ * * Display Name: Linked Parameter Field
68453
68787
  * * SQL Data Type: nvarchar(500)
68454
68788
  * * Description: If the LinkedParameterName is specified, this is an optional setting to specify the field within the LinkedParameter that will be used for filtering. This is only needed if there is more than one foreign key relationship between the Entity parameter and the Linked parameter, or if there is no defined foreign key in the database between the two entities.
68455
68789
  */
@@ -68554,6 +68888,14 @@ let MJTemplateParamEntity = class MJTemplateParamEntity extends BaseEntity {
68554
68888
  get Entity() {
68555
68889
  return this.Get('Entity');
68556
68890
  }
68891
+ /**
68892
+ * * Field Name: TemplateContent
68893
+ * * Display Name: Template Content Name
68894
+ * * SQL Data Type: nvarchar(255)
68895
+ */
68896
+ get TemplateContent() {
68897
+ return this.Get('TemplateContent');
68898
+ }
68557
68899
  };
68558
68900
  MJTemplateParamEntity = __decorate([
68559
68901
  RegisterClass(BaseEntity, 'MJ: Template Params')