@memberjunction/core-entities 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/generated/entity_subclasses.d.ts +675 -246
  2. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  3. package/dist/generated/entity_subclasses.js +1180 -511
  4. package/dist/generated/entity_subclasses.js.map +1 -1
  5. package/package.json +5 -5
  6. package/dist/custom/AIAgentExtended.d.ts +0 -13
  7. package/dist/custom/AIAgentExtended.d.ts.map +0 -1
  8. package/dist/custom/AIAgentExtended.js +0 -37
  9. package/dist/custom/AIAgentExtended.js.map +0 -1
  10. package/dist/custom/AIAgentRunExtended.d.ts +0 -32
  11. package/dist/custom/AIAgentRunExtended.d.ts.map +0 -1
  12. package/dist/custom/AIAgentRunExtended.js +0 -136
  13. package/dist/custom/AIAgentRunExtended.js.map +0 -1
  14. package/dist/custom/AIAgentRunStepExtended.d.ts +0 -48
  15. package/dist/custom/AIAgentRunStepExtended.d.ts.map +0 -1
  16. package/dist/custom/AIAgentRunStepExtended.js +0 -149
  17. package/dist/custom/AIAgentRunStepExtended.js.map +0 -1
  18. package/dist/custom/AIModelExtended.d.ts +0 -14
  19. package/dist/custom/AIModelExtended.d.ts.map +0 -1
  20. package/dist/custom/AIModelExtended.js +0 -36
  21. package/dist/custom/AIModelExtended.js.map +0 -1
  22. package/dist/custom/AIPromptCategoryExtended.d.ts +0 -7
  23. package/dist/custom/AIPromptCategoryExtended.d.ts.map +0 -1
  24. package/dist/custom/AIPromptCategoryExtended.js +0 -26
  25. package/dist/custom/AIPromptCategoryExtended.js.map +0 -1
  26. package/dist/custom/AIPromptExtended.d.ts +0 -51
  27. package/dist/custom/AIPromptExtended.d.ts.map +0 -1
  28. package/dist/custom/AIPromptExtended.js +0 -169
  29. package/dist/custom/AIPromptExtended.js.map +0 -1
  30. package/dist/custom/AIPromptRunEntityExtended.d.ts +0 -47
  31. package/dist/custom/AIPromptRunEntityExtended.d.ts.map +0 -1
  32. package/dist/custom/AIPromptRunEntityExtended.js +0 -156
  33. package/dist/custom/AIPromptRunEntityExtended.js.map +0 -1
  34. package/dist/custom/TypeTablesCache.d.ts +0 -12
  35. package/dist/custom/TypeTablesCache.d.ts.map +0 -1
  36. package/dist/custom/TypeTablesCache.js +0 -31
  37. package/dist/custom/TypeTablesCache.js.map +0 -1
@@ -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('Scalar'), z.literal('Other'), 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('Other'), z.literal('Scalar'), 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,9 +473,9 @@ export const MJActionParamSchema = z.object({
473
473
  * * BaseEntity Sub-Class
474
474
  * * Other
475
475
  * * MediaOutput
476
- * * Scalar
477
476
  * * Other
478
477
  * * Scalar
478
+ * * Scalar
479
479
  * * Simple Object
480
480
  * * Simple Object
481
481
  * * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field`),
@@ -2316,14 +2316,6 @@ 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 Label
2322
- * * SQL Data Type: nvarchar(255)`),
2323
- Parent: z.string().nullable().describe(`
2324
- * * Field Name: Parent
2325
- * * Display Name: Parent Step Label
2326
- * * SQL Data Type: nvarchar(255)`),
2327
2319
  RootParentID: z.string().nullable().describe(`
2328
2320
  * * Field Name: RootParentID
2329
2321
  * * Display Name: Root Parent Step
@@ -5670,10 +5662,6 @@ export const MJAIResultCacheSchema = z.object({
5670
5662
  * * Field Name: Configuration
5671
5663
  * * Display Name: Configuration
5672
5664
  * * 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)`),
5677
5665
  });
