@memberjunction/server 1.7.1 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +381 -1
- package/CHANGELOG.md +79 -2
- package/dist/generated/generated.d.ts +718 -438
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +2015 -559
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts +2 -2
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +42 -8
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/resolvers/AskSkipResolver.js +8 -8
- package/dist/resolvers/AskSkipResolver.js.map +1 -1
- package/dist/resolvers/EntityCommunicationsResolver.d.ts +4 -4
- package/dist/resolvers/EntityCommunicationsResolver.d.ts.map +1 -1
- package/dist/resolvers/EntityCommunicationsResolver.js +4 -4
- package/dist/resolvers/EntityCommunicationsResolver.js.map +1 -1
- package/dist/resolvers/FileResolver.d.ts +1 -1
- package/dist/resolvers/UserResolver.d.ts.map +1 -1
- package/dist/resolvers/UserResolver.js +5 -3
- package/dist/resolvers/UserResolver.js.map +1 -1
- package/package.json +21 -21
- package/src/generated/generated.ts +1594 -543
- package/src/generic/ResolverBase.ts +52 -11
- package/src/index.ts +15 -8
- package/src/resolvers/AskSkipResolver.ts +9 -9
- package/src/resolvers/EntityCommunicationsResolver.ts +5 -5
- package/src/resolvers/UserResolver.ts +5 -3
|
@@ -38,15 +38,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.UpdateEntityFieldInput = exports.CreateEntityFieldInput = exports.EntityField_ = exports.CompanyIntegrationResolver = exports.RunCompanyIntegrationViewResult = exports.UpdateCompanyIntegrationInput = exports.CompanyIntegration_ = exports.IntegrationResolver = exports.RunIntegrationViewResult = exports.UpdateIntegrationInput = exports.Integration_ = exports.IntegrationURLFormatResolver = exports.RunIntegrationURLFormatViewResult = exports.UpdateIntegrationURLFormatInput = exports.IntegrationURLFormat_ = exports.SkillResolver = exports.RunSkillViewResult = exports.Skill_ = exports.RoleResolver = exports.RunRoleViewResult = exports.UpdateRoleInput = exports.CreateRoleInput = exports.Role_ = exports.EmployeeSkillResolver = exports.RunEmployeeSkillViewResult = exports.UpdateEmployeeSkillInput = exports.EmployeeSkill_ = exports.EmployeeRoleResolver = exports.RunEmployeeRoleViewResult = exports.UpdateEmployeeRoleInput = exports.EmployeeRole_ = exports.EmployeeCompanyIntegrationResolver = exports.RunEmployeeCompanyIntegrationViewResult = exports.UpdateEmployeeCompanyIntegrationInput = exports.EmployeeCompanyIntegration_ = exports.UserFavoriteResolverBase = exports.RunUserFavoriteViewResult = exports.UpdateUserFavoriteInput = exports.CreateUserFavoriteInput = exports.UserFavorite_ = exports.EmployeeResolver = exports.RunEmployeeViewResult = exports.UpdateEmployeeInput = exports.CreateEmployeeInput = exports.Employee_ = exports.CompanyResolver = exports.RunCompanyViewResult = exports.UpdateCompanyInput = exports.CreateCompanyInput = exports.Company_ = void 0;
|
|
39
39
|
exports.CreateEntityPermissionInput = exports.EntityPermission_ = exports.ApplicationEntityResolver = exports.RunApplicationEntityViewResult = exports.UpdateApplicationEntityInput = exports.CreateApplicationEntityInput = exports.ApplicationEntity_ = exports.ApplicationResolver = exports.RunApplicationViewResult = exports.UpdateApplicationInput = exports.CreateApplicationInput = exports.Application_ = exports.ErrorLogResolver = exports.RunErrorLogViewResult = exports.UpdateErrorLogInput = exports.ErrorLog_ = exports.CompanyIntegrationRunDetailResolver = exports.RunCompanyIntegrationRunDetailViewResult = exports.UpdateCompanyIntegrationRunDetailInput = exports.CompanyIntegrationRunDetail_ = exports.CompanyIntegrationRunResolver = exports.RunCompanyIntegrationRunViewResult = exports.UpdateCompanyIntegrationRunInput = exports.CompanyIntegrationRun_ = exports.UserViewResolverBase = exports.RunUserViewViewResult = exports.UpdateUserViewInput = exports.CreateUserViewInput = exports.UserView_ = exports.UserRecordLogResolver = exports.RunUserRecordLogViewResult = exports.UpdateUserRecordLogInput = exports.UserRecordLog_ = exports.EntityRelationshipResolver = exports.RunEntityRelationshipViewResult = exports.UpdateEntityRelationshipInput = exports.CreateEntityRelationshipInput = exports.EntityRelationship_ = exports.UserResolverBase = exports.RunUserViewResult = exports.UpdateUserInput = exports.CreateUserInput = exports.User_ = exports.EntityResolverBase = exports.RunEntityViewResult = exports.UpdateEntityInput = exports.CreateEntityInput = exports.Entity_ = exports.EntityFieldResolver = exports.RunEntityFieldViewResult = void 0;
|
|
40
40
|
exports.RecordChange_ = exports.WorkflowEngineResolver = exports.RunWorkflowEngineViewResult = exports.UpdateWorkflowEngineInput = exports.WorkflowEngine_ = exports.WorkflowResolver = exports.RunWorkflowViewResult = exports.UpdateWorkflowInput = exports.Workflow_ = exports.WorkflowRunResolver = exports.RunWorkflowRunViewResult = exports.UpdateWorkflowRunInput = exports.WorkflowRun_ = exports.UserViewRunDetailResolver = exports.RunUserViewRunDetailViewResult = exports.UpdateUserViewRunDetailInput = exports.CreateUserViewRunDetailInput = exports.UserViewRunDetail_ = exports.UserViewRunResolver = exports.RunUserViewRunViewResult = exports.UpdateUserViewRunInput = exports.CreateUserViewRunInput = exports.UserViewRun_ = exports.ListDetailResolver = exports.RunListDetailViewResult = exports.UpdateListDetailInput = exports.CreateListDetailInput = exports.ListDetail_ = exports.ListResolver = exports.RunListViewResult = exports.UpdateListInput = exports.CreateListInput = exports.List_ = exports.CompanyIntegrationRunAPILogResolver = exports.RunCompanyIntegrationRunAPILogViewResult = exports.UpdateCompanyIntegrationRunAPILogInput = exports.CompanyIntegrationRunAPILog_ = exports.UserApplicationResolver = exports.RunUserApplicationViewResult = exports.UpdateUserApplicationInput = exports.CreateUserApplicationInput = exports.UserApplication_ = exports.UserApplicationEntityResolver = exports.RunUserApplicationEntityViewResult = exports.UpdateUserApplicationEntityInput = exports.CreateUserApplicationEntityInput = exports.UserApplicationEntity_ = exports.EntityPermissionResolver = exports.RunEntityPermissionViewResult = exports.UpdateEntityPermissionInput = void 0;
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
41
|
+
exports.AIModelType_ = exports.EntityAIActionResolver = exports.RunEntityAIActionViewResult = exports.UpdateEntityAIActionInput = exports.CreateEntityAIActionInput = exports.EntityAIAction_ = exports.AIModelActionResolver = exports.RunAIModelActionViewResult = exports.UpdateAIModelActionInput = exports.CreateAIModelActionInput = exports.AIModelAction_ = exports.AIActionResolver = exports.RunAIActionViewResult = exports.UpdateAIActionInput = exports.CreateAIActionInput = exports.AIAction_ = exports.AIModelResolver = exports.RunAIModelViewResult = exports.UpdateAIModelInput = exports.CreateAIModelInput = exports.AIModel_ = exports.EntityFieldValueResolver = exports.RunEntityFieldValueViewResult = exports.UpdateEntityFieldValueInput = exports.EntityFieldValue_ = exports.AuditLogTypeResolver = exports.RunAuditLogTypeViewResult = exports.AuditLogType_ = exports.AuthorizationRoleResolver = exports.RunAuthorizationRoleViewResult = exports.AuthorizationRole_ = exports.AuthorizationResolver = exports.RunAuthorizationViewResult = exports.Authorization_ = exports.AuditLogResolver = exports.RunAuditLogViewResult = exports.UpdateAuditLogInput = exports.CreateAuditLogInput = exports.AuditLog_ = exports.RowLevelSecurityFilterResolver = exports.RunRowLevelSecurityFilterViewResult = exports.RowLevelSecurityFilter_ = exports.UserRoleResolver = exports.RunUserRoleViewResult = exports.CreateUserRoleInput = exports.UserRole_ = exports.RecordChangeResolver = exports.RunRecordChangeViewResult = exports.UpdateRecordChangeInput = exports.CreateRecordChangeInput = void 0;
|
|
42
|
+
exports.TaggedItemResolver = exports.RunTaggedItemViewResult = exports.TaggedItem_ = exports.TagResolver = exports.RunTagViewResult = exports.Tag_ = exports.ResourceTypeResolver = exports.RunResourceTypeViewResult = exports.ResourceType_ = exports.ReportSnapshotResolver = exports.RunReportSnapshotViewResult = exports.UpdateReportSnapshotInput = exports.CreateReportSnapshotInput = exports.ReportSnapshot_ = exports.ReportResolver = exports.RunReportViewResult = exports.UpdateReportInput = exports.CreateReportInput = exports.Report_ = exports.OutputDeliveryTypeResolver = exports.RunOutputDeliveryTypeViewResult = exports.OutputDeliveryType_ = exports.OutputFormatTypeResolver = exports.RunOutputFormatTypeViewResult = exports.OutputFormatType_ = exports.OutputTriggerTypeResolver = exports.RunOutputTriggerTypeViewResult = exports.OutputTriggerType_ = exports.DashboardResolver = exports.RunDashboardViewResult = exports.UpdateDashboardInput = exports.CreateDashboardInput = exports.Dashboard_ = exports.QueueTaskResolver = exports.RunQueueTaskViewResult = exports.UpdateQueueTaskInput = exports.CreateQueueTaskInput = exports.QueueTask_ = exports.QueueResolver = exports.RunQueueViewResult = exports.UpdateQueueInput = exports.CreateQueueInput = exports.Queue_ = exports.QueueTypeResolver = exports.RunQueueTypeViewResult = exports.QueueType_ = exports.AIModelTypeResolver = exports.RunAIModelTypeViewResult = exports.UpdateAIModelTypeInput = exports.CreateAIModelTypeInput = void 0;
|
|
43
|
+
exports.RunRecordMergeDeletionLogViewResult = exports.UpdateRecordMergeDeletionLogInput = exports.CreateRecordMergeDeletionLogInput = exports.RecordMergeDeletionLog_ = exports.RecordMergeLogResolver = exports.RunRecordMergeLogViewResult = exports.UpdateRecordMergeLogInput = exports.CreateRecordMergeLogInput = exports.RecordMergeLog_ = exports.CompanyIntegrationRecordMapResolver = exports.RunCompanyIntegrationRecordMapViewResult = exports.UpdateCompanyIntegrationRecordMapInput = exports.CreateCompanyIntegrationRecordMapInput = exports.CompanyIntegrationRecordMap_ = exports.SchemaInfoResolver = exports.RunSchemaInfoViewResult = exports.UpdateSchemaInfoInput = exports.CreateSchemaInfoInput = exports.SchemaInfo_ = exports.UserNotificationResolver = exports.RunUserNotificationViewResult = exports.UpdateUserNotificationInput = exports.CreateUserNotificationInput = exports.UserNotification_ = exports.ConversationResolver = exports.RunConversationViewResult = exports.UpdateConversationInput = exports.CreateConversationInput = exports.Conversation_ = exports.ConversationDetailResolver = exports.RunConversationDetailViewResult = exports.UpdateConversationDetailInput = exports.CreateConversationDetailInput = exports.ConversationDetail_ = exports.DatasetItemResolver = exports.RunDatasetItemViewResult = exports.DatasetItem_ = exports.DatasetResolver = exports.RunDatasetViewResult = exports.Dataset_ = exports.WorkspaceItemResolver = exports.RunWorkspaceItemViewResult = exports.UpdateWorkspaceItemInput = exports.CreateWorkspaceItemInput = exports.WorkspaceItem_ = exports.WorkspaceResolver = exports.RunWorkspaceViewResult = exports.UpdateWorkspaceInput = exports.CreateWorkspaceInput = exports.Workspace_ = void 0;
|
|
44
|
+
exports.RunEntityDocumentViewResult = exports.UpdateEntityDocumentInput = exports.CreateEntityDocumentInput = exports.EntityDocument_ = exports.EntityRecordDocumentResolver = exports.RunEntityRecordDocumentViewResult = exports.UpdateEntityRecordDocumentInput = exports.CreateEntityRecordDocumentInput = exports.EntityRecordDocument_ = exports.VectorDatabaseResolver = exports.RunVectorDatabaseViewResult = exports.UpdateVectorDatabaseInput = exports.CreateVectorDatabaseInput = exports.VectorDatabase_ = exports.EntityDocumentRunResolver = exports.RunEntityDocumentRunViewResult = exports.UpdateEntityDocumentRunInput = exports.CreateEntityDocumentRunInput = exports.EntityDocumentRun_ = exports.EntityDocumentTypeResolver = exports.RunEntityDocumentTypeViewResult = exports.UpdateEntityDocumentTypeInput = exports.CreateEntityDocumentTypeInput = exports.EntityDocumentType_ = exports.VectorIndexResolver = exports.RunVectorIndexViewResult = exports.UpdateVectorIndexInput = exports.CreateVectorIndexInput = exports.VectorIndex_ = exports.QueryPermissionResolver = exports.RunQueryPermissionViewResult = exports.UpdateQueryPermissionInput = exports.CreateQueryPermissionInput = exports.QueryPermission_ = exports.QueryResolver = exports.RunQueryViewResult = exports.UpdateQueryInput = exports.CreateQueryInput = exports.Query_ = exports.QueryCategoryResolver = exports.RunQueryCategoryViewResult = exports.UpdateQueryCategoryInput = exports.CreateQueryCategoryInput = exports.QueryCategory_ = exports.QueryFieldResolver = exports.RunQueryFieldViewResult = exports.UpdateQueryFieldInput = exports.CreateQueryFieldInput = exports.QueryField_ = exports.RecordMergeDeletionLogResolver = void 0;
|
|
45
|
+
exports.RunVersionInstallationViewResult = exports.UpdateVersionInstallationInput = exports.CreateVersionInstallationInput = exports.VersionInstallation_ = exports.FileEntityRecordLinkResolver = exports.RunFileEntityRecordLinkViewResult = exports.UpdateFileEntityRecordLinkInput = exports.CreateFileEntityRecordLinkInput = exports.FileEntityRecordLink_ = exports.FileCategoryResolver = exports.RunFileCategoryViewResult = exports.UpdateFileCategoryInput = exports.CreateFileCategoryInput = exports.FileCategory_ = exports.FileResolver = exports.RunFileViewResult = exports.UpdateFileInput = exports.CreateFileInput = exports.File_ = exports.FileStorageProviderResolver = exports.RunFileStorageProviderViewResult = exports.UpdateFileStorageProviderInput = exports.CreateFileStorageProviderInput = exports.FileStorageProvider_ = exports.ReportCategoryResolver = exports.RunReportCategoryViewResult = exports.UpdateReportCategoryInput = exports.CreateReportCategoryInput = exports.ReportCategory_ = exports.DashboardCategoryResolver = exports.RunDashboardCategoryViewResult = exports.UpdateDashboardCategoryInput = exports.CreateDashboardCategoryInput = exports.DashboardCategory_ = exports.UserViewCategoryResolver = exports.RunUserViewCategoryViewResult = exports.UpdateUserViewCategoryInput = exports.CreateUserViewCategoryInput = exports.UserViewCategory_ = exports.DataContextResolver = exports.RunDataContextViewResult = exports.UpdateDataContextInput = exports.CreateDataContextInput = exports.DataContext_ = exports.DataContextItemResolver = exports.RunDataContextItemViewResult = exports.UpdateDataContextItemInput = exports.CreateDataContextItemInput = exports.DataContextItem_ = exports.EntityDocumentResolver = void 0;
|
|
46
|
+
exports.RunEntityActionViewResult = exports.UpdateEntityActionInput = exports.CreateEntityActionInput = exports.EntityAction_ = exports.ActionCategoryResolver = exports.RunActionCategoryViewResult = exports.UpdateActionCategoryInput = exports.CreateActionCategoryInput = exports.ActionCategory_ = exports.ApplicationSettingResolver = exports.RunApplicationSettingViewResult = exports.UpdateApplicationSettingInput = exports.CreateApplicationSettingInput = exports.ApplicationSetting_ = exports.EntityBehaviorTypeResolver = exports.RunEntityBehaviorTypeViewResult = exports.UpdateEntityBehaviorTypeInput = exports.CreateEntityBehaviorTypeInput = exports.EntityBehaviorType_ = exports.EntityBehaviorResolver = exports.RunEntityBehaviorViewResult = exports.UpdateEntityBehaviorInput = exports.CreateEntityBehaviorInput = exports.EntityBehavior_ = exports.DuplicateRunDetailResolver = exports.RunDuplicateRunDetailViewResult = exports.UpdateDuplicateRunDetailInput = exports.CreateDuplicateRunDetailInput = exports.DuplicateRunDetail_ = exports.DuplicateRunResolver = exports.RunDuplicateRunViewResult = exports.UpdateDuplicateRunInput = exports.CreateDuplicateRunInput = exports.DuplicateRun_ = exports.EntitySettingResolver = exports.RunEntitySettingViewResult = exports.UpdateEntitySettingInput = exports.CreateEntitySettingInput = exports.EntitySetting_ = exports.EntityDocumentSettingResolver = exports.RunEntityDocumentSettingViewResult = exports.UpdateEntityDocumentSettingInput = exports.CreateEntityDocumentSettingInput = exports.EntityDocumentSetting_ = exports.DuplicateRunDetailMatchResolver = exports.RunDuplicateRunDetailMatchViewResult = exports.UpdateDuplicateRunDetailMatchInput = exports.CreateDuplicateRunDetailMatchInput = exports.DuplicateRunDetailMatch_ = exports.VersionInstallationResolver = void 0;
|
|
47
|
+
exports.RunActionExecutionLogViewResult = exports.UpdateActionExecutionLogInput = exports.CreateActionExecutionLogInput = exports.ActionExecutionLog_ = exports.ActionContextResolver = exports.RunActionContextViewResult = exports.UpdateActionContextInput = exports.CreateActionContextInput = exports.ActionContext_ = exports.ActionResultCodeResolver = exports.RunActionResultCodeViewResult = exports.UpdateActionResultCodeInput = exports.CreateActionResultCodeInput = exports.ActionResultCode_ = exports.ActionContextTypeResolver = exports.RunActionContextTypeViewResult = exports.UpdateActionContextTypeInput = exports.CreateActionContextTypeInput = exports.ActionContextType_ = exports.ActionFilterResolver = exports.RunActionFilterViewResult = exports.UpdateActionFilterInput = exports.CreateActionFilterInput = exports.ActionFilter_ = exports.EntityActionFilterResolver = exports.RunEntityActionFilterViewResult = exports.UpdateEntityActionFilterInput = exports.CreateEntityActionFilterInput = exports.EntityActionFilter_ = exports.ActionResolver = exports.RunActionViewResult = exports.UpdateActionInput = exports.CreateActionInput = exports.Action_ = exports.EntityActionInvocationTypeResolver = exports.RunEntityActionInvocationTypeViewResult = exports.UpdateEntityActionInvocationTypeInput = exports.CreateEntityActionInvocationTypeInput = exports.EntityActionInvocationType_ = exports.ActionAuthorizationResolver = exports.RunActionAuthorizationViewResult = exports.UpdateActionAuthorizationInput = exports.CreateActionAuthorizationInput = exports.ActionAuthorization_ = exports.EntityActionInvocationResolver = exports.RunEntityActionInvocationViewResult = exports.UpdateEntityActionInvocationInput = exports.CreateEntityActionInvocationInput = exports.EntityActionInvocation_ = exports.EntityActionResolver = void 0;
|
|
48
|
+
exports.RunTemplateViewResult = exports.UpdateTemplateInput = exports.CreateTemplateInput = exports.Template_ = exports.CommunicationBaseMessageTypeResolver = exports.RunCommunicationBaseMessageTypeViewResult = exports.UpdateCommunicationBaseMessageTypeInput = exports.CreateCommunicationBaseMessageTypeInput = exports.CommunicationBaseMessageType_ = exports.CommunicationLogResolver = exports.RunCommunicationLogViewResult = exports.UpdateCommunicationLogInput = exports.CreateCommunicationLogInput = exports.CommunicationLog_ = exports.CommunicationProviderMessageTypeResolver = exports.RunCommunicationProviderMessageTypeViewResult = exports.UpdateCommunicationProviderMessageTypeInput = exports.CreateCommunicationProviderMessageTypeInput = exports.CommunicationProviderMessageType_ = exports.CommunicationRunResolver = exports.RunCommunicationRunViewResult = exports.UpdateCommunicationRunInput = exports.CreateCommunicationRunInput = exports.CommunicationRun_ = exports.CommunicationProviderResolver = exports.RunCommunicationProviderViewResult = exports.UpdateCommunicationProviderInput = exports.CreateCommunicationProviderInput = exports.CommunicationProvider_ = exports.ListCategoryResolver = exports.RunListCategoryViewResult = exports.UpdateListCategoryInput = exports.CreateListCategoryInput = exports.ListCategory_ = exports.LibraryResolver = exports.RunLibraryViewResult = exports.UpdateLibraryInput = exports.CreateLibraryInput = exports.Library_ = exports.ActionLibraryResolver = exports.RunActionLibraryViewResult = exports.UpdateActionLibraryInput = exports.CreateActionLibraryInput = exports.ActionLibrary_ = exports.ActionParamResolver = exports.RunActionParamViewResult = exports.UpdateActionParamInput = exports.CreateActionParamInput = exports.ActionParam_ = exports.ActionExecutionLogResolver = void 0;
|
|
49
|
+
exports.RunEntityCommunicationFieldViewResult = exports.UpdateEntityCommunicationFieldInput = exports.CreateEntityCommunicationFieldInput = exports.EntityCommunicationField_ = exports.EntityCommunicationMessageTypeResolver = exports.RunEntityCommunicationMessageTypeViewResult = exports.UpdateEntityCommunicationMessageTypeInput = exports.CreateEntityCommunicationMessageTypeInput = exports.EntityCommunicationMessageType_ = exports.RecommendationItemResolver = exports.RunRecommendationItemViewResult = exports.UpdateRecommendationItemInput = exports.CreateRecommendationItemInput = exports.RecommendationItem_ = exports.RecommendationRunResolver = exports.RunRecommendationRunViewResult = exports.UpdateRecommendationRunInput = exports.CreateRecommendationRunInput = exports.RecommendationRun_ = exports.RecommendationProviderResolver = exports.RunRecommendationProviderViewResult = exports.UpdateRecommendationProviderInput = exports.CreateRecommendationProviderInput = exports.RecommendationProvider_ = exports.RecommendationResolver = exports.RunRecommendationViewResult = exports.UpdateRecommendationInput = exports.CreateRecommendationInput = exports.Recommendation_ = exports.TemplateContentTypeResolver = exports.RunTemplateContentTypeViewResult = exports.UpdateTemplateContentTypeInput = exports.CreateTemplateContentTypeInput = exports.TemplateContentType_ = exports.TemplateParamResolver = exports.RunTemplateParamViewResult = exports.UpdateTemplateParamInput = exports.CreateTemplateParamInput = exports.TemplateParam_ = exports.TemplateContentResolver = exports.RunTemplateContentViewResult = exports.UpdateTemplateContentInput = exports.CreateTemplateContentInput = exports.TemplateContent_ = exports.TemplateCategoryResolver = exports.RunTemplateCategoryViewResult = exports.UpdateTemplateCategoryInput = exports.CreateTemplateCategoryInput = exports.TemplateCategory_ = exports.TemplateResolver = void 0;
|
|
50
|
+
exports.EntityActionParamResolver = exports.RunEntityActionParamViewResult = exports.UpdateEntityActionParamInput = exports.CreateEntityActionParamInput = exports.EntityActionParam_ = exports.EntityRelationshipDisplayComponentResolver = exports.RunEntityRelationshipDisplayComponentViewResult = exports.UpdateEntityRelationshipDisplayComponentInput = exports.CreateEntityRelationshipDisplayComponentInput = exports.EntityRelationshipDisplayComponent_ = exports.LibraryItemResolver = exports.RunLibraryItemViewResult = exports.UpdateLibraryItemInput = exports.CreateLibraryItemInput = exports.LibraryItem_ = exports.RecordChangeReplayRunResolver = exports.RunRecordChangeReplayRunViewResult = exports.UpdateRecordChangeReplayRunInput = exports.CreateRecordChangeReplayRunInput = exports.RecordChangeReplayRun_ = exports.EntityCommunicationFieldResolver = void 0;
|
|
50
51
|
const server_1 = require("@memberjunction/server");
|
|
51
52
|
const core_1 = require("@memberjunction/core");
|
|
52
53
|
const class_validator_1 = require("class-validator");
|
|
@@ -78,21 +79,21 @@ __decorate([
|
|
|
78
79
|
(0, class_validator_1.MaxLength)(1000),
|
|
79
80
|
__metadata("design:type", String)
|
|
80
81
|
], Company_.prototype, "LogoURL", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, server_1.Field)({ nullable: true }),
|
|
84
|
+
(0, class_validator_1.MaxLength)(510),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], Company_.prototype, "Domain", void 0);
|
|
81
87
|
__decorate([
|
|
82
88
|
(0, server_1.Field)(),
|
|
83
|
-
(0, class_validator_1.MaxLength)(
|
|
89
|
+
(0, class_validator_1.MaxLength)(10),
|
|
84
90
|
__metadata("design:type", Date)
|
|
85
|
-
], Company_.prototype, "
|
|
91
|
+
], Company_.prototype, "_mj__CreatedAt", void 0);
|
|
86
92
|
__decorate([
|
|
87
93
|
(0, server_1.Field)(),
|
|
88
|
-
(0, class_validator_1.MaxLength)(
|
|
94
|
+
(0, class_validator_1.MaxLength)(10),
|
|
89
95
|
__metadata("design:type", Date)
|
|
90
|
-
], Company_.prototype, "
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, server_1.Field)({ nullable: true }),
|
|
93
|
-
(0, class_validator_1.MaxLength)(510),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], Company_.prototype, "Domain", void 0);
|
|
96
|
+
], Company_.prototype, "_mj__UpdatedAt", void 0);
|
|
96
97
|
__decorate([
|
|
97
98
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Employee_]),
|
|
98
99
|
__metadata("design:type", Array)
|
|
@@ -408,14 +409,14 @@ __decorate([
|
|
|
408
409
|
], Employee_.prototype, "SupervisorID", void 0);
|
|
409
410
|
__decorate([
|
|
410
411
|
(0, server_1.Field)(),
|
|
411
|
-
(0, class_validator_1.MaxLength)(
|
|
412
|
+
(0, class_validator_1.MaxLength)(10),
|
|
412
413
|
__metadata("design:type", Date)
|
|
413
|
-
], Employee_.prototype, "
|
|
414
|
+
], Employee_.prototype, "_mj__CreatedAt", void 0);
|
|
414
415
|
__decorate([
|
|
415
416
|
(0, server_1.Field)(),
|
|
416
|
-
(0, class_validator_1.MaxLength)(
|
|
417
|
+
(0, class_validator_1.MaxLength)(10),
|
|
417
418
|
__metadata("design:type", Date)
|
|
418
|
-
], Employee_.prototype, "
|
|
419
|
+
], Employee_.prototype, "_mj__UpdatedAt", void 0);
|
|
419
420
|
__decorate([
|
|
420
421
|
(0, server_1.Field)({ nullable: true }),
|
|
421
422
|
(0, class_validator_1.MaxLength)(162),
|
|
@@ -789,14 +790,14 @@ __decorate([
|
|
|
789
790
|
], UserFavorite_.prototype, "RecordID", void 0);
|
|
790
791
|
__decorate([
|
|
791
792
|
(0, server_1.Field)(),
|
|
792
|
-
(0, class_validator_1.MaxLength)(
|
|
793
|
+
(0, class_validator_1.MaxLength)(10),
|
|
793
794
|
__metadata("design:type", Date)
|
|
794
|
-
], UserFavorite_.prototype, "
|
|
795
|
+
], UserFavorite_.prototype, "_mj__CreatedAt", void 0);
|
|
795
796
|
__decorate([
|
|
796
797
|
(0, server_1.Field)(),
|
|
797
|
-
(0, class_validator_1.MaxLength)(
|
|
798
|
+
(0, class_validator_1.MaxLength)(10),
|
|
798
799
|
__metadata("design:type", Date)
|
|
799
|
-
], UserFavorite_.prototype, "
|
|
800
|
+
], UserFavorite_.prototype, "_mj__UpdatedAt", void 0);
|
|
800
801
|
__decorate([
|
|
801
802
|
(0, server_1.Field)(),
|
|
802
803
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -1015,14 +1016,14 @@ __decorate([
|
|
|
1015
1016
|
], EmployeeCompanyIntegration_.prototype, "IsActive", void 0);
|
|
1016
1017
|
__decorate([
|
|
1017
1018
|
(0, server_1.Field)(),
|
|
1018
|
-
(0, class_validator_1.MaxLength)(
|
|
1019
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1019
1020
|
__metadata("design:type", Date)
|
|
1020
|
-
], EmployeeCompanyIntegration_.prototype, "
|
|
1021
|
+
], EmployeeCompanyIntegration_.prototype, "_mj__CreatedAt", void 0);
|
|
1021
1022
|
__decorate([
|
|
1022
1023
|
(0, server_1.Field)(),
|
|
1023
|
-
(0, class_validator_1.MaxLength)(
|
|
1024
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1024
1025
|
__metadata("design:type", Date)
|
|
1025
|
-
], EmployeeCompanyIntegration_.prototype, "
|
|
1026
|
+
], EmployeeCompanyIntegration_.prototype, "_mj__UpdatedAt", void 0);
|
|
1026
1027
|
exports.EmployeeCompanyIntegration_ = EmployeeCompanyIntegration_ = __decorate([
|
|
1027
1028
|
(0, server_1.ObjectType)()
|
|
1028
1029
|
], EmployeeCompanyIntegration_);
|
|
@@ -1177,14 +1178,14 @@ __decorate([
|
|
|
1177
1178
|
], EmployeeRole_.prototype, "RoleID", void 0);
|
|
1178
1179
|
__decorate([
|
|
1179
1180
|
(0, server_1.Field)(),
|
|
1180
|
-
(0, class_validator_1.MaxLength)(
|
|
1181
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1181
1182
|
__metadata("design:type", Date)
|
|
1182
|
-
], EmployeeRole_.prototype, "
|
|
1183
|
+
], EmployeeRole_.prototype, "_mj__CreatedAt", void 0);
|
|
1183
1184
|
__decorate([
|
|
1184
1185
|
(0, server_1.Field)(),
|
|
1185
|
-
(0, class_validator_1.MaxLength)(
|
|
1186
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1186
1187
|
__metadata("design:type", Date)
|
|
1187
|
-
], EmployeeRole_.prototype, "
|
|
1188
|
+
], EmployeeRole_.prototype, "_mj__UpdatedAt", void 0);
|
|
1188
1189
|
__decorate([
|
|
1189
1190
|
(0, server_1.Field)(),
|
|
1190
1191
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -1336,14 +1337,14 @@ __decorate([
|
|
|
1336
1337
|
], EmployeeSkill_.prototype, "SkillID", void 0);
|
|
1337
1338
|
__decorate([
|
|
1338
1339
|
(0, server_1.Field)(),
|
|
1339
|
-
(0, class_validator_1.MaxLength)(
|
|
1340
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1340
1341
|
__metadata("design:type", Date)
|
|
1341
|
-
], EmployeeSkill_.prototype, "
|
|
1342
|
+
], EmployeeSkill_.prototype, "_mj__CreatedAt", void 0);
|
|
1342
1343
|
__decorate([
|
|
1343
1344
|
(0, server_1.Field)(),
|
|
1344
|
-
(0, class_validator_1.MaxLength)(
|
|
1345
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1345
1346
|
__metadata("design:type", Date)
|
|
1346
|
-
], EmployeeSkill_.prototype, "
|
|
1347
|
+
], EmployeeSkill_.prototype, "_mj__UpdatedAt", void 0);
|
|
1347
1348
|
__decorate([
|
|
1348
1349
|
(0, server_1.Field)(),
|
|
1349
1350
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -1506,14 +1507,14 @@ __decorate([
|
|
|
1506
1507
|
], Role_.prototype, "SQLName", void 0);
|
|
1507
1508
|
__decorate([
|
|
1508
1509
|
(0, server_1.Field)(),
|
|
1509
|
-
(0, class_validator_1.MaxLength)(
|
|
1510
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1510
1511
|
__metadata("design:type", Date)
|
|
1511
|
-
], Role_.prototype, "
|
|
1512
|
+
], Role_.prototype, "_mj__CreatedAt", void 0);
|
|
1512
1513
|
__decorate([
|
|
1513
1514
|
(0, server_1.Field)(),
|
|
1514
|
-
(0, class_validator_1.MaxLength)(
|
|
1515
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1515
1516
|
__metadata("design:type", Date)
|
|
1516
|
-
], Role_.prototype, "
|
|
1517
|
+
], Role_.prototype, "_mj__UpdatedAt", void 0);
|
|
1517
1518
|
__decorate([
|
|
1518
1519
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EmployeeRole_]),
|
|
1519
1520
|
__metadata("design:type", Array)
|
|
@@ -1826,14 +1827,14 @@ __decorate([
|
|
|
1826
1827
|
], Skill_.prototype, "ParentID", void 0);
|
|
1827
1828
|
__decorate([
|
|
1828
1829
|
(0, server_1.Field)(),
|
|
1829
|
-
(0, class_validator_1.MaxLength)(
|
|
1830
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1830
1831
|
__metadata("design:type", Date)
|
|
1831
|
-
], Skill_.prototype, "
|
|
1832
|
+
], Skill_.prototype, "_mj__CreatedAt", void 0);
|
|
1832
1833
|
__decorate([
|
|
1833
1834
|
(0, server_1.Field)(),
|
|
1834
|
-
(0, class_validator_1.MaxLength)(
|
|
1835
|
+
(0, class_validator_1.MaxLength)(10),
|
|
1835
1836
|
__metadata("design:type", Date)
|
|
1836
|
-
], Skill_.prototype, "
|
|
1837
|
+
], Skill_.prototype, "_mj__UpdatedAt", void 0);
|
|
1837
1838
|
__decorate([
|
|
1838
1839
|
(0, server_1.Field)({ nullable: true }),
|
|
1839
1840
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -2007,6 +2008,16 @@ __decorate([
|
|
|
2007
2008
|
(0, class_validator_1.MaxLength)(1000),
|
|
2008
2009
|
__metadata("design:type", String)
|
|
2009
2010
|
], IntegrationURLFormat_.prototype, "URLFormat", void 0);
|
|
2011
|
+
__decorate([
|
|
2012
|
+
(0, server_1.Field)(),
|
|
2013
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2014
|
+
__metadata("design:type", Date)
|
|
2015
|
+
], IntegrationURLFormat_.prototype, "_mj__CreatedAt", void 0);
|
|
2016
|
+
__decorate([
|
|
2017
|
+
(0, server_1.Field)(),
|
|
2018
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2019
|
+
__metadata("design:type", Date)
|
|
2020
|
+
], IntegrationURLFormat_.prototype, "_mj__UpdatedAt", void 0);
|
|
2010
2021
|
__decorate([
|
|
2011
2022
|
(0, server_1.Field)(() => server_1.Int),
|
|
2012
2023
|
__metadata("design:type", Number)
|
|
@@ -2215,14 +2226,14 @@ __decorate([
|
|
|
2215
2226
|
], Integration_.prototype, "BatchRequestWaitTime", void 0);
|
|
2216
2227
|
__decorate([
|
|
2217
2228
|
(0, server_1.Field)(),
|
|
2218
|
-
(0, class_validator_1.MaxLength)(
|
|
2229
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2219
2230
|
__metadata("design:type", Date)
|
|
2220
|
-
], Integration_.prototype, "
|
|
2231
|
+
], Integration_.prototype, "_mj__CreatedAt", void 0);
|
|
2221
2232
|
__decorate([
|
|
2222
2233
|
(0, server_1.Field)(),
|
|
2223
|
-
(0, class_validator_1.MaxLength)(
|
|
2234
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2224
2235
|
__metadata("design:type", Date)
|
|
2225
|
-
], Integration_.prototype, "
|
|
2236
|
+
], Integration_.prototype, "_mj__UpdatedAt", void 0);
|
|
2226
2237
|
__decorate([
|
|
2227
2238
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.IntegrationURLFormat_]),
|
|
2228
2239
|
__metadata("design:type", Array)
|
|
@@ -2484,16 +2495,6 @@ __decorate([
|
|
|
2484
2495
|
(0, class_validator_1.MaxLength)(510),
|
|
2485
2496
|
__metadata("design:type", String)
|
|
2486
2497
|
], CompanyIntegration_.prototype, "APIKey", void 0);
|
|
2487
|
-
__decorate([
|
|
2488
|
-
(0, server_1.Field)(),
|
|
2489
|
-
(0, class_validator_1.MaxLength)(8),
|
|
2490
|
-
__metadata("design:type", Date)
|
|
2491
|
-
], CompanyIntegration_.prototype, "CreatedAt", void 0);
|
|
2492
|
-
__decorate([
|
|
2493
|
-
(0, server_1.Field)(),
|
|
2494
|
-
(0, class_validator_1.MaxLength)(8),
|
|
2495
|
-
__metadata("design:type", Date)
|
|
2496
|
-
], CompanyIntegration_.prototype, "UpdatedAt", void 0);
|
|
2497
2498
|
__decorate([
|
|
2498
2499
|
(0, server_1.Field)({ nullable: true }),
|
|
2499
2500
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -2518,6 +2519,16 @@ __decorate([
|
|
|
2518
2519
|
(0, class_validator_1.MaxLength)(510),
|
|
2519
2520
|
__metadata("design:type", String)
|
|
2520
2521
|
], CompanyIntegration_.prototype, "CustomAttribute1", void 0);
|
|
2522
|
+
__decorate([
|
|
2523
|
+
(0, server_1.Field)(),
|
|
2524
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2525
|
+
__metadata("design:type", Date)
|
|
2526
|
+
], CompanyIntegration_.prototype, "_mj__CreatedAt", void 0);
|
|
2527
|
+
__decorate([
|
|
2528
|
+
(0, server_1.Field)(),
|
|
2529
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2530
|
+
__metadata("design:type", Date)
|
|
2531
|
+
], CompanyIntegration_.prototype, "_mj__UpdatedAt", void 0);
|
|
2521
2532
|
__decorate([
|
|
2522
2533
|
(0, server_1.Field)(() => server_1.Int),
|
|
2523
2534
|
__metadata("design:type", Number)
|
|
@@ -2964,16 +2975,21 @@ __decorate([
|
|
|
2964
2975
|
(0, class_validator_1.MaxLength)(510),
|
|
2965
2976
|
__metadata("design:type", String)
|
|
2966
2977
|
], EntityField_.prototype, "RelatedEntityNameFieldMap", void 0);
|
|
2978
|
+
__decorate([
|
|
2979
|
+
(0, server_1.Field)({ description: 'Controls the generated form in the MJ Explorer UI - defaults to a search box, other option is a drop down. Possible values are Search and Dropdown' }),
|
|
2980
|
+
(0, class_validator_1.MaxLength)(40),
|
|
2981
|
+
__metadata("design:type", String)
|
|
2982
|
+
], EntityField_.prototype, "RelatedEntityDisplayType", void 0);
|
|
2967
2983
|
__decorate([
|
|
2968
2984
|
(0, server_1.Field)(),
|
|
2969
|
-
(0, class_validator_1.MaxLength)(
|
|
2985
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2970
2986
|
__metadata("design:type", Date)
|
|
2971
|
-
], EntityField_.prototype, "
|
|
2987
|
+
], EntityField_.prototype, "_mj__CreatedAt", void 0);
|
|
2972
2988
|
__decorate([
|
|
2973
2989
|
(0, server_1.Field)(),
|
|
2974
|
-
(0, class_validator_1.MaxLength)(
|
|
2990
|
+
(0, class_validator_1.MaxLength)(10),
|
|
2975
2991
|
__metadata("design:type", Date)
|
|
2976
|
-
], EntityField_.prototype, "
|
|
2992
|
+
], EntityField_.prototype, "_mj__UpdatedAt", void 0);
|
|
2977
2993
|
__decorate([
|
|
2978
2994
|
(0, server_1.Field)(),
|
|
2979
2995
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -3136,6 +3152,10 @@ __decorate([
|
|
|
3136
3152
|
(0, server_1.Field)({ nullable: true }),
|
|
3137
3153
|
__metadata("design:type", String)
|
|
3138
3154
|
], CreateEntityFieldInput.prototype, "RelatedEntityNameFieldMap", void 0);
|
|
3155
|
+
__decorate([
|
|
3156
|
+
(0, server_1.Field)(),
|
|
3157
|
+
__metadata("design:type", String)
|
|
3158
|
+
], CreateEntityFieldInput.prototype, "RelatedEntityDisplayType", void 0);
|
|
3139
3159
|
exports.CreateEntityFieldInput = CreateEntityFieldInput = __decorate([
|
|
3140
3160
|
(0, server_1.InputType)()
|
|
3141
3161
|
], CreateEntityFieldInput);
|
|
@@ -3242,6 +3262,10 @@ __decorate([
|
|
|
3242
3262
|
(0, server_1.Field)({ nullable: true }),
|
|
3243
3263
|
__metadata("design:type", String)
|
|
3244
3264
|
], UpdateEntityFieldInput.prototype, "RelatedEntityNameFieldMap", void 0);
|
|
3265
|
+
__decorate([
|
|
3266
|
+
(0, server_1.Field)(),
|
|
3267
|
+
__metadata("design:type", String)
|
|
3268
|
+
], UpdateEntityFieldInput.prototype, "RelatedEntityDisplayType", void 0);
|
|
3245
3269
|
__decorate([
|
|
3246
3270
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
3247
3271
|
__metadata("design:type", Array)
|
|
@@ -3461,7 +3485,7 @@ __decorate([
|
|
|
3461
3485
|
__metadata("design:type", Boolean)
|
|
3462
3486
|
], Entity_.prototype, "VirtualEntity", void 0);
|
|
3463
3487
|
__decorate([
|
|
3464
|
-
(0, server_1.Field)(() => Boolean, { description: 'When set to 1, changes made via the MemberJunction architecture will result in tracking records being created in the RecordChange table' }),
|
|
3488
|
+
(0, server_1.Field)(() => Boolean, { description: 'When set to 1, changes made via the MemberJunction architecture will result in tracking records being created in the RecordChange table. In addition, when turned on CodeGen will ensure that your table has two fields: __mj_CreatedAt and __mj_UpdatedAt which are special fields used in conjunction with the RecordChange table to track changes to rows in your entity.' }),
|
|
3465
3489
|
__metadata("design:type", Boolean)
|
|
3466
3490
|
], Entity_.prototype, "TrackRecordChanges", void 0);
|
|
3467
3491
|
__decorate([
|
|
@@ -3585,16 +3609,6 @@ __decorate([
|
|
|
3585
3609
|
(0, class_validator_1.MaxLength)(510),
|
|
3586
3610
|
__metadata("design:type", String)
|
|
3587
3611
|
], Entity_.prototype, "EntityObjectSubclassImport", void 0);
|
|
3588
|
-
__decorate([
|
|
3589
|
-
(0, server_1.Field)(),
|
|
3590
|
-
(0, class_validator_1.MaxLength)(8),
|
|
3591
|
-
__metadata("design:type", Date)
|
|
3592
|
-
], Entity_.prototype, "CreatedAt", void 0);
|
|
3593
|
-
__decorate([
|
|
3594
|
-
(0, server_1.Field)(),
|
|
3595
|
-
(0, class_validator_1.MaxLength)(8),
|
|
3596
|
-
__metadata("design:type", Date)
|
|
3597
|
-
], Entity_.prototype, "UpdatedAt", void 0);
|
|
3598
3612
|
__decorate([
|
|
3599
3613
|
(0, server_1.Field)({ nullable: true, description: 'Used to specify a field within the entity that in turn contains the field name that will be used for record-level communication preferences. For example in a hypothetical entity called Contacts, say there is a field called PreferredComm and that field had possible values of Email1, SMS, and Phone, and those value in turn corresponded to field names in the entity. Each record in the Contacts entity could have a specific preference for which field would be used for communication. The MJ Communication Framework will use this information when available, as a priority ahead of the data in the Entity Communication Fields entity which is entity-level and not record-level.' }),
|
|
3600
3614
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -3605,6 +3619,21 @@ __decorate([
|
|
|
3605
3619
|
(0, class_validator_1.MaxLength)(1000),
|
|
3606
3620
|
__metadata("design:type", String)
|
|
3607
3621
|
], Entity_.prototype, "Icon", void 0);
|
|
3622
|
+
__decorate([
|
|
3623
|
+
(0, server_1.Field)(),
|
|
3624
|
+
(0, class_validator_1.MaxLength)(10),
|
|
3625
|
+
__metadata("design:type", Date)
|
|
3626
|
+
], Entity_.prototype, "_mj__CreatedAt", void 0);
|
|
3627
|
+
__decorate([
|
|
3628
|
+
(0, server_1.Field)(),
|
|
3629
|
+
(0, class_validator_1.MaxLength)(10),
|
|
3630
|
+
__metadata("design:type", Date)
|
|
3631
|
+
], Entity_.prototype, "_mj__UpdatedAt", void 0);
|
|
3632
|
+
__decorate([
|
|
3633
|
+
(0, server_1.Field)({ description: 'When another entity links to this entity with a foreign key, this is the default component type that will be used in the UI. CodeGen will populate the RelatedEntityDisplayType column in the Entity Fields entity with whatever is provided here whenever a new foreign key is detected by CodeGen. The selection can be overridden on a per-foreign-key basis in each row of the Entity Fields entity.' }),
|
|
3634
|
+
(0, class_validator_1.MaxLength)(40),
|
|
3635
|
+
__metadata("design:type", String)
|
|
3636
|
+
], Entity_.prototype, "RelationshipDefaultDisplayType", void 0);
|
|
3608
3637
|
__decorate([
|
|
3609
3638
|
(0, server_1.Field)({ nullable: true }),
|
|
3610
3639
|
__metadata("design:type", String)
|
|
@@ -3942,6 +3971,10 @@ __decorate([
|
|
|
3942
3971
|
(0, server_1.Field)({ nullable: true }),
|
|
3943
3972
|
__metadata("design:type", String)
|
|
3944
3973
|
], CreateEntityInput.prototype, "Icon", void 0);
|
|
3974
|
+
__decorate([
|
|
3975
|
+
(0, server_1.Field)(),
|
|
3976
|
+
__metadata("design:type", String)
|
|
3977
|
+
], CreateEntityInput.prototype, "RelationshipDefaultDisplayType", void 0);
|
|
3945
3978
|
exports.CreateEntityInput = CreateEntityInput = __decorate([
|
|
3946
3979
|
(0, server_1.InputType)()
|
|
3947
3980
|
], CreateEntityInput);
|
|
@@ -4108,6 +4141,10 @@ __decorate([
|
|
|
4108
4141
|
(0, server_1.Field)({ nullable: true }),
|
|
4109
4142
|
__metadata("design:type", String)
|
|
4110
4143
|
], UpdateEntityInput.prototype, "Icon", void 0);
|
|
4144
|
+
__decorate([
|
|
4145
|
+
(0, server_1.Field)(),
|
|
4146
|
+
__metadata("design:type", String)
|
|
4147
|
+
], UpdateEntityInput.prototype, "RelationshipDefaultDisplayType", void 0);
|
|
4111
4148
|
__decorate([
|
|
4112
4149
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
4113
4150
|
__metadata("design:type", Array)
|
|
@@ -4859,14 +4896,14 @@ __decorate([
|
|
|
4859
4896
|
], User_.prototype, "LinkedEntityRecordID", void 0);
|
|
4860
4897
|
__decorate([
|
|
4861
4898
|
(0, server_1.Field)(),
|
|
4862
|
-
(0, class_validator_1.MaxLength)(
|
|
4899
|
+
(0, class_validator_1.MaxLength)(10),
|
|
4863
4900
|
__metadata("design:type", Date)
|
|
4864
|
-
], User_.prototype, "
|
|
4901
|
+
], User_.prototype, "_mj__CreatedAt", void 0);
|
|
4865
4902
|
__decorate([
|
|
4866
4903
|
(0, server_1.Field)(),
|
|
4867
|
-
(0, class_validator_1.MaxLength)(
|
|
4904
|
+
(0, class_validator_1.MaxLength)(10),
|
|
4868
4905
|
__metadata("design:type", Date)
|
|
4869
|
-
], User_.prototype, "
|
|
4906
|
+
], User_.prototype, "_mj__UpdatedAt", void 0);
|
|
4870
4907
|
__decorate([
|
|
4871
4908
|
(0, server_1.Field)({ nullable: true }),
|
|
4872
4909
|
(0, class_validator_1.MaxLength)(202),
|
|
@@ -5013,6 +5050,10 @@ __decorate([
|
|
|
5013
5050
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.RecommendationRun_]),
|
|
5014
5051
|
__metadata("design:type", Array)
|
|
5015
5052
|
], User_.prototype, "RecommendationRunsArray", void 0);
|
|
5053
|
+
__decorate([
|
|
5054
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.RecordChangeReplayRun_]),
|
|
5055
|
+
__metadata("design:type", Array)
|
|
5056
|
+
], User_.prototype, "RecordChangeReplayRunsArray", void 0);
|
|
5016
5057
|
exports.User_ = User_ = __decorate([
|
|
5017
5058
|
(0, server_1.ObjectType)({ description: 'A list of all users who have or had access to the system' })
|
|
5018
5059
|
], User_);
|
|
@@ -5355,6 +5396,12 @@ let UserResolverBase = class UserResolverBase extends server_1.ResolverBase {
|
|
|
5355
5396
|
const result = this.ArrayMapFieldNamesToCodeNames('Recommendation Runs', await dataSource.query(sSQL));
|
|
5356
5397
|
return result;
|
|
5357
5398
|
}
|
|
5399
|
+
async RecordChangeReplayRunsArray(user_, { dataSource, userPayload }, pubSub) {
|
|
5400
|
+
this.CheckUserReadPermissions('Record Change Replay Runs', userPayload);
|
|
5401
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwRecordChangeReplayRuns] WHERE [UserID]=${user_.ID} ` + this.getRowLevelSecurityWhereClause('Record Change Replay Runs', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
5402
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Record Change Replay Runs', await dataSource.query(sSQL));
|
|
5403
|
+
return result;
|
|
5404
|
+
}
|
|
5358
5405
|
async CreateUser(input, { dataSource, userPayload }, pubSub) {
|
|
5359
5406
|
return this.CreateRecord('Users', input, dataSource, userPayload, pubSub);
|
|
5360
5407
|
}
|
|
@@ -5672,6 +5719,15 @@ __decorate([
|
|
|
5672
5719
|
__metadata("design:paramtypes", [User_, Object, server_1.PubSubEngine]),
|
|
5673
5720
|
__metadata("design:returntype", Promise)
|
|
5674
5721
|
], UserResolverBase.prototype, "RecommendationRunsArray", null);
|
|
5722
|
+
__decorate([
|
|
5723
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.RecordChangeReplayRun_]),
|
|
5724
|
+
__param(0, (0, server_1.Root)()),
|
|
5725
|
+
__param(1, (0, server_1.Ctx)()),
|
|
5726
|
+
__param(2, (0, server_1.PubSub)()),
|
|
5727
|
+
__metadata("design:type", Function),
|
|
5728
|
+
__metadata("design:paramtypes", [User_, Object, server_1.PubSubEngine]),
|
|
5729
|
+
__metadata("design:returntype", Promise)
|
|
5730
|
+
], UserResolverBase.prototype, "RecordChangeReplayRunsArray", null);
|
|
5675
5731
|
__decorate([
|
|
5676
5732
|
(0, server_1.Mutation)(() => User_),
|
|
5677
5733
|
__param(0, (0, server_1.Arg)('input', () => CreateUserInput)),
|
|
@@ -5761,29 +5817,52 @@ __decorate([
|
|
|
5761
5817
|
__metadata("design:type", String)
|
|
5762
5818
|
], EntityRelationship_.prototype, "JoinEntityInverseJoinField", void 0);
|
|
5763
5819
|
__decorate([
|
|
5764
|
-
(0, server_1.Field)(() => Boolean),
|
|
5820
|
+
(0, server_1.Field)(() => Boolean, { description: 'When unchecked the relationship will NOT be displayed on the generated form' }),
|
|
5765
5821
|
__metadata("design:type", Boolean)
|
|
5766
5822
|
], EntityRelationship_.prototype, "DisplayInForm", void 0);
|
|
5767
5823
|
__decorate([
|
|
5768
|
-
(0, server_1.Field)(
|
|
5824
|
+
(0, server_1.Field)(),
|
|
5825
|
+
(0, class_validator_1.MaxLength)(100),
|
|
5826
|
+
__metadata("design:type", String)
|
|
5827
|
+
], EntityRelationship_.prototype, "DisplayLocation", void 0);
|
|
5828
|
+
__decorate([
|
|
5829
|
+
(0, server_1.Field)({ nullable: true, description: 'Optional, when specified this value overrides the related entity name for the label on the tab' }),
|
|
5769
5830
|
(0, class_validator_1.MaxLength)(510),
|
|
5770
5831
|
__metadata("design:type", String)
|
|
5771
5832
|
], EntityRelationship_.prototype, "DisplayName", void 0);
|
|
5833
|
+
__decorate([
|
|
5834
|
+
(0, server_1.Field)({ description: 'When Related Entity Icon - uses the icon from the related entity, if one exists. When Custom, uses the value in the DisplayIcon field in this record, and when None, no icon is displayed' }),
|
|
5835
|
+
(0, class_validator_1.MaxLength)(100),
|
|
5836
|
+
__metadata("design:type", String)
|
|
5837
|
+
], EntityRelationship_.prototype, "DisplayIconType", void 0);
|
|
5838
|
+
__decorate([
|
|
5839
|
+
(0, server_1.Field)({ nullable: true, description: 'If specified, the icon ' }),
|
|
5840
|
+
(0, class_validator_1.MaxLength)(510),
|
|
5841
|
+
__metadata("design:type", String)
|
|
5842
|
+
], EntityRelationship_.prototype, "DisplayIcon", void 0);
|
|
5772
5843
|
__decorate([
|
|
5773
5844
|
(0, server_1.Field)({ nullable: true }),
|
|
5774
5845
|
(0, class_validator_1.MaxLength)(16),
|
|
5775
5846
|
__metadata("design:type", String)
|
|
5776
5847
|
], EntityRelationship_.prototype, "DisplayUserViewGUID", void 0);
|
|
5848
|
+
__decorate([
|
|
5849
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true, description: 'If specified, this component will be used for displaying the relationship within the parent entity\'s form' }),
|
|
5850
|
+
__metadata("design:type", Number)
|
|
5851
|
+
], EntityRelationship_.prototype, "DisplayComponentID", void 0);
|
|
5852
|
+
__decorate([
|
|
5853
|
+
(0, server_1.Field)({ nullable: true, description: 'If DisplayComponentID is specified, this field can optionally be used to track component-specific and relationship-specific configuration details that will be used by CodeGen to provide to the display component selected.' }),
|
|
5854
|
+
__metadata("design:type", String)
|
|
5855
|
+
], EntityRelationship_.prototype, "DisplayComponentConfiguration", void 0);
|
|
5777
5856
|
__decorate([
|
|
5778
5857
|
(0, server_1.Field)(),
|
|
5779
|
-
(0, class_validator_1.MaxLength)(
|
|
5858
|
+
(0, class_validator_1.MaxLength)(10),
|
|
5780
5859
|
__metadata("design:type", Date)
|
|
5781
|
-
], EntityRelationship_.prototype, "
|
|
5860
|
+
], EntityRelationship_.prototype, "_mj__CreatedAt", void 0);
|
|
5782
5861
|
__decorate([
|
|
5783
5862
|
(0, server_1.Field)(),
|
|
5784
|
-
(0, class_validator_1.MaxLength)(
|
|
5863
|
+
(0, class_validator_1.MaxLength)(10),
|
|
5785
5864
|
__metadata("design:type", Date)
|
|
5786
|
-
], EntityRelationship_.prototype, "
|
|
5865
|
+
], EntityRelationship_.prototype, "_mj__UpdatedAt", void 0);
|
|
5787
5866
|
__decorate([
|
|
5788
5867
|
(0, server_1.Field)(),
|
|
5789
5868
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -5889,10 +5968,30 @@ __decorate([
|
|
|
5889
5968
|
(0, server_1.Field)(() => Boolean),
|
|
5890
5969
|
__metadata("design:type", Boolean)
|
|
5891
5970
|
], CreateEntityRelationshipInput.prototype, "DisplayInForm", void 0);
|
|
5971
|
+
__decorate([
|
|
5972
|
+
(0, server_1.Field)(),
|
|
5973
|
+
__metadata("design:type", String)
|
|
5974
|
+
], CreateEntityRelationshipInput.prototype, "DisplayLocation", void 0);
|
|
5892
5975
|
__decorate([
|
|
5893
5976
|
(0, server_1.Field)({ nullable: true }),
|
|
5894
5977
|
__metadata("design:type", String)
|
|
5895
5978
|
], CreateEntityRelationshipInput.prototype, "DisplayName", void 0);
|
|
5979
|
+
__decorate([
|
|
5980
|
+
(0, server_1.Field)(),
|
|
5981
|
+
__metadata("design:type", String)
|
|
5982
|
+
], CreateEntityRelationshipInput.prototype, "DisplayIconType", void 0);
|
|
5983
|
+
__decorate([
|
|
5984
|
+
(0, server_1.Field)({ nullable: true }),
|
|
5985
|
+
__metadata("design:type", String)
|
|
5986
|
+
], CreateEntityRelationshipInput.prototype, "DisplayIcon", void 0);
|
|
5987
|
+
__decorate([
|
|
5988
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
5989
|
+
__metadata("design:type", Number)
|
|
5990
|
+
], CreateEntityRelationshipInput.prototype, "DisplayComponentID", void 0);
|
|
5991
|
+
__decorate([
|
|
5992
|
+
(0, server_1.Field)({ nullable: true }),
|
|
5993
|
+
__metadata("design:type", String)
|
|
5994
|
+
], CreateEntityRelationshipInput.prototype, "DisplayComponentConfiguration", void 0);
|
|
5896
5995
|
exports.CreateEntityRelationshipInput = CreateEntityRelationshipInput = __decorate([
|
|
5897
5996
|
(0, server_1.InputType)()
|
|
5898
5997
|
], CreateEntityRelationshipInput);
|
|
@@ -5951,10 +6050,30 @@ __decorate([
|
|
|
5951
6050
|
(0, server_1.Field)(() => Boolean),
|
|
5952
6051
|
__metadata("design:type", Boolean)
|
|
5953
6052
|
], UpdateEntityRelationshipInput.prototype, "DisplayInForm", void 0);
|
|
6053
|
+
__decorate([
|
|
6054
|
+
(0, server_1.Field)(),
|
|
6055
|
+
__metadata("design:type", String)
|
|
6056
|
+
], UpdateEntityRelationshipInput.prototype, "DisplayLocation", void 0);
|
|
5954
6057
|
__decorate([
|
|
5955
6058
|
(0, server_1.Field)({ nullable: true }),
|
|
5956
6059
|
__metadata("design:type", String)
|
|
5957
6060
|
], UpdateEntityRelationshipInput.prototype, "DisplayName", void 0);
|
|
6061
|
+
__decorate([
|
|
6062
|
+
(0, server_1.Field)(),
|
|
6063
|
+
__metadata("design:type", String)
|
|
6064
|
+
], UpdateEntityRelationshipInput.prototype, "DisplayIconType", void 0);
|
|
6065
|
+
__decorate([
|
|
6066
|
+
(0, server_1.Field)({ nullable: true }),
|
|
6067
|
+
__metadata("design:type", String)
|
|
6068
|
+
], UpdateEntityRelationshipInput.prototype, "DisplayIcon", void 0);
|
|
6069
|
+
__decorate([
|
|
6070
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
6071
|
+
__metadata("design:type", Number)
|
|
6072
|
+
], UpdateEntityRelationshipInput.prototype, "DisplayComponentID", void 0);
|
|
6073
|
+
__decorate([
|
|
6074
|
+
(0, server_1.Field)({ nullable: true }),
|
|
6075
|
+
__metadata("design:type", String)
|
|
6076
|
+
], UpdateEntityRelationshipInput.prototype, "DisplayComponentConfiguration", void 0);
|
|
5958
6077
|
__decorate([
|
|
5959
6078
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
5960
6079
|
__metadata("design:type", Array)
|
|
@@ -6140,6 +6259,16 @@ __decorate([
|
|
|
6140
6259
|
(0, server_1.Field)(() => server_1.Int),
|
|
6141
6260
|
__metadata("design:type", Number)
|
|
6142
6261
|
], UserRecordLog_.prototype, "TotalCount", void 0);
|
|
6262
|
+
__decorate([
|
|
6263
|
+
(0, server_1.Field)(),
|
|
6264
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6265
|
+
__metadata("design:type", Date)
|
|
6266
|
+
], UserRecordLog_.prototype, "_mj__CreatedAt", void 0);
|
|
6267
|
+
__decorate([
|
|
6268
|
+
(0, server_1.Field)(),
|
|
6269
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6270
|
+
__metadata("design:type", Date)
|
|
6271
|
+
], UserRecordLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
6143
6272
|
__decorate([
|
|
6144
6273
|
(0, server_1.Field)(),
|
|
6145
6274
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -6397,15 +6526,15 @@ __decorate([
|
|
|
6397
6526
|
__metadata("design:type", String)
|
|
6398
6527
|
], UserView_.prototype, "SortState", void 0);
|
|
6399
6528
|
__decorate([
|
|
6400
|
-
(0, server_1.Field)(
|
|
6401
|
-
(0, class_validator_1.MaxLength)(
|
|
6529
|
+
(0, server_1.Field)(),
|
|
6530
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6402
6531
|
__metadata("design:type", Date)
|
|
6403
|
-
], UserView_.prototype, "
|
|
6532
|
+
], UserView_.prototype, "_mj__CreatedAt", void 0);
|
|
6404
6533
|
__decorate([
|
|
6405
|
-
(0, server_1.Field)(
|
|
6406
|
-
(0, class_validator_1.MaxLength)(
|
|
6534
|
+
(0, server_1.Field)(),
|
|
6535
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6407
6536
|
__metadata("design:type", Date)
|
|
6408
|
-
], UserView_.prototype, "
|
|
6537
|
+
], UserView_.prototype, "_mj__UpdatedAt", void 0);
|
|
6409
6538
|
__decorate([
|
|
6410
6539
|
(0, server_1.Field)(),
|
|
6411
6540
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -6829,6 +6958,16 @@ __decorate([
|
|
|
6829
6958
|
(0, server_1.Field)({ nullable: true }),
|
|
6830
6959
|
__metadata("design:type", String)
|
|
6831
6960
|
], CompanyIntegrationRun_.prototype, "Comments", void 0);
|
|
6961
|
+
__decorate([
|
|
6962
|
+
(0, server_1.Field)(),
|
|
6963
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6964
|
+
__metadata("design:type", Date)
|
|
6965
|
+
], CompanyIntegrationRun_.prototype, "_mj__CreatedAt", void 0);
|
|
6966
|
+
__decorate([
|
|
6967
|
+
(0, server_1.Field)(),
|
|
6968
|
+
(0, class_validator_1.MaxLength)(10),
|
|
6969
|
+
__metadata("design:type", Date)
|
|
6970
|
+
], CompanyIntegrationRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
6832
6971
|
__decorate([
|
|
6833
6972
|
(0, server_1.Field)(),
|
|
6834
6973
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -7070,6 +7209,16 @@ __decorate([
|
|
|
7070
7209
|
(0, server_1.Field)(() => Boolean),
|
|
7071
7210
|
__metadata("design:type", Boolean)
|
|
7072
7211
|
], CompanyIntegrationRunDetail_.prototype, "IsSuccess", void 0);
|
|
7212
|
+
__decorate([
|
|
7213
|
+
(0, server_1.Field)(),
|
|
7214
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7215
|
+
__metadata("design:type", Date)
|
|
7216
|
+
], CompanyIntegrationRunDetail_.prototype, "_mj__CreatedAt", void 0);
|
|
7217
|
+
__decorate([
|
|
7218
|
+
(0, server_1.Field)(),
|
|
7219
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7220
|
+
__metadata("design:type", Date)
|
|
7221
|
+
], CompanyIntegrationRunDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
7073
7222
|
__decorate([
|
|
7074
7223
|
(0, server_1.Field)(),
|
|
7075
7224
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -7273,11 +7422,6 @@ __decorate([
|
|
|
7273
7422
|
(0, server_1.Field)({ nullable: true }),
|
|
7274
7423
|
__metadata("design:type", String)
|
|
7275
7424
|
], ErrorLog_.prototype, "Message", void 0);
|
|
7276
|
-
__decorate([
|
|
7277
|
-
(0, server_1.Field)(),
|
|
7278
|
-
(0, class_validator_1.MaxLength)(8),
|
|
7279
|
-
__metadata("design:type", Date)
|
|
7280
|
-
], ErrorLog_.prototype, "CreatedAt", void 0);
|
|
7281
7425
|
__decorate([
|
|
7282
7426
|
(0, server_1.Field)({ nullable: true }),
|
|
7283
7427
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -7297,6 +7441,16 @@ __decorate([
|
|
|
7297
7441
|
(0, server_1.Field)({ nullable: true }),
|
|
7298
7442
|
__metadata("design:type", String)
|
|
7299
7443
|
], ErrorLog_.prototype, "Details", void 0);
|
|
7444
|
+
__decorate([
|
|
7445
|
+
(0, server_1.Field)(),
|
|
7446
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7447
|
+
__metadata("design:type", Date)
|
|
7448
|
+
], ErrorLog_.prototype, "_mj__CreatedAt", void 0);
|
|
7449
|
+
__decorate([
|
|
7450
|
+
(0, server_1.Field)(),
|
|
7451
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7452
|
+
__metadata("design:type", Date)
|
|
7453
|
+
], ErrorLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
7300
7454
|
exports.ErrorLog_ = ErrorLog_ = __decorate([
|
|
7301
7455
|
(0, server_1.ObjectType)()
|
|
7302
7456
|
], ErrorLog_);
|
|
@@ -7477,14 +7631,14 @@ __decorate([
|
|
|
7477
7631
|
], Application_.prototype, "DefaultForNewUser", void 0);
|
|
7478
7632
|
__decorate([
|
|
7479
7633
|
(0, server_1.Field)(),
|
|
7480
|
-
(0, class_validator_1.MaxLength)(
|
|
7634
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7481
7635
|
__metadata("design:type", Date)
|
|
7482
|
-
], Application_.prototype, "
|
|
7636
|
+
], Application_.prototype, "_mj__CreatedAt", void 0);
|
|
7483
7637
|
__decorate([
|
|
7484
7638
|
(0, server_1.Field)(),
|
|
7485
|
-
(0, class_validator_1.MaxLength)(
|
|
7639
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7486
7640
|
__metadata("design:type", Date)
|
|
7487
|
-
], Application_.prototype, "
|
|
7641
|
+
], Application_.prototype, "_mj__UpdatedAt", void 0);
|
|
7488
7642
|
__decorate([
|
|
7489
7643
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ApplicationEntity_]),
|
|
7490
7644
|
__metadata("design:type", Array)
|
|
@@ -7767,14 +7921,14 @@ __decorate([
|
|
|
7767
7921
|
], ApplicationEntity_.prototype, "DefaultForNewUser", void 0);
|
|
7768
7922
|
__decorate([
|
|
7769
7923
|
(0, server_1.Field)(),
|
|
7770
|
-
(0, class_validator_1.MaxLength)(
|
|
7924
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7771
7925
|
__metadata("design:type", Date)
|
|
7772
|
-
], ApplicationEntity_.prototype, "
|
|
7926
|
+
], ApplicationEntity_.prototype, "_mj__CreatedAt", void 0);
|
|
7773
7927
|
__decorate([
|
|
7774
7928
|
(0, server_1.Field)(),
|
|
7775
|
-
(0, class_validator_1.MaxLength)(
|
|
7929
|
+
(0, class_validator_1.MaxLength)(10),
|
|
7776
7930
|
__metadata("design:type", Date)
|
|
7777
|
-
], ApplicationEntity_.prototype, "
|
|
7931
|
+
], ApplicationEntity_.prototype, "_mj__UpdatedAt", void 0);
|
|
7778
7932
|
__decorate([
|
|
7779
7933
|
(0, server_1.Field)(),
|
|
7780
7934
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -8037,14 +8191,14 @@ __decorate([
|
|
|
8037
8191
|
], EntityPermission_.prototype, "DeleteRLSFilterID", void 0);
|
|
8038
8192
|
__decorate([
|
|
8039
8193
|
(0, server_1.Field)(),
|
|
8040
|
-
(0, class_validator_1.MaxLength)(
|
|
8194
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8041
8195
|
__metadata("design:type", Date)
|
|
8042
|
-
], EntityPermission_.prototype, "
|
|
8196
|
+
], EntityPermission_.prototype, "_mj__CreatedAt", void 0);
|
|
8043
8197
|
__decorate([
|
|
8044
8198
|
(0, server_1.Field)(),
|
|
8045
|
-
(0, class_validator_1.MaxLength)(
|
|
8199
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8046
8200
|
__metadata("design:type", Date)
|
|
8047
|
-
], EntityPermission_.prototype, "
|
|
8201
|
+
], EntityPermission_.prototype, "_mj__UpdatedAt", void 0);
|
|
8048
8202
|
__decorate([
|
|
8049
8203
|
(0, server_1.Field)(),
|
|
8050
8204
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -8341,6 +8495,16 @@ __decorate([
|
|
|
8341
8495
|
(0, server_1.Field)(() => server_1.Int),
|
|
8342
8496
|
__metadata("design:type", Number)
|
|
8343
8497
|
], UserApplicationEntity_.prototype, "Sequence", void 0);
|
|
8498
|
+
__decorate([
|
|
8499
|
+
(0, server_1.Field)(),
|
|
8500
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8501
|
+
__metadata("design:type", Date)
|
|
8502
|
+
], UserApplicationEntity_.prototype, "_mj__CreatedAt", void 0);
|
|
8503
|
+
__decorate([
|
|
8504
|
+
(0, server_1.Field)(),
|
|
8505
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8506
|
+
__metadata("design:type", Date)
|
|
8507
|
+
], UserApplicationEntity_.prototype, "_mj__UpdatedAt", void 0);
|
|
8344
8508
|
__decorate([
|
|
8345
8509
|
(0, server_1.Field)(),
|
|
8346
8510
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -8556,6 +8720,16 @@ __decorate([
|
|
|
8556
8720
|
(0, server_1.Field)(() => Boolean),
|
|
8557
8721
|
__metadata("design:type", Boolean)
|
|
8558
8722
|
], UserApplication_.prototype, "IsActive", void 0);
|
|
8723
|
+
__decorate([
|
|
8724
|
+
(0, server_1.Field)(),
|
|
8725
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8726
|
+
__metadata("design:type", Date)
|
|
8727
|
+
], UserApplication_.prototype, "_mj__CreatedAt", void 0);
|
|
8728
|
+
__decorate([
|
|
8729
|
+
(0, server_1.Field)(),
|
|
8730
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8731
|
+
__metadata("design:type", Date)
|
|
8732
|
+
], UserApplication_.prototype, "_mj__UpdatedAt", void 0);
|
|
8559
8733
|
__decorate([
|
|
8560
8734
|
(0, server_1.Field)(),
|
|
8561
8735
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -8803,6 +8977,16 @@ __decorate([
|
|
|
8803
8977
|
(0, server_1.Field)({ nullable: true }),
|
|
8804
8978
|
__metadata("design:type", String)
|
|
8805
8979
|
], CompanyIntegrationRunAPILog_.prototype, "Parameters", void 0);
|
|
8980
|
+
__decorate([
|
|
8981
|
+
(0, server_1.Field)(),
|
|
8982
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8983
|
+
__metadata("design:type", Date)
|
|
8984
|
+
], CompanyIntegrationRunAPILog_.prototype, "_mj__CreatedAt", void 0);
|
|
8985
|
+
__decorate([
|
|
8986
|
+
(0, server_1.Field)(),
|
|
8987
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8988
|
+
__metadata("design:type", Date)
|
|
8989
|
+
], CompanyIntegrationRunAPILog_.prototype, "_mj__UpdatedAt", void 0);
|
|
8806
8990
|
exports.CompanyIntegrationRunAPILog_ = CompanyIntegrationRunAPILog_ = __decorate([
|
|
8807
8991
|
(0, server_1.ObjectType)()
|
|
8808
8992
|
], CompanyIntegrationRunAPILog_);
|
|
@@ -8981,20 +9165,20 @@ __decorate([
|
|
|
8981
9165
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
8982
9166
|
__metadata("design:type", Number)
|
|
8983
9167
|
], List_.prototype, "CompanyIntegrationID", void 0);
|
|
9168
|
+
__decorate([
|
|
9169
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
9170
|
+
__metadata("design:type", Number)
|
|
9171
|
+
], List_.prototype, "CategoryID", void 0);
|
|
8984
9172
|
__decorate([
|
|
8985
9173
|
(0, server_1.Field)(),
|
|
8986
|
-
(0, class_validator_1.MaxLength)(
|
|
9174
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8987
9175
|
__metadata("design:type", Date)
|
|
8988
|
-
], List_.prototype, "
|
|
9176
|
+
], List_.prototype, "_mj__CreatedAt", void 0);
|
|
8989
9177
|
__decorate([
|
|
8990
9178
|
(0, server_1.Field)(),
|
|
8991
|
-
(0, class_validator_1.MaxLength)(
|
|
9179
|
+
(0, class_validator_1.MaxLength)(10),
|
|
8992
9180
|
__metadata("design:type", Date)
|
|
8993
|
-
], List_.prototype, "
|
|
8994
|
-
__decorate([
|
|
8995
|
-
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
8996
|
-
__metadata("design:type", Number)
|
|
8997
|
-
], List_.prototype, "CategoryID", void 0);
|
|
9181
|
+
], List_.prototype, "_mj__UpdatedAt", void 0);
|
|
8998
9182
|
__decorate([
|
|
8999
9183
|
(0, server_1.Field)(),
|
|
9000
9184
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -9272,6 +9456,16 @@ __decorate([
|
|
|
9272
9456
|
(0, server_1.Field)(() => server_1.Int),
|
|
9273
9457
|
__metadata("design:type", Number)
|
|
9274
9458
|
], ListDetail_.prototype, "Sequence", void 0);
|
|
9459
|
+
__decorate([
|
|
9460
|
+
(0, server_1.Field)(),
|
|
9461
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9462
|
+
__metadata("design:type", Date)
|
|
9463
|
+
], ListDetail_.prototype, "_mj__CreatedAt", void 0);
|
|
9464
|
+
__decorate([
|
|
9465
|
+
(0, server_1.Field)(),
|
|
9466
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9467
|
+
__metadata("design:type", Date)
|
|
9468
|
+
], ListDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
9275
9469
|
__decorate([
|
|
9276
9470
|
(0, server_1.Field)(),
|
|
9277
9471
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -9474,6 +9668,16 @@ __decorate([
|
|
|
9474
9668
|
(0, server_1.Field)(() => server_1.Int),
|
|
9475
9669
|
__metadata("design:type", Number)
|
|
9476
9670
|
], UserViewRun_.prototype, "RunByUserID", void 0);
|
|
9671
|
+
__decorate([
|
|
9672
|
+
(0, server_1.Field)(),
|
|
9673
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9674
|
+
__metadata("design:type", Date)
|
|
9675
|
+
], UserViewRun_.prototype, "_mj__CreatedAt", void 0);
|
|
9676
|
+
__decorate([
|
|
9677
|
+
(0, server_1.Field)(),
|
|
9678
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9679
|
+
__metadata("design:type", Date)
|
|
9680
|
+
], UserViewRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
9477
9681
|
__decorate([
|
|
9478
9682
|
(0, server_1.Field)(),
|
|
9479
9683
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -9682,6 +9886,16 @@ __decorate([
|
|
|
9682
9886
|
(0, class_validator_1.MaxLength)(510),
|
|
9683
9887
|
__metadata("design:type", String)
|
|
9684
9888
|
], UserViewRunDetail_.prototype, "RecordID", void 0);
|
|
9889
|
+
__decorate([
|
|
9890
|
+
(0, server_1.Field)(),
|
|
9891
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9892
|
+
__metadata("design:type", Date)
|
|
9893
|
+
], UserViewRunDetail_.prototype, "_mj__CreatedAt", void 0);
|
|
9894
|
+
__decorate([
|
|
9895
|
+
(0, server_1.Field)(),
|
|
9896
|
+
(0, class_validator_1.MaxLength)(10),
|
|
9897
|
+
__metadata("design:type", Date)
|
|
9898
|
+
], UserViewRunDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
9685
9899
|
__decorate([
|
|
9686
9900
|
(0, server_1.Field)(() => server_1.Int),
|
|
9687
9901
|
__metadata("design:type", Number)
|
|
@@ -9881,6 +10095,16 @@ __decorate([
|
|
|
9881
10095
|
(0, server_1.Field)({ nullable: true }),
|
|
9882
10096
|
__metadata("design:type", String)
|
|
9883
10097
|
], WorkflowRun_.prototype, "Results", void 0);
|
|
10098
|
+
__decorate([
|
|
10099
|
+
(0, server_1.Field)(),
|
|
10100
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10101
|
+
__metadata("design:type", Date)
|
|
10102
|
+
], WorkflowRun_.prototype, "_mj__CreatedAt", void 0);
|
|
10103
|
+
__decorate([
|
|
10104
|
+
(0, server_1.Field)(),
|
|
10105
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10106
|
+
__metadata("design:type", Date)
|
|
10107
|
+
], WorkflowRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
9884
10108
|
__decorate([
|
|
9885
10109
|
(0, server_1.Field)(),
|
|
9886
10110
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -10067,16 +10291,6 @@ __decorate([
|
|
|
10067
10291
|
(0, class_validator_1.MaxLength)(200),
|
|
10068
10292
|
__metadata("design:type", String)
|
|
10069
10293
|
], Workflow_.prototype, "ExternalSystemRecordID", void 0);
|
|
10070
|
-
__decorate([
|
|
10071
|
-
(0, server_1.Field)(),
|
|
10072
|
-
(0, class_validator_1.MaxLength)(8),
|
|
10073
|
-
__metadata("design:type", Date)
|
|
10074
|
-
], Workflow_.prototype, "CreatedAt", void 0);
|
|
10075
|
-
__decorate([
|
|
10076
|
-
(0, server_1.Field)(),
|
|
10077
|
-
(0, class_validator_1.MaxLength)(8),
|
|
10078
|
-
__metadata("design:type", Date)
|
|
10079
|
-
], Workflow_.prototype, "UpdatedAt", void 0);
|
|
10080
10294
|
__decorate([
|
|
10081
10295
|
(0, server_1.Field)(() => Boolean, { description: 'If set to 1, the workflow will be run automatically on the interval specified by the AutoRunIntervalType and AutoRunInterval fields' }),
|
|
10082
10296
|
__metadata("design:type", Boolean)
|
|
@@ -10095,6 +10309,16 @@ __decorate([
|
|
|
10095
10309
|
(0, class_validator_1.MaxLength)(400),
|
|
10096
10310
|
__metadata("design:type", String)
|
|
10097
10311
|
], Workflow_.prototype, "SubclassName", void 0);
|
|
10312
|
+
__decorate([
|
|
10313
|
+
(0, server_1.Field)(),
|
|
10314
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10315
|
+
__metadata("design:type", Date)
|
|
10316
|
+
], Workflow_.prototype, "_mj__CreatedAt", void 0);
|
|
10317
|
+
__decorate([
|
|
10318
|
+
(0, server_1.Field)(),
|
|
10319
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10320
|
+
__metadata("design:type", Date)
|
|
10321
|
+
], Workflow_.prototype, "_mj__UpdatedAt", void 0);
|
|
10098
10322
|
__decorate([
|
|
10099
10323
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
10100
10324
|
__metadata("design:type", Number)
|
|
@@ -10322,14 +10546,14 @@ __decorate([
|
|
|
10322
10546
|
], WorkflowEngine_.prototype, "DriverClass", void 0);
|
|
10323
10547
|
__decorate([
|
|
10324
10548
|
(0, server_1.Field)(),
|
|
10325
|
-
(0, class_validator_1.MaxLength)(
|
|
10549
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10326
10550
|
__metadata("design:type", Date)
|
|
10327
|
-
], WorkflowEngine_.prototype, "
|
|
10551
|
+
], WorkflowEngine_.prototype, "_mj__CreatedAt", void 0);
|
|
10328
10552
|
__decorate([
|
|
10329
10553
|
(0, server_1.Field)(),
|
|
10330
|
-
(0, class_validator_1.MaxLength)(
|
|
10554
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10331
10555
|
__metadata("design:type", Date)
|
|
10332
|
-
], WorkflowEngine_.prototype, "
|
|
10556
|
+
], WorkflowEngine_.prototype, "_mj__UpdatedAt", void 0);
|
|
10333
10557
|
__decorate([
|
|
10334
10558
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Workflow_]),
|
|
10335
10559
|
__metadata("design:type", Array)
|
|
@@ -10512,7 +10736,7 @@ __decorate([
|
|
|
10512
10736
|
__metadata("design:type", String)
|
|
10513
10737
|
], RecordChange_.prototype, "Type", void 0);
|
|
10514
10738
|
__decorate([
|
|
10515
|
-
(0, server_1.Field)({
|
|
10739
|
+
(0, server_1.Field)({ description: 'Internal or External' }),
|
|
10516
10740
|
(0, class_validator_1.MaxLength)(40),
|
|
10517
10741
|
__metadata("design:type", String)
|
|
10518
10742
|
], RecordChange_.prototype, "Source", void 0);
|
|
@@ -10522,7 +10746,7 @@ __decorate([
|
|
|
10522
10746
|
], RecordChange_.prototype, "IntegrationID", void 0);
|
|
10523
10747
|
__decorate([
|
|
10524
10748
|
(0, server_1.Field)({ description: 'The date/time that the change occured.' }),
|
|
10525
|
-
(0, class_validator_1.MaxLength)(
|
|
10749
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10526
10750
|
__metadata("design:type", Date)
|
|
10527
10751
|
], RecordChange_.prototype, "ChangedAt", void 0);
|
|
10528
10752
|
__decorate([
|
|
@@ -10542,6 +10766,10 @@ __decorate([
|
|
|
10542
10766
|
(0, class_validator_1.MaxLength)(100),
|
|
10543
10767
|
__metadata("design:type", String)
|
|
10544
10768
|
], RecordChange_.prototype, "Status", void 0);
|
|
10769
|
+
__decorate([
|
|
10770
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true, description: 'For external changes only, this run ID is the link to the replay run that the change record was part of' }),
|
|
10771
|
+
__metadata("design:type", Number)
|
|
10772
|
+
], RecordChange_.prototype, "ReplayRunID", void 0);
|
|
10545
10773
|
__decorate([
|
|
10546
10774
|
(0, server_1.Field)({ nullable: true }),
|
|
10547
10775
|
__metadata("design:type", String)
|
|
@@ -10552,12 +10780,12 @@ __decorate([
|
|
|
10552
10780
|
], RecordChange_.prototype, "Comments", void 0);
|
|
10553
10781
|
__decorate([
|
|
10554
10782
|
(0, server_1.Field)(),
|
|
10555
|
-
(0, class_validator_1.MaxLength)(
|
|
10783
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10556
10784
|
__metadata("design:type", Date)
|
|
10557
10785
|
], RecordChange_.prototype, "CreatedAt", void 0);
|
|
10558
10786
|
__decorate([
|
|
10559
10787
|
(0, server_1.Field)(),
|
|
10560
|
-
(0, class_validator_1.MaxLength)(
|
|
10788
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10561
10789
|
__metadata("design:type", Date)
|
|
10562
10790
|
], RecordChange_.prototype, "UpdatedAt", void 0);
|
|
10563
10791
|
__decorate([
|
|
@@ -10598,7 +10826,7 @@ __decorate([
|
|
|
10598
10826
|
__metadata("design:type", String)
|
|
10599
10827
|
], CreateRecordChangeInput.prototype, "Type", void 0);
|
|
10600
10828
|
__decorate([
|
|
10601
|
-
(0, server_1.Field)(
|
|
10829
|
+
(0, server_1.Field)(),
|
|
10602
10830
|
__metadata("design:type", String)
|
|
10603
10831
|
], CreateRecordChangeInput.prototype, "Source", void 0);
|
|
10604
10832
|
__decorate([
|
|
@@ -10625,6 +10853,10 @@ __decorate([
|
|
|
10625
10853
|
(0, server_1.Field)(),
|
|
10626
10854
|
__metadata("design:type", String)
|
|
10627
10855
|
], CreateRecordChangeInput.prototype, "Status", void 0);
|
|
10856
|
+
__decorate([
|
|
10857
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
10858
|
+
__metadata("design:type", Number)
|
|
10859
|
+
], CreateRecordChangeInput.prototype, "ReplayRunID", void 0);
|
|
10628
10860
|
__decorate([
|
|
10629
10861
|
(0, server_1.Field)({ nullable: true }),
|
|
10630
10862
|
__metadata("design:type", String)
|
|
@@ -10636,6 +10868,76 @@ __decorate([
|
|
|
10636
10868
|
exports.CreateRecordChangeInput = CreateRecordChangeInput = __decorate([
|
|
10637
10869
|
(0, server_1.InputType)()
|
|
10638
10870
|
], CreateRecordChangeInput);
|
|
10871
|
+
let UpdateRecordChangeInput = class UpdateRecordChangeInput {
|
|
10872
|
+
};
|
|
10873
|
+
exports.UpdateRecordChangeInput = UpdateRecordChangeInput;
|
|
10874
|
+
__decorate([
|
|
10875
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
10876
|
+
__metadata("design:type", Number)
|
|
10877
|
+
], UpdateRecordChangeInput.prototype, "ID", void 0);
|
|
10878
|
+
__decorate([
|
|
10879
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
10880
|
+
__metadata("design:type", Number)
|
|
10881
|
+
], UpdateRecordChangeInput.prototype, "EntityID", void 0);
|
|
10882
|
+
__decorate([
|
|
10883
|
+
(0, server_1.Field)(),
|
|
10884
|
+
__metadata("design:type", String)
|
|
10885
|
+
], UpdateRecordChangeInput.prototype, "RecordID", void 0);
|
|
10886
|
+
__decorate([
|
|
10887
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
10888
|
+
__metadata("design:type", Number)
|
|
10889
|
+
], UpdateRecordChangeInput.prototype, "UserID", void 0);
|
|
10890
|
+
__decorate([
|
|
10891
|
+
(0, server_1.Field)(),
|
|
10892
|
+
__metadata("design:type", String)
|
|
10893
|
+
], UpdateRecordChangeInput.prototype, "Type", void 0);
|
|
10894
|
+
__decorate([
|
|
10895
|
+
(0, server_1.Field)(),
|
|
10896
|
+
__metadata("design:type", String)
|
|
10897
|
+
], UpdateRecordChangeInput.prototype, "Source", void 0);
|
|
10898
|
+
__decorate([
|
|
10899
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
10900
|
+
__metadata("design:type", Number)
|
|
10901
|
+
], UpdateRecordChangeInput.prototype, "IntegrationID", void 0);
|
|
10902
|
+
__decorate([
|
|
10903
|
+
(0, server_1.Field)(),
|
|
10904
|
+
__metadata("design:type", Date)
|
|
10905
|
+
], UpdateRecordChangeInput.prototype, "ChangedAt", void 0);
|
|
10906
|
+
__decorate([
|
|
10907
|
+
(0, server_1.Field)(),
|
|
10908
|
+
__metadata("design:type", String)
|
|
10909
|
+
], UpdateRecordChangeInput.prototype, "ChangesJSON", void 0);
|
|
10910
|
+
__decorate([
|
|
10911
|
+
(0, server_1.Field)(),
|
|
10912
|
+
__metadata("design:type", String)
|
|
10913
|
+
], UpdateRecordChangeInput.prototype, "ChangesDescription", void 0);
|
|
10914
|
+
__decorate([
|
|
10915
|
+
(0, server_1.Field)(),
|
|
10916
|
+
__metadata("design:type", String)
|
|
10917
|
+
], UpdateRecordChangeInput.prototype, "FullRecordJSON", void 0);
|
|
10918
|
+
__decorate([
|
|
10919
|
+
(0, server_1.Field)(),
|
|
10920
|
+
__metadata("design:type", String)
|
|
10921
|
+
], UpdateRecordChangeInput.prototype, "Status", void 0);
|
|
10922
|
+
__decorate([
|
|
10923
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
10924
|
+
__metadata("design:type", Number)
|
|
10925
|
+
], UpdateRecordChangeInput.prototype, "ReplayRunID", void 0);
|
|
10926
|
+
__decorate([
|
|
10927
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10928
|
+
__metadata("design:type", String)
|
|
10929
|
+
], UpdateRecordChangeInput.prototype, "ErrorLog", void 0);
|
|
10930
|
+
__decorate([
|
|
10931
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10932
|
+
__metadata("design:type", String)
|
|
10933
|
+
], UpdateRecordChangeInput.prototype, "Comments", void 0);
|
|
10934
|
+
__decorate([
|
|
10935
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
10936
|
+
__metadata("design:type", Array)
|
|
10937
|
+
], UpdateRecordChangeInput.prototype, "OldValues___", void 0);
|
|
10938
|
+
exports.UpdateRecordChangeInput = UpdateRecordChangeInput = __decorate([
|
|
10939
|
+
(0, server_1.InputType)()
|
|
10940
|
+
], UpdateRecordChangeInput);
|
|
10639
10941
|
let RunRecordChangeViewResult = class RunRecordChangeViewResult {
|
|
10640
10942
|
};
|
|
10641
10943
|
exports.RunRecordChangeViewResult = RunRecordChangeViewResult;
|
|
@@ -10690,6 +10992,9 @@ let RecordChangeResolver = class RecordChangeResolver extends server_1.ResolverB
|
|
|
10690
10992
|
async CreateRecordChange(input, { dataSource, userPayload }, pubSub) {
|
|
10691
10993
|
return this.CreateRecord('Record Changes', input, dataSource, userPayload, pubSub);
|
|
10692
10994
|
}
|
|
10995
|
+
async UpdateRecordChange(input, { dataSource, userPayload }, pubSub) {
|
|
10996
|
+
return this.UpdateRecord('Record Changes', input, dataSource, userPayload, pubSub);
|
|
10997
|
+
}
|
|
10693
10998
|
};
|
|
10694
10999
|
exports.RecordChangeResolver = RecordChangeResolver;
|
|
10695
11000
|
__decorate([
|
|
@@ -10737,6 +11042,15 @@ __decorate([
|
|
|
10737
11042
|
__metadata("design:paramtypes", [CreateRecordChangeInput, Object, server_1.PubSubEngine]),
|
|
10738
11043
|
__metadata("design:returntype", Promise)
|
|
10739
11044
|
], RecordChangeResolver.prototype, "CreateRecordChange", null);
|
|
11045
|
+
__decorate([
|
|
11046
|
+
(0, server_1.Mutation)(() => RecordChange_),
|
|
11047
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateRecordChangeInput)),
|
|
11048
|
+
__param(1, (0, server_1.Ctx)()),
|
|
11049
|
+
__param(2, (0, server_1.PubSub)()),
|
|
11050
|
+
__metadata("design:type", Function),
|
|
11051
|
+
__metadata("design:paramtypes", [UpdateRecordChangeInput, Object, server_1.PubSubEngine]),
|
|
11052
|
+
__metadata("design:returntype", Promise)
|
|
11053
|
+
], RecordChangeResolver.prototype, "UpdateRecordChange", null);
|
|
10740
11054
|
exports.RecordChangeResolver = RecordChangeResolver = __decorate([
|
|
10741
11055
|
(0, server_1.Resolver)(RecordChange_)
|
|
10742
11056
|
], RecordChangeResolver);
|
|
@@ -10758,14 +11072,14 @@ __decorate([
|
|
|
10758
11072
|
], UserRole_.prototype, "RoleName", void 0);
|
|
10759
11073
|
__decorate([
|
|
10760
11074
|
(0, server_1.Field)(),
|
|
10761
|
-
(0, class_validator_1.MaxLength)(
|
|
11075
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10762
11076
|
__metadata("design:type", Date)
|
|
10763
|
-
], UserRole_.prototype, "
|
|
11077
|
+
], UserRole_.prototype, "_mj__CreatedAt", void 0);
|
|
10764
11078
|
__decorate([
|
|
10765
11079
|
(0, server_1.Field)(),
|
|
10766
|
-
(0, class_validator_1.MaxLength)(
|
|
11080
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10767
11081
|
__metadata("design:type", Date)
|
|
10768
|
-
], UserRole_.prototype, "
|
|
11082
|
+
], UserRole_.prototype, "_mj__UpdatedAt", void 0);
|
|
10769
11083
|
__decorate([
|
|
10770
11084
|
(0, server_1.Field)(),
|
|
10771
11085
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -10942,14 +11256,14 @@ __decorate([
|
|
|
10942
11256
|
], RowLevelSecurityFilter_.prototype, "FilterText", void 0);
|
|
10943
11257
|
__decorate([
|
|
10944
11258
|
(0, server_1.Field)(),
|
|
10945
|
-
(0, class_validator_1.MaxLength)(
|
|
11259
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10946
11260
|
__metadata("design:type", Date)
|
|
10947
|
-
], RowLevelSecurityFilter_.prototype, "
|
|
11261
|
+
], RowLevelSecurityFilter_.prototype, "_mj__CreatedAt", void 0);
|
|
10948
11262
|
__decorate([
|
|
10949
11263
|
(0, server_1.Field)(),
|
|
10950
|
-
(0, class_validator_1.MaxLength)(
|
|
11264
|
+
(0, class_validator_1.MaxLength)(10),
|
|
10951
11265
|
__metadata("design:type", Date)
|
|
10952
|
-
], RowLevelSecurityFilter_.prototype, "
|
|
11266
|
+
], RowLevelSecurityFilter_.prototype, "_mj__UpdatedAt", void 0);
|
|
10953
11267
|
__decorate([
|
|
10954
11268
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityPermission_]),
|
|
10955
11269
|
__metadata("design:type", Array)
|
|
@@ -11123,14 +11437,14 @@ __decorate([
|
|
|
11123
11437
|
], AuditLog_.prototype, "RecordID", void 0);
|
|
11124
11438
|
__decorate([
|
|
11125
11439
|
(0, server_1.Field)(),
|
|
11126
|
-
(0, class_validator_1.MaxLength)(
|
|
11440
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11127
11441
|
__metadata("design:type", Date)
|
|
11128
|
-
], AuditLog_.prototype, "
|
|
11442
|
+
], AuditLog_.prototype, "_mj__CreatedAt", void 0);
|
|
11129
11443
|
__decorate([
|
|
11130
11444
|
(0, server_1.Field)(),
|
|
11131
|
-
(0, class_validator_1.MaxLength)(
|
|
11445
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11132
11446
|
__metadata("design:type", Date)
|
|
11133
|
-
], AuditLog_.prototype, "
|
|
11447
|
+
], AuditLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
11134
11448
|
__decorate([
|
|
11135
11449
|
(0, server_1.Field)(),
|
|
11136
11450
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -11374,14 +11688,14 @@ __decorate([
|
|
|
11374
11688
|
], Authorization_.prototype, "Description", void 0);
|
|
11375
11689
|
__decorate([
|
|
11376
11690
|
(0, server_1.Field)(),
|
|
11377
|
-
(0, class_validator_1.MaxLength)(
|
|
11691
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11378
11692
|
__metadata("design:type", Date)
|
|
11379
|
-
], Authorization_.prototype, "
|
|
11693
|
+
], Authorization_.prototype, "_mj__CreatedAt", void 0);
|
|
11380
11694
|
__decorate([
|
|
11381
11695
|
(0, server_1.Field)(),
|
|
11382
|
-
(0, class_validator_1.MaxLength)(
|
|
11696
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11383
11697
|
__metadata("design:type", Date)
|
|
11384
|
-
], Authorization_.prototype, "
|
|
11698
|
+
], Authorization_.prototype, "_mj__UpdatedAt", void 0);
|
|
11385
11699
|
__decorate([
|
|
11386
11700
|
(0, server_1.Field)({ nullable: true }),
|
|
11387
11701
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -11615,14 +11929,14 @@ __decorate([
|
|
|
11615
11929
|
], AuthorizationRole_.prototype, "Type", void 0);
|
|
11616
11930
|
__decorate([
|
|
11617
11931
|
(0, server_1.Field)(),
|
|
11618
|
-
(0, class_validator_1.MaxLength)(
|
|
11932
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11619
11933
|
__metadata("design:type", Date)
|
|
11620
|
-
], AuthorizationRole_.prototype, "
|
|
11934
|
+
], AuthorizationRole_.prototype, "_mj__CreatedAt", void 0);
|
|
11621
11935
|
__decorate([
|
|
11622
11936
|
(0, server_1.Field)(),
|
|
11623
|
-
(0, class_validator_1.MaxLength)(
|
|
11937
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11624
11938
|
__metadata("design:type", Date)
|
|
11625
|
-
], AuthorizationRole_.prototype, "
|
|
11939
|
+
], AuthorizationRole_.prototype, "_mj__UpdatedAt", void 0);
|
|
11626
11940
|
exports.AuthorizationRole_ = AuthorizationRole_ = __decorate([
|
|
11627
11941
|
(0, server_1.ObjectType)()
|
|
11628
11942
|
], AuthorizationRole_);
|
|
@@ -11759,14 +12073,14 @@ __decorate([
|
|
|
11759
12073
|
], AuditLogType_.prototype, "AuthorizationName", void 0);
|
|
11760
12074
|
__decorate([
|
|
11761
12075
|
(0, server_1.Field)(),
|
|
11762
|
-
(0, class_validator_1.MaxLength)(
|
|
12076
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11763
12077
|
__metadata("design:type", Date)
|
|
11764
|
-
], AuditLogType_.prototype, "
|
|
12078
|
+
], AuditLogType_.prototype, "_mj__CreatedAt", void 0);
|
|
11765
12079
|
__decorate([
|
|
11766
12080
|
(0, server_1.Field)(),
|
|
11767
|
-
(0, class_validator_1.MaxLength)(
|
|
12081
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11768
12082
|
__metadata("design:type", Date)
|
|
11769
|
-
], AuditLogType_.prototype, "
|
|
12083
|
+
], AuditLogType_.prototype, "_mj__UpdatedAt", void 0);
|
|
11770
12084
|
__decorate([
|
|
11771
12085
|
(0, server_1.Field)({ nullable: true }),
|
|
11772
12086
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -11955,14 +12269,14 @@ __decorate([
|
|
|
11955
12269
|
], EntityFieldValue_.prototype, "Description", void 0);
|
|
11956
12270
|
__decorate([
|
|
11957
12271
|
(0, server_1.Field)(),
|
|
11958
|
-
(0, class_validator_1.MaxLength)(
|
|
12272
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11959
12273
|
__metadata("design:type", Date)
|
|
11960
|
-
], EntityFieldValue_.prototype, "
|
|
12274
|
+
], EntityFieldValue_.prototype, "_mj__CreatedAt", void 0);
|
|
11961
12275
|
__decorate([
|
|
11962
12276
|
(0, server_1.Field)(),
|
|
11963
|
-
(0, class_validator_1.MaxLength)(
|
|
12277
|
+
(0, class_validator_1.MaxLength)(10),
|
|
11964
12278
|
__metadata("design:type", Date)
|
|
11965
|
-
], EntityFieldValue_.prototype, "
|
|
12279
|
+
], EntityFieldValue_.prototype, "_mj__UpdatedAt", void 0);
|
|
11966
12280
|
__decorate([
|
|
11967
12281
|
(0, server_1.Field)(),
|
|
11968
12282
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -11976,6 +12290,44 @@ __decorate([
|
|
|
11976
12290
|
exports.EntityFieldValue_ = EntityFieldValue_ = __decorate([
|
|
11977
12291
|
(0, server_1.ObjectType)()
|
|
11978
12292
|
], EntityFieldValue_);
|
|
12293
|
+
let UpdateEntityFieldValueInput = class UpdateEntityFieldValueInput {
|
|
12294
|
+
};
|
|
12295
|
+
exports.UpdateEntityFieldValueInput = UpdateEntityFieldValueInput;
|
|
12296
|
+
__decorate([
|
|
12297
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
12298
|
+
__metadata("design:type", Number)
|
|
12299
|
+
], UpdateEntityFieldValueInput.prototype, "ID", void 0);
|
|
12300
|
+
__decorate([
|
|
12301
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
12302
|
+
__metadata("design:type", Number)
|
|
12303
|
+
], UpdateEntityFieldValueInput.prototype, "EntityID", void 0);
|
|
12304
|
+
__decorate([
|
|
12305
|
+
(0, server_1.Field)(),
|
|
12306
|
+
__metadata("design:type", String)
|
|
12307
|
+
], UpdateEntityFieldValueInput.prototype, "EntityFieldName", void 0);
|
|
12308
|
+
__decorate([
|
|
12309
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
12310
|
+
__metadata("design:type", Number)
|
|
12311
|
+
], UpdateEntityFieldValueInput.prototype, "Sequence", void 0);
|
|
12312
|
+
__decorate([
|
|
12313
|
+
(0, server_1.Field)(),
|
|
12314
|
+
__metadata("design:type", String)
|
|
12315
|
+
], UpdateEntityFieldValueInput.prototype, "Value", void 0);
|
|
12316
|
+
__decorate([
|
|
12317
|
+
(0, server_1.Field)({ nullable: true }),
|
|
12318
|
+
__metadata("design:type", String)
|
|
12319
|
+
], UpdateEntityFieldValueInput.prototype, "Code", void 0);
|
|
12320
|
+
__decorate([
|
|
12321
|
+
(0, server_1.Field)({ nullable: true }),
|
|
12322
|
+
__metadata("design:type", String)
|
|
12323
|
+
], UpdateEntityFieldValueInput.prototype, "Description", void 0);
|
|
12324
|
+
__decorate([
|
|
12325
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
12326
|
+
__metadata("design:type", Array)
|
|
12327
|
+
], UpdateEntityFieldValueInput.prototype, "OldValues___", void 0);
|
|
12328
|
+
exports.UpdateEntityFieldValueInput = UpdateEntityFieldValueInput = __decorate([
|
|
12329
|
+
(0, server_1.InputType)()
|
|
12330
|
+
], UpdateEntityFieldValueInput);
|
|
11979
12331
|
let RunEntityFieldValueViewResult = class RunEntityFieldValueViewResult {
|
|
11980
12332
|
};
|
|
11981
12333
|
exports.RunEntityFieldValueViewResult = RunEntityFieldValueViewResult;
|
|
@@ -12033,6 +12385,9 @@ let EntityFieldValueResolver = class EntityFieldValueResolver extends server_1.R
|
|
|
12033
12385
|
const result = this.ArrayMapFieldNamesToCodeNames('Entity Field Values', await dataSource.query(sSQL));
|
|
12034
12386
|
return result;
|
|
12035
12387
|
}
|
|
12388
|
+
async UpdateEntityFieldValue(input, { dataSource, userPayload }, pubSub) {
|
|
12389
|
+
return this.UpdateRecord('Entity Field Values', input, dataSource, userPayload, pubSub);
|
|
12390
|
+
}
|
|
12036
12391
|
};
|
|
12037
12392
|
exports.EntityFieldValueResolver = EntityFieldValueResolver;
|
|
12038
12393
|
__decorate([
|
|
@@ -12079,6 +12434,15 @@ __decorate([
|
|
|
12079
12434
|
__metadata("design:paramtypes", [Object, server_1.PubSubEngine]),
|
|
12080
12435
|
__metadata("design:returntype", Promise)
|
|
12081
12436
|
], EntityFieldValueResolver.prototype, "AllEntityFieldValues", null);
|
|
12437
|
+
__decorate([
|
|
12438
|
+
(0, server_1.Mutation)(() => EntityFieldValue_),
|
|
12439
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateEntityFieldValueInput)),
|
|
12440
|
+
__param(1, (0, server_1.Ctx)()),
|
|
12441
|
+
__param(2, (0, server_1.PubSub)()),
|
|
12442
|
+
__metadata("design:type", Function),
|
|
12443
|
+
__metadata("design:paramtypes", [UpdateEntityFieldValueInput, Object, server_1.PubSubEngine]),
|
|
12444
|
+
__metadata("design:returntype", Promise)
|
|
12445
|
+
], EntityFieldValueResolver.prototype, "UpdateEntityFieldValue", null);
|
|
12082
12446
|
exports.EntityFieldValueResolver = EntityFieldValueResolver = __decorate([
|
|
12083
12447
|
(0, server_1.Resolver)(EntityFieldValue_)
|
|
12084
12448
|
], EntityFieldValueResolver);
|
|
@@ -12132,14 +12496,14 @@ __decorate([
|
|
|
12132
12496
|
], AIModel_.prototype, "PowerRank", void 0);
|
|
12133
12497
|
__decorate([
|
|
12134
12498
|
(0, server_1.Field)(),
|
|
12135
|
-
(0, class_validator_1.MaxLength)(
|
|
12499
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12136
12500
|
__metadata("design:type", Date)
|
|
12137
|
-
], AIModel_.prototype, "
|
|
12501
|
+
], AIModel_.prototype, "_mj__CreatedAt", void 0);
|
|
12138
12502
|
__decorate([
|
|
12139
12503
|
(0, server_1.Field)(),
|
|
12140
|
-
(0, class_validator_1.MaxLength)(
|
|
12504
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12141
12505
|
__metadata("design:type", Date)
|
|
12142
|
-
], AIModel_.prototype, "
|
|
12506
|
+
], AIModel_.prototype, "_mj__UpdatedAt", void 0);
|
|
12143
12507
|
__decorate([
|
|
12144
12508
|
(0, server_1.Field)(),
|
|
12145
12509
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -12509,14 +12873,14 @@ __decorate([
|
|
|
12509
12873
|
], AIAction_.prototype, "IsActive", void 0);
|
|
12510
12874
|
__decorate([
|
|
12511
12875
|
(0, server_1.Field)(),
|
|
12512
|
-
(0, class_validator_1.MaxLength)(
|
|
12876
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12513
12877
|
__metadata("design:type", Date)
|
|
12514
|
-
], AIAction_.prototype, "
|
|
12878
|
+
], AIAction_.prototype, "_mj__CreatedAt", void 0);
|
|
12515
12879
|
__decorate([
|
|
12516
12880
|
(0, server_1.Field)(),
|
|
12517
|
-
(0, class_validator_1.MaxLength)(
|
|
12881
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12518
12882
|
__metadata("design:type", Date)
|
|
12519
|
-
], AIAction_.prototype, "
|
|
12883
|
+
], AIAction_.prototype, "_mj__UpdatedAt", void 0);
|
|
12520
12884
|
__decorate([
|
|
12521
12885
|
(0, server_1.Field)({ nullable: true }),
|
|
12522
12886
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -12788,14 +13152,14 @@ __decorate([
|
|
|
12788
13152
|
], AIModelAction_.prototype, "IsActive", void 0);
|
|
12789
13153
|
__decorate([
|
|
12790
13154
|
(0, server_1.Field)(),
|
|
12791
|
-
(0, class_validator_1.MaxLength)(
|
|
13155
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12792
13156
|
__metadata("design:type", Date)
|
|
12793
|
-
], AIModelAction_.prototype, "
|
|
13157
|
+
], AIModelAction_.prototype, "_mj__CreatedAt", void 0);
|
|
12794
13158
|
__decorate([
|
|
12795
13159
|
(0, server_1.Field)(),
|
|
12796
|
-
(0, class_validator_1.MaxLength)(
|
|
13160
|
+
(0, class_validator_1.MaxLength)(10),
|
|
12797
13161
|
__metadata("design:type", Date)
|
|
12798
|
-
], AIModelAction_.prototype, "
|
|
13162
|
+
], AIModelAction_.prototype, "_mj__UpdatedAt", void 0);
|
|
12799
13163
|
__decorate([
|
|
12800
13164
|
(0, server_1.Field)(),
|
|
12801
13165
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -13056,6 +13420,16 @@ __decorate([
|
|
|
13056
13420
|
(0, server_1.Field)({ nullable: true }),
|
|
13057
13421
|
__metadata("design:type", String)
|
|
13058
13422
|
], EntityAIAction_.prototype, "Comments", void 0);
|
|
13423
|
+
__decorate([
|
|
13424
|
+
(0, server_1.Field)(),
|
|
13425
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13426
|
+
__metadata("design:type", Date)
|
|
13427
|
+
], EntityAIAction_.prototype, "_mj__CreatedAt", void 0);
|
|
13428
|
+
__decorate([
|
|
13429
|
+
(0, server_1.Field)(),
|
|
13430
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13431
|
+
__metadata("design:type", Date)
|
|
13432
|
+
], EntityAIAction_.prototype, "_mj__UpdatedAt", void 0);
|
|
13059
13433
|
__decorate([
|
|
13060
13434
|
(0, server_1.Field)(),
|
|
13061
13435
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -13355,6 +13729,16 @@ __decorate([
|
|
|
13355
13729
|
(0, server_1.Field)({ nullable: true }),
|
|
13356
13730
|
__metadata("design:type", String)
|
|
13357
13731
|
], AIModelType_.prototype, "Description", void 0);
|
|
13732
|
+
__decorate([
|
|
13733
|
+
(0, server_1.Field)(),
|
|
13734
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13735
|
+
__metadata("design:type", Date)
|
|
13736
|
+
], AIModelType_.prototype, "_mj__CreatedAt", void 0);
|
|
13737
|
+
__decorate([
|
|
13738
|
+
(0, server_1.Field)(),
|
|
13739
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13740
|
+
__metadata("design:type", Date)
|
|
13741
|
+
], AIModelType_.prototype, "_mj__UpdatedAt", void 0);
|
|
13358
13742
|
__decorate([
|
|
13359
13743
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.AIModel_]),
|
|
13360
13744
|
__metadata("design:type", Array)
|
|
@@ -13587,6 +13971,16 @@ __decorate([
|
|
|
13587
13971
|
(0, server_1.Field)(() => Boolean),
|
|
13588
13972
|
__metadata("design:type", Boolean)
|
|
13589
13973
|
], QueueType_.prototype, "IsActive", void 0);
|
|
13974
|
+
__decorate([
|
|
13975
|
+
(0, server_1.Field)(),
|
|
13976
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13977
|
+
__metadata("design:type", Date)
|
|
13978
|
+
], QueueType_.prototype, "_mj__CreatedAt", void 0);
|
|
13979
|
+
__decorate([
|
|
13980
|
+
(0, server_1.Field)(),
|
|
13981
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13982
|
+
__metadata("design:type", Date)
|
|
13983
|
+
], QueueType_.prototype, "_mj__UpdatedAt", void 0);
|
|
13590
13984
|
__decorate([
|
|
13591
13985
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Queue_]),
|
|
13592
13986
|
__metadata("design:type", Array)
|
|
@@ -13786,14 +14180,14 @@ __decorate([
|
|
|
13786
14180
|
], Queue_.prototype, "LastHeartbeat", void 0);
|
|
13787
14181
|
__decorate([
|
|
13788
14182
|
(0, server_1.Field)(),
|
|
13789
|
-
(0, class_validator_1.MaxLength)(
|
|
14183
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13790
14184
|
__metadata("design:type", Date)
|
|
13791
|
-
], Queue_.prototype, "
|
|
14185
|
+
], Queue_.prototype, "_mj__CreatedAt", void 0);
|
|
13792
14186
|
__decorate([
|
|
13793
14187
|
(0, server_1.Field)(),
|
|
13794
|
-
(0, class_validator_1.MaxLength)(
|
|
14188
|
+
(0, class_validator_1.MaxLength)(10),
|
|
13795
14189
|
__metadata("design:type", Date)
|
|
13796
|
-
], Queue_.prototype, "
|
|
14190
|
+
], Queue_.prototype, "_mj__UpdatedAt", void 0);
|
|
13797
14191
|
__decorate([
|
|
13798
14192
|
(0, server_1.Field)(),
|
|
13799
14193
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -14131,6 +14525,16 @@ __decorate([
|
|
|
14131
14525
|
(0, server_1.Field)({ nullable: true }),
|
|
14132
14526
|
__metadata("design:type", String)
|
|
14133
14527
|
], QueueTask_.prototype, "Comments", void 0);
|
|
14528
|
+
__decorate([
|
|
14529
|
+
(0, server_1.Field)(),
|
|
14530
|
+
(0, class_validator_1.MaxLength)(10),
|
|
14531
|
+
__metadata("design:type", Date)
|
|
14532
|
+
], QueueTask_.prototype, "_mj__CreatedAt", void 0);
|
|
14533
|
+
__decorate([
|
|
14534
|
+
(0, server_1.Field)(),
|
|
14535
|
+
(0, class_validator_1.MaxLength)(10),
|
|
14536
|
+
__metadata("design:type", Date)
|
|
14537
|
+
], QueueTask_.prototype, "_mj__UpdatedAt", void 0);
|
|
14134
14538
|
__decorate([
|
|
14135
14539
|
(0, server_1.Field)(),
|
|
14136
14540
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -14375,6 +14779,16 @@ __decorate([
|
|
|
14375
14779
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
14376
14780
|
__metadata("design:type", Number)
|
|
14377
14781
|
], Dashboard_.prototype, "UserID", void 0);
|
|
14782
|
+
__decorate([
|
|
14783
|
+
(0, server_1.Field)(),
|
|
14784
|
+
(0, class_validator_1.MaxLength)(10),
|
|
14785
|
+
__metadata("design:type", Date)
|
|
14786
|
+
], Dashboard_.prototype, "_mj__CreatedAt", void 0);
|
|
14787
|
+
__decorate([
|
|
14788
|
+
(0, server_1.Field)(),
|
|
14789
|
+
(0, class_validator_1.MaxLength)(10),
|
|
14790
|
+
__metadata("design:type", Date)
|
|
14791
|
+
], Dashboard_.prototype, "_mj__UpdatedAt", void 0);
|
|
14378
14792
|
__decorate([
|
|
14379
14793
|
(0, server_1.Field)({ nullable: true }),
|
|
14380
14794
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -14594,6 +15008,16 @@ __decorate([
|
|
|
14594
15008
|
(0, server_1.Field)({ nullable: true }),
|
|
14595
15009
|
__metadata("design:type", String)
|
|
14596
15010
|
], OutputTriggerType_.prototype, "Description", void 0);
|
|
15011
|
+
__decorate([
|
|
15012
|
+
(0, server_1.Field)(),
|
|
15013
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15014
|
+
__metadata("design:type", Date)
|
|
15015
|
+
], OutputTriggerType_.prototype, "_mj__CreatedAt", void 0);
|
|
15016
|
+
__decorate([
|
|
15017
|
+
(0, server_1.Field)(),
|
|
15018
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15019
|
+
__metadata("design:type", Date)
|
|
15020
|
+
], OutputTriggerType_.prototype, "_mj__UpdatedAt", void 0);
|
|
14597
15021
|
__decorate([
|
|
14598
15022
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Report_]),
|
|
14599
15023
|
__metadata("design:type", Array)
|
|
@@ -14728,6 +15152,16 @@ __decorate([
|
|
|
14728
15152
|
(0, server_1.Field)({ nullable: true }),
|
|
14729
15153
|
__metadata("design:type", String)
|
|
14730
15154
|
], OutputFormatType_.prototype, "DisplayFormat", void 0);
|
|
15155
|
+
__decorate([
|
|
15156
|
+
(0, server_1.Field)(),
|
|
15157
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15158
|
+
__metadata("design:type", Date)
|
|
15159
|
+
], OutputFormatType_.prototype, "_mj__CreatedAt", void 0);
|
|
15160
|
+
__decorate([
|
|
15161
|
+
(0, server_1.Field)(),
|
|
15162
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15163
|
+
__metadata("design:type", Date)
|
|
15164
|
+
], OutputFormatType_.prototype, "_mj__UpdatedAt", void 0);
|
|
14731
15165
|
__decorate([
|
|
14732
15166
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Report_]),
|
|
14733
15167
|
__metadata("design:type", Array)
|
|
@@ -14858,6 +15292,16 @@ __decorate([
|
|
|
14858
15292
|
(0, server_1.Field)({ nullable: true }),
|
|
14859
15293
|
__metadata("design:type", String)
|
|
14860
15294
|
], OutputDeliveryType_.prototype, "Description", void 0);
|
|
15295
|
+
__decorate([
|
|
15296
|
+
(0, server_1.Field)(),
|
|
15297
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15298
|
+
__metadata("design:type", Date)
|
|
15299
|
+
], OutputDeliveryType_.prototype, "_mj__CreatedAt", void 0);
|
|
15300
|
+
__decorate([
|
|
15301
|
+
(0, server_1.Field)(),
|
|
15302
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15303
|
+
__metadata("design:type", Date)
|
|
15304
|
+
], OutputDeliveryType_.prototype, "_mj__UpdatedAt", void 0);
|
|
14861
15305
|
__decorate([
|
|
14862
15306
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.Report_]),
|
|
14863
15307
|
__metadata("design:type", Array)
|
|
@@ -15049,14 +15493,14 @@ __decorate([
|
|
|
15049
15493
|
], Report_.prototype, "OutputWorkflowID", void 0);
|
|
15050
15494
|
__decorate([
|
|
15051
15495
|
(0, server_1.Field)(),
|
|
15052
|
-
(0, class_validator_1.MaxLength)(
|
|
15496
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15053
15497
|
__metadata("design:type", Date)
|
|
15054
|
-
], Report_.prototype, "
|
|
15498
|
+
], Report_.prototype, "_mj__CreatedAt", void 0);
|
|
15055
15499
|
__decorate([
|
|
15056
15500
|
(0, server_1.Field)(),
|
|
15057
|
-
(0, class_validator_1.MaxLength)(
|
|
15501
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15058
15502
|
__metadata("design:type", Date)
|
|
15059
|
-
], Report_.prototype, "
|
|
15503
|
+
], Report_.prototype, "_mj__UpdatedAt", void 0);
|
|
15060
15504
|
__decorate([
|
|
15061
15505
|
(0, server_1.Field)({ nullable: true }),
|
|
15062
15506
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -15417,15 +15861,20 @@ __decorate([
|
|
|
15417
15861
|
(0, server_1.Field)(),
|
|
15418
15862
|
__metadata("design:type", String)
|
|
15419
15863
|
], ReportSnapshot_.prototype, "ResultSet", void 0);
|
|
15420
|
-
__decorate([
|
|
15421
|
-
(0, server_1.Field)(),
|
|
15422
|
-
(0, class_validator_1.MaxLength)(8),
|
|
15423
|
-
__metadata("design:type", Date)
|
|
15424
|
-
], ReportSnapshot_.prototype, "CreatedAt", void 0);
|
|
15425
15864
|
__decorate([
|
|
15426
15865
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
15427
15866
|
__metadata("design:type", Number)
|
|
15428
15867
|
], ReportSnapshot_.prototype, "UserID", void 0);
|
|
15868
|
+
__decorate([
|
|
15869
|
+
(0, server_1.Field)(),
|
|
15870
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15871
|
+
__metadata("design:type", Date)
|
|
15872
|
+
], ReportSnapshot_.prototype, "_mj__CreatedAt", void 0);
|
|
15873
|
+
__decorate([
|
|
15874
|
+
(0, server_1.Field)(),
|
|
15875
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15876
|
+
__metadata("design:type", Date)
|
|
15877
|
+
], ReportSnapshot_.prototype, "_mj__UpdatedAt", void 0);
|
|
15429
15878
|
__decorate([
|
|
15430
15879
|
(0, server_1.Field)(),
|
|
15431
15880
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -15645,14 +16094,14 @@ __decorate([
|
|
|
15645
16094
|
], ResourceType_.prototype, "EntityID", void 0);
|
|
15646
16095
|
__decorate([
|
|
15647
16096
|
(0, server_1.Field)(),
|
|
15648
|
-
(0, class_validator_1.MaxLength)(
|
|
16097
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15649
16098
|
__metadata("design:type", Date)
|
|
15650
|
-
], ResourceType_.prototype, "
|
|
16099
|
+
], ResourceType_.prototype, "_mj__CreatedAt", void 0);
|
|
15651
16100
|
__decorate([
|
|
15652
16101
|
(0, server_1.Field)(),
|
|
15653
|
-
(0, class_validator_1.MaxLength)(
|
|
16102
|
+
(0, class_validator_1.MaxLength)(10),
|
|
15654
16103
|
__metadata("design:type", Date)
|
|
15655
|
-
], ResourceType_.prototype, "
|
|
16104
|
+
], ResourceType_.prototype, "_mj__UpdatedAt", void 0);
|
|
15656
16105
|
__decorate([
|
|
15657
16106
|
(0, server_1.Field)({ nullable: true }),
|
|
15658
16107
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -15797,6 +16246,16 @@ __decorate([
|
|
|
15797
16246
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
15798
16247
|
__metadata("design:type", Number)
|
|
15799
16248
|
], Tag_.prototype, "ParentID", void 0);
|
|
16249
|
+
__decorate([
|
|
16250
|
+
(0, server_1.Field)(),
|
|
16251
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16252
|
+
__metadata("design:type", Date)
|
|
16253
|
+
], Tag_.prototype, "_mj__CreatedAt", void 0);
|
|
16254
|
+
__decorate([
|
|
16255
|
+
(0, server_1.Field)(),
|
|
16256
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16257
|
+
__metadata("design:type", Date)
|
|
16258
|
+
], Tag_.prototype, "_mj__UpdatedAt", void 0);
|
|
15800
16259
|
__decorate([
|
|
15801
16260
|
(0, server_1.Field)({ nullable: true }),
|
|
15802
16261
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -15955,6 +16414,16 @@ __decorate([
|
|
|
15955
16414
|
(0, class_validator_1.MaxLength)(510),
|
|
15956
16415
|
__metadata("design:type", String)
|
|
15957
16416
|
], TaggedItem_.prototype, "RecordID", void 0);
|
|
16417
|
+
__decorate([
|
|
16418
|
+
(0, server_1.Field)(),
|
|
16419
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16420
|
+
__metadata("design:type", Date)
|
|
16421
|
+
], TaggedItem_.prototype, "_mj__CreatedAt", void 0);
|
|
16422
|
+
__decorate([
|
|
16423
|
+
(0, server_1.Field)(),
|
|
16424
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16425
|
+
__metadata("design:type", Date)
|
|
16426
|
+
], TaggedItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
15958
16427
|
__decorate([
|
|
15959
16428
|
(0, server_1.Field)(),
|
|
15960
16429
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -16082,14 +16551,14 @@ __decorate([
|
|
|
16082
16551
|
], Workspace_.prototype, "UserID", void 0);
|
|
16083
16552
|
__decorate([
|
|
16084
16553
|
(0, server_1.Field)(),
|
|
16085
|
-
(0, class_validator_1.MaxLength)(
|
|
16554
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16086
16555
|
__metadata("design:type", Date)
|
|
16087
|
-
], Workspace_.prototype, "
|
|
16556
|
+
], Workspace_.prototype, "_mj__CreatedAt", void 0);
|
|
16088
16557
|
__decorate([
|
|
16089
16558
|
(0, server_1.Field)(),
|
|
16090
|
-
(0, class_validator_1.MaxLength)(
|
|
16559
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16091
16560
|
__metadata("design:type", Date)
|
|
16092
|
-
], Workspace_.prototype, "
|
|
16561
|
+
], Workspace_.prototype, "_mj__UpdatedAt", void 0);
|
|
16093
16562
|
__decorate([
|
|
16094
16563
|
(0, server_1.Field)(),
|
|
16095
16564
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -16330,14 +16799,14 @@ __decorate([
|
|
|
16330
16799
|
], WorkspaceItem_.prototype, "Configuration", void 0);
|
|
16331
16800
|
__decorate([
|
|
16332
16801
|
(0, server_1.Field)(),
|
|
16333
|
-
(0, class_validator_1.MaxLength)(
|
|
16802
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16334
16803
|
__metadata("design:type", Date)
|
|
16335
|
-
], WorkspaceItem_.prototype, "
|
|
16804
|
+
], WorkspaceItem_.prototype, "_mj__CreatedAt", void 0);
|
|
16336
16805
|
__decorate([
|
|
16337
16806
|
(0, server_1.Field)(),
|
|
16338
|
-
(0, class_validator_1.MaxLength)(
|
|
16807
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16339
16808
|
__metadata("design:type", Date)
|
|
16340
|
-
], WorkspaceItem_.prototype, "
|
|
16809
|
+
], WorkspaceItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
16341
16810
|
__decorate([
|
|
16342
16811
|
(0, server_1.Field)(),
|
|
16343
16812
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -16575,14 +17044,14 @@ __decorate([
|
|
|
16575
17044
|
], Dataset_.prototype, "Description", void 0);
|
|
16576
17045
|
__decorate([
|
|
16577
17046
|
(0, server_1.Field)(),
|
|
16578
|
-
(0, class_validator_1.MaxLength)(
|
|
17047
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16579
17048
|
__metadata("design:type", Date)
|
|
16580
|
-
], Dataset_.prototype, "
|
|
17049
|
+
], Dataset_.prototype, "_mj__CreatedAt", void 0);
|
|
16581
17050
|
__decorate([
|
|
16582
17051
|
(0, server_1.Field)(),
|
|
16583
|
-
(0, class_validator_1.MaxLength)(
|
|
17052
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16584
17053
|
__metadata("design:type", Date)
|
|
16585
|
-
], Dataset_.prototype, "
|
|
17054
|
+
], Dataset_.prototype, "_mj__UpdatedAt", void 0);
|
|
16586
17055
|
__decorate([
|
|
16587
17056
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.DatasetItem_]),
|
|
16588
17057
|
__metadata("design:type", Array)
|
|
@@ -16737,14 +17206,14 @@ __decorate([
|
|
|
16737
17206
|
], DatasetItem_.prototype, "Description", void 0);
|
|
16738
17207
|
__decorate([
|
|
16739
17208
|
(0, server_1.Field)(),
|
|
16740
|
-
(0, class_validator_1.MaxLength)(
|
|
17209
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16741
17210
|
__metadata("design:type", Date)
|
|
16742
|
-
], DatasetItem_.prototype, "
|
|
17211
|
+
], DatasetItem_.prototype, "_mj__CreatedAt", void 0);
|
|
16743
17212
|
__decorate([
|
|
16744
17213
|
(0, server_1.Field)(),
|
|
16745
|
-
(0, class_validator_1.MaxLength)(
|
|
17214
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16746
17215
|
__metadata("design:type", Date)
|
|
16747
|
-
], DatasetItem_.prototype, "
|
|
17216
|
+
], DatasetItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
16748
17217
|
__decorate([
|
|
16749
17218
|
(0, server_1.Field)(),
|
|
16750
17219
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -16880,14 +17349,14 @@ __decorate([
|
|
|
16880
17349
|
], ConversationDetail_.prototype, "HiddenToUser", void 0);
|
|
16881
17350
|
__decorate([
|
|
16882
17351
|
(0, server_1.Field)(),
|
|
16883
|
-
(0, class_validator_1.MaxLength)(
|
|
17352
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16884
17353
|
__metadata("design:type", Date)
|
|
16885
|
-
], ConversationDetail_.prototype, "
|
|
17354
|
+
], ConversationDetail_.prototype, "_mj__CreatedAt", void 0);
|
|
16886
17355
|
__decorate([
|
|
16887
17356
|
(0, server_1.Field)(),
|
|
16888
|
-
(0, class_validator_1.MaxLength)(
|
|
17357
|
+
(0, class_validator_1.MaxLength)(10),
|
|
16889
17358
|
__metadata("design:type", Date)
|
|
16890
|
-
], ConversationDetail_.prototype, "
|
|
17359
|
+
], ConversationDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
16891
17360
|
__decorate([
|
|
16892
17361
|
(0, server_1.Field)({ nullable: true }),
|
|
16893
17362
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -17162,14 +17631,14 @@ __decorate([
|
|
|
17162
17631
|
], Conversation_.prototype, "DataContextID", void 0);
|
|
17163
17632
|
__decorate([
|
|
17164
17633
|
(0, server_1.Field)(),
|
|
17165
|
-
(0, class_validator_1.MaxLength)(
|
|
17634
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17166
17635
|
__metadata("design:type", Date)
|
|
17167
|
-
], Conversation_.prototype, "
|
|
17636
|
+
], Conversation_.prototype, "_mj__CreatedAt", void 0);
|
|
17168
17637
|
__decorate([
|
|
17169
17638
|
(0, server_1.Field)(),
|
|
17170
|
-
(0, class_validator_1.MaxLength)(
|
|
17639
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17171
17640
|
__metadata("design:type", Date)
|
|
17172
|
-
], Conversation_.prototype, "
|
|
17641
|
+
], Conversation_.prototype, "_mj__UpdatedAt", void 0);
|
|
17173
17642
|
__decorate([
|
|
17174
17643
|
(0, server_1.Field)(),
|
|
17175
17644
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -17486,14 +17955,14 @@ __decorate([
|
|
|
17486
17955
|
], UserNotification_.prototype, "ReadAt", void 0);
|
|
17487
17956
|
__decorate([
|
|
17488
17957
|
(0, server_1.Field)(),
|
|
17489
|
-
(0, class_validator_1.MaxLength)(
|
|
17958
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17490
17959
|
__metadata("design:type", Date)
|
|
17491
|
-
], UserNotification_.prototype, "
|
|
17960
|
+
], UserNotification_.prototype, "_mj__CreatedAt", void 0);
|
|
17492
17961
|
__decorate([
|
|
17493
17962
|
(0, server_1.Field)(),
|
|
17494
|
-
(0, class_validator_1.MaxLength)(
|
|
17963
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17495
17964
|
__metadata("design:type", Date)
|
|
17496
|
-
], UserNotification_.prototype, "
|
|
17965
|
+
], UserNotification_.prototype, "_mj__UpdatedAt", void 0);
|
|
17497
17966
|
__decorate([
|
|
17498
17967
|
(0, server_1.Field)(),
|
|
17499
17968
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -17742,14 +18211,14 @@ __decorate([
|
|
|
17742
18211
|
], SchemaInfo_.prototype, "Comments", void 0);
|
|
17743
18212
|
__decorate([
|
|
17744
18213
|
(0, server_1.Field)(),
|
|
17745
|
-
(0, class_validator_1.MaxLength)(
|
|
18214
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17746
18215
|
__metadata("design:type", Date)
|
|
17747
|
-
], SchemaInfo_.prototype, "
|
|
18216
|
+
], SchemaInfo_.prototype, "_mj__CreatedAt", void 0);
|
|
17748
18217
|
__decorate([
|
|
17749
18218
|
(0, server_1.Field)(),
|
|
17750
|
-
(0, class_validator_1.MaxLength)(
|
|
18219
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17751
18220
|
__metadata("design:type", Date)
|
|
17752
|
-
], SchemaInfo_.prototype, "
|
|
18221
|
+
], SchemaInfo_.prototype, "_mj__UpdatedAt", void 0);
|
|
17753
18222
|
exports.SchemaInfo_ = SchemaInfo_ = __decorate([
|
|
17754
18223
|
(0, server_1.ObjectType)({ description: 'Tracks the schemas in the system and the ID ranges that are valid for entities within each schema.' })
|
|
17755
18224
|
], SchemaInfo_);
|
|
@@ -17948,14 +18417,14 @@ __decorate([
|
|
|
17948
18417
|
], CompanyIntegrationRecordMap_.prototype, "EntityRecordID", void 0);
|
|
17949
18418
|
__decorate([
|
|
17950
18419
|
(0, server_1.Field)(),
|
|
17951
|
-
(0, class_validator_1.MaxLength)(
|
|
18420
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17952
18421
|
__metadata("design:type", Date)
|
|
17953
|
-
], CompanyIntegrationRecordMap_.prototype, "
|
|
18422
|
+
], CompanyIntegrationRecordMap_.prototype, "_mj__CreatedAt", void 0);
|
|
17954
18423
|
__decorate([
|
|
17955
18424
|
(0, server_1.Field)(),
|
|
17956
|
-
(0, class_validator_1.MaxLength)(
|
|
18425
|
+
(0, class_validator_1.MaxLength)(10),
|
|
17957
18426
|
__metadata("design:type", Date)
|
|
17958
|
-
], CompanyIntegrationRecordMap_.prototype, "
|
|
18427
|
+
], CompanyIntegrationRecordMap_.prototype, "_mj__UpdatedAt", void 0);
|
|
17959
18428
|
__decorate([
|
|
17960
18429
|
(0, server_1.Field)(),
|
|
17961
18430
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -18186,14 +18655,14 @@ __decorate([
|
|
|
18186
18655
|
], RecordMergeLog_.prototype, "Comments", void 0);
|
|
18187
18656
|
__decorate([
|
|
18188
18657
|
(0, server_1.Field)(),
|
|
18189
|
-
(0, class_validator_1.MaxLength)(
|
|
18658
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18190
18659
|
__metadata("design:type", Date)
|
|
18191
|
-
], RecordMergeLog_.prototype, "
|
|
18660
|
+
], RecordMergeLog_.prototype, "_mj__CreatedAt", void 0);
|
|
18192
18661
|
__decorate([
|
|
18193
|
-
(0, server_1.Field)(
|
|
18194
|
-
(0, class_validator_1.MaxLength)(
|
|
18662
|
+
(0, server_1.Field)(),
|
|
18663
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18195
18664
|
__metadata("design:type", Date)
|
|
18196
|
-
], RecordMergeLog_.prototype, "
|
|
18665
|
+
], RecordMergeLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
18197
18666
|
__decorate([
|
|
18198
18667
|
(0, server_1.Field)(),
|
|
18199
18668
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -18488,14 +18957,14 @@ __decorate([
|
|
|
18488
18957
|
], RecordMergeDeletionLog_.prototype, "ProcessingLog", void 0);
|
|
18489
18958
|
__decorate([
|
|
18490
18959
|
(0, server_1.Field)(),
|
|
18491
|
-
(0, class_validator_1.MaxLength)(
|
|
18960
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18492
18961
|
__metadata("design:type", Date)
|
|
18493
|
-
], RecordMergeDeletionLog_.prototype, "
|
|
18962
|
+
], RecordMergeDeletionLog_.prototype, "_mj__CreatedAt", void 0);
|
|
18494
18963
|
__decorate([
|
|
18495
18964
|
(0, server_1.Field)(),
|
|
18496
|
-
(0, class_validator_1.MaxLength)(
|
|
18965
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18497
18966
|
__metadata("design:type", Date)
|
|
18498
|
-
], RecordMergeDeletionLog_.prototype, "
|
|
18967
|
+
], RecordMergeDeletionLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
18499
18968
|
exports.RecordMergeDeletionLog_ = RecordMergeDeletionLog_ = __decorate([
|
|
18500
18969
|
(0, server_1.ObjectType)()
|
|
18501
18970
|
], RecordMergeDeletionLog_);
|
|
@@ -18728,14 +19197,14 @@ __decorate([
|
|
|
18728
19197
|
], QueryField_.prototype, "SummaryDescription", void 0);
|
|
18729
19198
|
__decorate([
|
|
18730
19199
|
(0, server_1.Field)(),
|
|
18731
|
-
(0, class_validator_1.MaxLength)(
|
|
19200
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18732
19201
|
__metadata("design:type", Date)
|
|
18733
|
-
], QueryField_.prototype, "
|
|
19202
|
+
], QueryField_.prototype, "_mj__CreatedAt", void 0);
|
|
18734
19203
|
__decorate([
|
|
18735
19204
|
(0, server_1.Field)(),
|
|
18736
|
-
(0, class_validator_1.MaxLength)(
|
|
19205
|
+
(0, class_validator_1.MaxLength)(10),
|
|
18737
19206
|
__metadata("design:type", Date)
|
|
18738
|
-
], QueryField_.prototype, "
|
|
19207
|
+
], QueryField_.prototype, "_mj__UpdatedAt", void 0);
|
|
18739
19208
|
__decorate([
|
|
18740
19209
|
(0, server_1.Field)(),
|
|
18741
19210
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -19001,20 +19470,20 @@ __decorate([
|
|
|
19001
19470
|
(0, server_1.Field)({ nullable: true }),
|
|
19002
19471
|
__metadata("design:type", String)
|
|
19003
19472
|
], QueryCategory_.prototype, "Description", void 0);
|
|
19473
|
+
__decorate([
|
|
19474
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
19475
|
+
__metadata("design:type", Number)
|
|
19476
|
+
], QueryCategory_.prototype, "UserID", void 0);
|
|
19004
19477
|
__decorate([
|
|
19005
19478
|
(0, server_1.Field)(),
|
|
19006
|
-
(0, class_validator_1.MaxLength)(
|
|
19479
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19007
19480
|
__metadata("design:type", Date)
|
|
19008
|
-
], QueryCategory_.prototype, "
|
|
19481
|
+
], QueryCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
19009
19482
|
__decorate([
|
|
19010
19483
|
(0, server_1.Field)(),
|
|
19011
|
-
(0, class_validator_1.MaxLength)(
|
|
19484
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19012
19485
|
__metadata("design:type", Date)
|
|
19013
|
-
], QueryCategory_.prototype, "
|
|
19014
|
-
__decorate([
|
|
19015
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
19016
|
-
__metadata("design:type", Number)
|
|
19017
|
-
], QueryCategory_.prototype, "UserID", void 0);
|
|
19486
|
+
], QueryCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
19018
19487
|
__decorate([
|
|
19019
19488
|
(0, server_1.Field)({ nullable: true }),
|
|
19020
19489
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -19303,14 +19772,14 @@ __decorate([
|
|
|
19303
19772
|
], Query_.prototype, "ExecutionCostRank", void 0);
|
|
19304
19773
|
__decorate([
|
|
19305
19774
|
(0, server_1.Field)(),
|
|
19306
|
-
(0, class_validator_1.MaxLength)(
|
|
19775
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19307
19776
|
__metadata("design:type", Date)
|
|
19308
|
-
], Query_.prototype, "
|
|
19777
|
+
], Query_.prototype, "_mj__CreatedAt", void 0);
|
|
19309
19778
|
__decorate([
|
|
19310
19779
|
(0, server_1.Field)(),
|
|
19311
|
-
(0, class_validator_1.MaxLength)(
|
|
19780
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19312
19781
|
__metadata("design:type", Date)
|
|
19313
|
-
], Query_.prototype, "
|
|
19782
|
+
], Query_.prototype, "_mj__UpdatedAt", void 0);
|
|
19314
19783
|
__decorate([
|
|
19315
19784
|
(0, server_1.Field)({ nullable: true }),
|
|
19316
19785
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -19618,14 +20087,14 @@ __decorate([
|
|
|
19618
20087
|
], QueryPermission_.prototype, "RoleName", void 0);
|
|
19619
20088
|
__decorate([
|
|
19620
20089
|
(0, server_1.Field)(),
|
|
19621
|
-
(0, class_validator_1.MaxLength)(
|
|
20090
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19622
20091
|
__metadata("design:type", Date)
|
|
19623
|
-
], QueryPermission_.prototype, "
|
|
20092
|
+
], QueryPermission_.prototype, "_mj__CreatedAt", void 0);
|
|
19624
20093
|
__decorate([
|
|
19625
20094
|
(0, server_1.Field)(),
|
|
19626
|
-
(0, class_validator_1.MaxLength)(
|
|
20095
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19627
20096
|
__metadata("design:type", Date)
|
|
19628
|
-
], QueryPermission_.prototype, "
|
|
20097
|
+
], QueryPermission_.prototype, "_mj__UpdatedAt", void 0);
|
|
19629
20098
|
exports.QueryPermission_ = QueryPermission_ = __decorate([
|
|
19630
20099
|
(0, server_1.ObjectType)()
|
|
19631
20100
|
], QueryPermission_);
|
|
@@ -19807,14 +20276,14 @@ __decorate([
|
|
|
19807
20276
|
], VectorIndex_.prototype, "EmbeddingModelID", void 0);
|
|
19808
20277
|
__decorate([
|
|
19809
20278
|
(0, server_1.Field)(),
|
|
19810
|
-
(0, class_validator_1.MaxLength)(
|
|
20279
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19811
20280
|
__metadata("design:type", Date)
|
|
19812
|
-
], VectorIndex_.prototype, "
|
|
20281
|
+
], VectorIndex_.prototype, "_mj__CreatedAt", void 0);
|
|
19813
20282
|
__decorate([
|
|
19814
20283
|
(0, server_1.Field)(),
|
|
19815
|
-
(0, class_validator_1.MaxLength)(
|
|
20284
|
+
(0, class_validator_1.MaxLength)(10),
|
|
19816
20285
|
__metadata("design:type", Date)
|
|
19817
|
-
], VectorIndex_.prototype, "
|
|
20286
|
+
], VectorIndex_.prototype, "_mj__UpdatedAt", void 0);
|
|
19818
20287
|
__decorate([
|
|
19819
20288
|
(0, server_1.Field)(),
|
|
19820
20289
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -20014,14 +20483,14 @@ __decorate([
|
|
|
20014
20483
|
], EntityDocumentType_.prototype, "Description", void 0);
|
|
20015
20484
|
__decorate([
|
|
20016
20485
|
(0, server_1.Field)(),
|
|
20017
|
-
(0, class_validator_1.MaxLength)(
|
|
20486
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20018
20487
|
__metadata("design:type", Date)
|
|
20019
|
-
], EntityDocumentType_.prototype, "
|
|
20488
|
+
], EntityDocumentType_.prototype, "_mj__CreatedAt", void 0);
|
|
20020
20489
|
__decorate([
|
|
20021
20490
|
(0, server_1.Field)(),
|
|
20022
|
-
(0, class_validator_1.MaxLength)(
|
|
20491
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20023
20492
|
__metadata("design:type", Date)
|
|
20024
|
-
], EntityDocumentType_.prototype, "
|
|
20493
|
+
], EntityDocumentType_.prototype, "_mj__UpdatedAt", void 0);
|
|
20025
20494
|
__decorate([
|
|
20026
20495
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityDocument_]),
|
|
20027
20496
|
__metadata("design:type", Array)
|
|
@@ -20224,14 +20693,14 @@ __decorate([
|
|
|
20224
20693
|
], EntityDocumentRun_.prototype, "Status", void 0);
|
|
20225
20694
|
__decorate([
|
|
20226
20695
|
(0, server_1.Field)(),
|
|
20227
|
-
(0, class_validator_1.MaxLength)(
|
|
20696
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20228
20697
|
__metadata("design:type", Date)
|
|
20229
|
-
], EntityDocumentRun_.prototype, "
|
|
20698
|
+
], EntityDocumentRun_.prototype, "_mj__CreatedAt", void 0);
|
|
20230
20699
|
__decorate([
|
|
20231
20700
|
(0, server_1.Field)(),
|
|
20232
|
-
(0, class_validator_1.MaxLength)(
|
|
20701
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20233
20702
|
__metadata("design:type", Date)
|
|
20234
|
-
], EntityDocumentRun_.prototype, "
|
|
20703
|
+
], EntityDocumentRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
20235
20704
|
__decorate([
|
|
20236
20705
|
(0, server_1.Field)(),
|
|
20237
20706
|
(0, class_validator_1.MaxLength)(500),
|
|
@@ -20436,14 +20905,14 @@ __decorate([
|
|
|
20436
20905
|
], VectorDatabase_.prototype, "ClassKey", void 0);
|
|
20437
20906
|
__decorate([
|
|
20438
20907
|
(0, server_1.Field)(),
|
|
20439
|
-
(0, class_validator_1.MaxLength)(
|
|
20908
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20440
20909
|
__metadata("design:type", Date)
|
|
20441
|
-
], VectorDatabase_.prototype, "
|
|
20910
|
+
], VectorDatabase_.prototype, "_mj__CreatedAt", void 0);
|
|
20442
20911
|
__decorate([
|
|
20443
20912
|
(0, server_1.Field)(),
|
|
20444
|
-
(0, class_validator_1.MaxLength)(
|
|
20913
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20445
20914
|
__metadata("design:type", Date)
|
|
20446
|
-
], VectorDatabase_.prototype, "
|
|
20915
|
+
], VectorDatabase_.prototype, "_mj__UpdatedAt", void 0);
|
|
20447
20916
|
__decorate([
|
|
20448
20917
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.VectorIndex_]),
|
|
20449
20918
|
__metadata("design:type", Array)
|
|
@@ -20691,20 +21160,20 @@ __decorate([
|
|
|
20691
21160
|
(0, class_validator_1.MaxLength)(8),
|
|
20692
21161
|
__metadata("design:type", Date)
|
|
20693
21162
|
], EntityRecordDocument_.prototype, "EntityRecordUpdatedAt", void 0);
|
|
21163
|
+
__decorate([
|
|
21164
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
21165
|
+
__metadata("design:type", Number)
|
|
21166
|
+
], EntityRecordDocument_.prototype, "EntityDocumentID", void 0);
|
|
20694
21167
|
__decorate([
|
|
20695
21168
|
(0, server_1.Field)(),
|
|
20696
|
-
(0, class_validator_1.MaxLength)(
|
|
21169
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20697
21170
|
__metadata("design:type", Date)
|
|
20698
|
-
], EntityRecordDocument_.prototype, "
|
|
21171
|
+
], EntityRecordDocument_.prototype, "_mj__CreatedAt", void 0);
|
|
20699
21172
|
__decorate([
|
|
20700
21173
|
(0, server_1.Field)(),
|
|
20701
|
-
(0, class_validator_1.MaxLength)(
|
|
21174
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20702
21175
|
__metadata("design:type", Date)
|
|
20703
|
-
], EntityRecordDocument_.prototype, "
|
|
20704
|
-
__decorate([
|
|
20705
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
20706
|
-
__metadata("design:type", Number)
|
|
20707
|
-
], EntityRecordDocument_.prototype, "EntityDocumentID", void 0);
|
|
21176
|
+
], EntityRecordDocument_.prototype, "_mj__UpdatedAt", void 0);
|
|
20708
21177
|
exports.EntityRecordDocument_ = EntityRecordDocument_ = __decorate([
|
|
20709
21178
|
(0, server_1.ObjectType)()
|
|
20710
21179
|
], EntityRecordDocument_);
|
|
@@ -20955,14 +21424,14 @@ __decorate([
|
|
|
20955
21424
|
], EntityDocument_.prototype, "AbsoluteMatchThreshold", void 0);
|
|
20956
21425
|
__decorate([
|
|
20957
21426
|
(0, server_1.Field)(),
|
|
20958
|
-
(0, class_validator_1.MaxLength)(
|
|
21427
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20959
21428
|
__metadata("design:type", Date)
|
|
20960
|
-
], EntityDocument_.prototype, "
|
|
21429
|
+
], EntityDocument_.prototype, "_mj__CreatedAt", void 0);
|
|
20961
21430
|
__decorate([
|
|
20962
21431
|
(0, server_1.Field)(),
|
|
20963
|
-
(0, class_validator_1.MaxLength)(
|
|
21432
|
+
(0, class_validator_1.MaxLength)(10),
|
|
20964
21433
|
__metadata("design:type", Date)
|
|
20965
|
-
], EntityDocument_.prototype, "
|
|
21434
|
+
], EntityDocument_.prototype, "_mj__UpdatedAt", void 0);
|
|
20966
21435
|
__decorate([
|
|
20967
21436
|
(0, server_1.Field)(),
|
|
20968
21437
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -21270,14 +21739,14 @@ __decorate([
|
|
|
21270
21739
|
], DataContextItem_.prototype, "LastRefreshedAt", void 0);
|
|
21271
21740
|
__decorate([
|
|
21272
21741
|
(0, server_1.Field)(),
|
|
21273
|
-
(0, class_validator_1.MaxLength)(
|
|
21742
|
+
(0, class_validator_1.MaxLength)(10),
|
|
21274
21743
|
__metadata("design:type", Date)
|
|
21275
|
-
], DataContextItem_.prototype, "
|
|
21744
|
+
], DataContextItem_.prototype, "_mj__CreatedAt", void 0);
|
|
21276
21745
|
__decorate([
|
|
21277
21746
|
(0, server_1.Field)(),
|
|
21278
|
-
(0, class_validator_1.MaxLength)(
|
|
21747
|
+
(0, class_validator_1.MaxLength)(10),
|
|
21279
21748
|
__metadata("design:type", Date)
|
|
21280
|
-
], DataContextItem_.prototype, "
|
|
21749
|
+
], DataContextItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
21281
21750
|
__decorate([
|
|
21282
21751
|
(0, server_1.Field)(),
|
|
21283
21752
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -21550,14 +22019,14 @@ __decorate([
|
|
|
21550
22019
|
], DataContext_.prototype, "LastRefreshedAt", void 0);
|
|
21551
22020
|
__decorate([
|
|
21552
22021
|
(0, server_1.Field)(),
|
|
21553
|
-
(0, class_validator_1.MaxLength)(
|
|
22022
|
+
(0, class_validator_1.MaxLength)(10),
|
|
21554
22023
|
__metadata("design:type", Date)
|
|
21555
|
-
], DataContext_.prototype, "
|
|
22024
|
+
], DataContext_.prototype, "_mj__CreatedAt", void 0);
|
|
21556
22025
|
__decorate([
|
|
21557
22026
|
(0, server_1.Field)(),
|
|
21558
|
-
(0, class_validator_1.MaxLength)(
|
|
22027
|
+
(0, class_validator_1.MaxLength)(10),
|
|
21559
22028
|
__metadata("design:type", Date)
|
|
21560
|
-
], DataContext_.prototype, "
|
|
22029
|
+
], DataContext_.prototype, "_mj__UpdatedAt", void 0);
|
|
21561
22030
|
__decorate([
|
|
21562
22031
|
(0, server_1.Field)(),
|
|
21563
22032
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -21806,16 +22275,6 @@ __decorate([
|
|
|
21806
22275
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
21807
22276
|
__metadata("design:type", Number)
|
|
21808
22277
|
], UserViewCategory_.prototype, "ParentID", void 0);
|
|
21809
|
-
__decorate([
|
|
21810
|
-
(0, server_1.Field)(),
|
|
21811
|
-
(0, class_validator_1.MaxLength)(8),
|
|
21812
|
-
__metadata("design:type", Date)
|
|
21813
|
-
], UserViewCategory_.prototype, "CreatedAt", void 0);
|
|
21814
|
-
__decorate([
|
|
21815
|
-
(0, server_1.Field)(),
|
|
21816
|
-
(0, class_validator_1.MaxLength)(8),
|
|
21817
|
-
__metadata("design:type", Date)
|
|
21818
|
-
], UserViewCategory_.prototype, "UpdatedAt", void 0);
|
|
21819
22278
|
__decorate([
|
|
21820
22279
|
(0, server_1.Field)(() => server_1.Int),
|
|
21821
22280
|
__metadata("design:type", Number)
|
|
@@ -21824,6 +22283,16 @@ __decorate([
|
|
|
21824
22283
|
(0, server_1.Field)(() => server_1.Int),
|
|
21825
22284
|
__metadata("design:type", Number)
|
|
21826
22285
|
], UserViewCategory_.prototype, "UserID", void 0);
|
|
22286
|
+
__decorate([
|
|
22287
|
+
(0, server_1.Field)(),
|
|
22288
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22289
|
+
__metadata("design:type", Date)
|
|
22290
|
+
], UserViewCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
22291
|
+
__decorate([
|
|
22292
|
+
(0, server_1.Field)(),
|
|
22293
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22294
|
+
__metadata("design:type", Date)
|
|
22295
|
+
], UserViewCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
21827
22296
|
__decorate([
|
|
21828
22297
|
(0, server_1.Field)({ nullable: true }),
|
|
21829
22298
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -22085,20 +22554,20 @@ __decorate([
|
|
|
22085
22554
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
22086
22555
|
__metadata("design:type", Number)
|
|
22087
22556
|
], DashboardCategory_.prototype, "ParentID", void 0);
|
|
22557
|
+
__decorate([
|
|
22558
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
22559
|
+
__metadata("design:type", Number)
|
|
22560
|
+
], DashboardCategory_.prototype, "UserID", void 0);
|
|
22088
22561
|
__decorate([
|
|
22089
22562
|
(0, server_1.Field)(),
|
|
22090
|
-
(0, class_validator_1.MaxLength)(
|
|
22563
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22091
22564
|
__metadata("design:type", Date)
|
|
22092
|
-
], DashboardCategory_.prototype, "
|
|
22565
|
+
], DashboardCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
22093
22566
|
__decorate([
|
|
22094
22567
|
(0, server_1.Field)(),
|
|
22095
|
-
(0, class_validator_1.MaxLength)(
|
|
22568
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22096
22569
|
__metadata("design:type", Date)
|
|
22097
|
-
], DashboardCategory_.prototype, "
|
|
22098
|
-
__decorate([
|
|
22099
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
22100
|
-
__metadata("design:type", Number)
|
|
22101
|
-
], DashboardCategory_.prototype, "UserID", void 0);
|
|
22570
|
+
], DashboardCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
22102
22571
|
__decorate([
|
|
22103
22572
|
(0, server_1.Field)({ nullable: true }),
|
|
22104
22573
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -22352,20 +22821,20 @@ __decorate([
|
|
|
22352
22821
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
22353
22822
|
__metadata("design:type", Number)
|
|
22354
22823
|
], ReportCategory_.prototype, "ParentID", void 0);
|
|
22824
|
+
__decorate([
|
|
22825
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
22826
|
+
__metadata("design:type", Number)
|
|
22827
|
+
], ReportCategory_.prototype, "UserID", void 0);
|
|
22355
22828
|
__decorate([
|
|
22356
22829
|
(0, server_1.Field)(),
|
|
22357
|
-
(0, class_validator_1.MaxLength)(
|
|
22830
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22358
22831
|
__metadata("design:type", Date)
|
|
22359
|
-
], ReportCategory_.prototype, "
|
|
22832
|
+
], ReportCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
22360
22833
|
__decorate([
|
|
22361
22834
|
(0, server_1.Field)(),
|
|
22362
|
-
(0, class_validator_1.MaxLength)(
|
|
22835
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22363
22836
|
__metadata("design:type", Date)
|
|
22364
|
-
], ReportCategory_.prototype, "
|
|
22365
|
-
__decorate([
|
|
22366
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
22367
|
-
__metadata("design:type", Number)
|
|
22368
|
-
], ReportCategory_.prototype, "UserID", void 0);
|
|
22837
|
+
], ReportCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
22369
22838
|
__decorate([
|
|
22370
22839
|
(0, server_1.Field)({ nullable: true }),
|
|
22371
22840
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -22635,14 +23104,14 @@ __decorate([
|
|
|
22635
23104
|
], FileStorageProvider_.prototype, "IsActive", void 0);
|
|
22636
23105
|
__decorate([
|
|
22637
23106
|
(0, server_1.Field)(),
|
|
22638
|
-
(0, class_validator_1.MaxLength)(
|
|
23107
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22639
23108
|
__metadata("design:type", Date)
|
|
22640
|
-
], FileStorageProvider_.prototype, "
|
|
23109
|
+
], FileStorageProvider_.prototype, "_mj__CreatedAt", void 0);
|
|
22641
23110
|
__decorate([
|
|
22642
23111
|
(0, server_1.Field)(),
|
|
22643
|
-
(0, class_validator_1.MaxLength)(
|
|
23112
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22644
23113
|
__metadata("design:type", Date)
|
|
22645
|
-
], FileStorageProvider_.prototype, "
|
|
23114
|
+
], FileStorageProvider_.prototype, "_mj__UpdatedAt", void 0);
|
|
22646
23115
|
__decorate([
|
|
22647
23116
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.File_]),
|
|
22648
23117
|
__metadata("design:type", Array)
|
|
@@ -22890,14 +23359,14 @@ __decorate([
|
|
|
22890
23359
|
], File_.prototype, "Status", void 0);
|
|
22891
23360
|
__decorate([
|
|
22892
23361
|
(0, server_1.Field)(),
|
|
22893
|
-
(0, class_validator_1.MaxLength)(
|
|
23362
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22894
23363
|
__metadata("design:type", Date)
|
|
22895
|
-
], File_.prototype, "
|
|
23364
|
+
], File_.prototype, "_mj__CreatedAt", void 0);
|
|
22896
23365
|
__decorate([
|
|
22897
23366
|
(0, server_1.Field)(),
|
|
22898
|
-
(0, class_validator_1.MaxLength)(
|
|
23367
|
+
(0, class_validator_1.MaxLength)(10),
|
|
22899
23368
|
__metadata("design:type", Date)
|
|
22900
|
-
], File_.prototype, "
|
|
23369
|
+
], File_.prototype, "_mj__UpdatedAt", void 0);
|
|
22901
23370
|
__decorate([
|
|
22902
23371
|
(0, server_1.Field)(),
|
|
22903
23372
|
(0, class_validator_1.MaxLength)(100),
|
|
@@ -23158,14 +23627,14 @@ __decorate([
|
|
|
23158
23627
|
], FileCategory_.prototype, "ParentID", void 0);
|
|
23159
23628
|
__decorate([
|
|
23160
23629
|
(0, server_1.Field)(),
|
|
23161
|
-
(0, class_validator_1.MaxLength)(
|
|
23630
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23162
23631
|
__metadata("design:type", Date)
|
|
23163
|
-
], FileCategory_.prototype, "
|
|
23632
|
+
], FileCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
23164
23633
|
__decorate([
|
|
23165
23634
|
(0, server_1.Field)(),
|
|
23166
|
-
(0, class_validator_1.MaxLength)(
|
|
23635
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23167
23636
|
__metadata("design:type", Date)
|
|
23168
|
-
], FileCategory_.prototype, "
|
|
23637
|
+
], FileCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
23169
23638
|
__decorate([
|
|
23170
23639
|
(0, server_1.Field)({ nullable: true }),
|
|
23171
23640
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -23408,14 +23877,14 @@ __decorate([
|
|
|
23408
23877
|
], FileEntityRecordLink_.prototype, "RecordID", void 0);
|
|
23409
23878
|
__decorate([
|
|
23410
23879
|
(0, server_1.Field)(),
|
|
23411
|
-
(0, class_validator_1.MaxLength)(
|
|
23880
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23412
23881
|
__metadata("design:type", Date)
|
|
23413
|
-
], FileEntityRecordLink_.prototype, "
|
|
23882
|
+
], FileEntityRecordLink_.prototype, "_mj__CreatedAt", void 0);
|
|
23414
23883
|
__decorate([
|
|
23415
23884
|
(0, server_1.Field)(),
|
|
23416
|
-
(0, class_validator_1.MaxLength)(
|
|
23885
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23417
23886
|
__metadata("design:type", Date)
|
|
23418
|
-
], FileEntityRecordLink_.prototype, "
|
|
23887
|
+
], FileEntityRecordLink_.prototype, "_mj__UpdatedAt", void 0);
|
|
23419
23888
|
__decorate([
|
|
23420
23889
|
(0, server_1.Field)(),
|
|
23421
23890
|
(0, class_validator_1.MaxLength)(1000),
|
|
@@ -23633,14 +24102,14 @@ __decorate([
|
|
|
23633
24102
|
], VersionInstallation_.prototype, "Comments", void 0);
|
|
23634
24103
|
__decorate([
|
|
23635
24104
|
(0, server_1.Field)(),
|
|
23636
|
-
(0, class_validator_1.MaxLength)(
|
|
24105
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23637
24106
|
__metadata("design:type", Date)
|
|
23638
|
-
], VersionInstallation_.prototype, "
|
|
24107
|
+
], VersionInstallation_.prototype, "_mj__CreatedAt", void 0);
|
|
23639
24108
|
__decorate([
|
|
23640
24109
|
(0, server_1.Field)(),
|
|
23641
|
-
(0, class_validator_1.MaxLength)(
|
|
24110
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23642
24111
|
__metadata("design:type", Date)
|
|
23643
|
-
], VersionInstallation_.prototype, "
|
|
24112
|
+
], VersionInstallation_.prototype, "_mj__UpdatedAt", void 0);
|
|
23644
24113
|
__decorate([
|
|
23645
24114
|
(0, server_1.Field)({ nullable: true }),
|
|
23646
24115
|
(0, class_validator_1.MaxLength)(604),
|
|
@@ -23905,14 +24374,14 @@ __decorate([
|
|
|
23905
24374
|
], DuplicateRunDetailMatch_.prototype, "RecordMergeLogID", void 0);
|
|
23906
24375
|
__decorate([
|
|
23907
24376
|
(0, server_1.Field)(),
|
|
23908
|
-
(0, class_validator_1.MaxLength)(
|
|
24377
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23909
24378
|
__metadata("design:type", Date)
|
|
23910
|
-
], DuplicateRunDetailMatch_.prototype, "
|
|
24379
|
+
], DuplicateRunDetailMatch_.prototype, "_mj__CreatedAt", void 0);
|
|
23911
24380
|
__decorate([
|
|
23912
24381
|
(0, server_1.Field)(),
|
|
23913
|
-
(0, class_validator_1.MaxLength)(
|
|
24382
|
+
(0, class_validator_1.MaxLength)(10),
|
|
23914
24383
|
__metadata("design:type", Date)
|
|
23915
|
-
], DuplicateRunDetailMatch_.prototype, "
|
|
24384
|
+
], DuplicateRunDetailMatch_.prototype, "_mj__UpdatedAt", void 0);
|
|
23916
24385
|
exports.DuplicateRunDetailMatch_ = DuplicateRunDetailMatch_ = __decorate([
|
|
23917
24386
|
(0, server_1.ObjectType)()
|
|
23918
24387
|
], DuplicateRunDetailMatch_);
|
|
@@ -24158,14 +24627,14 @@ __decorate([
|
|
|
24158
24627
|
], EntityDocumentSetting_.prototype, "Comments", void 0);
|
|
24159
24628
|
__decorate([
|
|
24160
24629
|
(0, server_1.Field)(),
|
|
24161
|
-
(0, class_validator_1.MaxLength)(
|
|
24630
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24162
24631
|
__metadata("design:type", Date)
|
|
24163
|
-
], EntityDocumentSetting_.prototype, "
|
|
24632
|
+
], EntityDocumentSetting_.prototype, "_mj__CreatedAt", void 0);
|
|
24164
24633
|
__decorate([
|
|
24165
24634
|
(0, server_1.Field)(),
|
|
24166
|
-
(0, class_validator_1.MaxLength)(
|
|
24635
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24167
24636
|
__metadata("design:type", Date)
|
|
24168
|
-
], EntityDocumentSetting_.prototype, "
|
|
24637
|
+
], EntityDocumentSetting_.prototype, "_mj__UpdatedAt", void 0);
|
|
24169
24638
|
__decorate([
|
|
24170
24639
|
(0, server_1.Field)(),
|
|
24171
24640
|
(0, class_validator_1.MaxLength)(500),
|
|
@@ -24368,14 +24837,14 @@ __decorate([
|
|
|
24368
24837
|
], EntitySetting_.prototype, "Comments", void 0);
|
|
24369
24838
|
__decorate([
|
|
24370
24839
|
(0, server_1.Field)(),
|
|
24371
|
-
(0, class_validator_1.MaxLength)(
|
|
24840
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24372
24841
|
__metadata("design:type", Date)
|
|
24373
|
-
], EntitySetting_.prototype, "
|
|
24842
|
+
], EntitySetting_.prototype, "_mj__CreatedAt", void 0);
|
|
24374
24843
|
__decorate([
|
|
24375
24844
|
(0, server_1.Field)(),
|
|
24376
|
-
(0, class_validator_1.MaxLength)(
|
|
24845
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24377
24846
|
__metadata("design:type", Date)
|
|
24378
|
-
], EntitySetting_.prototype, "
|
|
24847
|
+
], EntitySetting_.prototype, "_mj__UpdatedAt", void 0);
|
|
24379
24848
|
__decorate([
|
|
24380
24849
|
(0, server_1.Field)(),
|
|
24381
24850
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -24605,14 +25074,14 @@ __decorate([
|
|
|
24605
25074
|
], DuplicateRun_.prototype, "SourceListID", void 0);
|
|
24606
25075
|
__decorate([
|
|
24607
25076
|
(0, server_1.Field)(),
|
|
24608
|
-
(0, class_validator_1.MaxLength)(
|
|
25077
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24609
25078
|
__metadata("design:type", Date)
|
|
24610
|
-
], DuplicateRun_.prototype, "
|
|
25079
|
+
], DuplicateRun_.prototype, "_mj__CreatedAt", void 0);
|
|
24611
25080
|
__decorate([
|
|
24612
25081
|
(0, server_1.Field)(),
|
|
24613
|
-
(0, class_validator_1.MaxLength)(
|
|
25082
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24614
25083
|
__metadata("design:type", Date)
|
|
24615
|
-
], DuplicateRun_.prototype, "
|
|
25084
|
+
], DuplicateRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
24616
25085
|
__decorate([
|
|
24617
25086
|
(0, server_1.Field)(),
|
|
24618
25087
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -24911,14 +25380,14 @@ __decorate([
|
|
|
24911
25380
|
], DuplicateRunDetail_.prototype, "MergeErrorMessage", void 0);
|
|
24912
25381
|
__decorate([
|
|
24913
25382
|
(0, server_1.Field)(),
|
|
24914
|
-
(0, class_validator_1.MaxLength)(
|
|
25383
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24915
25384
|
__metadata("design:type", Date)
|
|
24916
|
-
], DuplicateRunDetail_.prototype, "
|
|
25385
|
+
], DuplicateRunDetail_.prototype, "_mj__CreatedAt", void 0);
|
|
24917
25386
|
__decorate([
|
|
24918
25387
|
(0, server_1.Field)(),
|
|
24919
|
-
(0, class_validator_1.MaxLength)(
|
|
25388
|
+
(0, class_validator_1.MaxLength)(10),
|
|
24920
25389
|
__metadata("design:type", Date)
|
|
24921
|
-
], DuplicateRunDetail_.prototype, "
|
|
25390
|
+
], DuplicateRunDetail_.prototype, "_mj__UpdatedAt", void 0);
|
|
24922
25391
|
__decorate([
|
|
24923
25392
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.DuplicateRunDetailMatch_]),
|
|
24924
25393
|
__metadata("design:type", Array)
|
|
@@ -25170,14 +25639,14 @@ __decorate([
|
|
|
25170
25639
|
], EntityBehavior_.prototype, "CodeGenerated", void 0);
|
|
25171
25640
|
__decorate([
|
|
25172
25641
|
(0, server_1.Field)(),
|
|
25173
|
-
(0, class_validator_1.MaxLength)(
|
|
25642
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25174
25643
|
__metadata("design:type", Date)
|
|
25175
|
-
], EntityBehavior_.prototype, "
|
|
25644
|
+
], EntityBehavior_.prototype, "_mj__CreatedAt", void 0);
|
|
25176
25645
|
__decorate([
|
|
25177
25646
|
(0, server_1.Field)(),
|
|
25178
|
-
(0, class_validator_1.MaxLength)(
|
|
25647
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25179
25648
|
__metadata("design:type", Date)
|
|
25180
|
-
], EntityBehavior_.prototype, "
|
|
25649
|
+
], EntityBehavior_.prototype, "_mj__UpdatedAt", void 0);
|
|
25181
25650
|
__decorate([
|
|
25182
25651
|
(0, server_1.Field)(),
|
|
25183
25652
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -25410,14 +25879,14 @@ __decorate([
|
|
|
25410
25879
|
], EntityBehaviorType_.prototype, "Description", void 0);
|
|
25411
25880
|
__decorate([
|
|
25412
25881
|
(0, server_1.Field)(),
|
|
25413
|
-
(0, class_validator_1.MaxLength)(
|
|
25882
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25414
25883
|
__metadata("design:type", Date)
|
|
25415
|
-
], EntityBehaviorType_.prototype, "
|
|
25884
|
+
], EntityBehaviorType_.prototype, "_mj__CreatedAt", void 0);
|
|
25416
25885
|
__decorate([
|
|
25417
25886
|
(0, server_1.Field)(),
|
|
25418
|
-
(0, class_validator_1.MaxLength)(
|
|
25887
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25419
25888
|
__metadata("design:type", Date)
|
|
25420
|
-
], EntityBehaviorType_.prototype, "
|
|
25889
|
+
], EntityBehaviorType_.prototype, "_mj__UpdatedAt", void 0);
|
|
25421
25890
|
__decorate([
|
|
25422
25891
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityBehavior_]),
|
|
25423
25892
|
__metadata("design:type", Array)
|
|
@@ -25633,14 +26102,14 @@ __decorate([
|
|
|
25633
26102
|
], ApplicationSetting_.prototype, "Comments", void 0);
|
|
25634
26103
|
__decorate([
|
|
25635
26104
|
(0, server_1.Field)(),
|
|
25636
|
-
(0, class_validator_1.MaxLength)(
|
|
26105
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25637
26106
|
__metadata("design:type", Date)
|
|
25638
|
-
], ApplicationSetting_.prototype, "
|
|
26107
|
+
], ApplicationSetting_.prototype, "_mj__CreatedAt", void 0);
|
|
25639
26108
|
__decorate([
|
|
25640
26109
|
(0, server_1.Field)(),
|
|
25641
|
-
(0, class_validator_1.MaxLength)(
|
|
26110
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25642
26111
|
__metadata("design:type", Date)
|
|
25643
|
-
], ApplicationSetting_.prototype, "
|
|
26112
|
+
], ApplicationSetting_.prototype, "_mj__UpdatedAt", void 0);
|
|
25644
26113
|
exports.ApplicationSetting_ = ApplicationSetting_ = __decorate([
|
|
25645
26114
|
(0, server_1.ObjectType)()
|
|
25646
26115
|
], ApplicationSetting_);
|
|
@@ -25853,14 +26322,14 @@ __decorate([
|
|
|
25853
26322
|
], ActionCategory_.prototype, "Status", void 0);
|
|
25854
26323
|
__decorate([
|
|
25855
26324
|
(0, server_1.Field)(),
|
|
25856
|
-
(0, class_validator_1.MaxLength)(
|
|
26325
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25857
26326
|
__metadata("design:type", Date)
|
|
25858
|
-
], ActionCategory_.prototype, "
|
|
26327
|
+
], ActionCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
25859
26328
|
__decorate([
|
|
25860
26329
|
(0, server_1.Field)(),
|
|
25861
|
-
(0, class_validator_1.MaxLength)(
|
|
26330
|
+
(0, class_validator_1.MaxLength)(10),
|
|
25862
26331
|
__metadata("design:type", Date)
|
|
25863
|
-
], ActionCategory_.prototype, "
|
|
26332
|
+
], ActionCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
25864
26333
|
__decorate([
|
|
25865
26334
|
(0, server_1.Field)({ nullable: true }),
|
|
25866
26335
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -26111,14 +26580,14 @@ __decorate([
|
|
|
26111
26580
|
], EntityAction_.prototype, "Status", void 0);
|
|
26112
26581
|
__decorate([
|
|
26113
26582
|
(0, server_1.Field)(),
|
|
26114
|
-
(0, class_validator_1.MaxLength)(
|
|
26583
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26115
26584
|
__metadata("design:type", Date)
|
|
26116
|
-
], EntityAction_.prototype, "
|
|
26585
|
+
], EntityAction_.prototype, "_mj__CreatedAt", void 0);
|
|
26117
26586
|
__decorate([
|
|
26118
26587
|
(0, server_1.Field)(),
|
|
26119
|
-
(0, class_validator_1.MaxLength)(
|
|
26588
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26120
26589
|
__metadata("design:type", Date)
|
|
26121
|
-
], EntityAction_.prototype, "
|
|
26590
|
+
], EntityAction_.prototype, "_mj__UpdatedAt", void 0);
|
|
26122
26591
|
__decorate([
|
|
26123
26592
|
(0, server_1.Field)(),
|
|
26124
26593
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -26137,6 +26606,10 @@ __decorate([
|
|
|
26137
26606
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityActionFilter_]),
|
|
26138
26607
|
__metadata("design:type", Array)
|
|
26139
26608
|
], EntityAction_.prototype, "EntityActionFiltersArray", void 0);
|
|
26609
|
+
__decorate([
|
|
26610
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityActionParam_]),
|
|
26611
|
+
__metadata("design:type", Array)
|
|
26612
|
+
], EntityAction_.prototype, "EntityActionParamsArray", void 0);
|
|
26140
26613
|
exports.EntityAction_ = EntityAction_ = __decorate([
|
|
26141
26614
|
(0, server_1.ObjectType)({ description: 'Links entities to actions - this is the main place where you define the actions that part of, or available, for a given entity.' })
|
|
26142
26615
|
], EntityAction_);
|
|
@@ -26247,6 +26720,12 @@ let EntityActionResolver = class EntityActionResolver extends server_1.ResolverB
|
|
|
26247
26720
|
const result = this.ArrayMapFieldNamesToCodeNames('Entity Action Filters', await dataSource.query(sSQL));
|
|
26248
26721
|
return result;
|
|
26249
26722
|
}
|
|
26723
|
+
async EntityActionParamsArray(entityaction_, { dataSource, userPayload }, pubSub) {
|
|
26724
|
+
this.CheckUserReadPermissions('Entity Action Params', userPayload);
|
|
26725
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityActionParams] WHERE [EntityActionID]=${entityaction_.ID} ` + this.getRowLevelSecurityWhereClause('Entity Action Params', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
26726
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Entity Action Params', await dataSource.query(sSQL));
|
|
26727
|
+
return result;
|
|
26728
|
+
}
|
|
26250
26729
|
async CreateEntityAction(input, { dataSource, userPayload }, pubSub) {
|
|
26251
26730
|
return this.CreateRecord('Entity Actions', input, dataSource, userPayload, pubSub);
|
|
26252
26731
|
}
|
|
@@ -26313,6 +26792,15 @@ __decorate([
|
|
|
26313
26792
|
__metadata("design:paramtypes", [EntityAction_, Object, server_1.PubSubEngine]),
|
|
26314
26793
|
__metadata("design:returntype", Promise)
|
|
26315
26794
|
], EntityActionResolver.prototype, "EntityActionFiltersArray", null);
|
|
26795
|
+
__decorate([
|
|
26796
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.EntityActionParam_]),
|
|
26797
|
+
__param(0, (0, server_1.Root)()),
|
|
26798
|
+
__param(1, (0, server_1.Ctx)()),
|
|
26799
|
+
__param(2, (0, server_1.PubSub)()),
|
|
26800
|
+
__metadata("design:type", Function),
|
|
26801
|
+
__metadata("design:paramtypes", [EntityAction_, Object, server_1.PubSubEngine]),
|
|
26802
|
+
__metadata("design:returntype", Promise)
|
|
26803
|
+
], EntityActionResolver.prototype, "EntityActionParamsArray", null);
|
|
26316
26804
|
__decorate([
|
|
26317
26805
|
(0, server_1.Mutation)(() => EntityAction_),
|
|
26318
26806
|
__param(0, (0, server_1.Arg)('input', () => CreateEntityActionInput)),
|
|
@@ -26366,14 +26854,14 @@ __decorate([
|
|
|
26366
26854
|
], EntityActionInvocation_.prototype, "Status", void 0);
|
|
26367
26855
|
__decorate([
|
|
26368
26856
|
(0, server_1.Field)(),
|
|
26369
|
-
(0, class_validator_1.MaxLength)(
|
|
26857
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26370
26858
|
__metadata("design:type", Date)
|
|
26371
|
-
], EntityActionInvocation_.prototype, "
|
|
26859
|
+
], EntityActionInvocation_.prototype, "_mj__CreatedAt", void 0);
|
|
26372
26860
|
__decorate([
|
|
26373
26861
|
(0, server_1.Field)(),
|
|
26374
|
-
(0, class_validator_1.MaxLength)(
|
|
26862
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26375
26863
|
__metadata("design:type", Date)
|
|
26376
|
-
], EntityActionInvocation_.prototype, "
|
|
26864
|
+
], EntityActionInvocation_.prototype, "_mj__UpdatedAt", void 0);
|
|
26377
26865
|
__decorate([
|
|
26378
26866
|
(0, server_1.Field)(),
|
|
26379
26867
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -26578,14 +27066,14 @@ __decorate([
|
|
|
26578
27066
|
], ActionAuthorization_.prototype, "Comments", void 0);
|
|
26579
27067
|
__decorate([
|
|
26580
27068
|
(0, server_1.Field)(),
|
|
26581
|
-
(0, class_validator_1.MaxLength)(
|
|
27069
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26582
27070
|
__metadata("design:type", Date)
|
|
26583
|
-
], ActionAuthorization_.prototype, "
|
|
27071
|
+
], ActionAuthorization_.prototype, "_mj__CreatedAt", void 0);
|
|
26584
27072
|
__decorate([
|
|
26585
27073
|
(0, server_1.Field)(),
|
|
26586
|
-
(0, class_validator_1.MaxLength)(
|
|
27074
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26587
27075
|
__metadata("design:type", Date)
|
|
26588
|
-
], ActionAuthorization_.prototype, "
|
|
27076
|
+
], ActionAuthorization_.prototype, "_mj__UpdatedAt", void 0);
|
|
26589
27077
|
__decorate([
|
|
26590
27078
|
(0, server_1.Field)(),
|
|
26591
27079
|
(0, class_validator_1.MaxLength)(850),
|
|
@@ -26790,14 +27278,14 @@ __decorate([
|
|
|
26790
27278
|
], EntityActionInvocationType_.prototype, "DisplaySequence", void 0);
|
|
26791
27279
|
__decorate([
|
|
26792
27280
|
(0, server_1.Field)(),
|
|
26793
|
-
(0, class_validator_1.MaxLength)(
|
|
27281
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26794
27282
|
__metadata("design:type", Date)
|
|
26795
|
-
], EntityActionInvocationType_.prototype, "
|
|
27283
|
+
], EntityActionInvocationType_.prototype, "_mj__CreatedAt", void 0);
|
|
26796
27284
|
__decorate([
|
|
26797
27285
|
(0, server_1.Field)(),
|
|
26798
|
-
(0, class_validator_1.MaxLength)(
|
|
27286
|
+
(0, class_validator_1.MaxLength)(10),
|
|
26799
27287
|
__metadata("design:type", Date)
|
|
26800
|
-
], EntityActionInvocationType_.prototype, "
|
|
27288
|
+
], EntityActionInvocationType_.prototype, "_mj__UpdatedAt", void 0);
|
|
26801
27289
|
__decorate([
|
|
26802
27290
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityActionInvocation_]),
|
|
26803
27291
|
__metadata("design:type", Array)
|
|
@@ -27011,7 +27499,16 @@ __decorate([
|
|
|
27011
27499
|
__metadata("design:type", String)
|
|
27012
27500
|
], Action_.prototype, "Name", void 0);
|
|
27013
27501
|
__decorate([
|
|
27014
|
-
(0, server_1.Field)(),
|
|
27502
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27503
|
+
__metadata("design:type", String)
|
|
27504
|
+
], Action_.prototype, "Description", void 0);
|
|
27505
|
+
__decorate([
|
|
27506
|
+
(0, server_1.Field)({ description: 'Generated or Custom. Generated means the UserPrompt is used to prompt an AI model to automatically create the code for the Action. Custom means that a custom class has been implemented that subclasses the BaseAction class. The custom class needs to use the @RegisterClass decorator and be included in the MJAPI (or other runtime environment) to be available for execution.' }),
|
|
27507
|
+
(0, class_validator_1.MaxLength)(40),
|
|
27508
|
+
__metadata("design:type", String)
|
|
27509
|
+
], Action_.prototype, "Type", void 0);
|
|
27510
|
+
__decorate([
|
|
27511
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27015
27512
|
__metadata("design:type", String)
|
|
27016
27513
|
], Action_.prototype, "UserPrompt", void 0);
|
|
27017
27514
|
__decorate([
|
|
@@ -27044,6 +27541,10 @@ __decorate([
|
|
|
27044
27541
|
(0, class_validator_1.MaxLength)(8),
|
|
27045
27542
|
__metadata("design:type", Date)
|
|
27046
27543
|
], Action_.prototype, "CodeApprovedAt", void 0);
|
|
27544
|
+
__decorate([
|
|
27545
|
+
(0, server_1.Field)(() => Boolean, { description: 'If set to 1, Code will never be generated by the AI system. This overrides all other settings including the ForceCodeGeneration bit' }),
|
|
27546
|
+
__metadata("design:type", Boolean)
|
|
27547
|
+
], Action_.prototype, "CodeLocked", void 0);
|
|
27047
27548
|
__decorate([
|
|
27048
27549
|
(0, server_1.Field)(() => Boolean, { description: 'If set to 1, the Action will generate code for the provided UserPrompt on the next Save even if the UserPrompt hasn\'t changed. This is useful to force regeneration when other candidates (such as a change in Action Inputs/Outputs) occurs or on demand by a user.' }),
|
|
27049
27550
|
__metadata("design:type", Boolean)
|
|
@@ -27059,14 +27560,14 @@ __decorate([
|
|
|
27059
27560
|
], Action_.prototype, "Status", void 0);
|
|
27060
27561
|
__decorate([
|
|
27061
27562
|
(0, server_1.Field)(),
|
|
27062
|
-
(0, class_validator_1.MaxLength)(
|
|
27563
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27063
27564
|
__metadata("design:type", Date)
|
|
27064
|
-
], Action_.prototype, "
|
|
27565
|
+
], Action_.prototype, "_mj__CreatedAt", void 0);
|
|
27065
27566
|
__decorate([
|
|
27066
27567
|
(0, server_1.Field)(),
|
|
27067
|
-
(0, class_validator_1.MaxLength)(
|
|
27568
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27068
27569
|
__metadata("design:type", Date)
|
|
27069
|
-
], Action_.prototype, "
|
|
27570
|
+
], Action_.prototype, "_mj__UpdatedAt", void 0);
|
|
27070
27571
|
__decorate([
|
|
27071
27572
|
(0, server_1.Field)({ nullable: true }),
|
|
27072
27573
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -27078,9 +27579,13 @@ __decorate([
|
|
|
27078
27579
|
__metadata("design:type", String)
|
|
27079
27580
|
], Action_.prototype, "CodeApprovedByUser", void 0);
|
|
27080
27581
|
__decorate([
|
|
27081
|
-
(0, server_1.Field)(() => [mj_core_schema_server_object_types.
|
|
27582
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionParam_]),
|
|
27082
27583
|
__metadata("design:type", Array)
|
|
27083
|
-
], Action_.prototype, "
|
|
27584
|
+
], Action_.prototype, "ActionParamsArray", void 0);
|
|
27585
|
+
__decorate([
|
|
27586
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionLibrary_]),
|
|
27587
|
+
__metadata("design:type", Array)
|
|
27588
|
+
], Action_.prototype, "ActionLibrariesArray", void 0);
|
|
27084
27589
|
__decorate([
|
|
27085
27590
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionResultCode_]),
|
|
27086
27591
|
__metadata("design:type", Array)
|
|
@@ -27098,13 +27603,9 @@ __decorate([
|
|
|
27098
27603
|
__metadata("design:type", Array)
|
|
27099
27604
|
], Action_.prototype, "ActionExecutionLogsArray", void 0);
|
|
27100
27605
|
__decorate([
|
|
27101
|
-
(0, server_1.Field)(() => [mj_core_schema_server_object_types.
|
|
27102
|
-
__metadata("design:type", Array)
|
|
27103
|
-
], Action_.prototype, "ActionParamsArray", void 0);
|
|
27104
|
-
__decorate([
|
|
27105
|
-
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionLibrary_]),
|
|
27606
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionAuthorization_]),
|
|
27106
27607
|
__metadata("design:type", Array)
|
|
27107
|
-
], Action_.prototype, "
|
|
27608
|
+
], Action_.prototype, "ActionAuthorizationsArray", void 0);
|
|
27108
27609
|
exports.Action_ = Action_ = __decorate([
|
|
27109
27610
|
(0, server_1.ObjectType)({ description: 'Stores action definitions, including prompts, generated code, user comments, and status.' })
|
|
27110
27611
|
], Action_);
|
|
@@ -27119,9 +27620,17 @@ __decorate([
|
|
|
27119
27620
|
(0, server_1.Field)(),
|
|
27120
27621
|
__metadata("design:type", String)
|
|
27121
27622
|
], CreateActionInput.prototype, "Name", void 0);
|
|
27623
|
+
__decorate([
|
|
27624
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27625
|
+
__metadata("design:type", String)
|
|
27626
|
+
], CreateActionInput.prototype, "Description", void 0);
|
|
27122
27627
|
__decorate([
|
|
27123
27628
|
(0, server_1.Field)(),
|
|
27124
27629
|
__metadata("design:type", String)
|
|
27630
|
+
], CreateActionInput.prototype, "Type", void 0);
|
|
27631
|
+
__decorate([
|
|
27632
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27633
|
+
__metadata("design:type", String)
|
|
27125
27634
|
], CreateActionInput.prototype, "UserPrompt", void 0);
|
|
27126
27635
|
__decorate([
|
|
27127
27636
|
(0, server_1.Field)({ nullable: true }),
|
|
@@ -27151,6 +27660,10 @@ __decorate([
|
|
|
27151
27660
|
(0, server_1.Field)({ nullable: true }),
|
|
27152
27661
|
__metadata("design:type", Date)
|
|
27153
27662
|
], CreateActionInput.prototype, "CodeApprovedAt", void 0);
|
|
27663
|
+
__decorate([
|
|
27664
|
+
(0, server_1.Field)(() => Boolean),
|
|
27665
|
+
__metadata("design:type", Boolean)
|
|
27666
|
+
], CreateActionInput.prototype, "CodeLocked", void 0);
|
|
27154
27667
|
__decorate([
|
|
27155
27668
|
(0, server_1.Field)(() => Boolean),
|
|
27156
27669
|
__metadata("design:type", Boolean)
|
|
@@ -27181,9 +27694,17 @@ __decorate([
|
|
|
27181
27694
|
(0, server_1.Field)(),
|
|
27182
27695
|
__metadata("design:type", String)
|
|
27183
27696
|
], UpdateActionInput.prototype, "Name", void 0);
|
|
27697
|
+
__decorate([
|
|
27698
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27699
|
+
__metadata("design:type", String)
|
|
27700
|
+
], UpdateActionInput.prototype, "Description", void 0);
|
|
27184
27701
|
__decorate([
|
|
27185
27702
|
(0, server_1.Field)(),
|
|
27186
27703
|
__metadata("design:type", String)
|
|
27704
|
+
], UpdateActionInput.prototype, "Type", void 0);
|
|
27705
|
+
__decorate([
|
|
27706
|
+
(0, server_1.Field)({ nullable: true }),
|
|
27707
|
+
__metadata("design:type", String)
|
|
27187
27708
|
], UpdateActionInput.prototype, "UserPrompt", void 0);
|
|
27188
27709
|
__decorate([
|
|
27189
27710
|
(0, server_1.Field)({ nullable: true }),
|
|
@@ -27213,6 +27734,10 @@ __decorate([
|
|
|
27213
27734
|
(0, server_1.Field)({ nullable: true }),
|
|
27214
27735
|
__metadata("design:type", Date)
|
|
27215
27736
|
], UpdateActionInput.prototype, "CodeApprovedAt", void 0);
|
|
27737
|
+
__decorate([
|
|
27738
|
+
(0, server_1.Field)(() => Boolean),
|
|
27739
|
+
__metadata("design:type", Boolean)
|
|
27740
|
+
], UpdateActionInput.prototype, "CodeLocked", void 0);
|
|
27216
27741
|
__decorate([
|
|
27217
27742
|
(0, server_1.Field)(() => Boolean),
|
|
27218
27743
|
__metadata("design:type", Boolean)
|
|
@@ -27283,10 +27808,16 @@ let ActionResolver = class ActionResolver extends server_1.ResolverBase {
|
|
|
27283
27808
|
const result = this.MapFieldNamesToCodeNames('Actions', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
27284
27809
|
return result;
|
|
27285
27810
|
}
|
|
27286
|
-
async
|
|
27287
|
-
this.CheckUserReadPermissions('Action
|
|
27288
|
-
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
27289
|
-
const result = this.ArrayMapFieldNamesToCodeNames('Action
|
|
27811
|
+
async ActionParamsArray(action_, { dataSource, userPayload }, pubSub) {
|
|
27812
|
+
this.CheckUserReadPermissions('Action Params', userPayload);
|
|
27813
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwActionParams] WHERE [ActionID]=${action_.ID} ` + this.getRowLevelSecurityWhereClause('Action Params', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
27814
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Action Params', await dataSource.query(sSQL));
|
|
27815
|
+
return result;
|
|
27816
|
+
}
|
|
27817
|
+
async ActionLibrariesArray(action_, { dataSource, userPayload }, pubSub) {
|
|
27818
|
+
this.CheckUserReadPermissions('Action Libraries', userPayload);
|
|
27819
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwActionLibraries] WHERE [ActionID]=${action_.ID} ` + this.getRowLevelSecurityWhereClause('Action Libraries', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
27820
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Action Libraries', await dataSource.query(sSQL));
|
|
27290
27821
|
return result;
|
|
27291
27822
|
}
|
|
27292
27823
|
async ActionResultCodesArray(action_, { dataSource, userPayload }, pubSub) {
|
|
@@ -27313,16 +27844,10 @@ let ActionResolver = class ActionResolver extends server_1.ResolverBase {
|
|
|
27313
27844
|
const result = this.ArrayMapFieldNamesToCodeNames('Action Execution Logs', await dataSource.query(sSQL));
|
|
27314
27845
|
return result;
|
|
27315
27846
|
}
|
|
27316
|
-
async
|
|
27317
|
-
this.CheckUserReadPermissions('Action
|
|
27318
|
-
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[
|
|
27319
|
-
const result = this.ArrayMapFieldNamesToCodeNames('Action
|
|
27320
|
-
return result;
|
|
27321
|
-
}
|
|
27322
|
-
async ActionLibrariesArray(action_, { dataSource, userPayload }, pubSub) {
|
|
27323
|
-
this.CheckUserReadPermissions('Action Libraries', userPayload);
|
|
27324
|
-
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwActionLibraries] WHERE [ActionID]=${action_.ID} ` + this.getRowLevelSecurityWhereClause('Action Libraries', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
27325
|
-
const result = this.ArrayMapFieldNamesToCodeNames('Action Libraries', await dataSource.query(sSQL));
|
|
27847
|
+
async ActionAuthorizationsArray(action_, { dataSource, userPayload }, pubSub) {
|
|
27848
|
+
this.CheckUserReadPermissions('Action Authorizations', userPayload);
|
|
27849
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwActionAuthorizations] WHERE [ActionID]=${action_.ID} ` + this.getRowLevelSecurityWhereClause('Action Authorizations', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
27850
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Action Authorizations', await dataSource.query(sSQL));
|
|
27326
27851
|
return result;
|
|
27327
27852
|
}
|
|
27328
27853
|
async CreateAction(input, { dataSource, userPayload }, pubSub) {
|
|
@@ -27374,14 +27899,23 @@ __decorate([
|
|
|
27374
27899
|
__metadata("design:returntype", Promise)
|
|
27375
27900
|
], ActionResolver.prototype, "Action", null);
|
|
27376
27901
|
__decorate([
|
|
27377
|
-
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.
|
|
27902
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.ActionParam_]),
|
|
27378
27903
|
__param(0, (0, server_1.Root)()),
|
|
27379
27904
|
__param(1, (0, server_1.Ctx)()),
|
|
27380
27905
|
__param(2, (0, server_1.PubSub)()),
|
|
27381
27906
|
__metadata("design:type", Function),
|
|
27382
27907
|
__metadata("design:paramtypes", [Action_, Object, server_1.PubSubEngine]),
|
|
27383
27908
|
__metadata("design:returntype", Promise)
|
|
27384
|
-
], ActionResolver.prototype, "
|
|
27909
|
+
], ActionResolver.prototype, "ActionParamsArray", null);
|
|
27910
|
+
__decorate([
|
|
27911
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.ActionLibrary_]),
|
|
27912
|
+
__param(0, (0, server_1.Root)()),
|
|
27913
|
+
__param(1, (0, server_1.Ctx)()),
|
|
27914
|
+
__param(2, (0, server_1.PubSub)()),
|
|
27915
|
+
__metadata("design:type", Function),
|
|
27916
|
+
__metadata("design:paramtypes", [Action_, Object, server_1.PubSubEngine]),
|
|
27917
|
+
__metadata("design:returntype", Promise)
|
|
27918
|
+
], ActionResolver.prototype, "ActionLibrariesArray", null);
|
|
27385
27919
|
__decorate([
|
|
27386
27920
|
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.ActionResultCode_]),
|
|
27387
27921
|
__param(0, (0, server_1.Root)()),
|
|
@@ -27419,23 +27953,14 @@ __decorate([
|
|
|
27419
27953
|
__metadata("design:returntype", Promise)
|
|
27420
27954
|
], ActionResolver.prototype, "ActionExecutionLogsArray", null);
|
|
27421
27955
|
__decorate([
|
|
27422
|
-
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.
|
|
27423
|
-
__param(0, (0, server_1.Root)()),
|
|
27424
|
-
__param(1, (0, server_1.Ctx)()),
|
|
27425
|
-
__param(2, (0, server_1.PubSub)()),
|
|
27426
|
-
__metadata("design:type", Function),
|
|
27427
|
-
__metadata("design:paramtypes", [Action_, Object, server_1.PubSubEngine]),
|
|
27428
|
-
__metadata("design:returntype", Promise)
|
|
27429
|
-
], ActionResolver.prototype, "ActionParamsArray", null);
|
|
27430
|
-
__decorate([
|
|
27431
|
-
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.ActionLibrary_]),
|
|
27956
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.ActionAuthorization_]),
|
|
27432
27957
|
__param(0, (0, server_1.Root)()),
|
|
27433
27958
|
__param(1, (0, server_1.Ctx)()),
|
|
27434
27959
|
__param(2, (0, server_1.PubSub)()),
|
|
27435
27960
|
__metadata("design:type", Function),
|
|
27436
27961
|
__metadata("design:paramtypes", [Action_, Object, server_1.PubSubEngine]),
|
|
27437
27962
|
__metadata("design:returntype", Promise)
|
|
27438
|
-
], ActionResolver.prototype, "
|
|
27963
|
+
], ActionResolver.prototype, "ActionAuthorizationsArray", null);
|
|
27439
27964
|
__decorate([
|
|
27440
27965
|
(0, server_1.Mutation)(() => Action_),
|
|
27441
27966
|
__param(0, (0, server_1.Arg)('input', () => CreateActionInput)),
|
|
@@ -27493,14 +28018,14 @@ __decorate([
|
|
|
27493
28018
|
], EntityActionFilter_.prototype, "Status", void 0);
|
|
27494
28019
|
__decorate([
|
|
27495
28020
|
(0, server_1.Field)(),
|
|
27496
|
-
(0, class_validator_1.MaxLength)(
|
|
28021
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27497
28022
|
__metadata("design:type", Date)
|
|
27498
|
-
], EntityActionFilter_.prototype, "
|
|
28023
|
+
], EntityActionFilter_.prototype, "_mj__CreatedAt", void 0);
|
|
27499
28024
|
__decorate([
|
|
27500
28025
|
(0, server_1.Field)(),
|
|
27501
|
-
(0, class_validator_1.MaxLength)(
|
|
28026
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27502
28027
|
__metadata("design:type", Date)
|
|
27503
|
-
], EntityActionFilter_.prototype, "
|
|
28028
|
+
], EntityActionFilter_.prototype, "_mj__UpdatedAt", void 0);
|
|
27504
28029
|
exports.EntityActionFilter_ = EntityActionFilter_ = __decorate([
|
|
27505
28030
|
(0, server_1.ObjectType)({ description: 'Optional use. Maps Action Filters to specific EntityAction instances, specifying execution order and status. This allows for “pre-processing” before an Action actually is fired off, to check for various state/dirty/value conditions.' })
|
|
27506
28031
|
], EntityActionFilter_);
|
|
@@ -27711,14 +28236,14 @@ __decorate([
|
|
|
27711
28236
|
], ActionFilter_.prototype, "CodeExplanation", void 0);
|
|
27712
28237
|
__decorate([
|
|
27713
28238
|
(0, server_1.Field)(),
|
|
27714
|
-
(0, class_validator_1.MaxLength)(
|
|
28239
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27715
28240
|
__metadata("design:type", Date)
|
|
27716
|
-
], ActionFilter_.prototype, "
|
|
28241
|
+
], ActionFilter_.prototype, "_mj__CreatedAt", void 0);
|
|
27717
28242
|
__decorate([
|
|
27718
28243
|
(0, server_1.Field)(),
|
|
27719
|
-
(0, class_validator_1.MaxLength)(
|
|
28244
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27720
28245
|
__metadata("design:type", Date)
|
|
27721
|
-
], ActionFilter_.prototype, "
|
|
28246
|
+
], ActionFilter_.prototype, "_mj__UpdatedAt", void 0);
|
|
27722
28247
|
__decorate([
|
|
27723
28248
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityActionFilter_]),
|
|
27724
28249
|
__metadata("design:type", Array)
|
|
@@ -27941,14 +28466,14 @@ __decorate([
|
|
|
27941
28466
|
], ActionContextType_.prototype, "Description", void 0);
|
|
27942
28467
|
__decorate([
|
|
27943
28468
|
(0, server_1.Field)(),
|
|
27944
|
-
(0, class_validator_1.MaxLength)(
|
|
28469
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27945
28470
|
__metadata("design:type", Date)
|
|
27946
|
-
], ActionContextType_.prototype, "
|
|
28471
|
+
], ActionContextType_.prototype, "_mj__CreatedAt", void 0);
|
|
27947
28472
|
__decorate([
|
|
27948
28473
|
(0, server_1.Field)(),
|
|
27949
|
-
(0, class_validator_1.MaxLength)(
|
|
28474
|
+
(0, class_validator_1.MaxLength)(10),
|
|
27950
28475
|
__metadata("design:type", Date)
|
|
27951
|
-
], ActionContextType_.prototype, "
|
|
28476
|
+
], ActionContextType_.prototype, "_mj__UpdatedAt", void 0);
|
|
27952
28477
|
__decorate([
|
|
27953
28478
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionContext_]),
|
|
27954
28479
|
__metadata("design:type", Array)
|
|
@@ -28153,20 +28678,24 @@ __decorate([
|
|
|
28153
28678
|
(0, class_validator_1.MaxLength)(510),
|
|
28154
28679
|
__metadata("design:type", String)
|
|
28155
28680
|
], ActionResultCode_.prototype, "ResultCode", void 0);
|
|
28681
|
+
__decorate([
|
|
28682
|
+
(0, server_1.Field)(() => Boolean, { description: 'Indicates if the result code is a success or not. It is possible an action might have more than one failure condition/result code and same for success conditions.' }),
|
|
28683
|
+
__metadata("design:type", Boolean)
|
|
28684
|
+
], ActionResultCode_.prototype, "IsSuccess", void 0);
|
|
28156
28685
|
__decorate([
|
|
28157
28686
|
(0, server_1.Field)({ nullable: true, description: 'Description of the result code.' }),
|
|
28158
28687
|
__metadata("design:type", String)
|
|
28159
28688
|
], ActionResultCode_.prototype, "Description", void 0);
|
|
28160
28689
|
__decorate([
|
|
28161
28690
|
(0, server_1.Field)(),
|
|
28162
|
-
(0, class_validator_1.MaxLength)(
|
|
28691
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28163
28692
|
__metadata("design:type", Date)
|
|
28164
|
-
], ActionResultCode_.prototype, "
|
|
28693
|
+
], ActionResultCode_.prototype, "_mj__CreatedAt", void 0);
|
|
28165
28694
|
__decorate([
|
|
28166
28695
|
(0, server_1.Field)(),
|
|
28167
|
-
(0, class_validator_1.MaxLength)(
|
|
28696
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28168
28697
|
__metadata("design:type", Date)
|
|
28169
|
-
], ActionResultCode_.prototype, "
|
|
28698
|
+
], ActionResultCode_.prototype, "_mj__UpdatedAt", void 0);
|
|
28170
28699
|
__decorate([
|
|
28171
28700
|
(0, server_1.Field)(),
|
|
28172
28701
|
(0, class_validator_1.MaxLength)(850),
|
|
@@ -28186,6 +28715,10 @@ __decorate([
|
|
|
28186
28715
|
(0, server_1.Field)(),
|
|
28187
28716
|
__metadata("design:type", String)
|
|
28188
28717
|
], CreateActionResultCodeInput.prototype, "ResultCode", void 0);
|
|
28718
|
+
__decorate([
|
|
28719
|
+
(0, server_1.Field)(() => Boolean),
|
|
28720
|
+
__metadata("design:type", Boolean)
|
|
28721
|
+
], CreateActionResultCodeInput.prototype, "IsSuccess", void 0);
|
|
28189
28722
|
__decorate([
|
|
28190
28723
|
(0, server_1.Field)({ nullable: true }),
|
|
28191
28724
|
__metadata("design:type", String)
|
|
@@ -28208,6 +28741,10 @@ __decorate([
|
|
|
28208
28741
|
(0, server_1.Field)(),
|
|
28209
28742
|
__metadata("design:type", String)
|
|
28210
28743
|
], UpdateActionResultCodeInput.prototype, "ResultCode", void 0);
|
|
28744
|
+
__decorate([
|
|
28745
|
+
(0, server_1.Field)(() => Boolean),
|
|
28746
|
+
__metadata("design:type", Boolean)
|
|
28747
|
+
], UpdateActionResultCodeInput.prototype, "IsSuccess", void 0);
|
|
28211
28748
|
__decorate([
|
|
28212
28749
|
(0, server_1.Field)({ nullable: true }),
|
|
28213
28750
|
__metadata("design:type", String)
|
|
@@ -28371,14 +28908,14 @@ __decorate([
|
|
|
28371
28908
|
], ActionContext_.prototype, "Status", void 0);
|
|
28372
28909
|
__decorate([
|
|
28373
28910
|
(0, server_1.Field)(),
|
|
28374
|
-
(0, class_validator_1.MaxLength)(
|
|
28911
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28375
28912
|
__metadata("design:type", Date)
|
|
28376
|
-
], ActionContext_.prototype, "
|
|
28913
|
+
], ActionContext_.prototype, "_mj__CreatedAt", void 0);
|
|
28377
28914
|
__decorate([
|
|
28378
28915
|
(0, server_1.Field)(),
|
|
28379
|
-
(0, class_validator_1.MaxLength)(
|
|
28916
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28380
28917
|
__metadata("design:type", Date)
|
|
28381
|
-
], ActionContext_.prototype, "
|
|
28918
|
+
], ActionContext_.prototype, "_mj__UpdatedAt", void 0);
|
|
28382
28919
|
__decorate([
|
|
28383
28920
|
(0, server_1.Field)(),
|
|
28384
28921
|
(0, class_validator_1.MaxLength)(850),
|
|
@@ -28606,14 +29143,14 @@ __decorate([
|
|
|
28606
29143
|
], ActionExecutionLog_.prototype, "RetentionPeriod", void 0);
|
|
28607
29144
|
__decorate([
|
|
28608
29145
|
(0, server_1.Field)(),
|
|
28609
|
-
(0, class_validator_1.MaxLength)(
|
|
29146
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28610
29147
|
__metadata("design:type", Date)
|
|
28611
|
-
], ActionExecutionLog_.prototype, "
|
|
29148
|
+
], ActionExecutionLog_.prototype, "_mj__CreatedAt", void 0);
|
|
28612
29149
|
__decorate([
|
|
28613
29150
|
(0, server_1.Field)(),
|
|
28614
|
-
(0, class_validator_1.MaxLength)(
|
|
29151
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28615
29152
|
__metadata("design:type", Date)
|
|
28616
|
-
], ActionExecutionLog_.prototype, "
|
|
29153
|
+
], ActionExecutionLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
28617
29154
|
__decorate([
|
|
28618
29155
|
(0, server_1.Field)(),
|
|
28619
29156
|
(0, class_validator_1.MaxLength)(850),
|
|
@@ -28877,19 +29414,23 @@ __decorate([
|
|
|
28877
29414
|
], ActionParam_.prototype, "IsRequired", void 0);
|
|
28878
29415
|
__decorate([
|
|
28879
29416
|
(0, server_1.Field)(),
|
|
28880
|
-
(0, class_validator_1.MaxLength)(
|
|
29417
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28881
29418
|
__metadata("design:type", Date)
|
|
28882
|
-
], ActionParam_.prototype, "
|
|
29419
|
+
], ActionParam_.prototype, "_mj__CreatedAt", void 0);
|
|
28883
29420
|
__decorate([
|
|
28884
29421
|
(0, server_1.Field)(),
|
|
28885
|
-
(0, class_validator_1.MaxLength)(
|
|
29422
|
+
(0, class_validator_1.MaxLength)(10),
|
|
28886
29423
|
__metadata("design:type", Date)
|
|
28887
|
-
], ActionParam_.prototype, "
|
|
29424
|
+
], ActionParam_.prototype, "_mj__UpdatedAt", void 0);
|
|
28888
29425
|
__decorate([
|
|
28889
29426
|
(0, server_1.Field)(),
|
|
28890
29427
|
(0, class_validator_1.MaxLength)(850),
|
|
28891
29428
|
__metadata("design:type", String)
|
|
28892
29429
|
], ActionParam_.prototype, "Action", void 0);
|
|
29430
|
+
__decorate([
|
|
29431
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityActionParam_]),
|
|
29432
|
+
__metadata("design:type", Array)
|
|
29433
|
+
], ActionParam_.prototype, "EntityActionParamsArray", void 0);
|
|
28893
29434
|
exports.ActionParam_ = ActionParam_ = __decorate([
|
|
28894
29435
|
(0, server_1.ObjectType)({ description: 'Tracks the input and output parameters for Actions.' })
|
|
28895
29436
|
], ActionParam_);
|
|
@@ -29028,6 +29569,12 @@ let ActionParamResolver = class ActionParamResolver extends server_1.ResolverBas
|
|
|
29028
29569
|
const result = this.MapFieldNamesToCodeNames('Action Params', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
29029
29570
|
return result;
|
|
29030
29571
|
}
|
|
29572
|
+
async EntityActionParamsArray(actionparam_, { dataSource, userPayload }, pubSub) {
|
|
29573
|
+
this.CheckUserReadPermissions('Entity Action Params', userPayload);
|
|
29574
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityActionParams] WHERE [ActionParamID]=${actionparam_.ID} ` + this.getRowLevelSecurityWhereClause('Entity Action Params', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
29575
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Entity Action Params', await dataSource.query(sSQL));
|
|
29576
|
+
return result;
|
|
29577
|
+
}
|
|
29031
29578
|
async CreateActionParam(input, { dataSource, userPayload }, pubSub) {
|
|
29032
29579
|
return this.CreateRecord('Action Params', input, dataSource, userPayload, pubSub);
|
|
29033
29580
|
}
|
|
@@ -29076,6 +29623,15 @@ __decorate([
|
|
|
29076
29623
|
__metadata("design:paramtypes", [Number, Object, server_1.PubSubEngine]),
|
|
29077
29624
|
__metadata("design:returntype", Promise)
|
|
29078
29625
|
], ActionParamResolver.prototype, "ActionParam", null);
|
|
29626
|
+
__decorate([
|
|
29627
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.EntityActionParam_]),
|
|
29628
|
+
__param(0, (0, server_1.Root)()),
|
|
29629
|
+
__param(1, (0, server_1.Ctx)()),
|
|
29630
|
+
__param(2, (0, server_1.PubSub)()),
|
|
29631
|
+
__metadata("design:type", Function),
|
|
29632
|
+
__metadata("design:paramtypes", [ActionParam_, Object, server_1.PubSubEngine]),
|
|
29633
|
+
__metadata("design:returntype", Promise)
|
|
29634
|
+
], ActionParamResolver.prototype, "EntityActionParamsArray", null);
|
|
29079
29635
|
__decorate([
|
|
29080
29636
|
(0, server_1.Mutation)(() => ActionParam_),
|
|
29081
29637
|
__param(0, (0, server_1.Arg)('input', () => CreateActionParamInput)),
|
|
@@ -29128,14 +29684,14 @@ __decorate([
|
|
|
29128
29684
|
], ActionLibrary_.prototype, "ItemsUsed", void 0);
|
|
29129
29685
|
__decorate([
|
|
29130
29686
|
(0, server_1.Field)(),
|
|
29131
|
-
(0, class_validator_1.MaxLength)(
|
|
29687
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29132
29688
|
__metadata("design:type", Date)
|
|
29133
|
-
], ActionLibrary_.prototype, "
|
|
29689
|
+
], ActionLibrary_.prototype, "_mj__CreatedAt", void 0);
|
|
29134
29690
|
__decorate([
|
|
29135
29691
|
(0, server_1.Field)(),
|
|
29136
|
-
(0, class_validator_1.MaxLength)(
|
|
29692
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29137
29693
|
__metadata("design:type", Date)
|
|
29138
|
-
], ActionLibrary_.prototype, "
|
|
29694
|
+
], ActionLibrary_.prototype, "_mj__UpdatedAt", void 0);
|
|
29139
29695
|
__decorate([
|
|
29140
29696
|
(0, server_1.Field)(),
|
|
29141
29697
|
(0, class_validator_1.MaxLength)(850),
|
|
@@ -29344,10 +29900,6 @@ __decorate([
|
|
|
29344
29900
|
(0, class_validator_1.MaxLength)(40),
|
|
29345
29901
|
__metadata("design:type", String)
|
|
29346
29902
|
], Library_.prototype, "Status", void 0);
|
|
29347
|
-
__decorate([
|
|
29348
|
-
(0, server_1.Field)({ nullable: true, description: 'List of classes and functions exported by the library.' }),
|
|
29349
|
-
__metadata("design:type", String)
|
|
29350
|
-
], Library_.prototype, "ExportedItems", void 0);
|
|
29351
29903
|
__decorate([
|
|
29352
29904
|
(0, server_1.Field)({ nullable: true, description: 'Code showing the types and functions defined in the library to be used for reference by humans and AI' }),
|
|
29353
29905
|
__metadata("design:type", String)
|
|
@@ -29358,18 +29910,22 @@ __decorate([
|
|
|
29358
29910
|
], Library_.prototype, "SampleCode", void 0);
|
|
29359
29911
|
__decorate([
|
|
29360
29912
|
(0, server_1.Field)(),
|
|
29361
|
-
(0, class_validator_1.MaxLength)(
|
|
29913
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29362
29914
|
__metadata("design:type", Date)
|
|
29363
|
-
], Library_.prototype, "
|
|
29915
|
+
], Library_.prototype, "_mj__CreatedAt", void 0);
|
|
29364
29916
|
__decorate([
|
|
29365
29917
|
(0, server_1.Field)(),
|
|
29366
|
-
(0, class_validator_1.MaxLength)(
|
|
29918
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29367
29919
|
__metadata("design:type", Date)
|
|
29368
|
-
], Library_.prototype, "
|
|
29920
|
+
], Library_.prototype, "_mj__UpdatedAt", void 0);
|
|
29369
29921
|
__decorate([
|
|
29370
29922
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.ActionLibrary_]),
|
|
29371
29923
|
__metadata("design:type", Array)
|
|
29372
29924
|
], Library_.prototype, "ActionLibrariesArray", void 0);
|
|
29925
|
+
__decorate([
|
|
29926
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.LibraryItem_]),
|
|
29927
|
+
__metadata("design:type", Array)
|
|
29928
|
+
], Library_.prototype, "LibraryItemsArray", void 0);
|
|
29373
29929
|
exports.Library_ = Library_ = __decorate([
|
|
29374
29930
|
(0, server_1.ObjectType)({ description: 'Stores information about the available libraries, including a list of classes/functions, type definitions, and sample code. You can add additional custom libraries here to make them avaialable to code generation features within the system.' })
|
|
29375
29931
|
], Library_);
|
|
@@ -29388,10 +29944,6 @@ __decorate([
|
|
|
29388
29944
|
(0, server_1.Field)(),
|
|
29389
29945
|
__metadata("design:type", String)
|
|
29390
29946
|
], CreateLibraryInput.prototype, "Status", void 0);
|
|
29391
|
-
__decorate([
|
|
29392
|
-
(0, server_1.Field)({ nullable: true }),
|
|
29393
|
-
__metadata("design:type", String)
|
|
29394
|
-
], CreateLibraryInput.prototype, "ExportedItems", void 0);
|
|
29395
29947
|
__decorate([
|
|
29396
29948
|
(0, server_1.Field)({ nullable: true }),
|
|
29397
29949
|
__metadata("design:type", String)
|
|
@@ -29422,10 +29974,6 @@ __decorate([
|
|
|
29422
29974
|
(0, server_1.Field)(),
|
|
29423
29975
|
__metadata("design:type", String)
|
|
29424
29976
|
], UpdateLibraryInput.prototype, "Status", void 0);
|
|
29425
|
-
__decorate([
|
|
29426
|
-
(0, server_1.Field)({ nullable: true }),
|
|
29427
|
-
__metadata("design:type", String)
|
|
29428
|
-
], UpdateLibraryInput.prototype, "ExportedItems", void 0);
|
|
29429
29977
|
__decorate([
|
|
29430
29978
|
(0, server_1.Field)({ nullable: true }),
|
|
29431
29979
|
__metadata("design:type", String)
|
|
@@ -29498,6 +30046,12 @@ let LibraryResolver = class LibraryResolver extends server_1.ResolverBase {
|
|
|
29498
30046
|
const result = this.ArrayMapFieldNamesToCodeNames('Action Libraries', await dataSource.query(sSQL));
|
|
29499
30047
|
return result;
|
|
29500
30048
|
}
|
|
30049
|
+
async LibraryItemsArray(library_, { dataSource, userPayload }, pubSub) {
|
|
30050
|
+
this.CheckUserReadPermissions('Library Items', userPayload);
|
|
30051
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwLibraryItems] WHERE [LibraryID]=${library_.ID} ` + this.getRowLevelSecurityWhereClause('Library Items', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
30052
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Library Items', await dataSource.query(sSQL));
|
|
30053
|
+
return result;
|
|
30054
|
+
}
|
|
29501
30055
|
async CreateLibrary(input, { dataSource, userPayload }, pubSub) {
|
|
29502
30056
|
return this.CreateRecord('Libraries', input, dataSource, userPayload, pubSub);
|
|
29503
30057
|
}
|
|
@@ -29551,6 +30105,15 @@ __decorate([
|
|
|
29551
30105
|
__metadata("design:paramtypes", [Library_, Object, server_1.PubSubEngine]),
|
|
29552
30106
|
__metadata("design:returntype", Promise)
|
|
29553
30107
|
], LibraryResolver.prototype, "ActionLibrariesArray", null);
|
|
30108
|
+
__decorate([
|
|
30109
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.LibraryItem_]),
|
|
30110
|
+
__param(0, (0, server_1.Root)()),
|
|
30111
|
+
__param(1, (0, server_1.Ctx)()),
|
|
30112
|
+
__param(2, (0, server_1.PubSub)()),
|
|
30113
|
+
__metadata("design:type", Function),
|
|
30114
|
+
__metadata("design:paramtypes", [Library_, Object, server_1.PubSubEngine]),
|
|
30115
|
+
__metadata("design:returntype", Promise)
|
|
30116
|
+
], LibraryResolver.prototype, "LibraryItemsArray", null);
|
|
29554
30117
|
__decorate([
|
|
29555
30118
|
(0, server_1.Mutation)(() => Library_),
|
|
29556
30119
|
__param(0, (0, server_1.Arg)('input', () => CreateLibraryInput)),
|
|
@@ -29592,20 +30155,20 @@ __decorate([
|
|
|
29592
30155
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
29593
30156
|
__metadata("design:type", Number)
|
|
29594
30157
|
], ListCategory_.prototype, "ParentID", void 0);
|
|
30158
|
+
__decorate([
|
|
30159
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
30160
|
+
__metadata("design:type", Number)
|
|
30161
|
+
], ListCategory_.prototype, "UserID", void 0);
|
|
29595
30162
|
__decorate([
|
|
29596
30163
|
(0, server_1.Field)(),
|
|
29597
|
-
(0, class_validator_1.MaxLength)(
|
|
30164
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29598
30165
|
__metadata("design:type", Date)
|
|
29599
|
-
], ListCategory_.prototype, "
|
|
30166
|
+
], ListCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
29600
30167
|
__decorate([
|
|
29601
30168
|
(0, server_1.Field)(),
|
|
29602
|
-
(0, class_validator_1.MaxLength)(
|
|
30169
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29603
30170
|
__metadata("design:type", Date)
|
|
29604
|
-
], ListCategory_.prototype, "
|
|
29605
|
-
__decorate([
|
|
29606
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
29607
|
-
__metadata("design:type", Number)
|
|
29608
|
-
], ListCategory_.prototype, "UserID", void 0);
|
|
30171
|
+
], ListCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
29609
30172
|
exports.ListCategory_ = ListCategory_ = __decorate([
|
|
29610
30173
|
(0, server_1.ObjectType)()
|
|
29611
30174
|
], ListCategory_);
|
|
@@ -29808,14 +30371,14 @@ __decorate([
|
|
|
29808
30371
|
], CommunicationProvider_.prototype, "SupportsReceiving", void 0);
|
|
29809
30372
|
__decorate([
|
|
29810
30373
|
(0, server_1.Field)(),
|
|
29811
|
-
(0, class_validator_1.MaxLength)(
|
|
30374
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29812
30375
|
__metadata("design:type", Date)
|
|
29813
|
-
], CommunicationProvider_.prototype, "
|
|
30376
|
+
], CommunicationProvider_.prototype, "_mj__CreatedAt", void 0);
|
|
29814
30377
|
__decorate([
|
|
29815
30378
|
(0, server_1.Field)(),
|
|
29816
|
-
(0, class_validator_1.MaxLength)(
|
|
30379
|
+
(0, class_validator_1.MaxLength)(10),
|
|
29817
30380
|
__metadata("design:type", Date)
|
|
29818
|
-
], CommunicationProvider_.prototype, "
|
|
30381
|
+
], CommunicationProvider_.prototype, "_mj__UpdatedAt", void 0);
|
|
29819
30382
|
__decorate([
|
|
29820
30383
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.CommunicationProviderMessageType_]),
|
|
29821
30384
|
__metadata("design:type", Array)
|
|
@@ -30074,14 +30637,14 @@ __decorate([
|
|
|
30074
30637
|
], CommunicationRun_.prototype, "ErrorMessage", void 0);
|
|
30075
30638
|
__decorate([
|
|
30076
30639
|
(0, server_1.Field)(),
|
|
30077
|
-
(0, class_validator_1.MaxLength)(
|
|
30640
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30078
30641
|
__metadata("design:type", Date)
|
|
30079
|
-
], CommunicationRun_.prototype, "
|
|
30642
|
+
], CommunicationRun_.prototype, "_mj__CreatedAt", void 0);
|
|
30080
30643
|
__decorate([
|
|
30081
30644
|
(0, server_1.Field)(),
|
|
30082
|
-
(0, class_validator_1.MaxLength)(
|
|
30645
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30083
30646
|
__metadata("design:type", Date)
|
|
30084
|
-
], CommunicationRun_.prototype, "
|
|
30647
|
+
], CommunicationRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
30085
30648
|
__decorate([
|
|
30086
30649
|
(0, server_1.Field)(),
|
|
30087
30650
|
(0, class_validator_1.MaxLength)(200),
|
|
@@ -30332,14 +30895,14 @@ __decorate([
|
|
|
30332
30895
|
], CommunicationProviderMessageType_.prototype, "AdditionalAttributes", void 0);
|
|
30333
30896
|
__decorate([
|
|
30334
30897
|
(0, server_1.Field)(),
|
|
30335
|
-
(0, class_validator_1.MaxLength)(
|
|
30898
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30336
30899
|
__metadata("design:type", Date)
|
|
30337
|
-
], CommunicationProviderMessageType_.prototype, "
|
|
30900
|
+
], CommunicationProviderMessageType_.prototype, "_mj__CreatedAt", void 0);
|
|
30338
30901
|
__decorate([
|
|
30339
30902
|
(0, server_1.Field)(),
|
|
30340
|
-
(0, class_validator_1.MaxLength)(
|
|
30903
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30341
30904
|
__metadata("design:type", Date)
|
|
30342
|
-
], CommunicationProviderMessageType_.prototype, "
|
|
30905
|
+
], CommunicationProviderMessageType_.prototype, "_mj__UpdatedAt", void 0);
|
|
30343
30906
|
__decorate([
|
|
30344
30907
|
(0, server_1.Field)(),
|
|
30345
30908
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -30480,6 +31043,10 @@ let CommunicationProviderMessageTypeResolver = class CommunicationProviderMessag
|
|
|
30480
31043
|
async UpdateCommunicationProviderMessageType(input, { dataSource, userPayload }, pubSub) {
|
|
30481
31044
|
return this.UpdateRecord('Communication Provider Message Types', input, dataSource, userPayload, pubSub);
|
|
30482
31045
|
}
|
|
31046
|
+
async DeleteCommunicationProviderMessageType(ID, options, { dataSource, userPayload }, pubSub) {
|
|
31047
|
+
const key = new core_1.CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
31048
|
+
return this.DeleteRecord('Communication Provider Message Types', key, options, dataSource, userPayload, pubSub);
|
|
31049
|
+
}
|
|
30483
31050
|
};
|
|
30484
31051
|
exports.CommunicationProviderMessageTypeResolver = CommunicationProviderMessageTypeResolver;
|
|
30485
31052
|
__decorate([
|
|
@@ -30545,6 +31112,16 @@ __decorate([
|
|
|
30545
31112
|
__metadata("design:paramtypes", [UpdateCommunicationProviderMessageTypeInput, Object, server_1.PubSubEngine]),
|
|
30546
31113
|
__metadata("design:returntype", Promise)
|
|
30547
31114
|
], CommunicationProviderMessageTypeResolver.prototype, "UpdateCommunicationProviderMessageType", null);
|
|
31115
|
+
__decorate([
|
|
31116
|
+
(0, server_1.Mutation)(() => CommunicationProviderMessageType_),
|
|
31117
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
31118
|
+
__param(1, (0, server_1.Arg)('options___', () => server_1.DeleteOptionsInput)),
|
|
31119
|
+
__param(2, (0, server_1.Ctx)()),
|
|
31120
|
+
__param(3, (0, server_1.PubSub)()),
|
|
31121
|
+
__metadata("design:type", Function),
|
|
31122
|
+
__metadata("design:paramtypes", [Number, server_1.DeleteOptionsInput, Object, server_1.PubSubEngine]),
|
|
31123
|
+
__metadata("design:returntype", Promise)
|
|
31124
|
+
], CommunicationProviderMessageTypeResolver.prototype, "DeleteCommunicationProviderMessageType", null);
|
|
30548
31125
|
exports.CommunicationProviderMessageTypeResolver = CommunicationProviderMessageTypeResolver = __decorate([
|
|
30549
31126
|
(0, server_1.Resolver)(CommunicationProviderMessageType_)
|
|
30550
31127
|
], CommunicationProviderMessageTypeResolver);
|
|
@@ -30592,14 +31169,14 @@ __decorate([
|
|
|
30592
31169
|
], CommunicationLog_.prototype, "ErrorMessage", void 0);
|
|
30593
31170
|
__decorate([
|
|
30594
31171
|
(0, server_1.Field)(),
|
|
30595
|
-
(0, class_validator_1.MaxLength)(
|
|
31172
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30596
31173
|
__metadata("design:type", Date)
|
|
30597
|
-
], CommunicationLog_.prototype, "
|
|
31174
|
+
], CommunicationLog_.prototype, "_mj__CreatedAt", void 0);
|
|
30598
31175
|
__decorate([
|
|
30599
31176
|
(0, server_1.Field)(),
|
|
30600
|
-
(0, class_validator_1.MaxLength)(
|
|
31177
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30601
31178
|
__metadata("design:type", Date)
|
|
30602
|
-
], CommunicationLog_.prototype, "
|
|
31179
|
+
], CommunicationLog_.prototype, "_mj__UpdatedAt", void 0);
|
|
30603
31180
|
__decorate([
|
|
30604
31181
|
(0, server_1.Field)(),
|
|
30605
31182
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -30843,14 +31420,14 @@ __decorate([
|
|
|
30843
31420
|
], CommunicationBaseMessageType_.prototype, "MaxBytes", void 0);
|
|
30844
31421
|
__decorate([
|
|
30845
31422
|
(0, server_1.Field)(),
|
|
30846
|
-
(0, class_validator_1.MaxLength)(
|
|
31423
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30847
31424
|
__metadata("design:type", Date)
|
|
30848
|
-
], CommunicationBaseMessageType_.prototype, "
|
|
31425
|
+
], CommunicationBaseMessageType_.prototype, "_mj__CreatedAt", void 0);
|
|
30849
31426
|
__decorate([
|
|
30850
31427
|
(0, server_1.Field)(),
|
|
30851
|
-
(0, class_validator_1.MaxLength)(
|
|
31428
|
+
(0, class_validator_1.MaxLength)(10),
|
|
30852
31429
|
__metadata("design:type", Date)
|
|
30853
|
-
], CommunicationBaseMessageType_.prototype, "
|
|
31430
|
+
], CommunicationBaseMessageType_.prototype, "_mj__UpdatedAt", void 0);
|
|
30854
31431
|
__decorate([
|
|
30855
31432
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.CommunicationProviderMessageType_]),
|
|
30856
31433
|
__metadata("design:type", Array)
|
|
@@ -31112,14 +31689,14 @@ __decorate([
|
|
|
31112
31689
|
], Template_.prototype, "IsActive", void 0);
|
|
31113
31690
|
__decorate([
|
|
31114
31691
|
(0, server_1.Field)(),
|
|
31115
|
-
(0, class_validator_1.MaxLength)(
|
|
31692
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31116
31693
|
__metadata("design:type", Date)
|
|
31117
|
-
], Template_.prototype, "
|
|
31694
|
+
], Template_.prototype, "_mj__CreatedAt", void 0);
|
|
31118
31695
|
__decorate([
|
|
31119
31696
|
(0, server_1.Field)(),
|
|
31120
|
-
(0, class_validator_1.MaxLength)(
|
|
31697
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31121
31698
|
__metadata("design:type", Date)
|
|
31122
|
-
], Template_.prototype, "
|
|
31699
|
+
], Template_.prototype, "_mj__UpdatedAt", void 0);
|
|
31123
31700
|
__decorate([
|
|
31124
31701
|
(0, server_1.Field)({ nullable: true }),
|
|
31125
31702
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -31397,14 +31974,14 @@ __decorate([
|
|
|
31397
31974
|
], TemplateCategory_.prototype, "UserID", void 0);
|
|
31398
31975
|
__decorate([
|
|
31399
31976
|
(0, server_1.Field)(),
|
|
31400
|
-
(0, class_validator_1.MaxLength)(
|
|
31977
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31401
31978
|
__metadata("design:type", Date)
|
|
31402
|
-
], TemplateCategory_.prototype, "
|
|
31979
|
+
], TemplateCategory_.prototype, "_mj__CreatedAt", void 0);
|
|
31403
31980
|
__decorate([
|
|
31404
31981
|
(0, server_1.Field)(),
|
|
31405
|
-
(0, class_validator_1.MaxLength)(
|
|
31982
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31406
31983
|
__metadata("design:type", Date)
|
|
31407
|
-
], TemplateCategory_.prototype, "
|
|
31984
|
+
], TemplateCategory_.prototype, "_mj__UpdatedAt", void 0);
|
|
31408
31985
|
__decorate([
|
|
31409
31986
|
(0, server_1.Field)({ nullable: true }),
|
|
31410
31987
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -31653,14 +32230,14 @@ __decorate([
|
|
|
31653
32230
|
], TemplateContent_.prototype, "IsActive", void 0);
|
|
31654
32231
|
__decorate([
|
|
31655
32232
|
(0, server_1.Field)(),
|
|
31656
|
-
(0, class_validator_1.MaxLength)(
|
|
32233
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31657
32234
|
__metadata("design:type", Date)
|
|
31658
|
-
], TemplateContent_.prototype, "
|
|
32235
|
+
], TemplateContent_.prototype, "_mj__CreatedAt", void 0);
|
|
31659
32236
|
__decorate([
|
|
31660
32237
|
(0, server_1.Field)(),
|
|
31661
|
-
(0, class_validator_1.MaxLength)(
|
|
32238
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31662
32239
|
__metadata("design:type", Date)
|
|
31663
|
-
], TemplateContent_.prototype, "
|
|
32240
|
+
], TemplateContent_.prototype, "_mj__UpdatedAt", void 0);
|
|
31664
32241
|
__decorate([
|
|
31665
32242
|
(0, server_1.Field)(),
|
|
31666
32243
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -31894,14 +32471,14 @@ __decorate([
|
|
|
31894
32471
|
], TemplateParam_.prototype, "RecordID", void 0);
|
|
31895
32472
|
__decorate([
|
|
31896
32473
|
(0, server_1.Field)(),
|
|
31897
|
-
(0, class_validator_1.MaxLength)(
|
|
32474
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31898
32475
|
__metadata("design:type", Date)
|
|
31899
|
-
], TemplateParam_.prototype, "
|
|
32476
|
+
], TemplateParam_.prototype, "_mj__CreatedAt", void 0);
|
|
31900
32477
|
__decorate([
|
|
31901
32478
|
(0, server_1.Field)(),
|
|
31902
|
-
(0, class_validator_1.MaxLength)(
|
|
32479
|
+
(0, class_validator_1.MaxLength)(10),
|
|
31903
32480
|
__metadata("design:type", Date)
|
|
31904
|
-
], TemplateParam_.prototype, "
|
|
32481
|
+
], TemplateParam_.prototype, "_mj__UpdatedAt", void 0);
|
|
31905
32482
|
__decorate([
|
|
31906
32483
|
(0, server_1.Field)(),
|
|
31907
32484
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -32133,14 +32710,14 @@ __decorate([
|
|
|
32133
32710
|
], TemplateContentType_.prototype, "Description", void 0);
|
|
32134
32711
|
__decorate([
|
|
32135
32712
|
(0, server_1.Field)(),
|
|
32136
|
-
(0, class_validator_1.MaxLength)(
|
|
32713
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32137
32714
|
__metadata("design:type", Date)
|
|
32138
|
-
], TemplateContentType_.prototype, "
|
|
32715
|
+
], TemplateContentType_.prototype, "_mj__CreatedAt", void 0);
|
|
32139
32716
|
__decorate([
|
|
32140
32717
|
(0, server_1.Field)(),
|
|
32141
|
-
(0, class_validator_1.MaxLength)(
|
|
32718
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32142
32719
|
__metadata("design:type", Date)
|
|
32143
|
-
], TemplateContentType_.prototype, "
|
|
32720
|
+
], TemplateContentType_.prototype, "_mj__UpdatedAt", void 0);
|
|
32144
32721
|
__decorate([
|
|
32145
32722
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.TemplateContent_]),
|
|
32146
32723
|
__metadata("design:type", Array)
|
|
@@ -32335,15 +32912,15 @@ __decorate([
|
|
|
32335
32912
|
__metadata("design:type", String)
|
|
32336
32913
|
], Recommendation_.prototype, "SourceEntityRecordID", void 0);
|
|
32337
32914
|
__decorate([
|
|
32338
|
-
(0, server_1.Field)(
|
|
32339
|
-
(0, class_validator_1.MaxLength)(
|
|
32915
|
+
(0, server_1.Field)(),
|
|
32916
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32340
32917
|
__metadata("design:type", Date)
|
|
32341
|
-
], Recommendation_.prototype, "
|
|
32918
|
+
], Recommendation_.prototype, "_mj__CreatedAt", void 0);
|
|
32342
32919
|
__decorate([
|
|
32343
|
-
(0, server_1.Field)(
|
|
32344
|
-
(0, class_validator_1.MaxLength)(
|
|
32920
|
+
(0, server_1.Field)(),
|
|
32921
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32345
32922
|
__metadata("design:type", Date)
|
|
32346
|
-
], Recommendation_.prototype, "
|
|
32923
|
+
], Recommendation_.prototype, "_mj__UpdatedAt", void 0);
|
|
32347
32924
|
__decorate([
|
|
32348
32925
|
(0, server_1.Field)(),
|
|
32349
32926
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -32548,15 +33125,15 @@ __decorate([
|
|
|
32548
33125
|
__metadata("design:type", String)
|
|
32549
33126
|
], RecommendationProvider_.prototype, "Description", void 0);
|
|
32550
33127
|
__decorate([
|
|
32551
|
-
(0, server_1.Field)(
|
|
32552
|
-
(0, class_validator_1.MaxLength)(
|
|
33128
|
+
(0, server_1.Field)(),
|
|
33129
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32553
33130
|
__metadata("design:type", Date)
|
|
32554
|
-
], RecommendationProvider_.prototype, "
|
|
33131
|
+
], RecommendationProvider_.prototype, "_mj__CreatedAt", void 0);
|
|
32555
33132
|
__decorate([
|
|
32556
|
-
(0, server_1.Field)(
|
|
32557
|
-
(0, class_validator_1.MaxLength)(
|
|
33133
|
+
(0, server_1.Field)(),
|
|
33134
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32558
33135
|
__metadata("design:type", Date)
|
|
32559
|
-
], RecommendationProvider_.prototype, "
|
|
33136
|
+
], RecommendationProvider_.prototype, "_mj__UpdatedAt", void 0);
|
|
32560
33137
|
__decorate([
|
|
32561
33138
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.RecommendationRun_]),
|
|
32562
33139
|
__metadata("design:type", Array)
|
|
@@ -32766,15 +33343,15 @@ __decorate([
|
|
|
32766
33343
|
__metadata("design:type", Number)
|
|
32767
33344
|
], RecommendationRun_.prototype, "RunByUserID", void 0);
|
|
32768
33345
|
__decorate([
|
|
32769
|
-
(0, server_1.Field)(
|
|
32770
|
-
(0, class_validator_1.MaxLength)(
|
|
33346
|
+
(0, server_1.Field)(),
|
|
33347
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32771
33348
|
__metadata("design:type", Date)
|
|
32772
|
-
], RecommendationRun_.prototype, "
|
|
33349
|
+
], RecommendationRun_.prototype, "_mj__CreatedAt", void 0);
|
|
32773
33350
|
__decorate([
|
|
32774
|
-
(0, server_1.Field)(
|
|
32775
|
-
(0, class_validator_1.MaxLength)(
|
|
33351
|
+
(0, server_1.Field)(),
|
|
33352
|
+
(0, class_validator_1.MaxLength)(10),
|
|
32776
33353
|
__metadata("design:type", Date)
|
|
32777
|
-
], RecommendationRun_.prototype, "
|
|
33354
|
+
], RecommendationRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
32778
33355
|
__decorate([
|
|
32779
33356
|
(0, server_1.Field)(),
|
|
32780
33357
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -33015,15 +33592,15 @@ __decorate([
|
|
|
33015
33592
|
__metadata("design:type", Number)
|
|
33016
33593
|
], RecommendationItem_.prototype, "MatchProbability", void 0);
|
|
33017
33594
|
__decorate([
|
|
33018
|
-
(0, server_1.Field)(
|
|
33019
|
-
(0, class_validator_1.MaxLength)(
|
|
33595
|
+
(0, server_1.Field)(),
|
|
33596
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33020
33597
|
__metadata("design:type", Date)
|
|
33021
|
-
], RecommendationItem_.prototype, "
|
|
33598
|
+
], RecommendationItem_.prototype, "_mj__CreatedAt", void 0);
|
|
33022
33599
|
__decorate([
|
|
33023
|
-
(0, server_1.Field)(
|
|
33024
|
-
(0, class_validator_1.MaxLength)(
|
|
33600
|
+
(0, server_1.Field)(),
|
|
33601
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33025
33602
|
__metadata("design:type", Date)
|
|
33026
|
-
], RecommendationItem_.prototype, "
|
|
33603
|
+
], RecommendationItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
33027
33604
|
__decorate([
|
|
33028
33605
|
(0, server_1.Field)(),
|
|
33029
33606
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -33221,14 +33798,14 @@ __decorate([
|
|
|
33221
33798
|
], EntityCommunicationMessageType_.prototype, "IsActive", void 0);
|
|
33222
33799
|
__decorate([
|
|
33223
33800
|
(0, server_1.Field)(),
|
|
33224
|
-
(0, class_validator_1.MaxLength)(
|
|
33801
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33225
33802
|
__metadata("design:type", Date)
|
|
33226
|
-
], EntityCommunicationMessageType_.prototype, "
|
|
33803
|
+
], EntityCommunicationMessageType_.prototype, "_mj__CreatedAt", void 0);
|
|
33227
33804
|
__decorate([
|
|
33228
33805
|
(0, server_1.Field)(),
|
|
33229
|
-
(0, class_validator_1.MaxLength)(
|
|
33806
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33230
33807
|
__metadata("design:type", Date)
|
|
33231
|
-
], EntityCommunicationMessageType_.prototype, "
|
|
33808
|
+
], EntityCommunicationMessageType_.prototype, "_mj__UpdatedAt", void 0);
|
|
33232
33809
|
__decorate([
|
|
33233
33810
|
(0, server_1.Field)(),
|
|
33234
33811
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -33443,14 +34020,14 @@ __decorate([
|
|
|
33443
34020
|
], EntityCommunicationField_.prototype, "Priority", void 0);
|
|
33444
34021
|
__decorate([
|
|
33445
34022
|
(0, server_1.Field)(),
|
|
33446
|
-
(0, class_validator_1.MaxLength)(
|
|
34023
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33447
34024
|
__metadata("design:type", Date)
|
|
33448
|
-
], EntityCommunicationField_.prototype, "
|
|
34025
|
+
], EntityCommunicationField_.prototype, "_mj__CreatedAt", void 0);
|
|
33449
34026
|
__decorate([
|
|
33450
34027
|
(0, server_1.Field)(),
|
|
33451
|
-
(0, class_validator_1.MaxLength)(
|
|
34028
|
+
(0, class_validator_1.MaxLength)(10),
|
|
33452
34029
|
__metadata("design:type", Date)
|
|
33453
|
-
], EntityCommunicationField_.prototype, "
|
|
34030
|
+
], EntityCommunicationField_.prototype, "_mj__UpdatedAt", void 0);
|
|
33454
34031
|
exports.EntityCommunicationField_ = EntityCommunicationField_ = __decorate([
|
|
33455
34032
|
(0, server_1.ObjectType)({ description: 'Mapping between entity fields and communication base message types with priority' })
|
|
33456
34033
|
], EntityCommunicationField_);
|
|
@@ -33614,4 +34191,883 @@ __decorate([
|
|
|
33614
34191
|
exports.EntityCommunicationFieldResolver = EntityCommunicationFieldResolver = __decorate([
|
|
33615
34192
|
(0, server_1.Resolver)(EntityCommunicationField_)
|
|
33616
34193
|
], EntityCommunicationFieldResolver);
|
|
34194
|
+
let RecordChangeReplayRun_ = class RecordChangeReplayRun_ {
|
|
34195
|
+
};
|
|
34196
|
+
exports.RecordChangeReplayRun_ = RecordChangeReplayRun_;
|
|
34197
|
+
__decorate([
|
|
34198
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34199
|
+
__metadata("design:type", Number)
|
|
34200
|
+
], RecordChangeReplayRun_.prototype, "ID", void 0);
|
|
34201
|
+
__decorate([
|
|
34202
|
+
(0, server_1.Field)({ description: 'Timestamp when the replay run started' }),
|
|
34203
|
+
(0, class_validator_1.MaxLength)(8),
|
|
34204
|
+
__metadata("design:type", Date)
|
|
34205
|
+
], RecordChangeReplayRun_.prototype, "StartedAt", void 0);
|
|
34206
|
+
__decorate([
|
|
34207
|
+
(0, server_1.Field)({ nullable: true, description: 'Timestamp when the replay run ended' }),
|
|
34208
|
+
(0, class_validator_1.MaxLength)(8),
|
|
34209
|
+
__metadata("design:type", Date)
|
|
34210
|
+
], RecordChangeReplayRun_.prototype, "EndedAt", void 0);
|
|
34211
|
+
__decorate([
|
|
34212
|
+
(0, server_1.Field)({ description: 'Status of the replay run (Pending, In Progress, Complete, Error)' }),
|
|
34213
|
+
(0, class_validator_1.MaxLength)(100),
|
|
34214
|
+
__metadata("design:type", String)
|
|
34215
|
+
], RecordChangeReplayRun_.prototype, "Status", void 0);
|
|
34216
|
+
__decorate([
|
|
34217
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34218
|
+
__metadata("design:type", Number)
|
|
34219
|
+
], RecordChangeReplayRun_.prototype, "UserID", void 0);
|
|
34220
|
+
__decorate([
|
|
34221
|
+
(0, server_1.Field)(),
|
|
34222
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34223
|
+
__metadata("design:type", Date)
|
|
34224
|
+
], RecordChangeReplayRun_.prototype, "_mj__CreatedAt", void 0);
|
|
34225
|
+
__decorate([
|
|
34226
|
+
(0, server_1.Field)(),
|
|
34227
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34228
|
+
__metadata("design:type", Date)
|
|
34229
|
+
], RecordChangeReplayRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
34230
|
+
__decorate([
|
|
34231
|
+
(0, server_1.Field)(),
|
|
34232
|
+
(0, class_validator_1.MaxLength)(200),
|
|
34233
|
+
__metadata("design:type", String)
|
|
34234
|
+
], RecordChangeReplayRun_.prototype, "User", void 0);
|
|
34235
|
+
__decorate([
|
|
34236
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.RecordChange_]),
|
|
34237
|
+
__metadata("design:type", Array)
|
|
34238
|
+
], RecordChangeReplayRun_.prototype, "RecordChangesArray", void 0);
|
|
34239
|
+
exports.RecordChangeReplayRun_ = RecordChangeReplayRun_ = __decorate([
|
|
34240
|
+
(0, server_1.ObjectType)({ description: 'Table to track the runs of replaying external record changes' })
|
|
34241
|
+
], RecordChangeReplayRun_);
|
|
34242
|
+
let CreateRecordChangeReplayRunInput = class CreateRecordChangeReplayRunInput {
|
|
34243
|
+
};
|
|
34244
|
+
exports.CreateRecordChangeReplayRunInput = CreateRecordChangeReplayRunInput;
|
|
34245
|
+
__decorate([
|
|
34246
|
+
(0, server_1.Field)(),
|
|
34247
|
+
__metadata("design:type", Date)
|
|
34248
|
+
], CreateRecordChangeReplayRunInput.prototype, "StartedAt", void 0);
|
|
34249
|
+
__decorate([
|
|
34250
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34251
|
+
__metadata("design:type", Date)
|
|
34252
|
+
], CreateRecordChangeReplayRunInput.prototype, "EndedAt", void 0);
|
|
34253
|
+
__decorate([
|
|
34254
|
+
(0, server_1.Field)(),
|
|
34255
|
+
__metadata("design:type", String)
|
|
34256
|
+
], CreateRecordChangeReplayRunInput.prototype, "Status", void 0);
|
|
34257
|
+
__decorate([
|
|
34258
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34259
|
+
__metadata("design:type", Number)
|
|
34260
|
+
], CreateRecordChangeReplayRunInput.prototype, "UserID", void 0);
|
|
34261
|
+
exports.CreateRecordChangeReplayRunInput = CreateRecordChangeReplayRunInput = __decorate([
|
|
34262
|
+
(0, server_1.InputType)()
|
|
34263
|
+
], CreateRecordChangeReplayRunInput);
|
|
34264
|
+
let UpdateRecordChangeReplayRunInput = class UpdateRecordChangeReplayRunInput {
|
|
34265
|
+
};
|
|
34266
|
+
exports.UpdateRecordChangeReplayRunInput = UpdateRecordChangeReplayRunInput;
|
|
34267
|
+
__decorate([
|
|
34268
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34269
|
+
__metadata("design:type", Number)
|
|
34270
|
+
], UpdateRecordChangeReplayRunInput.prototype, "ID", void 0);
|
|
34271
|
+
__decorate([
|
|
34272
|
+
(0, server_1.Field)(),
|
|
34273
|
+
__metadata("design:type", Date)
|
|
34274
|
+
], UpdateRecordChangeReplayRunInput.prototype, "StartedAt", void 0);
|
|
34275
|
+
__decorate([
|
|
34276
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34277
|
+
__metadata("design:type", Date)
|
|
34278
|
+
], UpdateRecordChangeReplayRunInput.prototype, "EndedAt", void 0);
|
|
34279
|
+
__decorate([
|
|
34280
|
+
(0, server_1.Field)(),
|
|
34281
|
+
__metadata("design:type", String)
|
|
34282
|
+
], UpdateRecordChangeReplayRunInput.prototype, "Status", void 0);
|
|
34283
|
+
__decorate([
|
|
34284
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34285
|
+
__metadata("design:type", Number)
|
|
34286
|
+
], UpdateRecordChangeReplayRunInput.prototype, "UserID", void 0);
|
|
34287
|
+
__decorate([
|
|
34288
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
34289
|
+
__metadata("design:type", Array)
|
|
34290
|
+
], UpdateRecordChangeReplayRunInput.prototype, "OldValues___", void 0);
|
|
34291
|
+
exports.UpdateRecordChangeReplayRunInput = UpdateRecordChangeReplayRunInput = __decorate([
|
|
34292
|
+
(0, server_1.InputType)()
|
|
34293
|
+
], UpdateRecordChangeReplayRunInput);
|
|
34294
|
+
let RunRecordChangeReplayRunViewResult = class RunRecordChangeReplayRunViewResult {
|
|
34295
|
+
};
|
|
34296
|
+
exports.RunRecordChangeReplayRunViewResult = RunRecordChangeReplayRunViewResult;
|
|
34297
|
+
__decorate([
|
|
34298
|
+
(0, server_1.Field)(() => [RecordChangeReplayRun_]),
|
|
34299
|
+
__metadata("design:type", Array)
|
|
34300
|
+
], RunRecordChangeReplayRunViewResult.prototype, "Results", void 0);
|
|
34301
|
+
__decorate([
|
|
34302
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34303
|
+
__metadata("design:type", Number)
|
|
34304
|
+
], RunRecordChangeReplayRunViewResult.prototype, "UserViewRunID", void 0);
|
|
34305
|
+
__decorate([
|
|
34306
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34307
|
+
__metadata("design:type", Number)
|
|
34308
|
+
], RunRecordChangeReplayRunViewResult.prototype, "RowCount", void 0);
|
|
34309
|
+
__decorate([
|
|
34310
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34311
|
+
__metadata("design:type", Number)
|
|
34312
|
+
], RunRecordChangeReplayRunViewResult.prototype, "TotalRowCount", void 0);
|
|
34313
|
+
__decorate([
|
|
34314
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34315
|
+
__metadata("design:type", Number)
|
|
34316
|
+
], RunRecordChangeReplayRunViewResult.prototype, "ExecutionTime", void 0);
|
|
34317
|
+
__decorate([
|
|
34318
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34319
|
+
__metadata("design:type", String)
|
|
34320
|
+
], RunRecordChangeReplayRunViewResult.prototype, "ErrorMessage", void 0);
|
|
34321
|
+
__decorate([
|
|
34322
|
+
(0, server_1.Field)(() => Boolean, { nullable: false }),
|
|
34323
|
+
__metadata("design:type", Boolean)
|
|
34324
|
+
], RunRecordChangeReplayRunViewResult.prototype, "Success", void 0);
|
|
34325
|
+
exports.RunRecordChangeReplayRunViewResult = RunRecordChangeReplayRunViewResult = __decorate([
|
|
34326
|
+
(0, server_1.ObjectType)()
|
|
34327
|
+
], RunRecordChangeReplayRunViewResult);
|
|
34328
|
+
let RecordChangeReplayRunResolver = class RecordChangeReplayRunResolver extends server_1.ResolverBase {
|
|
34329
|
+
async RunRecordChangeReplayRunViewByID(input, { dataSource, userPayload }, pubSub) {
|
|
34330
|
+
return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
|
|
34331
|
+
}
|
|
34332
|
+
async RunRecordChangeReplayRunViewByName(input, { dataSource, userPayload }, pubSub) {
|
|
34333
|
+
return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
|
|
34334
|
+
}
|
|
34335
|
+
async RunRecordChangeReplayRunDynamicView(input, { dataSource, userPayload }, pubSub) {
|
|
34336
|
+
input.EntityName = 'Record Change Replay Runs';
|
|
34337
|
+
return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
|
|
34338
|
+
}
|
|
34339
|
+
async RecordChangeReplayRun(ID, { dataSource, userPayload }, pubSub) {
|
|
34340
|
+
this.CheckUserReadPermissions('Record Change Replay Runs', userPayload);
|
|
34341
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwRecordChangeReplayRuns] WHERE [ID]=${ID} ` + this.getRowLevelSecurityWhereClause('Record Change Replay Runs', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34342
|
+
const result = this.MapFieldNamesToCodeNames('Record Change Replay Runs', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
34343
|
+
return result;
|
|
34344
|
+
}
|
|
34345
|
+
async RecordChangesArray(recordchangereplayrun_, { dataSource, userPayload }, pubSub) {
|
|
34346
|
+
this.CheckUserReadPermissions('Record Changes', userPayload);
|
|
34347
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwRecordChanges] WHERE [ReplayRunID]=${recordchangereplayrun_.ID} ` + this.getRowLevelSecurityWhereClause('Record Changes', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34348
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Record Changes', await dataSource.query(sSQL));
|
|
34349
|
+
return result;
|
|
34350
|
+
}
|
|
34351
|
+
async CreateRecordChangeReplayRun(input, { dataSource, userPayload }, pubSub) {
|
|
34352
|
+
return this.CreateRecord('Record Change Replay Runs', input, dataSource, userPayload, pubSub);
|
|
34353
|
+
}
|
|
34354
|
+
async UpdateRecordChangeReplayRun(input, { dataSource, userPayload }, pubSub) {
|
|
34355
|
+
return this.UpdateRecord('Record Change Replay Runs', input, dataSource, userPayload, pubSub);
|
|
34356
|
+
}
|
|
34357
|
+
};
|
|
34358
|
+
exports.RecordChangeReplayRunResolver = RecordChangeReplayRunResolver;
|
|
34359
|
+
__decorate([
|
|
34360
|
+
(0, server_1.Query)(() => RunRecordChangeReplayRunViewResult),
|
|
34361
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByIDInput)),
|
|
34362
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34363
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34364
|
+
__metadata("design:type", Function),
|
|
34365
|
+
__metadata("design:paramtypes", [server_1.RunViewByIDInput, Object, server_1.PubSubEngine]),
|
|
34366
|
+
__metadata("design:returntype", Promise)
|
|
34367
|
+
], RecordChangeReplayRunResolver.prototype, "RunRecordChangeReplayRunViewByID", null);
|
|
34368
|
+
__decorate([
|
|
34369
|
+
(0, server_1.Query)(() => RunRecordChangeReplayRunViewResult),
|
|
34370
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByNameInput)),
|
|
34371
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34372
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34373
|
+
__metadata("design:type", Function),
|
|
34374
|
+
__metadata("design:paramtypes", [server_1.RunViewByNameInput, Object, server_1.PubSubEngine]),
|
|
34375
|
+
__metadata("design:returntype", Promise)
|
|
34376
|
+
], RecordChangeReplayRunResolver.prototype, "RunRecordChangeReplayRunViewByName", null);
|
|
34377
|
+
__decorate([
|
|
34378
|
+
(0, server_1.Query)(() => RunRecordChangeReplayRunViewResult),
|
|
34379
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunDynamicViewInput)),
|
|
34380
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34381
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34382
|
+
__metadata("design:type", Function),
|
|
34383
|
+
__metadata("design:paramtypes", [server_1.RunDynamicViewInput, Object, server_1.PubSubEngine]),
|
|
34384
|
+
__metadata("design:returntype", Promise)
|
|
34385
|
+
], RecordChangeReplayRunResolver.prototype, "RunRecordChangeReplayRunDynamicView", null);
|
|
34386
|
+
__decorate([
|
|
34387
|
+
(0, server_1.Query)(() => RecordChangeReplayRun_, { nullable: true }),
|
|
34388
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
34389
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34390
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34391
|
+
__metadata("design:type", Function),
|
|
34392
|
+
__metadata("design:paramtypes", [Number, Object, server_1.PubSubEngine]),
|
|
34393
|
+
__metadata("design:returntype", Promise)
|
|
34394
|
+
], RecordChangeReplayRunResolver.prototype, "RecordChangeReplayRun", null);
|
|
34395
|
+
__decorate([
|
|
34396
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.RecordChange_]),
|
|
34397
|
+
__param(0, (0, server_1.Root)()),
|
|
34398
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34399
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34400
|
+
__metadata("design:type", Function),
|
|
34401
|
+
__metadata("design:paramtypes", [RecordChangeReplayRun_, Object, server_1.PubSubEngine]),
|
|
34402
|
+
__metadata("design:returntype", Promise)
|
|
34403
|
+
], RecordChangeReplayRunResolver.prototype, "RecordChangesArray", null);
|
|
34404
|
+
__decorate([
|
|
34405
|
+
(0, server_1.Mutation)(() => RecordChangeReplayRun_),
|
|
34406
|
+
__param(0, (0, server_1.Arg)('input', () => CreateRecordChangeReplayRunInput)),
|
|
34407
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34408
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34409
|
+
__metadata("design:type", Function),
|
|
34410
|
+
__metadata("design:paramtypes", [CreateRecordChangeReplayRunInput, Object, server_1.PubSubEngine]),
|
|
34411
|
+
__metadata("design:returntype", Promise)
|
|
34412
|
+
], RecordChangeReplayRunResolver.prototype, "CreateRecordChangeReplayRun", null);
|
|
34413
|
+
__decorate([
|
|
34414
|
+
(0, server_1.Mutation)(() => RecordChangeReplayRun_),
|
|
34415
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateRecordChangeReplayRunInput)),
|
|
34416
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34417
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34418
|
+
__metadata("design:type", Function),
|
|
34419
|
+
__metadata("design:paramtypes", [UpdateRecordChangeReplayRunInput, Object, server_1.PubSubEngine]),
|
|
34420
|
+
__metadata("design:returntype", Promise)
|
|
34421
|
+
], RecordChangeReplayRunResolver.prototype, "UpdateRecordChangeReplayRun", null);
|
|
34422
|
+
exports.RecordChangeReplayRunResolver = RecordChangeReplayRunResolver = __decorate([
|
|
34423
|
+
(0, server_1.Resolver)(RecordChangeReplayRun_)
|
|
34424
|
+
], RecordChangeReplayRunResolver);
|
|
34425
|
+
let LibraryItem_ = class LibraryItem_ {
|
|
34426
|
+
};
|
|
34427
|
+
exports.LibraryItem_ = LibraryItem_;
|
|
34428
|
+
__decorate([
|
|
34429
|
+
(0, server_1.Field)(() => server_1.Int, { description: 'Primary key of the LibraryItem table.' }),
|
|
34430
|
+
__metadata("design:type", Number)
|
|
34431
|
+
], LibraryItem_.prototype, "ID", void 0);
|
|
34432
|
+
__decorate([
|
|
34433
|
+
(0, server_1.Field)(),
|
|
34434
|
+
(0, class_validator_1.MaxLength)(510),
|
|
34435
|
+
__metadata("design:type", String)
|
|
34436
|
+
], LibraryItem_.prototype, "Name", void 0);
|
|
34437
|
+
__decorate([
|
|
34438
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34439
|
+
__metadata("design:type", Number)
|
|
34440
|
+
], LibraryItem_.prototype, "LibraryID", void 0);
|
|
34441
|
+
__decorate([
|
|
34442
|
+
(0, server_1.Field)({ description: 'Type of the library item for example Class, Interface, etc.' }),
|
|
34443
|
+
(0, class_validator_1.MaxLength)(100),
|
|
34444
|
+
__metadata("design:type", String)
|
|
34445
|
+
], LibraryItem_.prototype, "Type", void 0);
|
|
34446
|
+
__decorate([
|
|
34447
|
+
(0, server_1.Field)(),
|
|
34448
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34449
|
+
__metadata("design:type", Date)
|
|
34450
|
+
], LibraryItem_.prototype, "_mj__CreatedAt", void 0);
|
|
34451
|
+
__decorate([
|
|
34452
|
+
(0, server_1.Field)(),
|
|
34453
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34454
|
+
__metadata("design:type", Date)
|
|
34455
|
+
], LibraryItem_.prototype, "_mj__UpdatedAt", void 0);
|
|
34456
|
+
__decorate([
|
|
34457
|
+
(0, server_1.Field)(),
|
|
34458
|
+
(0, class_validator_1.MaxLength)(510),
|
|
34459
|
+
__metadata("design:type", String)
|
|
34460
|
+
], LibraryItem_.prototype, "Library", void 0);
|
|
34461
|
+
exports.LibraryItem_ = LibraryItem_ = __decorate([
|
|
34462
|
+
(0, server_1.ObjectType)({ description: 'Table to store individual library items' })
|
|
34463
|
+
], LibraryItem_);
|
|
34464
|
+
let CreateLibraryItemInput = class CreateLibraryItemInput {
|
|
34465
|
+
};
|
|
34466
|
+
exports.CreateLibraryItemInput = CreateLibraryItemInput;
|
|
34467
|
+
__decorate([
|
|
34468
|
+
(0, server_1.Field)(),
|
|
34469
|
+
__metadata("design:type", String)
|
|
34470
|
+
], CreateLibraryItemInput.prototype, "Name", void 0);
|
|
34471
|
+
__decorate([
|
|
34472
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34473
|
+
__metadata("design:type", Number)
|
|
34474
|
+
], CreateLibraryItemInput.prototype, "LibraryID", void 0);
|
|
34475
|
+
__decorate([
|
|
34476
|
+
(0, server_1.Field)(),
|
|
34477
|
+
__metadata("design:type", String)
|
|
34478
|
+
], CreateLibraryItemInput.prototype, "Type", void 0);
|
|
34479
|
+
exports.CreateLibraryItemInput = CreateLibraryItemInput = __decorate([
|
|
34480
|
+
(0, server_1.InputType)()
|
|
34481
|
+
], CreateLibraryItemInput);
|
|
34482
|
+
let UpdateLibraryItemInput = class UpdateLibraryItemInput {
|
|
34483
|
+
};
|
|
34484
|
+
exports.UpdateLibraryItemInput = UpdateLibraryItemInput;
|
|
34485
|
+
__decorate([
|
|
34486
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34487
|
+
__metadata("design:type", Number)
|
|
34488
|
+
], UpdateLibraryItemInput.prototype, "ID", void 0);
|
|
34489
|
+
__decorate([
|
|
34490
|
+
(0, server_1.Field)(),
|
|
34491
|
+
__metadata("design:type", String)
|
|
34492
|
+
], UpdateLibraryItemInput.prototype, "Name", void 0);
|
|
34493
|
+
__decorate([
|
|
34494
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34495
|
+
__metadata("design:type", Number)
|
|
34496
|
+
], UpdateLibraryItemInput.prototype, "LibraryID", void 0);
|
|
34497
|
+
__decorate([
|
|
34498
|
+
(0, server_1.Field)(),
|
|
34499
|
+
__metadata("design:type", String)
|
|
34500
|
+
], UpdateLibraryItemInput.prototype, "Type", void 0);
|
|
34501
|
+
__decorate([
|
|
34502
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
34503
|
+
__metadata("design:type", Array)
|
|
34504
|
+
], UpdateLibraryItemInput.prototype, "OldValues___", void 0);
|
|
34505
|
+
exports.UpdateLibraryItemInput = UpdateLibraryItemInput = __decorate([
|
|
34506
|
+
(0, server_1.InputType)()
|
|
34507
|
+
], UpdateLibraryItemInput);
|
|
34508
|
+
let RunLibraryItemViewResult = class RunLibraryItemViewResult {
|
|
34509
|
+
};
|
|
34510
|
+
exports.RunLibraryItemViewResult = RunLibraryItemViewResult;
|
|
34511
|
+
__decorate([
|
|
34512
|
+
(0, server_1.Field)(() => [LibraryItem_]),
|
|
34513
|
+
__metadata("design:type", Array)
|
|
34514
|
+
], RunLibraryItemViewResult.prototype, "Results", void 0);
|
|
34515
|
+
__decorate([
|
|
34516
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34517
|
+
__metadata("design:type", Number)
|
|
34518
|
+
], RunLibraryItemViewResult.prototype, "UserViewRunID", void 0);
|
|
34519
|
+
__decorate([
|
|
34520
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34521
|
+
__metadata("design:type", Number)
|
|
34522
|
+
], RunLibraryItemViewResult.prototype, "RowCount", void 0);
|
|
34523
|
+
__decorate([
|
|
34524
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34525
|
+
__metadata("design:type", Number)
|
|
34526
|
+
], RunLibraryItemViewResult.prototype, "TotalRowCount", void 0);
|
|
34527
|
+
__decorate([
|
|
34528
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34529
|
+
__metadata("design:type", Number)
|
|
34530
|
+
], RunLibraryItemViewResult.prototype, "ExecutionTime", void 0);
|
|
34531
|
+
__decorate([
|
|
34532
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34533
|
+
__metadata("design:type", String)
|
|
34534
|
+
], RunLibraryItemViewResult.prototype, "ErrorMessage", void 0);
|
|
34535
|
+
__decorate([
|
|
34536
|
+
(0, server_1.Field)(() => Boolean, { nullable: false }),
|
|
34537
|
+
__metadata("design:type", Boolean)
|
|
34538
|
+
], RunLibraryItemViewResult.prototype, "Success", void 0);
|
|
34539
|
+
exports.RunLibraryItemViewResult = RunLibraryItemViewResult = __decorate([
|
|
34540
|
+
(0, server_1.ObjectType)()
|
|
34541
|
+
], RunLibraryItemViewResult);
|
|
34542
|
+
let LibraryItemResolver = class LibraryItemResolver extends server_1.ResolverBase {
|
|
34543
|
+
async RunLibraryItemViewByID(input, { dataSource, userPayload }, pubSub) {
|
|
34544
|
+
return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
|
|
34545
|
+
}
|
|
34546
|
+
async RunLibraryItemViewByName(input, { dataSource, userPayload }, pubSub) {
|
|
34547
|
+
return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
|
|
34548
|
+
}
|
|
34549
|
+
async RunLibraryItemDynamicView(input, { dataSource, userPayload }, pubSub) {
|
|
34550
|
+
input.EntityName = 'Library Items';
|
|
34551
|
+
return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
|
|
34552
|
+
}
|
|
34553
|
+
async LibraryItem(ID, { dataSource, userPayload }, pubSub) {
|
|
34554
|
+
this.CheckUserReadPermissions('Library Items', userPayload);
|
|
34555
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwLibraryItems] WHERE [ID]=${ID} ` + this.getRowLevelSecurityWhereClause('Library Items', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34556
|
+
const result = this.MapFieldNamesToCodeNames('Library Items', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
34557
|
+
return result;
|
|
34558
|
+
}
|
|
34559
|
+
async CreateLibraryItem(input, { dataSource, userPayload }, pubSub) {
|
|
34560
|
+
return this.CreateRecord('Library Items', input, dataSource, userPayload, pubSub);
|
|
34561
|
+
}
|
|
34562
|
+
async UpdateLibraryItem(input, { dataSource, userPayload }, pubSub) {
|
|
34563
|
+
return this.UpdateRecord('Library Items', input, dataSource, userPayload, pubSub);
|
|
34564
|
+
}
|
|
34565
|
+
};
|
|
34566
|
+
exports.LibraryItemResolver = LibraryItemResolver;
|
|
34567
|
+
__decorate([
|
|
34568
|
+
(0, server_1.Query)(() => RunLibraryItemViewResult),
|
|
34569
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByIDInput)),
|
|
34570
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34571
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34572
|
+
__metadata("design:type", Function),
|
|
34573
|
+
__metadata("design:paramtypes", [server_1.RunViewByIDInput, Object, server_1.PubSubEngine]),
|
|
34574
|
+
__metadata("design:returntype", Promise)
|
|
34575
|
+
], LibraryItemResolver.prototype, "RunLibraryItemViewByID", null);
|
|
34576
|
+
__decorate([
|
|
34577
|
+
(0, server_1.Query)(() => RunLibraryItemViewResult),
|
|
34578
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByNameInput)),
|
|
34579
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34580
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34581
|
+
__metadata("design:type", Function),
|
|
34582
|
+
__metadata("design:paramtypes", [server_1.RunViewByNameInput, Object, server_1.PubSubEngine]),
|
|
34583
|
+
__metadata("design:returntype", Promise)
|
|
34584
|
+
], LibraryItemResolver.prototype, "RunLibraryItemViewByName", null);
|
|
34585
|
+
__decorate([
|
|
34586
|
+
(0, server_1.Query)(() => RunLibraryItemViewResult),
|
|
34587
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunDynamicViewInput)),
|
|
34588
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34589
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34590
|
+
__metadata("design:type", Function),
|
|
34591
|
+
__metadata("design:paramtypes", [server_1.RunDynamicViewInput, Object, server_1.PubSubEngine]),
|
|
34592
|
+
__metadata("design:returntype", Promise)
|
|
34593
|
+
], LibraryItemResolver.prototype, "RunLibraryItemDynamicView", null);
|
|
34594
|
+
__decorate([
|
|
34595
|
+
(0, server_1.Query)(() => LibraryItem_, { nullable: true }),
|
|
34596
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
34597
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34598
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34599
|
+
__metadata("design:type", Function),
|
|
34600
|
+
__metadata("design:paramtypes", [Number, Object, server_1.PubSubEngine]),
|
|
34601
|
+
__metadata("design:returntype", Promise)
|
|
34602
|
+
], LibraryItemResolver.prototype, "LibraryItem", null);
|
|
34603
|
+
__decorate([
|
|
34604
|
+
(0, server_1.Mutation)(() => LibraryItem_),
|
|
34605
|
+
__param(0, (0, server_1.Arg)('input', () => CreateLibraryItemInput)),
|
|
34606
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34607
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34608
|
+
__metadata("design:type", Function),
|
|
34609
|
+
__metadata("design:paramtypes", [CreateLibraryItemInput, Object, server_1.PubSubEngine]),
|
|
34610
|
+
__metadata("design:returntype", Promise)
|
|
34611
|
+
], LibraryItemResolver.prototype, "CreateLibraryItem", null);
|
|
34612
|
+
__decorate([
|
|
34613
|
+
(0, server_1.Mutation)(() => LibraryItem_),
|
|
34614
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateLibraryItemInput)),
|
|
34615
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34616
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34617
|
+
__metadata("design:type", Function),
|
|
34618
|
+
__metadata("design:paramtypes", [UpdateLibraryItemInput, Object, server_1.PubSubEngine]),
|
|
34619
|
+
__metadata("design:returntype", Promise)
|
|
34620
|
+
], LibraryItemResolver.prototype, "UpdateLibraryItem", null);
|
|
34621
|
+
exports.LibraryItemResolver = LibraryItemResolver = __decorate([
|
|
34622
|
+
(0, server_1.Resolver)(LibraryItem_)
|
|
34623
|
+
], LibraryItemResolver);
|
|
34624
|
+
let EntityRelationshipDisplayComponent_ = class EntityRelationshipDisplayComponent_ {
|
|
34625
|
+
};
|
|
34626
|
+
exports.EntityRelationshipDisplayComponent_ = EntityRelationshipDisplayComponent_;
|
|
34627
|
+
__decorate([
|
|
34628
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34629
|
+
__metadata("design:type", Number)
|
|
34630
|
+
], EntityRelationshipDisplayComponent_.prototype, "ID", void 0);
|
|
34631
|
+
__decorate([
|
|
34632
|
+
(0, server_1.Field)(),
|
|
34633
|
+
(0, class_validator_1.MaxLength)(510),
|
|
34634
|
+
__metadata("design:type", String)
|
|
34635
|
+
], EntityRelationshipDisplayComponent_.prototype, "Name", void 0);
|
|
34636
|
+
__decorate([
|
|
34637
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34638
|
+
__metadata("design:type", String)
|
|
34639
|
+
], EntityRelationshipDisplayComponent_.prototype, "Description", void 0);
|
|
34640
|
+
__decorate([
|
|
34641
|
+
(0, server_1.Field)({ description: 'The type of relationship the component displays. Valid values are "One to Many", "Many to Many", or "Both".' }),
|
|
34642
|
+
(0, class_validator_1.MaxLength)(40),
|
|
34643
|
+
__metadata("design:type", String)
|
|
34644
|
+
], EntityRelationshipDisplayComponent_.prototype, "RelationshipType", void 0);
|
|
34645
|
+
__decorate([
|
|
34646
|
+
(0, server_1.Field)(),
|
|
34647
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34648
|
+
__metadata("design:type", Date)
|
|
34649
|
+
], EntityRelationshipDisplayComponent_.prototype, "_mj__CreatedAt", void 0);
|
|
34650
|
+
__decorate([
|
|
34651
|
+
(0, server_1.Field)(),
|
|
34652
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34653
|
+
__metadata("design:type", Date)
|
|
34654
|
+
], EntityRelationshipDisplayComponent_.prototype, "_mj__UpdatedAt", void 0);
|
|
34655
|
+
__decorate([
|
|
34656
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.EntityRelationship_]),
|
|
34657
|
+
__metadata("design:type", Array)
|
|
34658
|
+
], EntityRelationshipDisplayComponent_.prototype, "EntityRelationshipsArray", void 0);
|
|
34659
|
+
exports.EntityRelationshipDisplayComponent_ = EntityRelationshipDisplayComponent_ = __decorate([
|
|
34660
|
+
(0, server_1.ObjectType)({ description: 'This table stores a list of components that are available for displaying relationships in the MJ Explorer UI' })
|
|
34661
|
+
], EntityRelationshipDisplayComponent_);
|
|
34662
|
+
let CreateEntityRelationshipDisplayComponentInput = class CreateEntityRelationshipDisplayComponentInput {
|
|
34663
|
+
};
|
|
34664
|
+
exports.CreateEntityRelationshipDisplayComponentInput = CreateEntityRelationshipDisplayComponentInput;
|
|
34665
|
+
__decorate([
|
|
34666
|
+
(0, server_1.Field)(),
|
|
34667
|
+
__metadata("design:type", String)
|
|
34668
|
+
], CreateEntityRelationshipDisplayComponentInput.prototype, "Name", void 0);
|
|
34669
|
+
__decorate([
|
|
34670
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34671
|
+
__metadata("design:type", String)
|
|
34672
|
+
], CreateEntityRelationshipDisplayComponentInput.prototype, "Description", void 0);
|
|
34673
|
+
__decorate([
|
|
34674
|
+
(0, server_1.Field)(),
|
|
34675
|
+
__metadata("design:type", String)
|
|
34676
|
+
], CreateEntityRelationshipDisplayComponentInput.prototype, "RelationshipType", void 0);
|
|
34677
|
+
exports.CreateEntityRelationshipDisplayComponentInput = CreateEntityRelationshipDisplayComponentInput = __decorate([
|
|
34678
|
+
(0, server_1.InputType)()
|
|
34679
|
+
], CreateEntityRelationshipDisplayComponentInput);
|
|
34680
|
+
let UpdateEntityRelationshipDisplayComponentInput = class UpdateEntityRelationshipDisplayComponentInput {
|
|
34681
|
+
};
|
|
34682
|
+
exports.UpdateEntityRelationshipDisplayComponentInput = UpdateEntityRelationshipDisplayComponentInput;
|
|
34683
|
+
__decorate([
|
|
34684
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34685
|
+
__metadata("design:type", Number)
|
|
34686
|
+
], UpdateEntityRelationshipDisplayComponentInput.prototype, "ID", void 0);
|
|
34687
|
+
__decorate([
|
|
34688
|
+
(0, server_1.Field)(),
|
|
34689
|
+
__metadata("design:type", String)
|
|
34690
|
+
], UpdateEntityRelationshipDisplayComponentInput.prototype, "Name", void 0);
|
|
34691
|
+
__decorate([
|
|
34692
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34693
|
+
__metadata("design:type", String)
|
|
34694
|
+
], UpdateEntityRelationshipDisplayComponentInput.prototype, "Description", void 0);
|
|
34695
|
+
__decorate([
|
|
34696
|
+
(0, server_1.Field)(),
|
|
34697
|
+
__metadata("design:type", String)
|
|
34698
|
+
], UpdateEntityRelationshipDisplayComponentInput.prototype, "RelationshipType", void 0);
|
|
34699
|
+
__decorate([
|
|
34700
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
34701
|
+
__metadata("design:type", Array)
|
|
34702
|
+
], UpdateEntityRelationshipDisplayComponentInput.prototype, "OldValues___", void 0);
|
|
34703
|
+
exports.UpdateEntityRelationshipDisplayComponentInput = UpdateEntityRelationshipDisplayComponentInput = __decorate([
|
|
34704
|
+
(0, server_1.InputType)()
|
|
34705
|
+
], UpdateEntityRelationshipDisplayComponentInput);
|
|
34706
|
+
let RunEntityRelationshipDisplayComponentViewResult = class RunEntityRelationshipDisplayComponentViewResult {
|
|
34707
|
+
};
|
|
34708
|
+
exports.RunEntityRelationshipDisplayComponentViewResult = RunEntityRelationshipDisplayComponentViewResult;
|
|
34709
|
+
__decorate([
|
|
34710
|
+
(0, server_1.Field)(() => [EntityRelationshipDisplayComponent_]),
|
|
34711
|
+
__metadata("design:type", Array)
|
|
34712
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "Results", void 0);
|
|
34713
|
+
__decorate([
|
|
34714
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34715
|
+
__metadata("design:type", Number)
|
|
34716
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "UserViewRunID", void 0);
|
|
34717
|
+
__decorate([
|
|
34718
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34719
|
+
__metadata("design:type", Number)
|
|
34720
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "RowCount", void 0);
|
|
34721
|
+
__decorate([
|
|
34722
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34723
|
+
__metadata("design:type", Number)
|
|
34724
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "TotalRowCount", void 0);
|
|
34725
|
+
__decorate([
|
|
34726
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34727
|
+
__metadata("design:type", Number)
|
|
34728
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "ExecutionTime", void 0);
|
|
34729
|
+
__decorate([
|
|
34730
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34731
|
+
__metadata("design:type", String)
|
|
34732
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "ErrorMessage", void 0);
|
|
34733
|
+
__decorate([
|
|
34734
|
+
(0, server_1.Field)(() => Boolean, { nullable: false }),
|
|
34735
|
+
__metadata("design:type", Boolean)
|
|
34736
|
+
], RunEntityRelationshipDisplayComponentViewResult.prototype, "Success", void 0);
|
|
34737
|
+
exports.RunEntityRelationshipDisplayComponentViewResult = RunEntityRelationshipDisplayComponentViewResult = __decorate([
|
|
34738
|
+
(0, server_1.ObjectType)()
|
|
34739
|
+
], RunEntityRelationshipDisplayComponentViewResult);
|
|
34740
|
+
let EntityRelationshipDisplayComponentResolver = class EntityRelationshipDisplayComponentResolver extends server_1.ResolverBase {
|
|
34741
|
+
async RunEntityRelationshipDisplayComponentViewByID(input, { dataSource, userPayload }, pubSub) {
|
|
34742
|
+
return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
|
|
34743
|
+
}
|
|
34744
|
+
async RunEntityRelationshipDisplayComponentViewByName(input, { dataSource, userPayload }, pubSub) {
|
|
34745
|
+
return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
|
|
34746
|
+
}
|
|
34747
|
+
async RunEntityRelationshipDisplayComponentDynamicView(input, { dataSource, userPayload }, pubSub) {
|
|
34748
|
+
input.EntityName = 'Entity Relationship Display Components';
|
|
34749
|
+
return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
|
|
34750
|
+
}
|
|
34751
|
+
async EntityRelationshipDisplayComponent(ID, { dataSource, userPayload }, pubSub) {
|
|
34752
|
+
this.CheckUserReadPermissions('Entity Relationship Display Components', userPayload);
|
|
34753
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityRelationshipDisplayComponents] WHERE [ID]=${ID} ` + this.getRowLevelSecurityWhereClause('Entity Relationship Display Components', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34754
|
+
const result = this.MapFieldNamesToCodeNames('Entity Relationship Display Components', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
34755
|
+
return result;
|
|
34756
|
+
}
|
|
34757
|
+
async EntityRelationshipsArray(entityrelationshipdisplaycomponent_, { dataSource, userPayload }, pubSub) {
|
|
34758
|
+
this.CheckUserReadPermissions('Entity Relationships', userPayload);
|
|
34759
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityRelationships] WHERE [DisplayComponentID]=${entityrelationshipdisplaycomponent_.ID} ` + this.getRowLevelSecurityWhereClause('Entity Relationships', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34760
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Entity Relationships', await dataSource.query(sSQL));
|
|
34761
|
+
return result;
|
|
34762
|
+
}
|
|
34763
|
+
async CreateEntityRelationshipDisplayComponent(input, { dataSource, userPayload }, pubSub) {
|
|
34764
|
+
return this.CreateRecord('Entity Relationship Display Components', input, dataSource, userPayload, pubSub);
|
|
34765
|
+
}
|
|
34766
|
+
async UpdateEntityRelationshipDisplayComponent(input, { dataSource, userPayload }, pubSub) {
|
|
34767
|
+
return this.UpdateRecord('Entity Relationship Display Components', input, dataSource, userPayload, pubSub);
|
|
34768
|
+
}
|
|
34769
|
+
};
|
|
34770
|
+
exports.EntityRelationshipDisplayComponentResolver = EntityRelationshipDisplayComponentResolver;
|
|
34771
|
+
__decorate([
|
|
34772
|
+
(0, server_1.Query)(() => RunEntityRelationshipDisplayComponentViewResult),
|
|
34773
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByIDInput)),
|
|
34774
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34775
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34776
|
+
__metadata("design:type", Function),
|
|
34777
|
+
__metadata("design:paramtypes", [server_1.RunViewByIDInput, Object, server_1.PubSubEngine]),
|
|
34778
|
+
__metadata("design:returntype", Promise)
|
|
34779
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "RunEntityRelationshipDisplayComponentViewByID", null);
|
|
34780
|
+
__decorate([
|
|
34781
|
+
(0, server_1.Query)(() => RunEntityRelationshipDisplayComponentViewResult),
|
|
34782
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByNameInput)),
|
|
34783
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34784
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34785
|
+
__metadata("design:type", Function),
|
|
34786
|
+
__metadata("design:paramtypes", [server_1.RunViewByNameInput, Object, server_1.PubSubEngine]),
|
|
34787
|
+
__metadata("design:returntype", Promise)
|
|
34788
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "RunEntityRelationshipDisplayComponentViewByName", null);
|
|
34789
|
+
__decorate([
|
|
34790
|
+
(0, server_1.Query)(() => RunEntityRelationshipDisplayComponentViewResult),
|
|
34791
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunDynamicViewInput)),
|
|
34792
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34793
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34794
|
+
__metadata("design:type", Function),
|
|
34795
|
+
__metadata("design:paramtypes", [server_1.RunDynamicViewInput, Object, server_1.PubSubEngine]),
|
|
34796
|
+
__metadata("design:returntype", Promise)
|
|
34797
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "RunEntityRelationshipDisplayComponentDynamicView", null);
|
|
34798
|
+
__decorate([
|
|
34799
|
+
(0, server_1.Query)(() => EntityRelationshipDisplayComponent_, { nullable: true }),
|
|
34800
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
34801
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34802
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34803
|
+
__metadata("design:type", Function),
|
|
34804
|
+
__metadata("design:paramtypes", [Number, Object, server_1.PubSubEngine]),
|
|
34805
|
+
__metadata("design:returntype", Promise)
|
|
34806
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "EntityRelationshipDisplayComponent", null);
|
|
34807
|
+
__decorate([
|
|
34808
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.EntityRelationship_]),
|
|
34809
|
+
__param(0, (0, server_1.Root)()),
|
|
34810
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34811
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34812
|
+
__metadata("design:type", Function),
|
|
34813
|
+
__metadata("design:paramtypes", [EntityRelationshipDisplayComponent_, Object, server_1.PubSubEngine]),
|
|
34814
|
+
__metadata("design:returntype", Promise)
|
|
34815
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "EntityRelationshipsArray", null);
|
|
34816
|
+
__decorate([
|
|
34817
|
+
(0, server_1.Mutation)(() => EntityRelationshipDisplayComponent_),
|
|
34818
|
+
__param(0, (0, server_1.Arg)('input', () => CreateEntityRelationshipDisplayComponentInput)),
|
|
34819
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34820
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34821
|
+
__metadata("design:type", Function),
|
|
34822
|
+
__metadata("design:paramtypes", [CreateEntityRelationshipDisplayComponentInput, Object, server_1.PubSubEngine]),
|
|
34823
|
+
__metadata("design:returntype", Promise)
|
|
34824
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "CreateEntityRelationshipDisplayComponent", null);
|
|
34825
|
+
__decorate([
|
|
34826
|
+
(0, server_1.Mutation)(() => EntityRelationshipDisplayComponent_),
|
|
34827
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateEntityRelationshipDisplayComponentInput)),
|
|
34828
|
+
__param(1, (0, server_1.Ctx)()),
|
|
34829
|
+
__param(2, (0, server_1.PubSub)()),
|
|
34830
|
+
__metadata("design:type", Function),
|
|
34831
|
+
__metadata("design:paramtypes", [UpdateEntityRelationshipDisplayComponentInput, Object, server_1.PubSubEngine]),
|
|
34832
|
+
__metadata("design:returntype", Promise)
|
|
34833
|
+
], EntityRelationshipDisplayComponentResolver.prototype, "UpdateEntityRelationshipDisplayComponent", null);
|
|
34834
|
+
exports.EntityRelationshipDisplayComponentResolver = EntityRelationshipDisplayComponentResolver = __decorate([
|
|
34835
|
+
(0, server_1.Resolver)(EntityRelationshipDisplayComponent_)
|
|
34836
|
+
], EntityRelationshipDisplayComponentResolver);
|
|
34837
|
+
let EntityActionParam_ = class EntityActionParam_ {
|
|
34838
|
+
};
|
|
34839
|
+
exports.EntityActionParam_ = EntityActionParam_;
|
|
34840
|
+
__decorate([
|
|
34841
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34842
|
+
__metadata("design:type", Number)
|
|
34843
|
+
], EntityActionParam_.prototype, "ID", void 0);
|
|
34844
|
+
__decorate([
|
|
34845
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34846
|
+
__metadata("design:type", Number)
|
|
34847
|
+
], EntityActionParam_.prototype, "EntityActionID", void 0);
|
|
34848
|
+
__decorate([
|
|
34849
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34850
|
+
__metadata("design:type", Number)
|
|
34851
|
+
], EntityActionParam_.prototype, "ActionParamID", void 0);
|
|
34852
|
+
__decorate([
|
|
34853
|
+
(0, server_1.Field)({ description: 'Type of the value, which can be Static, Entity Object, or Script.' }),
|
|
34854
|
+
(0, class_validator_1.MaxLength)(40),
|
|
34855
|
+
__metadata("design:type", String)
|
|
34856
|
+
], EntityActionParam_.prototype, "ValueType", void 0);
|
|
34857
|
+
__decorate([
|
|
34858
|
+
(0, server_1.Field)({ nullable: true, description: 'Value of the parameter, used only when ValueType is Static or Script. When value is Script, any valid JavaScript code can be provided. The script will have access to an object called EntityActionContext. This object will have a property called EntityObject on it that will contain the BaseEntity derived sub-class with the current data for the entity object this action is operating against. The script must provide the parameter value to the EntityActionContext.result property. This scripting capabilty is designed for very small and simple code, for anything of meaningful complexity, create a sub-class instead.' }),
|
|
34859
|
+
__metadata("design:type", String)
|
|
34860
|
+
], EntityActionParam_.prototype, "Value", void 0);
|
|
34861
|
+
__decorate([
|
|
34862
|
+
(0, server_1.Field)({ nullable: true, description: 'Additional comments regarding the parameter.' }),
|
|
34863
|
+
__metadata("design:type", String)
|
|
34864
|
+
], EntityActionParam_.prototype, "Comments", void 0);
|
|
34865
|
+
__decorate([
|
|
34866
|
+
(0, server_1.Field)(),
|
|
34867
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34868
|
+
__metadata("design:type", Date)
|
|
34869
|
+
], EntityActionParam_.prototype, "_mj__CreatedAt", void 0);
|
|
34870
|
+
__decorate([
|
|
34871
|
+
(0, server_1.Field)(),
|
|
34872
|
+
(0, class_validator_1.MaxLength)(10),
|
|
34873
|
+
__metadata("design:type", Date)
|
|
34874
|
+
], EntityActionParam_.prototype, "_mj__UpdatedAt", void 0);
|
|
34875
|
+
__decorate([
|
|
34876
|
+
(0, server_1.Field)(),
|
|
34877
|
+
(0, class_validator_1.MaxLength)(510),
|
|
34878
|
+
__metadata("design:type", String)
|
|
34879
|
+
], EntityActionParam_.prototype, "ActionParam", void 0);
|
|
34880
|
+
exports.EntityActionParam_ = EntityActionParam_ = __decorate([
|
|
34881
|
+
(0, server_1.ObjectType)({ description: 'Stores paramater mappings to enable Entity Actions to automatically invoke Actions' })
|
|
34882
|
+
], EntityActionParam_);
|
|
34883
|
+
let CreateEntityActionParamInput = class CreateEntityActionParamInput {
|
|
34884
|
+
};
|
|
34885
|
+
exports.CreateEntityActionParamInput = CreateEntityActionParamInput;
|
|
34886
|
+
__decorate([
|
|
34887
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34888
|
+
__metadata("design:type", Number)
|
|
34889
|
+
], CreateEntityActionParamInput.prototype, "EntityActionID", void 0);
|
|
34890
|
+
__decorate([
|
|
34891
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34892
|
+
__metadata("design:type", Number)
|
|
34893
|
+
], CreateEntityActionParamInput.prototype, "ActionParamID", void 0);
|
|
34894
|
+
__decorate([
|
|
34895
|
+
(0, server_1.Field)(),
|
|
34896
|
+
__metadata("design:type", String)
|
|
34897
|
+
], CreateEntityActionParamInput.prototype, "ValueType", void 0);
|
|
34898
|
+
__decorate([
|
|
34899
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34900
|
+
__metadata("design:type", String)
|
|
34901
|
+
], CreateEntityActionParamInput.prototype, "Value", void 0);
|
|
34902
|
+
__decorate([
|
|
34903
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34904
|
+
__metadata("design:type", String)
|
|
34905
|
+
], CreateEntityActionParamInput.prototype, "Comments", void 0);
|
|
34906
|
+
exports.CreateEntityActionParamInput = CreateEntityActionParamInput = __decorate([
|
|
34907
|
+
(0, server_1.InputType)()
|
|
34908
|
+
], CreateEntityActionParamInput);
|
|
34909
|
+
let UpdateEntityActionParamInput = class UpdateEntityActionParamInput {
|
|
34910
|
+
};
|
|
34911
|
+
exports.UpdateEntityActionParamInput = UpdateEntityActionParamInput;
|
|
34912
|
+
__decorate([
|
|
34913
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34914
|
+
__metadata("design:type", Number)
|
|
34915
|
+
], UpdateEntityActionParamInput.prototype, "ID", void 0);
|
|
34916
|
+
__decorate([
|
|
34917
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34918
|
+
__metadata("design:type", Number)
|
|
34919
|
+
], UpdateEntityActionParamInput.prototype, "EntityActionID", void 0);
|
|
34920
|
+
__decorate([
|
|
34921
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
34922
|
+
__metadata("design:type", Number)
|
|
34923
|
+
], UpdateEntityActionParamInput.prototype, "ActionParamID", void 0);
|
|
34924
|
+
__decorate([
|
|
34925
|
+
(0, server_1.Field)(),
|
|
34926
|
+
__metadata("design:type", String)
|
|
34927
|
+
], UpdateEntityActionParamInput.prototype, "ValueType", void 0);
|
|
34928
|
+
__decorate([
|
|
34929
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34930
|
+
__metadata("design:type", String)
|
|
34931
|
+
], UpdateEntityActionParamInput.prototype, "Value", void 0);
|
|
34932
|
+
__decorate([
|
|
34933
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34934
|
+
__metadata("design:type", String)
|
|
34935
|
+
], UpdateEntityActionParamInput.prototype, "Comments", void 0);
|
|
34936
|
+
__decorate([
|
|
34937
|
+
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
34938
|
+
__metadata("design:type", Array)
|
|
34939
|
+
], UpdateEntityActionParamInput.prototype, "OldValues___", void 0);
|
|
34940
|
+
exports.UpdateEntityActionParamInput = UpdateEntityActionParamInput = __decorate([
|
|
34941
|
+
(0, server_1.InputType)()
|
|
34942
|
+
], UpdateEntityActionParamInput);
|
|
34943
|
+
let RunEntityActionParamViewResult = class RunEntityActionParamViewResult {
|
|
34944
|
+
};
|
|
34945
|
+
exports.RunEntityActionParamViewResult = RunEntityActionParamViewResult;
|
|
34946
|
+
__decorate([
|
|
34947
|
+
(0, server_1.Field)(() => [EntityActionParam_]),
|
|
34948
|
+
__metadata("design:type", Array)
|
|
34949
|
+
], RunEntityActionParamViewResult.prototype, "Results", void 0);
|
|
34950
|
+
__decorate([
|
|
34951
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34952
|
+
__metadata("design:type", Number)
|
|
34953
|
+
], RunEntityActionParamViewResult.prototype, "UserViewRunID", void 0);
|
|
34954
|
+
__decorate([
|
|
34955
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34956
|
+
__metadata("design:type", Number)
|
|
34957
|
+
], RunEntityActionParamViewResult.prototype, "RowCount", void 0);
|
|
34958
|
+
__decorate([
|
|
34959
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34960
|
+
__metadata("design:type", Number)
|
|
34961
|
+
], RunEntityActionParamViewResult.prototype, "TotalRowCount", void 0);
|
|
34962
|
+
__decorate([
|
|
34963
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
34964
|
+
__metadata("design:type", Number)
|
|
34965
|
+
], RunEntityActionParamViewResult.prototype, "ExecutionTime", void 0);
|
|
34966
|
+
__decorate([
|
|
34967
|
+
(0, server_1.Field)({ nullable: true }),
|
|
34968
|
+
__metadata("design:type", String)
|
|
34969
|
+
], RunEntityActionParamViewResult.prototype, "ErrorMessage", void 0);
|
|
34970
|
+
__decorate([
|
|
34971
|
+
(0, server_1.Field)(() => Boolean, { nullable: false }),
|
|
34972
|
+
__metadata("design:type", Boolean)
|
|
34973
|
+
], RunEntityActionParamViewResult.prototype, "Success", void 0);
|
|
34974
|
+
exports.RunEntityActionParamViewResult = RunEntityActionParamViewResult = __decorate([
|
|
34975
|
+
(0, server_1.ObjectType)()
|
|
34976
|
+
], RunEntityActionParamViewResult);
|
|
34977
|
+
let EntityActionParamResolver = class EntityActionParamResolver extends server_1.ResolverBase {
|
|
34978
|
+
async RunEntityActionParamViewByID(input, { dataSource, userPayload }, pubSub) {
|
|
34979
|
+
return super.RunViewByIDGeneric(input, dataSource, userPayload, pubSub);
|
|
34980
|
+
}
|
|
34981
|
+
async RunEntityActionParamViewByName(input, { dataSource, userPayload }, pubSub) {
|
|
34982
|
+
return super.RunViewByNameGeneric(input, dataSource, userPayload, pubSub);
|
|
34983
|
+
}
|
|
34984
|
+
async RunEntityActionParamDynamicView(input, { dataSource, userPayload }, pubSub) {
|
|
34985
|
+
input.EntityName = 'Entity Action Params';
|
|
34986
|
+
return super.RunDynamicViewGeneric(input, dataSource, userPayload, pubSub);
|
|
34987
|
+
}
|
|
34988
|
+
async EntityActionParam(ID, { dataSource, userPayload }, pubSub) {
|
|
34989
|
+
this.CheckUserReadPermissions('Entity Action Params', userPayload);
|
|
34990
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwEntityActionParams] WHERE [ID]=${ID} ` + this.getRowLevelSecurityWhereClause('Entity Action Params', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
34991
|
+
const result = this.MapFieldNamesToCodeNames('Entity Action Params', await dataSource.query(sSQL).then((r) => r && r.length > 0 ? r[0] : {}));
|
|
34992
|
+
return result;
|
|
34993
|
+
}
|
|
34994
|
+
async CreateEntityActionParam(input, { dataSource, userPayload }, pubSub) {
|
|
34995
|
+
return this.CreateRecord('Entity Action Params', input, dataSource, userPayload, pubSub);
|
|
34996
|
+
}
|
|
34997
|
+
async UpdateEntityActionParam(input, { dataSource, userPayload }, pubSub) {
|
|
34998
|
+
return this.UpdateRecord('Entity Action Params', input, dataSource, userPayload, pubSub);
|
|
34999
|
+
}
|
|
35000
|
+
async DeleteEntityActionParam(ID, options, { dataSource, userPayload }, pubSub) {
|
|
35001
|
+
const key = new core_1.CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
35002
|
+
return this.DeleteRecord('Entity Action Params', key, options, dataSource, userPayload, pubSub);
|
|
35003
|
+
}
|
|
35004
|
+
};
|
|
35005
|
+
exports.EntityActionParamResolver = EntityActionParamResolver;
|
|
35006
|
+
__decorate([
|
|
35007
|
+
(0, server_1.Query)(() => RunEntityActionParamViewResult),
|
|
35008
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByIDInput)),
|
|
35009
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35010
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35011
|
+
__metadata("design:type", Function),
|
|
35012
|
+
__metadata("design:paramtypes", [server_1.RunViewByIDInput, Object, server_1.PubSubEngine]),
|
|
35013
|
+
__metadata("design:returntype", Promise)
|
|
35014
|
+
], EntityActionParamResolver.prototype, "RunEntityActionParamViewByID", null);
|
|
35015
|
+
__decorate([
|
|
35016
|
+
(0, server_1.Query)(() => RunEntityActionParamViewResult),
|
|
35017
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunViewByNameInput)),
|
|
35018
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35019
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35020
|
+
__metadata("design:type", Function),
|
|
35021
|
+
__metadata("design:paramtypes", [server_1.RunViewByNameInput, Object, server_1.PubSubEngine]),
|
|
35022
|
+
__metadata("design:returntype", Promise)
|
|
35023
|
+
], EntityActionParamResolver.prototype, "RunEntityActionParamViewByName", null);
|
|
35024
|
+
__decorate([
|
|
35025
|
+
(0, server_1.Query)(() => RunEntityActionParamViewResult),
|
|
35026
|
+
__param(0, (0, server_1.Arg)('input', () => server_1.RunDynamicViewInput)),
|
|
35027
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35028
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35029
|
+
__metadata("design:type", Function),
|
|
35030
|
+
__metadata("design:paramtypes", [server_1.RunDynamicViewInput, Object, server_1.PubSubEngine]),
|
|
35031
|
+
__metadata("design:returntype", Promise)
|
|
35032
|
+
], EntityActionParamResolver.prototype, "RunEntityActionParamDynamicView", null);
|
|
35033
|
+
__decorate([
|
|
35034
|
+
(0, server_1.Query)(() => EntityActionParam_, { nullable: true }),
|
|
35035
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
35036
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35037
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35038
|
+
__metadata("design:type", Function),
|
|
35039
|
+
__metadata("design:paramtypes", [Number, Object, server_1.PubSubEngine]),
|
|
35040
|
+
__metadata("design:returntype", Promise)
|
|
35041
|
+
], EntityActionParamResolver.prototype, "EntityActionParam", null);
|
|
35042
|
+
__decorate([
|
|
35043
|
+
(0, server_1.Mutation)(() => EntityActionParam_),
|
|
35044
|
+
__param(0, (0, server_1.Arg)('input', () => CreateEntityActionParamInput)),
|
|
35045
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35046
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35047
|
+
__metadata("design:type", Function),
|
|
35048
|
+
__metadata("design:paramtypes", [CreateEntityActionParamInput, Object, server_1.PubSubEngine]),
|
|
35049
|
+
__metadata("design:returntype", Promise)
|
|
35050
|
+
], EntityActionParamResolver.prototype, "CreateEntityActionParam", null);
|
|
35051
|
+
__decorate([
|
|
35052
|
+
(0, server_1.Mutation)(() => EntityActionParam_),
|
|
35053
|
+
__param(0, (0, server_1.Arg)('input', () => UpdateEntityActionParamInput)),
|
|
35054
|
+
__param(1, (0, server_1.Ctx)()),
|
|
35055
|
+
__param(2, (0, server_1.PubSub)()),
|
|
35056
|
+
__metadata("design:type", Function),
|
|
35057
|
+
__metadata("design:paramtypes", [UpdateEntityActionParamInput, Object, server_1.PubSubEngine]),
|
|
35058
|
+
__metadata("design:returntype", Promise)
|
|
35059
|
+
], EntityActionParamResolver.prototype, "UpdateEntityActionParam", null);
|
|
35060
|
+
__decorate([
|
|
35061
|
+
(0, server_1.Mutation)(() => EntityActionParam_),
|
|
35062
|
+
__param(0, (0, server_1.Arg)('ID', () => server_1.Int)),
|
|
35063
|
+
__param(1, (0, server_1.Arg)('options___', () => server_1.DeleteOptionsInput)),
|
|
35064
|
+
__param(2, (0, server_1.Ctx)()),
|
|
35065
|
+
__param(3, (0, server_1.PubSub)()),
|
|
35066
|
+
__metadata("design:type", Function),
|
|
35067
|
+
__metadata("design:paramtypes", [Number, server_1.DeleteOptionsInput, Object, server_1.PubSubEngine]),
|
|
35068
|
+
__metadata("design:returntype", Promise)
|
|
35069
|
+
], EntityActionParamResolver.prototype, "DeleteEntityActionParam", null);
|
|
35070
|
+
exports.EntityActionParamResolver = EntityActionParamResolver = __decorate([
|
|
35071
|
+
(0, server_1.Resolver)(EntityActionParam_)
|
|
35072
|
+
], EntityActionParamResolver);
|
|
33617
35073
|
//# sourceMappingURL=generated.js.map
|