@oneuptime/common 14.0.109 → 14.0.110
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/SecurityEvent.js +1 -1
- package/Models/DatabaseModels/AIInsight.js +2 -2
- package/Models/DatabaseModels/Alert.js +2 -2
- package/Models/DatabaseModels/AlertEpisode.js +2 -2
- package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
- package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertSeverity.js +13 -4
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CallLog.js +12 -12
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/EmailLog.js +12 -12
- package/Models/DatabaseModels/FormSubmission.js +2 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +28 -0
- package/Models/DatabaseModels/Incident.js +2 -2
- package/Models/DatabaseModels/IncidentEpisode.js +2 -2
- package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
- package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentSeverity.js +13 -4
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplate.js +2 -2
- package/Models/DatabaseModels/Monitor.js +3 -3
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +41 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +9 -6
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
- package/Models/DatabaseModels/Project.d.mts +2 -0
- package/Models/DatabaseModels/Project.d.ts +2 -0
- package/Models/DatabaseModels/Project.js +96 -2
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
- package/Models/DatabaseModels/PushNotificationLog.js +12 -12
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +8 -2
- package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
- package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
- package/Models/DatabaseModels/Service.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
- package/Models/DatabaseModels/SmsLog.js +12 -12
- package/Models/DatabaseModels/StatusPage.js +5 -5
- package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
- package/Models/DatabaseModels/TelegramLog.js +12 -12
- package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
- package/Models/DatabaseModels/User.d.mts +4 -0
- package/Models/DatabaseModels/User.d.ts +4 -0
- package/Models/DatabaseModels/User.js +100 -0
- package/Models/DatabaseModels/UserOnCallLog.js +6 -6
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +3 -3
- package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
- package/Models/DatabaseModels/WebhookLog.js +12 -12
- package/Models/DatabaseModels/WhatsAppLog.js +12 -12
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
- package/Types/AI/AIChatTypes.d.mts +2 -1
- package/Types/AI/AIChatTypes.d.ts +2 -1
- package/Types/AI/AIChatTypes.js +5 -0
- package/Types/Analytics/ProductEvent.d.mts +6 -1
- package/Types/Analytics/ProductEvent.d.ts +6 -1
- package/Types/Analytics/ProductEvent.js +41 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +4 -2
- package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -3
- package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
- package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.js +102 -65
- package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
- package/Types/Database/TableMetadata.d.mts +2 -0
- package/Types/Database/TableMetadata.d.ts +2 -0
- package/Types/Database/TableMetadata.js +6 -0
- package/Types/Date.d.mts +20 -1
- package/Types/Date.d.ts +20 -1
- package/Types/Date.js +42 -2
- package/Types/DateLanguage.d.mts +2 -0
- package/Types/DateLanguage.d.ts +2 -0
- package/Types/DateLanguage.js +44 -2
- package/Types/DateLanguage.mjs +2 -0
- package/Types/DirectionArrow.d.mts +7 -0
- package/Types/DirectionArrow.d.ts +7 -0
- package/Types/DirectionArrow.js +88 -0
- package/Types/DirectionArrow.mjs +7 -0
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Docs/RetiredNames.d.mts +11 -0
- package/Types/Docs/RetiredNames.d.ts +11 -0
- package/Types/Docs/RetiredNames.js +139 -0
- package/Types/Docs/RetiredNames.mjs +3 -0
- package/Types/Exception/RefusalWithValues.d.mts +7 -0
- package/Types/Exception/RefusalWithValues.d.ts +7 -0
- package/Types/Exception/RefusalWithValues.js +76 -0
- package/Types/Exception/RefusalWithValues.mjs +3 -0
- package/Types/Exception/UnexplainedError.d.mts +13 -0
- package/Types/Exception/UnexplainedError.d.ts +13 -0
- package/Types/Exception/UnexplainedError.js +53 -1
- package/Types/Exception/UnexplainedError.mjs +1 -0
- package/Types/File/FileSize.d.mts +4 -1
- package/Types/File/FileSize.d.ts +4 -1
- package/Types/File/FileSize.js +18 -17
- package/Types/HostCollector/HostCollector.d.mts +1 -0
- package/Types/HostCollector/HostCollector.d.ts +1 -0
- package/Types/HostCollector/HostCollector.js +26 -10
- package/Types/HostCollector/HostCollector.mjs +1 -0
- package/Types/Monitor/MonitorCriteria.js +2 -2
- package/Types/Monitor/MonitorStep.js +1 -1
- package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
- package/Types/Monitor/WhoIsTold.d.mts +3 -1
- package/Types/Monitor/WhoIsTold.d.ts +3 -1
- package/Types/Monitor/WhoIsTold.js +2 -1
- package/Types/NotificationRule/PagingLadder.d.mts +137 -0
- package/Types/NotificationRule/PagingLadder.d.ts +137 -0
- package/Types/NotificationRule/PagingLadder.js +682 -0
- package/Types/NotificationRule/PagingLadder.mjs +28 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +96 -5
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
- package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
- package/Types/Permission.d.mts +2 -2
- package/Types/Permission.d.ts +2 -2
- package/Types/Permission.js +194 -193
- package/Types/Product/ProductCatalog.d.mts +10 -0
- package/Types/Product/ProductCatalog.d.ts +10 -0
- package/Types/Product/ProductCatalog.js +208 -0
- package/Types/Product/ProductCatalog.mjs +6 -0
- package/Types/Product/ProductOfTable.d.mts +3 -0
- package/Types/Product/ProductOfTable.d.ts +3 -0
- package/Types/Product/ProductOfTable.js +68 -0
- package/Types/Product/ProductOfTable.mjs +3 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +3 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +3 -0
- package/Types/Product/ProjectProductsAnswer.js +35 -2
- package/Types/Product/ProjectProductsAnswer.mjs +1 -0
- package/Types/Product/ServerProducts.d.mts +65 -0
- package/Types/Product/ServerProducts.d.ts +65 -0
- package/Types/Product/ServerProducts.js +383 -0
- package/Types/Product/ServerProducts.mjs +26 -0
- package/Types/Product/ServerProductsAnswer.d.mts +21 -0
- package/Types/Product/ServerProductsAnswer.d.ts +21 -0
- package/Types/Product/ServerProductsAnswer.js +78 -0
- package/Types/Product/ServerProductsAnswer.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +3 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +3 -1
- package/Types/ProductFeedback/ProductFeedback.js +8 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
- package/Types/SampleProject/SampleProject.d.mts +54 -0
- package/Types/SampleProject/SampleProject.d.ts +54 -0
- package/Types/SampleProject/SampleProject.js +177 -0
- package/Types/SampleProject/SampleProject.mjs +22 -0
- package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
- package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
- package/Types/SampleProject/SampleProjectContent.js +397 -0
- package/Types/SampleProject/SampleProjectContent.mjs +18 -0
- package/Types/Telemetry/TelemetryIngestSurface.js +6 -5
- package/Types/Translator.d.mts +1 -0
- package/Types/Translator.d.ts +1 -0
- package/Types/Translator.js +40 -2
- package/Types/Translator.mjs +1 -0
- package/Types/UsedBy/UsedBy.d.mts +103 -0
- package/Types/UsedBy/UsedBy.d.ts +103 -0
- package/Types/UsedBy/UsedBy.js +389 -0
- package/Types/UsedBy/UsedBy.mjs +20 -0
- package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
- package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
- package/Types/UsedBy/UsedByServerProducts.js +48 -0
- package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +6 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +6 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +54 -2
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +3 -0
- package/Types/Workflow/PassedOnFields.js +2 -1
- package/Types/Workflow/Templates.js +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
- package/Utils/AI/MeaningMatch.d.mts +36 -0
- package/Utils/AI/MeaningMatch.d.ts +36 -0
- package/Utils/AI/MeaningMatch.js +535 -0
- package/Utils/AI/MeaningMatch.mjs +7 -0
- package/Utils/ArchivableValues.js +1 -1
- package/Utils/AuditLog/AuditLogValues.js +2 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
- package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
- package/Utils/DataSecurity/TextScanner.js +2 -2
- package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
- package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
- package/Utils/DeveloperDocs/CliCommands.js +2 -1
- package/Utils/DeveloperDocs/CliResources.js +2 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +8 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +8 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +1493 -131
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
- package/Utils/Markdown/MarkdownTableCell.js +2 -1
- package/Utils/Markdown/OverLongText.js +523 -5
- package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
- package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
- package/Utils/Markdown/SlowMarkdown.js +595 -11
- package/Utils/Markdown/SlowMarkdown.mjs +6 -0
- package/Utils/ModelApiName.d.mts +11 -0
- package/Utils/ModelApiName.d.ts +11 -0
- package/Utils/ModelApiName.js +72 -0
- package/Utils/ModelApiName.mjs +5 -0
- package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +3 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +3 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +35 -1
- package/Utils/Monitor/ExternalStatusPageReading.mjs +2 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
- package/Utils/OpenStack/OpenStackCheckName.js +2 -1
- package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
- package/Utils/OpenStack/OpenStackLogs.js +3 -2
- package/Utils/OpenStack/OpenStackTraces.js +2 -1
- package/Utils/Project/NotificationChannels.js +5 -5
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/TwilioAccount.js +2 -2
- package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
- package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
- package/Utils/ScheduledMaintenanceStart.js +9 -0
- package/Utils/Schema/ModelSchema.js +10 -1
- package/Utils/Uptime/UptimeMaintenanceUtil.js +2 -1
- package/Utils/ValueFormatter.d.mts +8 -6
- package/Utils/ValueFormatter.d.ts +8 -6
- package/Utils/ValueFormatter.js +145 -0
- package/package.json +1 -1
|
@@ -796,8 +796,8 @@ __decorate([
|
|
|
796
796
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
797
797
|
type: TableColumnType_1.default.Entity,
|
|
798
798
|
modelType: OnCallDutyPolicy_1.default,
|
|
799
|
-
title: "On-Call
|
|
800
|
-
description: "On-Call
|
|
799
|
+
title: "On-Call Policy",
|
|
800
|
+
description: "On-Call Policy associated with this message (if any)",
|
|
801
801
|
}),
|
|
802
802
|
(0, typeorm_1.ManyToOne)(() => {
|
|
803
803
|
return OnCallDutyPolicy_1.default;
|
|
@@ -827,8 +827,8 @@ __decorate([
|
|
|
827
827
|
type: TableColumnType_1.default.ObjectID,
|
|
828
828
|
required: false,
|
|
829
829
|
canReadOnRelationQuery: true,
|
|
830
|
-
title: "On-Call
|
|
831
|
-
description: "ID of On-Call
|
|
830
|
+
title: "On-Call Policy ID",
|
|
831
|
+
description: "ID of On-Call Policy associated with this message (if any)",
|
|
832
832
|
}),
|
|
833
833
|
(0, typeorm_1.Column)({
|
|
834
834
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -853,8 +853,8 @@ __decorate([
|
|
|
853
853
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
854
854
|
type: TableColumnType_1.default.Entity,
|
|
855
855
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
856
|
-
title: "On-Call
|
|
857
|
-
description: "On-Call
|
|
856
|
+
title: "On-Call Policy Escalation Rule",
|
|
857
|
+
description: "On-Call Policy Escalation Rule associated with this message (if any)",
|
|
858
858
|
}),
|
|
859
859
|
(0, typeorm_1.ManyToOne)(() => {
|
|
860
860
|
return OnCallDutyPolicyEscalationRule_1.default;
|
|
@@ -884,8 +884,8 @@ __decorate([
|
|
|
884
884
|
type: TableColumnType_1.default.ObjectID,
|
|
885
885
|
required: false,
|
|
886
886
|
canReadOnRelationQuery: true,
|
|
887
|
-
title: "On-Call
|
|
888
|
-
description: "ID of On-Call
|
|
887
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
888
|
+
description: "ID of On-Call Policy Escalation Rule associated with this message (if any)",
|
|
889
889
|
}),
|
|
890
890
|
(0, typeorm_1.Column)({
|
|
891
891
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -910,8 +910,8 @@ __decorate([
|
|
|
910
910
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
911
911
|
type: TableColumnType_1.default.Entity,
|
|
912
912
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
913
|
-
title: "On-Call
|
|
914
|
-
description: "On-Call
|
|
913
|
+
title: "On-Call Schedule",
|
|
914
|
+
description: "On-Call Schedule associated with this message (if any)",
|
|
915
915
|
}),
|
|
916
916
|
(0, typeorm_1.ManyToOne)(() => {
|
|
917
917
|
return OnCallDutyPolicySchedule_1.default;
|
|
@@ -941,8 +941,8 @@ __decorate([
|
|
|
941
941
|
type: TableColumnType_1.default.ObjectID,
|
|
942
942
|
required: false,
|
|
943
943
|
canReadOnRelationQuery: true,
|
|
944
|
-
title: "On-Call
|
|
945
|
-
description: "ID of On-Call
|
|
944
|
+
title: "On-Call Schedule ID",
|
|
945
|
+
description: "ID of On-Call Schedule associated with this message (if any)",
|
|
946
946
|
}),
|
|
947
947
|
(0, typeorm_1.Column)({
|
|
948
948
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -390,8 +390,8 @@ __decorate([
|
|
|
390
390
|
type: TableColumnType_1.default.ObjectID,
|
|
391
391
|
isDefaultValueColumn: false,
|
|
392
392
|
computed: true,
|
|
393
|
-
title: "
|
|
394
|
-
description: "Secret
|
|
393
|
+
title: "Ingestion Key",
|
|
394
|
+
description: "Secret ingestion key",
|
|
395
395
|
example: "c3d4e5f6-a7b8-9012-cdef-123456789012",
|
|
396
396
|
}),
|
|
397
397
|
(0, typeorm_1.Column)({
|
|
@@ -807,10 +807,13 @@ TelemetryIngestionKey = __decorate([
|
|
|
807
807
|
}),
|
|
808
808
|
(0, TableMetadata_1.default)({
|
|
809
809
|
tableName: "TelemetryIngestionKey",
|
|
810
|
-
singularName: "
|
|
811
|
-
pluralName: "
|
|
810
|
+
singularName: "Ingestion Key",
|
|
811
|
+
pluralName: "Ingestion Keys",
|
|
812
|
+
// Was "Telemetry Ingestion Key" (#6817): oneuptime_telemetry_ingestion_key stays.
|
|
813
|
+
apiSingularName: "Telemetry Ingestion Key",
|
|
814
|
+
apiPluralName: "Telemetry Ingestion Keys",
|
|
812
815
|
icon: IconProp_1.default.Code,
|
|
813
|
-
tableDescription: "Manage
|
|
816
|
+
tableDescription: "Manage ingestion keys for your project",
|
|
814
817
|
})
|
|
815
818
|
], TelemetryIngestionKey);
|
|
816
819
|
exports.default = TelemetryIngestionKey;
|
|
@@ -111,7 +111,7 @@ __decorate([
|
|
|
111
111
|
manyToOneRelationColumn: "telemetryIngestionKeyId",
|
|
112
112
|
type: TableColumnType_1.default.Entity,
|
|
113
113
|
modelType: TelemetryIngestionKey_1.default,
|
|
114
|
-
title: "
|
|
114
|
+
title: "Ingestion Key",
|
|
115
115
|
description: "The ingestion key the refused telemetry was sent with.",
|
|
116
116
|
}),
|
|
117
117
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
type: TableColumnType_1.default.ObjectID,
|
|
133
133
|
required: true,
|
|
134
134
|
canReadOnRelationQuery: true,
|
|
135
|
-
title: "
|
|
135
|
+
title: "Ingestion Key ID",
|
|
136
136
|
description: "ID of the ingestion key the refused telemetry was sent with.",
|
|
137
137
|
}),
|
|
138
138
|
(0, typeorm_1.Column)({
|
|
@@ -282,8 +282,11 @@ TelemetryIngestionKeyRefusal = __decorate([
|
|
|
282
282
|
(0, CrudApiEndpoint_1.default)(new Route_1.default("/telemetry-ingestion-key-refusal")),
|
|
283
283
|
(0, TableMetadata_1.default)({
|
|
284
284
|
tableName: "TelemetryIngestionKeyRefusal",
|
|
285
|
-
singularName: "
|
|
286
|
-
pluralName: "
|
|
285
|
+
singularName: "Ingestion Key Refusal",
|
|
286
|
+
pluralName: "Ingestion Key Refusals",
|
|
287
|
+
// Was "Telemetry Ingestion Key Refusal" (#6817): its CLI name stays.
|
|
288
|
+
apiSingularName: "Telemetry Ingestion Key Refusal",
|
|
289
|
+
apiPluralName: "Telemetry Ingestion Key Refusals",
|
|
287
290
|
icon: IconProp_1.default.Code,
|
|
288
291
|
tableDescription: "Telemetry the ingest endpoints refused, counted per ingestion key, reason and ingest surface: how many requests, and when the first and the latest were refused. Written by the ingest endpoints; not user-editable.",
|
|
289
292
|
}),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File.mjs";
|
|
2
|
+
import Project from "./Project.mjs";
|
|
2
3
|
import UserModel from "./DatabaseBaseModel/UserModel.mjs";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize.mjs";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole.mjs";
|
|
@@ -65,6 +66,9 @@ declare class User extends UserModel {
|
|
|
65
66
|
deletedByUserId?: ObjectID;
|
|
66
67
|
enableTwoFactorAuth?: boolean;
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
69
|
+
disableDashboardRecording?: boolean;
|
|
68
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
69
73
|
}
|
|
70
74
|
export default User;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File";
|
|
2
|
+
import Project from "./Project";
|
|
2
3
|
import UserModel from "../../Models/DatabaseModels/DatabaseBaseModel/UserModel";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole";
|
|
@@ -65,6 +66,9 @@ declare class User extends UserModel {
|
|
|
65
66
|
deletedByUserId?: ObjectID;
|
|
66
67
|
enableTwoFactorAuth?: boolean;
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
69
|
+
disableDashboardRecording?: boolean;
|
|
68
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
69
73
|
}
|
|
70
74
|
export default User;
|
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const File_1 = __importDefault(require("./File"));
|
|
16
|
+
const Project_1 = __importDefault(require("./Project"));
|
|
16
17
|
const UserModel_1 = __importDefault(require("../../Models/DatabaseModels/DatabaseBaseModel/UserModel"));
|
|
17
18
|
const Route_1 = __importDefault(require("../../Types/API/Route"));
|
|
18
19
|
const CompanySize_1 = __importDefault(require("../../Types/Company/CompanySize"));
|
|
@@ -157,6 +158,15 @@ let User = class User extends UserModel_1.default {
|
|
|
157
158
|
* person opens it.
|
|
158
159
|
*/
|
|
159
160
|
this.disableFeedbackQuestions = undefined;
|
|
161
|
+
/*
|
|
162
|
+
* "Record how I use the setup pages" (issue #6834), on while this is
|
|
163
|
+
* false: on OneUptime Cloud, and only once the person pressed "Accept
|
|
164
|
+
* all", OneUptime may record their use of the Dashboard's first-run
|
|
165
|
+
* pages, with everything typed or stored masked. Their own to switch off,
|
|
166
|
+
* on User Profile beside the feedback questions. A self-hosted server
|
|
167
|
+
* never records anybody, whatever this says.
|
|
168
|
+
*/
|
|
169
|
+
this.disableDashboardRecording = undefined;
|
|
160
170
|
/*
|
|
161
171
|
* The questions OneUptime asked this person, and when: question key
|
|
162
172
|
* (`setup_flow:website_down`, `check_in:<project id>`) to an ISO date
|
|
@@ -165,6 +175,28 @@ let User = class User extends UserModel_1.default {
|
|
|
165
175
|
* (ProductFeedbackService, as root), when it asks.
|
|
166
176
|
*/
|
|
167
177
|
this.feedbackQuestionsAsked = undefined;
|
|
178
|
+
/*
|
|
179
|
+
* The sample project this person was made up for (issue #6808): one of
|
|
180
|
+
* the "sample people" who staff its on-call policy and own its
|
|
181
|
+
* incidents. Not a real person, and never one:
|
|
182
|
+
*
|
|
183
|
+
* - they can never sign in: blocked, with no password and an address
|
|
184
|
+
* on the reserved .invalid domain (SamplePeople), which every
|
|
185
|
+
* sign-in path and MailService refuse;
|
|
186
|
+
* - they are members of their sample project only, written without
|
|
187
|
+
* hooks, so no invitation, notification method or rule is made for
|
|
188
|
+
* them, and TeamMemberService refuses them in any other project;
|
|
189
|
+
* - they are left out of every count of people on the server: the
|
|
190
|
+
* license's seats, its user-count report and the self-hosted
|
|
191
|
+
* marketplace's user-hours;
|
|
192
|
+
* - the database deletes them with the project (ON DELETE CASCADE),
|
|
193
|
+
* whatever deletes it.
|
|
194
|
+
*
|
|
195
|
+
* Null for everyone real. Written by OneUptime only, as root, when the
|
|
196
|
+
* sample is made (SampleProjectService), and never read through the API.
|
|
197
|
+
*/
|
|
198
|
+
this.sampleProject = undefined;
|
|
199
|
+
this.sampleProjectId = undefined;
|
|
168
200
|
}
|
|
169
201
|
};
|
|
170
202
|
__decorate([
|
|
@@ -1160,6 +1192,25 @@ __decorate([
|
|
|
1160
1192
|
}),
|
|
1161
1193
|
__metadata("design:type", Boolean)
|
|
1162
1194
|
], User.prototype, "disableFeedbackQuestions", void 0);
|
|
1195
|
+
__decorate([
|
|
1196
|
+
(0, ColumnAccessControl_1.default)({
|
|
1197
|
+
create: [],
|
|
1198
|
+
read: [Permission_1.default.CurrentUser],
|
|
1199
|
+
update: [Permission_1.default.CurrentUser],
|
|
1200
|
+
}),
|
|
1201
|
+
(0, TableColumn_1.default)({
|
|
1202
|
+
title: "Disable Dashboard Recording",
|
|
1203
|
+
description: "When true, OneUptime never records how this person uses the dashboard. Recording happens only on OneUptime Cloud, only for people who accepted analytics, and only on the setup pages, with what they type or store masked.",
|
|
1204
|
+
type: TableColumnType_1.default.Boolean,
|
|
1205
|
+
defaultValue: false,
|
|
1206
|
+
}),
|
|
1207
|
+
(0, typeorm_1.Column)({
|
|
1208
|
+
type: ColumnType_1.default.Boolean,
|
|
1209
|
+
nullable: true,
|
|
1210
|
+
default: false,
|
|
1211
|
+
}),
|
|
1212
|
+
__metadata("design:type", Boolean)
|
|
1213
|
+
], User.prototype, "disableDashboardRecording", void 0);
|
|
1163
1214
|
__decorate([
|
|
1164
1215
|
(0, ColumnAccessControl_1.default)({
|
|
1165
1216
|
create: [],
|
|
@@ -1177,6 +1228,55 @@ __decorate([
|
|
|
1177
1228
|
}),
|
|
1178
1229
|
__metadata("design:type", Object)
|
|
1179
1230
|
], User.prototype, "feedbackQuestionsAsked", void 0);
|
|
1231
|
+
__decorate([
|
|
1232
|
+
(0, ColumnAccessControl_1.default)({
|
|
1233
|
+
create: [],
|
|
1234
|
+
read: [],
|
|
1235
|
+
update: [],
|
|
1236
|
+
}),
|
|
1237
|
+
(0, TableColumn_1.default)({
|
|
1238
|
+
manyToOneRelationColumn: "sampleProjectId",
|
|
1239
|
+
type: TableColumnType_1.default.Entity,
|
|
1240
|
+
// Lazy: Project imports User back (see modelTypeThunk).
|
|
1241
|
+
modelTypeThunk: () => {
|
|
1242
|
+
return Project_1.default;
|
|
1243
|
+
},
|
|
1244
|
+
title: "Sample Project",
|
|
1245
|
+
description: "The sample project this made-up person belongs to. Set only for the sample people of a sample project.",
|
|
1246
|
+
hideColumnInDocumentation: true,
|
|
1247
|
+
}),
|
|
1248
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
1249
|
+
return Project_1.default;
|
|
1250
|
+
}, {
|
|
1251
|
+
eager: false,
|
|
1252
|
+
nullable: true,
|
|
1253
|
+
onDelete: "CASCADE",
|
|
1254
|
+
orphanedRowAction: "delete",
|
|
1255
|
+
}),
|
|
1256
|
+
(0, typeorm_1.JoinColumn)({ name: "sampleProjectId" }),
|
|
1257
|
+
__metadata("design:type", Project_1.default)
|
|
1258
|
+
], User.prototype, "sampleProject", void 0);
|
|
1259
|
+
__decorate([
|
|
1260
|
+
(0, ColumnAccessControl_1.default)({
|
|
1261
|
+
create: [],
|
|
1262
|
+
read: [],
|
|
1263
|
+
update: [],
|
|
1264
|
+
}),
|
|
1265
|
+
(0, typeorm_1.Index)(),
|
|
1266
|
+
(0, TableColumn_1.default)({
|
|
1267
|
+
type: TableColumnType_1.default.ObjectID,
|
|
1268
|
+
title: "Sample Project ID",
|
|
1269
|
+
description: "ID of the sample project this made-up person belongs to. Set only for the sample people of a sample project.",
|
|
1270
|
+
hideColumnInDocumentation: true,
|
|
1271
|
+
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
1272
|
+
}),
|
|
1273
|
+
(0, typeorm_1.Column)({
|
|
1274
|
+
type: ColumnType_1.default.ObjectID,
|
|
1275
|
+
nullable: true,
|
|
1276
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
1277
|
+
}),
|
|
1278
|
+
__metadata("design:type", ObjectID_1.default)
|
|
1279
|
+
], User.prototype, "sampleProjectId", void 0);
|
|
1180
1280
|
User = __decorate([
|
|
1181
1281
|
(0, EnableDocumentation_1.default)({
|
|
1182
1282
|
isMasterAdminApiDocs: true,
|
|
@@ -387,7 +387,7 @@ __decorate([
|
|
|
387
387
|
type: TableColumnType_1.default.Entity,
|
|
388
388
|
modelType: Incident_1.default,
|
|
389
389
|
title: "Triggered By Incident",
|
|
390
|
-
description: "Relation to Incident which triggered this on-call
|
|
390
|
+
description: "Relation to Incident which triggered this on-call policy.",
|
|
391
391
|
}),
|
|
392
392
|
(0, typeorm_1.ManyToOne)(() => {
|
|
393
393
|
return Incident_1.default;
|
|
@@ -438,7 +438,7 @@ __decorate([
|
|
|
438
438
|
type: TableColumnType_1.default.Entity,
|
|
439
439
|
modelType: Alert_1.default,
|
|
440
440
|
title: "Triggered By Alert",
|
|
441
|
-
description: "Relation to Alert which triggered this on-call
|
|
441
|
+
description: "Relation to Alert which triggered this on-call policy.",
|
|
442
442
|
}),
|
|
443
443
|
(0, typeorm_1.ManyToOne)(() => {
|
|
444
444
|
return Alert_1.default;
|
|
@@ -489,7 +489,7 @@ __decorate([
|
|
|
489
489
|
type: TableColumnType_1.default.Entity,
|
|
490
490
|
modelType: AlertEpisode_1.default,
|
|
491
491
|
title: "Triggered By Alert Episode",
|
|
492
|
-
description: "Relation to Alert Episode which triggered this on-call
|
|
492
|
+
description: "Relation to Alert Episode which triggered this on-call policy.",
|
|
493
493
|
}),
|
|
494
494
|
(0, typeorm_1.ManyToOne)(() => {
|
|
495
495
|
return AlertEpisode_1.default;
|
|
@@ -540,7 +540,7 @@ __decorate([
|
|
|
540
540
|
type: TableColumnType_1.default.Entity,
|
|
541
541
|
modelType: IncidentEpisode_1.default,
|
|
542
542
|
title: "Triggered By Incident Episode",
|
|
543
|
-
description: "Relation to Incident Episode which triggered this on-call
|
|
543
|
+
description: "Relation to Incident Episode which triggered this on-call policy.",
|
|
544
544
|
}),
|
|
545
545
|
(0, typeorm_1.ManyToOne)(() => {
|
|
546
546
|
return IncidentEpisode_1.default;
|
|
@@ -871,7 +871,7 @@ __decorate([
|
|
|
871
871
|
manyToOneRelationColumn: "onCallDutyScheduleId",
|
|
872
872
|
type: TableColumnType_1.default.Entity,
|
|
873
873
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
874
|
-
title: "On
|
|
874
|
+
title: "On-Call Schedule",
|
|
875
875
|
description: "Which schedule did the user belong to when the alert was sent?",
|
|
876
876
|
}),
|
|
877
877
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -893,7 +893,7 @@ __decorate([
|
|
|
893
893
|
}),
|
|
894
894
|
(0, TableColumn_1.default)({
|
|
895
895
|
type: TableColumnType_1.default.ObjectID,
|
|
896
|
-
title: "On
|
|
896
|
+
title: "On-Call Schedule ID",
|
|
897
897
|
description: "Which schedule ID did the user belong to when the alert was sent?",
|
|
898
898
|
example: "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
|
|
899
899
|
}),
|
|
@@ -345,7 +345,7 @@ __decorate([
|
|
|
345
345
|
type: TableColumnType_1.default.Entity,
|
|
346
346
|
modelType: OnCallDutyPolicy_1.default,
|
|
347
347
|
title: "OnCallDutyPolicy",
|
|
348
|
-
description: "Relation to on-call
|
|
348
|
+
description: "Relation to the on-call policy this object belongs to",
|
|
349
349
|
}),
|
|
350
350
|
(0, typeorm_1.ManyToOne)(() => {
|
|
351
351
|
return OnCallDutyPolicy_1.default;
|
|
@@ -368,8 +368,8 @@ __decorate([
|
|
|
368
368
|
(0, TableColumn_1.default)({
|
|
369
369
|
type: TableColumnType_1.default.ObjectID,
|
|
370
370
|
canReadOnRelationQuery: true,
|
|
371
|
-
title: "
|
|
372
|
-
description: "ID of your OneUptime on-call
|
|
371
|
+
title: "On-Call Policy ID",
|
|
372
|
+
description: "ID of your OneUptime on-call policy in which this object belongs. Empty when the person was paged directly, without an on-call policy.",
|
|
373
373
|
}),
|
|
374
374
|
(0, typeorm_1.Column)({
|
|
375
375
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -195,7 +195,7 @@ __decorate([
|
|
|
195
195
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
196
196
|
type: TableColumnType_1.default.Entity,
|
|
197
197
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
198
|
-
title: "On-Call
|
|
198
|
+
title: "On-Call Schedule",
|
|
199
199
|
description: "Relation to the schedule the reminded shift is on.",
|
|
200
200
|
}),
|
|
201
201
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -220,7 +220,7 @@ __decorate([
|
|
|
220
220
|
type: TableColumnType_1.default.ObjectID,
|
|
221
221
|
required: true,
|
|
222
222
|
canReadOnRelationQuery: true,
|
|
223
|
-
title: "On-Call
|
|
223
|
+
title: "On-Call Schedule ID",
|
|
224
224
|
description: "ID of the schedule the reminded shift is on.",
|
|
225
225
|
example: "5f8b9c0d-e1a2-4b3c-8d5e-6f7a8b9c0d1e",
|
|
226
226
|
}),
|
|
@@ -762,8 +762,8 @@ __decorate([
|
|
|
762
762
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
763
763
|
type: TableColumnType_1.default.Entity,
|
|
764
764
|
modelType: OnCallDutyPolicy_1.default,
|
|
765
|
-
title: "On-Call
|
|
766
|
-
description: "On-Call
|
|
765
|
+
title: "On-Call Policy",
|
|
766
|
+
description: "On-Call Policy associated with this request (if any)",
|
|
767
767
|
}),
|
|
768
768
|
(0, typeorm_1.ManyToOne)(() => {
|
|
769
769
|
return OnCallDutyPolicy_1.default;
|
|
@@ -793,8 +793,8 @@ __decorate([
|
|
|
793
793
|
type: TableColumnType_1.default.ObjectID,
|
|
794
794
|
required: false,
|
|
795
795
|
canReadOnRelationQuery: true,
|
|
796
|
-
title: "On-Call
|
|
797
|
-
description: "ID of On-Call
|
|
796
|
+
title: "On-Call Policy ID",
|
|
797
|
+
description: "ID of On-Call Policy associated with this request (if any)",
|
|
798
798
|
}),
|
|
799
799
|
(0, typeorm_1.Column)({
|
|
800
800
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -819,8 +819,8 @@ __decorate([
|
|
|
819
819
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
820
820
|
type: TableColumnType_1.default.Entity,
|
|
821
821
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
822
|
-
title: "On-Call
|
|
823
|
-
description: "On-Call
|
|
822
|
+
title: "On-Call Policy Escalation Rule",
|
|
823
|
+
description: "On-Call Policy Escalation Rule associated with this request (if any)",
|
|
824
824
|
}),
|
|
825
825
|
(0, typeorm_1.ManyToOne)(() => {
|
|
826
826
|
return OnCallDutyPolicyEscalationRule_1.default;
|
|
@@ -850,8 +850,8 @@ __decorate([
|
|
|
850
850
|
type: TableColumnType_1.default.ObjectID,
|
|
851
851
|
required: false,
|
|
852
852
|
canReadOnRelationQuery: true,
|
|
853
|
-
title: "On-Call
|
|
854
|
-
description: "ID of On-Call
|
|
853
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
854
|
+
description: "ID of On-Call Policy Escalation Rule associated with this request (if any)",
|
|
855
855
|
}),
|
|
856
856
|
(0, typeorm_1.Column)({
|
|
857
857
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -876,8 +876,8 @@ __decorate([
|
|
|
876
876
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
877
877
|
type: TableColumnType_1.default.Entity,
|
|
878
878
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
879
|
-
title: "On-Call
|
|
880
|
-
description: "On-Call
|
|
879
|
+
title: "On-Call Schedule",
|
|
880
|
+
description: "On-Call Schedule associated with this request (if any)",
|
|
881
881
|
}),
|
|
882
882
|
(0, typeorm_1.ManyToOne)(() => {
|
|
883
883
|
return OnCallDutyPolicySchedule_1.default;
|
|
@@ -907,8 +907,8 @@ __decorate([
|
|
|
907
907
|
type: TableColumnType_1.default.ObjectID,
|
|
908
908
|
required: false,
|
|
909
909
|
canReadOnRelationQuery: true,
|
|
910
|
-
title: "On-Call
|
|
911
|
-
description: "ID of On-Call
|
|
910
|
+
title: "On-Call Schedule ID",
|
|
911
|
+
description: "ID of On-Call Schedule associated with this request (if any)",
|
|
912
912
|
}),
|
|
913
913
|
(0, typeorm_1.Column)({
|
|
914
914
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -803,8 +803,8 @@ __decorate([
|
|
|
803
803
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
804
804
|
type: TableColumnType_1.default.Entity,
|
|
805
805
|
modelType: OnCallDutyPolicy_1.default,
|
|
806
|
-
title: "On-Call
|
|
807
|
-
description: "On-Call
|
|
806
|
+
title: "On-Call Policy",
|
|
807
|
+
description: "On-Call Policy associated with this message (if any)",
|
|
808
808
|
}),
|
|
809
809
|
(0, typeorm_1.ManyToOne)(() => {
|
|
810
810
|
return OnCallDutyPolicy_1.default;
|
|
@@ -834,8 +834,8 @@ __decorate([
|
|
|
834
834
|
type: TableColumnType_1.default.ObjectID,
|
|
835
835
|
required: false,
|
|
836
836
|
canReadOnRelationQuery: true,
|
|
837
|
-
title: "On-Call
|
|
838
|
-
description: "ID of On-Call
|
|
837
|
+
title: "On-Call Policy ID",
|
|
838
|
+
description: "ID of On-Call Policy associated with this message (if any)",
|
|
839
839
|
}),
|
|
840
840
|
(0, typeorm_1.Column)({
|
|
841
841
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -860,8 +860,8 @@ __decorate([
|
|
|
860
860
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
861
861
|
type: TableColumnType_1.default.Entity,
|
|
862
862
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
863
|
-
title: "On-Call
|
|
864
|
-
description: "On-Call
|
|
863
|
+
title: "On-Call Policy Escalation Rule",
|
|
864
|
+
description: "On-Call Policy Escalation Rule associated with this message (if any)",
|
|
865
865
|
}),
|
|
866
866
|
(0, typeorm_1.ManyToOne)(() => {
|
|
867
867
|
return OnCallDutyPolicyEscalationRule_1.default;
|
|
@@ -891,8 +891,8 @@ __decorate([
|
|
|
891
891
|
type: TableColumnType_1.default.ObjectID,
|
|
892
892
|
required: false,
|
|
893
893
|
canReadOnRelationQuery: true,
|
|
894
|
-
title: "On-Call
|
|
895
|
-
description: "ID of On-Call
|
|
894
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
895
|
+
description: "ID of On-Call Policy Escalation Rule associated with this message (if any)",
|
|
896
896
|
}),
|
|
897
897
|
(0, typeorm_1.Column)({
|
|
898
898
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -917,8 +917,8 @@ __decorate([
|
|
|
917
917
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
918
918
|
type: TableColumnType_1.default.Entity,
|
|
919
919
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
920
|
-
title: "On-Call
|
|
921
|
-
description: "On-Call
|
|
920
|
+
title: "On-Call Schedule",
|
|
921
|
+
description: "On-Call Schedule associated with this message (if any)",
|
|
922
922
|
}),
|
|
923
923
|
(0, typeorm_1.ManyToOne)(() => {
|
|
924
924
|
return OnCallDutyPolicySchedule_1.default;
|
|
@@ -948,8 +948,8 @@ __decorate([
|
|
|
948
948
|
type: TableColumnType_1.default.ObjectID,
|
|
949
949
|
required: false,
|
|
950
950
|
canReadOnRelationQuery: true,
|
|
951
|
-
title: "On-Call
|
|
952
|
-
description: "ID of On-Call
|
|
951
|
+
title: "On-Call Schedule ID",
|
|
952
|
+
description: "ID of On-Call Schedule associated with this message (if any)",
|
|
953
953
|
}),
|
|
954
954
|
(0, typeorm_1.Column)({
|
|
955
955
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -889,8 +889,8 @@ __decorate([
|
|
|
889
889
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
890
890
|
type: TableColumnType_1.default.Entity,
|
|
891
891
|
modelType: OnCallDutyPolicy_1.default,
|
|
892
|
-
title: "On-Call
|
|
893
|
-
description: "On-Call
|
|
892
|
+
title: "On-Call Policy",
|
|
893
|
+
description: "On-Call Policy associated with this message (if any)",
|
|
894
894
|
}),
|
|
895
895
|
(0, typeorm_1.ManyToOne)(() => {
|
|
896
896
|
return OnCallDutyPolicy_1.default;
|
|
@@ -920,8 +920,8 @@ __decorate([
|
|
|
920
920
|
type: TableColumnType_1.default.ObjectID,
|
|
921
921
|
required: false,
|
|
922
922
|
canReadOnRelationQuery: true,
|
|
923
|
-
title: "On-Call
|
|
924
|
-
description: "ID of On-Call
|
|
923
|
+
title: "On-Call Policy ID",
|
|
924
|
+
description: "ID of On-Call Policy associated with this message (if any)",
|
|
925
925
|
}),
|
|
926
926
|
(0, typeorm_1.Column)({
|
|
927
927
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -946,8 +946,8 @@ __decorate([
|
|
|
946
946
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
947
947
|
type: TableColumnType_1.default.Entity,
|
|
948
948
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
949
|
-
title: "On-Call
|
|
950
|
-
description: "On-Call
|
|
949
|
+
title: "On-Call Policy Escalation Rule",
|
|
950
|
+
description: "On-Call Policy Escalation Rule associated with this message (if any)",
|
|
951
951
|
}),
|
|
952
952
|
(0, typeorm_1.ManyToOne)(() => {
|
|
953
953
|
return OnCallDutyPolicyEscalationRule_1.default;
|
|
@@ -977,8 +977,8 @@ __decorate([
|
|
|
977
977
|
type: TableColumnType_1.default.ObjectID,
|
|
978
978
|
required: false,
|
|
979
979
|
canReadOnRelationQuery: true,
|
|
980
|
-
title: "On-Call
|
|
981
|
-
description: "ID of On-Call
|
|
980
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
981
|
+
description: "ID of On-Call Policy Escalation Rule associated with this message (if any)",
|
|
982
982
|
}),
|
|
983
983
|
(0, typeorm_1.Column)({
|
|
984
984
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -1003,8 +1003,8 @@ __decorate([
|
|
|
1003
1003
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
1004
1004
|
type: TableColumnType_1.default.Entity,
|
|
1005
1005
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
1006
|
-
title: "On-Call
|
|
1007
|
-
description: "On-Call
|
|
1006
|
+
title: "On-Call Schedule",
|
|
1007
|
+
description: "On-Call Schedule associated with this message (if any)",
|
|
1008
1008
|
}),
|
|
1009
1009
|
(0, typeorm_1.ManyToOne)(() => {
|
|
1010
1010
|
return OnCallDutyPolicySchedule_1.default;
|
|
@@ -1034,8 +1034,8 @@ __decorate([
|
|
|
1034
1034
|
type: TableColumnType_1.default.ObjectID,
|
|
1035
1035
|
required: false,
|
|
1036
1036
|
canReadOnRelationQuery: true,
|
|
1037
|
-
title: "On-Call
|
|
1038
|
-
description: "ID of On-Call
|
|
1037
|
+
title: "On-Call Schedule ID",
|
|
1038
|
+
description: "ID of On-Call Schedule associated with this message (if any)",
|
|
1039
1039
|
}),
|
|
1040
1040
|
(0, typeorm_1.Column)({
|
|
1041
1041
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -177,7 +177,8 @@ export declare enum AIToolRefusal {
|
|
|
177
177
|
Permission = "Permission",
|
|
178
178
|
TeamBlock = "TeamBlock",
|
|
179
179
|
Plan = "Plan",
|
|
180
|
-
NotAllowed = "NotAllowed"
|
|
180
|
+
NotAllowed = "NotAllowed",
|
|
181
|
+
ProductOff = "ProductOff"
|
|
181
182
|
}
|
|
182
183
|
export declare const AI_TOOL_REFUSALS: ReadonlyArray<string>;
|
|
183
184
|
export declare function isAIToolRefusal(value: unknown): value is AIToolRefusal;
|
|
@@ -177,7 +177,8 @@ export declare enum AIToolRefusal {
|
|
|
177
177
|
Permission = "Permission",
|
|
178
178
|
TeamBlock = "TeamBlock",
|
|
179
179
|
Plan = "Plan",
|
|
180
|
-
NotAllowed = "NotAllowed"
|
|
180
|
+
NotAllowed = "NotAllowed",
|
|
181
|
+
ProductOff = "ProductOff"
|
|
181
182
|
}
|
|
182
183
|
export declare const AI_TOOL_REFUSALS: ReadonlyArray<string>;
|
|
183
184
|
export declare function isAIToolRefusal(value: unknown): value is AIToolRefusal;
|
package/Types/AI/AIChatTypes.js
CHANGED
|
@@ -198,6 +198,11 @@ var AIToolRefusal;
|
|
|
198
198
|
* not reach, a private record, or a request for another project.
|
|
199
199
|
*/
|
|
200
200
|
AIToolRefusal["NotAllowed"] = "NotAllowed";
|
|
201
|
+
/*
|
|
202
|
+
* Its product is switched off on this server (#6815): an admin switched
|
|
203
|
+
* it off, or telemetry ingestion is stopped.
|
|
204
|
+
*/
|
|
205
|
+
AIToolRefusal["ProductOff"] = "ProductOff";
|
|
201
206
|
})(AIToolRefusal || (exports.AIToolRefusal = AIToolRefusal = {}));
|
|
202
207
|
exports.AI_TOOL_REFUSALS = Object.values(AIToolRefusal);
|
|
203
208
|
function isAIToolRefusal(value) {
|
|
@@ -29,7 +29,12 @@ export declare enum ProductEventName {
|
|
|
29
29
|
SetupHealthOpened = "setup_health/opened",
|
|
30
30
|
SetupHealthFixOpened = "setup_health/fix_opened",
|
|
31
31
|
SetupHealthFindingDismissed = "setup_health/finding_dismissed",
|
|
32
|
-
SetupHealthFindingRestored = "setup_health/finding_restored"
|
|
32
|
+
SetupHealthFindingRestored = "setup_health/finding_restored",
|
|
33
|
+
PagingLadderSaved = "paging_ladder/saved",
|
|
34
|
+
PagingLadderGridOpened = "paging_ladder/grid_opened",
|
|
35
|
+
UsedByListOpened = "used_by/list_opened",
|
|
36
|
+
SampleProjectStarted = "sample_project/started",
|
|
37
|
+
SampleProjectDeleted = "sample_project/deleted"
|
|
33
38
|
}
|
|
34
39
|
export declare const SEARCH_QUERY_MAX_LENGTH: number;
|
|
35
40
|
export declare const PRODUCT_EVENT_TOKEN_MAX_LENGTH: number;
|
|
@@ -29,7 +29,12 @@ export declare enum ProductEventName {
|
|
|
29
29
|
SetupHealthOpened = "setup_health/opened",
|
|
30
30
|
SetupHealthFixOpened = "setup_health/fix_opened",
|
|
31
31
|
SetupHealthFindingDismissed = "setup_health/finding_dismissed",
|
|
32
|
-
SetupHealthFindingRestored = "setup_health/finding_restored"
|
|
32
|
+
SetupHealthFindingRestored = "setup_health/finding_restored",
|
|
33
|
+
PagingLadderSaved = "paging_ladder/saved",
|
|
34
|
+
PagingLadderGridOpened = "paging_ladder/grid_opened",
|
|
35
|
+
UsedByListOpened = "used_by/list_opened",
|
|
36
|
+
SampleProjectStarted = "sample_project/started",
|
|
37
|
+
SampleProjectDeleted = "sample_project/deleted"
|
|
33
38
|
}
|
|
34
39
|
export declare const SEARCH_QUERY_MAX_LENGTH: number;
|
|
35
40
|
export declare const PRODUCT_EVENT_TOKEN_MAX_LENGTH: number;
|