@revengai/sdk 3.88.0 → 3.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +6 -2
  2. package/dist/apis/AnalysesCoreApi.d.ts +4 -4
  3. package/dist/apis/AnalysesCoreApi.js +222 -222
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/CollectionsApi.d.ts +4 -0
  6. package/dist/apis/CollectionsApi.js +98 -0
  7. package/dist/apis/CollectionsApi.js.map +1 -1
  8. package/dist/models/Binary.d.ts +26 -0
  9. package/dist/models/Binary.js +59 -0
  10. package/dist/models/Binary.js.map +1 -0
  11. package/dist/models/CreateCollectionInputBody.d.ts +32 -0
  12. package/dist/models/CreateCollectionInputBody.js +61 -0
  13. package/dist/models/CreateCollectionInputBody.js.map +1 -0
  14. package/dist/models/CreateCollectionOutputBody.d.ts +31 -0
  15. package/dist/models/CreateCollectionOutputBody.js +83 -0
  16. package/dist/models/CreateCollectionOutputBody.js.map +1 -0
  17. package/dist/models/GetSubscriptionOutputBody.d.ts +1 -1
  18. package/dist/models/GetSubscriptionOutputBody.js +1 -1
  19. package/dist/models/GetSubscriptionOutputBody.js.map +1 -1
  20. package/dist/models/ObjectSerializer.d.ts +3 -0
  21. package/dist/models/ObjectSerializer.js +10 -0
  22. package/dist/models/ObjectSerializer.js.map +1 -1
  23. package/dist/models/all.d.ts +3 -0
  24. package/dist/models/all.js +3 -0
  25. package/dist/models/all.js.map +1 -1
  26. package/dist/types/ObjectParamAPI.d.ts +23 -16
  27. package/dist/types/ObjectParamAPI.js +18 -12
  28. package/dist/types/ObjectParamAPI.js.map +1 -1
  29. package/dist/types/ObservableAPI.d.ts +8 -4
  30. package/dist/types/ObservableAPI.js +400 -372
  31. package/dist/types/ObservableAPI.js.map +1 -1
  32. package/dist/types/PromiseAPI.d.ts +8 -4
  33. package/dist/types/PromiseAPI.js +30 -20
  34. package/dist/types/PromiseAPI.js.map +1 -1
  35. package/package.json +1 -1
