@memberjunction/server 2.62.0 → 2.63.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.
@@ -1910,6 +1910,8 @@ let AIAgentRun_ = class AIAgentRun_ {
1910
1910
  FinalStep;
1911
1911
  FinalPayload;
1912
1912
  Message;
1913
+ LastRunID;
1914
+ StartingPayload;
1913
1915
  Agent;
1914
1916
  Conversation;
1915
1917
  User;
@@ -2042,6 +2044,15 @@ __decorate([
2042
2044
  Field({ nullable: true, description: `Final message from the agent to the end user at the end of a run` }),
2043
2045
  __metadata("design:type", String)
2044
2046
  ], AIAgentRun_.prototype, "Message", void 0);
2047
+ __decorate([
2048
+ Field({ nullable: true, description: `Links to the previous run in a chain. Different from ParentRunID which is for sub-agent hierarchy.` }),
2049
+ MaxLength(16),
2050
+ __metadata("design:type", String)
2051
+ ], AIAgentRun_.prototype, "LastRunID", void 0);
2052
+ __decorate([
2053
+ Field({ nullable: true, description: `The initial payload provided at the start of this run. Can be populated from the FinalPayload of the LastRun.` }),
2054
+ __metadata("design:type", String)
2055
+ ], AIAgentRun_.prototype, "StartingPayload", void 0);
2045
2056
  __decorate([
2046
2057
  Field({ nullable: true }),
2047
2058
  MaxLength(510),
@@ -2100,6 +2111,8 @@ let CreateAIAgentRunInput = class CreateAIAgentRunInput {
2100
2111
  FinalStep;
2101
2112
  FinalPayload;
2102
2113
  Message;
2114
+ LastRunID;
2115
+ StartingPayload;
2103
2116
  };
2104
2117
  __decorate([
2105
2118
  Field({ nullable: true }),
@@ -2205,6 +2218,14 @@ __decorate([
2205
2218
  Field({ nullable: true }),
2206
2219
  __metadata("design:type", String)
2207
2220
  ], CreateAIAgentRunInput.prototype, "Message", void 0);
2221
+ __decorate([
2222
+ Field({ nullable: true }),
2223
+ __metadata("design:type", String)
2224
+ ], CreateAIAgentRunInput.prototype, "LastRunID", void 0);
2225
+ __decorate([
2226
+ Field({ nullable: true }),
2227
+ __metadata("design:type", String)
2228
+ ], CreateAIAgentRunInput.prototype, "StartingPayload", void 0);
2208
2229
  CreateAIAgentRunInput = __decorate([
2209
2230
  InputType()
2210
2231
  ], CreateAIAgentRunInput);
@@ -2236,6 +2257,8 @@ let UpdateAIAgentRunInput = class UpdateAIAgentRunInput {
2236
2257
  FinalStep;
2237
2258
  FinalPayload;
2238
2259
  Message;
2260
+ LastRunID;
2261
+ StartingPayload;
2239
2262
  OldValues___;
2240
2263
  };
2241
2264
  __decorate([
@@ -2342,6 +2365,14 @@ __decorate([
2342
2365
  Field({ nullable: true }),
2343
2366
  __metadata("design:type", String)
2344
2367
  ], UpdateAIAgentRunInput.prototype, "Message", void 0);
2368
+ __decorate([
2369
+ Field({ nullable: true }),
2370
+ __metadata("design:type", String)
2371
+ ], UpdateAIAgentRunInput.prototype, "LastRunID", void 0);
2372
+ __decorate([
2373
+ Field({ nullable: true }),
2374
+ __metadata("design:type", String)
2375
+ ], UpdateAIAgentRunInput.prototype, "StartingPayload", void 0);
2345
2376
  __decorate([
2346
2377
  Field(() => [KeyValuePairInput], { nullable: true }),
2347
2378
  __metadata("design:type", Array)