@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
|
@@ -15,6 +15,7 @@ import BadDataException from "../../Types/Exception/BadDataException";
|
|
|
15
15
|
import ProductType from "../../Types/MeteredPlan/ProductType";
|
|
16
16
|
import ObjectID from "../../Types/ObjectID";
|
|
17
17
|
import Stripe from "stripe";
|
|
18
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
18
19
|
|
|
19
20
|
export type SubscriptionItem = Stripe.SubscriptionItem;
|
|
20
21
|
|
|
@@ -49,6 +50,7 @@ export class BillingService extends BaseService {
|
|
|
49
50
|
});
|
|
50
51
|
|
|
51
52
|
// returns billing id of the customer.
|
|
53
|
+
@CaptureSpan()
|
|
52
54
|
public async createCustomer(data: {
|
|
53
55
|
name: string;
|
|
54
56
|
id: ObjectID;
|
|
@@ -68,6 +70,7 @@ export class BillingService extends BaseService {
|
|
|
68
70
|
return customer.id;
|
|
69
71
|
}
|
|
70
72
|
|
|
73
|
+
@CaptureSpan()
|
|
71
74
|
public async updateCustomerName(id: string, newName: string): Promise<void> {
|
|
72
75
|
if (!this.isBillingEnabled()) {
|
|
73
76
|
throw new BadDataException(Errors.BillingService.BILLING_NOT_ENABLED);
|
|
@@ -76,6 +79,7 @@ export class BillingService extends BaseService {
|
|
|
76
79
|
await this.stripe.customers.update(id, { name: newName });
|
|
77
80
|
}
|
|
78
81
|
|
|
82
|
+
@CaptureSpan()
|
|
79
83
|
public async deleteCustomer(id: string): Promise<void> {
|
|
80
84
|
if (!this.isBillingEnabled()) {
|
|
81
85
|
throw new BadDataException(Errors.BillingService.BILLING_NOT_ENABLED);
|
|
@@ -92,6 +96,7 @@ export class BillingService extends BaseService {
|
|
|
92
96
|
return SubscriptionStatusUtil.isSubscriptionActive(status);
|
|
93
97
|
}
|
|
94
98
|
|
|
99
|
+
@CaptureSpan()
|
|
95
100
|
public async subscribeToMeteredPlan(data: {
|
|
96
101
|
projectId: ObjectID;
|
|
97
102
|
customerId: string;
|
|
@@ -149,6 +154,7 @@ export class BillingService extends BaseService {
|
|
|
149
154
|
return BillingPrivateKey.startsWith("sk_test");
|
|
150
155
|
}
|
|
151
156
|
|
|
157
|
+
@CaptureSpan()
|
|
152
158
|
public async generateCouponCode(data: {
|
|
153
159
|
name: string;
|
|
154
160
|
metadata?: Dictionary<string> | undefined;
|
|
@@ -168,6 +174,7 @@ export class BillingService extends BaseService {
|
|
|
168
174
|
return coupon.id;
|
|
169
175
|
}
|
|
170
176
|
|
|
177
|
+
@CaptureSpan()
|
|
171
178
|
public async subscribeToPlan(data: {
|
|
172
179
|
projectId: ObjectID;
|
|
173
180
|
customerId: string;
|
|
@@ -247,6 +254,7 @@ export class BillingService extends BaseService {
|
|
|
247
254
|
};
|
|
248
255
|
}
|
|
249
256
|
|
|
257
|
+
@CaptureSpan()
|
|
250
258
|
public async changeQuantity(
|
|
251
259
|
subscriptionId: string,
|
|
252
260
|
quantity: number,
|
|
@@ -285,6 +293,7 @@ export class BillingService extends BaseService {
|
|
|
285
293
|
});
|
|
286
294
|
}
|
|
287
295
|
|
|
296
|
+
@CaptureSpan()
|
|
288
297
|
public async addOrUpdateMeteredPricingOnSubscription(
|
|
289
298
|
subscriptionId: string,
|
|
290
299
|
serverMeteredPlan: ServerMeteredPlan,
|
|
@@ -351,6 +360,7 @@ export class BillingService extends BaseService {
|
|
|
351
360
|
// complete.
|
|
352
361
|
}
|
|
353
362
|
|
|
363
|
+
@CaptureSpan()
|
|
354
364
|
public async isPromoCodeValid(promoCode: string): Promise<boolean> {
|
|
355
365
|
if (!this.isBillingEnabled()) {
|
|
356
366
|
throw new BadDataException(Errors.BillingService.BILLING_NOT_ENABLED);
|
|
@@ -371,6 +381,7 @@ export class BillingService extends BaseService {
|
|
|
371
381
|
}
|
|
372
382
|
}
|
|
373
383
|
|
|
384
|
+
@CaptureSpan()
|
|
374
385
|
public async removeSubscriptionItem(
|
|
375
386
|
subscriptionId: string,
|
|
376
387
|
subscriptionItemId: string,
|
|
@@ -406,6 +417,7 @@ export class BillingService extends BaseService {
|
|
|
406
417
|
);
|
|
407
418
|
}
|
|
408
419
|
|
|
420
|
+
@CaptureSpan()
|
|
409
421
|
public async getSubscriptionItems(
|
|
410
422
|
subscriptionId: string,
|
|
411
423
|
): Promise<Array<SubscriptionItem>> {
|
|
@@ -423,6 +435,7 @@ export class BillingService extends BaseService {
|
|
|
423
435
|
return subscription.items.data;
|
|
424
436
|
}
|
|
425
437
|
|
|
438
|
+
@CaptureSpan()
|
|
426
439
|
public async changePlan(data: {
|
|
427
440
|
projectId: ObjectID;
|
|
428
441
|
subscriptionId: string;
|
|
@@ -518,6 +531,7 @@ export class BillingService extends BaseService {
|
|
|
518
531
|
return value;
|
|
519
532
|
}
|
|
520
533
|
|
|
534
|
+
@CaptureSpan()
|
|
521
535
|
public async deletePaymentMethod(
|
|
522
536
|
customerId: string,
|
|
523
537
|
paymentMethodId: string,
|
|
@@ -538,6 +552,7 @@ export class BillingService extends BaseService {
|
|
|
538
552
|
await this.stripe.paymentMethods.detach(paymentMethodId);
|
|
539
553
|
}
|
|
540
554
|
|
|
555
|
+
@CaptureSpan()
|
|
541
556
|
public async hasPaymentMethods(customerId: string): Promise<boolean> {
|
|
542
557
|
if ((await this.getPaymentMethods(customerId)).length > 0) {
|
|
543
558
|
return true;
|
|
@@ -546,6 +561,7 @@ export class BillingService extends BaseService {
|
|
|
546
561
|
return false;
|
|
547
562
|
}
|
|
548
563
|
|
|
564
|
+
@CaptureSpan()
|
|
549
565
|
public async setDefaultPaymentMethod(
|
|
550
566
|
customerId: string,
|
|
551
567
|
paymentMethodId: string,
|
|
@@ -557,6 +573,7 @@ export class BillingService extends BaseService {
|
|
|
557
573
|
});
|
|
558
574
|
}
|
|
559
575
|
|
|
576
|
+
@CaptureSpan()
|
|
560
577
|
public async getPaymentMethods(
|
|
561
578
|
customerId: string,
|
|
562
579
|
): Promise<Array<PaymentMethod>> {
|
|
@@ -643,6 +660,7 @@ export class BillingService extends BaseService {
|
|
|
643
660
|
return paymentMethods;
|
|
644
661
|
}
|
|
645
662
|
|
|
663
|
+
@CaptureSpan()
|
|
646
664
|
public async getSetupIntentSecret(customerId: string): Promise<string> {
|
|
647
665
|
const setupIntent: Stripe.Response<Stripe.SetupIntent> =
|
|
648
666
|
await this.stripe.setupIntents.create({
|
|
@@ -656,6 +674,7 @@ export class BillingService extends BaseService {
|
|
|
656
674
|
return setupIntent.client_secret;
|
|
657
675
|
}
|
|
658
676
|
|
|
677
|
+
@CaptureSpan()
|
|
659
678
|
public async cancelSubscription(subscriptionId: string): Promise<void> {
|
|
660
679
|
if (!this.isBillingEnabled()) {
|
|
661
680
|
throw new BadDataException(Errors.BillingService.BILLING_NOT_ENABLED);
|
|
@@ -667,6 +686,7 @@ export class BillingService extends BaseService {
|
|
|
667
686
|
}
|
|
668
687
|
}
|
|
669
688
|
|
|
689
|
+
@CaptureSpan()
|
|
670
690
|
public async getSubscriptionStatus(
|
|
671
691
|
subscriptionId: string,
|
|
672
692
|
): Promise<SubscriptionStatus> {
|
|
@@ -675,6 +695,7 @@ export class BillingService extends BaseService {
|
|
|
675
695
|
return subscription.status as SubscriptionStatus;
|
|
676
696
|
}
|
|
677
697
|
|
|
698
|
+
@CaptureSpan()
|
|
678
699
|
public async getSubscription(
|
|
679
700
|
subscriptionId: string,
|
|
680
701
|
): Promise<Stripe.Subscription> {
|
|
@@ -688,6 +709,7 @@ export class BillingService extends BaseService {
|
|
|
688
709
|
return subscription;
|
|
689
710
|
}
|
|
690
711
|
|
|
712
|
+
@CaptureSpan()
|
|
691
713
|
public async getInvoices(customerId: string): Promise<Array<Invoice>> {
|
|
692
714
|
const invoices: Stripe.ApiList<Stripe.Invoice> =
|
|
693
715
|
await this.stripe.invoices.list({
|
|
@@ -721,6 +743,7 @@ export class BillingService extends BaseService {
|
|
|
721
743
|
return billingInvoices;
|
|
722
744
|
}
|
|
723
745
|
|
|
746
|
+
@CaptureSpan()
|
|
724
747
|
public async generateInvoiceAndChargeCustomer(
|
|
725
748
|
customerId: string,
|
|
726
749
|
itemText: string,
|
|
@@ -754,6 +777,7 @@ export class BillingService extends BaseService {
|
|
|
754
777
|
}
|
|
755
778
|
}
|
|
756
779
|
|
|
780
|
+
@CaptureSpan()
|
|
757
781
|
public async voidInvoice(invoiceId: string): Promise<Stripe.Invoice> {
|
|
758
782
|
const invoice: Stripe.Invoice =
|
|
759
783
|
await this.stripe.invoices.voidInvoice(invoiceId);
|
|
@@ -761,6 +785,7 @@ export class BillingService extends BaseService {
|
|
|
761
785
|
return invoice;
|
|
762
786
|
}
|
|
763
787
|
|
|
788
|
+
@CaptureSpan()
|
|
764
789
|
public async payInvoice(
|
|
765
790
|
customerId: string,
|
|
766
791
|
invoiceId: string,
|
|
@@ -11,12 +11,14 @@ import TwilioConfig from "../../Types/CallAndSMS/TwilioConfig";
|
|
|
11
11
|
import { JSONObject } from "../../Types/JSON";
|
|
12
12
|
import ObjectID from "../../Types/ObjectID";
|
|
13
13
|
import API from "Common/Utils/API";
|
|
14
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
14
15
|
|
|
15
16
|
export class CallService extends BaseService {
|
|
16
17
|
public constructor() {
|
|
17
18
|
super();
|
|
18
19
|
}
|
|
19
20
|
|
|
21
|
+
@CaptureSpan()
|
|
20
22
|
public async makeCall(
|
|
21
23
|
callRequest: CallRequest,
|
|
22
24
|
options: {
|
|
@@ -5,12 +5,13 @@ import CreateBy from "../Types/Database/CreateBy";
|
|
|
5
5
|
import { OnCreate } from "../Types/Database/Hooks";
|
|
6
6
|
import DatabaseService from "./DatabaseService";
|
|
7
7
|
import Model from "Common/Models/DatabaseModels/CopilotActionTypePriority";
|
|
8
|
-
|
|
8
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
9
9
|
export class Service extends DatabaseService<Model> {
|
|
10
10
|
public constructor() {
|
|
11
11
|
super(Model);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@CaptureSpan()
|
|
14
15
|
protected override async onBeforeCreate(
|
|
15
16
|
createBy: CreateBy<Model>,
|
|
16
17
|
): Promise<OnCreate<Model>> {
|
|
@@ -9,12 +9,13 @@ import {
|
|
|
9
9
|
} from "../../Types/Copilot/CopilotActionType";
|
|
10
10
|
import CopilotActionTypePriority from "../../Models/DatabaseModels/CopilotActionTypePriority";
|
|
11
11
|
import CopilotActionTypePriorityService from "./CopilotActionTypePriorityService";
|
|
12
|
-
|
|
12
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
13
13
|
export class Service extends DatabaseService<Model> {
|
|
14
14
|
public constructor() {
|
|
15
15
|
super(Model);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
@CaptureSpan()
|
|
18
19
|
protected override async onBeforeCreate(
|
|
19
20
|
createBy: CreateBy<Model>,
|
|
20
21
|
): Promise<OnCreate<Model>> {
|
|
@@ -26,6 +27,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
@CaptureSpan()
|
|
29
31
|
protected override async onCreateSuccess(
|
|
30
32
|
_onCreate: OnCreate<Model>,
|
|
31
33
|
createdItem: Model,
|
|
@@ -6,12 +6,13 @@ import Model from "Common/Models/DatabaseModels/Dashboard";
|
|
|
6
6
|
import { IsBillingEnabled } from "../EnvironmentConfig";
|
|
7
7
|
import { PlanType } from "../../Types/Billing/SubscriptionPlan";
|
|
8
8
|
import DashboardViewConfigUtil from "../../Utils/Dashboard/DashboardViewConfig";
|
|
9
|
-
|
|
9
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
10
10
|
export class Service extends DatabaseService<Model> {
|
|
11
11
|
public constructor() {
|
|
12
12
|
super(Model);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
@CaptureSpan()
|
|
15
16
|
protected override async onBeforeCreate(
|
|
16
17
|
createBy: CreateBy<Model>,
|
|
17
18
|
): Promise<OnCreate<Model>> {
|
|
@@ -62,6 +62,7 @@ import { DataSource, Repository, SelectQueryBuilder } from "typeorm";
|
|
|
62
62
|
import { FindWhere } from "../../Types/BaseDatabase/Query";
|
|
63
63
|
import Realtime from "../Utils/Realtime";
|
|
64
64
|
import ModelEventType from "../../Types/Realtime/ModelEventType";
|
|
65
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
65
66
|
|
|
66
67
|
class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
67
68
|
public modelType!: { new (): TBaseModel };
|
|
@@ -526,6 +527,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
526
527
|
return data;
|
|
527
528
|
}
|
|
528
529
|
|
|
530
|
+
@CaptureSpan()
|
|
529
531
|
public async onTriggerRealtime(
|
|
530
532
|
modelId: ObjectID,
|
|
531
533
|
projectId: ObjectID,
|
|
@@ -577,6 +579,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
577
579
|
}
|
|
578
580
|
}
|
|
579
581
|
|
|
582
|
+
@CaptureSpan()
|
|
580
583
|
public async onTriggerWorkflow(
|
|
581
584
|
id: ObjectID,
|
|
582
585
|
projectId: ObjectID,
|
|
@@ -609,6 +612,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
609
612
|
}
|
|
610
613
|
}
|
|
611
614
|
|
|
615
|
+
@CaptureSpan()
|
|
612
616
|
public async create(createBy: CreateBy<TBaseModel>): Promise<TBaseModel> {
|
|
613
617
|
const onCreate: OnCreate<TBaseModel> = createBy.props.ignoreHooks
|
|
614
618
|
? { createBy, carryForward: [] }
|
|
@@ -829,6 +833,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
829
833
|
return Promise.resolve(createBy);
|
|
830
834
|
}
|
|
831
835
|
|
|
836
|
+
@CaptureSpan()
|
|
832
837
|
public async countBy({
|
|
833
838
|
query,
|
|
834
839
|
skip,
|
|
@@ -905,6 +910,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
905
910
|
}
|
|
906
911
|
}
|
|
907
912
|
|
|
913
|
+
@CaptureSpan()
|
|
908
914
|
public async deleteOneById(deleteById: DeleteById): Promise<number> {
|
|
909
915
|
await ModelPermission.checkDeletePermissionByModel({
|
|
910
916
|
modelType: this.modelType,
|
|
@@ -940,16 +946,19 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
940
946
|
});
|
|
941
947
|
}
|
|
942
948
|
|
|
949
|
+
@CaptureSpan()
|
|
943
950
|
public async deleteOneBy(
|
|
944
951
|
deleteOneBy: DeleteOneBy<TBaseModel>,
|
|
945
952
|
): Promise<number> {
|
|
946
953
|
return await this._deleteBy({ ...deleteOneBy, limit: 1, skip: 0 });
|
|
947
954
|
}
|
|
948
955
|
|
|
956
|
+
@CaptureSpan()
|
|
949
957
|
public async deleteBy(deleteBy: DeleteBy<TBaseModel>): Promise<number> {
|
|
950
958
|
return await this._deleteBy(deleteBy);
|
|
951
959
|
}
|
|
952
960
|
|
|
961
|
+
@CaptureSpan()
|
|
953
962
|
public async hardDeleteBy(deleteBy: DeleteBy<TBaseModel>): Promise<number> {
|
|
954
963
|
try {
|
|
955
964
|
const onDelete: OnDelete<TBaseModel> = deleteBy.props.ignoreHooks
|
|
@@ -1125,6 +1134,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1125
1134
|
}
|
|
1126
1135
|
}
|
|
1127
1136
|
|
|
1137
|
+
@CaptureSpan()
|
|
1128
1138
|
public async findBy(findBy: FindBy<TBaseModel>): Promise<Array<TBaseModel>> {
|
|
1129
1139
|
return await this._findBy(findBy);
|
|
1130
1140
|
}
|
|
@@ -1293,6 +1303,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1293
1303
|
return items;
|
|
1294
1304
|
}
|
|
1295
1305
|
|
|
1306
|
+
@CaptureSpan()
|
|
1296
1307
|
public async findOneBy(
|
|
1297
1308
|
findOneBy: FindOneBy<TBaseModel>,
|
|
1298
1309
|
): Promise<TBaseModel | null> {
|
|
@@ -1308,6 +1319,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1308
1319
|
return null;
|
|
1309
1320
|
}
|
|
1310
1321
|
|
|
1322
|
+
@CaptureSpan()
|
|
1311
1323
|
public async findOneById(
|
|
1312
1324
|
findOneById: FindOneByID<TBaseModel>,
|
|
1313
1325
|
): Promise<TBaseModel | null> {
|
|
@@ -1468,16 +1480,19 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1468
1480
|
return true;
|
|
1469
1481
|
}
|
|
1470
1482
|
|
|
1483
|
+
@CaptureSpan()
|
|
1471
1484
|
public async updateOneBy(
|
|
1472
1485
|
updateOneBy: UpdateOneBy<TBaseModel>,
|
|
1473
1486
|
): Promise<number> {
|
|
1474
1487
|
return await this._updateBy({ ...updateOneBy, limit: 1, skip: 0 });
|
|
1475
1488
|
}
|
|
1476
1489
|
|
|
1490
|
+
@CaptureSpan()
|
|
1477
1491
|
public async updateBy(updateBy: UpdateBy<TBaseModel>): Promise<number> {
|
|
1478
1492
|
return await this._updateBy(updateBy);
|
|
1479
1493
|
}
|
|
1480
1494
|
|
|
1495
|
+
@CaptureSpan()
|
|
1481
1496
|
public async updateOneById(
|
|
1482
1497
|
updateById: UpdateByID<TBaseModel>,
|
|
1483
1498
|
): Promise<void> {
|
|
@@ -1519,6 +1534,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1519
1534
|
});
|
|
1520
1535
|
}
|
|
1521
1536
|
|
|
1537
|
+
@CaptureSpan()
|
|
1522
1538
|
public async updateOneByIdAndFetch(
|
|
1523
1539
|
updateById: UpdateByIDAndFetch<TBaseModel>,
|
|
1524
1540
|
): Promise<TBaseModel | null> {
|
|
@@ -1530,6 +1546,7 @@ class DatabaseService<TBaseModel extends BaseModel> extends BaseService {
|
|
|
1530
1546
|
});
|
|
1531
1547
|
}
|
|
1532
1548
|
|
|
1549
|
+
@CaptureSpan()
|
|
1533
1550
|
public async searchBy({
|
|
1534
1551
|
skip,
|
|
1535
1552
|
limit,
|
|
@@ -6,12 +6,13 @@ import DatabaseService from "./DatabaseService";
|
|
|
6
6
|
import BadDataException from "../../Types/Exception/BadDataException";
|
|
7
7
|
import Text from "../../Types/Text";
|
|
8
8
|
import Model from "Common/Models/DatabaseModels/Domain";
|
|
9
|
-
|
|
9
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
10
10
|
export class Service extends DatabaseService<Model> {
|
|
11
11
|
public constructor() {
|
|
12
12
|
super(Model);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
@CaptureSpan()
|
|
15
16
|
protected override async onBeforeCreate(
|
|
16
17
|
createBy: CreateBy<Model>,
|
|
17
18
|
): Promise<OnCreate<Model>> {
|
|
@@ -20,6 +21,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
20
21
|
return Promise.resolve({ createBy, carryForward: null });
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
@CaptureSpan()
|
|
23
25
|
protected override async onBeforeUpdate(
|
|
24
26
|
updateBy: UpdateBy<Model>,
|
|
25
27
|
): Promise<OnUpdate<Model>> {
|
|
@@ -5,12 +5,13 @@ import UpdateBy from "../Types/Database/UpdateBy";
|
|
|
5
5
|
import DatabaseService from "./DatabaseService";
|
|
6
6
|
import NotAuthorizedException from "../../Types/Exception/NotAuthorizedException";
|
|
7
7
|
import File from "Common/Models/DatabaseModels/File";
|
|
8
|
-
|
|
8
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
9
9
|
export class Service extends DatabaseService<File> {
|
|
10
10
|
public constructor() {
|
|
11
11
|
super(File);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@CaptureSpan()
|
|
14
15
|
protected override async onBeforeUpdate(
|
|
15
16
|
updateBy: UpdateBy<File>,
|
|
16
17
|
): Promise<OnUpdate<File>> {
|
|
@@ -21,6 +22,7 @@ export class Service extends DatabaseService<File> {
|
|
|
21
22
|
return { updateBy, carryForward: null };
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
@CaptureSpan()
|
|
24
26
|
protected override async onBeforeDelete(
|
|
25
27
|
deleteBy: DeleteBy<File>,
|
|
26
28
|
): Promise<OnDelete<File>> {
|
|
@@ -31,6 +33,7 @@ export class Service extends DatabaseService<File> {
|
|
|
31
33
|
return { deleteBy, carryForward: null };
|
|
32
34
|
}
|
|
33
35
|
|
|
36
|
+
@CaptureSpan()
|
|
34
37
|
protected override async onBeforeFind(
|
|
35
38
|
findBy: FindBy<File>,
|
|
36
39
|
): Promise<OnFind<File>> {
|
|
@@ -3,7 +3,6 @@ import Color from "../../Types/Color";
|
|
|
3
3
|
import OneUptimeDate from "../../Types/Date";
|
|
4
4
|
import BadDataException from "../../Types/Exception/BadDataException";
|
|
5
5
|
import ObjectID from "../../Types/ObjectID";
|
|
6
|
-
import WorkspaceMessagePayload from "../../Types/Workspace/WorkspaceMessagePayload";
|
|
7
6
|
import { IsBillingEnabled } from "../EnvironmentConfig";
|
|
8
7
|
import logger from "../Utils/Logger";
|
|
9
8
|
import DatabaseService from "./DatabaseService";
|
|
@@ -13,11 +12,7 @@ import IncidentFeed, {
|
|
|
13
12
|
import WorkspaceNotificationRuleService, {
|
|
14
13
|
MessageBlocksByWorkspaceType,
|
|
15
14
|
} from "./WorkspaceNotificationRuleService";
|
|
16
|
-
import
|
|
17
|
-
import IncidentService from "./IncidentService";
|
|
18
|
-
import { WorkspaceChannel } from "../Utils/Workspace/WorkspaceBase";
|
|
19
|
-
import WorkspaceUtil from "../Utils/Workspace/Workspace";
|
|
20
|
-
import WorkspaceType from "../../Types/Workspace/WorkspaceType";
|
|
15
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
21
16
|
|
|
22
17
|
export class Service extends DatabaseService<IncidentFeed> {
|
|
23
18
|
public constructor() {
|
|
@@ -28,6 +23,7 @@ export class Service extends DatabaseService<IncidentFeed> {
|
|
|
28
23
|
}
|
|
29
24
|
}
|
|
30
25
|
|
|
26
|
+
@CaptureSpan()
|
|
31
27
|
public async createIncidentFeedItem(data: {
|
|
32
28
|
incidentId: ObjectID;
|
|
33
29
|
feedInfoInMarkdown: string;
|
|
@@ -102,77 +98,15 @@ export class Service extends DatabaseService<IncidentFeed> {
|
|
|
102
98
|
|
|
103
99
|
try {
|
|
104
100
|
// send notification to slack and teams
|
|
105
|
-
if (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
messageBlocksByWorkspaceTypes =
|
|
111
|
-
await WorkspaceUtil.getMessageBlocksByMarkdown({
|
|
112
|
-
userId: data.workspaceNotification.notifyUserId,
|
|
113
|
-
markdown: data.feedInfoInMarkdown,
|
|
114
|
-
projectId: data.projectId,
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
if (data.workspaceNotification.appendMessageBlocks) {
|
|
118
|
-
for (const messageBlocksByWorkspaceType of data
|
|
119
|
-
.workspaceNotification.appendMessageBlocks) {
|
|
120
|
-
const workspaceType: WorkspaceType =
|
|
121
|
-
messageBlocksByWorkspaceType.workspaceType;
|
|
122
|
-
|
|
123
|
-
messageBlocksByWorkspaceTypes
|
|
124
|
-
.find(
|
|
125
|
-
(
|
|
126
|
-
messageBlocksByWorkspaceType: MessageBlocksByWorkspaceType,
|
|
127
|
-
) => {
|
|
128
|
-
return (
|
|
129
|
-
messageBlocksByWorkspaceType.workspaceType ===
|
|
130
|
-
workspaceType
|
|
131
|
-
);
|
|
132
|
-
},
|
|
133
|
-
)
|
|
134
|
-
?.messageBlocks.push(
|
|
135
|
-
...messageBlocksByWorkspaceType.messageBlocks,
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
const workspaceNotificationPaylaods: Array<WorkspaceMessagePayload> =
|
|
141
|
-
[];
|
|
142
|
-
|
|
143
|
-
for (const messageBlocksByWorkspaceType of messageBlocksByWorkspaceTypes) {
|
|
144
|
-
const existingChannels: Array<string> =
|
|
145
|
-
await WorkspaceNotificationRuleService.getExistingChannelNamesBasedOnEventType(
|
|
146
|
-
{
|
|
147
|
-
projectId: data.projectId,
|
|
148
|
-
notificationRuleEventType: NotificationRuleEventType.Incident,
|
|
149
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
150
|
-
},
|
|
151
|
-
);
|
|
152
|
-
|
|
153
|
-
const incidentChannels: Array<WorkspaceChannel> =
|
|
154
|
-
await IncidentService.getWorkspaceChannelForIncident({
|
|
155
|
-
incidentId: data.incidentId,
|
|
156
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
const workspaceMessagePayload: WorkspaceMessagePayload = {
|
|
160
|
-
_type: "WorkspaceMessagePayload",
|
|
161
|
-
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
162
|
-
messageBlocks: messageBlocksByWorkspaceType.messageBlocks,
|
|
163
|
-
channelNames: existingChannels,
|
|
164
|
-
channelIds:
|
|
165
|
-
incidentChannels.map((channel: WorkspaceChannel) => {
|
|
166
|
-
return channel.id;
|
|
167
|
-
}) || [],
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
workspaceNotificationPaylaods.push(workspaceMessagePayload);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
await WorkspaceUtil.postMessageToAllWorkspaceChannelsAsBot({
|
|
101
|
+
if (
|
|
102
|
+
data.workspaceNotification &&
|
|
103
|
+
data.workspaceNotification?.sendWorkspaceNotification
|
|
104
|
+
) {
|
|
105
|
+
await this.sendWorkspaceNotification({
|
|
174
106
|
projectId: data.projectId,
|
|
175
|
-
|
|
107
|
+
incidentId: data.incidentId,
|
|
108
|
+
feedInfoInMarkdown: data.feedInfoInMarkdown,
|
|
109
|
+
workspaceNotification: data.workspaceNotification,
|
|
176
110
|
});
|
|
177
111
|
}
|
|
178
112
|
} catch (e) {
|
|
@@ -188,6 +122,29 @@ export class Service extends DatabaseService<IncidentFeed> {
|
|
|
188
122
|
// we dont throw this error as it is not a critical error
|
|
189
123
|
}
|
|
190
124
|
}
|
|
125
|
+
|
|
126
|
+
@CaptureSpan()
|
|
127
|
+
public async sendWorkspaceNotification(data: {
|
|
128
|
+
projectId: ObjectID;
|
|
129
|
+
incidentId: ObjectID;
|
|
130
|
+
feedInfoInMarkdown: string;
|
|
131
|
+
workspaceNotification: {
|
|
132
|
+
notifyUserId?: ObjectID | undefined; // this is oneuptime user id.
|
|
133
|
+
sendWorkspaceNotification: boolean;
|
|
134
|
+
appendMessageBlocks?: Array<MessageBlocksByWorkspaceType> | undefined;
|
|
135
|
+
};
|
|
136
|
+
}): Promise<void> {
|
|
137
|
+
return await WorkspaceNotificationRuleService.sendWorkspaceMarkdownNotification(
|
|
138
|
+
{
|
|
139
|
+
projectId: data.projectId,
|
|
140
|
+
notificationFor: {
|
|
141
|
+
incidentId: data.incidentId,
|
|
142
|
+
},
|
|
143
|
+
feedInfoInMarkdown: data.feedInfoInMarkdown,
|
|
144
|
+
workspaceNotification: data.workspaceNotification,
|
|
145
|
+
},
|
|
146
|
+
);
|
|
147
|
+
}
|
|
191
148
|
}
|
|
192
149
|
|
|
193
150
|
export default new Service();
|
|
@@ -8,12 +8,14 @@ import { Blue500 } from "../../Types/BrandColors";
|
|
|
8
8
|
import { LIMIT_PER_PROJECT } from "../../Types/Database/LimitMax";
|
|
9
9
|
import IncidentService from "./IncidentService";
|
|
10
10
|
import Incident from "../../Models/DatabaseModels/Incident";
|
|
11
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
11
12
|
|
|
12
13
|
export class Service extends DatabaseService<Model> {
|
|
13
14
|
public constructor() {
|
|
14
15
|
super(Model);
|
|
15
16
|
}
|
|
16
17
|
|
|
18
|
+
@CaptureSpan()
|
|
17
19
|
public async addNote(data: {
|
|
18
20
|
userId: ObjectID;
|
|
19
21
|
incidentId: ObjectID;
|
|
@@ -34,6 +36,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
34
36
|
});
|
|
35
37
|
}
|
|
36
38
|
|
|
39
|
+
@CaptureSpan()
|
|
37
40
|
public override async onCreateSuccess(
|
|
38
41
|
_onCreate: OnCreate<Model>,
|
|
39
42
|
createdItem: Model,
|
|
@@ -68,6 +71,7 @@ ${createdItem.note}
|
|
|
68
71
|
return createdItem;
|
|
69
72
|
}
|
|
70
73
|
|
|
74
|
+
@CaptureSpan()
|
|
71
75
|
public override async onUpdateSuccess(
|
|
72
76
|
onUpdate: OnUpdate<Model>,
|
|
73
77
|
_updatedItemIds: Array<ObjectID>,
|
|
@@ -13,12 +13,14 @@ import WorkspaceNotificationRuleService from "./WorkspaceNotificationRuleService
|
|
|
13
13
|
import NotificationRuleEventType from "../../Types/Workspace/NotificationRules/EventType";
|
|
14
14
|
import WorkspaceNotificationRule from "../../Models/DatabaseModels/WorkspaceNotificationRule";
|
|
15
15
|
import logger from "../Utils/Logger";
|
|
16
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
16
17
|
|
|
17
18
|
export class Service extends DatabaseService<Model> {
|
|
18
19
|
public constructor() {
|
|
19
20
|
super(Model);
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
@CaptureSpan()
|
|
22
24
|
protected override async onBeforeDelete(
|
|
23
25
|
deleteBy: DeleteBy<Model>,
|
|
24
26
|
): Promise<OnDelete<Model>> {
|
|
@@ -44,6 +46,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
|
49
|
+
@CaptureSpan()
|
|
47
50
|
protected override async onDeleteSuccess(
|
|
48
51
|
onDelete: OnDelete<Model>,
|
|
49
52
|
_itemIdsBeforeDelete: Array<ObjectID>,
|
|
@@ -94,6 +97,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
94
97
|
return onDelete;
|
|
95
98
|
}
|
|
96
99
|
|
|
100
|
+
@CaptureSpan()
|
|
97
101
|
public override async onCreateSuccess(
|
|
98
102
|
onCreate: OnCreate<Model>,
|
|
99
103
|
createdItem: Model,
|
|
@@ -13,12 +13,14 @@ import WorkspaceNotificationRuleService from "./WorkspaceNotificationRuleService
|
|
|
13
13
|
import NotificationRuleEventType from "../../Types/Workspace/NotificationRules/EventType";
|
|
14
14
|
import WorkspaceNotificationRule from "../../Models/DatabaseModels/WorkspaceNotificationRule";
|
|
15
15
|
import logger from "../Utils/Logger";
|
|
16
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
16
17
|
|
|
17
18
|
export class Service extends DatabaseService<Model> {
|
|
18
19
|
public constructor() {
|
|
19
20
|
super(Model);
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
@CaptureSpan()
|
|
22
24
|
protected override async onBeforeDelete(
|
|
23
25
|
deleteBy: DeleteBy<Model>,
|
|
24
26
|
): Promise<OnDelete<Model>> {
|
|
@@ -44,6 +46,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
|
49
|
+
@CaptureSpan()
|
|
47
50
|
protected override async onDeleteSuccess(
|
|
48
51
|
onDelete: OnDelete<Model>,
|
|
49
52
|
_itemIdsBeforeDelete: Array<ObjectID>,
|
|
@@ -95,6 +98,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
95
98
|
return onDelete;
|
|
96
99
|
}
|
|
97
100
|
|
|
101
|
+
@CaptureSpan()
|
|
98
102
|
public override async onCreateSuccess(
|
|
99
103
|
onCreate: OnCreate<Model>,
|
|
100
104
|
createdItem: Model,
|