@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
package/Types/UsedBy/UsedBy.js
CHANGED
|
@@ -25,23 +25,42 @@
|
|
|
25
25
|
* relation's rows on request, a page at a time - so a record used by
|
|
26
26
|
* thousands of others still loads in a handful of bounded reads.
|
|
27
27
|
*
|
|
28
|
+
* A FAMILY is several kinds of record counted as one line, so a card stays
|
|
29
|
+
* short: the rules that name a monitor are on-call, owner, label, grouping
|
|
30
|
+
* and a dozen other kinds of rule, each its own table. A family's count is
|
|
31
|
+
* every kind's summed, its rows each say their own kind (UsedByRow.rowKind),
|
|
32
|
+
* and its parts say how many of each kind refer (UsedByGroup.parts). Its
|
|
33
|
+
* first rows and its pages are still bounded: the kinds are read in turn,
|
|
34
|
+
* skipped over by their counts, never every row of every kind.
|
|
35
|
+
*
|
|
36
|
+
* Several records at once - the selection of a list's bulk Delete or
|
|
37
|
+
* Archive - are counted together (UsedByBulkSummary): each relation once
|
|
38
|
+
* for all of them, counts only, no rows.
|
|
39
|
+
*
|
|
28
40
|
* Pure, with no server or browser APIs: the Dashboard and the server read
|
|
29
41
|
* the same kinds, relations and shapes.
|
|
30
42
|
*/
|
|
31
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.USED_BY_MAX_PAGE_SIZE = exports.USED_BY_PAGE_SIZE = exports.USED_BY_PREVIEW_ROW_COUNT = exports.USED_BY_RELATIONS = exports.UsedByRelation = exports.UsedByRowKind = exports.UsedByRecordKind = void 0;
|
|
44
|
+
exports.USED_BY_BULK_MAX_RECORDS = exports.USED_BY_MAX_PAGE_SIZE = exports.USED_BY_PAGE_SIZE = exports.USED_BY_PREVIEW_ROW_COUNT = exports.USED_BY_RELATIONS = exports.ON_CALL_POLICY_OTHER_ROW_KINDS = exports.ON_CALL_POLICY_RULE_ROW_KINDS = exports.TEAM_OWNED_OTHER_ROW_KINDS = exports.MONITOR_TEMPLATE_ROW_KINDS = exports.MONITOR_RULE_ROW_KINDS = exports.UsedByRelation = exports.UsedByRowKind = exports.UsedByRecordKind = void 0;
|
|
33
45
|
exports.isUsedByRecordKind = isUsedByRecordKind;
|
|
34
46
|
exports.isUsedByRelation = isUsedByRelation;
|
|
35
47
|
exports.getUsedByRelations = getUsedByRelations;
|
|
48
|
+
exports.getUsedByBulkRelations = getUsedByBulkRelations;
|
|
49
|
+
exports.getUsedByRelationDescription = getUsedByRelationDescription;
|
|
50
|
+
exports.isUsedByFamily = isUsedByFamily;
|
|
51
|
+
exports.getUsedByRowKindOfRow = getUsedByRowKindOfRow;
|
|
36
52
|
exports.getUsedByRecordKindOfRelation = getUsedByRecordKindOfRelation;
|
|
37
53
|
exports.getUsedByRowKind = getUsedByRowKind;
|
|
38
54
|
exports.getUsedByGroupTotal = getUsedByGroupTotal;
|
|
39
55
|
exports.getUsedByGroupsInUse = getUsedByGroupsInUse;
|
|
40
56
|
exports.isUsedByNothing = isUsedByNothing;
|
|
57
|
+
exports.isUsedByRowKind = isUsedByRowKind;
|
|
41
58
|
exports.isUsedBySummary = isUsedBySummary;
|
|
59
|
+
exports.isUsedByBulkSummary = isUsedByBulkSummary;
|
|
42
60
|
exports.isUsedByPage = isUsedByPage;
|
|
43
61
|
exports.normalizeUsedByPageSize = normalizeUsedByPageSize;
|
|
44
62
|
exports.normalizeUsedBySkip = normalizeUsedBySkip;
|
|
63
|
+
const LimitMax_1 = require("../Database/LimitMax");
|
|
45
64
|
// The records that answer "what uses this?" on their own page.
|
|
46
65
|
var UsedByRecordKind;
|
|
47
66
|
(function (UsedByRecordKind) {
|
|
@@ -51,6 +70,9 @@ var UsedByRecordKind;
|
|
|
51
70
|
UsedByRecordKind["StatusPage"] = "status-page";
|
|
52
71
|
UsedByRecordKind["Team"] = "team";
|
|
53
72
|
UsedByRecordKind["Label"] = "label";
|
|
73
|
+
UsedByRecordKind["OnCallPolicy"] = "on-call-policy";
|
|
74
|
+
UsedByRecordKind["MonitorGroup"] = "monitor-group";
|
|
75
|
+
UsedByRecordKind["Slo"] = "slo";
|
|
54
76
|
})(UsedByRecordKind || (exports.UsedByRecordKind = UsedByRecordKind = {}));
|
|
55
77
|
// What one row of a relation is: what the Dashboard opens when it is clicked.
|
|
56
78
|
var UsedByRowKind;
|
|
@@ -67,6 +89,66 @@ var UsedByRowKind;
|
|
|
67
89
|
UsedByRowKind["Service"] = "Service";
|
|
68
90
|
UsedByRowKind["Incident"] = "Incident";
|
|
69
91
|
UsedByRowKind["Alert"] = "Alert";
|
|
92
|
+
// Rules that name a monitor, or page an on-call policy.
|
|
93
|
+
UsedByRowKind["IncidentOnCallRule"] = "IncidentOnCallRule";
|
|
94
|
+
UsedByRowKind["AlertOnCallRule"] = "AlertOnCallRule";
|
|
95
|
+
UsedByRowKind["IncidentEpisodeOnCallRule"] = "IncidentEpisodeOnCallRule";
|
|
96
|
+
UsedByRowKind["AlertEpisodeOnCallRule"] = "AlertEpisodeOnCallRule";
|
|
97
|
+
UsedByRowKind["IncidentOwnerRule"] = "IncidentOwnerRule";
|
|
98
|
+
UsedByRowKind["AlertOwnerRule"] = "AlertOwnerRule";
|
|
99
|
+
UsedByRowKind["IncidentLabelRule"] = "IncidentLabelRule";
|
|
100
|
+
UsedByRowKind["AlertLabelRule"] = "AlertLabelRule";
|
|
101
|
+
UsedByRowKind["IncidentGroupingRule"] = "IncidentGroupingRule";
|
|
102
|
+
UsedByRowKind["AlertGroupingRule"] = "AlertGroupingRule";
|
|
103
|
+
UsedByRowKind["IncidentPrivacyRule"] = "IncidentPrivacyRule";
|
|
104
|
+
UsedByRowKind["AlertPrivacyRule"] = "AlertPrivacyRule";
|
|
105
|
+
UsedByRowKind["IncidentSlaRule"] = "IncidentSlaRule";
|
|
106
|
+
UsedByRowKind["AlertIncidentRule"] = "AlertIncidentRule";
|
|
107
|
+
// An AI rule (AutoRemediationRule), by what it is triggered by.
|
|
108
|
+
UsedByRowKind["IncidentAiRule"] = "IncidentAiRule";
|
|
109
|
+
UsedByRowKind["AlertAiRule"] = "AlertAiRule";
|
|
110
|
+
// A runbook rule, by what it is triggered by.
|
|
111
|
+
UsedByRowKind["IncidentRunbookRule"] = "IncidentRunbookRule";
|
|
112
|
+
UsedByRowKind["AlertRunbookRule"] = "AlertRunbookRule";
|
|
113
|
+
UsedByRowKind["MaintenanceRunbookRule"] = "MaintenanceRunbookRule";
|
|
114
|
+
UsedByRowKind["PostmortemRule"] = "PostmortemRule";
|
|
115
|
+
UsedByRowKind["MaintenanceLabelRule"] = "MaintenanceLabelRule";
|
|
116
|
+
UsedByRowKind["MaintenanceOwnerRule"] = "MaintenanceOwnerRule";
|
|
117
|
+
UsedByRowKind["SloBurnRateRule"] = "SloBurnRateRule";
|
|
118
|
+
UsedByRowKind["SloErrorBudgetPolicyTier"] = "SloErrorBudgetPolicyTier";
|
|
119
|
+
UsedByRowKind["CloudBudget"] = "CloudBudget";
|
|
120
|
+
// Templates that name a monitor, or page an on-call policy.
|
|
121
|
+
UsedByRowKind["IncidentTemplate"] = "IncidentTemplate";
|
|
122
|
+
UsedByRowKind["MaintenanceTemplate"] = "MaintenanceTemplate";
|
|
123
|
+
UsedByRowKind["AnnouncementTemplate"] = "AnnouncementTemplate";
|
|
124
|
+
// The rest of what a team can own.
|
|
125
|
+
UsedByRowKind["IncidentEpisode"] = "IncidentEpisode";
|
|
126
|
+
UsedByRowKind["AlertEpisode"] = "AlertEpisode";
|
|
127
|
+
UsedByRowKind["Runbook"] = "Runbook";
|
|
128
|
+
UsedByRowKind["IncomingCallPolicy"] = "IncomingCallPolicy";
|
|
129
|
+
UsedByRowKind["Team"] = "Team";
|
|
130
|
+
UsedByRowKind["Host"] = "Host";
|
|
131
|
+
UsedByRowKind["KubernetesCluster"] = "KubernetesCluster";
|
|
132
|
+
UsedByRowKind["DockerHost"] = "DockerHost";
|
|
133
|
+
UsedByRowKind["DockerSwarmCluster"] = "DockerSwarmCluster";
|
|
134
|
+
UsedByRowKind["PodmanHost"] = "PodmanHost";
|
|
135
|
+
UsedByRowKind["ProxmoxCluster"] = "ProxmoxCluster";
|
|
136
|
+
UsedByRowKind["OpenStackCloud"] = "OpenStackCloud";
|
|
137
|
+
UsedByRowKind["VMwareVCenter"] = "VMwareVCenter";
|
|
138
|
+
UsedByRowKind["CephCluster"] = "CephCluster";
|
|
139
|
+
UsedByRowKind["StorageArray"] = "StorageArray";
|
|
140
|
+
UsedByRowKind["NetworkDevice"] = "NetworkDevice";
|
|
141
|
+
UsedByRowKind["IoTFleet"] = "IoTFleet";
|
|
142
|
+
UsedByRowKind["CloudResource"] = "CloudResource";
|
|
143
|
+
UsedByRowKind["ServerlessFunction"] = "ServerlessFunction";
|
|
144
|
+
UsedByRowKind["DatabaseServer"] = "DatabaseServer";
|
|
145
|
+
UsedByRowKind["MessageQueue"] = "MessageQueue";
|
|
146
|
+
UsedByRowKind["RumApplication"] = "RumApplication";
|
|
147
|
+
UsedByRowKind["DataStore"] = "DataStore";
|
|
148
|
+
UsedByRowKind["DataAsset"] = "DataAsset";
|
|
149
|
+
UsedByRowKind["Probe"] = "Probe";
|
|
150
|
+
UsedByRowKind["Runner"] = "Runner";
|
|
151
|
+
UsedByRowKind["AIAgent"] = "AIAgent";
|
|
70
152
|
})(UsedByRowKind || (exports.UsedByRowKind = UsedByRowKind = {}));
|
|
71
153
|
// One way records refer to a record of a kind.
|
|
72
154
|
var UsedByRelation;
|
|
@@ -85,6 +167,14 @@ var UsedByRelation;
|
|
|
85
167
|
UsedByRelation["MonitorWorkflows"] = "MonitorWorkflows";
|
|
86
168
|
// Dashboards whose widgets name the monitor.
|
|
87
169
|
UsedByRelation["MonitorDashboards"] = "MonitorDashboards";
|
|
170
|
+
/*
|
|
171
|
+
* A family: the rules limited to the monitor - on-call, owner, label,
|
|
172
|
+
* grouping, privacy, SLA, AI, runbook and the rest - each of which changes
|
|
173
|
+
* what happens when it goes down.
|
|
174
|
+
*/
|
|
175
|
+
UsedByRelation["MonitorRules"] = "MonitorRules";
|
|
176
|
+
// A family: the incident, maintenance and announcement templates naming it.
|
|
177
|
+
UsedByRelation["MonitorTemplates"] = "MonitorTemplates";
|
|
88
178
|
// On-call policies with an escalation rule that pages the schedule.
|
|
89
179
|
UsedByRelation["ScheduleOnCallPolicies"] = "ScheduleOnCallPolicies";
|
|
90
180
|
// Monitors that watch the service (its Linked Resources).
|
|
@@ -103,6 +193,29 @@ var UsedByRelation;
|
|
|
103
193
|
UsedByRelation["TeamOwnedServices"] = "TeamOwnedServices";
|
|
104
194
|
UsedByRelation["TeamOwnedOnCallPolicies"] = "TeamOwnedOnCallPolicies";
|
|
105
195
|
UsedByRelation["TeamOwnedSchedules"] = "TeamOwnedSchedules";
|
|
196
|
+
/*
|
|
197
|
+
* A family: everything else the team owns, through every other owner
|
|
198
|
+
* table - SLOs, dashboards, workflows, runbooks, infrastructure, events.
|
|
199
|
+
*/
|
|
200
|
+
UsedByRelation["TeamOwnedOther"] = "TeamOwnedOther";
|
|
201
|
+
// A family: the on-call rules of incidents, alerts and their episodes that page the policy.
|
|
202
|
+
UsedByRelation["OnCallPolicyRules"] = "OnCallPolicyRules";
|
|
203
|
+
// Monitors whose criteria page the policy when they open an incident or alert.
|
|
204
|
+
UsedByRelation["OnCallPolicyMonitors"] = "OnCallPolicyMonitors";
|
|
205
|
+
// A family: the templates, grouping rules, SLO rules and budgets that page it.
|
|
206
|
+
UsedByRelation["OnCallPolicyOther"] = "OnCallPolicyOther";
|
|
207
|
+
// Workflows whose steps page the policy.
|
|
208
|
+
UsedByRelation["OnCallPolicyWorkflows"] = "OnCallPolicyWorkflows";
|
|
209
|
+
// Status pages that show the monitor group.
|
|
210
|
+
UsedByRelation["MonitorGroupStatusPages"] = "MonitorGroupStatusPages";
|
|
211
|
+
// SLOs that measure a monitor of the group.
|
|
212
|
+
UsedByRelation["MonitorGroupSlos"] = "MonitorGroupSlos";
|
|
213
|
+
// Dashboards whose widgets name the SLO.
|
|
214
|
+
UsedByRelation["SloDashboards"] = "SloDashboards";
|
|
215
|
+
// Burn-rate rules on the SLO: they alert or page when its budget burns fast.
|
|
216
|
+
UsedByRelation["SloBurnRateRules"] = "SloBurnRateRules";
|
|
217
|
+
// The tiers of its error budget policy: what happens as its budget runs out.
|
|
218
|
+
UsedByRelation["SloErrorBudgetPolicies"] = "SloErrorBudgetPolicies";
|
|
106
219
|
// The records of each kind that carry the label.
|
|
107
220
|
UsedByRelation["LabelMonitors"] = "LabelMonitors";
|
|
108
221
|
UsedByRelation["LabelMonitorGroups"] = "LabelMonitorGroups";
|
|
@@ -117,6 +230,102 @@ var UsedByRelation;
|
|
|
117
230
|
UsedByRelation["LabelWorkflows"] = "LabelWorkflows";
|
|
118
231
|
UsedByRelation["LabelDashboards"] = "LabelDashboards";
|
|
119
232
|
})(UsedByRelation || (exports.UsedByRelation = UsedByRelation = {}));
|
|
233
|
+
/*
|
|
234
|
+
* The kinds of rule that can be limited to particular monitors (each its
|
|
235
|
+
* `monitors` list), on-call rules first: they page people.
|
|
236
|
+
*/
|
|
237
|
+
exports.MONITOR_RULE_ROW_KINDS = [
|
|
238
|
+
UsedByRowKind.IncidentOnCallRule,
|
|
239
|
+
UsedByRowKind.AlertOnCallRule,
|
|
240
|
+
UsedByRowKind.IncidentGroupingRule,
|
|
241
|
+
UsedByRowKind.AlertGroupingRule,
|
|
242
|
+
UsedByRowKind.IncidentOwnerRule,
|
|
243
|
+
UsedByRowKind.AlertOwnerRule,
|
|
244
|
+
UsedByRowKind.IncidentLabelRule,
|
|
245
|
+
UsedByRowKind.AlertLabelRule,
|
|
246
|
+
UsedByRowKind.IncidentPrivacyRule,
|
|
247
|
+
UsedByRowKind.AlertPrivacyRule,
|
|
248
|
+
UsedByRowKind.IncidentSlaRule,
|
|
249
|
+
UsedByRowKind.AlertIncidentRule,
|
|
250
|
+
UsedByRowKind.IncidentAiRule,
|
|
251
|
+
UsedByRowKind.AlertAiRule,
|
|
252
|
+
UsedByRowKind.IncidentRunbookRule,
|
|
253
|
+
UsedByRowKind.AlertRunbookRule,
|
|
254
|
+
UsedByRowKind.MaintenanceRunbookRule,
|
|
255
|
+
UsedByRowKind.PostmortemRule,
|
|
256
|
+
UsedByRowKind.MaintenanceOwnerRule,
|
|
257
|
+
UsedByRowKind.MaintenanceLabelRule,
|
|
258
|
+
];
|
|
259
|
+
// The templates that can name monitors: what an incident, an event or an announcement made from them affects.
|
|
260
|
+
exports.MONITOR_TEMPLATE_ROW_KINDS = [
|
|
261
|
+
UsedByRowKind.IncidentTemplate,
|
|
262
|
+
UsedByRowKind.MaintenanceTemplate,
|
|
263
|
+
UsedByRowKind.AnnouncementTemplate,
|
|
264
|
+
];
|
|
265
|
+
/*
|
|
266
|
+
* Everything else a team can own, past the five its card lists on lines of
|
|
267
|
+
* their own: what people act on first (SLOs, dashboards, workflows,
|
|
268
|
+
* runbooks, templates), then the infrastructure it runs, then the events
|
|
269
|
+
* it owns - many of them, so they come last.
|
|
270
|
+
*/
|
|
271
|
+
exports.TEAM_OWNED_OTHER_ROW_KINDS = [
|
|
272
|
+
UsedByRowKind.ServiceLevelObjective,
|
|
273
|
+
UsedByRowKind.Dashboard,
|
|
274
|
+
UsedByRowKind.Workflow,
|
|
275
|
+
UsedByRowKind.MonitorGroup,
|
|
276
|
+
UsedByRowKind.Runbook,
|
|
277
|
+
UsedByRowKind.IncidentTemplate,
|
|
278
|
+
UsedByRowKind.MaintenanceTemplate,
|
|
279
|
+
UsedByRowKind.IncomingCallPolicy,
|
|
280
|
+
UsedByRowKind.Team,
|
|
281
|
+
UsedByRowKind.Host,
|
|
282
|
+
UsedByRowKind.KubernetesCluster,
|
|
283
|
+
UsedByRowKind.DockerHost,
|
|
284
|
+
UsedByRowKind.DockerSwarmCluster,
|
|
285
|
+
UsedByRowKind.PodmanHost,
|
|
286
|
+
UsedByRowKind.ProxmoxCluster,
|
|
287
|
+
UsedByRowKind.OpenStackCloud,
|
|
288
|
+
UsedByRowKind.VMwareVCenter,
|
|
289
|
+
UsedByRowKind.CephCluster,
|
|
290
|
+
UsedByRowKind.StorageArray,
|
|
291
|
+
UsedByRowKind.NetworkDevice,
|
|
292
|
+
UsedByRowKind.IoTFleet,
|
|
293
|
+
UsedByRowKind.CloudResource,
|
|
294
|
+
UsedByRowKind.ServerlessFunction,
|
|
295
|
+
UsedByRowKind.DatabaseServer,
|
|
296
|
+
UsedByRowKind.MessageQueue,
|
|
297
|
+
UsedByRowKind.RumApplication,
|
|
298
|
+
UsedByRowKind.DataStore,
|
|
299
|
+
UsedByRowKind.DataAsset,
|
|
300
|
+
UsedByRowKind.Probe,
|
|
301
|
+
UsedByRowKind.Runner,
|
|
302
|
+
UsedByRowKind.AIAgent,
|
|
303
|
+
UsedByRowKind.Incident,
|
|
304
|
+
UsedByRowKind.IncidentEpisode,
|
|
305
|
+
UsedByRowKind.Alert,
|
|
306
|
+
UsedByRowKind.AlertEpisode,
|
|
307
|
+
UsedByRowKind.ScheduledMaintenance,
|
|
308
|
+
];
|
|
309
|
+
// The on-call rules that page an on-call policy when their event is created.
|
|
310
|
+
exports.ON_CALL_POLICY_RULE_ROW_KINDS = [
|
|
311
|
+
UsedByRowKind.IncidentOnCallRule,
|
|
312
|
+
UsedByRowKind.AlertOnCallRule,
|
|
313
|
+
UsedByRowKind.IncidentEpisodeOnCallRule,
|
|
314
|
+
UsedByRowKind.AlertEpisodeOnCallRule,
|
|
315
|
+
];
|
|
316
|
+
/*
|
|
317
|
+
* Everything else that pages an on-call policy: an incident declared from
|
|
318
|
+
* a template, an episode a grouping rule opens, an SLO burning its budget,
|
|
319
|
+
* a budget running over.
|
|
320
|
+
*/
|
|
321
|
+
exports.ON_CALL_POLICY_OTHER_ROW_KINDS = [
|
|
322
|
+
UsedByRowKind.IncidentTemplate,
|
|
323
|
+
UsedByRowKind.IncidentGroupingRule,
|
|
324
|
+
UsedByRowKind.AlertGroupingRule,
|
|
325
|
+
UsedByRowKind.SloBurnRateRule,
|
|
326
|
+
UsedByRowKind.SloErrorBudgetPolicyTier,
|
|
327
|
+
UsedByRowKind.CloudBudget,
|
|
328
|
+
];
|
|
120
329
|
/*
|
|
121
330
|
* Each record's relations, in the order its card lists them: what most
|
|
122
331
|
* people ask about first. Adding a relation is a line here, its reading in
|
|
@@ -145,6 +354,16 @@ exports.USED_BY_RELATIONS = {
|
|
|
145
354
|
relation: UsedByRelation.MonitorDependents,
|
|
146
355
|
rowKind: UsedByRowKind.Monitor,
|
|
147
356
|
},
|
|
357
|
+
{
|
|
358
|
+
relation: UsedByRelation.MonitorRules,
|
|
359
|
+
rowKind: exports.MONITOR_RULE_ROW_KINDS[0],
|
|
360
|
+
family: exports.MONITOR_RULE_ROW_KINDS,
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
relation: UsedByRelation.MonitorTemplates,
|
|
364
|
+
rowKind: exports.MONITOR_TEMPLATE_ROW_KINDS[0],
|
|
365
|
+
family: exports.MONITOR_TEMPLATE_ROW_KINDS,
|
|
366
|
+
},
|
|
148
367
|
{
|
|
149
368
|
relation: UsedByRelation.MonitorWorkflows,
|
|
150
369
|
rowKind: UsedByRowKind.Workflow,
|
|
@@ -174,6 +393,7 @@ exports.USED_BY_RELATIONS = {
|
|
|
174
393
|
{
|
|
175
394
|
relation: UsedByRelation.StatusPageOpenIncidents,
|
|
176
395
|
rowKind: UsedByRowKind.Incident,
|
|
396
|
+
isOneRecordOnly: true,
|
|
177
397
|
},
|
|
178
398
|
{
|
|
179
399
|
relation: UsedByRelation.StatusPageMaintenance,
|
|
@@ -205,6 +425,11 @@ exports.USED_BY_RELATIONS = {
|
|
|
205
425
|
relation: UsedByRelation.TeamOwnedSchedules,
|
|
206
426
|
rowKind: UsedByRowKind.OnCallSchedule,
|
|
207
427
|
},
|
|
428
|
+
{
|
|
429
|
+
relation: UsedByRelation.TeamOwnedOther,
|
|
430
|
+
rowKind: exports.TEAM_OWNED_OTHER_ROW_KINDS[0],
|
|
431
|
+
family: exports.TEAM_OWNED_OTHER_ROW_KINDS,
|
|
432
|
+
},
|
|
208
433
|
],
|
|
209
434
|
[UsedByRecordKind.Label]: [
|
|
210
435
|
{
|
|
@@ -256,6 +481,54 @@ exports.USED_BY_RELATIONS = {
|
|
|
256
481
|
rowKind: UsedByRowKind.Dashboard,
|
|
257
482
|
},
|
|
258
483
|
],
|
|
484
|
+
/*
|
|
485
|
+
* What runs the policy: it pages nobody until one of these does (#7758,
|
|
486
|
+
* #6080). On-call rules first - most policies are run by one.
|
|
487
|
+
*/
|
|
488
|
+
[UsedByRecordKind.OnCallPolicy]: [
|
|
489
|
+
{
|
|
490
|
+
relation: UsedByRelation.OnCallPolicyRules,
|
|
491
|
+
rowKind: exports.ON_CALL_POLICY_RULE_ROW_KINDS[0],
|
|
492
|
+
family: exports.ON_CALL_POLICY_RULE_ROW_KINDS,
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
relation: UsedByRelation.OnCallPolicyMonitors,
|
|
496
|
+
rowKind: UsedByRowKind.Monitor,
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
relation: UsedByRelation.OnCallPolicyOther,
|
|
500
|
+
rowKind: exports.ON_CALL_POLICY_OTHER_ROW_KINDS[0],
|
|
501
|
+
family: exports.ON_CALL_POLICY_OTHER_ROW_KINDS,
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
relation: UsedByRelation.OnCallPolicyWorkflows,
|
|
505
|
+
rowKind: UsedByRowKind.Workflow,
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
[UsedByRecordKind.MonitorGroup]: [
|
|
509
|
+
{
|
|
510
|
+
relation: UsedByRelation.MonitorGroupStatusPages,
|
|
511
|
+
rowKind: UsedByRowKind.StatusPage,
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
relation: UsedByRelation.MonitorGroupSlos,
|
|
515
|
+
rowKind: UsedByRowKind.ServiceLevelObjective,
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
[UsedByRecordKind.Slo]: [
|
|
519
|
+
{
|
|
520
|
+
relation: UsedByRelation.SloBurnRateRules,
|
|
521
|
+
rowKind: UsedByRowKind.SloBurnRateRule,
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
relation: UsedByRelation.SloErrorBudgetPolicies,
|
|
525
|
+
rowKind: UsedByRowKind.SloErrorBudgetPolicyTier,
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
relation: UsedByRelation.SloDashboards,
|
|
529
|
+
rowKind: UsedByRowKind.Dashboard,
|
|
530
|
+
},
|
|
531
|
+
],
|
|
259
532
|
};
|
|
260
533
|
// The rows a card shows of each relation, beside its count.
|
|
261
534
|
exports.USED_BY_PREVIEW_ROW_COUNT = 3;
|
|
@@ -263,6 +536,11 @@ exports.USED_BY_PREVIEW_ROW_COUNT = 3;
|
|
|
263
536
|
exports.USED_BY_PAGE_SIZE = 50;
|
|
264
537
|
// The most rows one page may ask for.
|
|
265
538
|
exports.USED_BY_MAX_PAGE_SIZE = 100;
|
|
539
|
+
/*
|
|
540
|
+
* The most records one bulk summary counts together: a list's whole
|
|
541
|
+
* selection (BulkSelectAll reads at most LIMIT_PER_PROJECT rows).
|
|
542
|
+
*/
|
|
543
|
+
exports.USED_BY_BULK_MAX_RECORDS = LimitMax_1.LIMIT_PER_PROJECT;
|
|
266
544
|
function isUsedByRecordKind(value) {
|
|
267
545
|
return Object.values(UsedByRecordKind).includes(value);
|
|
268
546
|
}
|
|
@@ -273,6 +551,32 @@ function isUsedByRelation(value) {
|
|
|
273
551
|
function getUsedByRelations(recordKind) {
|
|
274
552
|
return exports.USED_BY_RELATIONS[recordKind] || [];
|
|
275
553
|
}
|
|
554
|
+
// The relations of a kind counted for several records at once.
|
|
555
|
+
function getUsedByBulkRelations(recordKind) {
|
|
556
|
+
return getUsedByRelations(recordKind).filter((description) => {
|
|
557
|
+
return !description.isOneRecordOnly;
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
// A relation's description, or null for one no kind lists.
|
|
561
|
+
function getUsedByRelationDescription(relation) {
|
|
562
|
+
for (const recordKind of Object.values(UsedByRecordKind)) {
|
|
563
|
+
for (const description of getUsedByRelations(recordKind)) {
|
|
564
|
+
if (description.relation === relation) {
|
|
565
|
+
return description;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
return null;
|
|
570
|
+
}
|
|
571
|
+
// Whether a relation counts several kinds of record on one line.
|
|
572
|
+
function isUsedByFamily(relation) {
|
|
573
|
+
var _a;
|
|
574
|
+
return Boolean((_a = getUsedByRelationDescription(relation)) === null || _a === void 0 ? void 0 : _a.family);
|
|
575
|
+
}
|
|
576
|
+
// The kind of a row: its own (a family's row), or its group's.
|
|
577
|
+
function getUsedByRowKindOfRow(row, groupRowKind) {
|
|
578
|
+
return row.rowKind || groupRowKind;
|
|
579
|
+
}
|
|
276
580
|
// The kind a relation belongs to, or null for one no kind lists.
|
|
277
581
|
function getUsedByRecordKindOfRelation(relation) {
|
|
278
582
|
for (const recordKind of Object.values(UsedByRecordKind)) {
|
|
@@ -317,6 +621,9 @@ function isUsedByNothing(summary) {
|
|
|
317
621
|
function isNonNegativeInteger(value) {
|
|
318
622
|
return typeof value === "number" && Number.isInteger(value) && value >= 0;
|
|
319
623
|
}
|
|
624
|
+
function isUsedByRowKind(value) {
|
|
625
|
+
return Object.values(UsedByRowKind).includes(value);
|
|
626
|
+
}
|
|
320
627
|
function isUsedByRow(value) {
|
|
321
628
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
322
629
|
return false;
|
|
@@ -325,21 +632,37 @@ function isUsedByRow(value) {
|
|
|
325
632
|
return (typeof row.id === "string" &&
|
|
326
633
|
typeof row.name === "string" &&
|
|
327
634
|
(row.number === undefined || typeof row.number === "string") &&
|
|
328
|
-
(row.detail === undefined || typeof row.detail === "string")
|
|
635
|
+
(row.detail === undefined || typeof row.detail === "string") &&
|
|
636
|
+
(row.rowKind === undefined || isUsedByRowKind(row.rowKind)) &&
|
|
637
|
+
(row.linkId === undefined || typeof row.linkId === "string") &&
|
|
638
|
+
(row.isOff === undefined || typeof row.isOff === "boolean"));
|
|
329
639
|
}
|
|
330
640
|
function isUsedByRows(value) {
|
|
331
641
|
return Array.isArray(value) && value.every(isUsedByRow);
|
|
332
642
|
}
|
|
333
|
-
function
|
|
643
|
+
function isUsedByGroupPart(value) {
|
|
644
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
645
|
+
return false;
|
|
646
|
+
}
|
|
647
|
+
const part = value;
|
|
648
|
+
return (isUsedByRowKind(part.rowKind) &&
|
|
649
|
+
isNonNegativeInteger(part.count) &&
|
|
650
|
+
isNonNegativeInteger(part.hiddenCount));
|
|
651
|
+
}
|
|
652
|
+
function isUsedByCounts(value) {
|
|
334
653
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
335
654
|
return false;
|
|
336
655
|
}
|
|
337
656
|
const group = value;
|
|
338
657
|
return (isUsedByRelation(group.relation) &&
|
|
339
|
-
|
|
658
|
+
isUsedByRowKind(group.rowKind) &&
|
|
340
659
|
isNonNegativeInteger(group.count) &&
|
|
341
660
|
isNonNegativeInteger(group.hiddenCount) &&
|
|
342
|
-
|
|
661
|
+
(group.parts === undefined ||
|
|
662
|
+
(Array.isArray(group.parts) && group.parts.every(isUsedByGroupPart))));
|
|
663
|
+
}
|
|
664
|
+
function isUsedByGroup(value) {
|
|
665
|
+
return (isUsedByCounts(value) && isUsedByRows(value.rows));
|
|
343
666
|
}
|
|
344
667
|
/*
|
|
345
668
|
* Whether an answer has the shape the Dashboard reads: a server that
|
|
@@ -356,6 +679,16 @@ function isUsedBySummary(value) {
|
|
|
356
679
|
Array.isArray(summary.groups) &&
|
|
357
680
|
summary.groups.every(isUsedByGroup));
|
|
358
681
|
}
|
|
682
|
+
function isUsedByBulkSummary(value) {
|
|
683
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
684
|
+
return false;
|
|
685
|
+
}
|
|
686
|
+
const summary = value;
|
|
687
|
+
return (isUsedByRecordKind(summary.recordKind) &&
|
|
688
|
+
isNonNegativeInteger(summary.recordCount) &&
|
|
689
|
+
Array.isArray(summary.groups) &&
|
|
690
|
+
summary.groups.every(isUsedByCounts));
|
|
691
|
+
}
|
|
359
692
|
function isUsedByPage(value) {
|
|
360
693
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
361
694
|
return false;
|
|
@@ -364,7 +697,7 @@ function isUsedByPage(value) {
|
|
|
364
697
|
return (isUsedByRecordKind(page.recordKind) &&
|
|
365
698
|
typeof page.recordId === "string" &&
|
|
366
699
|
isUsedByRelation(page.relation) &&
|
|
367
|
-
|
|
700
|
+
isUsedByRowKind(page.rowKind) &&
|
|
368
701
|
isNonNegativeInteger(page.count) &&
|
|
369
702
|
isNonNegativeInteger(page.hiddenCount) &&
|
|
370
703
|
isNonNegativeInteger(page.pageStart) &&
|
package/Types/UsedBy/UsedBy.mjs
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import commonJsModule from "./UsedBy.js";
|
|
2
|
+
export const MONITOR_RULE_ROW_KINDS = commonJsModule.MONITOR_RULE_ROW_KINDS;
|
|
3
|
+
export const MONITOR_TEMPLATE_ROW_KINDS = commonJsModule.MONITOR_TEMPLATE_ROW_KINDS;
|
|
4
|
+
export const ON_CALL_POLICY_OTHER_ROW_KINDS = commonJsModule.ON_CALL_POLICY_OTHER_ROW_KINDS;
|
|
5
|
+
export const ON_CALL_POLICY_RULE_ROW_KINDS = commonJsModule.ON_CALL_POLICY_RULE_ROW_KINDS;
|
|
6
|
+
export const TEAM_OWNED_OTHER_ROW_KINDS = commonJsModule.TEAM_OWNED_OTHER_ROW_KINDS;
|
|
7
|
+
export const USED_BY_BULK_MAX_RECORDS = commonJsModule.USED_BY_BULK_MAX_RECORDS;
|
|
2
8
|
export const USED_BY_MAX_PAGE_SIZE = commonJsModule.USED_BY_MAX_PAGE_SIZE;
|
|
3
9
|
export const USED_BY_PAGE_SIZE = commonJsModule.USED_BY_PAGE_SIZE;
|
|
4
10
|
export const USED_BY_PREVIEW_ROW_COUNT = commonJsModule.USED_BY_PREVIEW_ROW_COUNT;
|
|
@@ -6,15 +12,21 @@ export const USED_BY_RELATIONS = commonJsModule.USED_BY_RELATIONS;
|
|
|
6
12
|
export const UsedByRecordKind = commonJsModule.UsedByRecordKind;
|
|
7
13
|
export const UsedByRelation = commonJsModule.UsedByRelation;
|
|
8
14
|
export const UsedByRowKind = commonJsModule.UsedByRowKind;
|
|
15
|
+
export const getUsedByBulkRelations = commonJsModule.getUsedByBulkRelations;
|
|
9
16
|
export const getUsedByGroupTotal = commonJsModule.getUsedByGroupTotal;
|
|
10
17
|
export const getUsedByGroupsInUse = commonJsModule.getUsedByGroupsInUse;
|
|
11
18
|
export const getUsedByRecordKindOfRelation = commonJsModule.getUsedByRecordKindOfRelation;
|
|
19
|
+
export const getUsedByRelationDescription = commonJsModule.getUsedByRelationDescription;
|
|
12
20
|
export const getUsedByRelations = commonJsModule.getUsedByRelations;
|
|
13
21
|
export const getUsedByRowKind = commonJsModule.getUsedByRowKind;
|
|
22
|
+
export const getUsedByRowKindOfRow = commonJsModule.getUsedByRowKindOfRow;
|
|
23
|
+
export const isUsedByBulkSummary = commonJsModule.isUsedByBulkSummary;
|
|
24
|
+
export const isUsedByFamily = commonJsModule.isUsedByFamily;
|
|
14
25
|
export const isUsedByNothing = commonJsModule.isUsedByNothing;
|
|
15
26
|
export const isUsedByPage = commonJsModule.isUsedByPage;
|
|
16
27
|
export const isUsedByRecordKind = commonJsModule.isUsedByRecordKind;
|
|
17
28
|
export const isUsedByRelation = commonJsModule.isUsedByRelation;
|
|
29
|
+
export const isUsedByRowKind = commonJsModule.isUsedByRowKind;
|
|
18
30
|
export const isUsedBySummary = commonJsModule.isUsedBySummary;
|
|
19
31
|
export const normalizeUsedByPageSize = commonJsModule.normalizeUsedByPageSize;
|
|
20
32
|
export const normalizeUsedBySkip = commonJsModule.normalizeUsedBySkip;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import ProductKey from "../Product/ProductKey.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { UsedByCounts, UsedByRow, UsedByRowKind } from "./UsedBy.mjs";
|
|
3
3
|
export declare const USED_BY_ROW_KIND_PRODUCTS: Readonly<Record<UsedByRowKind, ProductKey>>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const withoutRowsOfProductsOff: (rows: Array<UsedByRow>, groupRowKind: UsedByRowKind, offProducts: ReadonlyArray<ProductKey>) => Array<UsedByRow>;
|
|
5
|
+
export declare const withoutGroupsOfProductsOff: <TSummary extends {
|
|
6
|
+
groups: Array<UsedByCounts>;
|
|
7
|
+
}>(summary: TSummary, offProducts: ReadonlyArray<ProductKey>) => TSummary;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import ProductKey from "../Product/ProductKey";
|
|
2
|
-
import {
|
|
2
|
+
import { UsedByCounts, UsedByRow, UsedByRowKind } from "./UsedBy";
|
|
3
3
|
export declare const USED_BY_ROW_KIND_PRODUCTS: Readonly<Record<UsedByRowKind, ProductKey>>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const withoutRowsOfProductsOff: (rows: Array<UsedByRow>, groupRowKind: UsedByRowKind, offProducts: ReadonlyArray<ProductKey>) => Array<UsedByRow>;
|
|
5
|
+
export declare const withoutGroupsOfProductsOff: <TSummary extends {
|
|
6
|
+
groups: Array<UsedByCounts>;
|
|
7
|
+
}>(summary: TSummary, offProducts: ReadonlyArray<ProductKey>) => TSummary;
|