@oneuptime/common 16.0.0 → 17.1.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/AnalyticsModels/AuditLog.d.mts +10 -0
- package/Models/AnalyticsModels/AuditLog.d.ts +10 -0
- package/Models/AnalyticsModels/AuditLog.js +110 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.mts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.d.ts +14 -0
- package/Models/AnalyticsModels/KubernetesCostAllocation.js +169 -0
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AIPostmortemRule.js +1 -1
- package/Models/DatabaseModels/AIRun.d.mts +3 -0
- package/Models/DatabaseModels/AIRun.d.ts +3 -0
- package/Models/DatabaseModels/AIRun.js +64 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +1 -1
- package/Models/DatabaseModels/AlertIncidentRule.js +1 -1
- package/Models/DatabaseModels/AlertMeasurement.js +1 -1
- package/Models/DatabaseModels/AlertReminderRule.js +1 -1
- package/Models/DatabaseModels/AlertSeverity.js +13 -4
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +20 -0
- package/Models/DatabaseModels/DataAsset.d.mts +2 -0
- package/Models/DatabaseModels/DataAsset.d.ts +2 -0
- package/Models/DatabaseModels/DataAsset.js +40 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +3 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +3 -1
- package/Models/DatabaseModels/DataBiConnection.js +38 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +6 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +6 -0
- package/Models/DatabaseModels/DataPipeline.js +113 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.mts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.d.ts +21 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.js +635 -0
- package/Models/DatabaseModels/DataPipelineOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.mts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.d.ts +24 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.js +454 -0
- package/Models/DatabaseModels/DataSecurityComplianceSetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +2 -0
- package/Models/DatabaseModels/DataStore.d.ts +2 -0
- package/Models/DatabaseModels/DataStore.js +47 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/DetectionRule.d.mts +2 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +2 -0
- package/Models/DatabaseModels/DetectionRule.js +29 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.mts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.d.ts +25 -0
- package/Models/DatabaseModels/DeviceManagementConnection.js +438 -0
- package/Models/DatabaseModels/DeviceManagementConnection.mjs +2 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +6 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +6 -0
- package/Models/DatabaseModels/GlobalConfig.js +159 -0
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/GlobalSso.d.mts +2 -0
- package/Models/DatabaseModels/GlobalSso.d.ts +2 -0
- package/Models/DatabaseModels/GlobalSso.js +56 -0
- package/Models/DatabaseModels/HostCollectorConfig.js +1 -1
- package/Models/DatabaseModels/HostLogSession.d.mts +22 -0
- package/Models/DatabaseModels/HostLogSession.d.ts +22 -0
- package/Models/DatabaseModels/HostLogSession.js +352 -0
- package/Models/DatabaseModels/HostLogSession.mjs +2 -0
- package/Models/DatabaseModels/IncidentCustomField.js +1 -1
- package/Models/DatabaseModels/IncidentFeed.d.mts +1 -0
- package/Models/DatabaseModels/IncidentFeed.d.ts +1 -0
- package/Models/DatabaseModels/IncidentFeed.js +6 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +1 -1
- package/Models/DatabaseModels/IncidentMeasurement.js +1 -1
- package/Models/DatabaseModels/IncidentPostmortemStatus.js +1 -1
- package/Models/DatabaseModels/IncidentReminderRule.js +1 -1
- package/Models/DatabaseModels/IncidentSeverity.js +13 -4
- package/Models/DatabaseModels/IncidentSlaRule.js +1 -1
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerTeam.js +0 -35
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.mts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.d.ts +0 -1
- package/Models/DatabaseModels/IncidentTemplateOwnerUser.js +0 -40
- package/Models/DatabaseModels/IncidentVideoCall.d.mts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.d.ts +3 -0
- package/Models/DatabaseModels/IncidentVideoCall.js +105 -0
- package/Models/DatabaseModels/IncomingCallPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/Index.js +22 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.mts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.d.ts +5 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.js +108 -0
- package/Models/DatabaseModels/InstanceSamlSigningKey.mjs +2 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +9 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +9 -0
- package/Models/DatabaseModels/KubernetesResource.js +233 -1
- package/Models/DatabaseModels/LogDropFilter.js +1 -1
- package/Models/DatabaseModels/LogPipeline.js +1 -1
- package/Models/DatabaseModels/LogPipelineProcessor.js +1 -1
- package/Models/DatabaseModels/LogScrubRule.js +1 -1
- package/Models/DatabaseModels/ManagedDevice.d.mts +44 -0
- package/Models/DatabaseModels/ManagedDevice.d.ts +44 -0
- package/Models/DatabaseModels/ManagedDevice.js +698 -0
- package/Models/DatabaseModels/ManagedDevice.mjs +2 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.mts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.d.ts +20 -0
- package/Models/DatabaseModels/ManagedDeviceApp.js +320 -0
- package/Models/DatabaseModels/ManagedDeviceApp.mjs +2 -0
- package/Models/DatabaseModels/MarketplaceSubscription.js +1 -1
- package/Models/DatabaseModels/MetricPipelineRule.js +1 -1
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +145 -0
- package/Models/DatabaseModels/MonitorSecret.d.mts +2 -0
- package/Models/DatabaseModels/MonitorSecret.d.ts +2 -0
- package/Models/DatabaseModels/MonitorSecret.js +51 -1
- package/Models/DatabaseModels/MonitorStatus.js +1 -1
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +51 -1
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.js +1 -1
- package/Models/DatabaseModels/NetworkDeviceRole.js +1 -1
- package/Models/DatabaseModels/NetworkSiteAssignmentRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +28 -1
- package/Models/DatabaseModels/Probe.d.mts +5 -0
- package/Models/DatabaseModels/Probe.d.ts +5 -0
- package/Models/DatabaseModels/Probe.js +132 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +7 -1
- package/Models/DatabaseModels/Project.d.ts +7 -1
- package/Models/DatabaseModels/Project.js +278 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +3 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +3 -0
- package/Models/DatabaseModels/ProjectOidc.js +103 -0
- package/Models/DatabaseModels/ProjectSso.d.mts +4 -0
- package/Models/DatabaseModels/ProjectSso.d.ts +4 -0
- package/Models/DatabaseModels/ProjectSso.js +147 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +4 -0
- package/Models/DatabaseModels/RumApplication.d.ts +4 -0
- package/Models/DatabaseModels/RumApplication.js +212 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceState.js +1 -1
- package/Models/DatabaseModels/SecurityCasePriority.js +1 -1
- package/Models/DatabaseModels/SecurityCaseStatus.js +1 -1
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/SecurityDetection.d.mts +2 -1
- package/Models/DatabaseModels/SecurityDetection.d.ts +2 -1
- package/Models/DatabaseModels/SecurityDetection.js +32 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/ServiceAINote.d.mts +22 -0
- package/Models/DatabaseModels/ServiceAINote.d.ts +22 -0
- package/Models/DatabaseModels/ServiceAINote.js +331 -0
- package/Models/DatabaseModels/ServiceAINote.mjs +7 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerTeam.js +40 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.mts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.d.ts +1 -0
- package/Models/DatabaseModels/ServiceOwnerUser.js +40 -0
- package/Models/DatabaseModels/StatusPageFooterLink.js +1 -1
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageHeaderLink.js +1 -1
- package/Models/DatabaseModels/StatusPageHistoryChartBarColorRule.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/StorageArrayResource.js +2 -1
- package/Models/DatabaseModels/Team.d.mts +1 -0
- package/Models/DatabaseModels/Team.d.ts +1 -0
- package/Models/DatabaseModels/Team.js +42 -0
- package/Models/DatabaseModels/TeamMember.d.mts +1 -0
- package/Models/DatabaseModels/TeamMember.d.ts +1 -0
- package/Models/DatabaseModels/TeamMember.js +47 -0
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- package/Models/DatabaseModels/TraceDropFilter.js +1 -1
- package/Models/DatabaseModels/TracePipeline.js +1 -1
- package/Models/DatabaseModels/TracePipelineProcessor.js +1 -1
- package/Models/DatabaseModels/TraceScrubRule.js +1 -1
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +11 -0
- package/Models/DatabaseModels/Workflow.d.ts +11 -0
- package/Models/DatabaseModels/Workflow.js +316 -0
- package/Models/DatabaseModels/WorkflowLog.d.mts +7 -0
- package/Models/DatabaseModels/WorkflowLog.d.ts +7 -0
- package/Models/DatabaseModels/WorkflowLog.js +211 -0
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +32 -0
- package/Server/Services/DatabaseService.d.ts +32 -0
- package/Server/Types/Database/DeleteById.d.mts +2 -0
- package/Server/Types/Database/DeleteById.d.ts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.mts +2 -0
- package/Server/Types/Database/DeleteOneBy.d.ts +2 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -0
- package/Types/AI/AIActionWords.d.mts +35 -0
- package/Types/AI/AIActionWords.d.ts +35 -0
- package/Types/AI/AIActionWords.js +134 -1
- package/Types/AI/AIActionWords.mjs +2 -0
- package/Types/AI/AIAgentRunLimits.d.mts +7 -0
- package/Types/AI/AIAgentRunLimits.d.ts +7 -0
- package/Types/AI/AIAgentRunLimits.js +39 -2
- package/Types/AI/AIAgentRunLimits.mjs +3 -0
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIChatTestPage.d.mts +11 -0
- package/Types/AI/AIChatTestPage.d.ts +11 -0
- package/Types/AI/AIChatTestPage.js +107 -0
- package/Types/AI/AIChatTestPage.mjs +6 -0
- package/Types/AI/AIChatTypes.d.mts +6 -0
- package/Types/AI/AIChatTypes.d.ts +6 -0
- package/Types/AI/AIReadTableWords.d.mts +6 -0
- package/Types/AI/AIReadTableWords.d.ts +6 -0
- package/Types/AI/AIReadTableWords.js +13 -0
- package/Types/AI/AIRunAttempt.d.mts +2 -0
- package/Types/AI/AIRunAttempt.d.ts +2 -0
- package/Types/AI/AIRunAttempt.js +14 -1
- package/Types/AI/AIRunAttempt.mjs +1 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AISetupActions.d.mts +17 -0
- package/Types/AI/AISetupActions.d.ts +17 -0
- package/Types/AI/AISetupActions.js +55 -2
- package/Types/AI/AISetupActions.mjs +7 -0
- package/Types/AI/AiActivityInsights.d.mts +11 -0
- package/Types/AI/AiActivityInsights.d.ts +11 -0
- package/Types/AI/AiActivityInsights.js +7 -2
- package/Types/AI/AiActivityInsights.mjs +1 -0
- package/Types/AI/AiOutcomes.d.mts +61 -0
- package/Types/AI/AiOutcomes.d.ts +61 -0
- package/Types/AI/AiOutcomes.js +71 -2
- package/Types/AI/AiOutcomes.mjs +12 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +1 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +1 -0
- package/Types/AI/CodeAgentRunLimits.js +6 -1
- package/Types/AI/CodeFixTaskType.d.mts +3 -0
- package/Types/AI/CodeFixTaskType.d.ts +3 -0
- package/Types/AI/CodeFixTaskType.js +43 -0
- package/Types/AI/CodeTask.d.mts +8 -0
- package/Types/AI/CodeTask.d.ts +8 -0
- package/Types/AI/CodeTask.js +3 -1
- package/Types/AI/CodeTask.mjs +1 -0
- package/Types/AI/CodeTaskTryAgain.d.mts +9 -0
- package/Types/AI/CodeTaskTryAgain.d.ts +9 -0
- package/Types/AI/CodeTaskTryAgain.js +56 -0
- package/Types/AI/CodeTaskTryAgain.mjs +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.mts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.d.ts +10 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.js +33 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpToolNames.mjs +2 -0
- package/Types/AI/InvestigationRecording.d.mts +1 -0
- package/Types/AI/InvestigationRecording.d.ts +1 -0
- package/Types/AI/ProjectAiRunLimits.d.mts +4 -1
- package/Types/AI/ProjectAiRunLimits.d.ts +4 -1
- package/Types/AI/ProjectAiRunLimits.js +26 -5
- package/Types/AI/ProjectAiRunLimits.mjs +2 -0
- package/Types/AI/ServiceKnowledgeSummary.d.mts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.d.ts +27 -0
- package/Types/AI/ServiceKnowledgeSummary.js +68 -0
- package/Types/AI/ServiceKnowledgeSummary.mjs +4 -0
- package/Types/Accounts/SecondStepEnrolment.d.mts +16 -0
- package/Types/Accounts/SecondStepEnrolment.d.ts +16 -0
- package/Types/Accounts/SecondStepEnrolment.js +96 -0
- package/Types/Accounts/SecondStepEnrolment.mjs +14 -0
- package/Types/Accounts/SecurityKeySignIn.d.mts +1 -0
- package/Types/Accounts/SecurityKeySignIn.d.ts +1 -0
- package/Types/Accounts/SecurityKeySignIn.js +33 -0
- package/Types/Accounts/SecurityKeySignIn.mjs +2 -0
- package/Types/Accounts/SignInMessages.d.mts +1 -0
- package/Types/Accounts/SignInMessages.d.ts +1 -0
- package/Types/Accounts/SignInMessages.js +14 -2
- package/Types/Accounts/SignInMessages.mjs +1 -0
- package/Types/Accounts/SignUpInvitation.d.mts +17 -0
- package/Types/Accounts/SignUpInvitation.d.ts +17 -0
- package/Types/Accounts/SignUpInvitation.js +110 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +13 -0
- package/Types/Analytics/ProductEvent.d.ts +13 -0
- package/Types/Analytics/ProductEvent.js +182 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +14 -2
- package/Types/AuditLog/AuditLogCoverage.mjs +1 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +1 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.mts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.d.ts +17 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.js +87 -0
- package/Types/AuditLog/AuditLogSignInSettingsCleared.mjs +4 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +9 -1
- package/Types/AuditLog/Export/AuditLogExportRecord.js +55 -9
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +3 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +10 -1
- package/Types/AutoRemediation/RemediationRound.d.ts +10 -1
- package/Types/AutoRemediation/RemediationRound.js +37 -6
- package/Types/AutoRemediation/RemediationRound.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +5 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +5 -0
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Call/CallStatus.d.mts +2 -1
- package/Types/Call/CallStatus.d.ts +2 -1
- package/Types/Call/CallStatus.js +6 -0
- package/Types/Cloud/CloudAddedMetrics.d.mts +68 -0
- package/Types/Cloud/CloudAddedMetrics.d.ts +68 -0
- package/Types/Cloud/CloudAddedMetrics.js +402 -0
- package/Types/Cloud/CloudAddedMetrics.mjs +18 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.mts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.d.ts +10 -0
- package/Types/Cloud/CloudKeyMetricCondition.js +65 -0
- package/Types/Cloud/CloudKeyMetricCondition.mjs +4 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +79 -3
- package/Types/Cloud/CloudKeyMetrics.d.ts +79 -3
- package/Types/Cloud/CloudKeyMetrics.js +1786 -213
- package/Types/Cloud/CloudKeyMetrics.mjs +25 -0
- package/Types/Cloud/CloudMonitoredResource.js +16 -2
- package/Types/Cloud/CloudPublishedMetrics.d.mts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.d.ts +40 -0
- package/Types/Cloud/CloudPublishedMetrics.js +165 -0
- package/Types/Cloud/CloudPublishedMetrics.mjs +6 -0
- package/Types/Cloud/CloudReadingKeys.d.mts +10 -0
- package/Types/Cloud/CloudReadingKeys.d.ts +10 -0
- package/Types/Cloud/CloudReadingKeys.js +37 -0
- package/Types/Cloud/CloudReadingKeys.mjs +3 -0
- package/Types/Cloud/CloudResourceCatalog.d.mts +1 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +1 -0
- package/Types/Cloud/CloudResourceCatalog.js +76 -14
- package/Types/Cloud/CloudResourceHealth.d.mts +93 -1
- package/Types/Cloud/CloudResourceHealth.d.ts +93 -1
- package/Types/Cloud/CloudResourceHealth.js +671 -33
- package/Types/Cloud/CloudResourceHealth.mjs +41 -0
- package/Types/Cloud/CloudRightSizing.js +9 -3
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.mts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.d.ts +84 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.js +448 -0
- package/Types/Cloud/CloudUnreportedKeyMetrics.mjs +15 -0
- package/Types/CloudConnection/CloudConnectionCost.d.mts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.d.ts +18 -0
- package/Types/CloudConnection/CloudConnectionCost.js +89 -4
- package/Types/CloudConnection/CloudConnectionCost.mjs +3 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +63 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStream.d.mts +5 -0
- package/Types/CloudConnection/CloudStream.d.ts +5 -0
- package/Types/CloudConnection/CloudStream.js +46 -2
- package/Types/CloudConnection/CloudStream.mjs +3 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +6 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +36 -1
- package/Types/CloudConnection/CloudStreamOrganization.mjs +2 -0
- package/Types/CloudConnection/CloudStreamStack.d.mts +48 -0
- package/Types/CloudConnection/CloudStreamStack.d.ts +48 -0
- package/Types/CloudConnection/CloudStreamStack.js +198 -0
- package/Types/CloudConnection/CloudStreamStack.mjs +15 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +14 -1
- package/Types/CloudConnection/CloudStreamTemplate.js +147 -12
- package/Types/CloudConnection/CloudStreamTemplate.mjs +10 -0
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +74 -0
- package/Types/DataObservability/DataBiLineage.d.ts +74 -0
- package/Types/DataObservability/DataBiLineage.js +226 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataCircuitBreaker.d.mts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.d.ts +78 -0
- package/Types/DataObservability/DataCircuitBreaker.js +262 -0
- package/Types/DataObservability/DataCircuitBreaker.mjs +12 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +70 -1
- package/Types/DataObservability/DataLineageMap.d.ts +70 -1
- package/Types/DataObservability/DataLineageMap.js +357 -3
- package/Types/DataObservability/DataLineageMap.mjs +16 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +60 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +60 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +31 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +6 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +6 -0
- package/Types/DataObservability/DataObservabilityAttention.js +60 -7
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineMetric.d.mts +2 -1
- package/Types/DataObservability/DataPipelineMetric.d.ts +2 -1
- package/Types/DataObservability/DataPipelineMetric.js +12 -2
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataObservability/SkippedTables.d.mts +24 -0
- package/Types/DataObservability/SkippedTables.d.ts +24 -0
- package/Types/DataObservability/SkippedTables.js +147 -0
- package/Types/DataObservability/SkippedTables.mjs +9 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +9 -2
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +46 -10
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +1 -0
- package/Types/DataSecurity/ComplianceScope.d.mts +29 -0
- package/Types/DataSecurity/ComplianceScope.d.ts +29 -0
- package/Types/DataSecurity/ComplianceScope.js +120 -0
- package/Types/DataSecurity/ComplianceScope.mjs +7 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.mts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.d.ts +5 -0
- package/Types/DataSecurity/ComplianceSettingFramework.js +10 -0
- package/Types/DataSecurity/ComplianceSettingFramework.mjs +3 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +101 -2
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +101 -2
- package/Types/DataSecurity/DataSecurityApiTypes.js +65 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +5 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +2 -2
- package/Types/DataSecurity/DataStoreKind.d.mts +2 -1
- package/Types/DataSecurity/DataStoreKind.d.ts +2 -1
- package/Types/DataSecurity/DataStoreKind.js +8 -1
- package/Types/DataSecurity/DataStoreResource.d.mts +32 -0
- package/Types/DataSecurity/DataStoreResource.d.ts +32 -0
- package/Types/DataSecurity/DataStoreResource.js +142 -0
- package/Types/DataSecurity/DataStoreResource.mjs +11 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +21 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +21 -0
- package/Types/DataSecurity/FindingSampleRecord.js +163 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +7 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.mts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.d.ts +28 -0
- package/Types/DataSecurity/TelemetryScrubTarget.js +125 -0
- package/Types/DataSecurity/TelemetryScrubTarget.mjs +12 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.mts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.d.ts +3 -0
- package/Types/Database/AccessControl/AccountDateColumns.js +32 -0
- package/Types/Database/AccessControl/AccountDateColumns.mjs +4 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +15 -0
- package/Types/Database/MoveInList.d.mts +50 -0
- package/Types/Database/MoveInList.d.ts +50 -0
- package/Types/Database/MoveInList.js +228 -0
- package/Types/Database/MoveInList.mjs +6 -0
- package/Types/Database/SharedNames.d.mts +15 -0
- package/Types/Database/SharedNames.d.ts +15 -0
- package/Types/Database/SharedNames.js +80 -0
- package/Types/Database/SharedNames.mjs +8 -0
- package/Types/Database/TableColumn.d.mts +1 -0
- package/Types/Database/TableColumn.d.ts +1 -0
- package/Types/Database/UniqueName.d.mts +41 -0
- package/Types/Database/UniqueName.d.ts +41 -0
- package/Types/Database/UniqueName.js +242 -0
- package/Types/Database/UniqueName.mjs +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.mts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.d.ts +25 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.js +98 -0
- package/Types/DeviceManagement/DeviceManagementConnectionHealth.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.mts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.d.ts +27 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.js +254 -0
- package/Types/DeviceManagement/DeviceManagementConnectionSettings.mjs +21 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.mts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.d.ts +14 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.js +5 -0
- package/Types/DeviceManagement/DeviceManagementConnectionTest.mjs +2 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.mts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.d.ts +7 -0
- package/Types/DeviceManagement/DeviceManagementProvider.js +37 -0
- package/Types/DeviceManagement/DeviceManagementProvider.mjs +5 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.mts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.d.ts +28 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.js +67 -0
- package/Types/DeviceManagement/DeviceManagementReadSummary.mjs +4 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.mts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.d.ts +43 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.js +173 -0
- package/Types/DeviceManagement/ManagedDeviceCheckIn.mjs +8 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.mts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.d.ts +23 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.js +148 -0
- package/Types/DeviceManagement/ManagedDeviceIdentity.mjs +16 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.mts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.d.ts +45 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.js +161 -0
- package/Types/DeviceManagement/ManagedDeviceStatus.mjs +9 -0
- package/Types/DockerSwarm/DockerSwarmInventoryExtractor.js +20 -1
- package/Types/Domain.d.mts +1 -0
- package/Types/Domain.d.ts +1 -0
- package/Types/Domain.js +30 -0
- package/Types/Email/EmailTemplateType.d.mts +8 -0
- package/Types/Email/EmailTemplateType.d.ts +8 -0
- package/Types/Email/EmailTemplateType.js +27 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/HeldPermissions.d.mts +10 -0
- package/Types/HeldPermissions.d.ts +10 -0
- package/Types/HeldPermissions.js +63 -0
- package/Types/Host/HostHealth.d.mts +2 -0
- package/Types/Host/HostHealth.d.ts +2 -0
- package/Types/Host/HostHealth.js +10 -1
- package/Types/Host/HostHealth.mjs +1 -0
- package/Types/Host/HostLogSession.d.mts +30 -0
- package/Types/Host/HostLogSession.d.ts +30 -0
- package/Types/Host/HostLogSession.js +117 -0
- package/Types/Host/HostLogSession.mjs +12 -0
- package/Types/HostCollector/HostCollector.js +1 -1
- package/Types/Icon/IconProp.d.mts +1 -0
- package/Types/Icon/IconProp.d.ts +1 -0
- package/Types/Icon/IconProp.js +2 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.mts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.d.ts +16 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.js +59 -0
- package/Types/IncomingCall/IncomingCallEscalationOrder.mjs +3 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.mts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.d.ts +26 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.js +482 -0
- package/Types/Kubernetes/Compliance/CisKubernetesBenchmark.mjs +12 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.mts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.d.ts +32 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.js +14 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceApiTypes.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.mts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.d.ts +35 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.js +470 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceCatalog.mjs +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.mts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.d.ts +24 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.js +17 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFinding.mjs +3 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.mts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.d.ts +8 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.js +38 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceFramework.mjs +5 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.mts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.d.ts +50 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.js +318 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceScoring.mjs +6 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.mts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.d.ts +39 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.js +13 -0
- package/Types/Kubernetes/Compliance/KubernetesComplianceSnapshot.mjs +2 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.mts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.d.ts +43 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.js +165 -0
- package/Types/Kubernetes/Compliance/KubernetesRbac.mjs +20 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.mts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.d.ts +11 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.js +79 -0
- package/Types/Kubernetes/Compliance/KubernetesVersion.mjs +8 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.mts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.d.ts +58 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.js +638 -0
- package/Types/Kubernetes/Compliance/PodSecurityStandards.mjs +20 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.mts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.d.ts +16 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.js +74 -0
- package/Types/Kubernetes/KubernetesCostEfficiency.mjs +7 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.mts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.d.ts +5 -0
- package/Types/Kubernetes/KubernetesCostIngest.js +14 -16
- package/Types/Kubernetes/KubernetesCostIngest.mjs +3 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.mts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.d.ts +47 -0
- package/Types/Kubernetes/KubernetesCostMetrics.js +296 -0
- package/Types/Kubernetes/KubernetesCostMetrics.mjs +19 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.mts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.d.ts +20 -0
- package/Types/Kubernetes/KubernetesCostPricing.js +114 -0
- package/Types/Kubernetes/KubernetesCostPricing.mjs +7 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +42 -3
- package/Types/Kubernetes/KubernetesHealth.d.ts +42 -3
- package/Types/Kubernetes/KubernetesHealth.js +551 -42
- package/Types/Kubernetes/KubernetesHealth.mjs +4 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +11 -3
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +8 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +45 -0
- package/Types/Kubernetes/KubernetesObjectParser.mjs +1 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.mts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.d.ts +63 -0
- package/Types/Kubernetes/KubernetesPodSecurity.js +399 -0
- package/Types/Kubernetes/KubernetesPodSecurity.mjs +6 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.mts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.d.ts +62 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.js +239 -0
- package/Types/Kubernetes/KubernetesPolicyObjects.mjs +16 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.mts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.d.ts +52 -0
- package/Types/Kubernetes/KubernetesStorageHealth.js +353 -0
- package/Types/Kubernetes/KubernetesStorageHealth.mjs +17 -0
- package/Types/MeaningKeys.js +33 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +23 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +23 -0
- package/Types/Monitor/CloudAlertTemplates.js +575 -4
- package/Types/Monitor/CloudAlertTemplates.mjs +11 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +4 -1
- package/Types/Monitor/CriteriaFilter.d.ts +4 -1
- package/Types/Monitor/CriteriaFilter.js +18 -1
- package/Types/Monitor/CriteriaFilterTerms.js +3 -0
- package/Types/Monitor/DataPipelineAlertTemplates.js +34 -1
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +7 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +45 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +3 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +3 -0
- package/Types/Monitor/HostAlertTemplates.d.mts +13 -0
- package/Types/Monitor/HostAlertTemplates.d.ts +13 -0
- package/Types/Monitor/HostAlertTemplates.js +352 -2
- package/Types/Monitor/HostAlertTemplates.mjs +4 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +5 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +317 -27
- package/Types/Monitor/KubernetesAlertTemplates.mjs +3 -0
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +1 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +105 -1
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.mts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.d.ts +33 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.js +191 -0
- package/Types/Monitor/ManagedDeviceAlertTemplates.mjs +8 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorSecretType.d.mts +11 -0
- package/Types/Monitor/MonitorSecretType.d.ts +11 -0
- package/Types/Monitor/MonitorSecretType.js +37 -0
- package/Types/Monitor/MonitorSecretType.mjs +3 -0
- package/Types/Monitor/MonitorStep.d.mts +4 -0
- package/Types/Monitor/MonitorStep.d.ts +4 -0
- package/Types/Monitor/MonitorStep.js +27 -1
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +7 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +82 -3
- package/Types/Monitor/MonitorStepIoTMonitor.js +4 -17
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.mts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.d.ts +4 -0
- package/Types/Monitor/MonitorStepTraceMonitor.js +50 -0
- package/Types/Monitor/MonitorSteps.d.mts +1 -0
- package/Types/Monitor/MonitorSteps.d.ts +1 -0
- package/Types/Monitor/MonitorSteps.js +27 -1
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +181 -10
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.mts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.d.ts +38 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.js +168 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCreateUtil.mjs +2 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +17 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +17 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +23 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +37 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/RumAlertTemplates.d.mts +23 -1
- package/Types/Monitor/RumAlertTemplates.d.ts +23 -1
- package/Types/Monitor/RumAlertTemplates.js +658 -12
- package/Types/Monitor/RumAlertTemplates.mjs +11 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.mts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.d.ts +5 -0
- package/Types/Monitor/SeriesContext/SeriesDebugHints.js +207 -5
- package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +32 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryAlertRule.js +4 -3
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.mts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.d.ts +16 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.js +2 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorGroupResult.mjs +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +6 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +6 -0
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +41 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +41 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +209 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +1 -0
- package/Types/NetworkDevice/DiscoveryImport.js +19 -4
- package/Types/NetworkDevice/DiscoveryImport.mjs +1 -0
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/OwnerNotificationDelivery.d.mts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.d.ts +28 -0
- package/Types/Notification/OwnerNotificationDelivery.js +47 -1
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +664 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +4 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +44 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +10 -1
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +12 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +39 -0
- package/Types/NotificationSetting/RoutineEmailEvents.js +12 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.mts +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.ts +2 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.mts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.d.ts +10 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.js +50 -1
- package/Types/OnCallDutyPolicy/OnCallSentLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.mts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.d.ts +55 -0
- package/Types/OnCallDutyPolicy/PagedFirst.js +205 -0
- package/Types/OnCallDutyPolicy/PagedFirst.mjs +8 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.mts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.d.ts +22 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.js +135 -0
- package/Types/OnCallDutyPolicy/UserOverrideTeamAccess.mjs +9 -0
- package/Types/OpenStack/OpenStackBareMetal.d.mts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.d.ts +3 -0
- package/Types/OpenStack/OpenStackBareMetal.js +8 -1
- package/Types/OpenStack/OpenStackBareMetal.mjs +2 -0
- package/Types/OpenStack/OpenStackHealthRules.d.mts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.d.ts +11 -0
- package/Types/OpenStack/OpenStackHealthRules.js +41 -1
- package/Types/OpenStack/OpenStackHealthRules.mjs +4 -0
- package/Types/Permission.d.mts +17 -0
- package/Types/Permission.d.ts +17 -0
- package/Types/Permission.js +188 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Probe/ProbeCapability.d.mts +3 -1
- package/Types/Probe/ProbeCapability.d.ts +3 -1
- package/Types/Probe/ProbeCapability.js +21 -1
- package/Types/Probe/ProbeCapability.mjs +1 -0
- package/Types/Probe/ProbeReportedVersion.d.mts +48 -0
- package/Types/Probe/ProbeReportedVersion.d.ts +48 -0
- package/Types/Probe/ProbeReportedVersion.js +280 -0
- package/Types/Probe/ProbeReportedVersion.mjs +9 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +861 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/android.d.mts +3 -0
- package/Types/ProviderLogo/Marks/android.d.ts +3 -0
- package/Types/ProviderLogo/Marks/android.js +15 -0
- package/Types/ProviderLogo/Marks/android.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +3 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +36 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +1 -0
- package/Types/Rules/RuleCriteriaSubject.d.ts +1 -0
- package/Types/Rules/RuleCriteriaSubject.js +2 -0
- package/Types/Rules/RuleRun.d.mts +1 -0
- package/Types/Rules/RuleRun.d.ts +1 -0
- package/Types/Rules/RuleRun.js +2 -0
- package/Types/Rum/MobileAppTelemetry.d.mts +28 -0
- package/Types/Rum/MobileAppTelemetry.d.ts +28 -0
- package/Types/Rum/MobileAppTelemetry.js +120 -0
- package/Types/Rum/MobileAppTelemetry.mjs +21 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/RumClientKind.d.mts +5 -0
- package/Types/Rum/RumClientKind.d.ts +5 -0
- package/Types/Rum/RumClientKind.js +57 -0
- package/Types/Rum/RumClientKind.mjs +5 -0
- package/Types/Rum/SessionReplay.d.mts +6 -0
- package/Types/Rum/SessionReplay.d.ts +6 -0
- package/Types/Rum/SessionReplay.js +36 -2
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +3 -1
- package/Types/Rum/SessionReplayFrustrationSignals.js +32 -2
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +2 -0
- package/Types/Rum/SessionReplayPageRules.d.mts +10 -0
- package/Types/Rum/SessionReplayPageRules.d.ts +10 -0
- package/Types/Rum/SessionReplayPageRules.js +115 -0
- package/Types/Rum/SessionReplayPageRules.mjs +7 -0
- package/Types/Rum/SessionReplayReadableProperties.d.mts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.d.ts +4 -0
- package/Types/Rum/SessionReplayReadableProperties.js +64 -0
- package/Types/Rum/SessionReplayReadableProperties.mjs +5 -0
- package/Types/Rum/SessionReplaySignalMetric.d.mts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.d.ts +10 -0
- package/Types/Rum/SessionReplaySignalMetric.js +62 -0
- package/Types/Rum/SessionReplaySignalMetric.mjs +8 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +40 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +40 -0
- package/Types/SSO/IdentityProviderSignOut.js +233 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +16 -0
- package/Types/SSO/LocalSignInClearing.d.mts +35 -0
- package/Types/SSO/LocalSignInClearing.d.ts +35 -0
- package/Types/SSO/LocalSignInClearing.js +166 -0
- package/Types/SSO/LocalSignInClearing.mjs +19 -0
- package/Types/SSO/SignInMethods.d.mts +5 -0
- package/Types/SSO/SignInMethods.d.ts +5 -0
- package/Types/SSO/SignInMethods.js +29 -1
- package/Types/SSO/SignInMethods.mjs +4 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.mts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.d.ts +33 -0
- package/Types/SSO/SignInSettingsClearedEmail.js +144 -0
- package/Types/SSO/SignInSettingsClearedEmail.mjs +8 -0
- package/Types/SSO/SsoManagedSignIn.d.mts +23 -0
- package/Types/SSO/SsoManagedSignIn.d.ts +23 -0
- package/Types/SSO/SsoManagedSignIn.js +205 -0
- package/Types/SSO/SsoManagedSignIn.mjs +9 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.mts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.d.ts +50 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.js +230 -0
- package/Types/ScheduledMaintenance/ScheduledMaintenanceSubscriberReach.mjs +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +10 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +10 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +29 -1
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +85 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +85 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +259 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/SecurityCase/SecurityConnection.d.mts +7 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +7 -0
- package/Types/SecurityCase/SecurityConnection.js +45 -2
- package/Types/SecurityCase/SecurityConnection.mjs +6 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.mts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.d.ts +43 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.js +365 -0
- package/Types/SecurityCase/SecurityDetectionMatchedEvents.mjs +20 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.mts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.d.ts +8 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.js +1400 -0
- package/Types/SecurityEvent/DetectionRuleLibraryResponseSteps.mjs +7 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.mts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.d.ts +26 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.js +184 -0
- package/Types/SecurityEvent/DetectionRuleResponseSteps.mjs +14 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/AnnouncementReach.d.mts +16 -0
- package/Types/StatusPage/AnnouncementReach.d.ts +16 -0
- package/Types/StatusPage/AnnouncementReach.js +62 -0
- package/Types/StatusPage/AnnouncementReach.mjs +2 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.mts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.d.ts +15 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.js +92 -0
- package/Types/StatusPage/AnnouncementUpdateNotification.mjs +4 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/PickedStatusPagesReach.d.mts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.d.ts +13 -0
- package/Types/StatusPage/PickedStatusPagesReach.js +73 -0
- package/Types/StatusPage/PickedStatusPagesReach.mjs +2 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +2 -1
- package/Types/StatusPage/PublicNoteApproval.d.ts +2 -1
- package/Types/StatusPage/PublicNoteApproval.js +11 -5
- package/Types/StatusPage/PublicNoteReach.d.mts +26 -0
- package/Types/StatusPage/PublicNoteReach.d.ts +26 -0
- package/Types/StatusPage/PublicNoteReach.js +144 -0
- package/Types/StatusPage/PublicNoteReach.mjs +4 -0
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/StatusPage/SubscriberNotificationPreview.js +9 -3
- package/Types/Team/CustomRole.d.mts +5 -0
- package/Types/Team/CustomRole.d.ts +5 -0
- package/Types/Team/CustomRole.js +19 -2
- package/Types/Team/CustomRole.mjs +1 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/InviteSuggestions.d.mts +36 -0
- package/Types/Team/InviteSuggestions.d.ts +36 -0
- package/Types/Team/InviteSuggestions.js +203 -0
- package/Types/Team/InviteSuggestions.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/Telemetry/InventoryLiveness.d.mts +11 -3
- package/Types/Telemetry/InventoryLiveness.d.ts +11 -3
- package/Types/Telemetry/InventoryLiveness.js +19 -6
- package/Types/Telemetry/InventoryLiveness.mjs +1 -0
- package/Types/Telemetry/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +8 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +2 -1
- package/Types/Telemetry/TelemetryIngestSurface.js +9 -0
- package/Types/Timezone.d.mts +1 -0
- package/Types/Timezone.d.ts +1 -0
- package/Types/Timezone.js +1 -0
- package/Types/TimezoneAlias.js +11 -6
- package/Types/ToolImport/ToolImportNote.d.mts +1 -0
- package/Types/ToolImport/ToolImportNote.d.ts +1 -0
- package/Types/ToolImport/ToolImportNote.js +5 -0
- package/Types/TwoFactorAuthSetup.d.mts +16 -0
- package/Types/TwoFactorAuthSetup.d.ts +16 -0
- package/Types/TwoFactorAuthSetup.js +64 -0
- package/Types/TwoFactorAuthSetup.mjs +6 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/UserAuthenticationStatus.d.mts +3 -0
- package/Types/UserAuthenticationStatus.d.ts +3 -0
- package/Types/UserSession/SessionEndCause.d.mts +1 -0
- package/Types/UserSession/SessionEndCause.d.ts +1 -0
- package/Types/UserSession/SessionEndCause.js +10 -2
- package/Types/VideoCall/CallSummaryPosts.d.mts +18 -0
- package/Types/VideoCall/CallSummaryPosts.d.ts +18 -0
- package/Types/VideoCall/CallSummaryPosts.js +106 -0
- package/Types/VideoCall/CallSummaryPosts.mjs +2 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.mts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.d.ts +9 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.js +117 -0
- package/Types/WhatsApp/WhatsAppEventTemplates.mjs +5 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workflow/WorkflowRunAs.d.mts +99 -0
- package/Types/Workflow/WorkflowRunAs.d.ts +99 -0
- package/Types/Workflow/WorkflowRunAs.js +411 -0
- package/Types/Workflow/WorkflowRunAs.mjs +39 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/Types/Workspace/WorkspacePostedMessage.d.mts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.d.ts +12 -0
- package/Types/Workspace/WorkspacePostedMessage.js +57 -0
- package/Types/Workspace/WorkspacePostedMessage.mjs +3 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/AI/MeaningMatch.d.mts +7 -0
- package/Utils/AI/MeaningMatch.d.ts +7 -0
- package/Utils/AI/MeaningMatch.js +49 -1
- package/Utils/AI/MeaningMatch.mjs +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.mts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.d.ts +1 -0
- package/Utils/AiRemediation/KubectlWaitBudget.js +19 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +26 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +26 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +300 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +6 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/DeveloperDocs/AiAssistantExamples.d.mts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.d.ts +2 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.js +38 -1
- package/Utils/DeveloperDocs/AiAssistantExamples.mjs +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.mts +14 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +14 -0
- package/Utils/DeveloperDocs/CliCommands.js +36 -0
- package/Utils/DeveloperDocs/CliCommands.mjs +2 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.mts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.d.ts +47 -0
- package/Utils/DeveloperDocs/DeleteChoices.js +296 -0
- package/Utils/DeveloperDocs/DeleteChoices.mjs +10 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.mts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.d.ts +27 -0
- package/Utils/DeveloperDocs/ListOrderFacts.js +106 -0
- package/Utils/DeveloperDocs/ListOrderFacts.mjs +4 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.mts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.d.ts +6 -0
- package/Utils/DeveloperDocs/TerraformSchema.js +20 -1
- package/Utils/DeveloperDocs/TerraformSchema.mjs +1 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +36 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +101 -1
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +8 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.mts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.d.ts +58 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.js +163 -0
- package/Utils/GuidedSetup/ServiceMonitorRecords.mjs +11 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +12 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +33 -1
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +3 -0
- package/Utils/Host/AndroidAgentLogSessions.d.mts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.d.ts +63 -0
- package/Utils/Host/AndroidAgentLogSessions.js +245 -0
- package/Utils/Host/AndroidAgentLogSessions.mjs +9 -0
- package/Utils/Host/HostOperatingSystem.d.mts +29 -0
- package/Utils/Host/HostOperatingSystem.d.ts +29 -0
- package/Utils/Host/HostOperatingSystem.js +95 -0
- package/Utils/Host/HostOperatingSystem.mjs +4 -0
- package/Utils/HostCollector/HostCollectorConfigResolution.d.mts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.d.ts +1 -1
- package/Utils/HostCollector/HostCollectorConfigResolution.js +12 -2
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +5 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +90 -4
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +5 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.d.ts +4 -3
- package/Utils/Inventory/InventoryAssetDetails.js +16 -29
- package/Utils/ListOrder.d.mts +71 -11
- package/Utils/ListOrder.d.ts +71 -11
- package/Utils/ListOrder.js +135 -20
- package/Utils/ListOrder.mjs +3 -1
- package/Utils/Metrics/MetricLatestReading.d.mts +15 -0
- package/Utils/Metrics/MetricLatestReading.d.ts +15 -0
- package/Utils/Metrics/MetricLatestReading.js +49 -0
- package/Utils/Metrics/MetricLatestReading.mjs +2 -0
- package/Utils/Metrics/MetricQueryOverlay.d.mts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.d.ts +24 -0
- package/Utils/Metrics/MetricQueryOverlay.js +169 -0
- package/Utils/Metrics/MetricQueryOverlay.mjs +3 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.mts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.d.ts +11 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.js +337 -0
- package/Utils/Metrics/RetiredCloudMetricChartMoves.mjs +5 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.mts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.d.ts +126 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.js +681 -0
- package/Utils/Metrics/RetiredCloudMetricMoves.mjs +26 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.mts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.d.ts +13 -0
- package/Utils/Metrics/RetiredCloudMetricReads.js +176 -0
- package/Utils/Metrics/RetiredCloudMetricReads.mjs +12 -0
- package/Utils/ModelImportExport.js +9 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +153 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +14 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +14 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +190 -34
- package/Utils/Monitor/DeviceMonitorTemplateUtil.mjs +5 -0
- package/Utils/Monitor/DeviceUrlTarget.d.mts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.d.ts +35 -0
- package/Utils/Monitor/DeviceUrlTarget.js +254 -0
- package/Utils/Monitor/DeviceUrlTarget.mjs +9 -0
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- package/Utils/Monitor/MonitorSecretReferences.d.mts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.d.ts +21 -0
- package/Utils/Monitor/MonitorSecretReferences.js +162 -0
- package/Utils/Monitor/MonitorSecretReferences.mjs +10 -0
- package/Utils/Monitor/MonitorSecretTotp.d.mts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.d.ts +40 -0
- package/Utils/Monitor/MonitorSecretTotp.js +313 -0
- package/Utils/Monitor/MonitorSecretTotp.mjs +15 -0
- package/Utils/Monitor/MonitorStatusReason.d.mts +44 -0
- package/Utils/Monitor/MonitorStatusReason.d.ts +44 -0
- package/Utils/Monitor/MonitorStatusReason.js +446 -0
- package/Utils/Monitor/MonitorStatusReason.mjs +12 -0
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +7 -6
- package/Utils/Monitor/ProbeFailureCauses.d.mts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.d.ts +3 -1
- package/Utils/Monitor/ProbeFailureCauses.js +16 -2
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.mts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.d.ts +15 -0
- package/Utils/Monitor/StatusChangeCauseWording.js +129 -0
- package/Utils/Monitor/StatusChangeCauseWording.mjs +5 -0
- package/Utils/Monitor/StatusChangeNotes.d.mts +15 -0
- package/Utils/Monitor/StatusChangeNotes.d.ts +15 -0
- package/Utils/Monitor/StatusChangeNotes.js +144 -0
- package/Utils/Monitor/StatusChangeNotes.mjs +15 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.mts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.d.ts +71 -0
- package/Utils/NetworkDevice/DeviceAddressScope.js +286 -0
- package/Utils/NetworkDevice/DeviceAddressScope.mjs +12 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.mts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.d.ts +9 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.js +114 -0
- package/Utils/NetworkDevice/MonitorCheckedHost.mjs +4 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +8 -6
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/NetworkSite/CidrMatchUtil.js +10 -4
- package/Utils/Project/ProjectBilling.js +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/Rum/SessionIdentity.d.mts +0 -8
- package/Utils/Rum/SessionIdentity.d.ts +0 -8
- package/Utils/Rum/SessionIdentity.js +4 -105
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +15 -1
- package/Utils/Rum/SessionReplayIngestBounds.d.mts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.d.ts +10 -0
- package/Utils/Rum/SessionReplayIngestBounds.js +121 -0
- package/Utils/Rum/SessionReplayIngestBounds.mjs +2 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayPolicyValidation.js +97 -0
- package/Utils/Rum/SessionReplayPolicyValidation.mjs +6 -0
- package/Utils/Schema/ModelSchema.js +20 -4
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +1 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +5 -2
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +23 -8
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.mts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.d.ts +93 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.js +1363 -0
- package/Utils/SecurityEvent/LogParsers/CloudAuditResources.mjs +26 -0
- package/Utils/SecurityEvent/LogParsers/CloudTrailLogParser.js +3 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +7 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +79 -1
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +21 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/SecurityEvent/SecurityTemplateRecords.js +7 -1
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.mts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.d.ts +1 -0
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.js +31 -4
- package/Utils/SecurityEvent/TelemetryScan/TraceSignals.mjs +1 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StateOrder.d.mts +25 -7
- package/Utils/StateOrder.d.ts +25 -7
- package/Utils/StateOrder.js +33 -19
- package/Utils/StateOrder.mjs +1 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Storage/StorageUsage.d.mts +31 -0
- package/Utils/Storage/StorageUsage.d.ts +31 -0
- package/Utils/Storage/StorageUsage.js +179 -0
- package/Utils/Storage/StorageUsage.mjs +10 -0
- package/Utils/Suggestions/CodeFixSuggestion.js +3 -2
- package/Utils/Telemetry/CrossSignalScope.d.mts +6 -1
- package/Utils/Telemetry/CrossSignalScope.d.ts +6 -1
- package/Utils/Telemetry/CrossSignalScope.js +19 -1
- package/Utils/Telemetry/CrossSignalScope.mjs +2 -0
- package/Utils/Telemetry/MetricKitCallStack.d.mts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.d.ts +33 -0
- package/Utils/Telemetry/MetricKitCallStack.js +253 -0
- package/Utils/Telemetry/MetricKitCallStack.mjs +4 -0
- package/Utils/Telemetry/MobileAppFaults.d.mts +21 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +21 -0
- package/Utils/Telemetry/MobileAppFaults.js +203 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +18 -0
- package/Utils/Telemetry/OtlpAnyValue.d.mts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.d.ts +5 -0
- package/Utils/Telemetry/OtlpAnyValue.js +86 -0
- package/Utils/Telemetry/OtlpAnyValue.mjs +5 -0
- package/Utils/Totp/TotpParameters.d.mts +25 -0
- package/Utils/Totp/TotpParameters.d.ts +25 -0
- package/Utils/Totp/TotpParameters.js +99 -0
- package/Utils/Totp/TotpParameters.mjs +14 -0
- package/Utils/Totp/TotpSecret.d.mts +42 -0
- package/Utils/Totp/TotpSecret.d.ts +42 -0
- package/Utils/Totp/TotpSecret.js +327 -0
- package/Utils/Totp/TotpSecret.mjs +21 -0
- package/Utils/VersionUtil.d.mts +1 -0
- package/Utils/VersionUtil.d.ts +1 -0
- package/Utils/VersionUtil.js +26 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +6 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OTLP_ANY_VALUE_MAX_ENTRIES = exports.OTLP_ANY_VALUE_MAX_DEPTH = void 0;
|
|
4
|
+
exports.isOtlpKvlistValue = isOtlpKvlistValue;
|
|
5
|
+
exports.readOtlpAnyValue = readOtlpAnyValue;
|
|
6
|
+
/*
|
|
7
|
+
* AN OTLP VALUE AS THE PLAIN VALUE IT CARRIES.
|
|
8
|
+
*
|
|
9
|
+
* A log record's body (and an attribute's value) is an OTLP AnyValue: a
|
|
10
|
+
* string arrives as {"stringValue":"x"}, a map as {"kvlistValue":{"values":
|
|
11
|
+
* [{"key":"Name","value":{"stringValue":"shop_data"}}]}}, a list as
|
|
12
|
+
* {"arrayValue":{"values":[...]}} - camelCase from OTLP/JSON, snake_case
|
|
13
|
+
* (kvlist_value) where protobufjs decoded it. A collector that moves a
|
|
14
|
+
* parsed JSON line into the body (the filelog receiver's `move` operator,
|
|
15
|
+
* as the Docker Swarm agent's inventory does) sends a map, and the ingest
|
|
16
|
+
* writes it as that JSON: read here as the object it is, its types kept -
|
|
17
|
+
* a count a number, a flag a boolean.
|
|
18
|
+
*
|
|
19
|
+
* Bounded, as everything read from a record is: so deep, so many entries.
|
|
20
|
+
*/
|
|
21
|
+
exports.OTLP_ANY_VALUE_MAX_DEPTH = 16;
|
|
22
|
+
exports.OTLP_ANY_VALUE_MAX_ENTRIES = 10000;
|
|
23
|
+
function asRecord(value) {
|
|
24
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
25
|
+
? value
|
|
26
|
+
: null;
|
|
27
|
+
}
|
|
28
|
+
function field(wrapper, camel, snake) {
|
|
29
|
+
return wrapper[camel] !== undefined ? wrapper[camel] : wrapper[snake];
|
|
30
|
+
}
|
|
31
|
+
// Whether a value is an OTLP map (a kvlistValue), as a map body arrives.
|
|
32
|
+
function isOtlpKvlistValue(value) {
|
|
33
|
+
const wrapper = asRecord(value);
|
|
34
|
+
return Boolean(wrapper && asRecord(field(wrapper, "kvlistValue", "kvlist_value")));
|
|
35
|
+
}
|
|
36
|
+
function readOtlpAnyValue(value, depth = 0) {
|
|
37
|
+
const wrapper = asRecord(value);
|
|
38
|
+
if (!wrapper || depth > exports.OTLP_ANY_VALUE_MAX_DEPTH) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
const text = field(wrapper, "stringValue", "string_value");
|
|
42
|
+
if (text !== undefined) {
|
|
43
|
+
return typeof text === "string" ? text : String(text);
|
|
44
|
+
}
|
|
45
|
+
// int64 arrives as a string in OTLP/JSON: a number all the same.
|
|
46
|
+
for (const [camel, snake] of [
|
|
47
|
+
["intValue", "int_value"],
|
|
48
|
+
["doubleValue", "double_value"],
|
|
49
|
+
]) {
|
|
50
|
+
const number = field(wrapper, camel, snake);
|
|
51
|
+
if (number !== undefined) {
|
|
52
|
+
const parsed = Number(number);
|
|
53
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const flag = field(wrapper, "boolValue", "bool_value");
|
|
57
|
+
if (flag !== undefined) {
|
|
58
|
+
return flag === true || flag === "true";
|
|
59
|
+
}
|
|
60
|
+
const kvlist = asRecord(field(wrapper, "kvlistValue", "kvlist_value"));
|
|
61
|
+
if (kvlist) {
|
|
62
|
+
const result = {};
|
|
63
|
+
const entries = kvlist["values"];
|
|
64
|
+
if (Array.isArray(entries)) {
|
|
65
|
+
for (const entry of entries.slice(0, exports.OTLP_ANY_VALUE_MAX_ENTRIES)) {
|
|
66
|
+
const pair = asRecord(entry);
|
|
67
|
+
const key = pair ? pair["key"] : undefined;
|
|
68
|
+
if (!pair || typeof key !== "string" || key === "__proto__") {
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
result[key] = readOtlpAnyValue(pair["value"], depth + 1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return result;
|
|
75
|
+
}
|
|
76
|
+
const array = asRecord(field(wrapper, "arrayValue", "array_value"));
|
|
77
|
+
if (array) {
|
|
78
|
+
const items = array["values"];
|
|
79
|
+
return Array.isArray(items)
|
|
80
|
+
? items.slice(0, exports.OTLP_ANY_VALUE_MAX_ENTRIES).map((item) => {
|
|
81
|
+
return readOtlpAnyValue(item, depth + 1);
|
|
82
|
+
})
|
|
83
|
+
: [];
|
|
84
|
+
}
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./OtlpAnyValue.js";
|
|
2
|
+
export const OTLP_ANY_VALUE_MAX_DEPTH = commonJsModule.OTLP_ANY_VALUE_MAX_DEPTH;
|
|
3
|
+
export const OTLP_ANY_VALUE_MAX_ENTRIES = commonJsModule.OTLP_ANY_VALUE_MAX_ENTRIES;
|
|
4
|
+
export const isOtlpKvlistValue = commonJsModule.isOtlpKvlistValue;
|
|
5
|
+
export const readOtlpAnyValue = commonJsModule.readOtlpAnyValue;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Dictionary from "../../Types/Dictionary.mjs";
|
|
2
|
+
export declare enum TotpAlgorithm {
|
|
3
|
+
SHA1 = "SHA1",
|
|
4
|
+
SHA256 = "SHA256",
|
|
5
|
+
SHA512 = "SHA512"
|
|
6
|
+
}
|
|
7
|
+
export declare const TOTP_ALGORITHMS: ReadonlyArray<TotpAlgorithm>;
|
|
8
|
+
export declare const TOTP_DIGIT_LENGTHS: ReadonlyArray<number>;
|
|
9
|
+
export declare const TOTP_DEFAULT_ALGORITHM: TotpAlgorithm;
|
|
10
|
+
export declare const TOTP_DEFAULT_DIGITS: number;
|
|
11
|
+
export declare const TOTP_DEFAULT_PERIOD_IN_SECONDS: number;
|
|
12
|
+
export declare const TOTP_MAX_PERIOD_IN_SECONDS: number;
|
|
13
|
+
export declare const TOTP_MIN_SECRET_LENGTH: number;
|
|
14
|
+
export declare const TOTP_MAX_SECRET_LENGTH: number;
|
|
15
|
+
export declare const MAX_TOTP_SECRETS_PER_STEP: number;
|
|
16
|
+
export declare const MAX_TOTP_SECRET_NAME_LENGTH: number;
|
|
17
|
+
export interface TotpParameters {
|
|
18
|
+
secret: string;
|
|
19
|
+
algorithm: TotpAlgorithm;
|
|
20
|
+
digits: number;
|
|
21
|
+
periodInSeconds: number;
|
|
22
|
+
}
|
|
23
|
+
export type TotpSecrets = Dictionary<TotpParameters>;
|
|
24
|
+
export declare function isTotpParameters(value: unknown): value is TotpParameters;
|
|
25
|
+
export declare function readTotpSecrets(value: unknown): TotpSecrets;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Dictionary from "../../Types/Dictionary";
|
|
2
|
+
export declare enum TotpAlgorithm {
|
|
3
|
+
SHA1 = "SHA1",
|
|
4
|
+
SHA256 = "SHA256",
|
|
5
|
+
SHA512 = "SHA512"
|
|
6
|
+
}
|
|
7
|
+
export declare const TOTP_ALGORITHMS: ReadonlyArray<TotpAlgorithm>;
|
|
8
|
+
export declare const TOTP_DIGIT_LENGTHS: ReadonlyArray<number>;
|
|
9
|
+
export declare const TOTP_DEFAULT_ALGORITHM: TotpAlgorithm;
|
|
10
|
+
export declare const TOTP_DEFAULT_DIGITS: number;
|
|
11
|
+
export declare const TOTP_DEFAULT_PERIOD_IN_SECONDS: number;
|
|
12
|
+
export declare const TOTP_MAX_PERIOD_IN_SECONDS: number;
|
|
13
|
+
export declare const TOTP_MIN_SECRET_LENGTH: number;
|
|
14
|
+
export declare const TOTP_MAX_SECRET_LENGTH: number;
|
|
15
|
+
export declare const MAX_TOTP_SECRETS_PER_STEP: number;
|
|
16
|
+
export declare const MAX_TOTP_SECRET_NAME_LENGTH: number;
|
|
17
|
+
export interface TotpParameters {
|
|
18
|
+
secret: string;
|
|
19
|
+
algorithm: TotpAlgorithm;
|
|
20
|
+
digits: number;
|
|
21
|
+
periodInSeconds: number;
|
|
22
|
+
}
|
|
23
|
+
export type TotpSecrets = Dictionary<TotpParameters>;
|
|
24
|
+
export declare function isTotpParameters(value: unknown): value is TotpParameters;
|
|
25
|
+
export declare function readTotpSecrets(value: unknown): TotpSecrets;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAX_TOTP_SECRET_NAME_LENGTH = exports.MAX_TOTP_SECRETS_PER_STEP = exports.TOTP_MAX_SECRET_LENGTH = exports.TOTP_MIN_SECRET_LENGTH = exports.TOTP_MAX_PERIOD_IN_SECONDS = exports.TOTP_DEFAULT_PERIOD_IN_SECONDS = exports.TOTP_DEFAULT_DIGITS = exports.TOTP_DEFAULT_ALGORITHM = exports.TOTP_DIGIT_LENGTHS = exports.TOTP_ALGORITHMS = exports.TotpAlgorithm = void 0;
|
|
4
|
+
exports.isTotpParameters = isTotpParameters;
|
|
5
|
+
exports.readTotpSecrets = readTotpSecrets;
|
|
6
|
+
/*
|
|
7
|
+
* What a time-based one-time code (RFC 6238) is made from, and the guards
|
|
8
|
+
* that hold it as it travels. Kept apart from the reading and the making of
|
|
9
|
+
* codes (TotpSecret), and free of the HMAC library they need, so a monitor
|
|
10
|
+
* step can carry TOTP parameters (MonitorStep.totpSecrets) without every
|
|
11
|
+
* page that reads a monitor loading that library.
|
|
12
|
+
*/
|
|
13
|
+
var TotpAlgorithm;
|
|
14
|
+
(function (TotpAlgorithm) {
|
|
15
|
+
TotpAlgorithm["SHA1"] = "SHA1";
|
|
16
|
+
TotpAlgorithm["SHA256"] = "SHA256";
|
|
17
|
+
TotpAlgorithm["SHA512"] = "SHA512";
|
|
18
|
+
})(TotpAlgorithm || (exports.TotpAlgorithm = TotpAlgorithm = {}));
|
|
19
|
+
exports.TOTP_ALGORITHMS = [
|
|
20
|
+
TotpAlgorithm.SHA1,
|
|
21
|
+
TotpAlgorithm.SHA256,
|
|
22
|
+
TotpAlgorithm.SHA512,
|
|
23
|
+
];
|
|
24
|
+
// The code lengths RFC 6238's reference implementation and the apps make.
|
|
25
|
+
exports.TOTP_DIGIT_LENGTHS = [6, 8];
|
|
26
|
+
exports.TOTP_DEFAULT_ALGORITHM = TotpAlgorithm.SHA1;
|
|
27
|
+
exports.TOTP_DEFAULT_DIGITS = 6;
|
|
28
|
+
exports.TOTP_DEFAULT_PERIOD_IN_SECONDS = 30;
|
|
29
|
+
// A code that changes less often than hourly is no one-time code.
|
|
30
|
+
exports.TOTP_MAX_PERIOD_IN_SECONDS = 3600;
|
|
31
|
+
/*
|
|
32
|
+
* Sixteen base32 characters are 80 bits, the shortest key sites hand out
|
|
33
|
+
* (GitHub's and Microsoft's are that long). Anything shorter is a key that
|
|
34
|
+
* was not copied whole, and would make codes that never match.
|
|
35
|
+
*/
|
|
36
|
+
exports.TOTP_MIN_SECRET_LENGTH = 16;
|
|
37
|
+
/*
|
|
38
|
+
* A SHA512 key of RFC 6238's 64 bytes is 103 characters. Five times that
|
|
39
|
+
* is room for any real key, and a bound on what is read.
|
|
40
|
+
*/
|
|
41
|
+
exports.TOTP_MAX_SECRET_LENGTH = 512;
|
|
42
|
+
// The most TOTP secrets one monitor step is handed, and the longest name.
|
|
43
|
+
exports.MAX_TOTP_SECRETS_PER_STEP = 50;
|
|
44
|
+
exports.MAX_TOTP_SECRET_NAME_LENGTH = 200;
|
|
45
|
+
const BASE32_SECRET = /^[A-Z2-7]+$/;
|
|
46
|
+
function isPlainObject(value) {
|
|
47
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
const prototype = Object.getPrototypeOf(value);
|
|
51
|
+
return prototype === Object.prototype || prototype === null;
|
|
52
|
+
}
|
|
53
|
+
// Whether a value is parameters a code can be made from, as they travel.
|
|
54
|
+
function isTotpParameters(value) {
|
|
55
|
+
if (!isPlainObject(value)) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
const secret = value["secret"];
|
|
59
|
+
const periodInSeconds = value["periodInSeconds"];
|
|
60
|
+
return (typeof secret === "string" &&
|
|
61
|
+
secret.length >= exports.TOTP_MIN_SECRET_LENGTH &&
|
|
62
|
+
secret.length <= exports.TOTP_MAX_SECRET_LENGTH &&
|
|
63
|
+
BASE32_SECRET.test(secret) &&
|
|
64
|
+
exports.TOTP_ALGORITHMS.includes(value["algorithm"]) &&
|
|
65
|
+
exports.TOTP_DIGIT_LENGTHS.includes(value["digits"]) &&
|
|
66
|
+
typeof periodInSeconds === "number" &&
|
|
67
|
+
Number.isSafeInteger(periodInSeconds) &&
|
|
68
|
+
periodInSeconds >= 1 &&
|
|
69
|
+
periodInSeconds <= exports.TOTP_MAX_PERIOD_IN_SECONDS);
|
|
70
|
+
}
|
|
71
|
+
/*
|
|
72
|
+
* TOTP secrets as a monitor step carries them to the probe: only names and
|
|
73
|
+
* parameters that can make a code, copied field by field, and no more than
|
|
74
|
+
* a step may hold. Anything else is dropped rather than trusted.
|
|
75
|
+
*/
|
|
76
|
+
function readTotpSecrets(value) {
|
|
77
|
+
const secrets = {};
|
|
78
|
+
if (!isPlainObject(value)) {
|
|
79
|
+
return secrets;
|
|
80
|
+
}
|
|
81
|
+
for (const name of Object.keys(value)) {
|
|
82
|
+
if (Object.keys(secrets).length >= exports.MAX_TOTP_SECRETS_PER_STEP) {
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
const parameters = value[name];
|
|
86
|
+
if (!name ||
|
|
87
|
+
name.length > exports.MAX_TOTP_SECRET_NAME_LENGTH ||
|
|
88
|
+
!isTotpParameters(parameters)) {
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
secrets[name] = {
|
|
92
|
+
secret: parameters.secret,
|
|
93
|
+
algorithm: parameters.algorithm,
|
|
94
|
+
digits: parameters.digits,
|
|
95
|
+
periodInSeconds: parameters.periodInSeconds,
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
return secrets;
|
|
99
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import commonJsModule from "./TotpParameters.js";
|
|
2
|
+
export const MAX_TOTP_SECRETS_PER_STEP = commonJsModule.MAX_TOTP_SECRETS_PER_STEP;
|
|
3
|
+
export const MAX_TOTP_SECRET_NAME_LENGTH = commonJsModule.MAX_TOTP_SECRET_NAME_LENGTH;
|
|
4
|
+
export const TOTP_ALGORITHMS = commonJsModule.TOTP_ALGORITHMS;
|
|
5
|
+
export const TOTP_DEFAULT_ALGORITHM = commonJsModule.TOTP_DEFAULT_ALGORITHM;
|
|
6
|
+
export const TOTP_DEFAULT_DIGITS = commonJsModule.TOTP_DEFAULT_DIGITS;
|
|
7
|
+
export const TOTP_DEFAULT_PERIOD_IN_SECONDS = commonJsModule.TOTP_DEFAULT_PERIOD_IN_SECONDS;
|
|
8
|
+
export const TOTP_DIGIT_LENGTHS = commonJsModule.TOTP_DIGIT_LENGTHS;
|
|
9
|
+
export const TOTP_MAX_PERIOD_IN_SECONDS = commonJsModule.TOTP_MAX_PERIOD_IN_SECONDS;
|
|
10
|
+
export const TOTP_MAX_SECRET_LENGTH = commonJsModule.TOTP_MAX_SECRET_LENGTH;
|
|
11
|
+
export const TOTP_MIN_SECRET_LENGTH = commonJsModule.TOTP_MIN_SECRET_LENGTH;
|
|
12
|
+
export const TotpAlgorithm = commonJsModule.TotpAlgorithm;
|
|
13
|
+
export const isTotpParameters = commonJsModule.isTotpParameters;
|
|
14
|
+
export const readTotpSecrets = commonJsModule.readTotpSecrets;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import Dictionary from "../../Types/Dictionary.mjs";
|
|
2
|
+
import { TOTP_ALGORITHMS, TOTP_DEFAULT_ALGORITHM, TOTP_DEFAULT_DIGITS, TOTP_DEFAULT_PERIOD_IN_SECONDS, TOTP_DIGIT_LENGTHS, TOTP_MAX_PERIOD_IN_SECONDS, TOTP_MAX_SECRET_LENGTH, TOTP_MIN_SECRET_LENGTH, TotpAlgorithm, TotpParameters, isTotpParameters } from "./TotpParameters.mjs";
|
|
3
|
+
export { TOTP_ALGORITHMS, TOTP_DEFAULT_ALGORITHM, TOTP_DEFAULT_DIGITS, TOTP_DEFAULT_PERIOD_IN_SECONDS, TOTP_DIGIT_LENGTHS, TOTP_MAX_PERIOD_IN_SECONDS, TOTP_MAX_SECRET_LENGTH, TOTP_MIN_SECRET_LENGTH, TotpAlgorithm, isTotpParameters, };
|
|
4
|
+
export type { TotpParameters };
|
|
5
|
+
export declare const TOTP_MAX_INPUT_LENGTH: number;
|
|
6
|
+
export declare const TOTP_MINIMUM_VALIDITY_IN_MS: number;
|
|
7
|
+
export interface TotpSecretProblem {
|
|
8
|
+
template: string;
|
|
9
|
+
values: Dictionary<string>;
|
|
10
|
+
}
|
|
11
|
+
export type TotpSecretReading = {
|
|
12
|
+
parameters: TotpParameters;
|
|
13
|
+
problem?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
parameters?: undefined;
|
|
16
|
+
problem: TotpSecretProblem;
|
|
17
|
+
};
|
|
18
|
+
export interface TotpCodeWindow {
|
|
19
|
+
code: string;
|
|
20
|
+
startsAtInMs: number;
|
|
21
|
+
endsAtInMs: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const TOTP_SECRET_PROBLEMS: {
|
|
24
|
+
empty: string;
|
|
25
|
+
migrationLink: string;
|
|
26
|
+
counterLink: string;
|
|
27
|
+
unreadableLink: string;
|
|
28
|
+
linkWithoutSecret: string;
|
|
29
|
+
badCharacters: string;
|
|
30
|
+
tooShort: string;
|
|
31
|
+
tooLong: string;
|
|
32
|
+
unsupportedAlgorithm: string;
|
|
33
|
+
unsupportedDigits: string;
|
|
34
|
+
unsupportedPeriod: string;
|
|
35
|
+
};
|
|
36
|
+
export declare function writeTotpSecretProblem(problem: TotpSecretProblem): string;
|
|
37
|
+
export declare function readTotpSecret(value: unknown): TotpSecretReading;
|
|
38
|
+
export declare function writeStoredTotpSecret(parameters: TotpParameters): string;
|
|
39
|
+
export declare function generateTotpCode(parameters: TotpParameters, atInMs: number): string;
|
|
40
|
+
export declare function getTotpCodeWindow(parameters: TotpParameters, atInMs: number): TotpCodeWindow;
|
|
41
|
+
export declare function getTotpMinimumValidityInMs(periodInSeconds: number): number;
|
|
42
|
+
export declare function getTotpWaitInMs(parameters: TotpParameters, atInMs: number): number;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import Dictionary from "../../Types/Dictionary";
|
|
2
|
+
import { TOTP_ALGORITHMS, TOTP_DEFAULT_ALGORITHM, TOTP_DEFAULT_DIGITS, TOTP_DEFAULT_PERIOD_IN_SECONDS, TOTP_DIGIT_LENGTHS, TOTP_MAX_PERIOD_IN_SECONDS, TOTP_MAX_SECRET_LENGTH, TOTP_MIN_SECRET_LENGTH, TotpAlgorithm, TotpParameters, isTotpParameters } from "./TotpParameters";
|
|
3
|
+
export { TOTP_ALGORITHMS, TOTP_DEFAULT_ALGORITHM, TOTP_DEFAULT_DIGITS, TOTP_DEFAULT_PERIOD_IN_SECONDS, TOTP_DIGIT_LENGTHS, TOTP_MAX_PERIOD_IN_SECONDS, TOTP_MAX_SECRET_LENGTH, TOTP_MIN_SECRET_LENGTH, TotpAlgorithm, isTotpParameters, };
|
|
4
|
+
export type { TotpParameters };
|
|
5
|
+
export declare const TOTP_MAX_INPUT_LENGTH: number;
|
|
6
|
+
export declare const TOTP_MINIMUM_VALIDITY_IN_MS: number;
|
|
7
|
+
export interface TotpSecretProblem {
|
|
8
|
+
template: string;
|
|
9
|
+
values: Dictionary<string>;
|
|
10
|
+
}
|
|
11
|
+
export type TotpSecretReading = {
|
|
12
|
+
parameters: TotpParameters;
|
|
13
|
+
problem?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
parameters?: undefined;
|
|
16
|
+
problem: TotpSecretProblem;
|
|
17
|
+
};
|
|
18
|
+
export interface TotpCodeWindow {
|
|
19
|
+
code: string;
|
|
20
|
+
startsAtInMs: number;
|
|
21
|
+
endsAtInMs: number;
|
|
22
|
+
}
|
|
23
|
+
export declare const TOTP_SECRET_PROBLEMS: {
|
|
24
|
+
empty: string;
|
|
25
|
+
migrationLink: string;
|
|
26
|
+
counterLink: string;
|
|
27
|
+
unreadableLink: string;
|
|
28
|
+
linkWithoutSecret: string;
|
|
29
|
+
badCharacters: string;
|
|
30
|
+
tooShort: string;
|
|
31
|
+
tooLong: string;
|
|
32
|
+
unsupportedAlgorithm: string;
|
|
33
|
+
unsupportedDigits: string;
|
|
34
|
+
unsupportedPeriod: string;
|
|
35
|
+
};
|
|
36
|
+
export declare function writeTotpSecretProblem(problem: TotpSecretProblem): string;
|
|
37
|
+
export declare function readTotpSecret(value: unknown): TotpSecretReading;
|
|
38
|
+
export declare function writeStoredTotpSecret(parameters: TotpParameters): string;
|
|
39
|
+
export declare function generateTotpCode(parameters: TotpParameters, atInMs: number): string;
|
|
40
|
+
export declare function getTotpCodeWindow(parameters: TotpParameters, atInMs: number): TotpCodeWindow;
|
|
41
|
+
export declare function getTotpMinimumValidityInMs(periodInSeconds: number): number;
|
|
42
|
+
export declare function getTotpWaitInMs(parameters: TotpParameters, atInMs: number): number;
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.TOTP_SECRET_PROBLEMS = exports.TOTP_MINIMUM_VALIDITY_IN_MS = exports.TOTP_MAX_INPUT_LENGTH = exports.isTotpParameters = exports.TotpAlgorithm = exports.TOTP_MIN_SECRET_LENGTH = exports.TOTP_MAX_SECRET_LENGTH = exports.TOTP_MAX_PERIOD_IN_SECONDS = exports.TOTP_DIGIT_LENGTHS = exports.TOTP_DEFAULT_PERIOD_IN_SECONDS = exports.TOTP_DEFAULT_DIGITS = exports.TOTP_DEFAULT_ALGORITHM = exports.TOTP_ALGORITHMS = void 0;
|
|
37
|
+
exports.writeTotpSecretProblem = writeTotpSecretProblem;
|
|
38
|
+
exports.readTotpSecret = readTotpSecret;
|
|
39
|
+
exports.writeStoredTotpSecret = writeStoredTotpSecret;
|
|
40
|
+
exports.generateTotpCode = generateTotpCode;
|
|
41
|
+
exports.getTotpCodeWindow = getTotpCodeWindow;
|
|
42
|
+
exports.getTotpMinimumValidityInMs = getTotpMinimumValidityInMs;
|
|
43
|
+
exports.getTotpWaitInMs = getTotpWaitInMs;
|
|
44
|
+
const TotpParameters_1 = require("./TotpParameters");
|
|
45
|
+
Object.defineProperty(exports, "TOTP_ALGORITHMS", { enumerable: true, get: function () { return TotpParameters_1.TOTP_ALGORITHMS; } });
|
|
46
|
+
Object.defineProperty(exports, "TOTP_DEFAULT_ALGORITHM", { enumerable: true, get: function () { return TotpParameters_1.TOTP_DEFAULT_ALGORITHM; } });
|
|
47
|
+
Object.defineProperty(exports, "TOTP_DEFAULT_DIGITS", { enumerable: true, get: function () { return TotpParameters_1.TOTP_DEFAULT_DIGITS; } });
|
|
48
|
+
Object.defineProperty(exports, "TOTP_DEFAULT_PERIOD_IN_SECONDS", { enumerable: true, get: function () { return TotpParameters_1.TOTP_DEFAULT_PERIOD_IN_SECONDS; } });
|
|
49
|
+
Object.defineProperty(exports, "TOTP_DIGIT_LENGTHS", { enumerable: true, get: function () { return TotpParameters_1.TOTP_DIGIT_LENGTHS; } });
|
|
50
|
+
Object.defineProperty(exports, "TOTP_MAX_PERIOD_IN_SECONDS", { enumerable: true, get: function () { return TotpParameters_1.TOTP_MAX_PERIOD_IN_SECONDS; } });
|
|
51
|
+
Object.defineProperty(exports, "TOTP_MAX_SECRET_LENGTH", { enumerable: true, get: function () { return TotpParameters_1.TOTP_MAX_SECRET_LENGTH; } });
|
|
52
|
+
Object.defineProperty(exports, "TOTP_MIN_SECRET_LENGTH", { enumerable: true, get: function () { return TotpParameters_1.TOTP_MIN_SECRET_LENGTH; } });
|
|
53
|
+
Object.defineProperty(exports, "TotpAlgorithm", { enumerable: true, get: function () { return TotpParameters_1.TotpAlgorithm; } });
|
|
54
|
+
Object.defineProperty(exports, "isTotpParameters", { enumerable: true, get: function () { return TotpParameters_1.isTotpParameters; } });
|
|
55
|
+
const OTPAuth = __importStar(require("otpauth"));
|
|
56
|
+
// A link with a long label and issuer still fits many times over.
|
|
57
|
+
exports.TOTP_MAX_INPUT_LENGTH = 8192;
|
|
58
|
+
/*
|
|
59
|
+
* The least time a code still has when it is handed out: five seconds, or a
|
|
60
|
+
* third of the period when the period is short. A code with less left could
|
|
61
|
+
* expire between being typed and being checked, so the code of the next
|
|
62
|
+
* period is waited for instead - five seconds at most.
|
|
63
|
+
*/
|
|
64
|
+
exports.TOTP_MINIMUM_VALIDITY_IN_MS = 5000;
|
|
65
|
+
/*
|
|
66
|
+
* Marks a sentence the Dashboard's extractor reads into its locales: the
|
|
67
|
+
* same marker as Common/UI/Utils/TranslateTemplate's translationKey, kept
|
|
68
|
+
* here so the server and the probe, which read this file too, never load
|
|
69
|
+
* the Dashboard's translator.
|
|
70
|
+
*/
|
|
71
|
+
const translationKey = (text) => {
|
|
72
|
+
return text;
|
|
73
|
+
};
|
|
74
|
+
/*
|
|
75
|
+
* The problems, as English templates. They are Dashboard keys too, so each
|
|
76
|
+
* is written out whole here, where the extractor reads it.
|
|
77
|
+
*/
|
|
78
|
+
exports.TOTP_SECRET_PROBLEMS = {
|
|
79
|
+
empty: translationKey("Enter the setup key or the otpauth:// link from the site's two-factor setup."),
|
|
80
|
+
migrationLink: translationKey("This is an authenticator app's export link, which can hold several accounts. Paste the account's own otpauth://totp/ link or its setup key instead."),
|
|
81
|
+
counterLink: translationKey("This link is for counter-based codes (HOTP). A monitor needs a time-based link, which starts with otpauth://totp/."),
|
|
82
|
+
unreadableLink: translationKey("This otpauth:// link cannot be read. Paste the whole link, which starts with otpauth://totp/, or only the setup key."),
|
|
83
|
+
linkWithoutSecret: translationKey("This link has no secret in it. Paste the whole otpauth://totp/ link, or only the setup key."),
|
|
84
|
+
badCharacters: translationKey("A setup key has only the letters A to Z and the digits 2 to 7, and this one has {{characters}}. Check for a 0 that should be an O, or a 1 or 8 that should be an I or a B."),
|
|
85
|
+
tooShort: translationKey("This setup key is too short: a setup key has at least {{minimum}} characters. Check that you copied all of it."),
|
|
86
|
+
tooLong: translationKey("This setup key is longer than {{maximum}} characters, longer than any site's. Check that you pasted only the key."),
|
|
87
|
+
unsupportedAlgorithm: translationKey("This link asks for the {{algorithm}} algorithm. A monitor can make codes with SHA1, SHA256 or SHA512."),
|
|
88
|
+
unsupportedDigits: translationKey("This link asks for codes of {{digits}} digits. A monitor can make codes of 6 or 8 digits."),
|
|
89
|
+
unsupportedPeriod: translationKey("This link asks for a new code every {{period}} seconds. The period must be a whole number of seconds from 1 to 3600."),
|
|
90
|
+
};
|
|
91
|
+
const BASE32_CHARACTER = /^[A-Z2-7]$/;
|
|
92
|
+
// What an app drops from a key before reading it: spaces, hyphens, padding.
|
|
93
|
+
const KEY_SEPARATORS = /[\s-]+/g;
|
|
94
|
+
const TRAILING_PADDING = /[=]+$/;
|
|
95
|
+
const WHOLE_NUMBER = /^\d+$/;
|
|
96
|
+
/*
|
|
97
|
+
* otpauth://TYPE/LABEL?QUERY#FRAGMENT. The label may hold anything but a
|
|
98
|
+
* "?" or a "#"; it is not read.
|
|
99
|
+
*/
|
|
100
|
+
const OTPAUTH_LINK = /^otpauth:\/\/([^/?#]*)(?:\/[^?#]*)?(?:\?([^#]*))?(?:#.*)?$/i;
|
|
101
|
+
// The label the canonical form is stored under. It is never read back.
|
|
102
|
+
const STORED_LABEL = "OneUptime";
|
|
103
|
+
// How many of a key's bad characters a problem names.
|
|
104
|
+
const MAX_NAMED_BAD_CHARACTERS = 5;
|
|
105
|
+
function problemOf(template, values = {}) {
|
|
106
|
+
return { problem: { template, values } };
|
|
107
|
+
}
|
|
108
|
+
function problemOrUnreadable(reading) {
|
|
109
|
+
return {
|
|
110
|
+
problem: reading.problem || {
|
|
111
|
+
template: exports.TOTP_SECRET_PROBLEMS.unreadableLink,
|
|
112
|
+
values: {},
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
// A problem's sentence in English, its values filled in: a server's refusal.
|
|
117
|
+
function writeTotpSecretProblem(problem) {
|
|
118
|
+
return problem.template.replace(/\{\{(\w+)\}\}/g, (whole, name) => {
|
|
119
|
+
const value = problem.values[name];
|
|
120
|
+
return value === undefined ? whole : value;
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/*
|
|
124
|
+
* A setup key as an app reads it, or the problem with it. emptyProblem is
|
|
125
|
+
* what an empty key means: a link without one says so, a bare value that is
|
|
126
|
+
* empty asks for a key.
|
|
127
|
+
*/
|
|
128
|
+
function readSecret(value, emptyProblem) {
|
|
129
|
+
const secret = value
|
|
130
|
+
.replace(KEY_SEPARATORS, "")
|
|
131
|
+
.toUpperCase()
|
|
132
|
+
.replace(TRAILING_PADDING, "");
|
|
133
|
+
if (!secret) {
|
|
134
|
+
return problemOf(emptyProblem);
|
|
135
|
+
}
|
|
136
|
+
const badCharacters = [];
|
|
137
|
+
for (const character of Array.from(secret)) {
|
|
138
|
+
if (!BASE32_CHARACTER.test(character)) {
|
|
139
|
+
if (!badCharacters.includes(character)) {
|
|
140
|
+
badCharacters.push(character);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (badCharacters.length > 0) {
|
|
145
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.badCharacters, {
|
|
146
|
+
characters: badCharacters.slice(0, MAX_NAMED_BAD_CHARACTERS).join(", "),
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
if (secret.length < TotpParameters_1.TOTP_MIN_SECRET_LENGTH) {
|
|
150
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.tooShort, {
|
|
151
|
+
minimum: String(TotpParameters_1.TOTP_MIN_SECRET_LENGTH),
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
if (secret.length > TotpParameters_1.TOTP_MAX_SECRET_LENGTH) {
|
|
155
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.tooLong, {
|
|
156
|
+
maximum: String(TotpParameters_1.TOTP_MAX_SECRET_LENGTH),
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
return { secret };
|
|
160
|
+
}
|
|
161
|
+
/*
|
|
162
|
+
* "SHA256", "sha256" and "SHA-256" are the same algorithm; the link names
|
|
163
|
+
* it as its issuer wrote it.
|
|
164
|
+
*/
|
|
165
|
+
function readAlgorithm(value) {
|
|
166
|
+
if (value === null || value.trim() === "") {
|
|
167
|
+
return TotpParameters_1.TOTP_DEFAULT_ALGORITHM;
|
|
168
|
+
}
|
|
169
|
+
const name = value.trim().toUpperCase().replace(/-/g, "");
|
|
170
|
+
return (TotpParameters_1.TOTP_ALGORITHMS.find((algorithm) => {
|
|
171
|
+
return algorithm === name;
|
|
172
|
+
}) || null);
|
|
173
|
+
}
|
|
174
|
+
function readWholeNumber(value) {
|
|
175
|
+
const text = value.trim();
|
|
176
|
+
if (!WHOLE_NUMBER.test(text)) {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
const number = Number(text);
|
|
180
|
+
return Number.isSafeInteger(number) ? number : null;
|
|
181
|
+
}
|
|
182
|
+
function readLink(link) {
|
|
183
|
+
const match = OTPAUTH_LINK.exec(link);
|
|
184
|
+
if (!match) {
|
|
185
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unreadableLink);
|
|
186
|
+
}
|
|
187
|
+
const type = (match[1] || "").toLowerCase();
|
|
188
|
+
if (type === "hotp") {
|
|
189
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.counterLink);
|
|
190
|
+
}
|
|
191
|
+
if (type !== "totp") {
|
|
192
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unreadableLink);
|
|
193
|
+
}
|
|
194
|
+
let query;
|
|
195
|
+
try {
|
|
196
|
+
query = new URLSearchParams(match[2] || "");
|
|
197
|
+
}
|
|
198
|
+
catch (_a) {
|
|
199
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unreadableLink);
|
|
200
|
+
}
|
|
201
|
+
/*
|
|
202
|
+
* The parameter named exactly `secret` - never one that only ends in it -
|
|
203
|
+
* and the first of them, as every app reads a link.
|
|
204
|
+
*/
|
|
205
|
+
const secretReading = readSecret(query.get("secret") || "", exports.TOTP_SECRET_PROBLEMS.linkWithoutSecret);
|
|
206
|
+
if (secretReading.problem || !secretReading.secret) {
|
|
207
|
+
return problemOrUnreadable(secretReading);
|
|
208
|
+
}
|
|
209
|
+
const algorithmParameter = query.get("algorithm");
|
|
210
|
+
const algorithm = readAlgorithm(algorithmParameter);
|
|
211
|
+
if (!algorithm) {
|
|
212
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unsupportedAlgorithm, {
|
|
213
|
+
algorithm: (algorithmParameter || "").trim(),
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
const digitsParameter = query.get("digits");
|
|
217
|
+
let digits = TotpParameters_1.TOTP_DEFAULT_DIGITS;
|
|
218
|
+
if (digitsParameter !== null && digitsParameter.trim() !== "") {
|
|
219
|
+
const read = readWholeNumber(digitsParameter);
|
|
220
|
+
if (read === null || !TotpParameters_1.TOTP_DIGIT_LENGTHS.includes(read)) {
|
|
221
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unsupportedDigits, {
|
|
222
|
+
digits: digitsParameter.trim(),
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
digits = read;
|
|
226
|
+
}
|
|
227
|
+
const periodParameter = query.get("period");
|
|
228
|
+
let periodInSeconds = TotpParameters_1.TOTP_DEFAULT_PERIOD_IN_SECONDS;
|
|
229
|
+
if (periodParameter !== null && periodParameter.trim() !== "") {
|
|
230
|
+
const read = readWholeNumber(periodParameter);
|
|
231
|
+
if (read === null || read < 1 || read > TotpParameters_1.TOTP_MAX_PERIOD_IN_SECONDS) {
|
|
232
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.unsupportedPeriod, {
|
|
233
|
+
period: periodParameter.trim(),
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
periodInSeconds = read;
|
|
237
|
+
}
|
|
238
|
+
return {
|
|
239
|
+
parameters: {
|
|
240
|
+
secret: secretReading.secret,
|
|
241
|
+
algorithm,
|
|
242
|
+
digits,
|
|
243
|
+
periodInSeconds,
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
/*
|
|
248
|
+
* A setup key or an otpauth:// link, as a site's two-factor setup gives
|
|
249
|
+
* it, read into the parameters a code is made from - or what is wrong with
|
|
250
|
+
* it.
|
|
251
|
+
*/
|
|
252
|
+
function readTotpSecret(value) {
|
|
253
|
+
if (typeof value !== "string" || value.trim() === "") {
|
|
254
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.empty);
|
|
255
|
+
}
|
|
256
|
+
const text = value.trim();
|
|
257
|
+
if (text.length > exports.TOTP_MAX_INPUT_LENGTH) {
|
|
258
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.tooLong, {
|
|
259
|
+
maximum: String(TotpParameters_1.TOTP_MAX_SECRET_LENGTH),
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
const lowerCase = text.toLowerCase();
|
|
263
|
+
// Google Authenticator's "Transfer accounts" link: many accounts in one.
|
|
264
|
+
if (lowerCase.startsWith("otpauth-migration:")) {
|
|
265
|
+
return problemOf(exports.TOTP_SECRET_PROBLEMS.migrationLink);
|
|
266
|
+
}
|
|
267
|
+
if (lowerCase.startsWith("otpauth:")) {
|
|
268
|
+
return readLink(text);
|
|
269
|
+
}
|
|
270
|
+
const secretReading = readSecret(text, exports.TOTP_SECRET_PROBLEMS.empty);
|
|
271
|
+
if (secretReading.problem || !secretReading.secret) {
|
|
272
|
+
return problemOrUnreadable(secretReading);
|
|
273
|
+
}
|
|
274
|
+
return {
|
|
275
|
+
parameters: {
|
|
276
|
+
secret: secretReading.secret,
|
|
277
|
+
algorithm: TotpParameters_1.TOTP_DEFAULT_ALGORITHM,
|
|
278
|
+
digits: TotpParameters_1.TOTP_DEFAULT_DIGITS,
|
|
279
|
+
periodInSeconds: TotpParameters_1.TOTP_DEFAULT_PERIOD_IN_SECONDS,
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
/*
|
|
284
|
+
* The one form a TOTP secret is stored in, whatever was pasted: an otpauth
|
|
285
|
+
* link holding exactly the parameters codes are made from. Reading it back
|
|
286
|
+
* gives the same parameters, so what the probe reads never depends on how
|
|
287
|
+
* the secret was first written.
|
|
288
|
+
*/
|
|
289
|
+
function writeStoredTotpSecret(parameters) {
|
|
290
|
+
return `otpauth://totp/${STORED_LABEL}?secret=${parameters.secret}&algorithm=${parameters.algorithm}&digits=${parameters.digits}&period=${parameters.periodInSeconds}`;
|
|
291
|
+
}
|
|
292
|
+
// The code of the period a moment falls in (RFC 6238).
|
|
293
|
+
function generateTotpCode(parameters, atInMs) {
|
|
294
|
+
return OTPAuth.TOTP.generate({
|
|
295
|
+
secret: OTPAuth.Secret.fromBase32(parameters.secret),
|
|
296
|
+
algorithm: parameters.algorithm,
|
|
297
|
+
digits: parameters.digits,
|
|
298
|
+
period: parameters.periodInSeconds,
|
|
299
|
+
timestamp: atInMs,
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
// The code of the period a moment falls in, and when that period runs.
|
|
303
|
+
function getTotpCodeWindow(parameters, atInMs) {
|
|
304
|
+
const periodInMs = parameters.periodInSeconds * 1000;
|
|
305
|
+
const startsAtInMs = Math.floor(atInMs / periodInMs) * periodInMs;
|
|
306
|
+
return {
|
|
307
|
+
code: generateTotpCode(parameters, atInMs),
|
|
308
|
+
startsAtInMs,
|
|
309
|
+
endsAtInMs: startsAtInMs + periodInMs,
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
// See TOTP_MINIMUM_VALIDITY_IN_MS.
|
|
313
|
+
function getTotpMinimumValidityInMs(periodInSeconds) {
|
|
314
|
+
return Math.min(exports.TOTP_MINIMUM_VALIDITY_IN_MS, Math.floor((periodInSeconds * 1000) / 3));
|
|
315
|
+
}
|
|
316
|
+
/*
|
|
317
|
+
* How long to wait, at a moment, before the code handed out would still
|
|
318
|
+
* have its minimum validity left: nothing while the current code has
|
|
319
|
+
* enough time, the rest of its period when it is about to expire.
|
|
320
|
+
*/
|
|
321
|
+
function getTotpWaitInMs(parameters, atInMs) {
|
|
322
|
+
const periodInMs = parameters.periodInSeconds * 1000;
|
|
323
|
+
const remainingInMs = periodInMs - (atInMs % periodInMs);
|
|
324
|
+
return remainingInMs < getTotpMinimumValidityInMs(parameters.periodInSeconds)
|
|
325
|
+
? remainingInMs
|
|
326
|
+
: 0;
|
|
327
|
+
}
|