@memberjunction/server 2.80.1 → 2.82.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 +45 -6
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +215 -19
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +4 -2
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/resolvers/CreateQueryResolver.d.ts +8 -0
- package/dist/resolvers/CreateQueryResolver.d.ts.map +1 -1
- package/dist/resolvers/CreateQueryResolver.js +67 -14
- package/dist/resolvers/CreateQueryResolver.js.map +1 -1
- package/dist/resolvers/QueryResolver.d.ts +6 -4
- package/dist/resolvers/QueryResolver.d.ts.map +1 -1
- package/dist/resolvers/QueryResolver.js +51 -17
- package/dist/resolvers/QueryResolver.js.map +1 -1
- package/package.json +35 -35
- package/src/generated/generated.ts +137 -19
- package/src/generic/ResolverBase.ts +4 -2
- package/src/resolvers/CreateQueryResolver.ts +49 -14
- package/src/resolvers/QueryResolver.ts +43 -14
|
@@ -339,6 +339,7 @@ export declare class AIAgentRun_ {
|
|
|
339
339
|
OverrideVendorID?: string;
|
|
340
340
|
Data?: string;
|
|
341
341
|
Verbose?: boolean;
|
|
342
|
+
EffortLevel?: number;
|
|
342
343
|
Agent?: string;
|
|
343
344
|
Conversation?: string;
|
|
344
345
|
User?: string;
|
|
@@ -384,6 +385,7 @@ export declare class CreateAIAgentRunInput {
|
|
|
384
385
|
OverrideVendorID: string | null;
|
|
385
386
|
Data: string | null;
|
|
386
387
|
Verbose?: boolean | null;
|
|
388
|
+
EffortLevel: number | null;
|
|
387
389
|
}
|
|
388
390
|
export declare class UpdateAIAgentRunInput {
|
|
389
391
|
ID: string;
|
|
@@ -420,6 +422,7 @@ export declare class UpdateAIAgentRunInput {
|
|
|
420
422
|
OverrideVendorID?: string | null;
|
|
421
423
|
Data?: string | null;
|
|
422
424
|
Verbose?: boolean | null;
|
|
425
|
+
EffortLevel?: number | null;
|
|
423
426
|
OldValues___?: KeyValuePairInput[];
|
|
424
427
|
}
|
|
425
428
|
export declare class RunAIAgentRunViewResult {
|
|
@@ -591,6 +594,7 @@ export declare class AIAgent_ {
|
|
|
591
594
|
MaxExecutionsPerRun?: number;
|
|
592
595
|
StartingPayloadValidation?: string;
|
|
593
596
|
StartingPayloadValidationMode: string;
|
|
597
|
+
DefaultPromptEffortLevel?: number;
|
|
594
598
|
Parent?: string;
|
|
595
599
|
ContextCompressionPrompt?: string;
|
|
596
600
|
Type?: string;
|
|
@@ -641,6 +645,7 @@ export declare class CreateAIAgentInput {
|
|
|
641
645
|
MaxExecutionsPerRun: number | null;
|
|
642
646
|
StartingPayloadValidation: string | null;
|
|
643
647
|
StartingPayloadValidationMode?: string;
|
|
648
|
+
DefaultPromptEffortLevel: number | null;
|
|
644
649
|
}
|
|
645
650
|
export declare class UpdateAIAgentInput {
|
|
646
651
|
ID: string;
|
|
@@ -676,6 +681,7 @@ export declare class UpdateAIAgentInput {
|
|
|
676
681
|
MaxExecutionsPerRun?: number | null;
|
|
677
682
|
StartingPayloadValidation?: string | null;
|
|
678
683
|
StartingPayloadValidationMode?: string;
|
|
684
|
+
DefaultPromptEffortLevel?: number | null;
|
|
679
685
|
OldValues___?: KeyValuePairInput[];
|
|
680
686
|
}
|
|
681
687
|
export declare class RunAIAgentViewResult {
|
|
@@ -1181,6 +1187,7 @@ export declare class AIPrompt_ {
|
|
|
1181
1187
|
FailoverDelaySeconds?: number;
|
|
1182
1188
|
FailoverModelStrategy: string;
|
|
1183
1189
|
FailoverErrorScope: string;
|
|
1190
|
+
EffortLevel?: number;
|
|
1184
1191
|
Template: string;
|
|
1185
1192
|
Category?: string;
|
|
1186
1193
|
Type: string;
|
|
@@ -1246,6 +1253,7 @@ export declare class CreateAIPromptInput {
|
|
|
1246
1253
|
FailoverDelaySeconds?: number | null;
|
|
1247
1254
|
FailoverModelStrategy?: string;
|
|
1248
1255
|
FailoverErrorScope?: string;
|
|
1256
|
+
EffortLevel: number | null;
|
|
1249
1257
|
}
|
|
1250
1258
|
export declare class UpdateAIPromptInput {
|
|
1251
1259
|
ID: string;
|
|
@@ -1296,6 +1304,7 @@ export declare class UpdateAIPromptInput {
|
|
|
1296
1304
|
FailoverDelaySeconds?: number | null;
|
|
1297
1305
|
FailoverModelStrategy?: string;
|
|
1298
1306
|
FailoverErrorScope?: string;
|
|
1307
|
+
EffortLevel?: number | null;
|
|
1299
1308
|
OldValues___?: KeyValuePairInput[];
|
|
1300
1309
|
}
|
|
1301
1310
|
export declare class RunAIPromptViewResult {
|
|
@@ -2250,6 +2259,7 @@ export declare class Entity_ {
|
|
|
2250
2259
|
RowCount?: number;
|
|
2251
2260
|
RowCountRunAt?: Date;
|
|
2252
2261
|
Status: string;
|
|
2262
|
+
DisplayName?: string;
|
|
2253
2263
|
CodeName?: string;
|
|
2254
2264
|
ClassName?: string;
|
|
2255
2265
|
BaseTableCodeName?: string;
|
|
@@ -2347,6 +2357,7 @@ export declare class CreateEntityInput {
|
|
|
2347
2357
|
RowCount: number | null;
|
|
2348
2358
|
RowCountRunAt: Date | null;
|
|
2349
2359
|
Status?: string;
|
|
2360
|
+
DisplayName: string | null;
|
|
2350
2361
|
}
|
|
2351
2362
|
export declare class UpdateEntityInput {
|
|
2352
2363
|
ID: string;
|
|
@@ -2401,6 +2412,7 @@ export declare class UpdateEntityInput {
|
|
|
2401
2412
|
RowCount?: number | null;
|
|
2402
2413
|
RowCountRunAt?: Date | null;
|
|
2403
2414
|
Status?: string;
|
|
2415
|
+
DisplayName?: string | null;
|
|
2404
2416
|
OldValues___?: KeyValuePairInput[];
|
|
2405
2417
|
}
|
|
2406
2418
|
export declare class RunEntityViewResult {
|
|
@@ -2516,8 +2528,8 @@ export declare class User_ {
|
|
|
2516
2528
|
AIAgentRequests_ResponseByUserIDArray: AIAgentRequest_[];
|
|
2517
2529
|
AIAgentNotes_UserIDArray: AIAgentNote_[];
|
|
2518
2530
|
MJ_ReportUserStates_UserIDArray: ReportUserState_[];
|
|
2519
|
-
MJ_DashboardUserStates_UserIDArray: DashboardUserState_[];
|
|
2520
2531
|
MJ_DashboardUserPreferences_UserIDArray: DashboardUserPreference_[];
|
|
2532
|
+
MJ_DashboardUserStates_UserIDArray: DashboardUserState_[];
|
|
2521
2533
|
ResourcePermissions_UserIDArray: ResourcePermission_[];
|
|
2522
2534
|
AIAgentRequests_RequestForUserIDArray: AIAgentRequest_[];
|
|
2523
2535
|
ConversationDetails_UserIDArray: ConversationDetail_[];
|
|
@@ -2603,8 +2615,8 @@ export declare class UserResolverBase extends ResolverBase {
|
|
|
2603
2615
|
AIAgentRequests_ResponseByUserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2604
2616
|
AIAgentNotes_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2605
2617
|
MJ_ReportUserStates_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2606
|
-
MJ_DashboardUserStates_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2607
2618
|
MJ_DashboardUserPreferences_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2619
|
+
MJ_DashboardUserStates_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2608
2620
|
ResourcePermissions_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2609
2621
|
AIAgentRequests_RequestForUserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2610
2622
|
ConversationDetails_UserIDArray(user_: User_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
@@ -5714,6 +5726,10 @@ export declare class QueryCategory_ {
|
|
|
5714
5726
|
UserID: string;
|
|
5715
5727
|
_mj__CreatedAt: Date;
|
|
5716
5728
|
_mj__UpdatedAt: Date;
|
|
5729
|
+
DefaultCacheEnabled: boolean;
|
|
5730
|
+
DefaultCacheTTLMinutes?: number;
|
|
5731
|
+
DefaultCacheMaxSize?: number;
|
|
5732
|
+
CacheInheritanceEnabled: boolean;
|
|
5717
5733
|
Parent?: string;
|
|
5718
5734
|
User: string;
|
|
5719
5735
|
QueryCategories_ParentIDArray: QueryCategory_[];
|
|
@@ -5725,6 +5741,10 @@ export declare class CreateQueryCategoryInput {
|
|
|
5725
5741
|
ParentID: string | null;
|
|
5726
5742
|
Description: string | null;
|
|
5727
5743
|
UserID?: string;
|
|
5744
|
+
DefaultCacheEnabled?: boolean;
|
|
5745
|
+
DefaultCacheTTLMinutes: number | null;
|
|
5746
|
+
DefaultCacheMaxSize: number | null;
|
|
5747
|
+
CacheInheritanceEnabled?: boolean;
|
|
5728
5748
|
}
|
|
5729
5749
|
export declare class UpdateQueryCategoryInput {
|
|
5730
5750
|
ID: string;
|
|
@@ -5732,6 +5752,10 @@ export declare class UpdateQueryCategoryInput {
|
|
|
5732
5752
|
ParentID?: string | null;
|
|
5733
5753
|
Description?: string | null;
|
|
5734
5754
|
UserID?: string;
|
|
5755
|
+
DefaultCacheEnabled?: boolean;
|
|
5756
|
+
DefaultCacheTTLMinutes?: number | null;
|
|
5757
|
+
DefaultCacheMaxSize?: number | null;
|
|
5758
|
+
CacheInheritanceEnabled?: boolean;
|
|
5735
5759
|
OldValues___?: KeyValuePairInput[];
|
|
5736
5760
|
}
|
|
5737
5761
|
export declare class RunQueryCategoryViewResult {
|
|
@@ -5770,6 +5794,10 @@ export declare class Query_ {
|
|
|
5770
5794
|
_mj__CreatedAt: Date;
|
|
5771
5795
|
_mj__UpdatedAt: Date;
|
|
5772
5796
|
UsesTemplate?: boolean;
|
|
5797
|
+
AuditQueryRuns: boolean;
|
|
5798
|
+
CacheEnabled: boolean;
|
|
5799
|
+
CacheTTLMinutes?: number;
|
|
5800
|
+
CacheMaxSize?: number;
|
|
5773
5801
|
Category?: string;
|
|
5774
5802
|
QueryFields_QueryIDArray: QueryField_[];
|
|
5775
5803
|
QueryPermissions_QueryIDArray: QueryPermission_[];
|
|
@@ -5791,6 +5819,10 @@ export declare class CreateQueryInput {
|
|
|
5791
5819
|
QualityRank?: number | null;
|
|
5792
5820
|
ExecutionCostRank: number | null;
|
|
5793
5821
|
UsesTemplate?: boolean | null;
|
|
5822
|
+
AuditQueryRuns?: boolean;
|
|
5823
|
+
CacheEnabled?: boolean;
|
|
5824
|
+
CacheTTLMinutes: number | null;
|
|
5825
|
+
CacheMaxSize: number | null;
|
|
5794
5826
|
}
|
|
5795
5827
|
export declare class UpdateQueryInput {
|
|
5796
5828
|
ID: string;
|
|
@@ -5806,6 +5838,10 @@ export declare class UpdateQueryInput {
|
|
|
5806
5838
|
QualityRank?: number | null;
|
|
5807
5839
|
ExecutionCostRank?: number | null;
|
|
5808
5840
|
UsesTemplate?: boolean | null;
|
|
5841
|
+
AuditQueryRuns?: boolean;
|
|
5842
|
+
CacheEnabled?: boolean;
|
|
5843
|
+
CacheTTLMinutes?: number | null;
|
|
5844
|
+
CacheMaxSize?: number | null;
|
|
5809
5845
|
OldValues___?: KeyValuePairInput[];
|
|
5810
5846
|
}
|
|
5811
5847
|
export declare class RunQueryViewResult {
|
|
@@ -8969,10 +9005,10 @@ export declare class AIModelVendor_ {
|
|
|
8969
9005
|
SupportsStreaming: boolean;
|
|
8970
9006
|
_mj__CreatedAt: Date;
|
|
8971
9007
|
_mj__UpdatedAt: Date;
|
|
8972
|
-
TypeID
|
|
9008
|
+
TypeID: string;
|
|
8973
9009
|
Model: string;
|
|
8974
9010
|
Vendor: string;
|
|
8975
|
-
Type
|
|
9011
|
+
Type: string;
|
|
8976
9012
|
}
|
|
8977
9013
|
export declare class CreateAIModelVendorInput {
|
|
8978
9014
|
ID?: string;
|
|
@@ -8988,7 +9024,7 @@ export declare class CreateAIModelVendorInput {
|
|
|
8988
9024
|
SupportedResponseFormats?: string;
|
|
8989
9025
|
SupportsEffortLevel?: boolean;
|
|
8990
9026
|
SupportsStreaming?: boolean;
|
|
8991
|
-
TypeID
|
|
9027
|
+
TypeID?: string;
|
|
8992
9028
|
}
|
|
8993
9029
|
export declare class UpdateAIModelVendorInput {
|
|
8994
9030
|
ID: string;
|
|
@@ -9004,7 +9040,7 @@ export declare class UpdateAIModelVendorInput {
|
|
|
9004
9040
|
SupportedResponseFormats?: string;
|
|
9005
9041
|
SupportsEffortLevel?: boolean;
|
|
9006
9042
|
SupportsStreaming?: boolean;
|
|
9007
|
-
TypeID?: string
|
|
9043
|
+
TypeID?: string;
|
|
9008
9044
|
OldValues___?: KeyValuePairInput[];
|
|
9009
9045
|
}
|
|
9010
9046
|
export declare class RunAIModelVendorViewResult {
|
|
@@ -10147,6 +10183,7 @@ export declare class AIPromptRun_ {
|
|
|
10147
10183
|
PromptTime?: number;
|
|
10148
10184
|
CompletionTime?: number;
|
|
10149
10185
|
ModelSpecificResponseDetails?: string;
|
|
10186
|
+
EffortLevel?: number;
|
|
10150
10187
|
Prompt: string;
|
|
10151
10188
|
Model: string;
|
|
10152
10189
|
Vendor: string;
|
|
@@ -10237,6 +10274,7 @@ export declare class CreateAIPromptRunInput {
|
|
|
10237
10274
|
PromptTime: number | null;
|
|
10238
10275
|
CompletionTime: number | null;
|
|
10239
10276
|
ModelSpecificResponseDetails: string | null;
|
|
10277
|
+
EffortLevel: number | null;
|
|
10240
10278
|
}
|
|
10241
10279
|
export declare class UpdateAIPromptRunInput {
|
|
10242
10280
|
ID: string;
|
|
@@ -10317,6 +10355,7 @@ export declare class UpdateAIPromptRunInput {
|
|
|
10317
10355
|
PromptTime?: number | null;
|
|
10318
10356
|
CompletionTime?: number | null;
|
|
10319
10357
|
ModelSpecificResponseDetails?: string | null;
|
|
10358
|
+
EffortLevel?: number | null;
|
|
10320
10359
|
OldValues___?: KeyValuePairInput[];
|
|
10321
10360
|
}
|
|
10322
10361
|
export declare class RunAIPromptRunViewResult {
|