5678
5666
  /**
5679
5667
  * zod schema definition for the entity MJ: AI Vendor Type Definitions
@@ -9141,10 +9129,6 @@ export const MJConversationDetailArtifactSchema = z.object({
9141
9129
  * * Display Name: Updated At
9142
9130
  * * SQL Data Type: datetimeoffset
9143
9131
  * * Default Value: getutcdate()`),
9144
- ConversationDetail: z.string().describe(`
9145
- * * Field Name: ConversationDetail
9146
- * * Display Name: Conversation Detail Summary
9147
- * * SQL Data Type: nvarchar(MAX)`),
9148
9132
  ArtifactVersion: z.string().nullable().describe(`
9149
9133
  * * Field Name: ArtifactVersion
9150
9134
  * * Display Name: Artifact Version Summary
@@ -9291,10 +9275,6 @@ export const MJConversationDetailRatingSchema = z.object({
9291
9275
  * * Display Name: Updated At
9292
9276
  * * SQL Data Type: datetimeoffset
9293
9277
  * * Default Value: getutcdate()`),
9294
- ConversationDetail: z.string().describe(`
9295
- * * Field Name: ConversationDetail
9296
- * * Display Name: Conversation Detail
9297
- * * SQL Data Type: nvarchar(MAX)`),
9298
9278
  User: z.string().describe(`
9299
9279
  * * Field Name: User
9300
9280
  * * Display Name: User
@@ -9610,10 +9590,6 @@ export const MJConversationSchema = z.object({
9610
9590
  * * Field Name: Project
9611
9591
  * * Display Name: Project Name
9612
9592
  * * 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)`),
9617
9593
  });
9618
9594
  /**
9619
9595
  * zod schema definition for the entity MJ: Credential Categories
@@ -10743,10 +10719,6 @@ export const MJDuplicateRunDetailSchema = z.object({
10743
10719
  * * Display Name: Updated At
10744
10720
  * * SQL Data Type: datetimeoffset
10745
10721
  * * Default Value: getutcdate()`),
10746
- DuplicateRun: z.string().describe(`
10747
- * * Field Name: DuplicateRun
10748
- * * Display Name: Duplicate Run
10749
- * * SQL Data Type: nvarchar(255)`),
10750
10722
  });
10751
10723
  /**
10752
10724
  * zod schema definition for the entity MJ: Duplicate Runs
@@ -10886,10 +10858,6 @@ export const MJEmployeeCompanyIntegrationSchema = z.object({
10886
10858
  * * Display Name: Updated At
10887
10859
  * * SQL Data Type: datetimeoffset
10888
10860
  * * Default Value: getutcdate()`),
10889
- Employee: z.string().nullable().describe(`
10890
- * * Field Name: Employee
10891
- * * Display Name: Employee Name
10892
- * * SQL Data Type: nvarchar(81)`),
10893
10861
  CompanyIntegration: z.string().describe(`
10894
10862
  * * Field Name: CompanyIntegration
10895
10863
  * * Display Name: Integration Name
@@ -10924,10 +10892,6 @@ export const MJEmployeeRoleSchema = z.object({
10924
10892
  * * Display Name: Updated At
10925
10893
  * * SQL Data Type: datetimeoffset
10926
10894
  * * Default Value: getutcdate()`),
10927
- Employee: z.string().nullable().describe(`
10928
- * * Field Name: Employee
10929
- * * Display Name: Employee Name
10930
- * * SQL Data Type: nvarchar(81)`),
10931
10895
  Role: z.string().describe(`
10932
10896
  * * Field Name: Role
10933
10897
  * * Display Name: Role Name
@@ -10962,10 +10926,6 @@ export const MJEmployeeSkillSchema = z.object({
10962
10926
  * * Display Name: Updated At
10963
10927
  * * SQL Data Type: datetimeoffset
10964
10928
  * * Default Value: getutcdate()`),
10965
- Employee: z.string().nullable().describe(`
10966
- * * Field Name: Employee
10967
- * * Display Name: Employee Name
10968
- * * SQL Data Type: nvarchar(81)`),
10969
10929
  Skill: z.string().describe(`
10970
10930
  * * Field Name: Skill
10971
10931
  * * Display Name: Skill Name
@@ -11688,14 +11648,6 @@ export const MJEntityActionFilterSchema = z.object({
11688
11648
  * * Display Name: Updated At
11689
11649
  * * SQL Data Type: datetimeoffset
11690
11650
  * * Default Value: getutcdate()`),
11691
- EntityAction: z.string().describe(`
11692
- * * Field Name: EntityAction
11693
- * * Display Name: Entity Action
11694
- * * SQL Data Type: nvarchar(425)`),
11695
- ActionFilter: z.string().describe(`
11696
- * * Field Name: ActionFilter
11697
- * * Display Name: Action Filter
11698
- * * SQL Data Type: nvarchar(MAX)`),
11699
11651
  });
11700
11652
  /**
11701
11653
  * zod schema definition for the entity MJ: Entity Action Invocation Types
@@ -11773,10 +11725,6 @@ export const MJEntityActionInvocationSchema = z.object({
11773
11725
  * * Display Name: Updated At
11774
11726
  * * SQL Data Type: datetimeoffset
11775
11727
  * * Default Value: getutcdate()`),
11776
- EntityAction: z.string().describe(`
11777
- * * Field Name: EntityAction
11778
- * * Display Name: Entity Action Name
11779
- * * SQL Data Type: nvarchar(425)`),
11780
11728
  InvocationType: z.string().describe(`
11781
11729
  * * Field Name: InvocationType
11782
11730
  * * Display Name: Invocation Type Name
@@ -11832,10 +11780,6 @@ export const MJEntityActionParamSchema = z.object({
11832
11780
  * * Display Name: Updated At
11833
11781
  * * SQL Data Type: datetimeoffset
11834
11782
  * * Default Value: getutcdate()`),
11835
- EntityAction: z.string().describe(`
11836
- * * Field Name: EntityAction
11837
- * * Display Name: Entity Action
11838
- * * SQL Data Type: nvarchar(425)`),
11839
11783
  ActionParam: z.string().describe(`
11840
11784
  * * Field Name: ActionParam
11841
11785
  * * Display Name: Action Param
@@ -12029,10 +11973,6 @@ export const MJEntityCommunicationFieldSchema = z.object({
12029
11973
  * * Display Name: Updated At
12030
11974
  * * SQL Data Type: datetimeoffset
12031
11975
  * * Default Value: getutcdate()`),
12032
- EntityCommunicationMessageType: z.string().describe(`
12033
- * * Field Name: EntityCommunicationMessageType
12034
- * * Display Name: Message Type
12035
- * * SQL Data Type: nvarchar(100)`),
12036
11976
  });
12037
11977
  /**
12038
11978
  * zod schema definition for the entity MJ: Entity Communication Message Types
@@ -13296,14 +13236,6 @@ export const MJErrorLogSchema = z.object({
13296
13236
  * * Display Name: Updated At
13297
13237
  * * SQL Data Type: datetimeoffset
13298
13238
  * * Default Value: getutcdate()`),
13299
- CompanyIntegrationRun: z.string().nullable().describe(`
13300
- * * Field Name: CompanyIntegrationRun
13301
- * * Display Name: Company Integration Run
13302
- * * SQL Data Type: nvarchar(100)`),
13303
- CompanyIntegrationRunDetail: z.string().nullable().describe(`
13304
- * * Field Name: CompanyIntegrationRunDetail
13305
- * * Display Name: Company Integration Run Detail
13306
- * * SQL Data Type: nvarchar(450)`),
13307
13239
  });
13308
13240
  /**
13309
13241
  * zod schema definition for the entity MJ: Explorer Navigation Items
@@ -14410,10 +14342,6 @@ export const MJMCPServerConnectionToolSchema = z.object({
14410
14342
  * * Field Name: MCPServerConnection
14411
14343
  * * Display Name: Connection Name
14412
14344
  * * SQL Data Type: nvarchar(255)`),
14413
- MCPServerTool: z.string().nullable().describe(`
14414
- * * Field Name: MCPServerTool
14415
- * * Display Name: Tool Name
14416
- * * SQL Data Type: nvarchar(255)`),
14417
14345
  });
14418
14346
  /**
14419
14347
  * zod schema definition for the entity MJ: MCP Server Connections
@@ -14841,10 +14769,6 @@ export const MJMCPToolExecutionLogSchema = z.object({
14841
14769
  * * Field Name: MCPServerConnection
14842
14770
  * * Display Name: Connection
14843
14771
  * * SQL Data Type: nvarchar(255)`),
14844
- MCPServerTool: z.string().nullable().describe(`
14845
- * * Field Name: MCPServerTool
14846
- * * Display Name: Server Tool
14847
- * * SQL Data Type: nvarchar(255)`),
14848
14772
  User: z.string().describe(`
14849
14773
  * * Field Name: User
14850
14774
  * * Display Name: User
@@ -15203,6 +15127,296 @@ export const MJOAuthTokenSchema = z.object({
15203
15127
  * * Display Name: Credential
15204
15128
  * * SQL Data Type: nvarchar(200)`),
15205
15129
  });
15130
+ /**
15131
+ * zod schema definition for the entity MJ: Open App Dependencies
15132
+ */
15133
+ export const MJOpenAppDependencySchema = z.object({
15134
+ ID: z.string().describe(`
15135
+ * * Field Name: ID
15136
+ * * Display Name: ID
15137
+ * * SQL Data Type: uniqueidentifier
15138
+ * * Default Value: newsequentialid()`),
15139
+ OpenAppID: z.string().describe(`
15140
+ * * Field Name: OpenAppID
15141
+ * * Display Name: Open App ID
15142
+ * * SQL Data Type: uniqueidentifier
15143
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)`),
15144
+ DependsOnAppName: z.string().describe(`
15145
+ * * Field Name: DependsOnAppName
15146
+ * * Display Name: Depends On App Name
15147
+ * * SQL Data Type: nvarchar(64)
15148
+ * * Description: Name of the app that this app depends on (matches OpenApp.Name)`),
15149
+ DependsOnAppID: z.string().nullable().describe(`
15150
+ * * Field Name: DependsOnAppID
15151
+ * * Display Name: Depends On App ID
15152
+ * * SQL Data Type: uniqueidentifier
15153
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)`),
15154
+ VersionRange: z.string().describe(`
15155
+ * * Field Name: VersionRange
15156
+ * * Display Name: Version Range
15157
+ * * SQL Data Type: nvarchar(100)
15158
+ * * Description: Semver range specifying which versions of the dependency are acceptable (e.g. ^1.0.0)`),
15159
+ InstalledVersion: z.string().nullable().describe(`
15160
+ * * Field Name: InstalledVersion
15161
+ * * Display Name: Installed Version
15162
+ * * SQL Data Type: nvarchar(50)
15163
+ * * Description: Actual installed version of the dependency (NULL if not yet installed)`),
15164
+ Status: z.union([z.literal('Incompatible'), z.literal('Missing'), z.literal('Satisfied')]).describe(`
15165
+ * * Field Name: Status
15166
+ * * Display Name: Status
15167
+ * * SQL Data Type: nvarchar(20)
15168
+ * * Default Value: Satisfied
15169
+ * * Value List Type: List
15170
+ * * Possible Values
15171
+ * * Incompatible
15172
+ * * Missing
15173
+ * * Satisfied
15174
+ * * Description: Whether the dependency is satisfied: Satisfied, Missing, or Incompatible`),
15175
+ __mj_CreatedAt: z.date().describe(`
15176
+ * * Field Name: __mj_CreatedAt
15177
+ * * Display Name: Created At
15178
+ * * SQL Data Type: datetimeoffset
15179
+ * * Default Value: getutcdate()`),
15180
+ __mj_UpdatedAt: z.date().describe(`
15181
+ * * Field Name: __mj_UpdatedAt
15182
+ * * Display Name: Updated At
15183
+ * * SQL Data Type: datetimeoffset
15184
+ * * Default Value: getutcdate()`),
15185
+ OpenApp: z.string().describe(`
15186
+ * * Field Name: OpenApp
15187
+ * * Display Name: Open App
15188
+ * * SQL Data Type: nvarchar(64)`),
15189
+ DependsOnApp: z.string().nullable().describe(`
15190
+ * * Field Name: DependsOnApp
15191
+ * * Display Name: Depends On App
15192
+ * * SQL Data Type: nvarchar(64)`),
15193
+ });
15194
+ /**
15195
+ * zod schema definition for the entity MJ: Open App Install Histories
15196
+ */
15197
+ export const MJOpenAppInstallHistorySchema = z.object({
15198
+ ID: z.string().describe(`
15199
+ * * Field Name: ID
15200
+ * * Display Name: ID
15201
+ * * SQL Data Type: uniqueidentifier
15202
+ * * Default Value: newsequentialid()`),
15203
+ OpenAppID: z.string().describe(`
15204
+ * * Field Name: OpenAppID
15205
+ * * Display Name: Open App ID
15206
+ * * SQL Data Type: uniqueidentifier
15207
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)`),
15208
+ Version: z.string().describe(`
15209
+ * * Field Name: Version
15210
+ * * Display Name: Version
15211
+ * * SQL Data Type: nvarchar(50)
15212
+ * * Description: Semver version that was installed or upgraded to in this operation`),
15213
+ PreviousVersion: z.string().nullable().describe(`
15214
+ * * Field Name: PreviousVersion
15215
+ * * Display Name: Previous Version
15216
+ * * SQL Data Type: nvarchar(50)
15217
+ * * Description: Version that was installed before this operation (NULL for initial installs)`),
15218
+ Action: z.union([z.literal('Install'), z.literal('Remove'), z.literal('Upgrade')]).describe(`
15219
+ * * Field Name: Action
15220
+ * * Display Name: Action
15221
+ * * SQL Data Type: nvarchar(20)
15222
+ * * Value List Type: List
15223
+ * * Possible Values
15224
+ * * Install
15225
+ * * Remove
15226
+ * * Upgrade
15227
+ * * Description: Type of operation performed: Install, Upgrade, or Remove`),
15228
+ ManifestJSON: z.string().describe(`
15229
+ * * Field Name: ManifestJSON
15230
+ * * Display Name: Manifest JSON
15231
+ * * SQL Data Type: nvarchar(MAX)
15232
+ * * Description: Snapshot of the mj-app.json manifest at the time of this operation`),
15233
+ Summary: z.string().nullable().describe(`
15234
+ * * Field Name: Summary
15235
+ * * Display Name: Summary
15236
+ * * SQL Data Type: nvarchar(MAX)
15237
+ * * Description: Human-readable summary of what happened during this operation`),
15238
+ ExecutedByUserID: z.string().describe(`
15239
+ * * Field Name: ExecutedByUserID
15240
+ * * Display Name: Executed By User ID
15241
+ * * SQL Data Type: uniqueidentifier
15242
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)`),
15243
+ DurationSeconds: z.number().nullable().describe(`
15244
+ * * Field Name: DurationSeconds
15245
+ * * Display Name: Duration Seconds
15246
+ * * SQL Data Type: int
15247
+ * * Description: Total wall-clock seconds the operation took to complete`),
15248
+ StartedAt: z.date().nullable().describe(`
15249
+ * * Field Name: StartedAt
15250
+ * * Display Name: Started At
15251
+ * * SQL Data Type: datetimeoffset
15252
+ * * Description: Timestamp when the operation began`),
15253
+ EndedAt: z.date().nullable().describe(`
15254
+ * * Field Name: EndedAt
15255
+ * * Display Name: Ended At
15256
+ * * SQL Data Type: datetimeoffset
15257
+ * * Description: Timestamp when the operation completed (success or failure)`),
15258
+ Success: z.boolean().describe(`
15259
+ * * Field Name: Success
15260
+ * * Display Name: Success
15261
+ * * SQL Data Type: bit
15262
+ * * Default Value: 1
15263
+ * * Description: Whether the operation completed successfully (1) or failed (0)`),
15264
+ ErrorMessage: z.string().nullable().describe(`
15265
+ * * Field Name: ErrorMessage
15266
+ * * Display Name: Error Message
15267
+ * * SQL Data Type: nvarchar(MAX)
15268
+ * * Description: Detailed error message if the operation failed`),
15269
+ ErrorPhase: z.union([z.literal('Config'), z.literal('Hooks'), z.literal('Migration'), z.literal('Packages'), z.literal('Record'), z.literal('Schema')]).nullable().describe(`
15270
+ * * Field Name: ErrorPhase
15271
+ * * Display Name: Error Phase
15272
+ * * SQL Data Type: nvarchar(50)
15273
+ * * Value List Type: List
15274
+ * * Possible Values
15275
+ * * Config
15276
+ * * Hooks
15277
+ * * Migration
15278
+ * * Packages
15279
+ * * Record
15280
+ * * Schema
15281
+ * * Description: Which phase of the operation failed: Schema, Migration, Packages, Config, Hooks, or Record`),
15282
+ __mj_CreatedAt: z.date().describe(`
15283
+ * * Field Name: __mj_CreatedAt
15284
+ * * Display Name: Created At
15285
+ * * SQL Data Type: datetimeoffset
15286
+ * * Default Value: getutcdate()`),
15287
+ __mj_UpdatedAt: z.date().describe(`
15288
+ * * Field Name: __mj_UpdatedAt
15289
+ * * Display Name: Updated At
15290
+ * * SQL Data Type: datetimeoffset
15291
+ * * Default Value: getutcdate()`),
15292
+ OpenApp: z.string().describe(`
15293
+ * * Field Name: OpenApp
15294
+ * * Display Name: Open App
15295
+ * * SQL Data Type: nvarchar(64)`),
15296
+ ExecutedByUser: z.string().describe(`
15297
+ * * Field Name: ExecutedByUser
15298
+ * * Display Name: Executed By User
15299
+ * * SQL Data Type: nvarchar(100)`),
15300
+ });
15301
+ /**
15302
+ * zod schema definition for the entity MJ: Open Apps
15303
+ */
15304
+ export const MJOpenAppSchema = z.object({
15305
+ ID: z.string().describe(`
15306
+ * * Field Name: ID
15307
+ * * Display Name: ID
15308
+ * * SQL Data Type: uniqueidentifier
15309
+ * * Default Value: newsequentialid()`),
15310
+ Name: z.string().describe(`
15311
+ * * Field Name: Name
15312
+ * * Display Name: Name
15313
+ * * SQL Data Type: nvarchar(64)
15314
+ * * Description: Unique lowercase identifier for the app (e.g. acme-crm). Must contain only lowercase letters, digits, and hyphens.`),
15315
+ DisplayName: z.string().describe(`
15316
+ * * Field Name: DisplayName
15317
+ * * Display Name: Display Name
15318
+ * * SQL Data Type: nvarchar(200)
15319
+ * * Description: Human-readable display name shown in the UI (e.g. Acme CRM)`),
15320
+ Description: z.string().nullable().describe(`
15321
+ * * Field Name: Description
15322
+ * * Display Name: Description
15323
+ * * SQL Data Type: nvarchar(MAX)
15324
+ * * Description: Optional long description of what this app does`),
15325
+ Version: z.string().describe(`
15326
+ * * Field Name: Version
15327
+ * * Display Name: Version
15328
+ * * SQL Data Type: nvarchar(50)
15329
+ * * Description: Currently installed semver version string (e.g. 1.2.3)`),
15330
+ Publisher: z.string().describe(`
15331
+ * * Field Name: Publisher
15332
+ * * Display Name: Publisher
15333
+ * * SQL Data Type: nvarchar(200)
15334
+ * * Description: Name of the organization or individual who published the app`),
15335
+ PublisherEmail: z.string().nullable().describe(`
15336
+ * * Field Name: PublisherEmail
15337
+ * * Display Name: Publisher Email
15338
+ * * SQL Data Type: nvarchar(255)
15339
+ * * Description: Optional contact email for the publisher`),
15340
+ PublisherURL: z.string().nullable().describe(`
15341
+ * * Field Name: PublisherURL
15342
+ * * Display Name: Publisher URL
15343
+ * * SQL Data Type: nvarchar(500)
15344
+ * * Description: Optional website URL for the publisher`),
15345
+ RepositoryURL: z.string().describe(`
15346
+ * * Field Name: RepositoryURL
15347
+ * * Display Name: Repository URL
15348
+ * * SQL Data Type: nvarchar(500)
15349
+ * * Description: GitHub repository URL where this app is hosted`),
15350
+ SchemaName: z.string().nullable().describe(`
15351
+ * * Field Name: SchemaName
15352
+ * * Display Name: Schema Name
15353
+ * * SQL Data Type: nvarchar(128)
15354
+ * * Description: Database schema name used by this app for its tables and objects. Unique per instance.`),
15355
+ MJVersionRange: z.string().describe(`
15356
+ * * Field Name: MJVersionRange
15357
+ * * Display Name: MJ Version Range
15358
+ * * SQL Data Type: nvarchar(100)
15359
+ * * Description: Semver range specifying which MJ versions this app is compatible with (e.g. >=4.0.0 <5.0.0)`),
15360
+ License: z.string().nullable().describe(`
15361
+ * * Field Name: License
15362
+ * * Display Name: License
15363
+ * * SQL Data Type: nvarchar(50)
15364
+ * * Description: SPDX license identifier for this app (e.g. MIT, Apache-2.0)`),
15365
+ Icon: z.string().nullable().describe(`
15366
+ * * Field Name: Icon
15367
+ * * Display Name: Icon
15368
+ * * SQL Data Type: nvarchar(100)
15369
+ * * Description: Optional icon identifier (e.g. Font Awesome class) for UI display`),
15370
+ Color: z.string().nullable().describe(`
15371
+ * * Field Name: Color
15372
+ * * Display Name: Color
15373
+ * * SQL Data Type: nvarchar(20)
15374
+ * * Description: Optional hex color code for branding in the UI (e.g. #FF5733)`),
15375
+ ManifestJSON: z.string().describe(`
15376
+ * * Field Name: ManifestJSON
15377
+ * * Display Name: Manifest JSON
15378
+ * * SQL Data Type: nvarchar(MAX)
15379
+ * * Description: Full mj-app.json manifest stored as JSON for the currently installed version`),
15380
+ ConfigurationSchemaJSON: z.string().nullable().describe(`
15381
+ * * Field Name: ConfigurationSchemaJSON
15382
+ * * Display Name: Configuration Schema JSON
15383
+ * * SQL Data Type: nvarchar(MAX)
15384
+ * * Description: Optional JSON Schema defining the configuration options this app accepts`),
15385
+ InstalledByUserID: z.string().describe(`
15386
+ * * Field Name: InstalledByUserID
15387
+ * * Display Name: Installed By User ID
15388
+ * * SQL Data Type: uniqueidentifier
15389
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)`),
15390
+ Status: z.union([z.literal('Active'), z.literal('Disabled'), z.literal('Error'), z.literal('Installing'), z.literal('Removed'), z.literal('Removing'), z.literal('Upgrading')]).describe(`
15391
+ * * Field Name: Status
15392
+ * * Display Name: Status
15393
+ * * SQL Data Type: nvarchar(20)
15394
+ * * Default Value: Active
15395
+ * * Value List Type: List
15396
+ * * Possible Values
15397
+ * * Active
15398
+ * * Disabled
15399
+ * * Error
15400
+ * * Installing
15401
+ * * Removed
15402
+ * * Removing
15403
+ * * Upgrading
15404
+ * * Description: Current lifecycle status of the app: Active, Disabled, Error, Installing, Upgrading, Removing, or Removed`),
15405
+ __mj_CreatedAt: z.date().describe(`
15406
+ * * Field Name: __mj_CreatedAt
15407
+ * * Display Name: Created At
15408
+ * * SQL Data Type: datetimeoffset
15409
+ * * Default Value: getutcdate()`),
15410
+ __mj_UpdatedAt: z.date().describe(`
15411
+ * * Field Name: __mj_UpdatedAt
15412
+ * * Display Name: Updated At
15413
+ * * SQL Data Type: datetimeoffset
15414
+ * * Default Value: getutcdate()`),
15415
+ InstalledByUser: z.string().describe(`
15416
+ * * Field Name: InstalledByUser
15417
+ * * Display Name: Installed By User
15418
+ * * SQL Data Type: nvarchar(100)`),
15419
+ });
15206
15420
  /**
15207
15421
  * zod schema definition for the entity MJ: Output Delivery Types
15208
15422
  */