package/README.md CHANGED
@@ -73,8 +73,6 @@ Class | Method | HTTP request | Description
73
73
  *AnalysesCoreApi* | [**getAnalysisParams**](docs/AnalysesCoreApi.md#getAnalysisParams) | **GET** /v2/analyses/{analysis_id}/params | Gets analysis param information
74
74
  *AnalysesCoreApi* | [**getAnalysisQueuePosition**](docs/AnalysesCoreApi.md#getAnalysisQueuePosition) | **GET** /v2/analyses/{analysis_id}/queue-position | Get the queue position of an analysis
75
75
  *AnalysesCoreApi* | [**getAnalysisStatus**](docs/AnalysesCoreApi.md#getAnalysisStatus) | **GET** /v2/analyses/{analysis_id}/status | Gets the status of an analysis
76
- *AnalysesCoreApi* | [**getAnalysisStrings**](docs/AnalysesCoreApi.md#getAnalysisStrings) | **GET** /v3/analyses/{analysis_id}/functions/strings | List strings for an analysis.
77
- *AnalysesCoreApi* | [**getAnalysisStringsStatus**](docs/AnalysesCoreApi.md#getAnalysisStringsStatus) | **GET** /v3/analyses/{analysis_id}/functions/strings/status | Get the string-extraction status for an analysis.
78
76
  *AnalysesCoreApi* | [**insertAnalysisLog**](docs/AnalysesCoreApi.md#insertAnalysisLog) | **POST** /v2/analyses/{analysis_id}/logs | Insert a log entry for an analysis
79
77
  *AnalysesCoreApi* | [**listAnalyses**](docs/AnalysesCoreApi.md#listAnalyses) | **GET** /v2/analyses/list | Gets the most recent analyses
80
78
  *AnalysesCoreApi* | [**lookupBinaryId**](docs/AnalysesCoreApi.md#lookupBinaryId) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
@@ -83,6 +81,8 @@ Class | Method | HTTP request | Description
83
81
  *AnalysesCoreApi* | [**updateAnalysis**](docs/AnalysesCoreApi.md#updateAnalysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis
84
82
  *AnalysesCoreApi* | [**updateAnalysisTags**](docs/AnalysesCoreApi.md#updateAnalysisTags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags
85
83
  *AnalysesCoreApi* | [**uploadFile**](docs/AnalysesCoreApi.md#uploadFile) | **POST** /v2/upload | Upload File
84
+ *AnalysesCoreApi* | [**v3GetAnalysisStrings**](docs/AnalysesCoreApi.md#v3GetAnalysisStrings) | **GET** /v3/analyses/{analysis_id}/functions/strings | List strings for an analysis.
85
+ *AnalysesCoreApi* | [**v3GetAnalysisStringsStatus**](docs/AnalysesCoreApi.md#v3GetAnalysisStringsStatus) | **GET** /v3/analyses/{analysis_id}/functions/strings/status | Get the string-extraction status for an analysis.
86
86
  *AnalysesResultsMetadataApi* | [**getAnalysisFunctionsPaginated**](docs/AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
87
87
  *AnalysesResultsMetadataApi* | [**getCapabilities**](docs/AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
88
88
  *AnalysesResultsMetadataApi* | [**getFunctionsList**](docs/AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
@@ -104,6 +104,7 @@ Class | Method | HTTP request | Description
104
104
  *BinariesApi* | [**getBinaryRelatedStatus**](docs/BinariesApi.md#getBinaryRelatedStatus) | **GET** /v2/binaries/{binary_id}/related/status | Gets the status of the unpack binary task for a binary
105
105
  *BinariesApi* | [**getRelatedBinaries**](docs/BinariesApi.md#getRelatedBinaries) | **GET** /v2/binaries/{binary_id}/related | Gets the related binaries of a binary.
106
106
  *CollectionsApi* | [**createCollection**](docs/CollectionsApi.md#createCollection) | **POST** /v2/collections | Creates new collection information
107
+ *CollectionsApi* | [**createCollection_0**](docs/CollectionsApi.md#createCollection_0) | **POST** /v3/collections | Create a collection.
107
108
  *CollectionsApi* | [**deleteCollection**](docs/CollectionsApi.md#deleteCollection) | **DELETE** /v2/collections/{collection_id} | Deletes a collection
108
109
  *CollectionsApi* | [**getCollection**](docs/CollectionsApi.md#getCollection) | **GET** /v2/collections/{collection_id} | Returns a collection
109
110
  *CollectionsApi* | [**listCollections**](docs/CollectionsApi.md#listCollections) | **GET** /v2/collections | Gets basic collections information
@@ -311,6 +312,7 @@ Class | Method | HTTP request | Description
311
312
  - [BatchRenameOutputBody](BatchRenameOutputBody.md)
312
313
  - [BinariesRelatedStatusResponse](BinariesRelatedStatusResponse.md)
313
314
  - [BinariesTaskStatus](BinariesTaskStatus.md)
315
+ - [Binary](Binary.md)
314
316
  - [BinaryAdditionalDetailsDataResponse](BinaryAdditionalDetailsDataResponse.md)
315
317
  - [BinaryAdditionalResponse](BinaryAdditionalResponse.md)
316
318
  - [BinaryConfig](BinaryConfig.md)
@@ -353,6 +355,8 @@ Class | Method | HTTP request | Description
353
355
  - [ConversationWithEvents](ConversationWithEvents.md)
354
356
  - [CreateAIDecompOutputBody](CreateAIDecompOutputBody.md)
355
357
  - [CreateCheckoutSessionInputBody](CreateCheckoutSessionInputBody.md)
358
+ - [CreateCollectionInputBody](CreateCollectionInputBody.md)
359
+ - [CreateCollectionOutputBody](CreateCollectionOutputBody.md)
356
360
  - [CreateConversationRequest](CreateConversationRequest.md)
357
361
  - [CreatePortalSessionInputBody](CreatePortalSessionInputBody.md)
358
362
  - [Created](Created.md)
@@ -44,8 +44,6 @@ export declare class AnalysesCoreApiRequestFactory extends BaseAPIRequestFactory
44
44
  getAnalysisParams(analysisId: number, _options?: Configuration): Promise<RequestContext>;
45
45
  getAnalysisQueuePosition(analysisId: number, _options?: Configuration): Promise<RequestContext>;
46
46
  getAnalysisStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
47
- getAnalysisStrings(analysisId: number, page?: number, pageSize?: number, search?: string, functionSearch?: string, orderBy?: 'value' | 'length', sortOrder?: 'ASC' | 'DESC', _options?: Configuration): Promise<RequestContext>;
48
- getAnalysisStringsStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
49
47
  insertAnalysisLog(analysisId: number, insertAnalysisLogRequest: InsertAnalysisLogRequest, _options?: Configuration): Promise<RequestContext>;
50
48
  listAnalyses(searchTerm?: string, workspace?: Array<Workspace>, status?: Array<StatusInput>, modelName?: Array<ModelName>, dynamicExecutionStatus?: DynamicExecutionStatus, usernames?: Array<string>, sha256Hash?: string, limit?: number, offset?: number, orderBy?: AppApiRestV2AnalysesEnumsOrderBy, order?: Order, _options?: Configuration): Promise<RequestContext>;
51
49
  lookupBinaryId(binaryId: number, _options?: Configuration): Promise<RequestContext>;
@@ -54,6 +52,8 @@ export declare class AnalysesCoreApiRequestFactory extends BaseAPIRequestFactory
54
52
  updateAnalysis(analysisId: number, analysisUpdateRequest: AnalysisUpdateRequest, _options?: Configuration): Promise<RequestContext>;
55
53
  updateAnalysisTags(analysisId: number, analysisUpdateTagsRequest: AnalysisUpdateTagsRequest, _options?: Configuration): Promise<RequestContext>;
56
54
  uploadFile(uploadFileType: UploadFileType, file: HttpFile, packedPassword?: string, forceOverwrite?: boolean, _options?: Configuration): Promise<RequestContext>;
55
+ v3GetAnalysisStrings(analysisId: number, page?: number, pageSize?: number, search?: string, functionSearch?: string, orderBy?: 'value' | 'length', sortOrder?: 'ASC' | 'DESC', _options?: Configuration): Promise<RequestContext>;
56
+ v3GetAnalysisStringsStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
57
57
  }
58
58
  export declare class AnalysesCoreApiResponseProcessor {
59
59
  addUserStringToAnalysisWithHttpInfo(response: ResponseContext): Promise<HttpInfo<{
@@ -69,8 +69,6 @@ export declare class AnalysesCoreApiResponseProcessor {
69
69
  getAnalysisParamsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseParams>>;
70
70
  getAnalysisQueuePositionWithHttpInfo(response: ResponseContext): Promise<HttpInfo<QueuePositionResponse>>;
71
71
  getAnalysisStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseStatus>>;
72
- getAnalysisStringsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListAnalysisStringsOutputBody>>;
73
- getAnalysisStringsStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<GetAnalysisStringsStatusOutputBody>>;
74
72
  insertAnalysisLogWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponse>>;
75
73
  listAnalysesWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseRecent>>;
76
74
  lookupBinaryIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
@@ -79,4 +77,6 @@ export declare class AnalysesCoreApiResponseProcessor {
79
77
  updateAnalysisWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisDetailResponse>>;
80
78
  updateAnalysisTagsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisUpdateTagsResponse>>;
81
79
  uploadFileWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseUploadResponse>>;
80
+ v3GetAnalysisStringsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<ListAnalysisStringsOutputBody>>;
81
+ v3GetAnalysisStringsStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<GetAnalysisStringsStatusOutputBody>>;
82
82
  }
@@ -443,90 +443,6 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
443
443
  });
444
444
  });
445
445
  };
446
- AnalysesCoreApiRequestFactory.prototype.getAnalysisStrings = function (analysisId, page, pageSize, search, functionSearch, orderBy, sortOrder, _options) {
447
- var _a;
448
- return __awaiter(this, void 0, void 0, function () {
449
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
450
- return __generator(this, function (_b) {
451
- switch (_b.label) {
452
- case 0:
453
- _config = _options || this.configuration;
454
- if (analysisId === null || analysisId === undefined) {
455
- throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisStrings", "analysisId");
456
- }
457
- localVarPath = '/v3/analyses/{analysis_id}/functions/strings'
458
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
459
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
460
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
461
- if (page !== undefined) {
462
- requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int64"));
463
- }
464
- if (pageSize !== undefined) {
465
- requestContext.setQueryParam("page_size", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"));
466
- }
467
- if (search !== undefined) {
468
- requestContext.setQueryParam("search", ObjectSerializer_1.ObjectSerializer.serialize(search, "string", ""));
469
- }
470
- if (functionSearch !== undefined) {
471
- requestContext.setQueryParam("function_search", ObjectSerializer_1.ObjectSerializer.serialize(functionSearch, "string", ""));
472
- }
473
- if (orderBy !== undefined) {
474
- requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "'value' | 'length'", ""));
475
- }
476
- if (sortOrder !== undefined) {
477
- requestContext.setQueryParam("sort_order", ObjectSerializer_1.ObjectSerializer.serialize(sortOrder, "'ASC' | 'DESC'", ""));
478
- }
479
- authMethod = _config.authMethods["APIKey"];
480
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
481
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
482
- case 1:
483
- _b.sent();
484
- _b.label = 2;
485
- case 2:
486
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
487
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
488
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
489
- case 3:
490
- _b.sent();
491
- _b.label = 4;
492
- case 4: return [2, requestContext];
493
- }
494
- });
495
- });
496
- };
497
- AnalysesCoreApiRequestFactory.prototype.getAnalysisStringsStatus = function (analysisId, _options) {
498
- var _a;
499
- return __awaiter(this, void 0, void 0, function () {
500
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
501
- return __generator(this, function (_b) {
502
- switch (_b.label) {
503
- case 0:
504
- _config = _options || this.configuration;
505
- if (analysisId === null || analysisId === undefined) {
506
- throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisStringsStatus", "analysisId");
507
- }
508
- localVarPath = '/v3/analyses/{analysis_id}/functions/strings/status'
509
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
510
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
511
- requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
512
- authMethod = _config.authMethods["APIKey"];
513
- if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
514
- return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
515
- case 1:
516
- _b.sent();
517
- _b.label = 2;
518
- case 2:
519
- defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
520
- if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
521
- return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
522
- case 3:
523
- _b.sent();
524
- _b.label = 4;
525
- case 4: return [2, requestContext];
526
- }
527
- });
528
- });
529
- };
530
446
  AnalysesCoreApiRequestFactory.prototype.insertAnalysisLog = function (analysisId, insertAnalysisLogRequest, _options) {
531
447
  var _a;
532
448
  return __awaiter(this, void 0, void 0, function () {
@@ -914,6 +830,90 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
914
830
  });
915
831
  });
916
832
  };
833
+ AnalysesCoreApiRequestFactory.prototype.v3GetAnalysisStrings = function (analysisId, page, pageSize, search, functionSearch, orderBy, sortOrder, _options) {
834
+ var _a;
835
+ return __awaiter(this, void 0, void 0, function () {
836
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
837
+ return __generator(this, function (_b) {
838
+ switch (_b.label) {
839
+ case 0:
840
+ _config = _options || this.configuration;
841
+ if (analysisId === null || analysisId === undefined) {
842
+ throw new baseapi_1.RequiredError("AnalysesCoreApi", "v3GetAnalysisStrings", "analysisId");
843
+ }
844
+ localVarPath = '/v3/analyses/{analysis_id}/functions/strings'
845
+ .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
846
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
847
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
848
+ if (page !== undefined) {
849
+ requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int64"));
850
+ }
851
+ if (pageSize !== undefined) {
852
+ requestContext.setQueryParam("page_size", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"));
853
+ }
854
+ if (search !== undefined) {
855
+ requestContext.setQueryParam("search", ObjectSerializer_1.ObjectSerializer.serialize(search, "string", ""));
856
+ }
857
+ if (functionSearch !== undefined) {
858
+ requestContext.setQueryParam("function_search", ObjectSerializer_1.ObjectSerializer.serialize(functionSearch, "string", ""));
859
+ }
860
+ if (orderBy !== undefined) {
861
+ requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "'value' | 'length'", ""));
862
+ }
863
+ if (sortOrder !== undefined) {
864
+ requestContext.setQueryParam("sort_order", ObjectSerializer_1.ObjectSerializer.serialize(sortOrder, "'ASC' | 'DESC'", ""));
865
+ }
866
+ authMethod = _config.authMethods["APIKey"];
867
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
868
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
869
+ case 1:
870
+ _b.sent();
871
+ _b.label = 2;
872
+ case 2:
873
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
874
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
875
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
876
+ case 3:
877
+ _b.sent();
878
+ _b.label = 4;
879
+ case 4: return [2, requestContext];
880
+ }
881
+ });
882
+ });
883
+ };
884
+ AnalysesCoreApiRequestFactory.prototype.v3GetAnalysisStringsStatus = function (analysisId, _options) {
885
+ var _a;
886
+ return __awaiter(this, void 0, void 0, function () {
887
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
888
+ return __generator(this, function (_b) {
889
+ switch (_b.label) {
890
+ case 0:
891
+ _config = _options || this.configuration;
892
+ if (analysisId === null || analysisId === undefined) {
893
+ throw new baseapi_1.RequiredError("AnalysesCoreApi", "v3GetAnalysisStringsStatus", "analysisId");
894
+ }
895
+ localVarPath = '/v3/analyses/{analysis_id}/functions/strings/status'
896
+ .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
897
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
898
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
899
+ authMethod = _config.authMethods["APIKey"];
900
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
901
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
902
+ case 1:
903
+ _b.sent();
904
+ _b.label = 2;
905
+ case 2:
906
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
907
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
908
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
909
+ case 3:
910
+ _b.sent();
911
+ _b.label = 4;
912
+ case 4: return [2, requestContext];
913
+ }
914
+ });
915
+ });
916
+ };
917
917
  return AnalysesCoreApiRequestFactory;
918
918
  }(baseapi_1.BaseAPIRequestFactory));
919
919
  exports.AnalysesCoreApiRequestFactory = AnalysesCoreApiRequestFactory;
@@ -1529,144 +1529,6 @@ var AnalysesCoreApiResponseProcessor = (function () {
1529
1529
  });
1530
1530
  });
1531
1531
  };
1532
- AnalysesCoreApiResponseProcessor.prototype.getAnalysisStringsWithHttpInfo = function (response) {
1533
- return __awaiter(this, void 0, void 0, function () {
1534
- 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;
1535
- return __generator(this, function (_2) {
1536
- switch (_2.label) {
1537
- case 0:
1538
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1539
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1540
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1541
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1542
- return [4, response.body.text()];
1543
- case 1:
1544
- body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1545
- "ListAnalysisStringsOutputBody", ""]);
1546
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1547
- case 2:
1548
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1549
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1550
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1551
- return [4, response.body.text()];
1552
- case 3:
1553
- body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1554
- "APIError", ""]);
1555
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1556
- case 4:
1557
- if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1558
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1559
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1560
- return [4, response.body.text()];
1561
- case 5:
1562
- body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1563
- "APIError", ""]);
1564
- throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1565
- case 6:
1566
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1567
- _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1568
- _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1569
- return [4, response.body.text()];
1570
- case 7:
1571
- body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1572
- "APIError", ""]);
1573
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1574
- case 8:
1575
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1576
- _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1577
- _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1578
- return [4, response.body.text()];
1579
- case 9:
1580
- body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1581
- "APIError", ""]);
1582
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1583
- case 10:
1584
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1585
- _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1586
- _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1587
- return [4, response.body.text()];
1588
- case 11:
1589
- body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1590
- "ListAnalysisStringsOutputBody", ""]);
1591
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1592
- case 12:
1593
- _0 = exception_1.ApiException.bind;
1594
- _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1595
- return [4, response.getBodyAsAny()];
1596
- case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1597
- }
1598
- });
1599
- });
1600
- };
1601
- AnalysesCoreApiResponseProcessor.prototype.getAnalysisStringsStatusWithHttpInfo = function (response) {
1602
- return __awaiter(this, void 0, void 0, function () {
1603
- 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;
1604
- return __generator(this, function (_2) {
1605
- switch (_2.label) {
1606
- case 0:
1607
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1608
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1609
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1610
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1611
- return [4, response.body.text()];
1612
- case 1:
1613
- body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1614
- "GetAnalysisStringsStatusOutputBody", ""]);
1615
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1616
- case 2:
1617
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1618
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1619
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1620
- return [4, response.body.text()];
1621
- case 3:
1622
- body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1623
- "APIError", ""]);
1624
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1625
- case 4:
1626
- if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1627
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1628
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1629
- return [4, response.body.text()];
1630
- case 5:
1631
- body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1632
- "APIError", ""]);
1633
- throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1634
- case 6:
1635
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1636
- _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1637
- _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1638
- return [4, response.body.text()];
1639
- case 7:
1640
- body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1641
- "APIError", ""]);
1642
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1643
- case 8:
1644
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1645
- _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1646
- _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1647
- return [4, response.body.text()];
1648
- case 9:
1649
- body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1650
- "APIError", ""]);
1651
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1652
- case 10:
1653
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1654
- _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1655
- _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1656
- return [4, response.body.text()];
1657
- case 11:
1658
- body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1659
- "GetAnalysisStringsStatusOutputBody", ""]);
1660
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1661
- case 12:
1662
- _0 = exception_1.ApiException.bind;
1663
- _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1664
- return [4, response.getBodyAsAny()];
1665
- case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1666
- }
1667
- });
1668
- });
1669
- };
1670
1532
  AnalysesCoreApiResponseProcessor.prototype.insertAnalysisLogWithHttpInfo = function (response) {
1671
1533
  return __awaiter(this, void 0, void 0, function () {
1672
1534
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
@@ -2021,6 +1883,144 @@ var AnalysesCoreApiResponseProcessor = (function () {
2021
1883
  });
2022
1884
  });
2023
1885
  };
