@memberjunction/server 2.118.0 → 2.119.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/agents/skip-sdk.d.ts.map +1 -1
- package/dist/agents/skip-sdk.js +10 -0
- package/dist/agents/skip-sdk.js.map +1 -1
- package/dist/generated/generated.d.ts +33 -2
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +195 -17
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts +3 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.js +14 -2
- package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
- package/package.json +41 -41
- package/src/agents/skip-sdk.ts +10 -0
- package/src/generated/generated.ts +129 -13
- package/src/resolvers/RunAIAgentResolver.ts +11 -3
|
@@ -9475,6 +9475,8 @@ let MJAIAgentNote_ = class MJAIAgentNote_ {
|
|
|
9475
9475
|
AgentNoteType;
|
|
9476
9476
|
User;
|
|
9477
9477
|
SourceConversation;
|
|
9478
|
+
SourceConversationDetail;
|
|
9479
|
+
SourceAIAgentRun;
|
|
9478
9480
|
Company;
|
|
9479
9481
|
EmbeddingModel;
|
|
9480
9482
|
};
|
|
@@ -9579,6 +9581,15 @@ __decorate([
|
|
|
9579
9581
|
MaxLength(510),
|
|
9580
9582
|
__metadata("design:type", String)
|
|
9581
9583
|
], MJAIAgentNote_.prototype, "SourceConversation", void 0);
|
|
9584
|
+
__decorate([
|
|
9585
|
+
Field({ nullable: true }),
|
|
9586
|
+
__metadata("design:type", String)
|
|
9587
|
+
], MJAIAgentNote_.prototype, "SourceConversationDetail", void 0);
|
|
9588
|
+
__decorate([
|
|
9589
|
+
Field({ nullable: true }),
|
|
9590
|
+
MaxLength(510),
|
|
9591
|
+
__metadata("design:type", String)
|
|
9592
|
+
], MJAIAgentNote_.prototype, "SourceAIAgentRun", void 0);
|
|
9582
9593
|
__decorate([
|
|
9583
9594
|
Field({ nullable: true }),
|
|
9584
9595
|
MaxLength(100),
|
|
@@ -14102,6 +14113,7 @@ let MJAIResultCache_ = class MJAIResultCache_ {
|
|
|
14102
14113
|
Vendor;
|
|
14103
14114
|
Agent;
|
|
14104
14115
|
Configuration;
|
|
14116
|
+
PromptRun;
|
|
14105
14117
|
};
|
|
14106
14118
|
__decorate([
|
|
14107
14119
|
Field(),
|
|
@@ -14200,6 +14212,11 @@ __decorate([
|
|
|
14200
14212
|
MaxLength(200),
|
|
14201
14213
|
__metadata("design:type", String)
|
|
14202
14214
|
], MJAIResultCache_.prototype, "Configuration", void 0);
|
|
14215
|
+
__decorate([
|
|
14216
|
+
Field({ nullable: true }),
|
|
14217
|
+
MaxLength(510),
|
|
14218
|
+
__metadata("design:type", String)
|
|
14219
|
+
], MJAIResultCache_.prototype, "PromptRun", void 0);
|
|
14203
14220
|
MJAIResultCache_ = __decorate([
|
|
14204
14221
|
ObjectType({ description: `Stores cached results of AI prompts, including multiple runs for history and tracking purposes.` })
|
|
14205
14222
|
], MJAIResultCache_);
|
|
@@ -16222,6 +16239,7 @@ let MJEmployeeCompanyIntegration_ = class MJEmployeeCompanyIntegration_ {
|
|
|
16222
16239
|
IsActive;
|
|
16223
16240
|
_mj__CreatedAt;
|
|
16224
16241
|
_mj__UpdatedAt;
|
|
16242
|
+
Employee;
|
|
16225
16243
|
CompanyIntegration;
|
|
16226
16244
|
};
|
|
16227
16245
|
__decorate([
|
|
@@ -16258,6 +16276,11 @@ __decorate([
|
|
|
16258
16276
|
MaxLength(10),
|
|
16259
16277
|
__metadata("design:type", Date)
|
|
16260
16278
|
], MJEmployeeCompanyIntegration_.prototype, "_mj__UpdatedAt", void 0);
|
|
16279
|
+
__decorate([
|
|
16280
|
+
Field({ nullable: true }),
|
|
16281
|
+
MaxLength(162),
|
|
16282
|
+
__metadata("design:type", String)
|
|
16283
|
+
], MJEmployeeCompanyIntegration_.prototype, "Employee", void 0);
|
|
16261
16284
|
__decorate([
|
|
16262
16285
|
Field(),
|
|
16263
16286
|
MaxLength(510),
|
|
@@ -16486,6 +16509,7 @@ let MJEmployeeRole_ = class MJEmployeeRole_ {
|
|
|
16486
16509
|
RoleID;
|
|
16487
16510
|
_mj__CreatedAt;
|
|
16488
16511
|
_mj__UpdatedAt;
|
|
16512
|
+
Employee;
|
|
16489
16513
|
Role;
|
|
16490
16514
|
};
|
|
16491
16515
|
__decorate([
|
|
@@ -16513,6 +16537,11 @@ __decorate([
|
|
|
16513
16537
|
MaxLength(10),
|
|
16514
16538
|
__metadata("design:type", Date)
|
|
16515
16539
|
], MJEmployeeRole_.prototype, "_mj__UpdatedAt", void 0);
|
|
16540
|
+
__decorate([
|
|
16541
|
+
Field({ nullable: true }),
|
|
16542
|
+
MaxLength(162),
|
|
16543
|
+
__metadata("design:type", String)
|
|
16544
|
+
], MJEmployeeRole_.prototype, "Employee", void 0);
|
|
16516
16545
|
__decorate([
|
|
16517
16546
|
Field(),
|
|
16518
16547
|
MaxLength(100),
|
|
@@ -16721,6 +16750,7 @@ let MJEmployeeSkill_ = class MJEmployeeSkill_ {
|
|
|
16721
16750
|
SkillID;
|
|
16722
16751
|
_mj__CreatedAt;
|
|
16723
16752
|
_mj__UpdatedAt;
|
|
16753
|
+
Employee;
|
|
16724
16754
|
Skill;
|
|
16725
16755
|
};
|
|
16726
16756
|
__decorate([
|
|
@@ -16748,6 +16778,11 @@ __decorate([
|
|
|
16748
16778
|
MaxLength(10),
|
|
16749
16779
|
__metadata("design:type", Date)
|
|
16750
16780
|
], MJEmployeeSkill_.prototype, "_mj__UpdatedAt", void 0);
|
|
16781
|
+
__decorate([
|
|
16782
|
+
Field({ nullable: true }),
|
|
16783
|
+
MaxLength(162),
|
|
16784
|
+
__metadata("design:type", String)
|
|
16785
|
+
], MJEmployeeSkill_.prototype, "Employee", void 0);
|
|
16751
16786
|
__decorate([
|
|
16752
16787
|
Field(),
|
|
16753
16788
|
MaxLength(100),
|
|
@@ -25978,6 +26013,8 @@ let MJErrorLog_ = class MJErrorLog_ {
|
|
|
25978
26013
|
Details;
|
|
25979
26014
|
_mj__CreatedAt;
|
|
25980
26015
|
_mj__UpdatedAt;
|
|
26016
|
+
CompanyIntegrationRun;
|
|
26017
|
+
CompanyIntegrationRunDetail;
|
|
25981
26018
|
};
|
|
25982
26019
|
__decorate([
|
|
25983
26020
|
Field(),
|
|
@@ -26032,6 +26069,16 @@ __decorate([
|
|
|
26032
26069
|
MaxLength(10),
|
|
26033
26070
|
__metadata("design:type", Date)
|
|
26034
26071
|
], MJErrorLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
26072
|
+
__decorate([
|
|
26073
|
+
Field({ nullable: true }),
|
|
26074
|
+
MaxLength(200),
|
|
26075
|
+
__metadata("design:type", String)
|
|
26076
|
+
], MJErrorLog_.prototype, "CompanyIntegrationRun", void 0);
|
|
26077
|
+
__decorate([
|
|
26078
|
+
Field({ nullable: true }),
|
|
26079
|
+
MaxLength(900),
|
|
26080
|
+
__metadata("design:type", String)
|
|
26081
|
+
], MJErrorLog_.prototype, "CompanyIntegrationRunDetail", void 0);
|
|
26035
26082
|
MJErrorLog_ = __decorate([
|
|
26036
26083
|
ObjectType({ description: `Captures system errors, exceptions, and failures with stack traces, context, and debugging info.` })
|
|
26037
26084
|
], MJErrorLog_);
|
|
@@ -27965,6 +28012,7 @@ let MJCompanyIntegrationRunAPILog_ = class MJCompanyIntegrationRunAPILog_ {
|
|
|
27965
28012
|
Parameters;
|
|
27966
28013
|
_mj__CreatedAt;
|
|
27967
28014
|
_mj__UpdatedAt;
|
|
28015
|
+
CompanyIntegrationRun;
|
|
27968
28016
|
};
|
|
27969
28017
|
__decorate([
|
|
27970
28018
|
Field(),
|
|
@@ -28008,6 +28056,11 @@ __decorate([
|
|
|
28008
28056
|
MaxLength(10),
|
|
28009
28057
|
__metadata("design:type", Date)
|
|
28010
28058
|
], MJCompanyIntegrationRunAPILog_.prototype, "_mj__UpdatedAt", void 0);
|
|
28059
|
+
__decorate([
|
|
28060
|
+
Field(),
|
|
28061
|
+
MaxLength(200),
|
|
28062
|
+
__metadata("design:type", String)
|
|
28063
|
+
], MJCompanyIntegrationRunAPILog_.prototype, "CompanyIntegrationRun", void 0);
|
|
28011
28064
|
MJCompanyIntegrationRunAPILog_ = __decorate([
|
|
28012
28065
|
ObjectType({ description: `Logs detailed API calls and responses during integration runs, including request/response payloads, status codes, and timing information.` })
|
|
28013
28066
|
], MJCompanyIntegrationRunAPILog_);
|
|
@@ -30405,6 +30458,7 @@ let MJRecordChange_ = class MJRecordChange_ {
|
|
|
30405
30458
|
UpdatedAt;
|
|
30406
30459
|
Entity;
|
|
30407
30460
|
User;
|
|
30461
|
+
ReplayRun;
|
|
30408
30462
|
Integration;
|
|
30409
30463
|
};
|
|
30410
30464
|
__decorate([
|
|
@@ -30497,6 +30551,11 @@ __decorate([
|
|
|
30497
30551
|
MaxLength(200),
|
|
30498
30552
|
__metadata("design:type", String)
|
|
30499
30553
|
], MJRecordChange_.prototype, "User", void 0);
|
|
30554
|
+
__decorate([
|
|
30555
|
+
Field({ nullable: true }),
|
|
30556
|
+
MaxLength(200),
|
|
30557
|
+
__metadata("design:type", String)
|
|
30558
|
+
], MJRecordChange_.prototype, "ReplayRun", void 0);
|
|
30500
30559
|
__decorate([
|
|
30501
30560
|
Field({ nullable: true }),
|
|
30502
30561
|
MaxLength(200),
|
|
@@ -37523,6 +37582,7 @@ let MJReport_ = class MJReport_ {
|
|
|
37523
37582
|
Category;
|
|
37524
37583
|
User;
|
|
37525
37584
|
Conversation;
|
|
37585
|
+
ConversationDetail;
|
|
37526
37586
|
DataContext;
|
|
37527
37587
|
OutputTriggerType;
|
|
37528
37588
|
OutputFormatType;
|
|
@@ -37645,6 +37705,10 @@ __decorate([
|
|
|
37645
37705
|
MaxLength(510),
|
|
37646
37706
|
__metadata("design:type", String)
|
|
37647
37707
|
], MJReport_.prototype, "Conversation", void 0);
|
|
37708
|
+
__decorate([
|
|
37709
|
+
Field({ nullable: true }),
|
|
37710
|
+
__metadata("design:type", String)
|
|
37711
|
+
], MJReport_.prototype, "ConversationDetail", void 0);
|
|
37648
37712
|
__decorate([
|
|
37649
37713
|
Field({ nullable: true }),
|
|
37650
37714
|
MaxLength(510),
|
|
@@ -43160,6 +43224,7 @@ let MJRecordMergeDeletionLog_ = class MJRecordMergeDeletionLog_ {
|
|
|
43160
43224
|
ProcessingLog;
|
|
43161
43225
|
_mj__CreatedAt;
|
|
43162
43226
|
_mj__UpdatedAt;
|
|
43227
|
+
RecordMergeLog;
|
|
43163
43228
|
};
|
|
43164
43229
|
__decorate([
|
|
43165
43230
|
Field(),
|
|
@@ -43195,6 +43260,11 @@ __decorate([
|
|
|
43195
43260
|
MaxLength(10),
|
|
43196
43261
|
__metadata("design:type", Date)
|
|
43197
43262
|
], MJRecordMergeDeletionLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
43263
|
+
__decorate([
|
|
43264
|
+
Field(),
|
|
43265
|
+
MaxLength(900),
|
|
43266
|
+
__metadata("design:type", String)
|
|
43267
|
+
], MJRecordMergeDeletionLog_.prototype, "RecordMergeLog", void 0);
|
|
43198
43268
|
MJRecordMergeDeletionLog_ = __decorate([
|
|
43199
43269
|
ObjectType({ description: `Tracks records deleted during merge operations, maintaining an audit trail of data consolidation activities.` })
|
|
43200
43270
|
], MJRecordMergeDeletionLog_);
|
|
@@ -50252,6 +50322,8 @@ let MJDuplicateRunDetailMatch_ = class MJDuplicateRunDetailMatch_ {
|
|
|
50252
50322
|
MergedAt;
|
|
50253
50323
|
_mj__CreatedAt;
|
|
50254
50324
|
_mj__UpdatedAt;
|
|
50325
|
+
DuplicateRunDetail;
|
|
50326
|
+
RecordMergeLog;
|
|
50255
50327
|
};
|
|
50256
50328
|
__decorate([
|
|
50257
50329
|
Field(),
|
|
@@ -50317,6 +50389,16 @@ __decorate([
|
|
|
50317
50389
|
MaxLength(10),
|
|
50318
50390
|
__metadata("design:type", Date)
|
|
50319
50391
|
], MJDuplicateRunDetailMatch_.prototype, "_mj__UpdatedAt", void 0);
|
|
50392
|
+
__decorate([
|
|
50393
|
+
Field(),
|
|
50394
|
+
MaxLength(1000),
|
|
50395
|
+
__metadata("design:type", String)
|
|
50396
|
+
], MJDuplicateRunDetailMatch_.prototype, "DuplicateRunDetail", void 0);
|
|
50397
|
+
__decorate([
|
|
50398
|
+
Field({ nullable: true }),
|
|
50399
|
+
MaxLength(900),
|
|
50400
|
+
__metadata("design:type", String)
|
|
50401
|
+
], MJDuplicateRunDetailMatch_.prototype, "RecordMergeLog", void 0);
|
|
50320
50402
|
MJDuplicateRunDetailMatch_ = __decorate([
|
|
50321
50403
|
ObjectType({ description: `Records individual matching pairs of potentially duplicate records identified during a duplicate detection run with confidence scores.` })
|
|
50322
50404
|
], MJDuplicateRunDetailMatch_);
|
|
@@ -51537,6 +51619,7 @@ let MJDuplicateRunDetail_ = class MJDuplicateRunDetail_ {
|
|
|
51537
51619
|
MergeErrorMessage;
|
|
51538
51620
|
_mj__CreatedAt;
|
|
51539
51621
|
_mj__UpdatedAt;
|
|
51622
|
+
DuplicateRun;
|
|
51540
51623
|
DuplicateRunDetailMatches_DuplicateRunDetailIDArray;
|
|
51541
51624
|
};
|
|
51542
51625
|
__decorate([
|
|
@@ -51586,6 +51669,11 @@ __decorate([
|
|
|
51586
51669
|
MaxLength(10),
|
|
51587
51670
|
__metadata("design:type", Date)
|
|
51588
51671
|
], MJDuplicateRunDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
51672
|
+
__decorate([
|
|
51673
|
+
Field(),
|
|
51674
|
+
MaxLength(510),
|
|
51675
|
+
__metadata("design:type", String)
|
|
51676
|
+
], MJDuplicateRunDetail_.prototype, "DuplicateRun", void 0);
|
|
51589
51677
|
__decorate([
|
|
51590
51678
|
Field(() => [MJDuplicateRunDetailMatch_]),
|
|
51591
51679
|
__metadata("design:type", Array)
|
|
@@ -52771,6 +52859,7 @@ let MJEntityActionInvocation_ = class MJEntityActionInvocation_ {
|
|
|
52771
52859
|
Status;
|
|
52772
52860
|
_mj__CreatedAt;
|
|
52773
52861
|
_mj__UpdatedAt;
|
|
52862
|
+
EntityAction;
|
|
52774
52863
|
InvocationType;
|
|
52775
52864
|
};
|
|
52776
52865
|
__decorate([
|
|
@@ -52803,6 +52892,11 @@ __decorate([
|
|
|
52803
52892
|
MaxLength(10),
|
|
52804
52893
|
__metadata("design:type", Date)
|
|
52805
52894
|
], MJEntityActionInvocation_.prototype, "_mj__UpdatedAt", void 0);
|
|
52895
|
+
__decorate([
|
|
52896
|
+
Field(),
|
|
52897
|
+
MaxLength(850),
|
|
52898
|
+
__metadata("design:type", String)
|
|
52899
|
+
], MJEntityActionInvocation_.prototype, "EntityAction", void 0);
|
|
52806
52900
|
__decorate([
|
|
52807
52901
|
Field(),
|
|
52808
52902
|
MaxLength(510),
|
|
@@ -54336,6 +54430,8 @@ let MJEntityActionFilter_ = class MJEntityActionFilter_ {
|
|
|
54336
54430
|
Status;
|
|
54337
54431
|
_mj__CreatedAt;
|
|
54338
54432
|
_mj__UpdatedAt;
|
|
54433
|
+
EntityAction;
|
|
54434
|
+
ActionFilter;
|
|
54339
54435
|
};
|
|
54340
54436
|
__decorate([
|
|
54341
54437
|
Field(),
|
|
@@ -54371,6 +54467,15 @@ __decorate([
|
|
|
54371
54467
|
MaxLength(10),
|
|
54372
54468
|
__metadata("design:type", Date)
|
|
54373
54469
|
], MJEntityActionFilter_.prototype, "_mj__UpdatedAt", void 0);
|
|
54470
|
+
__decorate([
|
|
54471
|
+
Field(),
|
|
54472
|
+
MaxLength(850),
|
|
54473
|
+
__metadata("design:type", String)
|
|
54474
|
+
], MJEntityActionFilter_.prototype, "EntityAction", void 0);
|
|
54475
|
+
__decorate([
|
|
54476
|
+
Field(),
|
|
54477
|
+
__metadata("design:type", String)
|
|
54478
|
+
], MJEntityActionFilter_.prototype, "ActionFilter", void 0);
|
|
54374
54479
|
MJEntityActionFilter_ = __decorate([
|
|
54375
54480
|
ObjectType({ description: `Optional use. Maps Action Filters to specific EntityAction instances, specifying execution order and status. This allows for “pre-processing” before an Action actually is fired off, to check for various state/dirty/value conditions.` })
|
|
54376
54481
|
], MJEntityActionFilter_);
|
|
@@ -58289,6 +58394,7 @@ let MJCommunicationLog_ = class MJCommunicationLog_ {
|
|
|
58289
58394
|
_mj__UpdatedAt;
|
|
58290
58395
|
CommunicationProvider;
|
|
58291
58396
|
CommunicationProviderMessageType;
|
|
58397
|
+
CommunicationRun;
|
|
58292
58398
|
};
|
|
58293
58399
|
__decorate([
|
|
58294
58400
|
Field(),
|
|
@@ -58353,6 +58459,11 @@ __decorate([
|
|
|
58353
58459
|
MaxLength(510),
|
|
58354
58460
|
__metadata("design:type", String)
|
|
58355
58461
|
], MJCommunicationLog_.prototype, "CommunicationProviderMessageType", void 0);
|
|
58462
|
+
__decorate([
|
|
58463
|
+
Field({ nullable: true }),
|
|
58464
|
+
MaxLength(200),
|
|
58465
|
+
__metadata("design:type", String)
|
|
58466
|
+
], MJCommunicationLog_.prototype, "CommunicationRun", void 0);
|
|
58356
58467
|
MJCommunicationLog_ = __decorate([
|
|
58357
58468
|
ObjectType({ description: `Logs of sent and received messages.` })
|
|
58358
58469
|
], MJCommunicationLog_);
|
|
@@ -60007,6 +60118,7 @@ let MJTemplateParam_ = class MJTemplateParam_ {
|
|
|
60007
60118
|
TemplateContentID;
|
|
60008
60119
|
Template;
|
|
60009
60120
|
Entity;
|
|
60121
|
+
TemplateContent;
|
|
60010
60122
|
};
|
|
60011
60123
|
__decorate([
|
|
60012
60124
|
Field(),
|
|
@@ -60093,6 +60205,11 @@ __decorate([
|
|
|
60093
60205
|
MaxLength(510),
|
|
60094
60206
|
__metadata("design:type", String)
|
|
60095
60207
|
], MJTemplateParam_.prototype, "Entity", void 0);
|
|
60208
|
+
__decorate([
|
|
60209
|
+
Field({ nullable: true }),
|
|
60210
|
+
MaxLength(510),
|
|
60211
|
+
__metadata("design:type", String)
|
|
60212
|
+
], MJTemplateParam_.prototype, "TemplateContent", void 0);
|
|
60096
60213
|
MJTemplateParam_ = __decorate([
|
|
60097
60214
|
ObjectType({ description: `Parameters allowed for use inside the template` })
|
|
60098
60215
|
], MJTemplateParam_);
|
|
@@ -60674,6 +60791,7 @@ let MJRecommendation_ = class MJRecommendation_ {
|
|
|
60674
60791
|
SourceEntityRecordID;
|
|
60675
60792
|
_mj__CreatedAt;
|
|
60676
60793
|
_mj__UpdatedAt;
|
|
60794
|
+
RecommendationRun;
|
|
60677
60795
|
SourceEntity;
|
|
60678
60796
|
RecommendationItems_RecommendationIDArray;
|
|
60679
60797
|
};
|
|
@@ -60706,6 +60824,11 @@ __decorate([
|
|
|
60706
60824
|
MaxLength(10),
|
|
60707
60825
|
__metadata("design:type", Date)
|
|
60708
60826
|
], MJRecommendation_.prototype, "_mj__UpdatedAt", void 0);
|
|
60827
|
+
__decorate([
|
|
60828
|
+
Field(),
|
|
60829
|
+
MaxLength(510),
|
|
60830
|
+
__metadata("design:type", String)
|
|
60831
|
+
], MJRecommendation_.prototype, "RecommendationRun", void 0);
|
|
60709
60832
|
__decorate([
|
|
60710
60833
|
Field(),
|
|
60711
60834
|
MaxLength(510),
|
|
@@ -61526,6 +61649,7 @@ let MJRecommendationItem_ = class MJRecommendationItem_ {
|
|
|
61526
61649
|
MatchProbability;
|
|
61527
61650
|
_mj__CreatedAt;
|
|
61528
61651
|
_mj__UpdatedAt;
|
|
61652
|
+
Recommendation;
|
|
61529
61653
|
DestinationEntity;
|
|
61530
61654
|
};
|
|
61531
61655
|
__decorate([
|
|
@@ -61562,6 +61686,10 @@ __decorate([
|
|
|
61562
61686
|
MaxLength(10),
|
|
61563
61687
|
__metadata("design:type", Date)
|
|
61564
61688
|
], MJRecommendationItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
61689
|
+
__decorate([
|
|
61690
|
+
Field(),
|
|
61691
|
+
__metadata("design:type", String)
|
|
61692
|
+
], MJRecommendationItem_.prototype, "Recommendation", void 0);
|
|
61565
61693
|
__decorate([
|
|
61566
61694
|
Field(),
|
|
61567
61695
|
MaxLength(510),
|
|
@@ -62070,6 +62198,7 @@ let MJEntityCommunicationField_ = class MJEntityCommunicationField_ {
|
|
|
62070
62198
|
Priority;
|
|
62071
62199
|
_mj__CreatedAt;
|
|
62072
62200
|
_mj__UpdatedAt;
|
|
62201
|
+
EntityCommunicationMessageType;
|
|
62073
62202
|
};
|
|
62074
62203
|
__decorate([
|
|
62075
62204
|
Field(),
|
|
@@ -62100,6 +62229,11 @@ __decorate([
|
|
|
62100
62229
|
MaxLength(10),
|
|
62101
62230
|
__metadata("design:type", Date)
|
|
62102
62231
|
], MJEntityCommunicationField_.prototype, "_mj__UpdatedAt", void 0);
|
|
62232
|
+
__decorate([
|
|
62233
|
+
Field(),
|
|
62234
|
+
MaxLength(200),
|
|
62235
|
+
__metadata("design:type", String)
|
|
62236
|
+
], MJEntityCommunicationField_.prototype, "EntityCommunicationMessageType", void 0);
|
|
62103
62237
|
MJEntityCommunicationField_ = __decorate([
|
|
62104
62238
|
ObjectType({ description: `Mapping between entity fields and communication base message types with priority` })
|
|
62105
62239
|
], MJEntityCommunicationField_);
|
|
@@ -63124,6 +63258,7 @@ let MJEntityActionParam_ = class MJEntityActionParam_ {
|
|
|
63124
63258
|
Comments;
|
|
63125
63259
|
_mj__CreatedAt;
|
|
63126
63260
|
_mj__UpdatedAt;
|
|
63261
|
+
EntityAction;
|
|
63127
63262
|
ActionParam;
|
|
63128
63263
|
};
|
|
63129
63264
|
__decorate([
|
|
@@ -63164,6 +63299,11 @@ __decorate([
|
|
|
63164
63299
|
MaxLength(10),
|
|
63165
63300
|
__metadata("design:type", Date)
|
|
63166
63301
|
], MJEntityActionParam_.prototype, "_mj__UpdatedAt", void 0);
|
|
63302
|
+
__decorate([
|
|
63303
|
+
Field(),
|
|
63304
|
+
MaxLength(850),
|
|
63305
|
+
__metadata("design:type", String)
|
|
63306
|
+
], MJEntityActionParam_.prototype, "EntityAction", void 0);
|
|
63167
63307
|
__decorate([
|
|
63168
63308
|
Field(),
|
|
63169
63309
|
MaxLength(510),
|
|
@@ -70230,6 +70370,8 @@ let MJAIAgentExample_ = class MJAIAgentExample_ {
|
|
|
70230
70370
|
User;
|
|
70231
70371
|
Company;
|
|
70232
70372
|
SourceConversation;
|
|
70373
|
+
SourceConversationDetail;
|
|
70374
|
+
SourceAIAgentRun;
|
|
70233
70375
|
EmbeddingModel;
|
|
70234
70376
|
};
|
|
70235
70377
|
__decorate([
|
|
@@ -70336,6 +70478,15 @@ __decorate([
|
|
|
70336
70478
|
MaxLength(510),
|
|
70337
70479
|
__metadata("design:type", String)
|
|
70338
70480
|
], MJAIAgentExample_.prototype, "SourceConversation", void 0);
|
|
70481
|
+
__decorate([
|
|
70482
|
+
Field({ nullable: true }),
|
|
70483
|
+
__metadata("design:type", String)
|
|
70484
|
+
], MJAIAgentExample_.prototype, "SourceConversationDetail", void 0);
|
|
70485
|
+
__decorate([
|
|
70486
|
+
Field({ nullable: true }),
|
|
70487
|
+
MaxLength(510),
|
|
70488
|
+
__metadata("design:type", String)
|
|
70489
|
+
], MJAIAgentExample_.prototype, "SourceAIAgentRun", void 0);
|
|
70339
70490
|
__decorate([
|
|
70340
70491
|
Field({ nullable: true }),
|
|
70341
70492
|
MaxLength(100),
|
|
@@ -70681,8 +70832,8 @@ let MJTestSuite_ = class MJTestSuite_ {
|
|
|
70681
70832
|
Parent;
|
|
70682
70833
|
RootParentID;
|
|
70683
70834
|
MJ_TestSuites_ParentIDArray;
|
|
70684
|
-
MJ_TestSuiteRuns_SuiteIDArray;
|
|
70685
70835
|
MJ_TestSuiteTests_SuiteIDArray;
|
|
70836
|
+
MJ_TestSuiteRuns_SuiteIDArray;
|
|
70686
70837
|
};
|
|
70687
70838
|
__decorate([
|
|
70688
70839
|
Field(),
|
|
@@ -70740,14 +70891,14 @@ __decorate([
|
|
|
70740
70891
|
Field(() => [MJTestSuite_]),
|
|
70741
70892
|
__metadata("design:type", Array)
|
|
70742
70893
|
], MJTestSuite_.prototype, "MJ_TestSuites_ParentIDArray", void 0);
|
|
70743
|
-
__decorate([
|
|
70744
|
-
Field(() => [MJTestSuiteRun_]),
|
|
70745
|
-
__metadata("design:type", Array)
|
|
70746
|
-
], MJTestSuite_.prototype, "MJ_TestSuiteRuns_SuiteIDArray", void 0);
|
|
70747
70894
|
__decorate([
|
|
70748
70895
|
Field(() => [MJTestSuiteTest_]),
|
|
70749
70896
|
__metadata("design:type", Array)
|
|
70750
70897
|
], MJTestSuite_.prototype, "MJ_TestSuiteTests_SuiteIDArray", void 0);
|
|
70898
|
+
__decorate([
|
|
70899
|
+
Field(() => [MJTestSuiteRun_]),
|
|
70900
|
+
__metadata("design:type", Array)
|
|
70901
|
+
], MJTestSuite_.prototype, "MJ_TestSuiteRuns_SuiteIDArray", void 0);
|
|
70751
70902
|
MJTestSuite_ = __decorate([
|
|
70752
70903
|
ObjectType({ description: `Hierarchical organization of tests into suites. Test suites can contain other suites (via ParentID) and tests (via TestSuiteTest junction table). Suites provide logical grouping for running batches of related tests.` })
|
|
70753
70904
|
], MJTestSuite_);
|
|
@@ -70912,22 +71063,22 @@ let MJTestSuiteResolver = class MJTestSuiteResolver extends ResolverBase {
|
|
|
70912
71063
|
const result = this.ArrayMapFieldNamesToCodeNames('MJ: Test Suites', rows);
|
|
70913
71064
|
return result;
|
|
70914
71065
|
}
|
|
70915
|
-
async
|
|
70916
|
-
this.CheckUserReadPermissions('MJ: Test Suite
|
|
71066
|
+
async MJ_TestSuiteTests_SuiteIDArray(mjtestsuite_, { dataSources, userPayload, providers }, pubSub) {
|
|
71067
|
+
this.CheckUserReadPermissions('MJ: Test Suite Tests', userPayload);
|
|
70917
71068
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
70918
71069
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
70919
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
71070
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestSuiteTests] WHERE [SuiteID]='${mjtestsuite_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Suite Tests', userPayload, EntityPermissionType.Read, 'AND');
|
|
70920
71071
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
70921
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: Test Suite
|
|
71072
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: Test Suite Tests', rows);
|
|
70922
71073
|
return result;
|
|
70923
71074
|
}
|
|
70924
|
-
async
|
|
70925
|
-
this.CheckUserReadPermissions('MJ: Test Suite
|
|
71075
|
+
async MJ_TestSuiteRuns_SuiteIDArray(mjtestsuite_, { dataSources, userPayload, providers }, pubSub) {
|
|
71076
|
+
this.CheckUserReadPermissions('MJ: Test Suite Runs', userPayload);
|
|
70926
71077
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
70927
71078
|
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
70928
|
-
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
71079
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwTestSuiteRuns] WHERE [SuiteID]='${mjtestsuite_.ID}' ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Test Suite Runs', userPayload, EntityPermissionType.Read, 'AND');
|
|
70929
71080
|
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
70930
|
-
const result = this.ArrayMapFieldNamesToCodeNames('MJ: Test Suite
|
|
71081
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: Test Suite Runs', rows);
|
|
70931
71082
|
return result;
|
|
70932
71083
|
}
|
|
70933
71084
|
async CreateMJTestSuite(input, { providers, userPayload }, pubSub) {
|
|
@@ -70990,23 +71141,23 @@ __decorate([
|
|
|
70990
71141
|
__metadata("design:returntype", Promise)
|
|
70991
71142
|
], MJTestSuiteResolver.prototype, "MJ_TestSuites_ParentIDArray", null);
|
|
70992
71143
|
__decorate([
|
|
70993
|
-
FieldResolver(() => [
|
|
71144
|
+
FieldResolver(() => [MJTestSuiteTest_]),
|
|
70994
71145
|
__param(0, Root()),
|
|
70995
71146
|
__param(1, Ctx()),
|
|
70996
71147
|
__param(2, PubSub()),
|
|
70997
71148
|
__metadata("design:type", Function),
|
|
70998
71149
|
__metadata("design:paramtypes", [MJTestSuite_, Object, PubSubEngine]),
|
|
70999
71150
|
__metadata("design:returntype", Promise)
|
|
71000
|
-
], MJTestSuiteResolver.prototype, "
|
|
71151
|
+
], MJTestSuiteResolver.prototype, "MJ_TestSuiteTests_SuiteIDArray", null);
|
|
71001
71152
|
__decorate([
|
|
71002
|
-
FieldResolver(() => [
|
|
71153
|
+
FieldResolver(() => [MJTestSuiteRun_]),
|
|
71003
71154
|
__param(0, Root()),
|
|
71004
71155
|
__param(1, Ctx()),
|
|
71005
71156
|
__param(2, PubSub()),
|
|
71006
71157
|
__metadata("design:type", Function),
|
|
71007
71158
|
__metadata("design:paramtypes", [MJTestSuite_, Object, PubSubEngine]),
|
|
71008
71159
|
__metadata("design:returntype", Promise)
|
|
71009
|
-
], MJTestSuiteResolver.prototype, "
|
|
71160
|
+
], MJTestSuiteResolver.prototype, "MJ_TestSuiteRuns_SuiteIDArray", null);
|
|
71010
71161
|
__decorate([
|
|
71011
71162
|
Mutation(() => MJTestSuite_),
|
|
71012
71163
|
__param(0, Arg('input', () => CreateMJTestSuiteInput)),
|
|
@@ -73456,6 +73607,7 @@ let MJConversationDetailRating_ = class MJConversationDetailRating_ {
|
|
|
73456
73607
|
Comments;
|
|
73457
73608
|
_mj__CreatedAt;
|
|
73458
73609
|
_mj__UpdatedAt;
|
|
73610
|
+
ConversationDetail;
|
|
73459
73611
|
User;
|
|
73460
73612
|
};
|
|
73461
73613
|
__decorate([
|
|
@@ -73491,6 +73643,10 @@ __decorate([
|
|
|
73491
73643
|
MaxLength(10),
|
|
73492
73644
|
__metadata("design:type", Date)
|
|
73493
73645
|
], MJConversationDetailRating_.prototype, "_mj__UpdatedAt", void 0);
|
|
73646
|
+
__decorate([
|
|
73647
|
+
Field(),
|
|
73648
|
+
__metadata("design:type", String)
|
|
73649
|
+
], MJConversationDetailRating_.prototype, "ConversationDetail", void 0);
|
|
73494
73650
|
__decorate([
|
|
73495
73651
|
Field(),
|
|
73496
73652
|
MaxLength(200),
|
|
@@ -80969,6 +81125,8 @@ let MJAIAgentRunStep_ = class MJAIAgentRunStep_ {
|
|
|
80969
81125
|
FinalPayloadValidationMessages;
|
|
80970
81126
|
ParentID;
|
|
80971
81127
|
Comments;
|
|
81128
|
+
AgentRun;
|
|
81129
|
+
Parent;
|
|
80972
81130
|
RootParentID;
|
|
80973
81131
|
MJ_AIAgentRunSteps_ParentIDArray;
|
|
80974
81132
|
};
|
|
@@ -81076,6 +81234,16 @@ __decorate([
|
|
|
81076
81234
|
Field({ nullable: true, description: `Human-readable notes and comments about this agent run step` }),
|
|
81077
81235
|
__metadata("design:type", String)
|
|
81078
81236
|
], MJAIAgentRunStep_.prototype, "Comments", void 0);
|
|
81237
|
+
__decorate([
|
|
81238
|
+
Field({ nullable: true }),
|
|
81239
|
+
MaxLength(510),
|
|
81240
|
+
__metadata("design:type", String)
|
|
81241
|
+
], MJAIAgentRunStep_.prototype, "AgentRun", void 0);
|
|
81242
|
+
__decorate([
|
|
81243
|
+
Field({ nullable: true }),
|
|
81244
|
+
MaxLength(510),
|
|
81245
|
+
__metadata("design:type", String)
|
|
81246
|
+
], MJAIAgentRunStep_.prototype, "Parent", void 0);
|
|
81079
81247
|
__decorate([
|
|
81080
81248
|
Field({ nullable: true }),
|
|
81081
81249
|
MaxLength(16),
|
|
@@ -81477,6 +81645,7 @@ let MJConversationDetailArtifact_ = class MJConversationDetailArtifact_ {
|
|
|
81477
81645
|
Direction;
|
|
81478
81646
|
_mj__CreatedAt;
|
|
81479
81647
|
_mj__UpdatedAt;
|
|
81648
|
+
ConversationDetail;
|
|
81480
81649
|
ArtifactVersion;
|
|
81481
81650
|
};
|
|
81482
81651
|
__decorate([
|
|
@@ -81509,6 +81678,10 @@ __decorate([
|
|
|
81509
81678
|
MaxLength(10),
|
|
81510
81679
|
__metadata("design:type", Date)
|
|
81511
81680
|
], MJConversationDetailArtifact_.prototype, "_mj__UpdatedAt", void 0);
|
|
81681
|
+
__decorate([
|
|
81682
|
+
Field(),
|
|
81683
|
+
__metadata("design:type", String)
|
|
81684
|
+
], MJConversationDetailArtifact_.prototype, "ConversationDetail", void 0);
|
|
81512
81685
|
__decorate([
|
|
81513
81686
|
Field({ nullable: true }),
|
|
81514
81687
|
MaxLength(510),
|
|
@@ -81743,6 +81916,7 @@ let MJTask_ = class MJTask_ {
|
|
|
81743
81916
|
Type;
|
|
81744
81917
|
Environment;
|
|
81745
81918
|
Project;
|
|
81919
|
+
ConversationDetail;
|
|
81746
81920
|
User;
|
|
81747
81921
|
Agent;
|
|
81748
81922
|
RootParentID;
|
|
@@ -81853,6 +82027,10 @@ __decorate([
|
|
|
81853
82027
|
MaxLength(510),
|
|
81854
82028
|
__metadata("design:type", String)
|
|
81855
82029
|
], MJTask_.prototype, "Project", void 0);
|
|
82030
|
+
__decorate([
|
|
82031
|
+
Field({ nullable: true }),
|
|
82032
|
+
__metadata("design:type", String)
|
|
82033
|
+
], MJTask_.prototype, "ConversationDetail", void 0);
|
|
81856
82034
|
__decorate([
|
|
81857
82035
|
Field({ nullable: true }),
|
|
81858
82036
|
MaxLength(200),
|