@revengai/sdk 2.32.0 → 2.35.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.
Files changed (67) hide show
  1. package/README.md +1 -14
  2. package/dist/apis/AnalysesCoreApi.d.ts +0 -4
  3. package/dist/apis/AnalysesCoreApi.js +0 -84
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.js +1 -2
  7. package/dist/index.js.map +1 -1
  8. package/dist/models/AnalysisTags.d.ts +2 -3
  9. package/dist/models/AnalysisTags.js +1 -7
  10. package/dist/models/AnalysisTags.js.map +1 -1
  11. package/dist/models/ObjectSerializer.d.ts +1 -12
  12. package/dist/models/ObjectSerializer.js +3 -35
  13. package/dist/models/ObjectSerializer.js.map +1 -1
  14. package/dist/models/{AppApiRestV2AnalysesResponsesTagItem.d.ts → TagItem.d.ts} +1 -1
  15. package/dist/models/TagItem.js +35 -0
  16. package/dist/models/TagItem.js.map +1 -0
  17. package/dist/models/all.d.ts +1 -12
  18. package/dist/models/all.js +1 -12
  19. package/dist/models/all.js.map +1 -1
  20. package/dist/types/ObjectParamAPI.d.ts +0 -21
  21. package/dist/types/ObjectParamAPI.js +20 -40
  22. package/dist/types/ObjectParamAPI.js.map +1 -1
  23. package/dist/types/ObservableAPI.d.ts +0 -15
  24. package/dist/types/ObservableAPI.js +367 -433
  25. package/dist/types/ObservableAPI.js.map +1 -1
  26. package/dist/types/PromiseAPI.d.ts +0 -13
  27. package/dist/types/PromiseAPI.js +20 -48
  28. package/dist/types/PromiseAPI.js.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/apis/ConfidenceApi.d.ts +0 -11
  31. package/dist/apis/ConfidenceApi.js +0 -158
  32. package/dist/apis/ConfidenceApi.js.map +0 -1
  33. package/dist/models/AppApiRestV2AnalysesResponsesTagItem.js +0 -35
  34. package/dist/models/AppApiRestV2AnalysesResponsesTagItem.js.map +0 -1
  35. package/dist/models/AppServicesBinaryAnnSchemaTagItem.d.ts +0 -21
  36. package/dist/models/AppServicesBinaryAnnSchemaTagItem.js +0 -29
  37. package/dist/models/AppServicesBinaryAnnSchemaTagItem.js.map +0 -1
  38. package/dist/models/BaseResponseBinaryAnnListResponse.d.ts +0 -27
  39. package/dist/models/BaseResponseBinaryAnnListResponse.js +0 -47
  40. package/dist/models/BaseResponseBinaryAnnListResponse.js.map +0 -1
  41. package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.d.ts +0 -27
  42. package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.js +0 -47
  43. package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.js.map +0 -1
  44. package/dist/models/BinaryAnnForm.d.ts +0 -23
  45. package/dist/models/BinaryAnnForm.js +0 -41
  46. package/dist/models/BinaryAnnForm.js.map +0 -1
  47. package/dist/models/BinaryAnnListResponse.d.ts +0 -21
  48. package/dist/models/BinaryAnnListResponse.js +0 -23
  49. package/dist/models/BinaryAnnListResponse.js.map +0 -1
  50. package/dist/models/BoxPlotConfidence.d.ts +0 -26
  51. package/dist/models/BoxPlotConfidence.js +0 -59
  52. package/dist/models/BoxPlotConfidence.js.map +0 -1
  53. package/dist/models/ExportedBinaryAnnResult.d.ts +0 -29
  54. package/dist/models/ExportedBinaryAnnResult.js +0 -71
  55. package/dist/models/ExportedBinaryAnnResult.js.map +0 -1
  56. package/dist/models/Origin.d.ts +0 -10
  57. package/dist/models/Origin.js +0 -15
  58. package/dist/models/Origin.js.map +0 -1
  59. package/dist/models/TagConfidenceBody.d.ts +0 -21
  60. package/dist/models/TagConfidenceBody.js +0 -23
  61. package/dist/models/TagConfidenceBody.js.map +0 -1
  62. package/dist/models/TagOriginBoxPlotConfidence.d.ts +0 -23
  63. package/dist/models/TagOriginBoxPlotConfidence.js +0 -29
  64. package/dist/models/TagOriginBoxPlotConfidence.js.map +0 -1
  65. package/dist/models/Tags.d.ts +0 -22
  66. package/dist/models/Tags.js +0 -29
  67. package/dist/models/Tags.js.map +0 -1
