@memberjunction/core-entities 1.2.0 → 1.2.1

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.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.DashboardEntity = exports.QueueTaskEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.AIModelTypeEntity = exports.EntityAIActionEntity = exports.AIModelActionEntity = exports.AIActionEntity = exports.AIModelEntity = exports.EntityFieldValueEntity = exports.AuditLogTypeEntity = exports.AuthorizationRoleEntity = exports.AuthorizationEntity = exports.AuditLogEntity = exports.RowLevelSecurityFilterEntity = exports.UserRoleEntity = exports.RecordChangeEntity = exports.WorkflowEngineEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.UserViewRunDetailEntity = exports.UserViewRunEntity = exports.ListDetailEntity = exports.ListEntity = exports.CompanyIntegrationRunAPILogEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.EntityPermissionEntity = exports.ApplicationEntityEntity = exports.ApplicationEntity = exports.ErrorLogEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunEntity = exports.UserViewEntity = exports.UserRecordLogEntity = exports.EntityRelationshipEntity = exports.UserEntity = exports.EntityEntity = exports.EntityFieldEntity = exports.CompanyIntegrationEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.SkillEntity = exports.RoleEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.UserFavoriteEntity = exports.EmployeeEntity = exports.CompanyEntity = void 0;
10
- exports.VersionInstallationEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.ReportCategoryEntity = exports.DashboardCategoryEntity = exports.UserViewCategoryEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.EntityDocumentEntity = exports.EntityRecordDocumentEntity = exports.VectorDatabaseEntity = exports.EntityDocumentRunEntity = exports.EntityDocumentTypeEntity = exports.VectorIndexEntity = exports.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.UserNotificationEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.DatasetItemEntity = exports.DatasetEntity = exports.WorkspaceItemEntity = exports.WorkspaceEntity = exports.TaggedItemEntity = exports.TagEntity = exports.ResourceTypeEntity = exports.ReportSnapshotEntity = exports.ReportEntity = exports.OutputDeliveryTypeEntity = exports.OutputFormatTypeEntity = exports.OutputTriggerTypeEntity = void 0;
10
+ exports.DuplicateRunDetailEntity = exports.DuplicateRunEntity = exports.EntitySettingEntity = exports.EntityDocumentSettingEntity = exports.DuplicateRunDetailMatchEntity = exports.VersionInstallationEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.ReportCategoryEntity = exports.DashboardCategoryEntity = exports.UserViewCategoryEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.EntityDocumentEntity = exports.EntityRecordDocumentEntity = exports.VectorDatabaseEntity = exports.EntityDocumentRunEntity = exports.EntityDocumentTypeEntity = exports.VectorIndexEntity = exports.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.UserNotificationEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.DatasetItemEntity = exports.DatasetEntity = exports.WorkspaceItemEntity = exports.WorkspaceEntity = exports.TaggedItemEntity = exports.TagEntity = exports.ResourceTypeEntity = exports.ReportSnapshotEntity = exports.ReportEntity = exports.OutputDeliveryTypeEntity = exports.OutputFormatTypeEntity = exports.OutputTriggerTypeEntity = void 0;
11
11
  const core_1 = require("@memberjunction/core");
12
12
  const global_1 = require("@memberjunction/global");
13
13
  /**
@@ -12034,7 +12034,7 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
12034
12034
  * * Field Name: Status
12035
12035
  * * Display Name: Status
12036
12036
  * * SQL Data Type: nvarchar(15)
12037
- * * Default Value: N'Pending'
12037
+ * * Default Value: N'Active'
12038
12038
  * * Value List Type: List
12039
12039
  * * Possible Values
12040
12040
  * * Active
@@ -12058,27 +12058,10 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
12058
12058
  this.Set('Template', value);
12059
12059
  }
12060
12060
  /**
12061
- * * Field Name: CreatedAt
12062
- * * Display Name: Created At
12063
- * * SQL Data Type: datetime
12064
- * * Default Value: getdate()
12065
- */
12066
- get CreatedAt() {
12067
- return this.Get('CreatedAt');
12068
- }
12069
- /**
12070
- * * Field Name: UpdatedAt
12071
- * * Display Name: Updated At
12072
- * * SQL Data Type: datetime
12073
- * * Default Value: getdate()
12074
- */
12075
- get UpdatedAt() {
12076
- return this.Get('UpdatedAt');
12077
- }
12078
- /**
12079
12061
  * * Field Name: VectorDatabaseID
12080
12062
  * * Display Name: Vector Database ID
12081
12063
  * * SQL Data Type: int
12064
+ * * Related Entity/Foreign Key: Vector Databases (vwVectorDatabases.ID)
12082
12065
  */
