@memberjunction/core-entities 2.2.0 → 2.3.0
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.
- package/dist/generated/entity_subclasses.d.ts +940 -100
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +1226 -47
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +3 -3
- package/dist/generated/entity_type_definitions.d.ts +0 -11549
- package/dist/generated/entity_type_definitions.d.ts.map +0 -1
- package/dist/generated/entity_type_definitions.js +0 -7
- package/dist/generated/entity_type_definitions.js.map +0 -1
|
@@ -6,12 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = void 0;
|
|
9
|
+
exports.EmployeeSkillSchema = exports.EmployeeRoleSchema = exports.EmployeeCompanyIntegrationSchema = exports.DuplicateRunSchema = exports.DuplicateRunDetailSchema = exports.DuplicateRunDetailMatchSchema = exports.DatasetSchema = exports.DatasetItemSchema = exports.DataContextSchema = exports.DataContextItemSchema = exports.DashboardSchema = exports.DashboardCategorySchema = exports.ConversationSchema = exports.ConversationDetailSchema = exports.CompanyIntegrationSchema = exports.CompanyIntegrationRunSchema = exports.CompanyIntegrationRunDetailSchema = exports.CompanyIntegrationRunAPILogSchema = exports.CompanyIntegrationRecordMapSchema = exports.CompanySchema = exports.CommunicationRunSchema = exports.CommunicationProviderSchema = exports.CommunicationProviderMessageTypeSchema = exports.CommunicationLogSchema = exports.CommunicationBaseMessageTypeSchema = exports.AuthorizationSchema = exports.AuthorizationRoleSchema = exports.AuditLogSchema = exports.AuditLogTypeSchema = exports.ApplicationSchema = exports.ApplicationSettingSchema = exports.ApplicationEntitySchema = exports.AIResultCacheSchema = exports.AIPromptSchema = exports.AIPromptTypeSchema = exports.AIPromptCategorySchema = exports.AIModelSchema = exports.AIModelTypeSchema = exports.AIModelActionSchema = exports.AIActionSchema = exports.ActionSchema = exports.ActionResultCodeSchema = exports.ActionParamSchema = exports.ActionLibrarySchema = exports.ActionFilterSchema = exports.ActionExecutionLogSchema = exports.ActionContextSchema = exports.ActionContextTypeSchema = exports.ActionCategorySchema = exports.ActionAuthorizationSchema = void 0;
|
|
10
|
+
exports.RecordChangeReplayRunSchema = exports.RecommendationSchema = exports.RecommendationRunSchema = exports.RecommendationProviderSchema = exports.RecommendationItemSchema = exports.QueueSchema = exports.QueueTypeSchema = exports.QueueTaskSchema = exports.QueryPermissionSchema = exports.QueryFieldSchema = exports.QueryCategorySchema = exports.QuerySchema = exports.OutputTriggerTypeSchema = exports.OutputFormatTypeSchema = exports.OutputDeliveryTypeSchema = exports.ListSchema = exports.ListDetailSchema = exports.ListCategorySchema = exports.LibraryItemSchema = exports.LibrarySchema = exports.IntegrationSchema = exports.IntegrationURLFormatSchema = exports.flyway_schema_historySchema = exports.FileSchema = exports.FileStorageProviderSchema = exports.FileEntityRecordLinkSchema = exports.FileCategorySchema = exports.ExplorerNavigationItemSchema = exports.ErrorLogSchema = exports.EntitySettingSchema = exports.EntityRelationshipSchema = exports.EntityRelationshipDisplayComponentSchema = exports.EntityRecordDocumentSchema = exports.EntityPermissionSchema = exports.EntityFieldSchema = exports.EntityFieldValueSchema = exports.EntityDocumentSchema = exports.EntityDocumentTypeSchema = exports.EntityDocumentSettingSchema = exports.EntityDocumentRunSchema = exports.EntityCommunicationMessageTypeSchema = exports.EntityCommunicationFieldSchema = exports.EntityAIActionSchema = exports.EntityActionSchema = exports.EntityActionParamSchema = exports.EntityActionInvocationSchema = exports.EntityActionInvocationTypeSchema = exports.EntityActionFilterSchema = exports.EntitySchema = exports.EmployeeSchema = void 0;
|
|
11
|
+
exports.AIActionEntity = exports.ActionEntity = exports.ActionResultCodeEntity = exports.ActionParamEntity = exports.ActionLibraryEntity = exports.ActionFilterEntity = exports.ActionExecutionLogEntity = exports.ActionContextEntity = exports.ActionContextTypeEntity = exports.ActionCategoryEntity = exports.ActionAuthorizationEntity = exports.WorkspaceSchema = exports.WorkspaceItemSchema = exports.WorkflowSchema = exports.WorkflowRunSchema = exports.WorkflowEngineSchema = exports.VersionInstallationSchema = exports.VectorIndexSchema = exports.VectorDatabaseSchema = exports.UserSchema = exports.UserViewSchema = exports.UserViewRunSchema = exports.UserViewRunDetailSchema = exports.UserViewCategorySchema = exports.UserRoleSchema = exports.UserRecordLogSchema = exports.UserNotificationSchema = exports.UserFavoriteSchema = exports.UserApplicationSchema = exports.UserApplicationEntitySchema = exports.TemplateSchema = exports.TemplateParamSchema = exports.TemplateContentSchema = exports.TemplateContentTypeSchema = exports.TemplateCategorySchema = exports.TagSchema = exports.TaggedItemSchema = exports.SkillSchema = exports.SchemaInfoSchema = exports.ScheduledActionSchema = exports.ScheduledActionParamSchema = exports.RowLevelSecurityFilterSchema = exports.RoleSchema = exports.ResourceTypeSchema = exports.ReportSchema = exports.ReportSnapshotSchema = exports.ReportCategorySchema = exports.RecordMergeLogSchema = exports.RecordMergeDeletionLogSchema = exports.RecordChangeSchema = void 0;
|
|
12
|
+
exports.EntityDocumentRunEntity = exports.EntityCommunicationMessageTypeEntity = exports.EntityCommunicationFieldEntity = exports.EntityAIActionEntity = exports.EntityActionEntity = exports.EntityActionParamEntity = exports.EntityActionInvocationEntity = exports.EntityActionInvocationTypeEntity = exports.EntityActionFilterEntity = exports.EntityEntity = exports.EmployeeEntity = exports.EmployeeSkillEntity = exports.EmployeeRoleEntity = exports.EmployeeCompanyIntegrationEntity = exports.DuplicateRunEntity = exports.DuplicateRunDetailEntity = exports.DuplicateRunDetailMatchEntity = exports.DatasetEntity = exports.DatasetItemEntity = exports.DataContextEntity = exports.DataContextItemEntity = exports.DashboardEntity = exports.DashboardCategoryEntity = exports.ConversationEntity = exports.ConversationDetailEntity = exports.CompanyIntegrationEntity = exports.CompanyIntegrationRunEntity = exports.CompanyIntegrationRunDetailEntity = exports.CompanyIntegrationRunAPILogEntity = exports.CompanyIntegrationRecordMapEntity = exports.CompanyEntity = exports.CommunicationRunEntity = exports.CommunicationProviderEntity = exports.CommunicationProviderMessageTypeEntity = exports.CommunicationLogEntity = exports.CommunicationBaseMessageTypeEntity = exports.AuthorizationEntity = exports.AuthorizationRoleEntity = exports.AuditLogEntity = exports.AuditLogTypeEntity = exports.ApplicationEntity = exports.ApplicationSettingEntity = exports.ApplicationEntityEntity = exports.AIResultCacheEntity = exports.AIPromptEntity = exports.AIPromptTypeEntity = exports.AIPromptCategoryEntity = exports.AIModelEntity = exports.AIModelTypeEntity = exports.AIModelActionEntity = void 0;
|
|
13
|
+
exports.ScheduledActionEntity = exports.ScheduledActionParamEntity = exports.RowLevelSecurityFilterEntity = exports.RoleEntity = exports.ResourceTypeEntity = exports.ReportEntity = exports.ReportSnapshotEntity = exports.ReportCategoryEntity = exports.RecordMergeLogEntity = exports.RecordMergeDeletionLogEntity = exports.RecordChangeEntity = exports.RecordChangeReplayRunEntity = exports.RecommendationEntity = exports.RecommendationRunEntity = exports.RecommendationProviderEntity = exports.RecommendationItemEntity = exports.QueueEntity = exports.QueueTypeEntity = exports.QueueTaskEntity = exports.QueryPermissionEntity = exports.QueryFieldEntity = exports.QueryCategoryEntity = exports.QueryEntity = exports.OutputTriggerTypeEntity = exports.OutputFormatTypeEntity = exports.OutputDeliveryTypeEntity = exports.ListEntity = exports.ListDetailEntity = exports.ListCategoryEntity = exports.LibraryItemEntity = exports.LibraryEntity = exports.IntegrationEntity = exports.IntegrationURLFormatEntity = exports.flyway_schema_historyEntity = exports.FileEntity = exports.FileStorageProviderEntity = exports.FileEntityRecordLinkEntity = exports.FileCategoryEntity = exports.ExplorerNavigationItemEntity = exports.ErrorLogEntity = exports.EntitySettingEntity = exports.EntityRelationshipEntity = exports.EntityRelationshipDisplayComponentEntity = exports.EntityRecordDocumentEntity = exports.EntityPermissionEntity = exports.EntityFieldEntity = exports.EntityFieldValueEntity = exports.EntityDocumentEntity = exports.EntityDocumentTypeEntity = exports.EntityDocumentSettingEntity = void 0;
|
|
14
|
+
exports.WorkspaceEntity = exports.WorkspaceItemEntity = exports.WorkflowEntity = exports.WorkflowRunEntity = exports.WorkflowEngineEntity = exports.VersionInstallationEntity = exports.VectorIndexEntity = exports.VectorDatabaseEntity = exports.UserEntity = exports.UserViewEntity = exports.UserViewRunEntity = exports.UserViewRunDetailEntity = exports.UserViewCategoryEntity = exports.UserRoleEntity = exports.UserRecordLogEntity = exports.UserNotificationEntity = exports.UserFavoriteEntity = exports.UserApplicationEntity = exports.UserApplicationEntityEntity = exports.TemplateEntity = exports.TemplateParamEntity = exports.TemplateContentEntity = exports.TemplateContentTypeEntity = exports.TemplateCategoryEntity = exports.TagEntity = exports.TaggedItemEntity = exports.SkillEntity = exports.SchemaInfoEntity = void 0;
|
|
15
15
|
const core_1 = require("@memberjunction/core");
|
|
16
16
|
const global_1 = require("@memberjunction/global");
|
|
17
17
|
const zod_1 = require("zod");
|
|
@@ -52,6 +52,10 @@ exports.ActionAuthorizationSchema = zod_1.z.object({
|
|
|
52
52
|
* * Field Name: Action
|
|
53
53
|
* * Display Name: Action
|
|
54
54
|
* * SQL Data Type: nvarchar(425)`),
|
|
55
|
+
Authorization: zod_1.z.string().describe(`
|
|
56
|
+
* * Field Name: Authorization
|
|
57
|
+
* * Display Name: Authorization
|
|
58
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
55
59
|
});
|
|
56
60
|
/**
|
|
57
61
|
* zod schema definition for the entity Action Categories
|
|
@@ -708,7 +712,8 @@ exports.AIModelSchema = zod_1.z.object({
|
|
|
708
712
|
* * Field Name: PowerRank
|
|
709
713
|
* * Display Name: Power Rank
|
|
710
714
|
* * SQL Data Type: int
|
|
711
|
-
|
|
715
|
+
* * Default Value: 0
|
|
716
|
+
* * Description: Optional column that ranks the power of the AI model. Default is 0 and should be non-negative.`),
|
|
712
717
|
IsActive: zod_1.z.boolean().describe(`
|
|
713
718
|
* * Field Name: IsActive
|
|
714
719
|
* * Display Name: Is Active
|
|
@@ -737,11 +742,243 @@ exports.AIModelSchema = zod_1.z.object({
|
|
|
737
742
|
* * Display Name: Updated At
|
|
738
743
|
* * SQL Data Type: datetimeoffset
|
|
739
744
|
* * Default Value: getutcdate()`),
|
|
745
|
+
SpeedRank: zod_1.z.number().nullish().describe(`
|
|
746
|
+
* * Field Name: SpeedRank
|
|
747
|
+
* * Display Name: Speed Rank
|
|
748
|
+
* * SQL Data Type: int
|
|
749
|
+
* * Default Value: 0
|
|
750
|
+
* * Description: Optional column that ranks the speed of the AI model. Default is 0 and should be non-negative.`),
|
|
751
|
+
CostRank: zod_1.z.number().nullish().describe(`
|
|
752
|
+
* * Field Name: CostRank
|
|
753
|
+
* * Display Name: Cost Rank
|
|
754
|
+
* * SQL Data Type: int
|
|
755
|
+
* * Default Value: 0
|
|
756
|
+
* * Description: Optional column that ranks the cost of the AI model. Default is 0 and should be non-negative.`),
|
|
757
|
+
ModelSelectionInsights: zod_1.z.string().nullish().describe(`
|
|
758
|
+
* * Field Name: ModelSelectionInsights
|
|
759
|
+
* * Display Name: Model Selection Insights
|
|
760
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
761
|
+
* * Default Value: null
|
|
762
|
+
* * Description: This column stores unstructured text notes that provide insights into what the model is particularly good at and areas where it may not perform as well. These notes can be used by a human or an AI to determine if the model is a good fit for various purposes.`),
|
|
740
763
|
AIModelType: zod_1.z.string().describe(`
|
|
741
764
|
* * Field Name: AIModelType
|
|
742
765
|
* * Display Name: AIModel Type
|
|
743
766
|
* * SQL Data Type: nvarchar(50)`),
|
|
744
767
|
});
|
|
768
|
+
/**
|
|
769
|
+
* zod schema definition for the entity AI Prompt Categories
|
|
770
|
+
*/
|
|
771
|
+
exports.AIPromptCategorySchema = zod_1.z.object({
|
|
772
|
+
ID: zod_1.z.string().describe(`
|
|
773
|
+
* * Field Name: ID
|
|
774
|
+
* * Display Name: ID
|
|
775
|
+
* * SQL Data Type: uniqueidentifier
|
|
776
|
+
* * Default Value: newsequentialid()`),
|
|
777
|
+
Name: zod_1.z.string().describe(`
|
|
778
|
+
* * Field Name: Name
|
|
779
|
+
* * Display Name: Name
|
|
780
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
781
|
+
ParentID: zod_1.z.string().nullish().describe(`
|
|
782
|
+
* * Field Name: ParentID
|
|
783
|
+
* * Display Name: Parent ID
|
|
784
|
+
* * SQL Data Type: uniqueidentifier
|
|
785
|
+
* * Related Entity/Foreign Key: AI Prompt Categories (vwAIPromptCategories.ID)
|
|
786
|
+
* * Description: Parent category ID for hierarchical organization.`),
|
|
787
|
+
Description: zod_1.z.string().nullish().describe(`
|
|
788
|
+
* * Field Name: Description
|
|
789
|
+
* * Display Name: Description
|
|
790
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
791
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
792
|
+
* * Field Name: __mj_CreatedAt
|
|
793
|
+
* * Display Name: Created At
|
|
794
|
+
* * SQL Data Type: datetimeoffset
|
|
795
|
+
* * Default Value: getutcdate()`),
|
|
796
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
797
|
+
* * Field Name: __mj_UpdatedAt
|
|
798
|
+
* * Display Name: Updated At
|
|
799
|
+
* * SQL Data Type: datetimeoffset
|
|
800
|
+
* * Default Value: getutcdate()`),
|
|
801
|
+
Parent: zod_1.z.string().nullish().describe(`
|
|
802
|
+
* * Field Name: Parent
|
|
803
|
+
* * Display Name: Parent
|
|
804
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
805
|
+
});
|
|
806
|
+
/**
|
|
807
|
+
* zod schema definition for the entity AI Prompt Types
|
|
808
|
+
*/
|
|
809
|
+
exports.AIPromptTypeSchema = zod_1.z.object({
|
|
810
|
+
ID: zod_1.z.string().describe(`
|
|
811
|
+
* * Field Name: ID
|
|
812
|
+
* * Display Name: ID
|
|
813
|
+
* * SQL Data Type: uniqueidentifier
|
|
814
|
+
* * Default Value: newsequentialid()`),
|
|
815
|
+
Name: zod_1.z.string().describe(`
|
|
816
|
+
* * Field Name: Name
|
|
817
|
+
* * Display Name: Name
|
|
818
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
819
|
+
Description: zod_1.z.string().nullish().describe(`
|
|
820
|
+
* * Field Name: Description
|
|
821
|
+
* * Display Name: Description
|
|
822
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
823
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
824
|
+
* * Field Name: __mj_CreatedAt
|
|
825
|
+
* * Display Name: Created At
|
|
826
|
+
* * SQL Data Type: datetimeoffset
|
|
827
|
+
* * Default Value: getutcdate()`),
|
|
828
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
829
|
+
* * Field Name: __mj_UpdatedAt
|
|
830
|
+
* * Display Name: Updated At
|
|
831
|
+
* * SQL Data Type: datetimeoffset
|
|
832
|
+
* * Default Value: getutcdate()`),
|
|
833
|
+
});
|
|
834
|
+
/**
|
|
835
|
+
* zod schema definition for the entity AI Prompts
|
|
836
|
+
*/
|
|
837
|
+
exports.AIPromptSchema = zod_1.z.object({
|
|
838
|
+
ID: zod_1.z.string().describe(`
|
|
839
|
+
* * Field Name: ID
|
|
840
|
+
* * Display Name: ID
|
|
841
|
+
* * SQL Data Type: uniqueidentifier
|
|
842
|
+
* * Default Value: newsequentialid()`),
|
|
843
|
+
Name: zod_1.z.string().describe(`
|
|
844
|
+
* * Field Name: Name
|
|
845
|
+
* * Display Name: Name
|
|
846
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
847
|
+
Description: zod_1.z.string().nullish().describe(`
|
|
848
|
+
* * Field Name: Description
|
|
849
|
+
* * Display Name: Description
|
|
850
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
851
|
+
TemplateID: zod_1.z.string().describe(`
|
|
852
|
+
* * Field Name: TemplateID
|
|
853
|
+
* * Display Name: Template ID
|
|
854
|
+
* * SQL Data Type: uniqueidentifier
|
|
855
|
+
* * Related Entity/Foreign Key: Templates (vwTemplates.ID)
|
|
856
|
+
* * Description: Reference to the template used for the prompt.`),
|
|
857
|
+
CategoryID: zod_1.z.string().nullish().describe(`
|
|
858
|
+
* * Field Name: CategoryID
|
|
859
|
+
* * Display Name: Category ID
|
|
860
|
+
* * SQL Data Type: uniqueidentifier
|
|
861
|
+
* * Related Entity/Foreign Key: AI Prompt Categories (vwAIPromptCategories.ID)
|
|
862
|
+
* * Description: Reference to the category the prompt belongs to.`),
|
|
863
|
+
TypeID: zod_1.z.string().describe(`
|
|
864
|
+
* * Field Name: TypeID
|
|
865
|
+
* * Display Name: Type ID
|
|
866
|
+
* * SQL Data Type: uniqueidentifier
|
|
867
|
+
* * Related Entity/Foreign Key: AI Prompt Types (vwAIPromptTypes.ID)
|
|
868
|
+
* * Description: Reference to the type of the prompt.`),
|
|
869
|
+
Status: zod_1.z.union([zod_1.z.literal('Pending'), zod_1.z.literal('Active'), zod_1.z.literal('Disabled')]).describe(`
|
|
870
|
+
* * Field Name: Status
|
|
871
|
+
* * Display Name: Status
|
|
872
|
+
* * SQL Data Type: nvarchar(50)
|
|
873
|
+
* * Value List Type: List
|
|
874
|
+
* * Possible Values
|
|
875
|
+
* * Pending
|
|
876
|
+
* * Active
|
|
877
|
+
* * Disabled`),
|
|
878
|
+
CacheResults: zod_1.z.boolean().describe(`
|
|
879
|
+
* * Field Name: CacheResults
|
|
880
|
+
* * Display Name: Cache Results
|
|
881
|
+
* * SQL Data Type: bit
|
|
882
|
+
* * Default Value: 0
|
|
883
|
+
* * Description: Indicates whether the results of the prompt should be cached.`),
|
|
884
|
+
CacheExpiration: zod_1.z.number().describe(`
|
|
885
|
+
* * Field Name: CacheExpiration
|
|
886
|
+
* * Display Name: Cache Expiration
|
|
887
|
+
* * SQL Data Type: decimal(10, 2)
|
|
888
|
+
* * Default Value: 0
|
|
889
|
+
* * Description: Number of hours the cache is valid for; can be fractional or 0 if the cache never expires.`),
|
|
890
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
891
|
+
* * Field Name: __mj_CreatedAt
|
|
892
|
+
* * Display Name: Created At
|
|
893
|
+
* * SQL Data Type: datetimeoffset
|
|
894
|
+
* * Default Value: getutcdate()`),
|
|
895
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
896
|
+
* * Field Name: __mj_UpdatedAt
|
|
897
|
+
* * Display Name: Updated At
|
|
898
|
+
* * SQL Data Type: datetimeoffset
|
|
899
|
+
* * Default Value: getutcdate()`),
|
|
900
|
+
Template: zod_1.z.string().describe(`
|
|
901
|
+
* * Field Name: Template
|
|
902
|
+
* * Display Name: Template
|
|
903
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
904
|
+
Category: zod_1.z.string().nullish().describe(`
|
|
905
|
+
* * Field Name: Category
|
|
906
|
+
* * Display Name: Category
|
|
907
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
908
|
+
Type: zod_1.z.string().describe(`
|
|
909
|
+
* * Field Name: Type
|
|
910
|
+
* * Display Name: Type
|
|
911
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
912
|
+
});
|
|
913
|
+
/**
|
|
914
|
+
* zod schema definition for the entity AI Result Cache
|
|
915
|
+
*/
|
|
916
|
+
exports.AIResultCacheSchema = zod_1.z.object({
|
|
917
|
+
ID: zod_1.z.string().describe(`
|
|
918
|
+
* * Field Name: ID
|
|
919
|
+
* * Display Name: ID
|
|
920
|
+
* * SQL Data Type: uniqueidentifier
|
|
921
|
+
* * Default Value: newsequentialid()`),
|
|
922
|
+
AIPromptID: zod_1.z.string().describe(`
|
|
923
|
+
* * Field Name: AIPromptID
|
|
924
|
+
* * Display Name: AIPrompt ID
|
|
925
|
+
* * SQL Data Type: uniqueidentifier
|
|
926
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
927
|
+
* * Description: Reference to the AI prompt this result corresponds to.`),
|
|
928
|
+
AIModelID: zod_1.z.string().describe(`
|
|
929
|
+
* * Field Name: AIModelID
|
|
930
|
+
* * Display Name: AIModel ID
|
|
931
|
+
* * SQL Data Type: uniqueidentifier
|
|
932
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
933
|
+
* * Description: Reference to the AI model that generated this result.`),
|
|
934
|
+
RunAt: zod_1.z.date().describe(`
|
|
935
|
+
* * Field Name: RunAt
|
|
936
|
+
* * Display Name: Run At
|
|
937
|
+
* * SQL Data Type: datetimeoffset
|
|
938
|
+
* * Description: Timestamp of when this result was generated.`),
|
|
939
|
+
PromptText: zod_1.z.string().describe(`
|
|
940
|
+
* * Field Name: PromptText
|
|
941
|
+
* * Display Name: Prompt Text
|
|
942
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
943
|
+
* * Description: The prompt text used to generate this result.`),
|
|
944
|
+
ResultText: zod_1.z.string().nullish().describe(`
|
|
945
|
+
* * Field Name: ResultText
|
|
946
|
+
* * Display Name: Result Text
|
|
947
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
948
|
+
* * Description: The text of the result generated by the AI model.`),
|
|
949
|
+
Status: zod_1.z.union([zod_1.z.literal('Active'), zod_1.z.literal('Expired')]).describe(`
|
|
950
|
+
* * Field Name: Status
|
|
951
|
+
* * Display Name: Status
|
|
952
|
+
* * SQL Data Type: nvarchar(50)
|
|
953
|
+
* * Value List Type: List
|
|
954
|
+
* * Possible Values
|
|
955
|
+
* * Active
|
|
956
|
+
* * Expired
|
|
957
|
+
* * Description: The status of this result, indicating whether it is currently active or expired.`),
|
|
958
|
+
ExpiredOn: zod_1.z.date().nullish().describe(`
|
|
959
|
+
* * Field Name: ExpiredOn
|
|
960
|
+
* * Display Name: Expired On
|
|
961
|
+
* * SQL Data Type: datetimeoffset
|
|
962
|
+
* * Description: Timestamp of when this result was marked as expired.`),
|
|
963
|
+
__mj_CreatedAt: zod_1.z.date().describe(`
|
|
964
|
+
* * Field Name: __mj_CreatedAt
|
|
965
|
+
* * Display Name: Created At
|
|
966
|
+
* * SQL Data Type: datetimeoffset
|
|
967
|
+
* * Default Value: getutcdate()`),
|
|
968
|
+
__mj_UpdatedAt: zod_1.z.date().describe(`
|
|
969
|
+
* * Field Name: __mj_UpdatedAt
|
|
970
|
+
* * Display Name: Updated At
|
|
971
|
+
* * SQL Data Type: datetimeoffset
|
|
972
|
+
* * Default Value: getutcdate()`),
|
|
973
|
+
AIPrompt: zod_1.z.string().describe(`
|
|
974
|
+
* * Field Name: AIPrompt
|
|
975
|
+
* * Display Name: AIPrompt
|
|
976
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
977
|
+
AIModel: zod_1.z.string().describe(`
|
|
978
|
+
* * Field Name: AIModel
|
|
979
|
+
* * Display Name: AIModel
|
|
980
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
981
|
+
});
|
|
745
982
|
/**
|
|
746
983
|
* zod schema definition for the entity Application Entities
|
|
747
984
|
*/
|
|
@@ -838,6 +1075,10 @@ exports.ApplicationSettingSchema = zod_1.z.object({
|
|
|
838
1075
|
* * Display Name: __mj _Updated At
|
|
839
1076
|
* * SQL Data Type: datetimeoffset
|
|
840
1077
|
* * Default Value: getutcdate()`),
|
|
1078
|
+
Application: zod_1.z.string().describe(`
|
|
1079
|
+
* * Field Name: Application
|
|
1080
|
+
* * Display Name: Application
|
|
1081
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
841
1082
|
});
|
|
842
1083
|
/**
|
|
843
1084
|
* zod schema definition for the entity Applications
|
|
@@ -916,6 +1157,10 @@ exports.AuditLogTypeSchema = zod_1.z.object({
|
|
|
916
1157
|
* * Field Name: Parent
|
|
917
1158
|
* * Display Name: Parent
|
|
918
1159
|
* * SQL Data Type: nvarchar(50)`),
|
|
1160
|
+
Authorization: zod_1.z.string().nullish().describe(`
|
|
1161
|
+
* * Field Name: Authorization
|
|
1162
|
+
* * Display Name: Authorization
|
|
1163
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
919
1164
|
});
|
|
920
1165
|
/**
|
|
921
1166
|
* zod schema definition for the entity Audit Logs
|
|
@@ -981,6 +1226,14 @@ exports.AuditLogSchema = zod_1.z.object({
|
|
|
981
1226
|
* * Field Name: User
|
|
982
1227
|
* * Display Name: User
|
|
983
1228
|
* * SQL Data Type: nvarchar(100)`),
|
|
1229
|
+
AuditLogType: zod_1.z.string().describe(`
|
|
1230
|
+
* * Field Name: AuditLogType
|
|
1231
|
+
* * Display Name: Audit Log Type
|
|
1232
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
1233
|
+
Authorization: zod_1.z.string().nullish().describe(`
|
|
1234
|
+
* * Field Name: Authorization
|
|
1235
|
+
* * Display Name: Authorization
|
|
1236
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
984
1237
|
Entity: zod_1.z.string().nullish().describe(`
|
|
985
1238
|
* * Field Name: Entity
|
|
986
1239
|
* * Display Name: Entity
|
|
@@ -1024,6 +1277,14 @@ exports.AuthorizationRoleSchema = zod_1.z.object({
|
|
|
1024
1277
|
* * Display Name: Updated At
|
|
1025
1278
|
* * SQL Data Type: datetimeoffset
|
|
1026
1279
|
* * Default Value: getutcdate()`),
|
|
1280
|
+
Authorization: zod_1.z.string().describe(`
|
|
1281
|
+
* * Field Name: Authorization
|
|
1282
|
+
* * Display Name: Authorization
|
|
1283
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1284
|
+
Role: zod_1.z.string().describe(`
|
|
1285
|
+
* * Field Name: Role
|
|
1286
|
+
* * Display Name: Role
|
|
1287
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
1027
1288
|
});
|
|
1028
1289
|
/**
|
|
1029
1290
|
* zod schema definition for the entity Authorizations
|
|
@@ -1606,7 +1867,8 @@ exports.CompanyIntegrationRunSchema = zod_1.z.object({
|
|
|
1606
1867
|
RunByUser: zod_1.z.string().describe(`
|
|
1607
1868
|
* * Field Name: RunByUser
|
|
1608
1869
|
* * Display Name: Run By User
|
|
1609
|
-
* * SQL Data Type: nvarchar(100)
|
|
1870
|
+
* * SQL Data Type: nvarchar(100)
|
|
1871
|
+
* * Default Value: null`),
|
|
1610
1872
|
});
|
|
1611
1873
|
/**
|
|
1612
1874
|
* zod schema definition for the entity Company Integrations
|
|
@@ -1827,6 +2089,10 @@ exports.ConversationSchema = zod_1.z.object({
|
|
|
1827
2089
|
* * Field Name: LinkedEntity
|
|
1828
2090
|
* * Display Name: Linked Entity
|
|
1829
2091
|
* * SQL Data Type: nvarchar(255)`),
|
|
2092
|
+
DataContext: zod_1.z.string().nullish().describe(`
|
|
2093
|
+
* * Field Name: DataContext
|
|
2094
|
+
* * Display Name: Data Context
|
|
2095
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
1830
2096
|
});
|
|
1831
2097
|
/**
|
|
1832
2098
|
* zod schema definition for the entity Dashboard Categories
|
|
@@ -2103,6 +2369,10 @@ exports.DatasetItemSchema = zod_1.z.object({
|
|
|
2103
2369
|
* * Display Name: Updated At
|
|
2104
2370
|
* * SQL Data Type: datetimeoffset
|
|
2105
2371
|
* * Default Value: getutcdate()`),
|
|
2372
|
+
Dataset: zod_1.z.string().describe(`
|
|
2373
|
+
* * Field Name: Dataset
|
|
2374
|
+
* * Display Name: Dataset
|
|
2375
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
2106
2376
|
Entity: zod_1.z.string().describe(`
|
|
2107
2377
|
* * Field Name: Entity
|
|
2108
2378
|
* * Display Name: Entity
|
|
@@ -3435,6 +3705,18 @@ exports.EntityDocumentSchema = zod_1.z.object({
|
|
|
3435
3705
|
* * Field Name: Entity
|
|
3436
3706
|
* * Display Name: Entity
|
|
3437
3707
|
* * SQL Data Type: nvarchar(255)`),
|
|
3708
|
+
VectorDatabase: zod_1.z.string().describe(`
|
|
3709
|
+
* * Field Name: VectorDatabase
|
|
3710
|
+
* * Display Name: Vector Database
|
|
3711
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
3712
|
+
Template: zod_1.z.string().describe(`
|
|
3713
|
+
* * Field Name: Template
|
|
3714
|
+
* * Display Name: Template
|
|
3715
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
3716
|
+
AIModel: zod_1.z.string().describe(`
|
|
3717
|
+
* * Field Name: AIModel
|
|
3718
|
+
* * Display Name: AIModel
|
|
3719
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
3438
3720
|
});
|
|
3439
3721
|
/**
|
|
3440
3722
|
* zod schema definition for the entity Entity Field Values
|
|
@@ -3934,6 +4216,18 @@ exports.EntityRecordDocumentSchema = zod_1.z.object({
|
|
|
3934
4216
|
* * Display Name: __mj _Updated At
|
|
3935
4217
|
* * SQL Data Type: datetimeoffset
|
|
3936
4218
|
* * Default Value: getutcdate()`),
|
|
4219
|
+
Entity: zod_1.z.string().describe(`
|
|
4220
|
+
* * Field Name: Entity
|
|
4221
|
+
* * Display Name: Entity
|
|
4222
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
4223
|
+
EntityDocument: zod_1.z.string().describe(`
|
|
4224
|
+
* * Field Name: EntityDocument
|
|
4225
|
+
* * Display Name: Entity Document
|
|
4226
|
+
* * SQL Data Type: nvarchar(250)`),
|
|
4227
|
+
VectorIndex: zod_1.z.string().describe(`
|
|
4228
|
+
* * Field Name: VectorIndex
|
|
4229
|
+
* * Display Name: Vector Index
|
|
4230
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
3937
4231
|
});
|
|
3938
4232
|
/**
|
|
3939
4233
|
* zod schema definition for the entity Entity Relationship Display Components
|
|
@@ -4764,6 +5058,14 @@ exports.ListCategorySchema = zod_1.z.object({
|
|
|
4764
5058
|
* * Display Name: Updated At
|
|
4765
5059
|
* * SQL Data Type: datetimeoffset
|
|
4766
5060
|
* * Default Value: getutcdate()`),
|
|
5061
|
+
Parent: zod_1.z.string().nullish().describe(`
|
|
5062
|
+
* * Field Name: Parent
|
|
5063
|
+
* * Display Name: Parent
|
|
5064
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
5065
|
+
User: zod_1.z.string().describe(`
|
|
5066
|
+
* * Field Name: User
|
|
5067
|
+
* * Display Name: User
|
|
5068
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
4767
5069
|
});
|
|
4768
5070
|
/**
|
|
4769
5071
|
* zod schema definition for the entity List Details
|
|
@@ -4796,6 +5098,26 @@ exports.ListDetailSchema = zod_1.z.object({
|
|
|
4796
5098
|
* * Display Name: Updated At
|
|
4797
5099
|
* * SQL Data Type: datetimeoffset
|
|
4798
5100
|
* * Default Value: getutcdate()`),
|
|
5101
|
+
Status: zod_1.z.union([zod_1.z.literal('Pending'), zod_1.z.literal('Active'), zod_1.z.literal('Disabled'), zod_1.z.literal('Rejected'), zod_1.z.literal('Complete'), zod_1.z.literal('Error'), zod_1.z.literal('Other')]).describe(`
|
|
5102
|
+
* * Field Name: Status
|
|
5103
|
+
* * Display Name: Status
|
|
5104
|
+
* * SQL Data Type: nvarchar(30)
|
|
5105
|
+
* * Default Value: Pending
|
|
5106
|
+
* * Value List Type: List
|
|
5107
|
+
* * Possible Values
|
|
5108
|
+
* * Pending
|
|
5109
|
+
* * Active
|
|
5110
|
+
* * Disabled
|
|
5111
|
+
* * Rejected
|
|
5112
|
+
* * Complete
|
|
5113
|
+
* * Error
|
|
5114
|
+
* * Other
|
|
5115
|
+
* * Description: Tracks the status of each individual list detail row to enable processing of various types and the use of the status column for filtering list detail rows within a list that are in a particular state.`),
|
|
5116
|
+
AdditionalData: zod_1.z.string().nullish().describe(`
|
|
5117
|
+
* * Field Name: AdditionalData
|
|
5118
|
+
* * Display Name: Additional Data
|
|
5119
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
5120
|
+
* * Description: Optional column that allows for tracking any additional data for each ListDetail row`),
|
|
4799
5121
|
List: zod_1.z.string().describe(`
|
|
4800
5122
|
* * Field Name: List
|
|
4801
5123
|
* * Display Name: List
|
|
@@ -4857,6 +5179,10 @@ exports.ListSchema = zod_1.z.object({
|
|
|
4857
5179
|
* * Field Name: User
|
|
4858
5180
|
* * Display Name: User
|
|
4859
5181
|
* * SQL Data Type: nvarchar(100)`),
|
|
5182
|
+
Category: zod_1.z.string().nullish().describe(`
|
|
5183
|
+
* * Field Name: Category
|
|
5184
|
+
* * Display Name: Category
|
|
5185
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
4860
5186
|
});
|
|
4861
5187
|
/**
|
|
4862
5188
|
* zod schema definition for the entity Output Delivery Types
|
|
@@ -5182,6 +5508,14 @@ exports.QueryPermissionSchema = zod_1.z.object({
|
|
|
5182
5508
|
* * Display Name: __mj _Updated At
|
|
5183
5509
|
* * SQL Data Type: datetimeoffset
|
|
5184
5510
|
* * Default Value: getutcdate()`),
|
|
5511
|
+
Query: zod_1.z.string().describe(`
|
|
5512
|
+
* * Field Name: Query
|
|
5513
|
+
* * Display Name: Query
|
|
5514
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
5515
|
+
Role: zod_1.z.string().describe(`
|
|
5516
|
+
* * Field Name: Role
|
|
5517
|
+
* * Display Name: Role
|
|
5518
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
5185
5519
|
});
|
|
5186
5520
|
/**
|
|
5187
5521
|
* zod schema definition for the entity Queue Tasks
|
|
@@ -5847,6 +6181,10 @@ exports.RecordMergeLogSchema = zod_1.z.object({
|
|
|
5847
6181
|
* * Field Name: InitiatedByUser
|
|
5848
6182
|
* * Display Name: Initiated By User
|
|
5849
6183
|
* * SQL Data Type: nvarchar(100)`),
|
|
6184
|
+
ApprovedByUser: zod_1.z.string().nullish().describe(`
|
|
6185
|
+
* * Field Name: ApprovedByUser
|
|
6186
|
+
* * Display Name: Approved By User
|
|
6187
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
5850
6188
|
});
|
|
5851
6189
|
/**
|
|
5852
6190
|
* zod schema definition for the entity Report Categories
|
|
@@ -6220,6 +6558,14 @@ exports.ScheduledActionParamSchema = zod_1.z.object({
|
|
|
6220
6558
|
* * Display Name: Updated At
|
|
6221
6559
|
* * SQL Data Type: datetimeoffset
|
|
6222
6560
|
* * Default Value: getutcdate()`),
|
|
6561
|
+
ScheduledAction: zod_1.z.string().describe(`
|
|
6562
|
+
* * Field Name: ScheduledAction
|
|
6563
|
+
* * Display Name: Scheduled Action
|
|
6564
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
6565
|
+
ActionParam: zod_1.z.string().describe(`
|
|
6566
|
+
* * Field Name: ActionParam
|
|
6567
|
+
* * Display Name: Action Param
|
|
6568
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
6223
6569
|
});
|
|
6224
6570
|
/**
|
|
6225
6571
|
* zod schema definition for the entity Scheduled Actions
|
|
@@ -6316,9 +6662,17 @@ exports.ScheduledActionSchema = zod_1.z.object({
|
|
|
6316
6662
|
* * Display Name: Updated At
|
|
6317
6663
|
* * SQL Data Type: datetimeoffset
|
|
6318
6664
|
* * Default Value: getutcdate()`),
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
*
|
|
6665
|
+
CreatedByUser: zod_1.z.string().describe(`
|
|
6666
|
+
* * Field Name: CreatedByUser
|
|
6667
|
+
* * Display Name: Created By User
|
|
6668
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
6669
|
+
Action: zod_1.z.string().describe(`
|
|
6670
|
+
* * Field Name: Action
|
|
6671
|
+
* * Display Name: Action
|
|
6672
|
+
* * SQL Data Type: nvarchar(425)`),
|
|
6673
|
+
});
|
|
6674
|
+
/**
|
|
6675
|
+
* zod schema definition for the entity Schema Info
|
|
6322
6676
|
*/
|
|
6323
6677
|
exports.SchemaInfoSchema = zod_1.z.object({
|
|
6324
6678
|
ID: zod_1.z.string().describe(`
|
|
@@ -6936,10 +7290,6 @@ exports.UserNotificationSchema = zod_1.z.object({
|
|
|
6936
7290
|
* * Display Name: Resource Type ID
|
|
6937
7291
|
* * SQL Data Type: uniqueidentifier
|
|
6938
7292
|
* * Related Entity/Foreign Key: Resource Types (vwResourceTypes.ID)`),
|
|
6939
|
-
ResourceRecordID: zod_1.z.string().nullish().describe(`
|
|
6940
|
-
* * Field Name: ResourceRecordID
|
|
6941
|
-
* * Display Name: Resource Record ID
|
|
6942
|
-
* * SQL Data Type: uniqueidentifier`),
|
|
6943
7293
|
ResourceConfiguration: zod_1.z.string().nullish().describe(`
|
|
6944
7294
|
* * Field Name: ResourceConfiguration
|
|
6945
7295
|
* * Display Name: Resource Configuration
|
|
@@ -6963,6 +7313,10 @@ exports.UserNotificationSchema = zod_1.z.object({
|
|
|
6963
7313
|
* * Display Name: Updated At
|
|
6964
7314
|
* * SQL Data Type: datetimeoffset
|
|
6965
7315
|
* * Default Value: getutcdate()`),
|
|
7316
|
+
ResourceRecordID: zod_1.z.string().nullish().describe(`
|
|
7317
|
+
* * Field Name: ResourceRecordID
|
|
7318
|
+
* * Display Name: Resource Record ID
|
|
7319
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
6966
7320
|
User: zod_1.z.string().describe(`
|
|
6967
7321
|
* * Field Name: User
|
|
6968
7322
|
* * Display Name: User
|
|
@@ -7128,6 +7482,10 @@ exports.UserViewCategorySchema = zod_1.z.object({
|
|
|
7128
7482
|
* * Field Name: Parent
|
|
7129
7483
|
* * Display Name: Parent
|
|
7130
7484
|
* * SQL Data Type: nvarchar(100)`),
|
|
7485
|
+
Entity: zod_1.z.string().describe(`
|
|
7486
|
+
* * Field Name: Entity
|
|
7487
|
+
* * Display Name: Entity
|
|
7488
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
7131
7489
|
User: zod_1.z.string().describe(`
|
|
7132
7490
|
* * Field Name: User
|
|
7133
7491
|
* * Display Name: User
|
|
@@ -7923,6 +8281,14 @@ let ActionAuthorizationEntity = class ActionAuthorizationEntity extends core_1.B
|
|
|
7923
8281
|
get Action() {
|
|
7924
8282
|
return this.Get('Action');
|
|
7925
8283
|
}
|
|
8284
|
+
/**
|
|
8285
|
+
* * Field Name: Authorization
|
|
8286
|
+
* * Display Name: Authorization
|
|
8287
|
+
* * SQL Data Type: nvarchar(100)
|
|
8288
|
+
*/
|
|
8289
|
+
get Authorization() {
|
|
8290
|
+
return this.Get('Authorization');
|
|
8291
|
+
}
|
|
7926
8292
|
};
|
|
7927
8293
|
exports.ActionAuthorizationEntity = ActionAuthorizationEntity;
|
|
7928
8294
|
exports.ActionAuthorizationEntity = ActionAuthorizationEntity = __decorate([
|
|
@@ -9602,7 +9968,8 @@ let AIModelEntity = class AIModelEntity extends core_1.BaseEntity {
|
|
|
9602
9968
|
* * Field Name: PowerRank
|
|
9603
9969
|
* * Display Name: Power Rank
|
|
9604
9970
|
* * SQL Data Type: int
|
|
9605
|
-
* *
|
|
9971
|
+
* * Default Value: 0
|
|
9972
|
+
* * Description: Optional column that ranks the power of the AI model. Default is 0 and should be non-negative.
|
|
9606
9973
|
*/
|
|
9607
9974
|
get PowerRank() {
|
|
9608
9975
|
return this.Get('PowerRank');
|
|
@@ -9638,23 +10005,592 @@ let AIModelEntity = class AIModelEntity extends core_1.BaseEntity {
|
|
|
9638
10005
|
* * Display Name: Driver Import Path
|
|
9639
10006
|
* * SQL Data Type: nvarchar(255)
|
|
9640
10007
|
*/
|
|
9641
|
-
get DriverImportPath() {
|
|
9642
|
-
return this.Get('DriverImportPath');
|
|
10008
|
+
get DriverImportPath() {
|
|
10009
|
+
return this.Get('DriverImportPath');
|
|
10010
|
+
}
|
|
10011
|
+
set DriverImportPath(value) {
|
|
10012
|
+
this.Set('DriverImportPath', value);
|
|
10013
|
+
}
|
|
10014
|
+
/**
|
|
10015
|
+
* * Field Name: APIName
|
|
10016
|
+
* * Display Name: APIName
|
|
10017
|
+
* * SQL Data Type: nvarchar(100)
|
|
10018
|
+
* * Description: The name of the model to use with API calls which might differ from the Name, if APIName is not provided, Name will be used for API calls
|
|
10019
|
+
*/
|
|
10020
|
+
get APIName() {
|
|
10021
|
+
return this.Get('APIName');
|
|
10022
|
+
}
|
|
10023
|
+
set APIName(value) {
|
|
10024
|
+
this.Set('APIName', value);
|
|
10025
|
+
}
|
|
10026
|
+
/**
|
|
10027
|
+
* * Field Name: __mj_CreatedAt
|
|
10028
|
+
* * Display Name: Created At
|
|
10029
|
+
* * SQL Data Type: datetimeoffset
|
|
10030
|
+
* * Default Value: getutcdate()
|
|
10031
|
+
*/
|
|
10032
|
+
get __mj_CreatedAt() {
|
|
10033
|
+
return this.Get('__mj_CreatedAt');
|
|
10034
|
+
}
|
|
10035
|
+
/**
|
|
10036
|
+
* * Field Name: __mj_UpdatedAt
|
|
10037
|
+
* * Display Name: Updated At
|
|
10038
|
+
* * SQL Data Type: datetimeoffset
|
|
10039
|
+
* * Default Value: getutcdate()
|
|
10040
|
+
*/
|
|
10041
|
+
get __mj_UpdatedAt() {
|
|
10042
|
+
return this.Get('__mj_UpdatedAt');
|
|
10043
|
+
}
|
|
10044
|
+
/**
|
|
10045
|
+
* * Field Name: SpeedRank
|
|
10046
|
+
* * Display Name: Speed Rank
|
|
10047
|
+
* * SQL Data Type: int
|
|
10048
|
+
* * Default Value: 0
|
|
10049
|
+
* * Description: Optional column that ranks the speed of the AI model. Default is 0 and should be non-negative.
|
|
10050
|
+
*/
|
|
10051
|
+
get SpeedRank() {
|
|
10052
|
+
return this.Get('SpeedRank');
|
|
10053
|
+
}
|
|
10054
|
+
set SpeedRank(value) {
|
|
10055
|
+
this.Set('SpeedRank', value);
|
|
10056
|
+
}
|
|
10057
|
+
/**
|
|
10058
|
+
* * Field Name: CostRank
|
|
10059
|
+
* * Display Name: Cost Rank
|
|
10060
|
+
* * SQL Data Type: int
|
|
10061
|
+
* * Default Value: 0
|
|
10062
|
+
* * Description: Optional column that ranks the cost of the AI model. Default is 0 and should be non-negative.
|
|
10063
|
+
*/
|
|
10064
|
+
get CostRank() {
|
|
10065
|
+
return this.Get('CostRank');
|
|
10066
|
+
}
|
|
10067
|
+
set CostRank(value) {
|
|
10068
|
+
this.Set('CostRank', value);
|
|
10069
|
+
}
|
|
10070
|
+
/**
|
|
10071
|
+
* * Field Name: ModelSelectionInsights
|
|
10072
|
+
* * Display Name: Model Selection Insights
|
|
10073
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10074
|
+
* * Default Value: null
|
|
10075
|
+
* * Description: This column stores unstructured text notes that provide insights into what the model is particularly good at and areas where it may not perform as well. These notes can be used by a human or an AI to determine if the model is a good fit for various purposes.
|
|
10076
|
+
*/
|
|
10077
|
+
get ModelSelectionInsights() {
|
|
10078
|
+
return this.Get('ModelSelectionInsights');
|
|
10079
|
+
}
|
|
10080
|
+
set ModelSelectionInsights(value) {
|
|
10081
|
+
this.Set('ModelSelectionInsights', value);
|
|
10082
|
+
}
|
|
10083
|
+
/**
|
|
10084
|
+
* * Field Name: AIModelType
|
|
10085
|
+
* * Display Name: AIModel Type
|
|
10086
|
+
* * SQL Data Type: nvarchar(50)
|
|
10087
|
+
*/
|
|
10088
|
+
get AIModelType() {
|
|
10089
|
+
return this.Get('AIModelType');
|
|
10090
|
+
}
|
|
10091
|
+
};
|
|
10092
|
+
exports.AIModelEntity = AIModelEntity;
|
|
10093
|
+
exports.AIModelEntity = AIModelEntity = __decorate([
|
|
10094
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Models')
|
|
10095
|
+
], AIModelEntity);
|
|
10096
|
+
/**
|
|
10097
|
+
* AI Prompt Categories - strongly typed entity sub-class
|
|
10098
|
+
* * Schema: __mj
|
|
10099
|
+
* * Base Table: AIPromptCategory
|
|
10100
|
+
* * Base View: vwAIPromptCategories
|
|
10101
|
+
* * @description Categories for organizing AI prompts in a hierarchical structure.
|
|
10102
|
+
* * Primary Key: ID
|
|
10103
|
+
* @extends {BaseEntity}
|
|
10104
|
+
* @class
|
|
10105
|
+
* @public
|
|
10106
|
+
*/
|
|
10107
|
+
let AIPromptCategoryEntity = class AIPromptCategoryEntity extends core_1.BaseEntity {
|
|
10108
|
+
/**
|
|
10109
|
+
* Loads the AI Prompt Categories record from the database
|
|
10110
|
+
* @param ID: string - primary key value to load the AI Prompt Categories record.
|
|
10111
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
10112
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
10113
|
+
* @public
|
|
10114
|
+
* @async
|
|
10115
|
+
* @memberof AIPromptCategoryEntity
|
|
10116
|
+
* @method
|
|
10117
|
+
* @override
|
|
10118
|
+
*/
|
|
10119
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
10120
|
+
const compositeKey = new core_1.CompositeKey();
|
|
10121
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
10122
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
10123
|
+
}
|
|
10124
|
+
/**
|
|
10125
|
+
* * Field Name: ID
|
|
10126
|
+
* * Display Name: ID
|
|
10127
|
+
* * SQL Data Type: uniqueidentifier
|
|
10128
|
+
* * Default Value: newsequentialid()
|
|
10129
|
+
*/
|
|
10130
|
+
get ID() {
|
|
10131
|
+
return this.Get('ID');
|
|
10132
|
+
}
|
|
10133
|
+
/**
|
|
10134
|
+
* * Field Name: Name
|
|
10135
|
+
* * Display Name: Name
|
|
10136
|
+
* * SQL Data Type: nvarchar(255)
|
|
10137
|
+
*/
|
|
10138
|
+
get Name() {
|
|
10139
|
+
return this.Get('Name');
|
|
10140
|
+
}
|
|
10141
|
+
set Name(value) {
|
|
10142
|
+
this.Set('Name', value);
|
|
10143
|
+
}
|
|
10144
|
+
/**
|
|
10145
|
+
* * Field Name: ParentID
|
|
10146
|
+
* * Display Name: Parent ID
|
|
10147
|
+
* * SQL Data Type: uniqueidentifier
|
|
10148
|
+
* * Related Entity/Foreign Key: AI Prompt Categories (vwAIPromptCategories.ID)
|
|
10149
|
+
* * Description: Parent category ID for hierarchical organization.
|
|
10150
|
+
*/
|
|
10151
|
+
get ParentID() {
|
|
10152
|
+
return this.Get('ParentID');
|
|
10153
|
+
}
|
|
10154
|
+
set ParentID(value) {
|
|
10155
|
+
this.Set('ParentID', value);
|
|
10156
|
+
}
|
|
10157
|
+
/**
|
|
10158
|
+
* * Field Name: Description
|
|
10159
|
+
* * Display Name: Description
|
|
10160
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10161
|
+
*/
|
|
10162
|
+
get Description() {
|
|
10163
|
+
return this.Get('Description');
|
|
10164
|
+
}
|
|
10165
|
+
set Description(value) {
|
|
10166
|
+
this.Set('Description', value);
|
|
10167
|
+
}
|
|
10168
|
+
/**
|
|
10169
|
+
* * Field Name: __mj_CreatedAt
|
|
10170
|
+
* * Display Name: Created At
|
|
10171
|
+
* * SQL Data Type: datetimeoffset
|
|
10172
|
+
* * Default Value: getutcdate()
|
|
10173
|
+
*/
|
|
10174
|
+
get __mj_CreatedAt() {
|
|
10175
|
+
return this.Get('__mj_CreatedAt');
|
|
10176
|
+
}
|
|
10177
|
+
/**
|
|
10178
|
+
* * Field Name: __mj_UpdatedAt
|
|
10179
|
+
* * Display Name: Updated At
|
|
10180
|
+
* * SQL Data Type: datetimeoffset
|
|
10181
|
+
* * Default Value: getutcdate()
|
|
10182
|
+
*/
|
|
10183
|
+
get __mj_UpdatedAt() {
|
|
10184
|
+
return this.Get('__mj_UpdatedAt');
|
|
10185
|
+
}
|
|
10186
|
+
/**
|
|
10187
|
+
* * Field Name: Parent
|
|
10188
|
+
* * Display Name: Parent
|
|
10189
|
+
* * SQL Data Type: nvarchar(255)
|
|
10190
|
+
*/
|
|
10191
|
+
get Parent() {
|
|
10192
|
+
return this.Get('Parent');
|
|
10193
|
+
}
|
|
10194
|
+
};
|
|
10195
|
+
exports.AIPromptCategoryEntity = AIPromptCategoryEntity;
|
|
10196
|
+
exports.AIPromptCategoryEntity = AIPromptCategoryEntity = __decorate([
|
|
10197
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Prompt Categories')
|
|
10198
|
+
], AIPromptCategoryEntity);
|
|
10199
|
+
/**
|
|
10200
|
+
* AI Prompt Types - strongly typed entity sub-class
|
|
10201
|
+
* * Schema: __mj
|
|
10202
|
+
* * Base Table: AIPromptType
|
|
10203
|
+
* * Base View: vwAIPromptTypes
|
|
10204
|
+
* * @description Types of AI prompts such as Chat, Text-to-Image, Text-to-Video, etc.
|
|
10205
|
+
* * Primary Key: ID
|
|
10206
|
+
* @extends {BaseEntity}
|
|
10207
|
+
* @class
|
|
10208
|
+
* @public
|
|
10209
|
+
*/
|
|
10210
|
+
let AIPromptTypeEntity = class AIPromptTypeEntity extends core_1.BaseEntity {
|
|
10211
|
+
/**
|
|
10212
|
+
* Loads the AI Prompt Types record from the database
|
|
10213
|
+
* @param ID: string - primary key value to load the AI Prompt Types record.
|
|
10214
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
10215
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
10216
|
+
* @public
|
|
10217
|
+
* @async
|
|
10218
|
+
* @memberof AIPromptTypeEntity
|
|
10219
|
+
* @method
|
|
10220
|
+
* @override
|
|
10221
|
+
*/
|
|
10222
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
10223
|
+
const compositeKey = new core_1.CompositeKey();
|
|
10224
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
10225
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
10226
|
+
}
|
|
10227
|
+
/**
|
|
10228
|
+
* * Field Name: ID
|
|
10229
|
+
* * Display Name: ID
|
|
10230
|
+
* * SQL Data Type: uniqueidentifier
|
|
10231
|
+
* * Default Value: newsequentialid()
|
|
10232
|
+
*/
|
|
10233
|
+
get ID() {
|
|
10234
|
+
return this.Get('ID');
|
|
10235
|
+
}
|
|
10236
|
+
/**
|
|
10237
|
+
* * Field Name: Name
|
|
10238
|
+
* * Display Name: Name
|
|
10239
|
+
* * SQL Data Type: nvarchar(255)
|
|
10240
|
+
*/
|
|
10241
|
+
get Name() {
|
|
10242
|
+
return this.Get('Name');
|
|
10243
|
+
}
|
|
10244
|
+
set Name(value) {
|
|
10245
|
+
this.Set('Name', value);
|
|
10246
|
+
}
|
|
10247
|
+
/**
|
|
10248
|
+
* * Field Name: Description
|
|
10249
|
+
* * Display Name: Description
|
|
10250
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10251
|
+
*/
|
|
10252
|
+
get Description() {
|
|
10253
|
+
return this.Get('Description');
|
|
10254
|
+
}
|
|
10255
|
+
set Description(value) {
|
|
10256
|
+
this.Set('Description', value);
|
|
10257
|
+
}
|
|
10258
|
+
/**
|
|
10259
|
+
* * Field Name: __mj_CreatedAt
|
|
10260
|
+
* * Display Name: Created At
|
|
10261
|
+
* * SQL Data Type: datetimeoffset
|
|
10262
|
+
* * Default Value: getutcdate()
|
|
10263
|
+
*/
|
|
10264
|
+
get __mj_CreatedAt() {
|
|
10265
|
+
return this.Get('__mj_CreatedAt');
|
|
10266
|
+
}
|
|
10267
|
+
/**
|
|
10268
|
+
* * Field Name: __mj_UpdatedAt
|
|
10269
|
+
* * Display Name: Updated At
|
|
10270
|
+
* * SQL Data Type: datetimeoffset
|
|
10271
|
+
* * Default Value: getutcdate()
|
|
10272
|
+
*/
|
|
10273
|
+
get __mj_UpdatedAt() {
|
|
10274
|
+
return this.Get('__mj_UpdatedAt');
|
|
10275
|
+
}
|
|
10276
|
+
};
|
|
10277
|
+
exports.AIPromptTypeEntity = AIPromptTypeEntity;
|
|
10278
|
+
exports.AIPromptTypeEntity = AIPromptTypeEntity = __decorate([
|
|
10279
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Prompt Types')
|
|
10280
|
+
], AIPromptTypeEntity);
|
|
10281
|
+
/**
|
|
10282
|
+
* AI Prompts - strongly typed entity sub-class
|
|
10283
|
+
* * Schema: __mj
|
|
10284
|
+
* * Base Table: AIPrompt
|
|
10285
|
+
* * Base View: vwAIPrompts
|
|
10286
|
+
* * @description Stores AI prompts, including references to categories, types, and templates.
|
|
10287
|
+
* * Primary Key: ID
|
|
10288
|
+
* @extends {BaseEntity}
|
|
10289
|
+
* @class
|
|
10290
|
+
* @public
|
|
10291
|
+
*/
|
|
10292
|
+
let AIPromptEntity = class AIPromptEntity extends core_1.BaseEntity {
|
|
10293
|
+
/**
|
|
10294
|
+
* Loads the AI Prompts record from the database
|
|
10295
|
+
* @param ID: string - primary key value to load the AI Prompts record.
|
|
10296
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
10297
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
10298
|
+
* @public
|
|
10299
|
+
* @async
|
|
10300
|
+
* @memberof AIPromptEntity
|
|
10301
|
+
* @method
|
|
10302
|
+
* @override
|
|
10303
|
+
*/
|
|
10304
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
10305
|
+
const compositeKey = new core_1.CompositeKey();
|
|
10306
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
10307
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
10308
|
+
}
|
|
10309
|
+
/**
|
|
10310
|
+
* * Field Name: ID
|
|
10311
|
+
* * Display Name: ID
|
|
10312
|
+
* * SQL Data Type: uniqueidentifier
|
|
10313
|
+
* * Default Value: newsequentialid()
|
|
10314
|
+
*/
|
|
10315
|
+
get ID() {
|
|
10316
|
+
return this.Get('ID');
|
|
10317
|
+
}
|
|
10318
|
+
/**
|
|
10319
|
+
* * Field Name: Name
|
|
10320
|
+
* * Display Name: Name
|
|
10321
|
+
* * SQL Data Type: nvarchar(255)
|
|
10322
|
+
*/
|
|
10323
|
+
get Name() {
|
|
10324
|
+
return this.Get('Name');
|
|
10325
|
+
}
|
|
10326
|
+
set Name(value) {
|
|
10327
|
+
this.Set('Name', value);
|
|
10328
|
+
}
|
|
10329
|
+
/**
|
|
10330
|
+
* * Field Name: Description
|
|
10331
|
+
* * Display Name: Description
|
|
10332
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10333
|
+
*/
|
|
10334
|
+
get Description() {
|
|
10335
|
+
return this.Get('Description');
|
|
10336
|
+
}
|
|
10337
|
+
set Description(value) {
|
|
10338
|
+
this.Set('Description', value);
|
|
10339
|
+
}
|
|
10340
|
+
/**
|
|
10341
|
+
* * Field Name: TemplateID
|
|
10342
|
+
* * Display Name: Template ID
|
|
10343
|
+
* * SQL Data Type: uniqueidentifier
|
|
10344
|
+
* * Related Entity/Foreign Key: Templates (vwTemplates.ID)
|
|
10345
|
+
* * Description: Reference to the template used for the prompt.
|
|
10346
|
+
*/
|
|
10347
|
+
get TemplateID() {
|
|
10348
|
+
return this.Get('TemplateID');
|
|
10349
|
+
}
|
|
10350
|
+
set TemplateID(value) {
|
|
10351
|
+
this.Set('TemplateID', value);
|
|
10352
|
+
}
|
|
10353
|
+
/**
|
|
10354
|
+
* * Field Name: CategoryID
|
|
10355
|
+
* * Display Name: Category ID
|
|
10356
|
+
* * SQL Data Type: uniqueidentifier
|
|
10357
|
+
* * Related Entity/Foreign Key: AI Prompt Categories (vwAIPromptCategories.ID)
|
|
10358
|
+
* * Description: Reference to the category the prompt belongs to.
|
|
10359
|
+
*/
|
|
10360
|
+
get CategoryID() {
|
|
10361
|
+
return this.Get('CategoryID');
|
|
10362
|
+
}
|
|
10363
|
+
set CategoryID(value) {
|
|
10364
|
+
this.Set('CategoryID', value);
|
|
10365
|
+
}
|
|
10366
|
+
/**
|
|
10367
|
+
* * Field Name: TypeID
|
|
10368
|
+
* * Display Name: Type ID
|
|
10369
|
+
* * SQL Data Type: uniqueidentifier
|
|
10370
|
+
* * Related Entity/Foreign Key: AI Prompt Types (vwAIPromptTypes.ID)
|
|
10371
|
+
* * Description: Reference to the type of the prompt.
|
|
10372
|
+
*/
|
|
10373
|
+
get TypeID() {
|
|
10374
|
+
return this.Get('TypeID');
|
|
10375
|
+
}
|
|
10376
|
+
set TypeID(value) {
|
|
10377
|
+
this.Set('TypeID', value);
|
|
10378
|
+
}
|
|
10379
|
+
/**
|
|
10380
|
+
* * Field Name: Status
|
|
10381
|
+
* * Display Name: Status
|
|
10382
|
+
* * SQL Data Type: nvarchar(50)
|
|
10383
|
+
* * Value List Type: List
|
|
10384
|
+
* * Possible Values
|
|
10385
|
+
* * Pending
|
|
10386
|
+
* * Active
|
|
10387
|
+
* * Disabled
|
|
10388
|
+
*/
|
|
10389
|
+
get Status() {
|
|
10390
|
+
return this.Get('Status');
|
|
10391
|
+
}
|
|
10392
|
+
set Status(value) {
|
|
10393
|
+
this.Set('Status', value);
|
|
10394
|
+
}
|
|
10395
|
+
/**
|
|
10396
|
+
* * Field Name: CacheResults
|
|
10397
|
+
* * Display Name: Cache Results
|
|
10398
|
+
* * SQL Data Type: bit
|
|
10399
|
+
* * Default Value: 0
|
|
10400
|
+
* * Description: Indicates whether the results of the prompt should be cached.
|
|
10401
|
+
*/
|
|
10402
|
+
get CacheResults() {
|
|
10403
|
+
return this.Get('CacheResults');
|
|
10404
|
+
}
|
|
10405
|
+
set CacheResults(value) {
|
|
10406
|
+
this.Set('CacheResults', value);
|
|
10407
|
+
}
|
|
10408
|
+
/**
|
|
10409
|
+
* * Field Name: CacheExpiration
|
|
10410
|
+
* * Display Name: Cache Expiration
|
|
10411
|
+
* * SQL Data Type: decimal(10, 2)
|
|
10412
|
+
* * Default Value: 0
|
|
10413
|
+
* * Description: Number of hours the cache is valid for; can be fractional or 0 if the cache never expires.
|
|
10414
|
+
*/
|
|
10415
|
+
get CacheExpiration() {
|
|
10416
|
+
return this.Get('CacheExpiration');
|
|
10417
|
+
}
|
|
10418
|
+
set CacheExpiration(value) {
|
|
10419
|
+
this.Set('CacheExpiration', value);
|
|
10420
|
+
}
|
|
10421
|
+
/**
|
|
10422
|
+
* * Field Name: __mj_CreatedAt
|
|
10423
|
+
* * Display Name: Created At
|
|
10424
|
+
* * SQL Data Type: datetimeoffset
|
|
10425
|
+
* * Default Value: getutcdate()
|
|
10426
|
+
*/
|
|
10427
|
+
get __mj_CreatedAt() {
|
|
10428
|
+
return this.Get('__mj_CreatedAt');
|
|
10429
|
+
}
|
|
10430
|
+
/**
|
|
10431
|
+
* * Field Name: __mj_UpdatedAt
|
|
10432
|
+
* * Display Name: Updated At
|
|
10433
|
+
* * SQL Data Type: datetimeoffset
|
|
10434
|
+
* * Default Value: getutcdate()
|
|
10435
|
+
*/
|
|
10436
|
+
get __mj_UpdatedAt() {
|
|
10437
|
+
return this.Get('__mj_UpdatedAt');
|
|
10438
|
+
}
|
|
10439
|
+
/**
|
|
10440
|
+
* * Field Name: Template
|
|
10441
|
+
* * Display Name: Template
|
|
10442
|
+
* * SQL Data Type: nvarchar(255)
|
|
10443
|
+
*/
|
|
10444
|
+
get Template() {
|
|
10445
|
+
return this.Get('Template');
|
|
10446
|
+
}
|
|
10447
|
+
/**
|
|
10448
|
+
* * Field Name: Category
|
|
10449
|
+
* * Display Name: Category
|
|
10450
|
+
* * SQL Data Type: nvarchar(255)
|
|
10451
|
+
*/
|
|
10452
|
+
get Category() {
|
|
10453
|
+
return this.Get('Category');
|
|
10454
|
+
}
|
|
10455
|
+
/**
|
|
10456
|
+
* * Field Name: Type
|
|
10457
|
+
* * Display Name: Type
|
|
10458
|
+
* * SQL Data Type: nvarchar(255)
|
|
10459
|
+
*/
|
|
10460
|
+
get Type() {
|
|
10461
|
+
return this.Get('Type');
|
|
10462
|
+
}
|
|
10463
|
+
};
|
|
10464
|
+
exports.AIPromptEntity = AIPromptEntity;
|
|
10465
|
+
exports.AIPromptEntity = AIPromptEntity = __decorate([
|
|
10466
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Prompts')
|
|
10467
|
+
], AIPromptEntity);
|
|
10468
|
+
/**
|
|
10469
|
+
* AI Result Cache - strongly typed entity sub-class
|
|
10470
|
+
* * Schema: __mj
|
|
10471
|
+
* * Base Table: AIResultCache
|
|
10472
|
+
* * Base View: vwAIResultCaches
|
|
10473
|
+
* * @description Stores cached results of AI prompts, including multiple runs for history and tracking purposes.
|
|
10474
|
+
* * Primary Key: ID
|
|
10475
|
+
* @extends {BaseEntity}
|
|
10476
|
+
* @class
|
|
10477
|
+
* @public
|
|
10478
|
+
*/
|
|
10479
|
+
let AIResultCacheEntity = class AIResultCacheEntity extends core_1.BaseEntity {
|
|
10480
|
+
/**
|
|
10481
|
+
* Loads the AI Result Cache record from the database
|
|
10482
|
+
* @param ID: string - primary key value to load the AI Result Cache record.
|
|
10483
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
10484
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
10485
|
+
* @public
|
|
10486
|
+
* @async
|
|
10487
|
+
* @memberof AIResultCacheEntity
|
|
10488
|
+
* @method
|
|
10489
|
+
* @override
|
|
10490
|
+
*/
|
|
10491
|
+
async Load(ID, EntityRelationshipsToLoad = null) {
|
|
10492
|
+
const compositeKey = new core_1.CompositeKey();
|
|
10493
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
10494
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
10495
|
+
}
|
|
10496
|
+
/**
|
|
10497
|
+
* * Field Name: ID
|
|
10498
|
+
* * Display Name: ID
|
|
10499
|
+
* * SQL Data Type: uniqueidentifier
|
|
10500
|
+
* * Default Value: newsequentialid()
|
|
10501
|
+
*/
|
|
10502
|
+
get ID() {
|
|
10503
|
+
return this.Get('ID');
|
|
10504
|
+
}
|
|
10505
|
+
/**
|
|
10506
|
+
* * Field Name: AIPromptID
|
|
10507
|
+
* * Display Name: AIPrompt ID
|
|
10508
|
+
* * SQL Data Type: uniqueidentifier
|
|
10509
|
+
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
10510
|
+
* * Description: Reference to the AI prompt this result corresponds to.
|
|
10511
|
+
*/
|
|
10512
|
+
get AIPromptID() {
|
|
10513
|
+
return this.Get('AIPromptID');
|
|
10514
|
+
}
|
|
10515
|
+
set AIPromptID(value) {
|
|
10516
|
+
this.Set('AIPromptID', value);
|
|
10517
|
+
}
|
|
10518
|
+
/**
|
|
10519
|
+
* * Field Name: AIModelID
|
|
10520
|
+
* * Display Name: AIModel ID
|
|
10521
|
+
* * SQL Data Type: uniqueidentifier
|
|
10522
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
10523
|
+
* * Description: Reference to the AI model that generated this result.
|
|
10524
|
+
*/
|
|
10525
|
+
get AIModelID() {
|
|
10526
|
+
return this.Get('AIModelID');
|
|
10527
|
+
}
|
|
10528
|
+
set AIModelID(value) {
|
|
10529
|
+
this.Set('AIModelID', value);
|
|
10530
|
+
}
|
|
10531
|
+
/**
|
|
10532
|
+
* * Field Name: RunAt
|
|
10533
|
+
* * Display Name: Run At
|
|
10534
|
+
* * SQL Data Type: datetimeoffset
|
|
10535
|
+
* * Description: Timestamp of when this result was generated.
|
|
10536
|
+
*/
|
|
10537
|
+
get RunAt() {
|
|
10538
|
+
return this.Get('RunAt');
|
|
10539
|
+
}
|
|
10540
|
+
set RunAt(value) {
|
|
10541
|
+
this.Set('RunAt', value);
|
|
10542
|
+
}
|
|
10543
|
+
/**
|
|
10544
|
+
* * Field Name: PromptText
|
|
10545
|
+
* * Display Name: Prompt Text
|
|
10546
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10547
|
+
* * Description: The prompt text used to generate this result.
|
|
10548
|
+
*/
|
|
10549
|
+
get PromptText() {
|
|
10550
|
+
return this.Get('PromptText');
|
|
10551
|
+
}
|
|
10552
|
+
set PromptText(value) {
|
|
10553
|
+
this.Set('PromptText', value);
|
|
10554
|
+
}
|
|
10555
|
+
/**
|
|
10556
|
+
* * Field Name: ResultText
|
|
10557
|
+
* * Display Name: Result Text
|
|
10558
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
10559
|
+
* * Description: The text of the result generated by the AI model.
|
|
10560
|
+
*/
|
|
10561
|
+
get ResultText() {
|
|
10562
|
+
return this.Get('ResultText');
|
|
10563
|
+
}
|
|
10564
|
+
set ResultText(value) {
|
|
10565
|
+
this.Set('ResultText', value);
|
|
10566
|
+
}
|
|
10567
|
+
/**
|
|
10568
|
+
* * Field Name: Status
|
|
10569
|
+
* * Display Name: Status
|
|
10570
|
+
* * SQL Data Type: nvarchar(50)
|
|
10571
|
+
* * Value List Type: List
|
|
10572
|
+
* * Possible Values
|
|
10573
|
+
* * Active
|
|
10574
|
+
* * Expired
|
|
10575
|
+
* * Description: The status of this result, indicating whether it is currently active or expired.
|
|
10576
|
+
*/
|
|
10577
|
+
get Status() {
|
|
10578
|
+
return this.Get('Status');
|
|
9643
10579
|
}
|
|
9644
|
-
set
|
|
9645
|
-
this.Set('
|
|
10580
|
+
set Status(value) {
|
|
10581
|
+
this.Set('Status', value);
|
|
9646
10582
|
}
|
|
9647
10583
|
/**
|
|
9648
|
-
* * Field Name:
|
|
9649
|
-
* * Display Name:
|
|
9650
|
-
* * SQL Data Type:
|
|
9651
|
-
* * Description:
|
|
10584
|
+
* * Field Name: ExpiredOn
|
|
10585
|
+
* * Display Name: Expired On
|
|
10586
|
+
* * SQL Data Type: datetimeoffset
|
|
10587
|
+
* * Description: Timestamp of when this result was marked as expired.
|
|
9652
10588
|
*/
|
|
9653
|
-
get
|
|
9654
|
-
return this.Get('
|
|
10589
|
+
get ExpiredOn() {
|
|
10590
|
+
return this.Get('ExpiredOn');
|
|
9655
10591
|
}
|
|
9656
|
-
set
|
|
9657
|
-
this.Set('
|
|
10592
|
+
set ExpiredOn(value) {
|
|
10593
|
+
this.Set('ExpiredOn', value);
|
|
9658
10594
|
}
|
|
9659
10595
|
/**
|
|
9660
10596
|
* * Field Name: __mj_CreatedAt
|
|
@@ -9675,18 +10611,26 @@ let AIModelEntity = class AIModelEntity extends core_1.BaseEntity {
|
|
|
9675
10611
|
return this.Get('__mj_UpdatedAt');
|
|
9676
10612
|
}
|
|
9677
10613
|
/**
|
|
9678
|
-
* * Field Name:
|
|
9679
|
-
* * Display Name:
|
|
10614
|
+
* * Field Name: AIPrompt
|
|
10615
|
+
* * Display Name: AIPrompt
|
|
10616
|
+
* * SQL Data Type: nvarchar(255)
|
|
10617
|
+
*/
|
|
10618
|
+
get AIPrompt() {
|
|
10619
|
+
return this.Get('AIPrompt');
|
|
10620
|
+
}
|
|
10621
|
+
/**
|
|
10622
|
+
* * Field Name: AIModel
|
|
10623
|
+
* * Display Name: AIModel
|
|
9680
10624
|
* * SQL Data Type: nvarchar(50)
|
|
9681
10625
|
*/
|
|
9682
|
-
get
|
|
9683
|
-
return this.Get('
|
|
10626
|
+
get AIModel() {
|
|
10627
|
+
return this.Get('AIModel');
|
|
9684
10628
|
}
|
|
9685
10629
|
};
|
|
9686
|
-
exports.
|
|
9687
|
-
exports.
|
|
9688
|
-
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI
|
|
9689
|
-
],
|
|
10630
|
+
exports.AIResultCacheEntity = AIResultCacheEntity;
|
|
10631
|
+
exports.AIResultCacheEntity = AIResultCacheEntity = __decorate([
|
|
10632
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'AI Result Cache')
|
|
10633
|
+
], AIResultCacheEntity);
|
|
9690
10634
|
/**
|
|
9691
10635
|
* Application Entities - strongly typed entity sub-class
|
|
9692
10636
|
* * Schema: __mj
|
|
@@ -9938,6 +10882,14 @@ let ApplicationSettingEntity = class ApplicationSettingEntity extends core_1.Bas
|
|
|
9938
10882
|
get __mj_UpdatedAt() {
|
|
9939
10883
|
return this.Get('__mj_UpdatedAt');
|
|
9940
10884
|
}
|
|
10885
|
+
/**
|
|
10886
|
+
* * Field Name: Application
|
|
10887
|
+
* * Display Name: Application
|
|
10888
|
+
* * SQL Data Type: nvarchar(100)
|
|
10889
|
+
*/
|
|
10890
|
+
get Application() {
|
|
10891
|
+
return this.Get('Application');
|
|
10892
|
+
}
|
|
9941
10893
|
};
|
|
9942
10894
|
exports.ApplicationSettingEntity = ApplicationSettingEntity;
|
|
9943
10895
|
exports.ApplicationSettingEntity = ApplicationSettingEntity = __decorate([
|
|
@@ -10177,6 +11129,14 @@ let AuditLogTypeEntity = class AuditLogTypeEntity extends core_1.BaseEntity {
|
|
|
10177
11129
|
get Parent() {
|
|
10178
11130
|
return this.Get('Parent');
|
|
10179
11131
|
}
|
|
11132
|
+
/**
|
|
11133
|
+
* * Field Name: Authorization
|
|
11134
|
+
* * Display Name: Authorization
|
|
11135
|
+
* * SQL Data Type: nvarchar(100)
|
|
11136
|
+
*/
|
|
11137
|
+
get Authorization() {
|
|
11138
|
+
return this.Get('Authorization');
|
|
11139
|
+
}
|
|
10180
11140
|
};
|
|
10181
11141
|
exports.AuditLogTypeEntity = AuditLogTypeEntity;
|
|
10182
11142
|
exports.AuditLogTypeEntity = AuditLogTypeEntity = __decorate([
|
|
@@ -10353,6 +11313,22 @@ let AuditLogEntity = class AuditLogEntity extends core_1.BaseEntity {
|
|
|
10353
11313
|
return this.Get('User');
|
|
10354
11314
|
}
|
|
10355
11315
|
/**
|
|
11316
|
+
* * Field Name: AuditLogType
|
|
11317
|
+
* * Display Name: Audit Log Type
|
|
11318
|
+
* * SQL Data Type: nvarchar(50)
|
|
11319
|
+
*/
|
|
11320
|
+
get AuditLogType() {
|
|
11321
|
+
return this.Get('AuditLogType');
|
|
11322
|
+
}
|
|
11323
|
+
/**
|
|
11324
|
+
* * Field Name: Authorization
|
|
11325
|
+
* * Display Name: Authorization
|
|
11326
|
+
* * SQL Data Type: nvarchar(100)
|
|
11327
|
+
*/
|
|
11328
|
+
get Authorization() {
|
|
11329
|
+
return this.Get('Authorization');
|
|
11330
|
+
}
|
|
11331
|
+
/**
|
|
10356
11332
|
* * Field Name: Entity
|
|
10357
11333
|
* * Display Name: Entity
|
|
10358
11334
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -10481,6 +11457,22 @@ let AuthorizationRoleEntity = class AuthorizationRoleEntity extends core_1.BaseE
|
|
|
10481
11457
|
get __mj_UpdatedAt() {
|
|
10482
11458
|
return this.Get('__mj_UpdatedAt');
|
|
10483
11459
|
}
|
|
11460
|
+
/**
|
|
11461
|
+
* * Field Name: Authorization
|
|
11462
|
+
* * Display Name: Authorization
|
|
11463
|
+
* * SQL Data Type: nvarchar(100)
|
|
11464
|
+
*/
|
|
11465
|
+
get Authorization() {
|
|
11466
|
+
return this.Get('Authorization');
|
|
11467
|
+
}
|
|
11468
|
+
/**
|
|
11469
|
+
* * Field Name: Role
|
|
11470
|
+
* * Display Name: Role
|
|
11471
|
+
* * SQL Data Type: nvarchar(50)
|
|
11472
|
+
*/
|
|
11473
|
+
get Role() {
|
|
11474
|
+
return this.Get('Role');
|
|
11475
|
+
}
|
|
10484
11476
|
};
|
|
10485
11477
|
exports.AuthorizationRoleEntity = AuthorizationRoleEntity;
|
|
10486
11478
|
exports.AuthorizationRoleEntity = AuthorizationRoleEntity = __decorate([
|
|
@@ -12083,6 +13075,7 @@ let CompanyIntegrationRunEntity = class CompanyIntegrationRunEntity extends core
|
|
|
12083
13075
|
* * Field Name: RunByUser
|
|
12084
13076
|
* * Display Name: Run By User
|
|
12085
13077
|
* * SQL Data Type: nvarchar(100)
|
|
13078
|
+
* * Default Value: null
|
|
12086
13079
|
*/
|
|
12087
13080
|
get RunByUser() {
|
|
12088
13081
|
return this.Get('RunByUser');
|
|
@@ -12665,6 +13658,14 @@ let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
|
|
|
12665
13658
|
get LinkedEntity() {
|
|
12666
13659
|
return this.Get('LinkedEntity');
|
|
12667
13660
|
}
|
|
13661
|
+
/**
|
|
13662
|
+
* * Field Name: DataContext
|
|
13663
|
+
* * Display Name: Data Context
|
|
13664
|
+
* * SQL Data Type: nvarchar(255)
|
|
13665
|
+
*/
|
|
13666
|
+
get DataContext() {
|
|
13667
|
+
return this.Get('DataContext');
|
|
13668
|
+
}
|
|
12668
13669
|
};
|
|
12669
13670
|
exports.ConversationEntity = ConversationEntity;
|
|
12670
13671
|
exports.ConversationEntity = ConversationEntity = __decorate([
|
|
@@ -13402,6 +14403,14 @@ let DatasetItemEntity = class DatasetItemEntity extends core_1.BaseEntity {
|
|
|
13402
14403
|
return this.Get('__mj_UpdatedAt');
|
|
13403
14404
|
}
|
|
13404
14405
|
/**
|
|
14406
|
+
* * Field Name: Dataset
|
|
14407
|
+
* * Display Name: Dataset
|
|
14408
|
+
* * SQL Data Type: nvarchar(100)
|
|
14409
|
+
*/
|
|
14410
|
+
get Dataset() {
|
|
14411
|
+
return this.Get('Dataset');
|
|
14412
|
+
}
|
|
14413
|
+
/**
|
|
13405
14414
|
* * Field Name: Entity
|
|
13406
14415
|
* * Display Name: Entity
|
|
13407
14416
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -16851,6 +17860,30 @@ let EntityDocumentEntity = class EntityDocumentEntity extends core_1.BaseEntity
|
|
|
16851
17860
|
get Entity() {
|
|
16852
17861
|
return this.Get('Entity');
|
|
16853
17862
|
}
|
|
17863
|
+
/**
|
|
17864
|
+
* * Field Name: VectorDatabase
|
|
17865
|
+
* * Display Name: Vector Database
|
|
17866
|
+
* * SQL Data Type: nvarchar(100)
|
|
17867
|
+
*/
|
|
17868
|
+
get VectorDatabase() {
|
|
17869
|
+
return this.Get('VectorDatabase');
|
|
17870
|
+
}
|
|
17871
|
+
/**
|
|
17872
|
+
* * Field Name: Template
|
|
17873
|
+
* * Display Name: Template
|
|
17874
|
+
* * SQL Data Type: nvarchar(255)
|
|
17875
|
+
*/
|
|
17876
|
+
get Template() {
|
|
17877
|
+
return this.Get('Template');
|
|
17878
|
+
}
|
|
17879
|
+
/**
|
|
17880
|
+
* * Field Name: AIModel
|
|
17881
|
+
* * Display Name: AIModel
|
|
17882
|
+
* * SQL Data Type: nvarchar(50)
|
|
17883
|
+
*/
|
|
17884
|
+
get AIModel() {
|
|
17885
|
+
return this.Get('AIModel');
|
|
17886
|
+
}
|
|
16854
17887
|
};
|
|
16855
17888
|
exports.EntityDocumentEntity = EntityDocumentEntity;
|
|
16856
17889
|
exports.EntityDocumentEntity = EntityDocumentEntity = __decorate([
|
|
@@ -18005,6 +19038,30 @@ let EntityRecordDocumentEntity = class EntityRecordDocumentEntity extends core_1
|
|
|
18005
19038
|
get __mj_UpdatedAt() {
|
|
18006
19039
|
return this.Get('__mj_UpdatedAt');
|
|
18007
19040
|
}
|
|
19041
|
+
/**
|
|
19042
|
+
* * Field Name: Entity
|
|
19043
|
+
* * Display Name: Entity
|
|
19044
|
+
* * SQL Data Type: nvarchar(255)
|
|
19045
|
+
*/
|
|
19046
|
+
get Entity() {
|
|
19047
|
+
return this.Get('Entity');
|
|
19048
|
+
}
|
|
19049
|
+
/**
|
|
19050
|
+
* * Field Name: EntityDocument
|
|
19051
|
+
* * Display Name: Entity Document
|
|
19052
|
+
* * SQL Data Type: nvarchar(250)
|
|
19053
|
+
*/
|
|
19054
|
+
get EntityDocument() {
|
|
19055
|
+
return this.Get('EntityDocument');
|
|
19056
|
+
}
|
|
19057
|
+
/**
|
|
19058
|
+
* * Field Name: VectorIndex
|
|
19059
|
+
* * Display Name: Vector Index
|
|
19060
|
+
* * SQL Data Type: nvarchar(255)
|
|
19061
|
+
*/
|
|
19062
|
+
get VectorIndex() {
|
|
19063
|
+
return this.Get('VectorIndex');
|
|
19064
|
+
}
|
|
18008
19065
|
};
|
|
18009
19066
|
exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity;
|
|
18010
19067
|
exports.EntityRecordDocumentEntity = EntityRecordDocumentEntity = __decorate([
|
|
@@ -20272,6 +21329,22 @@ let ListCategoryEntity = class ListCategoryEntity extends core_1.BaseEntity {
|
|
|
20272
21329
|
get __mj_UpdatedAt() {
|
|
20273
21330
|
return this.Get('__mj_UpdatedAt');
|
|
20274
21331
|
}
|
|
21332
|
+
/**
|
|
21333
|
+
* * Field Name: Parent
|
|
21334
|
+
* * Display Name: Parent
|
|
21335
|
+
* * SQL Data Type: nvarchar(100)
|
|
21336
|
+
*/
|
|
21337
|
+
get Parent() {
|
|
21338
|
+
return this.Get('Parent');
|
|
21339
|
+
}
|
|
21340
|
+
/**
|
|
21341
|
+
* * Field Name: User
|
|
21342
|
+
* * Display Name: User
|
|
21343
|
+
* * SQL Data Type: nvarchar(100)
|
|
21344
|
+
*/
|
|
21345
|
+
get User() {
|
|
21346
|
+
return this.Get('User');
|
|
21347
|
+
}
|
|
20275
21348
|
};
|
|
20276
21349
|
exports.ListCategoryEntity = ListCategoryEntity;
|
|
20277
21350
|
exports.ListCategoryEntity = ListCategoryEntity = __decorate([
|
|
@@ -20366,6 +21439,40 @@ let ListDetailEntity = class ListDetailEntity extends core_1.BaseEntity {
|
|
|
20366
21439
|
return this.Get('__mj_UpdatedAt');
|
|
20367
21440
|
}
|
|
20368
21441
|
/**
|
|
21442
|
+
* * Field Name: Status
|
|
21443
|
+
* * Display Name: Status
|
|
21444
|
+
* * SQL Data Type: nvarchar(30)
|
|
21445
|
+
* * Default Value: Pending
|
|
21446
|
+
* * Value List Type: List
|
|
21447
|
+
* * Possible Values
|
|
21448
|
+
* * Pending
|
|
21449
|
+
* * Active
|
|
21450
|
+
* * Disabled
|
|
21451
|
+
* * Rejected
|
|
21452
|
+
* * Complete
|
|
21453
|
+
* * Error
|
|
21454
|
+
* * Other
|
|
21455
|
+
* * Description: Tracks the status of each individual list detail row to enable processing of various types and the use of the status column for filtering list detail rows within a list that are in a particular state.
|
|
21456
|
+
*/
|
|
21457
|
+
get Status() {
|
|
21458
|
+
return this.Get('Status');
|
|
21459
|
+
}
|
|
21460
|
+
set Status(value) {
|
|
21461
|
+
this.Set('Status', value);
|
|
21462
|
+
}
|
|
21463
|
+
/**
|
|
21464
|
+
* * Field Name: AdditionalData
|
|
21465
|
+
* * Display Name: Additional Data
|
|
21466
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
21467
|
+
* * Description: Optional column that allows for tracking any additional data for each ListDetail row
|
|
21468
|
+
*/
|
|
21469
|
+
get AdditionalData() {
|
|
21470
|
+
return this.Get('AdditionalData');
|
|
21471
|
+
}
|
|
21472
|
+
set AdditionalData(value) {
|
|
21473
|
+
this.Set('AdditionalData', value);
|
|
21474
|
+
}
|
|
21475
|
+
/**
|
|
20369
21476
|
* * Field Name: List
|
|
20370
21477
|
* * Display Name: List
|
|
20371
21478
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -20527,6 +21634,14 @@ let ListEntity = class ListEntity extends core_1.BaseEntity {
|
|
|
20527
21634
|
get User() {
|
|
20528
21635
|
return this.Get('User');
|
|
20529
21636
|
}
|
|
21637
|
+
/**
|
|
21638
|
+
* * Field Name: Category
|
|
21639
|
+
* * Display Name: Category
|
|
21640
|
+
* * SQL Data Type: nvarchar(100)
|
|
21641
|
+
*/
|
|
21642
|
+
get Category() {
|
|
21643
|
+
return this.Get('Category');
|
|
21644
|
+
}
|
|
20530
21645
|
};
|
|
20531
21646
|
exports.ListEntity = ListEntity;
|
|
20532
21647
|
exports.ListEntity = ListEntity = __decorate([
|
|
@@ -21497,6 +22612,22 @@ let QueryPermissionEntity = class QueryPermissionEntity extends core_1.BaseEntit
|
|
|
21497
22612
|
get __mj_UpdatedAt() {
|
|
21498
22613
|
return this.Get('__mj_UpdatedAt');
|
|
21499
22614
|
}
|
|
22615
|
+
/**
|
|
22616
|
+
* * Field Name: Query
|
|
22617
|
+
* * Display Name: Query
|
|
22618
|
+
* * SQL Data Type: nvarchar(255)
|
|
22619
|
+
*/
|
|
22620
|
+
get Query() {
|
|
22621
|
+
return this.Get('Query');
|
|
22622
|
+
}
|
|
22623
|
+
/**
|
|
22624
|
+
* * Field Name: Role
|
|
22625
|
+
* * Display Name: Role
|
|
22626
|
+
* * SQL Data Type: nvarchar(50)
|
|
22627
|
+
*/
|
|
22628
|
+
get Role() {
|
|
22629
|
+
return this.Get('Role');
|
|
22630
|
+
}
|
|
21500
22631
|
};
|
|
21501
22632
|
exports.QueryPermissionEntity = QueryPermissionEntity;
|
|
21502
22633
|
exports.QueryPermissionEntity = QueryPermissionEntity = __decorate([
|
|
@@ -23317,6 +24448,14 @@ let RecordMergeLogEntity = class RecordMergeLogEntity extends core_1.BaseEntity
|
|
|
23317
24448
|
get InitiatedByUser() {
|
|
23318
24449
|
return this.Get('InitiatedByUser');
|
|
23319
24450
|
}
|
|
24451
|
+
/**
|
|
24452
|
+
* * Field Name: ApprovedByUser
|
|
24453
|
+
* * Display Name: Approved By User
|
|
24454
|
+
* * SQL Data Type: nvarchar(100)
|
|
24455
|
+
*/
|
|
24456
|
+
get ApprovedByUser() {
|
|
24457
|
+
return this.Get('ApprovedByUser');
|
|
24458
|
+
}
|
|
23320
24459
|
};
|
|
23321
24460
|
exports.RecordMergeLogEntity = RecordMergeLogEntity;
|
|
23322
24461
|
exports.RecordMergeLogEntity = RecordMergeLogEntity = __decorate([
|
|
@@ -24333,6 +25472,22 @@ let ScheduledActionParamEntity = class ScheduledActionParamEntity extends core_1
|
|
|
24333
25472
|
get __mj_UpdatedAt() {
|
|
24334
25473
|
return this.Get('__mj_UpdatedAt');
|
|
24335
25474
|
}
|
|
25475
|
+
/**
|
|
25476
|
+
* * Field Name: ScheduledAction
|
|
25477
|
+
* * Display Name: Scheduled Action
|
|
25478
|
+
* * SQL Data Type: nvarchar(255)
|
|
25479
|
+
*/
|
|
25480
|
+
get ScheduledAction() {
|
|
25481
|
+
return this.Get('ScheduledAction');
|
|
25482
|
+
}
|
|
25483
|
+
/**
|
|
25484
|
+
* * Field Name: ActionParam
|
|
25485
|
+
* * Display Name: Action Param
|
|
25486
|
+
* * SQL Data Type: nvarchar(255)
|
|
25487
|
+
*/
|
|
25488
|
+
get ActionParam() {
|
|
25489
|
+
return this.Get('ActionParam');
|
|
25490
|
+
}
|
|
24336
25491
|
};
|
|
24337
25492
|
exports.ScheduledActionParamEntity = ScheduledActionParamEntity;
|
|
24338
25493
|
exports.ScheduledActionParamEntity = ScheduledActionParamEntity = __decorate([
|
|
@@ -24560,6 +25715,22 @@ let ScheduledActionEntity = class ScheduledActionEntity extends core_1.BaseEntit
|
|
|
24560
25715
|
get __mj_UpdatedAt() {
|
|
24561
25716
|
return this.Get('__mj_UpdatedAt');
|
|
24562
25717
|
}
|
|
25718
|
+
/**
|
|
25719
|
+
* * Field Name: CreatedByUser
|
|
25720
|
+
* * Display Name: Created By User
|
|
25721
|
+
* * SQL Data Type: nvarchar(100)
|
|
25722
|
+
*/
|
|
25723
|
+
get CreatedByUser() {
|
|
25724
|
+
return this.Get('CreatedByUser');
|
|
25725
|
+
}
|
|
25726
|
+
/**
|
|
25727
|
+
* * Field Name: Action
|
|
25728
|
+
* * Display Name: Action
|
|
25729
|
+
* * SQL Data Type: nvarchar(425)
|
|
25730
|
+
*/
|
|
25731
|
+
get Action() {
|
|
25732
|
+
return this.Get('Action');
|
|
25733
|
+
}
|
|
24563
25734
|
};
|
|
24564
25735
|
exports.ScheduledActionEntity = ScheduledActionEntity;
|
|
24565
25736
|
exports.ScheduledActionEntity = ScheduledActionEntity = __decorate([
|
|
@@ -26297,17 +27468,6 @@ let UserNotificationEntity = class UserNotificationEntity extends core_1.BaseEnt
|
|
|
26297
27468
|
this.Set('ResourceTypeID', value);
|
|
26298
27469
|
}
|
|
26299
27470
|
/**
|
|
26300
|
-
* * Field Name: ResourceRecordID
|
|
26301
|
-
* * Display Name: Resource Record ID
|
|
26302
|
-
* * SQL Data Type: uniqueidentifier
|
|
26303
|
-
*/
|
|
26304
|
-
get ResourceRecordID() {
|
|
26305
|
-
return this.Get('ResourceRecordID');
|
|
26306
|
-
}
|
|
26307
|
-
set ResourceRecordID(value) {
|
|
26308
|
-
this.Set('ResourceRecordID', value);
|
|
26309
|
-
}
|
|
26310
|
-
/**
|
|
26311
27471
|
* * Field Name: ResourceConfiguration
|
|
26312
27472
|
* * Display Name: Resource Configuration
|
|
26313
27473
|
* * SQL Data Type: nvarchar(MAX)
|
|
@@ -26360,6 +27520,17 @@ let UserNotificationEntity = class UserNotificationEntity extends core_1.BaseEnt
|
|
|
26360
27520
|
return this.Get('__mj_UpdatedAt');
|
|
26361
27521
|
}
|
|
26362
27522
|
/**
|
|
27523
|
+
* * Field Name: ResourceRecordID
|
|
27524
|
+
* * Display Name: Resource Record ID
|
|
27525
|
+
* * SQL Data Type: uniqueidentifier
|
|
27526
|
+
*/
|
|
27527
|
+
get ResourceRecordID() {
|
|
27528
|
+
return this.Get('ResourceRecordID');
|
|
27529
|
+
}
|
|
27530
|
+
set ResourceRecordID(value) {
|
|
27531
|
+
this.Set('ResourceRecordID', value);
|
|
27532
|
+
}
|
|
27533
|
+
/**
|
|
26363
27534
|
* * Field Name: User
|
|
26364
27535
|
* * Display Name: User
|
|
26365
27536
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -26788,6 +27959,14 @@ let UserViewCategoryEntity = class UserViewCategoryEntity extends core_1.BaseEnt
|
|
|
26788
27959
|
return this.Get('Parent');
|
|
26789
27960
|
}
|
|
26790
27961
|
/**
|
|
27962
|
+
* * Field Name: Entity
|
|
27963
|
+
* * Display Name: Entity
|
|
27964
|
+
* * SQL Data Type: nvarchar(255)
|
|
27965
|
+
*/
|
|
27966
|
+
get Entity() {
|
|
27967
|
+
return this.Get('Entity');
|
|
27968
|
+
}
|
|
27969
|
+
/**
|
|
26791
27970
|
* * Field Name: User
|
|
26792
27971
|
* * Display Name: User
|
|
26793
27972
|
* * SQL Data Type: nvarchar(100)
|