@revengai/sdk 3.110.0 → 3.113.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 (50) hide show
  1. package/README.md +13 -0
  2. package/dist/apis/AnalysesCoreApi.d.ts +6 -0
  3. package/dist/apis/AnalysesCoreApi.js +243 -0
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/FunctionsCoreApi.d.ts +7 -0
  6. package/dist/apis/FunctionsCoreApi.js +223 -0
  7. package/dist/apis/FunctionsCoreApi.js.map +1 -1
  8. package/dist/models/AnalysisRecordBody.d.ts +41 -0
  9. package/dist/models/AnalysisRecordBody.js +114 -0
  10. package/dist/models/AnalysisRecordBody.js.map +1 -0
  11. package/dist/models/AnalysisTagBody.d.ts +22 -0
  12. package/dist/models/AnalysisTagBody.js +35 -0
  13. package/dist/models/AnalysisTagBody.js.map +1 -0
  14. package/dist/models/AutoUnstripStatusOutputBody.d.ts +28 -0
  15. package/dist/models/AutoUnstripStatusOutputBody.js +32 -0
  16. package/dist/models/AutoUnstripStatusOutputBody.js.map +1 -0
  17. package/dist/models/CanonicalName.d.ts +21 -0
  18. package/dist/models/CanonicalName.js +29 -0
  19. package/dist/models/CanonicalName.js.map +1 -0
  20. package/dist/models/CanonicalizeNamesInputBody.d.ts +20 -0
  21. package/dist/models/CanonicalizeNamesInputBody.js +23 -0
  22. package/dist/models/CanonicalizeNamesInputBody.js.map +1 -0
  23. package/dist/models/CanonicalizeNamesOutputBody.d.ts +21 -0
  24. package/dist/models/CanonicalizeNamesOutputBody.js +23 -0
  25. package/dist/models/CanonicalizeNamesOutputBody.js.map +1 -0
  26. package/dist/models/IndirectCallSite.d.ts +24 -0
  27. package/dist/models/IndirectCallSite.js +47 -0
  28. package/dist/models/IndirectCallSite.js.map +1 -0
  29. package/dist/models/IndirectCallSitesOutputBody.d.ts +22 -0
  30. package/dist/models/IndirectCallSitesOutputBody.js +29 -0
  31. package/dist/models/IndirectCallSitesOutputBody.js.map +1 -0
  32. package/dist/models/ListAnalysesOutputBody.d.ts +23 -0
  33. package/dist/models/ListAnalysesOutputBody.js +35 -0
  34. package/dist/models/ListAnalysesOutputBody.js.map +1 -0
  35. package/dist/models/ObjectSerializer.d.ts +9 -0
  36. package/dist/models/ObjectSerializer.js +29 -0
  37. package/dist/models/ObjectSerializer.js.map +1 -1
  38. package/dist/models/all.d.ts +9 -0
  39. package/dist/models/all.js +9 -0
  40. package/dist/models/all.js.map +1 -1
  41. package/dist/types/ObjectParamAPI.d.ts +34 -0
  42. package/dist/types/ObjectParamAPI.js +26 -0
  43. package/dist/types/ObjectParamAPI.js.map +1 -1
  44. package/dist/types/ObservableAPI.d.ts +13 -0
  45. package/dist/types/ObservableAPI.js +594 -482
  46. package/dist/types/ObservableAPI.js.map +1 -1
  47. package/dist/types/PromiseAPI.d.ts +13 -0
  48. package/dist/types/PromiseAPI.js +40 -0
  49. package/dist/types/PromiseAPI.js.map +1 -1
  50. package/package.json +1 -1
