@memberjunction/server 2.63.1 → 2.65.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.
@@ -1123,7 +1123,7 @@ __decorate([
1123
1123
  __metadata("design:type", Array)
1124
1124
  ], GeneratedCodeCategory_.prototype, "GeneratedCodes_CategoryIDArray", void 0);
1125
1125
  GeneratedCodeCategory_ = __decorate([
1126
- ObjectType()
1126
+ ObjectType({ description: `Categorization for generated code, including optional parent-child relationships.` })
1127
1127
  ], GeneratedCodeCategory_);
1128
1128
  export { GeneratedCodeCategory_ };
1129
1129
  let CreateGeneratedCodeCategoryInput = class CreateGeneratedCodeCategoryInput {
@@ -2081,7 +2081,7 @@ __decorate([
2081
2081
  __metadata("design:type", Array)
2082
2082
  ], AIAgentRun_.prototype, "MJ_AIPromptRuns_AgentRunIDArray", void 0);
2083
2083
  AIAgentRun_ = __decorate([
2084
- ObjectType()
2084
+ 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.` })
2085
2085
  ], AIAgentRun_);
2086
2086
  export { AIAgentRun_ };
2087
2087
  let CreateAIAgentRunInput = class CreateAIAgentRunInput {
@@ -2639,7 +2639,7 @@ __decorate([
2639
2639
  __metadata("design:type", Array)
2640
2640
  ], AIVendor_.prototype, "MJ_AIVendorTypes_VendorIDArray", void 0);
2641
2641
  AIVendor_ = __decorate([
2642
- ObjectType()
2642
+ ObjectType({ description: `Stores information about AI vendors providing models and/or inference services.` })
2643
2643
  ], AIVendor_);
2644
2644
  export { AIVendor_ };
2645
2645
  let CreateAIVendorInput = class CreateAIVendorInput {
@@ -3028,7 +3028,7 @@ __decorate([
3028
3028
  __metadata("design:type", Array)
3029
3029
  ], AIConfiguration_.prototype, "MJ_AIPromptRuns_ConfigurationIDArray", void 0);
3030
3030
  AIConfiguration_ = __decorate([
3031
- ObjectType()
3031
+ ObjectType({ description: `Stores configurations for AI prompt execution environments and settings.` })
3032
3032
  ], AIConfiguration_);
3033
3033
  export { AIConfiguration_ };
3034
3034
  let CreateAIConfigurationInput = class CreateAIConfigurationInput {
@@ -3370,6 +3370,8 @@ let AIAgent_ = class AIAgent_ {
3370
3370
  ModelSelectionMode;
3371
3371
  PayloadDownstreamPaths;
3372
3372
  PayloadUpstreamPaths;
3373
+ PayloadSelfReadPaths;
3374
+ PayloadSelfWritePaths;
3373
3375
  Parent;
3374
3376
  ContextCompressionPrompt;
3375
3377
  Type;
@@ -3399,7 +3401,7 @@ __decorate([
3399
3401
  __metadata("design:type", String)
3400
3402
  ], AIAgent_.prototype, "Description", void 0);
3401
3403
  __decorate([
3402
- Field({ nullable: true }),
3404
+ 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.` }),
3403
3405
  MaxLength(510),
3404
3406
  __metadata("design:type", String)
3405
3407
  ], AIAgent_.prototype, "LogoURL", void 0);
@@ -3481,6 +3483,16 @@ __decorate([
3481
3483
  Field({ description: `JSON array of paths that define which parts of the payload sub-agents are allowed to write back upstream. Use ["*"] to allow all writes, or specify paths like ["analysis.results", "recommendations.*"]` }),
3482
3484
  __metadata("design:type", String)
3483
3485
  ], AIAgent_.prototype, "PayloadUpstreamPaths", void 0);