12083
12066
  get VectorDatabaseID() {
12084
12067
  return this.Get('VectorDatabaseID');
@@ -12090,6 +12073,7 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
12090
12073
  * * Field Name: AIModelID
12091
12074
  * * Display Name: AIModel ID
12092
12075
  * * SQL Data Type: int
12076
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
12093
12077
  */
12094
12078
  get AIModelID() {
12095
12079
  return this.Get('AIModelID');
@@ -12098,6 +12082,50 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
12098
12082
  this.Set('AIModelID', value);
12099
12083
  }
12100
12084
  /**
12085
+ * * Field Name: PotentialMatchThreshold
12086
+ * * Display Name: Potential Match Threshold
12087
+ * * SQL Data Type: numeric(12, 11)
12088
+ * * Default Value: 1
12089
+ * * Description: Value between 0 and 1 that determines what is considered a potential matching record. Value must be <= AbsoluteMatchThreshold. This is primarily used for duplicate detection but can be used for other applications as well where matching is relevant.
12090
+ */
12091
+ get PotentialMatchThreshold() {
12092
+ return this.Get('PotentialMatchThreshold');
12093
+ }
12094
+ set PotentialMatchThreshold(value) {
12095
+ this.Set('PotentialMatchThreshold', value);
12096
+ }
12097
+ /**
12098
+ * * Field Name: AbsoluteMatchThreshold
12099
+ * * Display Name: Absolute Match Threshold
12100
+ * * SQL Data Type: numeric(12, 11)
12101
+ * * Default Value: 1
12102
+ * * Description: Value between 0 and 1 that determines what is considered an absolute matching record. Value must be >= PotentialMatchThreshold. This is primarily used for duplicate detection but can be used for other applications as well where matching is relevant.
12103
+ */
12104
+ get AbsoluteMatchThreshold() {
12105
+ return this.Get('AbsoluteMatchThreshold');
12106
+ }
12107
+ set AbsoluteMatchThreshold(value) {
12108
+ this.Set('AbsoluteMatchThreshold', value);
12109
+ }
12110
+ /**
12111
+ * * Field Name: CreatedAt
12112
+ * * Display Name: Created At
12113
+ * * SQL Data Type: datetime
12114
+ * * Default Value: getdate()
12115
+ */
12116
+ get CreatedAt() {
12117
+ return this.Get('CreatedAt');
12118
+ }
12119
+ /**
12120
+ * * Field Name: UpdatedAt
12121
+ * * Display Name: Updated At
12122
+ * * SQL Data Type: datetime
12123
+ * * Default Value: getdate()
12124
+ */
12125
+ get UpdatedAt() {
12126
+ return this.Get('UpdatedAt');
12127
+ }
12128
+ /**
12101
12129
  * * Field Name: Entity
12102
12130
  * * Display Name: Entity
12103
12131
  * * SQL Data Type: nvarchar(255)
@@ -13527,4 +13555,833 @@ exports.VersionInstallationEntity = VersionInstallationEntity;
13527
13555
  exports.VersionInstallationEntity = VersionInstallationEntity = __decorate([
13528
13556
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Version Installations')
13529
13557
  ], VersionInstallationEntity);
13558
+ /**
13559
+ * Duplicate Run Detail Matches - strongly typed entity sub-class
13560
+ * * Schema: __mj
13561
+ * * Base Table: DuplicateRunDetailMatch
13562
+ * * Base View: vwDuplicateRunDetailMatches
13563
+ * * Primary Key: ID
13564
+ * @extends {BaseEntity}
13565
+ * @class
13566
+ * @public
13567
+ */
13568
+ let DuplicateRunDetailMatchEntity = class DuplicateRunDetailMatchEntity extends core_1.BaseEntity {
13569
+ /**
13570
+ * Loads the Duplicate Run Detail Matches record from the database
13571
+ * @param ID: number - primary key value to load the Duplicate Run Detail Matches record.
13572
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
13573
+ * @returns {Promise<boolean>} - true if successful, false otherwise
13574
+ * @public
13575
+ * @async
13576
+ * @memberof DuplicateRunDetailMatchEntity
13577
+ * @method
13578
+ * @override
13579
+ */
13580
+ async Load(ID, EntityRelationshipsToLoad = null) {
13581
+ const pkeyValues = [];
13582
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
13583
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
13584
+ }
13585
+ /**
13586
+ * Duplicate Run Detail Matches - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
13587
+ * @public
13588
+ * @method
13589
+ * @override
13590
+ * @memberof DuplicateRunDetailMatchEntity
13591
+ * @throws {Error} - Delete is not allowed for Duplicate Run Detail Matches, to enable it set AllowDeleteAPI to 1 in the database.
13592
+ */
13593
+ async Delete() {
13594
+ throw new Error('Delete is not allowed for Duplicate Run Detail Matches, to enable it set AllowDeleteAPI to 1 in the database.');
13595
+ }
13596
+ /**
13597
+ * * Field Name: ID
13598
+ * * Display Name: ID
13599
+ * * SQL Data Type: int
13600
+ */
13601
+ get ID() {
13602
+ return this.Get('ID');
13603
+ }
13604
+ /**
13605
+ * * Field Name: DuplicateRunDetailID
13606
+ * * Display Name: Duplicate Run Detail ID
13607
+ * * SQL Data Type: int
13608
+ * * Related Entity/Foreign Key: Duplicate Run Details (vwDuplicateRunDetails.ID)
13609
+ */
13610
+ get DuplicateRunDetailID() {
13611
+ return this.Get('DuplicateRunDetailID');
13612
+ }
13613
+ set DuplicateRunDetailID(value) {
13614
+ this.Set('DuplicateRunDetailID', value);
13615
+ }
13616
+ /**
13617
+ * * Field Name: MatchRecordID
13618
+ * * Display Name: Match Record ID
13619
+ * * SQL Data Type: nvarchar(500)
13620
+ */
13621
+ get MatchRecordID() {
13622
+ return this.Get('MatchRecordID');
13623
+ }
13624
+ set MatchRecordID(value) {
13625
+ this.Set('MatchRecordID', value);
13626
+ }
13627
+ /**
13628
+ * * Field Name: MatchProbability
13629
+ * * Display Name: Match Probability
13630
+ * * SQL Data Type: numeric(12, 11)
13631
+ * * Default Value: 0
13632
+ * * Description: Value between 0 and 1 designating the computed probability of a match
13633
+ */
13634
+ get MatchProbability() {
13635
+ return this.Get('MatchProbability');
13636
+ }
13637
+ set MatchProbability(value) {
13638
+ this.Set('MatchProbability', value);
13639
+ }
13640
+ /**
13641
+ * * Field Name: MatchedAt
13642
+ * * Display Name: Matched At
13643
+ * * SQL Data Type: datetime
13644
+ * * Default Value: getdate()
13645
+ */
13646
+ get MatchedAt() {
13647
+ return this.Get('MatchedAt');
13648
+ }
13649
+ set MatchedAt(value) {
13650
+ this.Set('MatchedAt', value);
13651
+ }
13652
+ /**
13653
+ * * Field Name: Action
13654
+ * * Display Name: Action
13655
+ * * SQL Data Type: nvarchar(20)
13656
+ * * Default Value: N'Ignore'
13657
+ */
13658
+ get Action() {
13659
+ return this.Get('Action');
13660
+ }
13661
+ set Action(value) {
13662
+ this.Set('Action', value);
13663
+ }
13664
+ /**
13665
+ * * Field Name: ApprovalStatus
13666
+ * * Display Name: Approval Status
13667
+ * * SQL Data Type: nvarchar(20)
13668
+ * * Default Value: N'Pending'
13669
+ * * Value List Type: List
13670
+ * * Possible Values
13671
+ * * Rejected
13672
+ * * Approved
13673
+ * * Pending
13674
+ */
13675
+ get ApprovalStatus() {
13676
+ return this.Get('ApprovalStatus');
13677
+ }
13678
+ set ApprovalStatus(value) {
13679
+ this.Set('ApprovalStatus', value);
13680
+ }
13681
+ /**
13682
+ * * Field Name: MergeStatus
13683
+ * * Display Name: Merge Status
13684
+ * * SQL Data Type: nvarchar(20)
13685
+ * * Default Value: N'Pending'
13686
+ * * Value List Type: List
13687
+ * * Possible Values
13688
+ * * Error
13689
+ * * Complete
13690
+ * * Pending
13691
+ */
13692
+ get MergeStatus() {
13693
+ return this.Get('MergeStatus');
13694
+ }
13695
+ set MergeStatus(value) {
13696
+ this.Set('MergeStatus', value);
13697
+ }
13698
+ /**
13699
+ * * Field Name: MergedAt
13700
+ * * Display Name: Merged At
13701
+ * * SQL Data Type: datetime
13702
+ * * Default Value: getdate()
13703
+ */
13704
+ get MergedAt() {
13705
+ return this.Get('MergedAt');
13706
+ }
13707
+ set MergedAt(value) {
13708
+ this.Set('MergedAt', value);
13709
+ }
13710
+ /**
13711
+ * * Field Name: RecordMergeLogID
13712
+ * * Display Name: Record Merge Log ID
13713
+ * * SQL Data Type: int
13714
+ * * Related Entity/Foreign Key: Record Merge Logs (vwRecordMergeLogs.ID)
13715
+ */
13716
+ get RecordMergeLogID() {
13717
+ return this.Get('RecordMergeLogID');
13718
+ }
13719
+ set RecordMergeLogID(value) {
13720
+ this.Set('RecordMergeLogID', value);
13721
+ }
13722
+ /**
13723
+ * * Field Name: CreatedAt
13724
+ * * Display Name: Created At
13725
+ * * SQL Data Type: datetime
13726
+ * * Default Value: getdate()
13727
+ */
13728
+ get CreatedAt() {
13729
+ return this.Get('CreatedAt');
13730
+ }
13731
+ /**
13732
+ * * Field Name: UpdatedAt
13733
+ * * Display Name: Updated At
13734
+ * * SQL Data Type: datetime
13735
+ * * Default Value: getdate()
13736
+ */
13737
+ get UpdatedAt() {
13738
+ return this.Get('UpdatedAt');
13739
+ }
13740
+ };
13741
+ exports.DuplicateRunDetailMatchEntity = DuplicateRunDetailMatchEntity;
13742
+ exports.DuplicateRunDetailMatchEntity = DuplicateRunDetailMatchEntity = __decorate([
13743
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Duplicate Run Detail Matches')
13744
+ ], DuplicateRunDetailMatchEntity);
13745
+ /**
13746
+ * Entity Document Settings - strongly typed entity sub-class
13747
+ * * Schema: __mj
13748
+ * * Base Table: EntityDocumentSetting
13749
+ * * Base View: vwEntityDocumentSettings
13750
+ * * Primary Key: ID
13751
+ * @extends {BaseEntity}
13752
+ * @class
13753
+ * @public
13754
+ */
13755
+ let EntityDocumentSettingEntity = class EntityDocumentSettingEntity extends core_1.BaseEntity {
13756
+ /**
13757
+ * Loads the Entity Document Settings record from the database
13758
+ * @param ID: number - primary key value to load the Entity Document Settings record.
13759
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
13760
+ * @returns {Promise<boolean>} - true if successful, false otherwise
13761
+ * @public
13762
+ * @async
13763
+ * @memberof EntityDocumentSettingEntity
13764
+ * @method
13765
+ * @override
13766
+ */
13767
+ async Load(ID, EntityRelationshipsToLoad = null) {
13768
+ const pkeyValues = [];
13769
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
13770
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
13771
+ }
13772
+ /**
13773
+ * Entity Document Settings - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
13774
+ * @public
13775
+ * @method
13776
+ * @override
13777
+ * @memberof EntityDocumentSettingEntity
13778
+ * @throws {Error} - Delete is not allowed for Entity Document Settings, to enable it set AllowDeleteAPI to 1 in the database.
13779
+ */
13780
+ async Delete() {
13781
+ throw new Error('Delete is not allowed for Entity Document Settings, to enable it set AllowDeleteAPI to 1 in the database.');
13782
+ }
13783
+ /**
13784
+ * * Field Name: ID
13785
+ * * Display Name: ID
13786
+ * * SQL Data Type: int
13787
+ */
13788
+ get ID() {
13789
+ return this.Get('ID');
13790
+ }
13791
+ /**
13792
+ * * Field Name: EntityDocumentID
13793
+ * * Display Name: Entity Document ID
13794
+ * * SQL Data Type: int
13795
+ * * Related Entity/Foreign Key: Entity Documents (vwEntityDocuments.ID)
13796
+ */
13797
+ get EntityDocumentID() {
13798
+ return this.Get('EntityDocumentID');
13799
+ }
13800
+ set EntityDocumentID(value) {
13801
+ this.Set('EntityDocumentID', value);
13802
+ }
13803
+ /**
13804
+ * * Field Name: Name
13805
+ * * Display Name: Name
13806
+ * * SQL Data Type: nvarchar(100)
13807
+ */
13808
+ get Name() {
13809
+ return this.Get('Name');
13810
+ }
13811
+ set Name(value) {
13812
+ this.Set('Name', value);
13813
+ }
13814
+ /**
13815
+ * * Field Name: Value
13816
+ * * Display Name: Value
13817
+ * * SQL Data Type: nvarchar(MAX)
13818
+ */
13819
+ get Value() {
13820
+ return this.Get('Value');
13821
+ }
13822
+ set Value(value) {
13823
+ this.Set('Value', value);
13824
+ }
13825
+ /**
13826
+ * * Field Name: Comments
13827
+ * * Display Name: Comments
13828
+ * * SQL Data Type: nvarchar(MAX)
13829
+ */
13830
+ get Comments() {
13831
+ return this.Get('Comments');
13832
+ }
13833
+ set Comments(value) {
13834
+ this.Set('Comments', value);
13835
+ }
13836
+ /**
13837
+ * * Field Name: CreatedAt
13838
+ * * Display Name: Created At
13839
+ * * SQL Data Type: datetime
13840
+ * * Default Value: getdate()
13841
+ */
13842
+ get CreatedAt() {
13843
+ return this.Get('CreatedAt');
13844
+ }
13845
+ /**
13846
+ * * Field Name: UpdatedAt
13847
+ * * Display Name: Updated At
13848
+ * * SQL Data Type: datetime
13849
+ * * Default Value: getdate()
13850
+ */
13851
+ get UpdatedAt() {
13852
+ return this.Get('UpdatedAt');
13853
+ }
13854
+ /**
13855
+ * * Field Name: EntityDocument
13856
+ * * Display Name: Entity Document
13857
+ * * SQL Data Type: nvarchar(250)
13858
+ * * Default Value: null
13859
+ */
13860
+ get EntityDocument() {
13861
+ return this.Get('EntityDocument');
13862
+ }
13863
+ };
13864
+ exports.EntityDocumentSettingEntity = EntityDocumentSettingEntity;
13865
+ exports.EntityDocumentSettingEntity = EntityDocumentSettingEntity = __decorate([
13866
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Settings')
13867
+ ], EntityDocumentSettingEntity);
13868
+ /**
13869
+ * Entity Settings - strongly typed entity sub-class
13870
+ * * Schema: __mj
13871
+ * * Base Table: EntitySetting
13872
+ * * Base View: vwEntitySettings
13873
+ * * Primary Key: ID
13874
+ * @extends {BaseEntity}
13875
+ * @class
13876
+ * @public
13877
+ */
13878
+ let EntitySettingEntity = class EntitySettingEntity extends core_1.BaseEntity {
13879
+ /**
13880
+ * Loads the Entity Settings record from the database
13881
+ * @param ID: number - primary key value to load the Entity Settings record.
13882
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
13883
+ * @returns {Promise<boolean>} - true if successful, false otherwise
13884
+ * @public
13885
+ * @async
13886
+ * @memberof EntitySettingEntity
13887
+ * @method
13888
+ * @override
13889
+ */
13890
+ async Load(ID, EntityRelationshipsToLoad = null) {
13891
+ const pkeyValues = [];
13892
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
13893
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
13894
+ }
13895
+ /**
13896
+ * Entity Settings - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
13897
+ * @public
13898
+ * @method
13899
+ * @override
13900
+ * @memberof EntitySettingEntity
13901
+ * @throws {Error} - Delete is not allowed for Entity Settings, to enable it set AllowDeleteAPI to 1 in the database.
13902
+ */
13903
+ async Delete() {
13904
+ throw new Error('Delete is not allowed for Entity Settings, to enable it set AllowDeleteAPI to 1 in the database.');
13905
+ }
13906
+ /**
13907
+ * * Field Name: ID
13908
+ * * Display Name: ID
13909
+ * * SQL Data Type: int
13910
+ */
13911
+ get ID() {
13912
+ return this.Get('ID');
13913
+ }
13914
+ /**
13915
+ * * Field Name: EntityID
13916
+ * * Display Name: Entity ID
13917
+ * * SQL Data Type: int
13918
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
13919
+ */
13920
+ get EntityID() {
13921
+ return this.Get('EntityID');
13922
+ }
13923
+ set EntityID(value) {
13924
+ this.Set('EntityID', value);
13925
+ }
13926
+ /**
13927
+ * * Field Name: Name
13928
+ * * Display Name: Name
13929
+ * * SQL Data Type: nvarchar(100)
13930
+ */
13931
+ get Name() {
13932
+ return this.Get('Name');
13933
+ }
13934
+ set Name(value) {
13935
+ this.Set('Name', value);
13936
+ }
13937
+ /**
13938
+ * * Field Name: Value
13939
+ * * Display Name: Value
13940
+ * * SQL Data Type: nvarchar(MAX)
13941
+ */
13942
+ get Value() {
13943
+ return this.Get('Value');
13944
+ }
13945
+ set Value(value) {
13946
+ this.Set('Value', value);
13947
+ }
13948
+ /**
13949
+ * * Field Name: Comments
13950
+ * * Display Name: Comments
13951
+ * * SQL Data Type: nvarchar(MAX)
13952
+ */
13953
+ get Comments() {
13954
+ return this.Get('Comments');
13955
+ }
13956
+ set Comments(value) {
13957
+ this.Set('Comments', value);
13958
+ }
13959
+ /**
13960
+ * * Field Name: CreatedAt
13961
+ * * Display Name: Created At
13962
+ * * SQL Data Type: datetime
13963
+ * * Default Value: getdate()
13964
+ */
13965
+ get CreatedAt() {
13966
+ return this.Get('CreatedAt');
13967
+ }
13968
+ /**
13969
+ * * Field Name: UpdatedAt
13970
+ * * Display Name: Updated At
13971
+ * * SQL Data Type: datetime
13972
+ * * Default Value: getdate()
13973
+ */
13974
+ get UpdatedAt() {
13975
+ return this.Get('UpdatedAt');
13976
+ }
13977
+ /**
13978
+ * * Field Name: Entity
13979
+ * * Display Name: Entity
13980
+ * * SQL Data Type: nvarchar(255)
13981
+ * * Default Value: null
13982
+ */
13983
+ get Entity() {
13984
+ return this.Get('Entity');
13985
+ }
13986
+ };
13987
+ exports.EntitySettingEntity = EntitySettingEntity;
13988
+ exports.EntitySettingEntity = EntitySettingEntity = __decorate([
13989
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Settings')
13990
+ ], EntitySettingEntity);
13991
+ /**
13992
+ * Duplicate Runs - strongly typed entity sub-class
13993
+ * * Schema: __mj
13994
+ * * Base Table: DuplicateRun
13995
+ * * Base View: vwDuplicateRuns
13996
+ * * Primary Key: ID
13997
+ * @extends {BaseEntity}
13998
+ * @class
13999
+ * @public
14000
+ */
14001
+ let DuplicateRunEntity = class DuplicateRunEntity extends core_1.BaseEntity {
14002
+ /**
14003
+ * Loads the Duplicate Runs record from the database
14004
+ * @param ID: number - primary key value to load the Duplicate Runs record.
14005
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
14006
+ * @returns {Promise<boolean>} - true if successful, false otherwise
14007
+ * @public
14008
+ * @async
14009
+ * @memberof DuplicateRunEntity
14010
+ * @method
14011
+ * @override
14012
+ */
14013
+ async Load(ID, EntityRelationshipsToLoad = null) {
14014
+ const pkeyValues = [];
14015
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
14016
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
14017
+ }
14018
+ /**
14019
+ * Duplicate Runs - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
14020
+ * @public
14021
+ * @method
14022
+ * @override
14023
+ * @memberof DuplicateRunEntity
14024
+ * @throws {Error} - Delete is not allowed for Duplicate Runs, to enable it set AllowDeleteAPI to 1 in the database.
14025
+ */
14026
+ async Delete() {
14027
+ throw new Error('Delete is not allowed for Duplicate Runs, to enable it set AllowDeleteAPI to 1 in the database.');
14028
+ }
14029
+ /**
14030
+ * * Field Name: ID
14031
+ * * Display Name: ID
14032
+ * * SQL Data Type: int
14033
+ */
14034
+ get ID() {
14035
+ return this.Get('ID');
14036
+ }
14037
+ /**
14038
+ * * Field Name: EntityID
14039
+ * * Display Name: Entity ID
14040
+ * * SQL Data Type: int
14041
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
14042
+ */
14043
+ get EntityID() {
14044
+ return this.Get('EntityID');
14045
+ }
14046
+ set EntityID(value) {
14047
+ this.Set('EntityID', value);
14048
+ }
14049
+ /**
14050
+ * * Field Name: StartedByUserID
14051
+ * * Display Name: Started By User ID
14052
+ * * SQL Data Type: int
14053
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
14054
+ */
14055
+ get StartedByUserID() {
14056
+ return this.Get('StartedByUserID');
14057
+ }
14058
+ set StartedByUserID(value) {
14059
+ this.Set('StartedByUserID', value);
14060
+ }
14061
+ /**
14062
+ * * Field Name: StartedAt
14063
+ * * Display Name: Started At
14064
+ * * SQL Data Type: datetime
14065
+ * * Default Value: getdate()
14066
+ */
14067
+ get StartedAt() {
14068
+ return this.Get('StartedAt');
14069
+ }
14070
+ set StartedAt(value) {
14071
+ this.Set('StartedAt', value);
14072
+ }
14073
+ /**
14074
+ * * Field Name: EndedAt
14075
+ * * Display Name: Ended At
14076
+ * * SQL Data Type: datetime
14077
+ */
14078
+ get EndedAt() {
14079
+ return this.Get('EndedAt');
14080
+ }
14081
+ set EndedAt(value) {
14082
+ this.Set('EndedAt', value);
14083
+ }
14084
+ /**
14085
+ * * Field Name: ApprovalStatus
14086
+ * * Display Name: Approval Status
14087
+ * * SQL Data Type: nvarchar(20)
14088
+ * * Default Value: N'Pending'
14089
+ * * Value List Type: List
14090
+ * * Possible Values
14091
+ * * Rejected
14092
+ * * Approved
14093
+ * * Pending
14094
+ */
14095
+ get ApprovalStatus() {
14096
+ return this.Get('ApprovalStatus');
14097
+ }
14098
+ set ApprovalStatus(value) {
14099
+ this.Set('ApprovalStatus', value);
14100
+ }
14101
+ /**
14102
+ * * Field Name: ApprovalComments
14103
+ * * Display Name: Approval Comments
14104
+ * * SQL Data Type: nvarchar(MAX)
14105
+ */
14106
+ get ApprovalComments() {
14107
+ return this.Get('ApprovalComments');
14108
+ }
14109
+ set ApprovalComments(value) {
14110
+ this.Set('ApprovalComments', value);
14111
+ }
14112
+ /**
14113
+ * * Field Name: ApprovedByUserID
14114
+ * * Display Name: Approved By User ID
14115
+ * * SQL Data Type: int
14116
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
14117
+ */
14118
+ get ApprovedByUserID() {
14119
+ return this.Get('ApprovedByUserID');
14120
+ }
14121
+ set ApprovedByUserID(value) {
14122
+ this.Set('ApprovedByUserID', value);
14123
+ }
14124
+ /**
14125
+ * * Field Name: ProcessingStatus
14126
+ * * Display Name: Processing Status
14127
+ * * SQL Data Type: nvarchar(20)
14128
+ * * Default Value: N'Pending'
14129
+ * * Value List Type: List
14130
+ * * Possible Values
14131
+ * * Failed
14132
+ * * Complete
14133
+ * * In Progress
14134
+ * * Pending
14135
+ */
14136
+ get ProcessingStatus() {
14137
+ return this.Get('ProcessingStatus');
14138
+ }
14139
+ set ProcessingStatus(value) {
14140
+ this.Set('ProcessingStatus', value);
14141
+ }
14142
+ /**
14143
+ * * Field Name: ProcessingErrorMessage
14144
+ * * Display Name: Processing Error Message
14145
+ * * SQL Data Type: nvarchar(MAX)
14146
+ */
14147
+ get ProcessingErrorMessage() {
14148
+ return this.Get('ProcessingErrorMessage');
14149
+ }
14150
+ set ProcessingErrorMessage(value) {
14151
+ this.Set('ProcessingErrorMessage', value);
14152
+ }
14153
+ /**
14154
+ * * Field Name: SourceListID
14155
+ * * Display Name: Source List ID
14156
+ * * SQL Data Type: int
14157
+ * * Related Entity/Foreign Key: Lists (vwLists.ID)
14158
+ */
14159
+ get SourceListID() {
14160
+ return this.Get('SourceListID');
14161
+ }
14162
+ set SourceListID(value) {
14163
+ this.Set('SourceListID', value);
14164
+ }
14165
+ /**
14166
+ * * Field Name: CreatedAt
14167
+ * * Display Name: Created At
14168
+ * * SQL Data Type: datetime
14169
+ * * Default Value: getdate()
14170
+ */
14171
+ get CreatedAt() {
14172
+ return this.Get('CreatedAt');
14173
+ }
14174
+ /**
14175
+ * * Field Name: UpdatedAt
14176
+ * * Display Name: Updated At
14177
+ * * SQL Data Type: datetime
14178
+ * * Default Value: getdate()
14179
+ */
14180
+ get UpdatedAt() {
14181
+ return this.Get('UpdatedAt');
14182
+ }
14183
+ /**
14184
+ * * Field Name: Entity
14185
+ * * Display Name: Entity
14186
+ * * SQL Data Type: nvarchar(255)
14187
+ * * Default Value: null
14188
+ */
14189
+ get Entity() {
14190
+ return this.Get('Entity');
14191
+ }
14192
+ /**
14193
+ * * Field Name: StartedByUser
14194
+ * * Display Name: Started By User
14195
+ * * SQL Data Type: nvarchar(100)
14196
+ * * Default Value: null
14197
+ */
14198
+ get StartedByUser() {
14199
+ return this.Get('StartedByUser');
14200
+ }
14201
+ /**
14202
+ * * Field Name: ApprovedByUser
14203
+ * * Display Name: Approved By User
14204
+ * * SQL Data Type: nvarchar(100)
14205
+ * * Default Value: null
14206
+ */
14207
+ get ApprovedByUser() {
14208
+ return this.Get('ApprovedByUser');
14209
+ }
14210
+ /**
14211
+ * * Field Name: SourceList
14212
+ * * Display Name: Source List
14213
+ * * SQL Data Type: nvarchar(100)
14214
+ * * Default Value: null
14215
+ */
14216
+ get SourceList() {
14217
+ return this.Get('SourceList');
14218
+ }
14219
+ };
14220
+ exports.DuplicateRunEntity = DuplicateRunEntity;
14221
+ exports.DuplicateRunEntity = DuplicateRunEntity = __decorate([
14222
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Duplicate Runs')
14223
+ ], DuplicateRunEntity);
14224
+ /**
14225
+ * Duplicate Run Details - strongly typed entity sub-class
14226
+ * * Schema: __mj
14227
+ * * Base Table: DuplicateRunDetail
14228
+ * * Base View: vwDuplicateRunDetails
14229
+ * * Primary Key: ID
14230
+ * @extends {BaseEntity}
14231
+ * @class
14232
+ * @public
14233
+ */
14234
+ let DuplicateRunDetailEntity = class DuplicateRunDetailEntity extends core_1.BaseEntity {
14235
+ /**
14236
+ * Loads the Duplicate Run Details record from the database
14237
+ * @param ID: number - primary key value to load the Duplicate Run Details record.
14238
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
14239
+ * @returns {Promise<boolean>} - true if successful, false otherwise
14240
+ * @public
14241
+ * @async
14242
+ * @memberof DuplicateRunDetailEntity
14243
+ * @method
14244
+ * @override
14245
+ */
14246
+ async Load(ID, EntityRelationshipsToLoad = null) {
14247
+ const pkeyValues = [];
14248
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
14249
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
14250
+ }
14251
+ /**
14252
+ * Duplicate Run Details - AllowDeleteAPI is set to 0 in the database. Delete is not allowed, so this method is generated to override the base class method and throw an error. To enable delete for this entity, set AllowDeleteAPI to 1 in the database.
14253
+ * @public
14254
+ * @method
14255
+ * @override
14256
+ * @memberof DuplicateRunDetailEntity
14257
+ * @throws {Error} - Delete is not allowed for Duplicate Run Details, to enable it set AllowDeleteAPI to 1 in the database.
14258
+ */
14259
+ async Delete() {
14260
+ throw new Error('Delete is not allowed for Duplicate Run Details, to enable it set AllowDeleteAPI to 1 in the database.');
14261
+ }
14262
+ /**
14263
+ * * Field Name: ID
14264
+ * * Display Name: ID
14265
+ * * SQL Data Type: int
14266
+ */
14267
+ get ID() {
14268
+ return this.Get('ID');
14269
+ }
14270
+ /**
14271
+ * * Field Name: DuplicateRunID
14272
+ * * Display Name: Duplicate Run ID
14273
+ * * SQL Data Type: int
14274
+ * * Related Entity/Foreign Key: Duplicate Runs (vwDuplicateRuns.ID)
14275
+ */
14276
+ get DuplicateRunID() {
14277
+ return this.Get('DuplicateRunID');
14278
+ }
14279
+ set DuplicateRunID(value) {
14280
+ this.Set('DuplicateRunID', value);
14281
+ }
14282
+ /**
14283
+ * * Field Name: RecordID
14284
+ * * Display Name: Record ID
14285
+ * * SQL Data Type: nvarchar(500)
14286
+ */
14287
+ get RecordID() {
14288
+ return this.Get('RecordID');
14289
+ }
14290
+ set RecordID(value) {
14291
+ this.Set('RecordID', value);
14292
+ }
14293
+ /**
14294
+ * * Field Name: MatchStatus
14295
+ * * Display Name: Match Status
14296
+ * * SQL Data Type: nvarchar(20)
14297
+ * * Default Value: N'Pending'
14298
+ * * Value List Type: List
14299
+ * * Possible Values
14300
+ * * Error
14301
+ * * Skipped
14302
+ * * Complete
14303
+ * * Pending
14304
+ */
14305
+ get MatchStatus() {
14306
+ return this.Get('MatchStatus');
14307
+ }
14308
+ set MatchStatus(value) {
14309
+ this.Set('MatchStatus', value);
14310
+ }
14311
+ /**
14312
+ * * Field Name: SkippedReason
14313
+ * * Display Name: Skipped Reason
14314
+ * * SQL Data Type: nvarchar(MAX)
14315
+ * * Description: If MatchStatus=Skipped, this field can be used to store the reason why the record was skipped
14316
+ */
14317
+ get SkippedReason() {
14318
+ return this.Get('SkippedReason');
14319
+ }
14320
+ set SkippedReason(value) {
14321
+ this.Set('SkippedReason', value);
14322
+ }
14323
+ /**
14324
+ * * Field Name: MatchErrorMessage
14325
+ * * Display Name: Match Error Message
14326
+ * * SQL Data Type: nvarchar(MAX)
14327
+ * * Description: If MatchStatus='Error' this field can be used to track the error from that phase of the process for logging/diagnostics.
14328
+ */
14329
+ get MatchErrorMessage() {
14330
+ return this.Get('MatchErrorMessage');
14331
+ }
14332
+ set MatchErrorMessage(value) {
14333
+ this.Set('MatchErrorMessage', value);
14334
+ }
14335
+ /**
14336
+ * * Field Name: MergeStatus
14337
+ * * Display Name: Merge Status
14338
+ * * SQL Data Type: nvarchar(20)
14339
+ * * Default Value: N'Not Applicable'
14340
+ * * Value List Type: List
14341
+ * * Possible Values
14342
+ * * Error
14343
+ * * Complete
14344
+ * * Pending
14345
+ * * Not Applicable
14346
+ */
14347
+ get MergeStatus() {
14348
+ return this.Get('MergeStatus');
14349
+ }
14350
+ set MergeStatus(value) {
14351
+ this.Set('MergeStatus', value);
14352
+ }
14353
+ /**
14354
+ * * Field Name: MergeErrorMessage
14355
+ * * Display Name: Merge Error Message
14356
+ * * SQL Data Type: nvarchar(MAX)
14357
+ */
14358
+ get MergeErrorMessage() {
14359
+ return this.Get('MergeErrorMessage');
14360
+ }
14361
+ set MergeErrorMessage(value) {
14362
+ this.Set('MergeErrorMessage', value);
14363
+ }
14364
+ /**
14365
+ * * Field Name: CreatedAt
14366
+ * * Display Name: Created At
14367
+ * * SQL Data Type: datetime
14368
+ * * Default Value: getdate()
14369
+ */
14370
+ get CreatedAt() {
14371
+ return this.Get('CreatedAt');
14372
+ }
14373
+ /**
14374
+ * * Field Name: UpdatedAt
14375
+ * * Display Name: Updated At
14376
+ * * SQL Data Type: datetime
14377
+ * * Default Value: getdate()
14378
+ */
14379
+ get UpdatedAt() {
14380
+ return this.Get('UpdatedAt');
14381
+ }
14382
+ };
14383
+ exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity;
14384
+ exports.DuplicateRunDetailEntity = DuplicateRunDetailEntity = __decorate([
14385
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Duplicate Run Details')
14386
+ ], DuplicateRunDetailEntity);
13530
14387
  //# sourceMappingURL=entity_subclasses.js.map