@memberjunction/core-entities 0.9.106 → 0.9.120

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.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.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,52 @@ 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
+ /**
9659
+ * * Field Name: LinkedEntityID
9660
+ * * Display Name: Linked Entity ID
9661
+ * * SQL Data Type: int
9662
+ * * Related Entity: Entities
9663
+ */
9664
+ get LinkedEntityID() {
9665
+ return this.Get('LinkedEntityID');
9666
+ }
9667
+ set LinkedEntityID(value) {
9668
+ this.Set('LinkedEntityID', value);
9669
+ }
9670
+ /**
9671
+ * * Field Name: LinkedRecordID
9672
+ * * Display Name: Linked Record ID
9673
+ * * SQL Data Type: int
9674
+ */
9675
+ get LinkedRecordID() {
9676
+ return this.Get('LinkedRecordID');
9677
+ }
9678
+ set LinkedRecordID(value) {
9679
+ this.Set('LinkedRecordID', value);
9680
+ }
9681
+ /**
9624
9682
  * * Field Name: CreatedAt
9625
9683
  * * Display Name: Created At
9626
9684
  * * SQL Data Type: datetime
@@ -9646,6 +9704,14 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
9646
9704
  get User() {
9647
9705
  return this.Get('User');
9648
9706
  }
9707
+ /**
9708
+ * * Field Name: LinkedEntity
9709
+ * * Display Name: Linked Entity
9710
+ * * SQL Data Type: nvarchar(255)
9711
+ */
9712
+ get LinkedEntity() {
9713
+ return this.Get('LinkedEntity');
9714
+ }
9649
9715
  };
9650
9716
  exports.ConversationEntity = ConversationEntity;
