@memberjunction/core-entities 0.9.164 → 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.
|
@@ -4,6 +4,7 @@ import { BaseEntity, EntitySaveOptions } from "@memberjunction/core";
|
|
|
4
4
|
* * Schema: __mj
|
|
5
5
|
* * Base Table: Company
|
|
6
6
|
* * Base View: vwCompanies
|
|
7
|
+
* * @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.
|
|
7
8
|
* * Primary Key: ID
|
|
8
9
|
* @extends {BaseEntity}
|
|
9
10
|
* @class
|
|
@@ -79,6 +80,7 @@ export declare class CompanyEntity extends BaseEntity {
|
|
|
79
80
|
* * Schema: __mj
|
|
80
81
|
* * Base Table: Employee
|
|
81
82
|
* * Base View: vwEmployees
|
|
83
|
+
* * @description A list of employees across all units of your organization
|
|
82
84
|
* * Primary Key: ID
|
|
83
85
|
* @extends {BaseEntity}
|
|
84
86
|
* @class
|
|
@@ -214,6 +216,7 @@ export declare class EmployeeEntity extends BaseEntity {
|
|
|
214
216
|
* * Schema: __mj
|
|
215
217
|
* * Base Table: UserFavorite
|
|
216
218
|
* * Base View: vwUserFavorites
|
|
219
|
+
* * @description Records that each user can mark as a favorite for easy access
|
|
217
220
|
* * Primary Key: ID
|
|
218
221
|
* @extends {BaseEntity}
|
|
219
222
|
* @class
|
|
@@ -530,6 +533,7 @@ export declare class EmployeeSkillEntity extends BaseEntity {
|
|
|
530
533
|
* * Schema: __mj
|
|
531
534
|
* * Base Table: Role
|
|
532
535
|
* * Base View: vwRoles
|
|
536
|
+
* * @description Roles are used for security administration and can have zero to many Users as members
|
|
533
537
|
* * Primary Key: ID
|
|
534
538
|
* @extends {BaseEntity}
|
|
535
539
|
* @class
|
|
@@ -610,6 +614,7 @@ export declare class RoleEntity extends BaseEntity {
|
|
|
610
614
|
* * Schema: __mj
|
|
611
615
|
* * Base Table: Skill
|
|
612
616
|
* * Base View: vwSkills
|
|
617
|
+
* * @description A hierarchical list of possible skills that are linked to Employees and can also be linked to any other entity
|
|
613
618
|
* * Primary Key: ID
|
|
614
619
|
* @extends {BaseEntity}
|
|
615
620
|
* @class
|
|
@@ -691,6 +696,7 @@ export declare class SkillEntity extends BaseEntity {
|
|
|
691
696
|
* * Schema: __mj
|
|
692
697
|
* * Base Table: IntegrationURLFormat
|
|
693
698
|
* * Base View: vwIntegrationURLFormats
|
|
699
|
+
* * @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.
|
|
694
700
|
* * Primary Key: ID
|
|
695
701
|
* @extends {BaseEntity}
|
|
696
702
|
* @class
|
|
@@ -775,6 +781,7 @@ export declare class IntegrationURLFormatEntity extends BaseEntity {
|
|
|
775
781
|
* * Schema: __mj
|
|
776
782
|
* * Base Table: Integration
|
|
777
783
|
* * Base View: vwIntegrations
|
|
784
|
+
* * @description Catalog of all integrations that have been configured in the system.
|
|
778
785
|
* * Primary Key: ID
|
|
779
786
|
* @extends {BaseEntity}
|
|
780
787
|
* @class
|
|
@@ -876,6 +883,7 @@ export declare class IntegrationEntity extends BaseEntity {
|
|
|
876
883
|
* * Schema: __mj
|
|
877
884
|
* * Base Table: CompanyIntegration
|
|
878
885
|
* * Base View: vwCompanyIntegrations
|
|
886
|
+
* * @description Links individual company records to specific integrations
|
|
879
887
|
* * Primary Key: ID
|
|
880
888
|
* @extends {BaseEntity}
|
|
881
889
|
* @class
|
|
@@ -1066,6 +1074,7 @@ export declare class CompanyIntegrationEntity extends BaseEntity {
|
|
|
1066
1074
|
* * Schema: __mj
|
|
1067
1075
|
* * Base Table: EntityField
|
|
1068
1076
|
* * Base View: vwEntityFields
|
|
1077
|
+
* * @description List of all fields within each entity with metadata about each field
|
|
1069
1078
|
* * Primary Key: ID
|
|
1070
1079
|
* @extends {BaseEntity}
|
|
1071
1080
|
* @class
|
|
@@ -1420,6 +1429,7 @@ export declare class EntityFieldEntity extends BaseEntity {
|
|
|
1420
1429
|
* * Schema: __mj
|
|
1421
1430
|
* * Base Table: Entity
|
|
1422
1431
|
* * Base View: vwEntities
|
|
1432
|
+
* * @description Catalog of all entities across all schemas
|
|
1423
1433
|
* * Primary Key: ID
|
|
1424
1434
|
* @extends {BaseEntity}
|
|
1425
1435
|
* @class
|
|
@@ -1787,6 +1797,7 @@ export declare class EntityEntity extends BaseEntity {
|
|
|
1787
1797
|
* * Schema: __mj
|
|
1788
1798
|
* * Base Table: User
|
|
1789
1799
|
* * Base View: vwUsers
|
|
1800
|
+
* * @description A list of all users who have or had access to the system
|
|
1790
1801
|
* * Primary Key: ID
|
|
1791
1802
|
* @extends {BaseEntity}
|
|
1792
1803
|
* @class
|
|
@@ -1943,6 +1954,7 @@ export declare class UserEntity extends BaseEntity {
|
|
|
1943
1954
|
* * Schema: __mj
|
|
1944
1955
|
* * Base Table: EntityRelationship
|
|
1945
1956
|
* * Base View: vwEntityRelationships
|
|
1957
|
+
* * @description Metadata about relationships between entities including display preferences for the UI
|
|
1946
1958
|
* * Primary Key: ID
|
|
1947
1959
|
* @extends {BaseEntity}
|
|
1948
1960
|
* @class
|
|
@@ -2277,6 +2289,7 @@ export declare class UserRecordLogEntity extends BaseEntity {
|
|
|
2277
2289
|
* * Schema: __mj
|
|
2278
2290
|
* * Base Table: UserView
|
|
2279
2291
|
* * Base View: vwUserViews
|
|
2292
|
+
* * @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.
|
|
2280
2293
|
* * Primary Key: ID
|
|
2281
2294
|
* @extends {BaseEntity}
|
|
2282
2295
|
* @class
|
|
@@ -2774,6 +2787,7 @@ export declare class ErrorLogEntity extends BaseEntity {
|
|
|
2774
2787
|
* * Schema: __mj
|
|
2775
2788
|
* * Base Table: Application
|
|
2776
2789
|
* * Base View: vwApplications
|
|
2790
|
+
* * @description Applications are used to group entities in the user interface for ease of user access
|
|
2777
2791
|
* * Primary Key: ID
|
|
2778
2792
|
* @extends {BaseEntity}
|
|
2779
2793
|
* @class
|
|
@@ -2838,6 +2852,7 @@ export declare class ApplicationEntity extends BaseEntity {
|
|
|
2838
2852
|
* * Schema: __mj
|
|
2839
2853
|
* * Base Table: ApplicationEntity
|
|
2840
2854
|
* * Base View: vwApplicationEntities
|
|
2855
|
+
* * @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.
|
|
2841
2856
|
* * Primary Key: ID
|
|
2842
2857
|
* @extends {BaseEntity}
|
|
2843
2858
|
* @class
|
|
@@ -2945,6 +2960,7 @@ export declare class ApplicationEntityEntity extends BaseEntity {
|
|
|
2945
2960
|
* * Schema: __mj
|
|
2946
2961
|
* * Base Table: EntityPermission
|
|
2947
2962
|
* * Base View: vwEntityPermissions
|
|
2963
|
+
* * @description Security settings for each entity
|
|
2948
2964
|
* * Primary Key: ID
|
|
2949
2965
|
* @extends {BaseEntity}
|
|
2950
2966
|
* @class
|
|
@@ -3326,6 +3342,7 @@ export declare class CompanyIntegrationRunAPILogEntity extends BaseEntity {
|
|
|
3326
3342
|
* * Schema: __mj
|
|
3327
3343
|
* * Base Table: List
|
|
3328
3344
|
* * Base View: vwLists
|
|
3345
|
+
* * @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.
|
|
3329
3346
|
* * Primary Key: ID
|
|
3330
3347
|
* @extends {BaseEntity}
|
|
3331
3348
|
* @class
|
|
@@ -3424,6 +3441,7 @@ export declare class ListEntity extends BaseEntity {
|
|
|
3424
3441
|
* * Schema: __mj
|
|
3425
3442
|
* * Base Table: ListDetail
|
|
3426
3443
|
* * Base View: vwListDetails
|
|
3444
|
+
* * @description Tracks the records within each list.
|
|
3427
3445
|
* * Primary Key: ID
|
|
3428
3446
|
* @extends {BaseEntity}
|
|
3429
3447
|
* @class
|
|
@@ -3475,6 +3493,7 @@ export declare class ListDetailEntity extends BaseEntity {
|
|
|
3475
3493
|
* * Schema: __mj
|
|
3476
3494
|
* * Base Table: UserViewRun
|
|
3477
3495
|
* * Base View: vwUserViewRuns
|
|
3496
|
+
* * @description User Views can be logged when run to capture the date and user that ran the view as well as the output results.
|
|
3478
3497
|
* * Primary Key: ID
|
|
3479
3498
|
* @extends {BaseEntity}
|
|
3480
3499
|
* @class
|
|
@@ -3548,6 +3567,7 @@ export declare class UserViewRunEntity extends BaseEntity {
|
|
|
3548
3567
|
* * Schema: __mj
|
|
3549
3568
|
* * Base Table: UserViewRunDetail
|
|
3550
3569
|
* * Base View: vwUserViewRunDetails
|
|
3570
|
+
* * @description Tracks the set of records that were included in each run of a given user view.
|
|
3551
3571
|
* * Primary Key: ID
|
|
3552
3572
|
* @extends {BaseEntity}
|
|
3553
3573
|
* @class
|
|
@@ -3870,6 +3890,7 @@ export declare class WorkflowEngineEntity extends BaseEntity {
|
|
|
3870
3890
|
* * Schema: __mj
|
|
3871
3891
|
* * Base Table: RecordChange
|
|
3872
3892
|
* * Base View: vwRecordChanges
|
|
3893
|
+
* * @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.
|
|
3873
3894
|
* * Primary Key: ID
|
|
3874
3895
|
* @extends {BaseEntity}
|
|
3875
3896
|
* @class
|
|
@@ -4670,6 +4691,7 @@ export declare class EntityFieldValueEntity extends BaseEntity {
|
|
|
4670
4691
|
* * Schema: __mj
|
|
4671
4692
|
* * Base Table: AIModel
|
|
4672
4693
|
* * Base View: vwAIModels
|
|
4694
|
+
* * @description Catalog of all AI Models configured in the system.
|
|
4673
4695
|
* * Primary Key: ID
|
|
4674
4696
|
* @extends {BaseEntity}
|
|
4675
4697
|
* @class
|
|
@@ -4774,6 +4796,7 @@ export declare class AIModelEntity extends BaseEntity {
|
|
|
4774
4796
|
* * Schema: __mj
|
|
4775
4797
|
* * Base Table: AIAction
|
|
4776
4798
|
* * Base View: vwAIActions
|
|
4799
|
+
* * @description List of all actions that are possible across all AI Models
|
|
4777
4800
|
* * Primary Key: ID
|
|
4778
4801
|
* @extends {BaseEntity}
|
|
4779
4802
|
* @class
|
|
@@ -4870,6 +4893,7 @@ export declare class AIActionEntity extends BaseEntity {
|
|
|
4870
4893
|
* * Schema: __mj
|
|
4871
4894
|
* * Base Table: AIModelAction
|
|
4872
4895
|
* * Base View: vwAIModelActions
|
|
4896
|
+
* * @description Tracks the actions supported by each AI Model
|
|
4873
4897
|
* * Primary Key: ID
|
|
4874
4898
|
* @extends {BaseEntity}
|
|
4875
4899
|
* @class
|
|
@@ -4959,6 +4983,7 @@ export declare class AIModelActionEntity extends BaseEntity {
|
|
|
4959
4983
|
* * Schema: __mj
|
|
4960
4984
|
* * Base Table: EntityAIAction
|
|
4961
4985
|
* * Base View: vwEntityAIActions
|
|
4986
|
+
* * @description Tracks the AI actions that should be invoked based on changes to records within a given entity.
|
|
4962
4987
|
* * Primary Key: ID
|
|
4963
4988
|
* @extends {BaseEntity}
|
|
4964
4989
|
* @class
|
|
@@ -5113,6 +5138,7 @@ export declare class EntityAIActionEntity extends BaseEntity {
|
|
|
5113
5138
|
* * Schema: __mj
|
|
5114
5139
|
* * Base Table: AIModelType
|
|
5115
5140
|
* * Base View: vwAIModelTypes
|
|
5141
|
+
* * @description Types of AI Models
|
|
5116
5142
|
* * Primary Key: ID
|
|
5117
5143
|
* @extends {BaseEntity}
|
|
5118
5144
|
* @class
|
|
@@ -5250,6 +5276,7 @@ export declare class QueueTypeEntity extends BaseEntity {
|
|
|
5250
5276
|
* * Schema: __mj
|
|
5251
5277
|
* * Base Table: Queue
|
|
5252
5278
|
* * Base View: vwQueues
|
|
5279
|
+
* * @description Queues can be used to async execute long running tasks
|
|
5253
5280
|
* * Primary Key: ID
|
|
5254
5281
|
* @extends {BaseEntity}
|
|
5255
5282
|
* @class
|
|
@@ -5528,6 +5555,7 @@ export declare class QueueTaskEntity extends BaseEntity {
|
|
|
5528
5555
|
* * Schema: __mj
|
|
5529
5556
|
* * Base Table: Dashboard
|
|
5530
5557
|
* * Base View: vwDashboards
|
|
5558
|
+
* * @description Dashboards are used to group resources into a single display pane for an end-user
|
|
5531
5559
|
* * Primary Key: ID
|
|
5532
5560
|
* @extends {BaseEntity}
|
|
5533
5561
|
* @class
|
|
@@ -6191,6 +6219,7 @@ export declare class ResourceTypeEntity extends BaseEntity {
|
|
|
6191
6219
|
* * Schema: __mj
|
|
6192
6220
|
* * Base Table: Tag
|
|
6193
6221
|
* * Base View: vwTags
|
|
6222
|
+
* * @description Tags are used to arbitrarily associate any record in any entity with addtional information.
|
|
6194
6223
|
* * Primary Key: ID
|
|
6195
6224
|
* @extends {BaseEntity}
|
|
6196
6225
|
* @class
|
|
@@ -6274,6 +6303,7 @@ export declare class TagEntity extends BaseEntity {
|
|
|
6274
6303
|
* * Schema: __mj
|
|
6275
6304
|
* * Base Table: TaggedItem
|
|
6276
6305
|
* * Base View: vwTaggedItems
|
|
6306
|
+
* * @description Tracks the links between any record in any entity with Tags
|
|
6277
6307
|
* * Primary Key: ID
|
|
6278
6308
|
* @extends {BaseEntity}
|
|
6279
6309
|
* @class
|
|
@@ -6348,6 +6378,7 @@ export declare class TaggedItemEntity extends BaseEntity {
|
|
|
6348
6378
|
* * Schema: __mj
|
|
6349
6379
|
* * Base Table: Workspace
|
|
6350
6380
|
* * Base View: vwWorkspaces
|
|
6381
|
+
* * @description A user can have one or more workspaces
|
|
6351
6382
|
* * Primary Key: ID
|
|
6352
6383
|
* @extends {BaseEntity}
|
|
6353
6384
|
* @class
|
|
@@ -6406,6 +6437,7 @@ export declare class WorkspaceEntity extends BaseEntity {
|
|
|
6406
6437
|
* * Schema: __mj
|
|
6407
6438
|
* * Base Table: WorkspaceItem
|
|
6408
6439
|
* * Base View: vwWorkspaceItems
|
|
6440
|
+
* * @description Tracks the resources that are active within a given worksapce
|
|
6409
6441
|
* * Primary Key: ID
|
|
6410
6442
|
* @extends {BaseEntity}
|
|
6411
6443
|
* @class
|
|
@@ -6499,6 +6531,7 @@ export declare class WorkspaceItemEntity extends BaseEntity {
|
|
|
6499
6531
|
* * Schema: __mj
|
|
6500
6532
|
* * Base Table: Dataset
|
|
6501
6533
|
* * Base View: vwDatasets
|
|
6534
|
+
* * @description Cacheable sets of data that can span one or more items
|
|
6502
6535
|
* * Primary Key: ID
|
|
6503
6536
|
* @extends {BaseEntity}
|
|
6504
6537
|
* @class
|
|
@@ -6575,6 +6608,7 @@ export declare class DatasetEntity extends BaseEntity {
|
|
|
6575
6608
|
* * Schema: __mj
|
|
6576
6609
|
* * Base Table: DatasetItem
|
|
6577
6610
|
* * Base View: vwDatasetItems
|
|
6611
|
+
* * @description A single item in a Dataset and can be sourced from multiple methods.
|
|
6578
6612
|
* * Primary Key: ID
|
|
6579
6613
|
* @extends {BaseEntity}
|
|
6580
6614
|
* @class
|
|
@@ -7021,6 +7055,7 @@ export declare class UserNotificationEntity extends BaseEntity {
|
|
|
7021
7055
|
* * Schema: __mj
|
|
7022
7056
|
* * Base Table: SchemaInfo
|
|
7023
7057
|
* * Base View: vwSchemaInfos
|
|
7058
|
+
* * @description Tracks the schemas in the system and the ID ranges that are valid for entities within each schema.
|
|
7024
7059
|
* * Primary Key: ID
|
|
7025
7060
|
* @extends {BaseEntity}
|
|
7026
7061
|
* @class
|
|
@@ -7641,6 +7676,7 @@ export declare class QueryCategoryEntity extends BaseEntity {
|
|
|
7641
7676
|
* * Schema: __mj
|
|
7642
7677
|
* * Base Table: Query
|
|
7643
7678
|
* * Base View: vwQueries
|
|
7679
|
+
* * @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.
|
|
7644
7680
|
* * Primary Key: ID
|
|
7645
7681
|
* @extends {BaseEntity}
|
|
7646
7682
|
* @class
|