@jupiterone/cli 8.4.1 → 8.4.4

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.
Files changed (39) hide show
  1. package/__mocks__/ora.ts +1 -1
  2. package/dist/src/export/exportAssets.js.map +1 -1
  3. package/dist/src/export/groupJsonAssetsByType.d.ts +1 -1
  4. package/dist/src/export/groupJsonAssetsByType.js +4 -5
  5. package/dist/src/export/groupJsonAssetsByType.js.map +1 -1
  6. package/dist/src/export/util.js.map +1 -1
  7. package/dist/src/export/writeAssetsToCsv.d.ts +1 -1
  8. package/dist/src/export/writeAssetsToCsv.js +1 -1
  9. package/dist/src/export/writeAssetsToCsv.js.map +1 -1
  10. package/dist/src/fileSystem.d.ts +1 -1
  11. package/dist/src/fileSystem.js +1 -1
  12. package/dist/src/fileSystem.js.map +1 -1
  13. package/dist/src/index.js +1 -3
  14. package/dist/src/index.js.map +1 -1
  15. package/dist/src/pause.js +3 -1
  16. package/dist/src/pause.js.map +1 -1
  17. package/dist/tsconfig.dist.tsbuildinfo +1 -1
  18. package/jest.config.js +1 -1
  19. package/package.json +4 -4
  20. package/src/__tests__/cli-import.test.ts +6 -9
  21. package/src/__tests__/utils/fetchAssetsContents.ts +3 -3
  22. package/src/__tests__/utils/index.ts +1 -1
  23. package/src/export/__tests__/exportAssetsToJson.test.ts +56 -41
  24. package/src/export/__tests__/exportJsonAssetsToCsv.test.ts +117 -71
  25. package/src/export/__tests__/groupJsonAssetsByType.test.ts +6 -4
  26. package/src/export/__tests__/utils/createEntity.ts +13 -5
  27. package/src/export/__tests__/utils/createRelationship.ts +1 -1
  28. package/src/export/__tests__/utils/parseCsvToJson.ts +2 -2
  29. package/src/export/__tests__/utils/parseToCsv.ts +2 -3
  30. package/src/export/__tests__/writeAssetsToCsv.test.ts +6 -8
  31. package/src/export/exportAssets.ts +6 -2
  32. package/src/export/groupJsonAssetsByType.ts +12 -9
  33. package/src/export/util.ts +2 -2
  34. package/src/export/writeAssetsToCsv.ts +21 -12
  35. package/src/fileSystem.ts +6 -3
  36. package/src/index.ts +1 -3
  37. package/src/pause.ts +3 -1
  38. package/tsconfig.dist.json +1 -3
  39. package/tsconfig.json +2 -4
package/__mocks__/ora.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export default jest.fn().mockReturnValue({
2
2
  start: jest.fn().mockReturnValue({
3
3
  fail: jest.fn(),
4
- succeed: jest.fn()
4
+ succeed: jest.fn(),
5
5
  }),
6
6
  });
