@oneuptime/common 14.0.97 → 14.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/CloudAccount.d.mts +8 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +8 -0
- package/Models/DatabaseModels/CloudAccount.js +167 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.mts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.d.ts +27 -0
- package/Models/DatabaseModels/CloudAccountFeed.js +557 -0
- package/Models/DatabaseModels/CloudAccountFeed.mjs +3 -0
- package/Models/DatabaseModels/CodeRepository.d.mts +3 -0
- package/Models/DatabaseModels/CodeRepository.d.ts +3 -0
- package/Models/DatabaseModels/CodeRepository.js +104 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.mts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.d.ts +17 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.js +304 -0
- package/Models/DatabaseModels/DataSecurityCheckSetting.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.mts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.d.ts +25 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.js +431 -0
- package/Models/DatabaseModels/DataSecurityCustomDataType.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.mts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.d.ts +26 -0
- package/Models/DatabaseModels/DataSecurityFlow.js +456 -0
- package/Models/DatabaseModels/DataSecurityFlow.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.mts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.d.ts +49 -0
- package/Models/DatabaseModels/DataSecurityIssue.js +797 -0
- package/Models/DatabaseModels/DataSecurityIssue.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.mts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.d.ts +43 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.js +382 -0
- package/Models/DatabaseModels/DataSecurityIssueFeed.mjs +3 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.mts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.d.ts +18 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.js +331 -0
- package/Models/DatabaseModels/DataSecurityResidencyRule.mjs +2 -0
- package/Models/DatabaseModels/DataSecurityScan.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityScan.js +520 -0
- package/Models/DatabaseModels/DataSecurityScan.mjs +2 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.mts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.d.ts +35 -0
- package/Models/DatabaseModels/DataSecuritySetting.js +631 -0
- package/Models/DatabaseModels/DataSecuritySetting.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +83 -0
- package/Models/DatabaseModels/DataStore.d.ts +83 -0
- package/Models/DatabaseModels/DataStore.js +1343 -0
- package/Models/DatabaseModels/DataStore.mjs +2 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +22 -0
- package/Models/DatabaseModels/DataStoreAccess.js +407 -0
- package/Models/DatabaseModels/DataStoreAccess.mjs +2 -0
- package/Models/DatabaseModels/DataStoreFeed.d.mts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.d.ts +36 -0
- package/Models/DatabaseModels/DataStoreFeed.js +613 -0
- package/Models/DatabaseModels/DataStoreFeed.mjs +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +38 -0
- package/Models/DatabaseModels/DataStoreFinding.js +683 -0
- package/Models/DatabaseModels/DataStoreFinding.mjs +2 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.mts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.d.ts +21 -0
- package/Models/DatabaseModels/DataStoreLabelRule.js +623 -0
- package/Models/DatabaseModels/DataStoreLabelRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.mts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.d.ts +24 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.js +714 -0
- package/Models/DatabaseModels/DataStoreOwnerRule.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataStoreOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataStoreOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +110 -0
- package/Models/DatabaseModels/Index.js +37 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +43 -0
- package/Models/DatabaseModels/ResourceAiAgent.js +3 -1
- package/Models/DatabaseModels/SecurityCaseEvidence.d.mts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.d.ts +4 -0
- package/Models/DatabaseModels/SecurityCaseEvidence.js +64 -5
- package/Models/DatabaseModels/SecurityEntityCriticality.js +7 -6
- package/Models/DatabaseModels/SecurityEntityRisk.js +2 -2
- package/Models/DatabaseModels/SecurityHunt.d.mts +34 -0
- package/Models/DatabaseModels/SecurityHunt.d.ts +34 -0
- package/Models/DatabaseModels/SecurityHunt.js +608 -0
- package/Models/DatabaseModels/SecurityHunt.mjs +2 -0
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +170 -8
- package/Types/AI/AIChatPageContext.d.mts +4 -1
- package/Types/AI/AIChatPageContext.d.ts +4 -1
- package/Types/AI/AIChatPageContext.js +7 -0
- package/Types/AI/AIChatTypes.d.mts +7 -1
- package/Types/AI/AIChatTypes.d.ts +7 -1
- package/Types/AI/AIChatTypes.js +9 -0
- package/Types/AI/AIRunEventType.d.mts +1 -0
- package/Types/AI/AIRunEventType.d.ts +1 -0
- package/Types/AI/AIRunEventType.js +8 -0
- package/Types/AI/AiAffectedResources.js +5 -3
- package/Types/AI/AiTokenCount.d.mts +22 -1
- package/Types/AI/AiTokenCount.d.ts +22 -1
- package/Types/AI/AiTokenCount.js +126 -57
- package/Types/AI/AiTokenCount.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +22 -0
- package/Types/AI/CodeFixTaskContext.d.ts +22 -0
- package/Types/AI/CodeFixTaskContext.js +61 -4
- package/Types/AI/CodeFixTaskContext.mjs +2 -0
- package/Types/AI/CodeTask.d.mts +2 -0
- package/Types/AI/CodeTask.d.ts +2 -0
- package/Types/AI/CodeTask.js +4 -0
- package/Types/AI/ResourceAiAccessApi.d.mts +1 -0
- package/Types/AI/ResourceAiAccessApi.d.ts +1 -0
- package/Types/AI/ResourceAiAccessPermissions.js +6 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +19 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +85 -10
- package/Types/AutoRemediation/AiRemediationCommandPlan.mjs +4 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.mts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.d.ts +17 -0
- package/Types/AutoRemediation/RemediationTryAgain.js +104 -0
- package/Types/AutoRemediation/RemediationTryAgain.mjs +6 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.mts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.d.ts +19 -0
- package/Types/CloudConnection/CloudAiAgentCost.js +95 -0
- package/Types/CloudConnection/CloudAiAgentCost.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +70 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +1107 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +37 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +8 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +75 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +6 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +48 -4
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +410 -16
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +21 -0
- package/Types/CodeRepository/CodeHost.d.mts +2 -1
- package/Types/CodeRepository/CodeHost.d.ts +2 -1
- package/Types/CodeRepository/CodeHost.js +12 -5
- package/Types/CodeRepository/CodeRepositorySetting.d.mts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.d.ts +1 -0
- package/Types/CodeRepository/CodeRepositorySetting.js +2 -0
- package/Types/CodeRepository/ProductionReview.d.mts +7 -0
- package/Types/CodeRepository/ProductionReview.d.ts +7 -0
- package/Types/CodeRepository/ProductionReview.js +67 -1
- package/Types/CodeRepository/ProductionReview.mjs +1 -0
- package/Types/DataSecurity/ComplianceFramework.d.mts +21 -0
- package/Types/DataSecurity/ComplianceFramework.d.ts +21 -0
- package/Types/DataSecurity/ComplianceFramework.js +97 -0
- package/Types/DataSecurity/ComplianceFramework.mjs +5 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.mts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.d.ts +41 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +199 -0
- package/Types/DataSecurity/ComplianceRequirementCatalog.mjs +7 -0
- package/Types/DataSecurity/DataCategory.d.mts +15 -0
- package/Types/DataSecurity/DataCategory.d.ts +15 -0
- package/Types/DataSecurity/DataCategory.js +61 -0
- package/Types/DataSecurity/DataCategory.mjs +7 -0
- package/Types/DataSecurity/DataConfidence.d.mts +11 -0
- package/Types/DataSecurity/DataConfidence.d.ts +11 -0
- package/Types/DataSecurity/DataConfidence.js +49 -0
- package/Types/DataSecurity/DataConfidence.mjs +7 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +106 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +53 -0
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +3 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +93 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +1183 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.mjs +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.mts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.d.ts +10 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.js +38 -0
- package/Types/DataSecurity/DataSecurityIssueStatus.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResidency.d.mts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.d.ts +21 -0
- package/Types/DataSecurity/DataSecurityResidency.js +92 -0
- package/Types/DataSecurity/DataSecurityResidency.mjs +5 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.js +115 -0
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +11 -0
- package/Types/DataSecurity/DataSecurityRisk.d.mts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.d.ts +38 -0
- package/Types/DataSecurity/DataSecurityRisk.js +138 -0
- package/Types/DataSecurity/DataSecurityRisk.mjs +7 -0
- package/Types/DataSecurity/DataSensitivity.d.mts +13 -0
- package/Types/DataSecurity/DataSensitivity.d.ts +13 -0
- package/Types/DataSecurity/DataSensitivity.js +68 -0
- package/Types/DataSecurity/DataSensitivity.mjs +8 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +27 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +27 -0
- package/Types/DataSecurity/DataStoreAccess.js +35 -0
- package/Types/DataSecurity/DataStoreAccess.mjs +4 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.mts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.d.ts +11 -0
- package/Types/DataSecurity/DataStoreEnvironment.js +80 -0
- package/Types/DataSecurity/DataStoreEnvironment.mjs +5 -0
- package/Types/DataSecurity/DataStoreKey.d.mts +18 -0
- package/Types/DataSecurity/DataStoreKey.d.ts +18 -0
- package/Types/DataSecurity/DataStoreKey.js +49 -0
- package/Types/DataSecurity/DataStoreKey.mjs +7 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +67 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +67 -0
- package/Types/DataSecurity/DataStoreKind.js +230 -0
- package/Types/DataSecurity/DataStoreKind.mjs +10 -0
- package/Types/DataSecurity/DataStorePosture.d.mts +40 -0
- package/Types/DataSecurity/DataStorePosture.d.ts +40 -0
- package/Types/DataSecurity/DataStorePosture.js +100 -0
- package/Types/DataSecurity/DataStorePosture.mjs +7 -0
- package/Types/DataSecurity/DataTypeCatalog.d.mts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.d.ts +17 -0
- package/Types/DataSecurity/DataTypeCatalog.js +434 -0
- package/Types/DataSecurity/DataTypeCatalog.mjs +4 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +8 -0
- package/Types/Link.d.mts +1 -0
- package/Types/Link.d.ts +1 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -1
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -1
- package/Types/Monitor/CephAlertTemplates.js +49 -0
- package/Types/Monitor/CephAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +2 -1
- package/Types/Monitor/DockerAlertTemplates.d.ts +2 -1
- package/Types/Monitor/DockerAlertTemplates.js +109 -37
- package/Types/Monitor/DockerAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.mts +1 -0
- package/Types/Monitor/DockerMetricCatalog.d.ts +1 -0
- package/Types/Monitor/DockerMetricCatalog.js +26 -52
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +65 -8
- package/Types/Monitor/DockerSwarmAlertTemplates.mjs +1 -0
- package/Types/Monitor/DockerSwarmMetricCatalog.js +7 -4
- package/Types/Monitor/HostAlertTemplates.d.mts +2 -1
- package/Types/Monitor/HostAlertTemplates.d.ts +2 -1
- package/Types/Monitor/HostAlertTemplates.js +48 -0
- package/Types/Monitor/HostAlertTemplates.mjs +1 -0
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -0
- package/Types/Monitor/IotAlertTemplates.mjs +1 -0
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +49 -1
- package/Types/Monitor/KubernetesAlertTemplates.js +392 -75
- package/Types/Monitor/KubernetesAlertTemplates.mjs +2 -0
- package/Types/Monitor/KubernetesMetricCatalog.js +12 -2
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +4 -4
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +4 -4
- package/Types/Monitor/MonitorCriteriaInstance.js +107 -10
- package/Types/Monitor/MonitorStep.js +50 -3
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +33 -11
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +65 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +6 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +38 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +18 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.d.ts +12 -1
- package/Types/Monitor/PodmanAlertTemplates.js +161 -33
- package/Types/Monitor/PodmanAlertTemplates.mjs +2 -0
- package/Types/Monitor/PodmanMetricCatalog.d.mts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.d.ts +1 -0
- package/Types/Monitor/PodmanMetricCatalog.js +26 -52
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +49 -0
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.mts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.d.ts +19 -0
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.js +50 -2
- package/Types/Monitor/Recommendation/RecommendationCriteriaBuilder.mjs +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.mts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.d.ts +2 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +31 -2
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +2 -1
- package/Types/Monitor/StorageArrayAlertTemplates.js +69 -0
- package/Types/Monitor/StorageArrayAlertTemplates.mjs +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.d.ts +2 -1
- package/Types/Monitor/VMwareAlertTemplates.js +50 -0
- package/Types/Monitor/VMwareAlertTemplates.mjs +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +6 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +171 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +14 -0
- package/Types/Permission.d.mts +51 -0
- package/Types/Permission.d.ts +51 -0
- package/Types/Permission.js +542 -0
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +8 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +2 -0
- package/Types/ProviderLogo/ProviderLogo.js +4 -0
- package/Types/ResourceAiAgent/AiResourceType.d.mts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.d.ts +7 -1
- package/Types/ResourceAiAgent/AiResourceType.js +76 -2
- package/Types/ResourceAiAgent/AiResourceType.mjs +3 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +19 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +75 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +16 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +12 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +28 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +6 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +13 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +2 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +2 -1
- package/Types/Rules/RuleCriteriaSubject.js +3 -0
- package/Types/Rules/RuleRun.d.mts +2 -0
- package/Types/Rules/RuleRun.d.ts +2 -0
- package/Types/Rules/RuleRun.js +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +67 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +271 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.mjs +13 -0
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.mts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.d.ts +2 -1
- package/Types/SecurityCase/SecurityCaseEvidenceKind.js +11 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.mts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.d.ts +2 -1
- package/Types/SecurityCase/SecurityDetectionSource.js +5 -2
- package/Types/SecurityCase/SecurityEntity.d.mts +5 -0
- package/Types/SecurityCase/SecurityEntity.d.ts +5 -0
- package/Types/SecurityCase/SecurityEntity.js +39 -1
- package/Types/SecurityCase/SecurityEntity.mjs +4 -0
- package/Types/SecurityCase/SecurityEntityRisk.js +14 -6
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.mts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.d.ts +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +124 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.mjs +2 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.mts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.d.ts +3 -1
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorProvider.js +4 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.mts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.d.ts +33 -0
- package/Types/SecurityEvent/DataSecuritySignal.js +114 -0
- package/Types/SecurityEvent/DataSecuritySignal.mjs +14 -0
- package/Types/SecurityEvent/DetectionRuleDataKind.d.mts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.d.ts +7 -1
- package/Types/SecurityEvent/DetectionRuleDataKind.js +74 -0
- package/Types/SecurityEvent/DetectionRuleLibrary.d.mts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.d.ts +2 -1
- package/Types/SecurityEvent/DetectionRuleLibrary.js +730 -0
- package/Types/SecurityEvent/OcsfEventClass.js +31 -2
- package/Types/SecurityEvent/SecurityHunt.d.mts +122 -0
- package/Types/SecurityEvent/SecurityHunt.d.ts +122 -0
- package/Types/SecurityEvent/SecurityHunt.js +391 -0
- package/Types/SecurityEvent/SecurityHunt.mjs +32 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.mts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.d.ts +15 -0
- package/Types/SecurityEvent/SecurityLogFormat.js +123 -10
- package/Types/SecurityEvent/SecurityLogFormat.mjs +4 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +37 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +3 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +9 -0
- package/Types/SecurityPlaybook/SecurityProtectedEntity.js +8 -1
- package/Types/Telemetry/ExceptionAIDigest.d.mts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.d.ts +31 -0
- package/Types/Telemetry/ExceptionAIDigest.js +131 -0
- package/Types/Telemetry/ExceptionAIDigest.mjs +13 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.mts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.d.ts +37 -0
- package/Types/Telemetry/ExceptionAIExplanation.js +110 -0
- package/Types/Telemetry/ExceptionAIExplanation.mjs +12 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -1
- package/Types/Telemetry/TraceSpanType.d.ts +1 -1
- package/Types/Telemetry/TraceSpanType.js +33 -8
- package/Types/Telemetry/TraceSpanType.mjs +1 -1
- package/Types/UpdateCheck/SecurityAdvisory.d.mts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.d.ts +39 -0
- package/Types/UpdateCheck/SecurityAdvisory.js +221 -0
- package/Types/UpdateCheck/SecurityAdvisory.mjs +7 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.mts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.d.ts +9 -0
- package/Types/UpdateCheck/UpdateCheckFailure.js +32 -0
- package/Types/UpdateCheck/UpdateCheckFailure.mjs +3 -0
- package/Types/UpdateCheck/UpdateStatus.d.mts +44 -0
- package/Types/UpdateCheck/UpdateStatus.d.ts +44 -0
- package/Types/UpdateCheck/UpdateStatus.js +195 -0
- package/Types/UpdateCheck/UpdateStatus.mjs +3 -0
- package/Types/Workflow/RunRecord.d.mts +3 -14
- package/Types/Workflow/RunRecord.d.ts +3 -14
- package/Types/Workflow/RunRecord.js +10 -51
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +1 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +1 -0
- package/Utils/AI/InvestigationLogStall.d.mts +38 -0
- package/Utils/AI/InvestigationLogStall.d.ts +38 -0
- package/Utils/AI/InvestigationLogStall.js +163 -0
- package/Utils/AI/InvestigationLogStall.mjs +11 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.mts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.d.ts +17 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.js +122 -0
- package/Utils/AiRemediation/CloudChangeDryRunPlan.mjs +7 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.mts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.d.ts +4 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +177 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.mjs +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +144 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +1964 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +48 -0
- package/Utils/AiRemediation/Resource/ResourceCommandPolicy.js +4 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.mts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.d.ts +23 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.js +130 -0
- package/Utils/DataSecurity/CustomDataTypeDetector.mjs +8 -0
- package/Utils/DataSecurity/Detector.d.mts +26 -0
- package/Utils/DataSecurity/Detector.d.ts +26 -0
- package/Utils/DataSecurity/Detector.js +83 -0
- package/Utils/DataSecurity/Detector.mjs +8 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.mts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.d.ts +12 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.js +915 -0
- package/Utils/DataSecurity/Detectors/ContactDetectors.mjs +12 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.js +52 -0
- package/Utils/DataSecurity/Detectors/DocumentMarkingDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.mts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.d.ts +8 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.js +566 -0
- package/Utils/DataSecurity/Detectors/FinancialDetectors.mjs +8 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.js +2415 -0
- package/Utils/DataSecurity/Detectors/GovernmentIdDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.js +258 -0
- package/Utils/DataSecurity/Detectors/HealthIdentifierDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.mts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.d.ts +3 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.js +115 -0
- package/Utils/DataSecurity/Detectors/HealthRecordDetectors.mjs +3 -0
- package/Utils/DataSecurity/Detectors/Index.d.mts +4 -0
- package/Utils/DataSecurity/Detectors/Index.d.ts +4 -0
- package/Utils/DataSecurity/Detectors/Index.js +47 -0
- package/Utils/DataSecurity/Detectors/Index.mjs +4 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.mts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.d.ts +11 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.js +1733 -0
- package/Utils/DataSecurity/Detectors/SecretDetectors.mjs +11 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +20 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +20 -0
- package/Utils/DataSecurity/FieldClassifier.js +247 -0
- package/Utils/DataSecurity/FieldClassifier.mjs +5 -0
- package/Utils/DataSecurity/FieldCollector.d.mts +23 -0
- package/Utils/DataSecurity/FieldCollector.d.ts +23 -0
- package/Utils/DataSecurity/FieldCollector.js +81 -0
- package/Utils/DataSecurity/FieldCollector.mjs +3 -0
- package/Utils/DataSecurity/FieldNameHints.d.mts +9 -0
- package/Utils/DataSecurity/FieldNameHints.d.ts +9 -0
- package/Utils/DataSecurity/FieldNameHints.js +184 -0
- package/Utils/DataSecurity/FieldNameHints.mjs +6 -0
- package/Utils/DataSecurity/FindingTally.d.mts +44 -0
- package/Utils/DataSecurity/FindingTally.d.ts +44 -0
- package/Utils/DataSecurity/FindingTally.js +138 -0
- package/Utils/DataSecurity/FindingTally.mjs +6 -0
- package/Utils/DataSecurity/Masking.d.mts +6 -0
- package/Utils/DataSecurity/Masking.d.ts +6 -0
- package/Utils/DataSecurity/Masking.js +159 -0
- package/Utils/DataSecurity/Masking.mjs +7 -0
- package/Utils/DataSecurity/PathPattern.d.mts +3 -0
- package/Utils/DataSecurity/PathPattern.d.ts +3 -0
- package/Utils/DataSecurity/PathPattern.js +55 -0
- package/Utils/DataSecurity/PathPattern.mjs +4 -0
- package/Utils/DataSecurity/Sha256.d.mts +1 -0
- package/Utils/DataSecurity/Sha256.d.ts +1 -0
- package/Utils/DataSecurity/Sha256.js +94 -0
- package/Utils/DataSecurity/Sha256.mjs +2 -0
- package/Utils/DataSecurity/TextScanner.d.mts +35 -0
- package/Utils/DataSecurity/TextScanner.d.ts +35 -0
- package/Utils/DataSecurity/TextScanner.js +303 -0
- package/Utils/DataSecurity/TextScanner.mjs +8 -0
- package/Utils/DataSecurity/Validators.d.mts +16 -0
- package/Utils/DataSecurity/Validators.d.ts +16 -0
- package/Utils/DataSecurity/Validators.js +339 -0
- package/Utils/DataSecurity/Validators.mjs +17 -0
- package/Utils/Exceptions/ExceptionIssueState.d.mts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.d.ts +18 -0
- package/Utils/Exceptions/ExceptionIssueState.js +131 -0
- package/Utils/Exceptions/ExceptionIssueState.mjs +8 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.mts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.d.ts +2 -0
- package/Utils/HostCollector/HostCollectorDefaultConfig.js +39 -1
- package/Utils/HostCollector/HostCollectorDefaultConfig.mjs +2 -0
- package/Utils/LabelRuleImportExport.js +17 -3
- package/Utils/Monitor/PlatformResourceIdentity.js +7 -4
- package/Utils/Project/RecordNumber.d.mts +43 -0
- package/Utils/Project/RecordNumber.d.ts +43 -0
- package/Utils/Project/RecordNumber.js +151 -0
- package/Utils/Project/RecordNumber.mjs +6 -0
- package/Utils/SecurityAdvisoryMatcher.d.mts +33 -0
- package/Utils/SecurityAdvisoryMatcher.d.ts +33 -0
- package/Utils/SecurityAdvisoryMatcher.js +291 -0
- package/Utils/SecurityAdvisoryMatcher.mjs +2 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.mts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.d.ts +9 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.js +20 -0
- package/Utils/SecurityCase/SecurityCaseMarkdown.mjs +2 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.mts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.d.ts +24 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.js +380 -0
- package/Utils/SecurityEvent/Connectors/EntraIdNormalizer.mjs +15 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.mts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.d.ts +29 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.js +527 -0
- package/Utils/SecurityEvent/Connectors/GoogleWorkspaceNormalizer.mjs +13 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.mts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.d.ts +21 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.js +365 -0
- package/Utils/SecurityEvent/Connectors/Microsoft365AuditNormalizer.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.mts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.d.ts +17 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.js +344 -0
- package/Utils/SecurityEvent/LogParsers/AzureActivityLogParser.mjs +12 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.mts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.d.ts +27 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.js +326 -0
- package/Utils/SecurityEvent/LogParsers/GoogleCloudAuditLogParser.mjs +10 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.mts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.d.ts +38 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.js +629 -0
- package/Utils/SecurityEvent/LogParsers/SecurityDeviceLogParser.mjs +13 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +9 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +63 -3
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +4 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +54 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.mts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.d.ts +26 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.js +1046 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventLogParser.mjs +11 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.mts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.d.ts +19 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.js +724 -0
- package/Utils/SecurityEvent/LogParsers/WindowsEventRecord.mjs +7 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.mts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.d.ts +56 -0
- package/Utils/SecurityEvent/SecurityEventSearch.js +422 -0
- package/Utils/SecurityEvent/SecurityEventSearch.mjs +21 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.mts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.d.ts +12 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.js +51 -0
- package/Utils/SecurityEvent/SecurityHuntSearch.mjs +3 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.mts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.d.ts +32 -0
- package/Utils/SecurityEvent/SecurityRecordReading.js +78 -0
- package/Utils/SecurityEvent/SecurityRecordReading.mjs +2 -0
- package/Utils/Sms/OnCallPageSms.d.mts +1 -0
- package/Utils/Sms/OnCallPageSms.d.ts +1 -0
- package/Utils/Sms/OnCallPageSms.js +16 -2
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +44 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +223 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +8 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.d.mts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.d.ts +9 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +69 -1
- package/Utils/Suggestions/TracePerformanceFixSuggestion.mjs +4 -0
- package/Utils/Syslog/LeefParser.d.mts +28 -0
- package/Utils/Syslog/LeefParser.d.ts +28 -0
- package/Utils/Syslog/LeefParser.js +326 -0
- package/Utils/Syslog/LeefParser.mjs +10 -0
- package/Utils/VersionRange.d.mts +34 -0
- package/Utils/VersionRange.d.ts +34 -0
- package/Utils/VersionRange.js +422 -0
- package/Utils/VersionRange.mjs +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,915 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CONTACT_DETECTORS = void 0;
|
|
7
|
+
exports.isValidEmail = isValidEmail;
|
|
8
|
+
exports.isTestEmail = isTestEmail;
|
|
9
|
+
exports.hasCountryCallingCode = hasCountryCallingCode;
|
|
10
|
+
exports.isTestPhoneNumber = isTestPhoneNumber;
|
|
11
|
+
exports.isPlausibleBirthDate = isPlausibleBirthDate;
|
|
12
|
+
exports.isPublicIpv4 = isPublicIpv4;
|
|
13
|
+
exports.isDocumentationIpv4 = isDocumentationIpv4;
|
|
14
|
+
exports.isPublicIpv6 = isPublicIpv6;
|
|
15
|
+
exports.isValidVin = isValidVin;
|
|
16
|
+
const DataConfidence_1 = __importDefault(require("../../../Types/DataSecurity/DataConfidence"));
|
|
17
|
+
const Detector_1 = require("../Detector");
|
|
18
|
+
const Validators_1 = require("../Validators");
|
|
19
|
+
/*
|
|
20
|
+
* CONTACT AND IDENTITY: WHO SOMEONE IS AND HOW TO REACH THEM.
|
|
21
|
+
*
|
|
22
|
+
* These are the most common personal data in any store and in any log, so
|
|
23
|
+
* each detector errs toward proof: an email's domain must end in a real
|
|
24
|
+
* top-level label (not ".png"), an IP address must be public, a date counts
|
|
25
|
+
* as a birth date only next to words that say so.
|
|
26
|
+
*/
|
|
27
|
+
// Reserved for documentation and testing (RFC 2606, RFC 6761).
|
|
28
|
+
const RESERVED_EMAIL_DOMAINS = new Set([
|
|
29
|
+
"example.com",
|
|
30
|
+
"example.org",
|
|
31
|
+
"example.net",
|
|
32
|
+
"example.edu",
|
|
33
|
+
]);
|
|
34
|
+
const RESERVED_EMAIL_SUFFIXES = [
|
|
35
|
+
".example",
|
|
36
|
+
".test",
|
|
37
|
+
".invalid",
|
|
38
|
+
".localhost",
|
|
39
|
+
".example.com",
|
|
40
|
+
".example.org",
|
|
41
|
+
".example.net",
|
|
42
|
+
];
|
|
43
|
+
/*
|
|
44
|
+
* Labels after the last dot that are file extensions, not top-level
|
|
45
|
+
* domains: "logo@2x.png" is an image asset, "icon@3x.webp" too.
|
|
46
|
+
*/
|
|
47
|
+
const FILE_EXTENSION_LABELS = new Set([
|
|
48
|
+
"png",
|
|
49
|
+
"jpg",
|
|
50
|
+
"jpeg",
|
|
51
|
+
"gif",
|
|
52
|
+
"svg",
|
|
53
|
+
"webp",
|
|
54
|
+
"bmp",
|
|
55
|
+
"ico",
|
|
56
|
+
"css",
|
|
57
|
+
"js",
|
|
58
|
+
"mjs",
|
|
59
|
+
"ts",
|
|
60
|
+
"tsx",
|
|
61
|
+
"jsx",
|
|
62
|
+
"map",
|
|
63
|
+
"json",
|
|
64
|
+
"html",
|
|
65
|
+
"htm",
|
|
66
|
+
"txt",
|
|
67
|
+
"woff",
|
|
68
|
+
"woff2",
|
|
69
|
+
"ttf",
|
|
70
|
+
"otf",
|
|
71
|
+
"eot",
|
|
72
|
+
"scss",
|
|
73
|
+
"less",
|
|
74
|
+
"md",
|
|
75
|
+
"yml",
|
|
76
|
+
"yaml",
|
|
77
|
+
"lock",
|
|
78
|
+
]);
|
|
79
|
+
const EMAIL_PATTERN = /(?<![A-Za-z0-9._%+-])[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{1,253}\.[A-Za-z]{2,24}(?![A-Za-z0-9-])/g;
|
|
80
|
+
function isValidEmail(email) {
|
|
81
|
+
const at = email.lastIndexOf("@");
|
|
82
|
+
if (at < 1) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
const local = email.slice(0, at);
|
|
86
|
+
const domain = email.slice(at + 1);
|
|
87
|
+
if (local.startsWith(".") ||
|
|
88
|
+
local.endsWith(".") ||
|
|
89
|
+
local.includes("..") ||
|
|
90
|
+
domain.includes("..")) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
const labels = domain.split(".");
|
|
94
|
+
for (const label of labels) {
|
|
95
|
+
if (label.length === 0 ||
|
|
96
|
+
label.length > 63 ||
|
|
97
|
+
label.startsWith("-") ||
|
|
98
|
+
label.endsWith("-")) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return !FILE_EXTENSION_LABELS.has(labels[labels.length - 1].toLowerCase());
|
|
103
|
+
}
|
|
104
|
+
function isTestEmail(email) {
|
|
105
|
+
const domain = email.slice(email.lastIndexOf("@") + 1).toLowerCase();
|
|
106
|
+
if (RESERVED_EMAIL_DOMAINS.has(domain) || domain === "localhost") {
|
|
107
|
+
return true;
|
|
108
|
+
}
|
|
109
|
+
return RESERVED_EMAIL_SUFFIXES.some((suffix) => {
|
|
110
|
+
return domain.endsWith(suffix);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
const emailDetector = {
|
|
114
|
+
dataTypeId: "email-address",
|
|
115
|
+
quickCheck: (0, Detector_1.containsAny)(["@"]),
|
|
116
|
+
pattern: EMAIL_PATTERN,
|
|
117
|
+
normalize: (value) => {
|
|
118
|
+
return value.toLowerCase();
|
|
119
|
+
},
|
|
120
|
+
validate: (normalized) => {
|
|
121
|
+
return isValidEmail(normalized);
|
|
122
|
+
},
|
|
123
|
+
keywords: ["email", "e-mail", "mail", "contact", "to:", "from:", "cc:"],
|
|
124
|
+
confidenceWithoutContext: DataConfidence_1.default.High,
|
|
125
|
+
specificity: 2,
|
|
126
|
+
isTestValue: isTestEmail,
|
|
127
|
+
};
|
|
128
|
+
/*
|
|
129
|
+
* ITU-T E.164 country calling codes that are in use. A "+" number whose
|
|
130
|
+
* first one to three digits are none of these is no phone number.
|
|
131
|
+
*/
|
|
132
|
+
const COUNTRY_CALLING_CODES = new Set([
|
|
133
|
+
"1",
|
|
134
|
+
"7",
|
|
135
|
+
"20",
|
|
136
|
+
"27",
|
|
137
|
+
"30",
|
|
138
|
+
"31",
|
|
139
|
+
"32",
|
|
140
|
+
"33",
|
|
141
|
+
"34",
|
|
142
|
+
"36",
|
|
143
|
+
"39",
|
|
144
|
+
"40",
|
|
145
|
+
"41",
|
|
146
|
+
"43",
|
|
147
|
+
"44",
|
|
148
|
+
"45",
|
|
149
|
+
"46",
|
|
150
|
+
"47",
|
|
151
|
+
"48",
|
|
152
|
+
"49",
|
|
153
|
+
"51",
|
|
154
|
+
"52",
|
|
155
|
+
"53",
|
|
156
|
+
"54",
|
|
157
|
+
"55",
|
|
158
|
+
"56",
|
|
159
|
+
"57",
|
|
160
|
+
"58",
|
|
161
|
+
"60",
|
|
162
|
+
"61",
|
|
163
|
+
"62",
|
|
164
|
+
"63",
|
|
165
|
+
"64",
|
|
166
|
+
"65",
|
|
167
|
+
"66",
|
|
168
|
+
"81",
|
|
169
|
+
"82",
|
|
170
|
+
"84",
|
|
171
|
+
"86",
|
|
172
|
+
"90",
|
|
173
|
+
"91",
|
|
174
|
+
"92",
|
|
175
|
+
"93",
|
|
176
|
+
"94",
|
|
177
|
+
"95",
|
|
178
|
+
"98",
|
|
179
|
+
"211",
|
|
180
|
+
"212",
|
|
181
|
+
"213",
|
|
182
|
+
"216",
|
|
183
|
+
"218",
|
|
184
|
+
"220",
|
|
185
|
+
"221",
|
|
186
|
+
"222",
|
|
187
|
+
"223",
|
|
188
|
+
"224",
|
|
189
|
+
"225",
|
|
190
|
+
"226",
|
|
191
|
+
"227",
|
|
192
|
+
"228",
|
|
193
|
+
"229",
|
|
194
|
+
"230",
|
|
195
|
+
"231",
|
|
196
|
+
"232",
|
|
197
|
+
"233",
|
|
198
|
+
"234",
|
|
199
|
+
"235",
|
|
200
|
+
"236",
|
|
201
|
+
"237",
|
|
202
|
+
"238",
|
|
203
|
+
"239",
|
|
204
|
+
"240",
|
|
205
|
+
"241",
|
|
206
|
+
"242",
|
|
207
|
+
"243",
|
|
208
|
+
"244",
|
|
209
|
+
"245",
|
|
210
|
+
"246",
|
|
211
|
+
"248",
|
|
212
|
+
"249",
|
|
213
|
+
"250",
|
|
214
|
+
"251",
|
|
215
|
+
"252",
|
|
216
|
+
"253",
|
|
217
|
+
"254",
|
|
218
|
+
"255",
|
|
219
|
+
"256",
|
|
220
|
+
"257",
|
|
221
|
+
"258",
|
|
222
|
+
"260",
|
|
223
|
+
"261",
|
|
224
|
+
"262",
|
|
225
|
+
"263",
|
|
226
|
+
"264",
|
|
227
|
+
"265",
|
|
228
|
+
"266",
|
|
229
|
+
"267",
|
|
230
|
+
"268",
|
|
231
|
+
"269",
|
|
232
|
+
"290",
|
|
233
|
+
"291",
|
|
234
|
+
"297",
|
|
235
|
+
"298",
|
|
236
|
+
"299",
|
|
237
|
+
"350",
|
|
238
|
+
"351",
|
|
239
|
+
"352",
|
|
240
|
+
"353",
|
|
241
|
+
"354",
|
|
242
|
+
"355",
|
|
243
|
+
"356",
|
|
244
|
+
"357",
|
|
245
|
+
"358",
|
|
246
|
+
"359",
|
|
247
|
+
"370",
|
|
248
|
+
"371",
|
|
249
|
+
"372",
|
|
250
|
+
"373",
|
|
251
|
+
"374",
|
|
252
|
+
"375",
|
|
253
|
+
"376",
|
|
254
|
+
"377",
|
|
255
|
+
"378",
|
|
256
|
+
"380",
|
|
257
|
+
"381",
|
|
258
|
+
"382",
|
|
259
|
+
"383",
|
|
260
|
+
"385",
|
|
261
|
+
"386",
|
|
262
|
+
"387",
|
|
263
|
+
"389",
|
|
264
|
+
"420",
|
|
265
|
+
"421",
|
|
266
|
+
"423",
|
|
267
|
+
"500",
|
|
268
|
+
"501",
|
|
269
|
+
"502",
|
|
270
|
+
"503",
|
|
271
|
+
"504",
|
|
272
|
+
"505",
|
|
273
|
+
"506",
|
|
274
|
+
"507",
|
|
275
|
+
"508",
|
|
276
|
+
"509",
|
|
277
|
+
"590",
|
|
278
|
+
"591",
|
|
279
|
+
"592",
|
|
280
|
+
"593",
|
|
281
|
+
"594",
|
|
282
|
+
"595",
|
|
283
|
+
"596",
|
|
284
|
+
"597",
|
|
285
|
+
"598",
|
|
286
|
+
"599",
|
|
287
|
+
"670",
|
|
288
|
+
"672",
|
|
289
|
+
"673",
|
|
290
|
+
"674",
|
|
291
|
+
"675",
|
|
292
|
+
"676",
|
|
293
|
+
"677",
|
|
294
|
+
"678",
|
|
295
|
+
"679",
|
|
296
|
+
"680",
|
|
297
|
+
"681",
|
|
298
|
+
"682",
|
|
299
|
+
"683",
|
|
300
|
+
"685",
|
|
301
|
+
"686",
|
|
302
|
+
"687",
|
|
303
|
+
"688",
|
|
304
|
+
"689",
|
|
305
|
+
"690",
|
|
306
|
+
"691",
|
|
307
|
+
"692",
|
|
308
|
+
"850",
|
|
309
|
+
"852",
|
|
310
|
+
"853",
|
|
311
|
+
"855",
|
|
312
|
+
"856",
|
|
313
|
+
"880",
|
|
314
|
+
"886",
|
|
315
|
+
"960",
|
|
316
|
+
"961",
|
|
317
|
+
"962",
|
|
318
|
+
"963",
|
|
319
|
+
"964",
|
|
320
|
+
"965",
|
|
321
|
+
"966",
|
|
322
|
+
"967",
|
|
323
|
+
"968",
|
|
324
|
+
"970",
|
|
325
|
+
"971",
|
|
326
|
+
"972",
|
|
327
|
+
"973",
|
|
328
|
+
"974",
|
|
329
|
+
"975",
|
|
330
|
+
"976",
|
|
331
|
+
"977",
|
|
332
|
+
"992",
|
|
333
|
+
"993",
|
|
334
|
+
"994",
|
|
335
|
+
"995",
|
|
336
|
+
"996",
|
|
337
|
+
"998",
|
|
338
|
+
]);
|
|
339
|
+
function hasCountryCallingCode(digits) {
|
|
340
|
+
for (let length = 1; length <= 3; length++) {
|
|
341
|
+
if (COUNTRY_CALLING_CODES.has(digits.slice(0, length))) {
|
|
342
|
+
return true;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return false;
|
|
346
|
+
}
|
|
347
|
+
/*
|
|
348
|
+
* Numbers set aside for fiction and examples: North America's 555-0100 to
|
|
349
|
+
* 555-0199, and Ofcom's drama ranges (07700 900000 to 900999, 020 7946 0000
|
|
350
|
+
* to 0999).
|
|
351
|
+
*/
|
|
352
|
+
function isTestPhoneNumber(digits) {
|
|
353
|
+
const national = digits.length === 11 && digits.startsWith("1") ? digits.slice(1) : digits;
|
|
354
|
+
if (national.length === 10 && national.slice(3, 7) === "5550") {
|
|
355
|
+
const line = Number(national.slice(6, 10));
|
|
356
|
+
return line >= 100 && line <= 199;
|
|
357
|
+
}
|
|
358
|
+
const uk = digits.startsWith("44") ? "0" + digits.slice(2) : digits;
|
|
359
|
+
return uk.startsWith("07700900") || uk.startsWith("02079460");
|
|
360
|
+
}
|
|
361
|
+
const PHONE_KEYWORDS = [
|
|
362
|
+
"phone",
|
|
363
|
+
"tel",
|
|
364
|
+
"mobile",
|
|
365
|
+
"cell",
|
|
366
|
+
"call",
|
|
367
|
+
"sms",
|
|
368
|
+
"whatsapp",
|
|
369
|
+
"fax",
|
|
370
|
+
"contact",
|
|
371
|
+
];
|
|
372
|
+
// "+44 20 7946 0958", "+1 (415) 555-2671": a calling code and 7 to 14 digits.
|
|
373
|
+
const INTERNATIONAL_PHONE_PATTERN = /(?<![A-Za-z0-9+])\+[1-9][0-9 ().-]{6,22}[0-9](?![0-9])/g;
|
|
374
|
+
function hasSaneSeparators(raw) {
|
|
375
|
+
let open = 0;
|
|
376
|
+
let separatorRun = 0;
|
|
377
|
+
for (const character of raw) {
|
|
378
|
+
if (character === "(") {
|
|
379
|
+
open++;
|
|
380
|
+
}
|
|
381
|
+
else if (character === ")") {
|
|
382
|
+
open--;
|
|
383
|
+
if (open < 0) {
|
|
384
|
+
return false;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
if (character === " " || character === "-" || character === ".") {
|
|
388
|
+
separatorRun++;
|
|
389
|
+
if (separatorRun > 2) {
|
|
390
|
+
return false;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
separatorRun = 0;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
return open === 0;
|
|
398
|
+
}
|
|
399
|
+
const internationalPhoneDetector = {
|
|
400
|
+
dataTypeId: "phone-number",
|
|
401
|
+
quickCheck: (0, Detector_1.containsAny)(["+"]),
|
|
402
|
+
pattern: INTERNATIONAL_PHONE_PATTERN,
|
|
403
|
+
normalize: Detector_1.digitsOnly,
|
|
404
|
+
validate: (digits, raw) => {
|
|
405
|
+
return (digits.length >= 8 &&
|
|
406
|
+
digits.length <= 15 &&
|
|
407
|
+
hasCountryCallingCode(digits) &&
|
|
408
|
+
!(0, Detector_1.isPlaceholderDigits)(digits.slice(1)) &&
|
|
409
|
+
hasSaneSeparators(raw));
|
|
410
|
+
},
|
|
411
|
+
keywords: PHONE_KEYWORDS,
|
|
412
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
413
|
+
specificity: 2,
|
|
414
|
+
isTestValue: isTestPhoneNumber,
|
|
415
|
+
};
|
|
416
|
+
/*
|
|
417
|
+
* North America written the way people write it - "(415) 555-2671",
|
|
418
|
+
* "415-555-2671", "415.555.2671": the area code and exchange start 2 to 9
|
|
419
|
+
* and are not N11 service codes.
|
|
420
|
+
*/
|
|
421
|
+
const NANP_FORMATTED_PATTERN = /(?<![A-Za-z0-9])(?:\([2-9][0-9]{2}\)[ ]?|[2-9][0-9]{2}[-.])[2-9][0-9]{2}[-.][0-9]{4}(?![0-9])/g;
|
|
422
|
+
function isValidNanp(digits) {
|
|
423
|
+
const national = digits.length === 11 && digits.startsWith("1") ? digits.slice(1) : digits;
|
|
424
|
+
if (national.length !== 10) {
|
|
425
|
+
return false;
|
|
426
|
+
}
|
|
427
|
+
// N11 codes (211, 311 ... 911) are services, never an area or exchange.
|
|
428
|
+
return (national.slice(1, 3) !== "11" &&
|
|
429
|
+
national.slice(4, 6) !== "11" &&
|
|
430
|
+
national[0] >= "2" &&
|
|
431
|
+
national[3] >= "2");
|
|
432
|
+
}
|
|
433
|
+
const nanpFormattedDetector = {
|
|
434
|
+
dataTypeId: "phone-number",
|
|
435
|
+
quickCheck: Detector_1.hasDigit,
|
|
436
|
+
pattern: NANP_FORMATTED_PATTERN,
|
|
437
|
+
normalize: Detector_1.digitsOnly,
|
|
438
|
+
validate: (digits) => {
|
|
439
|
+
return isValidNanp(digits) && !(0, Detector_1.isPlaceholderDigits)(digits);
|
|
440
|
+
},
|
|
441
|
+
keywords: PHONE_KEYWORDS,
|
|
442
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
443
|
+
specificity: 2,
|
|
444
|
+
isTestValue: isTestPhoneNumber,
|
|
445
|
+
};
|
|
446
|
+
// A UK mobile: 07 and nine more digits, often as 07xxx xxxxxx.
|
|
447
|
+
const UK_MOBILE_PATTERN = /(?<![A-Za-z0-9+])07[0-9]{3}[ ]?[0-9]{3}[ ]?[0-9]{3}(?![0-9])/g;
|
|
448
|
+
const ukMobileDetector = {
|
|
449
|
+
dataTypeId: "phone-number",
|
|
450
|
+
quickCheck: (0, Detector_1.containsAny)(["07"]),
|
|
451
|
+
pattern: UK_MOBILE_PATTERN,
|
|
452
|
+
normalize: Detector_1.digitsOnly,
|
|
453
|
+
validate: (digits) => {
|
|
454
|
+
return digits.length === 11 && !(0, Detector_1.isPlaceholderDigits)(digits.slice(2));
|
|
455
|
+
},
|
|
456
|
+
keywords: PHONE_KEYWORDS,
|
|
457
|
+
confidenceWithoutContext: DataConfidence_1.default.Low,
|
|
458
|
+
specificity: 1,
|
|
459
|
+
isTestValue: isTestPhoneNumber,
|
|
460
|
+
};
|
|
461
|
+
// Any national number of 9 to 12 digits, only next to phone words.
|
|
462
|
+
const NATIONAL_PHONE_PATTERN = /(?<![A-Za-z0-9+])0?[1-9][0-9]{8,11}(?![0-9])/g;
|
|
463
|
+
const nationalPhoneDetector = {
|
|
464
|
+
dataTypeId: "phone-number",
|
|
465
|
+
quickCheck: Detector_1.hasDigit,
|
|
466
|
+
pattern: NATIONAL_PHONE_PATTERN,
|
|
467
|
+
normalize: Detector_1.digitsOnly,
|
|
468
|
+
validate: (digits) => {
|
|
469
|
+
return !(0, Detector_1.isPlaceholderDigits)(digits);
|
|
470
|
+
},
|
|
471
|
+
keywords: PHONE_KEYWORDS,
|
|
472
|
+
requiresContext: true,
|
|
473
|
+
contextBefore: 32,
|
|
474
|
+
contextAfter: 8,
|
|
475
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
476
|
+
specificity: 1,
|
|
477
|
+
isTestValue: isTestPhoneNumber,
|
|
478
|
+
fieldValuePattern: /^\+?[0-9][0-9 ().-]{6,22}[0-9]$/,
|
|
479
|
+
};
|
|
480
|
+
/*
|
|
481
|
+
* A street address in the English-speaking style: a house number, a street
|
|
482
|
+
* name and a street type. Most addresses in most stores look like this, and
|
|
483
|
+
* the street type is what keeps "12 apples" out.
|
|
484
|
+
*/
|
|
485
|
+
const STREET_ADDRESS_PATTERN = /(?<![A-Za-z0-9])[0-9]{1,6}[A-Za-z]?[ ](?:[A-Z][A-Za-z.'-]{1,24}[ ]){1,4}(?:Street|St|Avenue|Ave|Road|Rd|Boulevard|Blvd|Lane|Ln|Drive|Dr|Court|Ct|Way|Place|Pl|Terrace|Parkway|Pkwy|Highway|Hwy|Circle|Cir|Square|Sq|Trail|Close|Crescent|Grove|Gardens|Row|Mews)\.?(?![A-Za-z])/g;
|
|
486
|
+
const streetAddressDetector = {
|
|
487
|
+
dataTypeId: "postal-address",
|
|
488
|
+
quickCheck: Detector_1.hasDigit,
|
|
489
|
+
pattern: STREET_ADDRESS_PATTERN,
|
|
490
|
+
keywords: [
|
|
491
|
+
"address",
|
|
492
|
+
"street",
|
|
493
|
+
"ship to",
|
|
494
|
+
"bill to",
|
|
495
|
+
"deliver",
|
|
496
|
+
"residence",
|
|
497
|
+
"lives at",
|
|
498
|
+
],
|
|
499
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
500
|
+
specificity: 1,
|
|
501
|
+
fieldValuePattern: /^[0-9]{1,6}[A-Za-z]?[ ,].{3,120}$/,
|
|
502
|
+
};
|
|
503
|
+
// "SW1A 1AA", "EC1A 1BB": a UK postcode with its space.
|
|
504
|
+
const UK_POSTCODE_PATTERN = /(?<![A-Za-z0-9])[A-Z]{1,2}[0-9][A-Z0-9]?[ ][0-9][A-BD-HJLNP-UW-Z]{2}(?![A-Za-z0-9])/g;
|
|
505
|
+
const ukPostcodeDetector = {
|
|
506
|
+
dataTypeId: "postal-code",
|
|
507
|
+
quickCheck: Detector_1.hasDigit,
|
|
508
|
+
pattern: UK_POSTCODE_PATTERN,
|
|
509
|
+
keywords: ["postcode", "post code", "address", "zip"],
|
|
510
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
511
|
+
specificity: 2,
|
|
512
|
+
};
|
|
513
|
+
// "K1A 0B1": a Canadian postal code; D, F, I, O, Q and U never appear.
|
|
514
|
+
const CANADA_POSTAL_CODE_PATTERN = /(?<![A-Za-z0-9])[ABCEGHJ-NPRSTVXY][0-9][ABCEGHJ-NPRSTV-Z][ ]?[0-9][ABCEGHJ-NPRSTV-Z][0-9](?![A-Za-z0-9])/g;
|
|
515
|
+
const canadaPostalCodeDetector = {
|
|
516
|
+
dataTypeId: "postal-code",
|
|
517
|
+
quickCheck: Detector_1.hasDigit,
|
|
518
|
+
pattern: CANADA_POSTAL_CODE_PATTERN,
|
|
519
|
+
keywords: ["postal code", "postal", "address", "zip"],
|
|
520
|
+
confidenceWithoutContext: DataConfidence_1.default.Low,
|
|
521
|
+
specificity: 2,
|
|
522
|
+
};
|
|
523
|
+
// A US ZIP or ZIP+4, only next to words that say so.
|
|
524
|
+
const US_ZIP_PATTERN = /(?<![0-9-])[0-9]{5}(?:-[0-9]{4})?(?![0-9-])/g;
|
|
525
|
+
const usZipDetector = {
|
|
526
|
+
dataTypeId: "postal-code",
|
|
527
|
+
quickCheck: Detector_1.hasDigit,
|
|
528
|
+
pattern: US_ZIP_PATTERN,
|
|
529
|
+
normalize: Detector_1.digitsOnly,
|
|
530
|
+
validate: (digits) => {
|
|
531
|
+
return digits.slice(0, 5) !== "00000";
|
|
532
|
+
},
|
|
533
|
+
keywords: ["zip", "zip code", "zipcode", "postal"],
|
|
534
|
+
requiresContext: true,
|
|
535
|
+
contextBefore: 24,
|
|
536
|
+
contextAfter: 4,
|
|
537
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
538
|
+
specificity: 1,
|
|
539
|
+
fieldValuePattern: /^[0-9]{5}(?:-[0-9]{4})?$/,
|
|
540
|
+
};
|
|
541
|
+
const BIRTH_KEYWORDS = [
|
|
542
|
+
"dob",
|
|
543
|
+
"d.o.b",
|
|
544
|
+
"date of birth",
|
|
545
|
+
"birth",
|
|
546
|
+
"born",
|
|
547
|
+
"birthday",
|
|
548
|
+
"geboren",
|
|
549
|
+
"geburtsdatum",
|
|
550
|
+
"naissance",
|
|
551
|
+
"nacimiento",
|
|
552
|
+
"nascimento",
|
|
553
|
+
"nascita",
|
|
554
|
+
"fodselsdato",
|
|
555
|
+
];
|
|
556
|
+
const MONTH_NAMES = [
|
|
557
|
+
"jan",
|
|
558
|
+
"feb",
|
|
559
|
+
"mar",
|
|
560
|
+
"apr",
|
|
561
|
+
"may",
|
|
562
|
+
"jun",
|
|
563
|
+
"jul",
|
|
564
|
+
"aug",
|
|
565
|
+
"sep",
|
|
566
|
+
"oct",
|
|
567
|
+
"nov",
|
|
568
|
+
"dec",
|
|
569
|
+
];
|
|
570
|
+
/*
|
|
571
|
+
* Whether a written date is a real one in a plausible birth year: from 1900
|
|
572
|
+
* to this year. Reads ISO (1985-03-12), day-first (12/03/1985, 12.03.1985),
|
|
573
|
+
* month-first (03/12/1985) and month names (12 March 1985, March 12, 1985);
|
|
574
|
+
* an ambiguous numeric date counts when either reading is real.
|
|
575
|
+
*/
|
|
576
|
+
function isPlausibleBirthDate(raw) {
|
|
577
|
+
const thisYear = new Date().getUTCFullYear();
|
|
578
|
+
const lower = raw.toLowerCase();
|
|
579
|
+
const numbers = (lower.match(/[0-9]{1,4}/g) || []).map((part) => {
|
|
580
|
+
return Number(part);
|
|
581
|
+
});
|
|
582
|
+
const plausibleYear = (year) => {
|
|
583
|
+
return year >= 1900 && year <= thisYear;
|
|
584
|
+
};
|
|
585
|
+
const monthIndex = MONTH_NAMES.findIndex((month) => {
|
|
586
|
+
return lower.includes(month);
|
|
587
|
+
});
|
|
588
|
+
if (monthIndex >= 0 && numbers.length === 2) {
|
|
589
|
+
const day = numbers[0] > 31 ? numbers[1] : numbers[0];
|
|
590
|
+
const year = numbers[0] > 31 ? numbers[0] : numbers[1];
|
|
591
|
+
return plausibleYear(year) && (0, Validators_1.isRealDate)(year, monthIndex + 1, day);
|
|
592
|
+
}
|
|
593
|
+
if (numbers.length !== 3) {
|
|
594
|
+
return false;
|
|
595
|
+
}
|
|
596
|
+
const [first, second, third] = numbers;
|
|
597
|
+
if (first >= 1000) {
|
|
598
|
+
return plausibleYear(first) && (0, Validators_1.isRealDate)(first, second, third);
|
|
599
|
+
}
|
|
600
|
+
return (plausibleYear(third) &&
|
|
601
|
+
((0, Validators_1.isRealDate)(third, second, first) || (0, Validators_1.isRealDate)(third, first, second)));
|
|
602
|
+
}
|
|
603
|
+
const NUMERIC_DATE_PATTERN = /(?<![0-9])(?:(?:19|20)[0-9]{2}[-/.](?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12][0-9]|3[01])|(?:0?[1-9]|[12][0-9]|3[01])[-/.](?:0?[1-9]|[12][0-9]|3[01])[-/.](?:19|20)[0-9]{2})(?![0-9])/g;
|
|
604
|
+
const WRITTEN_DATE_PATTERN = /(?<![A-Za-z0-9])(?:[0-9]{1,2}[ ](?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]{0,6}\.?[ ,]{1,2}(?:19|20)[0-9]{2}|(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]{0,6}\.?[ ][0-9]{1,2},?[ ](?:19|20)[0-9]{2})(?![A-Za-z0-9])/gi;
|
|
605
|
+
const numericBirthDateDetector = {
|
|
606
|
+
dataTypeId: "date-of-birth",
|
|
607
|
+
quickCheck: Detector_1.hasDigit,
|
|
608
|
+
pattern: NUMERIC_DATE_PATTERN,
|
|
609
|
+
validate: (_normalized, raw) => {
|
|
610
|
+
return isPlausibleBirthDate(raw);
|
|
611
|
+
},
|
|
612
|
+
keywords: BIRTH_KEYWORDS,
|
|
613
|
+
requiresContext: true,
|
|
614
|
+
contextBefore: 40,
|
|
615
|
+
contextAfter: 8,
|
|
616
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
617
|
+
specificity: 1,
|
|
618
|
+
fieldValuePattern: /^(?:(?:19|20)[0-9]{2}[-/.][0-9]{1,2}[-/.][0-9]{1,2}(?:[T ][0-9:.Z+-]{0,30})?|[0-9]{1,2}[-/.][0-9]{1,2}[-/.](?:19|20)[0-9]{2})$/,
|
|
619
|
+
};
|
|
620
|
+
const writtenBirthDateDetector = {
|
|
621
|
+
dataTypeId: "date-of-birth",
|
|
622
|
+
quickCheck: Detector_1.hasDigit,
|
|
623
|
+
pattern: WRITTEN_DATE_PATTERN,
|
|
624
|
+
validate: (_normalized, raw) => {
|
|
625
|
+
return isPlausibleBirthDate(raw);
|
|
626
|
+
},
|
|
627
|
+
keywords: BIRTH_KEYWORDS,
|
|
628
|
+
requiresContext: true,
|
|
629
|
+
contextBefore: 40,
|
|
630
|
+
contextAfter: 8,
|
|
631
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
632
|
+
specificity: 1,
|
|
633
|
+
};
|
|
634
|
+
/*
|
|
635
|
+
* IPv4 addresses that point at no one: private, loopback, link-local,
|
|
636
|
+
* carrier-grade NAT, multicast and reserved. GDPR counts an address as
|
|
637
|
+
* personal data because it can be tied to a subscriber; these cannot.
|
|
638
|
+
*/
|
|
639
|
+
function isPublicIpv4(address) {
|
|
640
|
+
const octets = address.split(".").map((part) => {
|
|
641
|
+
return Number(part);
|
|
642
|
+
});
|
|
643
|
+
if (octets.length !== 4) {
|
|
644
|
+
return false;
|
|
645
|
+
}
|
|
646
|
+
const [a, b] = octets;
|
|
647
|
+
return !(a === 0 ||
|
|
648
|
+
a === 10 ||
|
|
649
|
+
a === 127 ||
|
|
650
|
+
(a === 100 && b >= 64 && b <= 127) ||
|
|
651
|
+
(a === 169 && b === 254) ||
|
|
652
|
+
(a === 172 && b >= 16 && b <= 31) ||
|
|
653
|
+
(a === 192 && b === 168) ||
|
|
654
|
+
(a === 192 && b === 0) ||
|
|
655
|
+
(a === 198 && (b === 18 || b === 19)) ||
|
|
656
|
+
a >= 224);
|
|
657
|
+
}
|
|
658
|
+
// The ranges RFC 5737 sets aside for documentation.
|
|
659
|
+
function isDocumentationIpv4(address) {
|
|
660
|
+
return (address.startsWith("192.0.2.") ||
|
|
661
|
+
address.startsWith("198.51.100.") ||
|
|
662
|
+
address.startsWith("203.0.113."));
|
|
663
|
+
}
|
|
664
|
+
const IPV4_PATTERN = /(?<![0-9.])(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}(?![0-9]|\.[0-9])/g;
|
|
665
|
+
const ipv4Detector = {
|
|
666
|
+
dataTypeId: "ip-address",
|
|
667
|
+
quickCheck: (0, Detector_1.containsAny)(["."]),
|
|
668
|
+
pattern: IPV4_PATTERN,
|
|
669
|
+
validate: (normalized) => {
|
|
670
|
+
return isPublicIpv4(normalized) || isDocumentationIpv4(normalized);
|
|
671
|
+
},
|
|
672
|
+
keywords: ["ip", "address", "client", "remote", "forwarded", "src", "source"],
|
|
673
|
+
negativeKeywords: ["version", "v.", "build", "release", "oid"],
|
|
674
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
675
|
+
specificity: 2,
|
|
676
|
+
isTestValue: isDocumentationIpv4,
|
|
677
|
+
};
|
|
678
|
+
/*
|
|
679
|
+
* Whether text is an IPv6 address that names one host on the internet:
|
|
680
|
+
* eight groups, or fewer around a single "::", and none of loopback,
|
|
681
|
+
* link-local, unique-local, multicast or the documentation prefix.
|
|
682
|
+
*/
|
|
683
|
+
function isPublicIpv6(address) {
|
|
684
|
+
const lower = address.toLowerCase();
|
|
685
|
+
const doubleColons = lower.split("::").length - 1;
|
|
686
|
+
if (doubleColons > 1) {
|
|
687
|
+
return false;
|
|
688
|
+
}
|
|
689
|
+
const groups = lower.split(":").filter((group) => {
|
|
690
|
+
return group.length > 0;
|
|
691
|
+
});
|
|
692
|
+
if (doubleColons === 0 ? groups.length !== 8 : groups.length > 7) {
|
|
693
|
+
return false;
|
|
694
|
+
}
|
|
695
|
+
for (const group of groups) {
|
|
696
|
+
if (group.length > 4) {
|
|
697
|
+
return false;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
const first = parseInt(groups[0] || "0", 16);
|
|
701
|
+
return !(lower === "::" ||
|
|
702
|
+
lower === "::1" ||
|
|
703
|
+
(first & 0xffc0) === 0xfe80 ||
|
|
704
|
+
(first & 0xfe00) === 0xfc00 ||
|
|
705
|
+
(first & 0xff00) === 0xff00 ||
|
|
706
|
+
first === 0);
|
|
707
|
+
}
|
|
708
|
+
// 2001:db8::/32, however its groups are written: 2001:db8:: or 2001:0db8:...
|
|
709
|
+
function isDocumentationIpv6(address) {
|
|
710
|
+
const groups = address.split(":");
|
|
711
|
+
return (groups.length > 2 &&
|
|
712
|
+
groups[1].length > 0 &&
|
|
713
|
+
parseInt(groups[0], 16) === 0x2001 &&
|
|
714
|
+
parseInt(groups[1], 16) === 0x0db8);
|
|
715
|
+
}
|
|
716
|
+
/*
|
|
717
|
+
* Groups and colons, the last group either written out or after a "::"
|
|
718
|
+
* that may end the address (2001:db8::) or lead to up to six more groups
|
|
719
|
+
* (2001:db8::8a2e:370:7334) - the way addresses are usually written.
|
|
720
|
+
*/
|
|
721
|
+
const IPV6_PATTERN = /(?<![0-9A-Fa-f:])(?:[0-9A-Fa-f]{1,4}:){1,7}(?:[0-9A-Fa-f]{1,4}|:(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,5})?)(?![0-9A-Fa-f:])/g;
|
|
722
|
+
const ipv6Detector = {
|
|
723
|
+
dataTypeId: "ip-address",
|
|
724
|
+
quickCheck: (0, Detector_1.containsAny)([":"]),
|
|
725
|
+
pattern: IPV6_PATTERN,
|
|
726
|
+
validate: (normalized) => {
|
|
727
|
+
return ((isPublicIpv6(normalized) || isDocumentationIpv6(normalized)) &&
|
|
728
|
+
// A clock reads 12:30:45 - an address has hex letters or many groups.
|
|
729
|
+
normalized.split(":").length >= 4);
|
|
730
|
+
},
|
|
731
|
+
keywords: ["ip", "address", "client", "remote", "forwarded", "ipv6"],
|
|
732
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
733
|
+
specificity: 2,
|
|
734
|
+
isTestValue: isDocumentationIpv6,
|
|
735
|
+
};
|
|
736
|
+
const MAC_PATTERN = /(?<![0-9A-Fa-f:-])[0-9A-Fa-f]{2}([:-])[0-9A-Fa-f]{2}(?:[:-][0-9A-Fa-f]{2}){4}(?![0-9A-Fa-f:-])/g;
|
|
737
|
+
const macDetector = {
|
|
738
|
+
dataTypeId: "mac-address",
|
|
739
|
+
quickCheck: (0, Detector_1.containsAny)([":", "-"]),
|
|
740
|
+
pattern: MAC_PATTERN,
|
|
741
|
+
normalize: (value) => {
|
|
742
|
+
return value.toLowerCase().replace(/-/g, ":");
|
|
743
|
+
},
|
|
744
|
+
validate: (normalized, raw) => {
|
|
745
|
+
// One separator throughout, and not all zeros or the broadcast address.
|
|
746
|
+
const separators = new Set(raw.replace(/[0-9A-Fa-f]/g, ""));
|
|
747
|
+
return (separators.size === 1 &&
|
|
748
|
+
normalized !== "00:00:00:00:00:00" &&
|
|
749
|
+
normalized !== "ff:ff:ff:ff:ff:ff");
|
|
750
|
+
},
|
|
751
|
+
keywords: ["mac", "hwaddr", "ether", "device", "bssid"],
|
|
752
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
753
|
+
specificity: 2,
|
|
754
|
+
};
|
|
755
|
+
const UUID_PATTERN = /(?<![0-9A-Fa-f-])[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}(?![0-9A-Fa-f-])/g;
|
|
756
|
+
const advertisingIdDetector = {
|
|
757
|
+
dataTypeId: "advertising-id",
|
|
758
|
+
quickCheck: (0, Detector_1.containsAny)(["-"]),
|
|
759
|
+
pattern: UUID_PATTERN,
|
|
760
|
+
normalize: (value) => {
|
|
761
|
+
return value.toLowerCase();
|
|
762
|
+
},
|
|
763
|
+
keywords: [
|
|
764
|
+
"idfa",
|
|
765
|
+
"gaid",
|
|
766
|
+
"aaid",
|
|
767
|
+
"adid",
|
|
768
|
+
"advertising",
|
|
769
|
+
"ad_id",
|
|
770
|
+
"advertisingid",
|
|
771
|
+
],
|
|
772
|
+
requiresContext: true,
|
|
773
|
+
contextBefore: 32,
|
|
774
|
+
contextAfter: 4,
|
|
775
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
776
|
+
specificity: 1,
|
|
777
|
+
// The zeroed ID a device reports when the person turned tracking off.
|
|
778
|
+
isTestValue: (normalized) => {
|
|
779
|
+
return normalized === "00000000-0000-0000-0000-000000000000";
|
|
780
|
+
},
|
|
781
|
+
fieldValuePattern: /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$/,
|
|
782
|
+
};
|
|
783
|
+
/*
|
|
784
|
+
* A latitude and longitude pair with at least four decimals - about 11
|
|
785
|
+
* metres, enough to find a building.
|
|
786
|
+
*/
|
|
787
|
+
const COORDINATE_PAIR_PATTERN = /(?<![0-9.-])-?[0-9]{1,2}\.[0-9]{4,10}[ ]?,[ ]?-?[0-9]{1,3}\.[0-9]{4,10}(?![0-9])/g;
|
|
788
|
+
const coordinatePairDetector = {
|
|
789
|
+
dataTypeId: "geolocation",
|
|
790
|
+
quickCheck: (0, Detector_1.containsAny)(["."]),
|
|
791
|
+
pattern: COORDINATE_PAIR_PATTERN,
|
|
792
|
+
validate: (normalized) => {
|
|
793
|
+
const [latitude, longitude] = normalized.split(",").map((part) => {
|
|
794
|
+
return Number(part.trim());
|
|
795
|
+
});
|
|
796
|
+
return (Math.abs(latitude) <= 90 &&
|
|
797
|
+
Math.abs(longitude) <= 180 &&
|
|
798
|
+
!(latitude === 0 && longitude === 0));
|
|
799
|
+
},
|
|
800
|
+
keywords: [
|
|
801
|
+
"lat",
|
|
802
|
+
"lng",
|
|
803
|
+
"lon",
|
|
804
|
+
"latitude",
|
|
805
|
+
"longitude",
|
|
806
|
+
"location",
|
|
807
|
+
"coordinates",
|
|
808
|
+
"geo",
|
|
809
|
+
"gps",
|
|
810
|
+
],
|
|
811
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
812
|
+
specificity: 1,
|
|
813
|
+
};
|
|
814
|
+
// One coordinate, only in a field named for it ("lat": 37.77493).
|
|
815
|
+
const SINGLE_COORDINATE_PATTERN = /(?<![0-9.-])-?[0-9]{1,3}\.[0-9]{4,10}(?![0-9])/g;
|
|
816
|
+
const singleCoordinateDetector = {
|
|
817
|
+
dataTypeId: "geolocation",
|
|
818
|
+
quickCheck: (0, Detector_1.containsAny)(["."]),
|
|
819
|
+
pattern: SINGLE_COORDINATE_PATTERN,
|
|
820
|
+
validate: (normalized) => {
|
|
821
|
+
return Math.abs(Number(normalized)) <= 180;
|
|
822
|
+
},
|
|
823
|
+
keywords: ["lat", "lng", "lon", "latitude", "longitude"],
|
|
824
|
+
requiresContext: true,
|
|
825
|
+
contextBefore: 16,
|
|
826
|
+
contextAfter: 2,
|
|
827
|
+
confidenceWithoutContext: DataConfidence_1.default.Medium,
|
|
828
|
+
specificity: 1,
|
|
829
|
+
fieldValuePattern: /^-?[0-9]{1,3}\.[0-9]{4,10}$/,
|
|
830
|
+
};
|
|
831
|
+
/*
|
|
832
|
+
* The North American VIN check digit (position 9): letters transliterate to
|
|
833
|
+
* numbers, positions carry fixed weights, and the sum modulo 11 is the
|
|
834
|
+
* check digit (10 written as X). I, O and Q never appear.
|
|
835
|
+
*/
|
|
836
|
+
const VIN_TRANSLITERATION = {
|
|
837
|
+
A: 1,
|
|
838
|
+
B: 2,
|
|
839
|
+
C: 3,
|
|
840
|
+
D: 4,
|
|
841
|
+
E: 5,
|
|
842
|
+
F: 6,
|
|
843
|
+
G: 7,
|
|
844
|
+
H: 8,
|
|
845
|
+
J: 1,
|
|
846
|
+
K: 2,
|
|
847
|
+
L: 3,
|
|
848
|
+
M: 4,
|
|
849
|
+
N: 5,
|
|
850
|
+
P: 7,
|
|
851
|
+
R: 9,
|
|
852
|
+
S: 2,
|
|
853
|
+
T: 3,
|
|
854
|
+
U: 4,
|
|
855
|
+
V: 5,
|
|
856
|
+
W: 6,
|
|
857
|
+
X: 7,
|
|
858
|
+
Y: 8,
|
|
859
|
+
Z: 9,
|
|
860
|
+
};
|
|
861
|
+
const VIN_WEIGHTS = [
|
|
862
|
+
8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2,
|
|
863
|
+
];
|
|
864
|
+
const ANY_DIGIT = /[0-9]/;
|
|
865
|
+
const ANY_CAPITAL = /[A-Z]/;
|
|
866
|
+
function isValidVin(vin) {
|
|
867
|
+
if (vin.length !== 17 || !ANY_DIGIT.test(vin) || !ANY_CAPITAL.test(vin)) {
|
|
868
|
+
return false;
|
|
869
|
+
}
|
|
870
|
+
let sum = 0;
|
|
871
|
+
for (let index = 0; index < 17; index++) {
|
|
872
|
+
const character = vin[index];
|
|
873
|
+
const value = character >= "0" && character <= "9"
|
|
874
|
+
? Number(character)
|
|
875
|
+
: VIN_TRANSLITERATION[character];
|
|
876
|
+
if (value === undefined) {
|
|
877
|
+
return false;
|
|
878
|
+
}
|
|
879
|
+
sum += value * VIN_WEIGHTS[index];
|
|
880
|
+
}
|
|
881
|
+
const check = sum % 11;
|
|
882
|
+
return vin[8] === (check === 10 ? "X" : String(check));
|
|
883
|
+
}
|
|
884
|
+
const VIN_PATTERN = /(?<![A-Za-z0-9])[A-HJ-NPR-Z0-9]{17}(?![A-Za-z0-9])/g;
|
|
885
|
+
const vinDetector = {
|
|
886
|
+
dataTypeId: "vehicle-identification-number",
|
|
887
|
+
quickCheck: Detector_1.hasDigit,
|
|
888
|
+
pattern: VIN_PATTERN,
|
|
889
|
+
normalize: Detector_1.alphanumericUpper,
|
|
890
|
+
validate: isValidVin,
|
|
891
|
+
keywords: ["vin", "vehicle", "chassis", "car", "registration"],
|
|
892
|
+
confidenceWithoutContext: DataConfidence_1.default.Low,
|
|
893
|
+
specificity: 2,
|
|
894
|
+
};
|
|
895
|
+
exports.CONTACT_DETECTORS = [
|
|
896
|
+
emailDetector,
|
|
897
|
+
internationalPhoneDetector,
|
|
898
|
+
nanpFormattedDetector,
|
|
899
|
+
ukMobileDetector,
|
|
900
|
+
nationalPhoneDetector,
|
|
901
|
+
streetAddressDetector,
|
|
902
|
+
ukPostcodeDetector,
|
|
903
|
+
canadaPostalCodeDetector,
|
|
904
|
+
usZipDetector,
|
|
905
|
+
numericBirthDateDetector,
|
|
906
|
+
writtenBirthDateDetector,
|
|
907
|
+
ipv4Detector,
|
|
908
|
+
ipv6Detector,
|
|
909
|
+
macDetector,
|
|
910
|
+
advertisingIdDetector,
|
|
911
|
+
coordinatePairDetector,
|
|
912
|
+
singleCoordinateDetector,
|
|
913
|
+
vinDetector,
|
|
914
|
+
];
|
|
915
|
+
exports.default = exports.CONTACT_DETECTORS;
|