@revengai/sdk 3.107.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 (83) hide show
  1. package/README.md +21 -0
  2. package/dist/apis/AnalysesCoreApi.d.ts +8 -2
  3. package/dist/apis/AnalysesCoreApi.js +313 -46
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/FunctionsCoreApi.d.ts +15 -2
  6. package/dist/apis/FunctionsCoreApi.js +459 -8
  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/ArchiveContentEntry.d.ts +22 -0
  15. package/dist/models/ArchiveContentEntry.js +35 -0
  16. package/dist/models/ArchiveContentEntry.js.map +1 -0
  17. package/dist/models/AutoUnstripStatusOutputBody.d.ts +28 -0
  18. package/dist/models/AutoUnstripStatusOutputBody.js +32 -0
  19. package/dist/models/AutoUnstripStatusOutputBody.js.map +1 -0
  20. package/dist/models/BatchBinaryMatchResult.d.ts +1 -0
  21. package/dist/models/BatchBinaryMatchResult.js +6 -0
  22. package/dist/models/BatchBinaryMatchResult.js.map +1 -1
  23. package/dist/models/CanonicalName.d.ts +21 -0
  24. package/dist/models/CanonicalName.js +29 -0
  25. package/dist/models/CanonicalName.js.map +1 -0
  26. package/dist/models/CanonicalizeNamesInputBody.d.ts +20 -0
  27. package/dist/models/CanonicalizeNamesInputBody.js +23 -0
  28. package/dist/models/CanonicalizeNamesInputBody.js.map +1 -0
  29. package/dist/models/CanonicalizeNamesOutputBody.d.ts +21 -0
  30. package/dist/models/CanonicalizeNamesOutputBody.js +23 -0
  31. package/dist/models/CanonicalizeNamesOutputBody.js.map +1 -0
  32. package/dist/models/ImportedFunctionCallerEntry.d.ts +23 -0
  33. package/dist/models/ImportedFunctionCallerEntry.js +41 -0
  34. package/dist/models/ImportedFunctionCallerEntry.js.map +1 -0
  35. package/dist/models/ImportedFunctionDetailOutputBody.d.ts +29 -0
  36. package/dist/models/ImportedFunctionDetailOutputBody.js +71 -0
  37. package/dist/models/ImportedFunctionDetailOutputBody.js.map +1 -0
  38. package/dist/models/ImportedFunctionEntry.d.ts +27 -0
  39. package/dist/models/ImportedFunctionEntry.js +65 -0
  40. package/dist/models/ImportedFunctionEntry.js.map +1 -0
  41. package/dist/models/IndirectCallSite.d.ts +24 -0
  42. package/dist/models/IndirectCallSite.js +47 -0
  43. package/dist/models/IndirectCallSite.js.map +1 -0
  44. package/dist/models/IndirectCallSitesOutputBody.d.ts +22 -0
  45. package/dist/models/IndirectCallSitesOutputBody.js +29 -0
  46. package/dist/models/IndirectCallSitesOutputBody.js.map +1 -0
  47. package/dist/models/ListAnalysesOutputBody.d.ts +23 -0
  48. package/dist/models/ListAnalysesOutputBody.js +35 -0
  49. package/dist/models/ListAnalysesOutputBody.js.map +1 -0
  50. package/dist/models/ListArchiveContentsOutputBody.d.ts +25 -0
  51. package/dist/models/ListArchiveContentsOutputBody.js +47 -0
  52. package/dist/models/ListArchiveContentsOutputBody.js.map +1 -0
  53. package/dist/models/ListImportedFunctionsOutputBody.d.ts +22 -0
  54. package/dist/models/ListImportedFunctionsOutputBody.js +29 -0
  55. package/dist/models/ListImportedFunctionsOutputBody.js.map +1 -0
  56. package/dist/models/ObjectSerializer.d.ts +15 -0
  57. package/dist/models/ObjectSerializer.js +47 -0
  58. package/dist/models/ObjectSerializer.js.map +1 -1
  59. package/dist/models/StartMatchingForAnalysisInputBody.d.ts +1 -0
  60. package/dist/models/StartMatchingForAnalysisInputBody.js +6 -0
  61. package/dist/models/StartMatchingForAnalysisInputBody.js.map +1 -1
  62. package/dist/models/StartMatchingForFunctionsInputBody.d.ts +1 -0
  63. package/dist/models/StartMatchingForFunctionsInputBody.js +6 -0
  64. package/dist/models/StartMatchingForFunctionsInputBody.js.map +1 -1
  65. package/dist/models/StartMatchingOutputBody.d.ts +1 -0
  66. package/dist/models/StartMatchingOutputBody.js +6 -0
  67. package/dist/models/StartMatchingOutputBody.js.map +1 -1
  68. package/dist/models/TriggerDynamicExecutionInputBody.d.ts +3 -0
  69. package/dist/models/TriggerDynamicExecutionInputBody.js +18 -0
  70. package/dist/models/TriggerDynamicExecutionInputBody.js.map +1 -1
  71. package/dist/models/all.d.ts +15 -0
  72. package/dist/models/all.js +15 -0
  73. package/dist/models/all.js.map +1 -1
  74. package/dist/types/ObjectParamAPI.d.ts +59 -6
  75. package/dist/types/ObjectParamAPI.js +50 -8
  76. package/dist/types/ObjectParamAPI.js.map +1 -1
  77. package/dist/types/ObservableAPI.d.ts +27 -8
  78. package/dist/types/ObservableAPI.js +673 -505
  79. package/dist/types/ObservableAPI.js.map +1 -1
  80. package/dist/types/PromiseAPI.d.ts +27 -8
  81. package/dist/types/PromiseAPI.js +76 -16
  82. package/dist/types/PromiseAPI.js.map +1 -1
  83. package/package.json +1 -1