@@ -16182,10 +16396,6 @@ export const MJRecommendationItemSchema = z.object({
16182
16396
  * * Display Name: Updated At
16183
16397
  * * SQL Data Type: datetimeoffset
16184
16398
  * * Default Value: getutcdate()`),
16185
- Recommendation: z.string().describe(`
16186
- * * Field Name: Recommendation
16187
- * * Display Name: Recommendation Name
16188
- * * SQL Data Type: nvarchar(MAX)`),
16189
16399
  DestinationEntity: z.string().describe(`
16190
16400
  * * Field Name: DestinationEntity
16191
16401
  * * Display Name: Destination Entity Name
@@ -16317,10 +16527,6 @@ export const MJRecommendationSchema = z.object({
16317
16527
  * * Display Name: Updated At
16318
16528
  * * SQL Data Type: datetimeoffset
16319
16529
  * * Default Value: getutcdate()`),
16320
- RecommendationRun: z.string().describe(`
16321
- * * Field Name: RecommendationRun
16322
- * * Display Name: Recommendation Run
16323
- * * SQL Data Type: nvarchar(255)`),
16324
16530
  SourceEntity: z.string().describe(`
16325
16531
  * * Field Name: SourceEntity
16326
16532
  * * Display Name: Source Entity
@@ -16493,10 +16699,6 @@ export const MJRecordChangeSchema = z.object({
16493
16699
  * * Field Name: User
16494
16700
  * * Display Name: User Name
16495
16701
  * * SQL Data Type: nvarchar(100)`),
16496
- ReplayRun: z.string().nullable().describe(`
16497
- * * Field Name: ReplayRun
16498
- * * Display Name: Replay Run Name
16499
- * * SQL Data Type: nvarchar(100)`),
16500
16702
  Integration: z.string().nullable().describe(`
16501
16703
  * * Field Name: Integration
16502
16704
  * * Display Name: Integration Name
@@ -16609,10 +16811,6 @@ export const MJRecordMergeDeletionLogSchema = z.object({
16609
16811
  * * Display Name: Updated At
16610
16812
  * * SQL Data Type: datetimeoffset
16611
16813
  * * Default Value: getutcdate()`),
16612
- RecordMergeLog: z.string().describe(`
16613
- * * Field Name: RecordMergeLog
16614
- * * Display Name: Merge Log Details
16615
- * * SQL Data Type: nvarchar(450)`),
16616
16814
  });
16617
16815
  /**
16618
16816
  * zod schema definition for the entity MJ: Record Merge Logs
@@ -17020,10 +17218,6 @@ export const MJReportSchema = z.object({
17020
17218
  * * Field Name: Conversation
17021
17219
  * * Display Name: Conversation
17022
17220
  * * SQL Data Type: nvarchar(255)`),
17023
- ConversationDetail: z.string().nullable().describe(`
17024
- * * Field Name: ConversationDetail
17025
- * * Display Name: Conversation Detail
17026
- * * SQL Data Type: nvarchar(MAX)`),
17027
17221
  DataContext: z.string().nullable().describe(`
17028
17222
  * * Field Name: DataContext
17029
17223
  * * Display Name: Data Context
@@ -18175,10 +18369,6 @@ export const MJTaskSchema = z.object({
18175
18369
  * * Field Name: Project
18176
18370
  * * Display Name: Project
18177
18371
  * * SQL Data Type: nvarchar(255)`),
18178
- ConversationDetail: z.string().nullable().describe(`
18179
- * * Field Name: ConversationDetail
18180
- * * Display Name: Conversation Detail
18181
- * * SQL Data Type: nvarchar(MAX)`),
18182
18372
  User: z.string().nullable().describe(`
18183
18373
  * * Field Name: User
18184
18374
  * * Display Name: User
@@ -18446,10 +18636,6 @@ export const MJTemplateParamSchema = z.object({
18446
18636
  * * Field Name: Entity
18447
18637
  * * Display Name: Entity Name
18448
18638
  * * SQL Data Type: nvarchar(255)`),
18449
- TemplateContent: z.string().nullable().describe(`
18450
- * * Field Name: TemplateContent
18451
- * * Display Name: Template Content Name
18452
- * * SQL Data Type: nvarchar(255)`),
18453
18639
  });
18454
18640
  /**
18455
18641
  * zod schema definition for the entity MJ: Templates
@@ -22088,9 +22274,9 @@ let MJActionParamEntity = class MJActionParamEntity extends BaseEntity {
22088
22274
  * * BaseEntity Sub-Class
22089
22275
  * * Other
22090
22276
  * * MediaOutput
22091
- * * Scalar
22092
22277
  * * Other
22093
22278
  * * Scalar
22279
+ * * Scalar
22094
22280
  * * Simple Object
22095
22281
  * * Simple Object
22096
22282
  * * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
@@ -26765,22 +26951,6 @@ detailed information about what validation rules failed.
26765
26951
  this.Set('Comments', value);
26766
26952
  }
26767
26953
  /**
26768
- * * Field Name: AgentRun
26769
- * * Display Name: Agent Run Label
26770
- * * SQL Data Type: nvarchar(255)
26771
- */
26772
- get AgentRun() {
26773
- return this.Get('AgentRun');
26774
- }
26775
- /**
26776
- * * Field Name: Parent
26777
- * * Display Name: Parent Step Label
26778
- * * SQL Data Type: nvarchar(255)
26779
- */
26780
- get Parent() {
26781
- return this.Get('Parent');
26782
- }
26783
- /**
26784
26954
  * * Field Name: RootParentID
26785
26955
  * * Display Name: Root Parent Step
26786
26956
  * * SQL Data Type: uniqueidentifier
@@ -35501,14 +35671,6 @@ let MJAIResultCacheEntity = class MJAIResultCacheEntity extends BaseEntity {
35501
35671
  get Configuration() {
35502
35672
  return this.Get('Configuration');
35503
35673
  }
35504
- /**
35505
- * * Field Name: PromptRun
35506
- * * Display Name: Prompt Run
35507
- * * SQL Data Type: nvarchar(255)
35508
- */
35509
- get PromptRun() {
35510
- return this.Get('PromptRun');
35511
- }
35512
35674
  };
35513
35675
  MJAIResultCacheEntity = __decorate([
35514
35676
  RegisterClass(BaseEntity, 'MJ: AI Result Cache')
@@ -44373,14 +44535,6 @@ let MJConversationDetailArtifactEntity = class MJConversationDetailArtifactEntit
44373
44535
  return this.Get('__mj_UpdatedAt');
44374
44536
  }
44375
44537
  /**
44376
- * * Field Name: ConversationDetail
44377
- * * Display Name: Conversation Detail Summary
44378
- * * SQL Data Type: nvarchar(MAX)
44379
- */
44380
- get ConversationDetail() {
44381
- return this.Get('ConversationDetail');
44382
- }
44383
- /**
44384
44538
  * * Field Name: ArtifactVersion
44385
44539
  * * Display Name: Artifact Version Summary
44386
44540
  * * SQL Data Type: nvarchar(255)
@@ -44797,14 +44951,6 @@ let MJConversationDetailRatingEntity = class MJConversationDetailRatingEntity ex
44797
44951
  return this.Get('__mj_UpdatedAt');
44798
44952
  }
44799
44953
  /**
44800
- * * Field Name: ConversationDetail
44801
- * * Display Name: Conversation Detail
44802
- * * SQL Data Type: nvarchar(MAX)
44803
- */
44804
- get ConversationDetail() {
44805
- return this.Get('ConversationDetail');
44806
- }
44807
- /**
44808
44954
  * * Field Name: User
44809
44955
  * * Display Name: User
44810
44956
  * * SQL Data Type: nvarchar(100)
@@ -45624,14 +45770,6 @@ let MJConversationEntity = class MJConversationEntity extends BaseEntity {
45624
45770
  get Project() {
45625
45771
  return this.Get('Project');
45626
45772
  }
45627
- /**
45628
- * * Field Name: TestRun
45629
- * * Display Name: Test Run Name
45630
- * * SQL Data Type: nvarchar(255)
45631
- */
45632
- get TestRun() {
45633
- return this.Get('TestRun');
45634
- }
45635
45773
  };
45636
45774
  MJConversationEntity = __decorate([
45637
45775
  RegisterClass(BaseEntity, 'MJ: Conversations')
@@ -48450,14 +48588,6 @@ let MJDuplicateRunDetailEntity = class MJDuplicateRunDetailEntity extends BaseEn
48450
48588
  get __mj_UpdatedAt() {
48451
48589
  return this.Get('__mj_UpdatedAt');
48452
48590
  }
48453
- /**
48454
- * * Field Name: DuplicateRun
48455
- * * Display Name: Duplicate Run
48456
- * * SQL Data Type: nvarchar(255)
48457
- */
48458
- get DuplicateRun() {
48459
- return this.Get('DuplicateRun');
48460
- }
48461
48591
  };
48462
48592
  MJDuplicateRunDetailEntity = __decorate([
48463
48593
  RegisterClass(BaseEntity, 'MJ: Duplicate Run Details')
@@ -48798,14 +48928,6 @@ let MJEmployeeCompanyIntegrationEntity = class MJEmployeeCompanyIntegrationEntit
48798
48928
  return this.Get('__mj_UpdatedAt');
48799
48929
  }
48800
48930
  /**
48801
- * * Field Name: Employee
48802
- * * Display Name: Employee Name
48803
- * * SQL Data Type: nvarchar(81)
48804
- */
48805
- get Employee() {
48806
- return this.Get('Employee');
48807
- }
48808
- /**
48809
48931
  * * Field Name: CompanyIntegration
48810
48932
  * * Display Name: Integration Name
48811
48933
  * * SQL Data Type: nvarchar(255)
@@ -48901,14 +49023,6 @@ let MJEmployeeRoleEntity = class MJEmployeeRoleEntity extends BaseEntity {
48901
49023
  return this.Get('__mj_UpdatedAt');
48902
49024
  }
48903
49025
  /**
48904
- * * Field Name: Employee
48905
- * * Display Name: Employee Name
48906
- * * SQL Data Type: nvarchar(81)
48907
- */
48908
- get Employee() {
48909
- return this.Get('Employee');
48910
- }
48911
- /**
48912
49026
  * * Field Name: Role
48913
49027
  * * Display Name: Role Name
48914
49028
  * * SQL Data Type: nvarchar(50)
@@ -49004,14 +49118,6 @@ let MJEmployeeSkillEntity = class MJEmployeeSkillEntity extends BaseEntity {
49004
49118
  return this.Get('__mj_UpdatedAt');
49005
49119
  }
49006
49120
  /**
49007
- * * Field Name: Employee
49008
- * * Display Name: Employee Name
49009
- * * SQL Data Type: nvarchar(81)
49010
- */
49011
- get Employee() {
49012
- return this.Get('Employee');
49013
- }
49014
- /**
49015
49121
  * * Field Name: Skill
49016
49122
  * * Display Name: Skill Name
49017
49123
  * * SQL Data Type: nvarchar(50)
@@ -50713,22 +50819,6 @@ let MJEntityActionFilterEntity = class MJEntityActionFilterEntity extends BaseEn
50713
50819
  get __mj_UpdatedAt() {
50714
50820
  return this.Get('__mj_UpdatedAt');
50715
50821
  }
50716
- /**
50717
- * * Field Name: EntityAction
50718
- * * Display Name: Entity Action
50719
- * * SQL Data Type: nvarchar(425)
50720
- */
50721
- get EntityAction() {
50722
- return this.Get('EntityAction');
50723
- }
50724
- /**
50725
- * * Field Name: ActionFilter
50726
- * * Display Name: Action Filter
50727
- * * SQL Data Type: nvarchar(MAX)
50728
- */
50729
- get ActionFilter() {
50730
- return this.Get('ActionFilter');
50731
- }
50732
50822
  };
50733
50823
  MJEntityActionFilterEntity = __decorate([
50734
50824
  RegisterClass(BaseEntity, 'MJ: Entity Action Filters')
@@ -50935,14 +51025,6 @@ let MJEntityActionInvocationEntity = class MJEntityActionInvocationEntity extend
50935
51025
  return this.Get('__mj_UpdatedAt');
50936
51026
  }
50937
51027
  /**
50938
- * * Field Name: EntityAction
50939
- * * Display Name: Entity Action Name
50940
- * * SQL Data Type: nvarchar(425)
50941
- */
50942
- get EntityAction() {
50943
- return this.Get('EntityAction');
50944
- }
50945
- /**
50946
51028
  * * Field Name: InvocationType
50947
51029
  * * Display Name: Invocation Type Name
50948
51030
  * * SQL Data Type: nvarchar(255)
@@ -51080,14 +51162,6 @@ let MJEntityActionParamEntity = class MJEntityActionParamEntity extends BaseEnti
51080
51162
  return this.Get('__mj_UpdatedAt');
51081
51163
  }
51082
51164
  /**
51083
- * * Field Name: EntityAction
51084
- * * Display Name: Entity Action
51085
- * * SQL Data Type: nvarchar(425)
51086
- */
51087
- get EntityAction() {
51088
- return this.Get('EntityAction');
51089
- }
51090
- /**
51091
51165
  * * Field Name: ActionParam
51092
51166
  * * Display Name: Action Param
51093
51167
  * * SQL Data Type: nvarchar(255)
@@ -51564,14 +51638,6 @@ let MJEntityCommunicationFieldEntity = class MJEntityCommunicationFieldEntity ex
51564
51638
  get __mj_UpdatedAt() {
51565
51639
  return this.Get('__mj_UpdatedAt');
51566
51640
  }
51567
- /**
51568
- * * Field Name: EntityCommunicationMessageType
51569
- * * Display Name: Message Type
51570
- * * SQL Data Type: nvarchar(100)
51571
- */
51572
- get EntityCommunicationMessageType() {
51573
- return this.Get('EntityCommunicationMessageType');
51574
- }
51575
51641
  };
51576
51642
  MJEntityCommunicationFieldEntity = __decorate([
51577
51643
  RegisterClass(BaseEntity, 'MJ: Entity Communication Fields')
@@ -54588,22 +54654,6 @@ let MJErrorLogEntity = class MJErrorLogEntity extends BaseEntity {
54588
54654
  get __mj_UpdatedAt() {
54589
54655
  return this.Get('__mj_UpdatedAt');
54590
54656
  }
54591
- /**
54592
- * * Field Name: CompanyIntegrationRun
54593
- * * Display Name: Company Integration Run
54594
- * * SQL Data Type: nvarchar(100)
54595
- */
54596
- get CompanyIntegrationRun() {
54597
- return this.Get('CompanyIntegrationRun');
54598
- }
54599
- /**
54600
- * * Field Name: CompanyIntegrationRunDetail
54601
- * * Display Name: Company Integration Run Detail
54602
- * * SQL Data Type: nvarchar(450)
54603
- */
54604
- get CompanyIntegrationRunDetail() {
54605
- return this.Get('CompanyIntegrationRunDetail');
54606
- }
54607
54657
  };
54608
54658
  MJErrorLogEntity = __decorate([
54609
54659
  RegisterClass(BaseEntity, 'MJ: Error Logs')
@@ -57449,14 +57499,6 @@ let MJMCPServerConnectionToolEntity = class MJMCPServerConnectionToolEntity exte
57449
57499
  get MCPServerConnection() {
57450
57500
  return this.Get('MCPServerConnection');
57451
57501
  }
57452
- /**
57453
- * * Field Name: MCPServerTool
57454
- * * Display Name: Tool Name
57455
- * * SQL Data Type: nvarchar(255)
57456
- */
57457
- get MCPServerTool() {
57458
- return this.Get('MCPServerTool');
57459
- }
57460
57502
  };
57461
57503
  MJMCPServerConnectionToolEntity = __decorate([
57462
57504
  RegisterClass(BaseEntity, 'MJ: MCP Server Connection Tools')
@@ -58519,14 +58561,6 @@ let MJMCPToolExecutionLogEntity = class MJMCPToolExecutionLogEntity extends Base
58519
58561
  return this.Get('MCPServerConnection');
58520
58562
  }
58521
58563
  /**
58522
- * * Field Name: MCPServerTool
58523
- * * Display Name: Server Tool
58524
- * * SQL Data Type: nvarchar(255)
58525
- */
58526
- get MCPServerTool() {
58527
- return this.Get('MCPServerTool');
58528
- }
58529
- /**
58530
58564
  * * Field Name: User
58531
58565
  * * Display Name: User
58532
58566
  * * SQL Data Type: nvarchar(100)
@@ -59453,26 +59487,25 @@ MJOAuthTokenEntity = __decorate([
59453
59487
  ], MJOAuthTokenEntity);
59454
59488
  export { MJOAuthTokenEntity };
59455
59489
  /**
59456
- * MJ: Output Delivery Types - strongly typed entity sub-class
59490
+ * MJ: Open App Dependencies - strongly typed entity sub-class
59457
59491
  * * Schema: __mj
59458
- * * Base Table: OutputDeliveryType
59459
- * * Base View: vwOutputDeliveryTypes
59460
- * * @description Defines methods for delivering generated outputs such as email, file storage, API endpoints, or messaging platforms.
59492
+ * * Base Table: OpenAppDependency
59493
+ * * Base View: vwOpenAppDependencies
59494
+ * * @description Inter-app dependency relationships between installed Open Apps
59461
59495
  * * Primary Key: ID
59462
59496
  * @extends {BaseEntity}
59463
59497
  * @class
59464
59498
  * @public
59465
- * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
59466
59499
  */
59467
- let MJOutputDeliveryTypeEntity = class MJOutputDeliveryTypeEntity extends BaseEntity {
59500
+ let MJOpenAppDependencyEntity = class MJOpenAppDependencyEntity extends BaseEntity {
59468
59501
  /**
59469
- * Loads the MJ: Output Delivery Types record from the database
59470
- * @param ID: string - primary key value to load the MJ: Output Delivery Types record.
59502
+ * Loads the MJ: Open App Dependencies record from the database
59503
+ * @param ID: string - primary key value to load the MJ: Open App Dependencies record.
59471
59504
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
59472
59505
  * @returns {Promise<boolean>} - true if successful, false otherwise
59473
59506
  * @public
59474
59507
  * @async
59475
- * @memberof MJOutputDeliveryTypeEntity
59508
+ * @memberof MJOpenAppDependencyEntity
59476
59509
  * @method
59477
59510
  * @override
59478
59511
  */
@@ -59494,124 +59527,82 @@ let MJOutputDeliveryTypeEntity = class MJOutputDeliveryTypeEntity extends BaseEn
59494
59527
  this.Set('ID', value);
59495
59528
  }
59496
59529
  /**
59497
- * * Field Name: Name
59498
- * * Display Name: Name
59499
- * * SQL Data Type: nvarchar(255)
59500
- */
59501
- get Name() {
59502
- return this.Get('Name');
59503
- }
59504
- set Name(value) {
59505
- this.Set('Name', value);
59506
- }
59507
- /**
59508
- * * Field Name: Description
59509
- * * Display Name: Description
59510
- * * SQL Data Type: nvarchar(MAX)
59530
+ * * Field Name: OpenAppID
59531
+ * * Display Name: Open App ID
59532
+ * * SQL Data Type: uniqueidentifier
59533
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
59511
59534
  */
59512
- get Description() {
59513
- return this.Get('Description');
59535
+ get OpenAppID() {
59536
+ return this.Get('OpenAppID');
59514
59537
  }
59515
- set Description(value) {
59516
- this.Set('Description', value);
59538
+ set OpenAppID(value) {
59539
+ this.Set('OpenAppID', value);
59517
59540
  }
59518
59541
  /**
59519
- * * Field Name: __mj_CreatedAt
59520
- * * Display Name: Created At
59521
- * * SQL Data Type: datetimeoffset
59522
- * * Default Value: getutcdate()
59542
+ * * Field Name: DependsOnAppName
59543
+ * * Display Name: Depends On App Name
59544
+ * * SQL Data Type: nvarchar(64)
59545
+ * * Description: Name of the app that this app depends on (matches OpenApp.Name)
59523
59546
  */
59524
- get __mj_CreatedAt() {
59525
- return this.Get('__mj_CreatedAt');
59547
+ get DependsOnAppName() {
59548
+ return this.Get('DependsOnAppName');
59526
59549
  }
59527
- /**
59528
- * * Field Name: __mj_UpdatedAt
59529
- * * Display Name: Updated At
59530
- * * SQL Data Type: datetimeoffset
59531
- * * Default Value: getutcdate()
59532
- */
59533
- get __mj_UpdatedAt() {
59534
- return this.Get('__mj_UpdatedAt');
59535
- }
59536
- };
59537
- MJOutputDeliveryTypeEntity = __decorate([
59538
- RegisterClass(BaseEntity, 'MJ: Output Delivery Types')
59539
- ], MJOutputDeliveryTypeEntity);
59540
- export { MJOutputDeliveryTypeEntity };
59541
- /**
59542
- * MJ: Output Format Types - strongly typed entity sub-class
59543
- * * Schema: __mj
59544
- * * Base Table: OutputFormatType
59545
- * * Base View: vwOutputFormatTypes
59546
- * * @description Specifies available output formats for generated content including PDF, Excel, CSV, JSON, and custom formats.
59547
- * * Primary Key: ID
59548
- * @extends {BaseEntity}
59549
- * @class
59550
- * @public
59551
- * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
59552
- */
59553
- let MJOutputFormatTypeEntity = class MJOutputFormatTypeEntity extends BaseEntity {
59554
- /**
59555
- * Loads the MJ: Output Format Types record from the database
59556
- * @param ID: string - primary key value to load the MJ: Output Format Types record.
59557
- * @param EntityRelationshipsToLoad - (optional) the relationships to load
59558
- * @returns {Promise<boolean>} - true if successful, false otherwise
59559
- * @public
59560
- * @async
59561
- * @memberof MJOutputFormatTypeEntity
59562
- * @method
59563
- * @override
59564
- */
59565
- async Load(ID, EntityRelationshipsToLoad) {
59566
- const compositeKey = new CompositeKey();
59567
- compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
59568
- return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
59550
+ set DependsOnAppName(value) {
59551
+ this.Set('DependsOnAppName', value);
59569
59552
  }
59570
59553
  /**
59571
- * * Field Name: ID
59572
- * * Display Name: ID
59554
+ * * Field Name: DependsOnAppID
59555
+ * * Display Name: Depends On App ID
59573
59556
  * * SQL Data Type: uniqueidentifier
59574
- * * Default Value: newsequentialid()
59557
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
59575
59558
  */
59576
- get ID() {
59577
- return this.Get('ID');
59559
+ get DependsOnAppID() {
59560
+ return this.Get('DependsOnAppID');
59578
59561
  }
59579
- set ID(value) {
59580
- this.Set('ID', value);
59562
+ set DependsOnAppID(value) {
59563
+ this.Set('DependsOnAppID', value);
59581
59564
  }
59582
59565
  /**
59583
- * * Field Name: Name
59584
- * * Display Name: Name
59585
- * * SQL Data Type: nvarchar(255)
59566
+ * * Field Name: VersionRange
59567
+ * * Display Name: Version Range
59568
+ * * SQL Data Type: nvarchar(100)
59569
+ * * Description: Semver range specifying which versions of the dependency are acceptable (e.g. ^1.0.0)
59586
59570
  */
59587
- get Name() {
59588
- return this.Get('Name');
59571
+ get VersionRange() {
59572
+ return this.Get('VersionRange');
59589
59573
  }
59590
- set Name(value) {
59591
- this.Set('Name', value);
59574
+ set VersionRange(value) {
59575
+ this.Set('VersionRange', value);
59592
59576
  }
59593
59577
  /**
59594
- * * Field Name: Description
59595
- * * Display Name: Description
59596
- * * SQL Data Type: nvarchar(MAX)
59578
+ * * Field Name: InstalledVersion
59579
+ * * Display Name: Installed Version
59580
+ * * SQL Data Type: nvarchar(50)
59581
+ * * Description: Actual installed version of the dependency (NULL if not yet installed)
59597
59582
  */
59598
- get Description() {
59599
- return this.Get('Description');
59583
+ get InstalledVersion() {
59584
+ return this.Get('InstalledVersion');
59600
59585
  }
59601
- set Description(value) {
59602
- this.Set('Description', value);
59586
+ set InstalledVersion(value) {
59587
+ this.Set('InstalledVersion', value);
59603
59588
  }
59604
59589
  /**
59605
- * * Field Name: DisplayFormat
59606
- * * Display Name: Display Format
59607
- * * SQL Data Type: nvarchar(MAX)
59608
- * * Description: Configuration or template for how data should be formatted in this output type.
59590
+ * * Field Name: Status
59591
+ * * Display Name: Status
59592
+ * * SQL Data Type: nvarchar(20)
59593
+ * * Default Value: Satisfied
59594
+ * * Value List Type: List
59595
+ * * Possible Values
59596
+ * * Incompatible
59597
+ * * Missing
59598
+ * * Satisfied
59599
+ * * Description: Whether the dependency is satisfied: Satisfied, Missing, or Incompatible
59609
59600
  */
59610
- get DisplayFormat() {
59611
- return this.Get('DisplayFormat');
59601
+ get Status() {
59602
+ return this.Get('Status');
59612
59603
  }
59613
- set DisplayFormat(value) {
59614
- this.Set('DisplayFormat', value);
59604
+ set Status(value) {
59605
+ this.Set('Status', value);
59615
59606
  }
59616
59607
  /**
59617
59608
  * * Field Name: __mj_CreatedAt
@@ -59631,117 +59622,851 @@ let MJOutputFormatTypeEntity = class MJOutputFormatTypeEntity extends BaseEntity
59631
59622
  get __mj_UpdatedAt() {
59632
59623
  return this.Get('__mj_UpdatedAt');
59633
59624
  }
59634
- };
59635
- MJOutputFormatTypeEntity = __decorate([
59636
- RegisterClass(BaseEntity, 'MJ: Output Format Types')
59637
- ], MJOutputFormatTypeEntity);
59638
- export { MJOutputFormatTypeEntity };
59639
- /**
59640
- * MJ: Output Trigger Types - strongly typed entity sub-class
59641
- * * Schema: __mj
59642
- * * Base Table: OutputTriggerType
59643
- * * Base View: vwOutputTriggerTypes
59644
- * * @description Defines events that can trigger output generation such as schedules, data changes, or manual requests.
59645
- * * Primary Key: ID
59646
- * @extends {BaseEntity}
59647
- * @class
59648
- * @public
59649
- * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
59650
- */
59651
- let MJOutputTriggerTypeEntity = class MJOutputTriggerTypeEntity extends BaseEntity {
59652
59625
  /**
59653
- * Loads the MJ: Output Trigger Types record from the database
59654
- * @param ID: string - primary key value to load the MJ: Output Trigger Types record.
59655
- * @param EntityRelationshipsToLoad - (optional) the relationships to load
59656
- * @returns {Promise<boolean>} - true if successful, false otherwise
59657
- * @public
59658
- * @async
59659
- * @memberof MJOutputTriggerTypeEntity
59660
- * @method
59661
- * @override
59662
- */
59663
- async Load(ID, EntityRelationshipsToLoad) {
59664
- const compositeKey = new CompositeKey();
59665
- compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
59666
- return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
59667
- }
59668
- /**
59669
- * * Field Name: ID
59670
- * * Display Name: ID
59671
- * * SQL Data Type: uniqueidentifier
59672
- * * Default Value: newsequentialid()
59673
- */
59674
- get ID() {
59675
- return this.Get('ID');
59676
- }
59677
- set ID(value) {
59678
- this.Set('ID', value);
59679
- }
59680
- /**
59681
- * * Field Name: Name
59682
- * * Display Name: Name
59683
- * * SQL Data Type: nvarchar(255)
59684
- */
59685
- get Name() {
59686
- return this.Get('Name');
59687
- }
59688
- set Name(value) {
59689
- this.Set('Name', value);
59690
- }
59691
- /**
59692
- * * Field Name: Description
59693
- * * Display Name: Description
59694
- * * SQL Data Type: nvarchar(MAX)
59695
- */
59696
- get Description() {
59697
- return this.Get('Description');
59698
- }
59699
- set Description(value) {
59700
- this.Set('Description', value);
59701
- }
59702
- /**
59703
- * * Field Name: __mj_CreatedAt
59704
- * * Display Name: Created At
59705
- * * SQL Data Type: datetimeoffset
59706
- * * Default Value: getutcdate()
59626
+ * * Field Name: OpenApp
59627
+ * * Display Name: Open App
59628
+ * * SQL Data Type: nvarchar(64)
59707
59629
  */
59708
- get __mj_CreatedAt() {
59709
- return this.Get('__mj_CreatedAt');
59630
+ get OpenApp() {
59631
+ return this.Get('OpenApp');
59710
59632
  }
59711
59633
  /**
59712
- * * Field Name: __mj_UpdatedAt
59713
- * * Display Name: Updated At
59714
- * * SQL Data Type: datetimeoffset
59715
- * * Default Value: getutcdate()
59634
+ * * Field Name: DependsOnApp
59635
+ * * Display Name: Depends On App
59636
+ * * SQL Data Type: nvarchar(64)
59716
59637
  */
59717
- get __mj_UpdatedAt() {
59718
- return this.Get('__mj_UpdatedAt');
59638
+ get DependsOnApp() {
59639
+ return this.Get('DependsOnApp');
59719
59640
  }
59720
59641
  };
59721
- MJOutputTriggerTypeEntity = __decorate([
59722
- RegisterClass(BaseEntity, 'MJ: Output Trigger Types')
59723
- ], MJOutputTriggerTypeEntity);
59724
- export { MJOutputTriggerTypeEntity };
59642
+ MJOpenAppDependencyEntity = __decorate([
59643
+ RegisterClass(BaseEntity, 'MJ: Open App Dependencies')
59644
+ ], MJOpenAppDependencyEntity);
59645
+ export { MJOpenAppDependencyEntity };
59725
59646
  /**
59726
- * MJ: Projects - strongly typed entity sub-class
59647
+ * MJ: Open App Install Histories - strongly typed entity sub-class
59727
59648
  * * Schema: __mj
59728
- * * Base Table: Project
59729
- * * Base View: vwProjects
59730
- * * @description Container for grouping related conversations around a common topic, client, or initiative. Supports nesting for sub-projects.
59649
+ * * Base Table: OpenAppInstallHistory
59650
+ * * Base View: vwOpenAppInstallHistories
59651
+ * * @description Audit trail of every install, upgrade, and removal for Open Apps
59731
59652
  * * Primary Key: ID
59732
59653
  * @extends {BaseEntity}
59733
59654
  * @class
59734
59655
  * @public
59735
59656
  */
59736
- let MJProjectEntity = class MJProjectEntity extends BaseEntity {
59657
+ let MJOpenAppInstallHistoryEntity = class MJOpenAppInstallHistoryEntity extends BaseEntity {
59737
59658
  /**
59738
- * Loads the MJ: Projects record from the database
59739
- * @param ID: string - primary key value to load the MJ: Projects record.
59659
+ * Loads the MJ: Open App Install Histories record from the database
59660
+ * @param ID: string - primary key value to load the MJ: Open App Install Histories record.
59740
59661
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
59741
59662
  * @returns {Promise<boolean>} - true if successful, false otherwise
59742
59663
  * @public
59743
59664
  * @async
59744
- * @memberof MJProjectEntity
59665
+ * @memberof MJOpenAppInstallHistoryEntity
59666
+ * @method
59667
+ * @override
59668
+ */
59669
+ async Load(ID, EntityRelationshipsToLoad) {
59670
+ const compositeKey = new CompositeKey();
59671
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
59672
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
59673
+ }
59674
+ /**
59675
+ * * Field Name: ID
59676
+ * * Display Name: ID
59677
+ * * SQL Data Type: uniqueidentifier
59678
+ * * Default Value: newsequentialid()
59679
+ */
59680
+ get ID() {
59681
+ return this.Get('ID');
59682
+ }
59683
+ set ID(value) {
59684
+ this.Set('ID', value);
59685
+ }
59686
+ /**
59687
+ * * Field Name: OpenAppID
59688
+ * * Display Name: Open App ID
59689
+ * * SQL Data Type: uniqueidentifier
59690
+ * * Related Entity/Foreign Key: MJ: Open Apps (vwOpenApps.ID)
59691
+ */
59692
+ get OpenAppID() {
59693
+ return this.Get('OpenAppID');
59694
+ }
59695
+ set OpenAppID(value) {
59696
+ this.Set('OpenAppID', value);
59697
+ }
59698
+ /**
59699
+ * * Field Name: Version
59700
+ * * Display Name: Version
59701
+ * * SQL Data Type: nvarchar(50)
59702
+ * * Description: Semver version that was installed or upgraded to in this operation
59703
+ */
59704
+ get Version() {
59705
+ return this.Get('Version');
59706
+ }
59707
+ set Version(value) {
59708
+ this.Set('Version', value);
59709
+ }
59710
+ /**
59711
+ * * Field Name: PreviousVersion
59712
+ * * Display Name: Previous Version
59713
+ * * SQL Data Type: nvarchar(50)
59714
+ * * Description: Version that was installed before this operation (NULL for initial installs)
59715
+ */
59716
+ get PreviousVersion() {
59717
+ return this.Get('PreviousVersion');
59718
+ }
59719
+ set PreviousVersion(value) {
59720
+ this.Set('PreviousVersion', value);
59721
+ }
59722
+ /**
59723
+ * * Field Name: Action
59724
+ * * Display Name: Action
59725
+ * * SQL Data Type: nvarchar(20)
59726
+ * * Value List Type: List
59727
+ * * Possible Values
59728
+ * * Install
59729
+ * * Remove
59730
+ * * Upgrade
59731
+ * * Description: Type of operation performed: Install, Upgrade, or Remove
59732
+ */
59733
+ get Action() {
59734
+ return this.Get('Action');
59735
+ }
59736
+ set Action(value) {
59737
+ this.Set('Action', value);
59738
+ }
59739
+ /**
59740
+ * * Field Name: ManifestJSON
59741
+ * * Display Name: Manifest JSON
59742
+ * * SQL Data Type: nvarchar(MAX)
59743
+ * * Description: Snapshot of the mj-app.json manifest at the time of this operation
59744
+ */
59745
+ get ManifestJSON() {
59746
+ return this.Get('ManifestJSON');
59747
+ }
59748
+ set ManifestJSON(value) {
59749
+ this.Set('ManifestJSON', value);
59750
+ }
59751
+ /**
59752
+ * * Field Name: Summary
59753
+ * * Display Name: Summary
59754
+ * * SQL Data Type: nvarchar(MAX)
59755
+ * * Description: Human-readable summary of what happened during this operation
59756
+ */
59757
+ get Summary() {
59758
+ return this.Get('Summary');
59759
+ }
59760
+ set Summary(value) {
59761
+ this.Set('Summary', value);
59762
+ }
59763
+ /**
59764
+ * * Field Name: ExecutedByUserID
59765
+ * * Display Name: Executed By User ID
59766
+ * * SQL Data Type: uniqueidentifier
59767
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
59768
+ */
59769
+ get ExecutedByUserID() {
59770
+ return this.Get('ExecutedByUserID');
59771
+ }
59772
+ set ExecutedByUserID(value) {
59773
+ this.Set('ExecutedByUserID', value);
59774
+ }
59775
+ /**
59776
+ * * Field Name: DurationSeconds
59777
+ * * Display Name: Duration Seconds
59778
+ * * SQL Data Type: int
59779
+ * * Description: Total wall-clock seconds the operation took to complete
59780
+ */
59781
+ get DurationSeconds() {
59782
+ return this.Get('DurationSeconds');
59783
+ }
59784
+ set DurationSeconds(value) {
59785
+ this.Set('DurationSeconds', value);
59786
+ }
59787
+ /**
59788
+ * * Field Name: StartedAt
59789
+ * * Display Name: Started At
59790
+ * * SQL Data Type: datetimeoffset
59791
+ * * Description: Timestamp when the operation began
59792
+ */
59793
+ get StartedAt() {
59794
+ return this.Get('StartedAt');
59795
+ }
59796
+ set StartedAt(value) {
59797
+ this.Set('StartedAt', value);
59798
+ }
59799
+ /**
59800
+ * * Field Name: EndedAt
59801
+ * * Display Name: Ended At
59802
+ * * SQL Data Type: datetimeoffset
59803
+ * * Description: Timestamp when the operation completed (success or failure)
59804
+ */
59805
+ get EndedAt() {
59806
+ return this.Get('EndedAt');
59807
+ }
59808
+ set EndedAt(value) {
59809
+ this.Set('EndedAt', value);
59810
+ }
59811
+ /**
59812
+ * * Field Name: Success
59813
+ * * Display Name: Success
59814
+ * * SQL Data Type: bit
59815
+ * * Default Value: 1
59816
+ * * Description: Whether the operation completed successfully (1) or failed (0)
59817
+ */
59818
+ get Success() {
59819
+ return this.Get('Success');
59820
+ }
59821
+ set Success(value) {
59822
+ this.Set('Success', value);
59823
+ }
59824
+ /**
59825
+ * * Field Name: ErrorMessage
59826
+ * * Display Name: Error Message
59827
+ * * SQL Data Type: nvarchar(MAX)
59828
+ * * Description: Detailed error message if the operation failed
59829
+ */
59830
+ get ErrorMessage() {
59831
+ return this.Get('ErrorMessage');
59832
+ }
59833
+ set ErrorMessage(value) {
59834
+ this.Set('ErrorMessage', value);
59835
+ }
59836
+ /**
59837
+ * * Field Name: ErrorPhase
59838
+ * * Display Name: Error Phase
59839
+ * * SQL Data Type: nvarchar(50)
59840
+ * * Value List Type: List
59841
+ * * Possible Values
59842
+ * * Config
59843
+ * * Hooks
59844
+ * * Migration
59845
+ * * Packages
59846
+ * * Record
59847
+ * * Schema
59848
+ * * Description: Which phase of the operation failed: Schema, Migration, Packages, Config, Hooks, or Record
59849
+ */
59850
+ get ErrorPhase() {
59851
+ return this.Get('ErrorPhase');
59852
+ }
59853
+ set ErrorPhase(value) {
59854
+ this.Set('ErrorPhase', value);
59855
+ }
59856
+ /**
59857
+ * * Field Name: __mj_CreatedAt
59858
+ * * Display Name: Created At
59859
+ * * SQL Data Type: datetimeoffset
59860
+ * * Default Value: getutcdate()
59861
+ */
59862
+ get __mj_CreatedAt() {
59863
+ return this.Get('__mj_CreatedAt');
59864
+ }
59865
+ /**
59866
+ * * Field Name: __mj_UpdatedAt
59867
+ * * Display Name: Updated At
59868
+ * * SQL Data Type: datetimeoffset
59869
+ * * Default Value: getutcdate()
59870
+ */
59871
+ get __mj_UpdatedAt() {
59872
+ return this.Get('__mj_UpdatedAt');
59873
+ }
59874
+ /**
59875
+ * * Field Name: OpenApp
59876
+ * * Display Name: Open App
59877
+ * * SQL Data Type: nvarchar(64)
59878
+ */
59879
+ get OpenApp() {
59880
+ return this.Get('OpenApp');
59881
+ }
59882
+ /**
59883
+ * * Field Name: ExecutedByUser
59884
+ * * Display Name: Executed By User
59885
+ * * SQL Data Type: nvarchar(100)
59886
+ */
59887
+ get ExecutedByUser() {
59888
+ return this.Get('ExecutedByUser');
59889
+ }
59890
+ };
59891
+ MJOpenAppInstallHistoryEntity = __decorate([
59892
+ RegisterClass(BaseEntity, 'MJ: Open App Install Histories')
59893
+ ], MJOpenAppInstallHistoryEntity);
59894
+ export { MJOpenAppInstallHistoryEntity };
59895
+ /**
59896
+ * MJ: Open Apps - strongly typed entity sub-class
59897
+ * * Schema: __mj
59898
+ * * Base Table: OpenApp
59899
+ * * Base View: vwOpenApps
59900
+ * * @description Tracks all MJ Open Apps installed in this instance
59901
+ * * Primary Key: ID
59902
+ * @extends {BaseEntity}
59903
+ * @class
59904
+ * @public
59905
+ */
59906
+ let MJOpenAppEntity = class MJOpenAppEntity extends BaseEntity {
59907
+ /**
59908
+ * Loads the MJ: Open Apps record from the database
59909
+ * @param ID: string - primary key value to load the MJ: Open Apps record.
59910
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
59911
+ * @returns {Promise<boolean>} - true if successful, false otherwise
59912
+ * @public
59913
+ * @async
59914
+ * @memberof MJOpenAppEntity
59915
+ * @method
59916
+ * @override
59917
+ */
59918
+ async Load(ID, EntityRelationshipsToLoad) {
59919
+ const compositeKey = new CompositeKey();
59920
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
59921
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
59922
+ }
59923
+ /**
59924
+ * * Field Name: ID
59925
+ * * Display Name: ID
59926
+ * * SQL Data Type: uniqueidentifier
59927
+ * * Default Value: newsequentialid()
59928
+ */
59929
+ get ID() {
59930
+ return this.Get('ID');
59931
+ }
59932
+ set ID(value) {
59933
+ this.Set('ID', value);
59934
+ }
59935
+ /**
59936
+ * * Field Name: Name
59937
+ * * Display Name: Name
59938
+ * * SQL Data Type: nvarchar(64)
59939
+ * * Description: Unique lowercase identifier for the app (e.g. acme-crm). Must contain only lowercase letters, digits, and hyphens.
59940
+ */
59941
+ get Name() {
59942
+ return this.Get('Name');
59943
+ }
59944
+ set Name(value) {
59945
+ this.Set('Name', value);
59946
+ }
59947
+ /**
59948
+ * * Field Name: DisplayName
59949
+ * * Display Name: Display Name
59950
+ * * SQL Data Type: nvarchar(200)
59951
+ * * Description: Human-readable display name shown in the UI (e.g. Acme CRM)
59952
+ */
59953
+ get DisplayName() {
59954
+ return this.Get('DisplayName');
59955
+ }
59956
+ set DisplayName(value) {
59957
+ this.Set('DisplayName', value);
59958
+ }
59959
+ /**
59960
+ * * Field Name: Description
59961
+ * * Display Name: Description
59962
+ * * SQL Data Type: nvarchar(MAX)
59963
+ * * Description: Optional long description of what this app does
59964
+ */
59965
+ get Description() {
59966
+ return this.Get('Description');
59967
+ }
59968
+ set Description(value) {
59969
+ this.Set('Description', value);
59970
+ }
59971
+ /**
59972
+ * * Field Name: Version
59973
+ * * Display Name: Version
59974
+ * * SQL Data Type: nvarchar(50)
59975
+ * * Description: Currently installed semver version string (e.g. 1.2.3)
59976
+ */
59977
+ get Version() {
59978
+ return this.Get('Version');
59979
+ }
59980
+ set Version(value) {
59981
+ this.Set('Version', value);
59982
+ }
59983
+ /**
59984
+ * * Field Name: Publisher
59985
+ * * Display Name: Publisher
59986
+ * * SQL Data Type: nvarchar(200)
59987
+ * * Description: Name of the organization or individual who published the app
59988
+ */
59989
+ get Publisher() {
59990
+ return this.Get('Publisher');
59991
+ }
59992
+ set Publisher(value) {
59993
+ this.Set('Publisher', value);
59994
+ }
59995
+ /**
59996
+ * * Field Name: PublisherEmail
59997
+ * * Display Name: Publisher Email
59998
+ * * SQL Data Type: nvarchar(255)
59999
+ * * Description: Optional contact email for the publisher
60000
+ */
60001
+ get PublisherEmail() {
60002
+ return this.Get('PublisherEmail');
60003
+ }
60004
+ set PublisherEmail(value) {
60005
+ this.Set('PublisherEmail', value);
60006
+ }
60007
+ /**
60008
+ * * Field Name: PublisherURL
60009
+ * * Display Name: Publisher URL
60010
+ * * SQL Data Type: nvarchar(500)
60011
+ * * Description: Optional website URL for the publisher
60012
+ */
60013
+ get PublisherURL() {
60014
+ return this.Get('PublisherURL');
60015
+ }
60016
+ set PublisherURL(value) {
60017
+ this.Set('PublisherURL', value);
60018
+ }
60019
+ /**
60020
+ * * Field Name: RepositoryURL
60021
+ * * Display Name: Repository URL
60022
+ * * SQL Data Type: nvarchar(500)
60023
+ * * Description: GitHub repository URL where this app is hosted
60024
+ */
60025
+ get RepositoryURL() {
60026
+ return this.Get('RepositoryURL');
60027
+ }
60028
+ set RepositoryURL(value) {
60029
+ this.Set('RepositoryURL', value);
60030
+ }
60031
+ /**
60032
+ * * Field Name: SchemaName
60033
+ * * Display Name: Schema Name
60034
+ * * SQL Data Type: nvarchar(128)
60035
+ * * Description: Database schema name used by this app for its tables and objects. Unique per instance.
60036
+ */
60037
+ get SchemaName() {
60038
+ return this.Get('SchemaName');
60039
+ }
60040
+ set SchemaName(value) {
60041
+ this.Set('SchemaName', value);
60042
+ }
60043
+ /**
60044
+ * * Field Name: MJVersionRange
60045
+ * * Display Name: MJ Version Range
60046
+ * * SQL Data Type: nvarchar(100)
60047
+ * * Description: Semver range specifying which MJ versions this app is compatible with (e.g. >=4.0.0 <5.0.0)
60048
+ */
60049
+ get MJVersionRange() {
60050
+ return this.Get('MJVersionRange');
60051
+ }
60052
+ set MJVersionRange(value) {
60053
+ this.Set('MJVersionRange', value);
60054
+ }
60055
+ /**
60056
+ * * Field Name: License
60057
+ * * Display Name: License
60058
+ * * SQL Data Type: nvarchar(50)
60059
+ * * Description: SPDX license identifier for this app (e.g. MIT, Apache-2.0)
60060
+ */
60061
+ get License() {
60062
+ return this.Get('License');
60063
+ }
60064
+ set License(value) {
60065
+ this.Set('License', value);
60066
+ }
60067
+ /**
60068
+ * * Field Name: Icon
60069
+ * * Display Name: Icon
60070
+ * * SQL Data Type: nvarchar(100)
60071
+ * * Description: Optional icon identifier (e.g. Font Awesome class) for UI display
60072
+ */
60073
+ get Icon() {
60074
+ return this.Get('Icon');
60075
+ }
60076
+ set Icon(value) {
60077
+ this.Set('Icon', value);
60078
+ }
60079
+ /**
60080
+ * * Field Name: Color
60081
+ * * Display Name: Color
60082
+ * * SQL Data Type: nvarchar(20)
60083
+ * * Description: Optional hex color code for branding in the UI (e.g. #FF5733)
60084
+ */
60085
+ get Color() {
60086
+ return this.Get('Color');
60087
+ }
60088
+ set Color(value) {
60089
+ this.Set('Color', value);
60090
+ }
60091
+ /**
60092
+ * * Field Name: ManifestJSON
60093
+ * * Display Name: Manifest JSON
60094
+ * * SQL Data Type: nvarchar(MAX)
60095
+ * * Description: Full mj-app.json manifest stored as JSON for the currently installed version
60096
+ */
60097
+ get ManifestJSON() {
60098
+ return this.Get('ManifestJSON');
60099
+ }
60100
+ set ManifestJSON(value) {
60101
+ this.Set('ManifestJSON', value);
60102
+ }
60103
+ /**
60104
+ * * Field Name: ConfigurationSchemaJSON
60105
+ * * Display Name: Configuration Schema JSON
60106
+ * * SQL Data Type: nvarchar(MAX)
60107
+ * * Description: Optional JSON Schema defining the configuration options this app accepts
60108
+ */
60109
+ get ConfigurationSchemaJSON() {
60110
+ return this.Get('ConfigurationSchemaJSON');
60111
+ }
60112
+ set ConfigurationSchemaJSON(value) {
60113
+ this.Set('ConfigurationSchemaJSON', value);
60114
+ }
60115
+ /**
60116
+ * * Field Name: InstalledByUserID
60117
+ * * Display Name: Installed By User ID
60118
+ * * SQL Data Type: uniqueidentifier
60119
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
60120
+ */
60121
+ get InstalledByUserID() {
60122
+ return this.Get('InstalledByUserID');
60123
+ }
60124
+ set InstalledByUserID(value) {
60125
+ this.Set('InstalledByUserID', value);
60126
+ }
60127
+ /**
60128
+ * * Field Name: Status
60129
+ * * Display Name: Status
60130
+ * * SQL Data Type: nvarchar(20)
60131
+ * * Default Value: Active
60132
+ * * Value List Type: List
60133
+ * * Possible Values
60134
+ * * Active
60135
+ * * Disabled
60136
+ * * Error
60137
+ * * Installing
60138
+ * * Removed
60139
+ * * Removing
60140
+ * * Upgrading
60141
+ * * Description: Current lifecycle status of the app: Active, Disabled, Error, Installing, Upgrading, Removing, or Removed
60142
+ */
60143
+ get Status() {
60144
+ return this.Get('Status');
60145
+ }
60146
+ set Status(value) {
60147
+ this.Set('Status', value);
60148
+ }
60149
+ /**
60150
+ * * Field Name: __mj_CreatedAt
60151
+ * * Display Name: Created At
60152
+ * * SQL Data Type: datetimeoffset
60153
+ * * Default Value: getutcdate()
60154
+ */
60155
+ get __mj_CreatedAt() {
60156
+ return this.Get('__mj_CreatedAt');
60157
+ }
60158
+ /**
60159
+ * * Field Name: __mj_UpdatedAt
60160
+ * * Display Name: Updated At
60161
+ * * SQL Data Type: datetimeoffset
60162
+ * * Default Value: getutcdate()
60163
+ */
60164
+ get __mj_UpdatedAt() {
60165
+ return this.Get('__mj_UpdatedAt');
60166
+ }
60167
+ /**
60168
+ * * Field Name: InstalledByUser
60169
+ * * Display Name: Installed By User
60170
+ * * SQL Data Type: nvarchar(100)
60171
+ */
60172
+ get InstalledByUser() {
60173
+ return this.Get('InstalledByUser');
60174
+ }
60175
+ };
60176
+ MJOpenAppEntity = __decorate([
60177
+ RegisterClass(BaseEntity, 'MJ: Open Apps')
60178
+ ], MJOpenAppEntity);
60179
+ export { MJOpenAppEntity };
60180
+ /**
60181
+ * MJ: Output Delivery Types - strongly typed entity sub-class
60182
+ * * Schema: __mj
60183
+ * * Base Table: OutputDeliveryType
60184
+ * * Base View: vwOutputDeliveryTypes
60185
+ * * @description Defines methods for delivering generated outputs such as email, file storage, API endpoints, or messaging platforms.
60186
+ * * Primary Key: ID
60187
+ * @extends {BaseEntity}
60188
+ * @class
60189
+ * @public
60190
+ * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
60191
+ */
60192
+ let MJOutputDeliveryTypeEntity = class MJOutputDeliveryTypeEntity extends BaseEntity {
60193
+ /**
60194
+ * Loads the MJ: Output Delivery Types record from the database
60195
+ * @param ID: string - primary key value to load the MJ: Output Delivery Types record.
60196
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
60197
+ * @returns {Promise<boolean>} - true if successful, false otherwise
60198
+ * @public
60199
+ * @async
60200
+ * @memberof MJOutputDeliveryTypeEntity
60201
+ * @method
60202
+ * @override
60203
+ */
60204
+ async Load(ID, EntityRelationshipsToLoad) {
60205
+ const compositeKey = new CompositeKey();
60206
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
60207
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
60208
+ }
60209
+ /**
60210
+ * * Field Name: ID
60211
+ * * Display Name: ID
60212
+ * * SQL Data Type: uniqueidentifier
60213
+ * * Default Value: newsequentialid()
60214
+ */
60215
+ get ID() {
60216
+ return this.Get('ID');
60217
+ }
60218
+ set ID(value) {
60219
+ this.Set('ID', value);
60220
+ }
60221
+ /**
60222
+ * * Field Name: Name
60223
+ * * Display Name: Name
60224
+ * * SQL Data Type: nvarchar(255)
60225
+ */
60226
+ get Name() {
60227
+ return this.Get('Name');
60228
+ }
60229
+ set Name(value) {
60230
+ this.Set('Name', value);
60231
+ }
60232
+ /**
60233
+ * * Field Name: Description
60234
+ * * Display Name: Description
60235
+ * * SQL Data Type: nvarchar(MAX)
60236
+ */
60237
+ get Description() {
60238
+ return this.Get('Description');
60239
+ }
60240
+ set Description(value) {
60241
+ this.Set('Description', value);
60242
+ }
60243
+ /**
60244
+ * * Field Name: __mj_CreatedAt
60245
+ * * Display Name: Created At
60246
+ * * SQL Data Type: datetimeoffset
60247
+ * * Default Value: getutcdate()
60248
+ */
60249
+ get __mj_CreatedAt() {
60250
+ return this.Get('__mj_CreatedAt');
60251
+ }
60252
+ /**
60253
+ * * Field Name: __mj_UpdatedAt
60254
+ * * Display Name: Updated At
60255
+ * * SQL Data Type: datetimeoffset
60256
+ * * Default Value: getutcdate()
60257
+ */
60258
+ get __mj_UpdatedAt() {
60259
+ return this.Get('__mj_UpdatedAt');
60260
+ }
60261
+ };
60262
+ MJOutputDeliveryTypeEntity = __decorate([
60263
+ RegisterClass(BaseEntity, 'MJ: Output Delivery Types')
60264
+ ], MJOutputDeliveryTypeEntity);
60265
+ export { MJOutputDeliveryTypeEntity };
60266
+ /**
60267
+ * MJ: Output Format Types - strongly typed entity sub-class
60268
+ * * Schema: __mj
60269
+ * * Base Table: OutputFormatType
60270
+ * * Base View: vwOutputFormatTypes
60271
+ * * @description Specifies available output formats for generated content including PDF, Excel, CSV, JSON, and custom formats.
60272
+ * * Primary Key: ID
60273
+ * @extends {BaseEntity}
60274
+ * @class
60275
+ * @public
60276
+ * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
60277
+ */
60278
+ let MJOutputFormatTypeEntity = class MJOutputFormatTypeEntity extends BaseEntity {
60279
+ /**
60280
+ * Loads the MJ: Output Format Types record from the database
60281
+ * @param ID: string - primary key value to load the MJ: Output Format Types record.
60282
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
60283
+ * @returns {Promise<boolean>} - true if successful, false otherwise
60284
+ * @public
60285
+ * @async
60286
+ * @memberof MJOutputFormatTypeEntity
60287
+ * @method
60288
+ * @override
60289
+ */
60290
+ async Load(ID, EntityRelationshipsToLoad) {
60291
+ const compositeKey = new CompositeKey();
60292
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
60293
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
60294
+ }
60295
+ /**
60296
+ * * Field Name: ID
60297
+ * * Display Name: ID
60298
+ * * SQL Data Type: uniqueidentifier
60299
+ * * Default Value: newsequentialid()
60300
+ */
60301
+ get ID() {
60302
+ return this.Get('ID');
60303
+ }
60304
+ set ID(value) {
60305
+ this.Set('ID', value);
60306
+ }
60307
+ /**
60308
+ * * Field Name: Name
60309
+ * * Display Name: Name
60310
+ * * SQL Data Type: nvarchar(255)
60311
+ */
60312
+ get Name() {
60313
+ return this.Get('Name');
60314
+ }
60315
+ set Name(value) {
60316
+ this.Set('Name', value);
60317
+ }
60318
+ /**
60319
+ * * Field Name: Description
60320
+ * * Display Name: Description
60321
+ * * SQL Data Type: nvarchar(MAX)
60322
+ */
60323
+ get Description() {
60324
+ return this.Get('Description');
60325
+ }
60326
+ set Description(value) {
60327
+ this.Set('Description', value);
60328
+ }
60329
+ /**
60330
+ * * Field Name: DisplayFormat
60331
+ * * Display Name: Display Format
60332
+ * * SQL Data Type: nvarchar(MAX)
60333
+ * * Description: Configuration or template for how data should be formatted in this output type.
60334
+ */
60335
+ get DisplayFormat() {
60336
+ return this.Get('DisplayFormat');
60337
+ }
60338
+ set DisplayFormat(value) {
60339
+ this.Set('DisplayFormat', value);
60340
+ }
60341
+ /**
60342
+ * * Field Name: __mj_CreatedAt
60343
+ * * Display Name: Created At
60344
+ * * SQL Data Type: datetimeoffset
60345
+ * * Default Value: getutcdate()
60346
+ */
60347
+ get __mj_CreatedAt() {
60348
+ return this.Get('__mj_CreatedAt');
60349
+ }
60350
+ /**
60351
+ * * Field Name: __mj_UpdatedAt
60352
+ * * Display Name: Updated At
60353
+ * * SQL Data Type: datetimeoffset
60354
+ * * Default Value: getutcdate()
60355
+ */
60356
+ get __mj_UpdatedAt() {
60357
+ return this.Get('__mj_UpdatedAt');
60358
+ }
60359
+ };
60360
+ MJOutputFormatTypeEntity = __decorate([
60361
+ RegisterClass(BaseEntity, 'MJ: Output Format Types')
60362
+ ], MJOutputFormatTypeEntity);
60363
+ export { MJOutputFormatTypeEntity };
60364
+ /**
60365
+ * MJ: Output Trigger Types - strongly typed entity sub-class
60366
+ * * Schema: __mj
60367
+ * * Base Table: OutputTriggerType
60368
+ * * Base View: vwOutputTriggerTypes
60369
+ * * @description Defines events that can trigger output generation such as schedules, data changes, or manual requests.
60370
+ * * Primary Key: ID
60371
+ * @extends {BaseEntity}
60372
+ * @class
60373
+ * @public
60374
+ * @deprecated This entity is deprecated and will be removed in a future version. Using it will result in console warnings.
60375
+ */
60376
+ let MJOutputTriggerTypeEntity = class MJOutputTriggerTypeEntity extends BaseEntity {
60377
+ /**
60378
+ * Loads the MJ: Output Trigger Types record from the database
60379
+ * @param ID: string - primary key value to load the MJ: Output Trigger Types record.
60380
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
60381
+ * @returns {Promise<boolean>} - true if successful, false otherwise
60382
+ * @public
60383
+ * @async
60384
+ * @memberof MJOutputTriggerTypeEntity
60385
+ * @method
60386
+ * @override
60387
+ */
60388
+ async Load(ID, EntityRelationshipsToLoad) {
60389
+ const compositeKey = new CompositeKey();
60390
+ compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
60391
+ return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
60392
+ }
60393
+ /**
60394
+ * * Field Name: ID
60395
+ * * Display Name: ID
60396
+ * * SQL Data Type: uniqueidentifier
60397
+ * * Default Value: newsequentialid()
60398
+ */
60399
+ get ID() {
60400
+ return this.Get('ID');
60401
+ }
60402
+ set ID(value) {
60403
+ this.Set('ID', value);
60404
+ }
60405
+ /**
60406
+ * * Field Name: Name
60407
+ * * Display Name: Name
60408
+ * * SQL Data Type: nvarchar(255)
60409
+ */
60410
+ get Name() {
60411
+ return this.Get('Name');
60412
+ }
60413
+ set Name(value) {
60414
+ this.Set('Name', value);
60415
+ }
60416
+ /**
60417
+ * * Field Name: Description
60418
+ * * Display Name: Description
60419
+ * * SQL Data Type: nvarchar(MAX)
60420
+ */
60421
+ get Description() {
60422
+ return this.Get('Description');
60423
+ }
60424
+ set Description(value) {
60425
+ this.Set('Description', value);
60426
+ }
60427
+ /**
60428
+ * * Field Name: __mj_CreatedAt
60429
+ * * Display Name: Created At
60430
+ * * SQL Data Type: datetimeoffset
60431
+ * * Default Value: getutcdate()
60432
+ */
60433
+ get __mj_CreatedAt() {
60434
+ return this.Get('__mj_CreatedAt');
60435
+ }
60436
+ /**
60437
+ * * Field Name: __mj_UpdatedAt
60438
+ * * Display Name: Updated At
60439
+ * * SQL Data Type: datetimeoffset
60440
+ * * Default Value: getutcdate()
60441
+ */
60442
+ get __mj_UpdatedAt() {
60443
+ return this.Get('__mj_UpdatedAt');
60444
+ }
60445
+ };
60446
+ MJOutputTriggerTypeEntity = __decorate([
60447
+ RegisterClass(BaseEntity, 'MJ: Output Trigger Types')
60448
+ ], MJOutputTriggerTypeEntity);
60449
+ export { MJOutputTriggerTypeEntity };
60450
+ /**
60451
+ * MJ: Projects - strongly typed entity sub-class
60452
+ * * Schema: __mj
60453
+ * * Base Table: Project
60454
+ * * Base View: vwProjects
60455
+ * * @description Container for grouping related conversations around a common topic, client, or initiative. Supports nesting for sub-projects.
60456
+ * * Primary Key: ID
60457
+ * @extends {BaseEntity}
60458
+ * @class
60459
+ * @public
60460
+ */
60461
+ let MJProjectEntity = class MJProjectEntity extends BaseEntity {
60462
+ /**
60463
+ * Loads the MJ: Projects record from the database
60464
+ * @param ID: string - primary key value to load the MJ: Projects record.
60465
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
60466
+ * @returns {Promise<boolean>} - true if successful, false otherwise
60467
+ * @public
60468
+ * @async
60469
+ * @memberof MJProjectEntity
59745
60470
  * @method
59746
60471
  * @override
59747
60472
  */
@@ -62005,14 +62730,6 @@ let MJRecommendationItemEntity = class MJRecommendationItemEntity extends BaseEn
62005
62730
  return this.Get('__mj_UpdatedAt');
62006
62731
  }
62007
62732
  /**
62008
- * * Field Name: Recommendation
62009
- * * Display Name: Recommendation Name
62010
- * * SQL Data Type: nvarchar(MAX)
62011
- */
62012
- get Recommendation() {
62013
- return this.Get('Recommendation');
62014
- }
62015
- /**
62016
62733
  * * Field Name: DestinationEntity
62017
62734
  * * Display Name: Destination Entity Name
62018
62735
  * * SQL Data Type: nvarchar(255)
@@ -62362,14 +63079,6 @@ let MJRecommendationEntity = class MJRecommendationEntity extends BaseEntity {
62362
63079
  return this.Get('__mj_UpdatedAt');
62363
63080
  }
62364
63081
  /**
62365
- * * Field Name: RecommendationRun
62366
- * * Display Name: Recommendation Run
62367
- * * SQL Data Type: nvarchar(255)
62368
- */
62369
- get RecommendationRun() {
62370
- return this.Get('RecommendationRun');
62371
- }
62372
- /**
62373
63082
  * * Field Name: SourceEntity
62374
63083
  * * Display Name: Source Entity
62375
63084
  * * SQL Data Type: nvarchar(255)
@@ -62770,14 +63479,6 @@ let MJRecordChangeEntity = class MJRecordChangeEntity extends BaseEntity {
62770
63479
  return this.Get('User');
62771
63480
  }
62772
63481
  /**
62773
- * * Field Name: ReplayRun
62774
- * * Display Name: Replay Run Name
62775
- * * SQL Data Type: nvarchar(100)
62776
- */
62777
- get ReplayRun() {
62778
- return this.Get('ReplayRun');
62779
- }
62780
- /**
62781
63482
  * * Field Name: Integration
62782
63483
  * * Display Name: Integration Name
62783
63484
  * * SQL Data Type: nvarchar(100)
@@ -63064,14 +63765,6 @@ let MJRecordMergeDeletionLogEntity = class MJRecordMergeDeletionLogEntity extend
63064
63765
  get __mj_UpdatedAt() {
63065
63766
  return this.Get('__mj_UpdatedAt');
63066
63767
  }
63067
- /**
63068
- * * Field Name: RecordMergeLog
63069
- * * Display Name: Merge Log Details
63070
- * * SQL Data Type: nvarchar(450)
63071
- */
63072
- get RecordMergeLog() {
63073
- return this.Get('RecordMergeLog');
63074
- }
63075
63768
  };
63076
63769
  MJRecordMergeDeletionLogEntity = __decorate([
63077
63770
  RegisterClass(BaseEntity, 'MJ: Record Merge Deletion Logs')
@@ -64154,14 +64847,6 @@ let MJReportEntity = class MJReportEntity extends BaseEntity {
64154
64847
  return this.Get('Conversation');
64155
64848
  }
64156
64849
  /**
64157
- * * Field Name: ConversationDetail
64158
- * * Display Name: Conversation Detail
64159
- * * SQL Data Type: nvarchar(MAX)
64160
- */
64161
- get ConversationDetail() {
64162
- return this.Get('ConversationDetail');
64163
- }
64164
- /**
64165
64850
  * * Field Name: DataContext
64166
64851
  * * Display Name: Data Context
64167
64852
  * * SQL Data Type: nvarchar(255)
@@ -67216,14 +67901,6 @@ let MJTaskEntity = class MJTaskEntity extends BaseEntity {
67216
67901
  return this.Get('Project');
67217
67902
  }
67218
67903
  /**
67219
- * * Field Name: ConversationDetail
67220
- * * Display Name: Conversation Detail
67221
- * * SQL Data Type: nvarchar(MAX)
67222
- */
67223
- get ConversationDetail() {
67224
- return this.Get('ConversationDetail');
67225
- }
67226
- /**
67227
67904
  * * Field Name: User
67228
67905
  * * Display Name: User
67229
67906
  * * SQL Data Type: nvarchar(100)
@@ -67877,14 +68554,6 @@ let MJTemplateParamEntity = class MJTemplateParamEntity extends BaseEntity {
67877
68554
  get Entity() {
67878
68555
  return this.Get('Entity');
67879
68556
  }
67880
- /**
67881
- * * Field Name: TemplateContent
67882
- * * Display Name: Template Content Name
67883
- * * SQL Data Type: nvarchar(255)
67884
- */
67885
- get TemplateContent() {
67886
- return this.Get('TemplateContent');
67887
- }
67888
68557
  };
67889
68558
  MJTemplateParamEntity = __decorate([
67890
68559
  RegisterClass(BaseEntity, 'MJ: Template Params')