@memberjunction/server 0.9.243 → 0.9.245

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.
@@ -103,7 +103,7 @@ __decorate([
103
103
  __metadata("design:type", Array)
104
104
  ], Company_.prototype, "WorkflowsArray", void 0);
105
105
  exports.Company_ = Company_ = __decorate([
106
- (0, server_1.ObjectType)()
106
+ (0, server_1.ObjectType)({ description: 'A list of organizational units within your business. These can be subsidiaries or divisions or other units. Companies are used to organizae employee records and also for separating integrations if you have multiple integrations of the same type of system.' })
107
107
  ], Company_);
108
108
  let CreateCompanyInput = class CreateCompanyInput {
109
109
  };
@@ -504,7 +504,7 @@ __decorate([
504
504
  __metadata("design:type", Array)
505
505
  ], Employee_.prototype, "EmployeeSkillsArray", void 0);
506
506
  exports.Employee_ = Employee_ = __decorate([
507
- (0, server_1.ObjectType)()
507
+ (0, server_1.ObjectType)({ description: 'A list of employees across all units of your organization' })
508
508
  ], Employee_);
509
509
  let CreateEmployeeInput = class CreateEmployeeInput {
510
510
  };
@@ -889,7 +889,7 @@ __decorate([
889
889
  __metadata("design:type", String)
890
890
  ], UserFavorite_.prototype, "EntityBaseView", void 0);
891
891
  exports.UserFavorite_ = UserFavorite_ = __decorate([
892
- (0, server_1.ObjectType)()
892
+ (0, server_1.ObjectType)({ description: 'Records that each user can mark as a favorite for easy access' })
893
893
  ], UserFavorite_);
894
894
  let CreateUserFavoriteInput = class CreateUserFavoriteInput {
895
895
  };
@@ -1659,18 +1659,17 @@ __decorate([
1659
1659
  __metadata("design:type", String)
1660
1660
  ], Role_.prototype, "Name", void 0);
1661
1661
  __decorate([
1662
- (0, server_1.Field)({ nullable: true }),
1663
- (0, class_validator_1.MaxLength)(1000),
1662
+ (0, server_1.Field)({ nullable: true, description: 'Description of the role' }),
1664
1663
  __metadata("design:type", String)
1665
1664
  ], Role_.prototype, "Description", void 0);
1666
1665
  __decorate([
1667
- (0, server_1.Field)({ nullable: true }),
1668
- (0, class_validator_1.MaxLength)(100),
1666
+ (0, server_1.Field)({ nullable: true, description: 'The unique ID of the role in the directory being used for authentication, for example an ID in Azure.' }),
1667
+ (0, class_validator_1.MaxLength)(500),
1669
1668
  __metadata("design:type", String)
1670
- ], Role_.prototype, "AzureID", void 0);
1669
+ ], Role_.prototype, "DirectoryID", void 0);
1671
1670
  __decorate([
1672
- (0, server_1.Field)(),
1673
- (0, class_validator_1.MaxLength)(100),
1671
+ (0, server_1.Field)({ nullable: true, description: 'The name of the role in the database, this is used for auto-generating permission statements by CodeGen' }),
1672
+ (0, class_validator_1.MaxLength)(500),
1674
1673
  __metadata("design:type", String)
1675
1674
  ], Role_.prototype, "SQLName", void 0);
