@revengai/sdk 3.85.0 → 3.86.3
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 +26 -4
- package/dist/apis/AnalysesCoreApi.d.ts +2 -2
- package/dist/apis/AnalysesCoreApi.js +3 -1
- package/dist/apis/AnalysesCoreApi.js.map +1 -1
- package/dist/apis/AuthenticationUsersApi.d.ts +0 -6
- package/dist/apis/AuthenticationUsersApi.js +0 -142
- package/dist/apis/AuthenticationUsersApi.js.map +1 -1
- package/dist/apis/FunctionsAIDecompilationApi.d.ts +3 -0
- package/dist/apis/FunctionsAIDecompilationApi.js +75 -0
- package/dist/apis/FunctionsAIDecompilationApi.js.map +1 -1
- package/dist/apis/StringsApi.d.ts +17 -0
- package/dist/apis/StringsApi.js +296 -0
- package/dist/apis/StringsApi.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/{BaseResponseGetMeResponse.d.ts → AddUserStringInputBody.d.ts} +3 -9
- package/dist/models/AddUserStringInputBody.js +29 -0
- package/dist/models/AddUserStringInputBody.js.map +1 -0
- package/dist/models/AddUserStringToFunctionInputBody.d.ts +21 -0
- package/dist/models/AddUserStringToFunctionInputBody.js +29 -0
- package/dist/models/AddUserStringToFunctionInputBody.js.map +1 -0
- package/dist/models/AnalysisReport.d.ts +2 -0
- package/dist/models/AnalysisReport.js +6 -0
- package/dist/models/AnalysisReport.js.map +1 -1
- package/dist/models/AttemptFailedEvent.d.ts +23 -0
- package/dist/models/AttemptFailedEvent.js +41 -0
- package/dist/models/AttemptFailedEvent.js.map +1 -0
- package/dist/models/AttemptStartedEvent.d.ts +22 -0
- package/dist/models/AttemptStartedEvent.js +35 -0
- package/dist/models/AttemptStartedEvent.js.map +1 -0
- package/dist/models/DecompFailedEvent.d.ts +24 -0
- package/dist/models/DecompFailedEvent.js +47 -0
- package/dist/models/DecompFailedEvent.js.map +1 -0
- package/dist/models/DecompFinishedEvent.d.ts +22 -0
- package/dist/models/DecompFinishedEvent.js +35 -0
- package/dist/models/DecompFinishedEvent.js.map +1 -0
- package/dist/models/ELFRelocation.d.ts +1 -0
- package/dist/models/ELFRelocation.js +6 -0
- package/dist/models/ELFRelocation.js.map +1 -1
- package/dist/models/ELFSymbol.d.ts +1 -0
- package/dist/models/ELFSymbol.js +6 -0
- package/dist/models/ELFSymbol.js.map +1 -1
- package/dist/models/{GetMeResponse.d.ts → EventAttemptFailed.d.ts} +8 -14
- package/dist/models/EventAttemptFailed.js +46 -0
- package/dist/models/EventAttemptFailed.js.map +1 -0
- package/dist/models/EventAttemptStarted.d.ts +28 -0
- package/dist/models/EventAttemptStarted.js +46 -0
- package/dist/models/EventAttemptStarted.js.map +1 -0
- package/dist/models/EventDecompFailed.d.ts +28 -0
- package/dist/models/EventDecompFailed.js +46 -0
- package/dist/models/EventDecompFailed.js.map +1 -0
- package/dist/models/EventDecompFinished.d.ts +28 -0
- package/dist/models/EventDecompFinished.js +46 -0
- package/dist/models/EventDecompFinished.js.map +1 -0
- package/dist/models/EventProse.d.ts +28 -0
- package/dist/models/EventProse.js +46 -0
- package/dist/models/EventProse.js.map +1 -0
- package/dist/models/EventRenameApplied.d.ts +28 -0
- package/dist/models/EventRenameApplied.js +46 -0
- package/dist/models/EventRenameApplied.js.map +1 -0
- package/dist/models/EventSourceDelta.d.ts +28 -0
- package/dist/models/EventSourceDelta.js +46 -0
- package/dist/models/EventSourceDelta.js.map +1 -0
- package/dist/models/EventSourceReset.d.ts +28 -0
- package/dist/models/EventSourceReset.js +46 -0
- package/dist/models/EventSourceReset.js.map +1 -0
- package/dist/models/EventWarning.d.ts +28 -0
- package/dist/models/EventWarning.js +46 -0
- package/dist/models/EventWarning.js.map +1 -0
- package/dist/models/ExtractedFileEntry.d.ts +29 -0
- package/dist/models/ExtractedFileEntry.js +77 -0
- package/dist/models/ExtractedFileEntry.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +23 -2
- package/dist/models/ObjectSerializer.js +79 -7
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/ProcessExtractedFiles.d.ts +22 -0
- package/dist/models/ProcessExtractedFiles.js +29 -0
- package/dist/models/ProcessExtractedFiles.js.map +1 -0
- package/dist/models/ProseEvent.d.ts +23 -0
- package/dist/models/ProseEvent.js +41 -0
- package/dist/models/ProseEvent.js.map +1 -0
- package/dist/models/RenameAppliedEvent.d.ts +25 -0
- package/dist/models/RenameAppliedEvent.js +53 -0
- package/dist/models/RenameAppliedEvent.js.map +1 -0
- package/dist/models/SourceDeltaEvent.d.ts +23 -0
- package/dist/models/SourceDeltaEvent.js +41 -0
- package/dist/models/SourceDeltaEvent.js.map +1 -0
- package/dist/models/SourceResetEvent.d.ts +22 -0
- package/dist/models/SourceResetEvent.js +35 -0
- package/dist/models/SourceResetEvent.js.map +1 -0
- package/dist/models/StreamAiDecompilation200ResponseInner.d.ts +16 -0
- package/dist/models/StreamAiDecompilation200ResponseInner.js +12 -0
- package/dist/models/StreamAiDecompilation200ResponseInner.js.map +1 -0
- package/dist/models/WarningEvent.d.ts +25 -0
- package/dist/models/WarningEvent.js +53 -0
- package/dist/models/WarningEvent.js.map +1 -0
- package/dist/models/all.d.ts +23 -2
- package/dist/models/all.js +23 -2
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +34 -10
- package/dist/types/ObjectParamAPI.js +27 -17
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +26 -7
- package/dist/types/ObservableAPI.js +449 -411
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +24 -7
- package/dist/types/PromiseAPI.js +39 -21
- package/dist/types/PromiseAPI.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/BaseResponseGetMeResponse.js +0 -47
- package/dist/models/BaseResponseGetMeResponse.js.map +0 -1
- package/dist/models/GetMeResponse.js +0 -73
- package/dist/models/GetMeResponse.js.map +0 -1
|
@@ -0,0 +1,296 @@
|
|
|
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.StringsApiResponseProcessor = exports.StringsApiRequestFactory = 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 StringsApiRequestFactory = (function (_super) {
|
|
61
|
+
__extends(StringsApiRequestFactory, _super);
|
|
62
|
+
function StringsApiRequestFactory() {
|
|
63
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
StringsApiRequestFactory.prototype.addUserStringToAnalysis = function (analysisId, addUserStringInputBody, _options) {
|
|
66
|
+
var _a;
|
|
67
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
68
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
69
|
+
return __generator(this, function (_b) {
|
|
70
|
+
switch (_b.label) {
|
|
71
|
+
case 0:
|
|
72
|
+
_config = _options || this.configuration;
|
|
73
|
+
if (analysisId === null || analysisId === undefined) {
|
|
74
|
+
throw new baseapi_1.RequiredError("StringsApi", "addUserStringToAnalysis", "analysisId");
|
|
75
|
+
}
|
|
76
|
+
if (addUserStringInputBody === null || addUserStringInputBody === undefined) {
|
|
77
|
+
throw new baseapi_1.RequiredError("StringsApi", "addUserStringToAnalysis", "addUserStringInputBody");
|
|
78
|
+
}
|
|
79
|
+
localVarPath = '/v3/analyses/{analysis_id}/user-provided-strings'
|
|
80
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
81
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
82
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
83
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
84
|
+
"application/json"
|
|
85
|
+
]);
|
|
86
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
87
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(addUserStringInputBody, "AddUserStringInputBody", ""), contentType);
|
|
88
|
+
requestContext.setBody(serializedBody);
|
|
89
|
+
authMethod = _config.authMethods["APIKey"];
|
|
90
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
91
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
92
|
+
case 1:
|
|
93
|
+
_b.sent();
|
|
94
|
+
_b.label = 2;
|
|
95
|
+
case 2:
|
|
96
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
97
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
98
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
99
|
+
case 3:
|
|
100
|
+
_b.sent();
|
|
101
|
+
_b.label = 4;
|
|
102
|
+
case 4: return [2, requestContext];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
StringsApiRequestFactory.prototype.addUserStringToFunction = function (functionId, addUserStringToFunctionInputBody, _options) {
|
|
108
|
+
var _a;
|
|
109
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
110
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
111
|
+
return __generator(this, function (_b) {
|
|
112
|
+
switch (_b.label) {
|
|
113
|
+
case 0:
|
|
114
|
+
_config = _options || this.configuration;
|
|
115
|
+
if (functionId === null || functionId === undefined) {
|
|
116
|
+
throw new baseapi_1.RequiredError("StringsApi", "addUserStringToFunction", "functionId");
|
|
117
|
+
}
|
|
118
|
+
if (addUserStringToFunctionInputBody === null || addUserStringToFunctionInputBody === undefined) {
|
|
119
|
+
throw new baseapi_1.RequiredError("StringsApi", "addUserStringToFunction", "addUserStringToFunctionInputBody");
|
|
120
|
+
}
|
|
121
|
+
localVarPath = '/v3/functions/{function_id}/user-provided-strings'
|
|
122
|
+
.replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
|
|
123
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
124
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
125
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
126
|
+
"application/json"
|
|
127
|
+
]);
|
|
128
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
129
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(addUserStringToFunctionInputBody, "AddUserStringToFunctionInputBody", ""), contentType);
|
|
130
|
+
requestContext.setBody(serializedBody);
|
|
131
|
+
authMethod = _config.authMethods["APIKey"];
|
|
132
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
133
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
134
|
+
case 1:
|
|
135
|
+
_b.sent();
|
|
136
|
+
_b.label = 2;
|
|
137
|
+
case 2:
|
|
138
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
139
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
140
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
141
|
+
case 3:
|
|
142
|
+
_b.sent();
|
|
143
|
+
_b.label = 4;
|
|
144
|
+
case 4: return [2, requestContext];
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
return StringsApiRequestFactory;
|
|
150
|
+
}(baseapi_1.BaseAPIRequestFactory));
|
|
151
|
+
exports.StringsApiRequestFactory = StringsApiRequestFactory;
|
|
152
|
+
var StringsApiResponseProcessor = (function () {
|
|
153
|
+
function StringsApiResponseProcessor() {
|
|
154
|
+
}
|
|
155
|
+
StringsApiResponseProcessor.prototype.addUserStringToAnalysisWithHttpInfo = function (response) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
157
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, body, _w, _x, _y, _z, _0, _1;
|
|
158
|
+
return __generator(this, function (_2) {
|
|
159
|
+
switch (_2.label) {
|
|
160
|
+
case 0:
|
|
161
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
162
|
+
if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
|
|
163
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
164
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
165
|
+
return [4, response.body.text()];
|
|
166
|
+
case 1:
|
|
167
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
168
|
+
"{ [key: string]: any; }", ""]);
|
|
169
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
170
|
+
case 2:
|
|
171
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
172
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
173
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
174
|
+
return [4, response.body.text()];
|
|
175
|
+
case 3:
|
|
176
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
177
|
+
"APIError", ""]);
|
|
178
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
179
|
+
case 4:
|
|
180
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
181
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
182
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
183
|
+
return [4, response.body.text()];
|
|
184
|
+
case 5:
|
|
185
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
186
|
+
"APIError", ""]);
|
|
187
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
188
|
+
case 6:
|
|
189
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
190
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
191
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
192
|
+
return [4, response.body.text()];
|
|
193
|
+
case 7:
|
|
194
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
195
|
+
"APIError", ""]);
|
|
196
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
197
|
+
case 8:
|
|
198
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
199
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
200
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
201
|
+
return [4, response.body.text()];
|
|
202
|
+
case 9:
|
|
203
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
204
|
+
"APIError", ""]);
|
|
205
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
206
|
+
case 10:
|
|
207
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
208
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
209
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
210
|
+
return [4, response.body.text()];
|
|
211
|
+
case 11:
|
|
212
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
213
|
+
"{ [key: string]: any; }", ""]);
|
|
214
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
215
|
+
case 12:
|
|
216
|
+
_0 = exception_1.ApiException.bind;
|
|
217
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
218
|
+
return [4, response.getBodyAsAny()];
|
|
219
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
};
|
|
224
|
+
StringsApiResponseProcessor.prototype.addUserStringToFunctionWithHttpInfo = function (response) {
|
|
225
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
226
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, body, _w, _x, _y, _z, _0, _1;
|
|
227
|
+
return __generator(this, function (_2) {
|
|
228
|
+
switch (_2.label) {
|
|
229
|
+
case 0:
|
|
230
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
231
|
+
if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
|
|
232
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
233
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
234
|
+
return [4, response.body.text()];
|
|
235
|
+
case 1:
|
|
236
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
237
|
+
"{ [key: string]: any; }", ""]);
|
|
238
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
239
|
+
case 2:
|
|
240
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
241
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
242
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
243
|
+
return [4, response.body.text()];
|
|
244
|
+
case 3:
|
|
245
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
246
|
+
"APIError", ""]);
|
|
247
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
248
|
+
case 4:
|
|
249
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
250
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
251
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
252
|
+
return [4, response.body.text()];
|
|
253
|
+
case 5:
|
|
254
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
255
|
+
"APIError", ""]);
|
|
256
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
257
|
+
case 6:
|
|
258
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
259
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
260
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
261
|
+
return [4, response.body.text()];
|
|
262
|
+
case 7:
|
|
263
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
264
|
+
"APIError", ""]);
|
|
265
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
266
|
+
case 8:
|
|
267
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
268
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
269
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
270
|
+
return [4, response.body.text()];
|
|
271
|
+
case 9:
|
|
272
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
273
|
+
"APIError", ""]);
|
|
274
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
275
|
+
case 10:
|
|
276
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
277
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
278
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
279
|
+
return [4, response.body.text()];
|
|
280
|
+
case 11:
|
|
281
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
282
|
+
"{ [key: string]: any; }", ""]);
|
|
283
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
284
|
+
case 12:
|
|
285
|
+
_0 = exception_1.ApiException.bind;
|
|
286
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
287
|
+
return [4, response.getBodyAsAny()];
|
|
288
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
};
|
|
293
|
+
return StringsApiResponseProcessor;
|
|
294
|
+
}());
|
|
295
|
+
exports.StringsApiResponseProcessor = StringsApiResponseProcessor;
|
|
296
|
+
//# sourceMappingURL=StringsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringsApi.js","sourceRoot":"","sources":["../../apis/StringsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAA6F;AAC7F,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAWtD;IAA8C,4CAAqB;IAAnE;;IAkHA,CAAC;IA1GgB,0DAAuB,GAApC,UAAqC,UAAkB,EAAE,sBAA8C,EAAE,QAAwB;;;;;;;wBACzH,OAAO,GAAG,Q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AC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAa,cACnB,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,UAAU,EAAE,EAAE,EACL;wBACb,MAAM,IAAI,wBAAY,CAAW,QAAQ,CAAC,cAAc,EAAE,uBAAuB,EAAE,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;;6BAI3G,CAAA,QAAQ,CAAC,cAAc,IAAI,GAAG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,CAAA,EAAhE,eAAgE;wBAC1B,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBAC9D,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAA4B,cAClC,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,yBAAyB,EAAE,EAAE,EACL;wBAC5B,WAAO,IAAI,eAAQ,CAAC,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,EAAC;;6BAG9E,wBAAY;sCAA4B,QAAQ,CAAC,cAAc,EAAE,0BAA0B;wBAAE,WAAM,QAAQ,CAAC,YAAY,EAAE,EAAA;6BAApI,MAAM,cAAI,wBAAY,aAAiF,SAA6B,EAAE,QAAQ,CAAC,OAAO,MAAC,CAAC;;;;KAC3J;IAEL,kCAAC;AAAD,CAAC,AApHD,IAoHC;AApHY,kEAA2B"}
|
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 { PromiseAgentApi as AgentApi, PromiseAnalysesBulkActionsApi as AnalysesBulkActionsApi, PromiseAnalysesCommentsApi as AnalysesCommentsApi, PromiseAnalysesCoreApi as AnalysesCoreApi, PromiseAnalysesResultsMetadataApi as AnalysesResultsMetadataApi, PromiseAnalysesXRefsApi as AnalysesXRefsApi, PromiseAuthenticationUsersApi as AuthenticationUsersApi, PromiseBinariesApi as BinariesApi, PromiseCollectionsApi as CollectionsApi, PromiseConfigApi as ConfigApi, PromiseConversationsApi as ConversationsApi, PromiseExternalSourcesApi as ExternalSourcesApi, PromiseFirmwareApi as FirmwareApi, PromiseFunctionsAIDecompilationApi as FunctionsAIDecompilationApi, PromiseFunctionsCoreApi as FunctionsCoreApi, PromiseFunctionsDataTypesApi as FunctionsDataTypesApi, PromiseFunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi, PromiseModelsApi as ModelsApi, PromiseReportsApi as ReportsApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI';
|
|
11
|
+
export { PromiseAgentApi as AgentApi, PromiseAnalysesBulkActionsApi as AnalysesBulkActionsApi, PromiseAnalysesCommentsApi as AnalysesCommentsApi, PromiseAnalysesCoreApi as AnalysesCoreApi, PromiseAnalysesResultsMetadataApi as AnalysesResultsMetadataApi, PromiseAnalysesXRefsApi as AnalysesXRefsApi, PromiseAuthenticationUsersApi as AuthenticationUsersApi, PromiseBinariesApi as BinariesApi, PromiseCollectionsApi as CollectionsApi, PromiseConfigApi as ConfigApi, PromiseConversationsApi as ConversationsApi, PromiseExternalSourcesApi as ExternalSourcesApi, PromiseFirmwareApi as FirmwareApi, PromiseFunctionsAIDecompilationApi as FunctionsAIDecompilationApi, PromiseFunctionsCoreApi as FunctionsCoreApi, PromiseFunctionsDataTypesApi as FunctionsDataTypesApi, PromiseFunctionsRenamingHistoryApi as FunctionsRenamingHistoryApi, PromiseModelsApi as ModelsApi, PromiseReportsApi as ReportsApi, PromiseSearchApi as SearchApi, PromiseStringsApi as StringsApi } 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.ReportsApi = exports.ModelsApi = exports.FunctionsRenamingHistoryApi = exports.FunctionsDataTypesApi = exports.FunctionsCoreApi = exports.FunctionsAIDecompilationApi = exports.FirmwareApi = exports.ExternalSourcesApi = exports.ConversationsApi = exports.ConfigApi = exports.CollectionsApi = exports.BinariesApi = exports.AuthenticationUsersApi = exports.AnalysesXRefsApi = exports.AnalysesResultsMetadataApi = exports.AnalysesCoreApi = exports.AnalysesCommentsApi = exports.AnalysesBulkActionsApi = exports.AgentApi = exports.Observable = exports.RequiredError = exports.createConfiguration = void 0;
|
|
17
|
+
exports.StringsApi = exports.SearchApi = exports.ReportsApi = exports.ModelsApi = exports.FunctionsRenamingHistoryApi = exports.FunctionsDataTypesApi = exports.FunctionsCoreApi = exports.FunctionsAIDecompilationApi = exports.FirmwareApi = exports.ExternalSourcesApi = exports.ConversationsApi = exports.ConfigApi = exports.CollectionsApi = exports.BinariesApi = exports.AuthenticationUsersApi = exports.AnalysesXRefsApi = exports.AnalysesResultsMetadataApi = exports.AnalysesCoreApi = exports.AnalysesCommentsApi = exports.AnalysesBulkActionsApi = exports.AgentApi = 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);
|
|
@@ -47,4 +47,5 @@ Object.defineProperty(exports, "FunctionsRenamingHistoryApi", { enumerable: true
|
|
|
47
47
|
Object.defineProperty(exports, "ModelsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseModelsApi; } });
|
|
48
48
|
Object.defineProperty(exports, "ReportsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseReportsApi; } });
|
|
49
49
|
Object.defineProperty(exports, "SearchApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseSearchApi; } });
|
|
50
|
+
Object.defineProperty(exports, "StringsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseStringsApi; } });
|
|
50
51
|
//# sourceMappingURL=index.js.map
|
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,iDAAy+B;AAAh+B,sGAAA,eAAe,OAAY;AAAG,oHAAA,6BAA6B,OAA0B;AAAG,iHAAA,0BAA0B,OAAuB;AAAG,6GAAA,sBAAsB,OAAmB;AAAG,wHAAA,iCAAiC,OAA8B;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,oHAAA,6BAA6B,OAA0B;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,uGAAA,gBAAgB,OAAa;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,gHAAA,yBAAyB,OAAsB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,yHAAA,kCAAkC,OAA+B;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,mHAAA,4BAA4B,OAAyB;AAAG,yHAAA,kCAAkC,OAA+B;AAAG,uGAAA,gBAAgB,OAAa;AAAG,wGAAA,iBAAiB,OAAc;AAAG,uGAAA,gBAAgB,OAAa;AAAG,wGAAA,iBAAiB,OAAc"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare class BaseResponseGetMeResponse {
|
|
5
|
-
'status'?: boolean;
|
|
6
|
-
'data'?: GetMeResponse | null;
|
|
7
|
-
'message'?: string | null;
|
|
8
|
-
'errors'?: Array<ErrorModel> | null;
|
|
9
|
-
'meta'?: MetaModel;
|
|
1
|
+
export declare class AddUserStringInputBody {
|
|
2
|
+
'string': string;
|
|
3
|
+
'virtualAddress': number;
|
|
10
4
|
static readonly discriminator: string | undefined;
|
|
11
5
|
static readonly mapping: {
|
|
12
6
|
[index: string]: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddUserStringInputBody = void 0;
|
|
4
|
+
var AddUserStringInputBody = (function () {
|
|
5
|
+
function AddUserStringInputBody() {
|
|
6
|
+
}
|
|
7
|
+
AddUserStringInputBody.getAttributeTypeMap = function () {
|
|
8
|
+
return AddUserStringInputBody.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
AddUserStringInputBody.discriminator = undefined;
|
|
11
|
+
AddUserStringInputBody.mapping = undefined;
|
|
12
|
+
AddUserStringInputBody.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "string",
|
|
15
|
+
"baseName": "string",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "virtualAddress",
|
|
21
|
+
"baseName": "virtual_address",
|
|
22
|
+
"type": "number",
|
|
23
|
+
"format": "int64"
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
return AddUserStringInputBody;
|
|
27
|
+
}());
|
|
28
|
+
exports.AddUserStringInputBody = AddUserStringInputBody;
|
|
29
|
+
//# sourceMappingURL=AddUserStringInputBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddUserStringInputBody.js","sourceRoot":"","sources":["../../models/AddUserStringInputBody.ts"],"names":[],"mappings":";;;AAaA;IAgCI;IACA,CAAC;IALM,0CAAmB,GAA1B;QACI,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACnD,CAAC;IApBe,oCAAa,GAAuB,SAAS,CAAC;IAE9C,8BAAO,GAA0C,SAAS,CAAC;IAE3D,uCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;KAAK,CAAC;IAQf,6BAAC;CAAA,AAlCD,IAkCC;AAlCY,wDAAsB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class AddUserStringToFunctionInputBody {
|
|
2
|
+
'string': string;
|
|
3
|
+
'virtualAddress': number;
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddUserStringToFunctionInputBody = void 0;
|
|
4
|
+
var AddUserStringToFunctionInputBody = (function () {
|
|
5
|
+
function AddUserStringToFunctionInputBody() {
|
|
6
|
+
}
|
|
7
|
+
AddUserStringToFunctionInputBody.getAttributeTypeMap = function () {
|
|
8
|
+
return AddUserStringToFunctionInputBody.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
AddUserStringToFunctionInputBody.discriminator = undefined;
|
|
11
|
+
AddUserStringToFunctionInputBody.mapping = undefined;
|
|
12
|
+
AddUserStringToFunctionInputBody.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "string",
|
|
15
|
+
"baseName": "string",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "virtualAddress",
|
|
21
|
+
"baseName": "virtual_address",
|
|
22
|
+
"type": "number",
|
|
23
|
+
"format": "int64"
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
return AddUserStringToFunctionInputBody;
|
|
27
|
+
}());
|
|
28
|
+
exports.AddUserStringToFunctionInputBody = AddUserStringToFunctionInputBody;
|
|
29
|
+
//# sourceMappingURL=AddUserStringToFunctionInputBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddUserStringToFunctionInputBody.js","sourceRoot":"","sources":["../../models/AddUserStringToFunctionInputBody.ts"],"names":[],"mappings":";;;AAaA;IAgCI;IACA,CAAC;IALM,oDAAmB,GAA1B;QACI,OAAO,gCAAgC,CAAC,gBAAgB,CAAC;IAC7D,CAAC;IApBe,8CAAa,GAAuB,SAAS,CAAC;IAE9C,wCAAO,GAA0C,SAAS,CAAC;IAE3D,iDAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;KAAK,CAAC;IAQf,uCAAC;CAAA,AAlCD,IAkCC;AAlCY,4EAAgC"}
|
|
@@ -3,6 +3,7 @@ import { ModuleLoadEntry } from '../models/ModuleLoadEntry';
|
|
|
3
3
|
import { MutexEntry } from '../models/MutexEntry';
|
|
4
4
|
import { NetworkActivity } from '../models/NetworkActivity';
|
|
5
5
|
import { ProcessActivityEntry } from '../models/ProcessActivityEntry';
|
|
6
|
+
import { ProcessExtractedFiles } from '../models/ProcessExtractedFiles';
|
|
6
7
|
import { ProcessMemdumps } from '../models/ProcessMemdumps';
|
|
7
8
|
import { ProcessTree } from '../models/ProcessTree';
|
|
8
9
|
import { RegistryOperation } from '../models/RegistryOperation';
|
|
@@ -12,6 +13,7 @@ import { ServiceEntry } from '../models/ServiceEntry';
|
|
|
12
13
|
import { StartupInfo } from '../models/StartupInfo';
|
|
13
14
|
import { Ttp } from '../models/Ttp';
|
|
14
15
|
export declare class AnalysisReport {
|
|
16
|
+
'extractedFiles'?: Array<ProcessExtractedFiles> | null;
|
|
15
17
|
'fileActivity'?: Array<FileActivityEntry> | null;
|
|
16
18
|
'info': ReportInfo;
|
|
17
19
|
'memdumps'?: Array<ProcessMemdumps> | null;
|
|
@@ -10,6 +10,12 @@ var AnalysisReport = (function () {
|
|
|
10
10
|
AnalysisReport.discriminator = undefined;
|
|
11
11
|
AnalysisReport.mapping = undefined;
|
|
12
12
|
AnalysisReport.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "extractedFiles",
|
|
15
|
+
"baseName": "extracted_files",
|
|
16
|
+
"type": "Array<ProcessExtractedFiles>",
|
|
17
|
+
"format": ""
|
|
18
|
+
},
|
|
13
19
|
{
|
|
14
20
|
"name": "fileActivity",
|
|
15
21
|
"baseName": "file_activity",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisReport.js","sourceRoot":"","sources":["../../models/AnalysisReport.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AnalysisReport.js","sourceRoot":"","sources":["../../models/AnalysisReport.ts"],"names":[],"mappings":";;;AA2BA;IAqHI;IACA,CAAC;IALM,kCAAmB,GAA1B;QACI,OAAO,cAAc,CAAC,gBAAgB,CAAC;IAC3C,CAAC;IAlGe,4BAAa,GAAuB,SAAS,CAAC;IAE9C,sBAAO,GAA0C,SAAS,CAAC;IAE3D,+BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,8BAA8B;YACtC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,wBAAwB;YAChC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,qBAAqB;YAC7B,UAAU,EAAE,uBAAuB;YACnC,MAAM,EAAE,wBAAwB;YAChC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,kBAAkB;YAC9B,MAAM,EAAE,iBAAiB;YACzB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,kBAAkB;YAC9B,MAAM,EAAE,6BAA6B;YACrC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,aAAa;YACrB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,oBAAoB;YAC5B,UAAU,EAAE,qBAAqB;YACjC,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,2BAA2B;YACnC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,qBAAqB;YAC7B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,aAAa;YACrB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,qBAAC;CAAA,AAvHD,IAuHC;AAvHY,wCAAc"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class AttemptFailedEvent {
|
|
2
|
+
'attempt': number;
|
|
3
|
+
'error': string;
|
|
4
|
+
'seq': number;
|
|
5
|
+
'type': 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.AttemptFailedEvent = void 0;
|
|
4
|
+
var AttemptFailedEvent = (function () {
|
|
5
|
+
function AttemptFailedEvent() {
|
|
6
|
+
}
|
|
7
|
+
AttemptFailedEvent.getAttributeTypeMap = function () {
|
|
8
|
+
return AttemptFailedEvent.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
AttemptFailedEvent.discriminator = undefined;
|
|
11
|
+
AttemptFailedEvent.mapping = undefined;
|
|
12
|
+
AttemptFailedEvent.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "attempt",
|
|
15
|
+
"baseName": "attempt",
|
|
16
|
+
"type": "number",
|
|
17
|
+
"format": "int32"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "error",
|
|
21
|
+
"baseName": "error",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "seq",
|
|
27
|
+
"baseName": "seq",
|
|
28
|
+
"type": "number",
|
|
29
|
+
"format": "int32"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "type",
|
|
33
|
+
"baseName": "type",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": ""
|
|
36
|
+
}
|
|
37
|
+
];
|
|
38
|
+
return AttemptFailedEvent;
|
|
39
|
+
}());
|
|
40
|
+
exports.AttemptFailedEvent = AttemptFailedEvent;
|
|
41
|
+
//# sourceMappingURL=AttemptFailedEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptFailedEvent.js","sourceRoot":"","sources":["../../models/AttemptFailedEvent.ts"],"names":[],"mappings":";;;AAaA;IAwCI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAhCe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,0BAAO,GAA0C,SAAS,CAAC;IAE3D,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,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;KAAK,CAAC;IAQf,yBAAC;CAAA,AA1CD,IA0CC;AA1CY,gDAAkB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class AttemptStartedEvent {
|
|
2
|
+
'attempt': number;
|
|
3
|
+
'seq': number;
|
|
4
|
+
'type': string;
|
|
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
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttemptStartedEvent = void 0;
|
|
4
|
+
var AttemptStartedEvent = (function () {
|
|
5
|
+
function AttemptStartedEvent() {
|
|
6
|
+
}
|
|
7
|
+
AttemptStartedEvent.getAttributeTypeMap = function () {
|
|
8
|
+
return AttemptStartedEvent.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
AttemptStartedEvent.discriminator = undefined;
|
|
11
|
+
AttemptStartedEvent.mapping = undefined;
|
|
12
|
+
AttemptStartedEvent.attributeTypeMap = [
|
|
13
|
+
{
|
|
14
|
+
"name": "attempt",
|
|
15
|
+
"baseName": "attempt",
|
|
16
|
+
"type": "number",
|
|
17
|
+
"format": "int32"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "seq",
|
|
21
|
+
"baseName": "seq",
|
|
22
|
+
"type": "number",
|
|
23
|
+
"format": "int32"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "type",
|
|
27
|
+
"baseName": "type",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": ""
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
return AttemptStartedEvent;
|
|
33
|
+
}());
|
|
34
|
+
exports.AttemptStartedEvent = AttemptStartedEvent;
|
|
35
|
+
//# sourceMappingURL=AttemptStartedEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttemptStartedEvent.js","sourceRoot":"","sources":["../../models/AttemptStartedEvent.ts"],"names":[],"mappings":";;;AAaA;IAiCI;IACA,CAAC;IALM,uCAAmB,GAA1B;QACI,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;IAChD,CAAC;IA1Be,iCAAa,GAAuB,SAAS,CAAC;IAE9C,2BAAO,GAA0C,SAAS,CAAC;IAE3D,oCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,OAAO;SACpB;QACD;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,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;KAAK,CAAC;IAQf,0BAAC;CAAA,AAnCD,IAmCC;AAnCY,kDAAmB"}
|