@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
|
@@ -5,3 +5,4 @@ export const forEachLabelMarkedLooksUp = commonJsModule.forEachLabelMarkedLooksU
|
|
|
5
5
|
export const getLinkReferenceDefinitions = commonJsModule.getLinkReferenceDefinitions;
|
|
6
6
|
export const normalizeLinkLabel = commonJsModule.normalizeLinkLabel;
|
|
7
7
|
export const normalizeReferenceLabel = commonJsModule.normalizeReferenceLabel;
|
|
8
|
+
export const readLinkReferenceDefinitions = commonJsModule.readLinkReferenceDefinitions;
|
|
@@ -44,10 +44,11 @@
|
|
|
44
44
|
* - for marked (limits.countAsMarked: the emails), each line as marked
|
|
45
45
|
* reads it (readMarkedLine, #7228): a link, an image or a reference
|
|
46
46
|
* whose label closes costs it a copy of its block, not a look through
|
|
47
|
-
* the rest of it
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
47
|
+
* the rest of it, and its brackets are no punctuation of a word
|
|
48
|
+
* (#7599); what a complete link's parentheses or a definition hold is
|
|
49
|
+
* read once; a "&" or a "]" costs nothing; and a run of an email
|
|
50
|
+
* address's characters before an "@" costs the run times itself and
|
|
51
|
+
* the domain after it.
|
|
51
52
|
* - for marked, each line of a list item it reads as a line of text: a
|
|
52
53
|
* look through half of the item (HOW MARKED READS A LIST ITEM, #7598).
|
|
53
54
|
* marked reads an item's text a line at a time, and looks through the
|
|
@@ -294,7 +295,14 @@ exports.getWordPunctuationWork = getWordPunctuationWork;
|
|
|
294
295
|
* each "<...>" and each escape, with a copy of the block: so each costs
|
|
295
296
|
* a copy of its unit, which is a sixteenth of a look through it or less
|
|
296
297
|
* (MARKED_MASKED_ITEM_SHARE). A paragraph of 1,000 references, one on
|
|
297
|
-
* each line, took marked 9 ms; one of 18,724 (256 KB) took 5.5 s.
|
|
298
|
+
* each line, took marked 9 ms; one of 18,724 (256 KB) took 5.5 s. Its
|
|
299
|
+
* brackets, and an image's "!", are no punctuation of a word: links and
|
|
300
|
+
* references glued into one word - a row of badges, a template that
|
|
301
|
+
* writes "[a](b)" with no space - were held back from 4 KB as if marked
|
|
302
|
+
* read the rest of the word from each of them, and marked read 64 KB of
|
|
303
|
+
* them in a tenth of a second, as fast as spaced ones (#7599). A badge's
|
|
304
|
+
* link, its label an image - "[](...)" - is read as marked's
|
|
305
|
+
* link rule reads it too (readClosedLinkLabel).
|
|
298
306
|
* - What a complete link's parentheses hold - its address and its title -
|
|
299
307
|
* and a definition marked takes, label and all, marked takes as one
|
|
300
308
|
* piece and never reads as inline Markdown: it is counted once, not as
|
|
@@ -311,7 +319,11 @@ exports.getWordPunctuationWork = getWordPunctuationWork;
|
|
|
311
319
|
* close on its line, costs as it does for the other parsers - a look
|
|
312
320
|
* through the rest of its unit - as do emphasis, code spans, tags and the
|
|
313
321
|
* punctuation of words, and a link past what the tails of its line may
|
|
314
|
-
* read (MARKED_TAIL_READING_SHARE).
|
|
322
|
+
* read (MARKED_TAIL_READING_SHARE). So does a label or an address in "<>"
|
|
323
|
+
* whose "\" comes before a line or paragraph separator, which marked's
|
|
324
|
+
* escape does not take (isMarkedEscape): counted as a link, its tail - a
|
|
325
|
+
* word of "a!a!..." - was read once, where marked read it as text, in time
|
|
326
|
+
* that grows with its square.
|
|
315
327
|
*/
|
|
316
328
|
/*
|
|
317
329
|
* What a link, a reference, a "<...>" or an escape that marked masks costs
|
|
@@ -382,12 +394,23 @@ const getEscapedLength = (text, index, end) => {
|
|
|
382
394
|
}
|
|
383
395
|
return codePoint > 0xffff ? 2 : 1;
|
|
384
396
|
};
|
|
397
|
+
/*
|
|
398
|
+
* Whether the "\" at `index` escapes the character after it as marked's
|
|
399
|
+
* labels and "<...>" addresses read one (`\\.`): any character but a line
|
|
400
|
+
* or paragraph separator, which "." does not match - there the label or
|
|
401
|
+
* the address does not close. (Line breaks are "\n" by then, and end the
|
|
402
|
+
* line.)
|
|
403
|
+
*/
|
|
404
|
+
const isMarkedEscape = (text, index) => {
|
|
405
|
+
return !(0, RegExpCharacterClasses_1.isLineTerminatorCode)(text.charCodeAt(index + 1));
|
|
406
|
+
};
|
|
385
407
|
/*
|
|
386
408
|
* Where the label whose "[" is at `open` closes: the index of its "]" - or
|
|
387
409
|
* -1 when a "[", a backtick or the line's end comes first, or the label is
|
|
388
410
|
* longer than MAX_MARKED_LABEL_LENGTH. A "\" escapes the character after
|
|
389
|
-
* it
|
|
390
|
-
*
|
|
411
|
+
* it, but a line or paragraph separator (isMarkedEscape). A code span
|
|
412
|
+
* inside a label can hold a "]" for marked, so a label with a backtick
|
|
413
|
+
* counts as one that never closes.
|
|
391
414
|
*/
|
|
392
415
|
const readClosedLabel = (text, open, end) => {
|
|
393
416
|
const limit = Math.min(end, open + 2 + exports.MAX_MARKED_LABEL_LENGTH);
|
|
@@ -397,7 +420,43 @@ const readClosedLabel = (text, open, end) => {
|
|
|
397
420
|
if (code === CLOSE_BRACKET) {
|
|
398
421
|
return index;
|
|
399
422
|
}
|
|
400
|
-
if (code === OPEN_BRACKET ||
|
|
423
|
+
if (code === OPEN_BRACKET ||
|
|
424
|
+
code === BACKTICK ||
|
|
425
|
+
(code === BACKSLASH && !isMarkedEscape(text, index))) {
|
|
426
|
+
return -1;
|
|
427
|
+
}
|
|
428
|
+
index += code === BACKSLASH ? 2 : 1;
|
|
429
|
+
}
|
|
430
|
+
return -1;
|
|
431
|
+
};
|
|
432
|
+
/*
|
|
433
|
+
* Where the label of a link whose "[" is at `open` closes, as marked's link
|
|
434
|
+
* rule reads one (`_inlineLabel`): as readClosedLabel reads it, but a "["
|
|
435
|
+
* in it opens a group of its own, which closes before the label does - a
|
|
436
|
+
* badge's image, "[](https://...)". -1 where the
|
|
437
|
+
* label, or a group in it, does not close first: a "[" in a group, a
|
|
438
|
+
* backtick, the line's end, or past MAX_MARKED_LABEL_LENGTH.
|
|
439
|
+
*/
|
|
440
|
+
const readClosedLinkLabel = (text, open, end) => {
|
|
441
|
+
const limit = Math.min(end, open + 2 + exports.MAX_MARKED_LABEL_LENGTH);
|
|
442
|
+
let isInGroup = false;
|
|
443
|
+
let index = open + 1;
|
|
444
|
+
while (index < limit) {
|
|
445
|
+
const code = text.charCodeAt(index);
|
|
446
|
+
if (code === CLOSE_BRACKET) {
|
|
447
|
+
if (!isInGroup) {
|
|
448
|
+
return index;
|
|
449
|
+
}
|
|
450
|
+
isInGroup = false;
|
|
451
|
+
}
|
|
452
|
+
else if (code === OPEN_BRACKET) {
|
|
453
|
+
if (isInGroup) {
|
|
454
|
+
return -1;
|
|
455
|
+
}
|
|
456
|
+
isInGroup = true;
|
|
457
|
+
}
|
|
458
|
+
else if (code === BACKTICK ||
|
|
459
|
+
(code === BACKSLASH && !isMarkedEscape(text, index))) {
|
|
401
460
|
return -1;
|
|
402
461
|
}
|
|
403
462
|
index += code === BACKSLASH ? 2 : 1;
|
|
@@ -454,7 +513,8 @@ exports.MARKED_TAIL_READING_SHARE = 8;
|
|
|
454
513
|
* where they do not close on the line (marked can close them on a later
|
|
455
514
|
* line: counted as not closing, which only makes the line look costlier).
|
|
456
515
|
*
|
|
457
|
-
* The address is in "<>" - no "<" inside, a "\" escaping
|
|
516
|
+
* The address is in "<>" - no "<" inside, a "\" escaping all but a
|
|
517
|
+
* separator (isMarkedEscape) - or runs to
|
|
458
518
|
* white space or a control character, with its parentheses balanced: a ")"
|
|
459
519
|
* with none open ends the link. After white space, a title in '"', "'" or
|
|
460
520
|
* "()" may follow, then white space and the ")".
|
|
@@ -487,6 +547,10 @@ const readLinkTail = (text, open, end, reading) => {
|
|
|
487
547
|
}
|
|
488
548
|
const code = text.charCodeAt(index);
|
|
489
549
|
if (code === BACKSLASH) {
|
|
550
|
+
// A "\" before a separator ends no address: marked's does not close.
|
|
551
|
+
if (!isMarkedEscape(text, index)) {
|
|
552
|
+
return read(-1, index + 1);
|
|
553
|
+
}
|
|
490
554
|
index += 2;
|
|
491
555
|
continue;
|
|
492
556
|
}
|
|
@@ -560,7 +624,9 @@ const readLinkTail = (text, open, end, reading) => {
|
|
|
560
624
|
* through the rest of its unit there). Exported for tests.
|
|
561
625
|
*/
|
|
562
626
|
const getMarkedLinkEnd = (text, open, end) => {
|
|
563
|
-
|
|
627
|
+
// A badge's label holds an image: as readMarkedLine reads it.
|
|
628
|
+
const closed = readClosedLabel(text, open, end);
|
|
629
|
+
const close = closed === -1 ? readClosedLinkLabel(text, open, end) : closed;
|
|
564
630
|
if (close === -1 ||
|
|
565
631
|
close + 1 >= end ||
|
|
566
632
|
text.charCodeAt(close + 1) !== OPEN_PARENTHESIS) {
|
|
@@ -646,11 +712,12 @@ exports.getMarkedDefinitionAddressStart = getMarkedDefinitionAddressStart;
|
|
|
646
712
|
* HOW MARKED READS A LINE): characters it looks ahead from through the
|
|
647
713
|
* unit, what it masks with a copy of the unit, and the line's work that
|
|
648
714
|
* does not grow with the unit - the punctuation of its words as
|
|
649
|
-
* getWordPunctuationWork counts it,
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
*
|
|
653
|
-
*
|
|
715
|
+
* getWordPunctuationWork counts it, but the brackets of the links and
|
|
716
|
+
* references it masks and an image's "!", what a complete link's
|
|
717
|
+
* parentheses hold, once, and the runs before an "@". A definition marked
|
|
718
|
+
* takes costs its length, once. A definition is one marked takes only as
|
|
719
|
+
* the first line of its unit or after others: after a paragraph's line,
|
|
720
|
+
* marked reads it as the paragraph's text.
|
|
654
721
|
*/
|
|
655
722
|
const readMarkedLine = (text, start, end, counting, unit) => {
|
|
656
723
|
unit.mayDefine =
|
|
@@ -664,11 +731,30 @@ const readMarkedLine = (text, start, end, counting, unit) => {
|
|
|
664
731
|
unit.work += end - start;
|
|
665
732
|
return;
|
|
666
733
|
}
|
|
667
|
-
|
|
734
|
+
/*
|
|
735
|
+
* What marked reads once and is not counted otherwise: [skipFrom, skipTo)
|
|
736
|
+
* - and, while the tail of a link in a badge's label is that, the tail of
|
|
737
|
+
* the badge's own link after it: [pendingSkipFrom, pendingSkipTo).
|
|
738
|
+
*/
|
|
668
739
|
let skipFrom = -1;
|
|
669
740
|
let skipTo = end;
|
|
741
|
+
let pendingSkipFrom = -1;
|
|
742
|
+
let pendingSkipTo = end;
|
|
670
743
|
let wordStart = start;
|
|
671
744
|
let wordPunctuation = 0;
|
|
745
|
+
/*
|
|
746
|
+
* The "]" of the label that closes next - and of the badge's label around
|
|
747
|
+
* it - which is no punctuation of a word: marked reads the link or the
|
|
748
|
+
* reference whole, a masked item.
|
|
749
|
+
*/
|
|
750
|
+
let uncountedClose = -1;
|
|
751
|
+
let outerUncountedClose = -1;
|
|
752
|
+
/*
|
|
753
|
+
* Where the label of a link that holds a link of its own ends - a
|
|
754
|
+
* badge's, "[](...)": a link or a reference read inside it
|
|
755
|
+
* must end in it, as marked reads that label on its own.
|
|
756
|
+
*/
|
|
757
|
+
let linkLabelEnd = -1;
|
|
672
758
|
// Where the run of an email address's characters being read starts.
|
|
673
759
|
let emailRunStart = start;
|
|
674
760
|
/*
|
|
@@ -693,19 +779,34 @@ const readMarkedLine = (text, start, end, counting, unit) => {
|
|
|
693
779
|
index = skipTo;
|
|
694
780
|
emailRunStart = index;
|
|
695
781
|
inlineFrom = index;
|
|
696
|
-
|
|
782
|
+
// The badge's own tail next, unless what was skipped took it.
|
|
783
|
+
skipFrom = pendingSkipFrom >= index ? pendingSkipFrom : -1;
|
|
784
|
+
skipTo = pendingSkipTo;
|
|
785
|
+
pendingSkipFrom = -1;
|
|
697
786
|
continue;
|
|
698
787
|
}
|
|
699
788
|
const code = text.charCodeAt(index);
|
|
700
|
-
|
|
789
|
+
/*
|
|
790
|
+
* The punctuation of words, as getWordPunctuationWork counts it - but
|
|
791
|
+
* the brackets of a link or a reference whose label closes, and an
|
|
792
|
+
* image's "!": marked masks each with a copy of the unit, which is what
|
|
793
|
+
* it costs (MARKED_MASKED_ITEM_SHARE).
|
|
794
|
+
*/
|
|
701
795
|
if (isSpaceOrTab(code)) {
|
|
702
796
|
unit.work += wordPunctuation * (index - wordStart);
|
|
703
797
|
wordStart = index + 1;
|
|
704
798
|
wordPunctuation = 0;
|
|
705
799
|
}
|
|
800
|
+
else if (index === uncountedClose) {
|
|
801
|
+
uncountedClose = outerUncountedClose;
|
|
802
|
+
outerUncountedClose = -1;
|
|
803
|
+
}
|
|
706
804
|
else if (isAsciiPunctuation(code)) {
|
|
707
805
|
wordPunctuation++;
|
|
708
806
|
}
|
|
807
|
+
if (index > linkLabelEnd) {
|
|
808
|
+
linkLabelEnd = -1;
|
|
809
|
+
}
|
|
709
810
|
if (code === AT_SIGN && index > emailRunStart) {
|
|
710
811
|
let domainEnd = index + 1;
|
|
711
812
|
while (domainEnd < end &&
|
|
@@ -746,31 +847,65 @@ const readMarkedLine = (text, start, end, counting, unit) => {
|
|
|
746
847
|
unit.characters++;
|
|
747
848
|
}
|
|
748
849
|
else if (code === OPEN_BRACKET) {
|
|
749
|
-
|
|
750
|
-
|
|
850
|
+
let close = readClosedLabel(text, index, end);
|
|
851
|
+
let tailEnd = close !== -1 &&
|
|
751
852
|
close + 1 < end &&
|
|
752
853
|
text.charCodeAt(close + 1) === OPEN_PARENTHESIS
|
|
753
854
|
? readLinkTail(text, close + 1, end, tailReading)
|
|
754
855
|
: -2;
|
|
755
|
-
|
|
856
|
+
// A badge's: a link whose label holds a link or an image of its own.
|
|
857
|
+
let holdsLink = false;
|
|
858
|
+
if (close === -1 && linkLabelEnd === -1) {
|
|
859
|
+
const linkClose = readClosedLinkLabel(text, index, end);
|
|
860
|
+
if (linkClose !== -1 &&
|
|
861
|
+
linkClose + 1 < end &&
|
|
862
|
+
text.charCodeAt(linkClose + 1) === OPEN_PARENTHESIS) {
|
|
863
|
+
tailEnd = readLinkTail(text, linkClose + 1, end, tailReading);
|
|
864
|
+
close = tailEnd >= 0 ? linkClose : -1;
|
|
865
|
+
holdsLink = close !== -1;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
// In a badge's label: what marked reads in that label alone.
|
|
869
|
+
const endsInLabel = linkLabelEnd === -1 ||
|
|
870
|
+
(tailEnd >= 0 ? tailEnd <= linkLabelEnd : close < linkLabelEnd);
|
|
871
|
+
if (close === -1 || tailEnd === -1 || !endsInLabel) {
|
|
756
872
|
// A label or an address that does not close: a look through.
|
|
757
873
|
unit.characters++;
|
|
758
874
|
}
|
|
759
|
-
else if (tailEnd >= 0) {
|
|
760
|
-
unit.maskedItems++;
|
|
761
|
-
skipFrom = close + 1;
|
|
762
|
-
skipTo = tailEnd;
|
|
763
|
-
referenceEnd = -1;
|
|
764
|
-
}
|
|
765
875
|
else {
|
|
766
|
-
|
|
767
|
-
|
|
876
|
+
// Its brackets, and an image's "!", are no punctuation of a word.
|
|
877
|
+
wordPunctuation--;
|
|
878
|
+
if (index > start &&
|
|
879
|
+
index - 1 >= wordStart &&
|
|
880
|
+
text.charCodeAt(index - 1) === EXCLAMATION_MARK) {
|
|
881
|
+
wordPunctuation--;
|
|
768
882
|
}
|
|
769
|
-
|
|
883
|
+
outerUncountedClose = uncountedClose;
|
|
884
|
+
uncountedClose = close;
|
|
885
|
+
if (tailEnd >= 0) {
|
|
770
886
|
unit.maskedItems++;
|
|
771
|
-
|
|
887
|
+
// The badge's own tail waits while its image's is read.
|
|
888
|
+
if (skipFrom !== -1) {
|
|
889
|
+
pendingSkipFrom = skipFrom;
|
|
890
|
+
pendingSkipTo = skipTo;
|
|
891
|
+
}
|
|
892
|
+
skipFrom = close + 1;
|
|
893
|
+
skipTo = tailEnd;
|
|
894
|
+
referenceEnd = -1;
|
|
895
|
+
if (holdsLink) {
|
|
896
|
+
linkLabelEnd = close;
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
else {
|
|
900
|
+
if (index === referenceEnd && !wasLabelOfText) {
|
|
901
|
+
wasLabelOfText = true;
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
unit.maskedItems++;
|
|
905
|
+
wasLabelOfText = false;
|
|
906
|
+
}
|
|
907
|
+
referenceEnd = close + 1;
|
|
772
908
|
}
|
|
773
|
-
referenceEnd = close + 1;
|
|
774
909
|
}
|
|
775
910
|
}
|
|
776
911
|
else if (code === LESS_THAN) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import AggregatedResult from "../../Types/BaseDatabase/AggregatedResult.mjs";
|
|
2
2
|
import MetricFormulaConfigData from "../../Types/Metrics/MetricFormulaConfigData.mjs";
|
|
3
3
|
import MetricQueryConfigData from "../../Types/Metrics/MetricQueryConfigData.mjs";
|
|
4
|
+
import { MetricZeroFillOptions } from "./MetricZeroFill.mjs";
|
|
4
5
|
export interface FormulaPoint {
|
|
5
6
|
timestamp: Date | string;
|
|
6
7
|
value: number;
|
|
@@ -15,14 +16,23 @@ export default class MetricFormulaEvaluator {
|
|
|
15
16
|
* Throws for STRUCTURAL problems (invalid formula syntax/arity,
|
|
16
17
|
* unknown variable, grouped variables with no groups in common).
|
|
17
18
|
* Per-point data gaps (a timestamp missing from one variable) are
|
|
18
|
-
* skipped silently, as before
|
|
19
|
+
* skipped silently, as before - except a counting query's, which
|
|
20
|
+
* `zeroFill` reads as 0 (MetricZeroFill).
|
|
19
21
|
*/
|
|
20
22
|
static evaluateFormula(input: {
|
|
21
23
|
formula: string;
|
|
22
24
|
queryConfigs: Array<MetricQueryConfigData>;
|
|
23
25
|
formulaConfigs: Array<MetricFormulaConfigData>;
|
|
24
26
|
results: Array<AggregatedResult>;
|
|
27
|
+
zeroFill?: MetricZeroFillOptions | undefined;
|
|
25
28
|
}): AggregatedResult;
|
|
29
|
+
static getCountingVariablesOfFormula(input: {
|
|
30
|
+
formula: string;
|
|
31
|
+
queryConfigs: Array<MetricQueryConfigData>;
|
|
32
|
+
zeroFill?: MetricZeroFillOptions | undefined;
|
|
33
|
+
}): Array<string>;
|
|
34
|
+
private static getCountingVariables;
|
|
35
|
+
private static getFillableGroupedVariables;
|
|
26
36
|
/**
|
|
27
37
|
* Return the set of variables referenced by a formula, preserving the
|
|
28
38
|
* order of first appearance. Variable names are lower-cased to match
|
|
@@ -71,7 +81,8 @@ export default class MetricFormulaEvaluator {
|
|
|
71
81
|
* keep the observed >=2 heuristic. A config-grouped variable with an
|
|
72
82
|
* EMPTY result intentionally classifies as ungrouped: it degrades to
|
|
73
83
|
* per-point gaps (empty output) instead of a structural
|
|
74
|
-
* no-groups-in-common error
|
|
84
|
+
* no-groups-in-common error - or, when it counts what happened (a
|
|
85
|
+
* failures query nothing failed in), to a 0 in every group.
|
|
75
86
|
*
|
|
76
87
|
* Only consulted once the grouped path has engaged — the passthrough
|
|
77
88
|
* gate in evaluateFormula deliberately does NOT use this predicate,
|
|
@@ -111,11 +122,16 @@ export default class MetricFormulaEvaluator {
|
|
|
111
122
|
* point. Points missing a value for any referenced variable are
|
|
112
123
|
* skipped (a partial join would produce misleading numbers — e.g.
|
|
113
124
|
* treating a gap as zero silently when using subtraction), as are
|
|
114
|
-
* non-finite results like divide-by-zero.
|
|
115
|
-
*
|
|
125
|
+
* non-finite results like divide-by-zero. The one exception is a
|
|
126
|
+
* counting query's missing point (`countingVariables`), which is 0 in a
|
|
127
|
+
* step another variable has a point in, once the step is settled: that
|
|
128
|
+
* query counted nothing there (MetricZeroFill). A point that is there
|
|
129
|
+
* with no number is never one to fill. Structural formula errors are
|
|
130
|
+
* impossible here: the RPN's arity is validated at parse time.
|
|
116
131
|
*/
|
|
117
132
|
private static evaluatePointwise;
|
|
118
133
|
private static buildTimestampIndex;
|
|
134
|
+
private static createStepValues;
|
|
119
135
|
private static normalizeTimestamp;
|
|
120
136
|
private static collectVariableNames;
|
|
121
137
|
private static tokenize;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import AggregatedResult from "../../Types/BaseDatabase/AggregatedResult";
|
|
2
2
|
import MetricFormulaConfigData from "../../Types/Metrics/MetricFormulaConfigData";
|
|
3
3
|
import MetricQueryConfigData from "../../Types/Metrics/MetricQueryConfigData";
|
|
4
|
+
import { MetricZeroFillOptions } from "./MetricZeroFill";
|
|
4
5
|
export interface FormulaPoint {
|
|
5
6
|
timestamp: Date | string;
|
|
6
7
|
value: number;
|
|
@@ -15,14 +16,23 @@ export default class MetricFormulaEvaluator {
|
|
|
15
16
|
* Throws for STRUCTURAL problems (invalid formula syntax/arity,
|
|
16
17
|
* unknown variable, grouped variables with no groups in common).
|
|
17
18
|
* Per-point data gaps (a timestamp missing from one variable) are
|
|
18
|
-
* skipped silently, as before
|
|
19
|
+
* skipped silently, as before - except a counting query's, which
|
|
20
|
+
* `zeroFill` reads as 0 (MetricZeroFill).
|
|
19
21
|
*/
|
|
20
22
|
static evaluateFormula(input: {
|
|
21
23
|
formula: string;
|
|
22
24
|
queryConfigs: Array<MetricQueryConfigData>;
|
|
23
25
|
formulaConfigs: Array<MetricFormulaConfigData>;
|
|
24
26
|
results: Array<AggregatedResult>;
|
|
27
|
+
zeroFill?: MetricZeroFillOptions | undefined;
|
|
25
28
|
}): AggregatedResult;
|
|
29
|
+
static getCountingVariablesOfFormula(input: {
|
|
30
|
+
formula: string;
|
|
31
|
+
queryConfigs: Array<MetricQueryConfigData>;
|
|
32
|
+
zeroFill?: MetricZeroFillOptions | undefined;
|
|
33
|
+
}): Array<string>;
|
|
34
|
+
private static getCountingVariables;
|
|
35
|
+
private static getFillableGroupedVariables;
|
|
26
36
|
/**
|
|
27
37
|
* Return the set of variables referenced by a formula, preserving the
|
|
28
38
|
* order of first appearance. Variable names are lower-cased to match
|
|
@@ -71,7 +81,8 @@ export default class MetricFormulaEvaluator {
|
|
|
71
81
|
* keep the observed >=2 heuristic. A config-grouped variable with an
|
|
72
82
|
* EMPTY result intentionally classifies as ungrouped: it degrades to
|
|
73
83
|
* per-point gaps (empty output) instead of a structural
|
|
74
|
-
* no-groups-in-common error
|
|
84
|
+
* no-groups-in-common error - or, when it counts what happened (a
|
|
85
|
+
* failures query nothing failed in), to a 0 in every group.
|
|
75
86
|
*
|
|
76
87
|
* Only consulted once the grouped path has engaged — the passthrough
|
|
77
88
|
* gate in evaluateFormula deliberately does NOT use this predicate,
|
|
@@ -111,11 +122,16 @@ export default class MetricFormulaEvaluator {
|
|
|
111
122
|
* point. Points missing a value for any referenced variable are
|
|
112
123
|
* skipped (a partial join would produce misleading numbers — e.g.
|
|
113
124
|
* treating a gap as zero silently when using subtraction), as are
|
|
114
|
-
* non-finite results like divide-by-zero.
|
|
115
|
-
*
|
|
125
|
+
* non-finite results like divide-by-zero. The one exception is a
|
|
126
|
+
* counting query's missing point (`countingVariables`), which is 0 in a
|
|
127
|
+
* step another variable has a point in, once the step is settled: that
|
|
128
|
+
* query counted nothing there (MetricZeroFill). A point that is there
|
|
129
|
+
* with no number is never one to fill. Structural formula errors are
|
|
130
|
+
* impossible here: the RPN's arity is validated at parse time.
|
|
116
131
|
*/
|
|
117
132
|
private static evaluatePointwise;
|
|
118
133
|
private static buildTimestampIndex;
|
|
134
|
+
private static createStepValues;
|
|
119
135
|
private static normalizeTimestamp;
|
|
120
136
|
private static collectVariableNames;
|
|
121
137
|
private static tokenize;
|