@memberjunction/server 2.59.0 → 2.61.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 +38 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +210 -1
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts +1 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.js +38 -75
- package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
- package/package.json +30 -30
- package/src/generated/generated.ts +129 -1
- package/src/resolvers/RunAIAgentResolver.ts +53 -87
|
@@ -1904,6 +1904,12 @@ let AIAgentRun_ = class AIAgentRun_ {
|
|
|
1904
1904
|
TotalPromptTokensUsedRollup;
|
|
1905
1905
|
TotalCompletionTokensUsedRollup;
|
|
1906
1906
|
TotalCostRollup;
|
|
1907
|
+
ConversationDetailID;
|
|
1908
|
+
ConversationDetailSequence;
|
|
1909
|
+
CancellationReason;
|
|
1910
|
+
FinalStep;
|
|
1911
|
+
FinalPayload;
|
|
1912
|
+
Message;
|
|
1907
1913
|
Agent;
|
|
1908
1914
|
Conversation;
|
|
1909
1915
|
User;
|
|
@@ -2009,6 +2015,33 @@ __decorate([
|
|
|
2009
2015
|
Field(() => Float, { nullable: true, description: `Total cost including this agent run and all sub-agent runs. For leaf agents (no sub-agents), this equals TotalCost. For parent agents, this includes the sum of all descendant agent costs. Note: This assumes all costs are in the same currency for accurate rollup.` }),
|
|
2010
2016
|
__metadata("design:type", Number)
|
|
2011
2017
|
], AIAgentRun_.prototype, "TotalCostRollup", void 0);
|
|
2018
|
+
__decorate([
|
|
2019
|
+
Field({ nullable: true, description: `Optional tracking of a specific conversation detail (e.g. a specific message) that spawned this agent run` }),
|
|
2020
|
+
MaxLength(16),
|
|
2021
|
+
__metadata("design:type", String)
|
|
2022
|
+
], AIAgentRun_.prototype, "ConversationDetailID", void 0);
|
|
2023
|
+
__decorate([
|
|
2024
|
+
Field(() => Int, { nullable: true, description: `If a conversation detail spawned multiple agent runs, tracks the order of their spawn/execution` }),
|
|
2025
|
+
__metadata("design:type", Number)
|
|
2026
|
+
], AIAgentRun_.prototype, "ConversationDetailSequence", void 0);
|
|
2027
|
+
__decorate([
|
|
2028
|
+
Field({ nullable: true, description: `Reason for cancellation if the agent run was cancelled` }),
|
|
2029
|
+
MaxLength(60),
|
|
2030
|
+
__metadata("design:type", String)
|
|
2031
|
+
], AIAgentRun_.prototype, "CancellationReason", void 0);
|
|
2032
|
+
__decorate([
|
|
2033
|
+
Field({ nullable: true, description: `The final step type that concluded the agent run` }),
|
|
2034
|
+
MaxLength(60),
|
|
2035
|
+
__metadata("design:type", String)
|
|
2036
|
+
], AIAgentRun_.prototype, "FinalStep", void 0);
|
|
2037
|
+
__decorate([
|
|
2038
|
+
Field({ nullable: true, description: `JSON serialization of the final Payload state at the end of the agent run` }),
|
|
2039
|
+
__metadata("design:type", String)
|
|
2040
|
+
], AIAgentRun_.prototype, "FinalPayload", void 0);
|
|
2041
|
+
__decorate([
|
|
2042
|
+
Field({ nullable: true, description: `Final message from the agent to the end user at the end of a run` }),
|
|
2043
|
+
__metadata("design:type", String)
|
|
2044
|
+
], AIAgentRun_.prototype, "Message", void 0);
|
|
2012
2045
|
__decorate([
|
|
2013
2046
|
Field({ nullable: true }),
|
|
2014
2047
|
MaxLength(510),
|
|
@@ -2061,6 +2094,12 @@ let CreateAIAgentRunInput = class CreateAIAgentRunInput {
|
|
|
2061
2094
|
TotalPromptTokensUsedRollup;
|
|
2062
2095
|
TotalCompletionTokensUsedRollup;
|
|
2063
2096
|
TotalCostRollup;
|
|
2097
|
+
ConversationDetailID;
|
|
2098
|
+
ConversationDetailSequence;
|
|
2099
|
+
CancellationReason;
|
|
2100
|
+
FinalStep;
|
|
2101
|
+
FinalPayload;
|
|
2102
|
+
Message;
|
|
2064
2103
|
};
|
|
2065
2104
|
__decorate([
|
|
2066
2105
|
Field({ nullable: true }),
|
|
@@ -2142,6 +2181,30 @@ __decorate([
|
|
|
2142
2181
|
Field(() => Float, { nullable: true }),
|
|
2143
2182
|
__metadata("design:type", Number)
|
|
2144
2183
|
], CreateAIAgentRunInput.prototype, "TotalCostRollup", void 0);
|
|
2184
|
+
__decorate([
|
|
2185
|
+
Field({ nullable: true }),
|
|
2186
|
+
__metadata("design:type", String)
|
|
2187
|
+
], CreateAIAgentRunInput.prototype, "ConversationDetailID", void 0);
|
|
2188
|
+
__decorate([
|
|
2189
|
+
Field(() => Int, { nullable: true }),
|
|
2190
|
+
__metadata("design:type", Number)
|
|
2191
|
+
], CreateAIAgentRunInput.prototype, "ConversationDetailSequence", void 0);
|
|
2192
|
+
__decorate([
|
|
2193
|
+
Field({ nullable: true }),
|
|
2194
|
+
__metadata("design:type", String)
|
|
2195
|
+
], CreateAIAgentRunInput.prototype, "CancellationReason", void 0);
|
|
2196
|
+
__decorate([
|
|
2197
|
+
Field({ nullable: true }),
|
|
2198
|
+
__metadata("design:type", String)
|
|
2199
|
+
], CreateAIAgentRunInput.prototype, "FinalStep", void 0);
|
|
2200
|
+
__decorate([
|
|
2201
|
+
Field({ nullable: true }),
|
|
2202
|
+
__metadata("design:type", String)
|
|
2203
|
+
], CreateAIAgentRunInput.prototype, "FinalPayload", void 0);
|
|
2204
|
+
__decorate([
|
|
2205
|
+
Field({ nullable: true }),
|
|
2206
|
+
__metadata("design:type", String)
|
|
2207
|
+
], CreateAIAgentRunInput.prototype, "Message", void 0);
|
|
2145
2208
|
CreateAIAgentRunInput = __decorate([
|
|
2146
2209
|
InputType()
|
|
2147
2210
|
], CreateAIAgentRunInput);
|
|
@@ -2167,6 +2230,12 @@ let UpdateAIAgentRunInput = class UpdateAIAgentRunInput {
|
|
|
2167
2230
|
TotalPromptTokensUsedRollup;
|
|
2168
2231
|
TotalCompletionTokensUsedRollup;
|
|
2169
2232
|
TotalCostRollup;
|
|
2233
|
+
ConversationDetailID;
|
|
2234
|
+
ConversationDetailSequence;
|
|
2235
|
+
CancellationReason;
|
|
2236
|
+
FinalStep;
|
|
2237
|
+
FinalPayload;
|
|
2238
|
+
Message;
|
|
2170
2239
|
OldValues___;
|
|
2171
2240
|
};
|
|
2172
2241
|
__decorate([
|
|
@@ -2249,6 +2318,30 @@ __decorate([
|
|
|
2249
2318
|
Field(() => Float, { nullable: true }),
|
|
2250
2319
|
__metadata("design:type", Number)
|
|
2251
2320
|
], UpdateAIAgentRunInput.prototype, "TotalCostRollup", void 0);
|
|
2321
|
+
__decorate([
|
|
2322
|
+
Field({ nullable: true }),
|
|
2323
|
+
__metadata("design:type", String)
|
|
2324
|
+
], UpdateAIAgentRunInput.prototype, "ConversationDetailID", void 0);
|
|
2325
|
+
__decorate([
|
|
2326
|
+
Field(() => Int, { nullable: true }),
|
|
2327
|
+
__metadata("design:type", Number)
|
|
2328
|
+
], UpdateAIAgentRunInput.prototype, "ConversationDetailSequence", void 0);
|
|
2329
|
+
__decorate([
|
|
2330
|
+
Field({ nullable: true }),
|
|
2331
|
+
__metadata("design:type", String)
|
|
2332
|
+
], UpdateAIAgentRunInput.prototype, "CancellationReason", void 0);
|
|
2333
|
+
__decorate([
|
|
2334
|
+
Field({ nullable: true }),
|
|
2335
|
+
__metadata("design:type", String)
|
|
2336
|
+
], UpdateAIAgentRunInput.prototype, "FinalStep", void 0);
|
|
2337
|
+
__decorate([
|
|
2338
|
+
Field({ nullable: true }),
|
|
2339
|
+
__metadata("design:type", String)
|
|
2340
|
+
], UpdateAIAgentRunInput.prototype, "FinalPayload", void 0);
|
|
2341
|
+
__decorate([
|
|
2342
|
+
Field({ nullable: true }),
|
|
2343
|
+
__metadata("design:type", String)
|
|
2344
|
+
], UpdateAIAgentRunInput.prototype, "Message", void 0);
|
|
2252
2345
|
__decorate([
|
|
2253
2346
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
2254
2347
|
__metadata("design:type", Array)
|
|
@@ -3244,6 +3337,8 @@ let AIAgent_ = class AIAgent_ {
|
|
|
3244
3337
|
DriverClass;
|
|
3245
3338
|
IconClass;
|
|
3246
3339
|
ModelSelectionMode;
|
|
3340
|
+
PayloadDownstreamPaths;
|
|
3341
|
+
PayloadUpstreamPaths;
|
|
3247
3342
|
Parent;
|
|
3248
3343
|
ContextCompressionPrompt;
|
|
3249
3344
|
Type;
|
|
@@ -3347,6 +3442,14 @@ __decorate([
|
|
|
3347
3442
|
MaxLength(100),
|
|
3348
3443
|
__metadata("design:type", String)
|
|
3349
3444
|
], AIAgent_.prototype, "ModelSelectionMode", void 0);
|
|
3445
|
+
__decorate([
|
|
3446
|
+
Field({ description: `JSON array of paths that define which parts of the payload should be sent downstream to sub-agents. Use ["*"] to send entire payload, or specify paths like ["customer.id", "campaign.*", "analysis.sentiment"]` }),
|
|
3447
|
+
__metadata("design:type", String)
|
|
3448
|
+
], AIAgent_.prototype, "PayloadDownstreamPaths", void 0);
|
|
3449
|
+
__decorate([
|
|
3450
|
+
Field({ description: `JSON array of paths that define which parts of the payload sub-agents are allowed to write back upstream. Use ["*"] to allow all writes, or specify paths like ["analysis.results", "recommendations.*"]` }),
|
|
3451
|
+
__metadata("design:type", String)
|
|
3452
|
+
], AIAgent_.prototype, "PayloadUpstreamPaths", void 0);
|
|
3350
3453
|
__decorate([
|
|
3351
3454
|
Field({ nullable: true }),
|
|
3352
3455
|
MaxLength(510),
|
|
@@ -3424,6 +3527,8 @@ let CreateAIAgentInput = class CreateAIAgentInput {
|
|
|
3424
3527
|
DriverClass;
|
|
3425
3528
|
IconClass;
|
|
3426
3529
|
ModelSelectionMode;
|
|
3530
|
+
PayloadDownstreamPaths;
|
|
3531
|
+
PayloadUpstreamPaths;
|
|
3427
3532
|
};
|
|
3428
3533
|
__decorate([
|
|
3429
3534
|
Field({ nullable: true }),
|
|
@@ -3493,6 +3598,14 @@ __decorate([
|
|
|
3493
3598
|
Field({ nullable: true }),
|
|
3494
3599
|
__metadata("design:type", String)
|
|
3495
3600
|
], CreateAIAgentInput.prototype, "ModelSelectionMode", void 0);
|
|
3601
|
+
__decorate([
|
|
3602
|
+
Field({ nullable: true }),
|
|
3603
|
+
__metadata("design:type", String)
|
|
3604
|
+
], CreateAIAgentInput.prototype, "PayloadDownstreamPaths", void 0);
|
|
3605
|
+
__decorate([
|
|
3606
|
+
Field({ nullable: true }),
|
|
3607
|
+
__metadata("design:type", String)
|
|
3608
|
+
], CreateAIAgentInput.prototype, "PayloadUpstreamPaths", void 0);
|
|
3496
3609
|
CreateAIAgentInput = __decorate([
|
|
3497
3610
|
InputType()
|
|
3498
3611
|
], CreateAIAgentInput);
|
|
@@ -3515,6 +3628,8 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
|
|
|
3515
3628
|
DriverClass;
|
|
3516
3629
|
IconClass;
|
|
3517
3630
|
ModelSelectionMode;
|
|
3631
|
+
PayloadDownstreamPaths;
|
|
3632
|
+
PayloadUpstreamPaths;
|
|
3518
3633
|
OldValues___;
|
|
3519
3634
|
};
|
|
3520
3635
|
__decorate([
|
|
@@ -3585,6 +3700,14 @@ __decorate([
|
|
|
3585
3700
|
Field({ nullable: true }),
|
|
3586
3701
|
__metadata("design:type", String)
|
|
3587
3702
|
], UpdateAIAgentInput.prototype, "ModelSelectionMode", void 0);
|
|
3703
|
+
__decorate([
|
|
3704
|
+
Field({ nullable: true }),
|
|
3705
|
+
__metadata("design:type", String)
|
|
3706
|
+
], UpdateAIAgentInput.prototype, "PayloadDownstreamPaths", void 0);
|
|
3707
|
+
__decorate([
|
|
3708
|
+
Field({ nullable: true }),
|
|
3709
|
+
__metadata("design:type", String)
|
|
3710
|
+
], UpdateAIAgentInput.prototype, "PayloadUpstreamPaths", void 0);
|
|
3588
3711
|
__decorate([
|
|
3589
3712
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
3590
3713
|
__metadata("design:type", Array)
|
|
@@ -8968,6 +9091,7 @@ let EmployeeCompanyIntegration_ = class EmployeeCompanyIntegration_ {
|
|
|
8968
9091
|
IsActive;
|
|
8969
9092
|
_mj__CreatedAt;
|
|
8970
9093
|
_mj__UpdatedAt;
|
|
9094
|
+
CompanyIntegration;
|
|
8971
9095
|
};
|
|
8972
9096
|
__decorate([
|
|
8973
9097
|
Field(),
|
|
@@ -9003,6 +9127,11 @@ __decorate([
|
|
|
9003
9127
|
MaxLength(10),
|
|
9004
9128
|
__metadata("design:type", Date)
|
|
9005
9129
|
], EmployeeCompanyIntegration_.prototype, "_mj__UpdatedAt", void 0);
|
|
9130
|
+
__decorate([
|
|
9131
|
+
Field(),
|
|
9132
|
+
MaxLength(510),
|
|
9133
|
+
__metadata("design:type", String)
|
|
9134
|
+
], EmployeeCompanyIntegration_.prototype, "CompanyIntegration", void 0);
|
|
9006
9135
|
EmployeeCompanyIntegration_ = __decorate([
|
|
9007
9136
|
ObjectType()
|
|
9008
9137
|
], EmployeeCompanyIntegration_);
|
|
@@ -11085,6 +11214,7 @@ let CompanyIntegration_ = class CompanyIntegration_ {
|
|
|
11085
11214
|
CustomAttribute1;
|
|
11086
11215
|
_mj__CreatedAt;
|
|
11087
11216
|
_mj__UpdatedAt;
|
|
11217
|
+
Name;
|
|
11088
11218
|
Company;
|
|
11089
11219
|
Integration;
|
|
11090
11220
|
DriverClassName;
|
|
@@ -11170,6 +11300,11 @@ __decorate([
|
|
|
11170
11300
|
MaxLength(10),
|
|
11171
11301
|
__metadata("design:type", Date)
|
|
11172
11302
|
], CompanyIntegration_.prototype, "_mj__UpdatedAt", void 0);
|
|
11303
|
+
__decorate([
|
|
11304
|
+
Field({ description: `User-friendly name for the company integration instance, typically in the format "Company: Integration".` }),
|
|
11305
|
+
MaxLength(510),
|
|
11306
|
+
__metadata("design:type", String)
|
|
11307
|
+
], CompanyIntegration_.prototype, "Name", void 0);
|
|
11173
11308
|
__decorate([
|
|
11174
11309
|
Field(),
|
|
11175
11310
|
MaxLength(100),
|
|
@@ -11239,6 +11374,7 @@ let CreateCompanyIntegrationInput = class CreateCompanyIntegrationInput {
|
|
|
11239
11374
|
ClientID;
|
|
11240
11375
|
ClientSecret;
|
|
11241
11376
|
CustomAttribute1;
|
|
11377
|
+
Name;
|
|
11242
11378
|
};
|
|
11243
11379
|
__decorate([
|
|
11244
11380
|
Field({ nullable: true }),
|
|
@@ -11292,6 +11428,10 @@ __decorate([
|
|
|
11292
11428
|
Field({ nullable: true }),
|
|
11293
11429
|
__metadata("design:type", String)
|
|
11294
11430
|
], CreateCompanyIntegrationInput.prototype, "CustomAttribute1", void 0);
|
|
11431
|
+
__decorate([
|
|
11432
|
+
Field({ nullable: true }),
|
|
11433
|
+
__metadata("design:type", String)
|
|
11434
|
+
], CreateCompanyIntegrationInput.prototype, "Name", void 0);
|
|
11295
11435
|
CreateCompanyIntegrationInput = __decorate([
|
|
11296
11436
|
InputType()
|
|
11297
11437
|
], CreateCompanyIntegrationInput);
|
|
@@ -11310,6 +11450,7 @@ let UpdateCompanyIntegrationInput = class UpdateCompanyIntegrationInput {
|
|
|
11310
11450
|
ClientID;
|
|
11311
11451
|
ClientSecret;
|
|
11312
11452
|
CustomAttribute1;
|
|
11453
|
+
Name;
|
|
11313
11454
|
OldValues___;
|
|
11314
11455
|
};
|
|
11315
11456
|
__decorate([
|
|
@@ -11364,6 +11505,10 @@ __decorate([
|
|
|
11364
11505
|
Field({ nullable: true }),
|
|
11365
11506
|
__metadata("design:type", String)
|
|
11366
11507
|
], UpdateCompanyIntegrationInput.prototype, "CustomAttribute1", void 0);
|
|
11508
|
+
__decorate([
|
|
11509
|
+
Field({ nullable: true }),
|
|
11510
|
+
__metadata("design:type", String)
|
|
11511
|
+
], UpdateCompanyIntegrationInput.prototype, "Name", void 0);
|
|
11367
11512
|
__decorate([
|
|
11368
11513
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
11369
11514
|
__metadata("design:type", Array)
|
|
@@ -20138,6 +20283,7 @@ let List_ = class List_ {
|
|
|
20138
20283
|
Entity;
|
|
20139
20284
|
User;
|
|
20140
20285
|
Category;
|
|
20286
|
+
CompanyIntegration;
|
|
20141
20287
|
ListDetails_ListIDArray;
|
|
20142
20288
|
DuplicateRuns_SourceListIDArray;
|
|
20143
20289
|
};
|
|
@@ -20205,6 +20351,11 @@ __decorate([
|
|
|
20205
20351
|
MaxLength(200),
|
|
20206
20352
|
__metadata("design:type", String)
|
|
20207
20353
|
], List_.prototype, "Category", void 0);
|
|
20354
|
+
__decorate([
|
|
20355
|
+
Field({ nullable: true }),
|
|
20356
|
+
MaxLength(510),
|
|
20357
|
+
__metadata("design:type", String)
|
|
20358
|
+
], List_.prototype, "CompanyIntegration", void 0);
|
|
20208
20359
|
__decorate([
|
|
20209
20360
|
Field(() => [ListDetail_]),
|
|
20210
20361
|
__metadata("design:type", Array)
|
|
@@ -32135,6 +32286,7 @@ let ConversationDetail_ = class ConversationDetail_ {
|
|
|
32135
32286
|
User;
|
|
32136
32287
|
Artifact;
|
|
32137
32288
|
Reports_ConversationDetailIDArray;
|
|
32289
|
+
MJ_AIAgentRuns_ConversationDetailIDArray;
|
|
32138
32290
|
};
|
|
32139
32291
|
__decorate([
|
|
32140
32292
|
Field(),
|
|
@@ -32232,6 +32384,10 @@ __decorate([
|
|
|
32232
32384
|
Field(() => [Report_]),
|
|
32233
32385
|
__metadata("design:type", Array)
|
|
32234
32386
|
], ConversationDetail_.prototype, "Reports_ConversationDetailIDArray", void 0);
|
|
32387
|
+
__decorate([
|
|
32388
|
+
Field(() => [AIAgentRun_]),
|
|
32389
|
+
__metadata("design:type", Array)
|
|
32390
|
+
], ConversationDetail_.prototype, "MJ_AIAgentRuns_ConversationDetailIDArray", void 0);
|
|
32235
32391
|
ConversationDetail_ = __decorate([
|
|
32236
32392
|
ObjectType()
|
|
32237
32393
|
], ConversationDetail_);
|
|
@@ -32474,6 +32630,14 @@ let ConversationDetailResolver = class ConversationDetailResolver extends Resolv
|
|
|
32474
32630
|
const result = this.ArrayMapFieldNamesToCodeNames('Reports', rows);
|
|
32475
32631
|
return result;
|
|
32476
32632
|
}
|
|
32633
|
+
async MJ_AIAgentRuns_ConversationDetailIDArray(conversationdetail_, { dataSources, userPayload }, pubSub) {
|
|
32634
|
+
this.CheckUserReadPermissions('MJ: AI Agent Runs', userPayload);
|
|
32635
|
+
const connPool = GetReadOnlyDataSource(dataSources, { allowFallbackToReadWrite: true });
|
|
32636
|
+
const sSQL = `SELECT * FROM [${Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwAIAgentRuns] WHERE [ConversationDetailID]='${conversationdetail_.ID}' ` + this.getRowLevelSecurityWhereClause('MJ: AI Agent Runs', userPayload, EntityPermissionType.Read, 'AND');
|
|
32637
|
+
const rows = await SQLServerDataProvider.ExecuteSQLWithPool(connPool, sSQL, undefined, this.GetUserFromPayload(userPayload));
|
|
32638
|
+
const result = this.ArrayMapFieldNamesToCodeNames('MJ: AI Agent Runs', rows);
|
|
32639
|
+
return result;
|
|
32640
|
+
}
|
|
32477
32641
|
async CreateConversationDetail(input, { dataSources, userPayload }, pubSub) {
|
|
32478
32642
|
const connPool = GetReadWriteDataSource(dataSources);
|
|
32479
32643
|
return this.CreateRecord('Conversation Details', input, connPool, userPayload, pubSub);
|
|
@@ -32533,6 +32697,15 @@ __decorate([
|
|
|
32533
32697
|
__metadata("design:paramtypes", [ConversationDetail_, Object, PubSubEngine]),
|
|
32534
32698
|
__metadata("design:returntype", Promise)
|
|
32535
32699
|
], ConversationDetailResolver.prototype, "Reports_ConversationDetailIDArray", null);
|
|
32700
|
+
__decorate([
|
|
32701
|
+
FieldResolver(() => [AIAgentRun_]),
|
|
32702
|
+
__param(0, Root()),
|
|
32703
|
+
__param(1, Ctx()),
|
|
32704
|
+
__param(2, PubSub()),
|
|
32705
|
+
__metadata("design:type", Function),
|
|
32706
|
+
__metadata("design:paramtypes", [ConversationDetail_, Object, PubSubEngine]),
|
|
32707
|
+
__metadata("design:returntype", Promise)
|
|
32708
|
+
], ConversationDetailResolver.prototype, "MJ_AIAgentRuns_ConversationDetailIDArray", null);
|
|
32536
32709
|
__decorate([
|
|
32537
32710
|
Mutation(() => ConversationDetail_),
|
|
32538
32711
|
__param(0, Arg('input', () => CreateConversationDetailInput)),
|
|
@@ -33623,6 +33796,7 @@ let CompanyIntegrationRecordMap_ = class CompanyIntegrationRecordMap_ {
|
|
|
33623
33796
|
EntityRecordID;
|
|
33624
33797
|
_mj__CreatedAt;
|
|
33625
33798
|
_mj__UpdatedAt;
|
|
33799
|
+
CompanyIntegration;
|
|
33626
33800
|
Entity;
|
|
33627
33801
|
};
|
|
33628
33802
|
__decorate([
|
|
@@ -33660,6 +33834,11 @@ __decorate([
|
|
|
33660
33834
|
MaxLength(10),
|
|
33661
33835
|
__metadata("design:type", Date)
|
|
33662
33836
|
], CompanyIntegrationRecordMap_.prototype, "_mj__UpdatedAt", void 0);
|
|
33837
|
+
__decorate([
|
|
33838
|
+
Field(),
|
|
33839
|
+
MaxLength(510),
|
|
33840
|
+
__metadata("design:type", String)
|
|
33841
|
+
], CompanyIntegrationRecordMap_.prototype, "CompanyIntegration", void 0);
|
|
33663
33842
|
__decorate([
|
|
33664
33843
|
Field(),
|
|
33665
33844
|
MaxLength(510),
|
|
@@ -62958,6 +63137,8 @@ let AIAgentRunStep_ = class AIAgentRunStep_ {
|
|
|
62958
63137
|
_mj__CreatedAt;
|
|
62959
63138
|
_mj__UpdatedAt;
|
|
62960
63139
|
TargetLogID;
|
|
63140
|
+
PayloadAtStart;
|
|
63141
|
+
PayloadAtEnd;
|
|
62961
63142
|
};
|
|
62962
63143
|
__decorate([
|
|
62963
63144
|
Field({ description: `Unique identifier for this execution step` }),
|
|
@@ -62974,7 +63155,7 @@ __decorate([
|
|
|
62974
63155
|
__metadata("design:type", Number)
|
|
62975
63156
|
], AIAgentRunStep_.prototype, "StepNumber", void 0);
|
|
62976
63157
|
__decorate([
|
|
62977
|
-
Field({ description: `Type of execution step:
|
|
63158
|
+
Field({ description: `Type of execution step: Prompt, Actions, Sub-Agent, Decision, Chat, Validation` }),
|
|
62978
63159
|
MaxLength(100),
|
|
62979
63160
|
__metadata("design:type", String)
|
|
62980
63161
|
], AIAgentRunStep_.prototype, "StepType", void 0);
|
|
@@ -63034,6 +63215,14 @@ __decorate([
|
|
|
63034
63215
|
MaxLength(16),
|
|
63035
63216
|
__metadata("design:type", String)
|
|
63036
63217
|
], AIAgentRunStep_.prototype, "TargetLogID", void 0);
|
|
63218
|
+
__decorate([
|
|
63219
|
+
Field({ nullable: true, description: `JSON serialization of the Payload state at the start of this step` }),
|
|
63220
|
+
__metadata("design:type", String)
|
|
63221
|
+
], AIAgentRunStep_.prototype, "PayloadAtStart", void 0);
|
|
63222
|
+
__decorate([
|
|
63223
|
+
Field({ nullable: true, description: `JSON serialization of the Payload state at the end of this step` }),
|
|
63224
|
+
__metadata("design:type", String)
|
|
63225
|
+
], AIAgentRunStep_.prototype, "PayloadAtEnd", void 0);
|
|
63037
63226
|
AIAgentRunStep_ = __decorate([
|
|
63038
63227
|
ObjectType()
|
|
63039
63228
|
], AIAgentRunStep_);
|
|
@@ -63053,6 +63242,8 @@ let CreateAIAgentRunStepInput = class CreateAIAgentRunStepInput {
|
|
|
63053
63242
|
InputData;
|
|
63054
63243
|
OutputData;
|
|
63055
63244
|
TargetLogID;
|
|
63245
|
+
PayloadAtStart;
|
|
63246
|
+
PayloadAtEnd;
|
|
63056
63247
|
};
|
|
63057
63248
|
__decorate([
|
|
63058
63249
|
Field({ nullable: true }),
|
|
@@ -63110,6 +63301,14 @@ __decorate([
|
|
|
63110
63301
|
Field({ nullable: true }),
|
|
63111
63302
|
__metadata("design:type", String)
|
|
63112
63303
|
], CreateAIAgentRunStepInput.prototype, "TargetLogID", void 0);
|
|
63304
|
+
__decorate([
|
|
63305
|
+
Field({ nullable: true }),
|
|
63306
|
+
__metadata("design:type", String)
|
|
63307
|
+
], CreateAIAgentRunStepInput.prototype, "PayloadAtStart", void 0);
|
|
63308
|
+
__decorate([
|
|
63309
|
+
Field({ nullable: true }),
|
|
63310
|
+
__metadata("design:type", String)
|
|
63311
|
+
], CreateAIAgentRunStepInput.prototype, "PayloadAtEnd", void 0);
|
|
63113
63312
|
CreateAIAgentRunStepInput = __decorate([
|
|
63114
63313
|
InputType()
|
|
63115
63314
|
], CreateAIAgentRunStepInput);
|
|
@@ -63129,6 +63328,8 @@ let UpdateAIAgentRunStepInput = class UpdateAIAgentRunStepInput {
|
|
|
63129
63328
|
InputData;
|
|
63130
63329
|
OutputData;
|
|
63131
63330
|
TargetLogID;
|
|
63331
|
+
PayloadAtStart;
|
|
63332
|
+
PayloadAtEnd;
|
|
63132
63333
|
OldValues___;
|
|
63133
63334
|
};
|
|
63134
63335
|
__decorate([
|
|
@@ -63187,6 +63388,14 @@ __decorate([
|
|
|
63187
63388
|
Field({ nullable: true }),
|
|
63188
63389
|
__metadata("design:type", String)
|
|
63189
63390
|
], UpdateAIAgentRunStepInput.prototype, "TargetLogID", void 0);
|
|
63391
|
+
__decorate([
|
|
63392
|
+
Field({ nullable: true }),
|
|
63393
|
+
__metadata("design:type", String)
|
|
63394
|
+
], UpdateAIAgentRunStepInput.prototype, "PayloadAtStart", void 0);
|
|
63395
|
+
__decorate([
|
|
63396
|
+
Field({ nullable: true }),
|
|
63397
|
+
__metadata("design:type", String)
|
|
63398
|
+
], UpdateAIAgentRunStepInput.prototype, "PayloadAtEnd", void 0);
|
|
63190
63399
|
__decorate([
|
|
63191
63400
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
63192
63401
|
__metadata("design:type", Array)
|