1886
+ AnalysesCoreApiResponseProcessor.prototype.v3GetAnalysisStringsWithHttpInfo = function (response) {
1887
+ return __awaiter(this, void 0, void 0, function () {
1888
+ 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;
1889
+ return __generator(this, function (_2) {
1890
+ switch (_2.label) {
1891
+ case 0:
1892
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1893
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1894
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1895
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1896
+ return [4, response.body.text()];
1897
+ case 1:
1898
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1899
+ "ListAnalysisStringsOutputBody", ""]);
1900
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1901
+ case 2:
1902
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1903
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1904
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1905
+ return [4, response.body.text()];
1906
+ case 3:
1907
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1908
+ "APIError", ""]);
1909
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1910
+ case 4:
1911
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1912
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1913
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1914
+ return [4, response.body.text()];
1915
+ case 5:
1916
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1917
+ "APIError", ""]);
1918
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1919
+ case 6:
1920
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1921
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1922
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1923
+ return [4, response.body.text()];
1924
+ case 7:
1925
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1926
+ "APIError", ""]);
1927
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1928
+ case 8:
1929
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1930
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1931
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1932
+ return [4, response.body.text()];
1933
+ case 9:
1934
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1935
+ "APIError", ""]);
1936
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1937
+ case 10:
1938
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1939
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1940
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1941
+ return [4, response.body.text()];
1942
+ case 11:
1943
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1944
+ "ListAnalysisStringsOutputBody", ""]);
1945
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1946
+ case 12:
1947
+ _0 = exception_1.ApiException.bind;
1948
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1949
+ return [4, response.getBodyAsAny()];
1950
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1951
+ }
1952
+ });
1953
+ });
1954
+ };
1955
+ AnalysesCoreApiResponseProcessor.prototype.v3GetAnalysisStringsStatusWithHttpInfo = function (response) {
1956
+ return __awaiter(this, void 0, void 0, function () {
1957
+ 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;
1958
+ return __generator(this, function (_2) {
1959
+ switch (_2.label) {
1960
+ case 0:
1961
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1962
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1963
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1964
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1965
+ return [4, response.body.text()];
1966
+ case 1:
1967
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1968
+ "GetAnalysisStringsStatusOutputBody", ""]);
1969
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1970
+ case 2:
1971
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1972
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1973
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1974
+ return [4, response.body.text()];
1975
+ case 3:
1976
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1977
+ "APIError", ""]);
1978
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1979
+ case 4:
1980
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1981
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1982
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1983
+ return [4, response.body.text()];
1984
+ case 5:
1985
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1986
+ "APIError", ""]);
1987
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1988
+ case 6:
1989
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1990
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1991
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1992
+ return [4, response.body.text()];
1993
+ case 7:
1994
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1995
+ "APIError", ""]);
1996
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1997
+ case 8:
1998
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1999
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2000
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2001
+ return [4, response.body.text()];
2002
+ case 9:
2003
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
2004
+ "APIError", ""]);
2005
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2006
+ case 10:
2007
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
2008
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2009
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2010
+ return [4, response.body.text()];
2011
+ case 11:
2012
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
2013
+ "GetAnalysisStringsStatusOutputBody", ""]);
2014
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2015
+ case 12:
2016
+ _0 = exception_1.ApiException.bind;
2017
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2018
+ return [4, response.getBodyAsAny()];
2019
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
2020
+ }
2021
+ });
2022
+ });
2023
+ };
2024
2024
  return AnalysesCoreApiResponseProcessor;
2025
2025
  }());
2026
2026
  exports.AnalysesCoreApiResponseProcessor = AnalysesCoreApiResponseProcessor;