@memberjunction/server 2.58.0 → 2.60.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 +32 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +176 -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 +107 -1
- package/src/resolvers/RunAIAgentResolver.ts +56 -87
|
@@ -325,6 +325,12 @@ export declare class AIAgentRun_ {
|
|
|
325
325
|
TotalPromptTokensUsedRollup?: number;
|
|
326
326
|
TotalCompletionTokensUsedRollup?: number;
|
|
327
327
|
TotalCostRollup?: number;
|
|
328
|
+
ConversationDetailID?: string;
|
|
329
|
+
ConversationDetailSequence?: number;
|
|
330
|
+
CancellationReason?: string;
|
|
331
|
+
FinalStep?: string;
|
|
332
|
+
FinalPayload?: string;
|
|
333
|
+
Message?: string;
|
|
328
334
|
Agent?: string;
|
|
329
335
|
Conversation?: string;
|
|
330
336
|
User?: string;
|
|
@@ -353,6 +359,12 @@ export declare class CreateAIAgentRunInput {
|
|
|
353
359
|
TotalPromptTokensUsedRollup: number | null;
|
|
354
360
|
TotalCompletionTokensUsedRollup: number | null;
|
|
355
361
|
TotalCostRollup: number | null;
|
|
362
|
+
ConversationDetailID: string | null;
|
|
363
|
+
ConversationDetailSequence: number | null;
|
|
364
|
+
CancellationReason: string | null;
|
|
365
|
+
FinalStep: string | null;
|
|
366
|
+
FinalPayload: string | null;
|
|
367
|
+
Message: string | null;
|
|
356
368
|
}
|
|
357
369
|
export declare class UpdateAIAgentRunInput {
|
|
358
370
|
ID: string;
|
|
@@ -375,6 +387,12 @@ export declare class UpdateAIAgentRunInput {
|
|
|
375
387
|
TotalPromptTokensUsedRollup?: number | null;
|
|
376
388
|
TotalCompletionTokensUsedRollup?: number | null;
|
|
377
389
|
TotalCostRollup?: number | null;
|
|
390
|
+
ConversationDetailID?: string | null;
|
|
391
|
+
ConversationDetailSequence?: number | null;
|
|
392
|
+
CancellationReason?: string | null;
|
|
393
|
+
FinalStep?: string | null;
|
|
394
|
+
FinalPayload?: string | null;
|
|
395
|
+
Message?: string | null;
|
|
378
396
|
OldValues___?: KeyValuePairInput[];
|
|
379
397
|
}
|
|
380
398
|
export declare class RunAIAgentRunViewResult {
|
|
@@ -526,6 +544,8 @@ export declare class AIAgent_ {
|
|
|
526
544
|
DriverClass?: string;
|
|
527
545
|
IconClass?: string;
|
|
528
546
|
ModelSelectionMode: string;
|
|
547
|
+
PayloadDownstreamPaths: string;
|
|
548
|
+
PayloadUpstreamPaths: string;
|
|
529
549
|
Parent?: string;
|
|
530
550
|
ContextCompressionPrompt?: string;
|
|
531
551
|
Type?: string;
|
|
@@ -558,6 +578,8 @@ export declare class CreateAIAgentInput {
|
|
|
558
578
|
DriverClass: string | null;
|
|
559
579
|
IconClass: string | null;
|
|
560
580
|
ModelSelectionMode?: string;
|
|
581
|
+
PayloadDownstreamPaths?: string;
|
|
582
|
+
PayloadUpstreamPaths?: string;
|
|
561
583
|
}
|
|
562
584
|
export declare class UpdateAIAgentInput {
|
|
563
585
|
ID: string;
|
|
@@ -577,6 +599,8 @@ export declare class UpdateAIAgentInput {
|
|
|
577
599
|
DriverClass?: string | null;
|
|
578
600
|
IconClass?: string | null;
|
|
579
601
|
ModelSelectionMode?: string;
|
|
602
|
+
PayloadDownstreamPaths?: string;
|
|
603
|
+
PayloadUpstreamPaths?: string;
|
|
580
604
|
OldValues___?: KeyValuePairInput[];
|
|
581
605
|
}
|
|
582
606
|
export declare class RunAIAgentViewResult {
|
|
@@ -5021,6 +5045,7 @@ export declare class ConversationDetail_ {
|
|
|
5021
5045
|
User?: string;
|
|
5022
5046
|
Artifact?: string;
|
|
5023
5047
|
Reports_ConversationDetailIDArray: Report_[];
|
|
5048
|
+
MJ_AIAgentRuns_ConversationDetailIDArray: AIAgentRun_[];
|
|
5024
5049
|
}
|
|
5025
5050
|
export declare class CreateConversationDetailInput {
|
|
5026
5051
|
ID?: string;
|
|
@@ -5072,6 +5097,7 @@ export declare class ConversationDetailResolver extends ResolverBase {
|
|
|
5072
5097
|
RunConversationDetailDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5073
5098
|
ConversationDetail(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<ConversationDetail_ | null>;
|
|
5074
5099
|
Reports_ConversationDetailIDArray(conversationdetail_: ConversationDetail_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5100
|
+
MJ_AIAgentRuns_ConversationDetailIDArray(conversationdetail_: ConversationDetail_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5075
5101
|
CreateConversationDetail(input: CreateConversationDetailInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5076
5102
|
UpdateConversationDetail(input: UpdateConversationDetailInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5077
5103
|
DeleteConversationDetail(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -9960,6 +9986,8 @@ export declare class AIAgentRunStep_ {
|
|
|
9960
9986
|
_mj__CreatedAt: Date;
|
|
9961
9987
|
_mj__UpdatedAt: Date;
|
|
9962
9988
|
TargetLogID?: string;
|
|
9989
|
+
PayloadAtStart?: string;
|
|
9990
|
+
PayloadAtEnd?: string;
|
|
9963
9991
|
}
|
|
9964
9992
|
export declare class CreateAIAgentRunStepInput {
|
|
9965
9993
|
ID?: string;
|
|
@@ -9976,6 +10004,8 @@ export declare class CreateAIAgentRunStepInput {
|
|
|
9976
10004
|
InputData: string | null;
|
|
9977
10005
|
OutputData: string | null;
|
|
9978
10006
|
TargetLogID: string | null;
|
|
10007
|
+
PayloadAtStart: string | null;
|
|
10008
|
+
PayloadAtEnd: string | null;
|
|
9979
10009
|
}
|
|
9980
10010
|
export declare class UpdateAIAgentRunStepInput {
|
|
9981
10011
|
ID: string;
|
|
@@ -9992,6 +10022,8 @@ export declare class UpdateAIAgentRunStepInput {
|
|
|
9992
10022
|
InputData?: string | null;
|
|
9993
10023
|
OutputData?: string | null;
|
|
9994
10024
|
TargetLogID?: string | null;
|
|
10025
|
+
PayloadAtStart?: string | null;
|
|
10026
|
+
PayloadAtEnd?: string | null;
|
|
9995
10027
|
OldValues___?: KeyValuePairInput[];
|
|
9996
10028
|
}
|
|
9997
10029
|
export declare class RunAIAgentRunStepViewResult {
|