@@ -360,7 +360,7 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
360
360
  });
361
361
  });
362
362
  };
363
- AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatches = function (analysisId, _options) {
363
+ AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatches = function (analysisId, matchId, _options) {
364
364
  var _a;
365
365
  return __awaiter(this, void 0, void 0, function () {
366
366
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -375,6 +375,9 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
375
375
  .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
376
376
  requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
377
377
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
378
+ if (matchId !== undefined) {
379
+ requestContext.setQueryParam("match_id", ObjectSerializer_1.ObjectSerializer.serialize(matchId, "string", ""));
380
+ }
378
381
  authMethod = _config.authMethods["APIKey"];
379
382
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
380
383
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -400,7 +403,7 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
400
403
  });
401
404
  });
402
405
  };
403
- AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatchingStatus = function (analysisId, _options) {
406
+ AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatchingStatus = function (analysisId, matchId, _options) {
404
407
  var _a;
405
408
  return __awaiter(this, void 0, void 0, function () {
406
409
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -415,6 +418,9 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
415
418
  .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
416
419
  requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
417
420
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
421
+ if (matchId !== undefined) {
422
+ requestContext.setQueryParam("match_id", ObjectSerializer_1.ObjectSerializer.serialize(matchId, "string", ""));
423
+ }
418
424
  authMethod = _config.authMethods["APIKey"];
419
425
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
420
426
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -1132,6 +1138,46 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1132
1138
  });
1133
1139
  });
1134
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
+ };
1135
1181
  AnalysesCoreApiRequestFactory.prototype.v3GetAnalysisStrings = function (analysisId, page, pageSize, search, functionSearch, orderBy, sortOrder, _options) {
1136
1182
  var _a;
1137
1183
  return __awaiter(this, void 0, void 0, function () {
@@ -1230,6 +1276,80 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
1230
1276
  });
1231
1277
  });
1232
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
+ };
1233
1353
  AnalysesCoreApiRequestFactory.prototype.v3ListExampleAnalyses = function (_options) {
1234
1354
  var _a;
1235
1355
  return __awaiter(this, void 0, void 0, function () {
@@ -1688,9 +1808,9 @@ var AnalysesCoreApiResponseProcessor = (function () {
1688
1808
  };
1689
1809
  AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchesWithHttpInfo = function (response) {
1690
1810
  return __awaiter(this, void 0, void 0, function () {
1691
- 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;
1692
- return __generator(this, function (_2) {
1693
- switch (_2.label) {
1811
+ 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, body, _0, _1, _2, _3, _4, _5;
1812
+ return __generator(this, function (_6) {
1813
+ switch (_6.label) {
1694
1814
  case 0:
1695
1815
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1696
1816
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -1698,68 +1818,77 @@ var AnalysesCoreApiResponseProcessor = (function () {
1698
1818
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1699
1819
  return [4, response.body.text()];
1700
1820
  case 1:
1701
- body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1821
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
1702
1822
  "GetMatchesOutputBody", ""]);
1703
1823
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1704
1824
  case 2:
1705
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1825
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
1706
1826
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1707
1827
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1708
1828
  return [4, response.body.text()];
1709
1829
  case 3:
1710
- body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1830
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
1711
1831
  "APIError", ""]);
1712
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1832
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
1713
1833
  case 4:
1714
- if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1834
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
1715
1835
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1716
1836
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1717
1837
  return [4, response.body.text()];
1718
1838
  case 5:
1719
- body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1839
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
1720
1840
  "APIError", ""]);
1721
- throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1841
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1722
1842
  case 6:
1723
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1843
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
1724
1844
  _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1725
1845
  _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1726
1846
  return [4, response.body.text()];
1727
1847
  case 7:
1728
- body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1848
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
1729
1849
  "APIError", ""]);
1730
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1850
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1731
1851
  case 8:
1732
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1852
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
1733
1853
  _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1734
1854
  _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1735
1855
  return [4, response.body.text()];
1736
1856
  case 9:
1737
- body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1857
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
1738
1858
  "APIError", ""]);
1739
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1859
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1740
1860
  case 10:
1741
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1861
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
1742
1862
  _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1743
1863
  _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1744
1864
  return [4, response.body.text()];
1745
1865
  case 11:
1746
- body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1866
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
1867
+ "APIError", ""]);
1868
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1869
+ case 12:
1870
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
1871
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
1872
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
1873
+ return [4, response.body.text()];
1874
+ case 13:
1875
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
1747
1876
  "GetMatchesOutputBody", ""]);
1748
1877
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1749
- case 12:
1750
- _0 = exception_1.ApiException.bind;
1751
- _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1878
+ case 14:
1879
+ _4 = exception_1.ApiException.bind;
1880
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1752
1881
  return [4, response.getBodyAsAny()];
1753
- case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1882
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
1754
1883
  }
