@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
|
@@ -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 {
|
|
@@ -1427,6 +1451,7 @@ export declare class EmployeeCompanyIntegration_ {
|
|
|
1427
1451
|
IsActive: boolean;
|
|
1428
1452
|
_mj__CreatedAt: Date;
|
|
1429
1453
|
_mj__UpdatedAt: Date;
|
|
1454
|
+
CompanyIntegration: string;
|
|
1430
1455
|
}
|
|
1431
1456
|
export declare class CreateEmployeeCompanyIntegrationInput {
|
|
1432
1457
|
ID?: string;
|
|
@@ -1752,6 +1777,7 @@ export declare class CompanyIntegration_ {
|
|
|
1752
1777
|
CustomAttribute1?: string;
|
|
1753
1778
|
_mj__CreatedAt: Date;
|
|
1754
1779
|
_mj__UpdatedAt: Date;
|
|
1780
|
+
Name: string;
|
|
1755
1781
|
Company: string;
|
|
1756
1782
|
Integration: string;
|
|
1757
1783
|
DriverClassName?: string;
|
|
@@ -1778,6 +1804,7 @@ export declare class CreateCompanyIntegrationInput {
|
|
|
1778
1804
|
ClientID: string | null;
|
|
1779
1805
|
ClientSecret: string | null;
|
|
1780
1806
|
CustomAttribute1: string | null;
|
|
1807
|
+
Name?: string;
|
|
1781
1808
|
}
|
|
1782
1809
|
export declare class UpdateCompanyIntegrationInput {
|
|
1783
1810
|
ID: string;
|
|
@@ -1793,6 +1820,7 @@ export declare class UpdateCompanyIntegrationInput {
|
|
|
1793
1820
|
ClientID?: string | null;
|
|
1794
1821
|
ClientSecret?: string | null;
|
|
1795
1822
|
CustomAttribute1?: string | null;
|
|
1823
|
+
Name?: string;
|
|
1796
1824
|
OldValues___?: KeyValuePairInput[];
|
|
1797
1825
|
}
|
|
1798
1826
|
export declare class RunCompanyIntegrationViewResult {
|
|
@@ -3129,6 +3157,7 @@ export declare class List_ {
|
|
|
3129
3157
|
Entity: string;
|
|
3130
3158
|
User: string;
|
|
3131
3159
|
Category?: string;
|
|
3160
|
+
CompanyIntegration?: string;
|
|
3132
3161
|
ListDetails_ListIDArray: ListDetail_[];
|
|
3133
3162
|
DuplicateRuns_SourceListIDArray: DuplicateRun_[];
|
|
3134
3163
|
}
|
|
@@ -5021,6 +5050,7 @@ export declare class ConversationDetail_ {
|
|
|
5021
5050
|
User?: string;
|
|
5022
5051
|
Artifact?: string;
|
|
5023
5052
|
Reports_ConversationDetailIDArray: Report_[];
|
|
5053
|
+
MJ_AIAgentRuns_ConversationDetailIDArray: AIAgentRun_[];
|
|
5024
5054
|
}
|
|
5025
5055
|
export declare class CreateConversationDetailInput {
|
|
5026
5056
|
ID?: string;
|
|
@@ -5072,6 +5102,7 @@ export declare class ConversationDetailResolver extends ResolverBase {
|
|
|
5072
5102
|
RunConversationDetailDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5073
5103
|
ConversationDetail(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<ConversationDetail_ | null>;
|
|
5074
5104
|
Reports_ConversationDetailIDArray(conversationdetail_: ConversationDetail_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5105
|
+
MJ_AIAgentRuns_ConversationDetailIDArray(conversationdetail_: ConversationDetail_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5075
5106
|
CreateConversationDetail(input: CreateConversationDetailInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5076
5107
|
UpdateConversationDetail(input: UpdateConversationDetailInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5077
5108
|
DeleteConversationDetail(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5253,6 +5284,7 @@ export declare class CompanyIntegrationRecordMap_ {
|
|
|
5253
5284
|
EntityRecordID: string;
|
|
5254
5285
|
_mj__CreatedAt: Date;
|
|
5255
5286
|
_mj__UpdatedAt: Date;
|
|
5287
|
+
CompanyIntegration: string;
|
|
5256
5288
|
Entity: string;
|
|
5257
5289
|
}
|
|
5258
5290
|
export declare class CreateCompanyIntegrationRecordMapInput {
|
|
@@ -9960,6 +9992,8 @@ export declare class AIAgentRunStep_ {
|
|
|
9960
9992
|
_mj__CreatedAt: Date;
|
|
9961
9993
|
_mj__UpdatedAt: Date;
|
|
9962
9994
|
TargetLogID?: string;
|
|
9995
|
+
PayloadAtStart?: string;
|
|
9996
|
+
PayloadAtEnd?: string;
|
|
9963
9997
|
}
|
|
9964
9998
|
export declare class CreateAIAgentRunStepInput {
|
|
9965
9999
|
ID?: string;
|
|
@@ -9976,6 +10010,8 @@ export declare class CreateAIAgentRunStepInput {
|
|
|
9976
10010
|
InputData: string | null;
|
|
9977
10011
|
OutputData: string | null;
|
|
9978
10012
|
TargetLogID: string | null;
|
|
10013
|
+
PayloadAtStart: string | null;
|
|
10014
|
+
PayloadAtEnd: string | null;
|
|
9979
10015
|
}
|
|
9980
10016
|
export declare class UpdateAIAgentRunStepInput {
|
|
9981
10017
|
ID: string;
|
|
@@ -9992,6 +10028,8 @@ export declare class UpdateAIAgentRunStepInput {
|
|
|
9992
10028
|
InputData?: string | null;
|
|
9993
10029
|
OutputData?: string | null;
|
|
9994
10030
|
TargetLogID?: string | null;
|
|
10031
|
+
PayloadAtStart?: string | null;
|
|
10032
|
+
PayloadAtEnd?: string | null;
|
|
9995
10033
|
OldValues___?: KeyValuePairInput[];
|
|
9996
10034
|
}
|
|
9997
10035
|
export declare class RunAIAgentRunStepViewResult {
|