@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
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import DatabaseRequestType from "../../BaseDatabase/DatabaseRequestType";
|
|
2
|
+
import Query from "../Query";
|
|
3
|
+
import BaseModel from "../../../../Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
|
|
4
|
+
import DatabaseCommonInteractionProps from "../../../../Types/BaseDatabase/DatabaseCommonInteractionProps";
|
|
5
|
+
import { FindWhereProperty } from "../../../../Types/BaseDatabase/Query";
|
|
6
|
+
import ObjectID from "../../../../Types/ObjectID";
|
|
7
|
+
import { UserPermission } from "../../../../Types/Permission";
|
|
8
|
+
import { ALSO_PART_OF } from "../../../../Types/PrivateRecord/PrivateRecordParts";
|
|
9
|
+
export interface PrivateRecordKind {
|
|
10
|
+
tableName: string;
|
|
11
|
+
ownerUserTable: string;
|
|
12
|
+
ownerTeamTable: string;
|
|
13
|
+
ownerKey: string;
|
|
14
|
+
labelTable: string;
|
|
15
|
+
labelRecordKey: string;
|
|
16
|
+
labelKey: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const PRIVATE_RECORD_KINDS: ReadonlyArray<PrivateRecordKind>;
|
|
19
|
+
export interface PrivateRecordColumn {
|
|
20
|
+
kind: PrivateRecordKind;
|
|
21
|
+
recordModelType: {
|
|
22
|
+
new (): BaseModel;
|
|
23
|
+
};
|
|
24
|
+
column: string;
|
|
25
|
+
isRecord: boolean;
|
|
26
|
+
}
|
|
27
|
+
export { ALSO_PART_OF };
|
|
28
|
+
export interface PrivateRecordReach {
|
|
29
|
+
userId: ObjectID | null;
|
|
30
|
+
teamIds: Array<ObjectID>;
|
|
31
|
+
labelledTeams: Array<{
|
|
32
|
+
teamId: ObjectID;
|
|
33
|
+
labelIds: Array<ObjectID>;
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
export default class PrivateRecordPermission {
|
|
37
|
+
static readonly PRIVATE_WRITE_REASON: string;
|
|
38
|
+
static getPrivateParentWriteReason(parentNoun: string): string;
|
|
39
|
+
static getPrivateRecordWriteReason(noun: string): string;
|
|
40
|
+
static getKind(tableName: string | null | undefined): PrivateRecordKind | null;
|
|
41
|
+
static isPrivateRecordModel(modelType: {
|
|
42
|
+
new (): BaseModel;
|
|
43
|
+
}): boolean;
|
|
44
|
+
private static allColumnsByModel;
|
|
45
|
+
static getPrivateRecordColumns(modelType: {
|
|
46
|
+
new (): BaseModel;
|
|
47
|
+
}): Array<PrivateRecordColumn>;
|
|
48
|
+
private static columnsByModel;
|
|
49
|
+
static getPrivateRecordColumn(modelType: {
|
|
50
|
+
new (): BaseModel;
|
|
51
|
+
}): PrivateRecordColumn | null;
|
|
52
|
+
private static readPrivateRecordColumn;
|
|
53
|
+
static getReach(modelType: {
|
|
54
|
+
new (): BaseModel;
|
|
55
|
+
}, props: DatabaseCommonInteractionProps, type: DatabaseRequestType): PrivateRecordReach;
|
|
56
|
+
static getReachOfRows(data: {
|
|
57
|
+
rows: ReadonlyArray<UserPermission>;
|
|
58
|
+
userId: ObjectID | null;
|
|
59
|
+
}): PrivateRecordReach;
|
|
60
|
+
private static getOwnedSql;
|
|
61
|
+
static getReachableCondition(data: {
|
|
62
|
+
kind: PrivateRecordKind;
|
|
63
|
+
reach: PrivateRecordReach;
|
|
64
|
+
allowsNoRecord: boolean;
|
|
65
|
+
}): FindWhereProperty<any>;
|
|
66
|
+
static getUnreachableCondition(data: {
|
|
67
|
+
kind: PrivateRecordKind;
|
|
68
|
+
reach: PrivateRecordReach;
|
|
69
|
+
}): FindWhereProperty<any>;
|
|
70
|
+
static narrows(modelType: {
|
|
71
|
+
new (): BaseModel;
|
|
72
|
+
}, props: DatabaseCommonInteractionProps, type: DatabaseRequestType): boolean;
|
|
73
|
+
static addPrivateRecordScopeToQuery<TBaseModel extends BaseModel>(modelType: {
|
|
74
|
+
new (): TBaseModel;
|
|
75
|
+
}, query: Query<TBaseModel>, props: DatabaseCommonInteractionProps, type: DatabaseRequestType): Query<TBaseModel>;
|
|
76
|
+
static isWriteUnderRecordsNarrowed(data: {
|
|
77
|
+
recordModelType: {
|
|
78
|
+
new (): BaseModel;
|
|
79
|
+
};
|
|
80
|
+
props: DatabaseCommonInteractionProps;
|
|
81
|
+
}): boolean;
|
|
82
|
+
static addReachToRecordsQuery(data: {
|
|
83
|
+
query: Query<BaseModel>;
|
|
84
|
+
recordModelType: {
|
|
85
|
+
new (): BaseModel;
|
|
86
|
+
};
|
|
87
|
+
modelType: {
|
|
88
|
+
new (): BaseModel;
|
|
89
|
+
};
|
|
90
|
+
type: DatabaseRequestType;
|
|
91
|
+
props: DatabaseCommonInteractionProps;
|
|
92
|
+
}): Query<BaseModel>;
|
|
93
|
+
static getUnreachableParentIds(data: {
|
|
94
|
+
modelType: {
|
|
95
|
+
new (): BaseModel;
|
|
96
|
+
};
|
|
97
|
+
parentModelType: {
|
|
98
|
+
new (): BaseModel;
|
|
99
|
+
};
|
|
100
|
+
parentIds: Array<string>;
|
|
101
|
+
props: DatabaseCommonInteractionProps;
|
|
102
|
+
type: DatabaseRequestType.Create | DatabaseRequestType.Update;
|
|
103
|
+
findIdsInProject: (data: {
|
|
104
|
+
modelType: {
|
|
105
|
+
new (): BaseModel;
|
|
106
|
+
};
|
|
107
|
+
ids: Array<string>;
|
|
108
|
+
query: Query<BaseModel>;
|
|
109
|
+
props: DatabaseCommonInteractionProps;
|
|
110
|
+
}) => Promise<Array<string>>;
|
|
111
|
+
}): Promise<Array<string>>;
|
|
112
|
+
static getUnreachableRecordsQuery(data: {
|
|
113
|
+
modelType: {
|
|
114
|
+
new (): BaseModel;
|
|
115
|
+
};
|
|
116
|
+
recordModelType: {
|
|
117
|
+
new (): BaseModel;
|
|
118
|
+
};
|
|
119
|
+
recordIds: Array<string>;
|
|
120
|
+
props: DatabaseCommonInteractionProps;
|
|
121
|
+
type: DatabaseRequestType;
|
|
122
|
+
}): Query<BaseModel> | null;
|
|
123
|
+
}
|
|
@@ -15,7 +15,11 @@ export interface AIActionFigure {
|
|
|
15
15
|
export interface AIActionMoment {
|
|
16
16
|
moment: string;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
18
|
+
export interface AIActionMenuPath {
|
|
19
|
+
menuPath: Array<string>;
|
|
20
|
+
values?: Record<string, string> | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type AIActionSentenceValue = string | number | AIActionTerm | AIActionList | AIActionFigure | AIActionMoment | AIActionMenuPath;
|
|
19
23
|
export interface AIActionSentence {
|
|
20
24
|
template: string;
|
|
21
25
|
count?: number | undefined;
|
|
@@ -239,7 +243,13 @@ export declare const AI_READ_CARD_LINES: {
|
|
|
239
243
|
noMembers: string;
|
|
240
244
|
noOneOnCall: string;
|
|
241
245
|
onCallNow: string;
|
|
246
|
+
waitingForData: string;
|
|
247
|
+
noResultsYet: string;
|
|
248
|
+
paused: string;
|
|
249
|
+
probesNotEnabled: string;
|
|
250
|
+
probesDisconnected: string;
|
|
242
251
|
};
|
|
252
|
+
export declare const AI_READ_CARD_NOT_CHECKED_YET_LINES: ReadonlyArray<string>;
|
|
243
253
|
export declare const AI_READ_CARD_VALUES: {
|
|
244
254
|
yes: string;
|
|
245
255
|
no: string;
|
|
@@ -338,10 +348,13 @@ export declare function aiActionFigure(figure: number, options?: {
|
|
|
338
348
|
isPercent?: boolean | undefined;
|
|
339
349
|
} | undefined): AIActionFigure;
|
|
340
350
|
export declare function aiActionMoment(moment: Date): AIActionMoment;
|
|
351
|
+
export declare function aiActionMenuPath(menuPath: Array<string>, values?: Record<string, string> | undefined): AIActionMenuPath;
|
|
341
352
|
export declare function isAIActionTerm(value: unknown): value is AIActionTerm;
|
|
342
353
|
export declare function isAIActionList(value: unknown): value is AIActionList;
|
|
343
354
|
export declare function isAIActionFigure(value: unknown): value is AIActionFigure;
|
|
344
355
|
export declare function isAIActionMoment(value: unknown): value is AIActionMoment;
|
|
356
|
+
export declare function isAIActionMenuPath(value: unknown): value is AIActionMenuPath;
|
|
357
|
+
export declare function describeAIActionMenuPath(value: AIActionMenuPath, translator?: Translator): string;
|
|
345
358
|
export declare function getAIActionPluralTemplate(template: string): PluralTemplate | undefined;
|
|
346
359
|
export declare function isKnownAIActionSentence(value: unknown): value is AIActionSentence;
|
|
347
360
|
export declare function isKnownAIActionWords(value: unknown): value is AIActionWords;
|
|
@@ -15,7 +15,11 @@ export interface AIActionFigure {
|
|
|
15
15
|
export interface AIActionMoment {
|
|
16
16
|
moment: string;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
18
|
+
export interface AIActionMenuPath {
|
|
19
|
+
menuPath: Array<string>;
|
|
20
|
+
values?: Record<string, string> | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type AIActionSentenceValue = string | number | AIActionTerm | AIActionList | AIActionFigure | AIActionMoment | AIActionMenuPath;
|
|
19
23
|
export interface AIActionSentence {
|
|
20
24
|
template: string;
|
|
21
25
|
count?: number | undefined;
|
|
@@ -239,7 +243,13 @@ export declare const AI_READ_CARD_LINES: {
|
|
|
239
243
|
noMembers: string;
|
|
240
244
|
noOneOnCall: string;
|
|
241
245
|
onCallNow: string;
|
|
246
|
+
waitingForData: string;
|
|
247
|
+
noResultsYet: string;
|
|
248
|
+
paused: string;
|
|
249
|
+
probesNotEnabled: string;
|
|
250
|
+
probesDisconnected: string;
|
|
242
251
|
};
|
|
252
|
+
export declare const AI_READ_CARD_NOT_CHECKED_YET_LINES: ReadonlyArray<string>;
|
|
243
253
|
export declare const AI_READ_CARD_VALUES: {
|
|
244
254
|
yes: string;
|
|
245
255
|
no: string;
|
|
@@ -338,10 +348,13 @@ export declare function aiActionFigure(figure: number, options?: {
|
|
|
338
348
|
isPercent?: boolean | undefined;
|
|
339
349
|
} | undefined): AIActionFigure;
|
|
340
350
|
export declare function aiActionMoment(moment: Date): AIActionMoment;
|
|
351
|
+
export declare function aiActionMenuPath(menuPath: Array<string>, values?: Record<string, string> | undefined): AIActionMenuPath;
|
|
341
352
|
export declare function isAIActionTerm(value: unknown): value is AIActionTerm;
|
|
342
353
|
export declare function isAIActionList(value: unknown): value is AIActionList;
|
|
343
354
|
export declare function isAIActionFigure(value: unknown): value is AIActionFigure;
|
|
344
355
|
export declare function isAIActionMoment(value: unknown): value is AIActionMoment;
|
|
356
|
+
export declare function isAIActionMenuPath(value: unknown): value is AIActionMenuPath;
|
|
357
|
+
export declare function describeAIActionMenuPath(value: AIActionMenuPath, translator?: Translator): string;
|
|
345
358
|
export declare function getAIActionPluralTemplate(template: string): PluralTemplate | undefined;
|
|
346
359
|
export declare function isKnownAIActionSentence(value: unknown): value is AIActionSentence;
|
|
347
360
|
export declare function isKnownAIActionWords(value: unknown): value is AIActionWords;
|
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.AI_ACTION_CARD_LINE_SEPARATOR = exports.AI_ACTION_TERM_WORDS = exports.AI_ACTION_RESOURCE_NOUNS = exports.AI_ACTION_PLURAL_SENTENCES = exports.AI_ACTION_SENTENCES = exports.AI_READ_WORKFLOW_RUN_STATUSES = exports.AI_READ_RUM_APPLICATION_STATUSES = exports.AI_READ_TABLE_LINES = exports.AI_READ_TABLE_TITLES = exports.AI_READ_CARD_ENTITY_TYPES = exports.AI_READ_CARD_ENTITY = exports.AI_READ_CARD_COUNTED = exports.AI_READ_CARD_NAME = exports.AI_READ_CARD_PLURAL_SENTENCES = exports.AI_READ_CARD_SENTENCES = exports.AI_READ_CARD_NOUNS = exports.AI_READ_CARD_SLO_STATUSES = exports.AI_READ_CARD_VALUES = exports.AI_READ_CARD_LINES = exports.AI_READ_CARD_FACTS = exports.AI_READ_CARD_KINDS = exports.AI_ACTION_CARD_FACTS = exports.AI_ACTION_CARD_LINES = exports.AI_ACTION_CARD_KINDS = exports.AI_ACTION_TERMS = exports.AI_ACTION_NEW_MONITOR = exports.AI_ACTION_TEAM = exports.AI_ACTION_NAME = exports.AI_ACTION_RESOURCE_BY_NAME = exports.AI_ACTION_CODE_FILE = exports.AI_ACTION_CODE_CHANGE_LINES = exports.AI_ACTION_PLURAL_LINES = exports.AI_ACTION_LINES = exports.AI_ACTION_PLURAL_TITLES = exports.AI_ACTION_TITLES = void 0;
|
|
39
|
+
exports.AI_ACTION_CARD_LINE_SEPARATOR = exports.AI_ACTION_TERM_WORDS = exports.AI_ACTION_RESOURCE_NOUNS = exports.AI_ACTION_PLURAL_SENTENCES = exports.AI_ACTION_SENTENCES = exports.AI_READ_WORKFLOW_RUN_STATUSES = exports.AI_READ_RUM_APPLICATION_STATUSES = exports.AI_READ_TABLE_LINES = exports.AI_READ_TABLE_TITLES = exports.AI_READ_CARD_ENTITY_TYPES = exports.AI_READ_CARD_ENTITY = exports.AI_READ_CARD_COUNTED = exports.AI_READ_CARD_NAME = exports.AI_READ_CARD_PLURAL_SENTENCES = exports.AI_READ_CARD_SENTENCES = exports.AI_READ_CARD_NOUNS = exports.AI_READ_CARD_SLO_STATUSES = exports.AI_READ_CARD_VALUES = exports.AI_READ_CARD_NOT_CHECKED_YET_LINES = exports.AI_READ_CARD_LINES = exports.AI_READ_CARD_FACTS = exports.AI_READ_CARD_KINDS = exports.AI_ACTION_CARD_FACTS = exports.AI_ACTION_CARD_LINES = exports.AI_ACTION_CARD_KINDS = exports.AI_ACTION_TERMS = exports.AI_ACTION_NEW_MONITOR = exports.AI_ACTION_TEAM = exports.AI_ACTION_NAME = exports.AI_ACTION_RESOURCE_BY_NAME = exports.AI_ACTION_CODE_FILE = exports.AI_ACTION_CODE_CHANGE_LINES = exports.AI_ACTION_PLURAL_LINES = exports.AI_ACTION_LINES = exports.AI_ACTION_PLURAL_TITLES = exports.AI_ACTION_TITLES = void 0;
|
|
40
40
|
exports.getAIReadCardMonitorTypeTerms = getAIReadCardMonitorTypeTerms;
|
|
41
41
|
exports.aiActionSentence = aiActionSentence;
|
|
42
42
|
exports.aiActionPluralSentence = aiActionPluralSentence;
|
|
@@ -46,10 +46,13 @@ exports.aiActionResourceByName = aiActionResourceByName;
|
|
|
46
46
|
exports.aiActionCardFact = aiActionCardFact;
|
|
47
47
|
exports.aiActionFigure = aiActionFigure;
|
|
48
48
|
exports.aiActionMoment = aiActionMoment;
|
|
49
|
+
exports.aiActionMenuPath = aiActionMenuPath;
|
|
49
50
|
exports.isAIActionTerm = isAIActionTerm;
|
|
50
51
|
exports.isAIActionList = isAIActionList;
|
|
51
52
|
exports.isAIActionFigure = isAIActionFigure;
|
|
52
53
|
exports.isAIActionMoment = isAIActionMoment;
|
|
54
|
+
exports.isAIActionMenuPath = isAIActionMenuPath;
|
|
55
|
+
exports.describeAIActionMenuPath = describeAIActionMenuPath;
|
|
53
56
|
exports.getAIActionPluralTemplate = getAIActionPluralTemplate;
|
|
54
57
|
exports.isKnownAIActionSentence = isKnownAIActionSentence;
|
|
55
58
|
exports.isKnownAIActionWords = isKnownAIActionWords;
|
|
@@ -571,7 +574,27 @@ exports.AI_READ_CARD_LINES = {
|
|
|
571
574
|
noOneOnCall: (0, Translator_1.translationKey)("No one is on call"),
|
|
572
575
|
// Who an on-call schedule has on call now, by name.
|
|
573
576
|
onCallNow: (0, Translator_1.translationKey)("On call now: {{name}}"),
|
|
577
|
+
/*
|
|
578
|
+
* A monitor nothing has checked yet, as the Monitors table says it
|
|
579
|
+
* (Utils/Monitor/MonitorRowStatus, issue #8899) - on its card and in the
|
|
580
|
+
* table's Status column, never the operational status it was created
|
|
581
|
+
* in: its first result has not come back yet, it is overdue, an incident
|
|
582
|
+
* or maintenance holds its checks, or no probe can check it.
|
|
583
|
+
*/
|
|
584
|
+
waitingForData: (0, Translator_1.translationKey)("Waiting for data"),
|
|
585
|
+
noResultsYet: (0, Translator_1.translationKey)("No results yet"),
|
|
586
|
+
paused: (0, Translator_1.translationKey)("Paused"),
|
|
587
|
+
probesNotEnabled: (0, Translator_1.translationKey)("No Probe Enabled"),
|
|
588
|
+
probesDisconnected: (0, Translator_1.translationKey)("Probes Disconnected"),
|
|
574
589
|
};
|
|
590
|
+
// The lines above that say why nothing has checked a monitor yet.
|
|
591
|
+
exports.AI_READ_CARD_NOT_CHECKED_YET_LINES = [
|
|
592
|
+
exports.AI_READ_CARD_LINES.waitingForData,
|
|
593
|
+
exports.AI_READ_CARD_LINES.noResultsYet,
|
|
594
|
+
exports.AI_READ_CARD_LINES.paused,
|
|
595
|
+
exports.AI_READ_CARD_LINES.probesNotEnabled,
|
|
596
|
+
exports.AI_READ_CARD_LINES.probesDisconnected,
|
|
597
|
+
];
|
|
575
598
|
/*
|
|
576
599
|
* A read's card's values that are OneUptime's words, each said as a term:
|
|
577
600
|
* what being archived means for the record, a figure not worked out yet,
|
|
@@ -839,6 +862,12 @@ function aiActionFigure(figure, options) {
|
|
|
839
862
|
function aiActionMoment(moment) {
|
|
840
863
|
return { moment: moment.toISOString() };
|
|
841
864
|
}
|
|
865
|
+
// A Dashboard page by its place and name, each said in the sentence's language (AIActionMenuPath).
|
|
866
|
+
function aiActionMenuPath(menuPath, values) {
|
|
867
|
+
return values && Object.keys(values).length > 0
|
|
868
|
+
? { menuPath: [...menuPath], values: { ...values } }
|
|
869
|
+
: { menuPath: [...menuPath] };
|
|
870
|
+
}
|
|
842
871
|
/*
|
|
843
872
|
* ---------------------------------------------------------------------------
|
|
844
873
|
* Reading a stored sentence (the Dashboard).
|
|
@@ -864,6 +893,51 @@ function isAIActionFigure(value) {
|
|
|
864
893
|
function isAIActionMoment(value) {
|
|
865
894
|
return isPlainObject(value) && typeof value["moment"] === "string";
|
|
866
895
|
}
|
|
896
|
+
function isAIActionMenuPath(value) {
|
|
897
|
+
return isPlainObject(value) && Array.isArray(value["menuPath"]);
|
|
898
|
+
}
|
|
899
|
+
// The most names a stored page's place and name may hold, and how long each.
|
|
900
|
+
const MAX_MENU_PATH_NAMES = 8;
|
|
901
|
+
const MAX_MENU_PATH_NAME_CHARS = 200;
|
|
902
|
+
const isMenuPathName = (name) => {
|
|
903
|
+
return (typeof name === "string" &&
|
|
904
|
+
name.trim().length > 0 &&
|
|
905
|
+
name.length <= MAX_MENU_PATH_NAME_CHARS);
|
|
906
|
+
};
|
|
907
|
+
/*
|
|
908
|
+
* A stored place the Dashboard can say: one to eight names, each a short
|
|
909
|
+
* text, and what fills a name's placeholders, each a short text too.
|
|
910
|
+
*/
|
|
911
|
+
const isKnownMenuPath = (value) => {
|
|
912
|
+
// Read from a conversation's saved JSON: anything, whatever its type says.
|
|
913
|
+
const values = value.values;
|
|
914
|
+
return (value.menuPath.length > 0 &&
|
|
915
|
+
value.menuPath.length <= MAX_MENU_PATH_NAMES &&
|
|
916
|
+
value.menuPath.every(isMenuPathName) &&
|
|
917
|
+
(values === undefined ||
|
|
918
|
+
(isPlainObject(values) &&
|
|
919
|
+
Object.keys(values).length > 0 &&
|
|
920
|
+
Object.keys(values).length <= MAX_SENTENCE_VALUES &&
|
|
921
|
+
Object.values(values).every(isMenuPathName))));
|
|
922
|
+
};
|
|
923
|
+
const PLACEHOLDER_IN_NAME = /\{\{\s*[\w.]+\s*\}\}/;
|
|
924
|
+
/*
|
|
925
|
+
* A page's place and name in the translator's language: each name as the
|
|
926
|
+
* Dashboard draws it there ("Benutzereinstellungen", "Análisis" for the
|
|
927
|
+
* explorers' "Insights (explorer analytics)"), English where the language
|
|
928
|
+
* has no wording of it, joined with " > " as the menus' path is.
|
|
929
|
+
*/
|
|
930
|
+
function describeAIActionMenuPath(value, translator = getEnglishTranslator()) {
|
|
931
|
+
return value.menuPath
|
|
932
|
+
.map((name) => {
|
|
933
|
+
// A template, filled with its values once it is said (#8834).
|
|
934
|
+
if (value.values && PLACEHOLDER_IN_NAME.test(name)) {
|
|
935
|
+
return translator.translateTemplate(name, value.values).trim();
|
|
936
|
+
}
|
|
937
|
+
return translator.translateTerm(name);
|
|
938
|
+
})
|
|
939
|
+
.join(" > ");
|
|
940
|
+
}
|
|
867
941
|
// A stored figure the Dashboard can write: a finite number, a share or not.
|
|
868
942
|
const isKnownFigure = (value) => {
|
|
869
943
|
return (Number.isFinite(value.figure) &&
|
|
@@ -908,6 +982,10 @@ const isKnownValue = (value, depth) => {
|
|
|
908
982
|
if (isAIActionMoment(value)) {
|
|
909
983
|
return isKnownMoment(value);
|
|
910
984
|
}
|
|
985
|
+
// A Dashboard page's place and name (#8831).
|
|
986
|
+
if (isAIActionMenuPath(value)) {
|
|
987
|
+
return isKnownMenuPath(value);
|
|
988
|
+
}
|
|
911
989
|
return false;
|
|
912
990
|
};
|
|
913
991
|
const isKnownSentence = (value, depth) => {
|
|
@@ -1201,6 +1279,12 @@ const toTemplateValues = (values, options) => {
|
|
|
1201
1279
|
*/
|
|
1202
1280
|
result[name] = value.moment;
|
|
1203
1281
|
}
|
|
1282
|
+
else if (isAIActionMenuPath(value)) {
|
|
1283
|
+
// Each name in the sentence's language, as the Dashboard's menus draw it.
|
|
1284
|
+
result[name] = (0, Translator_1.composedValue)((sentenceTranslator) => {
|
|
1285
|
+
return describeAIActionMenuPath(value, sentenceTranslator);
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1204
1288
|
}
|
|
1205
1289
|
return result;
|
|
1206
1290
|
};
|
|
@@ -25,6 +25,7 @@ export const AI_READ_CARD_FACTS = commonJsModule.AI_READ_CARD_FACTS;
|
|
|
25
25
|
export const AI_READ_CARD_KINDS = commonJsModule.AI_READ_CARD_KINDS;
|
|
26
26
|
export const AI_READ_CARD_LINES = commonJsModule.AI_READ_CARD_LINES;
|
|
27
27
|
export const AI_READ_CARD_NAME = commonJsModule.AI_READ_CARD_NAME;
|
|
28
|
+
export const AI_READ_CARD_NOT_CHECKED_YET_LINES = commonJsModule.AI_READ_CARD_NOT_CHECKED_YET_LINES;
|
|
28
29
|
export const AI_READ_CARD_NOUNS = commonJsModule.AI_READ_CARD_NOUNS;
|
|
29
30
|
export const AI_READ_CARD_PLURAL_SENTENCES = commonJsModule.AI_READ_CARD_PLURAL_SENTENCES;
|
|
30
31
|
export const AI_READ_CARD_SENTENCES = commonJsModule.AI_READ_CARD_SENTENCES;
|
|
@@ -37,6 +38,7 @@ export const AI_READ_WORKFLOW_RUN_STATUSES = commonJsModule.AI_READ_WORKFLOW_RUN
|
|
|
37
38
|
export const aiActionCardFact = commonJsModule.aiActionCardFact;
|
|
38
39
|
export const aiActionFigure = commonJsModule.aiActionFigure;
|
|
39
40
|
export const aiActionList = commonJsModule.aiActionList;
|
|
41
|
+
export const aiActionMenuPath = commonJsModule.aiActionMenuPath;
|
|
40
42
|
export const aiActionMoment = commonJsModule.aiActionMoment;
|
|
41
43
|
export const aiActionPluralSentence = commonJsModule.aiActionPluralSentence;
|
|
42
44
|
export const aiActionResourceByName = commonJsModule.aiActionResourceByName;
|
|
@@ -46,6 +48,7 @@ export const describeAIActionCardLabel = commonJsModule.describeAIActionCardLabe
|
|
|
46
48
|
export const describeAIActionCardValue = commonJsModule.describeAIActionCardValue;
|
|
47
49
|
export const describeAIActionCardWords = commonJsModule.describeAIActionCardWords;
|
|
48
50
|
export const describeAIActionFigure = commonJsModule.describeAIActionFigure;
|
|
51
|
+
export const describeAIActionMenuPath = commonJsModule.describeAIActionMenuPath;
|
|
49
52
|
export const describeAIActionSentence = commonJsModule.describeAIActionSentence;
|
|
50
53
|
export const describeAIActionTableCell = commonJsModule.describeAIActionTableCell;
|
|
51
54
|
export const describeAIActionTableWords = commonJsModule.describeAIActionTableWords;
|
|
@@ -58,6 +61,7 @@ export const getAIActionSentenceShownValues = commonJsModule.getAIActionSentence
|
|
|
58
61
|
export const getAIReadCardMonitorTypeTerms = commonJsModule.getAIReadCardMonitorTypeTerms;
|
|
59
62
|
export const isAIActionFigure = commonJsModule.isAIActionFigure;
|
|
60
63
|
export const isAIActionList = commonJsModule.isAIActionList;
|
|
64
|
+
export const isAIActionMenuPath = commonJsModule.isAIActionMenuPath;
|
|
61
65
|
export const isAIActionMoment = commonJsModule.isAIActionMoment;
|
|
62
66
|
export const isAIActionTerm = commonJsModule.isAIActionTerm;
|
|
63
67
|
export const isKnownAIActionCardWords = commonJsModule.isKnownAIActionCardWords;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AIRunStopReason = exports.AIRunTimeLimitSource = exports.AI_RUN_STOP_NOTE_OPENINGS = exports.ALERT_AI_INVESTIGATION_LIMITS_LOCATION = exports.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION = exports.PROJECT_AI_RUN_LIMITS_LOCATION = exports.TOOL_OUTPUT_PAGE_CHARS = exports.CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES = void 0;
|
|
4
|
+
const NoBreakSpaces_1 = require("../NoBreakSpaces");
|
|
2
5
|
/*
|
|
3
6
|
* How far one AI run may go before it answers with what it has (issue
|
|
4
7
|
* #6440: "Why is there a budget? Can we remove all of the artificial limits
|
|
@@ -33,8 +36,6 @@
|
|
|
33
36
|
* Kept free of React and of server code: the server's agent loops and the
|
|
34
37
|
* Runner's code agent read the same rules.
|
|
35
38
|
*/
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.AIRunStopReason = exports.AIRunTimeLimitSource = exports.AI_RUN_STOP_NOTE_OPENINGS = exports.ALERT_AI_INVESTIGATION_LIMITS_LOCATION = exports.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION = exports.PROJECT_AI_RUN_LIMITS_LOCATION = exports.TOOL_OUTPUT_PAGE_CHARS = exports.CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES = void 0;
|
|
38
39
|
/*
|
|
39
40
|
* The time limit of a run when nothing else sets one: generous - far past
|
|
40
41
|
* what a real investigation, answer or code change takes - so it stops only
|
|
@@ -469,9 +470,9 @@ class AIAgentRunLimitsHelper {
|
|
|
469
470
|
static describeTimeLimit(value) {
|
|
470
471
|
const minutes = this.normalizeTimeLimitInMinutes(value);
|
|
471
472
|
if (minutes === null) {
|
|
472
|
-
return `Uses the project's time limit per run: ${exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES}
|
|
473
|
+
return `Uses the project's time limit per run: ${exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES}${NoBreakSpaces_1.NO_BREAK_SPACE}minutes unless the project set its own.`;
|
|
473
474
|
}
|
|
474
|
-
return `Stops investigating after ${plural(minutes, "minute", "minutes")} and reports what it found.`;
|
|
475
|
+
return `Stops investigating after ${(0, NoBreakSpaces_1.withDurationWordsHeld)(plural(minutes, "minute", "minutes"))} and reports what it found.`;
|
|
475
476
|
}
|
|
476
477
|
}
|
|
477
478
|
exports.default = AIAgentRunLimitsHelper;
|
package/Types/AI/AIChatTypes.js
CHANGED
|
@@ -84,9 +84,14 @@ var AIChatCitationTargetType;
|
|
|
84
84
|
AIChatCitationTargetType["DocsPage"] = "DocsPage";
|
|
85
85
|
/*
|
|
86
86
|
* A page of the Dashboard, found by find_dashboard_page in the catalog
|
|
87
|
-
* built from Search's page index; params: { path, title
|
|
88
|
-
*
|
|
89
|
-
*
|
|
87
|
+
* built from Search's page index; params: { path, title, titleKey?,
|
|
88
|
+
* titleValues? } - its route template
|
|
89
|
+
* ("/dashboard/:projectId/monitors/create"), which the Dashboard opens
|
|
90
|
+
* only when it is one of its own routes, its English title, the locale
|
|
91
|
+
* key its "Go to ..." button draws where that is not the title
|
|
92
|
+
* ("Insights (explorer analytics)" for "Insights", #8817), and, where
|
|
93
|
+
* that key is a template, what fills it as JSON ("Import from {{tool}}"
|
|
94
|
+
* with {"tool":"PagerDuty"}, #8834).
|
|
90
95
|
*/
|
|
91
96
|
AIChatCitationTargetType["DashboardPage"] = "DashboardPage";
|
|
92
97
|
})(AIChatCitationTargetType || (exports.AIChatCitationTargetType = AIChatCitationTargetType = {}));
|
|
@@ -440,7 +440,8 @@ exports.AI_READ_ON_CALL_PAGE_STATUSES = [
|
|
|
440
440
|
* How a person's notification went (UserNotificationExecutionStatus), as
|
|
441
441
|
* people read it: one they escalated is stored "Passed On", the Escalate
|
|
442
442
|
* action's first name, and reads "Escalated", as the logs and their filters
|
|
443
|
-
* say it (getOnCallPageStatusLabel).
|
|
443
|
+
* say it (getOnCallPageStatusLabel). One merged into their open page from
|
|
444
|
+
* another policy's run is "Already Paged" (OnCallPageMerge).
|
|
444
445
|
*/
|
|
445
446
|
exports.AI_READ_NOTIFICATION_STATUSES = [
|
|
446
447
|
(0, Translator_1.translationKey)("Scheduled"),
|
|
@@ -449,6 +450,7 @@ exports.AI_READ_NOTIFICATION_STATUSES = [
|
|
|
449
450
|
(0, Translator_1.translationKey)("Completed"),
|
|
450
451
|
(0, Translator_1.translationKey)("Error"),
|
|
451
452
|
(0, Translator_1.translationKey)("Escalated"),
|
|
453
|
+
(0, Translator_1.translationKey)("Already Paged"),
|
|
452
454
|
];
|
|
453
455
|
/*
|
|
454
456
|
* An AI investigation's status (AIRunStatus), as the incident's and the
|
|
@@ -603,7 +605,10 @@ exports.AI_TOOL_CITATIONS = {
|
|
|
603
605
|
docsPage: (0, Translator_1.translationKey)("Docs: {{page}}"),
|
|
604
606
|
docsSection: (0, Translator_1.translationKey)("Docs: {{page}} > {{section}}"),
|
|
605
607
|
dashboardPageSearch: (0, Translator_1.translationKey)("Dashboard page: {{query}}"),
|
|
606
|
-
|
|
608
|
+
/*
|
|
609
|
+
* {{path}} is where the page is and its name, as the Dashboard's menus
|
|
610
|
+
* name them, each in the reader's language (AIActionMenuPath, #8831).
|
|
611
|
+
*/
|
|
607
612
|
dashboardPage: (0, Translator_1.translationKey)("Page: {{path}}"),
|
|
608
613
|
codeRepositories: (0, Translator_1.translationKey)("Connected code repositories ({{count}})"),
|
|
609
614
|
codeLocationNoStackTrace: (0, Translator_1.translationKey)("Code location for exception (no stack trace)"),
|
|
@@ -189,6 +189,7 @@ export interface AiActivityInsight {
|
|
|
189
189
|
evidence?: Array<AiActivitySubject> | undefined;
|
|
190
190
|
evidenceCount?: number | undefined;
|
|
191
191
|
verifiedCount?: number | undefined;
|
|
192
|
+
approvedFirstByReaderCount?: number | undefined;
|
|
192
193
|
insightId?: string | undefined;
|
|
193
194
|
insightSeverity?: string | undefined;
|
|
194
195
|
insightType?: string | undefined;
|
|
@@ -189,6 +189,7 @@ export interface AiActivityInsight {
|
|
|
189
189
|
evidence?: Array<AiActivitySubject> | undefined;
|
|
190
190
|
evidenceCount?: number | undefined;
|
|
191
191
|
verifiedCount?: number | undefined;
|
|
192
|
+
approvedFirstByReaderCount?: number | undefined;
|
|
192
193
|
insightId?: string | undefined;
|
|
193
194
|
insightSeverity?: string | undefined;
|
|
194
195
|
insightType?: string | undefined;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AIChatCitation, AIChatWidget } from "./AIChatTypes.mjs";
|
|
2
|
+
import CodeFixTaskContext from "./CodeFixTaskContext.mjs";
|
|
3
|
+
import ObjectID from "../ObjectID.mjs";
|
|
4
|
+
export interface CarriedRecordIds {
|
|
5
|
+
incidentIds: Array<string>;
|
|
6
|
+
alertIds: Array<string>;
|
|
7
|
+
}
|
|
8
|
+
export interface CarriedRecordKeys {
|
|
9
|
+
carriedIncidentIds?: Array<string> | undefined;
|
|
10
|
+
carriedAlertIds?: Array<string> | undefined;
|
|
11
|
+
}
|
|
12
|
+
type IdLike = ObjectID | string | null | undefined;
|
|
13
|
+
export declare const MIN_QUOTED_TITLE_LENGTH: number;
|
|
14
|
+
export default class CarriedRecords {
|
|
15
|
+
static none(): CarriedRecordIds;
|
|
16
|
+
static isNone(records: CarriedRecordIds): boolean;
|
|
17
|
+
static readId(value: unknown): string | null;
|
|
18
|
+
static of(data: {
|
|
19
|
+
incidentIds?: ReadonlyArray<IdLike> | undefined;
|
|
20
|
+
alertIds?: ReadonlyArray<IdLike> | undefined;
|
|
21
|
+
}): CarriedRecordIds;
|
|
22
|
+
static ofTaskContext(taskContext: CodeFixTaskContext | null | undefined): CarriedRecordIds;
|
|
23
|
+
static ofRow(row: CarriedRecordKeys | null | undefined): CarriedRecordIds;
|
|
24
|
+
static openedByCitations(citations: ReadonlyArray<AIChatCitation | null | undefined> | null | undefined): CarriedRecordIds;
|
|
25
|
+
static quotedFromLists(data: {
|
|
26
|
+
widgets: ReadonlyArray<AIChatWidget | null | undefined> | null | undefined;
|
|
27
|
+
text: string | null | undefined;
|
|
28
|
+
}): CarriedRecordIds;
|
|
29
|
+
static merge(...records: Array<CarriedRecordIds | null | undefined>): CarriedRecordIds;
|
|
30
|
+
static without(records: CarriedRecordIds, already: CarriedRecordIds): CarriedRecordIds;
|
|
31
|
+
static writeTo(row: CarriedRecordKeys, records: CarriedRecordIds): void;
|
|
32
|
+
private static normalizeForQuote;
|
|
33
|
+
private static readIds;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AIChatCitation, AIChatWidget } from "./AIChatTypes";
|
|
2
|
+
import CodeFixTaskContext from "./CodeFixTaskContext";
|
|
3
|
+
import ObjectID from "../ObjectID";
|
|
4
|
+
export interface CarriedRecordIds {
|
|
5
|
+
incidentIds: Array<string>;
|
|
6
|
+
alertIds: Array<string>;
|
|
7
|
+
}
|
|
8
|
+
export interface CarriedRecordKeys {
|
|
9
|
+
carriedIncidentIds?: Array<string> | undefined;
|
|
10
|
+
carriedAlertIds?: Array<string> | undefined;
|
|
11
|
+
}
|
|
12
|
+
type IdLike = ObjectID | string | null | undefined;
|
|
13
|
+
export declare const MIN_QUOTED_TITLE_LENGTH: number;
|
|
14
|
+
export default class CarriedRecords {
|
|
15
|
+
static none(): CarriedRecordIds;
|
|
16
|
+
static isNone(records: CarriedRecordIds): boolean;
|
|
17
|
+
static readId(value: unknown): string | null;
|
|
18
|
+
static of(data: {
|
|
19
|
+
incidentIds?: ReadonlyArray<IdLike> | undefined;
|
|
20
|
+
alertIds?: ReadonlyArray<IdLike> | undefined;
|
|
21
|
+
}): CarriedRecordIds;
|
|
22
|
+
static ofTaskContext(taskContext: CodeFixTaskContext | null | undefined): CarriedRecordIds;
|
|
23
|
+
static ofRow(row: CarriedRecordKeys | null | undefined): CarriedRecordIds;
|
|
24
|
+
static openedByCitations(citations: ReadonlyArray<AIChatCitation | null | undefined> | null | undefined): CarriedRecordIds;
|
|
25
|
+
static quotedFromLists(data: {
|
|
26
|
+
widgets: ReadonlyArray<AIChatWidget | null | undefined> | null | undefined;
|
|
27
|
+
text: string | null | undefined;
|
|
28
|
+
}): CarriedRecordIds;
|
|
29
|
+
static merge(...records: Array<CarriedRecordIds | null | undefined>): CarriedRecordIds;
|
|
30
|
+
static without(records: CarriedRecordIds, already: CarriedRecordIds): CarriedRecordIds;
|
|
31
|
+
static writeTo(row: CarriedRecordKeys, records: CarriedRecordIds): void;
|
|
32
|
+
private static normalizeForQuote;
|
|
33
|
+
private static readIds;
|
|
34
|
+
}
|
|
35
|
+
export {};
|