1676
1675
  __decorate([
@@ -1704,7 +1703,7 @@ __decorate([
1704
1703
  __metadata("design:type", Array)
1705
1704
  ], Role_.prototype, "QueryPermissionsArray", void 0);
1706
1705
  exports.Role_ = Role_ = __decorate([
1707
- (0, server_1.ObjectType)()
1706
+ (0, server_1.ObjectType)({ description: 'Roles are used for security administration and can have zero to many Users as members' })
1708
1707
  ], Role_);
1709
1708
  let UpdateRoleInput = class UpdateRoleInput {
1710
1709
  };
@@ -1724,9 +1723,9 @@ __decorate([
1724
1723
  __decorate([
1725
1724
  (0, server_1.Field)({ nullable: true }),
1726
1725
  __metadata("design:type", String)
1727
- ], UpdateRoleInput.prototype, "AzureID", void 0);
1726
+ ], UpdateRoleInput.prototype, "DirectoryID", void 0);
1728
1727
  __decorate([
1729
- (0, server_1.Field)(),
1728
+ (0, server_1.Field)({ nullable: true }),
1730
1729
  __metadata("design:type", String)
1731
1730
  ], UpdateRoleInput.prototype, "SQLName", void 0);
1732
1731
  exports.UpdateRoleInput = UpdateRoleInput = __decorate([
@@ -1983,7 +1982,7 @@ __decorate([
1983
1982
  __metadata("design:type", Array)
1984
1983
  ], Skill_.prototype, "SkillsArray", void 0);
1985
1984
  exports.Skill_ = Skill_ = __decorate([
1986
- (0, server_1.ObjectType)()
1985
+ (0, server_1.ObjectType)({ description: 'A hierarchical list of possible skills that are linked to Employees and can also be linked to any other entity' })
1987
1986
  ], Skill_);
1988
1987
  let RunSkillViewResult = class RunSkillViewResult {
1989
1988
  };
@@ -2162,7 +2161,7 @@ __decorate([
2162
2161
  __metadata("design:type", String)
2163
2162
  ], IntegrationURLFormat_.prototype, "FullURLFormat", void 0);
2164
2163
  exports.IntegrationURLFormat_ = IntegrationURLFormat_ = __decorate([
2165
- (0, server_1.ObjectType)()
2164
+ (0, server_1.ObjectType)({ description: 'Used to generate web links for end users to easily access resources in a source system. URL Formats support templating to inject various field values at run-time to take a user directly to a resource in a source system.' })
2166
2165
  ], IntegrationURLFormat_);
2167
2166
  let UpdateIntegrationURLFormatInput = class UpdateIntegrationURLFormatInput {
2168
2167
  };
@@ -2381,7 +2380,7 @@ __decorate([
2381
2380
  __metadata("design:type", Array)
2382
2381
  ], Integration_.prototype, "CompanyIntegrationsArray", void 0);
2383
2382
  exports.Integration_ = Integration_ = __decorate([
2384
- (0, server_1.ObjectType)()
2383
+ (0, server_1.ObjectType)({ description: 'Catalog of all integrations that have been configured in the system.' })
2385
2384
  ], Integration_);
2386
2385
  let UpdateIntegrationInput = class UpdateIntegrationInput {
2387
2386
  };
@@ -2721,7 +2720,7 @@ __decorate([
2721
2720
  __metadata("design:type", Array)
2722
2721
  ], CompanyIntegration_.prototype, "CompanyIntegrationRecordMapsArray", void 0);
2723
2722
  exports.CompanyIntegration_ = CompanyIntegration_ = __decorate([
2724
- (0, server_1.ObjectType)()
2723
+ (0, server_1.ObjectType)({ description: 'Links individual company records to specific integrations' })
2725
2724
  ], CompanyIntegration_);
2726
2725
  let UpdateCompanyIntegrationInput = class UpdateCompanyIntegrationInput {
2727
2726
  };
@@ -3192,7 +3191,7 @@ __decorate([
3192
3191
  __metadata("design:type", Array)
3193
3192
  ], EntityField_.prototype, "EntityFieldValuesArray", void 0);
3194
3193
  exports.EntityField_ = EntityField_ = __decorate([
3195
- (0, server_1.ObjectType)()
3194
+ (0, server_1.ObjectType)({ description: 'List of all fields within each entity with metadata about each field' })
3196
3195
  ], EntityField_);
3197
3196
  let CreateEntityFieldInput = class CreateEntityFieldInput {
3198
3197
  };
@@ -3926,7 +3925,7 @@ __decorate([
3926
3925
  __metadata("design:type", Array)
3927
3926
  ], Entity_.prototype, "FileEntityRecordLinksArray", void 0);
3928
3927
  exports.Entity_ = Entity_ = __decorate([
3929
- (0, server_1.ObjectType)()
3928
+ (0, server_1.ObjectType)({ description: 'Catalog of all entities across all schemas' })
3930
3929
  ], Entity_);
3931
3930
  let CreateEntityInput = class CreateEntityInput {
3932
3931
  };
@@ -5008,7 +5007,7 @@ __decorate([
5008
5007
  __metadata("design:type", Array)
5009
5008
  ], User_.prototype, "DataContextsArray", void 0);
5010
5009
  exports.User_ = User_ = __decorate([
5011
- (0, server_1.ObjectType)()
5010
+ (0, server_1.ObjectType)({ description: 'A list of all users who have or had access to the system' })
5012
5011
  ], User_);
5013
5012
  let CreateUserInput = class CreateUserInput {
5014
5013
  };
@@ -5717,7 +5716,7 @@ __decorate([
5717
5716
  __metadata("design:type", Number)
5718
5717
  ], EntityRelationship_.prototype, "DisplayUserViewID", void 0);
5719
5718
  exports.EntityRelationship_ = EntityRelationship_ = __decorate([
5720
- (0, server_1.ObjectType)()
5719
+ (0, server_1.ObjectType)({ description: 'Metadata about relationships between entities including display preferences for the UI' })
5721
5720
  ], EntityRelationship_);
5722
5721
  let CreateEntityRelationshipInput = class CreateEntityRelationshipInput {
5723
5722
  };
@@ -6392,7 +6391,7 @@ __decorate([
6392
6391
  __metadata("design:type", Array)
6393
6392
  ], UserView_.prototype, "DataContextItemsArray", void 0);
6394
6393
  exports.UserView_ = UserView_ = __decorate([
6395
- (0, server_1.ObjectType)()
6394
+ (0, server_1.ObjectType)({ description: 'Views are sets of records within a given entity defined by filtering rules. Views can be used programatically to retrieve dynamic sets of data and in user interfaces like MJ Explorer for end-user consumption.' })
6396
6395
  ], UserView_);
6397
6396
  let CreateUserViewInput = class CreateUserViewInput {
6398
6397
  };
@@ -7520,7 +7519,7 @@ __decorate([
7520
7519
  __metadata("design:type", Array)
7521
7520
  ], Application_.prototype, "UserApplicationsArray", void 0);
7522
7521
  exports.Application_ = Application_ = __decorate([
7523
- (0, server_1.ObjectType)()
7522
+ (0, server_1.ObjectType)({ description: 'Applications are used to group entities in the user interface for ease of user access' })
7524
7523
  ], Application_);
7525
7524
  let UpdateApplicationInput = class UpdateApplicationInput {
7526
7525
  };
@@ -7771,7 +7770,7 @@ __decorate([
7771
7770
  __metadata("design:type", String)
7772
7771
  ], ApplicationEntity_.prototype, "EntityBaseTableCodeName", void 0);
7773
7772
  exports.ApplicationEntity_ = ApplicationEntity_ = __decorate([
7774
- (0, server_1.ObjectType)()
7773
+ (0, server_1.ObjectType)({ description: 'List of entities within each application. An application can have any number of entities and an entity can be part of any number of applications.' })
7775
7774
  ], ApplicationEntity_);
7776
7775
  let CreateApplicationEntityInput = class CreateApplicationEntityInput {
7777
7776
  };
@@ -8067,8 +8066,8 @@ __decorate([
8067
8066
  __metadata("design:type", String)
8068
8067
  ], EntityPermission_.prototype, "Entity", void 0);
8069
8068
  __decorate([
8070
- (0, server_1.Field)(),
8071
- (0, class_validator_1.MaxLength)(100),
8069
+ (0, server_1.Field)({ nullable: true }),
8070
+ (0, class_validator_1.MaxLength)(500),
8072
8071
  __metadata("design:type", String)
8073
8072
  ], EntityPermission_.prototype, "RoleSQLName", void 0);
8074
8073
  __decorate([
@@ -8092,7 +8091,7 @@ __decorate([
8092
8091
  __metadata("design:type", String)
8093
8092
  ], EntityPermission_.prototype, "DeleteRLSFilter", void 0);
8094
8093
  exports.EntityPermission_ = EntityPermission_ = __decorate([
8095
- (0, server_1.ObjectType)()
8094
+ (0, server_1.ObjectType)({ description: 'Security settings for each entity' })
8096
8095
  ], EntityPermission_);
8097
8096
  let CreateEntityPermissionInput = class CreateEntityPermissionInput {
8098
8097
  };
@@ -9129,7 +9128,7 @@ __decorate([
9129
9128
  __metadata("design:type", Array)
9130
9129
  ], List_.prototype, "ListDetailsArray", void 0);
9131
9130
  exports.List_ = List_ = __decorate([
9132
- (0, server_1.ObjectType)()
9131
+ (0, server_1.ObjectType)({ description: 'Static lists are useful for controlling a set of data for a given entity. These can be used programatically for applications like logging and tracking long-running tasks and also by end users for tracking any particular list of records they want to directly control the set.' })
9133
9132
  ], List_);
9134
9133
  let CreateListInput = class CreateListInput {
9135
9134
  };
@@ -9413,7 +9412,7 @@ __decorate([
9413
9412
  __metadata("design:type", Number)
9414
9413
  ], ListDetail_.prototype, "Sequence", void 0);
9415
9414
  exports.ListDetail_ = ListDetail_ = __decorate([
9416
- (0, server_1.ObjectType)()
9415
+ (0, server_1.ObjectType)({ description: 'Tracks the records within each list.' })
9417
9416
  ], ListDetail_);
9418
9417
  let CreateListDetailInput = class CreateListDetailInput {
9419
9418
  };
@@ -9672,7 +9671,7 @@ __decorate([
9672
9671
  __metadata("design:type", Array)
9673
9672
  ], UserViewRun_.prototype, "UserViewRunDetailsArray", void 0);
9674
9673
  exports.UserViewRun_ = UserViewRun_ = __decorate([
9675
- (0, server_1.ObjectType)()
9674
+ (0, server_1.ObjectType)({ description: 'User Views can be logged when run to capture the date and user that ran the view as well as the output results.' })
9676
9675
  ], UserViewRun_);
9677
9676
  let CreateUserViewRunInput = class CreateUserViewRunInput {
9678
9677
  };
@@ -9905,7 +9904,7 @@ __decorate([
9905
9904
  __metadata("design:type", Number)
9906
9905
  ], UserViewRunDetail_.prototype, "EntityID", void 0);
9907
9906
  exports.UserViewRunDetail_ = UserViewRunDetail_ = __decorate([
9908
- (0, server_1.ObjectType)()
9907
+ (0, server_1.ObjectType)({ description: 'Tracks the set of records that were included in each run of a given user view.' })
9909
9908
  ], UserViewRunDetail_);
9910
9909
  let CreateUserViewRunDetailInput = class CreateUserViewRunDetailInput {
9911
9910
  };
@@ -10792,7 +10791,7 @@ __decorate([
10792
10791
  __metadata("design:type", String)
10793
10792
  ], RecordChange_.prototype, "User", void 0);
10794
10793
  exports.RecordChange_ = RecordChange_ = __decorate([
10795
- (0, server_1.ObjectType)()
10794
+ (0, server_1.ObjectType)({ description: 'For entities that have TrackRecordChanges=1, Record Changes will store the history of all changes made within the system. For integrations you can directly add values here if you have inbound signals indicating records were changed in a source system. This entity only automatically captures Record Changes if they were made within the system.' })
10796
10795
  ], RecordChange_);
10797
10796
  let CreateRecordChangeInput = class CreateRecordChangeInput {
10798
10797
  };
@@ -12401,7 +12400,7 @@ __decorate([
12401
12400
  __metadata("design:type", Array)
12402
12401
  ], AIModel_.prototype, "VectorIndexesArray", void 0);
12403
12402
  exports.AIModel_ = AIModel_ = __decorate([
12404
- (0, server_1.ObjectType)()
12403
+ (0, server_1.ObjectType)({ description: 'Catalog of all AI Models configured in the system.' })
12405
12404
  ], AIModel_);
12406
12405
  let UpdateAIModelInput = class UpdateAIModelInput {
12407
12406
  };
@@ -12689,7 +12688,7 @@ __decorate([
12689
12688
  __metadata("design:type", Array)
12690
12689
  ], AIAction_.prototype, "EntityAIActionsArray", void 0);
12691
12690
  exports.AIAction_ = AIAction_ = __decorate([
12692
- (0, server_1.ObjectType)()
12691
+ (0, server_1.ObjectType)({ description: 'List of all actions that are possible across all AI Models' })
12693
12692
  ], AIAction_);
12694
12693
  let UpdateAIActionInput = class UpdateAIActionInput {
12695
12694
  };
@@ -12927,7 +12926,7 @@ __decorate([
12927
12926
  __metadata("design:type", String)
12928
12927
  ], AIModelAction_.prototype, "AIAction", void 0);
12929
12928
  exports.AIModelAction_ = AIModelAction_ = __decorate([
12930
- (0, server_1.ObjectType)()
12929
+ (0, server_1.ObjectType)({ description: 'Tracks the actions supported by each AI Model' })
12931
12930
  ], AIModelAction_);
12932
12931
  let UpdateAIModelActionInput = class UpdateAIModelActionInput {
12933
12932
  };
@@ -13167,7 +13166,7 @@ __decorate([
13167
13166
  __metadata("design:type", String)
13168
13167
  ], EntityAIAction_.prototype, "OutputEntity", void 0);
13169
13168
  exports.EntityAIAction_ = EntityAIAction_ = __decorate([
13170
- (0, server_1.ObjectType)()
13169
+ (0, server_1.ObjectType)({ description: 'Tracks the AI actions that should be invoked based on changes to records within a given entity.' })
13171
13170
  ], EntityAIAction_);
13172
13171
  let UpdateEntityAIActionInput = class UpdateEntityAIActionInput {
13173
13172
  };
@@ -13384,7 +13383,7 @@ __decorate([
13384
13383
  __metadata("design:type", Array)
13385
13384
  ], AIModelType_.prototype, "AIModelsArray", void 0);
13386
13385
  exports.AIModelType_ = AIModelType_ = __decorate([
13387
- (0, server_1.ObjectType)()
13386
+ (0, server_1.ObjectType)({ description: 'Types of AI Models' })
13388
13387
  ], AIModelType_);
13389
13388
  let UpdateAIModelTypeInput = class UpdateAIModelTypeInput {
13390
13389
  };
@@ -13802,7 +13801,7 @@ __decorate([
13802
13801
  __metadata("design:type", Array)
13803
13802
  ], Queue_.prototype, "QueueTasksArray", void 0);
13804
13803
  exports.Queue_ = Queue_ = __decorate([
13805
- (0, server_1.ObjectType)()
13804
+ (0, server_1.ObjectType)({ description: 'Queues can be used to async execute long running tasks' })
13806
13805
  ], Queue_);
13807
13806
  let CreateQueueInput = class CreateQueueInput {
13808
13807
  };
@@ -14441,7 +14440,7 @@ __decorate([
14441
14440
  __metadata("design:type", String)
14442
14441
  ], Dashboard_.prototype, "User", void 0);
14443
14442
  exports.Dashboard_ = Dashboard_ = __decorate([
14444
- (0, server_1.ObjectType)()
14443
+ (0, server_1.ObjectType)({ description: 'Dashboards are used to group resources into a single display pane for an end-user' })
14445
14444
  ], Dashboard_);
14446
14445
  let CreateDashboardInput = class CreateDashboardInput {
14447
14446
  };
@@ -16010,7 +16009,7 @@ __decorate([
16010
16009
  __metadata("design:type", Array)
16011
16010
  ], Tag_.prototype, "TaggedItemsArray", void 0);
16012
16011
  exports.Tag_ = Tag_ = __decorate([
16013
- (0, server_1.ObjectType)()
16012
+ (0, server_1.ObjectType)({ description: 'Tags are used to arbitrarily associate any record in any entity with addtional information.' })
16014
16013
  ], Tag_);
16015
16014
  let RunTagViewResult = class RunTagViewResult {
16016
16015
  };
@@ -16166,7 +16165,7 @@ __decorate([
16166
16165
  __metadata("design:type", String)
16167
16166
  ], TaggedItem_.prototype, "Entity", void 0);
16168
16167
  exports.TaggedItem_ = TaggedItem_ = __decorate([
16169
- (0, server_1.ObjectType)()
16168
+ (0, server_1.ObjectType)({ description: 'Tracks the links between any record in any entity with Tags' })
16170
16169
  ], TaggedItem_);
16171
16170
  let RunTaggedItemViewResult = class RunTaggedItemViewResult {
16172
16171
  };
@@ -16291,7 +16290,7 @@ __decorate([
16291
16290
  __metadata("design:type", Array)
16292
16291
  ], Workspace_.prototype, "WorkspaceItemsArray", void 0);
16293
16292
  exports.Workspace_ = Workspace_ = __decorate([
16294
- (0, server_1.ObjectType)()
16293
+ (0, server_1.ObjectType)({ description: 'A user can have one or more workspaces' })
16295
16294
  ], Workspace_);
16296
16295
  let CreateWorkspaceInput = class CreateWorkspaceInput {
16297
16296
  };
@@ -16579,7 +16578,7 @@ __decorate([
16579
16578
  __metadata("design:type", String)
16580
16579
  ], WorkspaceItem_.prototype, "ResourceType", void 0);
16581
16580
  exports.WorkspaceItem_ = WorkspaceItem_ = __decorate([
16582
- (0, server_1.ObjectType)()
16581
+ (0, server_1.ObjectType)({ description: 'Tracks the resources that are active within a given worksapce' })
16583
16582
  ], WorkspaceItem_);
16584
16583
  let CreateWorkspaceItemInput = class CreateWorkspaceItemInput {
16585
16584
  };
@@ -16867,7 +16866,7 @@ __decorate([
16867
16866
  __metadata("design:type", Array)
16868
16867
  ], Dataset_.prototype, "DatasetItemsArray", void 0);
16869
16868
  exports.Dataset_ = Dataset_ = __decorate([
16870
- (0, server_1.ObjectType)()
16869
+ (0, server_1.ObjectType)({ description: 'Cacheable sets of data that can span one or more items' })
16871
16870
  ], Dataset_);
16872
16871
  let RunDatasetViewResult = class RunDatasetViewResult {
16873
16872
  };
@@ -17030,7 +17029,7 @@ __decorate([
17030
17029
  __metadata("design:type", String)
17031
17030
  ], DatasetItem_.prototype, "Entity", void 0);
17032
17031
  exports.DatasetItem_ = DatasetItem_ = __decorate([
17033
- (0, server_1.ObjectType)()
17032
+ (0, server_1.ObjectType)({ description: 'A single item in a Dataset and can be sourced from multiple methods.' })
17034
17033
  ], DatasetItem_);
17035
17034
  let RunDatasetItemViewResult = class RunDatasetItemViewResult {
17036
17035
  };
@@ -18173,7 +18172,7 @@ __decorate([
18173
18172
  __metadata("design:type", Date)
18174
18173
  ], SchemaInfo_.prototype, "UpdatedAt", void 0);
18175
18174
  exports.SchemaInfo_ = SchemaInfo_ = __decorate([
18176
- (0, server_1.ObjectType)()
18175
+ (0, server_1.ObjectType)({ description: 'Tracks the schemas in the system and the ID ranges that are valid for entities within each schema.' })
18177
18176
  ], SchemaInfo_);
18178
18177
  let CreateSchemaInfoInput = class CreateSchemaInfoInput {
18179
18178
  };
@@ -19906,7 +19905,7 @@ __decorate([
19906
19905
  __metadata("design:type", Array)
19907
19906
  ], Query_.prototype, "DataContextItemsArray", void 0);
19908
19907
  exports.Query_ = Query_ = __decorate([
19909
- (0, server_1.ObjectType)()
19908
+ (0, server_1.ObjectType)({ description: 'Catalog of stored queries. This is useful for any arbitrary query that is known to be performant and correct and can be reused. Queries can be viewed/run by a user, used programatically via RunQuery, and also used by AI systems for improved reliability instead of dynamically generated SQL. Queries can also improve security since they store the SQL instead of using dynamic SQL.' })
19910
19909
  ], Query_);
19911
19910
  let CreateQueryInput = class CreateQueryInput {
19912
19911
  };