@memberjunction/server 2.55.0 → 2.56.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/generated/generated.d.ts +48 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +248 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +26 -26
- package/src/generated/generated.ts +152 -0
- package/src/index.ts +3 -0
|
@@ -3242,6 +3242,7 @@ let AIAgent_ = class AIAgent_ {
|
|
|
3242
3242
|
TypeID;
|
|
3243
3243
|
Status;
|
|
3244
3244
|
DriverClass;
|
|
3245
|
+
IconClass;
|
|
3245
3246
|
Parent;
|
|
3246
3247
|
ContextCompressionPrompt;
|
|
3247
3248
|
Type;
|
|
@@ -3335,6 +3336,11 @@ __decorate([
|
|
|
3335
3336
|
MaxLength(510),
|
|
3336
3337
|
__metadata("design:type", String)
|
|
3337
3338
|
], AIAgent_.prototype, "DriverClass", void 0);
|
|
3339
|
+
__decorate([
|
|
3340
|
+
Field({ nullable: true, description: `Font Awesome icon class (e.g., fa-robot, fa-brain) for the agent. Used as fallback when LogoURL is not set or fails to load.` }),
|
|
3341
|
+
MaxLength(200),
|
|
3342
|
+
__metadata("design:type", String)
|
|
3343
|
+
], AIAgent_.prototype, "IconClass", void 0);
|
|
3338
3344
|
__decorate([
|
|
3339
3345
|
Field({ nullable: true }),
|
|
3340
3346
|
MaxLength(510),
|
|
@@ -3410,6 +3416,7 @@ let CreateAIAgentInput = class CreateAIAgentInput {
|
|
|
3410
3416
|
TypeID;
|
|
3411
3417
|
Status;
|
|
3412
3418
|
DriverClass;
|
|
3419
|
+
IconClass;
|
|
3413
3420
|
};
|
|
3414
3421
|
__decorate([
|
|
3415
3422
|
Field({ nullable: true }),
|
|
@@ -3471,6 +3478,10 @@ __decorate([
|
|
|
3471
3478
|
Field({ nullable: true }),
|
|
3472
3479
|
__metadata("design:type", String)
|
|
3473
3480
|
], CreateAIAgentInput.prototype, "DriverClass", void 0);
|
|
3481
|
+
__decorate([
|
|
3482
|
+
Field({ nullable: true }),
|
|
3483
|
+
__metadata("design:type", String)
|
|
3484
|
+
], CreateAIAgentInput.prototype, "IconClass", void 0);
|
|
3474
3485
|
CreateAIAgentInput = __decorate([
|
|
3475
3486
|
InputType()
|
|
3476
3487
|
], CreateAIAgentInput);
|
|
@@ -3491,6 +3502,7 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
|
|
|
3491
3502
|
TypeID;
|
|
3492
3503
|
Status;
|
|
3493
3504
|
DriverClass;
|
|
3505
|
+
IconClass;
|
|
3494
3506
|
OldValues___;
|
|
3495
3507
|
};
|
|
3496
3508
|
__decorate([
|
|
@@ -3553,6 +3565,10 @@ __decorate([
|
|
|
3553
3565
|
Field({ nullable: true }),
|
|
3554
3566
|
__metadata("design:type", String)
|
|
3555
3567
|
], UpdateAIAgentInput.prototype, "DriverClass", void 0);
|
|
3568
|
+
__decorate([
|
|
3569
|
+
Field({ nullable: true }),
|
|
3570
|
+
__metadata("design:type", String)
|
|
3571
|
+
], UpdateAIAgentInput.prototype, "IconClass", void 0);
|
|
3556
3572
|
__decorate([
|
|
3557
3573
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
3558
3574
|
__metadata("design:type", Array)
|
|
@@ -41864,6 +41880,7 @@ let Action_ = class Action_ {
|
|
|
41864
41880
|
_mj__UpdatedAt;
|
|
41865
41881
|
DriverClass;
|
|
41866
41882
|
ParentID;
|
|
41883
|
+
IconClass;
|
|
41867
41884
|
Category;
|
|
41868
41885
|
CodeApprovedByUser;
|
|
41869
41886
|
Parent;
|
|
@@ -41974,6 +41991,11 @@ __decorate([
|
|
|
41974
41991
|
MaxLength(16),
|
|
41975
41992
|
__metadata("design:type", String)
|
|
41976
41993
|
], Action_.prototype, "ParentID", void 0);
|
|
41994
|
+
__decorate([
|
|
41995
|
+
Field({ nullable: true, description: `Font Awesome icon class (e.g., fa-cog, fa-play, fa-search) for visual representation of the action.` }),
|
|
41996
|
+
MaxLength(200),
|
|
41997
|
+
__metadata("design:type", String)
|
|
41998
|
+
], Action_.prototype, "IconClass", void 0);
|
|
41977
41999
|
__decorate([
|
|
41978
42000
|
Field({ nullable: true }),
|
|
41979
42001
|
MaxLength(510),
|
|
@@ -42053,6 +42075,7 @@ let CreateActionInput = class CreateActionInput {
|
|
|
42053
42075
|
Status;
|
|
42054
42076
|
DriverClass;
|
|
42055
42077
|
ParentID;
|
|
42078
|
+
IconClass;
|
|
42056
42079
|
};
|
|
42057
42080
|
__decorate([
|
|
42058
42081
|
Field({ nullable: true }),
|
|
@@ -42130,6 +42153,10 @@ __decorate([
|
|
|
42130
42153
|
Field({ nullable: true }),
|
|
42131
42154
|
__metadata("design:type", String)
|
|
42132
42155
|
], CreateActionInput.prototype, "ParentID", void 0);
|
|
42156
|
+
__decorate([
|
|
42157
|
+
Field({ nullable: true }),
|
|
42158
|
+
__metadata("design:type", String)
|
|
42159
|
+
], CreateActionInput.prototype, "IconClass", void 0);
|
|
42133
42160
|
CreateActionInput = __decorate([
|
|
42134
42161
|
InputType()
|
|
42135
42162
|
], CreateActionInput);
|
|
@@ -42154,6 +42181,7 @@ let UpdateActionInput = class UpdateActionInput {
|
|
|
42154
42181
|
Status;
|
|
42155
42182
|
DriverClass;
|
|
42156
42183
|
ParentID;
|
|
42184
|
+
IconClass;
|
|
42157
42185
|
OldValues___;
|
|
42158
42186
|
};
|
|
42159
42187
|
__decorate([
|
|
@@ -42232,6 +42260,10 @@ __decorate([
|
|
|
42232
42260
|
Field({ nullable: true }),
|
|
42233
42261
|
__metadata("design:type", String)
|
|
42234
42262
|
], UpdateActionInput.prototype, "ParentID", void 0);
|
|
42263
|
+
__decorate([
|
|
42264
|
+
Field({ nullable: true }),
|
|
42265
|
+
__metadata("design:type", String)
|
|
42266
|
+
], UpdateActionInput.prototype, "IconClass", void 0);
|
|
42235
42267
|
__decorate([
|
|
42236
42268
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
42237
42269
|
__metadata("design:type", Array)
|
|
@@ -59311,6 +59343,20 @@ let AIPromptRun_ = class AIPromptRun_ {
|
|
|
59311
59343
|
LogProbs;
|
|
59312
59344
|
TopLogProbs;
|
|
59313
59345
|
DescendantCost;
|
|
59346
|
+
ValidationAttemptCount;
|
|
59347
|
+
SuccessfulValidationCount;
|
|
59348
|
+
FinalValidationPassed;
|
|
59349
|
+
ValidationBehavior;
|
|
59350
|
+
RetryStrategy;
|
|
59351
|
+
MaxRetriesConfigured;
|
|
59352
|
+
FinalValidationError;
|
|
59353
|
+
ValidationErrorCount;
|
|
59354
|
+
CommonValidationError;
|
|
59355
|
+
FirstAttemptAt;
|
|
59356
|
+
LastAttemptAt;
|
|
59357
|
+
TotalRetryDurationMS;
|
|
59358
|
+
ValidationAttempts;
|
|
59359
|
+
ValidationSummary;
|
|
59314
59360
|
Prompt;
|
|
59315
59361
|
Model;
|
|
59316
59362
|
Vendor;
|
|
@@ -59494,6 +59540,68 @@ __decorate([
|
|
|
59494
59540
|
Field(() => Float, { nullable: true, description: `The total cost of all descendant (child and grandchild) prompt runs, excluding this run's own cost. For leaf nodes (no children), this is 0. Updated when child costs change.` }),
|
|
59495
59541
|
__metadata("design:type", Number)
|
|
59496
59542
|
], AIPromptRun_.prototype, "DescendantCost", void 0);
|
|
59543
|
+
__decorate([
|
|
59544
|
+
Field(() => Int, { nullable: true, description: `Total number of validation attempts made (including the initial attempt)` }),
|
|
59545
|
+
__metadata("design:type", Number)
|
|
59546
|
+
], AIPromptRun_.prototype, "ValidationAttemptCount", void 0);
|
|
59547
|
+
__decorate([
|
|
59548
|
+
Field(() => Int, { nullable: true, description: `Number of validation attempts that passed validation` }),
|
|
59549
|
+
__metadata("design:type", Number)
|
|
59550
|
+
], AIPromptRun_.prototype, "SuccessfulValidationCount", void 0);
|
|
59551
|
+
__decorate([
|
|
59552
|
+
Field(() => Boolean, { nullable: true, description: `Whether validation ultimately passed (1) or failed (0)` }),
|
|
59553
|
+
__metadata("design:type", Boolean)
|
|
59554
|
+
], AIPromptRun_.prototype, "FinalValidationPassed", void 0);
|
|
59555
|
+
__decorate([
|
|
59556
|
+
Field({ nullable: true, description: `Validation behavior used: Strict, Warn, or None` }),
|
|
59557
|
+
MaxLength(100),
|
|
59558
|
+
__metadata("design:type", String)
|
|
59559
|
+
], AIPromptRun_.prototype, "ValidationBehavior", void 0);
|
|
59560
|
+
__decorate([
|
|
59561
|
+
Field({ nullable: true, description: `Retry strategy used: Fixed, Linear, or Exponential` }),
|
|
59562
|
+
MaxLength(100),
|
|
59563
|
+
__metadata("design:type", String)
|
|
59564
|
+
], AIPromptRun_.prototype, "RetryStrategy", void 0);
|
|
59565
|
+
__decorate([
|
|
59566
|
+
Field(() => Int, { nullable: true, description: `Maximum number of retries configured on the prompt` }),
|
|
59567
|
+
__metadata("design:type", Number)
|
|
59568
|
+
], AIPromptRun_.prototype, "MaxRetriesConfigured", void 0);
|
|
59569
|
+
__decorate([
|
|
59570
|
+
Field({ nullable: true, description: `The final validation error message if validation failed` }),
|
|
59571
|
+
MaxLength(1000),
|
|
59572
|
+
__metadata("design:type", String)
|
|
59573
|
+
], AIPromptRun_.prototype, "FinalValidationError", void 0);
|
|
59574
|
+
__decorate([
|
|
59575
|
+
Field(() => Int, { nullable: true, description: `Number of validation errors on the final attempt` }),
|
|
59576
|
+
__metadata("design:type", Number)
|
|
59577
|
+
], AIPromptRun_.prototype, "ValidationErrorCount", void 0);
|
|
59578
|
+
__decorate([
|
|
59579
|
+
Field({ nullable: true, description: `Most frequent validation error across all attempts` }),
|
|
59580
|
+
MaxLength(510),
|
|
59581
|
+
__metadata("design:type", String)
|
|
59582
|
+
], AIPromptRun_.prototype, "CommonValidationError", void 0);
|
|
59583
|
+
__decorate([
|
|
59584
|
+
Field({ nullable: true, description: `Timestamp of the first validation attempt` }),
|
|
59585
|
+
MaxLength(8),
|
|
59586
|
+
__metadata("design:type", Date)
|
|
59587
|
+
], AIPromptRun_.prototype, "FirstAttemptAt", void 0);
|
|
59588
|
+
__decorate([
|
|
59589
|
+
Field({ nullable: true, description: `Timestamp of the last validation attempt` }),
|
|
59590
|
+
MaxLength(8),
|
|
59591
|
+
__metadata("design:type", Date)
|
|
59592
|
+
], AIPromptRun_.prototype, "LastAttemptAt", void 0);
|
|
59593
|
+
__decorate([
|
|
59594
|
+
Field(() => Int, { nullable: true, description: `Total time spent on retries in milliseconds (excluding first attempt)` }),
|
|
59595
|
+
__metadata("design:type", Number)
|
|
59596
|
+
], AIPromptRun_.prototype, "TotalRetryDurationMS", void 0);
|
|
59597
|
+
__decorate([
|
|
59598
|
+
Field({ nullable: true, description: `JSON array containing detailed information about each validation attempt` }),
|
|
59599
|
+
__metadata("design:type", String)
|
|
59600
|
+
], AIPromptRun_.prototype, "ValidationAttempts", void 0);
|
|
59601
|
+
__decorate([
|
|
59602
|
+
Field({ nullable: true, description: `JSON object containing summary information about the validation process` }),
|
|
59603
|
+
__metadata("design:type", String)
|
|
59604
|
+
], AIPromptRun_.prototype, "ValidationSummary", void 0);
|
|
59497
59605
|
__decorate([
|
|
59498
59606
|
Field(),
|
|
59499
59607
|
MaxLength(510),
|
|
@@ -59570,6 +59678,20 @@ let CreateAIPromptRunInput = class CreateAIPromptRunInput {
|
|
|
59570
59678
|
LogProbs;
|
|
59571
59679
|
TopLogProbs;
|
|
59572
59680
|
DescendantCost;
|
|
59681
|
+
ValidationAttemptCount;
|
|
59682
|
+
SuccessfulValidationCount;
|
|
59683
|
+
FinalValidationPassed;
|
|
59684
|
+
ValidationBehavior;
|
|
59685
|
+
RetryStrategy;
|
|
59686
|
+
MaxRetriesConfigured;
|
|
59687
|
+
FinalValidationError;
|
|
59688
|
+
ValidationErrorCount;
|
|
59689
|
+
CommonValidationError;
|
|
59690
|
+
FirstAttemptAt;
|
|
59691
|
+
LastAttemptAt;
|
|
59692
|
+
TotalRetryDurationMS;
|
|
59693
|
+
ValidationAttempts;
|
|
59694
|
+
ValidationSummary;
|
|
59573
59695
|
};
|
|
59574
59696
|
__decorate([
|
|
59575
59697
|
Field({ nullable: true }),
|
|
@@ -59723,6 +59845,62 @@ __decorate([
|
|
|
59723
59845
|
Field(() => Float, { nullable: true }),
|
|
59724
59846
|
__metadata("design:type", Number)
|
|
59725
59847
|
], CreateAIPromptRunInput.prototype, "DescendantCost", void 0);
|
|
59848
|
+
__decorate([
|
|
59849
|
+
Field(() => Int, { nullable: true }),
|
|
59850
|
+
__metadata("design:type", Number)
|
|
59851
|
+
], CreateAIPromptRunInput.prototype, "ValidationAttemptCount", void 0);
|
|
59852
|
+
__decorate([
|
|
59853
|
+
Field(() => Int, { nullable: true }),
|
|
59854
|
+
__metadata("design:type", Number)
|
|
59855
|
+
], CreateAIPromptRunInput.prototype, "SuccessfulValidationCount", void 0);
|
|
59856
|
+
__decorate([
|
|
59857
|
+
Field(() => Boolean, { nullable: true }),
|
|
59858
|
+
__metadata("design:type", Boolean)
|
|
59859
|
+
], CreateAIPromptRunInput.prototype, "FinalValidationPassed", void 0);
|
|
59860
|
+
__decorate([
|
|
59861
|
+
Field({ nullable: true }),
|
|
59862
|
+
__metadata("design:type", String)
|
|
59863
|
+
], CreateAIPromptRunInput.prototype, "ValidationBehavior", void 0);
|
|
59864
|
+
__decorate([
|
|
59865
|
+
Field({ nullable: true }),
|
|
59866
|
+
__metadata("design:type", String)
|
|
59867
|
+
], CreateAIPromptRunInput.prototype, "RetryStrategy", void 0);
|
|
59868
|
+
__decorate([
|
|
59869
|
+
Field(() => Int, { nullable: true }),
|
|
59870
|
+
__metadata("design:type", Number)
|
|
59871
|
+
], CreateAIPromptRunInput.prototype, "MaxRetriesConfigured", void 0);
|
|
59872
|
+
__decorate([
|
|
59873
|
+
Field({ nullable: true }),
|
|
59874
|
+
__metadata("design:type", String)
|
|
59875
|
+
], CreateAIPromptRunInput.prototype, "FinalValidationError", void 0);
|
|
59876
|
+
__decorate([
|
|
59877
|
+
Field(() => Int, { nullable: true }),
|
|
59878
|
+
__metadata("design:type", Number)
|
|
59879
|
+
], CreateAIPromptRunInput.prototype, "ValidationErrorCount", void 0);
|
|
59880
|
+
__decorate([
|
|
59881
|
+
Field({ nullable: true }),
|
|
59882
|
+
__metadata("design:type", String)
|
|
59883
|
+
], CreateAIPromptRunInput.prototype, "CommonValidationError", void 0);
|
|
59884
|
+
__decorate([
|
|
59885
|
+
Field({ nullable: true }),
|
|
59886
|
+
__metadata("design:type", Date)
|
|
59887
|
+
], CreateAIPromptRunInput.prototype, "FirstAttemptAt", void 0);
|
|
59888
|
+
__decorate([
|
|
59889
|
+
Field({ nullable: true }),
|
|
59890
|
+
__metadata("design:type", Date)
|
|
59891
|
+
], CreateAIPromptRunInput.prototype, "LastAttemptAt", void 0);
|
|
59892
|
+
__decorate([
|
|
59893
|
+
Field(() => Int, { nullable: true }),
|
|
59894
|
+
__metadata("design:type", Number)
|
|
59895
|
+
], CreateAIPromptRunInput.prototype, "TotalRetryDurationMS", void 0);
|
|
59896
|
+
__decorate([
|
|
59897
|
+
Field({ nullable: true }),
|
|
59898
|
+
__metadata("design:type", String)
|
|
59899
|
+
], CreateAIPromptRunInput.prototype, "ValidationAttempts", void 0);
|
|
59900
|
+
__decorate([
|
|
59901
|
+
Field({ nullable: true }),
|
|
59902
|
+
__metadata("design:type", String)
|
|
59903
|
+
], CreateAIPromptRunInput.prototype, "ValidationSummary", void 0);
|
|
59726
59904
|
CreateAIPromptRunInput = __decorate([
|
|
59727
59905
|
InputType()
|
|
59728
59906
|
], CreateAIPromptRunInput);
|
|
@@ -59766,6 +59944,20 @@ let UpdateAIPromptRunInput = class UpdateAIPromptRunInput {
|
|
|
59766
59944
|
LogProbs;
|
|
59767
59945
|
TopLogProbs;
|
|
59768
59946
|
DescendantCost;
|
|
59947
|
+
ValidationAttemptCount;
|
|
59948
|
+
SuccessfulValidationCount;
|
|
59949
|
+
FinalValidationPassed;
|
|
59950
|
+
ValidationBehavior;
|
|
59951
|
+
RetryStrategy;
|
|
59952
|
+
MaxRetriesConfigured;
|
|
59953
|
+
FinalValidationError;
|
|
59954
|
+
ValidationErrorCount;
|
|
59955
|
+
CommonValidationError;
|
|
59956
|
+
FirstAttemptAt;
|
|
59957
|
+
LastAttemptAt;
|
|
59958
|
+
TotalRetryDurationMS;
|
|
59959
|
+
ValidationAttempts;
|
|
59960
|
+
ValidationSummary;
|
|
59769
59961
|
OldValues___;
|
|
59770
59962
|
};
|
|
59771
59963
|
__decorate([
|
|
@@ -59920,6 +60112,62 @@ __decorate([
|
|
|
59920
60112
|
Field(() => Float, { nullable: true }),
|
|
59921
60113
|
__metadata("design:type", Number)
|
|
59922
60114
|
], UpdateAIPromptRunInput.prototype, "DescendantCost", void 0);
|
|
60115
|
+
__decorate([
|
|
60116
|
+
Field(() => Int, { nullable: true }),
|
|
60117
|
+
__metadata("design:type", Number)
|
|
60118
|
+
], UpdateAIPromptRunInput.prototype, "ValidationAttemptCount", void 0);
|
|
60119
|
+
__decorate([
|
|
60120
|
+
Field(() => Int, { nullable: true }),
|
|
60121
|
+
__metadata("design:type", Number)
|
|
60122
|
+
], UpdateAIPromptRunInput.prototype, "SuccessfulValidationCount", void 0);
|
|
60123
|
+
__decorate([
|
|
60124
|
+
Field(() => Boolean, { nullable: true }),
|
|
60125
|
+
__metadata("design:type", Boolean)
|
|
60126
|
+
], UpdateAIPromptRunInput.prototype, "FinalValidationPassed", void 0);
|
|
60127
|
+
__decorate([
|
|
60128
|
+
Field({ nullable: true }),
|
|
60129
|
+
__metadata("design:type", String)
|
|
60130
|
+
], UpdateAIPromptRunInput.prototype, "ValidationBehavior", void 0);
|
|
60131
|
+
__decorate([
|
|
60132
|
+
Field({ nullable: true }),
|
|
60133
|
+
__metadata("design:type", String)
|
|
60134
|
+
], UpdateAIPromptRunInput.prototype, "RetryStrategy", void 0);
|
|
60135
|
+
__decorate([
|
|
60136
|
+
Field(() => Int, { nullable: true }),
|
|
60137
|
+
__metadata("design:type", Number)
|
|
60138
|
+
], UpdateAIPromptRunInput.prototype, "MaxRetriesConfigured", void 0);
|
|
60139
|
+
__decorate([
|
|
60140
|
+
Field({ nullable: true }),
|
|
60141
|
+
__metadata("design:type", String)
|
|
60142
|
+
], UpdateAIPromptRunInput.prototype, "FinalValidationError", void 0);
|
|
60143
|
+
__decorate([
|
|
60144
|
+
Field(() => Int, { nullable: true }),
|
|
60145
|
+
__metadata("design:type", Number)
|
|
60146
|
+
], UpdateAIPromptRunInput.prototype, "ValidationErrorCount", void 0);
|
|
60147
|
+
__decorate([
|
|
60148
|
+
Field({ nullable: true }),
|
|
60149
|
+
__metadata("design:type", String)
|
|
60150
|
+
], UpdateAIPromptRunInput.prototype, "CommonValidationError", void 0);
|
|
60151
|
+
__decorate([
|
|
60152
|
+
Field({ nullable: true }),
|
|
60153
|
+
__metadata("design:type", Date)
|
|
60154
|
+
], UpdateAIPromptRunInput.prototype, "FirstAttemptAt", void 0);
|
|
60155
|
+
__decorate([
|
|
60156
|
+
Field({ nullable: true }),
|
|
60157
|
+
__metadata("design:type", Date)
|
|
60158
|
+
], UpdateAIPromptRunInput.prototype, "LastAttemptAt", void 0);
|
|
60159
|
+
__decorate([
|
|
60160
|
+
Field(() => Int, { nullable: true }),
|
|
60161
|
+
__metadata("design:type", Number)
|
|
60162
|
+
], UpdateAIPromptRunInput.prototype, "TotalRetryDurationMS", void 0);
|
|
60163
|
+
__decorate([
|
|
60164
|
+
Field({ nullable: true }),
|
|
60165
|
+
__metadata("design:type", String)
|
|
60166
|
+
], UpdateAIPromptRunInput.prototype, "ValidationAttempts", void 0);
|
|
60167
|
+
__decorate([
|
|
60168
|
+
Field({ nullable: true }),
|
|
60169
|
+
__metadata("design:type", String)
|
|
60170
|
+
], UpdateAIPromptRunInput.prototype, "ValidationSummary", void 0);
|
|
59923
60171
|
__decorate([
|
|
59924
60172
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
59925
60173
|
__metadata("design:type", Array)
|