@memberjunction/server 2.63.1 → 2.64.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/server",
3
- "version": "2.63.1",
3
+ "version": "2.64.0",
4
4
  "description": "MemberJunction: This project provides API access via GraphQL to the common data store.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./src/index.ts",
@@ -22,39 +22,39 @@
22
22
  "dependencies": {
23
23
  "@apollo/server": "^4.9.1",
24
24
  "@graphql-tools/utils": "^10.0.1",
25
- "@memberjunction/actions": "2.63.1",
26
- "@memberjunction/ai": "2.63.1",
27
- "@memberjunction/ai-core-plus": "2.63.1",
28
- "@memberjunction/ai-agents": "2.63.1",
29
- "@memberjunction/aiengine": "2.63.1",
30
- "@memberjunction/ai-prompts": "2.63.1",
31
- "@memberjunction/ai-agent-manager-actions": "2.63.1",
32
- "@memberjunction/ai-mistral": "2.63.1",
33
- "@memberjunction/ai-openai": "2.63.1",
34
- "@memberjunction/ai-anthropic": "2.63.1",
35
- "@memberjunction/ai-groq": "2.63.1",
36
- "@memberjunction/ai-cerebras": "2.63.1",
37
- "@memberjunction/ai-vectors-pinecone": "2.63.1",
38
- "@memberjunction/core": "2.63.1",
39
- "@memberjunction/core-actions": "2.63.1",
40
- "@memberjunction/actions-bizapps-accounting": "2.63.1",
41
- "@memberjunction/actions-bizapps-crm": "2.63.1",
42
- "@memberjunction/actions-bizapps-lms": "2.63.1",
43
- "@memberjunction/actions-bizapps-social": "2.63.1",
44
- "@memberjunction/core-entities": "2.63.1",
45
- "@memberjunction/core-entities-server": "2.63.1",
46
- "@memberjunction/data-context": "2.63.1",
47
- "@memberjunction/data-context-server": "2.63.1",
48
- "@memberjunction/doc-utils": "2.63.1",
49
- "@memberjunction/entity-communications-server": "2.63.1",
50
- "@memberjunction/external-change-detection": "2.63.1",
51
- "@memberjunction/global": "2.63.1",
52
- "@memberjunction/graphql-dataprovider": "2.63.1",
53
- "@memberjunction/queue": "2.63.1",
54
- "@memberjunction/skip-types": "2.63.1",
55
- "@memberjunction/sqlserver-dataprovider": "2.63.1",
56
- "@memberjunction/storage": "2.63.1",
57
- "@memberjunction/templates": "2.63.1",
25
+ "@memberjunction/actions": "2.64.0",
26
+ "@memberjunction/ai": "2.64.0",
27
+ "@memberjunction/ai-core-plus": "2.64.0",
28
+ "@memberjunction/ai-agents": "2.64.0",
29
+ "@memberjunction/aiengine": "2.64.0",
30
+ "@memberjunction/ai-prompts": "2.64.0",
31
+ "@memberjunction/ai-agent-manager-actions": "2.64.0",
32
+ "@memberjunction/ai-mistral": "2.64.0",
33
+ "@memberjunction/ai-openai": "2.64.0",
34
+ "@memberjunction/ai-anthropic": "2.64.0",
35
+ "@memberjunction/ai-groq": "2.64.0",
36
+ "@memberjunction/ai-cerebras": "2.64.0",
37
+ "@memberjunction/ai-vectors-pinecone": "2.64.0",
38
+ "@memberjunction/core": "2.64.0",
39
+ "@memberjunction/core-actions": "2.64.0",
40
+ "@memberjunction/actions-bizapps-accounting": "2.64.0",
41
+ "@memberjunction/actions-bizapps-crm": "2.64.0",
42
+ "@memberjunction/actions-bizapps-lms": "2.64.0",
43
+ "@memberjunction/actions-bizapps-social": "2.64.0",
44
+ "@memberjunction/core-entities": "2.64.0",
45
+ "@memberjunction/core-entities-server": "2.64.0",
46
+ "@memberjunction/data-context": "2.64.0",
47
+ "@memberjunction/data-context-server": "2.64.0",
48
+ "@memberjunction/doc-utils": "2.64.0",
49
+ "@memberjunction/entity-communications-server": "2.64.0",
50
+ "@memberjunction/external-change-detection": "2.64.0",
51
+ "@memberjunction/global": "2.64.0",
52
+ "@memberjunction/graphql-dataprovider": "2.64.0",
53
+ "@memberjunction/queue": "2.64.0",
54
+ "@memberjunction/skip-types": "2.64.0",
55
+ "@memberjunction/sqlserver-dataprovider": "2.64.0",
56
+ "@memberjunction/storage": "2.64.0",
57
+ "@memberjunction/templates": "2.64.0",
58
58
  "@types/compression": "^1.7.5",
59
59
  "@types/cors": "^2.8.13",
60
60
  "@types/jsonwebtoken": "9.0.6",
@@ -694,7 +694,7 @@ export class ExplorerNavigationItemResolver extends ResolverBase {
694
694
  //****************************************************************************
695
695
  // ENTITY CLASS for Generated Code Categories
696
696
  //****************************************************************************
697
- @ObjectType()
697
+ @ObjectType({ description: `Categorization for generated code, including optional parent-child relationships.` })
698
698
  export class GeneratedCodeCategory_ {
699
699
  @Field()
700
700
  @MaxLength(16)
@@ -1212,7 +1212,7 @@ export class AIAgentNoteTypeResolver extends ResolverBase {
1212
1212
  //****************************************************************************
1213
1213
  // ENTITY CLASS for MJ: AI Agent Runs
1214
1214
  //****************************************************************************
1215
- @ObjectType()
1215
+ @ObjectType({ description: `Tracks individual execution runs of AI agents, including hierarchical sub-agent runs. Provides basic logging, state persistence, and resource tracking for agent executions. Supports pause/resume functionality through state serialization.` })
1216
1216
  export class AIAgentRun_ {
1217
1217
  @Field({description: `Unique identifier for this agent run`})
1218
1218
  @MaxLength(16)
@@ -1644,7 +1644,7 @@ export class AIAgentRunResolver extends ResolverBase {
1644
1644
  //****************************************************************************
1645
1645
  // ENTITY CLASS for MJ: AI Vendors
1646
1646
  //****************************************************************************
1647
- @ObjectType()
1647
+ @ObjectType({ description: `Stores information about AI vendors providing models and/or inference services.` })
1648
1648
  export class AIVendor_ {
1649
1649
  @Field()
1650
1650
  @MaxLength(16)
@@ -1868,7 +1868,7 @@ export class AIVendorResolver extends ResolverBase {
1868
1868
  //****************************************************************************
1869
1869
  // ENTITY CLASS for MJ: AI Configurations
1870
1870
  //****************************************************************************
1871
- @ObjectType()
1871
+ @ObjectType({ description: `Stores configurations for AI prompt execution environments and settings.` })
1872
1872
  export class AIConfiguration_ {
1873
1873
  @Field()
1874
1874
  @MaxLength(16)
@@ -2139,7 +2139,7 @@ export class AIAgent_ {
2139
2139
  @Field({nullable: true, description: `A detailed description of the AI agent.`})
2140
2140
  Description?: string;
2141
2141
 
2142
- @Field({nullable: true})
2142
+ @Field({nullable: true, description: `URL to an image file or base64 data URI (e.g., data:image/png;base64,...) for the agent logo. Takes precedence over IconClass in UI display.`})
2143
2143
  @MaxLength(510)
2144
2144
  LogoURL?: string;
2145
2145
 
@@ -2567,7 +2567,7 @@ export class AIAgentResolver extends ResolverBase {
2567
2567
  //****************************************************************************
2568
2568
  // ENTITY CLASS for MJ: AI Model Costs
2569
2569
  //****************************************************************************
2570
- @ObjectType()
2570
+ @ObjectType({ description: `Stores historical and current pricing information for AI models across different vendors, with optional temporal tracking and support for different processing types` })
2571
2571
  export class AIModelCost_ {
2572
2572
  @Field()
2573
2573
  @MaxLength(16)
@@ -2827,7 +2827,7 @@ export class AIModelCostResolver extends ResolverBase {
2827
2827
  //****************************************************************************
2828
2828
  // ENTITY CLASS for MJ: AI Prompt Models
2829
2829
  //****************************************************************************
2830
- @ObjectType()
2830
+ @ObjectType({ description: `Associates AI prompts with specific models and configurations, including execution details.` })
2831
2831
  export class AIPromptModel_ {
2832
2832
  @Field()
2833
2833
  @MaxLength(16)
@@ -3076,7 +3076,7 @@ export class AIPromptModelResolver extends ResolverBase {
3076
3076
  //****************************************************************************
3077
3077
  // ENTITY CLASS for MJ: AI Agent Types
3078
3078
  //****************************************************************************
3079
- @ObjectType()
3079
+ @ObjectType({ description: `Defines types of AI agents with their system prompts and behavioral characteristics. Each agent type represents a category of agents that share common system-level instructions and capabilities.` })
3080
3080
  export class AIAgentType_ {
3081
3081
  @Field({description: `Unique identifier for the agent type`})
3082
3082
  @MaxLength(16)
@@ -3631,7 +3631,7 @@ export class AIAgentActionResolver extends ResolverBase {
3631
3631
  //****************************************************************************
3632
3632
  // ENTITY CLASS for MJ: AI Model Price Types
3633
3633
  //****************************************************************************
3634
- @ObjectType()
3634
+ @ObjectType({ description: `Defines the different types of pricing metrics used by AI model vendors (e.g., Tokens, Minutes, Characters, API Calls)` })
3635
3635
  export class AIModelPriceType_ {
3636
3636
  @Field()
3637
3637
  @MaxLength(16)
@@ -9157,7 +9157,7 @@ export class User_ {
9157
9157
  @MaxLength(100)
9158
9158
  Title?: string;
9159
9159
 
9160
- @Field()
9160
+ @Field({description: `Unique email address for the user. This field must be unique across all users in the system.`})
9161
9161
  @MaxLength(200)
9162
9162
  Email: string;
9163
9163
 
@@ -28211,7 +28211,7 @@ export class Action_ {
28211
28211
  @MaxLength(16)
28212
28212
  CategoryID?: string;
28213
28213
 
28214
- @Field()
28214
+ @Field({description: `The name of the action. Must be unique within the combination of CategoryID and ParentID. Actions with the same name can exist in different categories or under different parents.`})
28215
28215
  @MaxLength(850)
28216
28216
  Name: string;
28217
28217
 
@@ -34770,7 +34770,7 @@ export class ResourceLinkResolver extends ResolverBase {
34770
34770
  //****************************************************************************
34771
34771
  // ENTITY CLASS for MJ: Conversation Artifact Versions
34772
34772
  //****************************************************************************
34773
- @ObjectType()
34773
+ @ObjectType({ description: `Stores versions of conversation artifacts` })
34774
34774
  export class ConversationArtifactVersion_ {
34775
34775
  @Field()
34776
34776
  @MaxLength(16)
@@ -34960,7 +34960,7 @@ export class ConversationArtifactVersionResolver extends ResolverBase {
34960
34960
  //****************************************************************************
34961
34961
  // ENTITY CLASS for AI Agent Requests
34962
34962
  //****************************************************************************
34963
- @ObjectType()
34963
+ @ObjectType({ description: `Table to log AI Agent requests, responses, and their statuses.` })
34964
34964
  export class AIAgentRequest_ {
34965
34965
  @Field({description: `Primary key for the AIAgentRequest table, uniquely identifies each record.`})
34966
34966
  @MaxLength(16)
@@ -35186,7 +35186,7 @@ export class AIAgentRequestResolver extends ResolverBase {
35186
35186
  //****************************************************************************
35187
35187
  // ENTITY CLASS for MJ: AI Model Vendors
35188
35188
  //****************************************************************************
35189
- @ObjectType()
35189
+ @ObjectType({ description: `Associates AI models with vendors providing them, including vendor-specific implementation details.` })
35190
35190
  export class AIModelVendor_ {
35191
35191
  @Field()
35192
35192
  @MaxLength(16)
@@ -35450,7 +35450,7 @@ export class AIModelVendorResolver extends ResolverBase {
35450
35450
  //****************************************************************************
35451
35451
  // ENTITY CLASS for MJ: AI Vendor Type Definitions
35452
35452
  //****************************************************************************
35453
- @ObjectType()
35453
+ @ObjectType({ description: `Defines the possible types of AI vendors, such as Model Developer or Inference Provider.` })
35454
35454
  export class AIVendorTypeDefinition_ {
35455
35455
  @Field()
35456
35456
  @MaxLength(16)
@@ -35622,7 +35622,7 @@ export class AIVendorTypeDefinitionResolver extends ResolverBase {
35622
35622
  //****************************************************************************
35623
35623
  // ENTITY CLASS for MJ: Report User States
35624
35624
  //****************************************************************************
35625
- @ObjectType()
35625
+ @ObjectType({ description: `Tracks individual user state within interactive reports` })
35626
35626
  export class ReportUserState_ {
35627
35627
  @Field()
35628
35628
  @MaxLength(16)
@@ -35941,7 +35941,7 @@ export class QueryEntityResolver extends ResolverBase {
35941
35941
  //****************************************************************************
35942
35942
  // ENTITY CLASS for MJ: Dashboard User States
35943
35943
  //****************************************************************************
35944
- @ObjectType()
35944
+ @ObjectType({ description: `Stores user-specific dashboard state information` })
35945
35945
  export class DashboardUserState_ {
35946
35946
  @Field()
35947
35947
  @MaxLength(16)
@@ -36105,7 +36105,7 @@ export class DashboardUserStateResolver extends ResolverBase {
36105
36105
  //****************************************************************************
36106
36106
  // ENTITY CLASS for MJ: Artifact Types
36107
36107
  //****************************************************************************
36108
- @ObjectType()
36108
+ @ObjectType({ description: `Defines the types of artifacts that can be created within conversations` })
36109
36109
  export class ArtifactType_ {
36110
36110
  @Field()
36111
36111
  @MaxLength(16)
@@ -36283,7 +36283,7 @@ export class ArtifactTypeResolver extends ResolverBase {
36283
36283
  //****************************************************************************
36284
36284
  // ENTITY CLASS for MJ: AI Vendor Types
36285
36285
  //****************************************************************************
36286
- @ObjectType()
36286
+ @ObjectType({ description: `Associates vendors with their types (Model Developer, Inference Provider) and tracks the status of each role.` })
36287
36287
  export class AIVendorType_ {
36288
36288
  @Field()
36289
36289
  @MaxLength(16)
@@ -36457,7 +36457,7 @@ export class AIVendorTypeResolver extends ResolverBase {
36457
36457
  //****************************************************************************
36458
36458
  // ENTITY CLASS for MJ: Conversation Artifacts
36459
36459
  //****************************************************************************
36460
- @ObjectType()
36460
+ @ObjectType({ description: `Stores metadata for artifacts created within conversations` })
36461
36461
  export class ConversationArtifact_ {
36462
36462
  @Field()
36463
36463
  @MaxLength(16)
@@ -36689,7 +36689,7 @@ export class ConversationArtifactResolver extends ResolverBase {
36689
36689
  //****************************************************************************
36690
36690
  // ENTITY CLASS for MJ: AI Agent Prompts
36691
36691
  //****************************************************************************
36692
- @ObjectType()
36692
+ @ObjectType({ description: `Links AI agents with the prompts they use, including execution order and context handling.` })
36693
36693
  export class AIAgentPrompt_ {
36694
36694
  @Field()
36695
36695
  @MaxLength(16)
@@ -36905,7 +36905,7 @@ export class AIAgentPromptResolver extends ResolverBase {
36905
36905
  //****************************************************************************
36906
36906
  // ENTITY CLASS for MJ: Dashboard User Preferences
36907
36907
  //****************************************************************************
36908
- @ObjectType()
36908
+ @ObjectType({ description: `Stores dashboard preferences for users and system defaults. The absence of a record for a dashboard means it is not shown.` })
36909
36909
  export class DashboardUserPreference_ {
36910
36910
  @Field()
36911
36911
  @MaxLength(16)
@@ -39118,7 +39118,7 @@ export class ContentItemTagResolver extends ResolverBase {
39118
39118
  //****************************************************************************
39119
39119
  // ENTITY CLASS for Generated Codes
39120
39120
  //****************************************************************************
39121
- @ObjectType()
39121
+ @ObjectType({ description: `Stores LLM-generated code snippets, tracking their source, category, and validation status.` })
39122
39122
  export class GeneratedCode_ {
39123
39123
  @Field()
39124
39124
  @MaxLength(16)
@@ -39363,7 +39363,7 @@ export class GeneratedCodeResolver extends ResolverBase {
39363
39363
  //****************************************************************************
39364
39364
  // ENTITY CLASS for MJ: AI Prompt Runs
39365
39365
  //****************************************************************************
39366
- @ObjectType()
39366
+ @ObjectType({ description: `Tracks AI prompt executions including timings, inputs, outputs, and performance metrics.` })
39367
39367
  export class AIPromptRun_ {
39368
39368
  @Field()
39369
39369
  @MaxLength(16)
@@ -40073,7 +40073,7 @@ export class AIPromptRunResolver extends ResolverBase {
40073
40073
  //****************************************************************************
40074
40074
  // ENTITY CLASS for MJ: AI Agent Run Steps
40075
40075
  //****************************************************************************
40076
- @ObjectType()
40076
+ @ObjectType({ description: `Provides basic, step-by-step tracking of agent execution. Each step represents a discrete action within an agent run, such as prompt execution, tool usage, decision making, or sub-agent coordination.` })
40077
40077
  export class AIAgentRunStep_ {
40078
40078
  @Field({description: `Unique identifier for this execution step`})
40079
40079
  @MaxLength(16)
@@ -40343,7 +40343,7 @@ export class AIAgentRunStepResolver extends ResolverBase {
40343
40343
  //****************************************************************************
40344
40344
  // ENTITY CLASS for MJ: Conversation Artifact Permissions
40345
40345
  //****************************************************************************
40346
- @ObjectType()
40346
+ @ObjectType({ description: `Manages user permissions for conversation artifacts` })
40347
40347
  export class ConversationArtifactPermission_ {
40348
40348
  @Field()
40349
40349
  @MaxLength(16)
@@ -40504,7 +40504,7 @@ export class ConversationArtifactPermissionResolver extends ResolverBase {
40504
40504
  //****************************************************************************
40505
40505
  // ENTITY CLASS for MJ: AI Model Price Unit Types
40506
40506
  //****************************************************************************
40507
- @ObjectType()
40507
+ @ObjectType({ description: `Defines the unit scales used for pricing (e.g., Per 1M Tokens, Per 1K Tokens, Per Minute). Includes driver class for normalization calculations` })
40508
40508
  export class AIModelPriceUnitType_ {
40509
40509
  @Field()
40510
40510
  @MaxLength(16)
@@ -40853,7 +40853,7 @@ export class AIAgentLearningCycleResolver extends ResolverBase {
40853
40853
  //****************************************************************************
40854
40854
  // ENTITY CLASS for MJ: Report Versions
40855
40855
  //****************************************************************************
40856
- @ObjectType()
40856
+ @ObjectType({ description: `Stores iterations of report logic, structure, and layout changes` })
40857
40857
  export class ReportVersion_ {
40858
40858
  @Field()
40859
40859
  @MaxLength(16)
@@ -41040,7 +41040,7 @@ export class ReportVersionResolver extends ResolverBase {
41040
41040
  //****************************************************************************
41041
41041
  // ENTITY CLASS for MJ: AI Configuration Params
41042
41042
  //****************************************************************************
41043
- @ObjectType()
41043
+ @ObjectType({ description: `Stores configuration parameters that can be referenced by prompts and used to control execution behavior.` })
41044
41044
  export class AIConfigurationParam_ {
41045
41045
  @Field()
41046
41046
  @MaxLength(16)