@@ -1,29 +0,0 @@
1
- import { AppServicesBinaryAnnSchemaTagItem } from '../models/AppServicesBinaryAnnSchemaTagItem';
2
- export declare class ExportedBinaryAnnResult {
3
- 'analysisId': number;
4
- 'binaryId': number;
5
- 'binaryName': string;
6
- 'sha256Hash': string;
7
- 'analysisScope': string;
8
- 'embedding3d': Array<number>;
9
- 'embedding1d': Array<number>;
10
- 'confidence': number;
11
- 'tags'?: Array<AppServicesBinaryAnnSchemaTagItem>;
12
- static readonly discriminator: string | undefined;
13
- static readonly mapping: {
14
- [index: string]: string;
15
- } | undefined;
16
- static readonly attributeTypeMap: Array<{
17
- name: string;
18
- baseName: string;
19
- type: string;
20
- format: string;
21
- }>;
22
- static getAttributeTypeMap(): {
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- format: string;
27
- }[];
28
- constructor();
29
- }
@@ -1,71 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExportedBinaryAnnResult = void 0;
4
- var ExportedBinaryAnnResult = (function () {
5
- function ExportedBinaryAnnResult() {
6
- }
7
- ExportedBinaryAnnResult.getAttributeTypeMap = function () {
8
- return ExportedBinaryAnnResult.attributeTypeMap;
9
- };
10
- ExportedBinaryAnnResult.discriminator = undefined;
11
- ExportedBinaryAnnResult.mapping = undefined;
12
- ExportedBinaryAnnResult.attributeTypeMap = [
13
- {
14
- "name": "analysisId",
15
- "baseName": "analysis_id",
16
- "type": "number",
17
- "format": ""
18
- },
19
- {
20
- "name": "binaryId",
21
- "baseName": "binary_id",
22
- "type": "number",
23
- "format": ""
24
- },
25
- {
26
- "name": "binaryName",
27
- "baseName": "binary_name",
28
- "type": "string",
29
- "format": ""
30
- },
31
- {
32
- "name": "sha256Hash",
33
- "baseName": "sha_256_hash",
34
- "type": "string",
35
- "format": ""
36
- },
37
- {
38
- "name": "analysisScope",
39
- "baseName": "analysis_scope",
40
- "type": "string",
41
- "format": ""
42
- },
43
- {
44
- "name": "embedding3d",
45
- "baseName": "embedding_3d",
46
- "type": "Array<number>",
47
- "format": ""
48
- },
49
- {
50
- "name": "embedding1d",
51
- "baseName": "embedding_1d",
52
- "type": "Array<number>",
53
- "format": ""
54
- },
55
- {
56
- "name": "confidence",
57
- "baseName": "confidence",
58
- "type": "number",
59
- "format": ""
60
- },
61
- {
62
- "name": "tags",
63
- "baseName": "tags",
64
- "type": "Array<AppServicesBinaryAnnSchemaTagItem>",
65
- "format": ""
66
- }
67
- ];
68
- return ExportedBinaryAnnResult;
69
- }());
70
- exports.ExportedBinaryAnnResult = ExportedBinaryAnnResult;
71
- //# sourceMappingURL=ExportedBinaryAnnResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExportedBinaryAnnResult.js","sourceRoot":"","sources":["../../models/ExportedBinaryAnnResult.ts"],"names":[],"mappings":";;;AAcA;IA2EI;IACA,CAAC;IALM,2CAAmB,GAA1B;QACI,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IACpD,CAAC;IA9De,qCAAa,GAAuB,SAAS,CAAC;IAE9C,+BAAO,GAA0C,SAAS,CAAC;IAE3D,wCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,gBAAgB;YAC5B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,0CAA0C;YAClD,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,8BAAC;CAAA,AA7ED,IA6EC;AA7EY,0DAAuB"}
@@ -1,10 +0,0 @@
1
- export declare enum Origin {
2
- RevEngMalware = "RevEng-Malware",
3
- RevEngLibrary = "RevEng-Library",
4
- RevEngBenign = "RevEng-Benign",
5
- RevEng = "RevEng",
6
- RevEngHeuristic = "RevEng-Heuristic",
7
- RevEngUnknown = "RevEng-Unknown",
8
- VirusTotal = "VirusTotal",
9
- MalwareBazaar = "MalwareBazaar"
10
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Origin = void 0;
4
- var Origin;
5
- (function (Origin) {
6
- Origin["RevEngMalware"] = "RevEng-Malware";
7
- Origin["RevEngLibrary"] = "RevEng-Library";
8
- Origin["RevEngBenign"] = "RevEng-Benign";
9
- Origin["RevEng"] = "RevEng";
10
- Origin["RevEngHeuristic"] = "RevEng-Heuristic";
11
- Origin["RevEngUnknown"] = "RevEng-Unknown";
12
- Origin["VirusTotal"] = "VirusTotal";
13
- Origin["MalwareBazaar"] = "MalwareBazaar";
14
- })(Origin = exports.Origin || (exports.Origin = {}));
15
- //# sourceMappingURL=Origin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Origin.js","sourceRoot":"","sources":["../../models/Origin.ts"],"names":[],"mappings":";;;AAaA,IAAY,MASX;AATD,WAAY,MAAM;IACd,0CAAgC,CAAA;IAChC,0CAAgC,CAAA;IAChC,wCAA8B,CAAA;IAC9B,2BAAiB,CAAA;IACjB,8CAAoC,CAAA;IACpC,0CAAgC,CAAA;IAChC,mCAAyB,CAAA;IACzB,yCAA+B,CAAA;AACnC,CAAC,EATW,MAAM,GAAN,cAAM,KAAN,cAAM,QASjB"}
@@ -1,21 +0,0 @@
1
- import { Tags } from '../models/Tags';
2
- export declare class TagConfidenceBody {
3
- 'tags': Array<Tags>;
4
- static readonly discriminator: string | undefined;
5
- static readonly mapping: {
6
- [index: string]: string;
7
- } | undefined;
8
- static readonly attributeTypeMap: Array<{
9
- name: string;
10
- baseName: string;
11
- type: string;
12
- format: string;
13
- }>;
14
- static getAttributeTypeMap(): {
15
- name: string;
16
- baseName: string;
17
- type: string;
18
- format: string;
19
- }[];
20
- constructor();
21
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagConfidenceBody = void 0;
4
- var TagConfidenceBody = (function () {
5
- function TagConfidenceBody() {
6
- }
7
- TagConfidenceBody.getAttributeTypeMap = function () {
8
- return TagConfidenceBody.attributeTypeMap;
9
- };
10
- TagConfidenceBody.discriminator = undefined;
11
- TagConfidenceBody.mapping = undefined;
12
- TagConfidenceBody.attributeTypeMap = [
13
- {
14
- "name": "tags",
15
- "baseName": "tags",
16
- "type": "Array<Tags>",
17
- "format": ""
18
- }
19
- ];
20
- return TagConfidenceBody;
21
- }());
22
- exports.TagConfidenceBody = TagConfidenceBody;
23
- //# sourceMappingURL=TagConfidenceBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TagConfidenceBody.js","sourceRoot":"","sources":["../../models/TagConfidenceBody.ts"],"names":[],"mappings":";;;AAcA;IAmBI;IACA,CAAC;IALM,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IAde,+BAAa,GAAuB,SAAS,CAAC;IAE9C,yBAAO,GAA0C,SAAS,CAAC;IAE3D,kCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,aAAa;YACrB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wBAAC;CAAA,AArBD,IAqBC;AArBY,8CAAiB"}
@@ -1,23 +0,0 @@
1
- import { BoxPlotConfidence } from '../models/BoxPlotConfidence';
2
- import { Tags } from '../models/Tags';
3
- export declare class TagOriginBoxPlotConfidence {
4
- 'tag': Tags;
5
- 'boxPlot': BoxPlotConfidence;
6
- static readonly discriminator: string | undefined;
7
- static readonly mapping: {
8
- [index: string]: string;
9
- } | undefined;
10
- static readonly attributeTypeMap: Array<{
11
- name: string;
12
- baseName: string;
13
- type: string;
14
- format: string;
15
- }>;
16
- static getAttributeTypeMap(): {
17
- name: string;
18
- baseName: string;
19
- type: string;
20
- format: string;
21
- }[];
22
- constructor();
23
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagOriginBoxPlotConfidence = void 0;
4
- var TagOriginBoxPlotConfidence = (function () {
5
- function TagOriginBoxPlotConfidence() {
6
- }
7
- TagOriginBoxPlotConfidence.getAttributeTypeMap = function () {
8
- return TagOriginBoxPlotConfidence.attributeTypeMap;
9
- };
10
- TagOriginBoxPlotConfidence.discriminator = undefined;
11
- TagOriginBoxPlotConfidence.mapping = undefined;
12
- TagOriginBoxPlotConfidence.attributeTypeMap = [
13
- {
14
- "name": "tag",
15
- "baseName": "tag",
16
- "type": "Tags",
17
- "format": ""
18
- },
19
- {
20
- "name": "boxPlot",
21
- "baseName": "box_plot",
22
- "type": "BoxPlotConfidence",
23
- "format": ""
24
- }
25
- ];
26
- return TagOriginBoxPlotConfidence;
27
- }());
28
- exports.TagOriginBoxPlotConfidence = TagOriginBoxPlotConfidence;
29
- //# sourceMappingURL=TagOriginBoxPlotConfidence.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TagOriginBoxPlotConfidence.js","sourceRoot":"","sources":["../../models/TagOriginBoxPlotConfidence.ts"],"names":[],"mappings":";;;AAeA;IA0BI;IACA,CAAC;IALM,8CAAmB,GAA1B;QACI,OAAO,0BAA0B,CAAC,gBAAgB,CAAC;IACvD,CAAC;IApBe,wCAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAO,GAA0C,SAAS,CAAC;IAE3D,2CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,iCAAC;CAAA,AA5BD,IA4BC;AA5BY,gEAA0B"}
@@ -1,22 +0,0 @@
1
- import { Origin } from '../models/Origin';
2
- export declare class Tags {
3
- 'tag': string;
4
- 'origin': Origin;
5
- static readonly discriminator: string | undefined;
6
- static readonly mapping: {
7
- [index: string]: string;
8
- } | undefined;
9
- static readonly attributeTypeMap: Array<{
10
- name: string;
11
- baseName: string;
12
- type: string;
13
- format: string;
14
- }>;
15
- static getAttributeTypeMap(): {
16
- name: string;
17
- baseName: string;
18
- type: string;
19
- format: string;
20
- }[];
21
- constructor();
22
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Tags = void 0;
4
- var Tags = (function () {
5
- function Tags() {
6
- }
7
- Tags.getAttributeTypeMap = function () {
8
- return Tags.attributeTypeMap;
9
- };
10
- Tags.discriminator = undefined;
11
- Tags.mapping = undefined;
12
- Tags.attributeTypeMap = [
13
- {
14
- "name": "tag",
15
- "baseName": "tag",
16
- "type": "string",
17
- "format": ""
18
- },
19
- {
20
- "name": "origin",
21
- "baseName": "origin",
22
- "type": "Origin",
23
- "format": ""
24
- }
25
- ];
26
- return Tags;
27
- }());
28
- exports.Tags = Tags;
29
- //# sourceMappingURL=Tags.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../models/Tags.ts"],"names":[],"mappings":";;;AAcA;IAgCI;IACA,CAAC;IALM,wBAAmB,GAA1B;QACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IApBe,kBAAa,GAAuB,SAAS,CAAC;IAE9C,YAAO,GAA0C,SAAS,CAAC;IAE3D,qBAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,WAAC;CAAA,AAlCD,IAkCC;AAlCY,oBAAI"}