@revengai/sdk 3.63.0 → 3.66.0

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 (75) hide show
  1. package/README.md +0 -25
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +1 -4
  4. package/dist/index.js.map +1 -1
  5. package/dist/models/FunctionBlocksResponse.d.ts +1 -1
  6. package/dist/models/ObjectSerializer.d.ts +0 -15
  7. package/dist/models/ObjectSerializer.js +0 -41
  8. package/dist/models/ObjectSerializer.js.map +1 -1
  9. package/dist/models/all.d.ts +0 -15
  10. package/dist/models/all.js +0 -15
  11. package/dist/models/all.js.map +1 -1
  12. package/dist/types/ObjectParamAPI.d.ts +0 -102
  13. package/dist/types/ObjectParamAPI.js +28 -112
  14. package/dist/types/ObjectParamAPI.js.map +1 -1
  15. package/dist/types/ObservableAPI.d.ts +0 -47
  16. package/dist/types/ObservableAPI.js +273 -583
  17. package/dist/types/ObservableAPI.js.map +1 -1
  18. package/dist/types/PromiseAPI.d.ts +0 -41
  19. package/dist/types/PromiseAPI.js +28 -152
  20. package/dist/types/PromiseAPI.js.map +1 -1
  21. package/package.json +1 -1
  22. package/dist/apis/AnalysesSecurityChecksApi.d.ts +0 -16
  23. package/dist/apis/AnalysesSecurityChecksApi.js +0 -320
  24. package/dist/apis/AnalysesSecurityChecksApi.js.map +0 -1
  25. package/dist/apis/FunctionsBlockCommentsApi.d.ts +0 -16
  26. package/dist/apis/FunctionsBlockCommentsApi.js +0 -308
  27. package/dist/apis/FunctionsBlockCommentsApi.js.map +0 -1
  28. package/dist/apis/FunctionsDecompilationApi.d.ts +0 -20
  29. package/dist/apis/FunctionsDecompilationApi.js +0 -517
  30. package/dist/apis/FunctionsDecompilationApi.js.map +0 -1
  31. package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.d.ts +0 -27
  32. package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.js +0 -47
  33. package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.js.map +0 -1
  34. package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.d.ts +0 -26
  35. package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.js +0 -47
  36. package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.js.map +0 -1
  37. package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.d.ts +0 -27
  38. package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.js +0 -47
  39. package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.js.map +0 -1
  40. package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.d.ts +0 -27
  41. package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.js +0 -47
  42. package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.js.map +0 -1
  43. package/dist/models/BaseResponseSecurityChecksResponse.d.ts +0 -27
  44. package/dist/models/BaseResponseSecurityChecksResponse.js +0 -47
  45. package/dist/models/BaseResponseSecurityChecksResponse.js.map +0 -1
  46. package/dist/models/BinaryTaskStatus.d.ts +0 -7
  47. package/dist/models/BinaryTaskStatus.js +0 -12
  48. package/dist/models/BinaryTaskStatus.js.map +0 -1
  49. package/dist/models/Block.d.ts +0 -20
  50. package/dist/models/Block.js +0 -23
  51. package/dist/models/Block.js.map +0 -1
  52. package/dist/models/BlockCommentsGenerationForFunctionResponse.d.ts +0 -20
  53. package/dist/models/BlockCommentsGenerationForFunctionResponse.js +0 -23
  54. package/dist/models/BlockCommentsGenerationForFunctionResponse.js.map +0 -1
  55. package/dist/models/CheckSecurityChecksTaskResponse.d.ts +0 -21
  56. package/dist/models/CheckSecurityChecksTaskResponse.js +0 -23
  57. package/dist/models/CheckSecurityChecksTaskResponse.js.map +0 -1
  58. package/dist/models/ConfidenceType.d.ts +0 -7
  59. package/dist/models/ConfidenceType.js +0 -12
  60. package/dist/models/ConfidenceType.js.map +0 -1
  61. package/dist/models/QueuedSecurityChecksTaskResponse.d.ts +0 -20
  62. package/dist/models/QueuedSecurityChecksTaskResponse.js +0 -23
  63. package/dist/models/QueuedSecurityChecksTaskResponse.js.map +0 -1
  64. package/dist/models/SecurityChecksResponse.d.ts +0 -23
  65. package/dist/models/SecurityChecksResponse.js +0 -35
  66. package/dist/models/SecurityChecksResponse.js.map +0 -1
  67. package/dist/models/SecurityChecksResult.d.ts +0 -30
  68. package/dist/models/SecurityChecksResult.js +0 -65
  69. package/dist/models/SecurityChecksResult.js.map +0 -1
  70. package/dist/models/SeverityType.d.ts +0 -8
  71. package/dist/models/SeverityType.js +0 -13
  72. package/dist/models/SeverityType.js.map +0 -1
  73. package/dist/models/VulnerabilityType.d.ts +0 -8
  74. package/dist/models/VulnerabilityType.js +0 -13
  75. package/dist/models/VulnerabilityType.js.map +0 -1
