@oneuptime/common 7.0.3840 → 7.0.3864
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/Models/DatabaseModels/Index.ts +3 -0
- package/Models/DatabaseModels/Monitor.ts +20 -0
- package/Models/DatabaseModels/MonitorFeed.ts +520 -0
- package/Server/API/BaseAPI.ts +8 -0
- package/Server/API/BaseAnalyticsAPI.ts +9 -0
- package/Server/API/CommonAPI.ts +2 -0
- package/Server/API/SlackAPI.ts +14 -0
- package/Server/API/StatusAPI.ts +172 -127
- package/Server/API/StatusPageAPI.ts +7 -0
- package/Server/DatabaseConfig.ts +8 -0
- package/Server/Infrastructure/ClickhouseDatabase.ts +4 -0
- package/Server/Infrastructure/GlobalCache.ts +8 -0
- package/Server/Infrastructure/LocalCache.ts +11 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1724078044172-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1724610006927-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1724613666632-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1724659071843-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725291476867-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725357719072-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725360199561-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725379949648-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725551629492-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725556630384-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725618842598-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725880508430-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725881099935-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725881475134-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725884177663-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725898621366-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725900315712-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725901024444-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725975175669-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1725976810107-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1726831037585-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727101782315-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727102156072-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727102331367-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727103023745-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727104469670-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727894983857-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1727906598804-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1728472625805-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1729682875503-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1730117995642-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1730209089495-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1730223198692-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1731433043136-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1731433309124-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1731435267537-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1731435514287-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1732553444010-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1734435866602-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736364478985-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736364957990-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736365532085-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736675947746-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736703138918-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736780194077-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736780194078-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736787495707-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736787985322-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736788706141-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1736856662868-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1737141420441-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1737713529424-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1737997557974-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739209832500-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739210586538-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739217257089-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739282331053-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739374537088-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1739569321582-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1740164199817-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1740419151825-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1740430229844-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1740597525803-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1740598793630-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741031019972-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741209339971-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741904597606-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.ts +3 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1742302093234-MigrationName.ts +60 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1742305668133-MigrationName.ts +17 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +4 -0
- package/Server/Infrastructure/PostgresDatabase.ts +11 -0
- package/Server/Infrastructure/Queue.ts +6 -0
- package/Server/Infrastructure/QueueWorker.ts +3 -0
- package/Server/Infrastructure/Redis.ts +7 -0
- package/Server/Infrastructure/Semaphore.ts +3 -0
- package/Server/Infrastructure/SocketIO.ts +3 -0
- package/Server/Infrastructure/Status.ts +3 -0
- package/Server/Middleware/BearerTokenAuthorization.ts +2 -0
- package/Server/Middleware/ClusterKeyAuthorization.ts +4 -0
- package/Server/Middleware/CodeRepositoryAuthorization.ts +2 -0
- package/Server/Middleware/NotificationMiddleware.ts +3 -0
- package/Server/Middleware/ProjectAuthorization.ts +6 -0
- package/Server/Middleware/SlackAuthorization.ts +2 -0
- package/Server/Middleware/TelemetryIngest.ts +2 -0
- package/Server/Middleware/UserAuthorization.ts +8 -0
- package/Server/Services/AccessTokenService.ts +7 -0
- package/Server/Services/AlertFeedService.ts +29 -75
- package/Server/Services/AlertInternalNoteService.ts +4 -0
- package/Server/Services/AlertOwnerTeamService.ts +4 -0
- package/Server/Services/AlertOwnerUserService.ts +4 -0
- package/Server/Services/AlertService.ts +24 -2
- package/Server/Services/AlertSeverityService.ts +5 -1
- package/Server/Services/AlertStateService.ts +9 -0
- package/Server/Services/AlertStateTimelineService.ts +6 -0
- package/Server/Services/AnalyticsDatabaseService.ts +17 -0
- package/Server/Services/ApiKeyPermissionService.ts +3 -1
- package/Server/Services/ApiKeyService.ts +2 -1
- package/Server/Services/BillingInvoiceService.ts +3 -0
- package/Server/Services/BillingPaymentMethodService.ts +3 -0
- package/Server/Services/BillingService.ts +25 -0
- package/Server/Services/CallService.ts +2 -0
- package/Server/Services/CopilotActionTypePriorityService.ts +2 -1
- package/Server/Services/CopilotCodeRepositoryService.ts +3 -1
- package/Server/Services/DashboardService.ts +2 -1
- package/Server/Services/DatabaseService.ts +17 -0
- package/Server/Services/DomainService.ts +3 -1
- package/Server/Services/FileService.ts +4 -1
- package/Server/Services/IncidentFeedService.ts +33 -76
- package/Server/Services/IncidentInternalNoteService.ts +4 -0
- package/Server/Services/IncidentOwnerTeamService.ts +4 -0
- package/Server/Services/IncidentOwnerUserService.ts +4 -0
- package/Server/Services/IncidentPublicNoteService.ts +5 -0
- package/Server/Services/IncidentService.ts +25 -1
- package/Server/Services/IncidentSeverityService.ts +5 -1
- package/Server/Services/IncidentStateService.ts +9 -0
- package/Server/Services/IncidentStateTimelineService.ts +6 -0
- package/Server/Services/IncidentTemplateService.ts +3 -0
- package/Server/Services/Index.ts +3 -0
- package/Server/Services/LabelService.ts +2 -1
- package/Server/Services/MailService.ts +2 -0
- package/Server/Services/MonitorFeedService.ts +150 -0
- package/Server/Services/MonitorGroupService.ts +4 -0
- package/Server/Services/MonitorOwnerTeamService.ts +165 -0
- package/Server/Services/MonitorOwnerUserService.ts +158 -0
- package/Server/Services/MonitorService.ts +247 -0
- package/Server/Services/MonitorStatusService.ts +5 -0
- package/Server/Services/MonitorStatusTimelineService.ts +66 -0
- package/Server/Services/NotificationService.ts +3 -0
- package/Server/Services/OnCallDutyPolicyEscalationRuleService.ts +12 -0
- package/Server/Services/OnCallDutyPolicyExecutionLogService.ts +4 -0
- package/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.ts +4 -0
- package/Server/Services/OnCallDutyPolicyScheduleLayerService.ts +3 -0
- package/Server/Services/OnCallDutyPolicyScheduleLayerUserService.ts +5 -0
- package/Server/Services/OnCallDutyPolicyScheduleService.ts +2 -0
- package/Server/Services/OnCallDutyPolicyService.ts +3 -0
- package/Server/Services/OnCallDutyPolicyUserOverrideService.ts +3 -0
- package/Server/Services/OpenTelemetryIngestService.ts +4 -0
- package/Server/Services/ProbeService.ts +7 -0
- package/Server/Services/ProjectService.ts +15 -0
- package/Server/Services/ProjectUserService.ts +2 -0
- package/Server/Services/ScheduledMaintenanceFeedService.ts +29 -80
- package/Server/Services/ScheduledMaintenanceInternalNoteService.ts +4 -0
- package/Server/Services/ScheduledMaintenanceOwnerTeamService.ts +4 -0
- package/Server/Services/ScheduledMaintenanceOwnerUserService.ts +4 -0
- package/Server/Services/ScheduledMaintenancePublicNoteService.ts +5 -0
- package/Server/Services/ScheduledMaintenanceService.ts +29 -2
- package/Server/Services/ScheduledMaintenanceStateService.ts +8 -0
- package/Server/Services/ScheduledMaintenanceStateTimelineService.ts +7 -0
- package/Server/Services/ScheduledMaintenanceTemplateService.ts +5 -0
- package/Server/Services/ServiceCatalogDependencyService.ts +2 -0
- package/Server/Services/ServiceCatalogMonitorService.ts +2 -0
- package/Server/Services/ServiceCatalogService.ts +2 -0
- package/Server/Services/ServiceCatalogTelemetryServiceService.ts +2 -0
- package/Server/Services/ShortLinkService.ts +5 -0
- package/Server/Services/SmsService.ts +2 -0
- package/Server/Services/StatusPageCertificateService.ts +4 -0
- package/Server/Services/StatusPageDomainService.ts +14 -0
- package/Server/Services/StatusPageFooterLinkService.ts +5 -0
- package/Server/Services/StatusPageGroupService.ts +5 -0
- package/Server/Services/StatusPageHeaderLinkService.ts +5 -0
- package/Server/Services/StatusPageHistoryChartBarColorRuleService.ts +5 -0
- package/Server/Services/StatusPagePrivateUserService.ts +3 -0
- package/Server/Services/StatusPageResourceService.ts +5 -0
- package/Server/Services/StatusPageService.ts +17 -0
- package/Server/Services/StatusPageSubscriberService.ts +7 -0
- package/Server/Services/TeamMemberService.ts +11 -0
- package/Server/Services/TeamPermissionService.ts +7 -0
- package/Server/Services/TeamService.ts +3 -0
- package/Server/Services/TelemetryAttributeService.ts +3 -0
- package/Server/Services/TelemetryIngestionKeyService.ts +2 -0
- package/Server/Services/TelemetryServiceService.ts +3 -0
- package/Server/Services/TelemetryUsageBillingService.ts +3 -0
- package/Server/Services/UserCallService.ts +5 -0
- package/Server/Services/UserEmailService.ts +5 -0
- package/Server/Services/UserNotificationRuleService.ts +14 -0
- package/Server/Services/UserNotificationSettingService.ts +5 -0
- package/Server/Services/UserOnCallLogService.ts +4 -0
- package/Server/Services/UserOnCallLogTimelineService.ts +2 -0
- package/Server/Services/UserService.ts +8 -0
- package/Server/Services/UserSmsService.ts +5 -0
- package/Server/Services/UserTwoFactorAuthService.ts +3 -0
- package/Server/Services/WorkflowService.ts +2 -0
- package/Server/Services/WorkspaceNotificationRuleService.ts +146 -32
- package/Server/Services/WorkspaceProjectAuthTokenService.ts +5 -0
- package/Server/Services/WorkspaceSettingService.ts +3 -0
- package/Server/Services/WorkspaceUserAuthTokenService.ts +4 -0
- package/Server/Types/AnalyticsDatabase/AggregateBy.ts +2 -0
- package/Server/Types/AnalyticsDatabase/ModelPermission.ts +6 -0
- package/Server/Types/AnalyticsDatabase/QueryHelper.ts +5 -0
- package/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.ts +3 -0
- package/Server/Types/Billing/MeteredPlan/AllMeteredPlans.ts +2 -0
- package/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.ts +2 -0
- package/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.ts +3 -0
- package/Server/Types/Database/Permissions/AccessControlPermission.ts +6 -0
- package/Server/Types/Database/Permissions/BasePermission.ts +2 -0
- package/Server/Types/Database/Permissions/BillingPermission.ts +2 -0
- package/Server/Types/Database/Permissions/ColumnPermission.ts +6 -0
- package/Server/Types/Database/Permissions/CreatePermission.ts +3 -0
- package/Server/Types/Database/Permissions/DeletePermission.ts +3 -0
- package/Server/Types/Database/Permissions/Index.ts +7 -0
- package/Server/Types/Database/Permissions/PermissionsUtil.ts +2 -0
- package/Server/Types/Database/Permissions/PublicPermission.ts +3 -0
- package/Server/Types/Database/Permissions/QueryPermission.ts +3 -0
- package/Server/Types/Database/Permissions/ReadPermission.ts +3 -0
- package/Server/Types/Database/Permissions/SelectPermission.ts +2 -0
- package/Server/Types/Database/Permissions/TablePermission.ts +4 -0
- package/Server/Types/Database/Permissions/TenantPermission.ts +2 -0
- package/Server/Types/Database/Permissions/UpdatePermission.ts +3 -0
- package/Server/Types/Database/Permissions/UserPermission.ts +2 -0
- package/Server/Types/Database/QueryHelper.ts +25 -0
- package/Server/Types/Database/QueryUtil.ts +2 -0
- package/Server/Types/Database/SelectUtil.ts +2 -0
- package/Server/Types/Domain.ts +2 -0
- package/Server/Types/Markdown.ts +2 -0
- package/Server/Types/Workflow/ComponentCode.ts +2 -0
- package/Server/Types/Workflow/Components/API/Delete.ts +2 -0
- package/Server/Types/Workflow/Components/API/Get.ts +2 -0
- package/Server/Types/Workflow/Components/API/Patch.ts +2 -0
- package/Server/Types/Workflow/Components/API/Post.ts +2 -0
- package/Server/Types/Workflow/Components/API/Put.ts +2 -0
- package/Server/Types/Workflow/Components/API/Utils.ts +3 -0
- package/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.ts +4 -0
- package/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.ts +2 -0
- package/Server/Types/Workflow/Components/Conditions/IfElse.ts +2 -0
- package/Server/Types/Workflow/Components/Email.ts +2 -0
- package/Server/Types/Workflow/Components/JSON/JsonToText.ts +2 -0
- package/Server/Types/Workflow/Components/JSON/MergeJson.ts +2 -0
- package/Server/Types/Workflow/Components/JSON/TextToJson.ts +2 -0
- package/Server/Types/Workflow/Components/JavaScript.ts +2 -0
- package/Server/Types/Workflow/Components/Log.ts +2 -0
- package/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.ts +2 -0
- package/Server/Types/Workflow/Components/Schedule.ts +4 -0
- package/Server/Types/Workflow/Components/Slack/SendMessageToChannel.ts +2 -0
- package/Server/Types/Workflow/Components/Webhook.ts +4 -0
- package/Server/Types/Workflow/TriggerCode.ts +5 -0
- package/Server/Utils/APIKey/AccessPermission.ts +5 -0
- package/Server/Utils/Airtable.ts +5 -0
- package/Server/Utils/AnalyticsDatabase/StatementGenerator.ts +2 -0
- package/Server/Utils/Browser.ts +6 -0
- package/Server/Utils/CodeRepository/CodeRepository.ts +23 -0
- package/Server/Utils/CodeRepository/GitHub/GitHub.ts +6 -0
- package/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.ts +5 -0
- package/Server/Utils/Cookie.ts +12 -0
- package/Server/Utils/CronTab.ts +2 -0
- package/Server/Utils/Encryption.ts +3 -0
- package/Server/Utils/Execute.ts +2 -0
- package/Server/Utils/Express.ts +6 -0
- package/Server/Utils/Greenlock/Greenlock.ts +251 -303
- package/Server/Utils/JsonWebToken.ts +6 -0
- package/Server/Utils/LocalFile.ts +13 -0
- package/Server/Utils/Monitor/Criteria/APIRequestCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/CompareCriteria.ts +16 -0
- package/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/EvaluateOverTime.ts +2 -0
- package/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/LogMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/MetricMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/Criteria/SyntheticMonitor.ts +2 -0
- package/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.ts +2 -0
- package/Server/Utils/Monitor/MonitorAlert.ts +3 -0
- package/Server/Utils/Monitor/MonitorIncident.ts +3 -0
- package/Server/Utils/Monitor/MonitorResource.ts +3 -0
- package/Server/Utils/Monitor/MonitorStatusTimeline.ts +2 -0
- package/Server/Utils/Realtime.ts +8 -0
- package/Server/Utils/Response.ts +17 -0
- package/Server/Utils/Stream.ts +3 -0
- package/Server/Utils/Telemetry/CaptureSpan.ts +116 -0
- package/Server/Utils/Telemetry/Telemetry.ts +3 -0
- package/Server/Utils/Telemetry.ts +6 -0
- package/Server/Utils/TwoFactorAuth.ts +6 -0
- package/Server/Utils/UserPermission/UserPermission.ts +4 -0
- package/Server/Utils/VM/VMAPI.ts +5 -0
- package/Server/Utils/VM/VMRunner.ts +2 -0
- package/Server/Utils/Workspace/MicrosoftTeams/Messages/Alert.ts +2 -0
- package/Server/Utils/Workspace/MicrosoftTeams/Messages/Incident.ts +2 -0
- package/Server/Utils/Workspace/MicrosoftTeams/Messages/ScheduledMaintenance.ts +2 -0
- package/Server/Utils/Workspace/Slack/Actions/ActionTypes.ts +3 -0
- package/Server/Utils/Workspace/Slack/Actions/Alert.ts +11 -0
- package/Server/Utils/Workspace/Slack/Actions/Auth.ts +2 -0
- package/Server/Utils/Workspace/Slack/Actions/Incident.ts +13 -0
- package/Server/Utils/Workspace/Slack/Actions/Monitor.ts +48 -0
- package/Server/Utils/Workspace/Slack/Actions/ScheduledMaintenance.ts +11 -0
- package/Server/Utils/Workspace/Slack/Messages/Alert.ts +2 -0
- package/Server/Utils/Workspace/Slack/Messages/Incident.ts +2 -0
- package/Server/Utils/Workspace/Slack/Messages/Monitor.ts +60 -0
- package/Server/Utils/Workspace/Slack/Messages/ScheduledMaintenance.ts +2 -0
- package/Server/Utils/Workspace/Slack/Slack.ts +33 -3
- package/Server/Utils/Workspace/Workspace.ts +20 -3
- package/Server/Utils/Workspace/WorkspaceBase.ts +33 -1
- package/Server/Utils/Workspace/WorkspaceMessages/Alert.ts +3 -0
- package/Server/Utils/Workspace/WorkspaceMessages/Incident.ts +3 -0
- package/Server/Utils/Workspace/WorkspaceMessages/Monitor.ts +71 -0
- package/Server/Utils/Workspace/WorkspaceMessages/ScheduledMaintenance.ts +3 -0
- package/Types/Permission.ts +38 -0
- package/Types/Workspace/NotificationRules/EventType.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.ts +8 -1
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorNotificationRule.ts +6 -0
- package/UI/Utils/{Telemetry.ts → Telemetry/Telemetry.ts} +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +2 -0
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Monitor.js +20 -0
- package/build/dist/Models/DatabaseModels/Monitor.js.map +1 -1
- package/build/dist/Models/DatabaseModels/MonitorFeed.js +544 -0
- package/build/dist/Models/DatabaseModels/MonitorFeed.js.map +1 -0
- package/build/dist/Server/API/BaseAPI.js +52 -0
- package/build/dist/Server/API/BaseAPI.js.map +1 -1
- package/build/dist/Server/API/BaseAnalyticsAPI.js +58 -0
- package/build/dist/Server/API/BaseAnalyticsAPI.js.map +1 -1
- package/build/dist/Server/API/CommonAPI.js +16 -0
- package/build/dist/Server/API/CommonAPI.js.map +1 -1
- package/build/dist/Server/API/SlackAPI.js +11 -0
- package/build/dist/Server/API/SlackAPI.js.map +1 -1
- package/build/dist/Server/API/StatusAPI.js +146 -97
- package/build/dist/Server/API/StatusAPI.js.map +1 -1
- package/build/dist/Server/API/StatusPageAPI.js +46 -0
- package/build/dist/Server/API/StatusPageAPI.js.map +1 -1
- package/build/dist/Server/DatabaseConfig.js +52 -0
- package/build/dist/Server/DatabaseConfig.js.map +1 -1
- package/build/dist/Server/Infrastructure/ClickhouseDatabase.js +28 -0
- package/build/dist/Server/Infrastructure/ClickhouseDatabase.js.map +1 -1
- package/build/dist/Server/Infrastructure/GlobalCache.js +52 -0
- package/build/dist/Server/Infrastructure/GlobalCache.js.map +1 -1
- package/build/dist/Server/Infrastructure/LocalCache.js +72 -0
- package/build/dist/Server/Infrastructure/LocalCache.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717605043663-InitialMigration.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717678334852-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717839110671-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717849921874-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1717955235341-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718037833516-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718100824584-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718101665865-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718119926223-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718124277321-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718126316684-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718188920011-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718203144945-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718285877004-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718618155447-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718711669847-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1718879960254-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719227548476-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719228104620-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719247426296-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719348009053-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719827175832-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719831213463-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719838746775-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1719915433542-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720024126646-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720532068612-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720538999941-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720785305192-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720805596648-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720806196274-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1720812937067-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721075917289-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721152139648-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721159743714-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721754545771-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1721779190475-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722031205897-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722543640526-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1722892318363-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723825511054-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1723828588502-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724078044172-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724078044172-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724610006927-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724610006927-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724613666632-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724613666632-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724659071843-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1724659071843-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725291476867-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725291476867-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725357719072-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725357719072-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725360199561-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725360199561-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725379949648-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725379949648-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725551629492-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725551629492-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725556630384-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725556630384-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725618842598-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725618842598-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725880508430-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725880508430-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725881099935-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725881099935-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725881475134-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725881475134-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725884177663-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725884177663-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725898621366-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725898621366-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725900315712-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725900315712-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725901024444-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725901024444-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725975175669-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725975175669-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725976810107-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1725976810107-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1726831037585-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1726831037585-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727101782315-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727101782315-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727102156072-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727102156072-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727102331367-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727102331367-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727103023745-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727103023745-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727104469670-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727104469670-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727192530019-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193130193-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727193702212-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194211048-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727194579925-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727894983857-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727894983857-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727906598804-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1727906598804-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1728472625805-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1728472625805-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1729682875503-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1729682875503-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730117995642-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730117995642-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730209089495-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730209089495-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730223198692-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1730223198692-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731433043136-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731433043136-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731433309124-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731433309124-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731435267537-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731435267537-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731435514287-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1731435514287-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1732553444010-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1732553444010-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1734435866602-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1734435866602-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736364478985-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736364478985-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736364957990-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736364957990-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736365532085-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736365532085-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736675947746-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736675947746-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736703138918-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736703138918-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736780194077-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736780194077-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736780194078-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736780194078-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736787495707-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736787495707-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736787985322-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736787985322-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736788706141-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736788706141-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736856662868-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1736856662868-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737141420441-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737141420441-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737713529424-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737713529424-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737715240684-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737997557974-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1737997557974-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739209832500-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739209832500-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739210586538-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739210586538-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739217257089-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739217257089-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739282331053-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739282331053-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739374537088-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739374537088-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739569321582-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1739569321582-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740164199817-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740164199817-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740419151825-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740419151825-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740430229844-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740430229844-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740597525803-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740597525803-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740598793630-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1740598793630-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741031019972-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741031019972-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741209339971-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741209339971-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741904597606-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741904597606-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1742302093234-MigrationName.js +48 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1742302093234-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1742305668133-MigrationName.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1742305668133-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +4 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Infrastructure/PostgresDatabase.js +70 -0
- package/build/dist/Server/Infrastructure/PostgresDatabase.js.map +1 -1
- package/build/dist/Server/Infrastructure/Queue.js +40 -0
- package/build/dist/Server/Infrastructure/Queue.js.map +1 -1
- package/build/dist/Server/Infrastructure/QueueWorker.js +23 -0
- package/build/dist/Server/Infrastructure/QueueWorker.js.map +1 -1
- package/build/dist/Server/Infrastructure/Redis.js +46 -0
- package/build/dist/Server/Infrastructure/Redis.js.map +1 -1
- package/build/dist/Server/Infrastructure/Semaphore.js +22 -0
- package/build/dist/Server/Infrastructure/Semaphore.js.map +1 -1
- package/build/dist/Server/Infrastructure/SocketIO.js +22 -0
- package/build/dist/Server/Infrastructure/SocketIO.js.map +1 -1
- package/build/dist/Server/Infrastructure/Status.js +22 -0
- package/build/dist/Server/Infrastructure/Status.js.map +1 -1
- package/build/dist/Server/Middleware/BearerTokenAuthorization.js +16 -0
- package/build/dist/Server/Middleware/BearerTokenAuthorization.js.map +1 -1
- package/build/dist/Server/Middleware/ClusterKeyAuthorization.js +28 -0
- package/build/dist/Server/Middleware/ClusterKeyAuthorization.js.map +1 -1
- package/build/dist/Server/Middleware/CodeRepositoryAuthorization.js +16 -0
- package/build/dist/Server/Middleware/CodeRepositoryAuthorization.js.map +1 -1
- package/build/dist/Server/Middleware/NotificationMiddleware.js +22 -0
- package/build/dist/Server/Middleware/NotificationMiddleware.js.map +1 -1
- package/build/dist/Server/Middleware/ProjectAuthorization.js +40 -0
- package/build/dist/Server/Middleware/ProjectAuthorization.js.map +1 -1
- package/build/dist/Server/Middleware/SlackAuthorization.js +16 -0
- package/build/dist/Server/Middleware/SlackAuthorization.js.map +1 -1
- package/build/dist/Server/Middleware/TelemetryIngest.js +16 -0
- package/build/dist/Server/Middleware/TelemetryIngest.js.map +1 -1
- package/build/dist/Server/Middleware/UserAuthorization.js +53 -0
- package/build/dist/Server/Middleware/UserAuthorization.js.map +1 -1
- package/build/dist/Server/Services/AccessTokenService.js +49 -0
- package/build/dist/Server/Services/AccessTokenService.js.map +1 -1
- package/build/dist/Server/Services/AlertFeedService.js +37 -47
- package/build/dist/Server/Services/AlertFeedService.js.map +1 -1
- package/build/dist/Server/Services/AlertInternalNoteService.js +28 -0
- package/build/dist/Server/Services/AlertInternalNoteService.js.map +1 -1
- package/build/dist/Server/Services/AlertOwnerTeamService.js +28 -0
- package/build/dist/Server/Services/AlertOwnerTeamService.js.map +1 -1
- package/build/dist/Server/Services/AlertOwnerUserService.js +28 -0
- package/build/dist/Server/Services/AlertOwnerUserService.js.map +1 -1
- package/build/dist/Server/Services/AlertService.js +130 -2
- package/build/dist/Server/Services/AlertService.js.map +1 -1
- package/build/dist/Server/Services/AlertSeverityService.js +34 -0
- package/build/dist/Server/Services/AlertSeverityService.js.map +1 -1
- package/build/dist/Server/Services/AlertStateService.js +59 -0
- package/build/dist/Server/Services/AlertStateService.js.map +1 -1
- package/build/dist/Server/Services/AlertStateTimelineService.js +40 -0
- package/build/dist/Server/Services/AlertStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/AnalyticsDatabaseService.js +108 -0
- package/build/dist/Server/Services/AnalyticsDatabaseService.js.map +1 -1
- package/build/dist/Server/Services/ApiKeyPermissionService.js +22 -0
- package/build/dist/Server/Services/ApiKeyPermissionService.js.map +1 -1
- package/build/dist/Server/Services/ApiKeyService.js +16 -0
- package/build/dist/Server/Services/ApiKeyService.js.map +1 -1
- package/build/dist/Server/Services/BillingInvoiceService.js +22 -0
- package/build/dist/Server/Services/BillingInvoiceService.js.map +1 -1
- package/build/dist/Server/Services/BillingPaymentMethodService.js +22 -0
- package/build/dist/Server/Services/BillingPaymentMethodService.js.map +1 -1
- package/build/dist/Server/Services/BillingService.js +155 -0
- package/build/dist/Server/Services/BillingService.js.map +1 -1
- package/build/dist/Server/Services/CallService.js +16 -0
- package/build/dist/Server/Services/CallService.js.map +1 -1
- package/build/dist/Server/Services/CopilotActionTypePriorityService.js +16 -0
- package/build/dist/Server/Services/CopilotActionTypePriorityService.js.map +1 -1
- package/build/dist/Server/Services/CopilotCodeRepositoryService.js +22 -0
- package/build/dist/Server/Services/CopilotCodeRepositoryService.js.map +1 -1
- package/build/dist/Server/Services/DashboardService.js +16 -0
- package/build/dist/Server/Services/DashboardService.js.map +1 -1
- package/build/dist/Server/Services/DatabaseService.js +108 -0
- package/build/dist/Server/Services/DatabaseService.js.map +1 -1
- package/build/dist/Server/Services/DomainService.js +22 -0
- package/build/dist/Server/Services/DomainService.js.map +1 -1
- package/build/dist/Server/Services/FileService.js +28 -0
- package/build/dist/Server/Services/FileService.js.map +1 -1
- package/build/dist/Server/Services/IncidentFeedService.js +39 -48
- package/build/dist/Server/Services/IncidentFeedService.js.map +1 -1
- package/build/dist/Server/Services/IncidentInternalNoteService.js +28 -0
- package/build/dist/Server/Services/IncidentInternalNoteService.js.map +1 -1
- package/build/dist/Server/Services/IncidentOwnerTeamService.js +28 -0
- package/build/dist/Server/Services/IncidentOwnerTeamService.js.map +1 -1
- package/build/dist/Server/Services/IncidentOwnerUserService.js +28 -0
- package/build/dist/Server/Services/IncidentOwnerUserService.js.map +1 -1
- package/build/dist/Server/Services/IncidentPublicNoteService.js +34 -0
- package/build/dist/Server/Services/IncidentPublicNoteService.js.map +1 -1
- package/build/dist/Server/Services/IncidentService.js +142 -1
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/IncidentSeverityService.js +34 -0
- package/build/dist/Server/Services/IncidentSeverityService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateService.js +59 -0
- package/build/dist/Server/Services/IncidentStateService.js.map +1 -1
- package/build/dist/Server/Services/IncidentStateTimelineService.js +40 -0
- package/build/dist/Server/Services/IncidentStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/IncidentTemplateService.js +25 -0
- package/build/dist/Server/Services/IncidentTemplateService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +2 -0
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/LabelService.js +16 -0
- package/build/dist/Server/Services/LabelService.js.map +1 -1
- package/build/dist/Server/Services/MailService.js +16 -0
- package/build/dist/Server/Services/MailService.js.map +1 -1
- package/build/dist/Server/Services/MonitorFeedService.js +117 -0
- package/build/dist/Server/Services/MonitorFeedService.js.map +1 -0
- package/build/dist/Server/Services/MonitorGroupService.js +30 -0
- package/build/dist/Server/Services/MonitorGroupService.js.map +1 -1
- package/build/dist/Server/Services/MonitorOwnerTeamService.js +152 -0
- package/build/dist/Server/Services/MonitorOwnerTeamService.js.map +1 -1
- package/build/dist/Server/Services/MonitorOwnerUserService.js +145 -0
- package/build/dist/Server/Services/MonitorOwnerUserService.js.map +1 -1
- package/build/dist/Server/Services/MonitorService.js +308 -0
- package/build/dist/Server/Services/MonitorService.js.map +1 -1
- package/build/dist/Server/Services/MonitorStatusService.js +34 -0
- package/build/dist/Server/Services/MonitorStatusService.js.map +1 -1
- package/build/dist/Server/Services/MonitorStatusTimelineService.js +85 -0
- package/build/dist/Server/Services/MonitorStatusTimelineService.js.map +1 -1
- package/build/dist/Server/Services/NotificationService.js +23 -0
- package/build/dist/Server/Services/NotificationService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js +91 -0
- package/build/dist/Server/Services/OnCallDutyPolicyEscalationRuleService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogService.js +28 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.js +28 -0
- package/build/dist/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerService.js +22 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerUserService.js +34 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleLayerUserService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleService.js +16 -0
- package/build/dist/Server/Services/OnCallDutyPolicyScheduleService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyService.js +24 -0
- package/build/dist/Server/Services/OnCallDutyPolicyService.js.map +1 -1
- package/build/dist/Server/Services/OnCallDutyPolicyUserOverrideService.js +22 -0
- package/build/dist/Server/Services/OnCallDutyPolicyUserOverrideService.js.map +1 -1
- package/build/dist/Server/Services/OpenTelemetryIngestService.js +28 -0
- package/build/dist/Server/Services/OpenTelemetryIngestService.js.map +1 -1
- package/build/dist/Server/Services/ProbeService.js +47 -0
- package/build/dist/Server/Services/ProbeService.js.map +1 -1
- package/build/dist/Server/Services/ProjectService.js +94 -0
- package/build/dist/Server/Services/ProjectService.js.map +1 -1
- package/build/dist/Server/Services/ProjectUserService.js +16 -0
- package/build/dist/Server/Services/ProjectUserService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceFeedService.js +37 -47
- package/build/dist/Server/Services/ScheduledMaintenanceFeedService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceInternalNoteService.js +28 -0
- package/build/dist/Server/Services/ScheduledMaintenanceInternalNoteService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerTeamService.js +28 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerTeamService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerUserService.js +28 -0
- package/build/dist/Server/Services/ScheduledMaintenanceOwnerUserService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenancePublicNoteService.js +34 -0
- package/build/dist/Server/Services/ScheduledMaintenancePublicNoteService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceService.js +139 -2
- package/build/dist/Server/Services/ScheduledMaintenanceService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js +52 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js +47 -0
- package/build/dist/Server/Services/ScheduledMaintenanceStateTimelineService.js.map +1 -1
- package/build/dist/Server/Services/ScheduledMaintenanceTemplateService.js +37 -0
- package/build/dist/Server/Services/ScheduledMaintenanceTemplateService.js.map +1 -1
- package/build/dist/Server/Services/ServiceCatalogDependencyService.js +16 -0
- package/build/dist/Server/Services/ServiceCatalogDependencyService.js.map +1 -1
- package/build/dist/Server/Services/ServiceCatalogMonitorService.js +16 -0
- package/build/dist/Server/Services/ServiceCatalogMonitorService.js.map +1 -1
- package/build/dist/Server/Services/ServiceCatalogService.js +16 -0
- package/build/dist/Server/Services/ServiceCatalogService.js.map +1 -1
- package/build/dist/Server/Services/ServiceCatalogTelemetryServiceService.js +16 -0
- package/build/dist/Server/Services/ServiceCatalogTelemetryServiceService.js.map +1 -1
- package/build/dist/Server/Services/ShortLinkService.js +34 -0
- package/build/dist/Server/Services/ShortLinkService.js.map +1 -1
- package/build/dist/Server/Services/SmsService.js +16 -0
- package/build/dist/Server/Services/SmsService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageCertificateService.js +28 -0
- package/build/dist/Server/Services/StatusPageCertificateService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageDomainService.js +88 -0
- package/build/dist/Server/Services/StatusPageDomainService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageFooterLinkService.js +34 -0
- package/build/dist/Server/Services/StatusPageFooterLinkService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageGroupService.js +34 -0
- package/build/dist/Server/Services/StatusPageGroupService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js +34 -0
- package/build/dist/Server/Services/StatusPageHeaderLinkService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js +34 -0
- package/build/dist/Server/Services/StatusPageHistoryChartBarColorRuleService.js.map +1 -1
- package/build/dist/Server/Services/StatusPagePrivateUserService.js +22 -0
- package/build/dist/Server/Services/StatusPagePrivateUserService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageResourceService.js +34 -0
- package/build/dist/Server/Services/StatusPageResourceService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageService.js +110 -0
- package/build/dist/Server/Services/StatusPageService.js.map +1 -1
- package/build/dist/Server/Services/StatusPageSubscriberService.js +47 -0
- package/build/dist/Server/Services/StatusPageSubscriberService.js.map +1 -1
- package/build/dist/Server/Services/TeamMemberService.js +71 -0
- package/build/dist/Server/Services/TeamMemberService.js.map +1 -1
- package/build/dist/Server/Services/TeamPermissionService.js +46 -0
- package/build/dist/Server/Services/TeamPermissionService.js.map +1 -1
- package/build/dist/Server/Services/TeamService.js +22 -0
- package/build/dist/Server/Services/TeamService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryAttributeService.js +22 -0
- package/build/dist/Server/Services/TelemetryAttributeService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryIngestionKeyService.js +16 -0
- package/build/dist/Server/Services/TelemetryIngestionKeyService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryServiceService.js +22 -0
- package/build/dist/Server/Services/TelemetryServiceService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryUsageBillingService.js +22 -0
- package/build/dist/Server/Services/TelemetryUsageBillingService.js.map +1 -1
- package/build/dist/Server/Services/UserCallService.js +35 -0
- package/build/dist/Server/Services/UserCallService.js.map +1 -1
- package/build/dist/Server/Services/UserEmailService.js +35 -0
- package/build/dist/Server/Services/UserEmailService.js.map +1 -1
- package/build/dist/Server/Services/UserNotificationRuleService.js +107 -0
- package/build/dist/Server/Services/UserNotificationRuleService.js.map +1 -1
- package/build/dist/Server/Services/UserNotificationSettingService.js +37 -0
- package/build/dist/Server/Services/UserNotificationSettingService.js.map +1 -1
- package/build/dist/Server/Services/UserOnCallLogService.js +28 -0
- package/build/dist/Server/Services/UserOnCallLogService.js.map +1 -1
- package/build/dist/Server/Services/UserOnCallLogTimelineService.js +16 -0
- package/build/dist/Server/Services/UserOnCallLogTimelineService.js.map +1 -1
- package/build/dist/Server/Services/UserService.js +54 -0
- package/build/dist/Server/Services/UserService.js.map +1 -1
- package/build/dist/Server/Services/UserSmsService.js +35 -0
- package/build/dist/Server/Services/UserSmsService.js.map +1 -1
- package/build/dist/Server/Services/UserTwoFactorAuthService.js +22 -0
- package/build/dist/Server/Services/UserTwoFactorAuthService.js.map +1 -1
- package/build/dist/Server/Services/WorkflowService.js +16 -0
- package/build/dist/Server/Services/WorkflowService.js.map +1 -1
- package/build/dist/Server/Services/WorkspaceNotificationRuleService.js +179 -21
- package/build/dist/Server/Services/WorkspaceNotificationRuleService.js.map +1 -1
- package/build/dist/Server/Services/WorkspaceProjectAuthTokenService.js +34 -0
- package/build/dist/Server/Services/WorkspaceProjectAuthTokenService.js.map +1 -1
- package/build/dist/Server/Services/WorkspaceSettingService.js +22 -0
- package/build/dist/Server/Services/WorkspaceSettingService.js.map +1 -1
- package/build/dist/Server/Services/WorkspaceUserAuthTokenService.js +28 -0
- package/build/dist/Server/Services/WorkspaceUserAuthTokenService.js.map +1 -1
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js +16 -0
- package/build/dist/Server/Types/AnalyticsDatabase/AggregateBy.js.map +1 -1
- package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js +41 -0
- package/build/dist/Server/Types/AnalyticsDatabase/ModelPermission.js.map +1 -1
- package/build/dist/Server/Types/AnalyticsDatabase/QueryHelper.js +35 -0
- package/build/dist/Server/Types/AnalyticsDatabase/QueryHelper.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.js +23 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ActiveMonitoringMeteredPlan.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js +17 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/AllMeteredPlans.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.js +17 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/ServerMeteredPlan.js.map +1 -1
- package/build/dist/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.js +24 -0
- package/build/dist/Server/Types/Billing/MeteredPlan/TelemetryMeteredPlan.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js +40 -0
- package/build/dist/Server/Types/Database/Permissions/AccessControlPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/BasePermission.js +17 -0
- package/build/dist/Server/Types/Database/Permissions/BasePermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/BillingPermission.js +16 -0
- package/build/dist/Server/Types/Database/Permissions/BillingPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/ColumnPermission.js +29 -0
- package/build/dist/Server/Types/Database/Permissions/ColumnPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/CreatePermission.js +23 -0
- package/build/dist/Server/Types/Database/Permissions/CreatePermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/DeletePermission.js +22 -0
- package/build/dist/Server/Types/Database/Permissions/DeletePermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/Index.js +47 -0
- package/build/dist/Server/Types/Database/Permissions/Index.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/PermissionsUtil.js +16 -0
- package/build/dist/Server/Types/Database/Permissions/PermissionsUtil.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/PublicPermission.js +23 -0
- package/build/dist/Server/Types/Database/Permissions/PublicPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/QueryPermission.js +22 -0
- package/build/dist/Server/Types/Database/Permissions/QueryPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/ReadPermission.js +22 -0
- package/build/dist/Server/Types/Database/Permissions/ReadPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/SelectPermission.js +16 -0
- package/build/dist/Server/Types/Database/Permissions/SelectPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/TablePermission.js +28 -0
- package/build/dist/Server/Types/Database/Permissions/TablePermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js +17 -0
- package/build/dist/Server/Types/Database/Permissions/TenantPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/UpdatePermission.js +22 -0
- package/build/dist/Server/Types/Database/Permissions/UpdatePermission.js.map +1 -1
- package/build/dist/Server/Types/Database/Permissions/UserPermission.js +16 -0
- package/build/dist/Server/Types/Database/Permissions/UserPermission.js.map +1 -1
- package/build/dist/Server/Types/Database/QueryHelper.js +155 -0
- package/build/dist/Server/Types/Database/QueryHelper.js.map +1 -1
- package/build/dist/Server/Types/Database/QueryUtil.js +16 -0
- package/build/dist/Server/Types/Database/QueryUtil.js.map +1 -1
- package/build/dist/Server/Types/Database/SelectUtil.js +16 -0
- package/build/dist/Server/Types/Database/SelectUtil.js.map +1 -1
- package/build/dist/Server/Types/Domain.js +16 -0
- package/build/dist/Server/Types/Domain.js.map +1 -1
- package/build/dist/Server/Types/Markdown.js +16 -0
- package/build/dist/Server/Types/Markdown.js.map +1 -1
- package/build/dist/Server/Types/Workflow/ComponentCode.js +16 -0
- package/build/dist/Server/Types/Workflow/ComponentCode.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Delete.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/API/Delete.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Get.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/API/Get.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Patch.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/API/Patch.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Post.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/API/Post.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Put.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/API/Put.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/API/Utils.js +22 -0
- package/build/dist/Server/Types/Workflow/Components/API/Utils.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateManyBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/CreateOneBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/DeleteOneBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindManyBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/FindOneBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.js +28 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/OnTriggerBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateManyBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/BaseModel/UpdateOneBaseModel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/Conditions/IfElse.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Email.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/Email.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/JSON/JsonToText.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/JsonToText.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/JSON/MergeJson.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/MergeJson.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/JSON/TextToJson.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/JSON/TextToJson.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/JavaScript.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/JavaScript.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Log.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/Log.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/MicrosoftTeams/SendMessageToChannel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Schedule.js +28 -0
- package/build/dist/Server/Types/Workflow/Components/Schedule.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Slack/SendMessageToChannel.js +16 -0
- package/build/dist/Server/Types/Workflow/Components/Slack/SendMessageToChannel.js.map +1 -1
- package/build/dist/Server/Types/Workflow/Components/Webhook.js +28 -0
- package/build/dist/Server/Types/Workflow/Components/Webhook.js.map +1 -1
- package/build/dist/Server/Types/Workflow/TriggerCode.js +34 -0
- package/build/dist/Server/Types/Workflow/TriggerCode.js.map +1 -1
- package/build/dist/Server/Utils/APIKey/AccessPermission.js +36 -0
- package/build/dist/Server/Utils/APIKey/AccessPermission.js.map +1 -1
- package/build/dist/Server/Utils/Airtable.js +35 -0
- package/build/dist/Server/Utils/Airtable.js.map +1 -1
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js +16 -0
- package/build/dist/Server/Utils/AnalyticsDatabase/StatementGenerator.js.map +1 -1
- package/build/dist/Server/Utils/Browser.js +40 -0
- package/build/dist/Server/Utils/Browser.js.map +1 -1
- package/build/dist/Server/Utils/CodeRepository/CodeRepository.js +142 -0
- package/build/dist/Server/Utils/CodeRepository/CodeRepository.js.map +1 -1
- package/build/dist/Server/Utils/CodeRepository/GitHub/GitHub.js +40 -0
- package/build/dist/Server/Utils/CodeRepository/GitHub/GitHub.js.map +1 -1
- package/build/dist/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.js +34 -0
- package/build/dist/Server/Utils/CodeRepository/HostedCodeRepository/HostedCodeRepository.js.map +1 -1
- package/build/dist/Server/Utils/Cookie.js +77 -0
- package/build/dist/Server/Utils/Cookie.js.map +1 -1
- package/build/dist/Server/Utils/CronTab.js +16 -0
- package/build/dist/Server/Utils/CronTab.js.map +1 -1
- package/build/dist/Server/Utils/Encryption.js +22 -0
- package/build/dist/Server/Utils/Encryption.js.map +1 -1
- package/build/dist/Server/Utils/Execute.js +16 -0
- package/build/dist/Server/Utils/Execute.js.map +1 -1
- package/build/dist/Server/Utils/Express.js +42 -1
- package/build/dist/Server/Utils/Express.js.map +1 -1
- package/build/dist/Server/Utils/Greenlock/Greenlock.js +218 -232
- package/build/dist/Server/Utils/Greenlock/Greenlock.js.map +1 -1
- package/build/dist/Server/Utils/JsonWebToken.js +40 -0
- package/build/dist/Server/Utils/JsonWebToken.js.map +1 -1
- package/build/dist/Server/Utils/LocalFile.js +82 -0
- package/build/dist/Server/Utils/LocalFile.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/APIRequestCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/APIRequestCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/CompareCriteria.js +100 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CompareCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/CustomCodeMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/EvaluateOverTime.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/EvaluateOverTime.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/IncomingRequestCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/LogMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/MetricMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/MetricMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SSLMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/ServerMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/SyntheticMonitor.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/SyntheticMonitor.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js +16 -0
- package/build/dist/Server/Utils/Monitor/Criteria/TraceMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js +22 -0
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js +22 -0
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorResource.js +22 -0
- package/build/dist/Server/Utils/Monitor/MonitorResource.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorStatusTimeline.js +16 -0
- package/build/dist/Server/Utils/Monitor/MonitorStatusTimeline.js.map +1 -1
- package/build/dist/Server/Utils/Realtime.js +52 -0
- package/build/dist/Server/Utils/Realtime.js.map +1 -1
- package/build/dist/Server/Utils/Response.js +109 -0
- package/build/dist/Server/Utils/Response.js.map +1 -1
- package/build/dist/Server/Utils/Stream.js +23 -0
- package/build/dist/Server/Utils/Stream.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry/CaptureSpan.js +84 -0
- package/build/dist/Server/Utils/Telemetry/CaptureSpan.js.map +1 -0
- package/build/dist/Server/Utils/Telemetry/Telemetry.js +22 -0
- package/build/dist/Server/Utils/Telemetry/Telemetry.js.map +1 -1
- package/build/dist/Server/Utils/Telemetry.js.map +1 -1
- package/build/dist/Server/Utils/TwoFactorAuth.js +40 -0
- package/build/dist/Server/Utils/TwoFactorAuth.js.map +1 -1
- package/build/dist/Server/Utils/UserPermission/UserPermission.js +30 -0
- package/build/dist/Server/Utils/UserPermission/UserPermission.js.map +1 -1
- package/build/dist/Server/Utils/VM/VMAPI.js +34 -0
- package/build/dist/Server/Utils/VM/VMAPI.js.map +1 -1
- package/build/dist/Server/Utils/VM/VMRunner.js +16 -0
- package/build/dist/Server/Utils/VM/VMRunner.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/Alert.js +16 -0
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/Alert.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/Incident.js +16 -0
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/Incident.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/ScheduledMaintenance.js +16 -0
- package/build/dist/Server/Utils/Workspace/MicrosoftTeams/Messages/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Actions/ActionTypes.js +2 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/ActionTypes.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Alert.js +70 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Alert.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Auth.js +16 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Auth.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Incident.js +82 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Incident.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Monitor.js +50 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/Monitor.js.map +1 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/ScheduledMaintenance.js +70 -0
- package/build/dist/Server/Utils/Workspace/Slack/Actions/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Alert.js +16 -0
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Alert.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Incident.js +16 -0
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Incident.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Monitor.js +53 -0
- package/build/dist/Server/Utils/Workspace/Slack/Messages/Monitor.js.map +1 -0
- package/build/dist/Server/Utils/Workspace/Slack/Messages/ScheduledMaintenance.js +16 -0
- package/build/dist/Server/Utils/Workspace/Slack/Messages/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Slack/Slack.js +186 -2
- package/build/dist/Server/Utils/Workspace/Slack/Slack.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/Workspace.js +53 -0
- package/build/dist/Server/Utils/Workspace/Workspace.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/WorkspaceBase.js +196 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceBase.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Alert.js +22 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Alert.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Incident.js +22 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Incident.js.map +1 -1
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Monitor.js +69 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/Monitor.js.map +1 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/ScheduledMaintenance.js +22 -0
- package/build/dist/Server/Utils/Workspace/WorkspaceMessages/ScheduledMaintenance.js.map +1 -1
- package/build/dist/Types/Permission.js +32 -0
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Workspace/NotificationRules/EventType.js +1 -1
- package/build/dist/Types/Workspace/NotificationRules/EventType.js.map +1 -1
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleCondition.js +7 -1
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleCondition.js.map +1 -1
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorNotificationRule.js +2 -0
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorNotificationRule.js.map +1 -0
- package/build/dist/UI/Utils/{Telemetry.js → Telemetry/Telemetry.js} +1 -1
- package/build/dist/UI/Utils/Telemetry/Telemetry.js.map +1 -0
- package/package.json +2 -2
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorStatusNotificationRule.ts +0 -7
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorStatusNotificationRule.js +0 -2
- package/build/dist/Types/Workspace/NotificationRules/NotificationRuleTypes/MonitorStatusNotificationRule.js.map +0 -1
- package/build/dist/UI/Utils/Telemetry.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectUserService.js","sourceRoot":"","sources":["../../../../Server/Services/ProjectUserService.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,+BAA+B,CAAC;AAEtD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,0CAA0C,CAAC;AAC7D,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProjectUserService.js","sourceRoot":"","sources":["../../../../Server/Services/ProjectUserService.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,SAAS,MAAM,+BAA+B,CAAC;AAEtD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,0CAA0C,CAAC;AAC7D,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,WAAW,MAAM,gCAAgC,CAAC;AAEzD,MAAM,OAAO,OAAQ,SAAQ,eAAsB;IACjD;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IAGY,AAAN,KAAK,CAAC,4BAA4B,CAAC,IAEzC;QACC,+BAA+B;;QAE/B,gDAAgD;QAChD,MAAM,IAAI,CAAC,QAAQ,CAAC;YAClB,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI,CAAC,SAAS;aAC1B;YACD,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,CAAC;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;aACb;SACF,CAAC,CAAC;QAEH,mCAAmC;QACnC,MAAM,WAAW,GAAsB,MAAM,iBAAiB,CAAC,MAAM,CAAC;YACpE,KAAK,EAAE;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,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import { Blue500 } from "../../Types/BrandColors";
|
|
2
11
|
import OneUptimeDate from "../../Types/Date";
|
|
3
12
|
import BadDataException from "../../Types/Exception/BadDataException";
|
|
@@ -5,10 +14,8 @@ import { IsBillingEnabled } from "../EnvironmentConfig";
|
|
|
5
14
|
import logger from "../Utils/Logger";
|
|
6
15
|
import DatabaseService from "./DatabaseService";
|
|
7
16
|
import Model from "Common/Models/DatabaseModels/ScheduledMaintenanceFeed";
|
|
8
|
-
import NotificationRuleEventType from "../../Types/Workspace/NotificationRules/EventType";
|
|
9
|
-
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
10
|
-
import WorkspaceUtil from "../Utils/Workspace/Workspace";
|
|
11
17
|
import WorkspaceNotificationRuleService from "./WorkspaceNotificationRuleService";
|
|
18
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
12
19
|
export class Service extends DatabaseService {
|
|
13
20
|
constructor() {
|
|
14
21
|
super(Model);
|
|
@@ -17,7 +24,7 @@ export class Service extends DatabaseService {
|
|
|
17
24
|
}
|
|
18
25
|
}
|
|
19
26
|
async createScheduledMaintenanceFeedItem(data) {
|
|
20
|
-
var _a
|
|
27
|
+
var _a;
|
|
21
28
|
try {
|
|
22
29
|
if (!data.scheduledMaintenanceId) {
|
|
23
30
|
throw new BadDataException("Scheduled Maintenance ID is required");
|
|
@@ -61,50 +68,11 @@ export class Service extends DatabaseService {
|
|
|
61
68
|
try {
|
|
62
69
|
// send notification to slack and teams
|
|
63
70
|
if ((_a = data.workspaceNotification) === null || _a === void 0 ? void 0 : _a.sendWorkspaceNotification) {
|
|
64
|
-
|
|
65
|
-
// use markdown to create blocks
|
|
66
|
-
messageBlocksByWorkspaceTypes =
|
|
67
|
-
await WorkspaceUtil.getMessageBlocksByMarkdown({
|
|
68
|
-
userId: data.workspaceNotification.notifyUserId,
|
|
69
|
-
markdown: data.feedInfoInMarkdown,
|
|
70
|
-
projectId: data.projectId,
|
|
71
|
-
});
|
|
72
|
-
if (data.workspaceNotification.appendMessageBlocks) {
|
|
73
|
-
for (const messageBlocksByWorkspaceType of data
|
|
74
|
-
.workspaceNotification.appendMessageBlocks) {
|
|
75
|
-
const workspaceType = messageBlocksByWorkspaceType.workspaceType;
|
|
76
|
-
(_b = messageBlocksByWorkspaceTypes
|
|
77
|
-
.find((messageBlocksByWorkspaceType) => {
|
|
78
|
-
return (messageBlocksByWorkspaceType.workspaceType ===
|
|
79
|
-
workspaceType);
|
|
80
|
-
})) === null || _b === void 0 ? void 0 : _b.messageBlocks.push(...messageBlocksByWorkspaceType.messageBlocks);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
const workspaceNotificationPaylaods = [];
|
|
84
|
-
for (const messageBlocksByWorkspaceType of messageBlocksByWorkspaceTypes) {
|
|
85
|
-
const existingChannels = await WorkspaceNotificationRuleService.getExistingChannelNamesBasedOnEventType({
|
|
86
|
-
projectId: data.projectId,
|
|
87
|
-
notificationRuleEventType: NotificationRuleEventType.ScheduledMaintenance,
|
|
88
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
89
|
-
});
|
|
90
|
-
const scheduledMaintenanceChannels = await ScheduledMaintenanceService.getWorkspaceChannelForScheduledMaintenance({
|
|
91
|
-
scheduledMaintenanceId: data.scheduledMaintenanceId,
|
|
92
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
93
|
-
});
|
|
94
|
-
const workspaceMessagePayload = {
|
|
95
|
-
_type: "WorkspaceMessagePayload",
|
|
96
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
97
|
-
messageBlocks: messageBlocksByWorkspaceType.messageBlocks,
|
|
98
|
-
channelNames: existingChannels,
|
|
99
|
-
channelIds: scheduledMaintenanceChannels.map((channel) => {
|
|
100
|
-
return channel.id;
|
|
101
|
-
}) || [],
|
|
102
|
-
};
|
|
103
|
-
workspaceNotificationPaylaods.push(workspaceMessagePayload);
|
|
104
|
-
}
|
|
105
|
-
await WorkspaceUtil.postMessageToAllWorkspaceChannelsAsBot({
|
|
71
|
+
await this.sendWorkspaceNotification({
|
|
106
72
|
projectId: data.projectId,
|
|
107
|
-
|
|
73
|
+
scheduledMaintenanceId: data.scheduledMaintenanceId,
|
|
74
|
+
feedInfoInMarkdown: data.feedInfoInMarkdown,
|
|
75
|
+
workspaceNotification: data.workspaceNotification,
|
|
108
76
|
});
|
|
109
77
|
}
|
|
110
78
|
}
|
|
@@ -120,6 +88,28 @@ export class Service extends DatabaseService {
|
|
|
120
88
|
// we dont want to throw the error here, as this is not critical but we still log it.
|
|
121
89
|
}
|
|
122
90
|
}
|
|
91
|
+
async sendWorkspaceNotification(data) {
|
|
92
|
+
return await WorkspaceNotificationRuleService.sendWorkspaceMarkdownNotification({
|
|
93
|
+
projectId: data.projectId,
|
|
94
|
+
notificationFor: {
|
|
95
|
+
scheduledMaintenanceId: data.scheduledMaintenanceId,
|
|
96
|
+
},
|
|
97
|
+
feedInfoInMarkdown: data.feedInfoInMarkdown,
|
|
98
|
+
workspaceNotification: data.workspaceNotification,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
123
101
|
}
|
|
102
|
+
__decorate([
|
|
103
|
+
CaptureSpan(),
|
|
104
|
+
__metadata("design:type", Function),
|
|
105
|
+
__metadata("design:paramtypes", [Object]),
|
|
106
|
+
__metadata("design:returntype", Promise)
|
|
107
|
+
], Service.prototype, "createScheduledMaintenanceFeedItem", null);
|
|
108
|
+
__decorate([
|
|
109
|
+
CaptureSpan(),
|
|
110
|
+
__metadata("design:type", Function),
|
|
111
|
+
__metadata("design:paramtypes", [Object]),
|
|
112
|
+
__metadata("design:returntype", Promise)
|
|
113
|
+
], Service.prototype, "sendWorkspaceNotification", null);
|
|
124
114
|
export default new Service();
|
|
125
115
|
//# sourceMappingURL=ScheduledMaintenanceFeedService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledMaintenanceFeedService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceFeedService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAEN,MAAM,uDAAuD,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"ScheduledMaintenanceFeedService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceFeedService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;A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AC,CAAC;YACpB,qFAAqF;QACvF,CAAC;IACH,CAAC;IAGY,AAAN,KAAK,CAAC,yBAAyB,CAAC,IAStC;QACC,OAAO,MAAM,gCAAgC,CAAC,iCAAiC,CAC7E;YACE,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,eAAe,EAAE;gBACf,sBAAsB,EAAE,IAAI,CAAC,sBAAsB;aACpD;YACD,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CACF,CAAC;IACJ,CAAC;CACF;AArHc;IADZ,WAAW,EAAE;;;;iEA8Fb;AAGY;IADZ,WAAW,EAAE;;;;wDAqBb;AAGH,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import DatabaseService from "./DatabaseService";
|
|
2
11
|
import Model from "Common/Models/DatabaseModels/ScheduledMaintenanceInternalNote";
|
|
3
12
|
import ScheduledMaintenanceFeedService from "./ScheduledMaintenanceFeedService";
|
|
@@ -5,6 +14,7 @@ import { ScheduledMaintenanceFeedEventType } from "../../Models/DatabaseModels/S
|
|
|
5
14
|
import { Blue500 } from "../../Types/BrandColors";
|
|
6
15
|
import { LIMIT_PER_PROJECT } from "../../Types/Database/LimitMax";
|
|
7
16
|
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
17
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
8
18
|
export class Service extends DatabaseService {
|
|
9
19
|
constructor() {
|
|
10
20
|
super(Model);
|
|
@@ -91,5 +101,23 @@ ${updatedItem.note}
|
|
|
91
101
|
return onUpdate;
|
|
92
102
|
}
|
|
93
103
|
}
|
|
104
|
+
__decorate([
|
|
105
|
+
CaptureSpan(),
|
|
106
|
+
__metadata("design:type", Function),
|
|
107
|
+
__metadata("design:paramtypes", [Object]),
|
|
108
|
+
__metadata("design:returntype", Promise)
|
|
109
|
+
], Service.prototype, "addNote", null);
|
|
110
|
+
__decorate([
|
|
111
|
+
CaptureSpan(),
|
|
112
|
+
__metadata("design:type", Function),
|
|
113
|
+
__metadata("design:paramtypes", [Object, Model]),
|
|
114
|
+
__metadata("design:returntype", Promise)
|
|
115
|
+
], Service.prototype, "onCreateSuccess", null);
|
|
116
|
+
__decorate([
|
|
117
|
+
CaptureSpan(),
|
|
118
|
+
__metadata("design:type", Function),
|
|
119
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
120
|
+
__metadata("design:returntype", Promise)
|
|
121
|
+
], Service.prototype, "onUpdateSuccess", null);
|
|
94
122
|
export default new Service();
|
|
95
123
|
//# sourceMappingURL=ScheduledMaintenanceInternalNoteService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledMaintenanceInternalNoteService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceInternalNoteService.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,+DAA+D,CAAC;AAClF,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledMaintenanceInternalNoteService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceInternalNoteService.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,+DAA+D,CAAC;AAClF,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AACxE,OAAO,WAAW,MAAM,gCAAgC,CAAC;AAEzD,MAAM,OAAO,OAAQ,SAAQ,eAAsB;IACjD;QACE,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IAGY,AAAN,KAAK,CAAC,OAAO,CAAC,IAKpB;QACC,MAAM,YAAY,GAAU,IAAI,KAAK,EAAE,CAAC;QACxC,YAAY,CAAC,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3C,YAAY,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;QAClE,YAAY,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QACxC,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAE9B,OAAO,IAAI,CAAC,MAAM,CAAC;YACjB,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;aACb;SACF,CAAC,CAAC;IACL,CAAC;IAGqB,AAAN,KAAK,CAAC,eAAe,CACnC,SAA0B,EAC1B,WAAkB;;QAElB,MAAM,M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BACV,eAAe,EAAE,IAAI;oBACrB,aAAa,EAAE;wBACb,GAAG,EAAE,IAAI;qBACV;oBACD,oBAAoB,EAAE;wBACpB,0BAA0B,EAAE,IAAI;qBACjC;iBACF;aACF,CAAC,CAAC;YAEH,MAAM,MAAM,GACV,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;YAEjC,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;gBACvC,MAAM,oBAAoB,GACxB,WAAW,CAAC,oBAAqB,CAAC;gBAEpC,MAAM,+BAA+B,CAAC,kCAAkC,CACtE;oBACE,sBAAsB,EAAE,WAAW,CAAC,sBAAuB;oBAC3D,SAAS,EAAE,WAAW,CAAC,SAAU;oBACjC,iCAAiC,EAC/B,iCAAiC,CAAC,WAAW;oBAC/C,YAAY,EAAE,OAAO;oBACrB,MAAM,EAAE,MAAM,IAAI,SAAS;oBAE3B,kBAAkB,EAAE,+DAA+D,oBAAoB,CAAC,0BAA0B,KAAK,CAAC,MAAM,2BAA2B,CAAC,sCAAsC,CAAC,oBAAoB,CAAC,SAAU,EAAE,oBAAoB,CAAC,EAAG,CAAC,CAAC,CAAC,QAAQ,EAAE;;EAEjS,WAAW,CAAC,IAAI;mBACC;oBACP,qBAAqB,EAAE;wBACrB,yBAAyB,EAAE,IAAI;wBAC/B,YAAY,EAAE,MAAM,IAAI,SAAS;qBAClC;iBACF,CACF,CAAC;YACJ,CAAC;QACH,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAlHc;IADZ,WAAW,EAAE;;;;sCAmBb;AAGqB;IADrB,WAAW,EAAE;;6CAGC,KAAK;;8CAgCnB;AAGqB;IADrB,WAAW,EAAE;;6CAGK,KAAK;;8CAqDvB;AAGH,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import DatabaseService from "./DatabaseService";
|
|
2
11
|
import Model from "Common/Models/DatabaseModels/ScheduledMaintenanceOwnerTeam";
|
|
3
12
|
import TeamService from "./TeamService";
|
|
@@ -8,6 +17,7 @@ import NotificationRuleEventType from "../../Types/Workspace/NotificationRules/E
|
|
|
8
17
|
import WorkspaceNotificationRuleService from "./WorkspaceNotificationRuleService";
|
|
9
18
|
import logger from "../Utils/Logger";
|
|
10
19
|
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
20
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
11
21
|
export class Service extends DatabaseService {
|
|
12
22
|
constructor() {
|
|
13
23
|
super(Model);
|
|
@@ -115,5 +125,23 @@ export class Service extends DatabaseService {
|
|
|
115
125
|
return createdItem;
|
|
116
126
|
}
|
|
117
127
|
}
|
|
128
|
+
__decorate([
|
|
129
|
+
CaptureSpan(),
|
|
130
|
+
__metadata("design:type", Function),
|
|
131
|
+
__metadata("design:paramtypes", [Object]),
|
|
132
|
+
__metadata("design:returntype", Promise)
|
|
133
|
+
], Service.prototype, "onBeforeDelete", null);
|
|
134
|
+
__decorate([
|
|
135
|
+
CaptureSpan(),
|
|
136
|
+
__metadata("design:type", Function),
|
|
137
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
138
|
+
__metadata("design:returntype", Promise)
|
|
139
|
+
], Service.prototype, "onDeleteSuccess", null);
|
|
140
|
+
__decorate([
|
|
141
|
+
CaptureSpan(),
|
|
142
|
+
__metadata("design:type", Function),
|
|
143
|
+
__metadata("design:paramtypes", [Object, Model]),
|
|
144
|
+
__metadata("design:returntype", Promise)
|
|
145
|
+
], Service.prototype, "onCreateSuccess", null);
|
|
118
146
|
export default new Service();
|
|
119
147
|
//# sourceMappingURL=ScheduledMaintenanceOwnerTeamService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledMaintenanceOwnerTeamService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceOwnerTeamService.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,4DAA4D,CAAC;AAC/E,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG1D,OAAO,yBAAyB,MAAM,mDAAmD,CAAC;AAC1F,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAElF,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledMaintenanceOwnerTeamService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceOwnerTeamService.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,4DAA4D,CAAC;AAC/E,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO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,EAAE;;6CAGC,KAAK;;8CAsEnB;AAGH,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import DatabaseService from "./DatabaseService";
|
|
2
11
|
import Model from "Common/Models/DatabaseModels/ScheduledMaintenanceOwnerUser";
|
|
3
12
|
import UserService from "./UserService";
|
|
@@ -8,6 +17,7 @@ import WorkspaceNotificationRuleService from "./WorkspaceNotificationRuleService
|
|
|
8
17
|
import NotificationRuleEventType from "../../Types/Workspace/NotificationRules/EventType";
|
|
9
18
|
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
10
19
|
import logger from "../Utils/Logger";
|
|
20
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
11
21
|
export class Service extends DatabaseService {
|
|
12
22
|
constructor() {
|
|
13
23
|
super(Model);
|
|
@@ -108,5 +118,23 @@ export class Service extends DatabaseService {
|
|
|
108
118
|
return createdItem;
|
|
109
119
|
}
|
|
110
120
|
}
|
|
121
|
+
__decorate([
|
|
122
|
+
CaptureSpan(),
|
|
123
|
+
__metadata("design:type", Function),
|
|
124
|
+
__metadata("design:paramtypes", [Object]),
|
|
125
|
+
__metadata("design:returntype", Promise)
|
|
126
|
+
], Service.prototype, "onBeforeDelete", null);
|
|
127
|
+
__decorate([
|
|
128
|
+
CaptureSpan(),
|
|
129
|
+
__metadata("design:type", Function),
|
|
130
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
131
|
+
__metadata("design:returntype", Promise)
|
|
132
|
+
], Service.prototype, "onDeleteSuccess", null);
|
|
133
|
+
__decorate([
|
|
134
|
+
CaptureSpan(),
|
|
135
|
+
__metadata("design:type", Function),
|
|
136
|
+
__metadata("design:paramtypes", [Object, Model]),
|
|
137
|
+
__metadata("design:returntype", Promise)
|
|
138
|
+
], Service.prototype, "onCreateSuccess", null);
|
|
111
139
|
export default new Service();
|
|
112
140
|
//# sourceMappingURL=ScheduledMaintenanceOwnerUserService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledMaintenanceOwnerUserService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceOwnerUserService.ts"],"names":[],"mappings":"AAIA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,4DAA4D,CAAC;AAC/E,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,gCAAgC,MAAM,oCAAoC,CAAC;AAClF,OAAO,yBAAyB,MAAM,mDAAmD,CAAC;AAC1F,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AACxE,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledMaintenanceOwnerUserService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenanceOwnerUserService.ts"],"names":[],"mappings":";;;;;;;;;AAIA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD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AGqB;IADrB,WAAW,EAAE;;6CAGC,KAAK;;8CA8DnB;AAGH,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import DatabaseService from "./DatabaseService";
|
|
2
11
|
import OneUptimeDate from "../../Types/Date";
|
|
3
12
|
import Model from "Common/Models/DatabaseModels/ScheduledMaintenancePublicNote";
|
|
@@ -6,6 +15,7 @@ import { ScheduledMaintenanceFeedEventType } from "../../Models/DatabaseModels/S
|
|
|
6
15
|
import { Blue500, Indigo500 } from "../../Types/BrandColors";
|
|
7
16
|
import { LIMIT_PER_PROJECT } from "../../Types/Database/LimitMax";
|
|
8
17
|
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
18
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
9
19
|
export class Service extends DatabaseService {
|
|
10
20
|
constructor() {
|
|
11
21
|
super(Model);
|
|
@@ -100,5 +110,29 @@ ${updatedItem.note}
|
|
|
100
110
|
});
|
|
101
111
|
}
|
|
102
112
|
}
|
|
113
|
+
__decorate([
|
|
114
|
+
CaptureSpan(),
|
|
115
|
+
__metadata("design:type", Function),
|
|
116
|
+
__metadata("design:paramtypes", [Object]),
|
|
117
|
+
__metadata("design:returntype", Promise)
|
|
118
|
+
], Service.prototype, "onBeforeCreate", null);
|
|
119
|
+
__decorate([
|
|
120
|
+
CaptureSpan(),
|
|
121
|
+
__metadata("design:type", Function),
|
|
122
|
+
__metadata("design:paramtypes", [Object, Model]),
|
|
123
|
+
__metadata("design:returntype", Promise)
|
|
124
|
+
], Service.prototype, "onCreateSuccess", null);
|
|
125
|
+
__decorate([
|
|
126
|
+
CaptureSpan(),
|
|
127
|
+
__metadata("design:type", Function),
|
|
128
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
129
|
+
__metadata("design:returntype", Promise)
|
|
130
|
+
], Service.prototype, "onUpdateSuccess", null);
|
|
131
|
+
__decorate([
|
|
132
|
+
CaptureSpan(),
|
|
133
|
+
__metadata("design:type", Function),
|
|
134
|
+
__metadata("design:paramtypes", [Object]),
|
|
135
|
+
__metadata("design:returntype", Promise)
|
|
136
|
+
], Service.prototype, "addNote", null);
|
|
103
137
|
export default new Service();
|
|
104
138
|
//# sourceMappingURL=ScheduledMaintenancePublicNoteService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledMaintenancePublicNoteService.js","sourceRoot":"","sources":["../../../../Server/Services/ScheduledMaintenancePublicNoteService.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,6DAA6D,CAAC;AAChF,OAAO,+BAA+B,MAAM,mCAAmC,CAAC;AAEhF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledMaintenanceP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AGqB;IADrB,WAAW,EAAE;;6CAGK,KAAK;;8CAkDvB;AAGY;IADZ,WAAW,EAAE;;;;sCAoBb;AAGH,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
1
10
|
import DatabaseConfig from "../DatabaseConfig";
|
|
2
11
|
import DatabaseService from "./DatabaseService";
|
|
3
12
|
import MonitorService from "./MonitorService";
|
|
@@ -37,6 +46,7 @@ import { ScheduledMaintenanceFeedEventType } from "../../Models/DatabaseModels/S
|
|
|
37
46
|
import { Gray500, Red500 } from "../../Types/BrandColors";
|
|
38
47
|
import LabelService from "./LabelService";
|
|
39
48
|
import ScheduledMaintenanceWorkspaceMessages from "../Utils/Workspace/WorkspaceMessages/ScheduledMaintenance";
|
|
49
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
40
50
|
export class Service extends DatabaseService {
|
|
41
51
|
constructor() {
|
|
42
52
|
super(Model);
|
|
@@ -63,7 +73,9 @@ export class Service extends DatabaseService {
|
|
|
63
73
|
if (!lastScheduledMaintenance) {
|
|
64
74
|
return 0;
|
|
65
75
|
}
|
|
66
|
-
return lastScheduledMaintenance.scheduledMaintenanceNumber
|
|
76
|
+
return lastScheduledMaintenance.scheduledMaintenanceNumber
|
|
77
|
+
? Number(lastScheduledMaintenance.scheduledMaintenanceNumber)
|
|
78
|
+
: 0;
|
|
67
79
|
}
|
|
68
80
|
async notififySubscribersOnEventScheduled(scheduledEvents) {
|
|
69
81
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -367,6 +379,9 @@ export class Service extends DatabaseService {
|
|
|
367
379
|
name: true,
|
|
368
380
|
_id: true,
|
|
369
381
|
},
|
|
382
|
+
labels: {
|
|
383
|
+
name: true,
|
|
384
|
+
},
|
|
370
385
|
},
|
|
371
386
|
props: {
|
|
372
387
|
isRoot: true,
|
|
@@ -852,7 +867,9 @@ ${labels
|
|
|
852
867
|
if (!scheduledMaintenance) {
|
|
853
868
|
throw new BadDataException("ScheduledMaintenance not found.");
|
|
854
869
|
}
|
|
855
|
-
return scheduledMaintenance.scheduledMaintenanceNumber
|
|
870
|
+
return scheduledMaintenance.scheduledMaintenanceNumber
|
|
871
|
+
? Number(scheduledMaintenance.scheduledMaintenanceNumber)
|
|
872
|
+
: null;
|
|
856
873
|
}
|
|
857
874
|
async isScheduledMaintenanceOngoing(data) {
|
|
858
875
|
const scheduledMaintenance = await this.findOneBy({
|
|
@@ -1001,5 +1018,125 @@ ${labels
|
|
|
1001
1018
|
});
|
|
1002
1019
|
}
|
|
1003
1020
|
}
|
|
1021
|
+
__decorate([
|
|
1022
|
+
CaptureSpan(),
|
|
1023
|
+
__metadata("design:type", Function),
|
|
1024
|
+
__metadata("design:paramtypes", [Object]),
|
|
1025
|
+
__metadata("design:returntype", Promise)
|
|
1026
|
+
], Service.prototype, "getExistingScheduledMaintenanceNumberForProject", null);
|
|
1027
|
+
__decorate([
|
|
1028
|
+
CaptureSpan(),
|
|
1029
|
+
__metadata("design:type", Function),
|
|
1030
|
+
__metadata("design:paramtypes", [Array]),
|
|
1031
|
+
__metadata("design:returntype", Promise)
|
|
1032
|
+
], Service.prototype, "notififySubscribersOnEventScheduled", null);
|
|
1033
|
+
__decorate([
|
|
1034
|
+
CaptureSpan(),
|
|
1035
|
+
__metadata("design:type", Function),
|
|
1036
|
+
__metadata("design:paramtypes", [Object]),
|
|
1037
|
+
__metadata("design:returntype", Promise)
|
|
1038
|
+
], Service.prototype, "onBeforeUpdate", null);
|
|
1039
|
+
__decorate([
|
|
1040
|
+
CaptureSpan(),
|
|
1041
|
+
__metadata("design:type", Function),
|
|
1042
|
+
__metadata("design:paramtypes", [Object]),
|
|
1043
|
+
__metadata("design:returntype", Promise)
|
|
1044
|
+
], Service.prototype, "onBeforeDelete", null);
|
|
1045
|
+
__decorate([
|
|
1046
|
+
CaptureSpan(),
|
|
1047
|
+
__metadata("design:type", Function),
|
|
1048
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
1049
|
+
__metadata("design:returntype", Promise)
|
|
1050
|
+
], Service.prototype, "onDeleteSuccess", null);
|
|
1051
|
+
__decorate([
|
|
1052
|
+
CaptureSpan(),
|
|
1053
|
+
__metadata("design:type", Function),
|
|
1054
|
+
__metadata("design:paramtypes", [Object]),
|
|
1055
|
+
__metadata("design:returntype", Promise)
|
|
1056
|
+
], Service.prototype, "onBeforeCreate", null);
|
|
1057
|
+
__decorate([
|
|
1058
|
+
CaptureSpan(),
|
|
1059
|
+
__metadata("design:type", Function),
|
|
1060
|
+
__metadata("design:paramtypes", [Object, Model]),
|
|
1061
|
+
__metadata("design:returntype", Promise)
|
|
1062
|
+
], Service.prototype, "onCreateSuccess", null);
|
|
1063
|
+
__decorate([
|
|
1064
|
+
CaptureSpan(),
|
|
1065
|
+
__metadata("design:type", Function),
|
|
1066
|
+
__metadata("design:paramtypes", [ObjectID,
|
|
1067
|
+
ObjectID,
|
|
1068
|
+
Array,
|
|
1069
|
+
Array, Boolean, Object]),
|
|
1070
|
+
__metadata("design:returntype", Promise)
|
|
1071
|
+
], Service.prototype, "addOwners", null);
|
|
1072
|
+
__decorate([
|
|
1073
|
+
CaptureSpan(),
|
|
1074
|
+
__metadata("design:type", Function),
|
|
1075
|
+
__metadata("design:paramtypes", [ObjectID,
|
|
1076
|
+
ObjectID]),
|
|
1077
|
+
__metadata("design:returntype", Promise)
|
|
1078
|
+
], Service.prototype, "getScheduledMaintenanceLinkInDashboard", null);
|
|
1079
|
+
__decorate([
|
|
1080
|
+
CaptureSpan(),
|
|
1081
|
+
__metadata("design:type", Function),
|
|
1082
|
+
__metadata("design:paramtypes", [ObjectID]),
|
|
1083
|
+
__metadata("design:returntype", Promise)
|
|
1084
|
+
], Service.prototype, "findOwners", null);
|
|
1085
|
+
__decorate([
|
|
1086
|
+
CaptureSpan(),
|
|
1087
|
+
__metadata("design:type", Function),
|
|
1088
|
+
__metadata("design:paramtypes", [Model, Object]),
|
|
1089
|
+
__metadata("design:returntype", Promise)
|
|
1090
|
+
], Service.prototype, "changeAttachedMonitorStates", null);
|
|
1091
|
+
__decorate([
|
|
1092
|
+
CaptureSpan(),
|
|
1093
|
+
__metadata("design:type", Function),
|
|
1094
|
+
__metadata("design:paramtypes", [Object, Array]),
|
|
1095
|
+
__metadata("design:returntype", Promise)
|
|
1096
|
+
], Service.prototype, "onUpdateSuccess", null);
|
|
1097
|
+
__decorate([
|
|
1098
|
+
CaptureSpan(),
|
|
1099
|
+
__metadata("design:type", Function),
|
|
1100
|
+
__metadata("design:paramtypes", [Object]),
|
|
1101
|
+
__metadata("design:returntype", Promise)
|
|
1102
|
+
], Service.prototype, "changeScheduledMaintenanceState", null);
|
|
1103
|
+
__decorate([
|
|
1104
|
+
CaptureSpan(),
|
|
1105
|
+
__metadata("design:type", Function),
|
|
1106
|
+
__metadata("design:paramtypes", [Object]),
|
|
1107
|
+
__metadata("design:returntype", Promise)
|
|
1108
|
+
], Service.prototype, "isScheduledMaintenanceCompleted", null);
|
|
1109
|
+
__decorate([
|
|
1110
|
+
CaptureSpan(),
|
|
1111
|
+
__metadata("design:type", Function),
|
|
1112
|
+
__metadata("design:paramtypes", [Object]),
|
|
1113
|
+
__metadata("design:returntype", Promise)
|
|
1114
|
+
], Service.prototype, "getScheduledMaintenanceNumber", null);
|
|
1115
|
+
__decorate([
|
|
1116
|
+
CaptureSpan(),
|
|
1117
|
+
__metadata("design:type", Function),
|
|
1118
|
+
__metadata("design:paramtypes", [Object]),
|
|
1119
|
+
__metadata("design:returntype", Promise)
|
|
1120
|
+
], Service.prototype, "isScheduledMaintenanceOngoing", null);
|
|
1121
|
+
__decorate([
|
|
1122
|
+
CaptureSpan(),
|
|
1123
|
+
__metadata("design:type", Function),
|
|
1124
|
+
__metadata("design:paramtypes", [ObjectID,
|
|
1125
|
+
ObjectID]),
|
|
1126
|
+
__metadata("design:returntype", Promise)
|
|
1127
|
+
], Service.prototype, "markScheduledMaintenanceAsComplete", null);
|
|
1128
|
+
__decorate([
|
|
1129
|
+
CaptureSpan(),
|
|
1130
|
+
__metadata("design:type", Function),
|
|
1131
|
+
__metadata("design:paramtypes", [ObjectID,
|
|
1132
|
+
ObjectID]),
|
|
1133
|
+
__metadata("design:returntype", Promise)
|
|
1134
|
+
], Service.prototype, "markScheduledMaintenanceAsOngoing", null);
|
|
1135
|
+
__decorate([
|
|
1136
|
+
CaptureSpan(),
|
|
1137
|
+
__metadata("design:type", Function),
|
|
1138
|
+
__metadata("design:paramtypes", [Object]),
|
|
1139
|
+
__metadata("design:returntype", Promise)
|
|
1140
|
+
], Service.prototype, "getWorkspaceChannelForScheduledMaintenance", null);
|
|
1004
1141
|
export default new Service();
|
|
1005
1142
|
//# sourceMappingURL=ScheduledMaintenanceService.js.map
|