@memberjunction/core-entities 0.9.163 → 0.9.165
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.
|
@@ -15,6 +15,7 @@ const global_1 = require("@memberjunction/global");
|
|
|
15
15
|
* * Schema: __mj
|
|
16
16
|
* * Base Table: Company
|
|
17
17
|
* * Base View: vwCompanies
|
|
18
|
+
* * @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.
|
|
18
19
|
* * Primary Key: ID
|
|
19
20
|
* @extends {BaseEntity}
|
|
20
21
|
* @class
|
|
@@ -124,6 +125,7 @@ exports.CompanyEntity = CompanyEntity = __decorate([
|
|
|
124
125
|
* * Schema: __mj
|
|
125
126
|
* * Base Table: Employee
|
|
126
127
|
* * Base View: vwEmployees
|
|
128
|
+
* * @description A list of employees across all units of your organization
|
|
127
129
|
* * Primary Key: ID
|
|
128
130
|
* @extends {BaseEntity}
|
|
129
131
|
* @class
|
|
@@ -317,6 +319,7 @@ exports.EmployeeEntity = EmployeeEntity = __decorate([
|
|
|
317
319
|
* * Schema: __mj
|
|
318
320
|
* * Base Table: UserFavorite
|
|
319
321
|
* * Base View: vwUserFavorites
|
|
322
|
+
* * @description Records that each user can mark as a favorite for easy access
|
|
320
323
|
* * Primary Key: ID
|
|
321
324
|
* @extends {BaseEntity}
|
|
322
325
|
* @class
|
|
@@ -749,6 +752,7 @@ exports.EmployeeSkillEntity = EmployeeSkillEntity = __decorate([
|
|
|
749
752
|
* * Schema: __mj
|
|
750
753
|
* * Base Table: Role
|
|
751
754
|
* * Base View: vwRoles
|
|
755
|
+
* * @description Roles are used for security administration and can have zero to many Users as members
|
|
752
756
|
* * Primary Key: ID
|
|
753
757
|
* @extends {BaseEntity}
|
|
754
758
|
* @class
|
|
@@ -801,7 +805,8 @@ let RoleEntity = class RoleEntity extends core_1.BaseEntity {
|
|
|
801
805
|
}
|
|
802
806
|
/**
|
|
803
807
|
* * Field Name: Description
|
|
804
|
-
* * SQL Data Type: nvarchar(
|
|
808
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
809
|
+
* * Description: Description of the role
|
|
805
810
|
*/
|
|
806
811
|
get Description() {
|
|
807
812
|
return this.Get('Description');
|
|
@@ -810,19 +815,21 @@ let RoleEntity = class RoleEntity extends core_1.BaseEntity {
|
|
|
810
815
|
this.Set('Description', value);
|
|
811
816
|
}
|
|
812
817
|
/**
|
|
813
|
-
* * Field Name:
|
|
814
|
-
* * Display Name:
|
|
815
|
-
* * SQL Data Type: nvarchar(
|
|
818
|
+
* * Field Name: DirectoryID
|
|
819
|
+
* * Display Name: Directory ID
|
|
820
|
+
* * SQL Data Type: nvarchar(250)
|
|
821
|
+
* * Description: The unique ID of the role in the directory being used for authentication, for example an ID in Azure.
|
|
816
822
|
*/
|
|
817
|
-
get
|
|
818
|
-
return this.Get('
|
|
823
|
+
get DirectoryID() {
|
|
824
|
+
return this.Get('DirectoryID');
|
|
819
825
|
}
|
|
820
|
-
set
|
|
821
|
-
this.Set('
|
|
826
|
+
set DirectoryID(value) {
|
|
827
|
+
this.Set('DirectoryID', value);
|
|
822
828
|
}
|
|
823
829
|
/**
|
|
824
830
|
* * Field Name: SQLName
|
|
825
|
-
* * SQL Data Type: nvarchar(
|
|
831
|
+
* * SQL Data Type: nvarchar(250)
|
|
832
|
+
* * Description: The name of the role in the database, this is used for auto-generating permission statements by CodeGen
|
|
826
833
|
*/
|
|
827
834
|
get SQLName() {
|
|
828
835
|
return this.Get('SQLName');
|
|
@@ -858,6 +865,7 @@ exports.RoleEntity = RoleEntity = __decorate([
|
|
|
858
865
|
* * Schema: __mj
|
|
859
866
|
* * Base Table: Skill
|
|
860
867
|
* * Base View: vwSkills
|
|
868
|
+
* * @description A hierarchical list of possible skills that are linked to Employees and can also be linked to any other entity
|
|
861
869
|
* * Primary Key: ID
|
|
862
870
|
* @extends {BaseEntity}
|
|
863
871
|
* @class
|
|
@@ -967,6 +975,7 @@ exports.SkillEntity = SkillEntity = __decorate([
|
|
|
967
975
|
* * Schema: __mj
|
|
968
976
|
* * Base Table: IntegrationURLFormat
|
|
969
977
|
* * Base View: vwIntegrationURLFormats
|
|
978
|
+
* * @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.
|
|
970
979
|
* * Primary Key: ID
|
|
971
980
|
* @extends {BaseEntity}
|
|
972
981
|
* @class
|
|
@@ -1083,6 +1092,7 @@ exports.IntegrationURLFormatEntity = IntegrationURLFormatEntity = __decorate([
|
|
|
1083
1092
|
* * Schema: __mj
|
|
1084
1093
|
* * Base Table: Integration
|
|
1085
1094
|
* * Base View: vwIntegrations
|
|
1095
|
+
* * @description Catalog of all integrations that have been configured in the system.
|
|
1086
1096
|
* * Primary Key: ID
|
|
1087
1097
|
* @extends {BaseEntity}
|
|
1088
1098
|
* @class
|
|
@@ -1228,6 +1238,7 @@ exports.IntegrationEntity = IntegrationEntity = __decorate([
|
|
|
1228
1238
|
* * Schema: __mj
|
|
1229
1239
|
* * Base Table: CompanyIntegration
|
|
1230
1240
|
* * Base View: vwCompanyIntegrations
|
|
1241
|
+
* * @description Links individual company records to specific integrations
|
|
1231
1242
|
* * Primary Key: ID
|
|
1232
1243
|
* @extends {BaseEntity}
|
|
1233
1244
|
* @class
|
|
@@ -1500,6 +1511,7 @@ exports.CompanyIntegrationEntity = CompanyIntegrationEntity = __decorate([
|
|
|
1500
1511
|
* * Schema: __mj
|
|
1501
1512
|
* * Base Table: EntityField
|
|
1502
1513
|
* * Base View: vwEntityFields
|
|
1514
|
+
* * @description List of all fields within each entity with metadata about each field
|
|
1503
1515
|
* * Primary Key: ID
|
|
1504
1516
|
* @extends {BaseEntity}
|
|
1505
1517
|
* @class
|
|
@@ -2006,6 +2018,7 @@ exports.EntityFieldEntity = EntityFieldEntity = __decorate([
|
|
|
2006
2018
|
* * Schema: __mj
|
|
2007
2019
|
* * Base Table: Entity
|
|
2008
2020
|
* * Base View: vwEntities
|
|
2021
|
+
* * @description Catalog of all entities across all schemas
|
|
2009
2022
|
* * Primary Key: ID
|
|
2010
2023
|
* @extends {BaseEntity}
|
|
2011
2024
|
* @class
|
|
@@ -2547,6 +2560,7 @@ exports.EntityEntity = EntityEntity = __decorate([
|
|
|
2547
2560
|
* * Schema: __mj
|
|
2548
2561
|
* * Base Table: User
|
|
2549
2562
|
* * Base View: vwUsers
|
|
2563
|
+
* * @description A list of all users who have or had access to the system
|
|
2550
2564
|
* * Primary Key: ID
|
|
2551
2565
|
* @extends {BaseEntity}
|
|
2552
2566
|
* @class
|
|
@@ -2773,6 +2787,7 @@ exports.UserEntity = UserEntity = __decorate([
|
|
|
2773
2787
|
* * Schema: __mj
|
|
2774
2788
|
* * Base Table: EntityRelationship
|
|
2775
2789
|
* * Base View: vwEntityRelationships
|
|
2790
|
+
* * @description Metadata about relationships between entities including display preferences for the UI
|
|
2776
2791
|
* * Primary Key: ID
|
|
2777
2792
|
* @extends {BaseEntity}
|
|
2778
2793
|
* @class
|
|
@@ -3245,6 +3260,7 @@ exports.UserRecordLogEntity = UserRecordLogEntity = __decorate([
|
|
|
3245
3260
|
* * Schema: __mj
|
|
3246
3261
|
* * Base Table: UserView
|
|
3247
3262
|
* * Base View: vwUserViews
|
|
3263
|
+
* * @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.
|
|
3248
3264
|
* * Primary Key: ID
|
|
3249
3265
|
* @extends {BaseEntity}
|
|
3250
3266
|
* @class
|
|
@@ -3964,6 +3980,7 @@ exports.ErrorLogEntity = ErrorLogEntity = __decorate([
|
|
|
3964
3980
|
* * Schema: __mj
|
|
3965
3981
|
* * Base Table: Application
|
|
3966
3982
|
* * Base View: vwApplications
|
|
3983
|
+
* * @description Applications are used to group entities in the user interface for ease of user access
|
|
3967
3984
|
* * Primary Key: ID
|
|
3968
3985
|
* @extends {BaseEntity}
|
|
3969
3986
|
* @class
|
|
@@ -4052,6 +4069,7 @@ exports.ApplicationEntity = ApplicationEntity = __decorate([
|
|
|
4052
4069
|
* * Schema: __mj
|
|
4053
4070
|
* * Base Table: ApplicationEntity
|
|
4054
4071
|
* * Base View: vwApplicationEntities
|
|
4072
|
+
* * @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.
|
|
4055
4073
|
* * Primary Key: ID
|
|
4056
4074
|
* @extends {BaseEntity}
|
|
4057
4075
|
* @class
|
|
@@ -4201,6 +4219,7 @@ exports.ApplicationEntityEntity = ApplicationEntityEntity = __decorate([
|
|
|
4201
4219
|
* * Schema: __mj
|
|
4202
4220
|
* * Base Table: EntityPermission
|
|
4203
4221
|
* * Base View: vwEntityPermissions
|
|
4222
|
+
* * @description Security settings for each entity
|
|
4204
4223
|
* * Primary Key: ID
|
|
4205
4224
|
* @extends {BaseEntity}
|
|
4206
4225
|
* @class
|
|
@@ -4378,7 +4397,7 @@ let EntityPermissionEntity = class EntityPermissionEntity extends core_1.BaseEnt
|
|
|
4378
4397
|
/**
|
|
4379
4398
|
* * Field Name: RoleSQLName
|
|
4380
4399
|
* * Display Name: Role SQLName
|
|
4381
|
-
* * SQL Data Type: nvarchar(
|
|
4400
|
+
* * SQL Data Type: nvarchar(250)
|
|
4382
4401
|
*/
|
|
4383
4402
|
get RoleSQLName() {
|
|
4384
4403
|
return this.Get('RoleSQLName');
|
|
@@ -4742,6 +4761,7 @@ exports.CompanyIntegrationRunAPILogEntity = CompanyIntegrationRunAPILogEntity =
|
|
|
4742
4761
|
* * Schema: __mj
|
|
4743
4762
|
* * Base Table: List
|
|
4744
4763
|
* * Base View: vwLists
|
|
4764
|
+
* * @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.
|
|
4745
4765
|
* * Primary Key: ID
|
|
4746
4766
|
* @extends {BaseEntity}
|
|
4747
4767
|
* @class
|
|
@@ -4882,6 +4902,7 @@ exports.ListEntity = ListEntity = __decorate([
|
|
|
4882
4902
|
* * Schema: __mj
|
|
4883
4903
|
* * Base Table: ListDetail
|
|
4884
4904
|
* * Base View: vwListDetails
|
|
4905
|
+
* * @description Tracks the records within each list.
|
|
4885
4906
|
* * Primary Key: ID
|
|
4886
4907
|
* @extends {BaseEntity}
|
|
4887
4908
|
* @class
|
|
@@ -4955,6 +4976,7 @@ exports.ListDetailEntity = ListDetailEntity = __decorate([
|
|
|
4955
4976
|
* * Schema: __mj
|
|
4956
4977
|
* * Base Table: UserViewRun
|
|
4957
4978
|
* * Base View: vwUserViewRuns
|
|
4979
|
+
* * @description User Views can be logged when run to capture the date and user that ran the view as well as the output results.
|
|
4958
4980
|
* * Primary Key: ID
|
|
4959
4981
|
* @extends {BaseEntity}
|
|
4960
4982
|
* @class
|
|
@@ -5056,6 +5078,7 @@ exports.UserViewRunEntity = UserViewRunEntity = __decorate([
|
|
|
5056
5078
|
* * Schema: __mj
|
|
5057
5079
|
* * Base Table: UserViewRunDetail
|
|
5058
5080
|
* * Base View: vwUserViewRunDetails
|
|
5081
|
+
* * @description Tracks the set of records that were included in each run of a given user view.
|
|
5059
5082
|
* * Primary Key: ID
|
|
5060
5083
|
* @extends {BaseEntity}
|
|
5061
5084
|
* @class
|
|
@@ -5510,6 +5533,7 @@ exports.WorkflowEngineEntity = WorkflowEngineEntity = __decorate([
|
|
|
5510
5533
|
* * Schema: __mj
|
|
5511
5534
|
* * Base Table: RecordChange
|
|
5512
5535
|
* * Base View: vwRecordChanges
|
|
5536
|
+
* * @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.
|
|
5513
5537
|
* * Primary Key: ID
|
|
5514
5538
|
* @extends {BaseEntity}
|
|
5515
5539
|
* @class
|
|
@@ -6616,6 +6640,7 @@ exports.EntityFieldValueEntity = EntityFieldValueEntity = __decorate([
|
|
|
6616
6640
|
* * Schema: __mj
|
|
6617
6641
|
* * Base Table: AIModel
|
|
6618
6642
|
* * Base View: vwAIModels
|
|
6643
|
+
* * @description Catalog of all AI Models configured in the system.
|
|
6619
6644
|
* * Primary Key: ID
|
|
6620
6645
|
* @extends {BaseEntity}
|
|
6621
6646
|
* @class
|
|
@@ -6764,6 +6789,7 @@ exports.AIModelEntity = AIModelEntity = __decorate([
|
|
|
6764
6789
|
* * Schema: __mj
|
|
6765
6790
|
* * Base Table: AIAction
|
|
6766
6791
|
* * Base View: vwAIActions
|
|
6792
|
+
* * @description List of all actions that are possible across all AI Models
|
|
6767
6793
|
* * Primary Key: ID
|
|
6768
6794
|
* @extends {BaseEntity}
|
|
6769
6795
|
* @class
|
|
@@ -6898,6 +6924,7 @@ exports.AIActionEntity = AIActionEntity = __decorate([
|
|
|
6898
6924
|
* * Schema: __mj
|
|
6899
6925
|
* * Base Table: AIModelAction
|
|
6900
6926
|
* * Base View: vwAIModelActions
|
|
6927
|
+
* * @description Tracks the actions supported by each AI Model
|
|
6901
6928
|
* * Primary Key: ID
|
|
6902
6929
|
* @extends {BaseEntity}
|
|
6903
6930
|
* @class
|
|
@@ -7019,6 +7046,7 @@ exports.AIModelActionEntity = AIModelActionEntity = __decorate([
|
|
|
7019
7046
|
* * Schema: __mj
|
|
7020
7047
|
* * Base Table: EntityAIAction
|
|
7021
7048
|
* * Base View: vwEntityAIActions
|
|
7049
|
+
* * @description Tracks the AI actions that should be invoked based on changes to records within a given entity.
|
|
7022
7050
|
* * Primary Key: ID
|
|
7023
7051
|
* @extends {BaseEntity}
|
|
7024
7052
|
* @class
|
|
@@ -7241,6 +7269,7 @@ exports.EntityAIActionEntity = EntityAIActionEntity = __decorate([
|
|
|
7241
7269
|
* * Schema: __mj
|
|
7242
7270
|
* * Base Table: AIModelType
|
|
7243
7271
|
* * Base View: vwAIModelTypes
|
|
7272
|
+
* * @description Types of AI Models
|
|
7244
7273
|
* * Primary Key: ID
|
|
7245
7274
|
* @extends {BaseEntity}
|
|
7246
7275
|
* @class
|
|
@@ -7432,6 +7461,7 @@ exports.QueueTypeEntity = QueueTypeEntity = __decorate([
|
|
|
7432
7461
|
* * Schema: __mj
|
|
7433
7462
|
* * Base Table: Queue
|
|
7434
7463
|
* * Base View: vwQueues
|
|
7464
|
+
* * @description Queues can be used to async execute long running tasks
|
|
7435
7465
|
* * Primary Key: ID
|
|
7436
7466
|
* @extends {BaseEntity}
|
|
7437
7467
|
* @class
|
|
@@ -7840,6 +7870,7 @@ exports.QueueTaskEntity = QueueTaskEntity = __decorate([
|
|
|
7840
7870
|
* * Schema: __mj
|
|
7841
7871
|
* * Base Table: Dashboard
|
|
7842
7872
|
* * Base View: vwDashboards
|
|
7873
|
+
* * @description Dashboards are used to group resources into a single display pane for an end-user
|
|
7843
7874
|
* * Primary Key: ID
|
|
7844
7875
|
* @extends {BaseEntity}
|
|
7845
7876
|
* @class
|
|
@@ -8769,6 +8800,7 @@ exports.ResourceTypeEntity = ResourceTypeEntity = __decorate([
|
|
|
8769
8800
|
* * Schema: __mj
|
|
8770
8801
|
* * Base Table: Tag
|
|
8771
8802
|
* * Base View: vwTags
|
|
8803
|
+
* * @description Tags are used to arbitrarily associate any record in any entity with addtional information.
|
|
8772
8804
|
* * Primary Key: ID
|
|
8773
8805
|
* @extends {BaseEntity}
|
|
8774
8806
|
* @class
|
|
@@ -8884,6 +8916,7 @@ exports.TagEntity = TagEntity = __decorate([
|
|
|
8884
8916
|
* * Schema: __mj
|
|
8885
8917
|
* * Base Table: TaggedItem
|
|
8886
8918
|
* * Base View: vwTaggedItems
|
|
8919
|
+
* * @description Tracks the links between any record in any entity with Tags
|
|
8887
8920
|
* * Primary Key: ID
|
|
8888
8921
|
* @extends {BaseEntity}
|
|
8889
8922
|
* @class
|
|
@@ -8986,6 +9019,7 @@ exports.TaggedItemEntity = TaggedItemEntity = __decorate([
|
|
|
8986
9019
|
* * Schema: __mj
|
|
8987
9020
|
* * Base Table: Workspace
|
|
8988
9021
|
* * Base View: vwWorkspaces
|
|
9022
|
+
* * @description A user can have one or more workspaces
|
|
8989
9023
|
* * Primary Key: ID
|
|
8990
9024
|
* @extends {BaseEntity}
|
|
8991
9025
|
* @class
|
|
@@ -9068,6 +9102,7 @@ exports.WorkspaceEntity = WorkspaceEntity = __decorate([
|
|
|
9068
9102
|
* * Schema: __mj
|
|
9069
9103
|
* * Base Table: WorkspaceItem
|
|
9070
9104
|
* * Base View: vwWorkspaceItems
|
|
9105
|
+
* * @description Tracks the resources that are active within a given worksapce
|
|
9071
9106
|
* * Primary Key: ID
|
|
9072
9107
|
* @extends {BaseEntity}
|
|
9073
9108
|
* @class
|
|
@@ -9203,6 +9238,7 @@ exports.WorkspaceItemEntity = WorkspaceItemEntity = __decorate([
|
|
|
9203
9238
|
* * Schema: __mj
|
|
9204
9239
|
* * Base Table: Dataset
|
|
9205
9240
|
* * Base View: vwDatasets
|
|
9241
|
+
* * @description Cacheable sets of data that can span one or more items
|
|
9206
9242
|
* * Primary Key: ID
|
|
9207
9243
|
* @extends {BaseEntity}
|
|
9208
9244
|
* @class
|
|
@@ -9305,6 +9341,7 @@ exports.DatasetEntity = DatasetEntity = __decorate([
|
|
|
9305
9341
|
* * Schema: __mj
|
|
9306
9342
|
* * Base Table: DatasetItem
|
|
9307
9343
|
* * Base View: vwDatasetItems
|
|
9344
|
+
* * @description A single item in a Dataset and can be sourced from multiple methods.
|
|
9308
9345
|
* * Primary Key: ID
|
|
9309
9346
|
* @extends {BaseEntity}
|
|
9310
9347
|
* @class
|
|
@@ -9941,6 +9978,7 @@ exports.UserNotificationEntity = UserNotificationEntity = __decorate([
|
|
|
9941
9978
|
* * Schema: __mj
|
|
9942
9979
|
* * Base Table: SchemaInfo
|
|
9943
9980
|
* * Base View: vwSchemaInfos
|
|
9981
|
+
* * @description Tracks the schemas in the system and the ID ranges that are valid for entities within each schema.
|
|
9944
9982
|
* * Primary Key: ID
|
|
9945
9983
|
* @extends {BaseEntity}
|
|
9946
9984
|
* @class
|
|
@@ -10815,6 +10853,7 @@ exports.QueryCategoryEntity = QueryCategoryEntity = __decorate([
|
|
|
10815
10853
|
* * Schema: __mj
|
|
10816
10854
|
* * Base Table: Query
|
|
10817
10855
|
* * Base View: vwQueries
|
|
10856
|
+
* * @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.
|
|
10818
10857
|
* * Primary Key: ID
|
|
10819
10858
|
* @extends {BaseEntity}
|
|
10820
10859
|
* @class
|