@memberjunction/server 2.51.0 → 2.53.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 +74 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +399 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.js +1 -1
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/generic/RunViewResolver.d.ts +28 -0
- package/dist/generic/RunViewResolver.d.ts.map +1 -1
- package/dist/generic/RunViewResolver.js +138 -0
- package/dist/generic/RunViewResolver.js.map +1 -1
- package/dist/resolvers/FileResolver.js +1 -1
- package/dist/resolvers/FileResolver.js.map +1 -1
- package/dist/resolvers/QueryResolver.d.ts +2 -0
- package/dist/resolvers/QueryResolver.d.ts.map +1 -1
- package/dist/resolvers/QueryResolver.js +57 -0
- package/dist/resolvers/QueryResolver.js.map +1 -1
- package/dist/resolvers/RunAIPromptResolver.d.ts +1 -1
- package/dist/resolvers/RunAIPromptResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIPromptResolver.js +53 -3
- package/dist/resolvers/RunAIPromptResolver.js.map +1 -1
- package/package.json +25 -25
- package/src/generated/generated.ts +241 -0
- package/src/generic/ResolverBase.ts +1 -1
- package/src/generic/RunViewResolver.ts +718 -587
- package/src/resolvers/FileResolver.ts +1 -1
- package/src/resolvers/QueryResolver.ts +134 -81
- package/src/resolvers/RunAIPromptResolver.ts +52 -2
|
@@ -952,6 +952,16 @@ export declare class AIPrompt_ {
|
|
|
952
952
|
CacheMustMatchConfig: boolean;
|
|
953
953
|
PromptRole: string;
|
|
954
954
|
PromptPosition: string;
|
|
955
|
+
Temperature?: number;
|
|
956
|
+
TopP?: number;
|
|
957
|
+
TopK?: number;
|
|
958
|
+
MinP?: number;
|
|
959
|
+
FrequencyPenalty?: number;
|
|
960
|
+
PresencePenalty?: number;
|
|
961
|
+
Seed?: number;
|
|
962
|
+
StopSequences?: string;
|
|
963
|
+
IncludeLogProbs?: boolean;
|
|
964
|
+
TopLogProbs?: number;
|
|
955
965
|
Template: string;
|
|
956
966
|
Category?: string;
|
|
957
967
|
Type: string;
|
|
@@ -1001,6 +1011,16 @@ export declare class CreateAIPromptInput {
|
|
|
1001
1011
|
CacheMustMatchConfig?: boolean;
|
|
1002
1012
|
PromptRole?: string;
|
|
1003
1013
|
PromptPosition?: string;
|
|
1014
|
+
Temperature: number | null;
|
|
1015
|
+
TopP: number | null;
|
|
1016
|
+
TopK: number | null;
|
|
1017
|
+
MinP: number | null;
|
|
1018
|
+
FrequencyPenalty: number | null;
|
|
1019
|
+
PresencePenalty: number | null;
|
|
1020
|
+
Seed: number | null;
|
|
1021
|
+
StopSequences: string | null;
|
|
1022
|
+
IncludeLogProbs?: boolean | null;
|
|
1023
|
+
TopLogProbs: number | null;
|
|
1004
1024
|
}
|
|
1005
1025
|
export declare class UpdateAIPromptInput {
|
|
1006
1026
|
ID: string;
|
|
@@ -1036,6 +1056,16 @@ export declare class UpdateAIPromptInput {
|
|
|
1036
1056
|
CacheMustMatchConfig?: boolean;
|
|
1037
1057
|
PromptRole?: string;
|
|
1038
1058
|
PromptPosition?: string;
|
|
1059
|
+
Temperature?: number | null;
|
|
1060
|
+
TopP?: number | null;
|
|
1061
|
+
TopK?: number | null;
|
|
1062
|
+
MinP?: number | null;
|
|
1063
|
+
FrequencyPenalty?: number | null;
|
|
1064
|
+
PresencePenalty?: number | null;
|
|
1065
|
+
Seed?: number | null;
|
|
1066
|
+
StopSequences?: string | null;
|
|
1067
|
+
IncludeLogProbs?: boolean | null;
|
|
1068
|
+
TopLogProbs?: number | null;
|
|
1039
1069
|
OldValues___?: KeyValuePairInput[];
|
|
1040
1070
|
}
|
|
1041
1071
|
export declare class RunAIPromptViewResult {
|
|
@@ -6558,8 +6588,10 @@ export declare class Action_ {
|
|
|
6558
6588
|
_mj__CreatedAt: Date;
|
|
6559
6589
|
_mj__UpdatedAt: Date;
|
|
6560
6590
|
DriverClass?: string;
|
|
6591
|
+
ParentID?: string;
|
|
6561
6592
|
Category?: string;
|
|
6562
6593
|
CodeApprovedByUser?: string;
|
|
6594
|
+
Parent?: string;
|
|
6563
6595
|
ActionParams_ActionIDArray: ActionParam_[];
|
|
6564
6596
|
ActionLibraries_ActionIDArray: ActionLibrary_[];
|
|
6565
6597
|
ScheduledActions_ActionIDArray: ScheduledAction_[];
|
|
@@ -6569,6 +6601,7 @@ export declare class Action_ {
|
|
|
6569
6601
|
EntityActions_ActionIDArray: EntityAction_[];
|
|
6570
6602
|
ActionExecutionLogs_ActionIDArray: ActionExecutionLog_[];
|
|
6571
6603
|
ActionAuthorizations_ActionIDArray: ActionAuthorization_[];
|
|
6604
|
+
Actions_ParentIDArray: Action_[];
|
|
6572
6605
|
}
|
|
6573
6606
|
export declare class CreateActionInput {
|
|
6574
6607
|
ID?: string;
|
|
@@ -6589,6 +6622,7 @@ export declare class CreateActionInput {
|
|
|
6589
6622
|
RetentionPeriod: number | null;
|
|
6590
6623
|
Status?: string;
|
|
6591
6624
|
DriverClass: string | null;
|
|
6625
|
+
ParentID: string | null;
|
|
6592
6626
|
}
|
|
6593
6627
|
export declare class UpdateActionInput {
|
|
6594
6628
|
ID: string;
|
|
@@ -6609,6 +6643,7 @@ export declare class UpdateActionInput {
|
|
|
6609
6643
|
RetentionPeriod?: number | null;
|
|
6610
6644
|
Status?: string;
|
|
6611
6645
|
DriverClass?: string | null;
|
|
6646
|
+
ParentID?: string | null;
|
|
6612
6647
|
OldValues___?: KeyValuePairInput[];
|
|
6613
6648
|
}
|
|
6614
6649
|
export declare class RunActionViewResult {
|
|
@@ -6634,6 +6669,7 @@ export declare class ActionResolver extends ResolverBase {
|
|
|
6634
6669
|
EntityActions_ActionIDArray(action_: Action_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
6635
6670
|
ActionExecutionLogs_ActionIDArray(action_: Action_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
6636
6671
|
ActionAuthorizations_ActionIDArray(action_: Action_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
6672
|
+
Actions_ParentIDArray(action_: Action_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
6637
6673
|
CreateAction(input: CreateActionInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
6638
6674
|
UpdateAction(input: UpdateActionInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
6639
6675
|
DeleteAction(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -7486,6 +7522,7 @@ export declare class TemplateContent_ {
|
|
|
7486
7522
|
_mj__UpdatedAt: Date;
|
|
7487
7523
|
Template: string;
|
|
7488
7524
|
Type: string;
|
|
7525
|
+
TemplateParams_TemplateContentIDArray: TemplateParam_[];
|
|
7489
7526
|
}
|
|
7490
7527
|
export declare class CreateTemplateContentInput {
|
|
7491
7528
|
ID?: string;
|
|
@@ -7518,6 +7555,7 @@ export declare class TemplateContentResolver extends ResolverBase {
|
|
|
7518
7555
|
RunTemplateContentViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
7519
7556
|
RunTemplateContentDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
7520
7557
|
TemplateContent(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<TemplateContent_ | null>;
|
|
7558
|
+
TemplateParams_TemplateContentIDArray(templatecontent_: TemplateContent_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
7521
7559
|
CreateTemplateContent(input: CreateTemplateContentInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
7522
7560
|
UpdateTemplateContent(input: UpdateTemplateContentInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
7523
7561
|
DeleteTemplateContent(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -7538,6 +7576,7 @@ export declare class TemplateParam_ {
|
|
|
7538
7576
|
_mj__CreatedAt: Date;
|
|
7539
7577
|
_mj__UpdatedAt: Date;
|
|
7540
7578
|
OrderBy?: string;
|
|
7579
|
+
TemplateContentID?: string;
|
|
7541
7580
|
Template: string;
|
|
7542
7581
|
Entity?: string;
|
|
7543
7582
|
}
|
|
@@ -7555,6 +7594,7 @@ export declare class CreateTemplateParamInput {
|
|
|
7555
7594
|
EntityID: string | null;
|
|
7556
7595
|
RecordID: string | null;
|
|
7557
7596
|
OrderBy: string | null;
|
|
7597
|
+
TemplateContentID: string | null;
|
|
7558
7598
|
}
|
|
7559
7599
|
export declare class UpdateTemplateParamInput {
|
|
7560
7600
|
ID: string;
|
|
@@ -7570,6 +7610,7 @@ export declare class UpdateTemplateParamInput {
|
|
|
7570
7610
|
EntityID?: string | null;
|
|
7571
7611
|
RecordID?: string | null;
|
|
7572
7612
|
OrderBy?: string | null;
|
|
7613
|
+
TemplateContentID?: string | null;
|
|
7573
7614
|
OldValues___?: KeyValuePairInput[];
|
|
7574
7615
|
}
|
|
7575
7616
|
export declare class RunTemplateParamViewResult {
|
|
@@ -9342,6 +9383,17 @@ export declare class AIPromptRun_ {
|
|
|
9342
9383
|
TokensUsedRollup?: number;
|
|
9343
9384
|
TokensPromptRollup?: number;
|
|
9344
9385
|
TokensCompletionRollup?: number;
|
|
9386
|
+
Temperature?: number;
|
|
9387
|
+
TopP?: number;
|
|
9388
|
+
TopK?: number;
|
|
9389
|
+
MinP?: number;
|
|
9390
|
+
FrequencyPenalty?: number;
|
|
9391
|
+
PresencePenalty?: number;
|
|
9392
|
+
Seed?: number;
|
|
9393
|
+
StopSequences?: string;
|
|
9394
|
+
ResponseFormat?: string;
|
|
9395
|
+
LogProbs?: boolean;
|
|
9396
|
+
TopLogProbs?: number;
|
|
9345
9397
|
Prompt: string;
|
|
9346
9398
|
Model: string;
|
|
9347
9399
|
Vendor: string;
|
|
@@ -9377,6 +9429,17 @@ export declare class CreateAIPromptRunInput {
|
|
|
9377
9429
|
TokensUsedRollup: number | null;
|
|
9378
9430
|
TokensPromptRollup: number | null;
|
|
9379
9431
|
TokensCompletionRollup: number | null;
|
|
9432
|
+
Temperature: number | null;
|
|
9433
|
+
TopP: number | null;
|
|
9434
|
+
TopK: number | null;
|
|
9435
|
+
MinP: number | null;
|
|
9436
|
+
FrequencyPenalty: number | null;
|
|
9437
|
+
PresencePenalty: number | null;
|
|
9438
|
+
Seed: number | null;
|
|
9439
|
+
StopSequences: string | null;
|
|
9440
|
+
ResponseFormat: string | null;
|
|
9441
|
+
LogProbs: boolean | null;
|
|
9442
|
+
TopLogProbs: number | null;
|
|
9380
9443
|
}
|
|
9381
9444
|
export declare class UpdateAIPromptRunInput {
|
|
9382
9445
|
ID: string;
|
|
@@ -9405,6 +9468,17 @@ export declare class UpdateAIPromptRunInput {
|
|
|
9405
9468
|
TokensUsedRollup?: number | null;
|
|
9406
9469
|
TokensPromptRollup?: number | null;
|
|
9407
9470
|
TokensCompletionRollup?: number | null;
|
|
9471
|
+
Temperature?: number | null;
|
|
9472
|
+
TopP?: number | null;
|
|
9473
|
+
TopK?: number | null;
|
|
9474
|
+
MinP?: number | null;
|
|
9475
|
+
FrequencyPenalty?: number | null;
|
|
9476
|
+
PresencePenalty?: number | null;
|
|
9477
|
+
Seed?: number | null;
|
|
9478
|
+
StopSequences?: string | null;
|
|
9479
|
+
ResponseFormat?: string | null;
|
|
9480
|
+
LogProbs?: boolean | null;
|
|
9481
|
+
TopLogProbs?: number | null;
|
|
9408
9482
|
OldValues___?: KeyValuePairInput[];
|
|
9409
9483
|
}
|
|
9410
9484
|
export declare class RunAIPromptRunViewResult {
|