@jupiterone/integration-sdk-core
Advanced tools
Comparing version 8.36.0 to 8.30.1
@@ -44,5 +44,4 @@ "use strict"; | ||
tagMap = tags.reduce((m, t) => { | ||
var _a, _b; | ||
const k = (_a = t.Key) !== null && _a !== void 0 ? _a : t.key; | ||
const v = (_b = t.Value) !== null && _b !== void 0 ? _b : t.value; | ||
const k = t.Key || t.key; | ||
const v = t.Value || t.value; | ||
if (k && v != null) { | ||
@@ -68,3 +67,3 @@ m[k] = v; | ||
if (value != null) { | ||
if (TRUE_BOOLEAN_REGEX.test(value) || value === '') { | ||
if (TRUE_BOOLEAN_REGEX.test(value)) { | ||
tags.push(key); | ||
@@ -71,0 +70,0 @@ } |
@@ -44,16 +44,5 @@ import { IntegrationInstanceConfig } from './instance'; | ||
instanceConfigFields?: IntegrationInstanceConfigFieldMap<TConfig>; | ||
/** | ||
* This configuration element is used to store information about data | ||
* ingestion sources that can be enabled or disabled. When this element | ||
* is provided, it is expected that one or more steps will reference | ||
* these ids so that if one of these elements is disabled, all steps and | ||
* dependencies will also be disabled. | ||
* In essence, the ingestionConfig allows grouping and controlling | ||
* the activation of a list of steps. | ||
* | ||
*/ | ||
ingestionConfig?: IntegrationIngestionConfigFieldMap; | ||
} | ||
export interface IntegrationInstanceConfigField { | ||
type?: 'string' | 'json' | 'boolean'; | ||
type?: 'string' | 'boolean'; | ||
mask?: boolean; | ||
@@ -63,9 +52,1 @@ optional?: boolean; | ||
export declare type IntegrationInstanceConfigFieldMap<TConfig extends IntegrationInstanceConfig = IntegrationInstanceConfig> = Record<keyof TConfig, IntegrationInstanceConfigField>; | ||
export declare type IntegrationSourceId = string; | ||
export interface IntegrationIngestionConfigField { | ||
title: string; | ||
description?: string; | ||
defaultsToDisabled?: boolean; | ||
cannotBeDisabled?: boolean; | ||
} | ||
export declare type IntegrationIngestionConfigFieldMap = Record<IntegrationSourceId, IntegrationIngestionConfigField>; |
@@ -9,4 +9,3 @@ import { RelationshipClass, IntegrationEntitySchema } from '@jupiterone/data-model'; | ||
BETA = "beta", | ||
CONFIG = "config", | ||
API_VERSION = "api_version" | ||
CONFIG = "config" | ||
} | ||
@@ -176,12 +175,2 @@ export interface StepStartState { | ||
dependencyGraphId?: string; | ||
/** | ||
* An optional ID that, when provided, must correspond to an element | ||
* specified in the ingestionConfig in the invocationConfig. | ||
* By providing this ID, this step becomes an element of an | ||
* ingestion source, allowing it to be enabled or disabled | ||
* as part of it. If it is disabled, any steps that depend on it | ||
* will also be disabled. | ||
* | ||
*/ | ||
ingestionSourceId?: string; | ||
}; |
@@ -10,3 +10,2 @@ "use strict"; | ||
DisabledStepReason["CONFIG"] = "config"; | ||
DisabledStepReason["API_VERSION"] = "api_version"; | ||
})(DisabledStepReason = exports.DisabledStepReason || (exports.DisabledStepReason = {})); | ||
@@ -13,0 +12,0 @@ var StepResultStatus; |
{ | ||
"name": "@jupiterone/integration-sdk-core", | ||
"version": "8.36.0", | ||
"version": "8.30.1", | ||
"description": "The SDK for developing JupiterOne integrations", | ||
@@ -14,3 +14,3 @@ "main": "dist/src/index.js", | ||
"engines": { | ||
"node": ">=14.17.0 <15.x" | ||
"node": "14.x" | ||
}, | ||
@@ -27,4 +27,5 @@ "publishConfig": { | ||
"dependencies": { | ||
"@jupiterone/data-model": "^0.54.0", | ||
"lodash": "^4.17.21" | ||
"@jupiterone/data-model": "^0.52.0", | ||
"lodash": "^4.17.21", | ||
"uuid": "^8.3.2" | ||
}, | ||
@@ -34,3 +35,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "c345f3470170d95e9f5c558e18c0fc1023c20c86" | ||
"gitHead": "c03094f61ad8a4e5c6ac3337f0976455616351e4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186214
3
2626
+ Addeduuid@^8.3.2
+ Added@jupiterone/data-model@0.52.0(transitive)
+ Addeduuid@8.3.2(transitive)
- Removed@jupiterone/data-model@0.54.0(transitive)