3486
+ __decorate([
3487
+ Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can read. Controls downstream data
3488
+ flow when the agent executes its own prompt step.` }),
3489
+ __metadata("design:type", String)
3490
+ ], AIAgent_.prototype, "PayloadSelfReadPaths", void 0);
3491
+ __decorate([
3492
+ Field({ nullable: true, description: `JSON array of paths that specify what parts of the payload the agent's own prompt can write back. Controls upstream
3493
+ data flow when the agent executes its own prompt step.` }),
3494
+ __metadata("design:type", String)
3495
+ ], AIAgent_.prototype, "PayloadSelfWritePaths", void 0);
3484
3496
  __decorate([
3485
3497
  Field({ nullable: true }),
3486
3498
  MaxLength(510),
@@ -3560,6 +3572,8 @@ let CreateAIAgentInput = class CreateAIAgentInput {
3560
3572
  ModelSelectionMode;
3561
3573
  PayloadDownstreamPaths;
3562
3574
  PayloadUpstreamPaths;
3575
+ PayloadSelfReadPaths;
3576
+ PayloadSelfWritePaths;
3563
3577
  };
3564
3578
  __decorate([
3565
3579
  Field({ nullable: true }),
@@ -3637,6 +3651,14 @@ __decorate([
3637
3651
  Field({ nullable: true }),
3638
3652
  __metadata("design:type", String)
3639
3653
  ], CreateAIAgentInput.prototype, "PayloadUpstreamPaths", void 0);
3654
+ __decorate([
3655
+ Field({ nullable: true }),
3656
+ __metadata("design:type", String)
3657
+ ], CreateAIAgentInput.prototype, "PayloadSelfReadPaths", void 0);
3658
+ __decorate([
3659
+ Field({ nullable: true }),
3660
+ __metadata("design:type", String)
3661
+ ], CreateAIAgentInput.prototype, "PayloadSelfWritePaths", void 0);
3640
3662
  CreateAIAgentInput = __decorate([
3641
3663
  InputType()
3642
3664
  ], CreateAIAgentInput);
@@ -3661,6 +3683,8 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
3661
3683
  ModelSelectionMode;
3662
3684
  PayloadDownstreamPaths;
3663
3685
  PayloadUpstreamPaths;
3686
+ PayloadSelfReadPaths;
3687
+ PayloadSelfWritePaths;
3664
3688
  OldValues___;
3665
3689
  };
3666
3690
  __decorate([
@@ -3739,6 +3763,14 @@ __decorate([
3739
3763
  Field({ nullable: true }),
3740
3764
  __metadata("design:type", String)
3741
3765
  ], UpdateAIAgentInput.prototype, "PayloadUpstreamPaths", void 0);
3766
+ __decorate([
3767
+ Field({ nullable: true }),
3768
+ __metadata("design:type", String)
3769
+ ], UpdateAIAgentInput.prototype, "PayloadSelfReadPaths", void 0);
3770
+ __decorate([
3771
+ Field({ nullable: true }),
3772
+ __metadata("design:type", String)
3773
+ ], UpdateAIAgentInput.prototype, "PayloadSelfWritePaths", void 0);
3742
3774
  __decorate([
3743
3775
  Field(() => [KeyValuePairInput], { nullable: true }),
3744
3776
  __metadata("design:type", Array)
@@ -4176,7 +4208,7 @@ __decorate([
4176
4208
  __metadata("design:type", String)
4177
4209
  ], AIModelCost_.prototype, "UnitType", void 0);
4178
4210
  AIModelCost_ = __decorate([
4179
- ObjectType()
4211
+ ObjectType({ description: `Stores historical and current pricing information for AI models across different vendors, with optional temporal tracking and support for different processing types` })
4180
4212
  ], AIModelCost_);
4181
4213
  export { AIModelCost_ };
4182
4214
  let CreateAIModelCostInput = class CreateAIModelCostInput {
@@ -4578,7 +4610,7 @@ __decorate([
4578
4610
  __metadata("design:type", String)
4579
4611
  ], AIPromptModel_.prototype, "Configuration", void 0);
4580
4612
  AIPromptModel_ = __decorate([
4581
- ObjectType()
4613
+ ObjectType({ description: `Associates AI prompts with specific models and configurations, including execution details.` })
4582
4614
  ], AIPromptModel_);
4583
4615
  export { AIPromptModel_ };
4584
4616
  let CreateAIPromptModelInput = class CreateAIPromptModelInput {
@@ -4929,7 +4961,7 @@ __decorate([
4929
4961
  __metadata("design:type", Array)
4930
4962
  ], AIAgentType_.prototype, "AIAgents_TypeIDArray", void 0);
4931
4963
  AIAgentType_ = __decorate([
4932
- ObjectType()
4964
+ 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.` })
4933
4965
  ], AIAgentType_);