9651
9717
  exports.ConversationEntity = ConversationEntity = __decorate([
@@ -10512,4 +10578,1327 @@ exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity;
10512
10578
  exports.RecordMergeDeletionLogEntity = RecordMergeDeletionLogEntity = __decorate([
10513
10579
  (0, global_1.RegisterClass)(core_1.BaseEntity, 'Record Merge Deletion Logs')
10514
10580
  ], RecordMergeDeletionLogEntity);
10581
+ /**
10582
+ * Query Fields - strongly typed entity sub-class
10583
+ * * Schema: admin
10584
+ * * Base Table: QueryField
10585
+ * * Base View: vwQueryFields
10586
+ * * Primary Key: ID
10587
+ * @extends {BaseEntity}
10588
+ * @class
10589
+ * @public
10590
+ */
10591
+ let QueryFieldEntity = class QueryFieldEntity extends core_1.BaseEntity {
10592
+ /**
10593
+ * Loads the Query Fields record from the database
10594
+ * @param ID: Number - primary key value to load the Query Fields record.
10595
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10596
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10597
+ * @public
10598
+ * @async
10599
+ * @memberof QueryFieldEntity
10600
+ * @method
10601
+ * @override
10602
+ */
10603
+ async Load(ID, EntityRelationshipsToLoad = null) {
10604
+ const pkeyValues = [];
10605
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10606
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10607
+ }
10608
+ /**
10609
+ * 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.
10610
+ * @public
10611
+ * @method
10612
+ * @override
10613
+ * @memberof QueryFieldEntity
10614
+ * @throws {Error} - Delete is not allowed for Query Fields, to enable it set AllowDeleteAPI to 1 in the database.
10615
+ */
10616
+ async Delete() {
10617
+ throw new Error('Delete is not allowed for Query Fields, to enable it set AllowDeleteAPI to 1 in the database.');
10618
+ }
10619
+ /**
10620
+ * * Field Name: ID
10621
+ * * Display Name: ID
10622
+ * * SQL Data Type: int
10623
+ */
10624
+ get ID() {
10625
+ return this.Get('ID');
10626
+ }
10627
+ /**
10628
+ * * Field Name: QueryID
10629
+ * * Display Name: Query ID
10630
+ * * SQL Data Type: int
10631
+ * * Related Entity: Queries
10632
+ */
10633
+ get QueryID() {
10634
+ return this.Get('QueryID');
10635
+ }
10636
+ set QueryID(value) {
10637
+ this.Set('QueryID', value);
10638
+ }
10639
+ /**
10640
+ * * Field Name: Name
10641
+ * * Display Name: Name
10642
+ * * SQL Data Type: nvarchar(255)
10643
+ */
10644
+ get Name() {
10645
+ return this.Get('Name');
10646
+ }
10647
+ set Name(value) {
10648
+ this.Set('Name', value);
10649
+ }
10650
+ /**
10651
+ * * Field Name: Description
10652
+ * * Display Name: Description
10653
+ * * SQL Data Type: nvarchar(MAX)
10654
+ */
10655
+ get Description() {
10656
+ return this.Get('Description');
10657
+ }
10658
+ set Description(value) {
10659
+ this.Set('Description', value);
10660
+ }
10661
+ /**
10662
+ * * Field Name: Sequence
10663
+ * * Display Name: Sequence
10664
+ * * SQL Data Type: int
10665
+ */
10666
+ get Sequence() {
10667
+ return this.Get('Sequence');
10668
+ }
10669
+ set Sequence(value) {
10670
+ this.Set('Sequence', value);
10671
+ }
10672
+ /**
10673
+ * * Field Name: SourceEntityID
10674
+ * * Display Name: Source Entity ID
10675
+ * * SQL Data Type: int
10676
+ * * Related Entity: Entities
10677
+ */
10678
+ get SourceEntityID() {
10679
+ return this.Get('SourceEntityID');
10680
+ }
10681
+ set SourceEntityID(value) {
10682
+ this.Set('SourceEntityID', value);
10683
+ }
10684
+ /**
10685
+ * * Field Name: SourceFieldName
10686
+ * * Display Name: Source Field Name
10687
+ * * SQL Data Type: nvarchar(255)
10688
+ */
10689
+ get SourceFieldName() {
10690
+ return this.Get('SourceFieldName');
10691
+ }
10692
+ set SourceFieldName(value) {
10693
+ this.Set('SourceFieldName', value);
10694
+ }
10695
+ /**
10696
+ * * Field Name: IsComputed
10697
+ * * Display Name: Is Computed
10698
+ * * SQL Data Type: bit
10699
+ * * Default Value: 0
10700
+ */
10701
+ get IsComputed() {
10702
+ return this.Get('IsComputed');
10703
+ }
10704
+ set IsComputed(value) {
10705
+ this.Set('IsComputed', value);
10706
+ }
10707
+ /**
10708
+ * * Field Name: ComputationDescription
10709
+ * * Display Name: Computation Description
10710
+ * * SQL Data Type: nvarchar(MAX)
10711
+ */
10712
+ get ComputationDescription() {
10713
+ return this.Get('ComputationDescription');
10714
+ }
10715
+ set ComputationDescription(value) {
10716
+ this.Set('ComputationDescription', value);
10717
+ }
10718
+ /**
10719
+ * * Field Name: IsSummary
10720
+ * * Display Name: Is Summary
10721
+ * * SQL Data Type: bit
10722
+ * * Default Value: 0
10723
+ */
10724
+ get IsSummary() {
10725
+ return this.Get('IsSummary');
10726
+ }
10727
+ set IsSummary(value) {
10728
+ this.Set('IsSummary', value);
10729
+ }
10730
+ /**
10731
+ * * Field Name: SummaryDescription
10732
+ * * Display Name: Summary Description
10733
+ * * SQL Data Type: nvarchar(MAX)
10734
+ */
10735
+ get SummaryDescription() {
10736
+ return this.Get('SummaryDescription');
10737
+ }
10738
+ set SummaryDescription(value) {
10739
+ this.Set('SummaryDescription', value);
10740
+ }
10741
+ /**
10742
+ * * Field Name: CreatedAt
10743
+ * * Display Name: Created At
10744
+ * * SQL Data Type: datetime
10745
+ * * Default Value: getdate()
10746
+ */
10747
+ get CreatedAt() {
10748
+ return this.Get('CreatedAt');
10749
+ }
10750
+ /**
10751
+ * * Field Name: UpdatedAt
10752
+ * * Display Name: Updated At
10753
+ * * SQL Data Type: datetime
10754
+ * * Default Value: getdate()
10755
+ */
10756
+ get UpdatedAt() {
10757
+ return this.Get('UpdatedAt');
10758
+ }
10759
+ /**
10760
+ * * Field Name: Query
10761
+ * * Display Name: Query
10762
+ * * SQL Data Type: nvarchar(255)
10763
+ */
10764
+ get Query() {
10765
+ return this.Get('Query');
10766
+ }
10767
+ /**
10768
+ * * Field Name: SourceEntity
10769
+ * * Display Name: Source Entity
10770
+ * * SQL Data Type: nvarchar(255)
10771
+ */
10772
+ get SourceEntity() {
10773
+ return this.Get('SourceEntity');
10774
+ }
10775
+ };
10776
+ exports.QueryFieldEntity = QueryFieldEntity;
10777
+ exports.QueryFieldEntity = QueryFieldEntity = __decorate([
10778
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Fields')
10779
+ ], QueryFieldEntity);
10780
+ /**
10781
+ * Query Categories - strongly typed entity sub-class
10782
+ * * Schema: admin
10783
+ * * Base Table: QueryCategory
10784
+ * * Base View: vwQueryCategories
10785
+ * * Primary Key: ID
10786
+ * @extends {BaseEntity}
10787
+ * @class
10788
+ * @public
10789
+ */
10790
+ let QueryCategoryEntity = class QueryCategoryEntity extends core_1.BaseEntity {
10791
+ /**
10792
+ * Loads the Query Categories record from the database
10793
+ * @param ID: Number - primary key value to load the Query Categories record.
10794
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10795
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10796
+ * @public
10797
+ * @async
10798
+ * @memberof QueryCategoryEntity
10799
+ * @method
10800
+ * @override
10801
+ */
10802
+ async Load(ID, EntityRelationshipsToLoad = null) {
10803
+ const pkeyValues = [];
10804
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10805
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10806
+ }
10807
+ /**
10808
+ * 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.
10809
+ * @public
10810
+ * @method
10811
+ * @override
10812
+ * @memberof QueryCategoryEntity
10813
+ * @throws {Error} - Delete is not allowed for Query Categories, to enable it set AllowDeleteAPI to 1 in the database.
10814
+ */
10815
+ async Delete() {
10816
+ throw new Error('Delete is not allowed for Query Categories, to enable it set AllowDeleteAPI to 1 in the database.');
10817
+ }
10818
+ /**
10819
+ * * Field Name: ID
10820
+ * * Display Name: ID
10821
+ * * SQL Data Type: int
10822
+ */
10823
+ get ID() {
10824
+ return this.Get('ID');
10825
+ }
10826
+ /**
10827
+ * * Field Name: Name
10828
+ * * Display Name: Name
10829
+ * * SQL Data Type: nvarchar(50)
10830
+ */
10831
+ get Name() {
10832
+ return this.Get('Name');
10833
+ }
10834
+ set Name(value) {
10835
+ this.Set('Name', value);
10836
+ }
10837
+ /**
10838
+ * * Field Name: ParentID
10839
+ * * Display Name: Parent ID
10840
+ * * SQL Data Type: int
10841
+ * * Related Entity: Query Categories
10842
+ */
10843
+ get ParentID() {
10844
+ return this.Get('ParentID');
10845
+ }
10846
+ set ParentID(value) {
10847
+ this.Set('ParentID', value);
10848
+ }
10849
+ /**
10850
+ * * Field Name: Description
10851
+ * * Display Name: Description
10852
+ * * SQL Data Type: nvarchar(MAX)
10853
+ */
10854
+ get Description() {
10855
+ return this.Get('Description');
10856
+ }
10857
+ set Description(value) {
10858
+ this.Set('Description', value);
10859
+ }
10860
+ /**
10861
+ * * Field Name: CreatedAt
10862
+ * * Display Name: Created At
10863
+ * * SQL Data Type: datetime
10864
+ * * Default Value: getdate()
10865
+ */
10866
+ get CreatedAt() {
10867
+ return this.Get('CreatedAt');
10868
+ }
10869
+ /**
10870
+ * * Field Name: UpdatedAt
10871
+ * * Display Name: Updated At
10872
+ * * SQL Data Type: datetime
10873
+ * * Default Value: getdate()
10874
+ */
10875
+ get UpdatedAt() {
10876
+ return this.Get('UpdatedAt');
10877
+ }
10878
+ /**
10879
+ * * Field Name: Parent
10880
+ * * Display Name: Parent
10881
+ * * SQL Data Type: nvarchar(50)
10882
+ */
10883
+ get Parent() {
10884
+ return this.Get('Parent');
10885
+ }
10886
+ };
10887
+ exports.QueryCategoryEntity = QueryCategoryEntity;
10888
+ exports.QueryCategoryEntity = QueryCategoryEntity = __decorate([
10889
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Categories')
10890
+ ], QueryCategoryEntity);
10891
+ /**
10892
+ * Queries - strongly typed entity sub-class
10893
+ * * Schema: admin
10894
+ * * Base Table: Query
10895
+ * * Base View: vwQueries
10896
+ * * Primary Key: ID
10897
+ * @extends {BaseEntity}
10898
+ * @class
10899
+ * @public
10900
+ */
10901
+ let QueryEntity = class QueryEntity extends core_1.BaseEntity {
10902
+ /**
10903
+ * Loads the Queries record from the database
10904
+ * @param ID: Number - primary key value to load the Queries record.
10905
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
10906
+ * @returns {Promise<boolean>} - true if successful, false otherwise
10907
+ * @public
10908
+ * @async
10909
+ * @memberof QueryEntity
10910
+ * @method
10911
+ * @override
10912
+ */
10913
+ async Load(ID, EntityRelationshipsToLoad = null) {
10914
+ const pkeyValues = [];
10915
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
10916
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
10917
+ }
10918
+ /**
10919
+ * 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.
10920
+ * @public
10921
+ * @method
10922
+ * @override
10923
+ * @memberof QueryEntity
10924
+ * @throws {Error} - Delete is not allowed for Queries, to enable it set AllowDeleteAPI to 1 in the database.
10925
+ */
10926
+ async Delete() {
10927
+ throw new Error('Delete is not allowed for Queries, to enable it set AllowDeleteAPI to 1 in the database.');
10928
+ }
10929
+ /**
10930
+ * * Field Name: ID
10931
+ * * Display Name: ID
10932
+ * * SQL Data Type: int
10933
+ */
10934
+ get ID() {
10935
+ return this.Get('ID');
10936
+ }
10937
+ /**
10938
+ * * Field Name: Name
10939
+ * * Display Name: Name
10940
+ * * SQL Data Type: nvarchar(255)
10941
+ */
10942
+ get Name() {
10943
+ return this.Get('Name');
10944
+ }
10945
+ set Name(value) {
10946
+ this.Set('Name', value);
10947
+ }
10948
+ /**
10949
+ * * Field Name: Description
10950
+ * * Display Name: Description
10951
+ * * SQL Data Type: nvarchar(MAX)
10952
+ */
10953
+ get Description() {
10954
+ return this.Get('Description');
10955
+ }
10956
+ set Description(value) {
10957
+ this.Set('Description', value);
10958
+ }
10959
+ /**
10960
+ * * Field Name: CategoryID
10961
+ * * Display Name: Category ID
10962
+ * * SQL Data Type: int
10963
+ * * Related Entity: Query Categories
10964
+ */
10965
+ get CategoryID() {
10966
+ return this.Get('CategoryID');
10967
+ }
10968
+ set CategoryID(value) {
10969
+ this.Set('CategoryID', value);
10970
+ }
10971
+ /**
10972
+ * * Field Name: SQL
10973
+ * * Display Name: SQL
10974
+ * * SQL Data Type: nvarchar(MAX)
10975
+ */
10976
+ get SQL() {
10977
+ return this.Get('SQL');
10978
+ }
10979
+ set SQL(value) {
10980
+ this.Set('SQL', value);
10981
+ }
10982
+ /**
10983
+ * * Field Name: OriginalSQL
10984
+ * * Display Name: Original SQL
10985
+ * * SQL Data Type: nvarchar(MAX)
10986
+ */
10987
+ get OriginalSQL() {
10988
+ return this.Get('OriginalSQL');
10989
+ }
10990
+ set OriginalSQL(value) {
10991
+ this.Set('OriginalSQL', value);
10992
+ }
10993
+ /**
10994
+ * * Field Name: Feedback
10995
+ * * Display Name: Feedback
10996
+ * * SQL Data Type: nvarchar(MAX)
10997
+ */
10998
+ get Feedback() {
10999
+ return this.Get('Feedback');
11000
+ }
11001
+ set Feedback(value) {
11002
+ this.Set('Feedback', value);
11003
+ }
11004
+ /**
11005
+ * * Field Name: Status
11006
+ * * Display Name: Status
11007
+ * * SQL Data Type: nvarchar(15)
11008
+ * * Default Value: N'Pending'
11009
+ */
11010
+ get Status() {
11011
+ return this.Get('Status');
11012
+ }
11013
+ set Status(value) {
11014
+ this.Set('Status', value);
11015
+ }
11016
+ /**
11017
+ * * Field Name: QualityRank
11018
+ * * Display Name: Quality Rank
11019
+ * * SQL Data Type: int
11020
+ * * Default Value: 0
11021
+ */
11022
+ get QualityRank() {
11023
+ return this.Get('QualityRank');
11024
+ }
11025
+ set QualityRank(value) {
11026
+ this.Set('QualityRank', value);
11027
+ }
11028
+ /**
11029
+ * * Field Name: CreatedAt
11030
+ * * Display Name: Created At
11031
+ * * SQL Data Type: datetime
11032
+ * * Default Value: getdate()
11033
+ */
11034
+ get CreatedAt() {
11035
+ return this.Get('CreatedAt');
11036
+ }
11037
+ /**
11038
+ * * Field Name: UpdatedAt
11039
+ * * Display Name: Updated At
11040
+ * * SQL Data Type: datetime
11041
+ * * Default Value: getdate()
11042
+ */
11043
+ get UpdatedAt() {
11044
+ return this.Get('UpdatedAt');
11045
+ }
11046
+ /**
11047
+ * * Field Name: Category
11048
+ * * Display Name: Category
11049
+ * * SQL Data Type: nvarchar(50)
11050
+ */
11051
+ get Category() {
11052
+ return this.Get('Category');
11053
+ }
11054
+ };
11055
+ exports.QueryEntity = QueryEntity;
11056
+ exports.QueryEntity = QueryEntity = __decorate([
11057
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Queries')
11058
+ ], QueryEntity);
11059
+ /**
11060
+ * Query Permissions - strongly typed entity sub-class
11061
+ * * Schema: admin
11062
+ * * Base Table: QueryPermission
11063
+ * * Base View: vwQueryPermissions
11064
+ * * Primary Key: ID
11065
+ * @extends {BaseEntity}
11066
+ * @class
11067
+ * @public
11068
+ */
11069
+ let QueryPermissionEntity = class QueryPermissionEntity extends core_1.BaseEntity {
11070
+ /**
11071
+ * Loads the Query Permissions record from the database
11072
+ * @param ID: Number - primary key value to load the Query Permissions record.
11073
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11074
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11075
+ * @public
11076
+ * @async
11077
+ * @memberof QueryPermissionEntity
11078
+ * @method
11079
+ * @override
11080
+ */
11081
+ async Load(ID, EntityRelationshipsToLoad = null) {
11082
+ const pkeyValues = [];
11083
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11084
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11085
+ }
11086
+ /**
11087
+ * 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.
11088
+ * @public
11089
+ * @method
11090
+ * @override
11091
+ * @memberof QueryPermissionEntity
11092
+ * @throws {Error} - Delete is not allowed for Query Permissions, to enable it set AllowDeleteAPI to 1 in the database.
11093
+ */
11094
+ async Delete() {
11095
+ throw new Error('Delete is not allowed for Query Permissions, to enable it set AllowDeleteAPI to 1 in the database.');
11096
+ }
11097
+ /**
11098
+ * * Field Name: ID
11099
+ * * Display Name: ID
11100
+ * * SQL Data Type: int
11101
+ */
11102
+ get ID() {
11103
+ return this.Get('ID');
11104
+ }
11105
+ /**
11106
+ * * Field Name: QueryID
11107
+ * * Display Name: Query ID
11108
+ * * SQL Data Type: int
11109
+ * * Related Entity: Queries
11110
+ */
11111
+ get QueryID() {
11112
+ return this.Get('QueryID');
11113
+ }
11114
+ set QueryID(value) {
11115
+ this.Set('QueryID', value);
11116
+ }
11117
+ /**
11118
+ * * Field Name: RoleName
11119
+ * * Display Name: Role Name
11120
+ * * SQL Data Type: nvarchar(50)
11121
+ * * Related Entity: Roles
11122
+ */
11123
+ get RoleName() {
11124
+ return this.Get('RoleName');
11125
+ }
11126
+ set RoleName(value) {
11127
+ this.Set('RoleName', value);
11128
+ }
11129
+ /**
11130
+ * * Field Name: CreatedAt
11131
+ * * Display Name: Created At
11132
+ * * SQL Data Type: datetime
11133
+ * * Default Value: getdate()
11134
+ */
11135
+ get CreatedAt() {
11136
+ return this.Get('CreatedAt');
11137
+ }
11138
+ /**
11139
+ * * Field Name: UpdatedAt
11140
+ * * Display Name: Updated At
11141
+ * * SQL Data Type: datetime
11142
+ * * Default Value: getdate()
11143
+ */
11144
+ get UpdatedAt() {
11145
+ return this.Get('UpdatedAt');
11146
+ }
11147
+ };
11148
+ exports.QueryPermissionEntity = QueryPermissionEntity;
11149
+ exports.QueryPermissionEntity = QueryPermissionEntity = __decorate([
11150
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Query Permissions')
11151
+ ], QueryPermissionEntity);
11152
+ /**
11153
+ * Vector Indexes - strongly typed entity sub-class
11154
+ * * Schema: admin
11155
+ * * Base Table: VectorIndex
11156
+ * * Base View: vwVectorIndexes
11157
+ * * Primary Key: ID
11158
+ * @extends {BaseEntity}
11159
+ * @class
11160
+ * @public
11161
+ */
11162
+ let VectorIndexEntity = class VectorIndexEntity extends core_1.BaseEntity {
11163
+ /**
11164
+ * Loads the Vector Indexes record from the database
11165
+ * @param ID: Number - primary key value to load the Vector Indexes record.
11166
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11167
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11168
+ * @public
11169
+ * @async
11170
+ * @memberof VectorIndexEntity
11171
+ * @method
11172
+ * @override
11173
+ */
11174
+ async Load(ID, EntityRelationshipsToLoad = null) {
11175
+ const pkeyValues = [];
11176
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11177
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11178
+ }
11179
+ /**
11180
+ * Vector Indexes - 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.
11181
+ * @public
11182
+ * @method
11183
+ * @override
11184
+ * @memberof VectorIndexEntity
11185
+ * @throws {Error} - Delete is not allowed for Vector Indexes, to enable it set AllowDeleteAPI to 1 in the database.
11186
+ */
11187
+ async Delete() {
11188
+ throw new Error('Delete is not allowed for Vector Indexes, to enable it set AllowDeleteAPI to 1 in the database.');
11189
+ }
11190
+ /**
11191
+ * * Field Name: ID
11192
+ * * Display Name: ID
11193
+ * * SQL Data Type: int
11194
+ */
11195
+ get ID() {
11196
+ return this.Get('ID');
11197
+ }
11198
+ /**
11199
+ * * Field Name: Name
11200
+ * * Display Name: Name
11201
+ * * SQL Data Type: nvarchar(255)
11202
+ */
11203
+ get Name() {
11204
+ return this.Get('Name');
11205
+ }
11206
+ set Name(value) {
11207
+ this.Set('Name', value);
11208
+ }
11209
+ /**
11210
+ * * Field Name: Description
11211
+ * * Display Name: Description
11212
+ * * SQL Data Type: nvarchar(MAX)
11213
+ */
11214
+ get Description() {
11215
+ return this.Get('Description');
11216
+ }
11217
+ set Description(value) {
11218
+ this.Set('Description', value);
11219
+ }
11220
+ /**
11221
+ * * Field Name: VectorDatabaseID
11222
+ * * Display Name: Vector Database ID
11223
+ * * SQL Data Type: int
11224
+ * * Related Entity: Vector Databases
11225
+ */
11226
+ get VectorDatabaseID() {
11227
+ return this.Get('VectorDatabaseID');
11228
+ }
11229
+ set VectorDatabaseID(value) {
11230
+ this.Set('VectorDatabaseID', value);
11231
+ }
11232
+ /**
11233
+ * * Field Name: EmbeddingModelID
11234
+ * * Display Name: Embedding Model ID
11235
+ * * SQL Data Type: int
11236
+ * * Related Entity: AI Models
11237
+ */
11238
+ get EmbeddingModelID() {
11239
+ return this.Get('EmbeddingModelID');
11240
+ }
11241
+ set EmbeddingModelID(value) {
11242
+ this.Set('EmbeddingModelID', value);
11243
+ }
11244
+ /**
11245
+ * * Field Name: CreatedAt
11246
+ * * Display Name: Created At
11247
+ * * SQL Data Type: datetime
11248
+ * * Default Value: getdate()
11249
+ */
11250
+ get CreatedAt() {
11251
+ return this.Get('CreatedAt');
11252
+ }
11253
+ /**
11254
+ * * Field Name: UpdatedAt
11255
+ * * Display Name: Updated At
11256
+ * * SQL Data Type: datetime
11257
+ * * Default Value: getdate()
11258
+ */
11259
+ get UpdatedAt() {
11260
+ return this.Get('UpdatedAt');
11261
+ }
11262
+ /**
11263
+ * * Field Name: VectorDatabase
11264
+ * * Display Name: Vector Database
11265
+ * * SQL Data Type: nvarchar(100)
11266
+ * * Default Value: null
11267
+ */
11268
+ get VectorDatabase() {
11269
+ return this.Get('VectorDatabase');
11270
+ }
11271
+ /**
11272
+ * * Field Name: EmbeddingModel
11273
+ * * Display Name: Embedding Model
11274
+ * * SQL Data Type: nvarchar(50)
11275
+ * * Default Value: null
11276
+ */
11277
+ get EmbeddingModel() {
11278
+ return this.Get('EmbeddingModel');
11279
+ }
11280
+ };
11281
+ exports.VectorIndexEntity = VectorIndexEntity;
11282
+ exports.VectorIndexEntity = VectorIndexEntity = __decorate([
11283
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Indexes')
11284
+ ], VectorIndexEntity);
11285
+ /**
11286
+ * Entity Document Types - strongly typed entity sub-class
11287
+ * * Schema: admin
11288
+ * * Base Table: EntityDocumentType
11289
+ * * Base View: vwEntityDocumentTypes
11290
+ * * Primary Key: ID
11291
+ * @extends {BaseEntity}
11292
+ * @class
11293
+ * @public
11294
+ */
11295
+ let EntityDocumentTypeEntity = class EntityDocumentTypeEntity extends core_1.BaseEntity {
11296
+ /**
11297
+ * Loads the Entity Document Types record from the database
11298
+ * @param ID: Number - primary key value to load the Entity Document Types record.
11299
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11300
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11301
+ * @public
11302
+ * @async
11303
+ * @memberof EntityDocumentTypeEntity
11304
+ * @method
11305
+ * @override
11306
+ */
11307
+ async Load(ID, EntityRelationshipsToLoad = null) {
11308
+ const pkeyValues = [];
11309
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11310
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11311
+ }
11312
+ /**
11313
+ * Entity Document Types - 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.
11314
+ * @public
11315
+ * @method
11316
+ * @override
11317
+ * @memberof EntityDocumentTypeEntity
11318
+ * @throws {Error} - Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.
11319
+ */
11320
+ async Delete() {
11321
+ throw new Error('Delete is not allowed for Entity Document Types, to enable it set AllowDeleteAPI to 1 in the database.');
11322
+ }
11323
+ /**
11324
+ * * Field Name: ID
11325
+ * * Display Name: ID
11326
+ * * SQL Data Type: int
11327
+ */
11328
+ get ID() {
11329
+ return this.Get('ID');
11330
+ }
11331
+ /**
11332
+ * * Field Name: Name
11333
+ * * Display Name: Name
11334
+ * * SQL Data Type: nvarchar(100)
11335
+ */
11336
+ get Name() {
11337
+ return this.Get('Name');
11338
+ }
11339
+ set Name(value) {
11340
+ this.Set('Name', value);
11341
+ }
11342
+ /**
11343
+ * * Field Name: Description
11344
+ * * Display Name: Description
11345
+ * * SQL Data Type: nvarchar(MAX)
11346
+ */
11347
+ get Description() {
11348
+ return this.Get('Description');
11349
+ }
11350
+ set Description(value) {
11351
+ this.Set('Description', value);
11352
+ }
11353
+ /**
11354
+ * * Field Name: CreatedAt
11355
+ * * Display Name: Created At
11356
+ * * SQL Data Type: datetime
11357
+ * * Default Value: getdate()
11358
+ */
11359
+ get CreatedAt() {
11360
+ return this.Get('CreatedAt');
11361
+ }
11362
+ /**
11363
+ * * Field Name: UpdatedAt
11364
+ * * Display Name: Updated At
11365
+ * * SQL Data Type: datetime
11366
+ * * Default Value: getdate()
11367
+ */
11368
+ get UpdatedAt() {
11369
+ return this.Get('UpdatedAt');
11370
+ }
11371
+ };
11372
+ exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity;
11373
+ exports.EntityDocumentTypeEntity = EntityDocumentTypeEntity = __decorate([
11374
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Types')
11375
+ ], EntityDocumentTypeEntity);
11376
+ /**
11377
+ * Entity Document Runs - strongly typed entity sub-class
11378
+ * * Schema: admin
11379
+ * * Base Table: EntityDocumentRun
11380
+ * * Base View: vwEntityDocumentRuns
11381
+ * * Primary Key: ID
11382
+ * @extends {BaseEntity}
11383
+ * @class
11384
+ * @public
11385
+ */
11386
+ let EntityDocumentRunEntity = class EntityDocumentRunEntity extends core_1.BaseEntity {
11387
+ /**
11388
+ * Loads the Entity Document Runs record from the database
11389
+ * @param ID: Number - primary key value to load the Entity Document Runs record.
11390
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11391
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11392
+ * @public
11393
+ * @async
11394
+ * @memberof EntityDocumentRunEntity
11395
+ * @method
11396
+ * @override
11397
+ */
11398
+ async Load(ID, EntityRelationshipsToLoad = null) {
11399
+ const pkeyValues = [];
11400
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11401
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11402
+ }
11403
+ /**
11404
+ * Entity Document 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.
11405
+ * @public
11406
+ * @method
11407
+ * @override
11408
+ * @memberof EntityDocumentRunEntity
11409
+ * @throws {Error} - Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.
11410
+ */
11411
+ async Delete() {
11412
+ throw new Error('Delete is not allowed for Entity Document Runs, to enable it set AllowDeleteAPI to 1 in the database.');
11413
+ }
11414
+ /**
11415
+ * * Field Name: ID
11416
+ * * Display Name: ID
11417
+ * * SQL Data Type: int
11418
+ */
11419
+ get ID() {
11420
+ return this.Get('ID');
11421
+ }
11422
+ /**
11423
+ * * Field Name: EntityDocumentID
11424
+ * * Display Name: Entity Document ID
11425
+ * * SQL Data Type: int
11426
+ * * Related Entity: Entity Documents
11427
+ */
11428
+ get EntityDocumentID() {
11429
+ return this.Get('EntityDocumentID');
11430
+ }
11431
+ set EntityDocumentID(value) {
11432
+ this.Set('EntityDocumentID', value);
11433
+ }
11434
+ /**
11435
+ * * Field Name: StartedAt
11436
+ * * Display Name: Started At
11437
+ * * SQL Data Type: datetime
11438
+ */
11439
+ get StartedAt() {
11440
+ return this.Get('StartedAt');
11441
+ }
11442
+ set StartedAt(value) {
11443
+ this.Set('StartedAt', value);
11444
+ }
11445
+ /**
11446
+ * * Field Name: EndedAt
11447
+ * * Display Name: Ended At
11448
+ * * SQL Data Type: datetime
11449
+ */
11450
+ get EndedAt() {
11451
+ return this.Get('EndedAt');
11452
+ }
11453
+ set EndedAt(value) {
11454
+ this.Set('EndedAt', value);
11455
+ }
11456
+ /**
11457
+ * * Field Name: Status
11458
+ * * Display Name: Status
11459
+ * * SQL Data Type: nvarchar(15)
11460
+ * * Default Value: N'Pending'
11461
+ */
11462
+ get Status() {
11463
+ return this.Get('Status');
11464
+ }
11465
+ set Status(value) {
11466
+ this.Set('Status', value);
11467
+ }
11468
+ /**
11469
+ * * Field Name: CreatedAt
11470
+ * * Display Name: Created At
11471
+ * * SQL Data Type: datetime
11472
+ * * Default Value: getdate()
11473
+ */
11474
+ get CreatedAt() {
11475
+ return this.Get('CreatedAt');
11476
+ }
11477
+ /**
11478
+ * * Field Name: UpdatedAt
11479
+ * * Display Name: Updated At
11480
+ * * SQL Data Type: datetime
11481
+ * * Default Value: getdate()
11482
+ */
11483
+ get UpdatedAt() {
11484
+ return this.Get('UpdatedAt');
11485
+ }
11486
+ /**
11487
+ * * Field Name: EntityDocument
11488
+ * * Display Name: Entity Document
11489
+ * * SQL Data Type: nvarchar(250)
11490
+ * * Default Value: null
11491
+ */
11492
+ get EntityDocument() {
11493
+ return this.Get('EntityDocument');
11494
+ }
11495
+ };
11496
+ exports.EntityDocumentRunEntity = EntityDocumentRunEntity;
11497
+ exports.EntityDocumentRunEntity = EntityDocumentRunEntity = __decorate([
11498
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Document Runs')
11499
+ ], EntityDocumentRunEntity);
11500
+ /**
11501
+ * Vector Databases - strongly typed entity sub-class
11502
+ * * Schema: admin
11503
+ * * Base Table: VectorDatabase
11504
+ * * Base View: vwVectorDatabases
11505
+ * * Primary Key: ID
11506
+ * @extends {BaseEntity}
11507
+ * @class
11508
+ * @public
11509
+ */
11510
+ let VectorDatabaseEntity = class VectorDatabaseEntity extends core_1.BaseEntity {
11511
+ /**
11512
+ * Loads the Vector Databases record from the database
11513
+ * @param ID: Number - primary key value to load the Vector Databases record.
11514
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11515
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11516
+ * @public
11517
+ * @async
11518
+ * @memberof VectorDatabaseEntity
11519
+ * @method
11520
+ * @override
11521
+ */
11522
+ async Load(ID, EntityRelationshipsToLoad = null) {
11523
+ const pkeyValues = [];
11524
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11525
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11526
+ }
11527
+ /**
11528
+ * Vector Databases - 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.
11529
+ * @public
11530
+ * @method
11531
+ * @override
11532
+ * @memberof VectorDatabaseEntity
11533
+ * @throws {Error} - Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.
11534
+ */
11535
+ async Delete() {
11536
+ throw new Error('Delete is not allowed for Vector Databases, to enable it set AllowDeleteAPI to 1 in the database.');
11537
+ }
11538
+ /**
11539
+ * * Field Name: ID
11540
+ * * Display Name: ID
11541
+ * * SQL Data Type: int
11542
+ */
11543
+ get ID() {
11544
+ return this.Get('ID');
11545
+ }
11546
+ /**
11547
+ * * Field Name: Name
11548
+ * * Display Name: Name
11549
+ * * SQL Data Type: nvarchar(100)
11550
+ */
11551
+ get Name() {
11552
+ return this.Get('Name');
11553
+ }
11554
+ set Name(value) {
11555
+ this.Set('Name', value);
11556
+ }
11557
+ /**
11558
+ * * Field Name: Description
11559
+ * * Display Name: Description
11560
+ * * SQL Data Type: nvarchar(MAX)
11561
+ */
11562
+ get Description() {
11563
+ return this.Get('Description');
11564
+ }
11565
+ set Description(value) {
11566
+ this.Set('Description', value);
11567
+ }
11568
+ /**
11569
+ * * Field Name: DefaultURL
11570
+ * * Display Name: Default URL
11571
+ * * SQL Data Type: nvarchar(255)
11572
+ */
11573
+ get DefaultURL() {
11574
+ return this.Get('DefaultURL');
11575
+ }
11576
+ set DefaultURL(value) {
11577
+ this.Set('DefaultURL', value);
11578
+ }
11579
+ /**
11580
+ * * Field Name: ClassKey
11581
+ * * Display Name: Class Key
11582
+ * * SQL Data Type: nvarchar(100)
11583
+ */
11584
+ get ClassKey() {
11585
+ return this.Get('ClassKey');
11586
+ }
11587
+ set ClassKey(value) {
11588
+ this.Set('ClassKey', value);
11589
+ }
11590
+ /**
11591
+ * * Field Name: CreatedAt
11592
+ * * Display Name: Created At
11593
+ * * SQL Data Type: datetime
11594
+ * * Default Value: getdate()
11595
+ */
11596
+ get CreatedAt() {
11597
+ return this.Get('CreatedAt');
11598
+ }
11599
+ /**
11600
+ * * Field Name: UpdatedAt
11601
+ * * Display Name: Updated At
11602
+ * * SQL Data Type: datetime
11603
+ * * Default Value: getdate()
11604
+ */
11605
+ get UpdatedAt() {
11606
+ return this.Get('UpdatedAt');
11607
+ }
11608
+ };
11609
+ exports.VectorDatabaseEntity = VectorDatabaseEntity;
11610
+ exports.VectorDatabaseEntity = VectorDatabaseEntity = __decorate([
11611
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Vector Databases')
11612
+ ], VectorDatabaseEntity);
11613
+ /**
11614
+ * Entity Record Documents - strongly typed entity sub-class
11615
+ * * Schema: admin
11616
+ * * Base Table: EntityRecordDocument
11617
+ * * Base View: vwEntityRecordDocuments
11618
+ * * Primary Key: ID
11619
+ * @extends {BaseEntity}
11620
+ * @class
11621
+ * @public
11622
+ */
11623
+ let EntityRecordDocumentEntity = class EntityRecordDocumentEntity extends core_1.BaseEntity {
11624
+ /**
11625
+ * Loads the Entity Record Documents record from the database
11626
+ * @param ID: Number - primary key value to load the Entity Record Documents record.
11627
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11628
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11629
+ * @public
11630
+ * @async
11631
+ * @memberof EntityRecordDocumentEntity
11632
+ * @method
11633
+ * @override
11634
+ */
11635
+ async Load(ID, EntityRelationshipsToLoad = null) {
11636
+ const pkeyValues = [];
11637
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11638
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11639
+ }
11640
+ /**
11641
+ * Entity Record Documents - 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.
11642
+ * @public
11643
+ * @method
11644
+ * @override
11645
+ * @memberof EntityRecordDocumentEntity
11646
+ * @throws {Error} - Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.
11647
+ */
11648
+ async Delete() {
11649
+ throw new Error('Delete is not allowed for Entity Record Documents, to enable it set AllowDeleteAPI to 1 in the database.');
11650
+ }
11651
+ /**
11652
+ * * Field Name: ID
11653
+ * * Display Name: ID
11654
+ * * SQL Data Type: int
11655
+ */
11656
+ get ID() {
11657
+ return this.Get('ID');
11658
+ }
11659
+ /**
11660
+ * * Field Name: EntityID
11661
+ * * Display Name: Entity ID
11662
+ * * SQL Data Type: int
11663
+ */
11664
+ get EntityID() {
11665
+ return this.Get('EntityID');
11666
+ }
11667
+ set EntityID(value) {
11668
+ this.Set('EntityID', value);
11669
+ }
11670
+ /**
11671
+ * * Field Name: RecordID
11672
+ * * Display Name: Record ID
11673
+ * * SQL Data Type: nvarchar(255)
11674
+ */
11675
+ get RecordID() {
11676
+ return this.Get('RecordID');
11677
+ }
11678
+ set RecordID(value) {
11679
+ this.Set('RecordID', value);
11680
+ }
11681
+ /**
11682
+ * * Field Name: DocumentText
11683
+ * * Display Name: Document Text
11684
+ * * SQL Data Type: nvarchar(MAX)
11685
+ */
11686
+ get DocumentText() {
11687
+ return this.Get('DocumentText');
11688
+ }
11689
+ set DocumentText(value) {
11690
+ this.Set('DocumentText', value);
11691
+ }
11692
+ /**
11693
+ * * Field Name: VectorIndexID
11694
+ * * Display Name: Vector Index ID
11695
+ * * SQL Data Type: int
11696
+ */
11697
+ get VectorIndexID() {
11698
+ return this.Get('VectorIndexID');
11699
+ }
11700
+ set VectorIndexID(value) {
11701
+ this.Set('VectorIndexID', value);
11702
+ }
11703
+ /**
11704
+ * * Field Name: VectorID
11705
+ * * Display Name: Vector ID
11706
+ * * SQL Data Type: nvarchar(50)
11707
+ */
11708
+ get VectorID() {
11709
+ return this.Get('VectorID');
11710
+ }
11711
+ set VectorID(value) {
11712
+ this.Set('VectorID', value);
11713
+ }
11714
+ /**
11715
+ * * Field Name: VectorJSON
11716
+ * * Display Name: Vector JSON
11717
+ * * SQL Data Type: nvarchar(MAX)
11718
+ */
11719
+ get VectorJSON() {
11720
+ return this.Get('VectorJSON');
11721
+ }
11722
+ set VectorJSON(value) {
11723
+ this.Set('VectorJSON', value);
11724
+ }
11725
+ /**
11726
+ * * Field Name: EntityRecordUpdatedAt
11727
+ * * Display Name: Entity Record Updated At
11728
+ * * SQL Data Type: datetime
11729
+ */
11730
+ get EntityRecordUpdatedAt() {
11731
+ return this.Get('EntityRecordUpdatedAt');
11732
+ }
11733
+ set EntityRecordUpdatedAt(value) {
11734
+ this.Set('EntityRecordUpdatedAt', value);
11735
+ }
11736
+ /**
11737
+ * * Field Name: CreatedAt
11738
+ * * Display Name: Created At
11739
+ * * SQL Data Type: datetime
11740
+ * * Default Value: getdate()
11741
+ */
11742
+ get CreatedAt() {
11743
+ return this.Get('CreatedAt');
11744
+ }
11745
+ /**
11746
+ * * Field Name: UpdatedAt
11747
+ * * Display Name: Updated At
11748
+ * * SQL Data Type: datetime
11749
+ * * Default Value: getdate()
11750
+ */
11751
+ get UpdatedAt() {
11752
+ return this.Get('UpdatedAt');
11753
+ }
11754
+ };
11755
+ exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity;
11756
+ exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity = __decorate([
11757
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Record Documents')
11758
+ ], EntityRecordDocumentEntity);
11759
+ /**
11760
+ * Entity Documents - strongly typed entity sub-class
11761
+ * * Schema: admin
11762
+ * * Base Table: EntityDocument
11763
+ * * Base View: vwEntityDocuments
11764
+ * * Primary Key: ID
11765
+ * @extends {BaseEntity}
11766
+ * @class
11767
+ * @public
11768
+ */
11769
+ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity {
11770
+ /**
11771
+ * Loads the Entity Documents record from the database
11772
+ * @param ID: Number - primary key value to load the Entity Documents record.
11773
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
11774
+ * @returns {Promise<boolean>} - true if successful, false otherwise
11775
+ * @public
11776
+ * @async
11777
+ * @memberof EntityDocumentEntity
11778
+ * @method
11779
+ * @override
11780
+ */
11781
+ async Load(ID, EntityRelationshipsToLoad = null) {
11782
+ const pkeyValues = [];
11783
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
11784
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
11785
+ }
11786
+ /**
11787
+ * Entity Documents - 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.
11788
+ * @public
11789
+ * @method
11790
+ * @override
11791
+ * @memberof EntityDocumentEntity
11792
+ * @throws {Error} - Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.
11793
+ */
11794
+ async Delete() {
11795
+ throw new Error('Delete is not allowed for Entity Documents, to enable it set AllowDeleteAPI to 1 in the database.');
11796
+ }
11797
+ /**
11798
+ * * Field Name: ID
11799
+ * * Display Name: ID
11800
+ * * SQL Data Type: int
11801
+ */
11802
+ get ID() {
11803
+ return this.Get('ID');
11804
+ }
11805
+ /**
11806
+ * * Field Name: Name
11807
+ * * Display Name: Name
11808
+ * * SQL Data Type: nvarchar(250)
11809
+ */
11810
+ get Name() {
11811
+ return this.Get('Name');
11812
+ }
11813
+ set Name(value) {
11814
+ this.Set('Name', value);
11815
+ }
11816
+ /**
11817
+ * * Field Name: EntityID
11818
+ * * Display Name: Entity ID
11819
+ * * SQL Data Type: int
11820
+ * * Related Entity: Entities
11821
+ */
11822
+ get EntityID() {
11823
+ return this.Get('EntityID');
11824
+ }
11825
+ set EntityID(value) {
11826
+ this.Set('EntityID', value);
11827
+ }
11828
+ /**
11829
+ * * Field Name: TypeID
11830
+ * * Display Name: Type ID
11831
+ * * SQL Data Type: int
11832
+ * * Related Entity: Entity Document Types
11833
+ */
11834
+ get TypeID() {
11835
+ return this.Get('TypeID');
11836
+ }
11837
+ set TypeID(value) {
11838
+ this.Set('TypeID', value);
11839
+ }
11840
+ /**
11841
+ * * Field Name: Status
11842
+ * * Display Name: Status
11843
+ * * SQL Data Type: nvarchar(15)
11844
+ * * Default Value: N'Pending'
11845
+ */
11846
+ get Status() {
11847
+ return this.Get('Status');
11848
+ }
11849
+ set Status(value) {
11850
+ this.Set('Status', value);
11851
+ }
11852
+ /**
11853
+ * * Field Name: Template
11854
+ * * Display Name: Template
11855
+ * * SQL Data Type: nvarchar(MAX)
11856
+ */
11857
+ get Template() {
11858
+ return this.Get('Template');
11859
+ }
11860
+ set Template(value) {
11861
+ this.Set('Template', value);
11862
+ }
11863
+ /**
11864
+ * * Field Name: CreatedAt
11865
+ * * Display Name: Created At
11866
+ * * SQL Data Type: datetime
11867
+ * * Default Value: getdate()
11868
+ */
11869
+ get CreatedAt() {
11870
+ return this.Get('CreatedAt');
11871
+ }
11872
+ /**
11873
+ * * Field Name: UpdatedAt
11874
+ * * Display Name: Updated At
11875
+ * * SQL Data Type: datetime
11876
+ * * Default Value: getdate()
11877
+ */
11878
+ get UpdatedAt() {
11879
+ return this.Get('UpdatedAt');
11880
+ }
11881
+ /**
11882
+ * * Field Name: Entity
11883
+ * * Display Name: Entity
11884
+ * * SQL Data Type: nvarchar(255)
11885
+ * * Default Value: null
11886
+ */
11887
+ get Entity() {
11888
+ return this.Get('Entity');
11889
+ }
11890
+ /**
11891
+ * * Field Name: Type
11892
+ * * Display Name: Type
11893
+ * * SQL Data Type: nvarchar(100)
11894
+ * * Default Value: null
11895
+ */
11896
+ get Type() {
11897
+ return this.Get('Type');
11898
+ }
11899
+ };
11900
+ exports.EntityDocumentEntity = EntityDocumentEntity;
11901
+ exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
11902
+ (0, global_1.RegisterClass)(core_1.BaseEntity, 'Entity Documents')
11903
+ ], EntityDocumentEntity);
10515
11904
  //# sourceMappingURL=entity_subclasses.js.map