package/README.md CHANGED
@@ -85,8 +85,10 @@ Class | Method | HTTP request | Description
85
85
  *AnalysesCoreApi* | [**updateAnalysis**](docs/AnalysesCoreApi.md#updateAnalysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis
86
86
  *AnalysesCoreApi* | [**updateAnalysisTags**](docs/AnalysesCoreApi.md#updateAnalysisTags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags
87
87
  *AnalysesCoreApi* | [**uploadFile**](docs/AnalysesCoreApi.md#uploadFile) | **POST** /v2/upload | Upload File
88
+ *AnalysesCoreApi* | [**v3GetAnalysisAutoUnstripStatus**](docs/AnalysesCoreApi.md#v3GetAnalysisAutoUnstripStatus) | **GET** /v3/analyses/{analysis_id}/auto-unstrip/status | Get the auto-unstrip status for an analysis.
88
89
  *AnalysesCoreApi* | [**v3GetAnalysisStrings**](docs/AnalysesCoreApi.md#v3GetAnalysisStrings) | **GET** /v3/analyses/{analysis_id}/functions/strings | List strings for an analysis.
89
90
  *AnalysesCoreApi* | [**v3GetAnalysisStringsStatus**](docs/AnalysesCoreApi.md#v3GetAnalysisStringsStatus) | **GET** /v3/analyses/{analysis_id}/functions/strings/status | Get the string-extraction status for an analysis.
91
+ *AnalysesCoreApi* | [**v3ListAnalyses**](docs/AnalysesCoreApi.md#v3ListAnalyses) | **GET** /v3/analyses | List analyses
90
92
  *AnalysesCoreApi* | [**v3ListExampleAnalyses**](docs/AnalysesCoreApi.md#v3ListExampleAnalyses) | **GET** /v3/analyses/examples | List example analyses
91
93
  *AnalysesResultsMetadataApi* | [**getAnalysisFunctionsPaginated**](docs/AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
92
94
  *AnalysesResultsMetadataApi* | [**getCapabilities**](docs/AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
@@ -170,6 +172,7 @@ Class | Method | HTTP request | Description
170
172
  *FunctionsCoreApi* | [**getFunctionCapabilities_0**](docs/FunctionsCoreApi.md#getFunctionCapabilities_0) | **GET** /v3/functions/{function_id}/capabilities | Get capabilities for a function
171
173
  *FunctionsCoreApi* | [**getFunctionDetails**](docs/FunctionsCoreApi.md#getFunctionDetails) | **GET** /v2/functions/{function_id} | Get function details
172
174
  *FunctionsCoreApi* | [**getFunctionDetails_0**](docs/FunctionsCoreApi.md#getFunctionDetails_0) | **GET** /v3/functions/{function_id} | Get function details
175
+ *FunctionsCoreApi* | [**getFunctionIndirectCallSites**](docs/FunctionsCoreApi.md#getFunctionIndirectCallSites) | **GET** /v3/functions/{function_id}/indirect-call-sites | Get indirect call sites for a function
173
176
  *FunctionsCoreApi* | [**getFunctionStrings**](docs/FunctionsCoreApi.md#getFunctionStrings) | **GET** /v2/functions/{function_id}/strings | Get string information found in the function
174
177
  *FunctionsCoreApi* | [**getFunctionStrings_0**](docs/FunctionsCoreApi.md#getFunctionStrings_0) | **GET** /v3/functions/{function_id}/strings | List strings for a function.
175
178
  *FunctionsCoreApi* | [**getFunctionsCalleesCallers**](docs/FunctionsCoreApi.md#getFunctionsCalleesCallers) | **GET** /v3/functions/callees-callers | Get callees and callers for many functions
@@ -179,6 +182,7 @@ Class | Method | HTTP request | Description
179
182
  *FunctionsCoreApi* | [**listAnalysisFunctions**](docs/FunctionsCoreApi.md#listAnalysisFunctions) | **GET** /v3/analyses/{analysis_id}/functions | List functions in an analysis
180
183
  *FunctionsCoreApi* | [**listImportedFunctions**](docs/FunctionsCoreApi.md#listImportedFunctions) | **GET** /v3/analyses/{analysis_id}/imported-functions | List imported functions in an analysis
181
184
  *FunctionsCoreApi* | [**startFunctionsMatching**](docs/FunctionsCoreApi.md#startFunctionsMatching) | **POST** /v3/functions/matches | Start function matching for an explicit set of functions
185
+ *FunctionsCoreApi* | [**v3CanonicalizeFunctionNames**](docs/FunctionsCoreApi.md#v3CanonicalizeFunctionNames) | **POST** /v3/functions/canonical-names | Canonicalize a batch of function names
182
186
  *FunctionsDataTypesApi* | [**batchUpdateFunctionDataTypes**](docs/FunctionsDataTypesApi.md#batchUpdateFunctionDataTypes) | **PUT** /v3/analyses/{analysis_id}/functions/data-types | Batch update function data types
183
187
  *FunctionsDataTypesApi* | [**generateFunctionDataTypesForAnalysis**](docs/FunctionsDataTypesApi.md#generateFunctionDataTypesForAnalysis) | **POST** /v2/analyses/{analysis_id}/functions/data_types | Generate Function Data Types
184
188
  *FunctionsDataTypesApi* | [**generateFunctionDataTypesForFunctions**](docs/FunctionsDataTypesApi.md#generateFunctionDataTypesForFunctions) | **POST** /v2/functions/data_types | Generate Function Data Types for an arbitrary list of functions
@@ -241,6 +245,7 @@ Class | Method | HTTP request | Description
241
245
  - [AnalysisLogMessage](AnalysisLogMessage.md)
242
246
  - [AnalysisLogs](AnalysisLogs.md)
243
247
  - [AnalysisRecord](AnalysisRecord.md)
248
+ - [AnalysisRecordBody](AnalysisRecordBody.md)
244
249
  - [AnalysisReport](AnalysisReport.md)
245
250
  - [AnalysisScope](AnalysisScope.md)
246
251
  - [AnalysisStringFunction](AnalysisStringFunction.md)
@@ -248,6 +253,7 @@ Class | Method | HTTP request | Description
248
253
  - [AnalysisStringItem](AnalysisStringItem.md)
249
254
  - [AnalysisStringsResponse](AnalysisStringsResponse.md)
250
255
  - [AnalysisStringsStatusResponse](AnalysisStringsStatusResponse.md)
256
+ - [AnalysisTagBody](AnalysisTagBody.md)
251
257
  - [AnalysisTags](AnalysisTags.md)
252
258
  - [AnalysisUpdateRequest](AnalysisUpdateRequest.md)
253
259
  - [AnalysisUpdateTagsRequest](AnalysisUpdateTagsRequest.md)
@@ -267,6 +273,7 @@ Class | Method | HTTP request | Description
267
273
  - [AutoRunAgents](AutoRunAgents.md)
268
274
  - [AutoUnstripRequest](AutoUnstripRequest.md)
269
275
  - [AutoUnstripResponse](AutoUnstripResponse.md)
276
+ - [AutoUnstripStatusOutputBody](AutoUnstripStatusOutputBody.md)
270
277
  - [BaseResponse](BaseResponse.md)
271
278
  - [BaseResponseAdditionalDetailsStatusResponse](BaseResponseAdditionalDetailsStatusResponse.md)
272
279
  - [BaseResponseAnalysisBulkAddTagsResponse](BaseResponseAnalysisBulkAddTagsResponse.md)
@@ -361,6 +368,9 @@ Class | Method | HTTP request | Description
361
368
  - [CalleeFunctionInfo](CalleeFunctionInfo.md)
362
369
  - [CalleesCallerFunctionsResponse](CalleesCallerFunctionsResponse.md)
363
370
  - [CallerFunctionInfo](CallerFunctionInfo.md)
371
+ - [CanonicalName](CanonicalName.md)
372
+ - [CanonicalizeNamesInputBody](CanonicalizeNamesInputBody.md)
373
+ - [CanonicalizeNamesOutputBody](CanonicalizeNamesOutputBody.md)
364
374
  - [Capabilities](Capabilities.md)
365
375
  - [CapabilitiesAgentResponse](CapabilitiesAgentResponse.md)
366
376
  - [CapabilitiesOutputBody](CapabilitiesOutputBody.md)
@@ -525,10 +535,13 @@ Class | Method | HTTP request | Description
525
535
  - [ImportedFunctionCallerEntry](ImportedFunctionCallerEntry.md)
526
536
  - [ImportedFunctionDetailOutputBody](ImportedFunctionDetailOutputBody.md)
527
537
  - [ImportedFunctionEntry](ImportedFunctionEntry.md)
538
+ - [IndirectCallSite](IndirectCallSite.md)
539
+ - [IndirectCallSitesOutputBody](IndirectCallSitesOutputBody.md)
528
540
  - [InlineComment](InlineComment.md)
529
541
  - [InsertAnalysisLogRequest](InsertAnalysisLogRequest.md)
530
542
  - [InviteUserInputBody](InviteUserInputBody.md)
531
543
  - [IssuerAllowedDomain](IssuerAllowedDomain.md)
544
+ - [ListAnalysesOutputBody](ListAnalysesOutputBody.md)
532
545
  - [ListAnalysisFunctionsDataTypesOutputBody](ListAnalysisFunctionsDataTypesOutputBody.md)
533
546
  - [ListAnalysisFunctionsOutputBody](ListAnalysisFunctionsOutputBody.md)
534
547
  - [ListAnalysisStringsOutputBody](ListAnalysisStringsOutputBody.md)
@@ -8,6 +8,7 @@ import { AnalysisReport } from '../models/AnalysisReport';
8
8
  import { AnalysisUpdateRequest } from '../models/AnalysisUpdateRequest';
9
9
  import { AnalysisUpdateTagsRequest } from '../models/AnalysisUpdateTagsRequest';
10
10
  import { AppApiRestV2AnalysesEnumsOrderBy } from '../models/AppApiRestV2AnalysesEnumsOrderBy';
11
+ import { AutoUnstripStatusOutputBody } from '../models/AutoUnstripStatusOutputBody';
11
12
  import { BaseResponse } from '../models/BaseResponse';
12
13
  import { BaseResponseAnalysisCreateResponse } from '../models/BaseResponseAnalysisCreateResponse';
13
14
  import { BaseResponseAnalysisDetailResponse } from '../models/BaseResponseAnalysisDetailResponse';
@@ -27,6 +28,7 @@ import { GetAnalysisStringsStatusOutputBody } from '../models/GetAnalysisStrings
27
28
  import { GetMatchesOutputBody } from '../models/GetMatchesOutputBody';
28
29
  import { GetMatchesStatusOutputBody } from '../models/GetMatchesStatusOutputBody';
29
30
  import { InsertAnalysisLogRequest } from '../models/InsertAnalysisLogRequest';
31
+ import { ListAnalysesOutputBody } from '../models/ListAnalysesOutputBody';
30
32
  import { ListAnalysisStringsOutputBody } from '../models/ListAnalysisStringsOutputBody';
31
33
  import { ListExampleAnalysesOutputBody } from '../models/ListExampleAnalysesOutputBody';
32
34
  import { ModelName } from '../models/ModelName';
@@ -62,8 +64,10 @@ export declare class AnalysesCoreApiRequestFactory extends BaseAPIRequestFactory
62
64
  updateAnalysis(analysisId: number, analysisUpdateRequest: AnalysisUpdateRequest, _options?: Configuration): Promise<RequestContext>;
63
65
  updateAnalysisTags(analysisId: number, analysisUpdateTagsRequest: AnalysisUpdateTagsRequest, _options?: Configuration): Promise<RequestContext>;
64
66
  uploadFile(uploadFileType: UploadFileType, file: HttpFile, packedPassword?: string, forceOverwrite?: boolean, _options?: Configuration): Promise<RequestContext>;
67
+ v3GetAnalysisAutoUnstripStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
65
68
  v3GetAnalysisStrings(analysisId: number, page?: number, pageSize?: number, search?: string, functionSearch?: string, orderBy?: 'value' | 'length', sortOrder?: 'ASC' | 'DESC', _options?: Configuration): Promise<RequestContext>;
66
69
  v3GetAnalysisStringsStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
70
+ v3ListAnalyses(searchTerm?: string, analysisScope?: Array<'PRIVATE' | 'PUBLIC' | 'TEAM'>, status?: Array<'Uploaded' | 'Queued' | 'Complete' | 'Error' | 'Processing'>, modelName?: Array<string>, usernames?: Array<string>, sha256Hash?: string, pageSize?: number, nextPageToken?: string, orderBy?: 'created' | 'binary_name' | 'binary_size', order?: 'ASC' | 'DESC', _options?: Configuration): Promise<RequestContext>;
67
71
  v3ListExampleAnalyses(_options?: Configuration): Promise<RequestContext>;
68
72
  }
69
73
  export declare class AnalysesCoreApiResponseProcessor {
@@ -92,7 +96,9 @@ export declare class AnalysesCoreApiResponseProcessor {
92
96
  updateAnalysisWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisDetailResponse>>;
93
97
  updateAnalysisTagsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisUpdateTagsResponse>>;
94
98
  uploadFileWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseUploadResponse>>;
99
+ v3GetAnalysisAutoUnstripStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<AutoUnstripStatusOutputBody>>;
95
100
  v3GetAnalysisStringsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListAnalysisStringsOutputBody>>;
96
101
  v3GetAnalysisStringsStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<GetAnalysisStringsStatusOutputBody>>;
102
+ v3ListAnalysesWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListAnalysesOutputBody>>;
97
103
  v3ListExampleAnalysesWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListExampleAnalysesOutputBody>>;
98
104
  }
@@ -1138,6 +1138,46 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1138
1138
  });
1139
1139
  });
1140
1140
  };
1141
+ AnalysesCoreApiRequestFactory.prototype.v3GetAnalysisAutoUnstripStatus = function (analysisId, _options) {
1142
+ var _a;
1143
+ return __awaiter(this, void 0, void 0, function () {
1144
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
1145
+ return __generator(this, function (_b) {
1146
+ switch (_b.label) {
1147
+ case 0:
1148
+ _config = _options || this.configuration;
1149
+ if (analysisId === null || analysisId === undefined) {
1150
+ throw new baseapi_1.RequiredError("AnalysesCoreApi", "v3GetAnalysisAutoUnstripStatus", "analysisId");
1151
+ }
1152
+ localVarPath = '/v3/analyses/{analysis_id}/auto-unstrip/status'
1153
+ .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
1154
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1155
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
1156
+ authMethod = _config.authMethods["APIKey"];
1157
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
1158
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1159
+ case 1:
1160
+ _b.sent();
1161
+ _b.label = 2;
1162
+ case 2:
1163
+ authMethod = _config.authMethods["bearerAuth"];
1164
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1165
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1166
+ case 3:
1167
+ _b.sent();
1168
+ _b.label = 4;
1169
+ case 4:
1170
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1171
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1172
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1173
+ case 5:
1174
+ _b.sent();
1175
+ _b.label = 6;
1176
+ case 6: return [2, requestContext];
1177
+ }
1178
+ });
1179
+ });
1180
+ };
1141
1181
  AnalysesCoreApiRequestFactory.prototype.v3GetAnalysisStrings = function (analysisId, page, pageSize, search, functionSearch, orderBy, sortOrder, _options) {
1142
1182
  var _a;
1143
1183
  return __awaiter(this, void 0, void 0, function () {
@@ -1236,6 +1276,80 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1236
1276
  });
1237
1277
  });
1238
1278
  };
1279
+ AnalysesCoreApiRequestFactory.prototype.v3ListAnalyses = function (searchTerm, analysisScope, status, modelName, usernames, sha256Hash, pageSize, nextPageToken, orderBy, order, _options) {
1280
+ var _a;
1281
+ return __awaiter(this, void 0, void 0, function () {
1282
+ var _config, localVarPath, requestContext, serializedParams, _i, serializedParams_5, serializedParam, serializedParams, _b, serializedParams_6, serializedParam, authMethod, defaultAuth;
1283
+ return __generator(this, function (_c) {
1284
+ switch (_c.label) {
1285
+ case 0:
1286
+ _config = _options || this.configuration;
1287
+ localVarPath = '/v3/analyses';
1288
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
1289
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
1290
+ if (searchTerm !== undefined) {
1291
+ requestContext.setQueryParam("search_term", ObjectSerializer_1.ObjectSerializer.serialize(searchTerm, "string", ""));
1292
+ }
1293
+ if (analysisScope !== undefined) {
1294
+ serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(analysisScope, "Array<'PRIVATE' | 'PUBLIC' | 'TEAM'>", "");
1295
+ for (_i = 0, serializedParams_5 = serializedParams; _i < serializedParams_5.length; _i++) {
1296
+ serializedParam = serializedParams_5[_i];
1297
+ requestContext.appendQueryParam("analysis_scope", serializedParam);
1298
+ }
1299
+ }
1300
+ if (status !== undefined) {
1301
+ serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(status, "Array<'Uploaded' | 'Queued' | 'Complete' | 'Error' | 'Processing'>", "");
1302
+ for (_b = 0, serializedParams_6 = serializedParams; _b < serializedParams_6.length; _b++) {
1303
+ serializedParam = serializedParams_6[_b];
1304
+ requestContext.appendQueryParam("status", serializedParam);
1305
+ }
1306
+ }
1307
+ if (modelName !== undefined) {
1308
+ requestContext.setQueryParam("model_name", ObjectSerializer_1.ObjectSerializer.serialize(modelName, "Array<string>", ""));
1309
+ }
1310
+ if (usernames !== undefined) {
1311
+ requestContext.setQueryParam("usernames", ObjectSerializer_1.ObjectSerializer.serialize(usernames, "Array<string>", ""));
1312
+ }
1313
+ if (sha256Hash !== undefined) {
1314
+ requestContext.setQueryParam("sha256_hash", ObjectSerializer_1.ObjectSerializer.serialize(sha256Hash, "string", ""));
1315
+ }
1316
+ if (pageSize !== undefined) {
1317
+ requestContext.setQueryParam("page_size", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"));
1318
+ }
1319
+ if (nextPageToken !== undefined) {
1320
+ requestContext.setQueryParam("next_page_token", ObjectSerializer_1.ObjectSerializer.serialize(nextPageToken, "string", ""));
1321
+ }
1322
+ if (orderBy !== undefined) {
1323
+ requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "'created' | 'binary_name' | 'binary_size'", ""));
1324
+ }
1325
+ if (order !== undefined) {
1326
+ requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "'ASC' | 'DESC'", ""));
1327
+ }
1328
+ authMethod = _config.authMethods["APIKey"];
1329
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
1330
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1331
+ case 1:
1332
+ _c.sent();
1333
+ _c.label = 2;
1334
+ case 2:
1335
+ authMethod = _config.authMethods["bearerAuth"];
1336
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
1337
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1338
+ case 3:
1339
+ _c.sent();
1340
+ _c.label = 4;
1341
+ case 4:
1342
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1343
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
1344
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1345
+ case 5:
1346
+ _c.sent();
1347
+ _c.label = 6;
1348
+ case 6: return [2, requestContext];
1349
+ }
1350
+ });
1351
+ });
1352
+ };
1239
1353
  AnalysesCoreApiRequestFactory.prototype.v3ListExampleAnalyses = function (_options) {
1240
1354
  var _a;
1241
1355
  return __awaiter(this, void 0, void 0, function () {
@@ -2535,6 +2649,75 @@ var AnalysesCoreApiResponseProcessor = (function () {
2535
2649
  });
2536
2650
  });
2537
2651
  };
2652
+ AnalysesCoreApiResponseProcessor.prototype.v3GetAnalysisAutoUnstripStatusWithHttpInfo = function (response) {
2653
+ return __awaiter(this, void 0, void 0, function () {
2654
+ 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;
2655
+ return __generator(this, function (_2) {
2656
+ switch (_2.label) {
2657
+ case 0:
2658
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2659
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2660
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2661
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2662
+ return [4, response.body.text()];
2663
+ case 1:
2664
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
2665
+ "AutoUnstripStatusOutputBody", ""]);
2666
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2667
+ case 2:
2668
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
2669
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2670
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2671
+ return [4, response.body.text()];
2672
+ case 3:
2673
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
2674
+ "APIError", ""]);
2675
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2676
+ case 4:
2677
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
2678
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2679
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2680
+ return [4, response.body.text()];
2681
+ case 5:
2682
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
2683
+ "APIError", ""]);
2684
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2685
+ case 6:
2686
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
2687
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2688
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2689
+ return [4, response.body.text()];
2690
+ case 7:
2691
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
2692
+ "APIError", ""]);
2693
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2694
+ case 8:
2695
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
2696
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2697
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2698
+ return [4, response.body.text()];
2699
+ case 9:
2700
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
2701
+ "APIError", ""]);
2702
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2703
+ case 10:
2704
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
2705
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2706
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2707
+ return [4, response.body.text()];
2708
+ case 11:
2709
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
2710
+ "AutoUnstripStatusOutputBody", ""]);
2711
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2712
+ case 12:
2713
+ _0 = exception_1.ApiException.bind;
2714
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2715
+ return [4, response.getBodyAsAny()];
2716
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
2717
+ }
2718
+ });
2719
+ });
2720
+ };
2538
2721
  AnalysesCoreApiResponseProcessor.prototype.v3GetAnalysisStringsWithHttpInfo = function (response) {
2539
2722
  return __awaiter(this, void 0, void 0, function () {
2540
2723
  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;
@@ -2673,6 +2856,66 @@ var AnalysesCoreApiResponseProcessor = (function () {
2673
2856
  });
2674
2857
  });
2675
2858
  };
2859
+ AnalysesCoreApiResponseProcessor.prototype.v3ListAnalysesWithHttpInfo = function (response) {
2860
+ return __awaiter(this, void 0, void 0, function () {
2861
+ 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, _w, _x;
2862
+ return __generator(this, function (_y) {
2863
+ switch (_y.label) {
2864
+ case 0:
2865
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2866
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2867
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2868
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2869
+ return [4, response.body.text()];
2870
+ case 1:
2871
+ body = _b.apply(_a, [_d.apply(_c, [_y.sent(), contentType]),
2872
+ "ListAnalysesOutputBody", ""]);
2873
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2874
+ case 2:
2875
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
2876
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2877
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2878
+ return [4, response.body.text()];
2879
+ case 3:
2880
+ body = _f.apply(_e, [_h.apply(_g, [_y.sent(), contentType]),
2881
+ "APIError", ""]);
2882
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
2883
+ case 4:
2884
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 6];
2885
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2886
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2887
+ return [4, response.body.text()];
2888
+ case 5:
2889
+ body = _k.apply(_j, [_m.apply(_l, [_y.sent(), contentType]),
2890
+ "APIError", ""]);
2891
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2892
+ case 6:
2893
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 8];
2894
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2895
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2896
+ return [4, response.body.text()];
2897
+ case 7:
2898
+ body = _p.apply(_o, [_r.apply(_q, [_y.sent(), contentType]),
2899
+ "APIError", ""]);
2900
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2901
+ case 8:
2902
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 10];
2903
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2904
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2905
+ return [4, response.body.text()];
2906
+ case 9:
2907
+ body = _t.apply(_s, [_v.apply(_u, [_y.sent(), contentType]),
2908
+ "ListAnalysesOutputBody", ""]);
2909
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2910
+ case 10:
2911
+ _w = exception_1.ApiException.bind;
2912
+ _x = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2913
+ return [4, response.getBodyAsAny()];
2914
+ case 11: throw new (_w.apply(exception_1.ApiException, _x.concat([_y.sent(), response.headers])))();
2915
+ }
2916
+ });
2917
+ });
2918
+ };
2676
2919
  AnalysesCoreApiResponseProcessor.prototype.v3ListExampleAnalysesWithHttpInfo = function (response) {
2677
2920
  return __awaiter(this, void 0, void 0, function () {
2678
2921
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;