@memberjunction/server 5.45.1 → 5.46.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 +107 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +580 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/MergeRecordsResolver.d.ts +2 -2
- package/dist/resolvers/MergeRecordsResolver.d.ts.map +1 -1
- package/dist/resolvers/MergeRecordsResolver.js +15 -5
- package/dist/resolvers/MergeRecordsResolver.js.map +1 -1
- package/package.json +88 -88
- package/src/generated/generated.ts +406 -1
- package/src/resolvers/MergeRecordsResolver.ts +18 -5
|
@@ -3651,6 +3651,7 @@ export declare class MJAIConfiguration_ {
|
|
|
3651
3651
|
MJAIResultCache_ConfigurationIDArray: MJAIResultCache_[];
|
|
3652
3652
|
MJAIAgentRuns_ConfigurationIDArray: MJAIAgentRun_[];
|
|
3653
3653
|
MJAIConfigurations_ParentIDArray: MJAIConfiguration_[];
|
|
3654
|
+
MJScopedPromptConfigs_ConfigurationIDArray: MJScopedPromptConfig_[];
|
|
3654
3655
|
}
|
|
3655
3656
|
export declare class CreateMJAIConfigurationInput {
|
|
3656
3657
|
ID?: string;
|
|
@@ -3701,6 +3702,7 @@ export declare class MJAIConfigurationResolver extends ResolverBase {
|
|
|
3701
3702
|
MJAIResultCache_ConfigurationIDArray(mjaiconfiguration_: MJAIConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
3702
3703
|
MJAIAgentRuns_ConfigurationIDArray(mjaiconfiguration_: MJAIConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
3703
3704
|
MJAIConfigurations_ParentIDArray(mjaiconfiguration_: MJAIConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
3705
|
+
MJScopedPromptConfigs_ConfigurationIDArray(mjaiconfiguration_: MJAIConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
3704
3706
|
CreateMJAIConfiguration(input: CreateMJAIConfigurationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
3705
3707
|
UpdateMJAIConfiguration(input: UpdateMJAIConfigurationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
3706
3708
|
DeleteMJAIConfiguration(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -4338,6 +4340,7 @@ export declare class MJAIModel_ {
|
|
|
4338
4340
|
MJQueries_EmbeddingModelIDArray: MJQuery_[];
|
|
4339
4341
|
MJTags_EmbeddingModelIDArray: MJTag_[];
|
|
4340
4342
|
MJAIModels_PriorVersionIDArray: MJAIModel_[];
|
|
4343
|
+
MJScopedPromptConfigs_ModelIDArray: MJScopedPromptConfig_[];
|
|
4341
4344
|
}
|
|
4342
4345
|
export declare class CreateMJAIModelInput {
|
|
4343
4346
|
ID?: string;
|
|
@@ -4426,6 +4429,7 @@ export declare class MJAIModelResolver extends ResolverBase {
|
|
|
4426
4429
|
MJQueries_EmbeddingModelIDArray(mjaimodel_: MJAIModel_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4427
4430
|
MJTags_EmbeddingModelIDArray(mjaimodel_: MJAIModel_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4428
4431
|
MJAIModels_PriorVersionIDArray(mjaimodel_: MJAIModel_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4432
|
+
MJScopedPromptConfigs_ModelIDArray(mjaimodel_: MJAIModel_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4429
4433
|
CreateMJAIModel(input: CreateMJAIModelInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4430
4434
|
UpdateMJAIModel(input: UpdateMJAIModelInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4431
4435
|
DeleteMJAIModel(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5068,6 +5072,7 @@ export declare class MJAIPrompt_ {
|
|
|
5068
5072
|
MJRecordProcesses_PromptIDArray: MJRecordProcess_[];
|
|
5069
5073
|
MJEntityDocuments_ReasoningPromptIDArray: MJEntityDocument_[];
|
|
5070
5074
|
MJScopedPromptParts_PromptIDArray: MJScopedPromptPart_[];
|
|
5075
|
+
MJScopedPromptConfigs_PromptIDArray: MJScopedPromptConfig_[];
|
|
5071
5076
|
}
|
|
5072
5077
|
export declare class CreateMJAIPromptInput {
|
|
5073
5078
|
ID?: string;
|
|
@@ -5211,6 +5216,7 @@ export declare class MJAIPromptResolver extends ResolverBase {
|
|
|
5211
5216
|
MJRecordProcesses_PromptIDArray(mjaiprompt_: MJAIPrompt_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5212
5217
|
MJEntityDocuments_ReasoningPromptIDArray(mjaiprompt_: MJAIPrompt_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5213
5218
|
MJScopedPromptParts_PromptIDArray(mjaiprompt_: MJAIPrompt_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5219
|
+
MJScopedPromptConfigs_PromptIDArray(mjaiprompt_: MJAIPrompt_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5214
5220
|
CreateMJAIPrompt(input: CreateMJAIPromptInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5215
5221
|
UpdateMJAIPrompt(input: UpdateMJAIPromptInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5216
5222
|
DeleteMJAIPrompt(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5659,6 +5665,7 @@ export declare class MJAIVendor_ {
|
|
|
5659
5665
|
MJAIResultCache_VendorIDArray: MJAIResultCache_[];
|
|
5660
5666
|
MJAIVendorTypes_VendorIDArray: MJAIVendorType_[];
|
|
5661
5667
|
MJAIAgentRuns_OverrideVendorIDArray: MJAIAgentRun_[];
|
|
5668
|
+
MJScopedPromptConfigs_VendorIDArray: MJScopedPromptConfig_[];
|
|
5662
5669
|
}
|
|
5663
5670
|
export declare class CreateMJAIVendorInput {
|
|
5664
5671
|
ID?: string;
|
|
@@ -5697,6 +5704,7 @@ export declare class MJAIVendorResolver extends ResolverBase {
|
|
|
5697
5704
|
MJAIResultCache_VendorIDArray(mjaivendor_: MJAIVendor_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5698
5705
|
MJAIVendorTypes_VendorIDArray(mjaivendor_: MJAIVendor_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5699
5706
|
MJAIAgentRuns_OverrideVendorIDArray(mjaivendor_: MJAIVendor_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5707
|
+
MJScopedPromptConfigs_VendorIDArray(mjaivendor_: MJAIVendor_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5700
5708
|
CreateMJAIVendor(input: CreateMJAIVendorInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5701
5709
|
UpdateMJAIVendor(input: UpdateMJAIVendorInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5702
5710
|
DeleteMJAIVendor(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -11889,6 +11897,7 @@ export declare class MJEntity_ {
|
|
|
11889
11897
|
MJMLModelScoringBindings_TargetEntityIDArray: MJMLModelScoringBinding_[];
|
|
11890
11898
|
MJAIAgentSessions_LinkedEntityIDArray: MJAIAgentSession_[];
|
|
11891
11899
|
MJScopedPromptParts_PrimaryScopeEntityIDArray: MJScopedPromptPart_[];
|
|
11900
|
+
MJScopedPromptConfigs_PrimaryScopeEntityIDArray: MJScopedPromptConfig_[];
|
|
11892
11901
|
}
|
|
11893
11902
|
export declare class CreateMJEntityInput {
|
|
11894
11903
|
ID?: string;
|
|
@@ -12108,6 +12117,7 @@ export declare class MJEntityResolverBase extends ResolverBase {
|
|
|
12108
12117
|
MJMLModelScoringBindings_TargetEntityIDArray(mjentity_: MJEntity_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
12109
12118
|
MJAIAgentSessions_LinkedEntityIDArray(mjentity_: MJEntity_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
12110
12119
|
MJScopedPromptParts_PrimaryScopeEntityIDArray(mjentity_: MJEntity_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
12120
|
+
MJScopedPromptConfigs_PrimaryScopeEntityIDArray(mjentity_: MJEntity_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
12111
12121
|
CreateMJEntity(input: CreateMJEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
12112
12122
|
UpdateMJEntity(input: UpdateMJEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
12113
12123
|
DeleteMJEntity(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -20284,6 +20294,103 @@ export declare class MJSchemaInfoResolver extends ResolverBase {
|
|
|
20284
20294
|
UpdateMJSchemaInfo(input: UpdateMJSchemaInfoInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
20285
20295
|
DeleteMJSchemaInfo(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
20286
20296
|
}
|
|
20297
|
+
export declare class MJScopedPromptConfig_ {
|
|
20298
|
+
ID: string;
|
|
20299
|
+
PromptID: string;
|
|
20300
|
+
Description?: string;
|
|
20301
|
+
PrimaryScopeEntityID?: string;
|
|
20302
|
+
PrimaryScopeRecordID?: string;
|
|
20303
|
+
SecondaryScopes?: string;
|
|
20304
|
+
Status: string;
|
|
20305
|
+
Priority: number;
|
|
20306
|
+
ModelID?: string;
|
|
20307
|
+
VendorID?: string;
|
|
20308
|
+
ConfigurationID?: string;
|
|
20309
|
+
Temperature?: number;
|
|
20310
|
+
TopP?: number;
|
|
20311
|
+
TopK?: number;
|
|
20312
|
+
MinP?: number;
|
|
20313
|
+
FrequencyPenalty?: number;
|
|
20314
|
+
PresencePenalty?: number;
|
|
20315
|
+
Seed?: number;
|
|
20316
|
+
StopSequences?: string;
|
|
20317
|
+
ResponseFormat?: string;
|
|
20318
|
+
EffortLevel?: number;
|
|
20319
|
+
_mj__CreatedAt: Date;
|
|
20320
|
+
_mj__UpdatedAt: Date;
|
|
20321
|
+
Prompt: string;
|
|
20322
|
+
PrimaryScopeEntity?: string;
|
|
20323
|
+
Model?: string;
|
|
20324
|
+
Vendor?: string;
|
|
20325
|
+
Configuration?: string;
|
|
20326
|
+
}
|
|
20327
|
+
export declare class CreateMJScopedPromptConfigInput {
|
|
20328
|
+
ID?: string;
|
|
20329
|
+
PromptID?: string;
|
|
20330
|
+
Description: string | null;
|
|
20331
|
+
PrimaryScopeEntityID: string | null;
|
|
20332
|
+
PrimaryScopeRecordID: string | null;
|
|
20333
|
+
SecondaryScopes: string | null;
|
|
20334
|
+
Status?: string;
|
|
20335
|
+
Priority?: number;
|
|
20336
|
+
ModelID: string | null;
|
|
20337
|
+
VendorID: string | null;
|
|
20338
|
+
ConfigurationID: string | null;
|
|
20339
|
+
Temperature: number | null;
|
|
20340
|
+
TopP: number | null;
|
|
20341
|
+
TopK: number | null;
|
|
20342
|
+
MinP: number | null;
|
|
20343
|
+
FrequencyPenalty: number | null;
|
|
20344
|
+
PresencePenalty: number | null;
|
|
20345
|
+
Seed: number | null;
|
|
20346
|
+
StopSequences: string | null;
|
|
20347
|
+
ResponseFormat: string | null;
|
|
20348
|
+
EffortLevel: number | null;
|
|
20349
|
+
RestoreContext___?: RestoreContextInput;
|
|
20350
|
+
}
|
|
20351
|
+
export declare class UpdateMJScopedPromptConfigInput {
|
|
20352
|
+
ID: string;
|
|
20353
|
+
PromptID?: string;
|
|
20354
|
+
Description?: string | null;
|
|
20355
|
+
PrimaryScopeEntityID?: string | null;
|
|
20356
|
+
PrimaryScopeRecordID?: string | null;
|
|
20357
|
+
SecondaryScopes?: string | null;
|
|
20358
|
+
Status?: string;
|
|
20359
|
+
Priority?: number;
|
|
20360
|
+
ModelID?: string | null;
|
|
20361
|
+
VendorID?: string | null;
|
|
20362
|
+
ConfigurationID?: string | null;
|
|
20363
|
+
Temperature?: number | null;
|
|
20364
|
+
TopP?: number | null;
|
|
20365
|
+
TopK?: number | null;
|
|
20366
|
+
MinP?: number | null;
|
|
20367
|
+
FrequencyPenalty?: number | null;
|
|
20368
|
+
PresencePenalty?: number | null;
|
|
20369
|
+
Seed?: number | null;
|
|
20370
|
+
StopSequences?: string | null;
|
|
20371
|
+
ResponseFormat?: string | null;
|
|
20372
|
+
EffortLevel?: number | null;
|
|
20373
|
+
OldValues___?: KeyValuePairInput[];
|
|
20374
|
+
RestoreContext___?: RestoreContextInput;
|
|
20375
|
+
}
|
|
20376
|
+
export declare class RunMJScopedPromptConfigViewResult {
|
|
20377
|
+
Results: MJScopedPromptConfig_[];
|
|
20378
|
+
UserViewRunID?: string;
|
|
20379
|
+
RowCount: number;
|
|
20380
|
+
TotalRowCount: number;
|
|
20381
|
+
ExecutionTime: number;
|
|
20382
|
+
ErrorMessage?: string;
|
|
20383
|
+
Success: boolean;
|
|
20384
|
+
}
|
|
20385
|
+
export declare class MJScopedPromptConfigResolver extends ResolverBase {
|
|
20386
|
+
RunMJScopedPromptConfigViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
20387
|
+
RunMJScopedPromptConfigViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
20388
|
+
RunMJScopedPromptConfigDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
20389
|
+
MJScopedPromptConfig(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJScopedPromptConfig_ | null>;
|
|
20390
|
+
CreateMJScopedPromptConfig(input: CreateMJScopedPromptConfigInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
20391
|
+
UpdateMJScopedPromptConfig(input: UpdateMJScopedPromptConfigInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
20392
|
+
DeleteMJScopedPromptConfig(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
20393
|
+
}
|
|
20287
20394
|
export declare class MJScopedPromptPart_ {
|
|
20288
20395
|
ID: string;
|
|
20289
20396
|
PromptID: string;
|