@revengai/sdk 3.96.0 → 3.96.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/apis/AnalysesCoreApi.d.ts +10 -0
- package/dist/apis/AnalysesCoreApi.js +324 -0
- package/dist/apis/AnalysesCoreApi.js.map +1 -1
- package/dist/apis/AnalysesResultsMetadataApi.js.map +1 -1
- package/dist/apis/FunctionsCoreApi.d.ts +29 -2
- package/dist/apis/FunctionsCoreApi.js +1123 -152
- package/dist/apis/FunctionsCoreApi.js.map +1 -1
- package/dist/apis/FunctionsDataTypesApi.d.ts +9 -0
- package/dist/apis/FunctionsDataTypesApi.js +327 -0
- package/dist/apis/FunctionsDataTypesApi.js.map +1 -1
- package/dist/models/AnalysisFunctionEntry.d.ts +28 -0
- package/dist/models/AnalysisFunctionEntry.js +71 -0
- package/dist/models/AnalysisFunctionEntry.js.map +1 -0
- package/dist/models/BatchBinaryMatchResult.d.ts +31 -0
- package/dist/models/BatchBinaryMatchResult.js +50 -0
- package/dist/models/BatchBinaryMatchResult.js.map +1 -0
- package/dist/models/BatchMatchingOutputBody.d.ts +30 -0
- package/dist/models/BatchMatchingOutputBody.js +38 -0
- package/dist/models/BatchMatchingOutputBody.js.map +1 -0
- package/dist/models/CallEdge.d.ts +27 -0
- package/dist/models/CallEdge.js +65 -0
- package/dist/models/CallEdge.js.map +1 -0
- package/dist/models/CallEdgesOutputBody.d.ts +21 -0
- package/dist/models/CallEdgesOutputBody.js +23 -0
- package/dist/models/CallEdgesOutputBody.js.map +1 -0
- package/dist/models/CapabilitiesOutputBody.d.ts +21 -0
- package/dist/models/CapabilitiesOutputBody.js +23 -0
- package/dist/models/CapabilitiesOutputBody.js.map +1 -0
- package/dist/models/CapabilityEntry.d.ts +25 -0
- package/dist/models/CapabilityEntry.js +53 -0
- package/dist/models/CapabilityEntry.js.map +1 -0
- package/dist/models/DataTypesEntry.d.ts +22 -0
- package/dist/models/DataTypesEntry.js +29 -0
- package/dist/models/DataTypesEntry.js.map +1 -0
- package/dist/models/DisassemblyOutputBody.d.ts +25 -0
- package/dist/models/DisassemblyOutputBody.js +53 -0
- package/dist/models/DisassemblyOutputBody.js.map +1 -0
- package/dist/models/ErrorBody.d.ts +1 -0
- package/dist/models/ErrorBody.js +1 -0
- package/dist/models/ErrorBody.js.map +1 -1
- package/dist/models/FunctionArgument.d.ts +25 -0
- package/dist/models/FunctionArgument.js +53 -0
- package/dist/models/FunctionArgument.js.map +1 -0
- package/dist/models/FunctionCallEdges.d.ts +23 -0
- package/dist/models/FunctionCallEdges.js +35 -0
- package/dist/models/FunctionCallEdges.js.map +1 -0
- package/dist/models/FunctionDependency.d.ts +27 -0
- package/dist/models/FunctionDependency.js +65 -0
- package/dist/models/FunctionDependency.js.map +1 -0
- package/dist/models/FunctionDetailsOutputBody.d.ts +28 -0
- package/dist/models/FunctionDetailsOutputBody.js +71 -0
- package/dist/models/FunctionDetailsOutputBody.js.map +1 -0
- package/dist/models/FunctionStackVariable.d.ts +26 -0
- package/dist/models/FunctionStackVariable.js +59 -0
- package/dist/models/FunctionStackVariable.js.map +1 -0
- package/dist/models/GetMatchesOutputBody.d.ts +30 -0
- package/dist/models/GetMatchesOutputBody.js +38 -0
- package/dist/models/GetMatchesOutputBody.js.map +1 -0
- package/dist/models/GetMatchesStatusOutputBody.d.ts +33 -0
- package/dist/models/GetMatchesStatusOutputBody.js +56 -0
- package/dist/models/GetMatchesStatusOutputBody.js.map +1 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.d.ts +22 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js +29 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js.map +1 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.d.ts +22 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.js +29 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.js.map +1 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.d.ts +21 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.js +23 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.js.map +1 -0
- package/dist/models/MatchFilters.d.ts +24 -0
- package/dist/models/MatchFilters.js +47 -0
- package/dist/models/MatchFilters.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +24 -0
- package/dist/models/ObjectSerializer.js +77 -0
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/StartBatchMatchingInputBody.d.ts +23 -0
- package/dist/models/StartBatchMatchingInputBody.js +41 -0
- package/dist/models/StartBatchMatchingInputBody.js.map +1 -0
- package/dist/models/StartMatchingForAnalysisInputBody.d.ts +23 -0
- package/dist/models/StartMatchingForAnalysisInputBody.js +35 -0
- package/dist/models/StartMatchingForAnalysisInputBody.js.map +1 -0
- package/dist/models/StartMatchingForFunctionsInputBody.d.ts +24 -0
- package/dist/models/StartMatchingForFunctionsInputBody.js +41 -0
- package/dist/models/StartMatchingForFunctionsInputBody.js.map +1 -0
- package/dist/models/StartMatchingOutputBody.d.ts +33 -0
- package/dist/models/StartMatchingOutputBody.js +56 -0
- package/dist/models/StartMatchingOutputBody.js.map +1 -0
- package/dist/models/all.d.ts +24 -0
- package/dist/models/all.js +24 -0
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +96 -2
- package/dist/types/ObjectParamAPI.js +94 -4
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +45 -2
- package/dist/types/ObservableAPI.js +914 -494
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +45 -2
- package/dist/types/PromiseAPI.js +154 -4
- package/dist/types/PromiseAPI.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,6 +69,8 @@ Class | Method | HTTP request | Description
|
|
|
69
69
|
*AnalysesCoreApi* | [**getAnalysisBasicInfo_0**](docs/AnalysesCoreApi.md#getAnalysisBasicInfo_0) | **GET** /v3/analyses/{analysis_id}/basic | Get basic analysis information
|
|
70
70
|
*AnalysesCoreApi* | [**getAnalysisBytes**](docs/AnalysesCoreApi.md#getAnalysisBytes) | **GET** /v3/analyses/{analysis_id}/bytes | Get the bytes of a binary
|
|
71
71
|
*AnalysesCoreApi* | [**getAnalysisFunctionMap**](docs/AnalysesCoreApi.md#getAnalysisFunctionMap) | **GET** /v2/analyses/{analysis_id}/func_maps | Get Analysis Function Map
|
|
72
|
+
*AnalysesCoreApi* | [**getAnalysisFunctionMatches**](docs/AnalysesCoreApi.md#getAnalysisFunctionMatches) | **GET** /v3/analyses/{analysis_id}/functions/matches | Get function-matching results for an analysis
|
|
73
|
+
*AnalysesCoreApi* | [**getAnalysisFunctionMatchingStatus**](docs/AnalysesCoreApi.md#getAnalysisFunctionMatchingStatus) | **GET** /v3/analyses/{analysis_id}/functions/matches/status | Get function-matching status for an analysis
|
|
72
74
|
*AnalysesCoreApi* | [**getAnalysisLogs**](docs/AnalysesCoreApi.md#getAnalysisLogs) | **GET** /v2/analyses/{analysis_id}/logs | Gets the logs of an analysis
|
|
73
75
|
*AnalysesCoreApi* | [**getAnalysisParams**](docs/AnalysesCoreApi.md#getAnalysisParams) | **GET** /v2/analyses/{analysis_id}/params | Gets analysis param information
|
|
74
76
|
*AnalysesCoreApi* | [**getAnalysisStatus**](docs/AnalysesCoreApi.md#getAnalysisStatus) | **GET** /v2/analyses/{analysis_id}/status | Gets the status of an analysis
|
|
@@ -79,6 +81,7 @@ Class | Method | HTTP request | Description
|
|
|
79
81
|
*AnalysesCoreApi* | [**lookupBinaryId**](docs/AnalysesCoreApi.md#lookupBinaryId) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
|
|
80
82
|
*AnalysesCoreApi* | [**putAnalysisStrings**](docs/AnalysesCoreApi.md#putAnalysisStrings) | **PUT** /v2/analyses/{analysis_id}/strings | Add strings to the analysis
|
|
81
83
|
*AnalysesCoreApi* | [**requeueAnalysis**](docs/AnalysesCoreApi.md#requeueAnalysis) | **POST** /v2/analyses/{analysis_id}/requeue | Requeue Analysis
|
|
84
|
+
*AnalysesCoreApi* | [**startAnalysisFunctionMatching**](docs/AnalysesCoreApi.md#startAnalysisFunctionMatching) | **POST** /v3/analyses/{analysis_id}/functions/matches | Start function matching for an analysis
|
|
82
85
|
*AnalysesCoreApi* | [**updateAnalysis**](docs/AnalysesCoreApi.md#updateAnalysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis
|
|
83
86
|
*AnalysesCoreApi* | [**updateAnalysisTags**](docs/AnalysesCoreApi.md#updateAnalysisTags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags
|
|
84
87
|
*AnalysesCoreApi* | [**uploadFile**](docs/AnalysesCoreApi.md#uploadFile) | **POST** /v2/upload | Upload File
|
|
@@ -158,18 +161,30 @@ Class | Method | HTTP request | Description
|
|
|
158
161
|
*FunctionsCoreApi* | [**getAnalysisStrings**](docs/FunctionsCoreApi.md#getAnalysisStrings) | **GET** /v2/analyses/{analysis_id}/functions/strings | Get string information found in the Analysis
|
|
159
162
|
*FunctionsCoreApi* | [**getAnalysisStringsStatus**](docs/FunctionsCoreApi.md#getAnalysisStringsStatus) | **GET** /v2/analyses/{analysis_id}/functions/strings/status | Get string processing state for the Analysis
|
|
160
163
|
*FunctionsCoreApi* | [**getFunctionBlocks**](docs/FunctionsCoreApi.md#getFunctionBlocks) | **GET** /v2/functions/{function_id}/blocks | Get disassembly blocks related to the function
|
|
164
|
+
*FunctionsCoreApi* | [**getFunctionBlocks_0**](docs/FunctionsCoreApi.md#getFunctionBlocks_0) | **GET** /v3/functions/{function_id}/blocks | Get function disassembly
|
|
161
165
|
*FunctionsCoreApi* | [**getFunctionCalleesCallers**](docs/FunctionsCoreApi.md#getFunctionCalleesCallers) | **GET** /v2/functions/{function_id}/callees_callers | Get list of functions that call or are called by the specified function
|
|
162
166
|
*FunctionsCoreApi* | [**getFunctionCalleesCallersBulk**](docs/FunctionsCoreApi.md#getFunctionCalleesCallersBulk) | **GET** /v2/functions/callees_callers | Get list of functions that call or are called for a list of functions
|
|
167
|
+
*FunctionsCoreApi* | [**getFunctionCalleesCallers_0**](docs/FunctionsCoreApi.md#getFunctionCalleesCallers_0) | **GET** /v3/functions/{function_id}/callees-callers | Get callees and callers for a function
|
|
163
168
|
*FunctionsCoreApi* | [**getFunctionCapabilities**](docs/FunctionsCoreApi.md#getFunctionCapabilities) | **GET** /v2/functions/{function_id}/capabilities | Retrieve a functions capabilities
|
|
169
|
+
*FunctionsCoreApi* | [**getFunctionCapabilities_0**](docs/FunctionsCoreApi.md#getFunctionCapabilities_0) | **GET** /v3/functions/{function_id}/capabilities | Get capabilities for a function
|
|
164
170
|
*FunctionsCoreApi* | [**getFunctionDetails**](docs/FunctionsCoreApi.md#getFunctionDetails) | **GET** /v2/functions/{function_id} | Get function details
|
|
171
|
+
*FunctionsCoreApi* | [**getFunctionDetails_0**](docs/FunctionsCoreApi.md#getFunctionDetails_0) | **GET** /v3/functions/{function_id} | Get function details
|
|
165
172
|
*FunctionsCoreApi* | [**getFunctionStrings**](docs/FunctionsCoreApi.md#getFunctionStrings) | **GET** /v2/functions/{function_id}/strings | Get string information found in the function
|
|
166
173
|
*FunctionsCoreApi* | [**getFunctionStrings_0**](docs/FunctionsCoreApi.md#getFunctionStrings_0) | **GET** /v3/functions/{function_id}/strings | List strings for a function.
|
|
174
|
+
*FunctionsCoreApi* | [**getFunctionsCalleesCallers**](docs/FunctionsCoreApi.md#getFunctionsCalleesCallers) | **GET** /v3/functions/callees-callers | Get callees and callers for many functions
|
|
175
|
+
*FunctionsCoreApi* | [**getFunctionsMatches**](docs/FunctionsCoreApi.md#getFunctionsMatches) | **GET** /v3/functions/matches | Get function-matching results for an explicit set of functions
|
|
176
|
+
*FunctionsCoreApi* | [**getFunctionsMatchingStatus**](docs/FunctionsCoreApi.md#getFunctionsMatchingStatus) | **GET** /v3/functions/matches/status | Get function-matching status for an explicit set of functions
|
|
177
|
+
*FunctionsCoreApi* | [**listAnalysisFunctions**](docs/FunctionsCoreApi.md#listAnalysisFunctions) | **GET** /v3/analyses/{analysis_id}/functions | List functions in an analysis
|
|
178
|
+
*FunctionsCoreApi* | [**startFunctionsMatching**](docs/FunctionsCoreApi.md#startFunctionsMatching) | **POST** /v3/functions/matches | Start function matching for an explicit set of functions
|
|
167
179
|
*FunctionsDataTypesApi* | [**batchUpdateFunctionDataTypes**](docs/FunctionsDataTypesApi.md#batchUpdateFunctionDataTypes) | **PUT** /v3/analyses/{analysis_id}/functions/data-types | Batch update function data types
|
|
168
180
|
*FunctionsDataTypesApi* | [**generateFunctionDataTypesForAnalysis**](docs/FunctionsDataTypesApi.md#generateFunctionDataTypesForAnalysis) | **POST** /v2/analyses/{analysis_id}/functions/data_types | Generate Function Data Types
|
|
169
181
|
*FunctionsDataTypesApi* | [**generateFunctionDataTypesForFunctions**](docs/FunctionsDataTypesApi.md#generateFunctionDataTypesForFunctions) | **POST** /v2/functions/data_types | Generate Function Data Types for an arbitrary list of functions
|
|
170
182
|
*FunctionsDataTypesApi* | [**getFunctionDataTypes**](docs/FunctionsDataTypesApi.md#getFunctionDataTypes) | **GET** /v2/analyses/{analysis_id}/functions/{function_id}/data_types | Get Function Data Types
|
|
183
|
+
*FunctionsDataTypesApi* | [**getFunctionDataTypes_0**](docs/FunctionsDataTypesApi.md#getFunctionDataTypes_0) | **GET** /v3/analyses/{analysis_id}/functions/{function_id}/data-types | Get data types for a single function
|
|
184
|
+
*FunctionsDataTypesApi* | [**listAnalysisFunctionsDataTypes**](docs/FunctionsDataTypesApi.md#listAnalysisFunctionsDataTypes) | **GET** /v3/analyses/{analysis_id}/functions/data-types | List data types for all functions in an analysis
|
|
171
185
|
*FunctionsDataTypesApi* | [**listFunctionDataTypesForAnalysis**](docs/FunctionsDataTypesApi.md#listFunctionDataTypesForAnalysis) | **GET** /v2/analyses/{analysis_id}/functions/data_types | List Function Data Types
|
|
172
186
|
*FunctionsDataTypesApi* | [**listFunctionDataTypesForFunctions**](docs/FunctionsDataTypesApi.md#listFunctionDataTypesForFunctions) | **GET** /v2/functions/data_types | List Function Data Types
|
|
187
|
+
*FunctionsDataTypesApi* | [**listFunctionsDataTypes**](docs/FunctionsDataTypesApi.md#listFunctionsDataTypes) | **GET** /v3/functions/data-types | Get data types for many functions
|
|
173
188
|
*FunctionsRenamingHistoryApi* | [**batchRenameFunction**](docs/FunctionsRenamingHistoryApi.md#batchRenameFunction) | **POST** /v2/functions/rename/batch | Batch Rename Functions
|
|
174
189
|
*FunctionsRenamingHistoryApi* | [**batchRenameFunctions**](docs/FunctionsRenamingHistoryApi.md#batchRenameFunctions) | **POST** /v3/functions/rename | Batch rename functions
|
|
175
190
|
*FunctionsRenamingHistoryApi* | [**getFunctionHistory**](docs/FunctionsRenamingHistoryApi.md#getFunctionHistory) | **GET** /v3/functions/{function_id}/history | Get function name history
|
|
@@ -209,6 +224,7 @@ Class | Method | HTTP request | Description
|
|
|
209
224
|
- [AnalysisCreateRequest](AnalysisCreateRequest.md)
|
|
210
225
|
- [AnalysisCreateResponse](AnalysisCreateResponse.md)
|
|
211
226
|
- [AnalysisDetailResponse](AnalysisDetailResponse.md)
|
|
227
|
+
- [AnalysisFunctionEntry](AnalysisFunctionEntry.md)
|
|
212
228
|
- [AnalysisFunctionMapping](AnalysisFunctionMapping.md)
|
|
213
229
|
- [AnalysisFunctionMatchingRequest](AnalysisFunctionMatchingRequest.md)
|
|
214
230
|
- [AnalysisFunctions](AnalysisFunctions.md)
|
|
@@ -307,6 +323,8 @@ Class | Method | HTTP request | Description
|
|
|
307
323
|
- [BaseResponseVulnerabilities](BaseResponseVulnerabilities.md)
|
|
308
324
|
- [BaseResponseXrefResponse](BaseResponseXrefResponse.md)
|
|
309
325
|
- [Basic](Basic.md)
|
|
326
|
+
- [BatchBinaryMatchResult](BatchBinaryMatchResult.md)
|
|
327
|
+
- [BatchMatchingOutputBody](BatchMatchingOutputBody.md)
|
|
310
328
|
- [BatchRenameInputBody](BatchRenameInputBody.md)
|
|
311
329
|
- [BatchRenameItem](BatchRenameItem.md)
|
|
312
330
|
- [BatchRenameOutputBody](BatchRenameOutputBody.md)
|
|
@@ -326,11 +344,15 @@ Class | Method | HTTP request | Description
|
|
|
326
344
|
- [BinarySearchResult](BinarySearchResult.md)
|
|
327
345
|
- [BinaryTaskStatus](BinaryTaskStatus.md)
|
|
328
346
|
- [BulkDeleteAnalysesRequest](BulkDeleteAnalysesRequest.md)
|
|
347
|
+
- [CallEdge](CallEdge.md)
|
|
348
|
+
- [CallEdgesOutputBody](CallEdgesOutputBody.md)
|
|
329
349
|
- [CalleeFunctionInfo](CalleeFunctionInfo.md)
|
|
330
350
|
- [CalleesCallerFunctionsResponse](CalleesCallerFunctionsResponse.md)
|
|
331
351
|
- [CallerFunctionInfo](CallerFunctionInfo.md)
|
|
332
352
|
- [Capabilities](Capabilities.md)
|
|
333
353
|
- [CapabilitiesAgentResponse](CapabilitiesAgentResponse.md)
|
|
354
|
+
- [CapabilitiesOutputBody](CapabilitiesOutputBody.md)
|
|
355
|
+
- [CapabilityEntry](CapabilityEntry.md)
|
|
334
356
|
- [ChildBinariesResponse](ChildBinariesResponse.md)
|
|
335
357
|
- [CodeSignatureModel](CodeSignatureModel.md)
|
|
336
358
|
- [CollectionBinariesUpdateRequest](CollectionBinariesUpdateRequest.md)
|
|
@@ -366,11 +388,13 @@ Class | Method | HTTP request | Description
|
|
|
366
388
|
- [CreateConversationRequest](CreateConversationRequest.md)
|
|
367
389
|
- [CreatePortalSessionInputBody](CreatePortalSessionInputBody.md)
|
|
368
390
|
- [Created](Created.md)
|
|
391
|
+
- [DataTypesEntry](DataTypesEntry.md)
|
|
369
392
|
- [DecompFailedEvent](DecompFailedEvent.md)
|
|
370
393
|
- [DecompFinishedEvent](DecompFinishedEvent.md)
|
|
371
394
|
- [DecompilationCommentContext](DecompilationCommentContext.md)
|
|
372
395
|
- [DecompilationData](DecompilationData.md)
|
|
373
396
|
- [DieMatch](DieMatch.md)
|
|
397
|
+
- [DisassemblyOutputBody](DisassemblyOutputBody.md)
|
|
374
398
|
- [DnsQuery](DnsQuery.md)
|
|
375
399
|
- [DrakvufFileMetadata](DrakvufFileMetadata.md)
|
|
376
400
|
- [DynamicExecutionStatus](DynamicExecutionStatus.md)
|
|
@@ -421,16 +445,20 @@ Class | Method | HTTP request | Description
|
|
|
421
445
|
- [FileHashes](FileHashes.md)
|
|
422
446
|
- [FileMetadata](FileMetadata.md)
|
|
423
447
|
- [Filters](Filters.md)
|
|
448
|
+
- [FunctionArgument](FunctionArgument.md)
|
|
424
449
|
- [FunctionBlockDestinationResponse](FunctionBlockDestinationResponse.md)
|
|
425
450
|
- [FunctionBlockResponse](FunctionBlockResponse.md)
|
|
426
451
|
- [FunctionBlocksResponse](FunctionBlocksResponse.md)
|
|
427
452
|
- [FunctionBoundary](FunctionBoundary.md)
|
|
453
|
+
- [FunctionCallEdges](FunctionCallEdges.md)
|
|
428
454
|
- [FunctionCapabilityResponse](FunctionCapabilityResponse.md)
|
|
429
455
|
- [FunctionDataTypes](FunctionDataTypes.md)
|
|
430
456
|
- [FunctionDataTypesList](FunctionDataTypesList.md)
|
|
431
457
|
- [FunctionDataTypesListItem](FunctionDataTypesListItem.md)
|
|
432
458
|
- [FunctionDataTypesParams](FunctionDataTypesParams.md)
|
|
433
459
|
- [FunctionDataTypesStatus](FunctionDataTypesStatus.md)
|
|
460
|
+
- [FunctionDependency](FunctionDependency.md)
|
|
461
|
+
- [FunctionDetailsOutputBody](FunctionDetailsOutputBody.md)
|
|
434
462
|
- [FunctionHeader](FunctionHeader.md)
|
|
435
463
|
- [FunctionInfo](FunctionInfo.md)
|
|
436
464
|
- [FunctionInfoFuncDepsInner](FunctionInfoFuncDepsInner.md)
|
|
@@ -448,6 +476,7 @@ Class | Method | HTTP request | Description
|
|
|
448
476
|
- [FunctionSearchResponse](FunctionSearchResponse.md)
|
|
449
477
|
- [FunctionSearchResult](FunctionSearchResult.md)
|
|
450
478
|
- [FunctionSourceType](FunctionSourceType.md)
|
|
479
|
+
- [FunctionStackVariable](FunctionStackVariable.md)
|
|
451
480
|
- [FunctionString](FunctionString.md)
|
|
452
481
|
- [FunctionStringItem](FunctionStringItem.md)
|
|
453
482
|
- [FunctionStringsResponse](FunctionStringsResponse.md)
|
|
@@ -462,6 +491,8 @@ Class | Method | HTTP request | Description
|
|
|
462
491
|
- [GetAiDecompilationRatingResponse](GetAiDecompilationRatingResponse.md)
|
|
463
492
|
- [GetAnalysisStringsStatusOutputBody](GetAnalysisStringsStatusOutputBody.md)
|
|
464
493
|
- [GetCollectionOutputBody](GetCollectionOutputBody.md)
|
|
494
|
+
- [GetMatchesOutputBody](GetMatchesOutputBody.md)
|
|
495
|
+
- [GetMatchesStatusOutputBody](GetMatchesStatusOutputBody.md)
|
|
465
496
|
- [GetProductsOutputBody](GetProductsOutputBody.md)
|
|
466
497
|
- [GetPublicUserResponse](GetPublicUserResponse.md)
|
|
467
498
|
- [GetSubscriptionOutputBody](GetSubscriptionOutputBody.md)
|
|
@@ -474,12 +505,16 @@ Class | Method | HTTP request | Description
|
|
|
474
505
|
- [ImportModel](ImportModel.md)
|
|
475
506
|
- [InlineComment](InlineComment.md)
|
|
476
507
|
- [InsertAnalysisLogRequest](InsertAnalysisLogRequest.md)
|
|
508
|
+
- [ListAnalysisFunctionsDataTypesOutputBody](ListAnalysisFunctionsDataTypesOutputBody.md)
|
|
509
|
+
- [ListAnalysisFunctionsOutputBody](ListAnalysisFunctionsOutputBody.md)
|
|
477
510
|
- [ListAnalysisStringsOutputBody](ListAnalysisStringsOutputBody.md)
|
|
478
511
|
- [ListCollectionResults](ListCollectionResults.md)
|
|
479
512
|
- [ListCollectionsOutputBody](ListCollectionsOutputBody.md)
|
|
480
513
|
- [ListFunctionStringsOutputBody](ListFunctionStringsOutputBody.md)
|
|
514
|
+
- [ListFunctionsDataTypesOutputBody](ListFunctionsDataTypesOutputBody.md)
|
|
481
515
|
- [Logs](Logs.md)
|
|
482
516
|
- [MITRETechnique](MITRETechnique.md)
|
|
517
|
+
- [MatchFilters](MatchFilters.md)
|
|
483
518
|
- [MatchedFunction](MatchedFunction.md)
|
|
484
519
|
- [MatchedFunctionSuggestion](MatchedFunctionSuggestion.md)
|
|
485
520
|
- [MemdumpEntry](MemdumpEntry.md)
|
|
@@ -566,6 +601,10 @@ Class | Method | HTTP request | Description
|
|
|
566
601
|
- [SseEventToolCallStartData](SseEventToolCallStartData.md)
|
|
567
602
|
- [SseEventToolConfirmationRequiredData](SseEventToolConfirmationRequiredData.md)
|
|
568
603
|
- [StackVariable](StackVariable.md)
|
|
604
|
+
- [StartBatchMatchingInputBody](StartBatchMatchingInputBody.md)
|
|
605
|
+
- [StartMatchingForAnalysisInputBody](StartMatchingForAnalysisInputBody.md)
|
|
606
|
+
- [StartMatchingForFunctionsInputBody](StartMatchingForFunctionsInputBody.md)
|
|
607
|
+
- [StartMatchingOutputBody](StartMatchingOutputBody.md)
|
|
569
608
|
- [StartupInfo](StartupInfo.md)
|
|
570
609
|
- [StatusInput](StatusInput.md)
|
|
571
610
|
- [StatusOutput](StatusOutput.md)
|
|
@@ -24,12 +24,16 @@ import { BaseResponseUploadResponse } from '../models/BaseResponseUploadResponse
|
|
|
24
24
|
import { DynamicExecutionStatus } from '../models/DynamicExecutionStatus';
|
|
25
25
|
import { DynamicExecutionStatusResponse } from '../models/DynamicExecutionStatusResponse';
|
|
26
26
|
import { GetAnalysisStringsStatusOutputBody } from '../models/GetAnalysisStringsStatusOutputBody';
|
|
27
|
+
import { GetMatchesOutputBody } from '../models/GetMatchesOutputBody';
|
|
28
|
+
import { GetMatchesStatusOutputBody } from '../models/GetMatchesStatusOutputBody';
|
|
27
29
|
import { InsertAnalysisLogRequest } from '../models/InsertAnalysisLogRequest';
|
|
28
30
|
import { ListAnalysisStringsOutputBody } from '../models/ListAnalysisStringsOutputBody';
|
|
29
31
|
import { ModelName } from '../models/ModelName';
|
|
30
32
|
import { Order } from '../models/Order';
|
|
31
33
|
import { PutAnalysisStringsRequest } from '../models/PutAnalysisStringsRequest';
|
|
32
34
|
import { ReAnalysisForm } from '../models/ReAnalysisForm';
|
|
35
|
+
import { StartMatchingForAnalysisInputBody } from '../models/StartMatchingForAnalysisInputBody';
|
|
36
|
+
import { StartMatchingOutputBody } from '../models/StartMatchingOutputBody';
|
|
33
37
|
import { StatusInput } from '../models/StatusInput';
|
|
34
38
|
import { UploadFileType } from '../models/UploadFileType';
|
|
35
39
|
import { Workspace } from '../models/Workspace';
|
|
@@ -41,6 +45,8 @@ export declare class AnalysesCoreApiRequestFactory extends BaseAPIRequestFactory
|
|
|
41
45
|
getAnalysisBasicInfo_1(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
42
46
|
getAnalysisBytes(analysisId: number, page?: number, _options?: Configuration): Promise<RequestContext>;
|
|
43
47
|
getAnalysisFunctionMap(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
48
|
+
getAnalysisFunctionMatches(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
49
|
+
getAnalysisFunctionMatchingStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
44
50
|
getAnalysisLogs(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
45
51
|
getAnalysisParams(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
46
52
|
getAnalysisStatus(analysisId: number, _options?: Configuration): Promise<RequestContext>;
|
|
@@ -51,6 +57,7 @@ export declare class AnalysesCoreApiRequestFactory extends BaseAPIRequestFactory
|
|
|
51
57
|
lookupBinaryId(binaryId: number, _options?: Configuration): Promise<RequestContext>;
|
|
52
58
|
putAnalysisStrings(analysisId: number, putAnalysisStringsRequest: PutAnalysisStringsRequest, _options?: Configuration): Promise<RequestContext>;
|
|
53
59
|
requeueAnalysis(analysisId: number, reAnalysisForm: ReAnalysisForm, xRevEngApplication?: string, _options?: Configuration): Promise<RequestContext>;
|
|
60
|
+
startAnalysisFunctionMatching(analysisId: number, startMatchingForAnalysisInputBody: StartMatchingForAnalysisInputBody, _options?: Configuration): Promise<RequestContext>;
|
|
54
61
|
updateAnalysis(analysisId: number, analysisUpdateRequest: AnalysisUpdateRequest, _options?: Configuration): Promise<RequestContext>;
|
|
55
62
|
updateAnalysisTags(analysisId: number, analysisUpdateTagsRequest: AnalysisUpdateTagsRequest, _options?: Configuration): Promise<RequestContext>;
|
|
56
63
|
uploadFile(uploadFileType: UploadFileType, file: HttpFile, packedPassword?: string, forceOverwrite?: boolean, _options?: Configuration): Promise<RequestContext>;
|
|
@@ -67,6 +74,8 @@ export declare class AnalysesCoreApiResponseProcessor {
|
|
|
67
74
|
getAnalysisBasicInfo_1WithHttpInfo(response: ResponseContext): Promise<HttpInfo<AnalysisBasicInfoOutputBody>>;
|
|
68
75
|
getAnalysisBytesWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void>>;
|
|
69
76
|
getAnalysisFunctionMapWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisFunctionMapping>>;
|
|
77
|
+
getAnalysisFunctionMatchesWithHttpInfo(response: ResponseContext): Promise<HttpInfo<GetMatchesOutputBody>>;
|
|
78
|
+
getAnalysisFunctionMatchingStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<GetMatchesStatusOutputBody>>;
|
|
70
79
|
getAnalysisLogsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseLogs>>;
|
|
71
80
|
getAnalysisParamsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseParams>>;
|
|
72
81
|
getAnalysisStatusWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseStatus>>;
|
|
@@ -77,6 +86,7 @@ export declare class AnalysesCoreApiResponseProcessor {
|
|
|
77
86
|
lookupBinaryIdWithHttpInfo(response: ResponseContext): Promise<HttpInfo<any>>;
|
|
78
87
|
putAnalysisStringsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponse>>;
|
|
79
88
|
requeueAnalysisWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseCreated>>;
|
|
89
|
+
startAnalysisFunctionMatchingWithHttpInfo(response: ResponseContext): Promise<HttpInfo<StartMatchingOutputBody>>;
|
|
80
90
|
updateAnalysisWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisDetailResponse>>;
|
|
81
91
|
updateAnalysisTagsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseAnalysisUpdateTagsResponse>>;
|
|
82
92
|
uploadFileWithHttpInfo(response: ResponseContext): Promise<HttpInfo<BaseResponseUploadResponse>>;
|
|
@@ -311,6 +311,72 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
|
|
|
311
311
|
});
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatches = function (analysisId, _options) {
|
|
315
|
+
var _a;
|
|
316
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
317
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
318
|
+
return __generator(this, function (_b) {
|
|
319
|
+
switch (_b.label) {
|
|
320
|
+
case 0:
|
|
321
|
+
_config = _options || this.configuration;
|
|
322
|
+
if (analysisId === null || analysisId === undefined) {
|
|
323
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisFunctionMatches", "analysisId");
|
|
324
|
+
}
|
|
325
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches'
|
|
326
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
327
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
328
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
329
|
+
authMethod = _config.authMethods["APIKey"];
|
|
330
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
331
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
332
|
+
case 1:
|
|
333
|
+
_b.sent();
|
|
334
|
+
_b.label = 2;
|
|
335
|
+
case 2:
|
|
336
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
337
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
338
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
339
|
+
case 3:
|
|
340
|
+
_b.sent();
|
|
341
|
+
_b.label = 4;
|
|
342
|
+
case 4: return [2, requestContext];
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
};
|
|
347
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatchingStatus = function (analysisId, _options) {
|
|
348
|
+
var _a;
|
|
349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
350
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
351
|
+
return __generator(this, function (_b) {
|
|
352
|
+
switch (_b.label) {
|
|
353
|
+
case 0:
|
|
354
|
+
_config = _options || this.configuration;
|
|
355
|
+
if (analysisId === null || analysisId === undefined) {
|
|
356
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisFunctionMatchingStatus", "analysisId");
|
|
357
|
+
}
|
|
358
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches/status'
|
|
359
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
360
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
361
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
362
|
+
authMethod = _config.authMethods["APIKey"];
|
|
363
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
364
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
365
|
+
case 1:
|
|
366
|
+
_b.sent();
|
|
367
|
+
_b.label = 2;
|
|
368
|
+
case 2:
|
|
369
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
370
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
371
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
372
|
+
case 3:
|
|
373
|
+
_b.sent();
|
|
374
|
+
_b.label = 4;
|
|
375
|
+
case 4: return [2, requestContext];
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
};
|
|
314
380
|
AnalysesCoreApiRequestFactory.prototype.getAnalysisLogs = function (analysisId, _options) {
|
|
315
381
|
var _a;
|
|
316
382
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -714,6 +780,48 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
|
|
|
714
780
|
});
|
|
715
781
|
});
|
|
716
782
|
};
|
|
783
|
+
AnalysesCoreApiRequestFactory.prototype.startAnalysisFunctionMatching = function (analysisId, startMatchingForAnalysisInputBody, _options) {
|
|
784
|
+
var _a;
|
|
785
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
786
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
787
|
+
return __generator(this, function (_b) {
|
|
788
|
+
switch (_b.label) {
|
|
789
|
+
case 0:
|
|
790
|
+
_config = _options || this.configuration;
|
|
791
|
+
if (analysisId === null || analysisId === undefined) {
|
|
792
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "startAnalysisFunctionMatching", "analysisId");
|
|
793
|
+
}
|
|
794
|
+
if (startMatchingForAnalysisInputBody === null || startMatchingForAnalysisInputBody === undefined) {
|
|
795
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "startAnalysisFunctionMatching", "startMatchingForAnalysisInputBody");
|
|
796
|
+
}
|
|
797
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches'
|
|
798
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
799
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
800
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
801
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
802
|
+
"application/json"
|
|
803
|
+
]);
|
|
804
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
805
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(startMatchingForAnalysisInputBody, "StartMatchingForAnalysisInputBody", ""), contentType);
|
|
806
|
+
requestContext.setBody(serializedBody);
|
|
807
|
+
authMethod = _config.authMethods["APIKey"];
|
|
808
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
809
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
810
|
+
case 1:
|
|
811
|
+
_b.sent();
|
|
812
|
+
_b.label = 2;
|
|
813
|
+
case 2:
|
|
814
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
815
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
816
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
817
|
+
case 3:
|
|
818
|
+
_b.sent();
|
|
819
|
+
_b.label = 4;
|
|
820
|
+
case 4: return [2, requestContext];
|
|
821
|
+
}
|
|
822
|
+
});
|
|
823
|
+
});
|
|
824
|
+
};
|
|
717
825
|
AnalysesCoreApiRequestFactory.prototype.updateAnalysis = function (analysisId, analysisUpdateRequest, _options) {
|
|
718
826
|
var _a;
|
|
719
827
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1367,6 +1475,144 @@ var AnalysesCoreApiResponseProcessor = (function () {
|
|
|
1367
1475
|
});
|
|
1368
1476
|
});
|
|
1369
1477
|
};
|
|
1478
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchesWithHttpInfo = function (response) {
|
|
1479
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1480
|
+
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;
|
|
1481
|
+
return __generator(this, function (_2) {
|
|
1482
|
+
switch (_2.label) {
|
|
1483
|
+
case 0:
|
|
1484
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1485
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1486
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1487
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1488
|
+
return [4, response.body.text()];
|
|
1489
|
+
case 1:
|
|
1490
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
1491
|
+
"GetMatchesOutputBody", ""]);
|
|
1492
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1493
|
+
case 2:
|
|
1494
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
1495
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1496
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1497
|
+
return [4, response.body.text()];
|
|
1498
|
+
case 3:
|
|
1499
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
1500
|
+
"APIError", ""]);
|
|
1501
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
1502
|
+
case 4:
|
|
1503
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
1504
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1505
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1506
|
+
return [4, response.body.text()];
|
|
1507
|
+
case 5:
|
|
1508
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
1509
|
+
"APIError", ""]);
|
|
1510
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
1511
|
+
case 6:
|
|
1512
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
1513
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1514
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1515
|
+
return [4, response.body.text()];
|
|
1516
|
+
case 7:
|
|
1517
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
1518
|
+
"APIError", ""]);
|
|
1519
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
1520
|
+
case 8:
|
|
1521
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
1522
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1523
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1524
|
+
return [4, response.body.text()];
|
|
1525
|
+
case 9:
|
|
1526
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
1527
|
+
"APIError", ""]);
|
|
1528
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
1529
|
+
case 10:
|
|
1530
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
1531
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1532
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1533
|
+
return [4, response.body.text()];
|
|
1534
|
+
case 11:
|
|
1535
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
1536
|
+
"GetMatchesOutputBody", ""]);
|
|
1537
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1538
|
+
case 12:
|
|
1539
|
+
_0 = exception_1.ApiException.bind;
|
|
1540
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1541
|
+
return [4, response.getBodyAsAny()];
|
|
1542
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
1543
|
+
}
|
|
1544
|
+
});
|
|
1545
|
+
});
|
|
1546
|
+
};
|
|
1547
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchingStatusWithHttpInfo = function (response) {
|
|
1548
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1549
|
+
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;
|
|
1550
|
+
return __generator(this, function (_2) {
|
|
1551
|
+
switch (_2.label) {
|
|
1552
|
+
case 0:
|
|
1553
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1554
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1555
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1556
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1557
|
+
return [4, response.body.text()];
|
|
1558
|
+
case 1:
|
|
1559
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
1560
|
+
"GetMatchesStatusOutputBody", ""]);
|
|
1561
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1562
|
+
case 2:
|
|
1563
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
1564
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1565
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1566
|
+
return [4, response.body.text()];
|
|
1567
|
+
case 3:
|
|
1568
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
1569
|
+
"APIError", ""]);
|
|
1570
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
1571
|
+
case 4:
|
|
1572
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
1573
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1574
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1575
|
+
return [4, response.body.text()];
|
|
1576
|
+
case 5:
|
|
1577
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
1578
|
+
"APIError", ""]);
|
|
1579
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
1580
|
+
case 6:
|
|
1581
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
1582
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1583
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1584
|
+
return [4, response.body.text()];
|
|
1585
|
+
case 7:
|
|
1586
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
1587
|
+
"APIError", ""]);
|
|
1588
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
1589
|
+
case 8:
|
|
1590
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
1591
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1592
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1593
|
+
return [4, response.body.text()];
|
|
1594
|
+
case 9:
|
|
1595
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
1596
|
+
"APIError", ""]);
|
|
1597
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
1598
|
+
case 10:
|
|
1599
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
1600
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1601
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1602
|
+
return [4, response.body.text()];
|
|
1603
|
+
case 11:
|
|
1604
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
1605
|
+
"GetMatchesStatusOutputBody", ""]);
|
|
1606
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1607
|
+
case 12:
|
|
1608
|
+
_0 = exception_1.ApiException.bind;
|
|
1609
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1610
|
+
return [4, response.getBodyAsAny()];
|
|
1611
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
1612
|
+
}
|
|
1613
|
+
});
|
|
1614
|
+
});
|
|
1615
|
+
};
|
|
1370
1616
|
AnalysesCoreApiResponseProcessor.prototype.getAnalysisLogsWithHttpInfo = function (response) {
|
|
1371
1617
|
return __awaiter(this, void 0, void 0, function () {
|
|
1372
1618
|
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
@@ -1850,6 +2096,84 @@ var AnalysesCoreApiResponseProcessor = (function () {
|
|
|
1850
2096
|
});
|
|
1851
2097
|
});
|
|
1852
2098
|
};
|
|
2099
|
+
AnalysesCoreApiResponseProcessor.prototype.startAnalysisFunctionMatchingWithHttpInfo = function (response) {
|
|
2100
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2101
|
+
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;
|
|
2102
|
+
return __generator(this, function (_6) {
|
|
2103
|
+
switch (_6.label) {
|
|
2104
|
+
case 0:
|
|
2105
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2106
|
+
if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3, 2];
|
|
2107
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2108
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2109
|
+
return [4, response.body.text()];
|
|
2110
|
+
case 1:
|
|
2111
|
+
body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
|
|
2112
|
+
"StartMatchingOutputBody", ""]);
|
|
2113
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
2114
|
+
case 2:
|
|
2115
|
+
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
|
|
2116
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2117
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2118
|
+
return [4, response.body.text()];
|
|
2119
|
+
case 3:
|
|
2120
|
+
body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
|
|
2121
|
+
"APIError", ""]);
|
|
2122
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
|
|
2123
|
+
case 4:
|
|
2124
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
|
|
2125
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2126
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2127
|
+
return [4, response.body.text()];
|
|
2128
|
+
case 5:
|
|
2129
|
+
body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
|
|
2130
|
+
"APIError", ""]);
|
|
2131
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
2132
|
+
case 6:
|
|
2133
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
|
|
2134
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2135
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2136
|
+
return [4, response.body.text()];
|
|
2137
|
+
case 7:
|
|
2138
|
+
body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
|
|
2139
|
+
"APIError", ""]);
|
|
2140
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
2141
|
+
case 8:
|
|
2142
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
|
|
2143
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2144
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2145
|
+
return [4, response.body.text()];
|
|
2146
|
+
case 9:
|
|
2147
|
+
body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
|
|
2148
|
+
"APIError", ""]);
|
|
2149
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
2150
|
+
case 10:
|
|
2151
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
|
|
2152
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2153
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2154
|
+
return [4, response.body.text()];
|
|
2155
|
+
case 11:
|
|
2156
|
+
body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
|
|
2157
|
+
"APIError", ""]);
|
|
2158
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
2159
|
+
case 12:
|
|
2160
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
|
|
2161
|
+
_1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2162
|
+
_3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2163
|
+
return [4, response.body.text()];
|
|
2164
|
+
case 13:
|
|
2165
|
+
body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
|
|
2166
|
+
"StartMatchingOutputBody", ""]);
|
|
2167
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
2168
|
+
case 14:
|
|
2169
|
+
_4 = exception_1.ApiException.bind;
|
|
2170
|
+
_5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
2171
|
+
return [4, response.getBodyAsAny()];
|
|
2172
|
+
case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
|
|
2173
|
+
}
|
|
2174
|
+
});
|
|
2175
|
+
});
|
|
2176
|
+
};
|
|
1853
2177
|
AnalysesCoreApiResponseProcessor.prototype.updateAnalysisWithHttpInfo = function (response) {
|
|
1854
2178
|
return __awaiter(this, void 0, void 0, function () {
|
|
1855
2179
|
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|