@@ -1 +1 @@
1
- {"version":3,"file":"exportAssets.js","sourceRoot":"","sources":["../../../src/export/exportAssets.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,4CAA8B;AAC9B,8CAAgD;AAChD,6DAA0D;AAC1D,mEAAgE;AAIjD,KAAK,UAAU,YAAY,CAAC,OAA2B;IACpE,GAAG,CAAC,IAAI,CAAC,mCAAmC,OAAO,CAAC,gBAAgB,aAAa,CAAC,CAAC;IACnF,GAAG,CAAC,IAAI,CAAC,uBAAuB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,IAAI,CAAC,4BAA4B,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACrE,GAAG,CAAC,IAAI,CAAC,2BAA2B,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAE9D,IAAI;QACF,MAAM,IAAA,4BAAe,EAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;QAChD,MAAM,IAAA,uCAAkB,EAAC,OAAO,CAAC,CAAC;QAClC,MAAM,IAAA,6CAAqB,EAAC,OAAO,CAAC,CAAC;KACtC;IAAC,OAAO,CAAC,EAAE;QACV,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACb,MAAM,CAAC,CAAC;KACT;AACH,CAAC;AAdD,+BAcC"}
1
+ {"version":3,"file":"exportAssets.js","sourceRoot":"","sources":["../../../src/export/exportAssets.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,4CAA8B;AAC9B,8CAAgD;AAChD,6DAA0D;AAC1D,mEAAgE;AAMjD,KAAK,UAAU,YAAY,CAAC,OAA2B;IACpE,GAAG,CAAC,IAAI,CACN,mCAAmC,OAAO,CAAC,gBAAgB,aAAa,CACzE,CAAC;IACF,GAAG,CAAC,IAAI,CAAC,uBAAuB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;IAC3D,GAAG,CAAC,IAAI,CAAC,4BAA4B,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACrE,GAAG,CAAC,IAAI,CAAC,2BAA2B,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAE9D,IAAI;QACF,MAAM,IAAA,4BAAe,EAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;QAChD,MAAM,IAAA,uCAAkB,EAAC,OAAO,CAAC,CAAC;QAClC,MAAM,IAAA,6CAAqB,EAAC,OAAO,CAAC,CAAC;KACtC;IAAC,OAAO,CAAC,EAAE;QACV,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACb,MAAM,CAAC,CAAC;KACT;AACH,CAAC;AAhBD,+BAgBC"}
@@ -1,7 +1,7 @@
1
1
  interface BatchAssetParams {
2
2
  assetDirectory: string;
3
3
  }
4
- export declare function groupJsonAssetsByType({ assetDirectory }: BatchAssetParams): Promise<{
4
+ export declare function groupJsonAssetsByType({ assetDirectory, }: BatchAssetParams): Promise<{
5
5
  [key: string]: string[];
6
6
  }>;
7
7
  export {};
@@ -8,13 +8,12 @@ const globby_1 = __importDefault(require("globby"));
8
8
  const upath_1 = __importDefault(require("upath"));
9
9
  const path_1 = __importDefault(require("path"));
10
10
  const lodash_1 = __importDefault(require("lodash"));
11
- async function groupJsonAssetsByType({ assetDirectory }) {
11
+ async function groupJsonAssetsByType({ assetDirectory, }) {
12
12
  const assetJsonFiles = await (0, globby_1.default)([
13
- upath_1.default.toUnix(`${assetDirectory}/**/*.json`)
13
+ upath_1.default.toUnix(`${assetDirectory}/**/*.json`),
14
14
  ]);
15
- const assetJsonFilesByType = lodash_1.default.groupBy(assetJsonFiles, p => path_1.default.basename(path_1.default.dirname(p)));
16
- return Object.keys(assetJsonFilesByType)
17
- .reduce((acc, key) => {
15
+ const assetJsonFilesByType = lodash_1.default.groupBy(assetJsonFiles, (p) => path_1.default.basename(path_1.default.dirname(p)));
16
+ return Object.keys(assetJsonFilesByType).reduce((acc, key) => {
18
17
  acc[key] = assetJsonFilesByType[key];
19
18
  return acc;
20
19
  }, {});
@@ -1 +1 @@
1
- {"version":3,"file":"groupJsonAssetsByType.js","sourceRoot":"","sources":["../../../src/export/groupJsonAssetsByType.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAC5B,kDAA0B;AAC1B,gDAAwB;AACxB,oDAAuB;AAMhB,KAAK,UAAU,qBAAqB,CAAC,EAAE,cAAc,EAAoB;IAC9E,MAAM,cAAc,GAAG,MAAM,IAAA,gBAAM,EAAC;QAClC,eAAK,CAAC,MAAM,CAAC,GAAG,cAAc,YAAY,CAAC;KAC5C,CAAC,CAAC;IAEH,MAAM,oBAAoB,GAAG,gBAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,CAAC,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE3F,OAAO,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC;SACrC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACnB,GAAG,CAAC,GAAG,CAAC,GAAG,oBAAoB,CAAC,GAAG,CAAC,CAAA;QACpC,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAiC,CAAC,CAAA;AACzC,CAAC;AAZD,sDAYC"}
1
+ {"version":3,"file":"groupJsonAssetsByType.js","sourceRoot":"","sources":["../../../src/export/groupJsonAssetsByType.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAC5B,kDAA0B;AAC1B,gDAAwB;AACxB,oDAAuB;AAMhB,KAAK,UAAU,qBAAqB,CAAC,EAC1C,cAAc,GACG;IACjB,MAAM,cAAc,GAAG,MAAM,IAAA,gBAAM,EAAC;QAClC,eAAK,CAAC,MAAM,CAAC,GAAG,cAAc,YAAY,CAAC;KAC5C,CAAC,CAAC;IAEH,MAAM,oBAAoB,GAAG,gBAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE,CAC3D,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAC/B,CAAC;IAEF,OAAO,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QAC3D,GAAG,CAAC,GAAG,CAAC,GAAG,oBAAoB,CAAC,GAAG,CAAC,CAAC;QACrC,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAiC,CAAC,CAAC;AACxC,CAAC;AAfD,sDAeC"}
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/export/util.ts"],"names":[],"mappings":";;;AAAA,SAAgB,eAAe,CAAC,OAAe;IAC7C,OAAO,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAClE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/export/util.ts"],"names":[],"mappings":";;;AAAA,SAAgB,eAAe,CAAC,OAAe;IAC7C,OAAO,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACnE,CAAC;AAFD,0CAEC"}
@@ -5,5 +5,5 @@ interface WriteAssetsToCsvParams {
5
5
  directory: string;
6
6
  groupedAssetFiles: GroupedAssets;
7
7
  }
8
- export declare function writeAssetsToCsv({ groupedAssetFiles, directory }: WriteAssetsToCsvParams): Promise<void>;
8
+ export declare function writeAssetsToCsv({ groupedAssetFiles, directory, }: WriteAssetsToCsvParams): Promise<void>;
9
9
  export {};
@@ -8,7 +8,7 @@ const path_1 = __importDefault(require("path"));
8
8
  const jsonexport_1 = __importDefault(require("jsonexport"));
9
9
  const uuid_1 = require("uuid");
10
10
  const fileSystem_1 = require("../fileSystem");
11
- async function writeAssetsToCsv({ groupedAssetFiles, directory }) {
11
+ async function writeAssetsToCsv({ groupedAssetFiles, directory, }) {
12
12
  await Promise.all(Object.keys(groupedAssetFiles).map(async (type) => {
13
13
  for (const assetFile of groupedAssetFiles[type]) {
14
14
  const assetPath = path_1.default.join(directory, type, `${(0, uuid_1.v4)()}.csv`);
@@ -1 +1 @@
1
- {"version":3,"file":"writeAssetsToCsv.js","sourceRoot":"","sources":["../../../src/export/writeAssetsToCsv.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,4DAAoC;AACpC,+BAAkC;AAGlC,8CAAyF;AASlF,KAAK,UAAU,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAA0B;IAC7F,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,KAAK,EAAC,IAAI,EAAC,EAAE;QAChE,KAAK,MAAM,SAAS,IAAI,iBAAiB,CAAC,IAAI,CAAC,EAAE;YAC/C,MAAM,SAAS,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,GAAG,IAAA,SAAI,GAAE,MAAM,CAAC,CAAA;YAE7D,MAAM,IAAA,kCAAqB,EAAC,SAAS,CAAC,CAAC;YAEvC,MAAM,MAAM,GAAG,MAAM,IAAA,6BAAgB,EAAC,SAAS,CAAC,CAAC;YACjD,MAAM,GAAG,GAAG,MAAM,IAAA,oBAAU,EAAC,MAAM,CAAC,CAAA;YAEpC,MAAM,IAAA,4BAAe,EAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;SAC9D;IACH,CAAC,CAAC,CAAC,CAAA;AACL,CAAC;AAbD,4CAaC"}
1
+ {"version":3,"file":"writeAssetsToCsv.js","sourceRoot":"","sources":["../../../src/export/writeAssetsToCsv.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,4DAAoC;AACpC,+BAAkC;AAGlC,8CAIuB;AAShB,KAAK,UAAU,gBAAgB,CAAC,EACrC,iBAAiB,EACjB,SAAS,GACc;IACvB,MAAM,OAAO,CAAC,GAAG,CACf,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;QAChD,KAAK,MAAM,SAAS,IAAI,iBAAiB,CAAC,IAAI,CAAC,EAAE;YAC/C,MAAM,SAAS,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,GAAG,IAAA,SAAI,GAAE,MAAM,CAAC,CAAC;YAE9D,MAAM,IAAA,kCAAqB,EAAC,SAAS,CAAC,CAAC;YAEvC,MAAM,MAAM,GAAG,MAAM,IAAA,6BAAgB,EAAC,SAAS,CAAC,CAAC;YACjD,MAAM,GAAG,GAAG,MAAM,IAAA,oBAAU,EAAC,MAAM,CAAC,CAAC;YAErC,MAAM,IAAA,4BAAe,EAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;SAC9D;IACH,CAAC,CAAC,CACH,CAAC;AACJ,CAAC;AAlBD,4CAkBC"}
@@ -1,5 +1,5 @@
1
1
  export declare function ensureDirectoryExists(pathToWrite: string): Promise<void>;
2
- export declare function writeFileToPath({ filePath, content }: {
2
+ export declare function writeFileToPath({ filePath, content, }: {
3
3
  filePath: string;
4
4
  content: string;
5
5
  }): Promise<void>;
@@ -34,7 +34,7 @@ async function ensureDirectoryExists(pathToWrite) {
34
34
  await fs.mkdir(directoryPath, { recursive: true });
35
35
  }
36
36
  exports.ensureDirectoryExists = ensureDirectoryExists;
37
- async function writeFileToPath({ filePath, content }) {
37
+ async function writeFileToPath({ filePath, content, }) {
38
38
  await ensureDirectoryExists(filePath);
39
39
  await fs.writeFile(filePath, content, 'utf8');
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fileSystem.js","sourceRoot":"","sources":["../../src/fileSystem.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,2CAA6B;AAC7B,oDAA4B;AAC5B,+BAAiC;AAEjC,MAAM,WAAW,GAAG,IAAA,gBAAS,EAAC,gBAAM,CAAC,CAAC;AACtC,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC;AAEpB,KAAK,UAAU,qBAAqB,CAAC,WAAmB;IAC7D,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAChD,MAAM,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AACrD,CAAC;AAHD,sDAGC;AAEM,KAAK,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,OAAO,EAGxD;IACC,MAAM,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AAChD,CAAC;AAND,0CAMC;AAED,SAAgB,gBAAgB,CAAC,IAAY;IAC3C,OAAO,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACnC,CAAC;AAFD,4CAEC;AAEM,KAAK,UAAU,gBAAgB,CAAI,IAAY;IACpD,MAAM,WAAW,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAM,CAAC;AACtC,CAAC;AAHD,4CAGC;AAED,SAAgB,eAAe,CAAC,SAAiB;IAC/C,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AAChC,CAAC;AAFD,0CAEC;AAED,SAAgB,sBAAsB,CAAC,gBAAwB;IAC7D,OAAO,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAC7C,CAAC;AAFD,wDAEC;AAED,SAAgB,qBAAqB,CAAC,gBAAwB;IAC5D,OAAO,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"fileSystem.js","sourceRoot":"","sources":["../../src/fileSystem.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,2CAA6B;AAC7B,oDAA4B;AAC5B,+BAAiC;AAEjC,MAAM,WAAW,GAAG,IAAA,gBAAS,EAAC,gBAAM,CAAC,CAAC;AACtC,MAAM,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC;AAEpB,KAAK,UAAU,qBAAqB,CAAC,WAAmB;IAC7D,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAChD,MAAM,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AACrD,CAAC;AAHD,sDAGC;AAEM,KAAK,UAAU,eAAe,CAAC,EACpC,QAAQ,EACR,OAAO,GAIR;IACC,MAAM,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AAChD,CAAC;AATD,0CASC;AAED,SAAgB,gBAAgB,CAAC,IAAY;IAC3C,OAAO,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACnC,CAAC;AAFD,4CAEC;AAEM,KAAK,UAAU,gBAAgB,CAAI,IAAY;IACpD,MAAM,WAAW,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACjD,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAM,CAAC;AACtC,CAAC;AAHD,4CAGC;AAED,SAAgB,eAAe,CAAC,SAAiB;IAC/C,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AAChC,CAAC;AAFD,0CAEC;AAED,SAAgB,sBAAsB,CAAC,gBAAwB;IAC7D,OAAO,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAC7C,CAAC;AAFD,wDAEC;AAED,SAAgB,qBAAqB,CAAC,gBAAwB;IAC5D,OAAO,cAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAFD,sDAEC"}
package/dist/src/index.js CHANGED
@@ -4,9 +4,7 @@ exports.createCli = void 0;
4
4
  const commander_1 = require("commander");
5
5
  const commands_1 = require("./commands");
6
6
  function createCli() {
7
- return (0, commander_1.createCommand)()
8
- .addCommand((0, commands_1.j1Import)())
9
- .addCommand((0, commands_1.j1Export)());
7
+ return (0, commander_1.createCommand)().addCommand((0, commands_1.j1Import)()).addCommand((0, commands_1.j1Export)());
10
8
  }
11
9
  exports.createCli = createCli;
12
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAE1C,yCAAgD;AAEhD,SAAgB,SAAS;IACvB,OAAO,IAAA,yBAAa,GAAE;SACnB,UAAU,CAAC,IAAA,mBAAQ,GAAE,CAAC;SACtB,UAAU,CAAC,IAAA,mBAAQ,GAAE,CAAC,CAAA;AAC3B,CAAC;AAJD,8BAIC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAE1C,yCAAgD;AAEhD,SAAgB,SAAS;IACvB,OAAO,IAAA,yBAAa,GAAE,CAAC,UAAU,CAAC,IAAA,mBAAQ,GAAE,CAAC,CAAC,UAAU,CAAC,IAAA,mBAAQ,GAAE,CAAC,CAAC;AACvE,CAAC;AAFD,8BAEC"}
package/dist/src/pause.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pause = void 0;
4
- function pause(time) { return new Promise(resolve => setTimeout(resolve, time)); }
4
+ function pause(time) {
5
+ return new Promise((resolve) => setTimeout(resolve, time));
6
+ }
5
7
  exports.pause = pause;
6
8
  //# sourceMappingURL=pause.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pause.js","sourceRoot":"","sources":["../../src/pause.ts"],"names":[],"mappings":";;;AAAA,SAAgB,KAAK,CAAC,IAAY,IAAI,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAAjG,sBAAiG"}
1
+ {"version":3,"file":"pause.js","sourceRoot":"","sources":["../../src/pause.ts"],"names":[],"mappings":";;;AAAA,SAAgB,KAAK,CAAC,IAAY;IAChC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;AAC7D,CAAC;AAFD,sBAEC"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/fileSystem.ts","../../../node_modules/commander/typings/index.d.ts","../../../node_modules/chalk/index.d.ts","../src/log.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@nodelib/fs.stat/out/types/index.d.ts","../../../node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts","../../../node_modules/@nodelib/fs.stat/out/settings.d.ts","../../../node_modules/@nodelib/fs.stat/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.stat/out/index.d.ts","../../../node_modules/@nodelib/fs.scandir/out/types/index.d.ts","../../../node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts","../../../node_modules/@nodelib/fs.scandir/out/settings.d.ts","../../../node_modules/@nodelib/fs.scandir/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.scandir/out/index.d.ts","../../../node_modules/@nodelib/fs.walk/out/types/index.d.ts","../../../node_modules/@nodelib/fs.walk/out/settings.d.ts","../../../node_modules/@nodelib/fs.walk/out/readers/reader.d.ts","../../../node_modules/@nodelib/fs.walk/out/readers/async.d.ts","../../../node_modules/@nodelib/fs.walk/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.walk/out/index.d.ts","../../../node_modules/fast-glob/out/types/index.d.ts","../../../node_modules/fast-glob/out/settings.d.ts","../../../node_modules/fast-glob/out/managers/tasks.d.ts","../../../node_modules/fast-glob/out/index.d.ts","../../../node_modules/globby/index.d.ts","../../../node_modules/upath/upath.d.ts","../../../node_modules/cli-spinners/index.d.ts","../../../node_modules/ora/index.d.ts","../../../node_modules/axios/index.d.ts","../../../node_modules/p-map/index.d.ts","../../../node_modules/@lifeomic/attempt/dist/src/index.d.ts","../../integration-sdk-runtime/dist/src/api/index.d.ts","../../integration-sdk-core/dist/src/data/converters.d.ts","../../integration-sdk-core/dist/src/data/tagging.d.ts","../../integration-sdk-core/dist/src/data/ip.d.ts","../../integration-sdk-core/dist/src/types/instance.d.ts","../../../node_modules/@jupiterone/data-model/dist/globalEntities.d.ts","../../../node_modules/@jupiterone/data-model/dist/RelationshipClass.d.ts","../../../node_modules/@jupiterone/data-model/dist/relationships.d.ts","../../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/dataType.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/core.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/ajv.d.ts","../../../node_modules/@jupiterone/data-model/dist/IntegrationSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/validateEntityWithSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/getSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/index.d.ts","../../integration-sdk-core/dist/src/types/jobState.d.ts","../../integration-sdk-core/dist/src/types/synchronization.d.ts","../../integration-sdk-core/dist/src/types/metric.d.ts","../../integration-sdk-core/dist/src/types/logger.d.ts","../../integration-sdk-core/dist/src/types/context.d.ts","../../integration-sdk-core/dist/src/types/persistedObject.d.ts","../../integration-sdk-core/dist/src/types/entity.d.ts","../../integration-sdk-core/dist/src/types/relationship.d.ts","../../integration-sdk-core/dist/src/types/step.d.ts","../../integration-sdk-core/dist/src/types/validation.d.ts","../../integration-sdk-core/dist/src/types/config.d.ts","../../integration-sdk-core/dist/src/types/partialDatasets.d.ts","../../integration-sdk-core/dist/src/types/spec.d.ts","../../integration-sdk-core/dist/src/types/storage.d.ts","../../integration-sdk-core/dist/src/types/index.d.ts","../../integration-sdk-core/dist/src/data/rawData.d.ts","../../integration-sdk-core/dist/src/data/createIntegrationEntity.d.ts","../../integration-sdk-core/dist/src/data/createIntegrationRelationship.d.ts","../../integration-sdk-core/dist/src/data/index.d.ts","../../integration-sdk-core/dist/src/errors.d.ts","../../integration-sdk-core/dist/src/index.d.ts","../../integration-sdk-runtime/dist/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.d.ts","../../integration-sdk-runtime/dist/src/storage/FileSystemGraphObjectStore/index.d.ts","../../integration-sdk-runtime/dist/src/storage/memory.d.ts","../../integration-sdk-runtime/dist/src/storage/index.d.ts","../../integration-sdk-runtime/dist/src/storage/types.d.ts","../../integration-sdk-runtime/dist/src/logger/registerEventHandlers.d.ts","../../integration-sdk-runtime/dist/src/logger/index.d.ts","../../integration-sdk-runtime/dist/src/synchronization/types.d.ts","../../integration-sdk-runtime/dist/src/synchronization/error.d.ts","../../integration-sdk-runtime/dist/src/synchronization/events.d.ts","../../integration-sdk-runtime/dist/src/synchronization/index.d.ts","../../integration-sdk-runtime/dist/src/execution/uploader.d.ts","../../integration-sdk-runtime/dist/src/execution/executeIntegration.d.ts","../../integration-sdk-runtime/dist/src/execution/instance.d.ts","../../integration-sdk-runtime/dist/src/execution/jobState.d.ts","../../integration-sdk-runtime/dist/src/execution/step.d.ts","../../integration-sdk-runtime/dist/src/execution/config.d.ts","../../../node_modules/dependency-graph/lib/index.d.ts","../../integration-sdk-runtime/dist/src/execution/dependencyGraph.d.ts","../../integration-sdk-runtime/dist/src/execution/index.d.ts","../../integration-sdk-runtime/dist/src/fileSystem.d.ts","../../integration-sdk-runtime/dist/src/metrics/index.d.ts","../../integration-sdk-runtime/dist/src/index.d.ts","../src/export/util.ts","../src/pause.ts","../src/import/importAssetsFromCsv.ts","../src/import/importAssets.ts","../src/validateOption.ts","../src/commands/j1Import.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/uuid/interfaces.d.ts","../../../node_modules/@types/uuid/index.d.ts","../src/export/bulkDownloadToJson.ts","../src/export/exportAssetsToJson.ts","../src/export/groupJsonAssetsByType.ts","../src/export/writeAssetsToCsv.ts","../src/export/exportJsonAssetsToCsv.ts","../src/export/exportAssets.ts","../src/commands/j1Export.ts","../src/commands/index.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/har-format/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/js-yaml/index.d.ts","../../../node_modules/@types/json-diff/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json2csv/JSON2CSVBase.d.ts","../../../node_modules/@types/json2csv/JSON2CSVParser.d.ts","../../../node_modules/@types/json2csv/JSON2CSVTransform.d.ts","../../../node_modules/@types/json2csv/JSON2CSVAsyncParser.d.ts","../../../node_modules/@types/json2csv/transforms/flatten.d.ts","../../../node_modules/@types/json2csv/transforms/unwind.d.ts","../../../node_modules/@types/json2csv/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/pollyjs__persister/index.d.ts","../../../node_modules/@types/pollyjs__core/index.d.ts","../../../node_modules/@types/pollyjs__adapter/index.d.ts","../../../node_modules/@types/pollyjs__adapter-node-http/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/traverse/index.d.ts","../../../node_modules/moment/ts3.1-typings/moment.d.ts","../../../node_modules/@types/vis/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"d7db613830069d899672abc6c6f89d8039884952bce91ba6d64e8f5b04e9328f","c72b982add26c5ddf410899bcafe3f47253a5d274d4b93d2ef67850d4af4545b","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","8f15f5fdea59d13b7b0be558d8fe0829b5951fadc03eb4dce0d9f732123b9d01","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"e71aa3dcef67c4e22d57a8ff085806b986818c27d515a6c548547dbb06153c01","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","53d2c24a3cbc00a88ebaf8ab8e1b6e206bc3a6647d544f877241684ea3d484e3","3be5ff21956db30c674bf2a98eb348e4ce7b4635cd9673413d86fbce761b77d8","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","d4a0c39ece1e7c99d701e9c02a7dde8e3b75e03405f78d58d48dfea797ddbbac","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","c3689f70ce7563c2299f2dcb3c72efdf6f87ae510e7456fa6223c767d0ca99fc","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","605c24042a348b033b30121cff64380eb5d6d82853c5608f1f94ef72385cf5c9","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"8e94ca83455f043dc6ad5bf1b217e1d97fe2bed88bfa8486db02337ab3fce9f2","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"79d679a1d56574cc5cef92be1f0e5e8fb4af62fb55933b236670a0e0a23c83f6","46324183533e34fad2461b51174132e8e0e4b3ac1ceb5032e4952992739d1eab","d3fa0530dfb1df408f0abd76486de39def69ca47683d4a3529b2d22fce27c693","d9be977c415df16e4defe4995caeca96e637eeef9d216d0d90cdba6fc617e97e","98e0c2b48d855a844099123e8ec20fe383ecd1c5877f3895b048656befe268d0","ff53802a97b7d11ab3c4395aa052baa14cd12d2b1ed236b520a833fdd2a15003","fce9262f840a74118112caf685b725e1cc86cd2b0927311511113d90d87cc61e","d7a7cac49af2a3bfc208fe68831fbfa569864f74a7f31cc3a607f641e6c583fd","9a80e3322d08274f0e41b77923c91fe67b2c8a5134a5278c2cb60a330441554e","2460af41191009298d931c592fb6d4151beea320f1f25b73605e2211e53e4e88","2f87ea988d84d1c617afdeba9d151435473ab24cd5fc456510c8db26d8bd1581","b7336c1c536e3deaedbda956739c6250ac2d0dd171730c42cb57b10368f38a14","6fb67d664aaab2f1d1ad4613b58548aecb4b4703b9e4c5dba6b865b31bd14722","4414644199b1a047b4234965e07d189781a92b578707c79c3933918d67cd9d85","04a4b38c6a1682059eac00e7d0948d99c46642b57003d61d0fe9ccc9df442887","f12ea658b060da1752c65ae4f1e4c248587f6cd4cb4acabbf79a110b6b02ff75","011b2857871a878d5eae463bedc4b3dd14755dc3a67d5d10f8fbb7823d119294","e175549fe57dbff5cd68c1a5ccf33717584d7db9afb8ec216fd2c0daa3b06931","ea68c312e1eb9b48f7064a8dda348594769ba8f9c8596315827c559734a60205","6ddb5fb4476ca702ecff9e5ff0295cde6ce138d71f817da65e118a2a3c534106","6dfff2e65f10158f5a868e642a2e74d2d1bd76f15291552f389f2b8c829a9a86","41c78f187749098f9b8e8982839a010b6bf00dacc654d759b9c169127bcda034","40391fabf54c15c70c44c538a98ca9fe751a06adae84adc9a9c2da765452a538","c2a70cf2999d7ccd2f87c22042393b853e01bb2994d6561071aa53a82926c0de","13a2be98b06263db38e037e4fd1979a49bc96fed71e8b2327854e34e5fd7beee","3154a026075044aa102298fe9e6a7a14aaa26a06270680c7478a1765af8ffb09","f90d0c7fe2c168261737c9bf9366c9cab1296717557143b0593ffd78d60c5652","3a604201a74793b8a8a0ce2f0e8186e6e92288738e139d6455aa331592e0c011","f6c17e0f635e28d8576bdb9f891317f8635d935ad166112645b8c384f738c093","b3734b270bc86885a84893121c710118ed011584106433ccc6679875fc745480","42c60a38e0ca0507d39cd3fc070fa3c40a7ea29aa24ecbaa30300b85d6ae6dc9","4185f575826a8f1430f2d04aadccc0867b47cfd14596d9f4a1f42ce0e6f422f0","9d4c86c5d30635096e0bd5960cfb13ca71c8bc3d23401e6d4cb5532c6a83d015","d2f72b54791f7598eee61452288e84f226737bc87258d1651238d7ed949fc064","7c2aa1929759fee569c9eba25622b0b532abc90fe593184fa46a15a8ebbfe37d","553734e8b810acfd7898e83236a8ebc6a3b311d60c9ac64332086ad8c9b4226d","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","3c971fba3f966d03f3f14c97ae3ffc43b82c16526ce7323a0570b52a7c7e358a","a8796b05dd034d98f3a97cb9f75186deda9a852a36eb8220f69b0dfc8528d548","98d41e7b68a535dc6eaa1570ff22167031e1520f877b0ef221c95b31a37cf547","494b82b8dc805a27ef1fe1dd0fc8e23b1a94612867c404a7e6fb97b32e24c757","15ef8198d2d6b81a46e37c11872d3487eaa8b083395b320cf4b1b6f373c3e778","b8f76dc3429c5b265e9120e5f6891a3cc906afc6f33734b4a231db4af43aba51","7401bda81be5b24323ff7aae37fd94b1311ccdb410e8922ed3fb307c324c9287","9804ef0e90738b01ab858dabdf33259bf2f9cea3e102d628361c427354112cbf","e773b60c789844210fb71a9d1128a32e00ebb439a1754f83f6d03a528c506b56","71b0d16c77278554c6cbb94e8db8fa3769c01c93c46b316c0b44d7214f7c5650","4d1e6afdeed636130ad47f3a2184a41e6d2a1f8075d06557e45770be2c75b6ee","94575515be2e8304320a90b2b2d896185985db070bbc59f6689ccde51b0416ce","27ded1ea19fe478d1ae8b38898a3c02c62674f932830f8a61bf3aa81eb620be2","baa60f1bf9dee44c9aa166186678bd8fbe6979cd7f74e28954f81c5e4a5a8246","56f9040d9d5b5c31f5ee297052d578da43f0df72844f0c45a8db29173832e4d4","5d662301147ec2f6e917e157b5fdd73a308be1ea6abf4a13a73ac2fd23709e2b","2e50e440556ddcd2d06e6f37a50f855f9c746766cf0dcea86893c624929a9de1","3fd1d8808b572fb667426d0efb5447226104d024dc7ee767e4e9059d2a3229cf","0a37e4046f4f5aaadd85cfa179a848a71adc7332d20259a099b885b430965b2b","141947ec11dd1f7cff95bab492d943656b8590356c2963cf6f24839dc7e835c9","e509f891f8d6872b0a78387b5439370f69d510e4dbc3ebdecd2f17be3493cd68","7f24f5613e594d3b280e0bdce4b0d50863973e0282441d58065a02c27da899eb","f60a68741050002209023745143e351635cbb438181559556e1786c9cb386abe","d60fdcb69d287beaac4191b4c389545f4b443b7b7d5d41337a45549884240e2e","d1fe43fa91d5aab57e1305e56e2b65c40b5ce32377995f0cda17badbd910982a","dfaaeb53eff753360e75cbd95c9809c535987d3135c57ac757ba519bd00a4c43","4d54efa2cf9469bc27b5d8ac831f6eb76ebeb3be18b856edddc58fa6cd4089cf","e7a521f7db8c95120e08bb5dc78f6aa37f7bf20a1485ec8ddde9e65d6b8f5c10","db1e5e8fe89b3063ceab3ae3c95bcabe1b4c7f7ce4be2efea6553b54cdba3042","b82e924ea77b46c7a2dbfc6e2584c3e8c6b7e3751215aaea31b08e2b414b3bd6","096e804e1aa95115d234ec4e34215921428cd1f12361dabd3a5616d7fe80636e","fb3ec03c6e0de01e6b7803c3aaf4479e145cc3acca6edc9dbbc5c6df398ca0d5","ced031bb6351f9ef8926d68dc795f00ecf159ec81e4c9b5b47bbf97a7d1600a9","cdb65530f43170802e1190bf167222e18851cb44f3b55fae55a85727a393b32e","d381b74e777da6f17a886bd7d5181f3beb44946900863d748e7622e56dcef51d","eaf3927247caeef3b5b54b732e2872a9778074614ecf6471731cf53b34331cfb","d63ded7d5a02286d1500832688fee32f8ad060527098f1b6044d523648d1e46b","487f2b8db064f3e18db82ae37c0416021ebb5462dba11b8dca561be2f27d87c2","6f31f2722f12608c2388b32dd480d3a675df488649fc839d00866133f5a720cb","d4714b8b97a6c28bb56387b924c142bd5abb7480166632216a61d09c1b37e40f","7cce8a22db6b2454d291bf2a1cd034687fdc5c61e38ae7fce0ff945b00e7e94a","a443a2418e512b86399a2cd8a88c77c7bf710a670f941a82c273c8b5628abaec","b54f38290f003aae7b4b51c920c79bb7255d61ea9cf987ff7015caf43d705e11","c4f63ad2ecaf7422b4276dcbddc33add4f17557ae62f0b312e98f4e51661ab78","c88def29104f20a7569673a81cef28f1932e02a56c0228148a7ad45b44d05c54","40e408570604bf83759495c560fe85870a1327cf90c4ac311500513e7bc1db1e","f8a77bb82f84fc283976d58a79d371296af481a0d50926588f13fb7ed19ae679","72e05c0e4a793c75030c6de014d00bf479269f32f5e894d32cfb145a6c10ff9a","5d3b6c1163d5d3402125f44d170dbf470045668774c97ee77c48250644b8db57","79a36526d7f682260a1ba37a518b02d92c29da95938267a754aa0fe2de6e02b8","7c6cf92e8fe5d501286c1e6c0518bbca5151e7912ba7fcc4139060a6391e85c0","2ccf98b1374ef2f8c21c6bf2daa30a7ed5425347996730b295ea894cbf98b017","2c4518029b408cca5623a40e7037d8b66379562c17c2cbcc64c75edce610d0b0","c3e5a06236092e851b48f6323ec6fd7d3a201b29a6dffae3e7abcb4f30110355","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"045334b3d5ad607b12489d4a0e73b5491542b776f1e371d3aacaff5291e730e0","9473ee1ca40f9a3d7727087ec6e4976923583878763b789636026b26f7f6cd3c","04669337bba115d20d4e79e23217debfb15aaf8f6496dbdbe053ed8d8059de0a","3c361fafd32e15f4b74a0a4d858288c5f137b59051022664c7fed0f8158c9d9a","d7c320528fe7371a549e146c571c9a6734ad0f4265073cfc50e69c90d92e30cf","0070a1bcc1a7bba92f123fc2eeb34fb25800ebb3444f8b426fb2cccec030f807","e2c637096fb5b39cd62b162985e283b64784f50b1962eafde490d249f1101416","eda19f4078cda6ca5f02d99f218b6902ba40b10ee2aacdccf315c781b246cc26","5bc51bd01d7b46489d594e67b418b2825b592a367c98348a3985292065a60903","65a55ea2eae90212e36da6517f7223bd2a2a76c98613046a58ca57060c6c8588","847ca6c62d3d07e0a6d8d1680a446b738f91cfecb5099ce8bbfd130050d67cba","2ff9995137f3e5d68971388ec58af0c79721626323884513f9f5e2e996ac1fdd","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","29afd3970c68fdcbf3168de0f855d7cd84135c436050793b0584e1a904affe2d","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","dd5647a9ccccb2b074dca8a02b00948ac293091ebe73fdf2e6e98f718819f669","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","edaff827b058523df8cfb6d7812a5084afa6648d4ff5fb01351da8eafe2f0232","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","270e729660d8df5baf58aa6b0dc1724de4ac41f8cf4a47b0ff51cb713eae9f61","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","ee36efce86beeb8f4a34974891f3fe3c6c5774802089a633c07ed2dd4d308762","0e87eb9c7868f42dc605c98f557f818c70281232f8bc91ca72694ca8c1d94543","994a0590d6759e482925ec45ffeb2fc3045a1bcda25b4110c4870f52213eb210","1e8a489fd4a5523a91b72a00e360ee667ef9346e829359adb8f5ce08c11a8116","39d5cb0690a46e19d898e4581dea409979916f6bfa07c3115979888641bf404e","f0f17d3ab8ff023fab88b061c947853c774bf3f230b13eeb8b7c605085181525","fc75bcb3b1eb2cc497993423e70676b2b99881181bae55292db62a66b1ea06a0","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","2bebf0361bda5c58ba2b308f256061ea98750938599d9dd98e38f03d565d6076","0f85cd3a0353de12e7706db25f3f4cfceec590aa212839a84ba0cb79533a4567","85f154c615d86ff1d8950ac3c241d8383347c1b3ad53518d1ccba81554279ecb","689288a21317d3d64e47bb4a9c691d30b01cae8cc144f3410e27bc613cf9eb84","6209c901f30cc321f4b86800d11fad3d67e73a3308f19946b1bc642af0280298","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","97cad055446113b65658aa07fac62e03dee7645dafec7f8e1e627500d5d8ee6d","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","efdffb306ef0a6c0ac375064d190bc93c7c2108004064529ca7d5e7f38d71285","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":1,"noImplicitThis":true,"noUnusedLocals":true,"outDir":"./","sourceMap":true,"strictNullChecks":true,"target":5},"fileIdsList":[[235],[156],[160],[109,110,111,157,158,159],[115,116,120,147,148,152,154,155],[113,114],[113],[115,155],[115,116,152,153,155],[155],[112,155,156],[115,116,154,155],[115,116,118,119,154,155],[115,116,117,154,155],[115,116,120,147,148,149,150,151,154,155],[112,115,116,120,152,154],[120,155],[122,123,124,125,126,127,128,129,130,131,155],[145,155],[121,132,140,141,142,143,144,146],[125,155],[133,134,135,136,137,138,139,155],[81,82],[82,83,84,85],[76,82,84],[81,83],[46,76],[46,76,77],[77,78,79,80],[77,79],[78],[62,76,86,87,88,91],[87,88,90],[45,76,86,87,88,89],[88],[86,87],[76,86],[235,236,237,238,239],[235,237],[244],[245],[249,253],[62,258,260],[264],[258],[62,264],[62,76,259,260,261,262,263],[211,213,214,215,216,217,218,219,220,221,222,223],[211,212,214,215,216,217,218,219,220,221,222,223],[212,213,214,215,216,217,218,219,220,221,222,223],[211,212,213,215,216,217,218,219,220,221,222,223],[211,212,213,214,216,217,218,219,220,221,222,223],[211,212,213,214,215,217,218,219,220,221,222,223],[211,212,213,214,215,216,218,219,220,221,222,223],[211,212,213,214,215,216,217,219,220,221,222,223],[211,212,213,214,215,216,217,218,220,221,222,223],[211,212,213,214,215,216,217,218,219,221,222,223],[211,212,213,214,215,216,217,218,219,220,222,223],[211,212,213,214,215,216,217,218,219,220,221,223],[211,212,213,214,215,216,217,218,219,220,221,222],[33],[35],[36,41],[37,45,46,53,62],[37,38,45,53],[39,69],[40,41,46,54],[41,62],[42,43,45,53],[43],[44,45],[45],[45,46,47,62,68],[46,47],[48,53,62,68],[45,46,48,49,53,62,65,68],[48,50,62,65,68],[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75],[45,51],[52,68],[43,45,53,62],[54],[55],[35,56],[57,67],[58],[59],[45,60],[60,61,69,71],[45,62],[63],[64],[53,62,65],[66],[53,67],[59,68],[69],[62,70],[71],[72],[45,47,62,68,71,73],[62,74],[271],[270],[269,271],[224],[276],[278],[76,93,94,95],[93,94],[93],[76,92],[96],[247,250],[247,250,251,252],[249],[76,99],[248],[210,232],[30,32,55,209,231],[30,32,55,208,209],[29,55,181,204,205,223,225],[29,32,227,230,233],[32,100,226,231],[29,32,55,100,223,228,229,231],[55,97,98,223],[29,55,223,225],[46,55,69],[32,207,233],[29,32,55,97,98,100,101,102,103,204,205,206,208],[30,233],[31],[106,175],[160,175],[105,106,107,176,177,178],[175],[160,175,179,180],[108,165,167,169,170],[108,161,164],[166],[108,161,162,163,164,165,166,167,168,169,170,171,172,173,174],[162,163,175],[166,167],[108,165,169,171],[108,160,165,168],[161,167,168,169],[108,165],[101],[181],[181,185,193,196,199],[181,185,193],[193,194,195,196,197,198,200],[181,185,193,196],[186,192],[181,186],[104,185,188,192,201,202,203],[45,76,181,187],[188],[182],[181,183,184],[101,181,189],[101,181,192],[101,104,181,186,188,190,191]],"referencedMap":[[237,1],[157,2],[159,3],[160,4],[156,5],[115,6],[114,7],[119,8],[154,9],[151,10],[153,11],[116,10],[117,12],[121,12],[120,13],[118,14],[152,15],[150,10],[155,16],[122,17],[127,10],[129,10],[124,10],[125,17],[131,10],[132,18],[123,10],[128,10],[130,10],[126,10],[146,19],[145,10],[147,20],[141,10],[143,10],[142,10],[138,10],[144,21],[139,10],[140,22],[133,10],[134,10],[135,10],[136,10],[137,10],[83,23],[86,24],[85,25],[84,26],[82,27],[78,28],[81,29],[80,30],[79,31],[77,27],[92,32],[91,33],[90,34],[89,35],[88,36],[87,37],[240,38],[236,1],[238,39],[239,1],[241,27],[242,27],[245,40],[246,41],[254,42],[261,43],[258,44],[259,45],[260,46],[264,47],[262,44],[263,44],[212,48],[213,49],[211,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,60],[33,61],[35,62],[36,63],[37,64],[38,65],[39,66],[40,67],[41,68],[42,69],[43,70],[44,71],[45,72],[46,73],[47,74],[48,75],[49,76],[50,77],[76,78],[51,79],[52,80],[53,81],[54,82],[55,83],[56,84],[57,85],[58,86],[59,87],[60,88],[61,89],[62,90],[63,91],[64,92],[65,93],[66,94],[67,95],[68,96],[69,97],[70,98],[71,99],[72,100],[73,101],[74,102],[272,103],[271,104],[270,105],[225,106],[277,107],[279,108],[96,109],[95,110],[94,111],[93,112],[97,113],[251,114],[253,115],[252,114],[250,116],[100,117],[249,118],[233,119],[232,120],[210,121],[226,122],[231,123],[227,124],[230,125],[228,126],[229,127],[29,128],[208,129],[207,130],[234,131],[32,132],[177,133],[178,134],[179,135],[176,136],[181,137],[171,138],[165,139],[167,140],[175,141],[161,136],[164,142],[168,143],[173,144],[169,145],[174,146],[170,147],[104,148],[198,149],[200,150],[194,151],[201,152],[195,149],[196,151],[197,153],[193,154],[202,155],[204,156],[188,157],[187,158],[203,149],[182,149],[183,159],[185,160],[184,149],[186,149],[190,161],[191,162],[192,163]],"exportedModulesMap":[[237,1],[157,2],[159,3],[160,4],[156,5],[115,6],[114,7],[119,8],[154,9],[151,10],[153,11],[116,10],[117,12],[121,12],[120,13],[118,14],[152,15],[150,10],[155,16],[122,17],[127,10],[129,10],[124,10],[125,17],[131,10],[132,18],[123,10],[128,10],[130,10],[126,10],[146,19],[145,10],[147,20],[141,10],[143,10],[142,10],[138,10],[144,21],[139,10],[140,22],[133,10],[134,10],[135,10],[136,10],[137,10],[83,23],[86,24],[85,25],[84,26],[82,27],[78,28],[81,29],[80,30],[79,31],[77,27],[92,32],[91,33],[90,34],[89,35],[88,36],[87,37],[240,38],[236,1],[238,39],[239,1],[241,27],[242,27],[245,40],[246,41],[254,42],[261,43],[258,44],[259,45],[260,46],[264,47],[262,44],[263,44],[212,48],[213,49],[211,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,60],[33,61],[35,62],[36,63],[37,64],[38,65],[39,66],[40,67],[41,68],[42,69],[43,70],[44,71],[45,72],[46,73],[47,74],[48,75],[49,76],[50,77],[76,78],[51,79],[52,80],[53,81],[54,82],[55,83],[56,84],[57,85],[58,86],[59,87],[60,88],[61,89],[62,90],[63,91],[64,92],[65,93],[66,94],[67,95],[68,96],[69,97],[70,98],[71,99],[72,100],[73,101],[74,102],[272,103],[271,104],[270,105],[225,106],[277,107],[279,108],[96,109],[95,110],[94,111],[93,112],[97,113],[251,114],[253,115],[252,114],[250,116],[100,117],[249,118],[233,119],[232,120],[210,121],[226,122],[231,123],[227,124],[230,125],[228,126],[229,127],[29,128],[208,129],[207,130],[234,131],[32,132],[177,133],[178,134],[179,135],[176,136],[181,137],[171,138],[165,139],[167,140],[175,141],[161,136],[164,142],[168,143],[173,144],[169,145],[174,146],[170,147],[104,148],[198,149],[200,150],[194,151],[201,152],[195,149],[196,151],[197,153],[193,154],[202,155],[204,156],[188,157],[187,158],[203,149],[182,149],[183,159],[185,160],[184,149],[186,149],[190,161],[191,162],[192,163]],"semanticDiagnosticsPerFile":[237,235,157,110,159,109,160,111,158,156,113,115,114,119,154,151,153,116,117,121,120,118,152,150,155,148,149,122,127,129,124,125,131,132,123,128,130,126,146,145,147,141,143,142,138,144,139,140,133,134,135,136,137,103,83,86,85,84,82,78,81,80,79,77,92,91,90,89,88,87,240,236,238,239,241,242,243,244,245,246,254,255,256,257,261,258,259,260,264,262,263,212,213,211,214,215,216,217,218,219,220,221,222,223,265,266,33,35,36,37,38,39,40,41,42,43,44,45,46,47,34,75,48,49,50,76,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,267,268,272,271,270,269,273,274,275,225,224,277,278,279,101,31,99,30,199,96,95,94,93,97,247,251,253,252,250,276,100,102,249,248,6,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,98,112,233,232,210,226,231,227,230,228,205,229,29,208,207,234,32,206,209,105,177,178,179,107,176,106,180,181,171,165,167,175,108,161,164,163,172,166,168,173,169,174,162,170,104,198,200,194,201,195,196,197,193,202,204,188,187,203,182,183,185,184,186,190,191,192,189]},"version":"4.5.5"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/fileSystem.ts","../../../node_modules/commander/typings/index.d.ts","../../../node_modules/chalk/index.d.ts","../src/log.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@nodelib/fs.stat/out/types/index.d.ts","../../../node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts","../../../node_modules/@nodelib/fs.stat/out/settings.d.ts","../../../node_modules/@nodelib/fs.stat/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.stat/out/index.d.ts","../../../node_modules/@nodelib/fs.scandir/out/types/index.d.ts","../../../node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts","../../../node_modules/@nodelib/fs.scandir/out/settings.d.ts","../../../node_modules/@nodelib/fs.scandir/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.scandir/out/index.d.ts","../../../node_modules/@nodelib/fs.walk/out/types/index.d.ts","../../../node_modules/@nodelib/fs.walk/out/settings.d.ts","../../../node_modules/@nodelib/fs.walk/out/readers/reader.d.ts","../../../node_modules/@nodelib/fs.walk/out/readers/async.d.ts","../../../node_modules/@nodelib/fs.walk/out/providers/async.d.ts","../../../node_modules/@nodelib/fs.walk/out/index.d.ts","../../../node_modules/fast-glob/out/types/index.d.ts","../../../node_modules/fast-glob/out/settings.d.ts","../../../node_modules/fast-glob/out/managers/tasks.d.ts","../../../node_modules/fast-glob/out/index.d.ts","../../../node_modules/globby/index.d.ts","../../../node_modules/upath/upath.d.ts","../../../node_modules/cli-spinners/index.d.ts","../../../node_modules/ora/index.d.ts","../../../node_modules/axios/index.d.ts","../../../node_modules/p-map/index.d.ts","../../../node_modules/@lifeomic/attempt/dist/src/index.d.ts","../../integration-sdk-runtime/dist/src/api/index.d.ts","../../integration-sdk-core/dist/src/data/converters.d.ts","../../integration-sdk-core/dist/src/data/tagging.d.ts","../../integration-sdk-core/dist/src/data/ip.d.ts","../../integration-sdk-core/dist/src/types/instance.d.ts","../../../node_modules/@jupiterone/data-model/dist/globalEntities.d.ts","../../../node_modules/@jupiterone/data-model/dist/RelationshipClass.d.ts","../../../node_modules/@jupiterone/data-model/dist/relationships.d.ts","../../../node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/validate/dataType.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/core.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/types/index.d.ts","../../../node_modules/@jupiterone/data-model/node_modules/ajv/dist/ajv.d.ts","../../../node_modules/@jupiterone/data-model/dist/IntegrationSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/validateEntityWithSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/getSchema.d.ts","../../../node_modules/@jupiterone/data-model/dist/index.d.ts","../../integration-sdk-core/dist/src/types/jobState.d.ts","../../integration-sdk-core/dist/src/types/synchronization.d.ts","../../integration-sdk-core/dist/src/types/metric.d.ts","../../integration-sdk-core/dist/src/types/logger.d.ts","../../integration-sdk-core/dist/src/types/context.d.ts","../../integration-sdk-core/dist/src/types/persistedObject.d.ts","../../integration-sdk-core/dist/src/types/entity.d.ts","../../integration-sdk-core/dist/src/types/relationship.d.ts","../../integration-sdk-core/dist/src/types/step.d.ts","../../integration-sdk-core/dist/src/types/validation.d.ts","../../integration-sdk-core/dist/src/types/config.d.ts","../../integration-sdk-core/dist/src/types/partialDatasets.d.ts","../../integration-sdk-core/dist/src/types/spec.d.ts","../../integration-sdk-core/dist/src/types/storage.d.ts","../../integration-sdk-core/dist/src/types/index.d.ts","../../integration-sdk-core/dist/src/data/rawData.d.ts","../../integration-sdk-core/dist/src/data/createIntegrationEntity.d.ts","../../integration-sdk-core/dist/src/data/createIntegrationRelationship.d.ts","../../integration-sdk-core/dist/src/data/index.d.ts","../../integration-sdk-core/dist/src/errors.d.ts","../../integration-sdk-core/dist/src/index.d.ts","../../integration-sdk-runtime/dist/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.d.ts","../../integration-sdk-runtime/dist/src/storage/FileSystemGraphObjectStore/index.d.ts","../../integration-sdk-runtime/dist/src/storage/memory.d.ts","../../integration-sdk-runtime/dist/src/storage/index.d.ts","../../integration-sdk-runtime/dist/src/storage/types.d.ts","../../integration-sdk-runtime/dist/src/logger/registerEventHandlers.d.ts","../../integration-sdk-runtime/dist/src/logger/index.d.ts","../../integration-sdk-runtime/dist/src/synchronization/types.d.ts","../../integration-sdk-runtime/dist/src/synchronization/error.d.ts","../../integration-sdk-runtime/dist/src/synchronization/events.d.ts","../../integration-sdk-runtime/dist/src/synchronization/index.d.ts","../../integration-sdk-runtime/dist/src/execution/uploader.d.ts","../../integration-sdk-runtime/dist/src/execution/executeIntegration.d.ts","../../integration-sdk-runtime/dist/src/execution/instance.d.ts","../../integration-sdk-runtime/dist/src/execution/jobState.d.ts","../../integration-sdk-runtime/dist/src/execution/step.d.ts","../../integration-sdk-runtime/dist/src/execution/config.d.ts","../../../node_modules/dependency-graph/lib/index.d.ts","../../integration-sdk-runtime/dist/src/execution/dependencyGraph.d.ts","../../integration-sdk-runtime/dist/src/execution/index.d.ts","../../integration-sdk-runtime/dist/src/fileSystem.d.ts","../../integration-sdk-runtime/dist/src/metrics/index.d.ts","../../integration-sdk-runtime/dist/src/index.d.ts","../src/export/util.ts","../src/pause.ts","../src/import/importAssetsFromCsv.ts","../src/import/importAssets.ts","../src/validateOption.ts","../src/commands/j1Import.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/uuid/interfaces.d.ts","../../../node_modules/@types/uuid/index.d.ts","../src/export/bulkDownloadToJson.ts","../src/export/exportAssetsToJson.ts","../src/export/groupJsonAssetsByType.ts","../src/export/writeAssetsToCsv.ts","../src/export/exportJsonAssetsToCsv.ts","../src/export/exportAssets.ts","../src/commands/j1Export.ts","../src/commands/index.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/har-format/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/diffLines.d.ts","../../../node_modules/jest-diff/build/printDiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/js-yaml/index.d.ts","../../../node_modules/@types/json-diff/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json2csv/JSON2CSVBase.d.ts","../../../node_modules/@types/json2csv/JSON2CSVParser.d.ts","../../../node_modules/@types/json2csv/JSON2CSVTransform.d.ts","../../../node_modules/@types/json2csv/JSON2CSVAsyncParser.d.ts","../../../node_modules/@types/json2csv/transforms/flatten.d.ts","../../../node_modules/@types/json2csv/transforms/unwind.d.ts","../../../node_modules/@types/json2csv/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/pollyjs__persister/index.d.ts","../../../node_modules/@types/pollyjs__core/index.d.ts","../../../node_modules/@types/pollyjs__adapter/index.d.ts","../../../node_modules/@types/pollyjs__adapter-node-http/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/traverse/index.d.ts","../../../node_modules/moment/ts3.1-typings/moment.d.ts","../../../node_modules/@types/vis/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"863c30a6bb39ea987b1a8018e88d6809634d3b148cc16535079700a77d77dc70","c72b982add26c5ddf410899bcafe3f47253a5d274d4b93d2ef67850d4af4545b","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","8f15f5fdea59d13b7b0be558d8fe0829b5951fadc03eb4dce0d9f732123b9d01","4c2c4f53e8eedd970f8afa369d7371544fb6231bf95e659f8602e09abe74d5a5",{"version":"e71aa3dcef67c4e22d57a8ff085806b986818c27d515a6c548547dbb06153c01","affectsGlobalScope":true},"64e2803203b14d7f104f570f2152fde13abb6edc17b2ddb33d81ad86cf43d494","3143a5add0467b83150961ecd33773b561a1207aec727002aa1d70333068eb1b","9b2a8f604e7c0482a9061755f00b287cc99bd8718dc82d8207dd74c599b6dc43","d0fc76a91c828fbe3f0be5d683273634b7b101068333ceed975a8a9ac464137b",{"version":"1a048ff164b8d9609f5de3139d4e37f6e8a82af82087ac414b9208f52ef8aac7","affectsGlobalScope":true},"3111079f3cb5f2b9c812ca3f46161562bce5bfb355e915f46ed46c41714dc1c3","64576aba4ff801004122056ccd049f0597aa471dcfd7670a6a0b877ee8dd97c0","b32b6b16cb0bda68199582ad6f22242d07ee75fac9b1f28a98cd838afc5eea45","4441ee4119824bfaebc49308559edd7545978f9cb41a40f115074e1031dde75f",{"version":"60693a88462d0e97900123b5bf7c73e146ce0cc94da46a61fe6775b430d2ff05","affectsGlobalScope":true},{"version":"588c69eda58b9202676ec7ca11a72c3762819b46a0ed72462c769846153c447c","affectsGlobalScope":true},"cc829932ffaf5c49092f878bec18af1fa5d8591b45a45e2b7f757f793cb3b4ed","47db10fdc4e76c4f4598cf7c91ba6bfde6cf6d8082c51860fe751643bf359739","53d2c24a3cbc00a88ebaf8ab8e1b6e206bc3a6647d544f877241684ea3d484e3","3be5ff21956db30c674bf2a98eb348e4ce7b4635cd9673413d86fbce761b77d8","0ce99c641ea20b0c0c09d093fc28f18f5ab31dc80033707a1ac3154399de2559","f0c33a0b325d3499cc9aded7d32886f998c9a27b465097c6cc136944d0aafdaa","44e42ed6ec9c4451ebe89524e80ac8564e9dd0988c56e6c58f393c810730595d","d4a0c39ece1e7c99d701e9c02a7dde8e3b75e03405f78d58d48dfea797ddbbac","1606ea615c0a5ea9f5c1376a33e34c0e1112e8dee31a5b3b8a74ce781893aa6f","9fef9de633d01cb7f01f68195626a890ededd25cf96a1e785617d08c8668230d","4455c78d226d061b1203c7614c6c6eb5f4f9db5f00d44ff47d0112de8766fbc4",{"version":"ec369bb9d97c4dc09dd2a4093b7ca3ba69ad284831fccac8a1977785e9e38ce5","affectsGlobalScope":true},"4465a636f5f6e9665a90e30691862c9e0a3ac2edc0e66296704f10865e924f2a","9af781f03d44f5635ed7844be0ce370d9d595d4b4ec67cad88f0fac03255257e","f9fd4c3ef6de27fa0e256f4e75b61711c4be05a3399f7714621d3edc832e36b0","e49290b7a927995c0d7e6b2b9c8296284b68a9036d9966531de65185269258d7","c3689f70ce7563c2299f2dcb3c72efdf6f87ae510e7456fa6223c767d0ca99fc","874ca809b79276460011480a2829f4c8d4db29416dd411f71efbf8f497f0ac09","82e1723b20fa0b15a7da0d1a03fec88348f82f640f7a2f308d6c0fac780cfc7c","605c24042a348b033b30121cff64380eb5d6d82853c5608f1f94ef72385cf5c9","23a28f834a078986bbf58f4e3705956983ff81c3c2493f3db3e5f0e8a9507779","4febdf7f3ec92706c58e0b4e8159cd6de718284ef384260b07c9641c13fc70ce",{"version":"8e94ca83455f043dc6ad5bf1b217e1d97fe2bed88bfa8486db02337ab3fce9f2","affectsGlobalScope":true},"7335933d9f30dcfd2c4b6080a8b78e81912a7fcefb1dafccb67ca4cb4b3ac23d","a6bfe9de9adef749010c118104b071d14943802ff0614732b47ce4f1c3e383cd","4c3d0e10396646db4a1e917fb852077ee77ae62e512913bef9cccc2bb0f8bd0e","3b220849d58140dcc6718f5b52dcd29fdb79c45bc28f561cbd29eb1cac6cce13","0ee22fce41f7417a24c808d266e91b850629113c104713a35854393d55994beb","22d1b1d965baba05766613e2e6c753bb005d4386c448cafd72c309ba689e8c24",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"79d679a1d56574cc5cef92be1f0e5e8fb4af62fb55933b236670a0e0a23c83f6","46324183533e34fad2461b51174132e8e0e4b3ac1ceb5032e4952992739d1eab","d3fa0530dfb1df408f0abd76486de39def69ca47683d4a3529b2d22fce27c693","d9be977c415df16e4defe4995caeca96e637eeef9d216d0d90cdba6fc617e97e","98e0c2b48d855a844099123e8ec20fe383ecd1c5877f3895b048656befe268d0","ff53802a97b7d11ab3c4395aa052baa14cd12d2b1ed236b520a833fdd2a15003","fce9262f840a74118112caf685b725e1cc86cd2b0927311511113d90d87cc61e","d7a7cac49af2a3bfc208fe68831fbfa569864f74a7f31cc3a607f641e6c583fd","9a80e3322d08274f0e41b77923c91fe67b2c8a5134a5278c2cb60a330441554e","2460af41191009298d931c592fb6d4151beea320f1f25b73605e2211e53e4e88","2f87ea988d84d1c617afdeba9d151435473ab24cd5fc456510c8db26d8bd1581","b7336c1c536e3deaedbda956739c6250ac2d0dd171730c42cb57b10368f38a14","6fb67d664aaab2f1d1ad4613b58548aecb4b4703b9e4c5dba6b865b31bd14722","4414644199b1a047b4234965e07d189781a92b578707c79c3933918d67cd9d85","04a4b38c6a1682059eac00e7d0948d99c46642b57003d61d0fe9ccc9df442887","f12ea658b060da1752c65ae4f1e4c248587f6cd4cb4acabbf79a110b6b02ff75","011b2857871a878d5eae463bedc4b3dd14755dc3a67d5d10f8fbb7823d119294","e175549fe57dbff5cd68c1a5ccf33717584d7db9afb8ec216fd2c0daa3b06931","ea68c312e1eb9b48f7064a8dda348594769ba8f9c8596315827c559734a60205","6ddb5fb4476ca702ecff9e5ff0295cde6ce138d71f817da65e118a2a3c534106","6dfff2e65f10158f5a868e642a2e74d2d1bd76f15291552f389f2b8c829a9a86","41c78f187749098f9b8e8982839a010b6bf00dacc654d759b9c169127bcda034","40391fabf54c15c70c44c538a98ca9fe751a06adae84adc9a9c2da765452a538","c2a70cf2999d7ccd2f87c22042393b853e01bb2994d6561071aa53a82926c0de","13a2be98b06263db38e037e4fd1979a49bc96fed71e8b2327854e34e5fd7beee","3154a026075044aa102298fe9e6a7a14aaa26a06270680c7478a1765af8ffb09","f90d0c7fe2c168261737c9bf9366c9cab1296717557143b0593ffd78d60c5652","3a604201a74793b8a8a0ce2f0e8186e6e92288738e139d6455aa331592e0c011","f6c17e0f635e28d8576bdb9f891317f8635d935ad166112645b8c384f738c093","b3734b270bc86885a84893121c710118ed011584106433ccc6679875fc745480","42c60a38e0ca0507d39cd3fc070fa3c40a7ea29aa24ecbaa30300b85d6ae6dc9","4185f575826a8f1430f2d04aadccc0867b47cfd14596d9f4a1f42ce0e6f422f0","9d4c86c5d30635096e0bd5960cfb13ca71c8bc3d23401e6d4cb5532c6a83d015","d2f72b54791f7598eee61452288e84f226737bc87258d1651238d7ed949fc064","7c2aa1929759fee569c9eba25622b0b532abc90fe593184fa46a15a8ebbfe37d","553734e8b810acfd7898e83236a8ebc6a3b311d60c9ac64332086ad8c9b4226d","9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","3c971fba3f966d03f3f14c97ae3ffc43b82c16526ce7323a0570b52a7c7e358a","a8796b05dd034d98f3a97cb9f75186deda9a852a36eb8220f69b0dfc8528d548","98d41e7b68a535dc6eaa1570ff22167031e1520f877b0ef221c95b31a37cf547","494b82b8dc805a27ef1fe1dd0fc8e23b1a94612867c404a7e6fb97b32e24c757","15ef8198d2d6b81a46e37c11872d3487eaa8b083395b320cf4b1b6f373c3e778","b8f76dc3429c5b265e9120e5f6891a3cc906afc6f33734b4a231db4af43aba51","7401bda81be5b24323ff7aae37fd94b1311ccdb410e8922ed3fb307c324c9287","9804ef0e90738b01ab858dabdf33259bf2f9cea3e102d628361c427354112cbf","e773b60c789844210fb71a9d1128a32e00ebb439a1754f83f6d03a528c506b56","71b0d16c77278554c6cbb94e8db8fa3769c01c93c46b316c0b44d7214f7c5650","4d1e6afdeed636130ad47f3a2184a41e6d2a1f8075d06557e45770be2c75b6ee","94575515be2e8304320a90b2b2d896185985db070bbc59f6689ccde51b0416ce","27ded1ea19fe478d1ae8b38898a3c02c62674f932830f8a61bf3aa81eb620be2","baa60f1bf9dee44c9aa166186678bd8fbe6979cd7f74e28954f81c5e4a5a8246","56f9040d9d5b5c31f5ee297052d578da43f0df72844f0c45a8db29173832e4d4","5d662301147ec2f6e917e157b5fdd73a308be1ea6abf4a13a73ac2fd23709e2b","2e50e440556ddcd2d06e6f37a50f855f9c746766cf0dcea86893c624929a9de1","3fd1d8808b572fb667426d0efb5447226104d024dc7ee767e4e9059d2a3229cf","0a37e4046f4f5aaadd85cfa179a848a71adc7332d20259a099b885b430965b2b","141947ec11dd1f7cff95bab492d943656b8590356c2963cf6f24839dc7e835c9","e509f891f8d6872b0a78387b5439370f69d510e4dbc3ebdecd2f17be3493cd68","7f24f5613e594d3b280e0bdce4b0d50863973e0282441d58065a02c27da899eb","f60a68741050002209023745143e351635cbb438181559556e1786c9cb386abe","d60fdcb69d287beaac4191b4c389545f4b443b7b7d5d41337a45549884240e2e","d1fe43fa91d5aab57e1305e56e2b65c40b5ce32377995f0cda17badbd910982a","dfaaeb53eff753360e75cbd95c9809c535987d3135c57ac757ba519bd00a4c43","4d54efa2cf9469bc27b5d8ac831f6eb76ebeb3be18b856edddc58fa6cd4089cf","e7a521f7db8c95120e08bb5dc78f6aa37f7bf20a1485ec8ddde9e65d6b8f5c10","db1e5e8fe89b3063ceab3ae3c95bcabe1b4c7f7ce4be2efea6553b54cdba3042","b82e924ea77b46c7a2dbfc6e2584c3e8c6b7e3751215aaea31b08e2b414b3bd6","096e804e1aa95115d234ec4e34215921428cd1f12361dabd3a5616d7fe80636e","fb3ec03c6e0de01e6b7803c3aaf4479e145cc3acca6edc9dbbc5c6df398ca0d5","ced031bb6351f9ef8926d68dc795f00ecf159ec81e4c9b5b47bbf97a7d1600a9","cdb65530f43170802e1190bf167222e18851cb44f3b55fae55a85727a393b32e","d381b74e777da6f17a886bd7d5181f3beb44946900863d748e7622e56dcef51d","eaf3927247caeef3b5b54b732e2872a9778074614ecf6471731cf53b34331cfb","d63ded7d5a02286d1500832688fee32f8ad060527098f1b6044d523648d1e46b","487f2b8db064f3e18db82ae37c0416021ebb5462dba11b8dca561be2f27d87c2","6f31f2722f12608c2388b32dd480d3a675df488649fc839d00866133f5a720cb","d4714b8b97a6c28bb56387b924c142bd5abb7480166632216a61d09c1b37e40f","7cce8a22db6b2454d291bf2a1cd034687fdc5c61e38ae7fce0ff945b00e7e94a","a443a2418e512b86399a2cd8a88c77c7bf710a670f941a82c273c8b5628abaec","b54f38290f003aae7b4b51c920c79bb7255d61ea9cf987ff7015caf43d705e11","c4f63ad2ecaf7422b4276dcbddc33add4f17557ae62f0b312e98f4e51661ab78","c88def29104f20a7569673a81cef28f1932e02a56c0228148a7ad45b44d05c54","40e408570604bf83759495c560fe85870a1327cf90c4ac311500513e7bc1db1e","f8a77bb82f84fc283976d58a79d371296af481a0d50926588f13fb7ed19ae679","72e05c0e4a793c75030c6de014d00bf479269f32f5e894d32cfb145a6c10ff9a","5bc652ebeda2c51060cc934f7766596593e6fd28628050c81b9ec4517131505a","d93ed2549f85099eb56c5fdaaa5bc93538fb1c9be9e6745d22248562354f6403","7c6cf92e8fe5d501286c1e6c0518bbca5151e7912ba7fcc4139060a6391e85c0","2ccf98b1374ef2f8c21c6bf2daa30a7ed5425347996730b295ea894cbf98b017","2c4518029b408cca5623a40e7037d8b66379562c17c2cbcc64c75edce610d0b0","c3e5a06236092e851b48f6323ec6fd7d3a201b29a6dffae3e7abcb4f30110355","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"045334b3d5ad607b12489d4a0e73b5491542b776f1e371d3aacaff5291e730e0","9473ee1ca40f9a3d7727087ec6e4976923583878763b789636026b26f7f6cd3c","04669337bba115d20d4e79e23217debfb15aaf8f6496dbdbe053ed8d8059de0a","3c361fafd32e15f4b74a0a4d858288c5f137b59051022664c7fed0f8158c9d9a","21e2c2584c9cb39fc2f580146ad97c69396a2f524d8b7afd2e64d12d1160323f","506e640ec819c0e17f4785b6477d09d60fe01112f55446a4798dfab7b42ede74","e2c637096fb5b39cd62b162985e283b64784f50b1962eafde490d249f1101416","c2a71c6f073c884dbf9fe01d12ba68013519640357d33e8aa44700ec02c96091","5bc51bd01d7b46489d594e67b418b2825b592a367c98348a3985292065a60903","65a55ea2eae90212e36da6517f7223bd2a2a76c98613046a58ca57060c6c8588","442e07133005f1338b49add228e86d08329c9dd4f29ebb4875a65ecd49ba00e8","2ff9995137f3e5d68971388ec58af0c79721626323884513f9f5e2e996ac1fdd","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","29afd3970c68fdcbf3168de0f855d7cd84135c436050793b0584e1a904affe2d","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","dd5647a9ccccb2b074dca8a02b00948ac293091ebe73fdf2e6e98f718819f669","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","edaff827b058523df8cfb6d7812a5084afa6648d4ff5fb01351da8eafe2f0232","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","270e729660d8df5baf58aa6b0dc1724de4ac41f8cf4a47b0ff51cb713eae9f61","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","ee36efce86beeb8f4a34974891f3fe3c6c5774802089a633c07ed2dd4d308762","0e87eb9c7868f42dc605c98f557f818c70281232f8bc91ca72694ca8c1d94543","994a0590d6759e482925ec45ffeb2fc3045a1bcda25b4110c4870f52213eb210","1e8a489fd4a5523a91b72a00e360ee667ef9346e829359adb8f5ce08c11a8116","39d5cb0690a46e19d898e4581dea409979916f6bfa07c3115979888641bf404e","f0f17d3ab8ff023fab88b061c947853c774bf3f230b13eeb8b7c605085181525","fc75bcb3b1eb2cc497993423e70676b2b99881181bae55292db62a66b1ea06a0","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","2bebf0361bda5c58ba2b308f256061ea98750938599d9dd98e38f03d565d6076","0f85cd3a0353de12e7706db25f3f4cfceec590aa212839a84ba0cb79533a4567","85f154c615d86ff1d8950ac3c241d8383347c1b3ad53518d1ccba81554279ecb","689288a21317d3d64e47bb4a9c691d30b01cae8cc144f3410e27bc613cf9eb84","6209c901f30cc321f4b86800d11fad3d67e73a3308f19946b1bc642af0280298","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","97cad055446113b65658aa07fac62e03dee7645dafec7f8e1e627500d5d8ee6d","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","efdffb306ef0a6c0ac375064d190bc93c7c2108004064529ca7d5e7f38d71285","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":1,"noImplicitThis":true,"noUnusedLocals":true,"outDir":"./","sourceMap":true,"strictNullChecks":true,"target":5},"fileIdsList":[[235],[156],[160],[109,110,111,157,158,159],[115,116,120,147,148,152,154,155],[113,114],[113],[115,155],[115,116,152,153,155],[155],[112,155,156],[115,116,154,155],[115,116,118,119,154,155],[115,116,117,154,155],[115,116,120,147,148,149,150,151,154,155],[112,115,116,120,152,154],[120,155],[122,123,124,125,126,127,128,129,130,131,155],[145,155],[121,132,140,141,142,143,144,146],[125,155],[133,134,135,136,137,138,139,155],[81,82],[82,83,84,85],[76,82,84],[81,83],[46,76],[46,76,77],[77,78,79,80],[77,79],[78],[62,76,86,87,88,91],[87,88,90],[45,76,86,87,88,89],[88],[86,87],[76,86],[235,236,237,238,239],[235,237],[244],[245],[249,253],[62,258,260],[264],[258],[62,264],[62,76,259,260,261,262,263],[211,213,214,215,216,217,218,219,220,221,222,223],[211,212,214,215,216,217,218,219,220,221,222,223],[212,213,214,215,216,217,218,219,220,221,222,223],[211,212,213,215,216,217,218,219,220,221,222,223],[211,212,213,214,216,217,218,219,220,221,222,223],[211,212,213,214,215,217,218,219,220,221,222,223],[211,212,213,214,215,216,218,219,220,221,222,223],[211,212,213,214,215,216,217,219,220,221,222,223],[211,212,213,214,215,216,217,218,220,221,222,223],[211,212,213,214,215,216,217,218,219,221,222,223],[211,212,213,214,215,216,217,218,219,220,222,223],[211,212,213,214,215,216,217,218,219,220,221,223],[211,212,213,214,215,216,217,218,219,220,221,222],[33],[35],[36,41],[37,45,46,53,62],[37,38,45,53],[39,69],[40,41,46,54],[41,62],[42,43,45,53],[43],[44,45],[45],[45,46,47,62,68],[46,47],[48,53,62,68],[45,46,48,49,53,62,65,68],[48,50,62,65,68],[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75],[45,51],[52,68],[43,45,53,62],[54],[55],[35,56],[57,67],[58],[59],[45,60],[60,61,69,71],[45,62],[63],[64],[53,62,65],[66],[53,67],[59,68],[69],[62,70],[71],[72],[45,47,62,68,71,73],[62,74],[271],[270],[269,271],[224],[276],[278],[76,93,94,95],[93,94],[93],[76,92],[96],[247,250],[247,250,251,252],[249],[76,99],[248],[210,232],[30,32,55,209,231],[30,32,55,208,209],[29,55,181,204,205,223,225],[29,32,227,230,233],[32,100,226,231],[29,32,55,100,223,228,229,231],[55,97,98,223],[29,55,223,225],[46,55,69],[32,207,233],[29,32,55,97,98,100,101,102,103,204,205,206,208],[30,233],[31],[106,175],[160,175],[105,106,107,176,177,178],[175],[160,175,179,180],[108,165,167,169,170],[108,161,164],[166],[108,161,162,163,164,165,166,167,168,169,170,171,172,173,174],[162,163,175],[166,167],[108,165,169,171],[108,160,165,168],[161,167,168,169],[108,165],[101],[181],[181,185,193,196,199],[181,185,193],[193,194,195,196,197,198,200],[181,185,193,196],[186,192],[181,186],[104,185,188,192,201,202,203],[45,76,181,187],[188],[182],[181,183,184],[101,181,189],[101,181,192],[101,104,181,186,188,190,191]],"referencedMap":[[237,1],[157,2],[159,3],[160,4],[156,5],[115,6],[114,7],[119,8],[154,9],[151,10],[153,11],[116,10],[117,12],[121,12],[120,13],[118,14],[152,15],[150,10],[155,16],[122,17],[127,10],[129,10],[124,10],[125,17],[131,10],[132,18],[123,10],[128,10],[130,10],[126,10],[146,19],[145,10],[147,20],[141,10],[143,10],[142,10],[138,10],[144,21],[139,10],[140,22],[133,10],[134,10],[135,10],[136,10],[137,10],[83,23],[86,24],[85,25],[84,26],[82,27],[78,28],[81,29],[80,30],[79,31],[77,27],[92,32],[91,33],[90,34],[89,35],[88,36],[87,37],[240,38],[236,1],[238,39],[239,1],[241,27],[242,27],[245,40],[246,41],[254,42],[261,43],[258,44],[259,45],[260,46],[264,47],[262,44],[263,44],[212,48],[213,49],[211,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,60],[33,61],[35,62],[36,63],[37,64],[38,65],[39,66],[40,67],[41,68],[42,69],[43,70],[44,71],[45,72],[46,73],[47,74],[48,75],[49,76],[50,77],[76,78],[51,79],[52,80],[53,81],[54,82],[55,83],[56,84],[57,85],[58,86],[59,87],[60,88],[61,89],[62,90],[63,91],[64,92],[65,93],[66,94],[67,95],[68,96],[69,97],[70,98],[71,99],[72,100],[73,101],[74,102],[272,103],[271,104],[270,105],[225,106],[277,107],[279,108],[96,109],[95,110],[94,111],[93,112],[97,113],[251,114],[253,115],[252,114],[250,116],[100,117],[249,118],[233,119],[232,120],[210,121],[226,122],[231,123],[227,124],[230,125],[228,126],[229,127],[29,128],[208,129],[207,130],[234,131],[32,132],[177,133],[178,134],[179,135],[176,136],[181,137],[171,138],[165,139],[167,140],[175,141],[161,136],[164,142],[168,143],[173,144],[169,145],[174,146],[170,147],[104,148],[198,149],[200,150],[194,151],[201,152],[195,149],[196,151],[197,153],[193,154],[202,155],[204,156],[188,157],[187,158],[203,149],[182,149],[183,159],[185,160],[184,149],[186,149],[190,161],[191,162],[192,163]],"exportedModulesMap":[[237,1],[157,2],[159,3],[160,4],[156,5],[115,6],[114,7],[119,8],[154,9],[151,10],[153,11],[116,10],[117,12],[121,12],[120,13],[118,14],[152,15],[150,10],[155,16],[122,17],[127,10],[129,10],[124,10],[125,17],[131,10],[132,18],[123,10],[128,10],[130,10],[126,10],[146,19],[145,10],[147,20],[141,10],[143,10],[142,10],[138,10],[144,21],[139,10],[140,22],[133,10],[134,10],[135,10],[136,10],[137,10],[83,23],[86,24],[85,25],[84,26],[82,27],[78,28],[81,29],[80,30],[79,31],[77,27],[92,32],[91,33],[90,34],[89,35],[88,36],[87,37],[240,38],[236,1],[238,39],[239,1],[241,27],[242,27],[245,40],[246,41],[254,42],[261,43],[258,44],[259,45],[260,46],[264,47],[262,44],[263,44],[212,48],[213,49],[211,50],[214,51],[215,52],[216,53],[217,54],[218,55],[219,56],[220,57],[221,58],[222,59],[223,60],[33,61],[35,62],[36,63],[37,64],[38,65],[39,66],[40,67],[41,68],[42,69],[43,70],[44,71],[45,72],[46,73],[47,74],[48,75],[49,76],[50,77],[76,78],[51,79],[52,80],[53,81],[54,82],[55,83],[56,84],[57,85],[58,86],[59,87],[60,88],[61,89],[62,90],[63,91],[64,92],[65,93],[66,94],[67,95],[68,96],[69,97],[70,98],[71,99],[72,100],[73,101],[74,102],[272,103],[271,104],[270,105],[225,106],[277,107],[279,108],[96,109],[95,110],[94,111],[93,112],[97,113],[251,114],[253,115],[252,114],[250,116],[100,117],[249,118],[233,119],[232,120],[210,121],[226,122],[231,123],[227,124],[230,125],[228,126],[229,127],[29,128],[208,129],[207,130],[234,131],[32,132],[177,133],[178,134],[179,135],[176,136],[181,137],[171,138],[165,139],[167,140],[175,141],[161,136],[164,142],[168,143],[173,144],[169,145],[174,146],[170,147],[104,148],[198,149],[200,150],[194,151],[201,152],[195,149],[196,151],[197,153],[193,154],[202,155],[204,156],[188,157],[187,158],[203,149],[182,149],[183,159],[185,160],[184,149],[186,149],[190,161],[191,162],[192,163]],"semanticDiagnosticsPerFile":[237,235,157,110,159,109,160,111,158,156,113,115,114,119,154,151,153,116,117,121,120,118,152,150,155,148,149,122,127,129,124,125,131,132,123,128,130,126,146,145,147,141,143,142,138,144,139,140,133,134,135,136,137,103,83,86,85,84,82,78,81,80,79,77,92,91,90,89,88,87,240,236,238,239,241,242,243,244,245,246,254,255,256,257,261,258,259,260,264,262,263,212,213,211,214,215,216,217,218,219,220,221,222,223,265,266,33,35,36,37,38,39,40,41,42,43,44,45,46,47,34,75,48,49,50,76,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,267,268,272,271,270,269,273,274,275,225,224,277,278,279,101,31,99,30,199,96,95,94,93,97,247,251,253,252,250,276,100,102,249,248,6,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,98,112,233,232,210,226,231,227,230,228,205,229,29,208,207,234,32,206,209,105,177,178,179,107,176,106,180,181,171,165,167,175,108,161,164,163,172,166,168,173,169,174,162,170,104,198,200,194,201,195,196,197,193,202,204,188,187,203,182,183,185,184,186,190,191,192,189]},"version":"4.5.5"}
package/jest.config.js CHANGED
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- ...require('../../jest.config.base')
2
+ ...require('../../jest.config.base'),
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupiterone/cli",
3
- "version": "8.4.1",
3
+ "version": "8.4.4",
4
4
  "description": "The JupiterOne cli",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -24,8 +24,8 @@
24
24
  "test": "jest"
25
25
  },
26
26
  "dependencies": {
27
- "@jupiterone/integration-sdk-core": "^8.4.1",
28
- "@jupiterone/integration-sdk-runtime": "^8.4.1",
27
+ "@jupiterone/integration-sdk-core": "^8.4.4",
28
+ "@jupiterone/integration-sdk-runtime": "^8.4.4",
29
29
  "@lifeomic/attempt": "^3.0.0",
30
30
  "commander": "^5.0.0",
31
31
  "globby": "^11.0.1",
@@ -43,5 +43,5 @@
43
43
  "csvtojson": "^2.0.10",
44
44
  "memfs": "^3.2.0"
45
45
  },
46
- "gitHead": "07778e4a5f0e87137f6036ee8e3ba4e44ff2f4bb"
46
+ "gitHead": "38b5b433319a92ee2aa4e5fda74142b055a4d35a"
47
47
  }
@@ -61,15 +61,12 @@ beforeEach(async () => {
61
61
  mockedCreateApiClient.mockReturnValue(axios);
62
62
  vol.reset();
63
63
  vol.fromJSON({
64
- [`${TEST_STORAGE_LOCATION}/csv/entities/entity_type_1/${uuid()}.csv`]: await parseToCsv(
65
- type1Entities,
66
- ),
67
- [`${TEST_STORAGE_LOCATION}/csv/entities/entity_type_2/${uuid()}.csv`]: await parseToCsv(
68
- type2Entities,
69
- ),
70
- [`${TEST_STORAGE_LOCATION}/csv/relationships/relationship_type_1/${uuid()}.csv`]: await parseToCsv(
71
- type1Relationships,
72
- ),
64
+ [`${TEST_STORAGE_LOCATION}/csv/entities/entity_type_1/${uuid()}.csv`]:
65
+ await parseToCsv(type1Entities),
66
+ [`${TEST_STORAGE_LOCATION}/csv/entities/entity_type_2/${uuid()}.csv`]:
67
+ await parseToCsv(type2Entities),
68
+ [`${TEST_STORAGE_LOCATION}/csv/relationships/relationship_type_1/${uuid()}.csv`]:
69
+ await parseToCsv(type1Relationships),
73
70
  });
74
71
  mockedGlobby.mockImplementation((path) => {
75
72
  let paths: string[] = [];
@@ -1,8 +1,8 @@
1
- import { Volume } from "memfs/lib/volume";
1
+ import { Volume } from 'memfs/lib/volume';
2
2
 
3
3
  export function fetchAssetsContents(vol: Volume) {
4
4
  const files = vol.toJSON();
5
5
  return Object.keys(files)
6
- .filter(filename => filename.endsWith('.csv'))
7
- .map(filename => files[filename]) as string[];
6
+ .filter((filename) => filename.endsWith('.csv'))
7
+ .map((filename) => files[filename]) as string[];
8
8
  }
@@ -1,2 +1,2 @@
1
1
  export * from './constants';
2
- export * from './fetchAssetsContents';
2
+ export * from './fetchAssetsContents';
@@ -1,11 +1,14 @@
1
- import { mocked } from "ts-jest/utils";
1
+ import { mocked } from 'ts-jest/utils';
2
2
  import ora from 'ora';
3
3
 
4
- import { exportAssetsToJson, ExportAssetsToJsonParams } from "../exportAssetsToJson";
5
- import { DEFAULT_EXPORT_DIRECTORY } from "../../commands";
4
+ import {
5
+ exportAssetsToJson,
6
+ ExportAssetsToJsonParams,
7
+ } from '../exportAssetsToJson';
8
+ import { DEFAULT_EXPORT_DIRECTORY } from '../../commands';
6
9
  import { bulkDownloadToJson } from '../bulkDownloadToJson';
7
10
  import * as log from '../../log';
8
- import { TEST_API_KEY } from "../../__tests__/utils";
11
+ import { TEST_API_KEY } from '../../__tests__/utils';
9
12
 
10
13
  jest.mock('../bulkDownloadToJson');
11
14
  jest.mock('../../log');
@@ -19,69 +22,81 @@ const options: ExportAssetsToJsonParams = {
19
22
  includeDeleted: true,
20
23
  includeEntities: true,
21
24
  includeRelationships: true,
22
- apiKey: TEST_API_KEY
23
- }
25
+ apiKey: TEST_API_KEY,
26
+ };
24
27
 
25
28
  test('should download both entities and relationships when specified to include them', async () => {
26
29
  await exportAssetsToJson(options);
27
30
 
28
31
  expect(bulkDownloadToJson).toHaveBeenCalledTimes(2);
29
- expect(bulkDownloadToJson).toHaveBeenCalledWith(expect.objectContaining({
30
- storageDirectory: options.storageDirectory,
31
- apiKey: options.apiKey,
32
- includeDeleted: options.includeDeleted,
33
- assetType: 'entities',
34
- progress: expect.anything()
35
- }));
36
- expect(bulkDownloadToJson).toHaveBeenCalledWith(expect.objectContaining({
37
- storageDirectory: options.storageDirectory,
38
- apiKey: options.apiKey,
39
- includeDeleted: options.includeDeleted,
40
- assetType: 'relationships',
41
- progress: expect.anything()
42
- }));
43
- expect(mockedSpinner.succeed).toHaveBeenCalledWith(expect.stringMatching(
44
- /Export Successful, Downloaded \d+ entities and \d+ relationships!/g
45
- ));
32
+ expect(bulkDownloadToJson).toHaveBeenCalledWith(
33
+ expect.objectContaining({
34
+ storageDirectory: options.storageDirectory,
35
+ apiKey: options.apiKey,
36
+ includeDeleted: options.includeDeleted,
37
+ assetType: 'entities',
38
+ progress: expect.anything(),
39
+ }),
40
+ );
41
+ expect(bulkDownloadToJson).toHaveBeenCalledWith(
42
+ expect.objectContaining({
43
+ storageDirectory: options.storageDirectory,
44
+ apiKey: options.apiKey,
45
+ includeDeleted: options.includeDeleted,
46
+ assetType: 'relationships',
47
+ progress: expect.anything(),
48
+ }),
49
+ );
50
+ expect(mockedSpinner.succeed).toHaveBeenCalledWith(
51
+ expect.stringMatching(
52
+ /Export Successful, Downloaded \d+ entities and \d+ relationships!/g,
53
+ ),
54
+ );
46
55
  });
47
56
 
48
57
  test('should exclude entities when includeEntities is false', async () => {
49
58
  await exportAssetsToJson({
50
59
  ...options,
51
- includeEntities: false
60
+ includeEntities: false,
52
61
  });
53
62
 
54
63
  expect(bulkDownloadToJson).toHaveBeenCalledTimes(1);
55
- expect(bulkDownloadToJson).toHaveBeenCalledWith(expect.objectContaining({
56
- storageDirectory: options.storageDirectory,
57
- apiKey: options.apiKey,
58
- includeDeleted: options.includeDeleted,
59
- assetType: 'relationships',
60
- progress: expect.anything()
61
- }));
64
+ expect(bulkDownloadToJson).toHaveBeenCalledWith(
65
+ expect.objectContaining({
66
+ storageDirectory: options.storageDirectory,
67
+ apiKey: options.apiKey,
68
+ includeDeleted: options.includeDeleted,
69
+ assetType: 'relationships',
70
+ progress: expect.anything(),
71
+ }),
72
+ );
62
73
  });
63
74
 
64
75
  test('should exclude relationships when includeRelationships is false', async () => {
65
76
  await exportAssetsToJson({
66
77
  ...options,
67
- includeRelationships: false
78
+ includeRelationships: false,
68
79
  });
69
80
 
70
81
  expect(bulkDownloadToJson).toHaveBeenCalledTimes(1);
71
- expect(bulkDownloadToJson).toHaveBeenCalledWith(expect.objectContaining({
72
- storageDirectory: options.storageDirectory,
73
- apiKey: options.apiKey,
74
- includeDeleted: options.includeDeleted,
75
- assetType: 'entities',
76
- progress: expect.anything()
77
- }));
82
+ expect(bulkDownloadToJson).toHaveBeenCalledWith(
83
+ expect.objectContaining({
84
+ storageDirectory: options.storageDirectory,
85
+ apiKey: options.apiKey,
86
+ includeDeleted: options.includeDeleted,
87
+ assetType: 'entities',
88
+ progress: expect.anything(),
89
+ }),
90
+ );
78
91
  });
79
92
 
80
93
  test('should log error when there is an issue bulk downloading', async () => {
81
94
  const error = new Error();
82
95
  mockedBulkDownload.mockRejectedValue(error);
83
96
 
84
- await expect(exportAssetsToJson(options)).rejects.toThrow(error)
97
+ await expect(exportAssetsToJson(options)).rejects.toThrow(error);
85
98
  expect(log.error).toHaveBeenCalledWith('Failed to export assets to JSON');
86
- expect(mockedSpinner.fail).toHaveBeenCalledWith('Failed to export assets to JSON');
99
+ expect(mockedSpinner.fail).toHaveBeenCalledWith(
100
+ 'Failed to export assets to JSON',
101
+ );
87
102
  });
@@ -13,30 +13,40 @@ import { TEST_API_KEY } from '../../__tests__/utils';
13
13
 
14
14
  jest.mock('fs');
15
15
  jest.mock('../../log');
16
- jest.mock('ora')
16
+ jest.mock('ora');
17
17
 
18
18
  const mockedSpinner = ora().start();
19
19
  const TEST_DIRECTORY = DEFAULT_EXPORT_DIRECTORY;
20
20
  const TEST_FILES = {
21
- [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]: JSON.stringify(
22
- [createEntity({ id: '1', type: '1' })]
23
- ),
24
- [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]: JSON.stringify(
25
- [createEntity({ id: '2', type: '1' })]
26
- ),
27
- [`${TEST_DIRECTORY}/json/entities/entity_type_2/${uuid()}.json`]: JSON.stringify(
28
- [createEntity({ id: '3', type: '2' })]
29
- ),
30
- [`${TEST_DIRECTORY}/json/entities/entity_type_2/${uuid()}.json`]: JSON.stringify(
31
- [createEntity({ id: '4', type: '2' }), createEntity({ id: '5', type: '2' })]
32
- ),
33
- [`${TEST_DIRECTORY}/json/relationships/relationship_type_1/${uuid()}.json`]: JSON.stringify([
34
- createRelationship({ from: createEntity({ id: '1', type: '1' }), to: createEntity({ id: '3', type: '2' }) }),
35
- createRelationship({ from: createEntity({ id: '2', type: '1' }), to: createEntity({ id: '3', type: '2' }) })
36
- ]),
37
- [`${TEST_DIRECTORY}/json/relationships/relationship_type_2/${uuid()}.json`]: JSON.stringify([
38
- createRelationship({ from: createEntity({ id: '4', type: '2' }), to: createEntity({ id: '2', type: '1' }) }),
39
- ]),
21
+ [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]:
22
+ JSON.stringify([createEntity({ id: '1', type: '1' })]),
23
+ [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]:
24
+ JSON.stringify([createEntity({ id: '2', type: '1' })]),
25
+ [`${TEST_DIRECTORY}/json/entities/entity_type_2/${uuid()}.json`]:
26
+ JSON.stringify([createEntity({ id: '3', type: '2' })]),
27
+ [`${TEST_DIRECTORY}/json/entities/entity_type_2/${uuid()}.json`]:
28
+ JSON.stringify([
29
+ createEntity({ id: '4', type: '2' }),
30
+ createEntity({ id: '5', type: '2' }),
31
+ ]),
32
+ [`${TEST_DIRECTORY}/json/relationships/relationship_type_1/${uuid()}.json`]:
33
+ JSON.stringify([
34
+ createRelationship({
35
+ from: createEntity({ id: '1', type: '1' }),
36
+ to: createEntity({ id: '3', type: '2' }),
37
+ }),
38
+ createRelationship({
39
+ from: createEntity({ id: '2', type: '1' }),
40
+ to: createEntity({ id: '3', type: '2' }),
41
+ }),
42
+ ]),
43
+ [`${TEST_DIRECTORY}/json/relationships/relationship_type_2/${uuid()}.json`]:
44
+ JSON.stringify([
45
+ createRelationship({
46
+ from: createEntity({ id: '4', type: '2' }),
47
+ to: createEntity({ id: '2', type: '1' }),
48
+ }),
49
+ ]),
40
50
  };
41
51
 
42
52
  beforeEach(() => {
@@ -48,7 +58,7 @@ test('should not export anything if there are no json assets', async () => {
48
58
  includeEntities: true,
49
59
  includeRelationships: true,
50
60
  storageDirectory: TEST_DIRECTORY,
51
- apiKey: TEST_API_KEY
61
+ apiKey: TEST_API_KEY,
52
62
  });
53
63
 
54
64
  expect(vol.toJSON()).toEqual({});
@@ -61,25 +71,40 @@ test('should export both entities and relationships when specified', async () =>
61
71
  includeEntities: true,
62
72
  includeRelationships: true,
63
73
  storageDirectory: TEST_DIRECTORY,
64
- apiKey: TEST_API_KEY
74
+ apiKey: TEST_API_KEY,
65
75
  });
66
- const assets = await Promise.all(fetchAssetsContents(vol).map(convertCsvToJson))
67
-
68
- expect(assets)
69
- .toEqual(
70
- expect.arrayContaining([
71
- [createEntity({ id: '1', type: '1' })],
72
- [createEntity({ id: '2', type: '1' })],
73
- [createEntity({ id: '3', type: '2' })],
74
- [createEntity({ id: '4', type: '2' }), createEntity({ id: '5', type: '2' })],
75
- [
76
- createRelationship({ from: createEntity({ id: '1', type: '1' }), to: createEntity({ id: '3', type: '2' }) }),
77
- createRelationship({ from: createEntity({ id: '2', type: '1' }), to: createEntity({ id: '3', type: '2' }) })
78
- ],
79
- [createRelationship({ from: createEntity({ id: '4', type: '2' }), to: createEntity({ id: '2', type: '1' }) })]
80
- ])
81
- );
82
- expect(assets).toHaveLength(6)
76
+ const assets = await Promise.all(
77
+ fetchAssetsContents(vol).map(convertCsvToJson),
78
+ );
79
+
80
+ expect(assets).toEqual(
81
+ expect.arrayContaining([
82
+ [createEntity({ id: '1', type: '1' })],
83
+ [createEntity({ id: '2', type: '1' })],
84
+ [createEntity({ id: '3', type: '2' })],
85
+ [
86
+ createEntity({ id: '4', type: '2' }),
87
+ createEntity({ id: '5', type: '2' }),
88
+ ],
89
+ [
90
+ createRelationship({
91
+ from: createEntity({ id: '1', type: '1' }),
92
+ to: createEntity({ id: '3', type: '2' }),
93
+ }),
94
+ createRelationship({
95
+ from: createEntity({ id: '2', type: '1' }),
96
+ to: createEntity({ id: '3', type: '2' }),
97
+ }),
98
+ ],
99
+ [
100
+ createRelationship({
101
+ from: createEntity({ id: '4', type: '2' }),
102
+ to: createEntity({ id: '2', type: '1' }),
103
+ }),
104
+ ],
105
+ ]),
106
+ );
107
+ expect(assets).toHaveLength(6);
83
108
  });
84
109
 
85
110
  test('should export only entities when includeRelationships is false', async () => {
@@ -89,21 +114,25 @@ test('should export only entities when includeRelationships is false', async ()
89
114
  includeEntities: true,
90
115
  includeRelationships: false,
91
116
  storageDirectory: TEST_DIRECTORY,
92
- apiKey: TEST_API_KEY
117
+ apiKey: TEST_API_KEY,
93
118
  });
94
119
 
95
- const assets = await Promise.all(fetchAssetsContents(vol).map(convertCsvToJson))
96
-
97
- expect(assets)
98
- .toEqual(
99
- expect.arrayContaining([
100
- [createEntity({ id: '1', type: '1' })],
101
- [createEntity({ id: '2', type: '1' })],
102
- [createEntity({ id: '3', type: '2' })],
103
- [createEntity({ id: '4', type: '2' }), createEntity({ id: '5', type: '2' })],
104
- ])
105
- );
106
- expect(assets).toHaveLength(4)
120
+ const assets = await Promise.all(
121
+ fetchAssetsContents(vol).map(convertCsvToJson),
122
+ );
123
+
124
+ expect(assets).toEqual(
125
+ expect.arrayContaining([
126
+ [createEntity({ id: '1', type: '1' })],
127
+ [createEntity({ id: '2', type: '1' })],
128
+ [createEntity({ id: '3', type: '2' })],
129
+ [
130
+ createEntity({ id: '4', type: '2' }),
131
+ createEntity({ id: '5', type: '2' }),
132
+ ],
133
+ ]),
134
+ );
135
+ expect(assets).toHaveLength(4);
107
136
  });
108
137
 
109
138
  test('should export only relationships when includeEntities is false', async () => {
@@ -113,39 +142,56 @@ test('should export only relationships when includeEntities is false', async ()
113
142
  includeEntities: false,
114
143
  includeRelationships: true,
115
144
  storageDirectory: TEST_DIRECTORY,
116
- apiKey: TEST_API_KEY
145
+ apiKey: TEST_API_KEY,
117
146
  });
118
147
 
119
- const assets = await Promise.all(fetchAssetsContents(vol).map(convertCsvToJson))
148
+ const assets = await Promise.all(
149
+ fetchAssetsContents(vol).map(convertCsvToJson),
150
+ );
120
151
 
121
- expect(assets)
122
- .toEqual(expect.arrayContaining([
152
+ expect(assets).toEqual(
153
+ expect.arrayContaining([
154
+ [
155
+ createRelationship({
156
+ from: createEntity({ id: '1', type: '1' }),
157
+ to: createEntity({ id: '3', type: '2' }),
158
+ }),
159
+ createRelationship({
160
+ from: createEntity({ id: '2', type: '1' }),
161
+ to: createEntity({ id: '3', type: '2' }),
162
+ }),
163
+ ],
123
164
  [
124
- createRelationship({ from: createEntity({ id: '1', type: '1' }), to: createEntity({ id: '3', type: '2' }) }),
125
- createRelationship({ from: createEntity({ id: '2', type: '1' }), to: createEntity({ id: '3', type: '2' }) })
165
+ createRelationship({
166
+ from: createEntity({ id: '4', type: '2' }),
167
+ to: createEntity({ id: '2', type: '1' }),
168
+ }),
126
169
  ],
127
- [createRelationship({ from: createEntity({ id: '4', type: '2' }), to: createEntity({ id: '2', type: '1' }) })]
128
- ]));
170
+ ]),
171
+ );
129
172
 
130
173
  expect(assets).toHaveLength(2);
131
-
132
174
  });
133
175
 
134
176
  test('should log error when export fails', async () => {
135
177
  vol.fromJSON({
136
- [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]: '{;}'
137
- })
178
+ [`${TEST_DIRECTORY}/json/entities/entity_type_1/${uuid()}.json`]: '{;}',
179
+ });
138
180
 
139
- await expect(exportJsonAssetsToCsv({
140
- includeEntities: true,
141
- includeRelationships: true,
142
- storageDirectory: TEST_DIRECTORY,
143
- apiKey: TEST_API_KEY
144
- })).rejects.toThrow(/Unexpected token/g);
181
+ await expect(
182
+ exportJsonAssetsToCsv({
183
+ includeEntities: true,
184
+ includeRelationships: true,
185
+ storageDirectory: TEST_DIRECTORY,
186
+ apiKey: TEST_API_KEY,
187
+ }),
188
+ ).rejects.toThrow(/Unexpected token/g);
145
189
  expect(log.error).toHaveBeenCalledWith('Failed to export JSON assets to CSV');
146
- expect(mockedSpinner.fail).toHaveBeenCalledWith('Failed to export JSON assets to CSV');
190
+ expect(mockedSpinner.fail).toHaveBeenCalledWith(
191
+ 'Failed to export JSON assets to CSV',
192
+ );
147
193
  });
148
194
 
149
195
  function convertCsvToJson(content: string) {
150
196
  return csvToJson({ checkType: true }).fromString(content);
151
- }
197
+ }
@@ -13,9 +13,9 @@ beforeEach(() => {
13
13
  });
14
14
 
15
15
  test('should return nothing if there are no files found', async () => {
16
- await expect(groupJsonAssetsByType({ assetDirectory: TEST_DIRECTORY }))
17
- .resolves
18
- .toEqual({})
16
+ await expect(
17
+ groupJsonAssetsByType({ assetDirectory: TEST_DIRECTORY }),
18
+ ).resolves.toEqual({});
19
19
  });
20
20
 
21
21
  test('should group assets by type', async () => {
@@ -34,7 +34,9 @@ test('should group assets by type', async () => {
34
34
  [`${TEST_DIRECTORY}/json/entities/entity_type_2/${uuid()}.json`]: '{}',
35
35
  });
36
36
 
37
- const batchedAssetFiles = await groupJsonAssetsByType({ assetDirectory: TEST_DIRECTORY });
37
+ const batchedAssetFiles = await groupJsonAssetsByType({
38
+ assetDirectory: TEST_DIRECTORY,
39
+ });
38
40
 
39
41
  expect(batchedAssetFiles.entity_type_1).toHaveLength(5);
40
42
  expect(batchedAssetFiles.entity_type_2).toHaveLength(6);
@@ -1,6 +1,14 @@
1
- import { Entity } from "@jupiterone/integration-sdk-core";
1
+ import { Entity } from '@jupiterone/integration-sdk-core';
2
2
 
3
- export function createEntity({ type, id, optionalProps }: { type: string, id: string, optionalProps?: object }) {
3
+ export function createEntity({
4
+ type,
5
+ id,
6
+ optionalProps,
7
+ }: {
8
+ type: string;
9
+ id: string;
10
+ optionalProps?: object;
11
+ }) {
4
12
  return {
5
13
  id: `entity-${id}`,
6
14
  name: `Entity ${id}`,
@@ -9,6 +17,6 @@ export function createEntity({ type, id, optionalProps }: { type: string, id: st
9
17
  _class: 'Entity',
10
18
  _type: `entity_type_${type}`,
11
19
  _key: `entity-${id}`,
12
- ...optionalProps
13
- } as Entity
14
- }
20
+ ...optionalProps,
21
+ } as Entity;
22
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Entity,
3
- createDirectRelationship
3
+ createDirectRelationship,
4
4
  } from '@jupiterone/integration-sdk-core';
5
5
  import { RelationshipClass } from '@jupiterone/data-model';
6
6
 
@@ -4,5 +4,5 @@ export function parseCsvToJson(json: string) {
4
4
  return csvToJson({
5
5
  checkType: true,
6
6
  flatKeys: true,
7
- }).fromString(json)
8
- }
7
+ }).fromString(json);
8
+ }
@@ -1,6 +1,5 @@
1
1
  import jsonexport from 'jsonexport';
2
2
 
3
-
4
3
  export function parseToCsv(content: object[]): Promise<string> {
5
- return jsonexport(content)
6
- }
4
+ return jsonexport(content);
5
+ }
@@ -11,18 +11,16 @@ jest.mock('fs');
11
11
 
12
12
  test('should write assets to csv files by given types', async () => {
13
13
  vol.fromJSON({
14
- [`${TEST_STORAGE_LOCATION}/json/entities/entity_type_1/${uuid()}.json`]: JSON.stringify(
15
- [
14
+ [`${TEST_STORAGE_LOCATION}/json/entities/entity_type_1/${uuid()}.json`]:
15
+ JSON.stringify([
16
16
  createEntity({ id: '1', type: '1' }),
17
17
  createEntity({ id: '2', type: '1' }),
18
- ],
19
- ),
20
- [`${TEST_STORAGE_LOCATION}/json/entities/entity_type_2/${uuid()}.json`]: JSON.stringify(
21
- [
18
+ ]),
19
+ [`${TEST_STORAGE_LOCATION}/json/entities/entity_type_2/${uuid()}.json`]:
20
+ JSON.stringify([
22
21
  createEntity({ id: '3', type: '2' }),
23
22
  createEntity({ id: '4', type: '2' }),
24
- ],
25
- ),
23
+ ]),
26
24
  });
27
25
 
28
26
  await writeAssetsToCsv({
@@ -4,10 +4,14 @@ import { deleteDirectory } from '../fileSystem';
4
4
  import { exportAssetsToJson } from './exportAssetsToJson';
5
5
  import { exportJsonAssetsToCsv } from './exportJsonAssetsToCsv';
6
6
 
7
- export type ExportAssetsParams = Omit<ExportOptions, 'dataDir'> & { storageDirectory: string };
7
+ export type ExportAssetsParams = Omit<ExportOptions, 'dataDir'> & {
8
+ storageDirectory: string;
9
+ };
8
10
 
9
11
  export default async function exportAssets(options: ExportAssetsParams) {
10
- log.info(`Starting account export to the [${options.storageDirectory}] directory`);
12
+ log.info(
13
+ `Starting account export to the [${options.storageDirectory}] directory`,
14
+ );
11
15
  log.info(`Exporting Entities: ${options.includeEntities}`);
12
16
  log.info(`Exporting Relationships: ${options.includeRelationships}`);
13
17
  log.info(`Include Deleted Assets: ${options.includeDeleted}`);
@@ -4,19 +4,22 @@ import path from 'path';
4
4
  import _ from 'lodash';
5
5
 
6
6
  interface BatchAssetParams {
7
- assetDirectory: string
7
+ assetDirectory: string;
8
8
  }
9
9
 
10
- export async function groupJsonAssetsByType({ assetDirectory }: BatchAssetParams) {
10
+ export async function groupJsonAssetsByType({
11
+ assetDirectory,
12
+ }: BatchAssetParams) {
11
13
  const assetJsonFiles = await globby([
12
- upath.toUnix(`${assetDirectory}/**/*.json`)
14
+ upath.toUnix(`${assetDirectory}/**/*.json`),
13
15
  ]);
14
16
 
15
- const assetJsonFilesByType = _.groupBy(assetJsonFiles, p => path.basename(path.dirname(p)))
17
+ const assetJsonFilesByType = _.groupBy(assetJsonFiles, (p) =>
18
+ path.basename(path.dirname(p)),
19
+ );
16
20
 
17
- return Object.keys(assetJsonFilesByType)
18
- .reduce((acc, key) => {
19
- acc[key] = assetJsonFilesByType[key]
20
- return acc;
21
- }, {} as { [key: string]: string[] })
21
+ return Object.keys(assetJsonFilesByType).reduce((acc, key) => {
22
+ acc[key] = assetJsonFilesByType[key];
23
+ return acc;
24
+ }, {} as { [key: string]: string[] });
22
25
  }
@@ -1,3 +1,3 @@
1
1
  export function sanitizeContent(content: string) {
2
- return content.replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r')
3
- }
2
+ return content.replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r');
3
+ }
@@ -3,7 +3,11 @@ import jsonexport from 'jsonexport';
3
3
  import { v4 as uuid } from 'uuid';
4
4
  import _ from 'lodash';
5
5
 
6
- import { ensureDirectoryExists, readJsonFromPath, writeFileToPath } from "../fileSystem";
6
+ import {
7
+ ensureDirectoryExists,
8
+ readJsonFromPath,
9
+ writeFileToPath,
10
+ } from '../fileSystem';
7
11
 
8
12
  type GroupedAssets = { [type: string]: string[] };
9
13
 
@@ -12,17 +16,22 @@ interface WriteAssetsToCsvParams {
12
16
  groupedAssetFiles: GroupedAssets;
13
17
  }
14
18
 
15
- export async function writeAssetsToCsv({ groupedAssetFiles, directory }: WriteAssetsToCsvParams) {
16
- await Promise.all(Object.keys(groupedAssetFiles).map(async type => {
17
- for (const assetFile of groupedAssetFiles[type]) {
18
- const assetPath = path.join(directory, type, `${uuid()}.csv`)
19
+ export async function writeAssetsToCsv({
20
+ groupedAssetFiles,
21
+ directory,
22
+ }: WriteAssetsToCsvParams) {
23
+ await Promise.all(
24
+ Object.keys(groupedAssetFiles).map(async (type) => {
25
+ for (const assetFile of groupedAssetFiles[type]) {
26
+ const assetPath = path.join(directory, type, `${uuid()}.csv`);
19
27
 
20
- await ensureDirectoryExists(assetPath);
28
+ await ensureDirectoryExists(assetPath);
21
29
 
22
- const assets = await readJsonFromPath(assetFile);
23
- const csv = await jsonexport(assets)
30
+ const assets = await readJsonFromPath(assetFile);
31
+ const csv = await jsonexport(assets);
24
32
 
25
- await writeFileToPath({ filePath: assetPath, content: csv });
26
- }
27
- }))
28
- }
33
+ await writeFileToPath({ filePath: assetPath, content: csv });
34
+ }
35
+ }),
36
+ );
37
+ }
package/src/fileSystem.ts CHANGED
@@ -11,9 +11,12 @@ export async function ensureDirectoryExists(pathToWrite: string) {
11
11
  await fs.mkdir(directoryPath, { recursive: true });
12
12
  }
13
13
 
14
- export async function writeFileToPath({ filePath, content }: {
15
- filePath: string,
16
- content: string
14
+ export async function writeFileToPath({
15
+ filePath,
16
+ content,
17
+ }: {
18
+ filePath: string;
19
+ content: string;
17
20
  }) {
18
21
  await ensureDirectoryExists(filePath);
19
22
  await fs.writeFile(filePath, content, 'utf8');
package/src/index.ts CHANGED
@@ -3,7 +3,5 @@ import { createCommand } from 'commander';
3
3
  import { j1Export, j1Import } from './commands';
4
4
 
5
5
  export function createCli() {
6
- return createCommand()
7
- .addCommand(j1Import())
8
- .addCommand(j1Export())
6
+ return createCommand().addCommand(j1Import()).addCommand(j1Export());
9
7
  }
package/src/pause.ts CHANGED
@@ -1 +1,3 @@
1
- export function pause(time: number) { return new Promise(resolve => setTimeout(resolve, time)); }
1
+ export function pause(time: number) {
2
+ return new Promise((resolve) => setTimeout(resolve, time));
3
+ }
@@ -3,9 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "sourceMap": true
5
5
  },
6
- "include": [
7
- "src"
8
- ],
6
+ "include": ["src"],
9
7
  "exclude": [
10
8
  "**/dist/*",
11
9
  "**/*.test.ts",
package/tsconfig.json CHANGED
@@ -3,9 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "outDir": "dist"
5
5
  },
6
- "exclude": [
7
- "**/dist/*"
8
- ],
6
+ "exclude": ["**/dist/*"],
9
7
  "references": [
10
8
  {
11
9
  "path": "../integration-sdk-core"
@@ -14,4 +12,4 @@
14
12
  "path": "../integration-sdk-runtime"
15
13
  }
16
14
  ]
17
- }
15
+ }