1755
1884
  });
1756
1885
  });
1757
1886
  };
1758
1887
  AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchingStatusWithHttpInfo = function (response) {
1759
1888
  return __awaiter(this, void 0, void 0, function () {
1760
- 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;
1761
- return __generator(this, function (_2) {
1762
- switch (_2.label) {
1889
+ 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, body, _0, _1, _2, _3, _4, _5;
1890
+ return __generator(this, function (_6) {
1891
+ switch (_6.label) {
1763
1892
  case 0:
1764
1893
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1765
1894
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -1767,59 +1896,68 @@ var AnalysesCoreApiResponseProcessor = (function () {
1767
1896
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1768
1897
  return [4, response.body.text()];
1769
1898
  case 1:
1770
- body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1899
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
1771
1900
  "GetMatchesStatusOutputBody", ""]);
1772
1901
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1773
1902
  case 2:
1774
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1903
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
1775
1904
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1776
1905
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1777
1906
  return [4, response.body.text()];
1778
1907
  case 3:
1779
- body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1908
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
1780
1909
  "APIError", ""]);
1781
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1910
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
1782
1911
  case 4:
1783
- if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1912
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
1784
1913
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1785
1914
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1786
1915
  return [4, response.body.text()];
1787
1916
  case 5:
1788
- body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1917
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
1789
1918
  "APIError", ""]);
1790
- throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1919
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1791
1920
  case 6:
1792
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1921
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
1793
1922
  _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1794
1923
  _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1795
1924
  return [4, response.body.text()];
1796
1925
  case 7:
1797
- body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1926
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
1798
1927
  "APIError", ""]);
1799
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1928
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1800
1929
  case 8:
1801
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1930
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
1802
1931
  _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1803
1932
  _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1804
1933
  return [4, response.body.text()];
1805
1934
  case 9:
1806
- body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1935
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
1807
1936
  "APIError", ""]);
1808
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1937
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1809
1938
  case 10:
1810
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1939
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
1811
1940
  _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1812
1941
  _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1813
1942
  return [4, response.body.text()];
1814
1943
  case 11:
1815
- body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1944
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
1945
+ "APIError", ""]);
1946
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1947
+ case 12:
1948
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
1949
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
1950
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
1951
+ return [4, response.body.text()];
1952
+ case 13:
1953
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
1816
1954
  "GetMatchesStatusOutputBody", ""]);
1817
1955
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1818
- case 12:
1819
- _0 = exception_1.ApiException.bind;
1820
- _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1956
+ case 14:
1957
+ _4 = exception_1.ApiException.bind;
1958
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1821
1959
  return [4, response.getBodyAsAny()];
1822
- case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1960
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
1823
1961
  }
1824
1962
  });
1825
1963
  });
@@ -2511,6 +2649,75 @@ var AnalysesCoreApiResponseProcessor = (function () {
2511
2649
  });
2512
2650
  });
2513
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
+ };
2514
2721
  AnalysesCoreApiResponseProcessor.prototype.v3GetAnalysisStringsWithHttpInfo = function (response) {
2515
2722
  return __awaiter(this, void 0, void 0, function () {
2516
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;
@@ -2649,6 +2856,66 @@ var AnalysesCoreApiResponseProcessor = (function () {
2649
2856
  });
2650
2857
  });
2651
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
+ };
2652
2919
  AnalysesCoreApiResponseProcessor.prototype.v3ListExampleAnalysesWithHttpInfo = function (response) {
2653
2920
  return __awaiter(this, void 0, void 0, function () {
2654
2921
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;