@jupiterone/integration-sdk-core 6.16.1 → 6.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/index.js +1 -0
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/types/spec.d.ts +10 -0
- package/dist/src/types/spec.js +3 -0
- package/dist/src/types/spec.js.map +1 -0
- package/dist/tsconfig.dist.tsbuildinfo +53 -8
- package/package.json +3 -3
package/dist/src/types/index.js
CHANGED
|
@@ -16,6 +16,7 @@ __exportStar(require("./instance"), exports);
|
|
|
16
16
|
__exportStar(require("./jobState"), exports);
|
|
17
17
|
__exportStar(require("./logger"), exports);
|
|
18
18
|
__exportStar(require("./partialDatasets"), exports);
|
|
19
|
+
__exportStar(require("./spec"), exports);
|
|
19
20
|
__exportStar(require("./step"), exports);
|
|
20
21
|
__exportStar(require("./validation"), exports);
|
|
21
22
|
__exportStar(require("./synchronization"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,2CAAyB;AACzB,oDAAkC;AAClC,yCAAuB;AACvB,+CAA6B;AAC7B,oDAAkC;AAClC,2CAAyB;AACzB,4CAA0B;AAE1B,oDAAkC;AAClC,2CAAyB;AACzB,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,2CAAyB;AACzB,oDAAkC;AAClC,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAC7B,oDAAkC;AAClC,2CAAyB;AACzB,4CAA0B;AAE1B,oDAAkC;AAClC,2CAAyB;AACzB,iDAA+B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IntegrationInvocationConfig } from './config';
|
|
2
|
+
import { IntegrationStepExecutionContext } from './context';
|
|
3
|
+
import { IntegrationInstanceConfig } from './instance';
|
|
4
|
+
import { Step } from './step';
|
|
5
|
+
export interface StepSpec<TConfig extends IntegrationInstanceConfig> extends Omit<Step<IntegrationStepExecutionContext<TConfig>>, 'executionHandler'> {
|
|
6
|
+
implemented: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IntegrationSpecConfig<TConfig extends IntegrationInstanceConfig = IntegrationInstanceConfig> extends Omit<IntegrationInvocationConfig, 'integrationSteps'> {
|
|
9
|
+
integrationSteps: StepSpec<TConfig>[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../../src/types/spec.ts"],"names":[],"mappings":""}
|
|
@@ -297,8 +297,8 @@
|
|
|
297
297
|
"affectsGlobalScope": false
|
|
298
298
|
},
|
|
299
299
|
"../../../node_modules/@jupiterone/data-model/dist/RelationshipClass.d.ts": {
|
|
300
|
-
"version": "
|
|
301
|
-
"signature": "
|
|
300
|
+
"version": "397df2084f28de156c3e0e578a512becfb8752380a77f59c8a249d4d14b7255c",
|
|
301
|
+
"signature": "397df2084f28de156c3e0e578a512becfb8752380a77f59c8a249d4d14b7255c",
|
|
302
302
|
"affectsGlobalScope": false
|
|
303
303
|
},
|
|
304
304
|
"../../../node_modules/@jupiterone/data-model/dist/relationships.d.ts": {
|
|
@@ -532,8 +532,8 @@
|
|
|
532
532
|
"affectsGlobalScope": false
|
|
533
533
|
},
|
|
534
534
|
"../../../node_modules/@jupiterone/data-model/dist/IntegrationSchema.d.ts": {
|
|
535
|
-
"version": "
|
|
536
|
-
"signature": "
|
|
535
|
+
"version": "8c9df69a1148a9af85b7d04a480f77d8bd4a916f64c201f118f1a15f9ebdedf5",
|
|
536
|
+
"signature": "8c9df69a1148a9af85b7d04a480f77d8bd4a916f64c201f118f1a15f9ebdedf5",
|
|
537
537
|
"affectsGlobalScope": false
|
|
538
538
|
},
|
|
539
539
|
"../../../node_modules/@jupiterone/data-model/dist/validateEntityWithSchema.d.ts": {
|
|
@@ -547,8 +547,8 @@
|
|
|
547
547
|
"affectsGlobalScope": false
|
|
548
548
|
},
|
|
549
549
|
"../../../node_modules/@jupiterone/data-model/dist/index.d.ts": {
|
|
550
|
-
"version": "
|
|
551
|
-
"signature": "
|
|
550
|
+
"version": "e98329f9b3d350b7908bcfa2cfb1dd8e28abd39f5442d745d534998c2293dcb2",
|
|
551
|
+
"signature": "e98329f9b3d350b7908bcfa2cfb1dd8e28abd39f5442d745d534998c2293dcb2",
|
|
552
552
|
"affectsGlobalScope": false
|
|
553
553
|
},
|
|
554
554
|
"../src/types/jobState.ts": {
|
|
@@ -611,14 +611,19 @@
|
|
|
611
611
|
"signature": "5d662301147ec2f6e917e157b5fdd73a308be1ea6abf4a13a73ac2fd23709e2b",
|
|
612
612
|
"affectsGlobalScope": false
|
|
613
613
|
},
|
|
614
|
+
"../src/types/spec.ts": {
|
|
615
|
+
"version": "f9867de0888d25ece1619be5a28a35f0c5e97e273eb94d1e7726d71bc76cef26",
|
|
616
|
+
"signature": "2e50e440556ddcd2d06e6f37a50f855f9c746766cf0dcea86893c624929a9de1",
|
|
617
|
+
"affectsGlobalScope": false
|
|
618
|
+
},
|
|
614
619
|
"../src/types/storage.ts": {
|
|
615
620
|
"version": "7b8346ca7afba3f1ad141837435696c3df644f6fe0973b6c85096b9c37b4b100",
|
|
616
621
|
"signature": "3fd1d8808b572fb667426d0efb5447226104d024dc7ee767e4e9059d2a3229cf",
|
|
617
622
|
"affectsGlobalScope": false
|
|
618
623
|
},
|
|
619
624
|
"../src/types/index.ts": {
|
|
620
|
-
"version": "
|
|
621
|
-
"signature": "
|
|
625
|
+
"version": "c3a710ee3ce6449867a4d5c0de890eace51eca325779468548fd520fa1a8c340",
|
|
626
|
+
"signature": "0a37e4046f4f5aaadd85cfa179a848a71adc7332d20259a099b885b430965b2b",
|
|
622
627
|
"affectsGlobalScope": false
|
|
623
628
|
},
|
|
624
629
|
"../src/data/rawData.ts": {
|
|
@@ -976,6 +981,11 @@
|
|
|
976
981
|
"signature": "029769d13d9917e3284cb2356ed28a6576e8b07ae6a06ee1e672518adf21a102",
|
|
977
982
|
"affectsGlobalScope": false
|
|
978
983
|
},
|
|
984
|
+
"../../../node_modules/@types/js-yaml/index.d.ts": {
|
|
985
|
+
"version": "5b89c37ff5dfea00195f8ea5e6fc8e086be68613297fc8152c08900a1d1fdb83",
|
|
986
|
+
"signature": "5b89c37ff5dfea00195f8ea5e6fc8e086be68613297fc8152c08900a1d1fdb83",
|
|
987
|
+
"affectsGlobalScope": false
|
|
988
|
+
},
|
|
979
989
|
"../../../node_modules/@types/json-diff/index.d.ts": {
|
|
980
990
|
"version": "055a7d43309fabe888489214811930ec30e0e99abe67f3cfea4add28daf76884",
|
|
981
991
|
"signature": "055a7d43309fabe888489214811930ec30e0e99abe67f3cfea4add28daf76884",
|
|
@@ -1382,6 +1392,13 @@
|
|
|
1382
1392
|
"../../../node_modules/@types/node/ts3.2/util.d.ts",
|
|
1383
1393
|
"../../../node_modules/@types/node/util.d.ts"
|
|
1384
1394
|
],
|
|
1395
|
+
"../../../node_modules/@types/js-yaml/index.d.ts": [
|
|
1396
|
+
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
1397
|
+
"../../../node_modules/@types/node/fs.d.ts",
|
|
1398
|
+
"../../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
1399
|
+
"../../../node_modules/@types/node/ts3.2/util.d.ts",
|
|
1400
|
+
"../../../node_modules/@types/node/util.d.ts"
|
|
1401
|
+
],
|
|
1385
1402
|
"../../../node_modules/@types/json-diff/index.d.ts": [
|
|
1386
1403
|
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
1387
1404
|
"../../../node_modules/@types/node/fs.d.ts",
|
|
@@ -3084,6 +3101,7 @@
|
|
|
3084
3101
|
"../src/types/partialDatasets.ts",
|
|
3085
3102
|
"../src/types/persistedObject.ts",
|
|
3086
3103
|
"../src/types/relationship.ts",
|
|
3104
|
+
"../src/types/spec.ts",
|
|
3087
3105
|
"../src/types/step.ts",
|
|
3088
3106
|
"../src/types/storage.ts",
|
|
3089
3107
|
"../src/types/synchronization.ts",
|
|
@@ -3144,6 +3162,17 @@
|
|
|
3144
3162
|
"../src/types/entity.ts",
|
|
3145
3163
|
"../src/types/persistedObject.ts"
|
|
3146
3164
|
],
|
|
3165
|
+
"../src/types/spec.ts": [
|
|
3166
|
+
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
3167
|
+
"../../../node_modules/@types/node/fs.d.ts",
|
|
3168
|
+
"../../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
3169
|
+
"../../../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3170
|
+
"../../../node_modules/@types/node/util.d.ts",
|
|
3171
|
+
"../src/types/config.ts",
|
|
3172
|
+
"../src/types/context.ts",
|
|
3173
|
+
"../src/types/instance.ts",
|
|
3174
|
+
"../src/types/step.ts"
|
|
3175
|
+
],
|
|
3147
3176
|
"../src/types/step.ts": [
|
|
3148
3177
|
"../../../node_modules/@jupiterone/data-model/dist/index.d.ts",
|
|
3149
3178
|
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
@@ -3430,6 +3459,13 @@
|
|
|
3430
3459
|
"../../../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3431
3460
|
"../../../node_modules/@types/node/util.d.ts"
|
|
3432
3461
|
],
|
|
3462
|
+
"../../../node_modules/@types/js-yaml/index.d.ts": [
|
|
3463
|
+
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
3464
|
+
"../../../node_modules/@types/node/fs.d.ts",
|
|
3465
|
+
"../../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
3466
|
+
"../../../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3467
|
+
"../../../node_modules/@types/node/util.d.ts"
|
|
3468
|
+
],
|
|
3433
3469
|
"../../../node_modules/@types/json-diff/index.d.ts": [
|
|
3434
3470
|
"../../../node_modules/@types/graceful-fs/index.d.ts",
|
|
3435
3471
|
"../../../node_modules/@types/node/fs.d.ts",
|
|
@@ -5043,6 +5079,7 @@
|
|
|
5043
5079
|
"../src/types/partialDatasets.ts",
|
|
5044
5080
|
"../src/types/persistedObject.ts",
|
|
5045
5081
|
"../src/types/relationship.ts",
|
|
5082
|
+
"../src/types/spec.ts",
|
|
5046
5083
|
"../src/types/step.ts",
|
|
5047
5084
|
"../src/types/storage.ts",
|
|
5048
5085
|
"../src/types/synchronization.ts",
|
|
@@ -5060,6 +5097,12 @@
|
|
|
5060
5097
|
"../src/types/entity.ts",
|
|
5061
5098
|
"../src/types/persistedObject.ts"
|
|
5062
5099
|
],
|
|
5100
|
+
"../src/types/spec.ts": [
|
|
5101
|
+
"../src/types/config.ts",
|
|
5102
|
+
"../src/types/context.ts",
|
|
5103
|
+
"../src/types/instance.ts",
|
|
5104
|
+
"../src/types/step.ts"
|
|
5105
|
+
],
|
|
5063
5106
|
"../src/types/step.ts": [
|
|
5064
5107
|
"../../../node_modules/@jupiterone/data-model/dist/index.d.ts",
|
|
5065
5108
|
"../src/types/context.ts",
|
|
@@ -5108,6 +5151,7 @@
|
|
|
5108
5151
|
"../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts",
|
|
5109
5152
|
"../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts",
|
|
5110
5153
|
"../../../node_modules/@types/jest/ts3.2/index.d.ts",
|
|
5154
|
+
"../../../node_modules/@types/js-yaml/index.d.ts",
|
|
5111
5155
|
"../../../node_modules/@types/json-diff/index.d.ts",
|
|
5112
5156
|
"../../../node_modules/@types/json-schema/index.d.ts",
|
|
5113
5157
|
"../../../node_modules/@types/json2csv/JSON2CSVAsyncParser.d.ts",
|
|
@@ -5296,6 +5340,7 @@
|
|
|
5296
5340
|
"../src/types/partialDatasets.ts",
|
|
5297
5341
|
"../src/types/persistedObject.ts",
|
|
5298
5342
|
"../src/types/relationship.ts",
|
|
5343
|
+
"../src/types/spec.ts",
|
|
5299
5344
|
"../src/types/step.ts",
|
|
5300
5345
|
"../src/types/storage.ts",
|
|
5301
5346
|
"../src/types/synchronization.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupiterone/integration-sdk-core",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.20.0",
|
|
4
4
|
"description": "The SDK for developing JupiterOne integrations",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"prepack": "yarn build:dist"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@jupiterone/data-model": "^0.
|
|
26
|
+
"@jupiterone/data-model": "^0.38.0",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"uuid": "^8.3.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash": "^4.14.168"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "bdb35c07ee26f8d65037f5968c6895e1dce56351"
|
|
34
34
|
}
|