@revengai/sdk 2.5.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.
- package/README.md +471 -0
- package/dist/apis/AnalysesCommentsApi.d.ts +20 -0
- package/dist/apis/AnalysesCommentsApi.js +445 -0
- package/dist/apis/AnalysesCommentsApi.js.map +1 -0
- package/dist/apis/AnalysesCoreApi.d.ts +64 -0
- package/dist/apis/AnalysesCoreApi.js +1380 -0
- package/dist/apis/AnalysesCoreApi.js.map +1 -0
- package/dist/apis/AnalysesDynamicExecutionApi.d.ts +27 -0
- package/dist/apis/AnalysesDynamicExecutionApi.js +603 -0
- package/dist/apis/AnalysesDynamicExecutionApi.js.map +1 -0
- package/dist/apis/AnalysesResultsMetadataApi.d.ts +27 -0
- package/dist/apis/AnalysesResultsMetadataApi.js +611 -0
- package/dist/apis/AnalysesResultsMetadataApi.js.map +1 -0
- package/dist/apis/AnalysesSecurityChecksApi.d.ts +16 -0
- package/dist/apis/AnalysesSecurityChecksApi.js +320 -0
- package/dist/apis/AnalysesSecurityChecksApi.js.map +1 -0
- package/dist/apis/AuthenticationUsersApi.d.ts +23 -0
- package/dist/apis/AuthenticationUsersApi.js +445 -0
- package/dist/apis/AuthenticationUsersApi.js.map +1 -0
- package/dist/apis/BinariesApi.d.ts +24 -0
- package/dist/apis/BinariesApi.js +533 -0
- package/dist/apis/BinariesApi.js.map +1 -0
- package/dist/apis/CollectionsApi.d.ts +33 -0
- package/dist/apis/CollectionsApi.js +655 -0
- package/dist/apis/CollectionsApi.js.map +1 -0
- package/dist/apis/ConfidenceApi.d.ts +21 -0
- package/dist/apis/ConfidenceApi.js +393 -0
- package/dist/apis/ConfidenceApi.js.map +1 -0
- package/dist/apis/ExternalSourcesApi.d.ts +22 -0
- package/dist/apis/ExternalSourcesApi.js +560 -0
- package/dist/apis/ExternalSourcesApi.js.map +1 -0
- package/dist/apis/FirmwareApi.d.ts +11 -0
- package/dist/apis/FirmwareApi.js +247 -0
- package/dist/apis/FirmwareApi.js.map +1 -0
- package/dist/apis/FunctionsAIDecompilationApi.d.ts +35 -0
- package/dist/apis/FunctionsAIDecompilationApi.js +880 -0
- package/dist/apis/FunctionsAIDecompilationApi.js.map +1 -0
- package/dist/apis/FunctionsBlockCommentsApi.d.ts +16 -0
- package/dist/apis/FunctionsBlockCommentsApi.js +308 -0
- package/dist/apis/FunctionsBlockCommentsApi.js.map +1 -0
- package/dist/apis/FunctionsCoreApi.d.ts +46 -0
- package/dist/apis/FunctionsCoreApi.js +1150 -0
- package/dist/apis/FunctionsCoreApi.js.map +1 -0
- package/dist/apis/FunctionsDataTypesApi.d.ts +25 -0
- package/dist/apis/FunctionsDataTypesApi.js +565 -0
- package/dist/apis/FunctionsDataTypesApi.js.map +1 -0
- package/dist/apis/FunctionsDecompilationApi.d.ts +29 -0
- package/dist/apis/FunctionsDecompilationApi.js +688 -0
- package/dist/apis/FunctionsDecompilationApi.js.map +1 -0
- package/dist/apis/FunctionsRenamingHistoryApi.d.ts +19 -0
- package/dist/apis/FunctionsRenamingHistoryApi.js +392 -0
- package/dist/apis/FunctionsRenamingHistoryApi.js.map +1 -0
- package/dist/apis/ModelsApi.d.ts +10 -0
- package/dist/apis/ModelsApi.js +145 -0
- package/dist/apis/ModelsApi.js.map +1 -0
- package/dist/apis/SearchApi.d.ts +22 -0
- package/dist/apis/SearchApi.js +454 -0
- package/dist/apis/SearchApi.js.map +1 -0
- package/dist/apis/baseapi.d.ts +18 -0
- package/dist/apis/baseapi.js +46 -0
- package/dist/apis/baseapi.js.map +1 -0
- package/dist/apis/exception.d.ts +10 -0
- package/dist/apis/exception.js +32 -0
- package/dist/apis/exception.js.map +1 -0
- package/dist/auth/auth.d.ts +35 -0
- package/dist/auth/auth.js +29 -0
- package/dist/auth/auth.js.map +1 -0
- package/dist/configuration.d.ts +26 -0
- package/dist/configuration.js +64 -0
- package/dist/configuration.js.map +1 -0
- package/dist/http/http.d.ts +71 -0
- package/dist/http/http.js +268 -0
- package/dist/http/http.js.map +1 -0
- package/dist/http/isomorphic-fetch.d.ts +6 -0
- package/dist/http/isomorphic-fetch.js +35 -0
- package/dist/http/isomorphic-fetch.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +49 -0
- package/dist/index.js.map +1 -0
- package/dist/middleware.d.ts +16 -0
- package/dist/middleware.js +18 -0
- package/dist/middleware.js.map +1 -0
- package/dist/models/ANNFunction.d.ts +28 -0
- package/dist/models/ANNFunction.js +59 -0
- package/dist/models/ANNFunction.js.map +1 -0
- package/dist/models/Addr.d.ts +19 -0
- package/dist/models/Addr.js +16 -0
- package/dist/models/Addr.js.map +1 -0
- package/dist/models/AiDecompilationRating.d.ts +5 -0
- package/dist/models/AiDecompilationRating.js +10 -0
- package/dist/models/AiDecompilationRating.js.map +1 -0
- package/dist/models/AiUnstripRequest.d.ts +20 -0
- package/dist/models/AiUnstripRequest.js +23 -0
- package/dist/models/AiUnstripRequest.js.map +1 -0
- package/dist/models/AnalysisAccessInfo.d.ts +21 -0
- package/dist/models/AnalysisAccessInfo.js +29 -0
- package/dist/models/AnalysisAccessInfo.js.map +1 -0
- package/dist/models/AnalysisConfig.d.ts +28 -0
- package/dist/models/AnalysisConfig.js +59 -0
- package/dist/models/AnalysisConfig.js.map +1 -0
- package/dist/models/AnalysisCreateRequest.d.ts +32 -0
- package/dist/models/AnalysisCreateRequest.js +65 -0
- package/dist/models/AnalysisCreateRequest.js.map +1 -0
- package/dist/models/AnalysisCreateResponse.d.ts +21 -0
- package/dist/models/AnalysisCreateResponse.js +29 -0
- package/dist/models/AnalysisCreateResponse.js.map +1 -0
- package/dist/models/AnalysisDetailResponse.d.ts +36 -0
- package/dist/models/AnalysisDetailResponse.js +101 -0
- package/dist/models/AnalysisDetailResponse.js.map +1 -0
- package/dist/models/AnalysisFunctionMapping.d.ts +21 -0
- package/dist/models/AnalysisFunctionMapping.js +23 -0
- package/dist/models/AnalysisFunctionMapping.js.map +1 -0
- package/dist/models/AnalysisFunctionMatchingRequest.d.ts +25 -0
- package/dist/models/AnalysisFunctionMatchingRequest.js +47 -0
- package/dist/models/AnalysisFunctionMatchingRequest.js.map +1 -0
- package/dist/models/AnalysisFunctions.d.ts +21 -0
- package/dist/models/AnalysisFunctions.js +23 -0
- package/dist/models/AnalysisFunctions.js.map +1 -0
- package/dist/models/AnalysisRecord.d.ts +36 -0
- package/dist/models/AnalysisRecord.js +113 -0
- package/dist/models/AnalysisRecord.js.map +1 -0
- package/dist/models/AnalysisScope.d.ts +4 -0
- package/dist/models/AnalysisScope.js +9 -0
- package/dist/models/AnalysisScope.js.map +1 -0
- package/dist/models/AnalysisStringsResponse.d.ts +22 -0
- package/dist/models/AnalysisStringsResponse.js +29 -0
- package/dist/models/AnalysisStringsResponse.js.map +1 -0
- package/dist/models/AnalysisTags.d.ts +22 -0
- package/dist/models/AnalysisTags.js +29 -0
- package/dist/models/AnalysisTags.js.map +1 -0
- package/dist/models/AnalysisUpdateRequest.d.ts +25 -0
- package/dist/models/AnalysisUpdateRequest.js +34 -0
- package/dist/models/AnalysisUpdateRequest.js.map +1 -0
- package/dist/models/AnalysisUpdateTagsRequest.d.ts +20 -0
- package/dist/models/AnalysisUpdateTagsRequest.js +23 -0
- package/dist/models/AnalysisUpdateTagsRequest.js.map +1 -0
- package/dist/models/AnalysisUpdateTagsResponse.d.ts +21 -0
- package/dist/models/AnalysisUpdateTagsResponse.js +23 -0
- package/dist/models/AnalysisUpdateTagsResponse.js.map +1 -0
- package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.d.ts +6 -0
- package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.js +11 -0
- package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.js.map +1 -0
- package/dist/models/AppApiRestV2AnalysesEnumsOrderBy.d.ts +5 -0
- package/dist/models/AppApiRestV2AnalysesEnumsOrderBy.js +10 -0
- package/dist/models/AppApiRestV2AnalysesEnumsOrderBy.js.map +1 -0
- package/dist/models/AppApiRestV2AnalysesResponsesTagItem.d.ts +22 -0
- package/dist/models/AppApiRestV2AnalysesResponsesTagItem.js +35 -0
- package/dist/models/AppApiRestV2AnalysesResponsesTagItem.js.map +1 -0
- package/dist/models/AppApiRestV2CollectionsEnumsOrderBy.d.ts +8 -0
- package/dist/models/AppApiRestV2CollectionsEnumsOrderBy.js +13 -0
- package/dist/models/AppApiRestV2CollectionsEnumsOrderBy.js.map +1 -0
- package/dist/models/AppApiRestV2FunctionsResponsesFunction.d.ts +21 -0
- package/dist/models/AppApiRestV2FunctionsResponsesFunction.js +29 -0
- package/dist/models/AppApiRestV2FunctionsResponsesFunction.js.map +1 -0
- package/dist/models/AppApiRestV2FunctionsTypesFunction.d.ts +27 -0
- package/dist/models/AppApiRestV2FunctionsTypesFunction.js +65 -0
- package/dist/models/AppApiRestV2FunctionsTypesFunction.js.map +1 -0
- package/dist/models/AppServicesBinaryAnnSchemaTagItem.d.ts +21 -0
- package/dist/models/AppServicesBinaryAnnSchemaTagItem.js +29 -0
- package/dist/models/AppServicesBinaryAnnSchemaTagItem.js.map +1 -0
- package/dist/models/AppServicesDynamicExecutionSchemasDynamicExecutionStatus.d.ts +20 -0
- package/dist/models/AppServicesDynamicExecutionSchemasDynamicExecutionStatus.js +23 -0
- package/dist/models/AppServicesDynamicExecutionSchemasDynamicExecutionStatus.js.map +1 -0
- package/dist/models/Argument.d.ts +24 -0
- package/dist/models/Argument.js +47 -0
- package/dist/models/Argument.js.map +1 -0
- package/dist/models/AutoUnstripRequest.d.ts +23 -0
- package/dist/models/AutoUnstripRequest.js +41 -0
- package/dist/models/AutoUnstripRequest.js.map +1 -0
- package/dist/models/AutoUnstripResponse.d.ts +26 -0
- package/dist/models/AutoUnstripResponse.js +53 -0
- package/dist/models/AutoUnstripResponse.js.map +1 -0
- package/dist/models/BaseResponse.d.ts +26 -0
- package/dist/models/BaseResponse.js +47 -0
- package/dist/models/BaseResponse.js.map +1 -0
- package/dist/models/BaseResponseAnalysisCreateResponse.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisCreateResponse.js +47 -0
- package/dist/models/BaseResponseAnalysisCreateResponse.js.map +1 -0
- package/dist/models/BaseResponseAnalysisDetailResponse.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisDetailResponse.js +47 -0
- package/dist/models/BaseResponseAnalysisDetailResponse.js.map +1 -0
- package/dist/models/BaseResponseAnalysisFunctionMapping.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisFunctionMapping.js +47 -0
- package/dist/models/BaseResponseAnalysisFunctionMapping.js.map +1 -0
- package/dist/models/BaseResponseAnalysisFunctions.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisFunctions.js +47 -0
- package/dist/models/BaseResponseAnalysisFunctions.js.map +1 -0
- package/dist/models/BaseResponseAnalysisStringsResponse.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisStringsResponse.js +47 -0
- package/dist/models/BaseResponseAnalysisStringsResponse.js.map +1 -0
- package/dist/models/BaseResponseAnalysisTags.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisTags.js +47 -0
- package/dist/models/BaseResponseAnalysisTags.js.map +1 -0
- package/dist/models/BaseResponseAnalysisUpdateTagsResponse.d.ts +27 -0
- package/dist/models/BaseResponseAnalysisUpdateTagsResponse.js +47 -0
- package/dist/models/BaseResponseAnalysisUpdateTagsResponse.js.map +1 -0
- package/dist/models/BaseResponseBasic.d.ts +27 -0
- package/dist/models/BaseResponseBasic.js +47 -0
- package/dist/models/BaseResponseBasic.js.map +1 -0
- package/dist/models/BaseResponseBinaryAdditionalResponse.d.ts +27 -0
- package/dist/models/BaseResponseBinaryAdditionalResponse.js +47 -0
- package/dist/models/BaseResponseBinaryAdditionalResponse.js.map +1 -0
- package/dist/models/BaseResponseBinaryAnnListResponse.d.ts +27 -0
- package/dist/models/BaseResponseBinaryAnnListResponse.js +47 -0
- package/dist/models/BaseResponseBinaryAnnListResponse.js.map +1 -0
- package/dist/models/BaseResponseBinaryDetailsResponse.d.ts +27 -0
- package/dist/models/BaseResponseBinaryDetailsResponse.js +47 -0
- package/dist/models/BaseResponseBinaryDetailsResponse.js.map +1 -0
- package/dist/models/BaseResponseBinaryExternalsResponse.d.ts +27 -0
- package/dist/models/BaseResponseBinaryExternalsResponse.js +47 -0
- package/dist/models/BaseResponseBinaryExternalsResponse.js.map +1 -0
- package/dist/models/BaseResponseBinarySearchResponse.d.ts +27 -0
- package/dist/models/BaseResponseBinarySearchResponse.js +47 -0
- package/dist/models/BaseResponseBinarySearchResponse.js.map +1 -0
- package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.d.ts +27 -0
- package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.js +47 -0
- package/dist/models/BaseResponseBlockCommentsGenerationForFunctionResponse.js.map +1 -0
- package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.d.ts +26 -0
- package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.js +47 -0
- package/dist/models/BaseResponseBlockCommentsOverviewGenerationResponse.js.map +1 -0
- package/dist/models/BaseResponseBool.d.ts +26 -0
- package/dist/models/BaseResponseBool.js +47 -0
- package/dist/models/BaseResponseBool.js.map +1 -0
- package/dist/models/BaseResponseBoxPlotConfidence.d.ts +27 -0
- package/dist/models/BaseResponseBoxPlotConfidence.js +47 -0
- package/dist/models/BaseResponseBoxPlotConfidence.js.map +1 -0
- package/dist/models/BaseResponseCalleesCallerFunctionsResponse.d.ts +27 -0
- package/dist/models/BaseResponseCalleesCallerFunctionsResponse.js +47 -0
- package/dist/models/BaseResponseCalleesCallerFunctionsResponse.js.map +1 -0
- package/dist/models/BaseResponseCapabilities.d.ts +27 -0
- package/dist/models/BaseResponseCapabilities.js +47 -0
- package/dist/models/BaseResponseCapabilities.js.map +1 -0
- package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.d.ts +27 -0
- package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.js +47 -0
- package/dist/models/BaseResponseCheckSecurityChecksTaskResponse.js.map +1 -0
- package/dist/models/BaseResponseChildBinariesResponse.d.ts +27 -0
- package/dist/models/BaseResponseChildBinariesResponse.js +47 -0
- package/dist/models/BaseResponseChildBinariesResponse.js.map +1 -0
- package/dist/models/BaseResponseCollectionBinariesUpdateResponse.d.ts +27 -0
- package/dist/models/BaseResponseCollectionBinariesUpdateResponse.js +47 -0
- package/dist/models/BaseResponseCollectionBinariesUpdateResponse.js.map +1 -0
- package/dist/models/BaseResponseCollectionResponse.d.ts +27 -0
- package/dist/models/BaseResponseCollectionResponse.js +47 -0
- package/dist/models/BaseResponseCollectionResponse.js.map +1 -0
- package/dist/models/BaseResponseCollectionSearchResponse.d.ts +27 -0
- package/dist/models/BaseResponseCollectionSearchResponse.js +47 -0
- package/dist/models/BaseResponseCollectionSearchResponse.js.map +1 -0
- package/dist/models/BaseResponseCollectionTagsUpdateResponse.d.ts +27 -0
- package/dist/models/BaseResponseCollectionTagsUpdateResponse.js +47 -0
- package/dist/models/BaseResponseCollectionTagsUpdateResponse.js.map +1 -0
- package/dist/models/BaseResponseCommentResponse.d.ts +27 -0
- package/dist/models/BaseResponseCommentResponse.js +47 -0
- package/dist/models/BaseResponseCommentResponse.js.map +1 -0
- package/dist/models/BaseResponseCommunities.d.ts +27 -0
- package/dist/models/BaseResponseCommunities.js +47 -0
- package/dist/models/BaseResponseCommunities.js.map +1 -0
- package/dist/models/BaseResponseCreated.d.ts +27 -0
- package/dist/models/BaseResponseCreated.js +47 -0
- package/dist/models/BaseResponseCreated.js.map +1 -0
- package/dist/models/BaseResponseDecompilationResponse.d.ts +27 -0
- package/dist/models/BaseResponseDecompilationResponse.js +47 -0
- package/dist/models/BaseResponseDecompilationResponse.js.map +1 -0
- package/dist/models/BaseResponseDict.d.ts +28 -0
- package/dist/models/BaseResponseDict.js +47 -0
- package/dist/models/BaseResponseDict.js.map +1 -0
- package/dist/models/BaseResponseDynamicExecutionStatus.d.ts +27 -0
- package/dist/models/BaseResponseDynamicExecutionStatus.js +47 -0
- package/dist/models/BaseResponseDynamicExecutionStatus.js.map +1 -0
- package/dist/models/BaseResponseExternalResponse.d.ts +27 -0
- package/dist/models/BaseResponseExternalResponse.js +47 -0
- package/dist/models/BaseResponseExternalResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionBlocksResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionBlocksResponse.js +47 -0
- package/dist/models/BaseResponseFunctionBlocksResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionCapabilityResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionCapabilityResponse.js +47 -0
- package/dist/models/BaseResponseFunctionCapabilityResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionDataTypes.d.ts +27 -0
- package/dist/models/BaseResponseFunctionDataTypes.js +47 -0
- package/dist/models/BaseResponseFunctionDataTypes.js.map +1 -0
- package/dist/models/BaseResponseFunctionDataTypesList.d.ts +27 -0
- package/dist/models/BaseResponseFunctionDataTypesList.js +47 -0
- package/dist/models/BaseResponseFunctionDataTypesList.js.map +1 -0
- package/dist/models/BaseResponseFunctionSearchResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionSearchResponse.js +47 -0
- package/dist/models/BaseResponseFunctionSearchResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionStringsResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionStringsResponse.js +47 -0
- package/dist/models/BaseResponseFunctionStringsResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionTaskResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionTaskResponse.js +47 -0
- package/dist/models/BaseResponseFunctionTaskResponse.js.map +1 -0
- package/dist/models/BaseResponseFunctionsDetailResponse.d.ts +27 -0
- package/dist/models/BaseResponseFunctionsDetailResponse.js +47 -0
- package/dist/models/BaseResponseFunctionsDetailResponse.js.map +1 -0
- package/dist/models/BaseResponseGenerateFunctionDataTypes.d.ts +27 -0
- package/dist/models/BaseResponseGenerateFunctionDataTypes.js +47 -0
- package/dist/models/BaseResponseGenerateFunctionDataTypes.js.map +1 -0
- package/dist/models/BaseResponseGenerationStatusList.d.ts +27 -0
- package/dist/models/BaseResponseGenerationStatusList.js +47 -0
- package/dist/models/BaseResponseGenerationStatusList.js.map +1 -0
- package/dist/models/BaseResponseGetAiDecompilationRatingResponse.d.ts +27 -0
- package/dist/models/BaseResponseGetAiDecompilationRatingResponse.js +47 -0
- package/dist/models/BaseResponseGetAiDecompilationRatingResponse.js.map +1 -0
- package/dist/models/BaseResponseGetAiDecompilationTask.d.ts +27 -0
- package/dist/models/BaseResponseGetAiDecompilationTask.js +47 -0
- package/dist/models/BaseResponseGetAiDecompilationTask.js.map +1 -0
- package/dist/models/BaseResponseGetPublicUserResponse.d.ts +27 -0
- package/dist/models/BaseResponseGetPublicUserResponse.js +47 -0
- package/dist/models/BaseResponseGetPublicUserResponse.js.map +1 -0
- package/dist/models/BaseResponseGetUserResponse.d.ts +27 -0
- package/dist/models/BaseResponseGetUserResponse.js +47 -0
- package/dist/models/BaseResponseGetUserResponse.js.map +1 -0
- package/dist/models/BaseResponseListCollectionResults.d.ts +27 -0
- package/dist/models/BaseResponseListCollectionResults.js +47 -0
- package/dist/models/BaseResponseListCollectionResults.js.map +1 -0
- package/dist/models/BaseResponseListCommentResponse.d.ts +27 -0
- package/dist/models/BaseResponseListCommentResponse.js +47 -0
- package/dist/models/BaseResponseListCommentResponse.js.map +1 -0
- package/dist/models/BaseResponseListDieMatch.d.ts +27 -0
- package/dist/models/BaseResponseListDieMatch.js +47 -0
- package/dist/models/BaseResponseListDieMatch.js.map +1 -0
- package/dist/models/BaseResponseListFunctionBoxPlotConfidence.d.ts +27 -0
- package/dist/models/BaseResponseListFunctionBoxPlotConfidence.js +47 -0
- package/dist/models/BaseResponseListFunctionBoxPlotConfidence.js.map +1 -0
- package/dist/models/BaseResponseListFunctionNameHistory.d.ts +27 -0
- package/dist/models/BaseResponseListFunctionNameHistory.js +47 -0
- package/dist/models/BaseResponseListFunctionNameHistory.js.map +1 -0
- package/dist/models/BaseResponseListSBOM.d.ts +27 -0
- package/dist/models/BaseResponseListSBOM.js +47 -0
- package/dist/models/BaseResponseListSBOM.js.map +1 -0
- package/dist/models/BaseResponseListSimilarFunctionsResponse.d.ts +27 -0
- package/dist/models/BaseResponseListSimilarFunctionsResponse.js +47 -0
- package/dist/models/BaseResponseListSimilarFunctionsResponse.js.map +1 -0
- package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.d.ts +27 -0
- package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.js +47 -0
- package/dist/models/BaseResponseListTagOriginBoxPlotConfidence.js.map +1 -0
- package/dist/models/BaseResponseListUserActivityResponse.d.ts +27 -0
- package/dist/models/BaseResponseListUserActivityResponse.js +47 -0
- package/dist/models/BaseResponseListUserActivityResponse.js.map +1 -0
- package/dist/models/BaseResponseLoginResponse.d.ts +27 -0
- package/dist/models/BaseResponseLoginResponse.js +47 -0
- package/dist/models/BaseResponseLoginResponse.js.map +1 -0
- package/dist/models/BaseResponseLogs.d.ts +27 -0
- package/dist/models/BaseResponseLogs.js +47 -0
- package/dist/models/BaseResponseLogs.js.map +1 -0
- package/dist/models/BaseResponseModelsResponse.d.ts +27 -0
- package/dist/models/BaseResponseModelsResponse.js +47 -0
- package/dist/models/BaseResponseModelsResponse.js.map +1 -0
- package/dist/models/BaseResponseNearestNeighborAnalysis.d.ts +31 -0
- package/dist/models/BaseResponseNearestNeighborAnalysis.js +47 -0
- package/dist/models/BaseResponseNearestNeighborAnalysis.js.map +1 -0
- package/dist/models/BaseResponseNetworkOverviewResponse.d.ts +27 -0
- package/dist/models/BaseResponseNetworkOverviewResponse.js +47 -0
- package/dist/models/BaseResponseNetworkOverviewResponse.js.map +1 -0
- package/dist/models/BaseResponseParams.d.ts +27 -0
- package/dist/models/BaseResponseParams.js +47 -0
- package/dist/models/BaseResponseParams.js.map +1 -0
- package/dist/models/BaseResponseProcessDumps.d.ts +27 -0
- package/dist/models/BaseResponseProcessDumps.js +47 -0
- package/dist/models/BaseResponseProcessDumps.js.map +1 -0
- package/dist/models/BaseResponseProcessRegistry.d.ts +27 -0
- package/dist/models/BaseResponseProcessRegistry.js +47 -0
- package/dist/models/BaseResponseProcessRegistry.js.map +1 -0
- package/dist/models/BaseResponseProcessTree.d.ts +27 -0
- package/dist/models/BaseResponseProcessTree.js +47 -0
- package/dist/models/BaseResponseProcessTree.js.map +1 -0
- package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.d.ts +27 -0
- package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.js +47 -0
- package/dist/models/BaseResponseQueuedSecurityChecksTaskResponse.js.map +1 -0
- package/dist/models/BaseResponseRecent.d.ts +27 -0
- package/dist/models/BaseResponseRecent.js +47 -0
- package/dist/models/BaseResponseRecent.js.map +1 -0
- package/dist/models/BaseResponseSecurityChecksResponse.d.ts +27 -0
- package/dist/models/BaseResponseSecurityChecksResponse.js +47 -0
- package/dist/models/BaseResponseSecurityChecksResponse.js.map +1 -0
- package/dist/models/BaseResponseStatus.d.ts +27 -0
- package/dist/models/BaseResponseStatus.js +47 -0
- package/dist/models/BaseResponseStatus.js.map +1 -0
- package/dist/models/BaseResponseStr.d.ts +26 -0
- package/dist/models/BaseResponseStr.js +47 -0
- package/dist/models/BaseResponseStr.js.map +1 -0
- package/dist/models/BaseResponseTTPS.d.ts +27 -0
- package/dist/models/BaseResponseTTPS.js +47 -0
- package/dist/models/BaseResponseTTPS.js.map +1 -0
- package/dist/models/BaseResponseTagSearchResponse.d.ts +27 -0
- package/dist/models/BaseResponseTagSearchResponse.js +47 -0
- package/dist/models/BaseResponseTagSearchResponse.js.map +1 -0
- package/dist/models/BaseResponseTaskResponse.d.ts +27 -0
- package/dist/models/BaseResponseTaskResponse.js +47 -0
- package/dist/models/BaseResponseTaskResponse.js.map +1 -0
- package/dist/models/BaseResponseUploadResponse.d.ts +27 -0
- package/dist/models/BaseResponseUploadResponse.js +47 -0
- package/dist/models/BaseResponseUploadResponse.js.map +1 -0
- package/dist/models/BaseResponseVulnerabilities.d.ts +27 -0
- package/dist/models/BaseResponseVulnerabilities.js +47 -0
- package/dist/models/BaseResponseVulnerabilities.js.map +1 -0
- package/dist/models/Basic.d.ts +31 -0
- package/dist/models/Basic.js +89 -0
- package/dist/models/Basic.js.map +1 -0
- package/dist/models/BinaryAdditionalDetailsDataResponse.d.ts +25 -0
- package/dist/models/BinaryAdditionalDetailsDataResponse.js +35 -0
- package/dist/models/BinaryAdditionalDetailsDataResponse.js.map +1 -0
- package/dist/models/BinaryAdditionalResponse.d.ts +23 -0
- package/dist/models/BinaryAdditionalResponse.js +35 -0
- package/dist/models/BinaryAdditionalResponse.js.map +1 -0
- package/dist/models/BinaryAnnForm.d.ts +23 -0
- package/dist/models/BinaryAnnForm.js +41 -0
- package/dist/models/BinaryAnnForm.js.map +1 -0
- package/dist/models/BinaryAnnListResponse.d.ts +21 -0
- package/dist/models/BinaryAnnListResponse.js +23 -0
- package/dist/models/BinaryAnnListResponse.js.map +1 -0
- package/dist/models/BinaryConfig.d.ts +25 -0
- package/dist/models/BinaryConfig.js +35 -0
- package/dist/models/BinaryConfig.js.map +1 -0
- package/dist/models/BinaryDetailsResponse.d.ts +39 -0
- package/dist/models/BinaryDetailsResponse.js +137 -0
- package/dist/models/BinaryDetailsResponse.js.map +1 -0
- package/dist/models/BinaryExternalsResponse.d.ts +28 -0
- package/dist/models/BinaryExternalsResponse.js +47 -0
- package/dist/models/BinaryExternalsResponse.js.map +1 -0
- package/dist/models/BinarySearchResponse.d.ts +21 -0
- package/dist/models/BinarySearchResponse.js +23 -0
- package/dist/models/BinarySearchResponse.js.map +1 -0
- package/dist/models/BinarySearchResult.d.ts +28 -0
- package/dist/models/BinarySearchResult.js +71 -0
- package/dist/models/BinarySearchResult.js.map +1 -0
- package/dist/models/BinaryTaskStatus.d.ts +7 -0
- package/dist/models/BinaryTaskStatus.js +12 -0
- package/dist/models/BinaryTaskStatus.js.map +1 -0
- package/dist/models/Block.d.ts +20 -0
- package/dist/models/Block.js +23 -0
- package/dist/models/Block.js.map +1 -0
- package/dist/models/BlockCommentsGenerationForFunctionResponse.d.ts +20 -0
- package/dist/models/BlockCommentsGenerationForFunctionResponse.js +23 -0
- package/dist/models/BlockCommentsGenerationForFunctionResponse.js.map +1 -0
- package/dist/models/BoxPlotConfidence.d.ts +26 -0
- package/dist/models/BoxPlotConfidence.js +59 -0
- package/dist/models/BoxPlotConfidence.js.map +1 -0
- package/dist/models/CalleeFunctionInfo.d.ts +25 -0
- package/dist/models/CalleeFunctionInfo.js +53 -0
- package/dist/models/CalleeFunctionInfo.js.map +1 -0
- package/dist/models/CalleesCallerFunctionsResponse.d.ts +24 -0
- package/dist/models/CalleesCallerFunctionsResponse.js +35 -0
- package/dist/models/CalleesCallerFunctionsResponse.js.map +1 -0
- package/dist/models/CallerFunctionInfo.d.ts +25 -0
- package/dist/models/CallerFunctionInfo.js +53 -0
- package/dist/models/CallerFunctionInfo.js.map +1 -0
- package/dist/models/Capabilities.d.ts +21 -0
- package/dist/models/Capabilities.js +23 -0
- package/dist/models/Capabilities.js.map +1 -0
- package/dist/models/Capability.d.ts +22 -0
- package/dist/models/Capability.js +35 -0
- package/dist/models/Capability.js.map +1 -0
- package/dist/models/CheckSecurityChecksTaskResponse.d.ts +21 -0
- package/dist/models/CheckSecurityChecksTaskResponse.js +23 -0
- package/dist/models/CheckSecurityChecksTaskResponse.js.map +1 -0
- package/dist/models/ChildBinariesResponse.d.ts +22 -0
- package/dist/models/ChildBinariesResponse.js +29 -0
- package/dist/models/ChildBinariesResponse.js.map +1 -0
- package/dist/models/CodeSignatureModel.d.ts +23 -0
- package/dist/models/CodeSignatureModel.js +35 -0
- package/dist/models/CodeSignatureModel.js.map +1 -0
- package/dist/models/CollectionBinariesUpdateRequest.d.ts +20 -0
- package/dist/models/CollectionBinariesUpdateRequest.js +23 -0
- package/dist/models/CollectionBinariesUpdateRequest.js.map +1 -0
- package/dist/models/CollectionBinariesUpdateResponse.d.ts +21 -0
- package/dist/models/CollectionBinariesUpdateResponse.js +23 -0
- package/dist/models/CollectionBinariesUpdateResponse.js.map +1 -0
- package/dist/models/CollectionBinaryResponse.d.ts +25 -0
- package/dist/models/CollectionBinaryResponse.js +53 -0
- package/dist/models/CollectionBinaryResponse.js.map +1 -0
- package/dist/models/CollectionCreateRequest.d.ts +26 -0
- package/dist/models/CollectionCreateRequest.js +53 -0
- package/dist/models/CollectionCreateRequest.js.map +1 -0
- package/dist/models/CollectionListItem.d.ts +30 -0
- package/dist/models/CollectionListItem.js +83 -0
- package/dist/models/CollectionListItem.js.map +1 -0
- package/dist/models/CollectionResponse.d.ts +32 -0
- package/dist/models/CollectionResponse.js +83 -0
- package/dist/models/CollectionResponse.js.map +1 -0
- package/dist/models/CollectionResponseBinariesInner.d.ts +25 -0
- package/dist/models/CollectionResponseBinariesInner.js +53 -0
- package/dist/models/CollectionResponseBinariesInner.js.map +1 -0
- package/dist/models/CollectionScope.d.ts +6 -0
- package/dist/models/CollectionScope.js +11 -0
- package/dist/models/CollectionScope.js.map +1 -0
- package/dist/models/CollectionSearchResponse.d.ts +21 -0
- package/dist/models/CollectionSearchResponse.js +23 -0
- package/dist/models/CollectionSearchResponse.js.map +1 -0
- package/dist/models/CollectionSearchResult.d.ts +31 -0
- package/dist/models/CollectionSearchResult.js +89 -0
- package/dist/models/CollectionSearchResult.js.map +1 -0
- package/dist/models/CollectionTagsUpdateRequest.d.ts +20 -0
- package/dist/models/CollectionTagsUpdateRequest.js +23 -0
- package/dist/models/CollectionTagsUpdateRequest.js.map +1 -0
- package/dist/models/CollectionTagsUpdateResponse.d.ts +20 -0
- package/dist/models/CollectionTagsUpdateResponse.js +23 -0
- package/dist/models/CollectionTagsUpdateResponse.js.map +1 -0
- package/dist/models/CollectionUpdateRequest.d.ts +23 -0
- package/dist/models/CollectionUpdateRequest.js +35 -0
- package/dist/models/CollectionUpdateRequest.js.map +1 -0
- package/dist/models/CommentBase.d.ts +20 -0
- package/dist/models/CommentBase.js +23 -0
- package/dist/models/CommentBase.js.map +1 -0
- package/dist/models/CommentResponse.d.ts +28 -0
- package/dist/models/CommentResponse.js +65 -0
- package/dist/models/CommentResponse.js.map +1 -0
- package/dist/models/CommentUpdateRequest.d.ts +20 -0
- package/dist/models/CommentUpdateRequest.js +23 -0
- package/dist/models/CommentUpdateRequest.js.map +1 -0
- package/dist/models/Communities.d.ts +26 -0
- package/dist/models/Communities.js +41 -0
- package/dist/models/Communities.js.map +1 -0
- package/dist/models/CommunityMatchPercentages.d.ts +23 -0
- package/dist/models/CommunityMatchPercentages.js +41 -0
- package/dist/models/CommunityMatchPercentages.js.map +1 -0
- package/dist/models/ConfidenceType.d.ts +7 -0
- package/dist/models/ConfidenceType.js +12 -0
- package/dist/models/ConfidenceType.js.map +1 -0
- package/dist/models/Context.d.ts +21 -0
- package/dist/models/Context.js +29 -0
- package/dist/models/Context.js.map +1 -0
- package/dist/models/Created.d.ts +22 -0
- package/dist/models/Created.js +35 -0
- package/dist/models/Created.js.map +1 -0
- package/dist/models/DecompilationCommentContext.d.ts +21 -0
- package/dist/models/DecompilationCommentContext.js +29 -0
- package/dist/models/DecompilationCommentContext.js.map +1 -0
- package/dist/models/DecompilationResponse.d.ts +22 -0
- package/dist/models/DecompilationResponse.js +35 -0
- package/dist/models/DecompilationResponse.js.map +1 -0
- package/dist/models/DieMatch.d.ts +23 -0
- package/dist/models/DieMatch.js +41 -0
- package/dist/models/DieMatch.js.map +1 -0
- package/dist/models/DynamicExecutionStatusInput.d.ts +6 -0
- package/dist/models/DynamicExecutionStatusInput.js +11 -0
- package/dist/models/DynamicExecutionStatusInput.js.map +1 -0
- package/dist/models/ELFImportModel.d.ts +21 -0
- package/dist/models/ELFImportModel.js +29 -0
- package/dist/models/ELFImportModel.js.map +1 -0
- package/dist/models/ELFModel.d.ts +52 -0
- package/dist/models/ELFModel.js +137 -0
- package/dist/models/ELFModel.js.map +1 -0
- package/dist/models/ELFRelocation.d.ts +26 -0
- package/dist/models/ELFRelocation.js +59 -0
- package/dist/models/ELFRelocation.js.map +1 -0
- package/dist/models/ELFSection.d.ts +29 -0
- package/dist/models/ELFSection.js +77 -0
- package/dist/models/ELFSection.js.map +1 -0
- package/dist/models/ELFSecurity.d.ts +24 -0
- package/dist/models/ELFSecurity.js +47 -0
- package/dist/models/ELFSecurity.js.map +1 -0
- package/dist/models/ELFSegment.d.ts +28 -0
- package/dist/models/ELFSegment.js +71 -0
- package/dist/models/ELFSegment.js.map +1 -0
- package/dist/models/ELFSymbol.d.ts +26 -0
- package/dist/models/ELFSymbol.js +59 -0
- package/dist/models/ELFSymbol.js.map +1 -0
- package/dist/models/ElfDynamicEntry.d.ts +21 -0
- package/dist/models/ElfDynamicEntry.js +29 -0
- package/dist/models/ElfDynamicEntry.js.map +1 -0
- package/dist/models/EntrypointModel.d.ts +21 -0
- package/dist/models/EntrypointModel.js +29 -0
- package/dist/models/EntrypointModel.js.map +1 -0
- package/dist/models/Enumeration.d.ts +25 -0
- package/dist/models/Enumeration.js +41 -0
- package/dist/models/Enumeration.js.map +1 -0
- package/dist/models/ErrorModel.d.ts +21 -0
- package/dist/models/ErrorModel.js +29 -0
- package/dist/models/ErrorModel.js.map +1 -0
- package/dist/models/ExportModel.d.ts +23 -0
- package/dist/models/ExportModel.js +29 -0
- package/dist/models/ExportModel.js.map +1 -0
- package/dist/models/ExportedBinaryAnnResult.d.ts +29 -0
- package/dist/models/ExportedBinaryAnnResult.js +71 -0
- package/dist/models/ExportedBinaryAnnResult.js.map +1 -0
- package/dist/models/ExternalResponse.d.ts +24 -0
- package/dist/models/ExternalResponse.js +35 -0
- package/dist/models/ExternalResponse.js.map +1 -0
- package/dist/models/FileFormat.d.ts +5 -0
- package/dist/models/FileFormat.js +10 -0
- package/dist/models/FileFormat.js.map +1 -0
- package/dist/models/FileHashes.d.ts +27 -0
- package/dist/models/FileHashes.js +65 -0
- package/dist/models/FileHashes.js.map +1 -0
- package/dist/models/FileMetadata.d.ts +24 -0
- package/dist/models/FileMetadata.js +41 -0
- package/dist/models/FileMetadata.js.map +1 -0
- package/dist/models/Filters.d.ts +7 -0
- package/dist/models/Filters.js +12 -0
- package/dist/models/Filters.js.map +1 -0
- package/dist/models/FunctionBlockDestinationResponse.d.ts +22 -0
- package/dist/models/FunctionBlockDestinationResponse.js +35 -0
- package/dist/models/FunctionBlockDestinationResponse.js.map +1 -0
- package/dist/models/FunctionBlockResponse.d.ts +26 -0
- package/dist/models/FunctionBlockResponse.js +53 -0
- package/dist/models/FunctionBlockResponse.js.map +1 -0
- package/dist/models/FunctionBlocksResponse.d.ts +26 -0
- package/dist/models/FunctionBlocksResponse.js +41 -0
- package/dist/models/FunctionBlocksResponse.js.map +1 -0
- package/dist/models/FunctionBoundary.d.ts +22 -0
- package/dist/models/FunctionBoundary.js +35 -0
- package/dist/models/FunctionBoundary.js.map +1 -0
- package/dist/models/FunctionBoxPlotConfidence.d.ts +22 -0
- package/dist/models/FunctionBoxPlotConfidence.js +29 -0
- package/dist/models/FunctionBoxPlotConfidence.js.map +1 -0
- package/dist/models/FunctionCapabilityResponse.d.ts +20 -0
- package/dist/models/FunctionCapabilityResponse.js +23 -0
- package/dist/models/FunctionCapabilityResponse.js.map +1 -0
- package/dist/models/FunctionCommentCreateRequest.d.ts +22 -0
- package/dist/models/FunctionCommentCreateRequest.js +29 -0
- package/dist/models/FunctionCommentCreateRequest.js.map +1 -0
- package/dist/models/FunctionDataTypes.d.ts +24 -0
- package/dist/models/FunctionDataTypes.js +41 -0
- package/dist/models/FunctionDataTypes.js.map +1 -0
- package/dist/models/FunctionDataTypesList.d.ts +23 -0
- package/dist/models/FunctionDataTypesList.js +35 -0
- package/dist/models/FunctionDataTypesList.js.map +1 -0
- package/dist/models/FunctionDataTypesListItem.d.ts +25 -0
- package/dist/models/FunctionDataTypesListItem.js +47 -0
- package/dist/models/FunctionDataTypesListItem.js.map +1 -0
- package/dist/models/FunctionDataTypesParams.d.ts +20 -0
- package/dist/models/FunctionDataTypesParams.js +23 -0
- package/dist/models/FunctionDataTypesParams.js.map +1 -0
- package/dist/models/FunctionDataTypesStatus.d.ts +22 -0
- package/dist/models/FunctionDataTypesStatus.js +35 -0
- package/dist/models/FunctionDataTypesStatus.js.map +1 -0
- package/dist/models/FunctionHeader.d.ts +27 -0
- package/dist/models/FunctionHeader.js +47 -0
- package/dist/models/FunctionHeader.js.map +1 -0
- package/dist/models/FunctionInfoInput.d.ts +23 -0
- package/dist/models/FunctionInfoInput.js +29 -0
- package/dist/models/FunctionInfoInput.js.map +1 -0
- package/dist/models/FunctionInfoInputFuncDepsInner.d.ts +28 -0
- package/dist/models/FunctionInfoInputFuncDepsInner.js +59 -0
- package/dist/models/FunctionInfoInputFuncDepsInner.js.map +1 -0
- package/dist/models/FunctionInfoOutput.d.ts +23 -0
- package/dist/models/FunctionInfoOutput.js +29 -0
- package/dist/models/FunctionInfoOutput.js.map +1 -0
- package/dist/models/FunctionLocalVariableResponse.d.ts +24 -0
- package/dist/models/FunctionLocalVariableResponse.js +47 -0
- package/dist/models/FunctionLocalVariableResponse.js.map +1 -0
- package/dist/models/FunctionMapping.d.ts +28 -0
- package/dist/models/FunctionMapping.js +35 -0
- package/dist/models/FunctionMapping.js.map +1 -0
- package/dist/models/FunctionMappingFull.d.ts +57 -0
- package/dist/models/FunctionMappingFull.js +83 -0
- package/dist/models/FunctionMappingFull.js.map +1 -0
- package/dist/models/FunctionMatchingBatchResponse.d.ts +27 -0
- package/dist/models/FunctionMatchingBatchResponse.js +59 -0
- package/dist/models/FunctionMatchingBatchResponse.js.map +1 -0
- package/dist/models/FunctionMatchingFilters.d.ts +28 -0
- package/dist/models/FunctionMatchingFilters.js +47 -0
- package/dist/models/FunctionMatchingFilters.js.map +1 -0
- package/dist/models/FunctionMatchingRequest.d.ts +27 -0
- package/dist/models/FunctionMatchingRequest.js +59 -0
- package/dist/models/FunctionMatchingRequest.js.map +1 -0
- package/dist/models/FunctionMatchingResultWithBestMatch.d.ts +24 -0
- package/dist/models/FunctionMatchingResultWithBestMatch.js +35 -0
- package/dist/models/FunctionMatchingResultWithBestMatch.js.map +1 -0
- package/dist/models/FunctionNameConfidenceBody.d.ts +22 -0
- package/dist/models/FunctionNameConfidenceBody.js +29 -0
- package/dist/models/FunctionNameConfidenceBody.js.map +1 -0
- package/dist/models/FunctionNameHistory.d.ts +25 -0
- package/dist/models/FunctionNameHistory.js +53 -0
- package/dist/models/FunctionNameHistory.js.map +1 -0
- package/dist/models/FunctionNameInput.d.ts +21 -0
- package/dist/models/FunctionNameInput.js +29 -0
- package/dist/models/FunctionNameInput.js.map +1 -0
- package/dist/models/FunctionParamResponse.d.ts +24 -0
- package/dist/models/FunctionParamResponse.js +47 -0
- package/dist/models/FunctionParamResponse.js.map +1 -0
- package/dist/models/FunctionRename.d.ts +21 -0
- package/dist/models/FunctionRename.js +29 -0
- package/dist/models/FunctionRename.js.map +1 -0
- package/dist/models/FunctionRenameMap.d.ts +22 -0
- package/dist/models/FunctionRenameMap.js +35 -0
- package/dist/models/FunctionRenameMap.js.map +1 -0
- package/dist/models/FunctionSearchResponse.d.ts +21 -0
- package/dist/models/FunctionSearchResponse.js +23 -0
- package/dist/models/FunctionSearchResponse.js.map +1 -0
- package/dist/models/FunctionSearchResult.d.ts +26 -0
- package/dist/models/FunctionSearchResult.js +59 -0
- package/dist/models/FunctionSearchResult.js.map +1 -0
- package/dist/models/FunctionString.d.ts +21 -0
- package/dist/models/FunctionString.js +29 -0
- package/dist/models/FunctionString.js.map +1 -0
- package/dist/models/FunctionStringsResponse.d.ts +22 -0
- package/dist/models/FunctionStringsResponse.js +29 -0
- package/dist/models/FunctionStringsResponse.js.map +1 -0
- package/dist/models/FunctionTaskResponse.d.ts +22 -0
- package/dist/models/FunctionTaskResponse.js +29 -0
- package/dist/models/FunctionTaskResponse.js.map +1 -0
- package/dist/models/FunctionTaskStatus.d.ts +7 -0
- package/dist/models/FunctionTaskStatus.js +12 -0
- package/dist/models/FunctionTaskStatus.js.map +1 -0
- package/dist/models/FunctionTypeInput.d.ts +31 -0
- package/dist/models/FunctionTypeInput.js +65 -0
- package/dist/models/FunctionTypeInput.js.map +1 -0
- package/dist/models/FunctionTypeOutput.d.ts +31 -0
- package/dist/models/FunctionTypeOutput.js +65 -0
- package/dist/models/FunctionTypeOutput.js.map +1 -0
- package/dist/models/FunctionsDetailResponse.d.ts +30 -0
- package/dist/models/FunctionsDetailResponse.js +83 -0
- package/dist/models/FunctionsDetailResponse.js.map +1 -0
- package/dist/models/FunctionsListRename.d.ts +21 -0
- package/dist/models/FunctionsListRename.js +23 -0
- package/dist/models/FunctionsListRename.js.map +1 -0
- package/dist/models/GenerateFunctionDataTypes.d.ts +23 -0
- package/dist/models/GenerateFunctionDataTypes.js +35 -0
- package/dist/models/GenerateFunctionDataTypes.js.map +1 -0
- package/dist/models/GenerationStatusList.d.ts +23 -0
- package/dist/models/GenerationStatusList.js +35 -0
- package/dist/models/GenerationStatusList.js.map +1 -0
- package/dist/models/GetAiDecompilationRatingResponse.d.ts +22 -0
- package/dist/models/GetAiDecompilationRatingResponse.js +29 -0
- package/dist/models/GetAiDecompilationRatingResponse.js.map +1 -0
- package/dist/models/GetAiDecompilationTask.d.ts +31 -0
- package/dist/models/GetAiDecompilationTask.js +65 -0
- package/dist/models/GetAiDecompilationTask.js.map +1 -0
- package/dist/models/GetPublicUserResponse.d.ts +21 -0
- package/dist/models/GetPublicUserResponse.js +29 -0
- package/dist/models/GetPublicUserResponse.js.map +1 -0
- package/dist/models/GetUserResponse.d.ts +26 -0
- package/dist/models/GetUserResponse.js +59 -0
- package/dist/models/GetUserResponse.js.map +1 -0
- package/dist/models/GlobalVariable.d.ts +25 -0
- package/dist/models/GlobalVariable.js +53 -0
- package/dist/models/GlobalVariable.js.map +1 -0
- package/dist/models/ISA.d.ts +5 -0
- package/dist/models/ISA.js +10 -0
- package/dist/models/ISA.js.map +1 -0
- package/dist/models/IconModel.d.ts +20 -0
- package/dist/models/IconModel.js +23 -0
- package/dist/models/IconModel.js.map +1 -0
- package/dist/models/ImportModel.d.ts +25 -0
- package/dist/models/ImportModel.js +29 -0
- package/dist/models/ImportModel.js.map +1 -0
- package/dist/models/InverseFunctionMapItem.d.ts +23 -0
- package/dist/models/InverseFunctionMapItem.js +35 -0
- package/dist/models/InverseFunctionMapItem.js.map +1 -0
- package/dist/models/InverseStringMapItem.d.ts +21 -0
- package/dist/models/InverseStringMapItem.js +29 -0
- package/dist/models/InverseStringMapItem.js.map +1 -0
- package/dist/models/InverseValue.d.ts +20 -0
- package/dist/models/InverseValue.js +23 -0
- package/dist/models/InverseValue.js.map +1 -0
- package/dist/models/ListCollectionResults.d.ts +21 -0
- package/dist/models/ListCollectionResults.js +23 -0
- package/dist/models/ListCollectionResults.js.map +1 -0
- package/dist/models/LoginRequest.d.ts +21 -0
- package/dist/models/LoginRequest.js +29 -0
- package/dist/models/LoginRequest.js.map +1 -0
- package/dist/models/LoginResponse.d.ts +20 -0
- package/dist/models/LoginResponse.js +23 -0
- package/dist/models/LoginResponse.js.map +1 -0
- package/dist/models/Logs.d.ts +20 -0
- package/dist/models/Logs.js +23 -0
- package/dist/models/Logs.js.map +1 -0
- package/dist/models/MatchedFunction.d.ts +30 -0
- package/dist/models/MatchedFunction.js +83 -0
- package/dist/models/MatchedFunction.js.map +1 -0
- package/dist/models/MatchedFunctionSuggestion.d.ts +23 -0
- package/dist/models/MatchedFunctionSuggestion.js +41 -0
- package/dist/models/MatchedFunctionSuggestion.js.map +1 -0
- package/dist/models/MetaModel.d.ts +21 -0
- package/dist/models/MetaModel.js +23 -0
- package/dist/models/MetaModel.js.map +1 -0
- package/dist/models/ModelName.d.ts +10 -0
- package/dist/models/ModelName.js +15 -0
- package/dist/models/ModelName.js.map +1 -0
- package/dist/models/ModelsResponse.d.ts +20 -0
- package/dist/models/ModelsResponse.js +23 -0
- package/dist/models/ModelsResponse.js.map +1 -0
- package/dist/models/NameConfidence.d.ts +21 -0
- package/dist/models/NameConfidence.js +29 -0
- package/dist/models/NameConfidence.js.map +1 -0
- package/dist/models/NearestNeighbor.d.ts +27 -0
- package/dist/models/NearestNeighbor.js +65 -0
- package/dist/models/NearestNeighbor.js.map +1 -0
- package/dist/models/NetworkOverviewDns.d.ts +23 -0
- package/dist/models/NetworkOverviewDns.js +35 -0
- package/dist/models/NetworkOverviewDns.js.map +1 -0
- package/dist/models/NetworkOverviewDnsAnswer.d.ts +21 -0
- package/dist/models/NetworkOverviewDnsAnswer.js +29 -0
- package/dist/models/NetworkOverviewDnsAnswer.js.map +1 -0
- package/dist/models/NetworkOverviewMetadata.d.ts +26 -0
- package/dist/models/NetworkOverviewMetadata.js +45 -0
- package/dist/models/NetworkOverviewMetadata.js.map +1 -0
- package/dist/models/NetworkOverviewResponse.d.ts +23 -0
- package/dist/models/NetworkOverviewResponse.js +29 -0
- package/dist/models/NetworkOverviewResponse.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +314 -0
- package/dist/models/ObjectSerializer.js +1172 -0
- package/dist/models/ObjectSerializer.js.map +1 -0
- package/dist/models/Order.d.ts +4 -0
- package/dist/models/Order.js +9 -0
- package/dist/models/Order.js.map +1 -0
- package/dist/models/Origin.d.ts +10 -0
- package/dist/models/Origin.js +15 -0
- package/dist/models/Origin.js.map +1 -0
- package/dist/models/PDBDebugModel.d.ts +21 -0
- package/dist/models/PDBDebugModel.js +23 -0
- package/dist/models/PDBDebugModel.js.map +1 -0
- package/dist/models/PEModel.d.ts +50 -0
- package/dist/models/PEModel.js +137 -0
- package/dist/models/PEModel.js.map +1 -0
- package/dist/models/PaginationModel.d.ts +22 -0
- package/dist/models/PaginationModel.js +35 -0
- package/dist/models/PaginationModel.js.map +1 -0
- package/dist/models/Params.d.ts +26 -0
- package/dist/models/Params.js +59 -0
- package/dist/models/Params.js.map +1 -0
- package/dist/models/Platform.d.ts +4 -0
- package/dist/models/Platform.js +9 -0
- package/dist/models/Platform.js.map +1 -0
- package/dist/models/Process.d.ts +26 -0
- package/dist/models/Process.js +59 -0
- package/dist/models/Process.js.map +1 -0
- package/dist/models/ProcessDump.d.ts +24 -0
- package/dist/models/ProcessDump.js +41 -0
- package/dist/models/ProcessDump.js.map +1 -0
- package/dist/models/ProcessDumpMetadata.d.ts +22 -0
- package/dist/models/ProcessDumpMetadata.js +35 -0
- package/dist/models/ProcessDumpMetadata.js.map +1 -0
- package/dist/models/ProcessDumps.d.ts +22 -0
- package/dist/models/ProcessDumps.js +29 -0
- package/dist/models/ProcessDumps.js.map +1 -0
- package/dist/models/ProcessDumpsData.d.ts +22 -0
- package/dist/models/ProcessDumpsData.js +29 -0
- package/dist/models/ProcessDumpsData.js.map +1 -0
- package/dist/models/ProcessRegistry.d.ts +24 -0
- package/dist/models/ProcessRegistry.js +29 -0
- package/dist/models/ProcessRegistry.js.map +1 -0
- package/dist/models/ProcessTree.d.ts +22 -0
- package/dist/models/ProcessTree.js +29 -0
- package/dist/models/ProcessTree.js.map +1 -0
- package/dist/models/QueuedSecurityChecksTaskResponse.d.ts +20 -0
- package/dist/models/QueuedSecurityChecksTaskResponse.js +23 -0
- package/dist/models/QueuedSecurityChecksTaskResponse.js.map +1 -0
- package/dist/models/ReAnalysisForm.d.ts +25 -0
- package/dist/models/ReAnalysisForm.js +53 -0
- package/dist/models/ReAnalysisForm.js.map +1 -0
- package/dist/models/Recent.d.ts +21 -0
- package/dist/models/Recent.js +23 -0
- package/dist/models/Recent.js.map +1 -0
- package/dist/models/Registry.d.ts +23 -0
- package/dist/models/Registry.js +41 -0
- package/dist/models/Registry.js.map +1 -0
- package/dist/models/RelativeBinaryResponse.d.ts +22 -0
- package/dist/models/RelativeBinaryResponse.js +35 -0
- package/dist/models/RelativeBinaryResponse.js.map +1 -0
- package/dist/models/SBOM.d.ts +22 -0
- package/dist/models/SBOM.js +29 -0
- package/dist/models/SBOM.js.map +1 -0
- package/dist/models/SBOMPackage.d.ts +21 -0
- package/dist/models/SBOMPackage.js +29 -0
- package/dist/models/SBOMPackage.js.map +1 -0
- package/dist/models/SandboxOptions.d.ts +21 -0
- package/dist/models/SandboxOptions.js +29 -0
- package/dist/models/SandboxOptions.js.map +1 -0
- package/dist/models/ScrapeThirdPartyConfig.d.ts +20 -0
- package/dist/models/ScrapeThirdPartyConfig.js +23 -0
- package/dist/models/ScrapeThirdPartyConfig.js.map +1 -0
- package/dist/models/SearchBinaryIds.d.ts +19 -0
- package/dist/models/SearchBinaryIds.js +16 -0
- package/dist/models/SearchBinaryIds.js.map +1 -0
- package/dist/models/SearchFunctionIds.d.ts +19 -0
- package/dist/models/SearchFunctionIds.js +16 -0
- package/dist/models/SearchFunctionIds.js.map +1 -0
- package/dist/models/SectionModel.d.ts +22 -0
- package/dist/models/SectionModel.js +29 -0
- package/dist/models/SectionModel.js.map +1 -0
- package/dist/models/SecurityChecksResponse.d.ts +23 -0
- package/dist/models/SecurityChecksResponse.js +35 -0
- package/dist/models/SecurityChecksResponse.js.map +1 -0
- package/dist/models/SecurityChecksResult.d.ts +30 -0
- package/dist/models/SecurityChecksResult.js +65 -0
- package/dist/models/SecurityChecksResult.js.map +1 -0
- package/dist/models/SecurityModel.d.ts +30 -0
- package/dist/models/SecurityModel.js +83 -0
- package/dist/models/SecurityModel.js.map +1 -0
- package/dist/models/SeverityType.d.ts +8 -0
- package/dist/models/SeverityType.js +13 -0
- package/dist/models/SeverityType.js.map +1 -0
- package/dist/models/SimilarFunctionsResponse.d.ts +27 -0
- package/dist/models/SimilarFunctionsResponse.js +65 -0
- package/dist/models/SimilarFunctionsResponse.js.map +1 -0
- package/dist/models/SingleCodeCertificateModel.d.ts +25 -0
- package/dist/models/SingleCodeCertificateModel.js +53 -0
- package/dist/models/SingleCodeCertificateModel.js.map +1 -0
- package/dist/models/SingleCodeSignatureModel.d.ts +22 -0
- package/dist/models/SingleCodeSignatureModel.js +29 -0
- package/dist/models/SingleCodeSignatureModel.js.map +1 -0
- package/dist/models/SinglePDBEntryModel.d.ts +22 -0
- package/dist/models/SinglePDBEntryModel.js +35 -0
- package/dist/models/SinglePDBEntryModel.js.map +1 -0
- package/dist/models/SingleSectionModel.d.ts +26 -0
- package/dist/models/SingleSectionModel.js +59 -0
- package/dist/models/SingleSectionModel.js.map +1 -0
- package/dist/models/StackVariable.d.ts +25 -0
- package/dist/models/StackVariable.js +53 -0
- package/dist/models/StackVariable.js.map +1 -0
- package/dist/models/StatusInput.d.ts +8 -0
- package/dist/models/StatusInput.js +13 -0
- package/dist/models/StatusInput.js.map +1 -0
- package/dist/models/StatusOutput.d.ts +21 -0
- package/dist/models/StatusOutput.js +29 -0
- package/dist/models/StatusOutput.js.map +1 -0
- package/dist/models/StringFunctions.d.ts +22 -0
- package/dist/models/StringFunctions.js +29 -0
- package/dist/models/StringFunctions.js.map +1 -0
- package/dist/models/Structure.d.ts +27 -0
- package/dist/models/Structure.js +47 -0
- package/dist/models/Structure.js.map +1 -0
- package/dist/models/StructureMember.d.ts +24 -0
- package/dist/models/StructureMember.js +47 -0
- package/dist/models/StructureMember.js.map +1 -0
- package/dist/models/Symbols.d.ts +22 -0
- package/dist/models/Symbols.js +29 -0
- package/dist/models/Symbols.js.map +1 -0
- package/dist/models/TTPS.d.ts +22 -0
- package/dist/models/TTPS.js +29 -0
- package/dist/models/TTPS.js.map +1 -0
- package/dist/models/TTPSAttack.d.ts +21 -0
- package/dist/models/TTPSAttack.js +29 -0
- package/dist/models/TTPSAttack.js.map +1 -0
- package/dist/models/TTPSData.d.ts +22 -0
- package/dist/models/TTPSData.js +29 -0
- package/dist/models/TTPSData.js.map +1 -0
- package/dist/models/TTPSElement.d.ts +25 -0
- package/dist/models/TTPSElement.js +41 -0
- package/dist/models/TTPSElement.js.map +1 -0
- package/dist/models/TTPSOccurance.d.ts +21 -0
- package/dist/models/TTPSOccurance.js +29 -0
- package/dist/models/TTPSOccurance.js.map +1 -0
- package/dist/models/Tag.d.ts +20 -0
- package/dist/models/Tag.js +23 -0
- package/dist/models/Tag.js.map +1 -0
- package/dist/models/TagConfidenceBody.d.ts +21 -0
- package/dist/models/TagConfidenceBody.js +23 -0
- package/dist/models/TagConfidenceBody.js.map +1 -0
- package/dist/models/TagOriginBoxPlotConfidence.d.ts +23 -0
- package/dist/models/TagOriginBoxPlotConfidence.js +29 -0
- package/dist/models/TagOriginBoxPlotConfidence.js.map +1 -0
- package/dist/models/TagResponse.d.ts +21 -0
- package/dist/models/TagResponse.js +29 -0
- package/dist/models/TagResponse.js.map +1 -0
- package/dist/models/TagSearchResponse.d.ts +21 -0
- package/dist/models/TagSearchResponse.js +23 -0
- package/dist/models/TagSearchResponse.js.map +1 -0
- package/dist/models/TagSearchResult.d.ts +21 -0
- package/dist/models/TagSearchResult.js +29 -0
- package/dist/models/TagSearchResult.js.map +1 -0
- package/dist/models/Tags.d.ts +22 -0
- package/dist/models/Tags.js +29 -0
- package/dist/models/Tags.js.map +1 -0
- package/dist/models/TaskResponse.d.ts +22 -0
- package/dist/models/TaskResponse.js +29 -0
- package/dist/models/TaskResponse.js.map +1 -0
- package/dist/models/TaskStatus.d.ts +7 -0
- package/dist/models/TaskStatus.js +12 -0
- package/dist/models/TaskStatus.js.map +1 -0
- package/dist/models/ThreatScoreFunctionBody.d.ts +20 -0
- package/dist/models/ThreatScoreFunctionBody.js +23 -0
- package/dist/models/ThreatScoreFunctionBody.js.map +1 -0
- package/dist/models/TimestampModel.d.ts +22 -0
- package/dist/models/TimestampModel.js +35 -0
- package/dist/models/TimestampModel.js.map +1 -0
- package/dist/models/TypeDefinition.d.ts +23 -0
- package/dist/models/TypeDefinition.js +41 -0
- package/dist/models/TypeDefinition.js.map +1 -0
- package/dist/models/UpdateFunctionDataTypes.d.ts +22 -0
- package/dist/models/UpdateFunctionDataTypes.js +29 -0
- package/dist/models/UpdateFunctionDataTypes.js.map +1 -0
- package/dist/models/UploadFileType.d.ts +6 -0
- package/dist/models/UploadFileType.js +11 -0
- package/dist/models/UploadFileType.js.map +1 -0
- package/dist/models/UploadResponse.d.ts +23 -0
- package/dist/models/UploadResponse.js +35 -0
- package/dist/models/UploadResponse.js.map +1 -0
- package/dist/models/UpsertAiDecomplationRatingRequest.d.ts +22 -0
- package/dist/models/UpsertAiDecomplationRatingRequest.js +29 -0
- package/dist/models/UpsertAiDecomplationRatingRequest.js.map +1 -0
- package/dist/models/UserActivityResponse.d.ts +25 -0
- package/dist/models/UserActivityResponse.js +53 -0
- package/dist/models/UserActivityResponse.js.map +1 -0
- package/dist/models/Vulnerabilities.d.ts +21 -0
- package/dist/models/Vulnerabilities.js +23 -0
- package/dist/models/Vulnerabilities.js.map +1 -0
- package/dist/models/Vulnerability.d.ts +37 -0
- package/dist/models/Vulnerability.js +91 -0
- package/dist/models/Vulnerability.js.map +1 -0
- package/dist/models/VulnerabilityType.d.ts +8 -0
- package/dist/models/VulnerabilityType.js +13 -0
- package/dist/models/VulnerabilityType.js.map +1 -0
- package/dist/models/Workspace.d.ts +5 -0
- package/dist/models/Workspace.js +10 -0
- package/dist/models/Workspace.js.map +1 -0
- package/dist/models/all.d.ts +305 -0
- package/dist/models/all.js +322 -0
- package/dist/models/all.js.map +1 -0
- package/dist/rxjsStub.d.ts +10 -0
- package/dist/rxjsStub.js +33 -0
- package/dist/rxjsStub.js.map +1 -0
- package/dist/servers.d.ts +17 -0
- package/dist/servers.js +32 -0
- package/dist/servers.js.map +1 -0
- package/dist/types/ObjectParamAPI.d.ts +867 -0
- package/dist/types/ObjectParamAPI.js +854 -0
- package/dist/types/ObjectParamAPI.js.map +1 -0
- package/dist/types/ObservableAPI.d.ts +475 -0
- package/dist/types/ObservableAPI.js +3361 -0
- package/dist/types/ObservableAPI.js.map +1 -0
- package/dist/types/PromiseAPI.d.ts +436 -0
- package/dist/types/PromiseAPI.js +1287 -0
- package/dist/types/PromiseAPI.js.map +1 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +29 -0
- package/dist/util.js.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1,1380 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
+
exports.AnalysesCoreApiResponseProcessor = exports.AnalysesCoreApiRequestFactory = void 0;
|
|
55
|
+
var baseapi_1 = require("./baseapi");
|
|
56
|
+
var http_1 = require("../http/http");
|
|
57
|
+
var ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
58
|
+
var exception_1 = require("./exception");
|
|
59
|
+
var util_1 = require("../util");
|
|
60
|
+
var AnalysesCoreApiRequestFactory = (function (_super) {
|
|
61
|
+
__extends(AnalysesCoreApiRequestFactory, _super);
|
|
62
|
+
function AnalysesCoreApiRequestFactory() {
|
|
63
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
AnalysesCoreApiRequestFactory.prototype.createAnalysis = function (analysisCreateRequest, _options) {
|
|
66
|
+
var _a;
|
|
67
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
68
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
69
|
+
return __generator(this, function (_b) {
|
|
70
|
+
switch (_b.label) {
|
|
71
|
+
case 0:
|
|
72
|
+
_config = _options || this.configuration;
|
|
73
|
+
if (analysisCreateRequest === null || analysisCreateRequest === undefined) {
|
|
74
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "createAnalysis", "analysisCreateRequest");
|
|
75
|
+
}
|
|
76
|
+
localVarPath = '/v2/analyses';
|
|
77
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
78
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
79
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
80
|
+
"application/json"
|
|
81
|
+
]);
|
|
82
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
83
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(analysisCreateRequest, "AnalysisCreateRequest", ""), contentType);
|
|
84
|
+
requestContext.setBody(serializedBody);
|
|
85
|
+
authMethod = _config.authMethods["APIKey"];
|
|
86
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
87
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
88
|
+
case 1:
|
|
89
|
+
_b.sent();
|
|
90
|
+
_b.label = 2;
|
|
91
|
+
case 2:
|
|
92
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
93
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
94
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
95
|
+
case 3:
|
|
96
|
+
_b.sent();
|
|
97
|
+
_b.label = 4;
|
|
98
|
+
case 4: return [2, requestContext];
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
AnalysesCoreApiRequestFactory.prototype.deleteAnalysis = function (analysisId, _options) {
|
|
104
|
+
var _a;
|
|
105
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
106
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
107
|
+
return __generator(this, function (_b) {
|
|
108
|
+
switch (_b.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
_config = _options || this.configuration;
|
|
111
|
+
if (analysisId === null || analysisId === undefined) {
|
|
112
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "deleteAnalysis", "analysisId");
|
|
113
|
+
}
|
|
114
|
+
localVarPath = '/v2/analyses/{analysis_id}'
|
|
115
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
116
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
117
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
118
|
+
authMethod = _config.authMethods["APIKey"];
|
|
119
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
120
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
121
|
+
case 1:
|
|
122
|
+
_b.sent();
|
|
123
|
+
_b.label = 2;
|
|
124
|
+
case 2:
|
|
125
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
126
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
127
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
128
|
+
case 3:
|
|
129
|
+
_b.sent();
|
|
130
|
+
_b.label = 4;
|
|
131
|
+
case 4: return [2, requestContext];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
AnalysesCoreApiRequestFactory.prototype.findSimilarFunctionsBatch = function (analysisId, aNNFunction, _options) {
|
|
137
|
+
var _a;
|
|
138
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
140
|
+
return __generator(this, function (_b) {
|
|
141
|
+
switch (_b.label) {
|
|
142
|
+
case 0:
|
|
143
|
+
_config = _options || this.configuration;
|
|
144
|
+
if (analysisId === null || analysisId === undefined) {
|
|
145
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "findSimilarFunctionsBatch", "analysisId");
|
|
146
|
+
}
|
|
147
|
+
if (aNNFunction === null || aNNFunction === undefined) {
|
|
148
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "findSimilarFunctionsBatch", "aNNFunction");
|
|
149
|
+
}
|
|
150
|
+
localVarPath = '/v2/analyses/{analysis_id}/similarity/functions'
|
|
151
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
152
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
153
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
154
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
155
|
+
"application/json"
|
|
156
|
+
]);
|
|
157
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
158
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(aNNFunction, "ANNFunction", ""), contentType);
|
|
159
|
+
requestContext.setBody(serializedBody);
|
|
160
|
+
authMethod = _config.authMethods["APIKey"];
|
|
161
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
162
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
163
|
+
case 1:
|
|
164
|
+
_b.sent();
|
|
165
|
+
_b.label = 2;
|
|
166
|
+
case 2:
|
|
167
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
168
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
169
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
170
|
+
case 3:
|
|
171
|
+
_b.sent();
|
|
172
|
+
_b.label = 4;
|
|
173
|
+
case 4: return [2, requestContext];
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisBasicInfo = function (analysisId, _options) {
|
|
179
|
+
var _a;
|
|
180
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
181
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
182
|
+
return __generator(this, function (_b) {
|
|
183
|
+
switch (_b.label) {
|
|
184
|
+
case 0:
|
|
185
|
+
_config = _options || this.configuration;
|
|
186
|
+
if (analysisId === null || analysisId === undefined) {
|
|
187
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisBasicInfo", "analysisId");
|
|
188
|
+
}
|
|
189
|
+
localVarPath = '/v2/analyses/{analysis_id}/basic'
|
|
190
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
191
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
192
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
193
|
+
authMethod = _config.authMethods["APIKey"];
|
|
194
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
195
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
196
|
+
case 1:
|
|
197
|
+
_b.sent();
|
|
198
|
+
_b.label = 2;
|
|
199
|
+
case 2:
|
|
200
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
201
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
202
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
203
|
+
case 3:
|
|
204
|
+
_b.sent();
|
|
205
|
+
_b.label = 4;
|
|
206
|
+
case 4: return [2, requestContext];
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMap = function (analysisId, _options) {
|
|
212
|
+
var _a;
|
|
213
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
214
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
215
|
+
return __generator(this, function (_b) {
|
|
216
|
+
switch (_b.label) {
|
|
217
|
+
case 0:
|
|
218
|
+
_config = _options || this.configuration;
|
|
219
|
+
if (analysisId === null || analysisId === undefined) {
|
|
220
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisFunctionMap", "analysisId");
|
|
221
|
+
}
|
|
222
|
+
localVarPath = '/v2/analyses/{analysis_id}/func_maps'
|
|
223
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
224
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
225
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
226
|
+
authMethod = _config.authMethods["APIKey"];
|
|
227
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
228
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
229
|
+
case 1:
|
|
230
|
+
_b.sent();
|
|
231
|
+
_b.label = 2;
|
|
232
|
+
case 2:
|
|
233
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
234
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
235
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
236
|
+
case 3:
|
|
237
|
+
_b.sent();
|
|
238
|
+
_b.label = 4;
|
|
239
|
+
case 4: return [2, requestContext];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisLogs = function (analysisId, _options) {
|
|
245
|
+
var _a;
|
|
246
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
247
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
248
|
+
return __generator(this, function (_b) {
|
|
249
|
+
switch (_b.label) {
|
|
250
|
+
case 0:
|
|
251
|
+
_config = _options || this.configuration;
|
|
252
|
+
if (analysisId === null || analysisId === undefined) {
|
|
253
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisLogs", "analysisId");
|
|
254
|
+
}
|
|
255
|
+
localVarPath = '/v2/analyses/{analysis_id}/logs'
|
|
256
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
257
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
258
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
259
|
+
authMethod = _config.authMethods["APIKey"];
|
|
260
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
261
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
262
|
+
case 1:
|
|
263
|
+
_b.sent();
|
|
264
|
+
_b.label = 2;
|
|
265
|
+
case 2:
|
|
266
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
267
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
268
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
269
|
+
case 3:
|
|
270
|
+
_b.sent();
|
|
271
|
+
_b.label = 4;
|
|
272
|
+
case 4: return [2, requestContext];
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisParams = function (analysisId, _options) {
|
|
278
|
+
var _a;
|
|
279
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
280
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
281
|
+
return __generator(this, function (_b) {
|
|
282
|
+
switch (_b.label) {
|
|
283
|
+
case 0:
|
|
284
|
+
_config = _options || this.configuration;
|
|
285
|
+
if (analysisId === null || analysisId === undefined) {
|
|
286
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisParams", "analysisId");
|
|
287
|
+
}
|
|
288
|
+
localVarPath = '/v2/analyses/{analysis_id}/params'
|
|
289
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
290
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
291
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
292
|
+
authMethod = _config.authMethods["APIKey"];
|
|
293
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
294
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
295
|
+
case 1:
|
|
296
|
+
_b.sent();
|
|
297
|
+
_b.label = 2;
|
|
298
|
+
case 2:
|
|
299
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
300
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
301
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
302
|
+
case 3:
|
|
303
|
+
_b.sent();
|
|
304
|
+
_b.label = 4;
|
|
305
|
+
case 4: return [2, requestContext];
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
};
|
|
310
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisStatus = function (analysisId, _options) {
|
|
311
|
+
var _a;
|
|
312
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
313
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
314
|
+
return __generator(this, function (_b) {
|
|
315
|
+
switch (_b.label) {
|
|
316
|
+
case 0:
|
|
317
|
+
_config = _options || this.configuration;
|
|
318
|
+
if (analysisId === null || analysisId === undefined) {
|
|
319
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisStatus", "analysisId");
|
|
320
|
+
}
|
|
321
|
+
localVarPath = '/v2/analyses/{analysis_id}/status'
|
|
322
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
323
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
324
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
325
|
+
authMethod = _config.authMethods["APIKey"];
|
|
326
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
327
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
328
|
+
case 1:
|
|
329
|
+
_b.sent();
|
|
330
|
+
_b.label = 2;
|
|
331
|
+
case 2:
|
|
332
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
333
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
334
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
335
|
+
case 3:
|
|
336
|
+
_b.sent();
|
|
337
|
+
_b.label = 4;
|
|
338
|
+
case 4: return [2, requestContext];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
AnalysesCoreApiRequestFactory.prototype.getBinaryAnn = function (analysisId, binaryAnnForm, _options) {
|
|
344
|
+
var _a;
|
|
345
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
346
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
347
|
+
return __generator(this, function (_b) {
|
|
348
|
+
switch (_b.label) {
|
|
349
|
+
case 0:
|
|
350
|
+
_config = _options || this.configuration;
|
|
351
|
+
if (analysisId === null || analysisId === undefined) {
|
|
352
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getBinaryAnn", "analysisId");
|
|
353
|
+
}
|
|
354
|
+
if (binaryAnnForm === null || binaryAnnForm === undefined) {
|
|
355
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getBinaryAnn", "binaryAnnForm");
|
|
356
|
+
}
|
|
357
|
+
localVarPath = '/v2/binary_ann/{analysis_id}'
|
|
358
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
359
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
360
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
361
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
362
|
+
"application/json"
|
|
363
|
+
]);
|
|
364
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
365
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(binaryAnnForm, "BinaryAnnForm", ""), contentType);
|
|
366
|
+
requestContext.setBody(serializedBody);
|
|
367
|
+
authMethod = _config.authMethods["APIKey"];
|
|
368
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
369
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
370
|
+
case 1:
|
|
371
|
+
_b.sent();
|
|
372
|
+
_b.label = 2;
|
|
373
|
+
case 2:
|
|
374
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
375
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
376
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
377
|
+
case 3:
|
|
378
|
+
_b.sent();
|
|
379
|
+
_b.label = 4;
|
|
380
|
+
case 4: return [2, requestContext];
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
});
|
|
384
|
+
};
|
|
385
|
+
AnalysesCoreApiRequestFactory.prototype.listAnalyses = function (searchTerm, workspace, status, modelName, dynamicExecutionStatus, usernames, sha256Hash, limit, offset, orderBy, order, _options) {
|
|
386
|
+
var _a;
|
|
387
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
388
|
+
var _config, localVarPath, requestContext, serializedParams, _i, serializedParams_1, serializedParam, serializedParams, _b, serializedParams_2, serializedParam, serializedParams, _c, serializedParams_3, serializedParam, serializedParams, _d, serializedParams_4, serializedParam, authMethod, defaultAuth;
|
|
389
|
+
return __generator(this, function (_e) {
|
|
390
|
+
switch (_e.label) {
|
|
391
|
+
case 0:
|
|
392
|
+
_config = _options || this.configuration;
|
|
393
|
+
localVarPath = '/v2/analyses/list';
|
|
394
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
395
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
396
|
+
if (searchTerm !== undefined) {
|
|
397
|
+
requestContext.setQueryParam("search_term", ObjectSerializer_1.ObjectSerializer.serialize(searchTerm, "string", ""));
|
|
398
|
+
}
|
|
399
|
+
if (workspace !== undefined) {
|
|
400
|
+
serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(workspace, "Array<Workspace>", "");
|
|
401
|
+
for (_i = 0, serializedParams_1 = serializedParams; _i < serializedParams_1.length; _i++) {
|
|
402
|
+
serializedParam = serializedParams_1[_i];
|
|
403
|
+
requestContext.appendQueryParam("workspace", serializedParam);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
if (status !== undefined) {
|
|
407
|
+
serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(status, "Array<StatusInput>", "");
|
|
408
|
+
for (_b = 0, serializedParams_2 = serializedParams; _b < serializedParams_2.length; _b++) {
|
|
409
|
+
serializedParam = serializedParams_2[_b];
|
|
410
|
+
requestContext.appendQueryParam("status", serializedParam);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
if (modelName !== undefined) {
|
|
414
|
+
serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(modelName, "Array<ModelName>", "");
|
|
415
|
+
for (_c = 0, serializedParams_3 = serializedParams; _c < serializedParams_3.length; _c++) {
|
|
416
|
+
serializedParam = serializedParams_3[_c];
|
|
417
|
+
requestContext.appendQueryParam("model_name", serializedParam);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
if (dynamicExecutionStatus !== undefined) {
|
|
421
|
+
requestContext.setQueryParam("dynamic_execution_status", ObjectSerializer_1.ObjectSerializer.serialize(dynamicExecutionStatus, "DynamicExecutionStatusInput", ""));
|
|
422
|
+
}
|
|
423
|
+
if (usernames !== undefined) {
|
|
424
|
+
serializedParams = ObjectSerializer_1.ObjectSerializer.serialize(usernames, "Array<string>", "");
|
|
425
|
+
for (_d = 0, serializedParams_4 = serializedParams; _d < serializedParams_4.length; _d++) {
|
|
426
|
+
serializedParam = serializedParams_4[_d];
|
|
427
|
+
requestContext.appendQueryParam("usernames", serializedParam);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
if (sha256Hash !== undefined) {
|
|
431
|
+
requestContext.setQueryParam("sha256_hash", ObjectSerializer_1.ObjectSerializer.serialize(sha256Hash, "string", ""));
|
|
432
|
+
}
|
|
433
|
+
if (limit !== undefined) {
|
|
434
|
+
requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""));
|
|
435
|
+
}
|
|
436
|
+
if (offset !== undefined) {
|
|
437
|
+
requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", ""));
|
|
438
|
+
}
|
|
439
|
+
if (orderBy !== undefined) {
|
|
440
|
+
requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "AppApiRestV2AnalysesEnumsOrderBy", ""));
|
|
441
|
+
}
|
|
442
|
+
if (order !== undefined) {
|
|
443
|
+
requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "Order", ""));
|
|
444
|
+
}
|
|
445
|
+
authMethod = _config.authMethods["APIKey"];
|
|
446
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
447
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
448
|
+
case 1:
|
|
449
|
+
_e.sent();
|
|
450
|
+
_e.label = 2;
|
|
451
|
+
case 2:
|
|
452
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
453
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
454
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
455
|
+
case 3:
|
|
456
|
+
_e.sent();
|
|
457
|
+
_e.label = 4;
|
|
458
|
+
case 4: return [2, requestContext];
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
});
|
|
462
|
+
};
|
|
463
|
+
AnalysesCoreApiRequestFactory.prototype.lookupBinaryId = function (binaryId, _options) {
|
|
464
|
+
var _a;
|
|
465
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
466
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
467
|
+
return __generator(this, function (_b) {
|
|
468
|
+
switch (_b.label) {
|
|
469
|
+
case 0:
|
|
470
|
+
_config = _options || this.configuration;
|
|
471
|
+
if (binaryId === null || binaryId === undefined) {
|
|
472
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "lookupBinaryId", "binaryId");
|
|
473
|
+
}
|
|
474
|
+
localVarPath = '/v2/analyses/lookup/{binary_id}'
|
|
475
|
+
.replace('{' + 'binary_id' + '}', encodeURIComponent(String(binaryId)));
|
|
476
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
477
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
478
|
+
authMethod = _config.authMethods["APIKey"];
|
|
479
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
480
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
481
|
+
case 1:
|
|
482
|
+
_b.sent();
|
|
483
|
+
_b.label = 2;
|
|
484
|
+
case 2:
|
|
485
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
486
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
487
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
488
|
+
case 3:
|
|
489
|
+
_b.sent();
|
|
490
|
+
_b.label = 4;
|
|
491
|
+
case 4: return [2, requestContext];
|
|
492
|
+
}
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
AnalysesCoreApiRequestFactory.prototype.requeueAnalysis = function (analysisId, reAnalysisForm, _options) {
|
|
497
|
+
var _a;
|
|
498
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
499
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
500
|
+
return __generator(this, function (_b) {
|
|
501
|
+
switch (_b.label) {
|
|
502
|
+
case 0:
|
|
503
|
+
_config = _options || this.configuration;
|
|
504
|
+
if (analysisId === null || analysisId === undefined) {
|
|
505
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "requeueAnalysis", "analysisId");
|
|
506
|
+
}
|
|
507
|
+
if (reAnalysisForm === null || reAnalysisForm === undefined) {
|
|
508
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "requeueAnalysis", "reAnalysisForm");
|
|
509
|
+
}
|
|
510
|
+
localVarPath = '/v2/analyses/{analysis_id}/requeue'
|
|
511
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
512
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
513
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
514
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
515
|
+
"application/json"
|
|
516
|
+
]);
|
|
517
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
518
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(reAnalysisForm, "ReAnalysisForm", ""), contentType);
|
|
519
|
+
requestContext.setBody(serializedBody);
|
|
520
|
+
authMethod = _config.authMethods["APIKey"];
|
|
521
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
522
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
523
|
+
case 1:
|
|
524
|
+
_b.sent();
|
|
525
|
+
_b.label = 2;
|
|
526
|
+
case 2:
|
|
527
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
528
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
529
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
530
|
+
case 3:
|
|
531
|
+
_b.sent();
|
|
532
|
+
_b.label = 4;
|
|
533
|
+
case 4: return [2, requestContext];
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
});
|
|
537
|
+
};
|
|
538
|
+
AnalysesCoreApiRequestFactory.prototype.updateAnalysis = function (analysisId, analysisUpdateRequest, _options) {
|
|
539
|
+
var _a;
|
|
540
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
541
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
542
|
+
return __generator(this, function (_b) {
|
|
543
|
+
switch (_b.label) {
|
|
544
|
+
case 0:
|
|
545
|
+
_config = _options || this.configuration;
|
|
546
|
+
if (analysisId === null || analysisId === undefined) {
|
|
547
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "updateAnalysis", "analysisId");
|
|
548
|
+
}
|
|
549
|
+
if (analysisUpdateRequest === null || analysisUpdateRequest === undefined) {
|
|
550
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "updateAnalysis", "analysisUpdateRequest");
|
|
551
|
+
}
|
|
552
|
+
localVarPath = '/v2/analyses/{analysis_id}'
|
|
553
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
554
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
555
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
556
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
557
|
+
"application/json"
|
|
558
|
+
]);
|
|
559
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
560
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(analysisUpdateRequest, "AnalysisUpdateRequest", ""), contentType);
|
|
561
|
+
requestContext.setBody(serializedBody);
|
|
562
|
+
authMethod = _config.authMethods["APIKey"];
|
|
563
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
564
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
565
|
+
case 1:
|
|
566
|
+
_b.sent();
|
|
567
|
+
_b.label = 2;
|
|
568
|
+
case 2:
|
|
569
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
570
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
571
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
572
|
+
case 3:
|
|
573
|
+
_b.sent();
|
|
574
|
+
_b.label = 4;
|
|
575
|
+
case 4: return [2, requestContext];
|
|
576
|
+
}
|
|
577
|
+
});
|
|
578
|
+
});
|
|
579
|
+
};
|
|
580
|
+
AnalysesCoreApiRequestFactory.prototype.updateAnalysisTags = function (analysisId, analysisUpdateTagsRequest, _options) {
|
|
581
|
+
var _a;
|
|
582
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
583
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
584
|
+
return __generator(this, function (_b) {
|
|
585
|
+
switch (_b.label) {
|
|
586
|
+
case 0:
|
|
587
|
+
_config = _options || this.configuration;
|
|
588
|
+
if (analysisId === null || analysisId === undefined) {
|
|
589
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "updateAnalysisTags", "analysisId");
|
|
590
|
+
}
|
|
591
|
+
if (analysisUpdateTagsRequest === null || analysisUpdateTagsRequest === undefined) {
|
|
592
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "updateAnalysisTags", "analysisUpdateTagsRequest");
|
|
593
|
+
}
|
|
594
|
+
localVarPath = '/v2/analyses/{analysis_id}/tags'
|
|
595
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
596
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
597
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
598
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
599
|
+
"application/json"
|
|
600
|
+
]);
|
|
601
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
602
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(analysisUpdateTagsRequest, "AnalysisUpdateTagsRequest", ""), contentType);
|
|
603
|
+
requestContext.setBody(serializedBody);
|
|
604
|
+
authMethod = _config.authMethods["APIKey"];
|
|
605
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
606
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
607
|
+
case 1:
|
|
608
|
+
_b.sent();
|
|
609
|
+
_b.label = 2;
|
|
610
|
+
case 2:
|
|
611
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
612
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
613
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
614
|
+
case 3:
|
|
615
|
+
_b.sent();
|
|
616
|
+
_b.label = 4;
|
|
617
|
+
case 4: return [2, requestContext];
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
});
|
|
621
|
+
};
|
|
622
|
+
AnalysesCoreApiRequestFactory.prototype.uploadFile = function (uploadFileType, file, packedPassword, forceOverwrite, _options) {
|
|
623
|
+
var _a;
|
|
624
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
625
|
+
var _config, localVarPath, requestContext, useForm, localVarFormParams, contentType, authMethod, defaultAuth;
|
|
626
|
+
return __generator(this, function (_b) {
|
|
627
|
+
switch (_b.label) {
|
|
628
|
+
case 0:
|
|
629
|
+
_config = _options || this.configuration;
|
|
630
|
+
if (uploadFileType === null || uploadFileType === undefined) {
|
|
631
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "uploadFile", "uploadFileType");
|
|
632
|
+
}
|
|
633
|
+
if (file === null || file === undefined) {
|
|
634
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "uploadFile", "file");
|
|
635
|
+
}
|
|
636
|
+
localVarPath = '/v2/upload';
|
|
637
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
638
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
639
|
+
if (packedPassword !== undefined) {
|
|
640
|
+
requestContext.setQueryParam("packed_password", ObjectSerializer_1.ObjectSerializer.serialize(packedPassword, "string", ""));
|
|
641
|
+
}
|
|
642
|
+
useForm = (0, util_1.canConsumeForm)([
|
|
643
|
+
'multipart/form-data',
|
|
644
|
+
]);
|
|
645
|
+
if (useForm) {
|
|
646
|
+
localVarFormParams = new FormData();
|
|
647
|
+
}
|
|
648
|
+
else {
|
|
649
|
+
localVarFormParams = new URLSearchParams();
|
|
650
|
+
}
|
|
651
|
+
if (uploadFileType !== undefined) {
|
|
652
|
+
localVarFormParams.append('upload_file_type', uploadFileType);
|
|
653
|
+
}
|
|
654
|
+
if (file !== undefined) {
|
|
655
|
+
if (localVarFormParams instanceof FormData) {
|
|
656
|
+
localVarFormParams.append('file', file, file.name);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
if (forceOverwrite !== undefined) {
|
|
660
|
+
localVarFormParams.append('force_overwrite', forceOverwrite);
|
|
661
|
+
}
|
|
662
|
+
requestContext.setBody(localVarFormParams);
|
|
663
|
+
if (!useForm) {
|
|
664
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
665
|
+
"multipart/form-data"
|
|
666
|
+
]);
|
|
667
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
668
|
+
}
|
|
669
|
+
authMethod = _config.authMethods["APIKey"];
|
|
670
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
671
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
672
|
+
case 1:
|
|
673
|
+
_b.sent();
|
|
674
|
+
_b.label = 2;
|
|
675
|
+
case 2:
|
|
676
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
677
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
678
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
679
|
+
case 3:
|
|
680
|
+
_b.sent();
|
|
681
|
+
_b.label = 4;
|
|
682
|
+
case 4: return [2, requestContext];
|
|
683
|
+
}
|
|
684
|
+
});
|
|
685
|
+
});
|
|
686
|
+
};
|
|
687
|
+
return AnalysesCoreApiRequestFactory;
|
|
688
|
+
}(baseapi_1.BaseAPIRequestFactory));
|
|
689
|
+
exports.AnalysesCoreApiRequestFactory = AnalysesCoreApiRequestFactory;
|
|
690
|
+
var AnalysesCoreApiResponseProcessor = (function () {
|
|
691
|
+
function AnalysesCoreApiResponseProcessor() {
|
|
692
|
+
}
|
|
693
|
+
AnalysesCoreApiResponseProcessor.prototype.createAnalysisWithHttpInfo = function (response) {
|
|
694
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
695
|
+
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;
|
|
696
|
+
return __generator(this, function (_y) {
|
|
697
|
+
switch (_y.label) {
|
|
698
|
+
case 0:
|
|
699
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
700
|
+
if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
|
|
701
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
702
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
703
|
+
return [4, response.body.text()];
|
|
704
|
+
case 1:
|
|
705
|
+
body = _b.apply(_a, [_d.apply(_c, [_y.sent(), contentType]),
|
|
706
|
+
"BaseResponseAnalysisCreateResponse", ""]);
|
|
707
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
708
|
+
case 2:
|
|
709
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
710
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
711
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
712
|
+
return [4, response.body.text()];
|
|
713
|
+
case 3:
|
|
714
|
+
body = _f.apply(_e, [_h.apply(_g, [_y.sent(), contentType]),
|
|
715
|
+
"BaseResponse", ""]);
|
|
716
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
717
|
+
case 4:
|
|
718
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
719
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
720
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
721
|
+
return [4, response.body.text()];
|
|
722
|
+
case 5:
|
|
723
|
+
body = _k.apply(_j, [_m.apply(_l, [_y.sent(), contentType]),
|
|
724
|
+
"BaseResponse", ""]);
|
|
725
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
726
|
+
case 6:
|
|
727
|
+
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 8];
|
|
728
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
729
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
730
|
+
return [4, response.body.text()];
|
|
731
|
+
case 7:
|
|
732
|
+
body = _p.apply(_o, [_r.apply(_q, [_y.sent(), contentType]),
|
|
733
|
+
"BaseResponse", ""]);
|
|
734
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
|
|
735
|
+
case 8:
|
|
736
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 10];
|
|
737
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
738
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
739
|
+
return [4, response.body.text()];
|
|
740
|
+
case 9:
|
|
741
|
+
body = _t.apply(_s, [_v.apply(_u, [_y.sent(), contentType]),
|
|
742
|
+
"BaseResponseAnalysisCreateResponse", ""]);
|
|
743
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
744
|
+
case 10:
|
|
745
|
+
_w = exception_1.ApiException.bind;
|
|
746
|
+
_x = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
747
|
+
return [4, response.getBodyAsAny()];
|
|
748
|
+
case 11: throw new (_w.apply(exception_1.ApiException, _x.concat([_y.sent(), response.headers])))();
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
});
|
|
752
|
+
};
|
|
753
|
+
AnalysesCoreApiResponseProcessor.prototype.deleteAnalysisWithHttpInfo = function (response) {
|
|
754
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
755
|
+
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;
|
|
756
|
+
return __generator(this, function (_y) {
|
|
757
|
+
switch (_y.label) {
|
|
758
|
+
case 0:
|
|
759
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
760
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
761
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
762
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
763
|
+
return [4, response.body.text()];
|
|
764
|
+
case 1:
|
|
765
|
+
body = _b.apply(_a, [_d.apply(_c, [_y.sent(), contentType]),
|
|
766
|
+
"BaseResponseDict", ""]);
|
|
767
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
768
|
+
case 2:
|
|
769
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
770
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
771
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
772
|
+
return [4, response.body.text()];
|
|
773
|
+
case 3:
|
|
774
|
+
body = _f.apply(_e, [_h.apply(_g, [_y.sent(), contentType]),
|
|
775
|
+
"BaseResponse", ""]);
|
|
776
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
777
|
+
case 4:
|
|
778
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
779
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
780
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
781
|
+
return [4, response.body.text()];
|
|
782
|
+
case 5:
|
|
783
|
+
body = _k.apply(_j, [_m.apply(_l, [_y.sent(), contentType]),
|
|
784
|
+
"BaseResponse", ""]);
|
|
785
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
786
|
+
case 6:
|
|
787
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 8];
|
|
788
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
789
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
790
|
+
return [4, response.body.text()];
|
|
791
|
+
case 7:
|
|
792
|
+
body = _p.apply(_o, [_r.apply(_q, [_y.sent(), contentType]),
|
|
793
|
+
"BaseResponse", ""]);
|
|
794
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
795
|
+
case 8:
|
|
796
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 10];
|
|
797
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
798
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
799
|
+
return [4, response.body.text()];
|
|
800
|
+
case 9:
|
|
801
|
+
body = _t.apply(_s, [_v.apply(_u, [_y.sent(), contentType]),
|
|
802
|
+
"BaseResponseDict", ""]);
|
|
803
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
804
|
+
case 10:
|
|
805
|
+
_w = exception_1.ApiException.bind;
|
|
806
|
+
_x = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
807
|
+
return [4, response.getBodyAsAny()];
|
|
808
|
+
case 11: throw new (_w.apply(exception_1.ApiException, _x.concat([_y.sent(), response.headers])))();
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
AnalysesCoreApiResponseProcessor.prototype.findSimilarFunctionsBatchWithHttpInfo = function (response) {
|
|
814
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
815
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
816
|
+
return __generator(this, function (_q) {
|
|
817
|
+
switch (_q.label) {
|
|
818
|
+
case 0:
|
|
819
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
820
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
821
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
822
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
823
|
+
return [4, response.body.text()];
|
|
824
|
+
case 1:
|
|
825
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
826
|
+
"BaseResponseNearestNeighborAnalysis", ""]);
|
|
827
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
828
|
+
case 2:
|
|
829
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
830
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
831
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
832
|
+
return [4, response.body.text()];
|
|
833
|
+
case 3:
|
|
834
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
835
|
+
"BaseResponse", ""]);
|
|
836
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
837
|
+
case 4:
|
|
838
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
839
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
840
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
841
|
+
return [4, response.body.text()];
|
|
842
|
+
case 5:
|
|
843
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
844
|
+
"BaseResponseNearestNeighborAnalysis", ""]);
|
|
845
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
846
|
+
case 6:
|
|
847
|
+
_o = exception_1.ApiException.bind;
|
|
848
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
849
|
+
return [4, response.getBodyAsAny()];
|
|
850
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
851
|
+
}
|
|
852
|
+
});
|
|
853
|
+
});
|
|
854
|
+
};
|
|
855
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisBasicInfoWithHttpInfo = function (response) {
|
|
856
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
857
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
858
|
+
return __generator(this, function (_q) {
|
|
859
|
+
switch (_q.label) {
|
|
860
|
+
case 0:
|
|
861
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
862
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
863
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
864
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
865
|
+
return [4, response.body.text()];
|
|
866
|
+
case 1:
|
|
867
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
868
|
+
"BaseResponseBasic", ""]);
|
|
869
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
870
|
+
case 2:
|
|
871
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
872
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
873
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
874
|
+
return [4, response.body.text()];
|
|
875
|
+
case 3:
|
|
876
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
877
|
+
"BaseResponse", ""]);
|
|
878
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
879
|
+
case 4:
|
|
880
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
881
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
882
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
883
|
+
return [4, response.body.text()];
|
|
884
|
+
case 5:
|
|
885
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
886
|
+
"BaseResponseBasic", ""]);
|
|
887
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
888
|
+
case 6:
|
|
889
|
+
_o = exception_1.ApiException.bind;
|
|
890
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
891
|
+
return [4, response.getBodyAsAny()];
|
|
892
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
893
|
+
}
|
|
894
|
+
});
|
|
895
|
+
});
|
|
896
|
+
};
|
|
897
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMapWithHttpInfo = function (response) {
|
|
898
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
899
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
900
|
+
return __generator(this, function (_q) {
|
|
901
|
+
switch (_q.label) {
|
|
902
|
+
case 0:
|
|
903
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
904
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
905
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
906
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
907
|
+
return [4, response.body.text()];
|
|
908
|
+
case 1:
|
|
909
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
910
|
+
"BaseResponseAnalysisFunctionMapping", ""]);
|
|
911
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
912
|
+
case 2:
|
|
913
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
914
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
915
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
916
|
+
return [4, response.body.text()];
|
|
917
|
+
case 3:
|
|
918
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
919
|
+
"BaseResponse", ""]);
|
|
920
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
921
|
+
case 4:
|
|
922
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
923
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
924
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
925
|
+
return [4, response.body.text()];
|
|
926
|
+
case 5:
|
|
927
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
928
|
+
"BaseResponseAnalysisFunctionMapping", ""]);
|
|
929
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
930
|
+
case 6:
|
|
931
|
+
_o = exception_1.ApiException.bind;
|
|
932
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
933
|
+
return [4, response.getBodyAsAny()];
|
|
934
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
});
|
|
938
|
+
};
|
|
939
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisLogsWithHttpInfo = function (response) {
|
|
940
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
941
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
942
|
+
return __generator(this, function (_q) {
|
|
943
|
+
switch (_q.label) {
|
|
944
|
+
case 0:
|
|
945
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
946
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
947
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
948
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
949
|
+
return [4, response.body.text()];
|
|
950
|
+
case 1:
|
|
951
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
952
|
+
"BaseResponseLogs", ""]);
|
|
953
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
954
|
+
case 2:
|
|
955
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
956
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
957
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
958
|
+
return [4, response.body.text()];
|
|
959
|
+
case 3:
|
|
960
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
961
|
+
"BaseResponse", ""]);
|
|
962
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
963
|
+
case 4:
|
|
964
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
965
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
966
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
967
|
+
return [4, response.body.text()];
|
|
968
|
+
case 5:
|
|
969
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
970
|
+
"BaseResponseLogs", ""]);
|
|
971
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
972
|
+
case 6:
|
|
973
|
+
_o = exception_1.ApiException.bind;
|
|
974
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
975
|
+
return [4, response.getBodyAsAny()];
|
|
976
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
});
|
|
980
|
+
};
|
|
981
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisParamsWithHttpInfo = function (response) {
|
|
982
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
983
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
984
|
+
return __generator(this, function (_q) {
|
|
985
|
+
switch (_q.label) {
|
|
986
|
+
case 0:
|
|
987
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
988
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
989
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
990
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
991
|
+
return [4, response.body.text()];
|
|
992
|
+
case 1:
|
|
993
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
994
|
+
"BaseResponseParams", ""]);
|
|
995
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
996
|
+
case 2:
|
|
997
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
998
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
999
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1000
|
+
return [4, response.body.text()];
|
|
1001
|
+
case 3:
|
|
1002
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1003
|
+
"BaseResponse", ""]);
|
|
1004
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1005
|
+
case 4:
|
|
1006
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1007
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1008
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1009
|
+
return [4, response.body.text()];
|
|
1010
|
+
case 5:
|
|
1011
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1012
|
+
"BaseResponseParams", ""]);
|
|
1013
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1014
|
+
case 6:
|
|
1015
|
+
_o = exception_1.ApiException.bind;
|
|
1016
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1017
|
+
return [4, response.getBodyAsAny()];
|
|
1018
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
});
|
|
1022
|
+
};
|
|
1023
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisStatusWithHttpInfo = function (response) {
|
|
1024
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1025
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1026
|
+
return __generator(this, function (_q) {
|
|
1027
|
+
switch (_q.label) {
|
|
1028
|
+
case 0:
|
|
1029
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1030
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1031
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1032
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1033
|
+
return [4, response.body.text()];
|
|
1034
|
+
case 1:
|
|
1035
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1036
|
+
"BaseResponseStatus", ""]);
|
|
1037
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1038
|
+
case 2:
|
|
1039
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1040
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1041
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1042
|
+
return [4, response.body.text()];
|
|
1043
|
+
case 3:
|
|
1044
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1045
|
+
"BaseResponse", ""]);
|
|
1046
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1047
|
+
case 4:
|
|
1048
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1049
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1050
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1051
|
+
return [4, response.body.text()];
|
|
1052
|
+
case 5:
|
|
1053
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1054
|
+
"BaseResponseStatus", ""]);
|
|
1055
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1056
|
+
case 6:
|
|
1057
|
+
_o = exception_1.ApiException.bind;
|
|
1058
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1059
|
+
return [4, response.getBodyAsAny()];
|
|
1060
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1061
|
+
}
|
|
1062
|
+
});
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
AnalysesCoreApiResponseProcessor.prototype.getBinaryAnnWithHttpInfo = function (response) {
|
|
1066
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1067
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1068
|
+
return __generator(this, function (_q) {
|
|
1069
|
+
switch (_q.label) {
|
|
1070
|
+
case 0:
|
|
1071
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1072
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1073
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1074
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1075
|
+
return [4, response.body.text()];
|
|
1076
|
+
case 1:
|
|
1077
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1078
|
+
"BaseResponseBinaryAnnListResponse", ""]);
|
|
1079
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1080
|
+
case 2:
|
|
1081
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1082
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1083
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1084
|
+
return [4, response.body.text()];
|
|
1085
|
+
case 3:
|
|
1086
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1087
|
+
"BaseResponse", ""]);
|
|
1088
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1089
|
+
case 4:
|
|
1090
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1091
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1092
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1093
|
+
return [4, response.body.text()];
|
|
1094
|
+
case 5:
|
|
1095
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1096
|
+
"BaseResponseBinaryAnnListResponse", ""]);
|
|
1097
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1098
|
+
case 6:
|
|
1099
|
+
_o = exception_1.ApiException.bind;
|
|
1100
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1101
|
+
return [4, response.getBodyAsAny()];
|
|
1102
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1103
|
+
}
|
|
1104
|
+
});
|
|
1105
|
+
});
|
|
1106
|
+
};
|
|
1107
|
+
AnalysesCoreApiResponseProcessor.prototype.listAnalysesWithHttpInfo = function (response) {
|
|
1108
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1109
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1110
|
+
return __generator(this, function (_q) {
|
|
1111
|
+
switch (_q.label) {
|
|
1112
|
+
case 0:
|
|
1113
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1114
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1115
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1116
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1117
|
+
return [4, response.body.text()];
|
|
1118
|
+
case 1:
|
|
1119
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1120
|
+
"BaseResponseRecent", ""]);
|
|
1121
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1122
|
+
case 2:
|
|
1123
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1124
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1125
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1126
|
+
return [4, response.body.text()];
|
|
1127
|
+
case 3:
|
|
1128
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1129
|
+
"BaseResponse", ""]);
|
|
1130
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1131
|
+
case 4:
|
|
1132
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1133
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1134
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1135
|
+
return [4, response.body.text()];
|
|
1136
|
+
case 5:
|
|
1137
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1138
|
+
"BaseResponseRecent", ""]);
|
|
1139
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1140
|
+
case 6:
|
|
1141
|
+
_o = exception_1.ApiException.bind;
|
|
1142
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1143
|
+
return [4, response.getBodyAsAny()];
|
|
1144
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1145
|
+
}
|
|
1146
|
+
});
|
|
1147
|
+
});
|
|
1148
|
+
};
|
|
1149
|
+
AnalysesCoreApiResponseProcessor.prototype.lookupBinaryIdWithHttpInfo = function (response) {
|
|
1150
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1151
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1152
|
+
return __generator(this, function (_q) {
|
|
1153
|
+
switch (_q.label) {
|
|
1154
|
+
case 0:
|
|
1155
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1156
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1157
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1158
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1159
|
+
return [4, response.body.text()];
|
|
1160
|
+
case 1:
|
|
1161
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1162
|
+
"any", ""]);
|
|
1163
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1164
|
+
case 2:
|
|
1165
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1166
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1167
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1168
|
+
return [4, response.body.text()];
|
|
1169
|
+
case 3:
|
|
1170
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1171
|
+
"BaseResponse", ""]);
|
|
1172
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1173
|
+
case 4:
|
|
1174
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1175
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1176
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1177
|
+
return [4, response.body.text()];
|
|
1178
|
+
case 5:
|
|
1179
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1180
|
+
"any", ""]);
|
|
1181
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1182
|
+
case 6:
|
|
1183
|
+
_o = exception_1.ApiException.bind;
|
|
1184
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1185
|
+
return [4, response.getBodyAsAny()];
|
|
1186
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
});
|
|
1190
|
+
};
|
|
1191
|
+
AnalysesCoreApiResponseProcessor.prototype.requeueAnalysisWithHttpInfo = function (response) {
|
|
1192
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1193
|
+
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;
|
|
1194
|
+
return __generator(this, function (_y) {
|
|
1195
|
+
switch (_y.label) {
|
|
1196
|
+
case 0:
|
|
1197
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1198
|
+
if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
|
|
1199
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1200
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1201
|
+
return [4, response.body.text()];
|
|
1202
|
+
case 1:
|
|
1203
|
+
body = _b.apply(_a, [_d.apply(_c, [_y.sent(), contentType]),
|
|
1204
|
+
"BaseResponseCreated", ""]);
|
|
1205
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1206
|
+
case 2:
|
|
1207
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1208
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1209
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1210
|
+
return [4, response.body.text()];
|
|
1211
|
+
case 3:
|
|
1212
|
+
body = _f.apply(_e, [_h.apply(_g, [_y.sent(), contentType]),
|
|
1213
|
+
"BaseResponse", ""]);
|
|
1214
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1215
|
+
case 4:
|
|
1216
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
1217
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1218
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1219
|
+
return [4, response.body.text()];
|
|
1220
|
+
case 5:
|
|
1221
|
+
body = _k.apply(_j, [_m.apply(_l, [_y.sent(), contentType]),
|
|
1222
|
+
"BaseResponse", ""]);
|
|
1223
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
1224
|
+
case 6:
|
|
1225
|
+
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 8];
|
|
1226
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1227
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1228
|
+
return [4, response.body.text()];
|
|
1229
|
+
case 7:
|
|
1230
|
+
body = _p.apply(_o, [_r.apply(_q, [_y.sent(), contentType]),
|
|
1231
|
+
"BaseResponse", ""]);
|
|
1232
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
|
|
1233
|
+
case 8:
|
|
1234
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 10];
|
|
1235
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1236
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1237
|
+
return [4, response.body.text()];
|
|
1238
|
+
case 9:
|
|
1239
|
+
body = _t.apply(_s, [_v.apply(_u, [_y.sent(), contentType]),
|
|
1240
|
+
"BaseResponseCreated", ""]);
|
|
1241
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1242
|
+
case 10:
|
|
1243
|
+
_w = exception_1.ApiException.bind;
|
|
1244
|
+
_x = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1245
|
+
return [4, response.getBodyAsAny()];
|
|
1246
|
+
case 11: throw new (_w.apply(exception_1.ApiException, _x.concat([_y.sent(), response.headers])))();
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1251
|
+
AnalysesCoreApiResponseProcessor.prototype.updateAnalysisWithHttpInfo = function (response) {
|
|
1252
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1253
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1254
|
+
return __generator(this, function (_q) {
|
|
1255
|
+
switch (_q.label) {
|
|
1256
|
+
case 0:
|
|
1257
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1258
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1259
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1260
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1261
|
+
return [4, response.body.text()];
|
|
1262
|
+
case 1:
|
|
1263
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1264
|
+
"BaseResponseAnalysisDetailResponse", ""]);
|
|
1265
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1266
|
+
case 2:
|
|
1267
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1268
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1269
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1270
|
+
return [4, response.body.text()];
|
|
1271
|
+
case 3:
|
|
1272
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1273
|
+
"BaseResponse", ""]);
|
|
1274
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1275
|
+
case 4:
|
|
1276
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1277
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1278
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1279
|
+
return [4, response.body.text()];
|
|
1280
|
+
case 5:
|
|
1281
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1282
|
+
"BaseResponseAnalysisDetailResponse", ""]);
|
|
1283
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1284
|
+
case 6:
|
|
1285
|
+
_o = exception_1.ApiException.bind;
|
|
1286
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1287
|
+
return [4, response.getBodyAsAny()];
|
|
1288
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1289
|
+
}
|
|
1290
|
+
});
|
|
1291
|
+
});
|
|
1292
|
+
};
|
|
1293
|
+
AnalysesCoreApiResponseProcessor.prototype.updateAnalysisTagsWithHttpInfo = function (response) {
|
|
1294
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1295
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1296
|
+
return __generator(this, function (_q) {
|
|
1297
|
+
switch (_q.label) {
|
|
1298
|
+
case 0:
|
|
1299
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1300
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1301
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1302
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1303
|
+
return [4, response.body.text()];
|
|
1304
|
+
case 1:
|
|
1305
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1306
|
+
"BaseResponseAnalysisUpdateTagsResponse", ""]);
|
|
1307
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1308
|
+
case 2:
|
|
1309
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1310
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1311
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1312
|
+
return [4, response.body.text()];
|
|
1313
|
+
case 3:
|
|
1314
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1315
|
+
"BaseResponse", ""]);
|
|
1316
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1317
|
+
case 4:
|
|
1318
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1319
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1320
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1321
|
+
return [4, response.body.text()];
|
|
1322
|
+
case 5:
|
|
1323
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1324
|
+
"BaseResponseAnalysisUpdateTagsResponse", ""]);
|
|
1325
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1326
|
+
case 6:
|
|
1327
|
+
_o = exception_1.ApiException.bind;
|
|
1328
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1329
|
+
return [4, response.getBodyAsAny()];
|
|
1330
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
AnalysesCoreApiResponseProcessor.prototype.uploadFileWithHttpInfo = function (response) {
|
|
1336
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1337
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
1338
|
+
return __generator(this, function (_q) {
|
|
1339
|
+
switch (_q.label) {
|
|
1340
|
+
case 0:
|
|
1341
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1342
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1343
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1344
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1345
|
+
return [4, response.body.text()];
|
|
1346
|
+
case 1:
|
|
1347
|
+
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
1348
|
+
"BaseResponseUploadResponse", ""]);
|
|
1349
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1350
|
+
case 2:
|
|
1351
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
|
|
1352
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1353
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1354
|
+
return [4, response.body.text()];
|
|
1355
|
+
case 3:
|
|
1356
|
+
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
1357
|
+
"BaseResponse", ""]);
|
|
1358
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
|
|
1359
|
+
case 4:
|
|
1360
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
1361
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1362
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1363
|
+
return [4, response.body.text()];
|
|
1364
|
+
case 5:
|
|
1365
|
+
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
1366
|
+
"BaseResponseUploadResponse", ""]);
|
|
1367
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1368
|
+
case 6:
|
|
1369
|
+
_o = exception_1.ApiException.bind;
|
|
1370
|
+
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1371
|
+
return [4, response.getBodyAsAny()];
|
|
1372
|
+
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
1373
|
+
}
|
|
1374
|
+
});
|
|
1375
|
+
});
|
|
1376
|
+
};
|
|
1377
|
+
return AnalysesCoreApiResponseProcessor;
|
|
1378
|
+
}());
|
|
1379
|
+
exports.AnalysesCoreApiResponseProcessor = AnalysesCoreApiResponseProcessor;
|
|
1380
|
+
//# sourceMappingURL=AnalysesCoreApi.js.map
|