@memberjunction/server 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +267 -1
- package/CHANGELOG.md +60 -2
- package/dist/generated/generated.d.ts +38 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +196 -20
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +21 -20
- package/src/generated/generated.ts +144 -11
- package/src/index.ts +12 -1
|
@@ -37,16 +37,16 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
37
37
|
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
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.EntityCommunicationFieldResolver = 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 = void 0;
|
|
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.UpdateAIModelTypeInput = exports.CreateAIModelTypeInput = 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.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.CreateRecordChangeInput = void 0;
|
|
42
|
+
exports.CreateWorkspaceInput = exports.Workspace_ = 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 = void 0;
|
|
43
|
+
exports.QueryField_ = exports.RecordMergeDeletionLogResolver = 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 = void 0;
|
|
44
|
+
exports.DataContextItem_ = exports.EntityDocumentResolver = 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 = void 0;
|
|
45
|
+
exports.DuplicateRunDetailMatch_ = exports.VersionInstallationResolver = 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 = void 0;
|
|
46
|
+
exports.EntityActionInvocation_ = exports.EntityActionResolver = 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 = void 0;
|
|
47
|
+
exports.ActionParam_ = exports.ActionExecutionLogResolver = 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 = void 0;
|
|
48
|
+
exports.TemplateCategory_ = exports.TemplateResolver = 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 = void 0;
|
|
49
|
+
exports.EntityCommunicationFieldResolver = 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 = void 0;
|
|
50
50
|
const server_1 = require("@memberjunction/server");
|
|
51
51
|
const core_1 = require("@memberjunction/core");
|
|
52
52
|
const class_validator_1 = require("class-validator");
|
|
@@ -2231,6 +2231,10 @@ __decorate([
|
|
|
2231
2231
|
(0, server_1.Field)(() => [mj_core_schema_server_object_types.CompanyIntegration_]),
|
|
2232
2232
|
__metadata("design:type", Array)
|
|
2233
2233
|
], Integration_.prototype, "CompanyIntegrationsArray", void 0);
|
|
2234
|
+
__decorate([
|
|
2235
|
+
(0, server_1.Field)(() => [mj_core_schema_server_object_types.RecordChange_]),
|
|
2236
|
+
__metadata("design:type", Array)
|
|
2237
|
+
], Integration_.prototype, "RecordChangesArray", void 0);
|
|
2234
2238
|
exports.Integration_ = Integration_ = __decorate([
|
|
2235
2239
|
(0, server_1.ObjectType)({ description: 'Catalog of all integrations that have been configured in the system.' })
|
|
2236
2240
|
], Integration_);
|
|
@@ -2345,6 +2349,12 @@ let IntegrationResolver = class IntegrationResolver extends server_1.ResolverBas
|
|
|
2345
2349
|
const result = this.ArrayMapFieldNamesToCodeNames('Company Integrations', await dataSource.query(sSQL));
|
|
2346
2350
|
return result;
|
|
2347
2351
|
}
|
|
2352
|
+
async RecordChangesArray(integration_, { dataSource, userPayload }, pubSub) {
|
|
2353
|
+
this.CheckUserReadPermissions('Record Changes', userPayload);
|
|
2354
|
+
const sSQL = `SELECT * FROM [${core_1.Metadata.Provider.ConfigData.MJCoreSchemaName}].[vwRecordChanges] WHERE [IntegrationID]=${integration_.ID} ` + this.getRowLevelSecurityWhereClause('Record Changes', userPayload, core_1.EntityPermissionType.Read, 'AND');
|
|
2355
|
+
const result = this.ArrayMapFieldNamesToCodeNames('Record Changes', await dataSource.query(sSQL));
|
|
2356
|
+
return result;
|
|
2357
|
+
}
|
|
2348
2358
|
async UpdateIntegration(input, { dataSource, userPayload }, pubSub) {
|
|
2349
2359
|
return this.UpdateRecord('Integrations', input, dataSource, userPayload, pubSub);
|
|
2350
2360
|
}
|
|
@@ -2412,6 +2422,15 @@ __decorate([
|
|
|
2412
2422
|
__metadata("design:paramtypes", [Integration_, Object, server_1.PubSubEngine]),
|
|
2413
2423
|
__metadata("design:returntype", Promise)
|
|
2414
2424
|
], IntegrationResolver.prototype, "CompanyIntegrationsArray", null);
|
|
2425
|
+
__decorate([
|
|
2426
|
+
(0, server_1.FieldResolver)(() => [mj_core_schema_server_object_types.RecordChange_]),
|
|
2427
|
+
__param(0, (0, server_1.Root)()),
|
|
2428
|
+
__param(1, (0, server_1.Ctx)()),
|
|
2429
|
+
__param(2, (0, server_1.PubSub)()),
|
|
2430
|
+
__metadata("design:type", Function),
|
|
2431
|
+
__metadata("design:paramtypes", [Integration_, Object, server_1.PubSubEngine]),
|
|
2432
|
+
__metadata("design:returntype", Promise)
|
|
2433
|
+
], IntegrationResolver.prototype, "RecordChangesArray", null);
|
|
2415
2434
|
__decorate([
|
|
2416
2435
|
(0, server_1.Mutation)(() => Integration_),
|
|
2417
2436
|
__param(0, (0, server_1.Arg)('input', () => UpdateIntegrationInput)),
|
|
@@ -3581,6 +3600,11 @@ __decorate([
|
|
|
3581
3600
|
(0, class_validator_1.MaxLength)(510),
|
|
3582
3601
|
__metadata("design:type", String)
|
|
3583
3602
|
], Entity_.prototype, "PreferredCommunicationField", void 0);
|
|
3603
|
+
__decorate([
|
|
3604
|
+
(0, server_1.Field)({ nullable: true, description: 'Optional, specify an icon (CSS Class) for each entity for display in the UI' }),
|
|
3605
|
+
(0, class_validator_1.MaxLength)(1000),
|
|
3606
|
+
__metadata("design:type", String)
|
|
3607
|
+
], Entity_.prototype, "Icon", void 0);
|
|
3584
3608
|
__decorate([
|
|
3585
3609
|
(0, server_1.Field)({ nullable: true }),
|
|
3586
3610
|
__metadata("design:type", String)
|
|
@@ -3914,6 +3938,10 @@ __decorate([
|
|
|
3914
3938
|
(0, server_1.Field)({ nullable: true }),
|
|
3915
3939
|
__metadata("design:type", String)
|
|
3916
3940
|
], CreateEntityInput.prototype, "PreferredCommunicationField", void 0);
|
|
3941
|
+
__decorate([
|
|
3942
|
+
(0, server_1.Field)({ nullable: true }),
|
|
3943
|
+
__metadata("design:type", String)
|
|
3944
|
+
], CreateEntityInput.prototype, "Icon", void 0);
|
|
3917
3945
|
exports.CreateEntityInput = CreateEntityInput = __decorate([
|
|
3918
3946
|
(0, server_1.InputType)()
|
|
3919
3947
|
], CreateEntityInput);
|
|
@@ -4076,6 +4104,10 @@ __decorate([
|
|
|
4076
4104
|
(0, server_1.Field)({ nullable: true }),
|
|
4077
4105
|
__metadata("design:type", String)
|
|
4078
4106
|
], UpdateEntityInput.prototype, "PreferredCommunicationField", void 0);
|
|
4107
|
+
__decorate([
|
|
4108
|
+
(0, server_1.Field)({ nullable: true }),
|
|
4109
|
+
__metadata("design:type", String)
|
|
4110
|
+
], UpdateEntityInput.prototype, "Icon", void 0);
|
|
4079
4111
|
__decorate([
|
|
4080
4112
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
4081
4113
|
__metadata("design:type", Array)
|
|
@@ -7434,6 +7466,15 @@ __decorate([
|
|
|
7434
7466
|
(0, server_1.Field)({ nullable: true }),
|
|
7435
7467
|
__metadata("design:type", String)
|
|
7436
7468
|
], Application_.prototype, "Description", void 0);
|
|
7469
|
+
__decorate([
|
|
7470
|
+
(0, server_1.Field)({ nullable: true, description: 'Specify the CSS class information for the display icon for each application.' }),
|
|
7471
|
+
(0, class_validator_1.MaxLength)(1000),
|
|
7472
|
+
__metadata("design:type", String)
|
|
7473
|
+
], Application_.prototype, "Icon", void 0);
|
|
7474
|
+
__decorate([
|
|
7475
|
+
(0, server_1.Field)(() => Boolean, { description: 'If turned on, when a new user first uses the MJ Explorer app, the application records with this turned on will have this application included in their selected application list.' }),
|
|
7476
|
+
__metadata("design:type", Boolean)
|
|
7477
|
+
], Application_.prototype, "DefaultForNewUser", void 0);
|
|
7437
7478
|
__decorate([
|
|
7438
7479
|
(0, server_1.Field)(),
|
|
7439
7480
|
(0, class_validator_1.MaxLength)(8),
|
|
@@ -7470,6 +7511,14 @@ __decorate([
|
|
|
7470
7511
|
(0, server_1.Field)({ nullable: true }),
|
|
7471
7512
|
__metadata("design:type", String)
|
|
7472
7513
|
], CreateApplicationInput.prototype, "Description", void 0);
|
|
7514
|
+
__decorate([
|
|
7515
|
+
(0, server_1.Field)({ nullable: true }),
|
|
7516
|
+
__metadata("design:type", String)
|
|
7517
|
+
], CreateApplicationInput.prototype, "Icon", void 0);
|
|
7518
|
+
__decorate([
|
|
7519
|
+
(0, server_1.Field)(() => Boolean),
|
|
7520
|
+
__metadata("design:type", Boolean)
|
|
7521
|
+
], CreateApplicationInput.prototype, "DefaultForNewUser", void 0);
|
|
7473
7522
|
exports.CreateApplicationInput = CreateApplicationInput = __decorate([
|
|
7474
7523
|
(0, server_1.InputType)()
|
|
7475
7524
|
], CreateApplicationInput);
|
|
@@ -7488,6 +7537,14 @@ __decorate([
|
|
|
7488
7537
|
(0, server_1.Field)({ nullable: true }),
|
|
7489
7538
|
__metadata("design:type", String)
|
|
7490
7539
|
], UpdateApplicationInput.prototype, "Description", void 0);
|
|
7540
|
+
__decorate([
|
|
7541
|
+
(0, server_1.Field)({ nullable: true }),
|
|
7542
|
+
__metadata("design:type", String)
|
|
7543
|
+
], UpdateApplicationInput.prototype, "Icon", void 0);
|
|
7544
|
+
__decorate([
|
|
7545
|
+
(0, server_1.Field)(() => Boolean),
|
|
7546
|
+
__metadata("design:type", Boolean)
|
|
7547
|
+
], UpdateApplicationInput.prototype, "DefaultForNewUser", void 0);
|
|
7491
7548
|
__decorate([
|
|
7492
7549
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
7493
7550
|
__metadata("design:type", Array)
|
|
@@ -7705,7 +7762,7 @@ __decorate([
|
|
|
7705
7762
|
__metadata("design:type", Number)
|
|
7706
7763
|
], ApplicationEntity_.prototype, "Sequence", void 0);
|
|
7707
7764
|
__decorate([
|
|
7708
|
-
(0, server_1.Field)(() => Boolean),
|
|
7765
|
+
(0, server_1.Field)(() => Boolean, { description: 'When set to 1, the entity will be included by default for a new user when they first access the application in question' }),
|
|
7709
7766
|
__metadata("design:type", Boolean)
|
|
7710
7767
|
], ApplicationEntity_.prototype, "DefaultForNewUser", void 0);
|
|
7711
7768
|
__decorate([
|
|
@@ -8516,6 +8573,28 @@ __decorate([
|
|
|
8516
8573
|
exports.UserApplication_ = UserApplication_ = __decorate([
|
|
8517
8574
|
(0, server_1.ObjectType)()
|
|
8518
8575
|
], UserApplication_);
|
|
8576
|
+
let CreateUserApplicationInput = class CreateUserApplicationInput {
|
|
8577
|
+
};
|
|
8578
|
+
exports.CreateUserApplicationInput = CreateUserApplicationInput;
|
|
8579
|
+
__decorate([
|
|
8580
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
8581
|
+
__metadata("design:type", Number)
|
|
8582
|
+
], CreateUserApplicationInput.prototype, "UserID", void 0);
|
|
8583
|
+
__decorate([
|
|
8584
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
8585
|
+
__metadata("design:type", Number)
|
|
8586
|
+
], CreateUserApplicationInput.prototype, "ApplicationID", void 0);
|
|
8587
|
+
__decorate([
|
|
8588
|
+
(0, server_1.Field)(() => server_1.Int),
|
|
8589
|
+
__metadata("design:type", Number)
|
|
8590
|
+
], CreateUserApplicationInput.prototype, "Sequence", void 0);
|
|
8591
|
+
__decorate([
|
|
8592
|
+
(0, server_1.Field)(() => Boolean),
|
|
8593
|
+
__metadata("design:type", Boolean)
|
|
8594
|
+
], CreateUserApplicationInput.prototype, "IsActive", void 0);
|
|
8595
|
+
exports.CreateUserApplicationInput = CreateUserApplicationInput = __decorate([
|
|
8596
|
+
(0, server_1.InputType)()
|
|
8597
|
+
], CreateUserApplicationInput);
|
|
8519
8598
|
let UpdateUserApplicationInput = class UpdateUserApplicationInput {
|
|
8520
8599
|
};
|
|
8521
8600
|
exports.UpdateUserApplicationInput = UpdateUserApplicationInput;
|
|
@@ -8603,6 +8682,9 @@ let UserApplicationResolver = class UserApplicationResolver extends server_1.Res
|
|
|
8603
8682
|
const result = this.ArrayMapFieldNamesToCodeNames('User Application Entities', await dataSource.query(sSQL));
|
|
8604
8683
|
return result;
|
|
8605
8684
|
}
|
|
8685
|
+
async CreateUserApplication(input, { dataSource, userPayload }, pubSub) {
|
|
8686
|
+
return this.CreateRecord('User Applications', input, dataSource, userPayload, pubSub);
|
|
8687
|
+
}
|
|
8606
8688
|
async UpdateUserApplication(input, { dataSource, userPayload }, pubSub) {
|
|
8607
8689
|
return this.UpdateRecord('User Applications', input, dataSource, userPayload, pubSub);
|
|
8608
8690
|
}
|
|
@@ -8657,6 +8739,15 @@ __decorate([
|
|
|
8657
8739
|
__metadata("design:paramtypes", [UserApplication_, Object, server_1.PubSubEngine]),
|
|
8658
8740
|
__metadata("design:returntype", Promise)
|
|
8659
8741
|
], UserApplicationResolver.prototype, "UserApplicationEntitiesArray", null);
|
|
8742
|
+
__decorate([
|
|
8743
|
+
(0, server_1.Mutation)(() => UserApplication_),
|
|
8744
|
+
__param(0, (0, server_1.Arg)('input', () => CreateUserApplicationInput)),
|
|
8745
|
+
__param(1, (0, server_1.Ctx)()),
|
|
8746
|
+
__param(2, (0, server_1.PubSub)()),
|
|
8747
|
+
__metadata("design:type", Function),
|
|
8748
|
+
__metadata("design:paramtypes", [CreateUserApplicationInput, Object, server_1.PubSubEngine]),
|
|
8749
|
+
__metadata("design:returntype", Promise)
|
|
8750
|
+
], UserApplicationResolver.prototype, "CreateUserApplication", null);
|
|
8660
8751
|
__decorate([
|
|
8661
8752
|
(0, server_1.Mutation)(() => UserApplication_),
|
|
8662
8753
|
__param(0, (0, server_1.Arg)('input', () => UpdateUserApplicationInput)),
|
|
@@ -10408,39 +10499,67 @@ __decorate([
|
|
|
10408
10499
|
], RecordChange_.prototype, "EntityID", void 0);
|
|
10409
10500
|
__decorate([
|
|
10410
10501
|
(0, server_1.Field)(),
|
|
10411
|
-
(0, class_validator_1.MaxLength)(
|
|
10502
|
+
(0, class_validator_1.MaxLength)(1500),
|
|
10412
10503
|
__metadata("design:type", String)
|
|
10413
10504
|
], RecordChange_.prototype, "RecordID", void 0);
|
|
10414
10505
|
__decorate([
|
|
10415
|
-
(0, server_1.Field)(() => server_1.Int),
|
|
10506
|
+
(0, server_1.Field)(() => server_1.Int, { description: 'The user that made the change' }),
|
|
10416
10507
|
__metadata("design:type", Number)
|
|
10417
10508
|
], RecordChange_.prototype, "UserID", void 0);
|
|
10418
10509
|
__decorate([
|
|
10419
|
-
(0, server_1.Field)(),
|
|
10510
|
+
(0, server_1.Field)({ description: 'Create, Update, or Delete' }),
|
|
10511
|
+
(0, class_validator_1.MaxLength)(40),
|
|
10512
|
+
__metadata("design:type", String)
|
|
10513
|
+
], RecordChange_.prototype, "Type", void 0);
|
|
10514
|
+
__decorate([
|
|
10515
|
+
(0, server_1.Field)({ nullable: true, description: 'Internal or External' }),
|
|
10516
|
+
(0, class_validator_1.MaxLength)(40),
|
|
10517
|
+
__metadata("design:type", String)
|
|
10518
|
+
], RecordChange_.prototype, "Source", void 0);
|
|
10519
|
+
__decorate([
|
|
10520
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true, description: 'If Source=External, this field can optionally specify which integration created the change, if known' }),
|
|
10521
|
+
__metadata("design:type", Number)
|
|
10522
|
+
], RecordChange_.prototype, "IntegrationID", void 0);
|
|
10523
|
+
__decorate([
|
|
10524
|
+
(0, server_1.Field)({ description: 'The date/time that the change occured.' }),
|
|
10420
10525
|
(0, class_validator_1.MaxLength)(8),
|
|
10421
10526
|
__metadata("design:type", Date)
|
|
10422
10527
|
], RecordChange_.prototype, "ChangedAt", void 0);
|
|
10423
10528
|
__decorate([
|
|
10424
|
-
(0, server_1.Field)(),
|
|
10529
|
+
(0, server_1.Field)({ description: 'JSON structure that describes what was changed in a structured format.' }),
|
|
10425
10530
|
__metadata("design:type", String)
|
|
10426
10531
|
], RecordChange_.prototype, "ChangesJSON", void 0);
|
|
10427
10532
|
__decorate([
|
|
10428
|
-
(0, server_1.Field)(),
|
|
10533
|
+
(0, server_1.Field)({ description: 'A generated, human-readable description of what was changed.' }),
|
|
10429
10534
|
__metadata("design:type", String)
|
|
10430
10535
|
], RecordChange_.prototype, "ChangesDescription", void 0);
|
|
10431
10536
|
__decorate([
|
|
10432
|
-
(0, server_1.Field)(),
|
|
10537
|
+
(0, server_1.Field)({ description: 'A complete snapshot of the record AFTER the change was applied in a JSON format that can be parsed.' }),
|
|
10433
10538
|
__metadata("design:type", String)
|
|
10434
10539
|
], RecordChange_.prototype, "FullRecordJSON", void 0);
|
|
10435
10540
|
__decorate([
|
|
10436
|
-
(0, server_1.Field)(),
|
|
10437
|
-
(0, class_validator_1.MaxLength)(
|
|
10541
|
+
(0, server_1.Field)({ description: 'For internal record changes generated within MJ, the status is immediately Complete. For external changes that are detected, the workflow starts off as Pending, then In Progress and finally either Complete or Error' }),
|
|
10542
|
+
(0, class_validator_1.MaxLength)(100),
|
|
10438
10543
|
__metadata("design:type", String)
|
|
10439
10544
|
], RecordChange_.prototype, "Status", void 0);
|
|
10545
|
+
__decorate([
|
|
10546
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10547
|
+
__metadata("design:type", String)
|
|
10548
|
+
], RecordChange_.prototype, "ErrorLog", void 0);
|
|
10440
10549
|
__decorate([
|
|
10441
10550
|
(0, server_1.Field)({ nullable: true }),
|
|
10442
10551
|
__metadata("design:type", String)
|
|
10443
10552
|
], RecordChange_.prototype, "Comments", void 0);
|
|
10553
|
+
__decorate([
|
|
10554
|
+
(0, server_1.Field)(),
|
|
10555
|
+
(0, class_validator_1.MaxLength)(8),
|
|
10556
|
+
__metadata("design:type", Date)
|
|
10557
|
+
], RecordChange_.prototype, "CreatedAt", void 0);
|
|
10558
|
+
__decorate([
|
|
10559
|
+
(0, server_1.Field)(),
|
|
10560
|
+
(0, class_validator_1.MaxLength)(8),
|
|
10561
|
+
__metadata("design:type", Date)
|
|
10562
|
+
], RecordChange_.prototype, "UpdatedAt", void 0);
|
|
10444
10563
|
__decorate([
|
|
10445
10564
|
(0, server_1.Field)(),
|
|
10446
10565
|
(0, class_validator_1.MaxLength)(510),
|
|
@@ -10451,6 +10570,11 @@ __decorate([
|
|
|
10451
10570
|
(0, class_validator_1.MaxLength)(200),
|
|
10452
10571
|
__metadata("design:type", String)
|
|
10453
10572
|
], RecordChange_.prototype, "User", void 0);
|
|
10573
|
+
__decorate([
|
|
10574
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10575
|
+
(0, class_validator_1.MaxLength)(200),
|
|
10576
|
+
__metadata("design:type", String)
|
|
10577
|
+
], RecordChange_.prototype, "Integration", void 0);
|
|
10454
10578
|
exports.RecordChange_ = RecordChange_ = __decorate([
|
|
10455
10579
|
(0, server_1.ObjectType)({ description: 'For entities that have TrackRecordChanges=1, Record Changes will store the history of all changes made within the system. For integrations you can directly add values here if you have inbound signals indicating records were changed in a source system. This entity only automatically captures Record Changes if they were made within the system.' })
|
|
10456
10580
|
], RecordChange_);
|
|
@@ -10469,6 +10593,18 @@ __decorate([
|
|
|
10469
10593
|
(0, server_1.Field)(() => server_1.Int),
|
|
10470
10594
|
__metadata("design:type", Number)
|
|
10471
10595
|
], CreateRecordChangeInput.prototype, "UserID", void 0);
|
|
10596
|
+
__decorate([
|
|
10597
|
+
(0, server_1.Field)(),
|
|
10598
|
+
__metadata("design:type", String)
|
|
10599
|
+
], CreateRecordChangeInput.prototype, "Type", void 0);
|
|
10600
|
+
__decorate([
|
|
10601
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10602
|
+
__metadata("design:type", String)
|
|
10603
|
+
], CreateRecordChangeInput.prototype, "Source", void 0);
|
|
10604
|
+
__decorate([
|
|
10605
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
10606
|
+
__metadata("design:type", Number)
|
|
10607
|
+
], CreateRecordChangeInput.prototype, "IntegrationID", void 0);
|
|
10472
10608
|
__decorate([
|
|
10473
10609
|
(0, server_1.Field)(),
|
|
10474
10610
|
__metadata("design:type", Date)
|
|
@@ -10489,6 +10625,10 @@ __decorate([
|
|
|
10489
10625
|
(0, server_1.Field)(),
|
|
10490
10626
|
__metadata("design:type", String)
|
|
10491
10627
|
], CreateRecordChangeInput.prototype, "Status", void 0);
|
|
10628
|
+
__decorate([
|
|
10629
|
+
(0, server_1.Field)({ nullable: true }),
|
|
10630
|
+
__metadata("design:type", String)
|
|
10631
|
+
], CreateRecordChangeInput.prototype, "ErrorLog", void 0);
|
|
10492
10632
|
__decorate([
|
|
10493
10633
|
(0, server_1.Field)({ nullable: true }),
|
|
10494
10634
|
__metadata("design:type", String)
|
|
@@ -19120,6 +19260,10 @@ __decorate([
|
|
|
19120
19260
|
(0, class_validator_1.MaxLength)(510),
|
|
19121
19261
|
__metadata("design:type", String)
|
|
19122
19262
|
], Query_.prototype, "Name", void 0);
|
|
19263
|
+
__decorate([
|
|
19264
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19265
|
+
__metadata("design:type", String)
|
|
19266
|
+
], Query_.prototype, "UserQuestion", void 0);
|
|
19123
19267
|
__decorate([
|
|
19124
19268
|
(0, server_1.Field)({ nullable: true }),
|
|
19125
19269
|
__metadata("design:type", String)
|
|
@@ -19132,6 +19276,10 @@ __decorate([
|
|
|
19132
19276
|
(0, server_1.Field)({ nullable: true }),
|
|
19133
19277
|
__metadata("design:type", String)
|
|
19134
19278
|
], Query_.prototype, "SQL", void 0);
|
|
19279
|
+
__decorate([
|
|
19280
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19281
|
+
__metadata("design:type", String)
|
|
19282
|
+
], Query_.prototype, "TechnicalDescription", void 0);
|
|
19135
19283
|
__decorate([
|
|
19136
19284
|
(0, server_1.Field)({ nullable: true }),
|
|
19137
19285
|
__metadata("design:type", String)
|
|
@@ -19146,9 +19294,13 @@ __decorate([
|
|
|
19146
19294
|
__metadata("design:type", String)
|
|
19147
19295
|
], Query_.prototype, "Status", void 0);
|
|
19148
19296
|
__decorate([
|
|
19149
|
-
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
19297
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true, description: 'Value indicating the quality of the query, higher values mean a better quality' }),
|
|
19150
19298
|
__metadata("design:type", Number)
|
|
19151
19299
|
], Query_.prototype, "QualityRank", void 0);
|
|
19300
|
+
__decorate([
|
|
19301
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true, description: 'Higher numbers indicate more execution overhead/time required. Useful for planning which queries to use in various scenarios.' }),
|
|
19302
|
+
__metadata("design:type", Number)
|
|
19303
|
+
], Query_.prototype, "ExecutionCostRank", void 0);
|
|
19152
19304
|
__decorate([
|
|
19153
19305
|
(0, server_1.Field)(),
|
|
19154
19306
|
(0, class_validator_1.MaxLength)(8),
|
|
@@ -19186,6 +19338,10 @@ __decorate([
|
|
|
19186
19338
|
(0, server_1.Field)(),
|
|
19187
19339
|
__metadata("design:type", String)
|
|
19188
19340
|
], CreateQueryInput.prototype, "Name", void 0);
|
|
19341
|
+
__decorate([
|
|
19342
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19343
|
+
__metadata("design:type", String)
|
|
19344
|
+
], CreateQueryInput.prototype, "UserQuestion", void 0);
|
|
19189
19345
|
__decorate([
|
|
19190
19346
|
(0, server_1.Field)({ nullable: true }),
|
|
19191
19347
|
__metadata("design:type", String)
|
|
@@ -19198,6 +19354,10 @@ __decorate([
|
|
|
19198
19354
|
(0, server_1.Field)({ nullable: true }),
|
|
19199
19355
|
__metadata("design:type", String)
|
|
19200
19356
|
], CreateQueryInput.prototype, "SQL", void 0);
|
|
19357
|
+
__decorate([
|
|
19358
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19359
|
+
__metadata("design:type", String)
|
|
19360
|
+
], CreateQueryInput.prototype, "TechnicalDescription", void 0);
|
|
19201
19361
|
__decorate([
|
|
19202
19362
|
(0, server_1.Field)({ nullable: true }),
|
|
19203
19363
|
__metadata("design:type", String)
|
|
@@ -19214,6 +19374,10 @@ __decorate([
|
|
|
19214
19374
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
19215
19375
|
__metadata("design:type", Number)
|
|
19216
19376
|
], CreateQueryInput.prototype, "QualityRank", void 0);
|
|
19377
|
+
__decorate([
|
|
19378
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
19379
|
+
__metadata("design:type", Number)
|
|
19380
|
+
], CreateQueryInput.prototype, "ExecutionCostRank", void 0);
|
|
19217
19381
|
exports.CreateQueryInput = CreateQueryInput = __decorate([
|
|
19218
19382
|
(0, server_1.InputType)()
|
|
19219
19383
|
], CreateQueryInput);
|
|
@@ -19228,6 +19392,10 @@ __decorate([
|
|
|
19228
19392
|
(0, server_1.Field)(),
|
|
19229
19393
|
__metadata("design:type", String)
|
|
19230
19394
|
], UpdateQueryInput.prototype, "Name", void 0);
|
|
19395
|
+
__decorate([
|
|
19396
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19397
|
+
__metadata("design:type", String)
|
|
19398
|
+
], UpdateQueryInput.prototype, "UserQuestion", void 0);
|
|
19231
19399
|
__decorate([
|
|
19232
19400
|
(0, server_1.Field)({ nullable: true }),
|
|
19233
19401
|
__metadata("design:type", String)
|
|
@@ -19240,6 +19408,10 @@ __decorate([
|
|
|
19240
19408
|
(0, server_1.Field)({ nullable: true }),
|
|
19241
19409
|
__metadata("design:type", String)
|
|
19242
19410
|
], UpdateQueryInput.prototype, "SQL", void 0);
|
|
19411
|
+
__decorate([
|
|
19412
|
+
(0, server_1.Field)({ nullable: true }),
|
|
19413
|
+
__metadata("design:type", String)
|
|
19414
|
+
], UpdateQueryInput.prototype, "TechnicalDescription", void 0);
|
|
19243
19415
|
__decorate([
|
|
19244
19416
|
(0, server_1.Field)({ nullable: true }),
|
|
19245
19417
|
__metadata("design:type", String)
|
|
@@ -19256,6 +19428,10 @@ __decorate([
|
|
|
19256
19428
|
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
19257
19429
|
__metadata("design:type", Number)
|
|
19258
19430
|
], UpdateQueryInput.prototype, "QualityRank", void 0);
|
|
19431
|
+
__decorate([
|
|
19432
|
+
(0, server_1.Field)(() => server_1.Int, { nullable: true }),
|
|
19433
|
+
__metadata("design:type", Number)
|
|
19434
|
+
], UpdateQueryInput.prototype, "ExecutionCostRank", void 0);
|
|
19259
19435
|
__decorate([
|
|
19260
19436
|
(0, server_1.Field)(() => [server_1.KeyValuePairInput], { nullable: true }),
|
|
19261
19437
|
__metadata("design:type", Array)
|