@memberjunction/core-entities 0.9.106 → 0.9.112

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.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.ResourceFolderEntity = 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.QueryPermissionEntity = exports.QueryEntity = exports.QueryCategoryEntity = exports.QueryFieldEntity = exports.RecordMergeDeletionLogEntity = exports.RecordMergeLogEntity = exports.CompanyIntegrationRecordMapEntity = exports.SchemaInfoEntity = exports.ResourceFolderEntity = 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
  /**
@@ -9521,6 +9521,18 @@ let ConversationDetailEntity = class ConversationDetailEntity extends core_1.Bas
9521
9521
  this.Set('Error', value);
9522
9522
  }
9523
9523
  /**
9524
+ * * Field Name: HiddenToUser
9525
+ * * Display Name: Hidden To User
9526
+ * * SQL Data Type: bit
9527
+ * * Default Value: 0
9528
+ */
9529
+ get HiddenToUser() {
9530
+ return this.Get('HiddenToUser');
9531
+ }
9532
+ set HiddenToUser(value) {
9533
+ this.Set('HiddenToUser', value);
9534
+ }
9535
+ /**
9524
9536
  * * Field Name: CreatedAt
9525
9537
  * * Display Name: Created At
9526
9538
  * * SQL Data Type: datetime
@@ -9621,6 +9633,29 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
9621
9633
  this.Set('Name', value);
9622
9634
  }
9623
9635
  /**
9636
+ * * Field Name: Description
9637
+ * * Display Name: Description
9638
+ * * SQL Data Type: nvarchar(MAX)
9639
+ */
9640
+ get Description() {
9641
+ return this.Get('Description');
9642
+ }
9643
+ set Description(value) {
9644
+ this.Set('Description', value);
9645
+ }
9646
+ /**
9647
+ * * Field Name: Type
9648
+ * * Display Name: Type
9649
+ * * SQL Data Type: nvarchar(50)
9650
+ * * Default Value: N'Skip'
9651
+ */
9652
+ get Type() {
9653
+ return this.Get('Type');
9654
+ }
9655
+ set Type(value) {
9656
+ this.Set('Type', value);
9657
+ }
9658
+ /**
9624
9659
  * * Field Name: CreatedAt
9625
9660
  * * Display Name: Created At
9626
9661
  * * SQL Data Type: datetime
@@ -10512,4 +10547,575 @@ exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity;
10512
10547
  exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity = __decorate([
10513
10548
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Record Merge Deletion Logs')
10514
10549
  ], RecordMergeDeletionLogEntity);
10550
+ /**
10551
+ * Query Fields - strongly typed entity sub-class
10552
+ * * Schema: admin
10553
+ * * Base Table: QueryField
10554
+ * * Base View: vwQueryFields
10555
+ * * Primary Key: ID
10556
+ * @extends {BaseEntity}
10557
+ * @class
10558
+ * @public
10559
+ */
10560
+ let QueryFieldEntity = class QueryFieldEntity extends core_1.BaseEntity {
10561
+ /**
10562
+ * Loads the Query Fields record from the database
10563
+ * @param ID: Number - primary key value to load the Query Fields record.
10564
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10565
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10566
+ * @public
10567
+ * @async
10568
+ * @memberof QueryFieldEntity
10569
+ * @method
10570
+ * @override
10571
+ */
10572
+ async Load(ID, EntityRelationshipsToLoad = null) {
10573
+ const pkeyValues = [];
10574
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10575
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10576
+ }
10577
+ /**
10578
+ * Query Fields - 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.
10579
+ * @public
10580
+ * @method
10581
+ * @override
10582
+ * @memberof QueryFieldEntity
10583
+ * @throws {Error} - Delete is not allowed for Query Fields, to enable it set AllowDeleteAPI to 1 in the database.
10584
+ */
10585
+ async Delete() {
10586
+ throw new Error('Delete is not allowed for Query Fields, to enable it set AllowDeleteAPI to 1 in the database.');
10587
+ }
10588
+ /**
10589
+ * * Field Name: ID
10590
+ * * Display Name: ID
10591
+ * * SQL Data Type: int
10592
+ */
10593
+ get ID() {
10594
+ return this.Get('ID');
10595
+ }
10596
+ /**
10597
+ * * Field Name: QueryID
10598
+ * * Display Name: Query ID
10599
+ * * SQL Data Type: int
10600
+ * * Related Entity: Queries
10601
+ */
10602
+ get QueryID() {
10603
+ return this.Get('QueryID');
10604
+ }
10605
+ set QueryID(value) {
10606
+ this.Set('QueryID', value);
10607
+ }
10608
+ /**
10609
+ * * Field Name: Name
10610
+ * * Display Name: Name
10611
+ * * SQL Data Type: nvarchar(255)
10612
+ */
10613
+ get Name() {
10614
+ return this.Get('Name');
10615
+ }
10616
+ set Name(value) {
10617
+ this.Set('Name', value);
10618
+ }
10619
+ /**
10620
+ * * Field Name: Description
10621
+ * * Display Name: Description
10622
+ * * SQL Data Type: nvarchar(MAX)
10623
+ */
10624
+ get Description() {
10625
+ return this.Get('Description');
10626
+ }
10627
+ set Description(value) {
10628
+ this.Set('Description', value);
10629
+ }
10630
+ /**
10631
+ * * Field Name: Sequence
10632
+ * * Display Name: Sequence
10633
+ * * SQL Data Type: int
10634
+ */
10635
+ get Sequence() {
10636
+ return this.Get('Sequence');
10637
+ }
10638
+ set Sequence(value) {
10639
+ this.Set('Sequence', value);
10640
+ }
10641
+ /**
10642
+ * * Field Name: SourceEntityID
10643
+ * * Display Name: Source Entity ID
10644
+ * * SQL Data Type: int
10645
+ * * Related Entity: Entities
10646
+ */
10647
+ get SourceEntityID() {
10648
+ return this.Get('SourceEntityID');
10649
+ }
10650
+ set SourceEntityID(value) {
10651
+ this.Set('SourceEntityID', value);
10652
+ }
10653
+ /**
10654
+ * * Field Name: SourceFieldName
10655
+ * * Display Name: Source Field Name
10656
+ * * SQL Data Type: nvarchar(255)
10657
+ */
10658
+ get SourceFieldName() {
10659
+ return this.Get('SourceFieldName');
10660
+ }
10661
+ set SourceFieldName(value) {
10662
+ this.Set('SourceFieldName', value);
10663
+ }
10664
+ /**
10665
+ * * Field Name: IsComputed
10666
+ * * Display Name: Is Computed
10667
+ * * SQL Data Type: bit
10668
+ * * Default Value: 0
10669
+ */
10670
+ get IsComputed() {
10671
+ return this.Get('IsComputed');
10672
+ }
10673
+ set IsComputed(value) {
10674
+ this.Set('IsComputed', value);
10675
+ }
10676
+ /**
10677
+ * * Field Name: ComputationDescription
10678
+ * * Display Name: Computation Description
10679
+ * * SQL Data Type: nvarchar(MAX)
10680
+ */
10681
+ get ComputationDescription() {
10682
+ return this.Get('ComputationDescription');
10683
+ }
10684
+ set ComputationDescription(value) {
10685
+ this.Set('ComputationDescription', value);
10686
+ }
10687
+ /**
10688
+ * * Field Name: IsSummary
10689
+ * * Display Name: Is Summary
10690
+ * * SQL Data Type: bit
10691
+ * * Default Value: 0
10692
+ */
10693
+ get IsSummary() {
10694
+ return this.Get('IsSummary');
10695
+ }
10696
+ set IsSummary(value) {
10697
+ this.Set('IsSummary', value);
10698
+ }
10699
+ /**
10700
+ * * Field Name: SummaryDescription
10701
+ * * Display Name: Summary Description
10702
+ * * SQL Data Type: nvarchar(MAX)
10703
+ */
10704
+ get SummaryDescription() {
10705
+ return this.Get('SummaryDescription');
10706
+ }
10707
+ set SummaryDescription(value) {
10708
+ this.Set('SummaryDescription', value);
10709
+ }
10710
+ /**
10711
+ * * Field Name: CreatedAt
10712
+ * * Display Name: Created At
10713
+ * * SQL Data Type: datetime
10714
+ * * Default Value: getdate()
10715
+ */
10716
+ get CreatedAt() {
10717
+ return this.Get('CreatedAt');
10718
+ }
10719
+ /**
10720
+ * * Field Name: UpdatedAt
10721
+ * * Display Name: Updated At
10722
+ * * SQL Data Type: datetime
10723
+ * * Default Value: getdate()
10724
+ */
10725
+ get UpdatedAt() {
10726
+ return this.Get('UpdatedAt');
10727
+ }
10728
+ /**
10729
+ * * Field Name: Query
10730
+ * * Display Name: Query
10731
+ * * SQL Data Type: nvarchar(255)
10732
+ */
10733
+ get Query() {
10734
+ return this.Get('Query');
10735
+ }
10736
+ /**
10737
+ * * Field Name: SourceEntity
10738
+ * * Display Name: Source Entity
10739
+ * * SQL Data Type: nvarchar(255)
10740
+ */
10741
+ get SourceEntity() {
10742
+ return this.Get('SourceEntity');
10743
+ }
10744
+ };
10745
+ exports.QueryFieldEntity = QueryFieldEntity;
10746
+ exports.QueryFieldEntity = QueryFieldEntity = __decorate([
10747
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Fields')
10748
+ ], QueryFieldEntity);
10749
+ /**
10750
+ * Query Categories - strongly typed entity sub-class
10751
+ * * Schema: admin
10752
+ * * Base Table: QueryCategory
10753
+ * * Base View: vwQueryCategories
10754
+ * * Primary Key: ID
10755
+ * @extends {BaseEntity}
10756
+ * @class
10757
+ * @public
10758
+ */
10759
+ let QueryCategoryEntity = class QueryCategoryEntity extends core_1.BaseEntity {
10760
+ /**
10761
+ * Loads the Query Categories record from the database
10762
+ * @param ID: Number - primary key value to load the Query Categories record.
10763
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10764
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10765
+ * @public
10766
+ * @async
10767
+ * @memberof QueryCategoryEntity
10768
+ * @method
10769
+ * @override
10770
+ */
10771
+ async Load(ID, EntityRelationshipsToLoad = null) {
10772
+ const pkeyValues = [];
10773
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10774
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10775
+ }
10776
+ /**
10777
+ * Query Categories - 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.
10778
+ * @public
10779
+ * @method
10780
+ * @override
10781
+ * @memberof QueryCategoryEntity
10782
+ * @throws {Error} - Delete is not allowed for Query Categories, to enable it set AllowDeleteAPI to 1 in the database.
10783
+ */
10784
+ async Delete() {
10785
+ throw new Error('Delete is not allowed for Query Categories, to enable it set AllowDeleteAPI to 1 in the database.');
10786
+ }
10787
+ /**
10788
+ * * Field Name: ID
10789
+ * * Display Name: ID
10790
+ * * SQL Data Type: int
10791
+ */
10792
+ get ID() {
10793
+ return this.Get('ID');
10794
+ }
10795
+ /**
10796
+ * * Field Name: Name
10797
+ * * Display Name: Name
10798
+ * * SQL Data Type: nvarchar(50)
10799
+ */
10800
+ get Name() {
10801
+ return this.Get('Name');
10802
+ }
10803
+ set Name(value) {
10804
+ this.Set('Name', value);
10805
+ }
10806
+ /**
10807
+ * * Field Name: ParentID
10808
+ * * Display Name: Parent ID
10809
+ * * SQL Data Type: int
10810
+ * * Related Entity: Query Categories
10811
+ */
10812
+ get ParentID() {
10813
+ return this.Get('ParentID');
10814
+ }
10815
+ set ParentID(value) {
10816
+ this.Set('ParentID', value);
10817
+ }
10818
+ /**
10819
+ * * Field Name: Description
10820
+ * * Display Name: Description
10821
+ * * SQL Data Type: nvarchar(MAX)
10822
+ */
10823
+ get Description() {
10824
+ return this.Get('Description');
10825
+ }
10826
+ set Description(value) {
10827
+ this.Set('Description', value);
10828
+ }
10829
+ /**
10830
+ * * Field Name: CreatedAt
10831
+ * * Display Name: Created At
10832
+ * * SQL Data Type: datetime
10833
+ * * Default Value: getdate()
10834
+ */
10835
+ get CreatedAt() {
10836
+ return this.Get('CreatedAt');
10837
+ }
10838
+ /**
10839
+ * * Field Name: UpdatedAt
10840
+ * * Display Name: Updated At
10841
+ * * SQL Data Type: datetime
10842
+ * * Default Value: getdate()
10843
+ */
10844
+ get UpdatedAt() {
10845
+ return this.Get('UpdatedAt');
10846
+ }
10847
+ /**
10848
+ * * Field Name: Parent
10849
+ * * Display Name: Parent
10850
+ * * SQL Data Type: nvarchar(50)
10851
+ */
10852
+ get Parent() {
10853
+ return this.Get('Parent');
10854
+ }
10855
+ };
10856
+ exports.QueryCategoryEntity = QueryCategoryEntity;
10857
+ exports.QueryCategoryEntity = QueryCategoryEntity = __decorate([
10858
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Categories')
10859
+ ], QueryCategoryEntity);
10860
+ /**
10861
+ * Queries - strongly typed entity sub-class
10862
+ * * Schema: admin
10863
+ * * Base Table: Query
10864
+ * * Base View: vwQueries
10865
+ * * Primary Key: ID
10866
+ * @extends {BaseEntity}
10867
+ * @class
10868
+ * @public
10869
+ */
10870
+ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
10871
+ /**
10872
+ * Loads the Queries record from the database
10873
+ * @param ID: Number - primary key value to load the Queries record.
10874
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10875
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10876
+ * @public
10877
+ * @async
10878
+ * @memberof QueryEntity
10879
+ * @method
10880
+ * @override
10881
+ */
10882
+ async Load(ID, EntityRelationshipsToLoad = null) {
10883
+ const pkeyValues = [];
10884
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10885
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10886
+ }
10887
+ /**
10888
+ * Queries - 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.
10889
+ * @public
10890
+ * @method
10891
+ * @override
10892
+ * @memberof QueryEntity
10893
+ * @throws {Error} - Delete is not allowed for Queries, to enable it set AllowDeleteAPI to 1 in the database.
10894
+ */
10895
+ async Delete() {
10896
+ throw new Error('Delete is not allowed for Queries, to enable it set AllowDeleteAPI to 1 in the database.');
10897
+ }
10898
+ /**
10899
+ * * Field Name: ID
10900
+ * * Display Name: ID
10901
+ * * SQL Data Type: int
10902
+ */
10903
+ get ID() {
10904
+ return this.Get('ID');
10905
+ }
10906
+ /**
10907
+ * * Field Name: Name
10908
+ * * Display Name: Name
10909
+ * * SQL Data Type: nvarchar(255)
10910
+ */
10911
+ get Name() {
10912
+ return this.Get('Name');
10913
+ }
10914
+ set Name(value) {
10915
+ this.Set('Name', value);
10916
+ }
10917
+ /**
10918
+ * * Field Name: Description
10919
+ * * Display Name: Description
10920
+ * * SQL Data Type: nvarchar(MAX)
10921
+ */
10922
+ get Description() {
10923
+ return this.Get('Description');
10924
+ }
10925
+ set Description(value) {
10926
+ this.Set('Description', value);
10927
+ }
10928
+ /**
10929
+ * * Field Name: CategoryID
10930
+ * * Display Name: Category ID
10931
+ * * SQL Data Type: int
10932
+ * * Related Entity: Query Categories
10933
+ */
10934
+ get CategoryID() {
10935
+ return this.Get('CategoryID');
10936
+ }
10937
+ set CategoryID(value) {
10938
+ this.Set('CategoryID', value);
10939
+ }
10940
+ /**
10941
+ * * Field Name: SQL
10942
+ * * Display Name: SQL
10943
+ * * SQL Data Type: nvarchar(MAX)
10944
+ */
10945
+ get SQL() {
10946
+ return this.Get('SQL');
10947
+ }
10948
+ set SQL(value) {
10949
+ this.Set('SQL', value);
10950
+ }
10951
+ /**
10952
+ * * Field Name: OriginalSQL
10953
+ * * Display Name: Original SQL
10954
+ * * SQL Data Type: nvarchar(MAX)
10955
+ */
10956
+ get OriginalSQL() {
10957
+ return this.Get('OriginalSQL');
10958
+ }
10959
+ set OriginalSQL(value) {
10960
+ this.Set('OriginalSQL', value);
10961
+ }
10962
+ /**
10963
+ * * Field Name: Feedback
10964
+ * * Display Name: Feedback
10965
+ * * SQL Data Type: nvarchar(MAX)
10966
+ */
10967
+ get Feedback() {
10968
+ return this.Get('Feedback');
10969
+ }
10970
+ set Feedback(value) {
10971
+ this.Set('Feedback', value);
10972
+ }
10973
+ /**
10974
+ * * Field Name: Status
10975
+ * * Display Name: Status
10976
+ * * SQL Data Type: nvarchar(15)
10977
+ * * Default Value: N'Pending'
10978
+ */
10979
+ get Status() {
10980
+ return this.Get('Status');
10981
+ }
10982
+ set Status(value) {
10983
+ this.Set('Status', value);
10984
+ }
10985
+ /**
10986
+ * * Field Name: QualityRank
10987
+ * * Display Name: Quality Rank
10988
+ * * SQL Data Type: int
10989
+ * * Default Value: 0
10990
+ */
10991
+ get QualityRank() {
10992
+ return this.Get('QualityRank');
10993
+ }
10994
+ set QualityRank(value) {
10995
+ this.Set('QualityRank', value);
10996
+ }
10997
+ /**
10998
+ * * Field Name: CreatedAt
10999
+ * * Display Name: Created At
11000
+ * * SQL Data Type: datetime
11001
+ * * Default Value: getdate()
11002
+ */
11003
+ get CreatedAt() {
11004
+ return this.Get('CreatedAt');
11005
+ }
11006
+ /**
11007
+ * * Field Name: UpdatedAt
11008
+ * * Display Name: Updated At
11009
+ * * SQL Data Type: datetime
11010
+ * * Default Value: getdate()
11011
+ */
11012
+ get UpdatedAt() {
11013
+ return this.Get('UpdatedAt');
11014
+ }
11015
+ /**
11016
+ * * Field Name: Category
11017
+ * * Display Name: Category
11018
+ * * SQL Data Type: nvarchar(50)
11019
+ */
11020
+ get Category() {
11021
+ return this.Get('Category');
11022
+ }
11023
+ };
11024
+ exports.QueryEntity = QueryEntity;
11025
+ exports.QueryEntity = QueryEntity = __decorate([
11026
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Queries')
11027
+ ], QueryEntity);
11028
+ /**
11029
+ * Query Permissions - strongly typed entity sub-class
11030
+ * * Schema: admin
11031
+ * * Base Table: QueryPermission
11032
+ * * Base View: vwQueryPermissions
11033
+ * * Primary Key: ID
11034
+ * @extends {BaseEntity}
11035
+ * @class
11036
+ * @public
11037
+ */
11038
+ let QueryPermissionEntity = class QueryPermissionEntity extends core_1.BaseEntity {
11039
+ /**
11040
+ * Loads the Query Permissions record from the database
11041
+ * @param ID: Number - primary key value to load the Query Permissions record.
11042
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11043
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11044
+ * @public
11045
+ * @async
11046
+ * @memberof QueryPermissionEntity
11047
+ * @method
11048
+ * @override
11049
+ */
11050
+ async Load(ID, EntityRelationshipsToLoad = null) {
11051
+ const pkeyValues = [];
11052
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11053
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11054
+ }
11055
+ /**
11056
+ * Query Permissions - 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.
11057
+ * @public
11058
+ * @method
11059
+ * @override
11060
+ * @memberof QueryPermissionEntity
11061
+ * @throws {Error} - Delete is not allowed for Query Permissions, to enable it set AllowDeleteAPI to 1 in the database.
11062
+ */
11063
+ async Delete() {
11064
+ throw new Error('Delete is not allowed for Query Permissions, to enable it set AllowDeleteAPI to 1 in the database.');
11065
+ }
11066
+ /**
11067
+ * * Field Name: ID
11068
+ * * Display Name: ID
11069
+ * * SQL Data Type: int
11070
+ */
11071
+ get ID() {
11072
+ return this.Get('ID');
11073
+ }
11074
+ /**
11075
+ * * Field Name: QueryID
11076
+ * * Display Name: Query ID
11077
+ * * SQL Data Type: int
11078
+ * * Related Entity: Queries
11079
+ */
11080
+ get QueryID() {
11081
+ return this.Get('QueryID');
11082
+ }
11083
+ set QueryID(value) {
11084
+ this.Set('QueryID', value);
11085
+ }
11086
+ /**
11087
+ * * Field Name: RoleName
11088
+ * * Display Name: Role Name
11089
+ * * SQL Data Type: nvarchar(50)
11090
+ * * Related Entity: Roles
11091
+ */
11092
+ get RoleName() {
11093
+ return this.Get('RoleName');
11094
+ }
11095
+ set RoleName(value) {
11096
+ this.Set('RoleName', value);
11097
+ }
11098
+ /**
11099
+ * * Field Name: CreatedAt
11100
+ * * Display Name: Created At
11101
+ * * SQL Data Type: datetime
11102
+ * * Default Value: getdate()
11103
+ */
11104
+ get CreatedAt() {
11105
+ return this.Get('CreatedAt');
11106
+ }
11107
+ /**
11108
+ * * Field Name: UpdatedAt
11109
+ * * Display Name: Updated At
11110
+ * * SQL Data Type: datetime
11111
+ * * Default Value: getdate()
11112
+ */
11113
+ get UpdatedAt() {
11114
+ return this.Get('UpdatedAt');
11115
+ }
11116
+ };
11117
+ exports.QueryPermissionEntity = QueryPermissionEntity;
11118
+ exports.QueryPermissionEntity = QueryPermissionEntity = __decorate([
11119
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Permissions')
11120
+ ], QueryPermissionEntity);
10515
11121
  //# sourceMappingURL=entity_subclasses.js.map