@revengai/sdk 2.88.6 → 3.1.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.
- package/README.md +4 -0
- package/dist/apis/ConfigApi.d.ts +10 -0
- package/dist/apis/ConfigApi.js +145 -0
- package/dist/apis/ConfigApi.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/models/BaseResponseConfigResponse.d.ts +27 -0
- package/dist/models/BaseResponseConfigResponse.js +47 -0
- package/dist/models/BaseResponseConfigResponse.js.map +1 -0
- package/dist/models/ConfigResponse.d.ts +23 -0
- package/dist/models/ConfigResponse.js +41 -0
- package/dist/models/ConfigResponse.js.map +1 -0
- package/dist/models/FunctionListItem.d.ts +2 -0
- package/dist/models/FunctionListItem.js +6 -0
- package/dist/models/FunctionListItem.js.map +1 -1
- package/dist/models/NameSourceType.d.ts +29 -0
- package/dist/models/NameSourceType.js +43 -0
- package/dist/models/NameSourceType.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +3 -0
- package/dist/models/ObjectSerializer.js +10 -0
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/Platform.d.ts +2 -1
- package/dist/models/Platform.js +1 -0
- package/dist/models/Platform.js.map +1 -1
- package/dist/models/all.d.ts +3 -0
- package/dist/models/all.js +3 -0
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +10 -0
- package/dist/types/ObjectParamAPI.js +36 -20
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +10 -0
- package/dist/types/ObservableAPI.js +235 -197
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +8 -0
- package/dist/types/PromiseAPI.js +38 -20
- package/dist/types/PromiseAPI.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -102,6 +102,7 @@ Class | Method | HTTP request | Description
|
|
|
102
102
|
*CollectionsApi* | [**updateCollection**](docs/CollectionsApi.md#updateCollection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
|
|
103
103
|
*CollectionsApi* | [**updateCollectionBinaries**](docs/CollectionsApi.md#updateCollectionBinaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
|
|
104
104
|
*CollectionsApi* | [**updateCollectionTags**](docs/CollectionsApi.md#updateCollectionTags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
|
|
105
|
+
*ConfigApi* | [**getConfig**](docs/ConfigApi.md#getConfig) | **GET** /v2/config | Get Config
|
|
105
106
|
*ExternalSourcesApi* | [**createExternalTaskVt**](docs/ExternalSourcesApi.md#createExternalTaskVt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
|
|
106
107
|
*ExternalSourcesApi* | [**getVtData**](docs/ExternalSourcesApi.md#getVtData) | **GET** /v2/analysis/{analysis_id}/external/vt | Get VirusTotal data
|
|
107
108
|
*ExternalSourcesApi* | [**getVtTaskStatus**](docs/ExternalSourcesApi.md#getVtTaskStatus) | **GET** /v2/analysis/{analysis_id}/external/vt/status | Check the status of VirusTotal data retrieval
|
|
@@ -215,6 +216,7 @@ Class | Method | HTTP request | Description
|
|
|
215
216
|
- [BaseResponseCollectionTagsUpdateResponse](BaseResponseCollectionTagsUpdateResponse.md)
|
|
216
217
|
- [BaseResponseCommentResponse](BaseResponseCommentResponse.md)
|
|
217
218
|
- [BaseResponseCommunities](BaseResponseCommunities.md)
|
|
219
|
+
- [BaseResponseConfigResponse](BaseResponseConfigResponse.md)
|
|
218
220
|
- [BaseResponseCreated](BaseResponseCreated.md)
|
|
219
221
|
- [BaseResponseDict](BaseResponseDict.md)
|
|
220
222
|
- [BaseResponseDynamicExecutionStatus](BaseResponseDynamicExecutionStatus.md)
|
|
@@ -297,6 +299,7 @@ Class | Method | HTTP request | Description
|
|
|
297
299
|
- [Communities](Communities.md)
|
|
298
300
|
- [CommunityMatchPercentages](CommunityMatchPercentages.md)
|
|
299
301
|
- [ConfidenceType](ConfidenceType.md)
|
|
302
|
+
- [ConfigResponse](ConfigResponse.md)
|
|
300
303
|
- [Context](Context.md)
|
|
301
304
|
- [Created](Created.md)
|
|
302
305
|
- [DecompilationCommentContext](DecompilationCommentContext.md)
|
|
@@ -380,6 +383,7 @@ Class | Method | HTTP request | Description
|
|
|
380
383
|
- [ModelName](ModelName.md)
|
|
381
384
|
- [ModelsResponse](ModelsResponse.md)
|
|
382
385
|
- [NameConfidence](NameConfidence.md)
|
|
386
|
+
- [NameSourceType](NameSourceType.md)
|
|
383
387
|
- [NetworkOverviewDns](NetworkOverviewDns.md)
|
|
384
388
|
- [NetworkOverviewDnsAnswer](NetworkOverviewDnsAnswer.md)
|
|
385
389
|
- [NetworkOverviewMetadata](NetworkOverviewMetadata.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseAPIRequestFactory } from './baseapi';
|
|
2
|
+
import { Configuration } from '../configuration';
|
|
3
|
+
import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
|
|
4
|
+
import { BaseResponseConfigResponse } from '../models/BaseResponseConfigResponse';
|
|
5
|
+
export declare class ConfigApiRequestFactory extends BaseAPIRequestFactory {
|
|
6
|
+
getConfig(_options?: Configuration): Promise<RequestContext>;
|
|
7
|
+
}
|
|
8
|
+
export declare class ConfigApiResponseProcessor {
|
|
9
|
+
getConfigWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseConfigResponse>>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
+
exports.ConfigApiResponseProcessor = exports.ConfigApiRequestFactory = void 0;
|
|
55
|
+
var baseapi_1 = require("./baseapi");
|
|
56
|
+
var http_1 = require("../http/http");
|
|
57
|
+
var ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
58
|
+
var exception_1 = require("./exception");
|
|
59
|
+
var util_1 = require("../util");
|
|
60
|
+
var ConfigApiRequestFactory = (function (_super) {
|
|
61
|
+
__extends(ConfigApiRequestFactory, _super);
|
|
62
|
+
function ConfigApiRequestFactory() {
|
|
63
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
ConfigApiRequestFactory.prototype.getConfig = function (_options) {
|
|
66
|
+
var _a;
|
|
67
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
68
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
69
|
+
return __generator(this, function (_b) {
|
|
70
|
+
switch (_b.label) {
|
|
71
|
+
case 0:
|
|
72
|
+
_config = _options || this.configuration;
|
|
73
|
+
localVarPath = '/v2/config';
|
|
74
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
75
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
76
|
+
authMethod = _config.authMethods["APIKey"];
|
|
77
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
78
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
79
|
+
case 1:
|
|
80
|
+
_b.sent();
|
|
81
|
+
_b.label = 2;
|
|
82
|
+
case 2:
|
|
83
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
84
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
85
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
86
|
+
case 3:
|
|
87
|
+
_b.sent();
|
|
88
|
+
_b.label = 4;
|
|
89
|
+
case 4: return [2, requestContext];
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
return ConfigApiRequestFactory;
|
|
95
|
+
}(baseapi_1.BaseAPIRequestFactory));
|
|
96
|
+
exports.ConfigApiRequestFactory = ConfigApiRequestFactory;
|
|
97
|
+
var ConfigApiResponseProcessor = (function () {
|
|
98
|
+
function ConfigApiResponseProcessor() {
|
|
99
|
+
}
|
|
100
|
+
ConfigApiResponseProcessor.prototype.getConfigWithHttpInfo = function (response) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
102
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
103
|
+
return __generator(this, function (_q) {
|
|
104
|
+
switch (_q.label) {
|
|
105
|
+
case 0:
|
|
106
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
107
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
108
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
109
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
110
|
+
return [4, response.body.text()];
|
|
111
|
+
case 1:
|
|
112
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
113
|
+
"BaseResponseConfigResponse", ""]);
|
|
114
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
115
|
+
case 2:
|
|
116
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
117
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
118
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
119
|
+
return [4, response.body.text()];
|
|
120
|
+
case 3:
|
|
121
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
122
|
+
"BaseResponse", ""]);
|
|
123
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
124
|
+
case 4:
|
|
125
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
126
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
127
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
128
|
+
return [4, response.body.text()];
|
|
129
|
+
case 5:
|
|
130
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
131
|
+
"BaseResponseConfigResponse", ""]);
|
|
132
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
133
|
+
case 6:
|
|
134
|
+
_o = exception_1.ApiException.bind;
|
|
135
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
136
|
+
return [4, response.getBodyAsAny()];
|
|
137
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
};
|
|
142
|
+
return ConfigApiResponseProcessor;
|
|
143
|
+
}());
|
|
144
|
+
exports.ConfigApiResponseProcessor = ConfigApiResponseProcessor;
|
|
145
|
+
//# sourceMappingURL=ConfigApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigApi.js","sourceRoot":"","sources":["../../apis/ConfigApi.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export * from "./servers";
|
|
|
8
8
|
export { RequiredError } from "./apis/baseapi";
|
|
9
9
|
export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware';
|
|
10
10
|
export { Observable } from './rxjsStub';
|
|
11
|
-
export { PromiseAnalysesCommentsApi as AnalysesCommentsApi, PromiseAnalysesCoreApi as AnalysesCoreApi, PromiseAnalysesDynamicExecutionApi as AnalysesDynamicExecutionApi, PromiseAnalysesResultsMetadataApi as AnalysesResultsMetadataApi, PromiseAnalysesSecurityChecksApi as AnalysesSecurityChecksApi, PromiseAuthenticationUsersApi as AuthenticationUsersApi, PromiseBinariesApi as BinariesApi, PromiseCollectionsApi as CollectionsApi, PromiseExternalSourcesApi as ExternalSourcesApi, PromiseFirmwareApi as FirmwareApi, PromiseFunctionsAIDecompilationApi as FunctionsAIDecompilationApi, PromiseFunctionsBlockCommentsApi as FunctionsBlockCommentsApi, PromiseFunctionsCoreApi as FunctionsCoreApi, PromiseFunctionsDataTypesApi as FunctionsDataTypesApi, PromiseFunctionsDecompilationApi as FunctionsDecompilationApi, PromiseFunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi, PromiseModelsApi as ModelsApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI';
|
|
11
|
+
export { PromiseAnalysesCommentsApi as AnalysesCommentsApi, PromiseAnalysesCoreApi as AnalysesCoreApi, PromiseAnalysesDynamicExecutionApi as AnalysesDynamicExecutionApi, PromiseAnalysesResultsMetadataApi as AnalysesResultsMetadataApi, PromiseAnalysesSecurityChecksApi as AnalysesSecurityChecksApi, PromiseAuthenticationUsersApi as AuthenticationUsersApi, PromiseBinariesApi as BinariesApi, PromiseCollectionsApi as CollectionsApi, PromiseConfigApi as ConfigApi, PromiseExternalSourcesApi as ExternalSourcesApi, PromiseFirmwareApi as FirmwareApi, PromiseFunctionsAIDecompilationApi as FunctionsAIDecompilationApi, PromiseFunctionsBlockCommentsApi as FunctionsBlockCommentsApi, PromiseFunctionsCoreApi as FunctionsCoreApi, PromiseFunctionsDataTypesApi as FunctionsDataTypesApi, PromiseFunctionsDecompilationApi as FunctionsDecompilationApi, PromiseFunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi, PromiseModelsApi as ModelsApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.SearchApi = exports.ModelsApi = exports.FunctionsRenamingHistoryApi = exports.FunctionsDecompilationApi = exports.FunctionsDataTypesApi = exports.FunctionsCoreApi = exports.FunctionsBlockCommentsApi = exports.FunctionsAIDecompilationApi = exports.FirmwareApi = exports.ExternalSourcesApi = exports.CollectionsApi = exports.BinariesApi = exports.AuthenticationUsersApi = exports.AnalysesSecurityChecksApi = exports.AnalysesResultsMetadataApi = exports.AnalysesDynamicExecutionApi = exports.AnalysesCoreApi = exports.AnalysesCommentsApi = exports.Observable = exports.RequiredError = exports.createConfiguration = void 0;
|
|
17
|
+
exports.SearchApi = exports.ModelsApi = exports.FunctionsRenamingHistoryApi = exports.FunctionsDecompilationApi = exports.FunctionsDataTypesApi = exports.FunctionsCoreApi = exports.FunctionsBlockCommentsApi = exports.FunctionsAIDecompilationApi = exports.FirmwareApi = exports.ExternalSourcesApi = exports.ConfigApi = exports.CollectionsApi = exports.BinariesApi = exports.AuthenticationUsersApi = exports.AnalysesSecurityChecksApi = exports.AnalysesResultsMetadataApi = exports.AnalysesDynamicExecutionApi = exports.AnalysesCoreApi = exports.AnalysesCommentsApi = exports.Observable = exports.RequiredError = exports.createConfiguration = void 0;
|
|
18
18
|
__exportStar(require("./http/http"), exports);
|
|
19
19
|
__exportStar(require("./auth/auth"), exports);
|
|
20
20
|
__exportStar(require("./models/all"), exports);
|
|
@@ -35,6 +35,7 @@ Object.defineProperty(exports, "AnalysesSecurityChecksApi", { enumerable: true,
|
|
|
35
35
|
Object.defineProperty(exports, "AuthenticationUsersApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseAuthenticationUsersApi; } });
|
|
36
36
|
Object.defineProperty(exports, "BinariesApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseBinariesApi; } });
|
|
37
37
|
Object.defineProperty(exports, "CollectionsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseCollectionsApi; } });
|
|
38
|
+
Object.defineProperty(exports, "ConfigApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseConfigApi; } });
|
|
38
39
|
Object.defineProperty(exports, "ExternalSourcesApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseExternalSourcesApi; } });
|
|
39
40
|
Object.defineProperty(exports, "FirmwareApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseFirmwareApi; } });
|
|
40
41
|
Object.defineProperty(exports, "FunctionsAIDecompilationApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseFunctionsAIDecompilationApi; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,uCAAwC;AAA/B,sGAAA,UAAU,OAAA;AACnB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,uCAAwC;AAA/B,sGAAA,UAAU,OAAA;AACnB,iDAAq/B;AAA5+B,iHAAA,0BAA0B,OAAuB;AAAG,6GAAA,sBAAsB,OAAmB;AAAG,yHAAA,kCAAkC,OAA+B;AAAG,wHAAA,iCAAiC,OAA8B;AAAG,uHAAA,gCAAgC,OAA6B;AAAG,oHAAA,6BAA6B,OAA0B;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,uGAAA,gBAAgB,OAAa;AAAG,gHAAA,yBAAyB,OAAsB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,yHAAA,kCAAkC,OAA+B;AAAG,uHAAA,gCAAgC,OAA6B;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,mHAAA,4BAA4B,OAAyB;AAAG,uHAAA,gCAAgC,OAA6B;AAAG,yHAAA,kCAAkC,OAA+B;AAAG,uGAAA,gBAAgB,OAAa;AAAG,uGAAA,gBAAgB,OAAa"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ConfigResponse } from '../models/ConfigResponse';
|
|
2
|
+
import { ErrorModel } from '../models/ErrorModel';
|
|
3
|
+
import { MetaModel } from '../models/MetaModel';
|
|
4
|
+
export declare class BaseResponseConfigResponse {
|
|
5
|
+
'status'?: boolean;
|
|
6
|
+
'data'?: ConfigResponse | null;
|
|
7
|
+
'message'?: string | null;
|
|
8
|
+
'errors'?: Array<ErrorModel> | null;
|
|
9
|
+
'meta'?: MetaModel;
|
|
10
|
+
static readonly discriminator: string | undefined;
|
|
11
|
+
static readonly mapping: {
|
|
12
|
+
[index: string]: string;
|
|
13
|
+
} | undefined;
|
|
14
|
+
static readonly attributeTypeMap: Array<{
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}>;
|
|
20
|
+
static getAttributeTypeMap(): {
|
|
21
|
+
name: string;
|
|
22
|
+
baseName: string;
|
|
23
|
+
type: string;
|
|
24
|
+
format: string;
|
|
25
|
+
}[];
|
|
26
|
+
constructor();
|
|
27
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseResponseConfigResponse = void 0;
|
|
4
|
+
var BaseResponseConfigResponse = (function () {
|
|
5
|
+
function BaseResponseConfigResponse() {
|
|
6
|
+
}
|
|
7
|
+
BaseResponseConfigResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return BaseResponseConfigResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
BaseResponseConfigResponse.discriminator = undefined;
|
|
11
|
+
BaseResponseConfigResponse.mapping = undefined;
|
|
12
|
+
BaseResponseConfigResponse.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "status",
|
|
15
|
+
"baseName": "status",
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "data",
|
|
21
|
+
"baseName": "data",
|
|
22
|
+
"type": "ConfigResponse",
|
|
23
|
+
"format": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "message",
|
|
27
|
+
"baseName": "message",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "errors",
|
|
33
|
+
"baseName": "errors",
|
|
34
|
+
"type": "Array<ErrorModel>",
|
|
35
|
+
"format": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "meta",
|
|
39
|
+
"baseName": "meta",
|
|
40
|
+
"type": "MetaModel",
|
|
41
|
+
"format": ""
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
return BaseResponseConfigResponse;
|
|
45
|
+
}());
|
|
46
|
+
exports.BaseResponseConfigResponse = BaseResponseConfigResponse;
|
|
47
|
+
//# sourceMappingURL=BaseResponseConfigResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseResponseConfigResponse.js","sourceRoot":"","sources":["../../models/BaseResponseConfigResponse.ts"],"names":[],"mappings":";;;AAgBA;IAqDI;IACA,CAAC;IALM,8CAAmB,GAA1B;QACI,OAAO,0BAA0B,CAAC,gBAAgB,CAAC;IACvD,CAAC;IAtCe,wCAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAO,GAA0C,SAAS,CAAC;IAE3D,2CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,gBAAgB;YACxB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,iCAAC;CAAA,AAvDD,IAuDC;AAvDY,gEAA0B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class ConfigResponse {
|
|
2
|
+
'dashboardUrl'?: string;
|
|
3
|
+
'maxFileSizeBytes': number;
|
|
4
|
+
'aiDecompilerUnsupportedLanguages': Array<string>;
|
|
5
|
+
'aiDecompilerSupportedModels': Array<string>;
|
|
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
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfigResponse = void 0;
|
|
4
|
+
var ConfigResponse = (function () {
|
|
5
|
+
function ConfigResponse() {
|
|
6
|
+
}
|
|
7
|
+
ConfigResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return ConfigResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
ConfigResponse.discriminator = undefined;
|
|
11
|
+
ConfigResponse.mapping = undefined;
|
|
12
|
+
ConfigResponse.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "dashboardUrl",
|
|
15
|
+
"baseName": "dashboard_url",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "maxFileSizeBytes",
|
|
21
|
+
"baseName": "max_file_size_bytes",
|
|
22
|
+
"type": "number",
|
|
23
|
+
"format": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "aiDecompilerUnsupportedLanguages",
|
|
27
|
+
"baseName": "ai_decompiler_unsupported_languages",
|
|
28
|
+
"type": "Array<string>",
|
|
29
|
+
"format": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "aiDecompilerSupportedModels",
|
|
33
|
+
"baseName": "ai_decompiler_supported_models",
|
|
34
|
+
"type": "Array<string>",
|
|
35
|
+
"format": ""
|
|
36
|
+
}
|
|
37
|
+
];
|
|
38
|
+
return ConfigResponse;
|
|
39
|
+
}());
|
|
40
|
+
exports.ConfigResponse = ConfigResponse;
|
|
41
|
+
//# sourceMappingURL=ConfigResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigResponse.js","sourceRoot":"","sources":["../../models/ConfigResponse.ts"],"names":[],"mappings":";;;AAaA;IAoDI;IACA,CAAC;IALM,kCAAmB,GAA1B;QACI,OAAO,cAAc,CAAC,gBAAgB,CAAC;IAC3C,CAAC;IAhCe,4BAAa,GAAuB,SAAS,CAAC;IAE9C,sBAAO,GAA0C,SAAS,CAAC;IAE3D,+BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,kBAAkB;YAC1B,UAAU,EAAE,qBAAqB;YACjC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,kCAAkC;YAC1C,UAAU,EAAE,qCAAqC;YACjD,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,6BAA6B;YACrC,UAAU,EAAE,gCAAgC;YAC5C,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,qBAAC;CAAA,AAtDD,IAsDC;AAtDY,wCAAc"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { NameSourceType } from '../models/NameSourceType';
|
|
1
2
|
export declare class FunctionListItem {
|
|
2
3
|
'id': number;
|
|
3
4
|
'name': string;
|
|
4
5
|
'nameSourceType': FunctionListItemNameSourceTypeEnum;
|
|
6
|
+
'nameSource': NameSourceType;
|
|
5
7
|
'mangledName': string;
|
|
6
8
|
'vaddr': number;
|
|
7
9
|
'size': number;
|
|
@@ -28,6 +28,12 @@ var FunctionListItem = (function () {
|
|
|
28
28
|
"type": "FunctionListItemNameSourceTypeEnum",
|
|
29
29
|
"format": ""
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"name": "nameSource",
|
|
33
|
+
"baseName": "name_source",
|
|
34
|
+
"type": "NameSourceType",
|
|
35
|
+
"format": ""
|
|
36
|
+
},
|
|
31
37
|
{
|
|
32
38
|
"name": "mangledName",
|
|
33
39
|
"baseName": "mangled_name",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionListItem.js","sourceRoot":"","sources":["../../models/FunctionListItem.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"FunctionListItem.js","sourceRoot":"","sources":["../../models/FunctionListItem.ts"],"names":[],"mappings":";;;AAcA;IA4FI;IACA,CAAC;IALM,oCAAmB,GAA1B;QACI,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IAxDe,8BAAa,GAAuB,SAAS,CAAC;IAE9C,wBAAO,GAA0C,SAAS,CAAC;IAE3D,iCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,kBAAkB;YAC9B,MAAM,EAAE,oCAAoC;YAC5C,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,gBAAgB;YACxB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,uBAAC;CAAA,AA9FD,IA8FC;AA9FY,4CAAgB;AAgG7B,IAAY,kCAMX;AAND,WAAY,kCAAkC;IAC1C,uDAAiB,CAAA;IACjB,mDAAa,CAAA;IACb,kEAA4B,CAAA;IAC5B,2DAAqB,CAAA;IACrB,8DAAwB,CAAA;AAC5B,CAAC,EANW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAM7C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class NameSourceType {
|
|
2
|
+
'type': NameSourceTypeTypeEnum;
|
|
3
|
+
'functionId'?: number | null;
|
|
4
|
+
'binaryId'?: number | null;
|
|
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
|
+
}
|
|
23
|
+
export declare enum NameSourceTypeTypeEnum {
|
|
24
|
+
System = "SYSTEM",
|
|
25
|
+
User = "USER",
|
|
26
|
+
AutoUnstrip = "AUTO_UNSTRIP",
|
|
27
|
+
External = "EXTERNAL",
|
|
28
|
+
AiUnstrip = "AI_UNSTRIP"
|
|
29
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NameSourceTypeTypeEnum = exports.NameSourceType = void 0;
|
|
4
|
+
var NameSourceType = (function () {
|
|
5
|
+
function NameSourceType() {
|
|
6
|
+
}
|
|
7
|
+
NameSourceType.getAttributeTypeMap = function () {
|
|
8
|
+
return NameSourceType.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
NameSourceType.discriminator = undefined;
|
|
11
|
+
NameSourceType.mapping = undefined;
|
|
12
|
+
NameSourceType.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "type",
|
|
15
|
+
"baseName": "type",
|
|
16
|
+
"type": "NameSourceTypeTypeEnum",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "functionId",
|
|
21
|
+
"baseName": "function_id",
|
|
22
|
+
"type": "number",
|
|
23
|
+
"format": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "binaryId",
|
|
27
|
+
"baseName": "binary_id",
|
|
28
|
+
"type": "number",
|
|
29
|
+
"format": ""
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
return NameSourceType;
|
|
33
|
+
}());
|
|
34
|
+
exports.NameSourceType = NameSourceType;
|
|
35
|
+
var NameSourceTypeTypeEnum;
|
|
36
|
+
(function (NameSourceTypeTypeEnum) {
|
|
37
|
+
NameSourceTypeTypeEnum["System"] = "SYSTEM";
|
|
38
|
+
NameSourceTypeTypeEnum["User"] = "USER";
|
|
39
|
+
NameSourceTypeTypeEnum["AutoUnstrip"] = "AUTO_UNSTRIP";
|
|
40
|
+
NameSourceTypeTypeEnum["External"] = "EXTERNAL";
|
|
41
|
+
NameSourceTypeTypeEnum["AiUnstrip"] = "AI_UNSTRIP";
|
|
42
|
+
})(NameSourceTypeTypeEnum = exports.NameSourceTypeTypeEnum || (exports.NameSourceTypeTypeEnum = {}));
|
|
43
|
+
//# sourceMappingURL=NameSourceType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NameSourceType.js","sourceRoot":"","sources":["../../models/NameSourceType.ts"],"names":[],"mappings":";;;AAaA;IAoCI;IACA,CAAC;IALM,kCAAmB,GAA1B;QACI,OAAO,cAAc,CAAC,gBAAgB,CAAC;IAC3C,CAAC;IA1Be,4BAAa,GAAuB,SAAS,CAAC;IAE9C,sBAAO,GAA0C,SAAS,CAAC;IAE3D,+BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,wBAAwB;YAChC,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,UAAU;YAClB,UAAU,EAAE,WAAW;YACvB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,qBAAC;CAAA,AAtCD,IAsCC;AAtCY,wCAAc;AAwC3B,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAC9B,2CAAiB,CAAA;IACjB,uCAAa,CAAA;IACb,sDAA4B,CAAA;IAC5B,+CAAqB,CAAA;IACrB,kDAAwB,CAAA;AAC5B,CAAC,EANW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAMjC"}
|
|
@@ -58,6 +58,7 @@ export * from '../models/BaseResponseCollectionSearchResponse';
|
|
|
58
58
|
export * from '../models/BaseResponseCollectionTagsUpdateResponse';
|
|
59
59
|
export * from '../models/BaseResponseCommentResponse';
|
|
60
60
|
export * from '../models/BaseResponseCommunities';
|
|
61
|
+
export * from '../models/BaseResponseConfigResponse';
|
|
61
62
|
export * from '../models/BaseResponseCreated';
|
|
62
63
|
export * from '../models/BaseResponseDict';
|
|
63
64
|
export * from '../models/BaseResponseDynamicExecutionStatus';
|
|
@@ -140,6 +141,7 @@ export * from '../models/CommentUpdateRequest';
|
|
|
140
141
|
export * from '../models/Communities';
|
|
141
142
|
export * from '../models/CommunityMatchPercentages';
|
|
142
143
|
export * from '../models/ConfidenceType';
|
|
144
|
+
export * from '../models/ConfigResponse';
|
|
143
145
|
export * from '../models/Context';
|
|
144
146
|
export * from '../models/Created';
|
|
145
147
|
export * from '../models/DecompilationCommentContext';
|
|
@@ -223,6 +225,7 @@ export * from '../models/MetaModel';
|
|
|
223
225
|
export * from '../models/ModelName';
|
|
224
226
|
export * from '../models/ModelsResponse';
|
|
225
227
|
export * from '../models/NameConfidence';
|
|
228
|
+
export * from '../models/NameSourceType';
|
|
226
229
|
export * from '../models/NetworkOverviewDns';
|
|
227
230
|
export * from '../models/NetworkOverviewDnsAnswer';
|
|
228
231
|
export * from '../models/NetworkOverviewMetadata';
|
|
@@ -75,6 +75,7 @@ __exportStar(require("../models/BaseResponseCollectionSearchResponse"), exports)
|
|
|
75
75
|
__exportStar(require("../models/BaseResponseCollectionTagsUpdateResponse"), exports);
|
|
76
76
|
__exportStar(require("../models/BaseResponseCommentResponse"), exports);
|
|
77
77
|
__exportStar(require("../models/BaseResponseCommunities"), exports);
|
|
78
|
+
__exportStar(require("../models/BaseResponseConfigResponse"), exports);
|
|
78
79
|
__exportStar(require("../models/BaseResponseCreated"), exports);
|
|
79
80
|
__exportStar(require("../models/BaseResponseDict"), exports);
|
|
80
81
|
__exportStar(require("../models/BaseResponseDynamicExecutionStatus"), exports);
|
|
@@ -157,6 +158,7 @@ __exportStar(require("../models/CommentUpdateRequest"), exports);
|
|
|
157
158
|
__exportStar(require("../models/Communities"), exports);
|
|
158
159
|
__exportStar(require("../models/CommunityMatchPercentages"), exports);
|
|
159
160
|
__exportStar(require("../models/ConfidenceType"), exports);
|
|
161
|
+
__exportStar(require("../models/ConfigResponse"), exports);
|
|
160
162
|
__exportStar(require("../models/Context"), exports);
|
|
161
163
|
__exportStar(require("../models/Created"), exports);
|
|
162
164
|
__exportStar(require("../models/DecompilationCommentContext"), exports);
|
|
@@ -240,6 +242,7 @@ __exportStar(require("../models/MetaModel"), exports);
|
|
|
240
242
|
__exportStar(require("../models/ModelName"), exports);
|
|
241
243
|
__exportStar(require("../models/ModelsResponse"), exports);
|
|
242
244
|
__exportStar(require("../models/NameConfidence"), exports);
|
|
245
|
+
__exportStar(require("../models/NameSourceType"), exports);
|
|
243
246
|
__exportStar(require("../models/NetworkOverviewDns"), exports);
|
|
244
247
|
__exportStar(require("../models/NetworkOverviewDnsAnswer"), exports);
|
|
245
248
|
__exportStar(require("../models/NetworkOverviewMetadata"), exports);
|
|
@@ -360,6 +363,7 @@ var BaseResponseCollectionSearchResponse_1 = require("../models/BaseResponseColl
|
|
|
360
363
|
var BaseResponseCollectionTagsUpdateResponse_1 = require("../models/BaseResponseCollectionTagsUpdateResponse");
|
|
361
364
|
var BaseResponseCommentResponse_1 = require("../models/BaseResponseCommentResponse");
|
|
362
365
|
var BaseResponseCommunities_1 = require("../models/BaseResponseCommunities");
|
|
366
|
+
var BaseResponseConfigResponse_1 = require("../models/BaseResponseConfigResponse");
|
|
363
367
|
var BaseResponseCreated_1 = require("../models/BaseResponseCreated");
|
|
364
368
|
var BaseResponseDict_1 = require("../models/BaseResponseDict");
|
|
365
369
|
var BaseResponseDynamicExecutionStatus_1 = require("../models/BaseResponseDynamicExecutionStatus");
|
|
@@ -438,6 +442,7 @@ var CommentResponse_1 = require("../models/CommentResponse");
|
|
|
438
442
|
var CommentUpdateRequest_1 = require("../models/CommentUpdateRequest");
|
|
439
443
|
var Communities_1 = require("../models/Communities");
|
|
440
444
|
var CommunityMatchPercentages_1 = require("../models/CommunityMatchPercentages");
|
|
445
|
+
var ConfigResponse_1 = require("../models/ConfigResponse");
|
|
441
446
|
var Context_1 = require("../models/Context");
|
|
442
447
|
var Created_1 = require("../models/Created");
|
|
443
448
|
var DecompilationCommentContext_1 = require("../models/DecompilationCommentContext");
|
|
@@ -514,6 +519,7 @@ var MatchedFunctionSuggestion_1 = require("../models/MatchedFunctionSuggestion")
|
|
|
514
519
|
var MetaModel_1 = require("../models/MetaModel");
|
|
515
520
|
var ModelsResponse_1 = require("../models/ModelsResponse");
|
|
516
521
|
var NameConfidence_1 = require("../models/NameConfidence");
|
|
522
|
+
var NameSourceType_1 = require("../models/NameSourceType");
|
|
517
523
|
var NetworkOverviewDns_1 = require("../models/NetworkOverviewDns");
|
|
518
524
|
var NetworkOverviewDnsAnswer_1 = require("../models/NetworkOverviewDnsAnswer");
|
|
519
525
|
var NetworkOverviewMetadata_1 = require("../models/NetworkOverviewMetadata");
|
|
@@ -602,6 +608,7 @@ var enumsMap = new Set([
|
|
|
602
608
|
"GetMeResponseRoleEnum",
|
|
603
609
|
"ISA",
|
|
604
610
|
"ModelName",
|
|
611
|
+
"NameSourceTypeTypeEnum",
|
|
605
612
|
"NetworkOverviewMetadataTypeEnum",
|
|
606
613
|
"Order",
|
|
607
614
|
"Platform",
|
|
@@ -669,6 +676,7 @@ var typeMap = {
|
|
|
669
676
|
"BaseResponseCollectionTagsUpdateResponse": BaseResponseCollectionTagsUpdateResponse_1.BaseResponseCollectionTagsUpdateResponse,
|
|
670
677
|
"BaseResponseCommentResponse": BaseResponseCommentResponse_1.BaseResponseCommentResponse,
|
|
671
678
|
"BaseResponseCommunities": BaseResponseCommunities_1.BaseResponseCommunities,
|
|
679
|
+
"BaseResponseConfigResponse": BaseResponseConfigResponse_1.BaseResponseConfigResponse,
|
|
672
680
|
"BaseResponseCreated": BaseResponseCreated_1.BaseResponseCreated,
|
|
673
681
|
"BaseResponseDict": BaseResponseDict_1.BaseResponseDict,
|
|
674
682
|
"BaseResponseDynamicExecutionStatus": BaseResponseDynamicExecutionStatus_1.BaseResponseDynamicExecutionStatus,
|
|
@@ -747,6 +755,7 @@ var typeMap = {
|
|
|
747
755
|
"CommentUpdateRequest": CommentUpdateRequest_1.CommentUpdateRequest,
|
|
748
756
|
"Communities": Communities_1.Communities,
|
|
749
757
|
"CommunityMatchPercentages": CommunityMatchPercentages_1.CommunityMatchPercentages,
|
|
758
|
+
"ConfigResponse": ConfigResponse_1.ConfigResponse,
|
|
750
759
|
"Context": Context_1.Context,
|
|
751
760
|
"Created": Created_1.Created,
|
|
752
761
|
"DecompilationCommentContext": DecompilationCommentContext_1.DecompilationCommentContext,
|
|
@@ -823,6 +832,7 @@ var typeMap = {
|
|
|
823
832
|
"MetaModel": MetaModel_1.MetaModel,
|
|
824
833
|
"ModelsResponse": ModelsResponse_1.ModelsResponse,
|
|
825
834
|
"NameConfidence": NameConfidence_1.NameConfidence,
|
|
835
|
+
"NameSourceType": NameSourceType_1.NameSourceType,
|
|
826
836
|
"NetworkOverviewDns": NetworkOverviewDns_1.NetworkOverviewDns,
|
|
827
837
|
"NetworkOverviewDnsAnswer": NetworkOverviewDnsAnswer_1.NetworkOverviewDnsAnswer,
|
|
828
838
|
"NetworkOverviewMetadata": NetworkOverviewMetadata_1.NetworkOverviewMetadata,
|