4934
4966
  export { AIAgentType_ };
4935
4967
  let CreateAIAgentTypeInput = class CreateAIAgentTypeInput {
@@ -5767,7 +5799,7 @@ __decorate([
5767
5799
  __metadata("design:type", Array)
5768
5800
  ], AIModelPriceType_.prototype, "MJ_AIModelCosts_PriceTypeIDArray", void 0);
5769
5801
  AIModelPriceType_ = __decorate([
5770
- ObjectType()
5802
+ ObjectType({ description: `Defines the different types of pricing metrics used by AI model vendors (e.g., Tokens, Minutes, Characters, API Calls)` })
5771
5803
  ], AIModelPriceType_);
5772
5804
  export { AIModelPriceType_ };
5773
5805
  let CreateAIModelPriceTypeInput = class CreateAIModelPriceTypeInput {
@@ -14618,7 +14650,7 @@ __decorate([
14618
14650
  __metadata("design:type", String)
14619
14651
  ], User_.prototype, "Title", void 0);
14620
14652
  __decorate([
14621
- Field(),
14653
+ Field({ description: `Unique email address for the user. This field must be unique across all users in the system.` }),
14622
14654
  MaxLength(200),
14623
14655
  __metadata("design:type", String)
14624
14656
  ], User_.prototype, "Email", void 0);
@@ -44675,7 +44707,7 @@ __decorate([
44675
44707
  __metadata("design:type", String)
44676
44708
  ], Action_.prototype, "CategoryID", void 0);
44677
44709
  __decorate([
44678
- Field(),
44710
+ 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.` }),
44679
44711
  MaxLength(850),
44680
44712
  __metadata("design:type", String)
44681
44713
  ], Action_.prototype, "Name", void 0);
@@ -55027,7 +55059,7 @@ __decorate([
55027
55059
  __metadata("design:type", Array)
55028
55060
  ], ConversationArtifactVersion_.prototype, "ConversationDetails_ArtifactVersionIDArray", void 0);
55029
55061
  ConversationArtifactVersion_ = __decorate([
55030
- ObjectType()
55062
+ ObjectType({ description: `Stores versions of conversation artifacts` })
55031
55063
  ], ConversationArtifactVersion_);
55032
55064
  export { ConversationArtifactVersion_ };
55033
55065
  let CreateConversationArtifactVersionInput = class CreateConversationArtifactVersionInput {
@@ -55359,7 +55391,7 @@ __decorate([
55359
55391
  __metadata("design:type", String)
55360
55392
  ], AIAgentRequest_.prototype, "ResponseByUser", void 0);
55361
55393
  AIAgentRequest_ = __decorate([
55362
- ObjectType()
55394
+ ObjectType({ description: `Table to log AI Agent requests, responses, and their statuses.` })
55363
55395
  ], AIAgentRequest_);
55364
55396
  export { AIAgentRequest_ };
55365
55397
  let CreateAIAgentRequestInput = class CreateAIAgentRequestInput {
@@ -55736,7 +55768,7 @@ __decorate([
55736
55768
  __metadata("design:type", String)
55737
55769
  ], AIModelVendor_.prototype, "Type", void 0);
55738
55770
  AIModelVendor_ = __decorate([
55739
- ObjectType()
55771
+ ObjectType({ description: `Associates AI models with vendors providing them, including vendor-specific implementation details.` })
55740
55772
  ], AIModelVendor_);
55741
55773
  export { AIModelVendor_ };
55742
55774
  let CreateAIModelVendorInput = class CreateAIModelVendorInput {
@@ -56083,7 +56115,7 @@ __decorate([
56083
56115
  __metadata("design:type", Array)
56084
56116
  ], AIVendorTypeDefinition_.prototype, "MJ_AIVendorTypes_TypeIDArray", void 0);
56085
56117
  AIVendorTypeDefinition_ = __decorate([
56086
- ObjectType()
56118
+ ObjectType({ description: `Defines the possible types of AI vendors, such as Model Developer or Inference Provider.` })
56087
56119
  ], AIVendorTypeDefinition_);
56088
56120
  export { AIVendorTypeDefinition_ };
56089
56121
  let CreateAIVendorTypeDefinitionInput = class CreateAIVendorTypeDefinitionInput {
@@ -56362,7 +56394,7 @@ __decorate([
56362
56394
  __metadata("design:type", String)
56363
56395
  ], ReportUserState_.prototype, "User", void 0);
56364
56396
  ReportUserState_ = __decorate([
56365
- ObjectType()
56397
+ ObjectType({ description: `Tracks individual user state within interactive reports` })
56366
56398
  ], ReportUserState_);
56367
56399
  export { ReportUserState_ };
56368
56400
  let CreateReportUserStateInput = class CreateReportUserStateInput {
@@ -56857,7 +56889,7 @@ __decorate([
56857
56889
  __metadata("design:type", String)
56858
56890
  ], DashboardUserState_.prototype, "User", void 0);
56859
56891
  DashboardUserState_ = __decorate([
56860
- ObjectType()
56892
+ ObjectType({ description: `Stores user-specific dashboard state information` })
56861
56893
  ], DashboardUserState_);
56862
56894
  export { DashboardUserState_ };
56863
56895
  let CreateDashboardUserStateInput = class CreateDashboardUserStateInput {
@@ -57110,7 +57142,7 @@ __decorate([
57110
57142
  __metadata("design:type", Array)
57111
57143
  ], ArtifactType_.prototype, "MJ_ConversationArtifacts_ArtifactTypeIDArray", void 0);
57112
57144
  ArtifactType_ = __decorate([
57113
- ObjectType()
57145
+ ObjectType({ description: `Defines the types of artifacts that can be created within conversations` })
57114
57146
  ], ArtifactType_);
57115
57147
  export { ArtifactType_ };
57116
57148
  let CreateArtifactTypeInput = class CreateArtifactTypeInput {
@@ -57398,7 +57430,7 @@ __decorate([
57398
57430
  __metadata("design:type", String)
57399
57431
  ], AIVendorType_.prototype, "Type", void 0);
57400
57432
  AIVendorType_ = __decorate([
57401
- ObjectType()
57433
+ ObjectType({ description: `Associates vendors with their types (Model Developer, Inference Provider) and tracks the status of each role.` })
57402
57434
  ], AIVendorType_);
57403
57435
  export { AIVendorType_ };
57404
57436
  let CreateAIVendorTypeInput = class CreateAIVendorTypeInput {
@@ -57695,7 +57727,7 @@ __decorate([
57695
57727
  __metadata("design:type", Array)
57696
57728
  ], ConversationArtifact_.prototype, "ConversationDetails_ArtifactIDArray", void 0);
57697
57729
  ConversationArtifact_ = __decorate([
57698
- ObjectType()
57730
+ ObjectType({ description: `Stores metadata for artifacts created within conversations` })
57699
57731
  ], ConversationArtifact_);
57700
57732
  export { ConversationArtifact_ };
57701
57733
  let CreateConversationArtifactInput = class CreateConversationArtifactInput {
@@ -58065,7 +58097,7 @@ __decorate([
58065
58097
  __metadata("design:type", String)
58066
58098
  ], AIAgentPrompt_.prototype, "Configuration", void 0);
58067
58099
  AIAgentPrompt_ = __decorate([
58068
- ObjectType()
58100
+ ObjectType({ description: `Links AI agents with the prompts they use, including execution order and context handling.` })
58069
58101
  ], AIAgentPrompt_);
58070
58102
  export { AIAgentPrompt_ };
58071
58103
  let CreateAIAgentPromptInput = class CreateAIAgentPromptInput {
@@ -58388,7 +58420,7 @@ __decorate([
58388
58420
  __metadata("design:type", String)
58389
58421
  ], DashboardUserPreference_.prototype, "Application", void 0);
58390
58422
  DashboardUserPreference_ = __decorate([
58391
- ObjectType()
58423
+ ObjectType({ description: `Stores dashboard preferences for users and system defaults. The absence of a record for a dashboard means it is not shown.` })
58392
58424
  ], DashboardUserPreference_);
58393
58425
  export { DashboardUserPreference_ };
58394
58426
  let CreateDashboardUserPreferenceInput = class CreateDashboardUserPreferenceInput {
@@ -61891,7 +61923,7 @@ __decorate([
61891
61923
  __metadata("design:type", String)
61892
61924
  ], GeneratedCode_.prototype, "LinkedEntity", void 0);
61893
61925
  GeneratedCode_ = __decorate([
61894
- ObjectType()
61926
+ ObjectType({ description: `Stores LLM-generated code snippets, tracking their source, category, and validation status.` })
61895
61927
  ], GeneratedCode_);
61896
61928
  export { GeneratedCode_ };
61897
61929
  let CreateGeneratedCodeInput = class CreateGeneratedCodeInput {
@@ -62548,7 +62580,7 @@ __decorate([
62548
62580
  __metadata("design:type", Array)
62549
62581
  ], AIPromptRun_.prototype, "AIResultCache_PromptRunIDArray", void 0);
62550
62582
  AIPromptRun_ = __decorate([
62551
- ObjectType()
62583
+ ObjectType({ description: `Tracks AI prompt executions including timings, inputs, outputs, and performance metrics.` })
62552
62584
  ], AIPromptRun_);
62553
62585
  export { AIPromptRun_ };
62554
62586
  let CreateAIPromptRunInput = class CreateAIPromptRunInput {
@@ -63431,7 +63463,7 @@ __decorate([
63431
63463
  __metadata("design:type", String)
63432
63464
  ], AIAgentRunStep_.prototype, "PayloadAtEnd", void 0);
63433
63465
  AIAgentRunStep_ = __decorate([
63434
- ObjectType()
63466
+ 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.` })
63435
63467
  ], AIAgentRunStep_);
