@memberjunction/core-entities 2.133.0 → 3.0.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.
- package/dist/custom/AIAgentExtended.d.ts +13 -0
- package/dist/custom/AIAgentExtended.d.ts.map +1 -0
- package/dist/custom/AIAgentExtended.js +37 -0
- package/dist/custom/AIAgentExtended.js.map +1 -0
- package/dist/custom/AIAgentRunExtended.d.ts +32 -0
- package/dist/custom/AIAgentRunExtended.d.ts.map +1 -0
- package/dist/custom/AIAgentRunExtended.js +136 -0
- package/dist/custom/AIAgentRunExtended.js.map +1 -0
- package/dist/custom/AIAgentRunStepExtended.d.ts +48 -0
- package/dist/custom/AIAgentRunStepExtended.d.ts.map +1 -0
- package/dist/custom/AIAgentRunStepExtended.js +149 -0
- package/dist/custom/AIAgentRunStepExtended.js.map +1 -0
- package/dist/custom/AIModelExtended.d.ts +14 -0
- package/dist/custom/AIModelExtended.d.ts.map +1 -0
- package/dist/custom/AIModelExtended.js +36 -0
- package/dist/custom/AIModelExtended.js.map +1 -0
- package/dist/custom/AIPromptCategoryExtended.d.ts +7 -0
- package/dist/custom/AIPromptCategoryExtended.d.ts.map +1 -0
- package/dist/custom/AIPromptCategoryExtended.js +26 -0
- package/dist/custom/AIPromptCategoryExtended.js.map +1 -0
- package/dist/custom/AIPromptExtended.d.ts +51 -0
- package/dist/custom/AIPromptExtended.d.ts.map +1 -0
- package/dist/custom/AIPromptExtended.js +169 -0
- package/dist/custom/AIPromptExtended.js.map +1 -0
- package/dist/custom/AIPromptRunEntityExtended.d.ts +47 -0
- package/dist/custom/AIPromptRunEntityExtended.d.ts.map +1 -0
- package/dist/custom/AIPromptRunEntityExtended.js +156 -0
- package/dist/custom/AIPromptRunEntityExtended.js.map +1 -0
- package/dist/custom/TypeTablesCache.d.ts +12 -0
- package/dist/custom/TypeTablesCache.d.ts.map +1 -0
- package/dist/custom/TypeTablesCache.js +31 -0
- package/dist/custom/TypeTablesCache.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +295 -2
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +408 -1
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
|
@@ -1062,6 +1062,14 @@ exports.AIAgentNoteSchema = zod_1.z.object({
|
|
|
1062
1062
|
* * Field Name: SourceConversation
|
|
1063
1063
|
* * Display Name: Source Conversation
|
|
1064
1064
|
* * SQL Data Type: nvarchar(255)`),
|
|
1065
|
+
SourceConversationDetail: zod_1.z.string().nullable().describe(`
|
|
1066
|
+
* * Field Name: SourceConversationDetail
|
|
1067
|
+
* * Display Name: Source Conversation Detail
|
|
1068
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
1069
|
+
SourceAIAgentRun: zod_1.z.string().nullable().describe(`
|
|
1070
|
+
* * Field Name: SourceAIAgentRun
|
|
1071
|
+
* * Display Name: Source AI Agent Run
|
|
1072
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
1065
1073
|
Company: zod_1.z.string().nullable().describe(`
|
|
1066
1074
|
* * Field Name: Company
|
|
1067
1075
|
* * Display Name: Company
|
|
@@ -2333,6 +2341,10 @@ exports.AIResultCacheSchema = zod_1.z.object({
|
|
|
2333
2341
|
* * Field Name: Configuration
|
|
2334
2342
|
* * Display Name: Configuration
|
|
2335
2343
|
* * SQL Data Type: nvarchar(100)`),
|
|
2344
|
+
PromptRun: zod_1.z.string().nullable().describe(`
|
|
2345
|
+
* * Field Name: PromptRun
|
|
2346
|
+
* * Display Name: Prompt Run
|
|
2347
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
2336
2348
|
});
|
|
2337
2349
|
/**
|
|
2338
2350
|
* zod schema definition for the entity Application Entities
|
|
@@ -4309,6 +4321,10 @@ exports.ConversationSchema = zod_1.z.object({
|
|
|
4309
4321
|
* * Field Name: Project
|
|
4310
4322
|
* * Display Name: Project
|
|
4311
4323
|
* * SQL Data Type: nvarchar(255)`),
|
|
4324
|
+
TestRun: zod_1.z.string().nullable().describe(`
|
|
4325
|
+
* * Field Name: TestRun
|
|
4326
|
+
* * Display Name: Test Run
|
|
4327
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
4312
4328
|
});
|
|
4313
4329
|
/**
|
|
4314
4330
|
* zod schema definition for the entity Dashboard Categories
|
|
@@ -4869,6 +4885,10 @@ exports.DuplicateRunDetailSchema = zod_1.z.object({
|
|
|
4869
4885
|
* * Display Name: Updated At
|
|
4870
4886
|
* * SQL Data Type: datetimeoffset
|
|
4871
4887
|
* * Default Value: getutcdate()`),
|
|
4888
|
+
DuplicateRun: zod_1.z.string().describe(`
|
|
4889
|
+
* * Field Name: DuplicateRun
|
|
4890
|
+
* * Display Name: Duplicate Run
|
|
4891
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
4872
4892
|
});
|
|
4873
4893
|
/**
|
|
4874
4894
|
* zod schema definition for the entity Duplicate Runs
|
|
@@ -5007,6 +5027,10 @@ exports.EmployeeCompanyIntegrationSchema = zod_1.z.object({
|
|
|
5007
5027
|
* * Display Name: Updated At
|
|
5008
5028
|
* * SQL Data Type: datetimeoffset
|
|
5009
5029
|
* * Default Value: getutcdate()`),
|
|
5030
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5031
|
+
* * Field Name: Employee
|
|
5032
|
+
* * Display Name: Employee
|
|
5033
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5010
5034
|
CompanyIntegration: zod_1.z.string().describe(`
|
|
5011
5035
|
* * Field Name: CompanyIntegration
|
|
5012
5036
|
* * Display Name: Company Integration
|
|
@@ -5041,6 +5065,10 @@ exports.EmployeeRoleSchema = zod_1.z.object({
|
|
|
5041
5065
|
* * Display Name: __mj _Updated At
|
|
5042
5066
|
* * SQL Data Type: datetimeoffset
|
|
5043
5067
|
* * Default Value: getutcdate()`),
|
|
5068
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5069
|
+
* * Field Name: Employee
|
|
5070
|
+
* * Display Name: Employee
|
|
5071
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5044
5072
|
Role: zod_1.z.string().describe(`
|
|
5045
5073
|
* * Field Name: Role
|
|
5046
5074
|
* * Display Name: Role
|
|
@@ -5075,6 +5103,10 @@ exports.EmployeeSkillSchema = zod_1.z.object({
|
|
|
5075
5103
|
* * Display Name: __mj _Updated At
|
|
5076
5104
|
* * SQL Data Type: datetimeoffset
|
|
5077
5105
|
* * Default Value: getutcdate()`),
|
|
5106
|
+
Employee: zod_1.z.string().nullable().describe(`
|
|
5107
|
+
* * Field Name: Employee
|
|
5108
|
+
* * Display Name: Employee
|
|
5109
|
+
* * SQL Data Type: nvarchar(81)`),
|
|
5078
5110
|
Skill: zod_1.z.string().describe(`
|
|
5079
5111
|
* * Field Name: Skill
|
|
5080
5112
|
* * Display Name: Skill
|
|
@@ -5570,6 +5602,14 @@ exports.EntityActionFilterSchema = zod_1.z.object({
|
|
|
5570
5602
|
* * Display Name: __mj _Updated At
|
|
5571
5603
|
* * SQL Data Type: datetimeoffset
|
|
5572
5604
|
* * Default Value: getutcdate()`),
|
|
5605
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5606
|
+
* * Field Name: EntityAction
|
|
5607
|
+
* * Display Name: Entity Action
|
|
5608
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5609
|
+
ActionFilter: zod_1.z.string().describe(`
|
|
5610
|
+
* * Field Name: ActionFilter
|
|
5611
|
+
* * Display Name: Action Filter
|
|
5612
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
5573
5613
|
});
|
|
5574
5614
|
/**
|
|
5575
5615
|
* zod schema definition for the entity Entity Action Invocation Types
|
|
@@ -5647,6 +5687,10 @@ exports.EntityActionInvocationSchema = zod_1.z.object({
|
|
|
5647
5687
|
* * Display Name: __mj _Updated At
|
|
5648
5688
|
* * SQL Data Type: datetimeoffset
|
|
5649
5689
|
* * Default Value: getutcdate()`),
|
|
5690
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5691
|
+
* * Field Name: EntityAction
|
|
5692
|
+
* * Display Name: Entity Action
|
|
5693
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5650
5694
|
InvocationType: zod_1.z.string().describe(`
|
|
5651
5695
|
* * Field Name: InvocationType
|
|
5652
5696
|
* * Display Name: Invocation Type
|
|
@@ -5702,6 +5746,10 @@ exports.EntityActionParamSchema = zod_1.z.object({
|
|
|
5702
5746
|
* * Display Name: Updated At
|
|
5703
5747
|
* * SQL Data Type: datetimeoffset
|
|
5704
5748
|
* * Default Value: getutcdate()`),
|
|
5749
|
+
EntityAction: zod_1.z.string().describe(`
|
|
5750
|
+
* * Field Name: EntityAction
|
|
5751
|
+
* * Display Name: Entity Action
|
|
5752
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
5705
5753
|
ActionParam: zod_1.z.string().describe(`
|
|
5706
5754
|
* * Field Name: ActionParam
|
|
5707
5755
|
* * Display Name: Action Param
|
|
@@ -5895,6 +5943,10 @@ exports.EntityCommunicationFieldSchema = zod_1.z.object({
|
|
|
5895
5943
|
* * Display Name: __mj _Updated At
|
|
5896
5944
|
* * SQL Data Type: datetimeoffset
|
|
5897
5945
|
* * Default Value: getutcdate()`),
|
|
5946
|
+
EntityCommunicationMessageType: zod_1.z.string().describe(`
|
|
5947
|
+
* * Field Name: EntityCommunicationMessageType
|
|
5948
|
+
* * Display Name: Entity Communication Message Type
|
|
5949
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
5898
5950
|
});
|
|
5899
5951
|
/**
|
|
5900
5952
|
* zod schema definition for the entity Entity Communication Message Types
|
|
@@ -7094,6 +7146,14 @@ exports.ErrorLogSchema = zod_1.z.object({
|
|
|
7094
7146
|
* * Display Name: Updated At
|
|
7095
7147
|
* * SQL Data Type: datetimeoffset
|
|
7096
7148
|
* * Default Value: getutcdate()`),
|
|
7149
|
+
CompanyIntegrationRun: zod_1.z.string().nullable().describe(`
|
|
7150
|
+
* * Field Name: CompanyIntegrationRun
|
|
7151
|
+
* * Display Name: Company Integration Run
|
|
7152
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
7153
|
+
CompanyIntegrationRunDetail: zod_1.z.string().nullable().describe(`
|
|
7154
|
+
* * Field Name: CompanyIntegrationRunDetail
|
|
7155
|
+
* * Display Name: Company Integration Run Detail
|
|
7156
|
+
* * SQL Data Type: nvarchar(450)`),
|
|
7097
7157
|
});
|
|
7098
7158
|
/**
|
|
7099
7159
|
* zod schema definition for the entity Explorer Navigation Items
|
|
@@ -8380,6 +8440,14 @@ exports.AIAgentExampleSchema = zod_1.z.object({
|
|
|
8380
8440
|
* * Field Name: SourceConversation
|
|
8381
8441
|
* * Display Name: Source Conversation
|
|
8382
8442
|
* * SQL Data Type: nvarchar(255)`),
|
|
8443
|
+
SourceConversationDetail: zod_1.z.string().nullable().describe(`
|
|
8444
|
+
* * Field Name: SourceConversationDetail
|
|
8445
|
+
* * Display Name: Source Conversation Detail
|
|
8446
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
8447
|
+
SourceAIAgentRun: zod_1.z.string().nullable().describe(`
|
|
8448
|
+
* * Field Name: SourceAIAgentRun
|
|
8449
|
+
* * Display Name: Source AI Agent Run
|
|
8450
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8383
8451
|
EmbeddingModel: zod_1.z.string().nullable().describe(`
|
|
8384
8452
|
* * Field Name: EmbeddingModel
|
|
8385
8453
|
* * Display Name: Embedding Model
|
|
@@ -8850,6 +8918,14 @@ detailed information about what validation rules failed.`),
|
|
|
8850
8918
|
* * Display Name: Comments
|
|
8851
8919
|
* * SQL Data Type: nvarchar(MAX)
|
|
8852
8920
|
* * Description: Human-readable notes and comments about this agent run step`),
|
|
8921
|
+
AgentRun: zod_1.z.string().nullable().describe(`
|
|
8922
|
+
* * Field Name: AgentRun
|
|
8923
|
+
* * Display Name: Agent Run
|
|
8924
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8925
|
+
Parent: zod_1.z.string().nullable().describe(`
|
|
8926
|
+
* * Field Name: Parent
|
|
8927
|
+
* * Display Name: Parent
|
|
8928
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
8853
8929
|
RootParentID: zod_1.z.string().nullable().describe(`
|
|
8854
8930
|
* * Field Name: RootParentID
|
|
8855
8931
|
* * Display Name: Root Parent ID
|
|
@@ -9145,6 +9221,10 @@ each time the agent processes a prompt step.`),
|
|
|
9145
9221
|
* * Field Name: ScheduledJobRun
|
|
9146
9222
|
* * Display Name: Scheduled Job Run
|
|
9147
9223
|
* * SQL Data Type: nvarchar(200)`),
|
|
9224
|
+
TestRun: zod_1.z.string().nullable().describe(`
|
|
9225
|
+
* * Field Name: TestRun
|
|
9226
|
+
* * Display Name: Test Run
|
|
9227
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
9148
9228
|
RootParentRunID: zod_1.z.string().nullable().describe(`
|
|
9149
9229
|
* * Field Name: RootParentRunID
|
|
9150
9230
|
* * Display Name: Root Parent Run ID
|
|
@@ -12226,6 +12306,10 @@ exports.ConversationDetailArtifactSchema = zod_1.z.object({
|
|
|
12226
12306
|
* * Display Name: Updated At
|
|
12227
12307
|
* * SQL Data Type: datetimeoffset
|
|
12228
12308
|
* * Default Value: getutcdate()`),
|
|
12309
|
+
ConversationDetail: zod_1.z.string().describe(`
|
|
12310
|
+
* * Field Name: ConversationDetail
|
|
12311
|
+
* * Display Name: Conversation Detail
|
|
12312
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
12229
12313
|
ArtifactVersion: zod_1.z.string().nullable().describe(`
|
|
12230
12314
|
* * Field Name: ArtifactVersion
|
|
12231
12315
|
* * Display Name: Artifact Version
|
|
@@ -12367,6 +12451,10 @@ exports.ConversationDetailRatingSchema = zod_1.z.object({
|
|
|
12367
12451
|
* * Display Name: Updated At
|
|
12368
12452
|
* * SQL Data Type: datetimeoffset
|
|
12369
12453
|
* * Default Value: getutcdate()`),
|
|
12454
|
+
ConversationDetail: zod_1.z.string().describe(`
|
|
12455
|
+
* * Field Name: ConversationDetail
|
|
12456
|
+
* * Display Name: Conversation Detail
|
|
12457
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
12370
12458
|
User: zod_1.z.string().describe(`
|
|
12371
12459
|
* * Field Name: User
|
|
12372
12460
|
* * Display Name: User
|
|
@@ -13973,6 +14061,10 @@ exports.TaskSchema = zod_1.z.object({
|
|
|
13973
14061
|
* * Field Name: Project
|
|
13974
14062
|
* * Display Name: Project
|
|
13975
14063
|
* * SQL Data Type: nvarchar(255)`),
|
|
14064
|
+
ConversationDetail: zod_1.z.string().nullable().describe(`
|
|
14065
|
+
* * Field Name: ConversationDetail
|
|
14066
|
+
* * Display Name: Conversation Detail
|
|
14067
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
13976
14068
|
User: zod_1.z.string().nullable().describe(`
|
|
13977
14069
|
* * Field Name: User
|
|
13978
14070
|
* * Display Name: User
|
|
@@ -15534,6 +15626,10 @@ exports.RecommendationItemSchema = zod_1.z.object({
|
|
|
15534
15626
|
* * Display Name: Updated At
|
|
15535
15627
|
* * SQL Data Type: datetimeoffset
|
|
15536
15628
|
* * Default Value: getutcdate()`),
|
|
15629
|
+
Recommendation: zod_1.z.string().describe(`
|
|
15630
|
+
* * Field Name: Recommendation
|
|
15631
|
+
* * Display Name: Recommendation
|
|
15632
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
15537
15633
|
DestinationEntity: zod_1.z.string().describe(`
|
|
15538
15634
|
* * Field Name: DestinationEntity
|
|
15539
15635
|
* * Display Name: Destination Entity
|
|
@@ -15665,6 +15761,10 @@ exports.RecommendationSchema = zod_1.z.object({
|
|
|
15665
15761
|
* * Display Name: Updated At
|
|
15666
15762
|
* * SQL Data Type: datetimeoffset
|
|
15667
15763
|
* * Default Value: getutcdate()`),
|
|
15764
|
+
RecommendationRun: zod_1.z.string().describe(`
|
|
15765
|
+
* * Field Name: RecommendationRun
|
|
15766
|
+
* * Display Name: Recommendation Run
|
|
15767
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
15668
15768
|
SourceEntity: zod_1.z.string().describe(`
|
|
15669
15769
|
* * Field Name: SourceEntity
|
|
15670
15770
|
* * Display Name: Source Entity
|
|
@@ -15833,6 +15933,10 @@ exports.RecordChangeSchema = zod_1.z.object({
|
|
|
15833
15933
|
* * Field Name: User
|
|
15834
15934
|
* * Display Name: User
|
|
15835
15935
|
* * SQL Data Type: nvarchar(100)`),
|
|
15936
|
+
ReplayRun: zod_1.z.string().nullable().describe(`
|
|
15937
|
+
* * Field Name: ReplayRun
|
|
15938
|
+
* * Display Name: Replay Run
|
|
15939
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
15836
15940
|
Integration: zod_1.z.string().nullable().describe(`
|
|
15837
15941
|
* * Field Name: Integration
|
|
15838
15942
|
* * Display Name: Integration
|
|
@@ -15882,6 +15986,10 @@ exports.RecordMergeDeletionLogSchema = zod_1.z.object({
|
|
|
15882
15986
|
* * Display Name: Updated At
|
|
15883
15987
|
* * SQL Data Type: datetimeoffset
|
|
15884
15988
|
* * Default Value: getutcdate()`),
|
|
15989
|
+
RecordMergeLog: zod_1.z.string().describe(`
|
|
15990
|
+
* * Field Name: RecordMergeLog
|
|
15991
|
+
* * Display Name: Record Merge Log
|
|
15992
|
+
* * SQL Data Type: nvarchar(450)`),
|
|
15885
15993
|
});
|
|
15886
15994
|
/**
|
|
15887
15995
|
* zod schema definition for the entity Record Merge Logs
|
|
@@ -16191,6 +16299,10 @@ exports.ReportSchema = zod_1.z.object({
|
|
|
16191
16299
|
* * Field Name: Conversation
|
|
16192
16300
|
* * Display Name: Conversation
|
|
16193
16301
|
* * SQL Data Type: nvarchar(255)`),
|
|
16302
|
+
ConversationDetail: zod_1.z.string().nullable().describe(`
|
|
16303
|
+
* * Field Name: ConversationDetail
|
|
16304
|
+
* * Display Name: Conversation Detail
|
|
16305
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
16194
16306
|
DataContext: zod_1.z.string().nullable().describe(`
|
|
16195
16307
|
* * Field Name: DataContext
|
|
16196
16308
|
* * Display Name: Data Context
|
|
@@ -17074,6 +17186,10 @@ exports.TemplateParamSchema = zod_1.z.object({
|
|
|
17074
17186
|
* * Field Name: Entity
|
|
17075
17187
|
* * Display Name: Entity
|
|
17076
17188
|
* * SQL Data Type: nvarchar(255)`),
|
|
17189
|
+
TemplateContent: zod_1.z.string().nullable().describe(`
|
|
17190
|
+
* * Field Name: TemplateContent
|
|
17191
|
+
* * Display Name: Template Content
|
|
17192
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
17077
17193
|
});
|
|
17078
17194
|
/**
|
|
17079
17195
|
* zod schema definition for the entity Templates
|
|
@@ -19975,6 +20091,7 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
19975
20091
|
/**
|
|
19976
20092
|
* Validate() method override for AI Agent Actions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
19977
20093
|
* * CompactLength: This rule ensures that if a value is provided for CompactLength, it must be greater than zero. If CompactLength is left empty, no rule applies.
|
|
20094
|
+
* * CompactMode: Compact Mode can be left empty, but if a value is provided it must be either "AI Summary" or "First N Chars".
|
|
19978
20095
|
* * MaxExecutionsPerRun: This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
19979
20096
|
* * MinExecutionsPerRun: This rule ensures that if a minimum executions per run value is provided, it must be zero or greater.
|
|
19980
20097
|
* * ResultExpirationTurns: This rule ensures that if the ResultExpirationTurns field has a value, it must be zero or greater (it cannot be negative). If ResultExpirationTurns is left empty, there is no restriction.
|
|
@@ -19989,6 +20106,7 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
19989
20106
|
Validate() {
|
|
19990
20107
|
const result = super.Validate();
|
|
19991
20108
|
this.ValidateCompactLengthGreaterThanZero(result);
|
|
20109
|
+
this.ValidateCompactModeAllowedValues(result);
|
|
19992
20110
|
this.ValidateMaxExecutionsPerRunGreaterThanZero(result);
|
|
19993
20111
|
this.ValidateMinExecutionsPerRunIsNonNegative(result);
|
|
19994
20112
|
this.ValidateResultExpirationTurnsNonNegative(result);
|
|
@@ -20011,6 +20129,17 @@ let AIAgentActionEntity = class AIAgentActionEntity extends core_1.BaseEntity {
|
|
|
20011
20129
|
}
|
|
20012
20130
|
}
|
|
20013
20131
|
/**
|
|
20132
|
+
* Compact Mode can be left empty, but if a value is provided it must be either "AI Summary" or "First N Chars".
|
|
20133
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
20134
|
+
* @public
|
|
20135
|
+
* @method
|
|
20136
|
+
*/
|
|
20137
|
+
ValidateCompactModeAllowedValues(result) {
|
|
20138
|
+
if (this.CompactMode != null && this.CompactMode !== 'AI Summary' && this.CompactMode !== 'First N Chars') {
|
|
20139
|
+
result.Errors.push(new core_1.ValidationErrorInfo('CompactMode', 'Compact Mode must be either "AI Summary" or "First N Chars" when specified.', this.CompactMode, core_1.ValidationErrorType.Failure));
|
|
20140
|
+
}
|
|
20141
|
+
}
|
|
20142
|
+
/**
|
|
20014
20143
|
* This rule ensures that if the maximum executions per run is specified, the number must be greater than zero. If it is not specified, no restriction applies.
|
|
20015
20144
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
20016
20145
|
* @public
|
|
@@ -20953,6 +21082,22 @@ let AIAgentNoteEntity = class AIAgentNoteEntity extends core_1.BaseEntity {
|
|
|
20953
21082
|
return this.Get('SourceConversation');
|
|
20954
21083
|
}
|
|
20955
21084
|
/**
|
|
21085
|
+
* * Field Name: SourceConversationDetail
|
|
21086
|
+
* * Display Name: Source Conversation Detail
|
|
21087
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21088
|
+
*/
|
|
21089
|
+
get SourceConversationDetail() {
|
|
21090
|
+
return this.Get('SourceConversationDetail');
|
|
21091
|
+
}
|
|
21092
|
+
/**
|
|
21093
|
+
* * Field Name: SourceAIAgentRun
|
|
21094
|
+
* * Display Name: Source AI Agent Run
|
|
21095
|
+
* * SQL Data Type: nvarchar(255)
|
|
21096
|
+
*/
|
|
21097
|
+
get SourceAIAgentRun() {
|
|
21098
|
+
return this.Get('SourceAIAgentRun');
|
|
21099
|
+
}
|
|
21100
|
+
/**
|
|
20956
21101
|
* * Field Name: Company
|
|
20957
21102
|
* * Display Name: Company
|
|
20958
21103
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -24044,6 +24189,14 @@ let AIResultCacheEntity = class AIResultCacheEntity extends core_1.BaseEntity {
|
|
|
24044
24189
|
get Configuration() {
|
|
24045
24190
|
return this.Get('Configuration');
|
|
24046
24191
|
}
|
|
24192
|
+
/**
|
|
24193
|
+
* * Field Name: PromptRun
|
|
24194
|
+
* * Display Name: Prompt Run
|
|
24195
|
+
* * SQL Data Type: nvarchar(255)
|
|
24196
|
+
*/
|
|
24197
|
+
get PromptRun() {
|
|
24198
|
+
return this.Get('PromptRun');
|
|
24199
|
+
}
|
|
24047
24200
|
};
|
|
24048
24201
|
exports.AIResultCacheEntity = AIResultCacheEntity;
|
|
24049
24202
|
exports.AIResultCacheEntity = AIResultCacheEntity = __decorate([
|
|
@@ -29155,6 +29308,14 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
29155
29308
|
get Project() {
|
|
29156
29309
|
return this.Get('Project');
|
|
29157
29310
|
}
|
|
29311
|
+
/**
|
|
29312
|
+
* * Field Name: TestRun
|
|
29313
|
+
* * Display Name: Test Run
|
|
29314
|
+
* * SQL Data Type: nvarchar(255)
|
|
29315
|
+
*/
|
|
29316
|
+
get TestRun() {
|
|
29317
|
+
return this.Get('TestRun');
|
|
29318
|
+
}
|
|
29158
29319
|
};
|
|
29159
29320
|
exports.ConversationEntity = ConversationEntity;
|
|
29160
29321
|
exports.ConversationEntity = ConversationEntity = __decorate([
|
|
@@ -30529,6 +30690,14 @@ let DuplicateRunDetailEntity = class DuplicateRunDetailEntity extends core_1.Bas
|
|
|
30529
30690
|
get __mj_UpdatedAt() {
|
|
30530
30691
|
return this.Get('__mj_UpdatedAt');
|
|
30531
30692
|
}
|
|
30693
|
+
/**
|
|
30694
|
+
* * Field Name: DuplicateRun
|
|
30695
|
+
* * Display Name: Duplicate Run
|
|
30696
|
+
* * SQL Data Type: nvarchar(255)
|
|
30697
|
+
*/
|
|
30698
|
+
get DuplicateRun() {
|
|
30699
|
+
return this.Get('DuplicateRun');
|
|
30700
|
+
}
|
|
30532
30701
|
};
|
|
30533
30702
|
exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity;
|
|
30534
30703
|
exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity = __decorate([
|
|
@@ -30868,6 +31037,14 @@ let EmployeeCompanyIntegrationEntity = class EmployeeCompanyIntegrationEntity ex
|
|
|
30868
31037
|
return this.Get('__mj_UpdatedAt');
|
|
30869
31038
|
}
|
|
30870
31039
|
/**
|
|
31040
|
+
* * Field Name: Employee
|
|
31041
|
+
* * Display Name: Employee
|
|
31042
|
+
* * SQL Data Type: nvarchar(81)
|
|
31043
|
+
*/
|
|
31044
|
+
get Employee() {
|
|
31045
|
+
return this.Get('Employee');
|
|
31046
|
+
}
|
|
31047
|
+
/**
|
|
30871
31048
|
* * Field Name: CompanyIntegration
|
|
30872
31049
|
* * Display Name: Company Integration
|
|
30873
31050
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -30963,6 +31140,14 @@ let EmployeeRoleEntity = class EmployeeRoleEntity extends core_1.BaseEntity {
|
|
|
30963
31140
|
return this.Get('__mj_UpdatedAt');
|
|
30964
31141
|
}
|
|
30965
31142
|
/**
|
|
31143
|
+
* * Field Name: Employee
|
|
31144
|
+
* * Display Name: Employee
|
|
31145
|
+
* * SQL Data Type: nvarchar(81)
|
|
31146
|
+
*/
|
|
31147
|
+
get Employee() {
|
|
31148
|
+
return this.Get('Employee');
|
|
31149
|
+
}
|
|
31150
|
+
/**
|
|
30966
31151
|
* * Field Name: Role
|
|
30967
31152
|
* * Display Name: Role
|
|
30968
31153
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -31058,6 +31243,14 @@ let EmployeeSkillEntity = class EmployeeSkillEntity extends core_1.BaseEntity {
|
|
|
31058
31243
|
return this.Get('__mj_UpdatedAt');
|
|
31059
31244
|
}
|
|
31060
31245
|
/**
|
|
31246
|
+
* * Field Name: Employee
|
|
31247
|
+
* * Display Name: Employee
|
|
31248
|
+
* * SQL Data Type: nvarchar(81)
|
|
31249
|
+
*/
|
|
31250
|
+
get Employee() {
|
|
31251
|
+
return this.Get('Employee');
|
|
31252
|
+
}
|
|
31253
|
+
/**
|
|
31061
31254
|
* * Field Name: Skill
|
|
31062
31255
|
* * Display Name: Skill
|
|
31063
31256
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -32213,6 +32406,22 @@ let EntityActionFilterEntity = class EntityActionFilterEntity extends core_1.Bas
|
|
|
32213
32406
|
get __mj_UpdatedAt() {
|
|
32214
32407
|
return this.Get('__mj_UpdatedAt');
|
|
32215
32408
|
}
|
|
32409
|
+
/**
|
|
32410
|
+
* * Field Name: EntityAction
|
|
32411
|
+
* * Display Name: Entity Action
|
|
32412
|
+
* * SQL Data Type: nvarchar(425)
|
|
32413
|
+
*/
|
|
32414
|
+
get EntityAction() {
|
|
32415
|
+
return this.Get('EntityAction');
|
|
32416
|
+
}
|
|
32417
|
+
/**
|
|
32418
|
+
* * Field Name: ActionFilter
|
|
32419
|
+
* * Display Name: Action Filter
|
|
32420
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
32421
|
+
*/
|
|
32422
|
+
get ActionFilter() {
|
|
32423
|
+
return this.Get('ActionFilter');
|
|
32424
|
+
}
|
|
32216
32425
|
};
|
|
32217
32426
|
exports.EntityActionFilterEntity = EntityActionFilterEntity;
|
|
32218
32427
|
exports.EntityActionFilterEntity = EntityActionFilterEntity = __decorate([
|
|
@@ -32419,6 +32628,14 @@ let EntityActionInvocationEntity = class EntityActionInvocationEntity extends co
|
|
|
32419
32628
|
return this.Get('__mj_UpdatedAt');
|
|
32420
32629
|
}
|
|
32421
32630
|
/**
|
|
32631
|
+
* * Field Name: EntityAction
|
|
32632
|
+
* * Display Name: Entity Action
|
|
32633
|
+
* * SQL Data Type: nvarchar(425)
|
|
32634
|
+
*/
|
|
32635
|
+
get EntityAction() {
|
|
32636
|
+
return this.Get('EntityAction');
|
|
32637
|
+
}
|
|
32638
|
+
/**
|
|
32422
32639
|
* * Field Name: InvocationType
|
|
32423
32640
|
* * Display Name: Invocation Type
|
|
32424
32641
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -32556,6 +32773,14 @@ let EntityActionParamEntity = class EntityActionParamEntity extends core_1.BaseE
|
|
|
32556
32773
|
return this.Get('__mj_UpdatedAt');
|
|
32557
32774
|
}
|
|
32558
32775
|
/**
|
|
32776
|
+
* * Field Name: EntityAction
|
|
32777
|
+
* * Display Name: Entity Action
|
|
32778
|
+
* * SQL Data Type: nvarchar(425)
|
|
32779
|
+
*/
|
|
32780
|
+
get EntityAction() {
|
|
32781
|
+
return this.Get('EntityAction');
|
|
32782
|
+
}
|
|
32783
|
+
/**
|
|
32559
32784
|
* * Field Name: ActionParam
|
|
32560
32785
|
* * Display Name: Action Param
|
|
32561
32786
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -33032,6 +33257,14 @@ let EntityCommunicationFieldEntity = class EntityCommunicationFieldEntity extend
|
|
|
33032
33257
|
get __mj_UpdatedAt() {
|
|
33033
33258
|
return this.Get('__mj_UpdatedAt');
|
|
33034
33259
|
}
|
|
33260
|
+
/**
|
|
33261
|
+
* * Field Name: EntityCommunicationMessageType
|
|
33262
|
+
* * Display Name: Entity Communication Message Type
|
|
33263
|
+
* * SQL Data Type: nvarchar(100)
|
|
33264
|
+
*/
|
|
33265
|
+
get EntityCommunicationMessageType() {
|
|
33266
|
+
return this.Get('EntityCommunicationMessageType');
|
|
33267
|
+
}
|
|
33035
33268
|
};
|
|
33036
33269
|
exports.EntityCommunicationFieldEntity = EntityCommunicationFieldEntity;
|
|
33037
33270
|
exports.EntityCommunicationFieldEntity = EntityCommunicationFieldEntity = __decorate([
|
|
@@ -35892,6 +36125,22 @@ let ErrorLogEntity = class ErrorLogEntity extends core_1.BaseEntity {
|
|
|
35892
36125
|
get __mj_UpdatedAt() {
|
|
35893
36126
|
return this.Get('__mj_UpdatedAt');
|
|
35894
36127
|
}
|
|
36128
|
+
/**
|
|
36129
|
+
* * Field Name: CompanyIntegrationRun
|
|
36130
|
+
* * Display Name: Company Integration Run
|
|
36131
|
+
* * SQL Data Type: nvarchar(100)
|
|
36132
|
+
*/
|
|
36133
|
+
get CompanyIntegrationRun() {
|
|
36134
|
+
return this.Get('CompanyIntegrationRun');
|
|
36135
|
+
}
|
|
36136
|
+
/**
|
|
36137
|
+
* * Field Name: CompanyIntegrationRunDetail
|
|
36138
|
+
* * Display Name: Company Integration Run Detail
|
|
36139
|
+
* * SQL Data Type: nvarchar(450)
|
|
36140
|
+
*/
|
|
36141
|
+
get CompanyIntegrationRunDetail() {
|
|
36142
|
+
return this.Get('CompanyIntegrationRunDetail');
|
|
36143
|
+
}
|
|
35895
36144
|
};
|
|
35896
36145
|
exports.ErrorLogEntity = ErrorLogEntity;
|
|
35897
36146
|
exports.ErrorLogEntity = ErrorLogEntity = __decorate([
|
|
@@ -38505,6 +38754,7 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38505
38754
|
}
|
|
38506
38755
|
/**
|
|
38507
38756
|
* Validate() method override for MJ: AI Agent Data Sources entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
38757
|
+
* * ResultType: Result Type can be left blank, but if a value is provided it must be either 'entity_object' or 'simple'. This ensures only supported result types are stored.
|
|
38508
38758
|
* * Table-Level: This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
38509
38759
|
* * Table-Level: This rule makes sure that if the source type is 'RunView', the entity name must be provided. If the source type is anything else, the entity name can be left blank.
|
|
38510
38760
|
* * Table-Level: This rule ensures that when the Source Type is set to 'RunQuery', a Query Name must be provided. If Source Type is anything other than 'RunQuery', Query Name is optional.
|
|
@@ -38514,6 +38764,7 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38514
38764
|
*/
|
|
38515
38765
|
Validate() {
|
|
38516
38766
|
const result = super.Validate();
|
|
38767
|
+
this.ValidateResultTypeAllowedValues(result);
|
|
38517
38768
|
this.ValidateCacheTimeoutSecondsRequiredForPerAgentPolicy(result);
|
|
38518
38769
|
this.ValidateEntityNameRequiredWhenSourceTypeRunView(result);
|
|
38519
38770
|
this.ValidateQueryNameRequiredWhenSourceTypeIsRunQuery(result);
|
|
@@ -38521,6 +38772,18 @@ let AIAgentDataSourceEntity = class AIAgentDataSourceEntity extends core_1.BaseE
|
|
|
38521
38772
|
return result;
|
|
38522
38773
|
}
|
|
38523
38774
|
/**
|
|
38775
|
+
* Result Type can be left blank, but if a value is provided it must be either 'entity_object' or 'simple'. This ensures only supported result types are stored.
|
|
38776
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
38777
|
+
* @public
|
|
38778
|
+
* @method
|
|
38779
|
+
*/
|
|
38780
|
+
ValidateResultTypeAllowedValues(result) {
|
|
38781
|
+
// If ResultType is set, it must be one of the allowed values
|
|
38782
|
+
if (this.ResultType != null && this.ResultType !== 'entity_object' && this.ResultType !== 'simple') {
|
|
38783
|
+
result.Errors.push(new core_1.ValidationErrorInfo("ResultType", "Result Type must be either 'entity_object' or 'simple' when provided.", this.ResultType, core_1.ValidationErrorType.Failure));
|
|
38784
|
+
}
|
|
38785
|
+
}
|
|
38786
|
+
/**
|
|
38524
38787
|
* This rule ensures that if the cache policy is set to 'PerAgent', a cache timeout value must be provided. For other cache policies, providing a cache timeout is optional.
|
|
38525
38788
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
38526
38789
|
* @public
|
|
@@ -39145,6 +39408,22 @@ let AIAgentExampleEntity = class AIAgentExampleEntity extends core_1.BaseEntity
|
|
|
39145
39408
|
return this.Get('SourceConversation');
|
|
39146
39409
|
}
|
|
39147
39410
|
/**
|
|
39411
|
+
* * Field Name: SourceConversationDetail
|
|
39412
|
+
* * Display Name: Source Conversation Detail
|
|
39413
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
39414
|
+
*/
|
|
39415
|
+
get SourceConversationDetail() {
|
|
39416
|
+
return this.Get('SourceConversationDetail');
|
|
39417
|
+
}
|
|
39418
|
+
/**
|
|
39419
|
+
* * Field Name: SourceAIAgentRun
|
|
39420
|
+
* * Display Name: Source AI Agent Run
|
|
39421
|
+
* * SQL Data Type: nvarchar(255)
|
|
39422
|
+
*/
|
|
39423
|
+
get SourceAIAgentRun() {
|
|
39424
|
+
return this.Get('SourceAIAgentRun');
|
|
39425
|
+
}
|
|
39426
|
+
/**
|
|
39148
39427
|
* * Field Name: EmbeddingModel
|
|
39149
39428
|
* * Display Name: Embedding Model
|
|
39150
39429
|
* * SQL Data Type: nvarchar(50)
|
|
@@ -39364,7 +39643,7 @@ let AIAgentPermissionEntity = class AIAgentPermissionEntity extends core_1.BaseE
|
|
|
39364
39643
|
const hasRole = this.RoleID !== null;
|
|
39365
39644
|
const hasUser = this.UserID !== null;
|
|
39366
39645
|
if ((hasRole && hasUser) || (!hasRole && !hasUser)) {
|
|
39367
|
-
result.Errors.push(new core_1.ValidationErrorInfo("RoleID/UserID", "You must specify either a Role or a User, but not both and not neither.", `RoleID:
|
|
39646
|
+
result.Errors.push(new core_1.ValidationErrorInfo("RoleID/UserID", "You must specify either a Role or a User, but not both and not neither.", `RoleID: $$$$$${this.RoleID}, UserID: $$$$$${this.UserID}`, core_1.ValidationErrorType.Failure));
|
|
39368
39647
|
}
|
|
39369
39648
|
}
|
|
39370
39649
|
/**
|
|
@@ -39999,6 +40278,7 @@ let AIAgentRunStepEntity = class AIAgentRunStepEntity extends core_1.BaseEntity
|
|
|
39999
40278
|
}
|
|
40000
40279
|
/**
|
|
40001
40280
|
* Validate() method override for MJ: AI Agent Run Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
40281
|
+
* * FinalPayloadValidationResult: The FinalPayloadValidationResult field must either be empty or contain one of the approved status values – Warn, Fail, Retry, or Pass – ensuring only recognized validation outcomes are stored.
|
|
40002
40282
|
* * StepNumber: This rule ensures that the step number must be greater than zero.
|
|
40003
40283
|
* @public
|
|
40004
40284
|
* @method
|
|
@@ -40006,11 +40286,26 @@ let AIAgentRunStepEntity = class AIAgentRunStepEntity extends core_1.BaseEntity
|
|
|
40006
40286
|
*/
|
|
40007
40287
|
Validate() {
|
|
40008
40288
|
const result = super.Validate();
|
|
40289
|
+
this.ValidateFinalPayloadValidationResultAllowedValues(result);
|
|
40009
40290
|
this.ValidateStepNumberGreaterThanZero(result);
|
|
40010
40291
|
result.Success = result.Success && (result.Errors.length === 0);
|
|
40011
40292
|
return result;
|
|
40012
40293
|
}
|
|
40013
40294
|
/**
|
|
40295
|
+
* The FinalPayloadValidationResult field must either be empty or contain one of the approved status values – Warn, Fail, Retry, or Pass – ensuring only recognized validation outcomes are stored.
|
|
40296
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
40297
|
+
* @public
|
|
40298
|
+
* @method
|
|
40299
|
+
*/
|
|
40300
|
+
ValidateFinalPayloadValidationResultAllowedValues(result) {
|
|
40301
|
+
if (this.FinalPayloadValidationResult != null) {
|
|
40302
|
+
const allowed = ['Warn', 'Fail', 'Retry', 'Pass'];
|
|
40303
|
+
if (!allowed.includes(this.FinalPayloadValidationResult)) {
|
|
40304
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FinalPayloadValidationResult", "Final payload validation result must be one of: Warn, Fail, Retry, Pass, or left empty.", this.FinalPayloadValidationResult, core_1.ValidationErrorType.Failure));
|
|
40305
|
+
}
|
|
40306
|
+
}
|
|
40307
|
+
}
|
|
40308
|
+
/**
|
|
40014
40309
|
* This rule ensures that the step number must be greater than zero.
|
|
40015
40310
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
40016
40311
|
* @public
|
|
@@ -40315,6 +40610,22 @@ detailed information about what validation rules failed.
|
|
|
40315
40610
|
this.Set('Comments', value);
|
|
40316
40611
|
}
|
|
40317
40612
|
/**
|
|
40613
|
+
* * Field Name: AgentRun
|
|
40614
|
+
* * Display Name: Agent Run
|
|
40615
|
+
* * SQL Data Type: nvarchar(255)
|
|
40616
|
+
*/
|
|
40617
|
+
get AgentRun() {
|
|
40618
|
+
return this.Get('AgentRun');
|
|
40619
|
+
}
|
|
40620
|
+
/**
|
|
40621
|
+
* * Field Name: Parent
|
|
40622
|
+
* * Display Name: Parent
|
|
40623
|
+
* * SQL Data Type: nvarchar(255)
|
|
40624
|
+
*/
|
|
40625
|
+
get Parent() {
|
|
40626
|
+
return this.Get('Parent');
|
|
40627
|
+
}
|
|
40628
|
+
/**
|
|
40318
40629
|
* * Field Name: RootParentID
|
|
40319
40630
|
* * Display Name: Root Parent ID
|
|
40320
40631
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -40358,6 +40669,7 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40358
40669
|
/**
|
|
40359
40670
|
* Validate() method override for MJ: AI Agent Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
40360
40671
|
* * EffortLevel: This rule ensures that the effort level, if specified, must be a number between 1 and 100, inclusive.
|
|
40672
|
+
* * FinalStep: Final Step must be either empty or one of the predefined values: While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, or Success. This ensures the step recorded for a run is valid and recognizable.
|
|
40361
40673
|
* @public
|
|
40362
40674
|
* @method
|
|
40363
40675
|
* @override
|
|
@@ -40365,6 +40677,7 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40365
40677
|
Validate() {
|
|
40366
40678
|
const result = super.Validate();
|
|
40367
40679
|
this.ValidateEffortLevelBetween1And100(result);
|
|
40680
|
+
this.ValidateFinalStepAllowedValues(result);
|
|
40368
40681
|
result.Success = result.Success && (result.Errors.length === 0);
|
|
40369
40682
|
return result;
|
|
40370
40683
|
}
|
|
@@ -40380,6 +40693,20 @@ let AIAgentRunEntity = class AIAgentRunEntity extends core_1.BaseEntity {
|
|
|
40380
40693
|
}
|
|
40381
40694
|
}
|
|
40382
40695
|
/**
|
|
40696
|
+
* Final Step must be either empty or one of the predefined values: While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, or Success. This ensures the step recorded for a run is valid and recognizable.
|
|
40697
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
40698
|
+
* @public
|
|
40699
|
+
* @method
|
|
40700
|
+
*/
|
|
40701
|
+
ValidateFinalStepAllowedValues(result) {
|
|
40702
|
+
if (this.FinalStep != null) {
|
|
40703
|
+
const allowed = ["While", "ForEach", "Chat", "Sub-Agent", "Actions", "Retry", "Failed", "Success"];
|
|
40704
|
+
if (!allowed.includes(this.FinalStep)) {
|
|
40705
|
+
result.Errors.push(new core_1.ValidationErrorInfo("FinalStep", "Final Step must be one of: While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, Success, or left blank.", this.FinalStep, core_1.ValidationErrorType.Failure));
|
|
40706
|
+
}
|
|
40707
|
+
}
|
|
40708
|
+
}
|
|
40709
|
+
/**
|
|
40383
40710
|
* * Field Name: ID
|
|
40384
40711
|
* * Display Name: ID
|
|
40385
40712
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -40988,6 +41315,14 @@ each time the agent processes a prompt step.
|
|
|
40988
41315
|
return this.Get('ScheduledJobRun');
|
|
40989
41316
|
}
|
|
40990
41317
|
/**
|
|
41318
|
+
* * Field Name: TestRun
|
|
41319
|
+
* * Display Name: Test Run
|
|
41320
|
+
* * SQL Data Type: nvarchar(255)
|
|
41321
|
+
*/
|
|
41322
|
+
get TestRun() {
|
|
41323
|
+
return this.Get('TestRun');
|
|
41324
|
+
}
|
|
41325
|
+
/**
|
|
40991
41326
|
* * Field Name: RootParentRunID
|
|
40992
41327
|
* * Display Name: Root Parent Run ID
|
|
40993
41328
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -48997,6 +49332,14 @@ let ConversationDetailArtifactEntity = class ConversationDetailArtifactEntity ex
|
|
|
48997
49332
|
return this.Get('__mj_UpdatedAt');
|
|
48998
49333
|
}
|
|
48999
49334
|
/**
|
|
49335
|
+
* * Field Name: ConversationDetail
|
|
49336
|
+
* * Display Name: Conversation Detail
|
|
49337
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
49338
|
+
*/
|
|
49339
|
+
get ConversationDetail() {
|
|
49340
|
+
return this.Get('ConversationDetail');
|
|
49341
|
+
}
|
|
49342
|
+
/**
|
|
49000
49343
|
* * Field Name: ArtifactVersion
|
|
49001
49344
|
* * Display Name: Artifact Version
|
|
49002
49345
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -49401,6 +49744,14 @@ let ConversationDetailRatingEntity = class ConversationDetailRatingEntity extend
|
|
|
49401
49744
|
return this.Get('__mj_UpdatedAt');
|
|
49402
49745
|
}
|
|
49403
49746
|
/**
|
|
49747
|
+
* * Field Name: ConversationDetail
|
|
49748
|
+
* * Display Name: Conversation Detail
|
|
49749
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
49750
|
+
*/
|
|
49751
|
+
get ConversationDetail() {
|
|
49752
|
+
return this.Get('ConversationDetail');
|
|
49753
|
+
}
|
|
49754
|
+
/**
|
|
49404
49755
|
* * Field Name: User
|
|
49405
49756
|
* * Display Name: User
|
|
49406
49757
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -53501,6 +53852,14 @@ let TaskEntity = class TaskEntity extends core_1.BaseEntity {
|
|
|
53501
53852
|
return this.Get('Project');
|
|
53502
53853
|
}
|
|
53503
53854
|
/**
|
|
53855
|
+
* * Field Name: ConversationDetail
|
|
53856
|
+
* * Display Name: Conversation Detail
|
|
53857
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
53858
|
+
*/
|
|
53859
|
+
get ConversationDetail() {
|
|
53860
|
+
return this.Get('ConversationDetail');
|
|
53861
|
+
}
|
|
53862
|
+
/**
|
|
53504
53863
|
* * Field Name: User
|
|
53505
53864
|
* * Display Name: User
|
|
53506
53865
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -57509,6 +57868,14 @@ let RecommendationItemEntity = class RecommendationItemEntity extends core_1.Bas
|
|
|
57509
57868
|
return this.Get('__mj_UpdatedAt');
|
|
57510
57869
|
}
|
|
57511
57870
|
/**
|
|
57871
|
+
* * Field Name: Recommendation
|
|
57872
|
+
* * Display Name: Recommendation
|
|
57873
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
57874
|
+
*/
|
|
57875
|
+
get Recommendation() {
|
|
57876
|
+
return this.Get('Recommendation');
|
|
57877
|
+
}
|
|
57878
|
+
/**
|
|
57512
57879
|
* * Field Name: DestinationEntity
|
|
57513
57880
|
* * Display Name: Destination Entity
|
|
57514
57881
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -57858,6 +58225,14 @@ let RecommendationEntity = class RecommendationEntity extends core_1.BaseEntity
|
|
|
57858
58225
|
return this.Get('__mj_UpdatedAt');
|
|
57859
58226
|
}
|
|
57860
58227
|
/**
|
|
58228
|
+
* * Field Name: RecommendationRun
|
|
58229
|
+
* * Display Name: Recommendation Run
|
|
58230
|
+
* * SQL Data Type: nvarchar(255)
|
|
58231
|
+
*/
|
|
58232
|
+
get RecommendationRun() {
|
|
58233
|
+
return this.Get('RecommendationRun');
|
|
58234
|
+
}
|
|
58235
|
+
/**
|
|
57861
58236
|
* * Field Name: SourceEntity
|
|
57862
58237
|
* * Display Name: Source Entity
|
|
57863
58238
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -58254,6 +58629,14 @@ let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
|
|
|
58254
58629
|
return this.Get('User');
|
|
58255
58630
|
}
|
|
58256
58631
|
/**
|
|
58632
|
+
* * Field Name: ReplayRun
|
|
58633
|
+
* * Display Name: Replay Run
|
|
58634
|
+
* * SQL Data Type: nvarchar(100)
|
|
58635
|
+
*/
|
|
58636
|
+
get ReplayRun() {
|
|
58637
|
+
return this.Get('ReplayRun');
|
|
58638
|
+
}
|
|
58639
|
+
/**
|
|
58257
58640
|
* * Field Name: Integration
|
|
58258
58641
|
* * Display Name: Integration
|
|
58259
58642
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -58377,6 +58760,14 @@ let RecordMergeDeletionLogEntity = class RecordMergeDeletionLogEntity extends co
|
|
|
58377
58760
|
get __mj_UpdatedAt() {
|
|
58378
58761
|
return this.Get('__mj_UpdatedAt');
|
|
58379
58762
|
}
|
|
58763
|
+
/**
|
|
58764
|
+
* * Field Name: RecordMergeLog
|
|
58765
|
+
* * Display Name: Record Merge Log
|
|
58766
|
+
* * SQL Data Type: nvarchar(450)
|
|
58767
|
+
*/
|
|
58768
|
+
get RecordMergeLog() {
|
|
58769
|
+
return this.Get('RecordMergeLog');
|
|
58770
|
+
}
|
|
58380
58771
|
};
|
|
58381
58772
|
exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity;
|
|
58382
58773
|
exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity = __decorate([
|
|
@@ -59176,6 +59567,14 @@ let ReportEntity = class ReportEntity extends core_1.BaseEntity {
|
|
|
59176
59567
|
return this.Get('Conversation');
|
|
59177
59568
|
}
|
|
59178
59569
|
/**
|
|
59570
|
+
* * Field Name: ConversationDetail
|
|
59571
|
+
* * Display Name: Conversation Detail
|
|
59572
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
59573
|
+
*/
|
|
59574
|
+
get ConversationDetail() {
|
|
59575
|
+
return this.Get('ConversationDetail');
|
|
59576
|
+
}
|
|
59577
|
+
/**
|
|
59179
59578
|
* * Field Name: DataContext
|
|
59180
59579
|
* * Display Name: Data Context
|
|
59181
59580
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -61488,6 +61887,14 @@ let TemplateParamEntity = class TemplateParamEntity extends core_1.BaseEntity {
|
|
|
61488
61887
|
get Entity() {
|
|
61489
61888
|
return this.Get('Entity');
|
|
61490
61889
|
}
|
|
61890
|
+
/**
|
|
61891
|
+
* * Field Name: TemplateContent
|
|
61892
|
+
* * Display Name: Template Content
|
|
61893
|
+
* * SQL Data Type: nvarchar(255)
|
|
61894
|
+
*/
|
|
61895
|
+
get TemplateContent() {
|
|
61896
|
+
return this.Get('TemplateContent');
|
|
61897
|
+
}
|
|
61491
61898
|
};
|
|
61492
61899
|
exports.TemplateParamEntity = TemplateParamEntity;
|
|
61493
61900
|
exports.TemplateParamEntity = TemplateParamEntity = __decorate([
|