@memberjunction/server 2.29.1 → 2.30.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 +112 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +707 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/QueryResolver.d.ts +2 -2
- package/dist/resolvers/QueryResolver.d.ts.map +1 -1
- package/dist/resolvers/QueryResolver.js +18 -6
- package/dist/resolvers/QueryResolver.js.map +1 -1
- package/package.json +22 -22
- package/src/generated/generated.ts +446 -1
- package/src/resolvers/QueryResolver.ts +24 -4
|
@@ -173,6 +173,49 @@ export declare class ExplorerNavigationItemResolver extends ResolverBase {
|
|
|
173
173
|
UpdateExplorerNavigationItem(input: UpdateExplorerNavigationItemInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
174
174
|
DeleteExplorerNavigationItem(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
175
175
|
}
|
|
176
|
+
export declare class GeneratedCodeCategory_ {
|
|
177
|
+
ID: string;
|
|
178
|
+
Name: string;
|
|
179
|
+
Description?: string;
|
|
180
|
+
ParentID?: string;
|
|
181
|
+
_mj__CreatedAt: Date;
|
|
182
|
+
_mj__UpdatedAt: Date;
|
|
183
|
+
Parent?: string;
|
|
184
|
+
GeneratedCodeCategories_ParentIDArray: GeneratedCodeCategory_[];
|
|
185
|
+
GeneratedCodes_CategoryIDArray: GeneratedCode_[];
|
|
186
|
+
}
|
|
187
|
+
export declare class CreateGeneratedCodeCategoryInput {
|
|
188
|
+
Name?: string;
|
|
189
|
+
Description: string | null;
|
|
190
|
+
ParentID: string | null;
|
|
191
|
+
}
|
|
192
|
+
export declare class UpdateGeneratedCodeCategoryInput {
|
|
193
|
+
ID: string;
|
|
194
|
+
Name?: string;
|
|
195
|
+
Description?: string | null;
|
|
196
|
+
ParentID?: string | null;
|
|
197
|
+
OldValues___?: KeyValuePairInput[];
|
|
198
|
+
}
|
|
199
|
+
export declare class RunGeneratedCodeCategoryViewResult {
|
|
200
|
+
Results: GeneratedCodeCategory_[];
|
|
201
|
+
UserViewRunID?: string;
|
|
202
|
+
RowCount: number;
|
|
203
|
+
TotalRowCount: number;
|
|
204
|
+
ExecutionTime: number;
|
|
205
|
+
ErrorMessage?: string;
|
|
206
|
+
Success: boolean;
|
|
207
|
+
}
|
|
208
|
+
export declare class GeneratedCodeCategoryResolver extends ResolverBase {
|
|
209
|
+
RunGeneratedCodeCategoryViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
210
|
+
RunGeneratedCodeCategoryViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
211
|
+
RunGeneratedCodeCategoryDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
212
|
+
GeneratedCodeCategory(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<GeneratedCodeCategory_ | null>;
|
|
213
|
+
GeneratedCodeCategories_ParentIDArray(generatedcodecategory_: GeneratedCodeCategory_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
214
|
+
GeneratedCodes_CategoryIDArray(generatedcodecategory_: GeneratedCodeCategory_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
215
|
+
CreateGeneratedCodeCategory(input: CreateGeneratedCodeCategoryInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
216
|
+
UpdateGeneratedCodeCategory(input: UpdateGeneratedCodeCategoryInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
217
|
+
DeleteGeneratedCodeCategory(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
218
|
+
}
|
|
176
219
|
export declare class AIAgentModel_ {
|
|
177
220
|
ID: string;
|
|
178
221
|
AgentID?: string;
|
|
@@ -1323,6 +1366,7 @@ export declare class Entity_ {
|
|
|
1323
1366
|
ApplicationEntities_EntityIDArray: ApplicationEntity_[];
|
|
1324
1367
|
ResourceTypes_EntityIDArray: ResourceType_[];
|
|
1325
1368
|
QueryEntities_EntityIDArray: QueryEntity_[];
|
|
1369
|
+
GeneratedCodes_LinkedEntityIDArray: GeneratedCode_[];
|
|
1326
1370
|
}
|
|
1327
1371
|
export declare class CreateEntityInput {
|
|
1328
1372
|
ParentID: string | null;
|
|
@@ -1475,6 +1519,7 @@ export declare class EntityResolverBase extends ResolverBase {
|
|
|
1475
1519
|
ApplicationEntities_EntityIDArray(entity_: Entity_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1476
1520
|
ResourceTypes_EntityIDArray(entity_: Entity_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1477
1521
|
QueryEntities_EntityIDArray(entity_: Entity_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1522
|
+
GeneratedCodes_LinkedEntityIDArray(entity_: Entity_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
1478
1523
|
CreateEntity(input: CreateEntityInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1479
1524
|
UpdateEntity(input: UpdateEntityInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1480
1525
|
DeleteEntity(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -2965,6 +3010,7 @@ export declare class AIModel_ {
|
|
|
2965
3010
|
AIResultCache_AIModelIDArray: AIResultCache_[];
|
|
2966
3011
|
EntityAIActions_AIModelIDArray: EntityAIAction_[];
|
|
2967
3012
|
AIAgentModels_ModelIDArray: AIAgentModel_[];
|
|
3013
|
+
GeneratedCodes_GeneratedByModelIDArray: GeneratedCode_[];
|
|
2968
3014
|
}
|
|
2969
3015
|
export declare class CreateAIModelInput {
|
|
2970
3016
|
Name?: string;
|
|
@@ -3023,6 +3069,7 @@ export declare class AIModelResolver extends ResolverBase {
|
|
|
3023
3069
|
AIResultCache_AIModelIDArray(aimodel_: AIModel_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3024
3070
|
EntityAIActions_AIModelIDArray(aimodel_: AIModel_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3025
3071
|
AIAgentModels_ModelIDArray(aimodel_: AIModel_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3072
|
+
GeneratedCodes_GeneratedByModelIDArray(aimodel_: AIModel_, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
3026
3073
|
CreateAIModel(input: CreateAIModelInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
3027
3074
|
UpdateAIModel(input: UpdateAIModelInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
3028
3075
|
DeleteAIModel(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -7921,6 +7968,71 @@ export declare class ContentItemTagResolver extends ResolverBase {
|
|
|
7921
7968
|
UpdateContentItemTag(input: UpdateContentItemTagInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
7922
7969
|
DeleteContentItemTag(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
7923
7970
|
}
|
|
7971
|
+
export declare class GeneratedCode_ {
|
|
7972
|
+
ID: string;
|
|
7973
|
+
GeneratedAt: Date;
|
|
7974
|
+
CategoryID: string;
|
|
7975
|
+
GeneratedByModelID: string;
|
|
7976
|
+
Name: string;
|
|
7977
|
+
Description?: string;
|
|
7978
|
+
Code: string;
|
|
7979
|
+
Source: string;
|
|
7980
|
+
LinkedEntityID?: string;
|
|
7981
|
+
LinkedRecordPrimaryKey?: string;
|
|
7982
|
+
Status: string;
|
|
7983
|
+
Language: string;
|
|
7984
|
+
_mj__CreatedAt: Date;
|
|
7985
|
+
_mj__UpdatedAt: Date;
|
|
7986
|
+
Category: string;
|
|
7987
|
+
GeneratedByModel: string;
|
|
7988
|
+
LinkedEntity?: string;
|
|
7989
|
+
}
|
|
7990
|
+
export declare class CreateGeneratedCodeInput {
|
|
7991
|
+
GeneratedAt?: Date;
|
|
7992
|
+
CategoryID?: string;
|
|
7993
|
+
GeneratedByModelID?: string;
|
|
7994
|
+
Name?: string;
|
|
7995
|
+
Description: string | null;
|
|
7996
|
+
Code?: string;
|
|
7997
|
+
Source?: string;
|
|
7998
|
+
LinkedEntityID: string | null;
|
|
7999
|
+
LinkedRecordPrimaryKey: string | null;
|
|
8000
|
+
Status?: string;
|
|
8001
|
+
Language?: string;
|
|
8002
|
+
}
|
|
8003
|
+
export declare class UpdateGeneratedCodeInput {
|
|
8004
|
+
ID: string;
|
|
8005
|
+
GeneratedAt?: Date;
|
|
8006
|
+
CategoryID?: string;
|
|
8007
|
+
GeneratedByModelID?: string;
|
|
8008
|
+
Name?: string;
|
|
8009
|
+
Description?: string | null;
|
|
8010
|
+
Code?: string;
|
|
8011
|
+
Source?: string;
|
|
8012
|
+
LinkedEntityID?: string | null;
|
|
8013
|
+
LinkedRecordPrimaryKey?: string | null;
|
|
8014
|
+
Status?: string;
|
|
8015
|
+
Language?: string;
|
|
8016
|
+
OldValues___?: KeyValuePairInput[];
|
|
8017
|
+
}
|
|
8018
|
+
export declare class RunGeneratedCodeViewResult {
|
|
8019
|
+
Results: GeneratedCode_[];
|
|
8020
|
+
UserViewRunID?: string;
|
|
8021
|
+
RowCount: number;
|
|
8022
|
+
TotalRowCount: number;
|
|
8023
|
+
ExecutionTime: number;
|
|
8024
|
+
ErrorMessage?: string;
|
|
8025
|
+
Success: boolean;
|
|
8026
|
+
}
|
|
8027
|
+
export declare class GeneratedCodeResolver extends ResolverBase {
|
|
8028
|
+
RunGeneratedCodeViewByID(input: RunViewByIDInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8029
|
+
RunGeneratedCodeViewByName(input: RunViewByNameInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8030
|
+
RunGeneratedCodeDynamicView(input: RunDynamicViewInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8031
|
+
GeneratedCode(ID: string, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<GeneratedCode_ | null>;
|
|
8032
|
+
CreateGeneratedCode(input: CreateGeneratedCodeInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8033
|
+
UpdateGeneratedCode(input: UpdateGeneratedCodeInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8034
|
+
DeleteGeneratedCode(ID: string, options: DeleteOptionsInput, { dataSources, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8035
|
+
}
|
|
7924
8036
|
export declare class AIAgentLearningCycle_ {
|
|
7925
8037
|
ID: string;
|
|
7926
8038
|
AgentID: string;
|