@memberjunction/server 2.73.0 → 2.75.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 +81 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +837 -368
- package/dist/generated/generated.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 -0
- package/dist/resolvers/AskSkipResolver.d.ts.map +1 -1
- package/dist/resolvers/AskSkipResolver.js +10 -0
- package/dist/resolvers/AskSkipResolver.js.map +1 -1
- package/dist/resolvers/CreateQueryResolver.d.ts +33 -0
- package/dist/resolvers/CreateQueryResolver.d.ts.map +1 -0
- package/dist/resolvers/CreateQueryResolver.js +251 -0
- package/dist/resolvers/CreateQueryResolver.js.map +1 -0
- package/dist/resolvers/QueryResolver.d.ts +8 -5
- package/dist/resolvers/QueryResolver.d.ts.map +1 -1
- package/dist/resolvers/QueryResolver.js +151 -46
- 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 +6 -2
- package/dist/resolvers/RunAIPromptResolver.js.map +1 -1
- package/package.json +34 -34
- package/src/generated/generated.ts +662 -369
- package/src/index.ts +2 -1
- package/src/resolvers/AskSkipResolver.ts +15 -0
- package/src/resolvers/CreateQueryResolver.ts +257 -0
- package/src/resolvers/QueryResolver.ts +147 -41
- package/src/resolvers/RunAIPromptResolver.ts +5 -1
|
@@ -5517,6 +5517,8 @@ export declare class QueryField_ {
|
|
|
5517
5517
|
SummaryDescription?: string;
|
|
5518
5518
|
_mj__CreatedAt: Date;
|
|
5519
5519
|
_mj__UpdatedAt: Date;
|
|
5520
|
+
DetectionMethod: string;
|
|
5521
|
+
AutoDetectConfidenceScore?: number;
|
|
5520
5522
|
Query: string;
|
|
5521
5523
|
SourceEntity?: string;
|
|
5522
5524
|
}
|
|
@@ -5534,6 +5536,8 @@ export declare class CreateQueryFieldInput {
|
|
|
5534
5536
|
ComputationDescription: string | null;
|
|
5535
5537
|
IsSummary?: boolean;
|
|
5536
5538
|
SummaryDescription: string | null;
|
|
5539
|
+
DetectionMethod?: string;
|
|
5540
|
+
AutoDetectConfidenceScore: number | null;
|
|
5537
5541
|
}
|
|
5538
5542
|
export declare class UpdateQueryFieldInput {
|
|
5539
5543
|
ID: string;
|
|
@@ -5549,6 +5553,8 @@ export declare class UpdateQueryFieldInput {
|
|
|
5549
5553
|
ComputationDescription?: string | null;
|
|
5550
5554
|
IsSummary?: boolean;
|
|
5551
5555
|
SummaryDescription?: string | null;
|
|
5556
|
+
DetectionMethod?: string;
|
|
5557
|
+
AutoDetectConfidenceScore?: number | null;
|
|
5552
5558
|
OldValues___?: KeyValuePairInput[];
|
|
5553
5559
|
}
|
|
5554
5560
|
export declare class RunQueryFieldViewResult {
|
|
@@ -5632,10 +5638,12 @@ export declare class Query_ {
|
|
|
5632
5638
|
ExecutionCostRank?: number;
|
|
5633
5639
|
_mj__CreatedAt: Date;
|
|
5634
5640
|
_mj__UpdatedAt: Date;
|
|
5641
|
+
UsesTemplate?: boolean;
|
|
5635
5642
|
Category?: string;
|
|
5636
5643
|
QueryFields_QueryIDArray: QueryField_[];
|
|
5637
5644
|
DataContextItems_QueryIDArray: DataContextItem_[];
|
|
5638
5645
|
QueryPermissions_QueryIDArray: QueryPermission_[];
|
|
5646
|
+
MJ_QueryParameters_QueryIDArray: QueryParameter_[];
|
|
5639
5647
|
QueryEntities_QueryIDArray: QueryEntity_[];
|
|
5640
5648
|
}
|
|
5641
5649
|
export declare class CreateQueryInput {
|
|
@@ -5651,6 +5659,7 @@ export declare class CreateQueryInput {
|
|
|
5651
5659
|
Status?: string;
|
|
5652
5660
|
QualityRank?: number | null;
|
|
5653
5661
|
ExecutionCostRank: number | null;
|
|
5662
|
+
UsesTemplate?: boolean | null;
|
|
5654
5663
|
}
|
|
5655
5664
|
export declare class UpdateQueryInput {
|
|
5656
5665
|
ID: string;
|
|
@@ -5665,6 +5674,7 @@ export declare class UpdateQueryInput {
|
|
|
5665
5674
|
Status?: string;
|
|
5666
5675
|
QualityRank?: number | null;
|
|
5667
5676
|
ExecutionCostRank?: number | null;
|
|
5677
|
+
UsesTemplate?: boolean | null;
|
|
5668
5678
|
OldValues___?: KeyValuePairInput[];
|
|
5669
5679
|
}
|
|
5670
5680
|
export declare class RunQueryViewResult {
|
|
@@ -5684,6 +5694,7 @@ export declare class QueryResolver extends ResolverBase {
|
|
|
5684
5694
|
QueryFields_QueryIDArray(query_: Query_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5685
5695
|
DataContextItems_QueryIDArray(query_: Query_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5686
5696
|
QueryPermissions_QueryIDArray(query_: Query_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5697
|
+
MJ_QueryParameters_QueryIDArray(query_: Query_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5687
5698
|
QueryEntities_QueryIDArray(query_: Query_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5688
5699
|
CreateQuery(input: CreateQueryInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5689
5700
|
UpdateQuery(input: UpdateQueryInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -8968,6 +8979,8 @@ export declare class QueryEntity_ {
|
|
|
8968
8979
|
EntityID: string;
|
|
8969
8980
|
_mj__CreatedAt: Date;
|
|
8970
8981
|
_mj__UpdatedAt: Date;
|
|
8982
|
+
DetectionMethod: string;
|
|
8983
|
+
AutoDetectConfidenceScore?: number;
|
|
8971
8984
|
Query: string;
|
|
8972
8985
|
Entity: string;
|
|
8973
8986
|
}
|
|
@@ -8975,11 +8988,15 @@ export declare class CreateQueryEntityInput {
|
|
|
8975
8988
|
ID?: string;
|
|
8976
8989
|
QueryID?: string;
|
|
8977
8990
|
EntityID?: string;
|
|
8991
|
+
DetectionMethod?: string;
|
|
8992
|
+
AutoDetectConfidenceScore: number | null;
|
|
8978
8993
|
}
|
|
8979
8994
|
export declare class UpdateQueryEntityInput {
|
|
8980
8995
|
ID: string;
|
|
8981
8996
|
QueryID?: string;
|
|
8982
8997
|
EntityID?: string;
|
|
8998
|
+
DetectionMethod?: string;
|
|
8999
|
+
AutoDetectConfidenceScore?: number | null;
|
|
8983
9000
|
OldValues___?: KeyValuePairInput[];
|
|
8984
9001
|
}
|
|
8985
9002
|
export declare class RunQueryEntityViewResult {
|
|
@@ -9290,6 +9307,67 @@ export declare class DashboardUserPreferenceResolver extends ResolverBase {
|
|
|
9290
9307
|
UpdateDashboardUserPreference(input: UpdateDashboardUserPreferenceInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9291
9308
|
DeleteDashboardUserPreference(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9292
9309
|
}
|
|
9310
|
+
export declare class QueryParameter_ {
|
|
9311
|
+
ID: string;
|
|
9312
|
+
QueryID: string;
|
|
9313
|
+
Name: string;
|
|
9314
|
+
Type: string;
|
|
9315
|
+
IsRequired?: boolean;
|
|
9316
|
+
DefaultValue?: string;
|
|
9317
|
+
Description?: string;
|
|
9318
|
+
SampleValue?: string;
|
|
9319
|
+
ValidationFilters?: string;
|
|
9320
|
+
DetectionMethod: string;
|
|
9321
|
+
AutoDetectConfidenceScore?: number;
|
|
9322
|
+
_mj__CreatedAt: Date;
|
|
9323
|
+
_mj__UpdatedAt: Date;
|
|
9324
|
+
Query: string;
|
|
9325
|
+
}
|
|
9326
|
+
export declare class CreateQueryParameterInput {
|
|
9327
|
+
ID?: string;
|
|
9328
|
+
QueryID?: string;
|
|
9329
|
+
Name?: string;
|
|
9330
|
+
Type?: string;
|
|
9331
|
+
IsRequired?: boolean | null;
|
|
9332
|
+
DefaultValue: string | null;
|
|
9333
|
+
Description: string | null;
|
|
9334
|
+
SampleValue: string | null;
|
|
9335
|
+
ValidationFilters: string | null;
|
|
9336
|
+
DetectionMethod?: string;
|
|
9337
|
+
AutoDetectConfidenceScore: number | null;
|
|
9338
|
+
}
|
|
9339
|
+
export declare class UpdateQueryParameterInput {
|
|
9340
|
+
ID: string;
|
|
9341
|
+
QueryID?: string;
|
|
9342
|
+
Name?: string;
|
|
9343
|
+
Type?: string;
|
|
9344
|
+
IsRequired?: boolean | null;
|
|
9345
|
+
DefaultValue?: string | null;
|
|
9346
|
+
Description?: string | null;
|
|
9347
|
+
SampleValue?: string | null;
|
|
9348
|
+
ValidationFilters?: string | null;
|
|
9349
|
+
DetectionMethod?: string;
|
|
9350
|
+
AutoDetectConfidenceScore?: number | null;
|
|
9351
|
+
OldValues___?: KeyValuePairInput[];
|
|
9352
|
+
}
|
|
9353
|
+
export declare class RunQueryParameterViewResult {
|
|
9354
|
+
Results: QueryParameter_[];
|
|
9355
|
+
UserViewRunID?: string;
|
|
9356
|
+
RowCount: number;
|
|
9357
|
+
TotalRowCount: number;
|
|
9358
|
+
ExecutionTime: number;
|
|
9359
|
+
ErrorMessage?: string;
|
|
9360
|
+
Success: boolean;
|
|
9361
|
+
}
|
|
9362
|
+
export declare class QueryParameterResolver extends ResolverBase {
|
|
9363
|
+
RunQueryParameterViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9364
|
+
RunQueryParameterViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9365
|
+
RunQueryParameterDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
9366
|
+
QueryParameter(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<QueryParameter_ | null>;
|
|
9367
|
+
CreateQueryParameter(input: CreateQueryParameterInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9368
|
+
UpdateQueryParameter(input: UpdateQueryParameterInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9369
|
+
DeleteQueryParameter(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
9370
|
+
}
|
|
9293
9371
|
export declare class ContentProcessRun_ {
|
|
9294
9372
|
ID: string;
|
|
9295
9373
|
SourceID: string;
|
|
@@ -9916,6 +9994,7 @@ export declare class AIPromptRun_ {
|
|
|
9916
9994
|
OriginalModelID?: string;
|
|
9917
9995
|
OriginalRequestStartTime?: Date;
|
|
9918
9996
|
TotalFailoverDuration?: number;
|
|
9997
|
+
RerunFromPromptRunID?: string;
|
|
9919
9998
|
Prompt: string;
|
|
9920
9999
|
Model: string;
|
|
9921
10000
|
Vendor: string;
|
|
@@ -9984,6 +10063,7 @@ export declare class CreateAIPromptRunInput {
|
|
|
9984
10063
|
OriginalModelID: string | null;
|
|
9985
10064
|
OriginalRequestStartTime: Date | null;
|
|
9986
10065
|
TotalFailoverDuration: number | null;
|
|
10066
|
+
RerunFromPromptRunID: string | null;
|
|
9987
10067
|
}
|
|
9988
10068
|
export declare class UpdateAIPromptRunInput {
|
|
9989
10069
|
ID: string;
|
|
@@ -10044,6 +10124,7 @@ export declare class UpdateAIPromptRunInput {
|
|
|
10044
10124
|
OriginalModelID?: string | null;
|
|
10045
10125
|
OriginalRequestStartTime?: Date | null;
|
|
10046
10126
|
TotalFailoverDuration?: number | null;
|
|
10127
|
+
RerunFromPromptRunID?: string | null;
|
|
10047
10128
|
OldValues___?: KeyValuePairInput[];
|
|
10048
10129
|
}
|
|
10049
10130
|
export declare class RunAIPromptRunViewResult {
|