@oneuptime/common 7.0.3831 → 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/GlobalConfig.ts +22 -4
- package/Models/DatabaseModels/Index.ts +5 -0
- package/Models/DatabaseModels/Monitor.ts +20 -0
- package/Models/DatabaseModels/MonitorFeed.ts +520 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.ts +48 -0
- package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.ts +502 -0
- package/Models/DatabaseModels/ProjectCallSMSConfig.ts +35 -4
- package/Models/DatabaseModels/UserOnCallLog.ts +43 -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 +72 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.ts +32 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.ts +38 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.ts +26 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.ts +26 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.ts +26 -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 +16 -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 +6 -1
- 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 +5 -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 +102 -3
- package/Server/Services/OnCallDutyPolicyExecutionLogService.ts +4 -0
- package/Server/Services/OnCallDutyPolicyExecutionLogTimelineService.ts +21 -1
- 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 +80 -0
- package/Server/Services/OpenTelemetryIngestService.ts +4 -0
- package/Server/Services/ProbeService.ts +7 -0
- package/Server/Services/ProjectCallSMSConfigService.ts +12 -2
- 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 +6 -1
- 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 +11 -2
- 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 +19 -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/CallAndSMS/TwilioConfig.ts +2 -1
- package/Types/Permission.ts +76 -0
- package/Types/Phone.ts +61 -1
- 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/GlobalConfig.js +25 -5
- package/build/dist/Models/DatabaseModels/GlobalConfig.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +4 -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/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +49 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js.map +1 -1
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +516 -0
- package/build/dist/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js.map +1 -0
- package/build/dist/Models/DatabaseModels/ProjectCallSMSConfig.js +38 -5
- package/build/dist/Models/DatabaseModels/ProjectCallSMSConfig.js.map +1 -1
- package/build/dist/Models/DatabaseModels/UserOnCallLog.js +44 -0
- package/build/dist/Models/DatabaseModels/UserOnCallLog.js.map +1 -1
- 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 +52 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741904597606-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.js +38 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741908200702-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.js +40 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955609393-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.js +36 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741955752685-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.js +36 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741957080431-MigrationName.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.js +36 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1741959216297-MigrationName.js.map +1 -0
- 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 +16 -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 +19 -2
- 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 +4 -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 +150 -3
- 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 +42 -1
- 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 +71 -0
- package/build/dist/Server/Services/OnCallDutyPolicyUserOverrideService.js.map +1 -0
- 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/ProjectCallSMSConfigService.js +11 -2
- package/build/dist/Server/Services/ProjectCallSMSConfigService.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 +19 -2
- 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 +51 -2
- 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 +110 -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 +64 -0
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/Types/Phone.js +32 -0
- package/build/dist/Types/Phone.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
|
@@ -13,12 +13,14 @@ import ObjectID from "../../Types/ObjectID";
|
|
|
13
13
|
import Text from "../../Types/Text";
|
|
14
14
|
import Project from "Common/Models/DatabaseModels/Project";
|
|
15
15
|
import Model from "Common/Models/DatabaseModels/UserSMS";
|
|
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>> {
|
|
@@ -55,6 +57,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
59
|
|
|
60
|
+
@CaptureSpan()
|
|
58
61
|
protected override async onBeforeCreate(
|
|
59
62
|
createBy: CreateBy<Model>,
|
|
60
63
|
): Promise<OnCreate<Model>> {
|
|
@@ -97,6 +100,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
97
100
|
return { carryForward: null, createBy };
|
|
98
101
|
}
|
|
99
102
|
|
|
103
|
+
@CaptureSpan()
|
|
100
104
|
protected override async onCreateSuccess(
|
|
101
105
|
_onCreate: OnCreate<Model>,
|
|
102
106
|
createdItem: Model,
|
|
@@ -108,6 +112,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
108
112
|
return createdItem;
|
|
109
113
|
}
|
|
110
114
|
|
|
115
|
+
@CaptureSpan()
|
|
111
116
|
public async resendVerificationCode(itemId: ObjectID): Promise<void> {
|
|
112
117
|
const item: Model | null = await this.findOneById({
|
|
113
118
|
id: itemId,
|
|
@@ -8,12 +8,14 @@ import BadDataException from "../../Types/Exception/BadDataException";
|
|
|
8
8
|
import User from "Common/Models/DatabaseModels/User";
|
|
9
9
|
import DeleteBy from "../Types/Database/DeleteBy";
|
|
10
10
|
import LIMIT_MAX from "../../Types/Database/LimitMax";
|
|
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
|
protected override async onBeforeCreate(
|
|
18
20
|
createBy: CreateBy<Model>,
|
|
19
21
|
): Promise<OnCreate<Model>> {
|
|
@@ -54,6 +56,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
|
|
59
|
+
@CaptureSpan()
|
|
57
60
|
protected override async onBeforeDelete(
|
|
58
61
|
deleteBy: DeleteBy<Model>,
|
|
59
62
|
): Promise<OnDelete<Model>> {
|
|
@@ -8,6 +8,7 @@ import Route from "../../Types/API/Route";
|
|
|
8
8
|
import URL from "../../Types/API/URL";
|
|
9
9
|
import { JSONObject } from "../../Types/JSON";
|
|
10
10
|
import ObjectID from "../../Types/ObjectID";
|
|
11
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
11
12
|
import {
|
|
12
13
|
ComponentType,
|
|
13
14
|
NodeDataProp,
|
|
@@ -22,6 +23,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
22
23
|
super(Model);
|
|
23
24
|
}
|
|
24
25
|
|
|
26
|
+
@CaptureSpan()
|
|
25
27
|
protected override async onUpdateSuccess(
|
|
26
28
|
onUpdate: OnUpdate<Model>,
|
|
27
29
|
_updatedItemIds: ObjectID[],
|
|
@@ -14,8 +14,6 @@ import Alert from "../../Models/DatabaseModels/Alert";
|
|
|
14
14
|
import AlertService from "./AlertService";
|
|
15
15
|
import ScheduledMaintenanceService from "./ScheduledMaintenanceService";
|
|
16
16
|
import ScheduledMaintenance from "../../Models/DatabaseModels/ScheduledMaintenance";
|
|
17
|
-
import MonitorStatusTimeline from "Common/Models/DatabaseModels/MonitorStatusTimeline";
|
|
18
|
-
import MonitorStatusTimelineService from "./MonitorStatusTimelineService";
|
|
19
17
|
import { WorkspaceNotificationRuleUtil } from "../../Types/Workspace/NotificationRules/NotificationRuleUtil";
|
|
20
18
|
import TeamMemberService from "./TeamMemberService";
|
|
21
19
|
import User from "../../Models/DatabaseModels/User";
|
|
@@ -25,7 +23,7 @@ import { WorkspaceChannel } from "../Utils/Workspace/WorkspaceBase";
|
|
|
25
23
|
import WorkspaceUtil from "../Utils/Workspace/Workspace";
|
|
26
24
|
import WorkspaceUserAuthToken from "../../Models/DatabaseModels/WorkspaceUserAuthToken";
|
|
27
25
|
import WorkspaceUserAuthTokenService from "./WorkspaceUserAuthTokenService";
|
|
28
|
-
import {
|
|
26
|
+
import WorkspaceMessagePayload, {
|
|
29
27
|
WorkspaceMessageBlock,
|
|
30
28
|
WorkspacePayloadMarkdown,
|
|
31
29
|
} from "../../Types/Workspace/WorkspaceMessagePayload";
|
|
@@ -38,6 +36,8 @@ import logger from "../Utils/Logger";
|
|
|
38
36
|
import NotificationRuleWorkspaceChannel from "../../Types/Workspace/NotificationRules/NotificationRuleWorkspaceChannel";
|
|
39
37
|
import WorkspaceNotificationRule from "Common/Models/DatabaseModels/WorkspaceNotificationRule";
|
|
40
38
|
import UserService from "./UserService";
|
|
39
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
40
|
+
import Monitor from "../../Models/DatabaseModels/Monitor";
|
|
41
41
|
|
|
42
42
|
export interface MessageBlocksByWorkspaceType {
|
|
43
43
|
workspaceType: WorkspaceType;
|
|
@@ -48,7 +48,7 @@ export interface NotificationFor {
|
|
|
48
48
|
incidentId?: ObjectID | undefined;
|
|
49
49
|
alertId?: ObjectID | undefined;
|
|
50
50
|
scheduledMaintenanceId?: ObjectID | undefined;
|
|
51
|
-
|
|
51
|
+
monitorId?: ObjectID | undefined;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
@@ -56,6 +56,114 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
56
56
|
super(WorkspaceNotificationRule);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
@CaptureSpan()
|
|
60
|
+
public async sendWorkspaceMarkdownNotification(data: {
|
|
61
|
+
projectId: ObjectID;
|
|
62
|
+
notificationFor: NotificationFor;
|
|
63
|
+
feedInfoInMarkdown: string;
|
|
64
|
+
workspaceNotification: {
|
|
65
|
+
notifyUserId?: ObjectID | undefined; // this is oneuptime user id.
|
|
66
|
+
sendWorkspaceNotification: boolean;
|
|
67
|
+
appendMessageBlocks?: Array<MessageBlocksByWorkspaceType> | undefined;
|
|
68
|
+
};
|
|
69
|
+
}): Promise<void> {
|
|
70
|
+
let messageBlocksByWorkspaceTypes: Array<MessageBlocksByWorkspaceType> = [];
|
|
71
|
+
|
|
72
|
+
// use markdown to create blocks
|
|
73
|
+
messageBlocksByWorkspaceTypes =
|
|
74
|
+
await WorkspaceUtil.getMessageBlocksByMarkdown({
|
|
75
|
+
userId: data.workspaceNotification.notifyUserId,
|
|
76
|
+
markdown: data.feedInfoInMarkdown,
|
|
77
|
+
projectId: data.projectId,
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
if (data.workspaceNotification.appendMessageBlocks) {
|
|
81
|
+
for (const messageBlocksByWorkspaceType of data.workspaceNotification
|
|
82
|
+
.appendMessageBlocks) {
|
|
83
|
+
const workspaceType: WorkspaceType =
|
|
84
|
+
messageBlocksByWorkspaceType.workspaceType;
|
|
85
|
+
|
|
86
|
+
messageBlocksByWorkspaceTypes
|
|
87
|
+
.find(
|
|
88
|
+
(messageBlocksByWorkspaceType: MessageBlocksByWorkspaceType) => {
|
|
89
|
+
return (
|
|
90
|
+
messageBlocksByWorkspaceType.workspaceType === workspaceType
|
|
91
|
+
);
|
|
92
|
+
},
|
|
93
|
+
)
|
|
94
|
+
?.messageBlocks.push(...messageBlocksByWorkspaceType.messageBlocks);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const workspaceNotificationPaylaods: Array<WorkspaceMessagePayload> = [];
|
|
99
|
+
|
|
100
|
+
for (const messageBlocksByWorkspaceType of messageBlocksByWorkspaceTypes) {
|
|
101
|
+
const existingChannels: Array<string> =
|
|
102
|
+
await this.getExistingChannelNamesBasedOnEventType({
|
|
103
|
+
projectId: data.projectId,
|
|
104
|
+
notificationRuleEventType: NotificationRuleEventType.Monitor,
|
|
105
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
let monitorChannels: Array<WorkspaceChannel> = [];
|
|
109
|
+
|
|
110
|
+
if (data.notificationFor.monitorId) {
|
|
111
|
+
monitorChannels = await MonitorService.getWorkspaceChannelForMonitor({
|
|
112
|
+
monitorId: data.notificationFor.monitorId,
|
|
113
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// incidents
|
|
118
|
+
if (data.notificationFor.incidentId) {
|
|
119
|
+
monitorChannels = await IncidentService.getWorkspaceChannelForIncident({
|
|
120
|
+
incidentId: data.notificationFor.incidentId,
|
|
121
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// alerts
|
|
126
|
+
if (data.notificationFor.alertId) {
|
|
127
|
+
monitorChannels = await AlertService.getWorkspaceChannelForAlert({
|
|
128
|
+
alertId: data.notificationFor.alertId,
|
|
129
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// scheduled maintenance
|
|
134
|
+
|
|
135
|
+
if (data.notificationFor.scheduledMaintenanceId) {
|
|
136
|
+
monitorChannels =
|
|
137
|
+
await ScheduledMaintenanceService.getWorkspaceChannelForScheduledMaintenance(
|
|
138
|
+
{
|
|
139
|
+
scheduledMaintenanceId:
|
|
140
|
+
data.notificationFor.scheduledMaintenanceId,
|
|
141
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
142
|
+
},
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const workspaceMessagePayload: WorkspaceMessagePayload = {
|
|
147
|
+
_type: "WorkspaceMessagePayload",
|
|
148
|
+
workspaceType: messageBlocksByWorkspaceType.workspaceType,
|
|
149
|
+
messageBlocks: messageBlocksByWorkspaceType.messageBlocks,
|
|
150
|
+
channelNames: existingChannels,
|
|
151
|
+
channelIds:
|
|
152
|
+
monitorChannels.map((channel: WorkspaceChannel) => {
|
|
153
|
+
return channel.id;
|
|
154
|
+
}) || [],
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
workspaceNotificationPaylaods.push(workspaceMessagePayload);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
await WorkspaceUtil.postMessageToAllWorkspaceChannelsAsBot({
|
|
161
|
+
projectId: data.projectId,
|
|
162
|
+
messagePayloadsByWorkspace: workspaceNotificationPaylaods,
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@CaptureSpan()
|
|
59
167
|
public static getAllWorkspaceTypes(): Array<WorkspaceType> {
|
|
60
168
|
return [WorkspaceType.Slack, WorkspaceType.MicrosoftTeams];
|
|
61
169
|
}
|
|
@@ -85,6 +193,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
85
193
|
throw new BadDataException("Workspace type not supported");
|
|
86
194
|
}
|
|
87
195
|
|
|
196
|
+
@CaptureSpan()
|
|
88
197
|
public async getExistingChannelNamesBasedOnEventType(data: {
|
|
89
198
|
projectId: ObjectID;
|
|
90
199
|
workspaceType: WorkspaceType;
|
|
@@ -118,6 +227,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
118
227
|
return existingChannelNames;
|
|
119
228
|
}
|
|
120
229
|
|
|
230
|
+
@CaptureSpan()
|
|
121
231
|
public async createChannelsAndInviteUsersToChannelsBasedOnRules(data: {
|
|
122
232
|
projectId: ObjectID;
|
|
123
233
|
notificationRuleEventType: NotificationRuleEventType;
|
|
@@ -232,6 +342,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
232
342
|
};
|
|
233
343
|
}
|
|
234
344
|
|
|
345
|
+
@CaptureSpan()
|
|
235
346
|
public async getNotificationRulesWhereOnCallIsTrue(data: {
|
|
236
347
|
projectId: ObjectID;
|
|
237
348
|
notificationFor: NotificationFor;
|
|
@@ -263,6 +374,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
263
374
|
return result;
|
|
264
375
|
}
|
|
265
376
|
|
|
377
|
+
@CaptureSpan()
|
|
266
378
|
public async getNotificationRulesWhereInviteOwnersIsTrue(data: {
|
|
267
379
|
projectId: ObjectID;
|
|
268
380
|
notificationFor: NotificationFor;
|
|
@@ -294,6 +406,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
294
406
|
return result;
|
|
295
407
|
}
|
|
296
408
|
|
|
409
|
+
@CaptureSpan()
|
|
297
410
|
public async inviteUsersAndTeamsToChannelsBasedOnRules(data: {
|
|
298
411
|
projectId: ObjectID;
|
|
299
412
|
projectAuth: WorkspaceProjectAuthToken;
|
|
@@ -402,6 +515,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
402
515
|
logger.debug("Users invited to channels successfully");
|
|
403
516
|
}
|
|
404
517
|
|
|
518
|
+
@CaptureSpan()
|
|
405
519
|
public async inviteUsersBasedOnRulesAndWorkspaceChannels(data: {
|
|
406
520
|
workspaceChannels: Array<NotificationRuleWorkspaceChannel>;
|
|
407
521
|
projectId: ObjectID;
|
|
@@ -555,6 +669,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
555
669
|
}
|
|
556
670
|
}
|
|
557
671
|
|
|
672
|
+
@CaptureSpan()
|
|
558
673
|
public async inviteTeamsBasedOnRulesAndWorkspaceChannels(data: {
|
|
559
674
|
workspaceChannels: Array<NotificationRuleWorkspaceChannel>;
|
|
560
675
|
projectId: ObjectID;
|
|
@@ -584,6 +699,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
584
699
|
});
|
|
585
700
|
}
|
|
586
701
|
|
|
702
|
+
@CaptureSpan()
|
|
587
703
|
public async getWorkspaceUserIdFromOneUptimeUserId(data: {
|
|
588
704
|
projectId: ObjectID;
|
|
589
705
|
workspaceType: WorkspaceType;
|
|
@@ -618,6 +734,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
618
734
|
return userAuth.workspaceUserId?.toString() || null;
|
|
619
735
|
}
|
|
620
736
|
|
|
737
|
+
@CaptureSpan()
|
|
621
738
|
public async createChannelsBasedOnRules(data: {
|
|
622
739
|
projectOrUserAuthTokenForWorkspace: string;
|
|
623
740
|
workspaceType: WorkspaceType;
|
|
@@ -690,6 +807,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
690
807
|
return createdWorkspaceChannels;
|
|
691
808
|
}
|
|
692
809
|
|
|
810
|
+
@CaptureSpan()
|
|
693
811
|
public async getUsersIdsToInviteToChannel(data: {
|
|
694
812
|
notificationRules: Array<WorkspaceNotificationRule>;
|
|
695
813
|
}): Promise<
|
|
@@ -1159,46 +1277,41 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
1159
1277
|
};
|
|
1160
1278
|
}
|
|
1161
1279
|
|
|
1162
|
-
if (data.notificationFor.
|
|
1280
|
+
if (data.notificationFor.monitorId) {
|
|
1163
1281
|
logger.debug("Fetching monitor status timeline details for ID:");
|
|
1164
|
-
logger.debug(data.notificationFor.
|
|
1282
|
+
logger.debug(data.notificationFor.monitorId);
|
|
1165
1283
|
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
isRoot: true,
|
|
1179
|
-
},
|
|
1180
|
-
});
|
|
1284
|
+
const monitor: Monitor | null = await MonitorService.findOneById({
|
|
1285
|
+
id: data.notificationFor.monitorId,
|
|
1286
|
+
select: {
|
|
1287
|
+
name: true,
|
|
1288
|
+
labels: true,
|
|
1289
|
+
monitorType: true,
|
|
1290
|
+
currentMonitorStatusId: true,
|
|
1291
|
+
},
|
|
1292
|
+
props: {
|
|
1293
|
+
isRoot: true,
|
|
1294
|
+
},
|
|
1295
|
+
});
|
|
1181
1296
|
|
|
1182
|
-
if (!
|
|
1183
|
-
logger.debug("Monitor
|
|
1184
|
-
logger.debug(data.notificationFor.
|
|
1185
|
-
throw new BadDataException("Monitor
|
|
1297
|
+
if (!monitor) {
|
|
1298
|
+
logger.debug("Monitor not found for ID:");
|
|
1299
|
+
logger.debug(data.notificationFor.monitorId);
|
|
1300
|
+
throw new BadDataException("Monitor ID not found");
|
|
1186
1301
|
}
|
|
1187
1302
|
|
|
1188
|
-
const monitorLabels: Array<Label> =
|
|
1189
|
-
monitorStatusTimeline.monitor?.labels || [];
|
|
1303
|
+
const monitorLabels: Array<Label> = monitor?.labels || [];
|
|
1190
1304
|
|
|
1191
1305
|
return {
|
|
1192
|
-
[NotificationRuleConditionCheckOn.MonitorName]:
|
|
1193
|
-
monitorStatusTimeline.monitor?.name || "",
|
|
1306
|
+
[NotificationRuleConditionCheckOn.MonitorName]: monitor?.name || "",
|
|
1194
1307
|
[NotificationRuleConditionCheckOn.IncidentTitle]: undefined,
|
|
1195
1308
|
[NotificationRuleConditionCheckOn.IncidentDescription]: undefined,
|
|
1196
1309
|
[NotificationRuleConditionCheckOn.IncidentSeverity]: undefined,
|
|
1197
1310
|
[NotificationRuleConditionCheckOn.IncidentState]: undefined,
|
|
1198
1311
|
[NotificationRuleConditionCheckOn.MonitorType]:
|
|
1199
|
-
|
|
1312
|
+
monitor?.monitorType || undefined,
|
|
1200
1313
|
[NotificationRuleConditionCheckOn.MonitorStatus]:
|
|
1201
|
-
|
|
1314
|
+
monitor?.currentMonitorStatusId?.toString() || "",
|
|
1202
1315
|
[NotificationRuleConditionCheckOn.AlertTitle]: undefined,
|
|
1203
1316
|
[NotificationRuleConditionCheckOn.AlertDescription]: undefined,
|
|
1204
1317
|
[NotificationRuleConditionCheckOn.AlertSeverity]: undefined,
|
|
@@ -1216,7 +1329,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
1216
1329
|
[NotificationRuleConditionCheckOn.ScheduledMaintenanceLabels]:
|
|
1217
1330
|
undefined,
|
|
1218
1331
|
[NotificationRuleConditionCheckOn.Monitors]: [
|
|
1219
|
-
|
|
1332
|
+
monitor?._id?.toString() || "",
|
|
1220
1333
|
],
|
|
1221
1334
|
};
|
|
1222
1335
|
}
|
|
@@ -1224,6 +1337,7 @@ export class Service extends DatabaseService<WorkspaceNotificationRule> {
|
|
|
1224
1337
|
throw new BadDataException("NotificationFor is not supported");
|
|
1225
1338
|
}
|
|
1226
1339
|
|
|
1340
|
+
@CaptureSpan()
|
|
1227
1341
|
public async getMatchingNotificationRules(data: {
|
|
1228
1342
|
projectId: ObjectID;
|
|
1229
1343
|
workspaceType: WorkspaceType;
|
|
@@ -5,12 +5,14 @@ import Model, {
|
|
|
5
5
|
SlackMiscData,
|
|
6
6
|
} from "Common/Models/DatabaseModels/WorkspaceProjectAuthToken";
|
|
7
7
|
import { LIMIT_PER_PROJECT } from "../../Types/Database/LimitMax";
|
|
8
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
8
9
|
|
|
9
10
|
export class Service extends DatabaseService<Model> {
|
|
10
11
|
public constructor() {
|
|
11
12
|
super(Model);
|
|
12
13
|
}
|
|
13
14
|
|
|
15
|
+
@CaptureSpan()
|
|
14
16
|
public async getProjectAuth(data: {
|
|
15
17
|
projectId: ObjectID;
|
|
16
18
|
workspaceType: WorkspaceType;
|
|
@@ -32,6 +34,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
32
34
|
});
|
|
33
35
|
}
|
|
34
36
|
|
|
37
|
+
@CaptureSpan()
|
|
35
38
|
public async getProjectAuths(data: {
|
|
36
39
|
projectId: ObjectID;
|
|
37
40
|
}): Promise<Array<Model>> {
|
|
@@ -53,6 +56,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
53
56
|
});
|
|
54
57
|
}
|
|
55
58
|
|
|
59
|
+
@CaptureSpan()
|
|
56
60
|
public async doesExist(data: {
|
|
57
61
|
projectId: ObjectID;
|
|
58
62
|
workspaceType: WorkspaceType;
|
|
@@ -60,6 +64,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
60
64
|
return Boolean(await this.getProjectAuth(data));
|
|
61
65
|
}
|
|
62
66
|
|
|
67
|
+
@CaptureSpan()
|
|
63
68
|
public async refreshAuthToken(data: {
|
|
64
69
|
projectId: ObjectID;
|
|
65
70
|
workspaceType: WorkspaceType;
|
|
@@ -4,12 +4,14 @@ import DatabaseService from "./DatabaseService";
|
|
|
4
4
|
import Model, {
|
|
5
5
|
SlackSettings,
|
|
6
6
|
} from "Common/Models/DatabaseModels/WorkspaceSetting";
|
|
7
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
7
8
|
|
|
8
9
|
export class Service extends DatabaseService<Model> {
|
|
9
10
|
public constructor() {
|
|
10
11
|
super(Model);
|
|
11
12
|
}
|
|
12
13
|
|
|
14
|
+
@CaptureSpan()
|
|
13
15
|
public async doesExist(data: {
|
|
14
16
|
projectId: ObjectID;
|
|
15
17
|
workspaceType: WorkspaceType;
|
|
@@ -31,6 +33,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
31
33
|
);
|
|
32
34
|
}
|
|
33
35
|
|
|
36
|
+
@CaptureSpan()
|
|
34
37
|
public async refreshSetting(data: {
|
|
35
38
|
projectId: ObjectID;
|
|
36
39
|
workspaceType: WorkspaceType;
|
|
@@ -4,12 +4,14 @@ import DatabaseService from "./DatabaseService";
|
|
|
4
4
|
import Model, {
|
|
5
5
|
SlackMiscData,
|
|
6
6
|
} from "Common/Models/DatabaseModels/WorkspaceUserAuthToken";
|
|
7
|
+
import CaptureSpan from "../Utils/Telemetry/CaptureSpan";
|
|
7
8
|
|
|
8
9
|
export class Service extends DatabaseService<Model> {
|
|
9
10
|
public constructor() {
|
|
10
11
|
super(Model);
|
|
11
12
|
}
|
|
12
13
|
|
|
14
|
+
@CaptureSpan()
|
|
13
15
|
public async getUserAuth(data: {
|
|
14
16
|
projectId: ObjectID;
|
|
15
17
|
userId: ObjectID;
|
|
@@ -33,6 +35,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
33
35
|
});
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
@CaptureSpan()
|
|
36
39
|
public async doesExist(data: {
|
|
37
40
|
projectId: ObjectID;
|
|
38
41
|
userId: ObjectID;
|
|
@@ -56,6 +59,7 @@ export class Service extends DatabaseService<Model> {
|
|
|
56
59
|
);
|
|
57
60
|
}
|
|
58
61
|
|
|
62
|
+
@CaptureSpan()
|
|
59
63
|
public async refreshAuthToken(data: {
|
|
60
64
|
projectId: ObjectID;
|
|
61
65
|
userId: ObjectID;
|
|
@@ -3,6 +3,7 @@ import CommonAggregateBy from "Common/Types/BaseDatabase/AggregateBy";
|
|
|
3
3
|
import AnalyticsBaseModel from "Common/Models/AnalyticsModels/AnalyticsBaseModel/AnalyticsBaseModel";
|
|
4
4
|
import DatabaseCommonInteractionProps from "Common/Types/BaseDatabase/DatabaseCommonInteractionProps";
|
|
5
5
|
import OneUptimeDate from "../../../Types/Date";
|
|
6
|
+
import CaptureSpan from "../../Utils/Telemetry/CaptureSpan";
|
|
6
7
|
|
|
7
8
|
export default interface AggregateBy<TBaseModel extends AnalyticsBaseModel>
|
|
8
9
|
extends CommonAggregateBy<TBaseModel> {
|
|
@@ -10,6 +11,7 @@ export default interface AggregateBy<TBaseModel extends AnalyticsBaseModel>
|
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export class AggregateUtil {
|
|
14
|
+
@CaptureSpan()
|
|
13
15
|
public static getAggregationInterval(data: {
|
|
14
16
|
startDate: Date;
|
|
15
17
|
endDate: Date;
|
|
@@ -26,6 +26,7 @@ import Permission, {
|
|
|
26
26
|
UserPermission,
|
|
27
27
|
} from "Common/Types/Permission";
|
|
28
28
|
import UserType from "Common/Types/UserType";
|
|
29
|
+
import CaptureSpan from "../../Utils/Telemetry/CaptureSpan";
|
|
29
30
|
|
|
30
31
|
export interface CheckReadPermissionType<TBaseModel extends BaseModel> {
|
|
31
32
|
query: Query<TBaseModel>;
|
|
@@ -33,6 +34,7 @@ export interface CheckReadPermissionType<TBaseModel extends BaseModel> {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export default class ModelPermission {
|
|
37
|
+
@CaptureSpan()
|
|
36
38
|
public static async checkDeletePermission<TBaseModel extends BaseModel>(
|
|
37
39
|
modelType: { new (): TBaseModel },
|
|
38
40
|
query: Query<TBaseModel>,
|
|
@@ -54,6 +56,7 @@ export default class ModelPermission {
|
|
|
54
56
|
return query;
|
|
55
57
|
}
|
|
56
58
|
|
|
59
|
+
@CaptureSpan()
|
|
57
60
|
public static async checkUpdatePermissions<TBaseModel extends BaseModel>(
|
|
58
61
|
modelType: { new (): TBaseModel },
|
|
59
62
|
query: Query<TBaseModel>,
|
|
@@ -85,6 +88,7 @@ export default class ModelPermission {
|
|
|
85
88
|
return query;
|
|
86
89
|
}
|
|
87
90
|
|
|
91
|
+
@CaptureSpan()
|
|
88
92
|
public static checkCreatePermissions<TBaseModel extends BaseModel>(
|
|
89
93
|
modelType: { new (): TBaseModel },
|
|
90
94
|
data: TBaseModel,
|
|
@@ -220,6 +224,7 @@ export default class ModelPermission {
|
|
|
220
224
|
}
|
|
221
225
|
}
|
|
222
226
|
|
|
227
|
+
@CaptureSpan()
|
|
223
228
|
public static async checkReadPermission<TBaseModel extends BaseModel>(
|
|
224
229
|
modelType: { new (): TBaseModel },
|
|
225
230
|
query: Query<TBaseModel>,
|
|
@@ -581,6 +586,7 @@ export default class ModelPermission {
|
|
|
581
586
|
return isPublicAllowed;
|
|
582
587
|
}
|
|
583
588
|
|
|
589
|
+
@CaptureSpan()
|
|
584
590
|
public static checkIfUserIsLoggedIn(
|
|
585
591
|
modelType: AnalyticsBaseModelType,
|
|
586
592
|
props: DatabaseCommonInteractionProps,
|
|
@@ -4,20 +4,25 @@ import Includes from "Common/Types/BaseDatabase/Includes";
|
|
|
4
4
|
import LessThan from "Common/Types/BaseDatabase/LessThan";
|
|
5
5
|
import ObjectID from "Common/Types/ObjectID";
|
|
6
6
|
import { CompareType } from "../../../Types/Database/CompareBase";
|
|
7
|
+
import CaptureSpan from "../../Utils/Telemetry/CaptureSpan";
|
|
7
8
|
|
|
8
9
|
export default class QueryHelper {
|
|
10
|
+
@CaptureSpan()
|
|
9
11
|
public static lessThan<T extends CompareType>(value: T): LessThan<T> {
|
|
10
12
|
return new LessThan(value);
|
|
11
13
|
}
|
|
12
14
|
|
|
15
|
+
@CaptureSpan()
|
|
13
16
|
public static any(values: Array<string> | Array<ObjectID>): Includes {
|
|
14
17
|
return new Includes(values);
|
|
15
18
|
}
|
|
16
19
|
|
|
20
|
+
@CaptureSpan()
|
|
17
21
|
public static greaterThan<T extends CompareType>(value: T): GreaterThan<T> {
|
|
18
22
|
return new GreaterThan<T>(value);
|
|
19
23
|
}
|
|
20
24
|
|
|
25
|
+
@CaptureSpan()
|
|
21
26
|
public static inBetween<T extends CompareType>(
|
|
22
27
|
startValue: T,
|
|
23
28
|
endValue: T,
|
|
@@ -8,12 +8,15 @@ import MonitorType from "Common/Types/Monitor/MonitorType";
|
|
|
8
8
|
import ObjectID from "Common/Types/ObjectID";
|
|
9
9
|
import PositiveNumber from "Common/Types/PositiveNumber";
|
|
10
10
|
import Project from "Common/Models/DatabaseModels/Project";
|
|
11
|
+
import CaptureSpan from "../../../Utils/Telemetry/CaptureSpan";
|
|
11
12
|
|
|
12
13
|
export default class ActiveMonitoringMeteredPlan extends ServerMeteredPlan {
|
|
14
|
+
@CaptureSpan()
|
|
13
15
|
public override getProductType(): ProductType {
|
|
14
16
|
return ProductType.ActiveMonitoring;
|
|
15
17
|
}
|
|
16
18
|
|
|
19
|
+
@CaptureSpan()
|
|
17
20
|
public override async reportQuantityToBillingProvider(
|
|
18
21
|
projectId: ObjectID,
|
|
19
22
|
options?: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import CaptureSpan from "../../../Utils/Telemetry/CaptureSpan";
|
|
1
2
|
import ActiveMonitoringMeteredPlanType from "./ActiveMonitoringMeteredPlan";
|
|
2
3
|
import ServerMeteredPlan from "./ServerMeteredPlan";
|
|
3
4
|
import TelemetryMeteredPlanType from "./TelemetryMeteredPlan";
|
|
@@ -33,6 +34,7 @@ const AllMeteredPlans: Array<ServerMeteredPlan> = [
|
|
|
33
34
|
];
|
|
34
35
|
|
|
35
36
|
export class MeteredPlanUtil {
|
|
37
|
+
@CaptureSpan()
|
|
36
38
|
public static getMeteredPlanByProductType(
|
|
37
39
|
productType: ProductType,
|
|
38
40
|
): ServerMeteredPlan {
|
|
@@ -3,6 +3,7 @@ import MeteredPlan from "Common/Types/Billing/MeteredPlan";
|
|
|
3
3
|
import NotImplementedException from "Common/Types/Exception/NotImplementedException";
|
|
4
4
|
import ProductType from "Common/Types/MeteredPlan/ProductType";
|
|
5
5
|
import ObjectID from "Common/Types/ObjectID";
|
|
6
|
+
import CaptureSpan from "../../../Utils/Telemetry/CaptureSpan";
|
|
6
7
|
|
|
7
8
|
export default class ServerMeteredPlan {
|
|
8
9
|
public getProductType(): ProductType {
|
|
@@ -16,6 +17,7 @@ export default class ServerMeteredPlan {
|
|
|
16
17
|
return meteredPlan.getPricePerUnit() * quantity;
|
|
17
18
|
}
|
|
18
19
|
|
|
20
|
+
@CaptureSpan()
|
|
19
21
|
public async reportQuantityToBillingProvider(
|
|
20
22
|
_projectId: ObjectID,
|
|
21
23
|
_options: {
|
|
@@ -7,6 +7,7 @@ import ProductType from "Common/Types/MeteredPlan/ProductType";
|
|
|
7
7
|
import ObjectID from "Common/Types/ObjectID";
|
|
8
8
|
import Project from "Common/Models/DatabaseModels/Project";
|
|
9
9
|
import TelemetryUsageBilling from "Common/Models/DatabaseModels/TelemetryUsageBilling";
|
|
10
|
+
import CaptureSpan from "../../../Utils/Telemetry/CaptureSpan";
|
|
10
11
|
|
|
11
12
|
export default class TelemetryMeteredPlan extends ServerMeteredPlan {
|
|
12
13
|
private _productType!: ProductType;
|
|
@@ -41,10 +42,12 @@ export default class TelemetryMeteredPlan extends ServerMeteredPlan {
|
|
|
41
42
|
return data.dataIngestedInGB * data.retentionInDays * this.unitCostInUSD;
|
|
42
43
|
}
|
|
43
44
|
|
|
45
|
+
@CaptureSpan()
|
|
44
46
|
public override getProductType(): ProductType {
|
|
45
47
|
return this.productType;
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
@CaptureSpan()
|
|
48
51
|
public override async reportQuantityToBillingProvider(
|
|
49
52
|
projectId: ObjectID,
|
|
50
53
|
options?: {
|
|
@@ -19,8 +19,10 @@ import Permission, {
|
|
|
19
19
|
PermissionHelper,
|
|
20
20
|
UserPermission,
|
|
21
21
|
} from "Common/Types/Permission";
|
|
22
|
+
import CaptureSpan from "../../../Utils/Telemetry/CaptureSpan";
|
|
22
23
|
|
|
23
24
|
export default class AccessControlPermission {
|
|
25
|
+
@CaptureSpan()
|
|
24
26
|
public static async checkAccessControlBlockPermissionByModel<
|
|
25
27
|
TBaseModel extends BaseModel,
|
|
26
28
|
>(data: {
|
|
@@ -123,6 +125,7 @@ export default class AccessControlPermission {
|
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
127
|
|
|
128
|
+
@CaptureSpan()
|
|
126
129
|
public static async checkAccessControlPermissionByModel<
|
|
127
130
|
TBaseModel extends BaseModel,
|
|
128
131
|
>(data: {
|
|
@@ -213,6 +216,7 @@ export default class AccessControlPermission {
|
|
|
213
216
|
}
|
|
214
217
|
}
|
|
215
218
|
|
|
219
|
+
@CaptureSpan()
|
|
216
220
|
public static async addAccessControlIdsToQuery<TBaseModel extends BaseModel>(
|
|
217
221
|
modelType: { new (): TBaseModel },
|
|
218
222
|
query: Query<TBaseModel>,
|
|
@@ -236,6 +240,7 @@ export default class AccessControlPermission {
|
|
|
236
240
|
return query;
|
|
237
241
|
}
|
|
238
242
|
|
|
243
|
+
@CaptureSpan()
|
|
239
244
|
public static getAccessControlIdsForModel(
|
|
240
245
|
modelType: DatabaseBaseModelType,
|
|
241
246
|
props: DatabaseCommonInteractionProps,
|
|
@@ -260,6 +265,7 @@ export default class AccessControlPermission {
|
|
|
260
265
|
return distinctLabelIds;
|
|
261
266
|
}
|
|
262
267
|
|
|
268
|
+
@CaptureSpan()
|
|
263
269
|
public static getAccessControlIdsForQuery<TBaseModel extends BaseModel>(
|
|
264
270
|
modelType: DatabaseBaseModelType,
|
|
265
271
|
query: Query<TBaseModel>,
|