63436
63468
  export { AIAgentRunStep_ };
63437
63469
  let CreateAIAgentRunStepInput = class CreateAIAgentRunStepInput {
@@ -63801,7 +63833,7 @@ __decorate([
63801
63833
  __metadata("design:type", String)
63802
63834
  ], ConversationArtifactPermission_.prototype, "ConversationArtifact", void 0);
63803
63835
  ConversationArtifactPermission_ = __decorate([
63804
- ObjectType()
63836
+ ObjectType({ description: `Manages user permissions for conversation artifacts` })
63805
63837
  ], ConversationArtifactPermission_);
63806
63838
  export { ConversationArtifactPermission_ };
63807
63839
  let CreateConversationArtifactPermissionInput = class CreateConversationArtifactPermissionInput {
@@ -64049,7 +64081,7 @@ __decorate([
64049
64081
  __metadata("design:type", Array)
64050
64082
  ], AIModelPriceUnitType_.prototype, "MJ_AIModelCosts_UnitTypeIDArray", void 0);
64051
64083
  AIModelPriceUnitType_ = __decorate([
64052
- ObjectType()
64084
+ 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` })
64053
64085
  ], AIModelPriceUnitType_);
64054
64086
  export { AIModelPriceUnitType_ };
64055
64087
  let CreateAIModelPriceUnitTypeInput = class CreateAIModelPriceUnitTypeInput {
@@ -64611,7 +64643,7 @@ __decorate([
64611
64643
  __metadata("design:type", String)
64612
64644
  ], ReportVersion_.prototype, "Report", void 0);
64613
64645
  ReportVersion_ = __decorate([
64614
- ObjectType()
64646
+ ObjectType({ description: `Stores iterations of report logic, structure, and layout changes` })
64615
64647
  ], ReportVersion_);
64616
64648
  export { ReportVersion_ };
64617
64649
  let CreateReportVersionInput = class CreateReportVersionInput {
@@ -64901,7 +64933,7 @@ __decorate([
64901
64933
  __metadata("design:type", String)
64902
64934
  ], AIConfigurationParam_.prototype, "Configuration", void 0);
64903
64935
  AIConfigurationParam_ = __decorate([
64904
- ObjectType()
64936
+ ObjectType({ description: `Stores configuration parameters that can be referenced by prompts and used to control execution behavior.` })
64905
64937
  ], AIConfigurationParam_);
64906
64938
  export { AIConfigurationParam_ };
64907
64939
  let CreateAIConfigurationParamInput = class CreateAIConfigurationParamInput {