@binalyze/air-sdk 5.23.0 → 5.25.1

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.
@@ -1,4 +1,4 @@
1
- import type { FilterInvestigationFindingsDtoWritable, FilterInvestigationActivitiesDtoWritable, InvestigationFindingsStructureResponseDto, InvestigationFindingsSummaryResponseDto, InvestigationMitreTacticDto, InvestigationActivityDto, InvestigationFindingDto } from '../generated/bindings';
1
+ import type { FilterInvestigationFindingsDto, FilterInvestigationActivitiesDto, InvestigationFindingsStructureResponseDto, InvestigationFindingsSummaryResponseDto, InvestigationMitreTacticDto, InvestigationActivityDto, InvestigationFindingDto } from '../generated/bindings';
2
2
  import type { PageWithPagination } from '../utils';
3
3
  export type InvestigationHubFindingsStructure = InvestigationFindingsStructureResponseDto;
4
4
  export type InvestigationHubFinding = InvestigationFindingDto;
@@ -30,11 +30,11 @@ export interface IGetFindingsOptions {
30
30
  assignmentIds?: string[];
31
31
  /** alias accepted by wrapper; mapped to assignmentIds */
32
32
  includedEndpointIds?: string[];
33
- filter?: FilterInvestigationFindingsDtoWritable['filter'];
33
+ filter?: FilterInvestigationFindingsDto['filter'];
34
34
  onlyExcludedFindings?: boolean;
35
35
  skip?: number;
36
36
  take?: number;
37
- sort?: NonNullable<FilterInvestigationFindingsDtoWritable['sort']>;
37
+ sort?: NonNullable<FilterInvestigationFindingsDto['sort']>;
38
38
  }
39
39
  export interface IGetFindingsSummaryOptions {
40
40
  investigationId: string;
@@ -60,7 +60,7 @@ export interface IGetMitreMatchesOptions {
60
60
  }
61
61
  export interface IGetActivitiesOptions {
62
62
  investigationId: string;
63
- filter?: Partial<FilterInvestigationActivitiesDtoWritable>;
63
+ filter?: Partial<FilterInvestigationActivitiesDto>;
64
64
  pageNumber?: number;
65
65
  pageSize?: number;
66
66
  sortBy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@binalyze/air-sdk",
3
- "version": "5.23.0",
3
+ "version": "5.25.1",
4
4
  "private": false,
5
5
  "description": "Binalyze AIR - Typescript Axios SDK",
6
6
  "license": "MIT",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "scripts": {
26
26
  "clean": "rimraf dist",
27
- "build": "tsc -p tsconfig.json",
28
- "prepare:contents": "node ../prepare-npm-package.js",
27
+ "build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
28
+ "prepare:contents": "node ../scripts/prepare-npm-package.js",
29
29
  "pack:check": "npm pack --dry-run"
30
30
  }
31
31
  }