@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
|
@@ -472,6 +472,19 @@ let Project = class Project extends TenantModel_1.default {
|
|
|
472
472
|
* that would keep them all.
|
|
473
473
|
*/
|
|
474
474
|
this.keepIncidentsWithCompletedPostmortem = undefined;
|
|
475
|
+
/*
|
|
476
|
+
* Which postmortem statuses keep an incident while
|
|
477
|
+
* keepIncidentsWithCompletedPostmortem is on (issue #6945): their ids,
|
|
478
|
+
* or empty - where every project starts - for the project's Completed
|
|
479
|
+
* status, as before. A Project Owner or Admin adds the project's own
|
|
480
|
+
* statuses (a "Published" below Completed) on Incidents -> Settings ->
|
|
481
|
+
* Data Retention. Chosen, not worked out from where a status sits: the
|
|
482
|
+
* statuses at and below Completed all count as done, and "Not Needed" is
|
|
483
|
+
* one of them (Types/Retention/ResolvedRecordRetention says why).
|
|
484
|
+
* ProjectService refuses an empty list, and any id that is not one of
|
|
485
|
+
* the project's postmortem statuses.
|
|
486
|
+
*/
|
|
487
|
+
this.keepIncidentsInPostmortemStatusIds = undefined;
|
|
475
488
|
/*
|
|
476
489
|
* How long a resolved alert stays (issue #6903), as
|
|
477
490
|
* incidentRetentionInDays is for incidents: one of the choices, or 0 to
|
|
@@ -686,9 +699,11 @@ let Project = class Project extends TenantModel_1.default {
|
|
|
686
699
|
* it sends one of the project's incoming request secrets
|
|
687
700
|
* (IncomingRequestSecret; Types/Monitor/IncomingMonitor/IncomingRequestSecret
|
|
688
701
|
* says how). Everyone in the project reads it, so a monitor's page can say
|
|
689
|
-
* its senders need a secret;
|
|
690
|
-
*
|
|
691
|
-
*
|
|
702
|
+
* its senders need a secret; those who manage the secrets change it:
|
|
703
|
+
* owners, admins and a custom role given Edit Incoming Request Secret
|
|
704
|
+
* (issue #8502), the one column of the project that permission opens. It
|
|
705
|
+
* cannot be turned on while the project has no secret that covers a
|
|
706
|
+
* monitor (ProjectService), so turning it on never refuses every sender at
|
|
692
707
|
* once by mistake.
|
|
693
708
|
*/
|
|
694
709
|
this.requireIncomingRequestSecret = undefined;
|
|
@@ -824,32 +839,17 @@ let Project = class Project extends TenantModel_1.default {
|
|
|
824
839
|
* The products the project hides (issue #6814,
|
|
825
840
|
* Types/Product/ProjectProducts): left out of the products menu's
|
|
826
841
|
* categories, Home and Search's list, and kept under More products. Null:
|
|
827
|
-
* nothing chosen, every product shown
|
|
828
|
-
*
|
|
829
|
-
* parseProjectProductSettings.
|
|
842
|
+
* nothing chosen, every product shown, as for every new project. Only a
|
|
843
|
+
* member hides a product; a list an older version set from the project's
|
|
844
|
+
* goals reads as nothing chosen. Read it with parseProjectProductSettings.
|
|
830
845
|
*
|
|
831
846
|
* Every member reads it, with the project (ProjectAPI's
|
|
832
847
|
* list-user-projects), so the menu draws the project's products on its
|
|
833
848
|
* first paint. Nobody writes it through the API: Project Settings >
|
|
834
849
|
* Products changes it through ProjectProductsAPI, which checks who may and
|
|
835
|
-
* what is in use
|
|
850
|
+
* what is in use (ProjectProductsService).
|
|
836
851
|
*/
|
|
837
852
|
this.productSettings = undefined;
|
|
838
|
-
/*
|
|
839
|
-
* A sample project (issue #6808): "Sample: Acme Shop", made in one click
|
|
840
|
-
* for a person to look around in, filled with made-up monitors,
|
|
841
|
-
* incidents, an on-call policy, a status page and telemetry
|
|
842
|
-
* (SampleProjectService). It can never notify anyone, be seen by the
|
|
843
|
-
* public or be billed: every reader that keeps it so asks
|
|
844
|
-
* ProjectService.isSampleProject, and SampleProjectReadersGuard lists
|
|
845
|
-
* them, so a new channel cannot forget it.
|
|
846
|
-
*
|
|
847
|
-
* Set once, by the server, when the sample is made, and never changed:
|
|
848
|
-
* nobody writes it through the API, and a project never becomes or
|
|
849
|
-
* stops being a sample. Every member reads it, with the project
|
|
850
|
-
* (ProjectAPI's list-user-projects), so every page says what it is.
|
|
851
|
-
*/
|
|
852
|
-
this.isSampleProject = undefined;
|
|
853
853
|
}
|
|
854
854
|
};
|
|
855
855
|
__decorate([
|
|
@@ -1282,10 +1282,7 @@ __decorate([
|
|
|
1282
1282
|
(0, TableColumn_1.default)({
|
|
1283
1283
|
manyToOneRelationColumn: "createdByUserId",
|
|
1284
1284
|
type: TableColumnType_1.default.Entity,
|
|
1285
|
-
|
|
1286
|
-
modelTypeThunk: () => {
|
|
1287
|
-
return User_1.default;
|
|
1288
|
-
},
|
|
1285
|
+
modelType: User_1.default,
|
|
1289
1286
|
title: "Created by User",
|
|
1290
1287
|
description: "Relation to User who created this object (if this object was created by a User)",
|
|
1291
1288
|
}),
|
|
@@ -1337,10 +1334,7 @@ __decorate([
|
|
|
1337
1334
|
manyToOneRelationColumn: "deletedByUserId",
|
|
1338
1335
|
type: TableColumnType_1.default.Entity,
|
|
1339
1336
|
title: "Deleted by User",
|
|
1340
|
-
|
|
1341
|
-
modelTypeThunk: () => {
|
|
1342
|
-
return User_1.default;
|
|
1343
|
-
},
|
|
1337
|
+
modelType: User_1.default,
|
|
1344
1338
|
description: "Relation to User who deleted this object (if this object was deleted by a User)",
|
|
1345
1339
|
}),
|
|
1346
1340
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -3496,6 +3490,32 @@ __decorate([
|
|
|
3496
3490
|
}),
|
|
3497
3491
|
__metadata("design:type", Boolean)
|
|
3498
3492
|
], Project.prototype, "keepIncidentsWithCompletedPostmortem", void 0);
|
|
3493
|
+
__decorate([
|
|
3494
|
+
(0, ColumnAccessControl_1.default)({
|
|
3495
|
+
create: [],
|
|
3496
|
+
read: [
|
|
3497
|
+
Permission_1.default.ProjectOwner,
|
|
3498
|
+
Permission_1.default.ProjectAdmin,
|
|
3499
|
+
Permission_1.default.ProjectMember,
|
|
3500
|
+
Permission_1.default.Viewer,
|
|
3501
|
+
Permission_1.default.ReadProject,
|
|
3502
|
+
Permission_1.default.UnAuthorizedSsoUser,
|
|
3503
|
+
Permission_1.default.ProjectUser,
|
|
3504
|
+
],
|
|
3505
|
+
update: [Permission_1.default.ProjectOwner, Permission_1.default.ProjectAdmin],
|
|
3506
|
+
}),
|
|
3507
|
+
(0, TableColumn_1.default)({
|
|
3508
|
+
required: false,
|
|
3509
|
+
type: TableColumnType_1.default.JSON,
|
|
3510
|
+
title: "Postmortem Statuses That Keep an Incident",
|
|
3511
|
+
description: "The ids of the postmortem statuses whose incidents the incident retention never deletes while Keep Incidents With a Completed Postmortem is on. Empty (the default) is the project's Completed status.",
|
|
3512
|
+
}),
|
|
3513
|
+
(0, typeorm_1.Column)({
|
|
3514
|
+
type: ColumnType_1.default.JSON,
|
|
3515
|
+
nullable: true,
|
|
3516
|
+
}),
|
|
3517
|
+
__metadata("design:type", Array)
|
|
3518
|
+
], Project.prototype, "keepIncidentsInPostmortemStatusIds", void 0);
|
|
3499
3519
|
__decorate([
|
|
3500
3520
|
(0, ColumnAccessControl_1.default)({
|
|
3501
3521
|
create: [],
|
|
@@ -5109,7 +5129,11 @@ __decorate([
|
|
|
5109
5129
|
Permission_1.default.UnAuthorizedSsoUser,
|
|
5110
5130
|
Permission_1.default.ProjectUser,
|
|
5111
5131
|
],
|
|
5112
|
-
update: [
|
|
5132
|
+
update: [
|
|
5133
|
+
Permission_1.default.ProjectOwner,
|
|
5134
|
+
Permission_1.default.ProjectAdmin,
|
|
5135
|
+
Permission_1.default.EditIncomingRequestSecret,
|
|
5136
|
+
],
|
|
5113
5137
|
}),
|
|
5114
5138
|
(0, TableColumn_1.default)({
|
|
5115
5139
|
required: false,
|
|
@@ -5791,7 +5815,7 @@ __decorate([
|
|
|
5791
5815
|
required: false,
|
|
5792
5816
|
type: TableColumnType_1.default.JSON,
|
|
5793
5817
|
title: "Product Settings",
|
|
5794
|
-
description: "The products
|
|
5818
|
+
description: "The products a member hid from this project's menu, Home and Search's list on Project Settings > Products. A hidden product still works and is found by Search. Not set: every product is shown.",
|
|
5795
5819
|
example: '{"hidden": ["kubernetes", "docker"], "keptHiddenWithData": [], "chosenBy": "member"}',
|
|
5796
5820
|
}),
|
|
5797
5821
|
(0, typeorm_1.Column)({
|
|
@@ -5801,37 +5825,6 @@ __decorate([
|
|
|
5801
5825
|
}),
|
|
5802
5826
|
__metadata("design:type", Object)
|
|
5803
5827
|
], Project.prototype, "productSettings", void 0);
|
|
5804
|
-
__decorate([
|
|
5805
|
-
(0, ColumnAccessControl_1.default)({
|
|
5806
|
-
create: [],
|
|
5807
|
-
read: [
|
|
5808
|
-
Permission_1.default.ProjectOwner,
|
|
5809
|
-
Permission_1.default.ProjectAdmin,
|
|
5810
|
-
Permission_1.default.ProjectMember,
|
|
5811
|
-
Permission_1.default.Viewer,
|
|
5812
|
-
Permission_1.default.ReadProject,
|
|
5813
|
-
Permission_1.default.UnAuthorizedSsoUser,
|
|
5814
|
-
Permission_1.default.ProjectUser,
|
|
5815
|
-
],
|
|
5816
|
-
update: [],
|
|
5817
|
-
}),
|
|
5818
|
-
(0, TableColumn_1.default)({
|
|
5819
|
-
required: true,
|
|
5820
|
-
type: TableColumnType_1.default.Boolean,
|
|
5821
|
-
isDefaultValueColumn: true,
|
|
5822
|
-
defaultValue: false,
|
|
5823
|
-
title: "Is Sample Project",
|
|
5824
|
-
description: "A sample project made for looking around: nothing in it is real, it notifies nobody, its status page is never public and it is never billed. Set by OneUptime when the sample is made.",
|
|
5825
|
-
example: "false",
|
|
5826
|
-
}),
|
|
5827
|
-
(0, typeorm_1.Column)({
|
|
5828
|
-
type: ColumnType_1.default.Boolean,
|
|
5829
|
-
nullable: false,
|
|
5830
|
-
unique: false,
|
|
5831
|
-
default: false,
|
|
5832
|
-
}),
|
|
5833
|
-
__metadata("design:type", Boolean)
|
|
5834
|
-
], Project.prototype, "isSampleProject", void 0);
|
|
5835
5828
|
Project = __decorate([
|
|
5836
5829
|
(0, EnableDocumentation_1.default)({
|
|
5837
5830
|
isMasterAdminApiDocs: true,
|
|
@@ -5866,7 +5859,8 @@ Project = __decorate([
|
|
|
5866
5859
|
* enableCallNotifications, enableWhatsAppNotifications,
|
|
5867
5860
|
* enableTelegramNotifications), and nothing else: every other column's own
|
|
5868
5861
|
* update list leaves them out, and the server checks both lists on every
|
|
5869
|
-
* update.
|
|
5862
|
+
* update. Edit Incoming Request Secret is here for one column alone,
|
|
5863
|
+
* requireIncomingRequestSecret (issue #8502), the same way.
|
|
5870
5864
|
*/
|
|
5871
5865
|
update: [
|
|
5872
5866
|
Permission_1.default.ProjectOwner,
|
|
@@ -5875,6 +5869,7 @@ Project = __decorate([
|
|
|
5875
5869
|
Permission_1.default.BillingMember,
|
|
5876
5870
|
Permission_1.default.ManageProjectBilling,
|
|
5877
5871
|
Permission_1.default.EditProject,
|
|
5872
|
+
Permission_1.default.EditIncomingRequestSecret,
|
|
5878
5873
|
],
|
|
5879
5874
|
}),
|
|
5880
5875
|
(0, TableMetadata_1.default)({
|
|
@@ -2,13 +2,14 @@ import Project from "./Project.mjs";
|
|
|
2
2
|
import Team from "./Team.mjs";
|
|
3
3
|
import User from "./User.mjs";
|
|
4
4
|
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel.mjs";
|
|
5
|
+
import HashedString from "../../Types/HashedString.mjs";
|
|
5
6
|
import ObjectID from "../../Types/ObjectID.mjs";
|
|
6
7
|
export default class ProjectSCIM extends BaseModel {
|
|
7
8
|
project?: Project;
|
|
8
9
|
projectId?: ObjectID;
|
|
9
10
|
name?: string;
|
|
10
11
|
description?: string;
|
|
11
|
-
bearerToken?:
|
|
12
|
+
bearerToken?: HashedString;
|
|
12
13
|
oauthClientSecretHash?: string;
|
|
13
14
|
oauthClientSecretExpiresAt?: Date;
|
|
14
15
|
oauthPreviousClientSecretHash?: string;
|
|
@@ -2,13 +2,14 @@ import Project from "./Project";
|
|
|
2
2
|
import Team from "./Team";
|
|
3
3
|
import User from "./User";
|
|
4
4
|
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel";
|
|
5
|
+
import HashedString from "../../Types/HashedString";
|
|
5
6
|
import ObjectID from "../../Types/ObjectID";
|
|
6
7
|
export default class ProjectSCIM extends BaseModel {
|
|
7
8
|
project?: Project;
|
|
8
9
|
projectId?: ObjectID;
|
|
9
10
|
name?: string;
|
|
10
11
|
description?: string;
|
|
11
|
-
bearerToken?:
|
|
12
|
+
bearerToken?: HashedString;
|
|
12
13
|
oauthClientSecretHash?: string;
|
|
13
14
|
oauthClientSecretExpiresAt?: Date;
|
|
14
15
|
oauthPreviousClientSecretHash?: string;
|
|
@@ -31,6 +31,7 @@ const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetad
|
|
|
31
31
|
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
32
32
|
const UniqueColumnBy_1 = __importDefault(require("../../Types/Database/UniqueColumnBy"));
|
|
33
33
|
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
34
|
+
const HashedString_1 = __importDefault(require("../../Types/HashedString"));
|
|
34
35
|
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
35
36
|
const Permission_1 = __importDefault(require("../../Types/Permission"));
|
|
36
37
|
const typeorm_1 = require("typeorm");
|
|
@@ -42,11 +43,20 @@ let ProjectSCIM = class ProjectSCIM extends DatabaseBaseModel_1.default {
|
|
|
42
43
|
this.name = undefined;
|
|
43
44
|
this.description = undefined;
|
|
44
45
|
/*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
46
|
+
* The token is what the identity provider adds people to teams with - its
|
|
47
|
+
* Groups endpoints reach every team - so setting it takes the access that
|
|
48
|
+
* saving the connection takes (Server/Utils/SsoProviderTeamGrant): a
|
|
49
|
+
* project owner's.
|
|
50
|
+
*
|
|
51
|
+
* Kept only as its hash (#9012: PresentedKey.toStoredHash, written by
|
|
52
|
+
* DatabaseService whatever writes it), so a backup or a database dump
|
|
53
|
+
* holds no token, and nobody reads it back, a master admin included. It is
|
|
54
|
+
* pasted once into the identity provider: the create that makes the
|
|
55
|
+
* connection answers it once, and Reset Bearer Token makes a new one. A
|
|
56
|
+
* token stored as written before is hashed in place by the
|
|
57
|
+
* PresentedKeys:ProtectAtRest job, and keeps working throughout: a
|
|
58
|
+
* request's token is matched by its hash, in the query, and as written
|
|
59
|
+
* until then (SCIMAuthorization.findConnection).
|
|
50
60
|
*/
|
|
51
61
|
this.bearerToken = undefined;
|
|
52
62
|
/*
|
|
@@ -199,22 +209,24 @@ __decorate([
|
|
|
199
209
|
__decorate([
|
|
200
210
|
(0, ColumnAccessControl_1.default)({
|
|
201
211
|
create: [Permission_1.default.ProjectOwner],
|
|
202
|
-
read: [
|
|
212
|
+
read: [],
|
|
203
213
|
update: [Permission_1.default.ProjectOwner],
|
|
204
214
|
}),
|
|
205
215
|
(0, TableColumn_1.default)({
|
|
206
216
|
secret: true,
|
|
217
|
+
presentedKey: true,
|
|
207
218
|
required: true,
|
|
208
|
-
type: TableColumnType_1.default.
|
|
219
|
+
type: TableColumnType_1.default.HashedString,
|
|
209
220
|
title: "Bearer Token",
|
|
210
|
-
description: "
|
|
221
|
+
description: "The bearer token the identity provider signs in to SCIM with. Write-only: OneUptime keeps only its hash, and answers it once, to the create that makes the connection. Leave it out and OneUptime makes one; a new value replaces it, and the one before stops working.",
|
|
211
222
|
}),
|
|
212
223
|
(0, typeorm_1.Column)({
|
|
213
224
|
nullable: false,
|
|
214
225
|
type: ColumnType_1.default.LongText,
|
|
215
226
|
length: ColumnLength_1.default.LongText,
|
|
227
|
+
transformer: HashedString_1.default.getDatabaseTransformer(),
|
|
216
228
|
}),
|
|
217
|
-
__metadata("design:type",
|
|
229
|
+
__metadata("design:type", HashedString_1.default)
|
|
218
230
|
], ProjectSCIM.prototype, "bearerToken", void 0);
|
|
219
231
|
__decorate([
|
|
220
232
|
(0, ColumnAccessControl_1.default)({
|
|
@@ -58,6 +58,27 @@ let ProjectSmtpConfig = class ProjectSmtpConfig extends DatabaseBaseModel_1.defa
|
|
|
58
58
|
* eg: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#option-2-send-mail-directly-from-your-printer-or-application-to-microsoft-365-or-office-365-direct-send
|
|
59
59
|
*/
|
|
60
60
|
this.username = undefined;
|
|
61
|
+
/*
|
|
62
|
+
* THE CONFIG'S CREDENTIALS ARE WRITE-ONLY, AND KEPT ENCRYPTED AT REST.
|
|
63
|
+
*
|
|
64
|
+
* The SMTP password, the OAuth client secret (for a Google service
|
|
65
|
+
* account, the private key of its JSON key file) and the key of each
|
|
66
|
+
* provider with an HTTP API of its own sign in to the mail account as the
|
|
67
|
+
* project: with one alone, anyone sends mail as the project's domain. So
|
|
68
|
+
* nobody reads one back through the API - not a Viewer, not the people
|
|
69
|
+
* who may change it (read: []). They are written with the config, and
|
|
70
|
+
* only OneUptime reads them, as root, to send through it
|
|
71
|
+
* (PROJECT_SMTP_CONFIG_SEND_SELECT, ProjectSmtpConfigService
|
|
72
|
+
* .toEmailServer). The Edit dialog leaves each blank, and blank keeps the
|
|
73
|
+
* stored one (ModelForm's write-only fields).
|
|
74
|
+
*
|
|
75
|
+
* Each is stored encrypted (`encrypted: true`): DatabaseService encrypts
|
|
76
|
+
* it on every write and decrypts it on every read, a status page's read
|
|
77
|
+
* of its config through the smtpConfig relation included. The
|
|
78
|
+
* EncryptProjectCredentials data migration encrypts the passwords and
|
|
79
|
+
* client secrets stored before. Tests/Models/DatabaseModels/
|
|
80
|
+
* ProjectCredentialsAtRest holds them to it.
|
|
81
|
+
*/
|
|
61
82
|
this.password = undefined;
|
|
62
83
|
this.hostname = undefined;
|
|
63
84
|
this.port = undefined;
|
|
@@ -74,6 +95,7 @@ let ProjectSmtpConfig = class ProjectSmtpConfig extends DatabaseBaseModel_1.defa
|
|
|
74
95
|
// OAuth 2.0 Configuration Fields
|
|
75
96
|
this.authType = undefined;
|
|
76
97
|
this.clientId = undefined;
|
|
98
|
+
// Write-only and encrypted at rest, as the password above.
|
|
77
99
|
this.clientSecret = undefined;
|
|
78
100
|
this.tokenUrl = undefined;
|
|
79
101
|
this.scope = undefined;
|
|
@@ -86,11 +108,10 @@ let ProjectSmtpConfig = class ProjectSmtpConfig extends DatabaseBaseModel_1.defa
|
|
|
86
108
|
* Postmark and Resend their key, Mailgun its key, sending domain and
|
|
87
109
|
* region. Every key is a password-equivalent credential - with it alone,
|
|
88
110
|
* anyone sends mail as the project's domain - so, like the SMTP password
|
|
89
|
-
* and the OAuth client secret, it is
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* domain identify an account but sign in to nothing, so they stay
|
|
111
|
+
* and the OAuth client secret, it is write-only (see the password) and
|
|
112
|
+
* encrypted at rest, like every other stored provider credential (the
|
|
113
|
+
* Twilio auth token, the LLM provider's API key). An access key ID and a
|
|
114
|
+
* sending domain identify an account but sign in to nothing, so they stay
|
|
94
115
|
* readable by the config's wider audience, as the SMTP username does.
|
|
95
116
|
*/
|
|
96
117
|
this.amazonSesAccessKeyId = undefined;
|
|
@@ -457,11 +478,7 @@ __decorate([
|
|
|
457
478
|
Permission_1.default.ProjectAdmin,
|
|
458
479
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
459
480
|
],
|
|
460
|
-
read: [
|
|
461
|
-
Permission_1.default.ProjectOwner,
|
|
462
|
-
Permission_1.default.ProjectAdmin,
|
|
463
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
464
|
-
],
|
|
481
|
+
read: [],
|
|
465
482
|
update: [
|
|
466
483
|
Permission_1.default.ProjectOwner,
|
|
467
484
|
Permission_1.default.ProjectAdmin,
|
|
@@ -470,13 +487,14 @@ __decorate([
|
|
|
470
487
|
}),
|
|
471
488
|
(0, TableColumn_1.default)({
|
|
472
489
|
required: false,
|
|
473
|
-
type: TableColumnType_1.default.
|
|
490
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
491
|
+
encrypted: true,
|
|
492
|
+
description: "The password the SMTP server is signed in to with, or the API key your provider gives you for SMTP. Used when Authentication Type is Username and Password. Write-only: kept encrypted and never returned by the API.",
|
|
474
493
|
example: "your-secure-password",
|
|
475
494
|
}),
|
|
476
495
|
(0, typeorm_1.Column)({
|
|
477
496
|
nullable: true,
|
|
478
|
-
type: ColumnType_1.default.
|
|
479
|
-
length: ColumnLength_1.default.Password,
|
|
497
|
+
type: ColumnType_1.default.VeryLongText,
|
|
480
498
|
}),
|
|
481
499
|
__metadata("design:type", String)
|
|
482
500
|
], ProjectSmtpConfig.prototype, "password", void 0);
|
|
@@ -790,11 +808,7 @@ __decorate([
|
|
|
790
808
|
Permission_1.default.ProjectAdmin,
|
|
791
809
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
792
810
|
],
|
|
793
|
-
read: [
|
|
794
|
-
Permission_1.default.ProjectOwner,
|
|
795
|
-
Permission_1.default.ProjectAdmin,
|
|
796
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
797
|
-
],
|
|
811
|
+
read: [],
|
|
798
812
|
update: [
|
|
799
813
|
Permission_1.default.ProjectOwner,
|
|
800
814
|
Permission_1.default.ProjectAdmin,
|
|
@@ -805,8 +819,9 @@ __decorate([
|
|
|
805
819
|
secret: true,
|
|
806
820
|
required: false,
|
|
807
821
|
type: TableColumnType_1.default.VeryLongText,
|
|
822
|
+
encrypted: true,
|
|
808
823
|
title: "OAuth Client Secret",
|
|
809
|
-
description: "The Client Secret from your OAuth application registration. Required for OAuth authentication. For Google service accounts, this is the private key from the JSON key file.",
|
|
824
|
+
description: "The Client Secret from your OAuth application registration. Required for OAuth authentication. For Google service accounts, this is the private key from the JSON key file. Write-only: kept encrypted and never returned by the API.",
|
|
810
825
|
example: "your-client-secret",
|
|
811
826
|
}),
|
|
812
827
|
(0, typeorm_1.Column)({
|
|
@@ -970,11 +985,7 @@ __decorate([
|
|
|
970
985
|
Permission_1.default.ProjectAdmin,
|
|
971
986
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
972
987
|
],
|
|
973
|
-
read: [
|
|
974
|
-
Permission_1.default.ProjectOwner,
|
|
975
|
-
Permission_1.default.ProjectAdmin,
|
|
976
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
977
|
-
],
|
|
988
|
+
read: [],
|
|
978
989
|
update: [
|
|
979
990
|
Permission_1.default.ProjectOwner,
|
|
980
991
|
Permission_1.default.ProjectAdmin,
|
|
@@ -986,7 +997,7 @@ __decorate([
|
|
|
986
997
|
type: TableColumnType_1.default.VeryLongText,
|
|
987
998
|
encrypted: true,
|
|
988
999
|
title: "Amazon SES Secret Access Key",
|
|
989
|
-
description: "The secret access key that goes with the access key ID. Required when Transport is Amazon SES.
|
|
1000
|
+
description: "The secret access key that goes with the access key ID. Required when Transport is Amazon SES. Write-only: kept encrypted and never returned by the API.",
|
|
990
1001
|
example: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
|
|
991
1002
|
}),
|
|
992
1003
|
(0, typeorm_1.Column)({
|
|
@@ -1039,11 +1050,7 @@ __decorate([
|
|
|
1039
1050
|
Permission_1.default.ProjectAdmin,
|
|
1040
1051
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
1041
1052
|
],
|
|
1042
|
-
read: [
|
|
1043
|
-
Permission_1.default.ProjectOwner,
|
|
1044
|
-
Permission_1.default.ProjectAdmin,
|
|
1045
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
1046
|
-
],
|
|
1053
|
+
read: [],
|
|
1047
1054
|
update: [
|
|
1048
1055
|
Permission_1.default.ProjectOwner,
|
|
1049
1056
|
Permission_1.default.ProjectAdmin,
|
|
@@ -1055,7 +1062,7 @@ __decorate([
|
|
|
1055
1062
|
type: TableColumnType_1.default.VeryLongText,
|
|
1056
1063
|
encrypted: true,
|
|
1057
1064
|
title: "SendGrid API Key",
|
|
1058
|
-
description: "A SendGrid API key with the Mail Send permission. Required when Transport is SendGrid.
|
|
1065
|
+
description: "A SendGrid API key with the Mail Send permission. Required when Transport is SendGrid. Write-only: kept encrypted and never returned by the API.",
|
|
1059
1066
|
example: "SG.xxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
|
|
1060
1067
|
}),
|
|
1061
1068
|
(0, typeorm_1.Column)({
|
|
@@ -1071,11 +1078,7 @@ __decorate([
|
|
|
1071
1078
|
Permission_1.default.ProjectAdmin,
|
|
1072
1079
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
1073
1080
|
],
|
|
1074
|
-
read: [
|
|
1075
|
-
Permission_1.default.ProjectOwner,
|
|
1076
|
-
Permission_1.default.ProjectAdmin,
|
|
1077
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
1078
|
-
],
|
|
1081
|
+
read: [],
|
|
1079
1082
|
update: [
|
|
1080
1083
|
Permission_1.default.ProjectOwner,
|
|
1081
1084
|
Permission_1.default.ProjectAdmin,
|
|
@@ -1087,7 +1090,7 @@ __decorate([
|
|
|
1087
1090
|
type: TableColumnType_1.default.VeryLongText,
|
|
1088
1091
|
encrypted: true,
|
|
1089
1092
|
title: "Mailgun API Key",
|
|
1090
|
-
description: "A Mailgun API key, or a sending API key for the domain. Required when Transport is Mailgun.
|
|
1093
|
+
description: "A Mailgun API key, or a sending API key for the domain. Required when Transport is Mailgun. Write-only: kept encrypted and never returned by the API.",
|
|
1091
1094
|
example: "key-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
1092
1095
|
}),
|
|
1093
1096
|
(0, typeorm_1.Column)({
|
|
@@ -1178,11 +1181,7 @@ __decorate([
|
|
|
1178
1181
|
Permission_1.default.ProjectAdmin,
|
|
1179
1182
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
1180
1183
|
],
|
|
1181
|
-
read: [
|
|
1182
|
-
Permission_1.default.ProjectOwner,
|
|
1183
|
-
Permission_1.default.ProjectAdmin,
|
|
1184
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
1185
|
-
],
|
|
1184
|
+
read: [],
|
|
1186
1185
|
update: [
|
|
1187
1186
|
Permission_1.default.ProjectOwner,
|
|
1188
1187
|
Permission_1.default.ProjectAdmin,
|
|
@@ -1194,7 +1193,7 @@ __decorate([
|
|
|
1194
1193
|
type: TableColumnType_1.default.VeryLongText,
|
|
1195
1194
|
encrypted: true,
|
|
1196
1195
|
title: "Postmark Server API Token",
|
|
1197
|
-
description: "The API token of the Postmark server that sends, from its API Tokens tab. Required when Transport is Postmark.
|
|
1196
|
+
description: "The API token of the Postmark server that sends, from its API Tokens tab. Required when Transport is Postmark. Write-only: kept encrypted and never returned by the API.",
|
|
1198
1197
|
example: "00000000-0000-0000-0000-000000000000",
|
|
1199
1198
|
}),
|
|
1200
1199
|
(0, typeorm_1.Column)({
|
|
@@ -1210,11 +1209,7 @@ __decorate([
|
|
|
1210
1209
|
Permission_1.default.ProjectAdmin,
|
|
1211
1210
|
Permission_1.default.CreateProjectSMTPConfig,
|
|
1212
1211
|
],
|
|
1213
|
-
read: [
|
|
1214
|
-
Permission_1.default.ProjectOwner,
|
|
1215
|
-
Permission_1.default.ProjectAdmin,
|
|
1216
|
-
Permission_1.default.ReadProjectSMTPConfig,
|
|
1217
|
-
],
|
|
1212
|
+
read: [],
|
|
1218
1213
|
update: [
|
|
1219
1214
|
Permission_1.default.ProjectOwner,
|
|
1220
1215
|
Permission_1.default.ProjectAdmin,
|
|
@@ -1226,7 +1221,7 @@ __decorate([
|
|
|
1226
1221
|
type: TableColumnType_1.default.VeryLongText,
|
|
1227
1222
|
encrypted: true,
|
|
1228
1223
|
title: "Resend API Key",
|
|
1229
|
-
description: "A Resend API key with sending access. Required when Transport is Resend.
|
|
1224
|
+
description: "A Resend API key with sending access. Required when Transport is Resend. Write-only: kept encrypted and never returned by the API.",
|
|
1230
1225
|
example: "re_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
1231
1226
|
}),
|
|
1232
1227
|
(0, typeorm_1.Column)({
|
|
@@ -798,7 +798,11 @@ __decorate([
|
|
|
798
798
|
}, {
|
|
799
799
|
eager: false,
|
|
800
800
|
nullable: true,
|
|
801
|
-
|
|
801
|
+
/*
|
|
802
|
+
* A record of what was sent: deleting the escalation rule keeps it and
|
|
803
|
+
* clears the reference (issue #9036).
|
|
804
|
+
*/
|
|
805
|
+
onDelete: "SET NULL",
|
|
802
806
|
orphanedRowAction: "nullify",
|
|
803
807
|
}),
|
|
804
808
|
(0, typeorm_1.JoinColumn)({ name: "onCallDutyPolicyEscalationRuleId" }),
|
|
@@ -857,7 +861,11 @@ __decorate([
|
|
|
857
861
|
}, {
|
|
858
862
|
eager: false,
|
|
859
863
|
nullable: true,
|
|
860
|
-
|
|
864
|
+
/*
|
|
865
|
+
* A record of what was sent: deleting the schedule keeps it and
|
|
866
|
+
* clears the reference (issue #9036).
|
|
867
|
+
*/
|
|
868
|
+
onDelete: "SET NULL",
|
|
861
869
|
orphanedRowAction: "nullify",
|
|
862
870
|
}),
|
|
863
871
|
(0, typeorm_1.JoinColumn)({ name: "onCallDutyPolicyScheduleId" }),
|
|
@@ -916,7 +924,11 @@ __decorate([
|
|
|
916
924
|
}, {
|
|
917
925
|
eager: false,
|
|
918
926
|
nullable: true,
|
|
919
|
-
|
|
927
|
+
/*
|
|
928
|
+
* A record of what was sent: deleting the team keeps it and
|
|
929
|
+
* clears the reference (issue #9036).
|
|
930
|
+
*/
|
|
931
|
+
onDelete: "SET NULL",
|
|
920
932
|
orphanedRowAction: "nullify",
|
|
921
933
|
}),
|
|
922
934
|
(0, typeorm_1.JoinColumn)({ name: "teamId" }),
|
|
@@ -160,10 +160,7 @@ __decorate([
|
|
|
160
160
|
(0, TableColumn_1.default)({
|
|
161
161
|
manyToOneRelationColumn: "createdByUserId",
|
|
162
162
|
type: TableColumnType_1.default.Entity,
|
|
163
|
-
|
|
164
|
-
modelTypeThunk: () => {
|
|
165
|
-
return User_1.default;
|
|
166
|
-
},
|
|
163
|
+
modelType: User_1.default,
|
|
167
164
|
title: "Created by User",
|
|
168
165
|
description: "Relation to User who created this object (if this object was created by a User)",
|
|
169
166
|
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
@@ -208,10 +205,7 @@ __decorate([
|
|
|
208
205
|
manyToOneRelationColumn: "deletedByUserId",
|
|
209
206
|
type: TableColumnType_1.default.Entity,
|
|
210
207
|
title: "Deleted by User",
|
|
211
|
-
|
|
212
|
-
modelTypeThunk: () => {
|
|
213
|
-
return User_1.default;
|
|
214
|
-
},
|
|
208
|
+
modelType: User_1.default,
|
|
215
209
|
description: "Relation to User who deleted this object (if this object was deleted by a User)",
|
|
216
210
|
example: "b2c3d4e5-f6a7-8901-bcde-f12345678901",
|
|
217
211
|
}),
|
|
@@ -228,10 +228,7 @@ __decorate([
|
|
|
228
228
|
(0, TableColumn_1.default)({
|
|
229
229
|
manyToOneRelationColumn: "createdByUserId",
|
|
230
230
|
type: TableColumnType_1.default.Entity,
|
|
231
|
-
|
|
232
|
-
modelTypeThunk: () => {
|
|
233
|
-
return User_1.default;
|
|
234
|
-
},
|
|
231
|
+
modelType: User_1.default,
|
|
235
232
|
title: "Created by User",
|
|
236
233
|
description: "Relation to User who created this object (if this object was created by a User)",
|
|
237
234
|
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
@@ -276,10 +273,7 @@ __decorate([
|
|
|
276
273
|
manyToOneRelationColumn: "deletedByUserId",
|
|
277
274
|
type: TableColumnType_1.default.Entity,
|
|
278
275
|
title: "Deleted by User",
|
|
279
|
-
|
|
280
|
-
modelTypeThunk: () => {
|
|
281
|
-
return User_1.default;
|
|
282
|
-
},
|
|
276
|
+
modelType: User_1.default,
|
|
283
277
|
description: "Relation to User who deleted this object (if this object was deleted by a User)",
|
|
284
278
|
example: "b2c3d4e5-f6a7-8901-bcde-f12345678901",
|
|
285
279
|
}),
|
|
@@ -836,14 +836,15 @@ __decorate([
|
|
|
836
836
|
}),
|
|
837
837
|
(0, TableColumn_1.default)({
|
|
838
838
|
secret: true,
|
|
839
|
+
encrypted: true,
|
|
840
|
+
presentedKey: true,
|
|
839
841
|
type: TableColumnType_1.default.ShortText,
|
|
840
842
|
title: "Webhook Secret Key",
|
|
841
843
|
description: "The secret part of the runbook's webhook URL. Not readable through the API; the runbook's Triggers page shows it to people who may edit and run the runbook.",
|
|
842
844
|
}),
|
|
843
845
|
(0, typeorm_1.Column)({
|
|
844
846
|
nullable: true,
|
|
845
|
-
type: ColumnType_1.default.
|
|
846
|
-
length: ColumnLength_1.default.ShortText,
|
|
847
|
+
type: ColumnType_1.default.VeryLongText,
|
|
847
848
|
}),
|
|
848
849
|
__metadata("design:type", String)
|
|
849
850
|
], Runbook.prototype, "webhookSecretKey", void 0);
|
|
@@ -354,14 +354,14 @@ __decorate([
|
|
|
354
354
|
type: TableColumnType_1.default.Entity,
|
|
355
355
|
modelType: Incident_1.default,
|
|
356
356
|
title: "Incident",
|
|
357
|
-
description: "Incident that this runbook execution is associated with (if any).",
|
|
357
|
+
description: "Incident that this runbook execution is associated with (if any). Deleting the incident deletes the execution.",
|
|
358
358
|
}),
|
|
359
359
|
(0, typeorm_1.ManyToOne)(() => {
|
|
360
360
|
return Incident_1.default;
|
|
361
361
|
}, {
|
|
362
362
|
eager: false,
|
|
363
363
|
nullable: true,
|
|
364
|
-
onDelete: "
|
|
364
|
+
onDelete: "CASCADE",
|
|
365
365
|
orphanedRowAction: "nullify",
|
|
366
366
|
}),
|
|
367
367
|
(0, typeorm_1.JoinColumn)({ name: "incidentId" }),
|
|
@@ -429,14 +429,14 @@ __decorate([
|
|
|
429
429
|
type: TableColumnType_1.default.Entity,
|
|
430
430
|
modelType: Alert_1.default,
|
|
431
431
|
title: "Alert",
|
|
432
|
-
description: "Alert that this runbook execution is associated with (if any).",
|
|
432
|
+
description: "Alert that this runbook execution is associated with (if any). Deleting the alert deletes the execution.",
|
|
433
433
|
}),
|
|
434
434
|
(0, typeorm_1.ManyToOne)(() => {
|
|
435
435
|
return Alert_1.default;
|
|
436
436
|
}, {
|
|
437
437
|
eager: false,
|
|
438
438
|
nullable: true,
|
|
439
|
-
onDelete: "
|
|
439
|
+
onDelete: "CASCADE",
|
|
440
440
|
orphanedRowAction: "nullify",
|
|
441
441
|
}),
|
|
442
442
|
(0, typeorm_1.JoinColumn)({ name: "alertId" }),
|