@memberjunction/server 2.43.0 → 2.45.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/README.md +228 -2
- package/dist/generated/generated.d.ts +227 -5
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +1409 -29
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/resolvers/AskSkipResolver.d.ts +1 -1
- package/dist/resolvers/AskSkipResolver.d.ts.map +1 -1
- package/dist/resolvers/AskSkipResolver.js +79 -48
- package/dist/resolvers/AskSkipResolver.js.map +1 -1
- package/dist/resolvers/ReportResolver.d.ts.map +1 -1
- package/dist/resolvers/ReportResolver.js +2 -1
- package/dist/resolvers/ReportResolver.js.map +1 -1
- package/dist/resolvers/RunAIPromptResolver.d.ts +19 -0
- package/dist/resolvers/RunAIPromptResolver.d.ts.map +1 -0
- package/dist/resolvers/RunAIPromptResolver.js +188 -0
- package/dist/resolvers/RunAIPromptResolver.js.map +1 -0
- package/dist/resolvers/RunTemplateResolver.d.ts +14 -0
- package/dist/resolvers/RunTemplateResolver.d.ts.map +1 -0
- package/dist/resolvers/RunTemplateResolver.js +138 -0
- package/dist/resolvers/RunTemplateResolver.js.map +1 -0
- package/package.json +23 -22
- package/src/generated/generated.ts +880 -21
- package/src/generic/ResolverBase.ts +2 -1
- package/src/index.ts +2 -0
- package/src/resolvers/AskSkipResolver.ts +120 -76
- package/src/resolvers/ReportResolver.ts +4 -1
- package/src/resolvers/RunAIPromptResolver.ts +169 -0
- package/src/resolvers/RunTemplateResolver.ts +130 -0
|
@@ -296,6 +296,80 @@ export declare class AIAgentNoteTypeResolver extends ResolverBase {
|
|
|
296
296
|
UpdateAIAgentNoteType(input: UpdateAIAgentNoteTypeInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
297
297
|
DeleteAIAgentNoteType(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
298
298
|
}
|
|
299
|
+
export declare class AIAgentRun_ {
|
|
300
|
+
ID: string;
|
|
301
|
+
AgentID: string;
|
|
302
|
+
ParentRunID?: string;
|
|
303
|
+
Status: string;
|
|
304
|
+
StartedAt: Date;
|
|
305
|
+
CompletedAt?: Date;
|
|
306
|
+
Success?: boolean;
|
|
307
|
+
ErrorMessage?: string;
|
|
308
|
+
ConversationID?: string;
|
|
309
|
+
UserID?: string;
|
|
310
|
+
Result?: string;
|
|
311
|
+
AgentState?: string;
|
|
312
|
+
TotalTokensUsed?: number;
|
|
313
|
+
TotalCost?: number;
|
|
314
|
+
_mj__CreatedAt: Date;
|
|
315
|
+
_mj__UpdatedAt: Date;
|
|
316
|
+
MJ_AIAgentRunSteps_AgentRunIDArray: AIAgentRunStep_[];
|
|
317
|
+
MJ_AIAgentRuns_ParentRunIDArray: AIAgentRun_[];
|
|
318
|
+
MJ_AIPromptRuns_AgentRunIDArray: AIPromptRun_[];
|
|
319
|
+
}
|
|
320
|
+
export declare class CreateAIAgentRunInput {
|
|
321
|
+
AgentID?: string;
|
|
322
|
+
ParentRunID: string | null;
|
|
323
|
+
Status?: string;
|
|
324
|
+
StartedAt?: Date;
|
|
325
|
+
CompletedAt: Date | null;
|
|
326
|
+
Success: boolean | null;
|
|
327
|
+
ErrorMessage: string | null;
|
|
328
|
+
ConversationID: string | null;
|
|
329
|
+
UserID: string | null;
|
|
330
|
+
Result: string | null;
|
|
331
|
+
AgentState: string | null;
|
|
332
|
+
TotalTokensUsed?: number | null;
|
|
333
|
+
TotalCost?: number | null;
|
|
334
|
+
}
|
|
335
|
+
export declare class UpdateAIAgentRunInput {
|
|
336
|
+
ID: string;
|
|
337
|
+
AgentID?: string;
|
|
338
|
+
ParentRunID?: string | null;
|
|
339
|
+
Status?: string;
|
|
340
|
+
StartedAt?: Date;
|
|
341
|
+
CompletedAt?: Date | null;
|
|
342
|
+
Success?: boolean | null;
|
|
343
|
+
ErrorMessage?: string | null;
|
|
344
|
+
ConversationID?: string | null;
|
|
345
|
+
UserID?: string | null;
|
|
346
|
+
Result?: string | null;
|
|
347
|
+
AgentState?: string | null;
|
|
348
|
+
TotalTokensUsed?: number | null;
|
|
349
|
+
TotalCost?: number | null;
|
|
350
|
+
OldValues___?: KeyValuePairInput[];
|
|
351
|
+
}
|
|
352
|
+
export declare class RunAIAgentRunViewResult {
|
|
353
|
+
Results: AIAgentRun_[];
|
|
354
|
+
UserViewRunID?: string;
|
|
355
|
+
RowCount: number;
|
|
356
|
+
TotalRowCount: number;
|
|
357
|
+
ExecutionTime: number;
|
|
358
|
+
ErrorMessage?: string;
|
|
359
|
+
Success: boolean;
|
|
360
|
+
}
|
|
361
|
+
export declare class AIAgentRunResolver extends ResolverBase {
|
|
362
|
+
RunAIAgentRunViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
363
|
+
RunAIAgentRunViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
364
|
+
RunAIAgentRunDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
365
|
+
AIAgentRun(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIAgentRun_ | null>;
|
|
366
|
+
MJ_AIAgentRunSteps_AgentRunIDArray(aiagentrun_: AIAgentRun_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
367
|
+
MJ_AIAgentRuns_ParentRunIDArray(aiagentrun_: AIAgentRun_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
368
|
+
MJ_AIPromptRuns_AgentRunIDArray(aiagentrun_: AIAgentRun_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
369
|
+
CreateAIAgentRun(input: CreateAIAgentRunInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
370
|
+
UpdateAIAgentRun(input: UpdateAIAgentRunInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
371
|
+
DeleteAIAgentRun(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
372
|
+
}
|
|
299
373
|
export declare class AIVendor_ {
|
|
300
374
|
ID: string;
|
|
301
375
|
Name: string;
|
|
@@ -415,6 +489,7 @@ export declare class AIAgent_ {
|
|
|
415
489
|
ContextCompressionMessageThreshold?: number;
|
|
416
490
|
ContextCompressionPromptID?: string;
|
|
417
491
|
ContextCompressionMessageRetentionCount?: number;
|
|
492
|
+
TypeID: string;
|
|
418
493
|
Parent?: string;
|
|
419
494
|
ContextCompressionPrompt?: string;
|
|
420
495
|
AIAgentRequests_AgentIDArray: AIAgentRequest_[];
|
|
@@ -422,6 +497,7 @@ export declare class AIAgent_ {
|
|
|
422
497
|
AIAgentModels_AgentIDArray: AIAgentModel_[];
|
|
423
498
|
AIAgentActions_AgentIDArray: AIAgentAction_[];
|
|
424
499
|
MJ_AIAgentPrompts_AgentIDArray: AIAgentPrompt_[];
|
|
500
|
+
MJ_AIAgentRuns_AgentIDArray: AIAgentRun_[];
|
|
425
501
|
AIAgentNotes_AgentIDArray: AIAgentNote_[];
|
|
426
502
|
AIResultCache_AgentIDArray: AIResultCache_[];
|
|
427
503
|
MJ_AIPromptRuns_AgentIDArray: AIPromptRun_[];
|
|
@@ -439,6 +515,7 @@ export declare class CreateAIAgentInput {
|
|
|
439
515
|
ContextCompressionMessageThreshold: number | null;
|
|
440
516
|
ContextCompressionPromptID: string | null;
|
|
441
517
|
ContextCompressionMessageRetentionCount: number | null;
|
|
518
|
+
TypeID?: string;
|
|
442
519
|
}
|
|
443
520
|
export declare class UpdateAIAgentInput {
|
|
444
521
|
ID: string;
|
|
@@ -453,6 +530,7 @@ export declare class UpdateAIAgentInput {
|
|
|
453
530
|
ContextCompressionMessageThreshold?: number | null;
|
|
454
531
|
ContextCompressionPromptID?: string | null;
|
|
455
532
|
ContextCompressionMessageRetentionCount?: number | null;
|
|
533
|
+
TypeID?: string;
|
|
456
534
|
OldValues___?: KeyValuePairInput[];
|
|
457
535
|
}
|
|
458
536
|
export declare class RunAIAgentViewResult {
|
|
@@ -474,6 +552,7 @@ export declare class AIAgentResolver extends ResolverBase {
|
|
|
474
552
|
AIAgentModels_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
475
553
|
AIAgentActions_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
476
554
|
MJ_AIAgentPrompts_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
555
|
+
MJ_AIAgentRuns_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
477
556
|
AIAgentNotes_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
478
557
|
AIResultCache_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
479
558
|
MJ_AIPromptRuns_AgentIDArray(aiagent_: AIAgent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
@@ -548,6 +627,49 @@ export declare class AIPromptModelResolver extends ResolverBase {
|
|
|
548
627
|
UpdateAIPromptModel(input: UpdateAIPromptModelInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
549
628
|
DeleteAIPromptModel(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
550
629
|
}
|
|
630
|
+
export declare class AIAgentType_ {
|
|
631
|
+
ID: string;
|
|
632
|
+
Name: string;
|
|
633
|
+
Description?: string;
|
|
634
|
+
SystemPromptID?: string;
|
|
635
|
+
IsActive: boolean;
|
|
636
|
+
_mj__CreatedAt: Date;
|
|
637
|
+
_mj__UpdatedAt: Date;
|
|
638
|
+
AIAgents_TypeIDArray: AIAgent_[];
|
|
639
|
+
}
|
|
640
|
+
export declare class CreateAIAgentTypeInput {
|
|
641
|
+
Name?: string;
|
|
642
|
+
Description: string | null;
|
|
643
|
+
SystemPromptID: string | null;
|
|
644
|
+
IsActive?: boolean;
|
|
645
|
+
}
|
|
646
|
+
export declare class UpdateAIAgentTypeInput {
|
|
647
|
+
ID: string;
|
|
648
|
+
Name?: string;
|
|
649
|
+
Description?: string | null;
|
|
650
|
+
SystemPromptID?: string | null;
|
|
651
|
+
IsActive?: boolean;
|
|
652
|
+
OldValues___?: KeyValuePairInput[];
|
|
653
|
+
}
|
|
654
|
+
export declare class RunAIAgentTypeViewResult {
|
|
655
|
+
Results: AIAgentType_[];
|
|
656
|
+
UserViewRunID?: string;
|
|
657
|
+
RowCount: number;
|
|
658
|
+
TotalRowCount: number;
|
|
659
|
+
ExecutionTime: number;
|
|
660
|
+
ErrorMessage?: string;
|
|
661
|
+
Success: boolean;
|
|
662
|
+
}
|
|
663
|
+
export declare class AIAgentTypeResolver extends ResolverBase {
|
|
664
|
+
RunAIAgentTypeViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
665
|
+
RunAIAgentTypeViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
666
|
+
RunAIAgentTypeDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
667
|
+
AIAgentType(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIAgentType_ | null>;
|
|
668
|
+
AIAgents_TypeIDArray(aiagenttype_: AIAgentType_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
669
|
+
CreateAIAgentType(input: CreateAIAgentTypeInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
670
|
+
UpdateAIAgentType(input: UpdateAIAgentTypeInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
671
|
+
DeleteAIAgentType(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
672
|
+
}
|
|
551
673
|
export declare class AIAgentNote_ {
|
|
552
674
|
ID: string;
|
|
553
675
|
AgentID?: string;
|
|
@@ -669,12 +791,15 @@ export declare class AIPrompt_ {
|
|
|
669
791
|
CacheMustMatchVendor: boolean;
|
|
670
792
|
CacheMustMatchAgent: boolean;
|
|
671
793
|
CacheMustMatchConfig: boolean;
|
|
794
|
+
PromptRole: string;
|
|
795
|
+
PromptPosition: string;
|
|
672
796
|
Template: string;
|
|
673
797
|
Category?: string;
|
|
674
798
|
Type: string;
|
|
675
799
|
AIModelType?: string;
|
|
676
800
|
ResultSelectorPrompt?: string;
|
|
677
801
|
AIResultCache_AIPromptIDArray: AIResultCache_[];
|
|
802
|
+
MJ_AIAgentTypes_SystemPromptIDArray: AIAgentType_[];
|
|
678
803
|
MJ_AIConfigurations_DefaultPromptForContextCompressionIDArray: AIConfiguration_[];
|
|
679
804
|
MJ_AIConfigurations_DefaultPromptForContextSummarizationIDArray: AIConfiguration_[];
|
|
680
805
|
AIPrompts_ResultSelectorPromptIDArray: AIPrompt_[];
|
|
@@ -714,6 +839,8 @@ export declare class CreateAIPromptInput {
|
|
|
714
839
|
CacheMustMatchVendor?: boolean;
|
|
715
840
|
CacheMustMatchAgent?: boolean;
|
|
716
841
|
CacheMustMatchConfig?: boolean;
|
|
842
|
+
PromptRole?: string;
|
|
843
|
+
PromptPosition?: string;
|
|
717
844
|
}
|
|
718
845
|
export declare class UpdateAIPromptInput {
|
|
719
846
|
ID: string;
|
|
@@ -747,6 +874,8 @@ export declare class UpdateAIPromptInput {
|
|
|
747
874
|
CacheMustMatchVendor?: boolean;
|
|
748
875
|
CacheMustMatchAgent?: boolean;
|
|
749
876
|
CacheMustMatchConfig?: boolean;
|
|
877
|
+
PromptRole?: string;
|
|
878
|
+
PromptPosition?: string;
|
|
750
879
|
OldValues___?: KeyValuePairInput[];
|
|
751
880
|
}
|
|
752
881
|
export declare class RunAIPromptViewResult {
|
|
@@ -764,6 +893,7 @@ export declare class AIPromptResolver extends ResolverBase {
|
|
|
764
893
|
RunAIPromptDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
765
894
|
AIPrompt(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIPrompt_ | null>;
|
|
766
895
|
AIResultCache_AIPromptIDArray(aiprompt_: AIPrompt_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
896
|
+
MJ_AIAgentTypes_SystemPromptIDArray(aiprompt_: AIPrompt_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
767
897
|
MJ_AIConfigurations_DefaultPromptForContextCompressionIDArray(aiprompt_: AIPrompt_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
768
898
|
MJ_AIConfigurations_DefaultPromptForContextSummarizationIDArray(aiprompt_: AIPrompt_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
769
899
|
AIPrompts_ResultSelectorPromptIDArray(aiprompt_: AIPrompt_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
@@ -1876,9 +2006,9 @@ export declare class User_ {
|
|
|
1876
2006
|
UserNotifications_UserIDArray: UserNotification_[];
|
|
1877
2007
|
Templates_UserIDArray: Template_[];
|
|
1878
2008
|
UserFavorites_UserIDArray: UserFavorite_[];
|
|
1879
|
-
ResourceLinks_UserIDArray: ResourceLink_[];
|
|
1880
2009
|
ListCategories_UserIDArray: ListCategory_[];
|
|
1881
2010
|
ScheduledActions_CreatedByUserIDArray: ScheduledAction_[];
|
|
2011
|
+
ResourceLinks_UserIDArray: ResourceLink_[];
|
|
1882
2012
|
AIAgentRequests_ResponseByUserIDArray: AIAgentRequest_[];
|
|
1883
2013
|
MJ_DashboardUserPreferences_UserIDArray: DashboardUserPreference_[];
|
|
1884
2014
|
MJ_ReportUserStates_UserIDArray: ReportUserState_[];
|
|
@@ -1887,6 +2017,7 @@ export declare class User_ {
|
|
|
1887
2017
|
ResourcePermissions_UserIDArray: ResourcePermission_[];
|
|
1888
2018
|
AIAgentRequests_RequestForUserIDArray: AIAgentRequest_[];
|
|
1889
2019
|
ConversationDetails_UserIDArray: ConversationDetail_[];
|
|
2020
|
+
MJ_AIAgentRuns_UserIDArray: AIAgentRun_[];
|
|
1890
2021
|
}
|
|
1891
2022
|
export declare class CreateUserInput {
|
|
1892
2023
|
Name?: string;
|
|
@@ -1961,9 +2092,9 @@ export declare class UserResolverBase extends ResolverBase {
|
|
|
1961
2092
|
UserNotifications_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1962
2093
|
Templates_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1963
2094
|
UserFavorites_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1964
|
-
ResourceLinks_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1965
2095
|
ListCategories_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1966
2096
|
ScheduledActions_CreatedByUserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
2097
|
+
ResourceLinks_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1967
2098
|
AIAgentRequests_ResponseByUserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1968
2099
|
MJ_DashboardUserPreferences_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1969
2100
|
MJ_ReportUserStates_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
@@ -1972,6 +2103,7 @@ export declare class UserResolverBase extends ResolverBase {
|
|
|
1972
2103
|
ResourcePermissions_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1973
2104
|
AIAgentRequests_RequestForUserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1974
2105
|
ConversationDetails_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
2106
|
+
MJ_AIAgentRuns_UserIDArray(user_: User_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1975
2107
|
CreateUser(input: CreateUserInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1976
2108
|
UpdateUser(input: UpdateUserInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1977
2109
|
DeleteUser(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -3762,8 +3894,8 @@ export declare class Dashboard_ {
|
|
|
3762
3894
|
Thumbnail?: string;
|
|
3763
3895
|
Scope: string;
|
|
3764
3896
|
ApplicationID?: string;
|
|
3765
|
-
Code?: string;
|
|
3766
3897
|
DriverClass?: string;
|
|
3898
|
+
Code?: string;
|
|
3767
3899
|
User: string;
|
|
3768
3900
|
Category?: string;
|
|
3769
3901
|
Application?: string;
|
|
@@ -3780,8 +3912,8 @@ export declare class CreateDashboardInput {
|
|
|
3780
3912
|
Thumbnail: string | null;
|
|
3781
3913
|
Scope?: string;
|
|
3782
3914
|
ApplicationID: string | null;
|
|
3783
|
-
Code: string | null;
|
|
3784
3915
|
DriverClass: string | null;
|
|
3916
|
+
Code: string | null;
|
|
3785
3917
|
}
|
|
3786
3918
|
export declare class UpdateDashboardInput {
|
|
3787
3919
|
ID: string;
|
|
@@ -3794,8 +3926,8 @@ export declare class UpdateDashboardInput {
|
|
|
3794
3926
|
Thumbnail?: string | null;
|
|
3795
3927
|
Scope?: string;
|
|
3796
3928
|
ApplicationID?: string | null;
|
|
3797
|
-
Code?: string | null;
|
|
3798
3929
|
DriverClass?: string | null;
|
|
3930
|
+
Code?: string | null;
|
|
3799
3931
|
OldValues___?: KeyValuePairInput[];
|
|
3800
3932
|
}
|
|
3801
3933
|
export declare class RunDashboardViewResult {
|
|
@@ -4355,6 +4487,7 @@ export declare class Conversation_ {
|
|
|
4355
4487
|
ConversationDetails_ConversationIDArray: ConversationDetail_[];
|
|
4356
4488
|
Reports_ConversationIDArray: Report_[];
|
|
4357
4489
|
MJ_ConversationArtifacts_ConversationIDArray: ConversationArtifact_[];
|
|
4490
|
+
MJ_AIAgentRuns_ConversationIDArray: AIAgentRun_[];
|
|
4358
4491
|
}
|
|
4359
4492
|
export declare class CreateConversationInput {
|
|
4360
4493
|
UserID?: string;
|
|
@@ -4399,6 +4532,7 @@ export declare class ConversationResolver extends ResolverBase {
|
|
|
4399
4532
|
ConversationDetails_ConversationIDArray(conversation_: Conversation_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
4400
4533
|
Reports_ConversationIDArray(conversation_: Conversation_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
4401
4534
|
MJ_ConversationArtifacts_ConversationIDArray(conversation_: Conversation_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
4535
|
+
MJ_AIAgentRuns_ConversationIDArray(conversation_: Conversation_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
4402
4536
|
CreateConversation(input: CreateConversationInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4403
4537
|
UpdateConversation(input: UpdateConversationInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4404
4538
|
DeleteConversation(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5169,6 +5303,7 @@ export declare class DataContextItem_ {
|
|
|
5169
5303
|
_mj__CreatedAt: Date;
|
|
5170
5304
|
_mj__UpdatedAt: Date;
|
|
5171
5305
|
Description?: string;
|
|
5306
|
+
CodeName?: string;
|
|
5172
5307
|
DataContext: string;
|
|
5173
5308
|
View?: string;
|
|
5174
5309
|
Query?: string;
|
|
@@ -5185,6 +5320,7 @@ export declare class CreateDataContextItemInput {
|
|
|
5185
5320
|
DataJSON: string | null;
|
|
5186
5321
|
LastRefreshedAt: Date | null;
|
|
5187
5322
|
Description: string | null;
|
|
5323
|
+
CodeName: string | null;
|
|
5188
5324
|
}
|
|
5189
5325
|
export declare class UpdateDataContextItemInput {
|
|
5190
5326
|
ID: string;
|
|
@@ -5198,6 +5334,7 @@ export declare class UpdateDataContextItemInput {
|
|
|
5198
5334
|
DataJSON?: string | null;
|
|
5199
5335
|
LastRefreshedAt?: Date | null;
|
|
5200
5336
|
Description?: string | null;
|
|
5337
|
+
CodeName?: string | null;
|
|
5201
5338
|
OldValues___?: KeyValuePairInput[];
|
|
5202
5339
|
}
|
|
5203
5340
|
export declare class RunDataContextItemViewResult {
|
|
@@ -7865,8 +8002,10 @@ export declare class AIModelVendor_ {
|
|
|
7865
8002
|
SupportsStreaming: boolean;
|
|
7866
8003
|
_mj__CreatedAt: Date;
|
|
7867
8004
|
_mj__UpdatedAt: Date;
|
|
8005
|
+
TypeID?: string;
|
|
7868
8006
|
Model: string;
|
|
7869
8007
|
Vendor: string;
|
|
8008
|
+
Type?: string;
|
|
7870
8009
|
}
|
|
7871
8010
|
export declare class CreateAIModelVendorInput {
|
|
7872
8011
|
ModelID?: string;
|
|
@@ -7881,6 +8020,7 @@ export declare class CreateAIModelVendorInput {
|
|
|
7881
8020
|
SupportedResponseFormats?: string;
|
|
7882
8021
|
SupportsEffortLevel?: boolean;
|
|
7883
8022
|
SupportsStreaming?: boolean;
|
|
8023
|
+
TypeID: string | null;
|
|
7884
8024
|
}
|
|
7885
8025
|
export declare class UpdateAIModelVendorInput {
|
|
7886
8026
|
ID: string;
|
|
@@ -7896,6 +8036,7 @@ export declare class UpdateAIModelVendorInput {
|
|
|
7896
8036
|
SupportedResponseFormats?: string;
|
|
7897
8037
|
SupportsEffortLevel?: boolean;
|
|
7898
8038
|
SupportsStreaming?: boolean;
|
|
8039
|
+
TypeID?: string | null;
|
|
7899
8040
|
OldValues___?: KeyValuePairInput[];
|
|
7900
8041
|
}
|
|
7901
8042
|
export declare class RunAIModelVendorViewResult {
|
|
@@ -7922,6 +8063,7 @@ export declare class AIVendorTypeDefinition_ {
|
|
|
7922
8063
|
Description?: string;
|
|
7923
8064
|
_mj__CreatedAt: Date;
|
|
7924
8065
|
_mj__UpdatedAt: Date;
|
|
8066
|
+
MJ_AIModelVendors_TypeIDArray: AIModelVendor_[];
|
|
7925
8067
|
MJ_AIVendorTypes_TypeIDArray: AIVendorType_[];
|
|
7926
8068
|
}
|
|
7927
8069
|
export declare class CreateAIVendorTypeDefinitionInput {
|
|
@@ -7948,6 +8090,7 @@ export declare class AIVendorTypeDefinitionResolver extends ResolverBase {
|
|
|
7948
8090
|
RunAIVendorTypeDefinitionViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
7949
8091
|
RunAIVendorTypeDefinitionDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
7950
8092
|
AIVendorTypeDefinition(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIVendorTypeDefinition_ | null>;
|
|
8093
|
+
MJ_AIModelVendors_TypeIDArray(aivendortypedefinition_: AIVendorTypeDefinition_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
7951
8094
|
MJ_AIVendorTypes_TypeIDArray(aivendortypedefinition_: AIVendorTypeDefinition_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
7952
8095
|
CreateAIVendorTypeDefinition(input: CreateAIVendorTypeDefinitionInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
7953
8096
|
UpdateAIVendorTypeDefinition(input: UpdateAIVendorTypeDefinitionInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -8887,11 +9030,16 @@ export declare class AIPromptRun_ {
|
|
|
8887
9030
|
ErrorMessage?: string;
|
|
8888
9031
|
_mj__CreatedAt: Date;
|
|
8889
9032
|
_mj__UpdatedAt: Date;
|
|
9033
|
+
ParentID?: string;
|
|
9034
|
+
RunType: string;
|
|
9035
|
+
ExecutionOrder?: number;
|
|
9036
|
+
AgentRunID?: string;
|
|
8890
9037
|
Prompt: string;
|
|
8891
9038
|
Model: string;
|
|
8892
9039
|
Vendor: string;
|
|
8893
9040
|
Agent?: string;
|
|
8894
9041
|
Configuration?: string;
|
|
9042
|
+
MJ_AIPromptRuns_ParentIDArray: AIPromptRun_[];
|
|
8895
9043
|
AIResultCache_PromptRunIDArray: AIResultCache_[];
|
|
8896
9044
|
}
|
|
8897
9045
|
export declare class CreateAIPromptRunInput {
|
|
@@ -8911,6 +9059,10 @@ export declare class CreateAIPromptRunInput {
|
|
|
8911
9059
|
TotalCost: number | null;
|
|
8912
9060
|
Success?: boolean;
|
|
8913
9061
|
ErrorMessage: string | null;
|
|
9062
|
+
ParentID: string | null;
|
|
9063
|
+
RunType?: string;
|
|
9064
|
+
ExecutionOrder: number | null;
|
|
9065
|
+
AgentRunID: string | null;
|
|
8914
9066
|
}
|
|
8915
9067
|
export declare class UpdateAIPromptRunInput {
|
|
8916
9068
|
ID: string;
|
|
@@ -8930,6 +9082,10 @@ export declare class UpdateAIPromptRunInput {
|
|
|
8930
9082
|
TotalCost?: number | null;
|
|
8931
9083
|
Success?: boolean;
|
|
8932
9084
|
ErrorMessage?: string | null;
|
|
9085
|
+
ParentID?: string | null;
|
|
9086
|
+
RunType?: string;
|
|
9087
|
+
ExecutionOrder?: number | null;
|
|
9088
|
+
AgentRunID?: string | null;
|
|
8933
9089
|
OldValues___?: KeyValuePairInput[];
|
|
8934
9090
|
}
|
|
8935
9091
|
export declare class RunAIPromptRunViewResult {
|
|
@@ -8946,11 +9102,77 @@ export declare class AIPromptRunResolver extends ResolverBase {
|
|
|
8946
9102
|
RunAIPromptRunViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8947
9103
|
RunAIPromptRunDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8948
9104
|
AIPromptRun(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIPromptRun_ | null>;
|
|
9105
|
+
MJ_AIPromptRuns_ParentIDArray(aipromptrun_: AIPromptRun_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
8949
9106
|
AIResultCache_PromptRunIDArray(aipromptrun_: AIPromptRun_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
8950
9107
|
CreateAIPromptRun(input: CreateAIPromptRunInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8951
9108
|
UpdateAIPromptRun(input: UpdateAIPromptRunInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8952
9109
|
DeleteAIPromptRun(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8953
9110
|
}
|
|
9111
|
+
export declare class AIAgentRunStep_ {
|
|
9112
|
+
ID: string;
|
|
9113
|
+
AgentRunID: string;
|
|
9114
|
+
StepNumber: number;
|
|
9115
|
+
StepType: string;
|
|
9116
|
+
StepName: string;
|
|
9117
|
+
TargetID?: string;
|
|
9118
|
+
Status: string;
|
|
9119
|
+
StartedAt: Date;
|
|
9120
|
+
CompletedAt?: Date;
|
|
9121
|
+
Success?: boolean;
|
|
9122
|
+
ErrorMessage?: string;
|
|
9123
|
+
InputData?: string;
|
|
9124
|
+
OutputData?: string;
|
|
9125
|
+
_mj__CreatedAt: Date;
|
|
9126
|
+
_mj__UpdatedAt: Date;
|
|
9127
|
+
}
|
|
9128
|
+
export declare class CreateAIAgentRunStepInput {
|
|
9129
|
+
AgentRunID?: string;
|
|
9130
|
+
StepNumber?: number;
|
|
9131
|
+
StepType?: string;
|
|
9132
|
+
StepName?: string;
|
|
9133
|
+
TargetID: string | null;
|
|
9134
|
+
Status?: string;
|
|
9135
|
+
StartedAt?: Date;
|
|
9136
|
+
CompletedAt: Date | null;
|
|
9137
|
+
Success: boolean | null;
|
|
9138
|
+
ErrorMessage: string | null;
|
|
9139
|
+
InputData: string | null;
|
|
9140
|
+
OutputData: string | null;
|
|
9141
|
+
}
|
|
9142
|
+
export declare class UpdateAIAgentRunStepInput {
|
|
9143
|
+
ID: string;
|
|
9144
|
+
AgentRunID?: string;
|
|
9145
|
+
StepNumber?: number;
|
|
9146
|
+
StepType?: string;
|
|
9147
|
+
StepName?: string;
|
|
9148
|
+
TargetID?: string | null;
|
|
9149
|
+
Status?: string;
|
|
9150
|
+
StartedAt?: Date;
|
|
9151
|
+
CompletedAt?: Date | null;
|
|
9152
|
+
Success?: boolean | null;
|
|
9153
|
+
ErrorMessage?: string | null;
|
|
9154
|
+
InputData?: string | null;
|
|
9155
|
+
OutputData?: string | null;
|
|
9156
|
+
OldValues___?: KeyValuePairInput[];
|
|
9157
|
+
}
|
|
9158
|
+
export declare class RunAIAgentRunStepViewResult {
|
|
9159
|
+
Results: AIAgentRunStep_[];
|
|
9160
|
+
UserViewRunID?: string;
|
|
9161
|
+
RowCount: number;
|
|
9162
|
+
TotalRowCount: number;
|
|
9163
|
+
ExecutionTime: number;
|
|
9164
|
+
ErrorMessage?: string;
|
|
9165
|
+
Success: boolean;
|
|
9166
|
+
}
|
|
9167
|
+
export declare class AIAgentRunStepResolver extends ResolverBase {
|
|
9168
|
+
RunAIAgentRunStepViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9169
|
+
RunAIAgentRunStepViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9170
|
+
RunAIAgentRunStepDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9171
|
+
AIAgentRunStep(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<AIAgentRunStep_ | null>;
|
|
9172
|
+
CreateAIAgentRunStep(input: CreateAIAgentRunStepInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9173
|
+
UpdateAIAgentRunStep(input: UpdateAIAgentRunStepInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9174
|
+
DeleteAIAgentRunStep(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9175
|
+
}
|
|
8954
9176
|
export declare class ConversationArtifactPermission_ {
|
|
8955
9177
|
ID: string;
|
|
8956
9178
|
ConversationArtifactID: string;
|