@@ -1,308 +0,0 @@
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.FunctionsBlockCommentsApiResponseProcessor = exports.FunctionsBlockCommentsApiRequestFactory = 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 FunctionsBlockCommentsApiRequestFactory = (function (_super) {
61
- __extends(FunctionsBlockCommentsApiRequestFactory, _super);
62
- function FunctionsBlockCommentsApiRequestFactory() {
63
- return _super !== null && _super.apply(this, arguments) || this;
64
- }
65
- FunctionsBlockCommentsApiRequestFactory.prototype.generateBlockCommentsForBlockInFunction = function (functionId, block, _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 (functionId === null || functionId === undefined) {
74
- throw new baseapi_1.RequiredError("FunctionsBlockCommentsApi", "generateBlockCommentsForBlockInFunction", "functionId");
75
- }
76
- if (block === null || block === undefined) {
77
- throw new baseapi_1.RequiredError("FunctionsBlockCommentsApi", "generateBlockCommentsForBlockInFunction", "block");
78
- }
79
- localVarPath = '/v2/functions/{function_id}/block-comments/single'
80
- .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
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(block, "Block", ""), 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
- FunctionsBlockCommentsApiRequestFactory.prototype.generateBlockCommentsForFunction = function (functionId, _options) {
108
- var _a;
109
- return __awaiter(this, void 0, void 0, function () {
110
- var _config, localVarPath, requestContext, 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("FunctionsBlockCommentsApi", "generateBlockCommentsForFunction", "functionId");
117
- }
118
- localVarPath = '/v2/functions/{function_id}/block-comments'
119
- .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
120
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
121
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
122
- authMethod = _config.authMethods["APIKey"];
123
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
124
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
125
- case 1:
126
- _b.sent();
127
- _b.label = 2;
128
- case 2:
129
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
130
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
131
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
132
- case 3:
133
- _b.sent();
134
- _b.label = 4;
135
- case 4: return [2, requestContext];
136
- }
137
- });
138
- });
139
- };
140
- FunctionsBlockCommentsApiRequestFactory.prototype.generateOverviewCommentForFunction = function (functionId, _options) {
141
- var _a;
142
- return __awaiter(this, void 0, void 0, function () {
143
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
144
- return __generator(this, function (_b) {
145
- switch (_b.label) {
146
- case 0:
147
- _config = _options || this.configuration;
148
- if (functionId === null || functionId === undefined) {
149
- throw new baseapi_1.RequiredError("FunctionsBlockCommentsApi", "generateOverviewCommentForFunction", "functionId");
150
- }
151
- localVarPath = '/v2/functions/{function_id}/block-comments/overview'
152
- .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
153
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
154
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
155
- authMethod = _config.authMethods["APIKey"];
156
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
157
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
158
- case 1:
159
- _b.sent();
160
- _b.label = 2;
161
- case 2:
162
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
163
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
164
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
165
- case 3:
166
- _b.sent();
167
- _b.label = 4;
168
- case 4: return [2, requestContext];
169
- }
170
- });
171
- });
172
- };
173
- return FunctionsBlockCommentsApiRequestFactory;
174
- }(baseapi_1.BaseAPIRequestFactory));
175
- exports.FunctionsBlockCommentsApiRequestFactory = FunctionsBlockCommentsApiRequestFactory;
176
- var FunctionsBlockCommentsApiResponseProcessor = (function () {
177
- function FunctionsBlockCommentsApiResponseProcessor() {
178
- }
179
- FunctionsBlockCommentsApiResponseProcessor.prototype.generateBlockCommentsForBlockInFunctionWithHttpInfo = function (response) {
180
- return __awaiter(this, void 0, void 0, function () {
181
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
182
- return __generator(this, function (_q) {
183
- switch (_q.label) {
184
- case 0:
185
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
186
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
187
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
188
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
189
- return [4, response.body.text()];
190
- case 1:
191
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
192
- "BaseResponseBlockCommentsGenerationForFunctionResponse", ""]);
193
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
194
- case 2:
195
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
196
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
197
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
198
- return [4, response.body.text()];
199
- case 3:
200
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
201
- "BaseResponse", ""]);
202
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
203
- case 4:
204
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
205
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
206
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
207
- return [4, response.body.text()];
208
- case 5:
209
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
210
- "BaseResponseBlockCommentsGenerationForFunctionResponse", ""]);
211
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
212
- case 6:
213
- _o = exception_1.ApiException.bind;
214
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
215
- return [4, response.getBodyAsAny()];
216
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
217
- }
218
- });
219
- });
220
- };
221
- FunctionsBlockCommentsApiResponseProcessor.prototype.generateBlockCommentsForFunctionWithHttpInfo = function (response) {
222
- return __awaiter(this, void 0, void 0, function () {
223
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
224
- return __generator(this, function (_q) {
225
- switch (_q.label) {
226
- case 0:
227
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
228
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
229
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
230
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
231
- return [4, response.body.text()];
232
- case 1:
233
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
234
- "BaseResponseBlockCommentsGenerationForFunctionResponse", ""]);
235
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
236
- case 2:
237
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
238
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
239
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
240
- return [4, response.body.text()];
241
- case 3:
242
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
243
- "BaseResponse", ""]);
244
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
245
- case 4:
246
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
247
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
248
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
249
- return [4, response.body.text()];
250
- case 5:
251
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
252
- "BaseResponseBlockCommentsGenerationForFunctionResponse", ""]);
253
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
254
- case 6:
255
- _o = exception_1.ApiException.bind;
256
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
257
- return [4, response.getBodyAsAny()];
258
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
259
- }
260
- });
261
- });
262
- };
263
- FunctionsBlockCommentsApiResponseProcessor.prototype.generateOverviewCommentForFunctionWithHttpInfo = function (response) {
264
- return __awaiter(this, void 0, void 0, function () {
265
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
266
- return __generator(this, function (_q) {
267
- switch (_q.label) {
268
- case 0:
269
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
270
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
271
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
272
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
273
- return [4, response.body.text()];
274
- case 1:
275
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
276
- "BaseResponseBlockCommentsOverviewGenerationResponse", ""]);
277
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
278
- case 2:
279
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
280
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
281
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
282
- return [4, response.body.text()];
283
- case 3:
284
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
285
- "BaseResponse", ""]);
286
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
287
- case 4:
288
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
289
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
290
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
291
- return [4, response.body.text()];
292
- case 5:
293
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
294
- "BaseResponseBlockCommentsOverviewGenerationResponse", ""]);
295
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
296
- case 6:
297
- _o = exception_1.ApiException.bind;
298
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
299
- return [4, response.getBodyAsAny()];
300
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
301
- }
302
- });
303
- });
304
- };
305
- return FunctionsBlockCommentsApiResponseProcessor;
306
- }());
307
- exports.FunctionsBlockCommentsApiResponseProcessor = FunctionsBlockCommentsApiResponseProcessor;
308
- //# sourceMappingURL=FunctionsBlockCommentsApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FunctionsBlockCommentsApi.js","sourceRoot":"","sources":["../../apis/FunctionsBlockCommentsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAA6F;AAC7F,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAYtD;IAA6D,2DAAqB;IAAlF;;IAmIA,CAAC;IA5HgB,yFAAuC,GAApD,UAAqD,UAAkB,EAAE,KAAY,EAAE,QAAwB;;;;;;;wBACvG,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;wBAG7C,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;4BACjD,MAAM,IAAI,uBAAa,CAAC,2BAA2B,EAAE,yCAAyC,EAAE,YAAY,CAAC,CAAC;yBACjH;wBAID,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;4BACvC,MAAM,IAAI,uBAAa,CAAC,2BAA2B,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAC;yBAC5G;wBAIK,YAAY,GAAG,mDAAmD;6BACnE,OAAO,CAAC,G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c,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;4BAApI,MAAM,cAAI,wBAAY,aAAiF,SAA6B,EAAE,QAAQ,CAAC,OAAO,MAAC,CAAC;;;;KAC3J;IAEL,iDAAC;AAAD,CAAC,AA9GD,IA8GC;AA9GY,gGAA0C"}
@@ -1,20 +0,0 @@
1
- import { BaseAPIRequestFactory } from './baseapi';
2
- import { Configuration } from '../configuration';
3
- import { RequestContext, ResponseContext, HttpInfo } from '../http/http';
4
- import { BaseResponseBool } from '../models/BaseResponseBool';
5
- import { BaseResponseCommentResponse } from '../models/BaseResponseCommentResponse';
6
- import { BaseResponseListCommentResponse } from '../models/BaseResponseListCommentResponse';
7
- import { CommentUpdateRequest } from '../models/CommentUpdateRequest';
8
- import { FunctionCommentCreateRequest } from '../models/FunctionCommentCreateRequest';
9
- export declare class FunctionsDecompilationApiRequestFactory extends BaseAPIRequestFactory {
10
- createDecompilationComment(functionId: number, functionCommentCreateRequest: FunctionCommentCreateRequest, endpointUrl?: string, localCacheDir?: string, localCacheMaxSizeMb?: number, customerSamplesBucket?: string, firmwareSamplesBucket?: string, maxRetryAttempts?: number, _options?: Configuration): Promise<RequestContext>;
11
- deleteDecompilationComment(commentId: number, functionId: number, endpointUrl?: string, localCacheDir?: string, localCacheMaxSizeMb?: number, customerSamplesBucket?: string, firmwareSamplesBucket?: string, maxRetryAttempts?: number, _options?: Configuration): Promise<RequestContext>;
12
- getDecompilationComments(functionId: number, endpointUrl?: string, localCacheDir?: string, localCacheMaxSizeMb?: number, customerSamplesBucket?: string, firmwareSamplesBucket?: string, maxRetryAttempts?: number, _options?: Configuration): Promise<RequestContext>;
13
- updateDecompilationComment(commentId: number, functionId: number, commentUpdateRequest: CommentUpdateRequest, endpointUrl?: string, localCacheDir?: string, localCacheMaxSizeMb?: number, customerSamplesBucket?: string, firmwareSamplesBucket?: string, maxRetryAttempts?: number, _options?: Configuration): Promise<RequestContext>;
14
- }
15
- export declare class FunctionsDecompilationApiResponseProcessor {
16
- createDecompilationCommentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseCommentResponse>>;
17
- deleteDecompilationCommentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseBool>>;
18
- getDecompilationCommentsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseListCommentResponse>>;
19
- updateDecompilationCommentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseCommentResponse>>;
20
- }