@memberjunction/server 2.66.0 → 2.68.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/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/generated/generated.d.ts +6 -6
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +34 -34
- package/dist/generated/generated.js.map +1 -1
- package/package.json +34 -34
- package/src/config.ts +2 -1
- package/src/generated/generated.ts +22 -22
- package/src/index.ts +1 -1
|
@@ -3484,12 +3484,12 @@ __decorate([
|
|
|
3484
3484
|
__metadata("design:type", String)
|
|
3485
3485
|
], AIAgent_.prototype, "PayloadUpstreamPaths", void 0);
|
|
3486
3486
|
__decorate([
|
|
3487
|
-
Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
|
|
3487
|
+
Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
|
|
3488
3488
|
flow when the agent executes its own prompt step.` }),
|
|
3489
3489
|
__metadata("design:type", String)
|
|
3490
3490
|
], AIAgent_.prototype, "PayloadSelfReadPaths", void 0);
|
|
3491
3491
|
__decorate([
|
|
3492
|
-
Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
|
|
3492
|
+
Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
|
|
3493
3493
|
data flow when the agent executes its own prompt step.` }),
|
|
3494
3494
|
__metadata("design:type", String)
|
|
3495
3495
|
], AIAgent_.prototype, "PayloadSelfWritePaths", void 0);
|
|
@@ -6057,9 +6057,9 @@ let AIPrompt_ = class AIPrompt_ {
|
|
|
6057
6057
|
StopSequences;
|
|
6058
6058
|
IncludeLogProbs;
|
|
6059
6059
|
TopLogProbs;
|
|
6060
|
+
FailoverStrategy;
|
|
6060
6061
|
FailoverMaxAttempts;
|
|
6061
6062
|
FailoverDelaySeconds;
|
|
6062
|
-
FailoverStrategy;
|
|
6063
6063
|
FailoverModelStrategy;
|
|
6064
6064
|
FailoverErrorScope;
|
|
6065
6065
|
Template;
|
|
@@ -6279,6 +6279,11 @@ __decorate([
|
|
|
6279
6279
|
Field(() => Int, { nullable: true, description: `Default number of top log probabilities to include when IncludeLogProbs is true. Can be overridden at runtime.` }),
|
|
6280
6280
|
__metadata("design:type", Number)
|
|
6281
6281
|
], AIPrompt_.prototype, "TopLogProbs", void 0);
|
|
6282
|
+
__decorate([
|
|
6283
|
+
Field({ description: `Failover strategy to use when the primary model fails. Options: SameModelDifferentVendor, NextBestModel, PowerRank, None` }),
|
|
6284
|
+
MaxLength(100),
|
|
6285
|
+
__metadata("design:type", String)
|
|
6286
|
+
], AIPrompt_.prototype, "FailoverStrategy", void 0);
|
|
6282
6287
|
__decorate([
|
|
6283
6288
|
Field(() => Int, { nullable: true, description: `Maximum number of failover attempts before giving up` }),
|
|
6284
6289
|
__metadata("design:type", Number)
|
|
@@ -6287,11 +6292,6 @@ __decorate([
|
|
|
6287
6292
|
Field(() => Int, { nullable: true, description: `Initial delay in seconds between failover attempts` }),
|
|
6288
6293
|
__metadata("design:type", Number)
|
|
6289
6294
|
], AIPrompt_.prototype, "FailoverDelaySeconds", void 0);
|
|
6290
|
-
__decorate([
|
|
6291
|
-
Field({ description: `Failover strategy to use when the primary model fails. Options: SameModelDifferentVendor, NextBestModel, PowerRank, None` }),
|
|
6292
|
-
MaxLength(100),
|
|
6293
|
-
__metadata("design:type", String)
|
|
6294
|
-
], AIPrompt_.prototype, "FailoverStrategy", void 0);
|
|
6295
6295
|
__decorate([
|
|
6296
6296
|
Field({ description: `Strategy for selecting failover models. Options: PreferSameModel, PreferDifferentModel, RequireSameModel` }),
|
|
6297
6297
|
MaxLength(100),
|
|
@@ -6411,9 +6411,9 @@ let CreateAIPromptInput = class CreateAIPromptInput {
|
|
|
6411
6411
|
StopSequences;
|
|
6412
6412
|
IncludeLogProbs;
|
|
6413
6413
|
TopLogProbs;
|
|
6414
|
+
FailoverStrategy;
|
|
6414
6415
|
FailoverMaxAttempts;
|
|
6415
6416
|
FailoverDelaySeconds;
|
|
6416
|
-
FailoverStrategy;
|
|
6417
6417
|
FailoverModelStrategy;
|
|
6418
6418
|
FailoverErrorScope;
|
|
6419
6419
|
};
|
|
@@ -6589,6 +6589,10 @@ __decorate([
|
|
|
6589
6589
|
Field(() => Int, { nullable: true }),
|
|
6590
6590
|
__metadata("design:type", Number)
|
|
6591
6591
|
], CreateAIPromptInput.prototype, "TopLogProbs", void 0);
|
|
6592
|
+
__decorate([
|
|
6593
|
+
Field({ nullable: true }),
|
|
6594
|
+
__metadata("design:type", String)
|
|
6595
|
+
], CreateAIPromptInput.prototype, "FailoverStrategy", void 0);
|
|
6592
6596
|
__decorate([
|
|
6593
6597
|
Field(() => Int, { nullable: true }),
|
|
6594
6598
|
__metadata("design:type", Number)
|
|
@@ -6597,10 +6601,6 @@ __decorate([
|
|
|
6597
6601
|
Field(() => Int, { nullable: true }),
|
|
6598
6602
|
__metadata("design:type", Number)
|
|
6599
6603
|
], CreateAIPromptInput.prototype, "FailoverDelaySeconds", void 0);
|
|
6600
|
-
__decorate([
|
|
6601
|
-
Field({ nullable: true }),
|
|
6602
|
-
__metadata("design:type", String)
|
|
6603
|
-
], CreateAIPromptInput.prototype, "FailoverStrategy", void 0);
|
|
6604
6604
|
__decorate([
|
|
6605
6605
|
Field({ nullable: true }),
|
|
6606
6606
|
__metadata("design:type", String)
|
|
@@ -6657,9 +6657,9 @@ let UpdateAIPromptInput = class UpdateAIPromptInput {
|
|
|
6657
6657
|
StopSequences;
|
|
6658
6658
|
IncludeLogProbs;
|
|
6659
6659
|
TopLogProbs;
|
|
6660
|
+
FailoverStrategy;
|
|
6660
6661
|
FailoverMaxAttempts;
|
|
6661
6662
|
FailoverDelaySeconds;
|
|
6662
|
-
FailoverStrategy;
|
|
6663
6663
|
FailoverModelStrategy;
|
|
6664
6664
|
FailoverErrorScope;
|
|
6665
6665
|
OldValues___;
|
|
@@ -6836,6 +6836,10 @@ __decorate([
|
|
|
6836
6836
|
Field(() => Int, { nullable: true }),
|
|
6837
6837
|
__metadata("design:type", Number)
|
|
6838
6838
|
], UpdateAIPromptInput.prototype, "TopLogProbs", void 0);
|
|
6839
|
+
__decorate([
|
|
6840
|
+
Field({ nullable: true }),
|
|
6841
|
+
__metadata("design:type", String)
|
|
6842
|
+
], UpdateAIPromptInput.prototype, "FailoverStrategy", void 0);
|
|
6839
6843
|
__decorate([
|
|
6840
6844
|
Field(() => Int, { nullable: true }),
|
|
6841
6845
|
__metadata("design:type", Number)
|
|
@@ -6844,10 +6848,6 @@ __decorate([
|
|
|
6844
6848
|
Field(() => Int, { nullable: true }),
|
|
6845
6849
|
__metadata("design:type", Number)
|
|
6846
6850
|
], UpdateAIPromptInput.prototype, "FailoverDelaySeconds", void 0);
|
|
6847
|
-
__decorate([
|
|
6848
|
-
Field({ nullable: true }),
|
|
6849
|
-
__metadata("design:type", String)
|
|
6850
|
-
], UpdateAIPromptInput.prototype, "FailoverStrategy", void 0);
|
|
6851
6851
|
__decorate([
|
|
6852
6852
|
Field({ nullable: true }),
|
|
6853
6853
|
__metadata("design:type", String)
|
|
@@ -62266,9 +62266,9 @@ let AIPromptRun_ = class AIPromptRun_ {
|
|
|
62266
62266
|
FailoverAttempts;
|
|
62267
62267
|
FailoverErrors;
|
|
62268
62268
|
FailoverDurations;
|
|
62269
|
+
OriginalModelID;
|
|
62269
62270
|
OriginalRequestStartTime;
|
|
62270
62271
|
TotalFailoverDuration;
|
|
62271
|
-
OriginalModelID;
|
|
62272
62272
|
Prompt;
|
|
62273
62273
|
Model;
|
|
62274
62274
|
Vendor;
|
|
@@ -62527,6 +62527,11 @@ __decorate([
|
|
|
62527
62527
|
Field({ nullable: true, description: `JSON array of duration in milliseconds for each failover attempt` }),
|
|
62528
62528
|
__metadata("design:type", String)
|
|
62529
62529
|
], AIPromptRun_.prototype, "FailoverDurations", void 0);
|
|
62530
|
+
__decorate([
|
|
62531
|
+
Field({ nullable: true, description: `The AI Model ID that was originally attempted before any failovers` }),
|
|
62532
|
+
MaxLength(16),
|
|
62533
|
+
__metadata("design:type", String)
|
|
62534
|
+
], AIPromptRun_.prototype, "OriginalModelID", void 0);
|
|
62530
62535
|
__decorate([
|
|
62531
62536
|
Field({ nullable: true, description: `Timestamp when the original request started, before any failovers` }),
|
|
62532
62537
|
MaxLength(8),
|
|
@@ -62536,11 +62541,6 @@ __decorate([
|
|
|
62536
62541
|
Field(() => Int, { nullable: true, description: `Total time spent in failover attempts in milliseconds` }),
|
|
62537
62542
|
__metadata("design:type", Number)
|
|
62538
62543
|
], AIPromptRun_.prototype, "TotalFailoverDuration", void 0);
|
|
62539
|
-
__decorate([
|
|
62540
|
-
Field({ nullable: true, description: `The AI Model ID that was originally attempted before any failovers` }),
|
|
62541
|
-
MaxLength(16),
|
|
62542
|
-
__metadata("design:type", String)
|
|
62543
|
-
], AIPromptRun_.prototype, "OriginalModelID", void 0);
|
|
62544
62544
|
__decorate([
|
|
62545
62545
|
Field(),
|
|
62546
62546
|
MaxLength(510),
|
|
@@ -62639,9 +62639,9 @@ let CreateAIPromptRunInput = class CreateAIPromptRunInput {
|
|
|
62639
62639
|
FailoverAttempts;
|
|
62640
62640
|
FailoverErrors;
|
|
62641
62641
|
FailoverDurations;
|
|
62642
|
+
OriginalModelID;
|
|
62642
62643
|
OriginalRequestStartTime;
|
|
62643
62644
|
TotalFailoverDuration;
|
|
62644
|
-
OriginalModelID;
|
|
62645
62645
|
};
|
|
62646
62646
|
__decorate([
|
|
62647
62647
|
Field({ nullable: true }),
|
|
@@ -62863,6 +62863,10 @@ __decorate([
|
|
|
62863
62863
|
Field({ nullable: true }),
|
|
62864
62864
|
__metadata("design:type", String)
|
|
62865
62865
|
], CreateAIPromptRunInput.prototype, "FailoverDurations", void 0);
|
|
62866
|
+
__decorate([
|
|
62867
|
+
Field({ nullable: true }),
|
|
62868
|
+
__metadata("design:type", String)
|
|
62869
|
+
], CreateAIPromptRunInput.prototype, "OriginalModelID", void 0);
|
|
62866
62870
|
__decorate([
|
|
62867
62871
|
Field({ nullable: true }),
|
|
62868
62872
|
__metadata("design:type", Date)
|
|
@@ -62871,10 +62875,6 @@ __decorate([
|
|
|
62871
62875
|
Field(() => Int, { nullable: true }),
|
|
62872
62876
|
__metadata("design:type", Number)
|
|
62873
62877
|
], CreateAIPromptRunInput.prototype, "TotalFailoverDuration", void 0);
|
|
62874
|
-
__decorate([
|
|
62875
|
-
Field({ nullable: true }),
|
|
62876
|
-
__metadata("design:type", String)
|
|
62877
|
-
], CreateAIPromptRunInput.prototype, "OriginalModelID", void 0);
|
|
62878
62878
|
CreateAIPromptRunInput = __decorate([
|
|
62879
62879
|
InputType()
|
|
62880
62880
|
], CreateAIPromptRunInput);
|
|
@@ -62935,9 +62935,9 @@ let UpdateAIPromptRunInput = class UpdateAIPromptRunInput {
|
|
|
62935
62935
|
FailoverAttempts;
|
|
62936
62936
|
FailoverErrors;
|
|
62937
62937
|
FailoverDurations;
|
|
62938
|
+
OriginalModelID;
|
|
62938
62939
|
OriginalRequestStartTime;
|
|
62939
62940
|
TotalFailoverDuration;
|
|
62940
|
-
OriginalModelID;
|
|
62941
62941
|
OldValues___;
|
|
62942
62942
|
};
|
|
62943
62943
|
__decorate([
|
|
@@ -63160,6 +63160,10 @@ __decorate([
|
|
|
63160
63160
|
Field({ nullable: true }),
|
|
63161
63161
|
__metadata("design:type", String)
|
|
63162
63162
|
], UpdateAIPromptRunInput.prototype, "FailoverDurations", void 0);
|
|
63163
|
+
__decorate([
|
|
63164
|
+
Field({ nullable: true }),
|
|
63165
|
+
__metadata("design:type", String)
|
|
63166
|
+
], UpdateAIPromptRunInput.prototype, "OriginalModelID", void 0);
|
|
63163
63167
|
__decorate([
|
|
63164
63168
|
Field({ nullable: true }),
|
|
63165
63169
|
__metadata("design:type", Date)
|
|
@@ -63168,10 +63172,6 @@ __decorate([
|
|
|
63168
63172
|
Field(() => Int, { nullable: true }),
|
|
63169
63173
|
__metadata("design:type", Number)
|
|
63170
63174
|
], UpdateAIPromptRunInput.prototype, "TotalFailoverDuration", void 0);
|
|
63171
|
-
__decorate([
|
|
63172
|
-
Field({ nullable: true }),
|
|
63173
|
-
__metadata("design:type", String)
|
|
63174
|
-
], UpdateAIPromptRunInput.prototype, "OriginalModelID", void 0);
|
|
63175
63175
|
__decorate([
|
|
63176
63176
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
63177
63177
|
__metadata("design:type", Array)
|