@oneuptime/common 14.3.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/AIAgent.js +7 -1
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
- package/Models/DatabaseModels/AIRun.d.mts +2 -0
- package/Models/DatabaseModels/AIRun.d.ts +2 -0
- package/Models/DatabaseModels/AIRun.js +63 -0
- package/Models/DatabaseModels/AcmeCertificate.js +14 -0
- package/Models/DatabaseModels/Alert.js +6 -8
- package/Models/DatabaseModels/AlertEpisodeStateTimeline.js +3 -2
- package/Models/DatabaseModels/AlertSeverity.js +3 -12
- package/Models/DatabaseModels/ApiKey.d.mts +3 -1
- package/Models/DatabaseModels/ApiKey.d.ts +3 -1
- package/Models/DatabaseModels/ApiKey.js +67 -14
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +1 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +1 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +37 -4
- package/Models/DatabaseModels/CallLog.js +15 -3
- package/Models/DatabaseModels/CodeRepository.d.mts +1 -0
- package/Models/DatabaseModels/CodeRepository.d.ts +1 -0
- package/Models/DatabaseModels/CodeRepository.js +45 -2
- package/Models/DatabaseModels/CodeRepositoryMintedToken.d.mts +25 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.d.ts +25 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.js +436 -0
- package/Models/DatabaseModels/CodeRepositoryMintedToken.mjs +2 -0
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- package/Models/DatabaseModels/Dashboard.js +10 -2
- package/Models/DatabaseModels/DashboardDomain.js +22 -27
- package/Models/DatabaseModels/DataProduct.js +3 -2
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/RuleBaseModel.js +30 -0
- package/Models/DatabaseModels/EmailLog.js +15 -3
- package/Models/DatabaseModels/File.js +4 -2
- package/Models/DatabaseModels/FormDomain.js +10 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +9 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +9 -1
- package/Models/DatabaseModels/GlobalConfig.js +187 -11
- package/Models/DatabaseModels/Incident.js +38 -44
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +11 -16
- package/Models/DatabaseModels/IncidentEpisodeStateTimeline.js +3 -2
- package/Models/DatabaseModels/IncidentPublicNote.js +11 -16
- package/Models/DatabaseModels/IncidentSeverity.js +3 -12
- package/Models/DatabaseModels/IncidentStateTimeline.js +12 -16
- package/Models/DatabaseModels/IncidentTemplate.js +6 -11
- package/Models/DatabaseModels/IncomingRequestSecret.d.mts +6 -0
- package/Models/DatabaseModels/IncomingRequestSecret.d.ts +6 -0
- package/Models/DatabaseModels/IncomingRequestSecret.js +156 -29
- package/Models/DatabaseModels/Index.js +2 -5
- package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +5 -0
- package/Models/DatabaseModels/Monitor.d.ts +5 -0
- package/Models/DatabaseModels/Monitor.js +204 -26
- package/Models/DatabaseModels/MonitorNetworkDevice.js +4 -1
- package/Models/DatabaseModels/MonitorTemplate.js +3 -1
- package/Models/DatabaseModels/MonitorTest.js +3 -1
- package/Models/DatabaseModels/NetworkDevice.js +59 -20
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +39 -0
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +45 -12
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.mts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.ts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +93 -5
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +43 -0
- package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.js +7 -1
- package/Models/DatabaseModels/Project.d.mts +1 -1
- package/Models/DatabaseModels/Project.d.ts +1 -1
- package/Models/DatabaseModels/Project.js +59 -64
- package/Models/DatabaseModels/ProjectSCIM.d.mts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.js +21 -9
- package/Models/DatabaseModels/ProjectSmtpConfig.js +44 -49
- package/Models/DatabaseModels/PushNotificationLog.js +15 -3
- package/Models/DatabaseModels/Reseller.js +2 -8
- package/Models/DatabaseModels/ResellerPlan.js +2 -8
- package/Models/DatabaseModels/Runbook.js +3 -2
- package/Models/DatabaseModels/RunbookExecution.js +4 -4
- package/Models/DatabaseModels/Runner.d.mts +1 -0
- package/Models/DatabaseModels/Runner.d.ts +1 -0
- package/Models/DatabaseModels/Runner.js +52 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +32 -24
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +11 -16
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +12 -16
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +9 -8
- package/Models/DatabaseModels/ServiceLevelObjective.js +7 -0
- package/Models/DatabaseModels/SmsLog.js +15 -3
- package/Models/DatabaseModels/StatusPage.js +33 -13
- package/Models/DatabaseModels/StatusPageAnnouncement.js +19 -24
- package/Models/DatabaseModels/StatusPageDomain.js +24 -27
- package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
- package/Models/DatabaseModels/StatusPageSubscriber.js +40 -19
- package/Models/DatabaseModels/TelegramLog.js +15 -3
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +36 -1
- package/Models/DatabaseModels/User.d.mts +0 -3
- package/Models/DatabaseModels/User.d.ts +0 -3
- package/Models/DatabaseModels/User.js +5 -73
- package/Models/DatabaseModels/UserOnCallLog.d.mts +1 -0
- package/Models/DatabaseModels/UserOnCallLog.d.ts +1 -0
- package/Models/DatabaseModels/UserOnCallLog.js +52 -5
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -2
- package/Models/DatabaseModels/UserWebhook.js +39 -22
- package/Models/DatabaseModels/WebhookLog.js +27 -5
- package/Models/DatabaseModels/WhatsAppLog.js +15 -3
- package/Models/DatabaseModels/Workflow.d.mts +3 -0
- package/Models/DatabaseModels/Workflow.d.ts +3 -0
- package/Models/DatabaseModels/Workflow.js +70 -1
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +15 -3
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +10 -7
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.js +16 -2
- package/Models/DatabaseModels/WorkspaceUserAuthToken.js +13 -2
- package/Server/Services/DatabaseService.d.mts +78 -39
- package/Server/Services/DatabaseService.d.ts +78 -39
- package/Server/Types/Database/Permissions/PrivateRecordPermission.d.mts +123 -0
- package/Server/Types/Database/Permissions/PrivateRecordPermission.d.ts +123 -0
- package/Types/AI/AIActionWords.d.mts +14 -1
- package/Types/AI/AIActionWords.d.ts +14 -1
- package/Types/AI/AIActionWords.js +85 -1
- package/Types/AI/AIActionWords.mjs +4 -0
- package/Types/AI/AIAgentRunLimits.js +5 -4
- package/Types/AI/AIChatTypes.js +8 -3
- package/Types/AI/AIReadTableWords.js +7 -2
- package/Types/AI/AiActivityInsights.d.mts +1 -0
- package/Types/AI/AiActivityInsights.d.ts +1 -0
- package/Types/AI/CarriedRecords.d.mts +35 -0
- package/Types/AI/CarriedRecords.d.ts +35 -0
- package/Types/AI/CarriedRecords.js +211 -0
- package/Types/AI/CarriedRecords.mjs +3 -0
- package/Types/AI/CodeTask.d.mts +1 -0
- package/Types/AI/CodeTask.d.ts +1 -0
- package/Types/AI/CodeTask.js +7 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +4 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +4 -0
- package/Types/Accounts/MoreWaysToSignIn.d.mts +1 -0
- package/Types/Accounts/MoreWaysToSignIn.d.ts +1 -0
- package/Types/Accounts/MoreWaysToSignIn.js +11 -0
- package/Types/Accounts/MoreWaysToSignIn.mjs +2 -0
- package/Types/Accounts/SetPasswordLink.d.mts +6 -0
- package/Types/Accounts/SetPasswordLink.d.ts +6 -0
- package/Types/Accounts/SetPasswordLink.js +47 -0
- package/Types/Accounts/SetPasswordLink.mjs +7 -0
- package/Types/Accounts/SignInMessages.d.mts +5 -0
- package/Types/Accounts/SignInMessages.d.ts +5 -0
- package/Types/Accounts/SignInMessages.js +19 -1
- package/Types/Accounts/SignInMessages.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +7 -2
- package/Types/Analytics/ProductEvent.d.ts +7 -2
- package/Types/Analytics/ProductEvent.js +62 -12
- package/Types/ApiKey/ApiKeyShownOnce.d.mts +11 -0
- package/Types/ApiKey/ApiKeyShownOnce.d.ts +11 -0
- package/Types/ApiKey/ApiKeyShownOnce.js +78 -0
- package/Types/ApiKey/ApiKeyShownOnce.mjs +6 -0
- package/Types/AuditLog/AuditLogAction.d.mts +1 -0
- package/Types/AuditLog/AuditLogAction.d.ts +1 -0
- package/Types/AuditLog/AuditLogAction.js +11 -1
- package/Types/AuditLog/AuditLogActionLabel.js +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +15 -3
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +15 -3
- package/Types/AuditLog/AuditLogSessionEvent.js +107 -12
- package/Types/AuditLog/AuditLogSessionEvent.mjs +6 -0
- package/Types/AuditLog/AuditLogSignInFailure.d.mts +30 -0
- package/Types/AuditLog/AuditLogSignInFailure.d.ts +30 -0
- package/Types/AuditLog/AuditLogSignInFailure.js +109 -0
- package/Types/AuditLog/AuditLogSignInFailure.mjs +8 -0
- package/Types/AuditLog/AuditLogStatusPageSession.d.mts +29 -0
- package/Types/AuditLog/AuditLogStatusPageSession.d.ts +29 -0
- package/Types/AuditLog/AuditLogStatusPageSession.js +106 -0
- package/Types/AuditLog/AuditLogStatusPageSession.mjs +9 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.d.mts +11 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.d.ts +11 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.js +57 -0
- package/Types/AuditLog/Export/AuditLogExportEntriesLost.mjs +5 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +39 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +39 -0
- package/Types/AutoRemediation/RemediationApprovals.js +174 -8
- package/Types/AutoRemediation/RemediationApprovals.mjs +9 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.d.mts +15 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.d.ts +15 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.js +131 -0
- package/Types/AutoRemediation/RemediationPlanFingerprint.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
- package/Types/BaseDatabase/SortNulls.d.mts +5 -0
- package/Types/BaseDatabase/SortNulls.d.ts +5 -0
- package/Types/BaseDatabase/SortNulls.js +14 -0
- package/Types/BaseDatabase/SortNulls.mjs +2 -0
- package/Types/Billing/AdminProjectInvoice.d.mts +20 -0
- package/Types/Billing/AdminProjectInvoice.d.ts +20 -0
- package/Types/Billing/AdminProjectInvoice.js +85 -0
- package/Types/Billing/AdminProjectInvoice.mjs +6 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +6 -2
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +6 -2
- package/Types/CloudConnection/CloudAiAgentCost.js +28 -2
- package/Types/CloudConnection/CloudAiAgentCost.mjs +4 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +19 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +19 -1
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +354 -16
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +17 -0
- package/Types/CodeRepository/ProductionReview.d.mts +5 -0
- package/Types/CodeRepository/ProductionReview.d.ts +5 -0
- package/Types/CodeRepository/ProductionReview.js +108 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.d.mts +10 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.d.ts +10 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.js +69 -0
- package/Types/CustomDomain/UploadedCertificateRefusals.mjs +11 -0
- package/Types/DataObservability/DataLineageMap.d.mts +147 -0
- package/Types/DataObservability/DataLineageMap.d.ts +147 -0
- package/Types/DataObservability/DataLineageMap.js +503 -0
- package/Types/DataObservability/DataLineageMap.mjs +20 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
- package/Types/Database/DatabaseProperty.d.mts +1 -0
- package/Types/Database/DatabaseProperty.d.ts +1 -0
- package/Types/Database/DatabaseProperty.js +27 -0
- package/Types/Database/EncryptedValue.d.mts +2 -0
- package/Types/Database/EncryptedValue.d.ts +2 -0
- package/Types/Database/EncryptedValue.js +27 -0
- package/Types/Database/EncryptedValue.mjs +3 -0
- package/Types/Database/TableColumn.d.mts +4 -0
- package/Types/Database/TableColumn.d.ts +4 -0
- package/Types/Database/UserAttribution.js +7 -3
- package/Types/Date.d.mts +0 -2
- package/Types/Date.d.ts +0 -2
- package/Types/Date.js +12 -19
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Email/EmailMessage.d.mts +2 -0
- package/Types/Email/EmailMessage.d.ts +2 -0
- package/Types/Email/EmailRecipients.d.mts +11 -0
- package/Types/Email/EmailRecipients.d.ts +11 -0
- package/Types/Email/EmailRecipients.js +84 -0
- package/Types/Email/EmailRecipients.mjs +6 -0
- package/Types/Email/EmailSendFailure.d.mts +20 -0
- package/Types/Email/EmailSendFailure.d.ts +20 -0
- package/Types/Email/EmailSendFailure.js +244 -0
- package/Types/Email/EmailSendFailure.mjs +3 -0
- package/Types/Email/EmailTemplateType.d.mts +3 -1
- package/Types/Email/EmailTemplateType.d.ts +3 -1
- package/Types/Email/EmailTemplateType.js +10 -0
- package/Types/IP/IP.js +27 -1
- package/Types/JoinedSerializableObjects.d.mts +6 -0
- package/Types/JoinedSerializableObjects.d.ts +6 -0
- package/Types/JoinedSerializableObjects.js +14 -0
- package/Types/JoinedSerializableObjects.mjs +3 -0
- package/Types/Kubernetes/KubernetesClusterAiLogs.d.mts +2 -0
- package/Types/Kubernetes/KubernetesClusterAiLogs.d.ts +2 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.d.mts +15 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.d.ts +15 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.js +81 -0
- package/Types/MasterApiKey/MasterApiKeyAnswer.mjs +5 -0
- package/Types/MeaningKeys.js +19 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +2 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +2 -0
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.mts +23 -1
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.d.ts +23 -1
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.js +105 -4
- package/Types/Monitor/IncomingMonitor/IncomingRequestSecret.mjs +7 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.d.mts +11 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.d.ts +11 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.js +28 -0
- package/Types/Monitor/IncomingMonitor/WebhookVerificationProvider.mjs +3 -0
- package/Types/Monitor/MonitorCriteria.js +8 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +8 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.d.mts +12 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.d.ts +12 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.js +2 -0
- package/Types/Monitor/MonitorGroupUptimeSummary.mjs +1 -0
- package/Types/Monitor/MonitorJsonTypes.d.mts +4 -0
- package/Types/Monitor/MonitorJsonTypes.d.ts +4 -0
- package/Types/Monitor/MonitorJsonTypes.js +31 -0
- package/Types/Monitor/MonitorJsonTypes.mjs +2 -0
- package/Types/Monitor/MonitorStep.js +8 -0
- package/Types/Monitor/MonitorSteps.js +8 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.d.mts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.d.ts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.js +21 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.browser.mjs +2 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.d.mts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.d.ts +3 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.js +24 -0
- package/Types/Monitor/MonitorStepsColumnTransformer.mjs +2 -0
- package/Types/Monitor/UptimeHistoryLabels.d.mts +4 -0
- package/Types/Monitor/UptimeHistoryLabels.d.ts +4 -0
- package/Types/Monitor/UptimeHistoryLabels.js +4 -0
- package/Types/Monitor/WhoIsTold.d.mts +25 -0
- package/Types/Monitor/WhoIsTold.d.ts +25 -0
- package/Types/Monitor/WhoIsTold.js +171 -19
- package/Types/Monitor/WhoIsTold.mjs +3 -0
- package/Types/NoBreakSpaces.d.mts +5 -1
- package/Types/NoBreakSpaces.d.ts +5 -1
- package/Types/NoBreakSpaces.js +107 -52
- package/Types/NoBreakSpaces.mjs +1 -0
- package/Types/NotificationRule/PagingLadder.d.mts +2 -0
- package/Types/NotificationRule/PagingLadder.d.ts +2 -0
- package/Types/NotificationRule/PagingLadder.js +47 -1
- package/Types/NotificationRule/PagingLadder.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.d.mts +2 -1
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.d.ts +2 -1
- package/Types/OnCallDutyPolicy/OnCalDutyExecutionLogTimelineStatus.js +6 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +41 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.mts +6 -1
- package/Types/OnCallDutyPolicy/OnCallLogLine.d.ts +6 -1
- package/Types/OnCallDutyPolicy/OnCallLogLine.js +60 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.d.mts +32 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.d.ts +32 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.js +192 -0
- package/Types/OnCallDutyPolicy/OnCallPageMerge.mjs +14 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +40 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +40 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +142 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +13 -0
- package/Types/Password.d.mts +18 -12
- package/Types/Password.d.ts +18 -12
- package/Types/Password.js +63 -58
- package/Types/Password.mjs +3 -3
- package/Types/Permission.d.mts +4 -0
- package/Types/Permission.d.ts +4 -0
- package/Types/Permission.js +48 -0
- package/Types/PrivateRecord/PrivateRecordParts.js +50 -0
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +11 -0
- package/Types/Product/ProjectProducts.d.mts +1 -15
- package/Types/Product/ProjectProducts.d.ts +1 -15
- package/Types/Product/ProjectProducts.js +38 -129
- package/Types/Product/ProjectProducts.mjs +1 -5
- package/Types/Product/ProjectProductsAnswer.js +5 -6
- package/Types/ProductFeedback/ProductFeedback.d.mts +29 -4
- package/Types/ProductFeedback/ProductFeedback.d.ts +29 -4
- package/Types/ProductFeedback/ProductFeedback.js +176 -28
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -1
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +6 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +6 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +20 -1
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +5 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +3 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +3 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +18 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +2 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +33 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +33 -0
- package/Types/Retention/ResolvedRecordRetention.js +211 -1
- package/Types/Retention/ResolvedRecordRetention.mjs +13 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.d.mts +28 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.d.ts +28 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.js +134 -0
- package/Types/Retention/ResolvedRecordRetentionAnswers.mjs +5 -0
- package/Types/Rules/RuleEmptiedLimit.d.mts +20 -0
- package/Types/Rules/RuleEmptiedLimit.d.ts +20 -0
- package/Types/Rules/RuleEmptiedLimit.js +131 -0
- package/Types/Rules/RuleEmptiedLimit.mjs +9 -0
- package/Types/Runbook/RunbookStepTimeout.js +11 -10
- package/Types/Runner/GlobalRunnerRepositoryTokens.d.mts +18 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.d.ts +18 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.js +97 -0
- package/Types/Runner/GlobalRunnerRepositoryTokens.mjs +8 -0
- package/Types/Runner/GlobalRunnerSandbox.d.mts +38 -0
- package/Types/Runner/GlobalRunnerSandbox.d.ts +38 -0
- package/Types/Runner/GlobalRunnerSandbox.js +178 -0
- package/Types/Runner/GlobalRunnerSandbox.mjs +9 -0
- package/Types/Runner/GlobalRunnerWork.js +9 -4
- package/Types/Runner/RunnerCodeFixCapability.d.mts +16 -0
- package/Types/Runner/RunnerCodeFixCapability.d.ts +16 -0
- package/Types/Runner/RunnerCodeFixCapability.js +121 -0
- package/Types/Runner/RunnerCodeFixCapability.mjs +8 -0
- package/Types/Runner/RunnerCodeFixes.d.mts +3 -0
- package/Types/Runner/RunnerCodeFixes.d.ts +3 -0
- package/Types/Runner/RunnerCodeFixes.js +27 -4
- package/Types/Runner/RunnerCodeFixes.mjs +1 -0
- package/Types/SSO/SessionsWithoutSso.d.mts +10 -0
- package/Types/SSO/SessionsWithoutSso.d.ts +10 -0
- package/Types/SSO/SessionsWithoutSso.js +39 -0
- package/Types/SSO/SessionsWithoutSso.mjs +5 -0
- package/Types/SerializableObjectDictionary.js +11 -8
- package/Types/ServerSending/ServerSendingStatus.d.mts +23 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +23 -2
- package/Types/ServerSending/ServerSendingStatus.js +208 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +47 -2
- package/Types/SetupHealth/SetupHealth.d.ts +47 -2
- package/Types/SetupHealth/SetupHealth.js +228 -1
- package/Types/SetupHealth/SetupHealth.mjs +12 -0
- package/Types/StatusPage/StatusPageMagicLink.js +1 -1
- package/Types/StatusPage/StatusPageReport.d.mts +5 -2
- package/Types/StatusPage/StatusPageReport.d.ts +5 -2
- package/Types/StatusPage/StatusPageSignInMessages.d.mts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
- package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -0
- package/Types/StatusPage/SubscriberNotificationTemplateVariables.js +2 -2
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +1 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +1 -0
- package/Types/Telemetry/LlmConventions.d.mts +1 -1
- package/Types/Telemetry/LlmConventions.d.ts +1 -1
- package/Types/Telemetry/LlmConventions.js +1 -1
- package/Types/Telemetry/ScrubRule.d.mts +1 -0
- package/Types/Telemetry/ScrubRule.d.ts +1 -0
- package/Types/Telemetry/ScrubRule.js +47 -0
- package/Types/Translator.d.mts +5 -2
- package/Types/Translator.d.ts +5 -2
- package/Types/Translator.js +43 -19
- package/Types/UsedBy/UsedBy.d.mts +107 -4
- package/Types/UsedBy/UsedBy.d.ts +107 -4
- package/Types/UsedBy/UsedBy.js +339 -6
- package/Types/UsedBy/UsedBy.mjs +12 -0
- package/Types/UsedBy/UsedByServerProducts.d.mts +5 -2
- package/Types/UsedBy/UsedByServerProducts.d.ts +5 -2
- package/Types/UsedBy/UsedByServerProducts.js +115 -6
- package/Types/UsedBy/UsedByServerProducts.mjs +1 -0
- package/Types/UserNotification/UserNotificationExecutionStatus.d.mts +2 -1
- package/Types/UserNotification/UserNotificationExecutionStatus.d.ts +2 -1
- package/Types/UserNotification/UserNotificationExecutionStatus.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +8 -1
- package/Types/WelcomeChecklist/ProjectGoal.js +5 -5
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +63 -1
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +0 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +0 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +0 -3
- package/Types/Workflow/WatchedFields.d.mts +1 -0
- package/Types/Workflow/WatchedFields.d.ts +1 -0
- package/Types/Workflow/WatchedFields.js +10 -1
- package/Types/Workflow/WatchedFields.mjs +1 -0
- package/Types/Workflow/WorkflowPrivateRecords.d.mts +2 -0
- package/Types/Workflow/WorkflowPrivateRecords.d.ts +2 -0
- package/Types/Workflow/WorkflowPrivateRecords.js +33 -0
- package/Types/Workflow/WorkflowPrivateRecords.mjs +3 -0
- package/Types/Workspace/ConnectCallback.d.mts +2 -1
- package/Types/Workspace/ConnectCallback.d.ts +2 -1
- package/Types/Workspace/ConnectCallback.js +8 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -0
- package/Types/Workspace/NotificationRules/EventType.js +4 -3
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +19 -2
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +19 -2
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +127 -8
- package/Types/Workspace/WorkspaceLiveMessageKey.d.mts +5 -1
- package/Types/Workspace/WorkspaceLiveMessageKey.d.ts +5 -1
- package/Types/Workspace/WorkspaceLiveMessageKey.js +12 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +6 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +6 -0
- package/Utils/API.d.mts +6 -7
- package/Utils/API.d.ts +6 -7
- package/Utils/API.js +57 -35
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.js +6 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +10 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +10 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +89 -1
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +4 -0
- package/Utils/Billing/InvoiceAmount.d.mts +4 -0
- package/Utils/Billing/InvoiceAmount.d.ts +4 -0
- package/Utils/Billing/InvoiceAmount.js +35 -0
- package/Utils/Billing/InvoiceAmount.mjs +2 -0
- package/Utils/CertificateReissue.js +4 -3
- package/Utils/CronScheduleText.js +10 -3
- package/Utils/CronTab.js +6 -33
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +5 -18
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +5 -18
- package/Utils/Dashboard/MonitorListWidgetFormat.js +54 -18
- package/Utils/DeveloperDocs/ResourceProfiles.js +2 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -2
- package/Utils/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
- package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
- package/Utils/LinearRegExp/LinearRegExp.d.mts +1 -0
- package/Utils/LinearRegExp/LinearRegExp.d.ts +1 -0
- package/Utils/LinearRegExp/LinearRegExp.js +17 -0
- package/Utils/LookupTable.d.mts +1 -0
- package/Utils/LookupTable.d.ts +1 -0
- package/Utils/LookupTable.js +19 -0
- package/Utils/LookupTable.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +6 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +6 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +477 -152
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
- package/Utils/Markdown/SlowMarkdown.js +168 -33
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +20 -4
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +20 -4
- package/Utils/Metrics/MetricFormulaEvaluator.js +233 -29
- package/Utils/Metrics/MetricResultUnitConverter.js +7 -1
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.mts +4 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.d.ts +4 -0
- package/Utils/Metrics/MetricSeriesArrivalUtil.js +27 -0
- package/Utils/Metrics/MetricZeroFill.d.mts +45 -0
- package/Utils/Metrics/MetricZeroFill.d.ts +45 -0
- package/Utils/Metrics/MetricZeroFill.js +145 -0
- package/Utils/Metrics/MetricZeroFill.mjs +2 -0
- package/Utils/ModelImportExport.js +4 -1
- package/Utils/Monitor/EndpointAttachmentUtil.d.mts +3 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +3 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +57 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.d.mts +9 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.d.ts +9 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.js +52 -0
- package/Utils/Monitor/HeartbeatSweepSchedule.mjs +5 -0
- package/Utils/Monitor/MonitorFirstCheck.d.mts +32 -0
- package/Utils/Monitor/MonitorFirstCheck.d.ts +32 -0
- package/Utils/Monitor/MonitorFirstCheck.js +128 -0
- package/Utils/Monitor/MonitorFirstCheck.mjs +4 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.d.mts +12 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.d.ts +12 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.js +87 -0
- package/Utils/Monitor/MonitorFirstCheckOverdue.mjs +2 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.d.mts +11 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.d.ts +11 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.js +86 -0
- package/Utils/Monitor/MonitorGroupUptimeSummaryUtil.mjs +2 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +5 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +5 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +128 -10
- package/Utils/Monitor/MonitorRowStatus.d.mts +56 -0
- package/Utils/Monitor/MonitorRowStatus.d.ts +56 -0
- package/Utils/Monitor/MonitorRowStatus.js +189 -0
- package/Utils/Monitor/MonitorRowStatus.mjs +6 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +3 -2
- package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.js +105 -0
- package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +14 -3
- package/Utils/Monitor/StoredCheckEvidence.d.mts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.js +53 -0
- package/Utils/Monitor/StoredCheckEvidence.mjs +5 -0
- package/Utils/NetworkDevice/TransceiverHealthUtil.js +2 -2
- package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- package/Utils/Profiles/ProfileFrames.js +11 -4
- package/Utils/Profiles/ProfileFunctionNames.d.mts +2 -0
- package/Utils/Profiles/ProfileFunctionNames.d.ts +2 -0
- package/Utils/Profiles/ProfileFunctionNames.js +104 -0
- package/Utils/Profiles/ProfileFunctionNames.mjs +3 -0
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +9 -1
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Project/TwilioAccount.d.mts +3 -0
- package/Utils/Project/TwilioAccount.d.ts +3 -0
- package/Utils/Project/TwilioAccount.js +58 -18
- package/Utils/Project/TwilioAccount.mjs +2 -0
- package/Utils/ResponseTooLarge.d.mts +5 -0
- package/Utils/ResponseTooLarge.d.ts +5 -0
- package/Utils/ResponseTooLarge.js +69 -0
- package/Utils/ResponseTooLarge.mjs +2 -0
- package/Utils/RetryAfter.d.mts +17 -0
- package/Utils/RetryAfter.d.ts +17 -0
- package/Utils/RetryAfter.js +251 -0
- package/Utils/RetryAfter.mjs +5 -0
- package/Utils/ScheduledMaintenanceStart.js +2 -3
- package/Utils/Schema/BaseSchema.d.mts +12 -5
- package/Utils/Schema/BaseSchema.d.ts +12 -5
- package/Utils/Schema/BaseSchema.js +43 -4
- package/Utils/Schema/BaseSchema.mjs +1 -0
- package/Utils/Schema/ModelSchema.d.mts +10 -0
- package/Utils/Schema/ModelSchema.d.ts +10 -0
- package/Utils/Schema/ModelSchema.js +251 -22
- package/Utils/Slo/SloMonthlyReport.d.mts +187 -0
- package/Utils/Slo/SloMonthlyReport.d.ts +187 -0
- package/Utils/Slo/SloMonthlyReport.js +945 -0
- package/Utils/Slo/SloMonthlyReport.mjs +35 -0
- package/Utils/Slo/SloOverviewText.js +7 -2
- package/Utils/Slo/SloProjection.js +2 -1
- package/Utils/Slo/SloUtil.d.mts +5 -0
- package/Utils/Slo/SloUtil.d.ts +5 -0
- package/Utils/Slo/SloUtil.js +5 -0
- package/Utils/Slo/SloWidgetFormat.js +3 -1
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +30 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +30 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +147 -12
- package/Utils/StatusPage/FrozenMonitorResources.mjs +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +3 -2
- package/Utils/StatusPage/HistoryChartBarColors.d.mts +2 -0
- package/Utils/StatusPage/HistoryChartBarColors.d.ts +2 -0
- package/Utils/StatusPage/HistoryChartBarColors.js +15 -1
- package/Utils/StatusPage/HistoryChartBarColors.mjs +2 -0
- package/Utils/StatusPage/HistoryWindow.d.mts +3 -0
- package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
- package/Utils/StatusPage/HistoryWindow.js +24 -0
- package/Utils/StatusPage/HistoryWindow.mjs +4 -0
- package/Utils/StatusPage/Report.js +12 -4
- package/Utils/StatusPage/ReportText.d.mts +4 -0
- package/Utils/StatusPage/ReportText.d.ts +4 -0
- package/Utils/StatusPage/ReportText.js +22 -2
- package/Utils/StatusPage/ReportText.mjs +1 -0
- package/Utils/StatusPage/ResourceUptime.js +32 -25
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +17 -3
- package/Utils/Suggestions/CodeFixSuggestion.d.mts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
- package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
- package/Utils/Syslog/SyslogMessageParser.d.mts +25 -0
- package/Utils/Syslog/SyslogMessageParser.d.ts +25 -0
- package/Utils/Syslog/SyslogMessageParser.js +428 -100
- package/Utils/Syslog/SyslogMessageParser.mjs +3 -0
- package/Utils/Syslog/SyslogRawCopies.d.mts +20 -0
- package/Utils/Syslog/SyslogRawCopies.d.ts +20 -0
- package/Utils/Syslog/SyslogRawCopies.js +283 -0
- package/Utils/Syslog/SyslogRawCopies.mjs +2 -0
- package/Utils/Telemetry/CorrelationIdAttributes.d.mts +8 -0
- package/Utils/Telemetry/CorrelationIdAttributes.d.ts +8 -0
- package/Utils/Telemetry/CorrelationIdAttributes.js +118 -0
- package/Utils/Telemetry/CorrelationIdAttributes.mjs +5 -0
- package/Utils/Telemetry/ScrubJsonKeys.d.mts +11 -0
- package/Utils/Telemetry/ScrubJsonKeys.d.ts +11 -0
- package/Utils/Telemetry/ScrubJsonKeys.js +505 -0
- package/Utils/Telemetry/ScrubJsonKeys.mjs +2 -0
- package/Utils/Telemetry/ScrubJsonText.d.mts +25 -0
- package/Utils/Telemetry/ScrubJsonText.d.ts +25 -0
- package/Utils/Telemetry/ScrubJsonText.js +568 -0
- package/Utils/Telemetry/ScrubJsonText.mjs +4 -0
- package/Utils/Telemetry/ScrubMask.d.mts +1 -0
- package/Utils/Telemetry/ScrubMask.d.ts +1 -0
- package/Utils/Telemetry/ScrubMask.js +54 -0
- package/Utils/Telemetry/ScrubMask.mjs +2 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +5 -2
- package/Utils/Telemetry/ScrubNestedValues.d.ts +5 -2
- package/Utils/Telemetry/ScrubNestedValues.js +56 -9
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +17 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +17 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +91 -3
- package/Utils/Uptime/DayUptimeGraphUtil.mjs +1 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.d.mts +11 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.d.ts +11 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.js +188 -0
- package/Utils/Uptime/TimeBeforeFirstCheck.mjs +2 -0
- package/Utils/WebhookAddressMask.d.mts +9 -0
- package/Utils/WebhookAddressMask.d.ts +9 -0
- package/Utils/WebhookAddressMask.js +66 -0
- package/Utils/WebhookAddressMask.mjs +2 -0
- package/package.json +1 -1
- package/Models/DatabaseModels/GreenlockCertificate.d.mts +0 -10
- package/Models/DatabaseModels/GreenlockCertificate.d.ts +0 -10
- package/Models/DatabaseModels/GreenlockCertificate.js +0 -143
- package/Models/DatabaseModels/GreenlockCertificate.mjs +0 -2
- package/Models/DatabaseModels/GreenlockChallenge.d.mts +0 -10
- package/Models/DatabaseModels/GreenlockChallenge.d.ts +0 -10
- package/Models/DatabaseModels/GreenlockChallenge.js +0 -144
- package/Models/DatabaseModels/GreenlockChallenge.mjs +0 -2
- package/Types/SampleProject/SampleProject.d.mts +0 -54
- package/Types/SampleProject/SampleProject.d.ts +0 -54
- package/Types/SampleProject/SampleProject.js +0 -177
- package/Types/SampleProject/SampleProject.mjs +0 -22
- package/Types/SampleProject/SampleProjectContent.d.mts +0 -127
- package/Types/SampleProject/SampleProjectContent.d.ts +0 -127
- package/Types/SampleProject/SampleProjectContent.js +0 -397
- package/Types/SampleProject/SampleProjectContent.mjs +0 -18
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.withoutGroupsOfProductsOff = exports.USED_BY_ROW_KIND_PRODUCTS = void 0;
|
|
6
|
+
exports.withoutGroupsOfProductsOff = exports.withoutRowsOfProductsOff = exports.USED_BY_ROW_KIND_PRODUCTS = void 0;
|
|
7
7
|
const ProductKey_1 = __importDefault(require("../Product/ProductKey"));
|
|
8
8
|
const UsedBy_1 = require("./UsedBy");
|
|
9
9
|
/*
|
|
@@ -11,7 +11,10 @@ const UsedBy_1 = require("./UsedBy");
|
|
|
11
11
|
*
|
|
12
12
|
* The Used by card lists and links what refers to a record - a monitor's
|
|
13
13
|
* status pages, SLOs, workflows. A product switched off on the server has no
|
|
14
|
-
* pages to link to, so the card leaves its line out (UsedByCard).
|
|
14
|
+
* pages to link to, so the card leaves its line out (UsedByCard). A family's
|
|
15
|
+
* line (the rules that name a monitor) holds kinds of several products: it
|
|
16
|
+
* keeps the kinds of the products that are on, and is left out only when
|
|
17
|
+
* none is.
|
|
15
18
|
*
|
|
16
19
|
* The Delete and Archive dialogs read the same summary and keep every line
|
|
17
20
|
* (UsedByImpact): deleting a monitor still takes it off a status page while
|
|
@@ -21,7 +24,11 @@ const UsedBy_1 = require("./UsedBy");
|
|
|
21
24
|
*
|
|
22
25
|
* Pure: the Dashboard and its tests read it.
|
|
23
26
|
*/
|
|
24
|
-
|
|
27
|
+
/*
|
|
28
|
+
* The product each kind of row is a record of: the product whose pages
|
|
29
|
+
* open it. A rule opens its event's settings - an incident runbook rule
|
|
30
|
+
* Incidents', an alert's Alerts'.
|
|
31
|
+
*/
|
|
25
32
|
exports.USED_BY_ROW_KIND_PRODUCTS = {
|
|
26
33
|
[UsedBy_1.UsedByRowKind.Monitor]: ProductKey_1.default.Monitors,
|
|
27
34
|
[UsedBy_1.UsedByRowKind.MonitorGroup]: ProductKey_1.default.Monitors,
|
|
@@ -35,16 +42,118 @@ exports.USED_BY_ROW_KIND_PRODUCTS = {
|
|
|
35
42
|
[UsedBy_1.UsedByRowKind.Service]: ProductKey_1.default.Services,
|
|
36
43
|
[UsedBy_1.UsedByRowKind.Incident]: ProductKey_1.default.Incidents,
|
|
37
44
|
[UsedBy_1.UsedByRowKind.Alert]: ProductKey_1.default.Alerts,
|
|
45
|
+
[UsedBy_1.UsedByRowKind.IncidentOnCallRule]: ProductKey_1.default.Incidents,
|
|
46
|
+
[UsedBy_1.UsedByRowKind.AlertOnCallRule]: ProductKey_1.default.Alerts,
|
|
47
|
+
[UsedBy_1.UsedByRowKind.IncidentEpisodeOnCallRule]: ProductKey_1.default.Incidents,
|
|
48
|
+
[UsedBy_1.UsedByRowKind.AlertEpisodeOnCallRule]: ProductKey_1.default.Alerts,
|
|
49
|
+
[UsedBy_1.UsedByRowKind.IncidentOwnerRule]: ProductKey_1.default.Incidents,
|
|
50
|
+
[UsedBy_1.UsedByRowKind.AlertOwnerRule]: ProductKey_1.default.Alerts,
|
|
51
|
+
[UsedBy_1.UsedByRowKind.IncidentLabelRule]: ProductKey_1.default.Incidents,
|
|
52
|
+
[UsedBy_1.UsedByRowKind.AlertLabelRule]: ProductKey_1.default.Alerts,
|
|
53
|
+
[UsedBy_1.UsedByRowKind.IncidentGroupingRule]: ProductKey_1.default.Incidents,
|
|
54
|
+
[UsedBy_1.UsedByRowKind.AlertGroupingRule]: ProductKey_1.default.Alerts,
|
|
55
|
+
[UsedBy_1.UsedByRowKind.IncidentPrivacyRule]: ProductKey_1.default.Incidents,
|
|
56
|
+
[UsedBy_1.UsedByRowKind.AlertPrivacyRule]: ProductKey_1.default.Alerts,
|
|
57
|
+
[UsedBy_1.UsedByRowKind.IncidentSlaRule]: ProductKey_1.default.Incidents,
|
|
58
|
+
[UsedBy_1.UsedByRowKind.AlertIncidentRule]: ProductKey_1.default.Alerts,
|
|
59
|
+
[UsedBy_1.UsedByRowKind.IncidentAiRule]: ProductKey_1.default.Incidents,
|
|
60
|
+
[UsedBy_1.UsedByRowKind.AlertAiRule]: ProductKey_1.default.Alerts,
|
|
61
|
+
[UsedBy_1.UsedByRowKind.IncidentRunbookRule]: ProductKey_1.default.Incidents,
|
|
62
|
+
[UsedBy_1.UsedByRowKind.AlertRunbookRule]: ProductKey_1.default.Alerts,
|
|
63
|
+
[UsedBy_1.UsedByRowKind.MaintenanceRunbookRule]: ProductKey_1.default.ScheduledMaintenance,
|
|
64
|
+
[UsedBy_1.UsedByRowKind.PostmortemRule]: ProductKey_1.default.Incidents,
|
|
65
|
+
[UsedBy_1.UsedByRowKind.MaintenanceLabelRule]: ProductKey_1.default.ScheduledMaintenance,
|
|
66
|
+
[UsedBy_1.UsedByRowKind.MaintenanceOwnerRule]: ProductKey_1.default.ScheduledMaintenance,
|
|
67
|
+
[UsedBy_1.UsedByRowKind.SloBurnRateRule]: ProductKey_1.default.Slos,
|
|
68
|
+
[UsedBy_1.UsedByRowKind.SloErrorBudgetPolicyTier]: ProductKey_1.default.Slos,
|
|
69
|
+
[UsedBy_1.UsedByRowKind.CloudBudget]: ProductKey_1.default.Cloud,
|
|
70
|
+
[UsedBy_1.UsedByRowKind.IncidentTemplate]: ProductKey_1.default.Incidents,
|
|
71
|
+
[UsedBy_1.UsedByRowKind.MaintenanceTemplate]: ProductKey_1.default.ScheduledMaintenance,
|
|
72
|
+
[UsedBy_1.UsedByRowKind.AnnouncementTemplate]: ProductKey_1.default.StatusPages,
|
|
73
|
+
[UsedBy_1.UsedByRowKind.IncidentEpisode]: ProductKey_1.default.Incidents,
|
|
74
|
+
[UsedBy_1.UsedByRowKind.AlertEpisode]: ProductKey_1.default.Alerts,
|
|
75
|
+
[UsedBy_1.UsedByRowKind.Runbook]: ProductKey_1.default.Runbooks,
|
|
76
|
+
[UsedBy_1.UsedByRowKind.IncomingCallPolicy]: ProductKey_1.default.OnCall,
|
|
77
|
+
[UsedBy_1.UsedByRowKind.Team]: ProductKey_1.default.Teams,
|
|
78
|
+
[UsedBy_1.UsedByRowKind.Host]: ProductKey_1.default.Hosts,
|
|
79
|
+
[UsedBy_1.UsedByRowKind.KubernetesCluster]: ProductKey_1.default.Kubernetes,
|
|
80
|
+
[UsedBy_1.UsedByRowKind.DockerHost]: ProductKey_1.default.Docker,
|
|
81
|
+
[UsedBy_1.UsedByRowKind.DockerSwarmCluster]: ProductKey_1.default.DockerSwarm,
|
|
82
|
+
[UsedBy_1.UsedByRowKind.PodmanHost]: ProductKey_1.default.Podman,
|
|
83
|
+
[UsedBy_1.UsedByRowKind.ProxmoxCluster]: ProductKey_1.default.Proxmox,
|
|
84
|
+
[UsedBy_1.UsedByRowKind.OpenStackCloud]: ProductKey_1.default.OpenStack,
|
|
85
|
+
[UsedBy_1.UsedByRowKind.VMwareVCenter]: ProductKey_1.default.VMware,
|
|
86
|
+
[UsedBy_1.UsedByRowKind.CephCluster]: ProductKey_1.default.Ceph,
|
|
87
|
+
[UsedBy_1.UsedByRowKind.StorageArray]: ProductKey_1.default.StorageArrays,
|
|
88
|
+
[UsedBy_1.UsedByRowKind.NetworkDevice]: ProductKey_1.default.Network,
|
|
89
|
+
[UsedBy_1.UsedByRowKind.IoTFleet]: ProductKey_1.default.IoT,
|
|
90
|
+
[UsedBy_1.UsedByRowKind.CloudResource]: ProductKey_1.default.Cloud,
|
|
91
|
+
[UsedBy_1.UsedByRowKind.ServerlessFunction]: ProductKey_1.default.Serverless,
|
|
92
|
+
[UsedBy_1.UsedByRowKind.DatabaseServer]: ProductKey_1.default.Databases,
|
|
93
|
+
[UsedBy_1.UsedByRowKind.MessageQueue]: ProductKey_1.default.Queues,
|
|
94
|
+
[UsedBy_1.UsedByRowKind.RumApplication]: ProductKey_1.default.Rum,
|
|
95
|
+
[UsedBy_1.UsedByRowKind.DataStore]: ProductKey_1.default.DataObservability,
|
|
96
|
+
[UsedBy_1.UsedByRowKind.DataAsset]: ProductKey_1.default.DataObservability,
|
|
97
|
+
[UsedBy_1.UsedByRowKind.Probe]: ProductKey_1.default.Monitors,
|
|
98
|
+
[UsedBy_1.UsedByRowKind.Runner]: ProductKey_1.default.Runbooks,
|
|
99
|
+
// An AI agent belongs to the project, beside the resources it reads.
|
|
100
|
+
[UsedBy_1.UsedByRowKind.AIAgent]: ProductKey_1.default.ProjectSettings,
|
|
101
|
+
};
|
|
102
|
+
function isOfProductOff(rowKind, offProducts) {
|
|
103
|
+
return offProducts.includes(exports.USED_BY_ROW_KIND_PRODUCTS[rowKind]);
|
|
104
|
+
}
|
|
105
|
+
/*
|
|
106
|
+
* A family's line less the kinds of products that are off: its parts, its
|
|
107
|
+
* counts (the parts that are left, summed) and its rows.
|
|
108
|
+
*/
|
|
109
|
+
function withoutPartsOfProductsOff(group, offProducts) {
|
|
110
|
+
const parts = (group.parts || []).filter((part) => {
|
|
111
|
+
return !isOfProductOff(part.rowKind, offProducts);
|
|
112
|
+
});
|
|
113
|
+
const rows = group.rows;
|
|
114
|
+
return {
|
|
115
|
+
...group,
|
|
116
|
+
parts: parts,
|
|
117
|
+
count: parts.reduce((sum, part) => {
|
|
118
|
+
return sum + part.count;
|
|
119
|
+
}, 0),
|
|
120
|
+
hiddenCount: parts.reduce((sum, part) => {
|
|
121
|
+
return sum + part.hiddenCount;
|
|
122
|
+
}, 0),
|
|
123
|
+
...(rows
|
|
124
|
+
? {
|
|
125
|
+
rows: rows.filter((row) => {
|
|
126
|
+
return !isOfProductOff((0, UsedBy_1.getUsedByRowKindOfRow)(row, group.rowKind), offProducts);
|
|
127
|
+
}),
|
|
128
|
+
}
|
|
129
|
+
: {}),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
// The rows a page of a relation keeps: none of a product that is off.
|
|
133
|
+
const withoutRowsOfProductsOff = (rows, groupRowKind, offProducts) => {
|
|
134
|
+
if (offProducts.length === 0) {
|
|
135
|
+
return rows;
|
|
136
|
+
}
|
|
137
|
+
return rows.filter((row) => {
|
|
138
|
+
return !isOfProductOff((0, UsedBy_1.getUsedByRowKindOfRow)(row, groupRowKind), offProducts);
|
|
139
|
+
});
|
|
38
140
|
};
|
|
39
|
-
|
|
141
|
+
exports.withoutRowsOfProductsOff = withoutRowsOfProductsOff;
|
|
142
|
+
// The summary without the lines (and a family's kinds) of products switched off on the server.
|
|
40
143
|
const withoutGroupsOfProductsOff = (summary, offProducts) => {
|
|
41
144
|
if (offProducts.length === 0) {
|
|
42
145
|
return summary;
|
|
43
146
|
}
|
|
44
147
|
return {
|
|
45
148
|
...summary,
|
|
46
|
-
groups: summary.groups
|
|
47
|
-
|
|
149
|
+
groups: summary.groups
|
|
150
|
+
.filter((group) => {
|
|
151
|
+
return (Boolean(group.parts) || !isOfProductOff(group.rowKind, offProducts));
|
|
152
|
+
})
|
|
153
|
+
.map((group) => {
|
|
154
|
+
return group.parts
|
|
155
|
+
? withoutPartsOfProductsOff(group, offProducts)
|
|
156
|
+
: group;
|
|
48
157
|
}),
|
|
49
158
|
};
|
|
50
159
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import commonJsModule from "./UsedByServerProducts.js";
|
|
2
2
|
export const USED_BY_ROW_KIND_PRODUCTS = commonJsModule.USED_BY_ROW_KIND_PRODUCTS;
|
|
3
3
|
export const withoutGroupsOfProductsOff = commonJsModule.withoutGroupsOfProductsOff;
|
|
4
|
+
export const withoutRowsOfProductsOff = commonJsModule.withoutRowsOfProductsOff;
|
|
@@ -13,5 +13,12 @@ var UserNotificationExecutionStatus;
|
|
|
13
13
|
* them over from now on (OnCallPagePassOn).
|
|
14
14
|
*/
|
|
15
15
|
UserNotificationExecutionStatus["PassedOn"] = "Passed On";
|
|
16
|
+
/*
|
|
17
|
+
* Another policy's run is paging the person about the same record already:
|
|
18
|
+
* this page was merged into that one, sends nothing of its own while that
|
|
19
|
+
* one is open, and takes the page over if that one ends without their
|
|
20
|
+
* answer (Types/OnCallDutyPolicy/OnCallPageMerge).
|
|
21
|
+
*/
|
|
22
|
+
UserNotificationExecutionStatus["AlreadyPaged"] = "Already Paged";
|
|
16
23
|
})(UserNotificationExecutionStatus || (UserNotificationExecutionStatus = {}));
|
|
17
24
|
exports.default = UserNotificationExecutionStatus;
|
|
@@ -8,6 +8,7 @@ export declare enum SessionEndCause {
|
|
|
8
8
|
AccountBlocked = "AccountBlocked",
|
|
9
9
|
TwoFactorRequired = "TwoFactorRequired",
|
|
10
10
|
TwoFactorReset = "TwoFactorReset",
|
|
11
|
+
SignedInWithoutSso = "SignedInWithoutSso",
|
|
11
12
|
Other = "Other"
|
|
12
13
|
}
|
|
13
14
|
export type NamedSessionEndCause = Exclude<SessionEndCause, SessionEndCause.Other>;
|
|
@@ -8,6 +8,7 @@ export declare enum SessionEndCause {
|
|
|
8
8
|
AccountBlocked = "AccountBlocked",
|
|
9
9
|
TwoFactorRequired = "TwoFactorRequired",
|
|
10
10
|
TwoFactorReset = "TwoFactorReset",
|
|
11
|
+
SignedInWithoutSso = "SignedInWithoutSso",
|
|
11
12
|
Other = "Other"
|
|
12
13
|
}
|
|
13
14
|
export type NamedSessionEndCause = Exclude<SessionEndCause, SessionEndCause.Other>;
|
|
@@ -9,7 +9,8 @@ exports.isSessionTimeoutCause = exports.readSessionEndCause = exports.getSession
|
|
|
9
9
|
* master admin set, Types/UserSession/SessionLength.ts), or its refresh
|
|
10
10
|
* token runs out after 30 days without use; or when OneUptime revokes it -
|
|
11
11
|
* a new password, a blocked account, two factor authentication reset or
|
|
12
|
-
* required by a server admin
|
|
12
|
+
* required by a server admin, or a server admin signing out everyone who
|
|
13
|
+
* signed in without SSO while the server requires it.
|
|
13
14
|
*
|
|
14
15
|
* Each cause is revoked with the words sessions have always been revoked
|
|
15
16
|
* with (UserSession.revokedReason, a ShortText column): a refresh that comes
|
|
@@ -30,6 +31,11 @@ var SessionEndCause;
|
|
|
30
31
|
SessionEndCause["AccountBlocked"] = "AccountBlocked";
|
|
31
32
|
SessionEndCause["TwoFactorRequired"] = "TwoFactorRequired";
|
|
32
33
|
SessionEndCause["TwoFactorReset"] = "TwoFactorReset";
|
|
34
|
+
/*
|
|
35
|
+
* A master admin signed out everyone who signed in without SSO while the
|
|
36
|
+
* server requires it (UserSessionService.endSessionsSignedInWithoutSso).
|
|
37
|
+
*/
|
|
38
|
+
SessionEndCause["SignedInWithoutSso"] = "SignedInWithoutSso";
|
|
33
39
|
// A revocation that names none of the causes above.
|
|
34
40
|
SessionEndCause["Other"] = "Other";
|
|
35
41
|
})(SessionEndCause || (exports.SessionEndCause = SessionEndCause = {}));
|
|
@@ -48,6 +54,7 @@ exports.SESSION_END_CAUSE_REVOKED_REASONS = {
|
|
|
48
54
|
[SessionEndCause.AccountBlocked]: "User blocked",
|
|
49
55
|
[SessionEndCause.TwoFactorRequired]: "Two factor auth required by admin",
|
|
50
56
|
[SessionEndCause.TwoFactorReset]: "Two factor auth reset by admin",
|
|
57
|
+
[SessionEndCause.SignedInWithoutSso]: "Signed in without SSO",
|
|
51
58
|
};
|
|
52
59
|
// The words a session revoked for `cause` is kept with.
|
|
53
60
|
const getSessionEndCauseRevokedReason = (cause) => {
|
|
@@ -13,10 +13,10 @@ exports.GOALS_EVENT_VALUE_MAX_LENGTH = exports.toGoalsEventValue = exports.GOALS
|
|
|
13
13
|
* [] skipped: the person chose nothing;
|
|
14
14
|
* [...] the goals, in the order of PROJECT_GOALS.
|
|
15
15
|
*
|
|
16
|
-
* Read it with parseProjectGoals, never as it is stored.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* (
|
|
16
|
+
* Read it with parseProjectGoals, never as it is stored. The Welcome
|
|
17
|
+
* checklist builds its steps from them (WelcomeChecklist.ts). They never
|
|
18
|
+
* hide a product: only a member does, on Project Settings > Products
|
|
19
|
+
* (Types/Product/ProjectProducts.ts).
|
|
20
20
|
*
|
|
21
21
|
* A value is stored and sent to product analytics (home/goals_chosen):
|
|
22
22
|
* never rename one, and never reuse one for another goal. A new goal is a
|
|
@@ -40,7 +40,7 @@ var ProjectGoal;
|
|
|
40
40
|
ProjectGoal["Infrastructure"] = "infrastructure";
|
|
41
41
|
// "I am moving from another tool" (#6809).
|
|
42
42
|
ProjectGoal["Import"] = "import";
|
|
43
|
-
// "Just looking around"
|
|
43
|
+
// "Just looking around".
|
|
44
44
|
ProjectGoal["Explore"] = "explore";
|
|
45
45
|
})(ProjectGoal || (ProjectGoal = {}));
|
|
46
46
|
exports.default = ProjectGoal;
|
|
@@ -15,6 +15,10 @@ export declare enum WelcomeStep {
|
|
|
15
15
|
export declare const WELCOME_STEP_ORDER: ReadonlyArray<WelcomeStep>;
|
|
16
16
|
export declare const isWelcomeStep: (value: unknown) => value is WelcomeStep;
|
|
17
17
|
export declare const STEPS_OF_GOAL: Readonly<Record<ProjectGoal, ReadonlyArray<WelcomeStep>>>;
|
|
18
|
+
export declare const WELCOME_STEP_MINUTES: Readonly<Record<WelcomeStep, number>>;
|
|
19
|
+
export declare const getWelcomeStepsMinutes: (steps: ReadonlyArray<WelcomeStep>) => number;
|
|
20
|
+
export declare const getWelcomeMinutesLeft: (steps: ReadonlyArray<WelcomeChecklistStepState>) => number;
|
|
21
|
+
export declare const getPlanStepsForGoals: (goals: ReadonlyArray<ProjectGoal>, offProducts?: ReadonlyArray<ProductKey> | undefined) => Array<WelcomeStep>;
|
|
18
22
|
export declare const DEFAULT_WELCOME_STEPS: ReadonlyArray<WelcomeStep>;
|
|
19
23
|
export declare const WELCOME_STEP_PRODUCTS: Readonly<Record<WelcomeStep, ReadonlyArray<ProductKey>>>;
|
|
20
24
|
export declare const GOAL_PRODUCTS: Readonly<Record<ProjectGoal, ReadonlyArray<ProductKey>>>;
|
|
@@ -15,6 +15,10 @@ export declare enum WelcomeStep {
|
|
|
15
15
|
export declare const WELCOME_STEP_ORDER: ReadonlyArray<WelcomeStep>;
|
|
16
16
|
export declare const isWelcomeStep: (value: unknown) => value is WelcomeStep;
|
|
17
17
|
export declare const STEPS_OF_GOAL: Readonly<Record<ProjectGoal, ReadonlyArray<WelcomeStep>>>;
|
|
18
|
+
export declare const WELCOME_STEP_MINUTES: Readonly<Record<WelcomeStep, number>>;
|
|
19
|
+
export declare const getWelcomeStepsMinutes: (steps: ReadonlyArray<WelcomeStep>) => number;
|
|
20
|
+
export declare const getWelcomeMinutesLeft: (steps: ReadonlyArray<WelcomeChecklistStepState>) => number;
|
|
21
|
+
export declare const getPlanStepsForGoals: (goals: ReadonlyArray<ProjectGoal>, offProducts?: ReadonlyArray<ProductKey> | undefined) => Array<WelcomeStep>;
|
|
18
22
|
export declare const DEFAULT_WELCOME_STEPS: ReadonlyArray<WelcomeStep>;
|
|
19
23
|
export declare const WELCOME_STEP_PRODUCTS: Readonly<Record<WelcomeStep, ReadonlyArray<ProductKey>>>;
|
|
20
24
|
export declare const GOAL_PRODUCTS: Readonly<Record<ProjectGoal, ReadonlyArray<ProductKey>>>;
|
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.isLegacyChecklistComplete = exports.getWelcomeAudience = exports.WelcomeAudience = exports.shouldAskForGoals = exports.isProjectInUse = exports.PROJECT_IN_USE_MILESTONES = exports.buildWelcomeChecklist = exports.getWelcomeStepPlanNeed = exports.needsOnCallRuleCheck = exports.isWelcomeStepDone = exports.isWelcomeStepDoneByMilestones = exports.STEP_DONE_BY_MILESTONES = exports.getStepsForGoals = exports.isGoalOffOnServer = exports.isWelcomeStepOffOnServer = exports.GOAL_PRODUCTS = exports.WELCOME_STEP_PRODUCTS = exports.DEFAULT_WELCOME_STEPS = exports.STEPS_OF_GOAL = exports.isWelcomeStep = exports.WELCOME_STEP_ORDER = exports.WelcomeStep = void 0;
|
|
39
|
+
exports.isLegacyChecklistComplete = exports.getWelcomeAudience = exports.WelcomeAudience = exports.shouldAskForGoals = exports.isProjectInUse = exports.PROJECT_IN_USE_MILESTONES = exports.buildWelcomeChecklist = exports.getWelcomeStepPlanNeed = exports.needsOnCallRuleCheck = exports.isWelcomeStepDone = exports.isWelcomeStepDoneByMilestones = exports.STEP_DONE_BY_MILESTONES = exports.getStepsForGoals = exports.isGoalOffOnServer = exports.isWelcomeStepOffOnServer = exports.GOAL_PRODUCTS = exports.WELCOME_STEP_PRODUCTS = exports.DEFAULT_WELCOME_STEPS = exports.getPlanStepsForGoals = exports.getWelcomeMinutesLeft = exports.getWelcomeStepsMinutes = exports.WELCOME_STEP_MINUTES = exports.STEPS_OF_GOAL = exports.isWelcomeStep = exports.WELCOME_STEP_ORDER = exports.WelcomeStep = void 0;
|
|
40
40
|
const ActivationMilestone_1 = __importDefault(require("../Analytics/ActivationMilestone"));
|
|
41
41
|
const SubscriptionPlan_1 = require("../Billing/SubscriptionPlan");
|
|
42
42
|
const ProjectGoal_1 = __importStar(require("./ProjectGoal"));
|
|
@@ -125,6 +125,68 @@ exports.STEPS_OF_GOAL = {
|
|
|
125
125
|
// The quickest thing that shows OneUptime working: a website monitor.
|
|
126
126
|
[ProjectGoal_1.default.Explore]: [WelcomeStep.Monitor],
|
|
127
127
|
};
|
|
128
|
+
/*
|
|
129
|
+
* ABOUT HOW LONG EACH STEP TAKES, in minutes (issue #8897). The quickstart
|
|
130
|
+
* says it beside each step and adds up what is left, and the question adds
|
|
131
|
+
* up the steps a choice of goals brings, so a person sees what a plan asks
|
|
132
|
+
* of them before they start it. Each is someone new doing the step's guided
|
|
133
|
+
* setup (or page) with every default kept: rounded up, and said as "about".
|
|
134
|
+
* The guided setups say the same number beside their steps.
|
|
135
|
+
*/
|
|
136
|
+
exports.WELCOME_STEP_MINUTES = {
|
|
137
|
+
// An email server in the Admin Dashboard, and a test email.
|
|
138
|
+
[WelcomeStep.ServerEmail]: 5,
|
|
139
|
+
// An API key from the other tool, a preview, and the import itself.
|
|
140
|
+
[WelcomeStep.Import]: 10,
|
|
141
|
+
// An address, who is told, and a test page (#6804).
|
|
142
|
+
[WelcomeStep.Monitor]: 3,
|
|
143
|
+
// The agent on one server, or one cluster or cloud account connected.
|
|
144
|
+
[WelcomeStep.Infrastructure]: 5,
|
|
145
|
+
// An app pointed at OpenTelemetry, then its first data (#6806).
|
|
146
|
+
[WelcomeStep.Telemetry]: 10,
|
|
147
|
+
// How you are reached, who else, what if nobody answers, a test (#6805).
|
|
148
|
+
[WelcomeStep.OnCall]: 5,
|
|
149
|
+
// A name, the monitors it shows, and a look at it (#6806).
|
|
150
|
+
[WelcomeStep.StatusPage]: 3,
|
|
151
|
+
// An invitation sent; accepting it is the teammate's.
|
|
152
|
+
[WelcomeStep.Team]: 1,
|
|
153
|
+
};
|
|
154
|
+
// About how long some steps take together, in minutes.
|
|
155
|
+
const getWelcomeStepsMinutes = (steps) => {
|
|
156
|
+
return steps.reduce((total, step) => {
|
|
157
|
+
return total + exports.WELCOME_STEP_MINUTES[step];
|
|
158
|
+
}, 0);
|
|
159
|
+
};
|
|
160
|
+
exports.getWelcomeStepsMinutes = getWelcomeStepsMinutes;
|
|
161
|
+
/*
|
|
162
|
+
* About how long the steps left take: the ones not done that the plan
|
|
163
|
+
* allows. A step the plan holds back is not counted, as it is not in the
|
|
164
|
+
* progress either.
|
|
165
|
+
*/
|
|
166
|
+
const getWelcomeMinutesLeft = (steps) => {
|
|
167
|
+
return (0, exports.getWelcomeStepsMinutes)(steps
|
|
168
|
+
.filter((state) => {
|
|
169
|
+
return !state.isDone && state.needsPlan === null;
|
|
170
|
+
})
|
|
171
|
+
.map((state) => {
|
|
172
|
+
return state.step;
|
|
173
|
+
}));
|
|
174
|
+
};
|
|
175
|
+
exports.getWelcomeMinutesLeft = getWelcomeMinutesLeft;
|
|
176
|
+
/*
|
|
177
|
+
* The steps a choice of goals would give this server's project, before it
|
|
178
|
+
* is sent: what the question says the plan is while the person picks. The
|
|
179
|
+
* server's email is no goal's, so it is never counted here.
|
|
180
|
+
*/
|
|
181
|
+
const getPlanStepsForGoals = (goals, offProducts) => {
|
|
182
|
+
if (goals.length === 0) {
|
|
183
|
+
return [];
|
|
184
|
+
}
|
|
185
|
+
return (0, exports.getStepsForGoals)(goals).filter((step) => {
|
|
186
|
+
return !(0, exports.isWelcomeStepOffOnServer)(step, offProducts || []);
|
|
187
|
+
});
|
|
188
|
+
};
|
|
189
|
+
exports.getPlanStepsForGoals = getPlanStepsForGoals;
|
|
128
190
|
/*
|
|
129
191
|
* The steps of a project that skipped the question or never answered it:
|
|
130
192
|
* the four the checklist always had, in the checklist's order.
|
|
@@ -4,14 +4,18 @@ export const GOAL_PRODUCTS = commonJsModule.GOAL_PRODUCTS;
|
|
|
4
4
|
export const PROJECT_IN_USE_MILESTONES = commonJsModule.PROJECT_IN_USE_MILESTONES;
|
|
5
5
|
export const STEPS_OF_GOAL = commonJsModule.STEPS_OF_GOAL;
|
|
6
6
|
export const STEP_DONE_BY_MILESTONES = commonJsModule.STEP_DONE_BY_MILESTONES;
|
|
7
|
+
export const WELCOME_STEP_MINUTES = commonJsModule.WELCOME_STEP_MINUTES;
|
|
7
8
|
export const WELCOME_STEP_ORDER = commonJsModule.WELCOME_STEP_ORDER;
|
|
8
9
|
export const WELCOME_STEP_PRODUCTS = commonJsModule.WELCOME_STEP_PRODUCTS;
|
|
9
10
|
export const WelcomeAudience = commonJsModule.WelcomeAudience;
|
|
10
11
|
export const WelcomeStep = commonJsModule.WelcomeStep;
|
|
11
12
|
export const buildWelcomeChecklist = commonJsModule.buildWelcomeChecklist;
|
|
13
|
+
export const getPlanStepsForGoals = commonJsModule.getPlanStepsForGoals;
|
|
12
14
|
export const getStepsForGoals = commonJsModule.getStepsForGoals;
|
|
13
15
|
export const getWelcomeAudience = commonJsModule.getWelcomeAudience;
|
|
16
|
+
export const getWelcomeMinutesLeft = commonJsModule.getWelcomeMinutesLeft;
|
|
14
17
|
export const getWelcomeStepPlanNeed = commonJsModule.getWelcomeStepPlanNeed;
|
|
18
|
+
export const getWelcomeStepsMinutes = commonJsModule.getWelcomeStepsMinutes;
|
|
15
19
|
export const isGoalOffOnServer = commonJsModule.isGoalOffOnServer;
|
|
16
20
|
export const isLegacyChecklistComplete = commonJsModule.isLegacyChecklistComplete;
|
|
17
21
|
export const isProjectInUse = commonJsModule.isProjectInUse;
|
|
@@ -41,7 +41,6 @@ const getEmptyWelcomeChecklistAnswer = () => {
|
|
|
41
41
|
isFinished: false,
|
|
42
42
|
canSendEmail: true,
|
|
43
43
|
hasAcknowledgedTestPage: false,
|
|
44
|
-
canExploreSampleProject: false,
|
|
45
44
|
steps: [],
|
|
46
45
|
doneCount: 0,
|
|
47
46
|
totalCount: 0,
|
|
@@ -58,7 +57,6 @@ const toWelcomeChecklistAnswerJSON = (answer) => {
|
|
|
58
57
|
isFinished: answer.isFinished,
|
|
59
58
|
canSendEmail: answer.canSendEmail,
|
|
60
59
|
hasAcknowledgedTestPage: answer.hasAcknowledgedTestPage,
|
|
61
|
-
canExploreSampleProject: answer.canExploreSampleProject,
|
|
62
60
|
steps: answer.steps.map((state) => {
|
|
63
61
|
return {
|
|
64
62
|
step: state.step,
|
|
@@ -130,7 +128,6 @@ const parseWelcomeChecklistAnswer = (value) => {
|
|
|
130
128
|
isFinished: raw["isFinished"] === true,
|
|
131
129
|
canSendEmail: raw["canSendEmail"] !== false,
|
|
132
130
|
hasAcknowledgedTestPage: raw["hasAcknowledgedTestPage"] === true,
|
|
133
|
-
canExploreSampleProject: raw["canExploreSampleProject"] === true,
|
|
134
131
|
steps: steps,
|
|
135
132
|
doneCount: toCount(raw["doneCount"]),
|
|
136
133
|
totalCount: toCount(raw["totalCount"]),
|
|
@@ -10,4 +10,5 @@ type GetWatchedColumnsFunction = (data: {
|
|
|
10
10
|
* ID as well. Every key counts, as it always has, whatever it is set to.
|
|
11
11
|
*/
|
|
12
12
|
export declare const getWatchedColumns: GetWatchedColumnsFunction;
|
|
13
|
+
export declare const HEARD_ONLY_WHERE_WATCHED_KEY: string;
|
|
13
14
|
export {};
|
|
@@ -10,4 +10,5 @@ type GetWatchedColumnsFunction = (data: {
|
|
|
10
10
|
* ID as well. Every key counts, as it always has, whatever it is set to.
|
|
11
11
|
*/
|
|
12
12
|
export declare const getWatchedColumns: GetWatchedColumnsFunction;
|
|
13
|
+
export declare const HEARD_ONLY_WHERE_WATCHED_KEY: string;
|
|
13
14
|
export {};
|
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.getWatchedColumns = void 0;
|
|
21
|
+
exports.HEARD_ONLY_WHERE_WATCHED_KEY = exports.getWatchedColumns = void 0;
|
|
22
22
|
const TableColumn_1 = require("../Database/TableColumn");
|
|
23
23
|
const TableColumnType_1 = __importDefault(require("../Database/TableColumnType"));
|
|
24
24
|
/**
|
|
@@ -45,3 +45,12 @@ const getWatchedColumns = (data) => {
|
|
|
45
45
|
return watched;
|
|
46
46
|
};
|
|
47
47
|
exports.getWatchedColumns = getWatchedColumns;
|
|
48
|
+
/*
|
|
49
|
+
* Said beside updatedFields by an update OneUptime makes for its own
|
|
50
|
+
* bookkeeping - a reminder that a record is still open, moved on to the
|
|
51
|
+
* next (issue #9019): it reaches only the workflows whose Fields to watch
|
|
52
|
+
* name a field it changed. A workflow that watches no fields hears every
|
|
53
|
+
* update people, integrations and rules make, and not these: an On Update
|
|
54
|
+
* workflow that watched nothing ran at every reminder.
|
|
55
|
+
*/
|
|
56
|
+
exports.HEARD_ONLY_WHERE_WATCHED_KEY = "heardOnlyWhereWatched";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* WORKFLOWS AND PRIVATE RECORDS (#8914).
|
|
4
|
+
*
|
|
5
|
+
* A workflow's steps act as a Project Admin of its project
|
|
6
|
+
* (Server/Utils/Workflow/WorkflowPrincipal), but are never lent a Project
|
|
7
|
+
* Admin's sight of private incidents, alerts and episodes: whoever builds a
|
|
8
|
+
* workflow decides where what its steps read goes - a webhook, an email, a
|
|
9
|
+
* chat, its own run log - and anyone who may create a workflow (a Project
|
|
10
|
+
* Member) may build one, including someone who may not see a private record,
|
|
11
|
+
* or whose team that owns it may only view it. So:
|
|
12
|
+
*
|
|
13
|
+
* - a workflow does not start on a private incident, alert or episode,
|
|
14
|
+
* nor on anything of one - its notes, its state changes, its owners, a
|
|
15
|
+
* page about it, a runbook run linked to it - whether a record event or
|
|
16
|
+
* Run Workflow starts it;
|
|
17
|
+
* - its Find steps do not find one, and its Update, Delete and Create
|
|
18
|
+
* steps change none and add nothing to one (Server/Utils/PrivacyFilterUtil
|
|
19
|
+
* .shouldBypassRecordPrivacy);
|
|
20
|
+
* - Run Workflow does not offer one to run with.
|
|
21
|
+
*
|
|
22
|
+
* Kept free of server and React code, so the server and the tests read the
|
|
23
|
+
* same words.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.WORKFLOW_PRIVATE_RECORDS_SENTENCE = void 0;
|
|
27
|
+
exports.getWorkflowPrivateRecordRefusal = getWorkflowPrivateRecordRefusal;
|
|
28
|
+
// What a workflow's run log says when it was started on such a record.
|
|
29
|
+
function getWorkflowPrivateRecordRefusal(singularName) {
|
|
30
|
+
return `This ${singularName.toLowerCase()} was not found, or it is private or part of a private record. ${exports.WORKFLOW_PRIVATE_RECORDS_SENTENCE}`;
|
|
31
|
+
}
|
|
32
|
+
// Why, in one sentence, as the run log says it after what it refused.
|
|
33
|
+
exports.WORKFLOW_PRIVATE_RECORDS_SENTENCE = "Workflows don't act on private incidents, alerts or episodes, or on anything that belongs to one.";
|
|
@@ -39,7 +39,8 @@ export declare const CONNECT_ERROR_QUERY_PARAM: string;
|
|
|
39
39
|
export declare const CONNECT_PROVIDER_QUERY_PARAM: string;
|
|
40
40
|
export declare const CONNECT_NOTICE_QUERY_PARAM: string;
|
|
41
41
|
export declare enum ConnectProviderNotice {
|
|
42
|
-
GitHubInstalled = "github-installed"
|
|
42
|
+
GitHubInstalled = "github-installed",
|
|
43
|
+
ZoomAdded = "zoom-added"
|
|
43
44
|
}
|
|
44
45
|
export declare const CONNECT_CONNECTED_QUERY_PARAM: string;
|
|
45
46
|
export declare const CONNECT_START_PAGE_QUERY_PARAM: string;
|
|
@@ -39,7 +39,8 @@ export declare const CONNECT_ERROR_QUERY_PARAM: string;
|
|
|
39
39
|
export declare const CONNECT_PROVIDER_QUERY_PARAM: string;
|
|
40
40
|
export declare const CONNECT_NOTICE_QUERY_PARAM: string;
|
|
41
41
|
export declare enum ConnectProviderNotice {
|
|
42
|
-
GitHubInstalled = "github-installed"
|
|
42
|
+
GitHubInstalled = "github-installed",
|
|
43
|
+
ZoomAdded = "zoom-added"
|
|
43
44
|
}
|
|
44
45
|
export declare const CONNECT_CONNECTED_QUERY_PARAM: string;
|
|
45
46
|
export declare const CONNECT_START_PAGE_QUERY_PARAM: string;
|
|
@@ -127,10 +127,18 @@ var ConnectProviderNotice;
|
|
|
127
127
|
* ours. Nothing was connected; the page offers to connect the installation.
|
|
128
128
|
*/
|
|
129
129
|
ConnectProviderNotice["GitHubInstalled"] = "github-installed";
|
|
130
|
+
/*
|
|
131
|
+
* Zoom: OneUptime was added to a Zoom account from Zoom itself - the
|
|
132
|
+
* authorization link the Zoom App Marketplace gives - so Zoom sent the
|
|
133
|
+
* browser back with no state of ours. Nothing was connected; the Video
|
|
134
|
+
* Calls page offers to connect Zoom.
|
|
135
|
+
*/
|
|
136
|
+
ConnectProviderNotice["ZoomAdded"] = "zoom-added";
|
|
130
137
|
})(ConnectProviderNotice || (exports.ConnectProviderNotice = ConnectProviderNotice = {}));
|
|
131
138
|
// The provider each notice belongs to: a page shows only its own.
|
|
132
139
|
const PROVIDER_OF_NOTICE = {
|
|
133
140
|
[ConnectProviderNotice.GitHubInstalled]: ConnectProvider.GitHub,
|
|
141
|
+
[ConnectProviderNotice.ZoomAdded]: ConnectProvider.Zoom,
|
|
134
142
|
};
|
|
135
143
|
/*
|
|
136
144
|
* A video call connection a sign-in made or reconnected: the Video Calls
|
|
@@ -11,9 +11,10 @@ var NotificationRuleEventType;
|
|
|
11
11
|
NotificationRuleEventType["OnCallDutyPolicy"] = "On-Call Duty Policy";
|
|
12
12
|
/*
|
|
13
13
|
* A security case: posted to the channels and chats its rules name when the
|
|
14
|
-
* case opens or rises to a higher priority, is assigned,
|
|
15
|
-
* step waiting for approval
|
|
16
|
-
*
|
|
14
|
+
* case opens or rises to a higher priority, is assigned, has a playbook
|
|
15
|
+
* step waiting for approval, or is about to miss a response target or
|
|
16
|
+
* misses it (SecurityCaseNotifications); each rule picks which of these
|
|
17
|
+
* notices it posts. A case gets no channel of its own.
|
|
17
18
|
*/
|
|
18
19
|
NotificationRuleEventType["SecurityCase"] = "Security Case";
|
|
19
20
|
/*
|