@revengai/sdk 3.96.0 → 3.96.4
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 +87 -0
- package/dist/apis/AnalysesCoreApi.d.ts +10 -0
- package/dist/apis/AnalysesCoreApi.js +324 -0
- package/dist/apis/AnalysesCoreApi.js.map +1 -1
- package/dist/apis/AnalysesResultsMetadataApi.js.map +1 -1
- package/dist/apis/FunctionsCoreApi.d.ts +29 -2
- package/dist/apis/FunctionsCoreApi.js +1123 -152
- package/dist/apis/FunctionsCoreApi.js.map +1 -1
- package/dist/apis/FunctionsDataTypesApi.d.ts +9 -0
- package/dist/apis/FunctionsDataTypesApi.js +327 -0
- package/dist/apis/FunctionsDataTypesApi.js.map +1 -1
- package/dist/apis/IAMUsersApi.d.ts +13 -0
- package/dist/apis/IAMUsersApi.js +225 -0
- package/dist/apis/IAMUsersApi.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/models/AddIssuerDomainInputBody.d.ts +20 -0
- package/dist/models/AddIssuerDomainInputBody.js +23 -0
- package/dist/models/AddIssuerDomainInputBody.js.map +1 -0
- package/dist/models/AddOwnerInputBody.d.ts +20 -0
- package/dist/models/AddOwnerInputBody.js +23 -0
- package/dist/models/AddOwnerInputBody.js.map +1 -0
- package/dist/models/AddTeamMemberInputBody.d.ts +20 -0
- package/dist/models/AddTeamMemberInputBody.js +23 -0
- package/dist/models/AddTeamMemberInputBody.js.map +1 -0
- package/dist/models/AnalysisFunctionEntry.d.ts +28 -0
- package/dist/models/AnalysisFunctionEntry.js +71 -0
- package/dist/models/AnalysisFunctionEntry.js.map +1 -0
- package/dist/models/BatchBinaryMatchResult.d.ts +31 -0
- package/dist/models/BatchBinaryMatchResult.js +50 -0
- package/dist/models/BatchBinaryMatchResult.js.map +1 -0
- package/dist/models/BatchMatchingOutputBody.d.ts +30 -0
- package/dist/models/BatchMatchingOutputBody.js +38 -0
- package/dist/models/BatchMatchingOutputBody.js.map +1 -0
- package/dist/models/BulkCreateUserResult.d.ts +26 -0
- package/dist/models/BulkCreateUserResult.js +53 -0
- package/dist/models/BulkCreateUserResult.js.map +1 -0
- package/dist/models/BulkCreateUsersOutputBody.d.ts +24 -0
- package/dist/models/BulkCreateUsersOutputBody.js +41 -0
- package/dist/models/BulkCreateUsersOutputBody.js.map +1 -0
- package/dist/models/CallEdge.d.ts +27 -0
- package/dist/models/CallEdge.js +65 -0
- package/dist/models/CallEdge.js.map +1 -0
- package/dist/models/CallEdgesOutputBody.d.ts +21 -0
- package/dist/models/CallEdgesOutputBody.js +23 -0
- package/dist/models/CallEdgesOutputBody.js.map +1 -0
- package/dist/models/CapabilitiesOutputBody.d.ts +21 -0
- package/dist/models/CapabilitiesOutputBody.js +23 -0
- package/dist/models/CapabilitiesOutputBody.js.map +1 -0
- package/dist/models/CapabilityEntry.d.ts +25 -0
- package/dist/models/CapabilityEntry.js +53 -0
- package/dist/models/CapabilityEntry.js.map +1 -0
- package/dist/models/CreateGroupInputBody.d.ts +20 -0
- package/dist/models/CreateGroupInputBody.js +23 -0
- package/dist/models/CreateGroupInputBody.js.map +1 -0
- package/dist/models/CreateIdentityInputBody.d.ts +22 -0
- package/dist/models/CreateIdentityInputBody.js +35 -0
- package/dist/models/CreateIdentityInputBody.js.map +1 -0
- package/dist/models/CreateIssuerInputBody.d.ts +21 -0
- package/dist/models/CreateIssuerInputBody.js +29 -0
- package/dist/models/CreateIssuerInputBody.js.map +1 -0
- package/dist/models/CreateOrganisationInputBody.d.ts +20 -0
- package/dist/models/CreateOrganisationInputBody.js +23 -0
- package/dist/models/CreateOrganisationInputBody.js.map +1 -0
- package/dist/models/CreateTeamInputBody.d.ts +20 -0
- package/dist/models/CreateTeamInputBody.js +23 -0
- package/dist/models/CreateTeamInputBody.js.map +1 -0
- package/dist/models/CreateUserInputBody.d.ts +42 -0
- package/dist/models/CreateUserInputBody.js +87 -0
- package/dist/models/CreateUserInputBody.js.map +1 -0
- package/dist/models/DataTypesEntry.d.ts +22 -0
- package/dist/models/DataTypesEntry.js +29 -0
- package/dist/models/DataTypesEntry.js.map +1 -0
- package/dist/models/DisassemblyOutputBody.d.ts +25 -0
- package/dist/models/DisassemblyOutputBody.js +53 -0
- package/dist/models/DisassemblyOutputBody.js.map +1 -0
- package/dist/models/ErrorBody.d.ts +1 -0
- package/dist/models/ErrorBody.js +1 -0
- package/dist/models/ErrorBody.js.map +1 -1
- package/dist/models/FormFile.d.ts +23 -0
- package/dist/models/FormFile.js +41 -0
- package/dist/models/FormFile.js.map +1 -0
- package/dist/models/FunctionArgument.d.ts +25 -0
- package/dist/models/FunctionArgument.js +53 -0
- package/dist/models/FunctionArgument.js.map +1 -0
- package/dist/models/FunctionCallEdges.d.ts +23 -0
- package/dist/models/FunctionCallEdges.js +35 -0
- package/dist/models/FunctionCallEdges.js.map +1 -0
- package/dist/models/FunctionDependency.d.ts +27 -0
- package/dist/models/FunctionDependency.js +65 -0
- package/dist/models/FunctionDependency.js.map +1 -0
- package/dist/models/FunctionDetailsOutputBody.d.ts +28 -0
- package/dist/models/FunctionDetailsOutputBody.js +71 -0
- package/dist/models/FunctionDetailsOutputBody.js.map +1 -0
- package/dist/models/FunctionStackVariable.d.ts +26 -0
- package/dist/models/FunctionStackVariable.js +59 -0
- package/dist/models/FunctionStackVariable.js.map +1 -0
- package/dist/models/GetMatchesOutputBody.d.ts +30 -0
- package/dist/models/GetMatchesOutputBody.js +38 -0
- package/dist/models/GetMatchesOutputBody.js.map +1 -0
- package/dist/models/GetMatchesStatusOutputBody.d.ts +33 -0
- package/dist/models/GetMatchesStatusOutputBody.js +56 -0
- package/dist/models/GetMatchesStatusOutputBody.js.map +1 -0
- package/dist/models/InviteUserInputBody.d.ts +25 -0
- package/dist/models/InviteUserInputBody.js +53 -0
- package/dist/models/InviteUserInputBody.js.map +1 -0
- package/dist/models/IssuerAllowedDomain.d.ts +25 -0
- package/dist/models/IssuerAllowedDomain.js +53 -0
- package/dist/models/IssuerAllowedDomain.js.map +1 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.d.ts +22 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js +29 -0
- package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js.map +1 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.d.ts +22 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.js +29 -0
- package/dist/models/ListAnalysisFunctionsOutputBody.js.map +1 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.d.ts +21 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.js +23 -0
- package/dist/models/ListFunctionsDataTypesOutputBody.js.map +1 -0
- package/dist/models/ListTeamsOutputBody.d.ts +22 -0
- package/dist/models/ListTeamsOutputBody.js +29 -0
- package/dist/models/ListTeamsOutputBody.js.map +1 -0
- package/dist/models/ListUsersOutputBody.d.ts +22 -0
- package/dist/models/ListUsersOutputBody.js +29 -0
- package/dist/models/ListUsersOutputBody.js.map +1 -0
- package/dist/models/LocationOutputBody.d.ts +30 -0
- package/dist/models/LocationOutputBody.js +44 -0
- package/dist/models/LocationOutputBody.js.map +1 -0
- package/dist/models/MatchFilters.d.ts +24 -0
- package/dist/models/MatchFilters.js +47 -0
- package/dist/models/MatchFilters.js.map +1 -0
- package/dist/models/MessageBody.d.ts +20 -0
- package/dist/models/MessageBody.js +23 -0
- package/dist/models/MessageBody.js.map +1 -0
- package/dist/models/OIDCCallbackInputBody.d.ts +23 -0
- package/dist/models/OIDCCallbackInputBody.js +41 -0
- package/dist/models/OIDCCallbackInputBody.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +70 -0
- package/dist/models/ObjectSerializer.js +224 -0
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/Organisation.d.ts +23 -0
- package/dist/models/Organisation.js +41 -0
- package/dist/models/Organisation.js.map +1 -0
- package/dist/models/OrganisationGroup.d.ts +25 -0
- package/dist/models/OrganisationGroup.js +53 -0
- package/dist/models/OrganisationGroup.js.map +1 -0
- package/dist/models/OrganisationIssuer.d.ts +27 -0
- package/dist/models/OrganisationIssuer.js +65 -0
- package/dist/models/OrganisationIssuer.js.map +1 -0
- package/dist/models/OrganisationOwner.d.ts +23 -0
- package/dist/models/OrganisationOwner.js +41 -0
- package/dist/models/OrganisationOwner.js.map +1 -0
- package/dist/models/PasswordResetInputBody.d.ts +20 -0
- package/dist/models/PasswordResetInputBody.js +23 -0
- package/dist/models/PasswordResetInputBody.js.map +1 -0
- package/dist/models/Permissions.d.ts +24 -0
- package/dist/models/Permissions.js +47 -0
- package/dist/models/Permissions.js.map +1 -0
- package/dist/models/RefreshBody.d.ts +20 -0
- package/dist/models/RefreshBody.js +23 -0
- package/dist/models/RefreshBody.js.map +1 -0
- package/dist/models/RegisterUserInputBody.d.ts +25 -0
- package/dist/models/RegisterUserInputBody.js +53 -0
- package/dist/models/RegisterUserInputBody.js.map +1 -0
- package/dist/models/RevokeBody.d.ts +20 -0
- package/dist/models/RevokeBody.js +23 -0
- package/dist/models/RevokeBody.js.map +1 -0
- package/dist/models/SSOProvider.d.ts +21 -0
- package/dist/models/SSOProvider.js +29 -0
- package/dist/models/SSOProvider.js.map +1 -0
- package/dist/models/SSOProvidersOutputBody.d.ts +21 -0
- package/dist/models/SSOProvidersOutputBody.js +23 -0
- package/dist/models/SSOProvidersOutputBody.js.map +1 -0
- package/dist/models/StartBatchMatchingInputBody.d.ts +23 -0
- package/dist/models/StartBatchMatchingInputBody.js +41 -0
- package/dist/models/StartBatchMatchingInputBody.js.map +1 -0
- package/dist/models/StartMatchingForAnalysisInputBody.d.ts +23 -0
- package/dist/models/StartMatchingForAnalysisInputBody.js +35 -0
- package/dist/models/StartMatchingForAnalysisInputBody.js.map +1 -0
- package/dist/models/StartMatchingForFunctionsInputBody.d.ts +24 -0
- package/dist/models/StartMatchingForFunctionsInputBody.js +41 -0
- package/dist/models/StartMatchingForFunctionsInputBody.js.map +1 -0
- package/dist/models/StartMatchingOutputBody.d.ts +33 -0
- package/dist/models/StartMatchingOutputBody.js +56 -0
- package/dist/models/StartMatchingOutputBody.js.map +1 -0
- package/dist/models/Team.d.ts +30 -0
- package/dist/models/Team.js +49 -0
- package/dist/models/Team.js.map +1 -0
- package/dist/models/TeamMember.d.ts +31 -0
- package/dist/models/TeamMember.js +55 -0
- package/dist/models/TeamMember.js.map +1 -0
- package/dist/models/TokenInputBody.d.ts +23 -0
- package/dist/models/TokenInputBody.js +41 -0
- package/dist/models/TokenInputBody.js.map +1 -0
- package/dist/models/TokenResponse.d.ts +23 -0
- package/dist/models/TokenResponse.js +41 -0
- package/dist/models/TokenResponse.js.map +1 -0
- package/dist/models/UpdateIssuerInputBody.d.ts +20 -0
- package/dist/models/UpdateIssuerInputBody.js +23 -0
- package/dist/models/UpdateIssuerInputBody.js.map +1 -0
- package/dist/models/UpdateOrganisationInputBody.d.ts +20 -0
- package/dist/models/UpdateOrganisationInputBody.js +23 -0
- package/dist/models/UpdateOrganisationInputBody.js.map +1 -0
- package/dist/models/UpdatePasswordInputBody.d.ts +21 -0
- package/dist/models/UpdatePasswordInputBody.js +29 -0
- package/dist/models/UpdatePasswordInputBody.js.map +1 -0
- package/dist/models/UpdateProfileInputBody.d.ts +24 -0
- package/dist/models/UpdateProfileInputBody.js +47 -0
- package/dist/models/UpdateProfileInputBody.js.map +1 -0
- package/dist/models/UpdateTeamInputBody.d.ts +20 -0
- package/dist/models/UpdateTeamInputBody.js +23 -0
- package/dist/models/UpdateTeamInputBody.js.map +1 -0
- package/dist/models/UpdateUserCreditsInputBody.d.ts +20 -0
- package/dist/models/UpdateUserCreditsInputBody.js +23 -0
- package/dist/models/UpdateUserCreditsInputBody.js.map +1 -0
- package/dist/models/UpdateUserInputBody.d.ts +40 -0
- package/dist/models/UpdateUserInputBody.js +75 -0
- package/dist/models/UpdateUserInputBody.js.map +1 -0
- package/dist/models/UpdateUserPasswordInputBody.d.ts +21 -0
- package/dist/models/UpdateUserPasswordInputBody.js +29 -0
- package/dist/models/UpdateUserPasswordInputBody.js.map +1 -0
- package/dist/models/User.d.ts +41 -0
- package/dist/models/User.js +70 -0
- package/dist/models/User.js.map +1 -0
- package/dist/models/UserCredits.d.ts +23 -0
- package/dist/models/UserCredits.js +41 -0
- package/dist/models/UserCredits.js.map +1 -0
- package/dist/models/UserIdentity.d.ts +25 -0
- package/dist/models/UserIdentity.js +53 -0
- package/dist/models/UserIdentity.js.map +1 -0
- package/dist/models/UserProfile.d.ts +24 -0
- package/dist/models/UserProfile.js +47 -0
- package/dist/models/UserProfile.js.map +1 -0
- package/dist/models/all.d.ts +70 -0
- package/dist/models/all.js +70 -0
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +111 -2
- package/dist/types/ObjectParamAPI.js +124 -10
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +58 -2
- package/dist/types/ObservableAPI.js +966 -480
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +56 -2
- package/dist/types/PromiseAPI.js +188 -10
- package/dist/types/PromiseAPI.js.map +1 -1
- package/package.json +1 -1
|
@@ -311,6 +311,72 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
|
|
|
311
311
|
});
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatches = function (analysisId, _options) {
|
|
315
|
+
var _a;
|
|
316
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
317
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
318
|
+
return __generator(this, function (_b) {
|
|
319
|
+
switch (_b.label) {
|
|
320
|
+
case 0:
|
|
321
|
+
_config = _options || this.configuration;
|
|
322
|
+
if (analysisId === null || analysisId === undefined) {
|
|
323
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisFunctionMatches", "analysisId");
|
|
324
|
+
}
|
|
325
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches'
|
|
326
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
327
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
328
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
329
|
+
authMethod = _config.authMethods["APIKey"];
|
|
330
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
331
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
332
|
+
case 1:
|
|
333
|
+
_b.sent();
|
|
334
|
+
_b.label = 2;
|
|
335
|
+
case 2:
|
|
336
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
337
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
338
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
339
|
+
case 3:
|
|
340
|
+
_b.sent();
|
|
341
|
+
_b.label = 4;
|
|
342
|
+
case 4: return [2, requestContext];
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
};
|
|
347
|
+
AnalysesCoreApiRequestFactory.prototype.getAnalysisFunctionMatchingStatus = function (analysisId, _options) {
|
|
348
|
+
var _a;
|
|
349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
350
|
+
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
351
|
+
return __generator(this, function (_b) {
|
|
352
|
+
switch (_b.label) {
|
|
353
|
+
case 0:
|
|
354
|
+
_config = _options || this.configuration;
|
|
355
|
+
if (analysisId === null || analysisId === undefined) {
|
|
356
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "getAnalysisFunctionMatchingStatus", "analysisId");
|
|
357
|
+
}
|
|
358
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches/status'
|
|
359
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
360
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
361
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
362
|
+
authMethod = _config.authMethods["APIKey"];
|
|
363
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
364
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
365
|
+
case 1:
|
|
366
|
+
_b.sent();
|
|
367
|
+
_b.label = 2;
|
|
368
|
+
case 2:
|
|
369
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
370
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
371
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
372
|
+
case 3:
|
|
373
|
+
_b.sent();
|
|
374
|
+
_b.label = 4;
|
|
375
|
+
case 4: return [2, requestContext];
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
};
|
|
314
380
|
AnalysesCoreApiRequestFactory.prototype.getAnalysisLogs = function (analysisId, _options) {
|
|
315
381
|
var _a;
|
|
316
382
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -714,6 +780,48 @@ var AnalysesCoreApiRequestFactory = (function (_super) {
|
|
|
714
780
|
});
|
|
715
781
|
});
|
|
716
782
|
};
|
|
783
|
+
AnalysesCoreApiRequestFactory.prototype.startAnalysisFunctionMatching = function (analysisId, startMatchingForAnalysisInputBody, _options) {
|
|
784
|
+
var _a;
|
|
785
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
786
|
+
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
787
|
+
return __generator(this, function (_b) {
|
|
788
|
+
switch (_b.label) {
|
|
789
|
+
case 0:
|
|
790
|
+
_config = _options || this.configuration;
|
|
791
|
+
if (analysisId === null || analysisId === undefined) {
|
|
792
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "startAnalysisFunctionMatching", "analysisId");
|
|
793
|
+
}
|
|
794
|
+
if (startMatchingForAnalysisInputBody === null || startMatchingForAnalysisInputBody === undefined) {
|
|
795
|
+
throw new baseapi_1.RequiredError("AnalysesCoreApi", "startAnalysisFunctionMatching", "startMatchingForAnalysisInputBody");
|
|
796
|
+
}
|
|
797
|
+
localVarPath = '/v3/analyses/{analysis_id}/functions/matches'
|
|
798
|
+
.replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
|
|
799
|
+
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
800
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
801
|
+
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
802
|
+
"application/json"
|
|
803
|
+
]);
|
|
804
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
805
|
+
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(startMatchingForAnalysisInputBody, "StartMatchingForAnalysisInputBody", ""), contentType);
|
|
806
|
+
requestContext.setBody(serializedBody);
|
|
807
|
+
authMethod = _config.authMethods["APIKey"];
|
|
808
|
+
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
809
|
+
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
810
|
+
case 1:
|
|
811
|
+
_b.sent();
|
|
812
|
+
_b.label = 2;
|
|
813
|
+
case 2:
|
|
814
|
+
defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
|
|
815
|
+
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
816
|
+
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
817
|
+
case 3:
|
|
818
|
+
_b.sent();
|
|
819
|
+
_b.label = 4;
|
|
820
|
+
case 4: return [2, requestContext];
|
|
821
|
+
}
|
|
822
|
+
});
|
|
823
|
+
});
|
|
824
|
+
};
|
|
717
825
|
AnalysesCoreApiRequestFactory.prototype.updateAnalysis = function (analysisId, analysisUpdateRequest, _options) {
|
|
718
826
|
var _a;
|
|
719
827
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1367,6 +1475,144 @@ var AnalysesCoreApiResponseProcessor = (function () {
|
|
|
1367
1475
|
});
|
|
1368
1476
|
});
|
|
1369
1477
|
};
|
|
1478
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchesWithHttpInfo = function (response) {
|
|
1479
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1480
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, body, _w, _x, _y, _z, _0, _1;
|
|
1481
|
+
return __generator(this, function (_2) {
|
|
1482
|
+
switch (_2.label) {
|
|
1483
|
+
case 0:
|
|
1484
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1485
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1486
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1487
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1488
|
+
return [4, response.body.text()];
|
|
1489
|
+
case 1:
|
|
1490
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
1491
|
+
"GetMatchesOutputBody", ""]);
|
|
1492
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1493
|
+
case 2:
|
|
1494
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
1495
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1496
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1497
|
+
return [4, response.body.text()];
|
|
1498
|
+
case 3:
|
|
1499
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
1500
|
+
"APIError", ""]);
|
|
1501
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
1502
|
+
case 4:
|
|
1503
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
1504
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1505
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1506
|
+
return [4, response.body.text()];
|
|
1507
|
+
case 5:
|
|
1508
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
1509
|
+
"APIError", ""]);
|
|
1510
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
1511
|
+
case 6:
|
|
1512
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
1513
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1514
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1515
|
+
return [4, response.body.text()];
|
|
1516
|
+
case 7:
|
|
1517
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
1518
|
+
"APIError", ""]);
|
|
1519
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
1520
|
+
case 8:
|
|
1521
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
1522
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1523
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1524
|
+
return [4, response.body.text()];
|
|
1525
|
+
case 9:
|
|
1526
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
1527
|
+
"APIError", ""]);
|
|
1528
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
1529
|
+
case 10:
|
|
1530
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
1531
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1532
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1533
|
+
return [4, response.body.text()];
|
|
1534
|
+
case 11:
|
|
1535
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
1536
|
+
"GetMatchesOutputBody", ""]);
|
|
1537
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1538
|
+
case 12:
|
|
1539
|
+
_0 = exception_1.ApiException.bind;
|
|
1540
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1541
|
+
return [4, response.getBodyAsAny()];
|
|
1542
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
1543
|
+
}
|
|
1544
|
+
});
|
|
1545
|
+
});
|
|
1546
|
+
};
|
|
1547
|
+
AnalysesCoreApiResponseProcessor.prototype.getAnalysisFunctionMatchingStatusWithHttpInfo = function (response) {
|
|
1548
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1549
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, body, _w, _x, _y, _z, _0, _1;
|
|
1550
|
+
return __generator(this, function (_2) {
|
|
1551
|
+
switch (_2.label) {
|
|
1552
|
+
case 0:
|
|
1553
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1554
|
+
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
1555
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1556
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1557
|
+
return [4, response.body.text()];
|
|
1558
|
+
case 1:
|
|
1559
|
+
body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
|
|
1560
|
+
"GetMatchesStatusOutputBody", ""]);
|
|
1561
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1562
|
+
case 2:
|
|
1563
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
|
|
1564
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1565
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1566
|
+
return [4, response.body.text()];
|
|
1567
|
+
case 3:
|
|
1568
|
+
body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
|
|
1569
|
+
"APIError", ""]);
|
|
1570
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
1571
|
+
case 4:
|
|
1572
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
|
|
1573
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1574
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1575
|
+
return [4, response.body.text()];
|
|
1576
|
+
case 5:
|
|
1577
|
+
body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
|
|
1578
|
+
"APIError", ""]);
|
|
1579
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
1580
|
+
case 6:
|
|
1581
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
|
|
1582
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1583
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1584
|
+
return [4, response.body.text()];
|
|
1585
|
+
case 7:
|
|
1586
|
+
body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
|
|
1587
|
+
"APIError", ""]);
|
|
1588
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
1589
|
+
case 8:
|
|
1590
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
|
|
1591
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1592
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1593
|
+
return [4, response.body.text()];
|
|
1594
|
+
case 9:
|
|
1595
|
+
body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
|
|
1596
|
+
"APIError", ""]);
|
|
1597
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
1598
|
+
case 10:
|
|
1599
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
|
|
1600
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
1601
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
1602
|
+
return [4, response.body.text()];
|
|
1603
|
+
case 11:
|
|
1604
|
+
body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
|
|
1605
|
+
"GetMatchesStatusOutputBody", ""]);
|
|
1606
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
1607
|
+
case 12:
|
|
1608
|
+
_0 = exception_1.ApiException.bind;
|
|
1609
|
+
_1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
1610
|
+
return [4, response.getBodyAsAny()];
|
|
1611
|
+
case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
|
|
1612
|
+
}
|
|
1613
|
+
});
|
|
1614
|
+
});
|
|
1615
|
+
};
|
|
1370
1616
|
AnalysesCoreApiResponseProcessor.prototype.getAnalysisLogsWithHttpInfo = function (response) {
|
|
1371
1617
|
return __awaiter(this, void 0, void 0, function () {
|
|
1372
1618
|
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
@@ -1850,6 +2096,84 @@ var AnalysesCoreApiResponseProcessor = (function () {
|
|
|
1850
2096
|
});
|
|
1851
2097
|
});
|
|
1852
2098
|
};
|
|
2099
|
+
AnalysesCoreApiResponseProcessor.prototype.startAnalysisFunctionMatchingWithHttpInfo = function (response) {
|
|
2100
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2101
|
+
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, body, _w, _x, _y, _z, body, _0, _1, _2, _3, _4, _5;
|
|
2102
|
+
return __generator(this, function (_6) {
|
|
2103
|
+
switch (_6.label) {
|
|
2104
|
+
case 0:
|
|
2105
|
+
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2106
|
+
if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3, 2];
|
|
2107
|
+
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2108
|
+
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2109
|
+
return [4, response.body.text()];
|
|
2110
|
+
case 1:
|
|
2111
|
+
body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
|
|
2112
|
+
"StartMatchingOutputBody", ""]);
|
|
2113
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
2114
|
+
case 2:
|
|
2115
|
+
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
|
|
2116
|
+
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2117
|
+
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2118
|
+
return [4, response.body.text()];
|
|
2119
|
+
case 3:
|
|
2120
|
+
body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
|
|
2121
|
+
"APIError", ""]);
|
|
2122
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
|
|
2123
|
+
case 4:
|
|
2124
|
+
if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
|
|
2125
|
+
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2126
|
+
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2127
|
+
return [4, response.body.text()];
|
|
2128
|
+
case 5:
|
|
2129
|
+
body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
|
|
2130
|
+
"APIError", ""]);
|
|
2131
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
|
|
2132
|
+
case 6:
|
|
2133
|
+
if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
|
|
2134
|
+
_p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2135
|
+
_r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2136
|
+
return [4, response.body.text()];
|
|
2137
|
+
case 7:
|
|
2138
|
+
body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
|
|
2139
|
+
"APIError", ""]);
|
|
2140
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
|
|
2141
|
+
case 8:
|
|
2142
|
+
if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
|
|
2143
|
+
_t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2144
|
+
_v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2145
|
+
return [4, response.body.text()];
|
|
2146
|
+
case 9:
|
|
2147
|
+
body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
|
|
2148
|
+
"APIError", ""]);
|
|
2149
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
|
|
2150
|
+
case 10:
|
|
2151
|
+
if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
|
|
2152
|
+
_x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2153
|
+
_z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2154
|
+
return [4, response.body.text()];
|
|
2155
|
+
case 11:
|
|
2156
|
+
body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
|
|
2157
|
+
"APIError", ""]);
|
|
2158
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
|
|
2159
|
+
case 12:
|
|
2160
|
+
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
|
|
2161
|
+
_1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
2162
|
+
_3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
|
|
2163
|
+
return [4, response.body.text()];
|
|
2164
|
+
case 13:
|
|
2165
|
+
body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
|
|
2166
|
+
"StartMatchingOutputBody", ""]);
|
|
2167
|
+
return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
|
|
2168
|
+
case 14:
|
|
2169
|
+
_4 = exception_1.ApiException.bind;
|
|
2170
|
+
_5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
2171
|
+
return [4, response.getBodyAsAny()];
|
|
2172
|
+
case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
|
|
2173
|
+
}
|
|
2174
|
+
});
|
|
2175
|
+
});
|
|
2176
|
+
};
|
|
1853
2177
|
AnalysesCoreApiResponseProcessor.prototype.updateAnalysisWithHttpInfo = function (response) {
|
|
1854
2178
|
return __awaiter(this, void 0, void 0, function () {
|
|
1855
2179
|
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|