@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.
Files changed (246) hide show
  1. package/README.md +87 -0
  2. package/dist/apis/AnalysesCoreApi.d.ts +10 -0
  3. package/dist/apis/AnalysesCoreApi.js +324 -0
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/AnalysesResultsMetadataApi.js.map +1 -1
  6. package/dist/apis/FunctionsCoreApi.d.ts +29 -2
  7. package/dist/apis/FunctionsCoreApi.js +1123 -152
  8. package/dist/apis/FunctionsCoreApi.js.map +1 -1
  9. package/dist/apis/FunctionsDataTypesApi.d.ts +9 -0
  10. package/dist/apis/FunctionsDataTypesApi.js +327 -0
  11. package/dist/apis/FunctionsDataTypesApi.js.map +1 -1
  12. package/dist/apis/IAMUsersApi.d.ts +13 -0
  13. package/dist/apis/IAMUsersApi.js +225 -0
  14. package/dist/apis/IAMUsersApi.js.map +1 -0
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +2 -1
  17. package/dist/index.js.map +1 -1
  18. package/dist/models/AddIssuerDomainInputBody.d.ts +20 -0
  19. package/dist/models/AddIssuerDomainInputBody.js +23 -0
  20. package/dist/models/AddIssuerDomainInputBody.js.map +1 -0
  21. package/dist/models/AddOwnerInputBody.d.ts +20 -0
  22. package/dist/models/AddOwnerInputBody.js +23 -0
  23. package/dist/models/AddOwnerInputBody.js.map +1 -0
  24. package/dist/models/AddTeamMemberInputBody.d.ts +20 -0
  25. package/dist/models/AddTeamMemberInputBody.js +23 -0
  26. package/dist/models/AddTeamMemberInputBody.js.map +1 -0
  27. package/dist/models/AnalysisFunctionEntry.d.ts +28 -0
  28. package/dist/models/AnalysisFunctionEntry.js +71 -0
  29. package/dist/models/AnalysisFunctionEntry.js.map +1 -0
  30. package/dist/models/BatchBinaryMatchResult.d.ts +31 -0
  31. package/dist/models/BatchBinaryMatchResult.js +50 -0
  32. package/dist/models/BatchBinaryMatchResult.js.map +1 -0
  33. package/dist/models/BatchMatchingOutputBody.d.ts +30 -0
  34. package/dist/models/BatchMatchingOutputBody.js +38 -0
  35. package/dist/models/BatchMatchingOutputBody.js.map +1 -0
  36. package/dist/models/BulkCreateUserResult.d.ts +26 -0
  37. package/dist/models/BulkCreateUserResult.js +53 -0
  38. package/dist/models/BulkCreateUserResult.js.map +1 -0
  39. package/dist/models/BulkCreateUsersOutputBody.d.ts +24 -0
  40. package/dist/models/BulkCreateUsersOutputBody.js +41 -0
  41. package/dist/models/BulkCreateUsersOutputBody.js.map +1 -0
  42. package/dist/models/CallEdge.d.ts +27 -0
  43. package/dist/models/CallEdge.js +65 -0
  44. package/dist/models/CallEdge.js.map +1 -0
  45. package/dist/models/CallEdgesOutputBody.d.ts +21 -0
  46. package/dist/models/CallEdgesOutputBody.js +23 -0
  47. package/dist/models/CallEdgesOutputBody.js.map +1 -0
  48. package/dist/models/CapabilitiesOutputBody.d.ts +21 -0
  49. package/dist/models/CapabilitiesOutputBody.js +23 -0
  50. package/dist/models/CapabilitiesOutputBody.js.map +1 -0
  51. package/dist/models/CapabilityEntry.d.ts +25 -0
  52. package/dist/models/CapabilityEntry.js +53 -0
  53. package/dist/models/CapabilityEntry.js.map +1 -0
  54. package/dist/models/CreateGroupInputBody.d.ts +20 -0
  55. package/dist/models/CreateGroupInputBody.js +23 -0
  56. package/dist/models/CreateGroupInputBody.js.map +1 -0
  57. package/dist/models/CreateIdentityInputBody.d.ts +22 -0
  58. package/dist/models/CreateIdentityInputBody.js +35 -0
  59. package/dist/models/CreateIdentityInputBody.js.map +1 -0
  60. package/dist/models/CreateIssuerInputBody.d.ts +21 -0
  61. package/dist/models/CreateIssuerInputBody.js +29 -0
  62. package/dist/models/CreateIssuerInputBody.js.map +1 -0
  63. package/dist/models/CreateOrganisationInputBody.d.ts +20 -0
  64. package/dist/models/CreateOrganisationInputBody.js +23 -0
  65. package/dist/models/CreateOrganisationInputBody.js.map +1 -0
  66. package/dist/models/CreateTeamInputBody.d.ts +20 -0
  67. package/dist/models/CreateTeamInputBody.js +23 -0
  68. package/dist/models/CreateTeamInputBody.js.map +1 -0
  69. package/dist/models/CreateUserInputBody.d.ts +42 -0
  70. package/dist/models/CreateUserInputBody.js +87 -0
  71. package/dist/models/CreateUserInputBody.js.map +1 -0
  72. package/dist/models/DataTypesEntry.d.ts +22 -0
  73. package/dist/models/DataTypesEntry.js +29 -0
  74. package/dist/models/DataTypesEntry.js.map +1 -0
  75. package/dist/models/DisassemblyOutputBody.d.ts +25 -0
  76. package/dist/models/DisassemblyOutputBody.js +53 -0
  77. package/dist/models/DisassemblyOutputBody.js.map +1 -0
  78. package/dist/models/ErrorBody.d.ts +1 -0
  79. package/dist/models/ErrorBody.js +1 -0
  80. package/dist/models/ErrorBody.js.map +1 -1
  81. package/dist/models/FormFile.d.ts +23 -0
  82. package/dist/models/FormFile.js +41 -0
  83. package/dist/models/FormFile.js.map +1 -0
  84. package/dist/models/FunctionArgument.d.ts +25 -0
  85. package/dist/models/FunctionArgument.js +53 -0
  86. package/dist/models/FunctionArgument.js.map +1 -0
  87. package/dist/models/FunctionCallEdges.d.ts +23 -0
  88. package/dist/models/FunctionCallEdges.js +35 -0
  89. package/dist/models/FunctionCallEdges.js.map +1 -0
  90. package/dist/models/FunctionDependency.d.ts +27 -0
  91. package/dist/models/FunctionDependency.js +65 -0
  92. package/dist/models/FunctionDependency.js.map +1 -0
  93. package/dist/models/FunctionDetailsOutputBody.d.ts +28 -0
  94. package/dist/models/FunctionDetailsOutputBody.js +71 -0
  95. package/dist/models/FunctionDetailsOutputBody.js.map +1 -0
  96. package/dist/models/FunctionStackVariable.d.ts +26 -0
  97. package/dist/models/FunctionStackVariable.js +59 -0
  98. package/dist/models/FunctionStackVariable.js.map +1 -0
  99. package/dist/models/GetMatchesOutputBody.d.ts +30 -0
  100. package/dist/models/GetMatchesOutputBody.js +38 -0
  101. package/dist/models/GetMatchesOutputBody.js.map +1 -0
  102. package/dist/models/GetMatchesStatusOutputBody.d.ts +33 -0
  103. package/dist/models/GetMatchesStatusOutputBody.js +56 -0
  104. package/dist/models/GetMatchesStatusOutputBody.js.map +1 -0
  105. package/dist/models/InviteUserInputBody.d.ts +25 -0
  106. package/dist/models/InviteUserInputBody.js +53 -0
  107. package/dist/models/InviteUserInputBody.js.map +1 -0
  108. package/dist/models/IssuerAllowedDomain.d.ts +25 -0
  109. package/dist/models/IssuerAllowedDomain.js +53 -0
  110. package/dist/models/IssuerAllowedDomain.js.map +1 -0
  111. package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.d.ts +22 -0
  112. package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js +29 -0
  113. package/dist/models/ListAnalysisFunctionsDataTypesOutputBody.js.map +1 -0
  114. package/dist/models/ListAnalysisFunctionsOutputBody.d.ts +22 -0
  115. package/dist/models/ListAnalysisFunctionsOutputBody.js +29 -0
  116. package/dist/models/ListAnalysisFunctionsOutputBody.js.map +1 -0
  117. package/dist/models/ListFunctionsDataTypesOutputBody.d.ts +21 -0
  118. package/dist/models/ListFunctionsDataTypesOutputBody.js +23 -0
  119. package/dist/models/ListFunctionsDataTypesOutputBody.js.map +1 -0
  120. package/dist/models/ListTeamsOutputBody.d.ts +22 -0
  121. package/dist/models/ListTeamsOutputBody.js +29 -0
  122. package/dist/models/ListTeamsOutputBody.js.map +1 -0
  123. package/dist/models/ListUsersOutputBody.d.ts +22 -0
  124. package/dist/models/ListUsersOutputBody.js +29 -0
  125. package/dist/models/ListUsersOutputBody.js.map +1 -0
  126. package/dist/models/LocationOutputBody.d.ts +30 -0
  127. package/dist/models/LocationOutputBody.js +44 -0
  128. package/dist/models/LocationOutputBody.js.map +1 -0
  129. package/dist/models/MatchFilters.d.ts +24 -0
  130. package/dist/models/MatchFilters.js +47 -0
  131. package/dist/models/MatchFilters.js.map +1 -0
  132. package/dist/models/MessageBody.d.ts +20 -0
  133. package/dist/models/MessageBody.js +23 -0
  134. package/dist/models/MessageBody.js.map +1 -0
  135. package/dist/models/OIDCCallbackInputBody.d.ts +23 -0
  136. package/dist/models/OIDCCallbackInputBody.js +41 -0
  137. package/dist/models/OIDCCallbackInputBody.js.map +1 -0
  138. package/dist/models/ObjectSerializer.d.ts +70 -0
  139. package/dist/models/ObjectSerializer.js +224 -0
  140. package/dist/models/ObjectSerializer.js.map +1 -1
  141. package/dist/models/Organisation.d.ts +23 -0
  142. package/dist/models/Organisation.js +41 -0
  143. package/dist/models/Organisation.js.map +1 -0
  144. package/dist/models/OrganisationGroup.d.ts +25 -0
  145. package/dist/models/OrganisationGroup.js +53 -0
  146. package/dist/models/OrganisationGroup.js.map +1 -0
  147. package/dist/models/OrganisationIssuer.d.ts +27 -0
  148. package/dist/models/OrganisationIssuer.js +65 -0
  149. package/dist/models/OrganisationIssuer.js.map +1 -0
  150. package/dist/models/OrganisationOwner.d.ts +23 -0
  151. package/dist/models/OrganisationOwner.js +41 -0
  152. package/dist/models/OrganisationOwner.js.map +1 -0
  153. package/dist/models/PasswordResetInputBody.d.ts +20 -0
  154. package/dist/models/PasswordResetInputBody.js +23 -0
  155. package/dist/models/PasswordResetInputBody.js.map +1 -0
  156. package/dist/models/Permissions.d.ts +24 -0
  157. package/dist/models/Permissions.js +47 -0
  158. package/dist/models/Permissions.js.map +1 -0
  159. package/dist/models/RefreshBody.d.ts +20 -0
  160. package/dist/models/RefreshBody.js +23 -0
  161. package/dist/models/RefreshBody.js.map +1 -0
  162. package/dist/models/RegisterUserInputBody.d.ts +25 -0
  163. package/dist/models/RegisterUserInputBody.js +53 -0
  164. package/dist/models/RegisterUserInputBody.js.map +1 -0
  165. package/dist/models/RevokeBody.d.ts +20 -0
  166. package/dist/models/RevokeBody.js +23 -0
  167. package/dist/models/RevokeBody.js.map +1 -0
  168. package/dist/models/SSOProvider.d.ts +21 -0
  169. package/dist/models/SSOProvider.js +29 -0
  170. package/dist/models/SSOProvider.js.map +1 -0
  171. package/dist/models/SSOProvidersOutputBody.d.ts +21 -0
  172. package/dist/models/SSOProvidersOutputBody.js +23 -0
  173. package/dist/models/SSOProvidersOutputBody.js.map +1 -0
  174. package/dist/models/StartBatchMatchingInputBody.d.ts +23 -0
  175. package/dist/models/StartBatchMatchingInputBody.js +41 -0
  176. package/dist/models/StartBatchMatchingInputBody.js.map +1 -0
  177. package/dist/models/StartMatchingForAnalysisInputBody.d.ts +23 -0
  178. package/dist/models/StartMatchingForAnalysisInputBody.js +35 -0
  179. package/dist/models/StartMatchingForAnalysisInputBody.js.map +1 -0
  180. package/dist/models/StartMatchingForFunctionsInputBody.d.ts +24 -0
  181. package/dist/models/StartMatchingForFunctionsInputBody.js +41 -0
  182. package/dist/models/StartMatchingForFunctionsInputBody.js.map +1 -0
  183. package/dist/models/StartMatchingOutputBody.d.ts +33 -0
  184. package/dist/models/StartMatchingOutputBody.js +56 -0
  185. package/dist/models/StartMatchingOutputBody.js.map +1 -0
  186. package/dist/models/Team.d.ts +30 -0
  187. package/dist/models/Team.js +49 -0
  188. package/dist/models/Team.js.map +1 -0
  189. package/dist/models/TeamMember.d.ts +31 -0
  190. package/dist/models/TeamMember.js +55 -0
  191. package/dist/models/TeamMember.js.map +1 -0
  192. package/dist/models/TokenInputBody.d.ts +23 -0
  193. package/dist/models/TokenInputBody.js +41 -0
  194. package/dist/models/TokenInputBody.js.map +1 -0
  195. package/dist/models/TokenResponse.d.ts +23 -0
  196. package/dist/models/TokenResponse.js +41 -0
  197. package/dist/models/TokenResponse.js.map +1 -0
  198. package/dist/models/UpdateIssuerInputBody.d.ts +20 -0
  199. package/dist/models/UpdateIssuerInputBody.js +23 -0
  200. package/dist/models/UpdateIssuerInputBody.js.map +1 -0
  201. package/dist/models/UpdateOrganisationInputBody.d.ts +20 -0
  202. package/dist/models/UpdateOrganisationInputBody.js +23 -0
  203. package/dist/models/UpdateOrganisationInputBody.js.map +1 -0
  204. package/dist/models/UpdatePasswordInputBody.d.ts +21 -0
  205. package/dist/models/UpdatePasswordInputBody.js +29 -0
  206. package/dist/models/UpdatePasswordInputBody.js.map +1 -0
  207. package/dist/models/UpdateProfileInputBody.d.ts +24 -0
  208. package/dist/models/UpdateProfileInputBody.js +47 -0
  209. package/dist/models/UpdateProfileInputBody.js.map +1 -0
  210. package/dist/models/UpdateTeamInputBody.d.ts +20 -0
  211. package/dist/models/UpdateTeamInputBody.js +23 -0
  212. package/dist/models/UpdateTeamInputBody.js.map +1 -0
  213. package/dist/models/UpdateUserCreditsInputBody.d.ts +20 -0
  214. package/dist/models/UpdateUserCreditsInputBody.js +23 -0
  215. package/dist/models/UpdateUserCreditsInputBody.js.map +1 -0
  216. package/dist/models/UpdateUserInputBody.d.ts +40 -0
  217. package/dist/models/UpdateUserInputBody.js +75 -0
  218. package/dist/models/UpdateUserInputBody.js.map +1 -0
  219. package/dist/models/UpdateUserPasswordInputBody.d.ts +21 -0
  220. package/dist/models/UpdateUserPasswordInputBody.js +29 -0
  221. package/dist/models/UpdateUserPasswordInputBody.js.map +1 -0
  222. package/dist/models/User.d.ts +41 -0
  223. package/dist/models/User.js +70 -0
  224. package/dist/models/User.js.map +1 -0
  225. package/dist/models/UserCredits.d.ts +23 -0
  226. package/dist/models/UserCredits.js +41 -0
  227. package/dist/models/UserCredits.js.map +1 -0
  228. package/dist/models/UserIdentity.d.ts +25 -0
  229. package/dist/models/UserIdentity.js +53 -0
  230. package/dist/models/UserIdentity.js.map +1 -0
  231. package/dist/models/UserProfile.d.ts +24 -0
  232. package/dist/models/UserProfile.js +47 -0
  233. package/dist/models/UserProfile.js.map +1 -0
  234. package/dist/models/all.d.ts +70 -0
  235. package/dist/models/all.js +70 -0
  236. package/dist/models/all.js.map +1 -1
  237. package/dist/types/ObjectParamAPI.d.ts +111 -2
  238. package/dist/types/ObjectParamAPI.js +124 -10
  239. package/dist/types/ObjectParamAPI.js.map +1 -1
  240. package/dist/types/ObservableAPI.d.ts +58 -2
  241. package/dist/types/ObservableAPI.js +966 -480
  242. package/dist/types/ObservableAPI.js.map +1 -1
  243. package/dist/types/PromiseAPI.d.ts +56 -2
  244. package/dist/types/PromiseAPI.js +188 -10
  245. package/dist/types/PromiseAPI.js.map +1 -1
  246. package/package.json +1 -1
@@ -493,6 +493,39 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
493
493
  });
494
494
  });
495
495
  };
496
+ FunctionsCoreApiRequestFactory.prototype.getFunctionBlocks_1 = function (functionId, _options) {
497
+ var _a;
498
+ return __awaiter(this, void 0, void 0, function () {
499
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
500
+ return __generator(this, function (_b) {
501
+ switch (_b.label) {
502
+ case 0:
503
+ _config = _options || this.configuration;
504
+ if (functionId === null || functionId === undefined) {
505
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionBlocks_1", "functionId");
506
+ }
507
+ localVarPath = '/v3/functions/{function_id}/blocks'
508
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
509
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
510
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
511
+ authMethod = _config.authMethods["APIKey"];
512
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
513
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
514
+ case 1:
515
+ _b.sent();
516
+ _b.label = 2;
517
+ case 2:
518
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
519
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
520
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
521
+ case 3:
522
+ _b.sent();
523
+ _b.label = 4;
524
+ case 4: return [2, requestContext];
525
+ }
526
+ });
527
+ });
528
+ };
496
529
  FunctionsCoreApiRequestFactory.prototype.getFunctionCalleesCallers = function (functionId, _options) {
497
530
  var _a;
498
531
  return __awaiter(this, void 0, void 0, function () {
@@ -565,6 +598,39 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
565
598
  });
566
599
  });
567
600
  };
601
+ FunctionsCoreApiRequestFactory.prototype.getFunctionCalleesCallers_2 = function (functionId, _options) {
602
+ var _a;
603
+ return __awaiter(this, void 0, void 0, function () {
604
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
605
+ return __generator(this, function (_b) {
606
+ switch (_b.label) {
607
+ case 0:
608
+ _config = _options || this.configuration;
609
+ if (functionId === null || functionId === undefined) {
610
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionCalleesCallers_2", "functionId");
611
+ }
612
+ localVarPath = '/v3/functions/{function_id}/callees-callers'
613
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
614
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
615
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
616
+ authMethod = _config.authMethods["APIKey"];
617
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
618
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
619
+ case 1:
620
+ _b.sent();
621
+ _b.label = 2;
622
+ case 2:
623
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
624
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
625
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
626
+ case 3:
627
+ _b.sent();
628
+ _b.label = 4;
629
+ case 4: return [2, requestContext];
630
+ }
631
+ });
632
+ });
633
+ };
568
634
  FunctionsCoreApiRequestFactory.prototype.getFunctionCapabilities = function (functionId, _options) {
569
635
  var _a;
570
636
  return __awaiter(this, void 0, void 0, function () {
@@ -598,6 +664,39 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
598
664
  });
599
665
  });
600
666
  };
667
+ FunctionsCoreApiRequestFactory.prototype.getFunctionCapabilities_3 = function (functionId, _options) {
668
+ var _a;
669
+ return __awaiter(this, void 0, void 0, function () {
670
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
671
+ return __generator(this, function (_b) {
672
+ switch (_b.label) {
673
+ case 0:
674
+ _config = _options || this.configuration;
675
+ if (functionId === null || functionId === undefined) {
676
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionCapabilities_3", "functionId");
677
+ }
678
+ localVarPath = '/v3/functions/{function_id}/capabilities'
679
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
680
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
681
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
682
+ authMethod = _config.authMethods["APIKey"];
683
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
684
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
685
+ case 1:
686
+ _b.sent();
687
+ _b.label = 2;
688
+ case 2:
689
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
690
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
691
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
692
+ case 3:
693
+ _b.sent();
694
+ _b.label = 4;
695
+ case 4: return [2, requestContext];
696
+ }
697
+ });
698
+ });
699
+ };
601
700
  FunctionsCoreApiRequestFactory.prototype.getFunctionDetails = function (functionId, _options) {
602
701
  var _a;
603
702
  return __awaiter(this, void 0, void 0, function () {
@@ -631,6 +730,39 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
631
730
  });
632
731
  });
633
732
  };
733
+ FunctionsCoreApiRequestFactory.prototype.getFunctionDetails_4 = function (functionId, _options) {
734
+ var _a;
735
+ return __awaiter(this, void 0, void 0, function () {
736
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
737
+ return __generator(this, function (_b) {
738
+ switch (_b.label) {
739
+ case 0:
740
+ _config = _options || this.configuration;
741
+ if (functionId === null || functionId === undefined) {
742
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionDetails_4", "functionId");
743
+ }
744
+ localVarPath = '/v3/functions/{function_id}'
745
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
746
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
747
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
748
+ authMethod = _config.authMethods["APIKey"];
749
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
750
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
751
+ case 1:
752
+ _b.sent();
753
+ _b.label = 2;
754
+ case 2:
755
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
756
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
757
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
758
+ case 3:
759
+ _b.sent();
760
+ _b.label = 4;
761
+ case 4: return [2, requestContext];
762
+ }
763
+ });
764
+ });
765
+ };
634
766
  FunctionsCoreApiRequestFactory.prototype.getFunctionStrings = function (functionId, page, pageSize, search, _options) {
635
767
  var _a;
636
768
  return __awaiter(this, void 0, void 0, function () {
@@ -673,7 +805,7 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
673
805
  });
674
806
  });
675
807
  };
676
- FunctionsCoreApiRequestFactory.prototype.getFunctionStrings_1 = function (functionId, page, pageSize, search, _options) {
808
+ FunctionsCoreApiRequestFactory.prototype.getFunctionStrings_5 = function (functionId, page, pageSize, search, _options) {
677
809
  var _a;
678
810
  return __awaiter(this, void 0, void 0, function () {
679
811
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -682,7 +814,7 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
682
814
  case 0:
683
815
  _config = _options || this.configuration;
684
816
  if (functionId === null || functionId === undefined) {
685
- throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionStrings_1", "functionId");
817
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionStrings_5", "functionId");
686
818
  }
687
819
  localVarPath = '/v3/functions/{function_id}/strings'
688
820
  .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
@@ -715,115 +847,297 @@ var FunctionsCoreApiRequestFactory = (function (_super) {
715
847
  });
716
848
  });
717
849
  };
718
- return FunctionsCoreApiRequestFactory;
719
- }(baseapi_1.BaseAPIRequestFactory));
720
- exports.FunctionsCoreApiRequestFactory = FunctionsCoreApiRequestFactory;
721
- var FunctionsCoreApiResponseProcessor = (function () {
722
- function FunctionsCoreApiResponseProcessor() {
723
- }
724
- FunctionsCoreApiResponseProcessor.prototype.addFunctionCalleeWithHttpInfo = function (response) {
850
+ FunctionsCoreApiRequestFactory.prototype.getFunctionsCalleesCallers = function (functionIds, _options) {
851
+ var _a;
725
852
  return __awaiter(this, void 0, void 0, function () {
726
- 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;
727
- return __generator(this, function (_6) {
728
- switch (_6.label) {
853
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
854
+ return __generator(this, function (_b) {
855
+ switch (_b.label) {
729
856
  case 0:
730
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
731
- if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
732
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
733
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
734
- return [4, response.body.text()];
857
+ _config = _options || this.configuration;
858
+ if (functionIds === null || functionIds === undefined) {
859
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionsCalleesCallers", "functionIds");
860
+ }
861
+ localVarPath = '/v3/functions/callees-callers';
862
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
863
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
864
+ if (functionIds !== undefined) {
865
+ requestContext.setQueryParam("function_ids", ObjectSerializer_1.ObjectSerializer.serialize(functionIds, "Array<number>", "int64"));
866
+ }
867
+ authMethod = _config.authMethods["APIKey"];
868
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
869
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
735
870
  case 1:
736
- body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
737
- "{ [key: string]: any; }", ""]);
738
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
871
+ _b.sent();
872
+ _b.label = 2;
739
873
  case 2:
740
- if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
741
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
742
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
743
- return [4, response.body.text()];
874
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
875
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
876
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
744
877
  case 3:
745
- body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
746
- "APIError", ""]);
747
- throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
748
- case 4:
749
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
750
- _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
751
- _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
752
- return [4, response.body.text()];
753
- case 5:
754
- body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
755
- "APIError", ""]);
756
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
757
- case 6:
758
- if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
759
- _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
760
- _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
761
- return [4, response.body.text()];
762
- case 7:
763
- body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
764
- "APIError", ""]);
765
- throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
766
- case 8:
767
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
768
- _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
769
- _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
770
- return [4, response.body.text()];
771
- case 9:
772
- body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
773
- "APIError", ""]);
774
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
775
- case 10:
776
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
777
- _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
778
- _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
779
- return [4, response.body.text()];
780
- case 11:
781
- body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
782
- "APIError", ""]);
783
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
784
- case 12:
785
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
786
- _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
787
- _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
788
- return [4, response.body.text()];
789
- case 13:
790
- body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
791
- "{ [key: string]: any; }", ""]);
792
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
793
- case 14:
794
- _4 = exception_1.ApiException.bind;
795
- _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
796
- return [4, response.getBodyAsAny()];
797
- case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
878
+ _b.sent();
879
+ _b.label = 4;
880
+ case 4: return [2, requestContext];
798
881
  }
799
882
  });
800
883
  });
801
884
  };
802
- FunctionsCoreApiResponseProcessor.prototype.addUserStringToFunctionWithHttpInfo = function (response) {
885
+ FunctionsCoreApiRequestFactory.prototype.getFunctionsMatches = function (functionIds, _options) {
886
+ var _a;
803
887
  return __awaiter(this, void 0, void 0, function () {
804
- 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;
805
- return __generator(this, function (_2) {
806
- switch (_2.label) {
888
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
889
+ return __generator(this, function (_b) {
890
+ switch (_b.label) {
807
891
  case 0:
808
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
809
- if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
810
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
811
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
812
- return [4, response.body.text()];
892
+ _config = _options || this.configuration;
893
+ if (functionIds === null || functionIds === undefined) {
894
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionsMatches", "functionIds");
895
+ }
896
+ localVarPath = '/v3/functions/matches';
897
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
898
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
899
+ if (functionIds !== undefined) {
900
+ requestContext.setQueryParam("function_ids", ObjectSerializer_1.ObjectSerializer.serialize(functionIds, "Array<number>", "int64"));
901
+ }
902
+ authMethod = _config.authMethods["APIKey"];
903
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
904
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
813
905
  case 1:
814
- body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
815
- "{ [key: string]: any; }", ""]);
816
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
906
+ _b.sent();
907
+ _b.label = 2;
817
908
  case 2:
818
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
819
- _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
820
- _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
821
- return [4, response.body.text()];
909
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
910
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
911
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
822
912
  case 3:
823
- body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
824
- "APIError", ""]);
825
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
826
- case 4:
913
+ _b.sent();
914
+ _b.label = 4;
915
+ case 4: return [2, requestContext];
916
+ }
917
+ });
918
+ });
919
+ };
920
+ FunctionsCoreApiRequestFactory.prototype.getFunctionsMatchingStatus = function (functionIds, _options) {
921
+ var _a;
922
+ return __awaiter(this, void 0, void 0, function () {
923
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
924
+ return __generator(this, function (_b) {
925
+ switch (_b.label) {
926
+ case 0:
927
+ _config = _options || this.configuration;
928
+ if (functionIds === null || functionIds === undefined) {
929
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "getFunctionsMatchingStatus", "functionIds");
930
+ }
931
+ localVarPath = '/v3/functions/matches/status';
932
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
933
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
934
+ if (functionIds !== undefined) {
935
+ requestContext.setQueryParam("function_ids", ObjectSerializer_1.ObjectSerializer.serialize(functionIds, "Array<number>", "int64"));
936
+ }
937
+ authMethod = _config.authMethods["APIKey"];
938
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
939
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
940
+ case 1:
941
+ _b.sent();
942
+ _b.label = 2;
943
+ case 2:
944
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
945
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
946
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
947
+ case 3:
948
+ _b.sent();
949
+ _b.label = 4;
950
+ case 4: return [2, requestContext];
951
+ }
952
+ });
953
+ });
954
+ };
955
+ FunctionsCoreApiRequestFactory.prototype.listAnalysisFunctions = function (analysisId, offset, limit, _options) {
956
+ var _a;
957
+ return __awaiter(this, void 0, void 0, function () {
958
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
959
+ return __generator(this, function (_b) {
960
+ switch (_b.label) {
961
+ case 0:
962
+ _config = _options || this.configuration;
963
+ if (analysisId === null || analysisId === undefined) {
964
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "listAnalysisFunctions", "analysisId");
965
+ }
966
+ localVarPath = '/v3/analyses/{analysis_id}/functions'
967
+ .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
968
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
969
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
970
+ if (offset !== undefined) {
971
+ requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", "int64"));
972
+ }
973
+ if (limit !== undefined) {
974
+ requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int64"));
975
+ }
976
+ authMethod = _config.authMethods["APIKey"];
977
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
978
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
979
+ case 1:
980
+ _b.sent();
981
+ _b.label = 2;
982
+ case 2:
983
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
984
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
985
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
986
+ case 3:
987
+ _b.sent();
988
+ _b.label = 4;
989
+ case 4: return [2, requestContext];
990
+ }
991
+ });
992
+ });
993
+ };
994
+ FunctionsCoreApiRequestFactory.prototype.startFunctionsMatching = function (startMatchingForFunctionsInputBody, _options) {
995
+ var _a;
996
+ return __awaiter(this, void 0, void 0, function () {
997
+ var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
998
+ return __generator(this, function (_b) {
999
+ switch (_b.label) {
1000
+ case 0:
1001
+ _config = _options || this.configuration;
1002
+ if (startMatchingForFunctionsInputBody === null || startMatchingForFunctionsInputBody === undefined) {
1003
+ throw new baseapi_1.RequiredError("FunctionsCoreApi", "startFunctionsMatching", "startMatchingForFunctionsInputBody");
1004
+ }
1005
+ localVarPath = '/v3/functions/matches';
1006
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
1007
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
1008
+ contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
1009
+ "application/json"
1010
+ ]);
1011
+ requestContext.setHeaderParam("Content-Type", contentType);
1012
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(startMatchingForFunctionsInputBody, "StartMatchingForFunctionsInputBody", ""), contentType);
1013
+ requestContext.setBody(serializedBody);
1014
+ authMethod = _config.authMethods["APIKey"];
1015
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
1016
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
1017
+ case 1:
1018
+ _b.sent();
1019
+ _b.label = 2;
1020
+ case 2:
1021
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
1022
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
1023
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
1024
+ case 3:
1025
+ _b.sent();
1026
+ _b.label = 4;
1027
+ case 4: return [2, requestContext];
1028
+ }
1029
+ });
1030
+ });
1031
+ };
1032
+ return FunctionsCoreApiRequestFactory;
1033
+ }(baseapi_1.BaseAPIRequestFactory));
1034
+ exports.FunctionsCoreApiRequestFactory = FunctionsCoreApiRequestFactory;
1035
+ var FunctionsCoreApiResponseProcessor = (function () {
1036
+ function FunctionsCoreApiResponseProcessor() {
1037
+ }
1038
+ FunctionsCoreApiResponseProcessor.prototype.addFunctionCalleeWithHttpInfo = function (response) {
1039
+ return __awaiter(this, void 0, void 0, function () {
1040
+ 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;
1041
+ return __generator(this, function (_6) {
1042
+ switch (_6.label) {
1043
+ case 0:
1044
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1045
+ if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
1046
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1047
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1048
+ return [4, response.body.text()];
1049
+ case 1:
1050
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
1051
+ "{ [key: string]: any; }", ""]);
1052
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1053
+ case 2:
1054
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
1055
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1056
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1057
+ return [4, response.body.text()];
1058
+ case 3:
1059
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
1060
+ "APIError", ""]);
1061
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
1062
+ case 4:
1063
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
1064
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1065
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1066
+ return [4, response.body.text()];
1067
+ case 5:
1068
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
1069
+ "APIError", ""]);
1070
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1071
+ case 6:
1072
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
1073
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1074
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1075
+ return [4, response.body.text()];
1076
+ case 7:
1077
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
1078
+ "APIError", ""]);
1079
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1080
+ case 8:
1081
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
1082
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1083
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1084
+ return [4, response.body.text()];
1085
+ case 9:
1086
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
1087
+ "APIError", ""]);
1088
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1089
+ case 10:
1090
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
1091
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1092
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1093
+ return [4, response.body.text()];
1094
+ case 11:
1095
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
1096
+ "APIError", ""]);
1097
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1098
+ case 12:
1099
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
1100
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
1101
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
1102
+ return [4, response.body.text()];
1103
+ case 13:
1104
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
1105
+ "{ [key: string]: any; }", ""]);
1106
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1107
+ case 14:
1108
+ _4 = exception_1.ApiException.bind;
1109
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1110
+ return [4, response.getBodyAsAny()];
1111
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
1112
+ }
1113
+ });
1114
+ });
1115
+ };
1116
+ FunctionsCoreApiResponseProcessor.prototype.addUserStringToFunctionWithHttpInfo = function (response) {
1117
+ return __awaiter(this, void 0, void 0, function () {
1118
+ 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;
1119
+ return __generator(this, function (_2) {
1120
+ switch (_2.label) {
1121
+ case 0:
1122
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1123
+ if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
1124
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1125
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1126
+ return [4, response.body.text()];
1127
+ case 1:
1128
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1129
+ "{ [key: string]: any; }", ""]);
1130
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1131
+ case 2:
1132
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1133
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1134
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1135
+ return [4, response.body.text()];
1136
+ case 3:
1137
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1138
+ "APIError", ""]);
1139
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1140
+ case 4:
827
1141
  if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
828
1142
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
829
1143
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
@@ -1255,11 +1569,11 @@ var FunctionsCoreApiResponseProcessor = (function () {
1255
1569
  });
1256
1570
  });
1257
1571
  };
1258
- FunctionsCoreApiResponseProcessor.prototype.getFunctionCalleesCallersWithHttpInfo = function (response) {
1572
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionBlocks_1WithHttpInfo = function (response) {
1259
1573
  return __awaiter(this, void 0, void 0, function () {
1260
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1261
- return __generator(this, function (_q) {
1262
- switch (_q.label) {
1574
+ 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;
1575
+ return __generator(this, function (_2) {
1576
+ switch (_2.label) {
1263
1577
  case 0:
1264
1578
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1265
1579
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -1267,46 +1581,115 @@ var FunctionsCoreApiResponseProcessor = (function () {
1267
1581
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1268
1582
  return [4, response.body.text()];
1269
1583
  case 1:
1270
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
1271
- "BaseResponseCalleesCallerFunctionsResponse", ""]);
1584
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1585
+ "DisassemblyOutputBody", ""]);
1272
1586
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1273
1587
  case 2:
1274
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
1588
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1275
1589
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1276
1590
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1277
1591
  return [4, response.body.text()];
1278
1592
  case 3:
1279
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
1280
- "BaseResponse", ""]);
1281
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
1593
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1594
+ "APIError", ""]);
1595
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1282
1596
  case 4:
1283
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
1597
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1284
1598
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1285
1599
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1286
1600
  return [4, response.body.text()];
1287
1601
  case 5:
1288
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
1289
- "BaseResponseCalleesCallerFunctionsResponse", ""]);
1290
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1602
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1603
+ "APIError", ""]);
1604
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1291
1605
  case 6:
1292
- _o = exception_1.ApiException.bind;
1293
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1294
- return [4, response.getBodyAsAny()];
1295
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
1296
- }
1297
- });
1298
- });
1299
- };
1300
- FunctionsCoreApiResponseProcessor.prototype.getFunctionCalleesCallersBulkWithHttpInfo = function (response) {
1301
- return __awaiter(this, void 0, void 0, function () {
1302
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1303
- return __generator(this, function (_q) {
1304
- switch (_q.label) {
1305
- case 0:
1306
- contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1307
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1308
- _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1309
- _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1606
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1607
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1608
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1609
+ return [4, response.body.text()];
1610
+ case 7:
1611
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1612
+ "APIError", ""]);
1613
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1614
+ case 8:
1615
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1616
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1617
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1618
+ return [4, response.body.text()];
1619
+ case 9:
1620
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1621
+ "APIError", ""]);
1622
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1623
+ case 10:
1624
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1625
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1626
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1627
+ return [4, response.body.text()];
1628
+ case 11:
1629
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1630
+ "DisassemblyOutputBody", ""]);
1631
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1632
+ case 12:
1633
+ _0 = exception_1.ApiException.bind;
1634
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1635
+ return [4, response.getBodyAsAny()];
1636
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1637
+ }
1638
+ });
1639
+ });
1640
+ };
1641
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionCalleesCallersWithHttpInfo = function (response) {
1642
+ return __awaiter(this, void 0, void 0, function () {
1643
+ var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1644
+ return __generator(this, function (_q) {
1645
+ switch (_q.label) {
1646
+ case 0:
1647
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1648
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1649
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1650
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1651
+ return [4, response.body.text()];
1652
+ case 1:
1653
+ body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
1654
+ "BaseResponseCalleesCallerFunctionsResponse", ""]);
1655
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1656
+ case 2:
1657
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
1658
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1659
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1660
+ return [4, response.body.text()];
1661
+ case 3:
1662
+ body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
1663
+ "BaseResponse", ""]);
1664
+ throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
1665
+ case 4:
1666
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
1667
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1668
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1669
+ return [4, response.body.text()];
1670
+ case 5:
1671
+ body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
1672
+ "BaseResponseCalleesCallerFunctionsResponse", ""]);
1673
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1674
+ case 6:
1675
+ _o = exception_1.ApiException.bind;
1676
+ _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1677
+ return [4, response.getBodyAsAny()];
1678
+ case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
1679
+ }
1680
+ });
1681
+ });
1682
+ };
1683
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionCalleesCallersBulkWithHttpInfo = function (response) {
1684
+ return __awaiter(this, void 0, void 0, function () {
1685
+ var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1686
+ return __generator(this, function (_q) {
1687
+ switch (_q.label) {
1688
+ case 0:
1689
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1690
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1691
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1692
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1310
1693
  return [4, response.body.text()];
1311
1694
  case 1:
1312
1695
  body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
@@ -1339,6 +1722,75 @@ var FunctionsCoreApiResponseProcessor = (function () {
1339
1722
  });
1340
1723
  });
1341
1724
  };
1725
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionCalleesCallers_2WithHttpInfo = function (response) {
1726
+ return __awaiter(this, void 0, void 0, function () {
1727
+ 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;
1728
+ return __generator(this, function (_2) {
1729
+ switch (_2.label) {
1730
+ case 0:
1731
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1732
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1733
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1734
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1735
+ return [4, response.body.text()];
1736
+ case 1:
1737
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1738
+ "CallEdgesOutputBody", ""]);
1739
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1740
+ case 2:
1741
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1742
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1743
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1744
+ return [4, response.body.text()];
1745
+ case 3:
1746
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1747
+ "APIError", ""]);
1748
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1749
+ case 4:
1750
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1751
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1752
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1753
+ return [4, response.body.text()];
1754
+ case 5:
1755
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1756
+ "APIError", ""]);
1757
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1758
+ case 6:
1759
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1760
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1761
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1762
+ return [4, response.body.text()];
1763
+ case 7:
1764
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1765
+ "APIError", ""]);
1766
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1767
+ case 8:
1768
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1769
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1770
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1771
+ return [4, response.body.text()];
1772
+ case 9:
1773
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1774
+ "APIError", ""]);
1775
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1776
+ case 10:
1777
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1778
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1779
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1780
+ return [4, response.body.text()];
1781
+ case 11:
1782
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1783
+ "CallEdgesOutputBody", ""]);
1784
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1785
+ case 12:
1786
+ _0 = exception_1.ApiException.bind;
1787
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1788
+ return [4, response.getBodyAsAny()];
1789
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1790
+ }
1791
+ });
1792
+ });
1793
+ };
1342
1794
  FunctionsCoreApiResponseProcessor.prototype.getFunctionCapabilitiesWithHttpInfo = function (response) {
1343
1795
  return __awaiter(this, void 0, void 0, function () {
1344
1796
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, _s, _t;
@@ -1390,11 +1842,11 @@ var FunctionsCoreApiResponseProcessor = (function () {
1390
1842
  });
1391
1843
  });
1392
1844
  };
1393
- FunctionsCoreApiResponseProcessor.prototype.getFunctionDetailsWithHttpInfo = function (response) {
1845
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionCapabilities_3WithHttpInfo = function (response) {
1394
1846
  return __awaiter(this, void 0, void 0, function () {
1395
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1396
- return __generator(this, function (_q) {
1397
- switch (_q.label) {
1847
+ 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;
1848
+ return __generator(this, function (_2) {
1849
+ switch (_2.label) {
1398
1850
  case 0:
1399
1851
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1400
1852
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -1402,37 +1854,64 @@ var FunctionsCoreApiResponseProcessor = (function () {
1402
1854
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1403
1855
  return [4, response.body.text()];
1404
1856
  case 1:
1405
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
1406
- "BaseResponseFunctionsDetailResponse", ""]);
1857
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1858
+ "CapabilitiesOutputBody", ""]);
1407
1859
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1408
1860
  case 2:
1409
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
1861
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1410
1862
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1411
1863
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1412
1864
  return [4, response.body.text()];
1413
1865
  case 3:
1414
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
1415
- "BaseResponse", ""]);
1416
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
1866
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1867
+ "APIError", ""]);
1868
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1417
1869
  case 4:
1418
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
1870
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1419
1871
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1420
1872
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1421
1873
  return [4, response.body.text()];
1422
1874
  case 5:
1423
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
1424
- "BaseResponseFunctionsDetailResponse", ""]);
1425
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1875
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1876
+ "APIError", ""]);
1877
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1426
1878
  case 6:
1427
- _o = exception_1.ApiException.bind;
1428
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1879
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1880
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1881
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1882
+ return [4, response.body.text()];
1883
+ case 7:
1884
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1885
+ "APIError", ""]);
1886
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1887
+ case 8:
1888
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1889
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1890
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1891
+ return [4, response.body.text()];
1892
+ case 9:
1893
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1894
+ "APIError", ""]);
1895
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1896
+ case 10:
1897
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1898
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1899
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1900
+ return [4, response.body.text()];
1901
+ case 11:
1902
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1903
+ "CapabilitiesOutputBody", ""]);
1904
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1905
+ case 12:
1906
+ _0 = exception_1.ApiException.bind;
1907
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1429
1908
  return [4, response.getBodyAsAny()];
1430
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
1909
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1431
1910
  }
1432
1911
  });
1433
1912
  });
1434
1913
  };
1435
- FunctionsCoreApiResponseProcessor.prototype.getFunctionStringsWithHttpInfo = function (response) {
1914
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionDetailsWithHttpInfo = function (response) {
1436
1915
  return __awaiter(this, void 0, void 0, function () {
1437
1916
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
1438
1917
  return __generator(this, function (_q) {
@@ -1445,7 +1924,7 @@ var FunctionsCoreApiResponseProcessor = (function () {
1445
1924
  return [4, response.body.text()];
1446
1925
  case 1:
1447
1926
  body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
1448
- "BaseResponseFunctionStringsResponse", ""]);
1927
+ "BaseResponseFunctionsDetailResponse", ""]);
1449
1928
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1450
1929
  case 2:
1451
1930
  if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
@@ -1463,7 +1942,7 @@ var FunctionsCoreApiResponseProcessor = (function () {
1463
1942
  return [4, response.body.text()];
1464
1943
  case 5:
1465
1944
  body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
1466
- "BaseResponseFunctionStringsResponse", ""]);
1945
+ "BaseResponseFunctionsDetailResponse", ""]);
1467
1946
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1468
1947
  case 6:
1469
1948
  _o = exception_1.ApiException.bind;
@@ -1474,7 +1953,7 @@ var FunctionsCoreApiResponseProcessor = (function () {
1474
1953
  });
1475
1954
  });
1476
1955
  };
1477
- FunctionsCoreApiResponseProcessor.prototype.getFunctionStrings_1WithHttpInfo = function (response) {
1956
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionDetails_4WithHttpInfo = function (response) {
1478
1957
  return __awaiter(this, void 0, void 0, function () {
1479
1958
  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;
1480
1959
  return __generator(this, function (_2) {
@@ -1487,7 +1966,7 @@ var FunctionsCoreApiResponseProcessor = (function () {
1487
1966
  return [4, response.body.text()];
1488
1967
  case 1:
1489
1968
  body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1490
- "ListFunctionStringsOutputBody", ""]);
1969
+ "FunctionDetailsOutputBody", ""]);
1491
1970
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1492
1971
  case 2:
1493
1972
  if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
@@ -1532,7 +2011,7 @@ var FunctionsCoreApiResponseProcessor = (function () {
1532
2011
  return [4, response.body.text()];
1533
2012
  case 11:
1534
2013
  body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1535
- "ListFunctionStringsOutputBody", ""]);
2014
+ "FunctionDetailsOutputBody", ""]);
1536
2015
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1537
2016
  case 12:
1538
2017
  _0 = exception_1.ApiException.bind;
@@ -1543,6 +2022,498 @@ var FunctionsCoreApiResponseProcessor = (function () {
1543
2022
  });
1544
2023
  });
1545
2024
  };
2025
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionStringsWithHttpInfo = function (response) {
2026
+ return __awaiter(this, void 0, void 0, function () {
2027
+ var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
2028
+ return __generator(this, function (_q) {
2029
+ switch (_q.label) {
2030
+ case 0:
2031
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2032
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2033
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2034
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2035
+ return [4, response.body.text()];
2036
+ case 1:
2037
+ body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
2038
+ "BaseResponseFunctionStringsResponse", ""]);
2039
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2040
+ case 2:
2041
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
2042
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2043
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2044
+ return [4, response.body.text()];
2045
+ case 3:
2046
+ body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
2047
+ "BaseResponse", ""]);
2048
+ throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
2049
+ case 4:
2050
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
2051
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2052
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2053
+ return [4, response.body.text()];
2054
+ case 5:
2055
+ body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
2056
+ "BaseResponseFunctionStringsResponse", ""]);
2057
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2058
+ case 6:
2059
+ _o = exception_1.ApiException.bind;
2060
+ _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2061
+ return [4, response.getBodyAsAny()];
2062
+ case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
2063
+ }
2064
+ });
2065
+ });
2066
+ };
2067
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionStrings_5WithHttpInfo = function (response) {
2068
+ return __awaiter(this, void 0, void 0, function () {
2069
+ 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;
2070
+ return __generator(this, function (_2) {
2071
+ switch (_2.label) {
2072
+ case 0:
2073
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2074
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2075
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2076
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2077
+ return [4, response.body.text()];
2078
+ case 1:
2079
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
2080
+ "ListFunctionStringsOutputBody", ""]);
2081
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2082
+ case 2:
2083
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
2084
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2085
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2086
+ return [4, response.body.text()];
2087
+ case 3:
2088
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
2089
+ "APIError", ""]);
2090
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2091
+ case 4:
2092
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
2093
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2094
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2095
+ return [4, response.body.text()];
2096
+ case 5:
2097
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
2098
+ "APIError", ""]);
2099
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2100
+ case 6:
2101
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
2102
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2103
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2104
+ return [4, response.body.text()];
2105
+ case 7:
2106
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
2107
+ "APIError", ""]);
2108
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2109
+ case 8:
2110
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
2111
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2112
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2113
+ return [4, response.body.text()];
2114
+ case 9:
2115
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
2116
+ "APIError", ""]);
2117
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2118
+ case 10:
2119
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
2120
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2121
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2122
+ return [4, response.body.text()];
2123
+ case 11:
2124
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
2125
+ "ListFunctionStringsOutputBody", ""]);
2126
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2127
+ case 12:
2128
+ _0 = exception_1.ApiException.bind;
2129
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2130
+ return [4, response.getBodyAsAny()];
2131
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
2132
+ }
2133
+ });
2134
+ });
2135
+ };
2136
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionsCalleesCallersWithHttpInfo = function (response) {
2137
+ return __awaiter(this, void 0, void 0, function () {
2138
+ 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;
2139
+ return __generator(this, function (_6) {
2140
+ switch (_6.label) {
2141
+ case 0:
2142
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2143
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2144
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2145
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2146
+ return [4, response.body.text()];
2147
+ case 1:
2148
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
2149
+ "CallEdgesOutputBody", ""]);
2150
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2151
+ case 2:
2152
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
2153
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2154
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2155
+ return [4, response.body.text()];
2156
+ case 3:
2157
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
2158
+ "APIError", ""]);
2159
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
2160
+ case 4:
2161
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
2162
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2163
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2164
+ return [4, response.body.text()];
2165
+ case 5:
2166
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
2167
+ "APIError", ""]);
2168
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2169
+ case 6:
2170
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
2171
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2172
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2173
+ return [4, response.body.text()];
2174
+ case 7:
2175
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
2176
+ "APIError", ""]);
2177
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2178
+ case 8:
2179
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
2180
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2181
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2182
+ return [4, response.body.text()];
2183
+ case 9:
2184
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
2185
+ "APIError", ""]);
2186
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2187
+ case 10:
2188
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
2189
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2190
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2191
+ return [4, response.body.text()];
2192
+ case 11:
2193
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
2194
+ "APIError", ""]);
2195
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2196
+ case 12:
2197
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
2198
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
2199
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
2200
+ return [4, response.body.text()];
2201
+ case 13:
2202
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
2203
+ "CallEdgesOutputBody", ""]);
2204
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2205
+ case 14:
2206
+ _4 = exception_1.ApiException.bind;
2207
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2208
+ return [4, response.getBodyAsAny()];
2209
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
2210
+ }
2211
+ });
2212
+ });
2213
+ };
2214
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionsMatchesWithHttpInfo = function (response) {
2215
+ return __awaiter(this, void 0, void 0, function () {
2216
+ 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;
2217
+ return __generator(this, function (_6) {
2218
+ switch (_6.label) {
2219
+ case 0:
2220
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2221
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2222
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2223
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2224
+ return [4, response.body.text()];
2225
+ case 1:
2226
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
2227
+ "GetMatchesOutputBody", ""]);
2228
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2229
+ case 2:
2230
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
2231
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2232
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2233
+ return [4, response.body.text()];
2234
+ case 3:
2235
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
2236
+ "APIError", ""]);
2237
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
2238
+ case 4:
2239
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
2240
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2241
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2242
+ return [4, response.body.text()];
2243
+ case 5:
2244
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
2245
+ "APIError", ""]);
2246
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2247
+ case 6:
2248
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
2249
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2250
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2251
+ return [4, response.body.text()];
2252
+ case 7:
2253
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
2254
+ "APIError", ""]);
2255
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2256
+ case 8:
2257
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
2258
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2259
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2260
+ return [4, response.body.text()];
2261
+ case 9:
2262
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
2263
+ "APIError", ""]);
2264
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2265
+ case 10:
2266
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
2267
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2268
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2269
+ return [4, response.body.text()];
2270
+ case 11:
2271
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
2272
+ "APIError", ""]);
2273
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2274
+ case 12:
2275
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
2276
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
2277
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
2278
+ return [4, response.body.text()];
2279
+ case 13:
2280
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
2281
+ "GetMatchesOutputBody", ""]);
2282
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2283
+ case 14:
2284
+ _4 = exception_1.ApiException.bind;
2285
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2286
+ return [4, response.getBodyAsAny()];
2287
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
2288
+ }
2289
+ });
2290
+ });
2291
+ };
2292
+ FunctionsCoreApiResponseProcessor.prototype.getFunctionsMatchingStatusWithHttpInfo = function (response) {
2293
+ return __awaiter(this, void 0, void 0, function () {
2294
+ 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;
2295
+ return __generator(this, function (_6) {
2296
+ switch (_6.label) {
2297
+ case 0:
2298
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2299
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2300
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2301
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2302
+ return [4, response.body.text()];
2303
+ case 1:
2304
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
2305
+ "GetMatchesStatusOutputBody", ""]);
2306
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2307
+ case 2:
2308
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
2309
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2310
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2311
+ return [4, response.body.text()];
2312
+ case 3:
2313
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
2314
+ "APIError", ""]);
2315
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
2316
+ case 4:
2317
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
2318
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2319
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2320
+ return [4, response.body.text()];
2321
+ case 5:
2322
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
2323
+ "APIError", ""]);
2324
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2325
+ case 6:
2326
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
2327
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2328
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2329
+ return [4, response.body.text()];
2330
+ case 7:
2331
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
2332
+ "APIError", ""]);
2333
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2334
+ case 8:
2335
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
2336
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2337
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2338
+ return [4, response.body.text()];
2339
+ case 9:
2340
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
2341
+ "APIError", ""]);
2342
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2343
+ case 10:
2344
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
2345
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2346
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2347
+ return [4, response.body.text()];
2348
+ case 11:
2349
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
2350
+ "APIError", ""]);
2351
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2352
+ case 12:
2353
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
2354
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
2355
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
2356
+ return [4, response.body.text()];
2357
+ case 13:
2358
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
2359
+ "GetMatchesStatusOutputBody", ""]);
2360
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2361
+ case 14:
2362
+ _4 = exception_1.ApiException.bind;
2363
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2364
+ return [4, response.getBodyAsAny()];
2365
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
2366
+ }
2367
+ });
2368
+ });
2369
+ };
2370
+ FunctionsCoreApiResponseProcessor.prototype.listAnalysisFunctionsWithHttpInfo = function (response) {
2371
+ return __awaiter(this, void 0, void 0, function () {
2372
+ 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;
2373
+ return __generator(this, function (_2) {
2374
+ switch (_2.label) {
2375
+ case 0:
2376
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2377
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2378
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2379
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2380
+ return [4, response.body.text()];
2381
+ case 1:
2382
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
2383
+ "ListAnalysisFunctionsOutputBody", ""]);
2384
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2385
+ case 2:
2386
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
2387
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2388
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2389
+ return [4, response.body.text()];
2390
+ case 3:
2391
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
2392
+ "APIError", ""]);
2393
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2394
+ case 4:
2395
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
2396
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2397
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2398
+ return [4, response.body.text()];
2399
+ case 5:
2400
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
2401
+ "APIError", ""]);
2402
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2403
+ case 6:
2404
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
2405
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2406
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2407
+ return [4, response.body.text()];
2408
+ case 7:
2409
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
2410
+ "APIError", ""]);
2411
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2412
+ case 8:
2413
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
2414
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2415
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2416
+ return [4, response.body.text()];
2417
+ case 9:
2418
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
2419
+ "APIError", ""]);
2420
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2421
+ case 10:
2422
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
2423
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2424
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2425
+ return [4, response.body.text()];
2426
+ case 11:
2427
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
2428
+ "ListAnalysisFunctionsOutputBody", ""]);
2429
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2430
+ case 12:
2431
+ _0 = exception_1.ApiException.bind;
2432
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2433
+ return [4, response.getBodyAsAny()];
2434
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
2435
+ }
2436
+ });
2437
+ });
2438
+ };
2439
+ FunctionsCoreApiResponseProcessor.prototype.startFunctionsMatchingWithHttpInfo = function (response) {
2440
+ return __awaiter(this, void 0, void 0, function () {
2441
+ 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;
2442
+ return __generator(this, function (_6) {
2443
+ switch (_6.label) {
2444
+ case 0:
2445
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2446
+ if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3, 2];
2447
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2448
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2449
+ return [4, response.body.text()];
2450
+ case 1:
2451
+ body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
2452
+ "StartMatchingOutputBody", ""]);
2453
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2454
+ case 2:
2455
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
2456
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2457
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2458
+ return [4, response.body.text()];
2459
+ case 3:
2460
+ body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
2461
+ "APIError", ""]);
2462
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
2463
+ case 4:
2464
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
2465
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2466
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2467
+ return [4, response.body.text()];
2468
+ case 5:
2469
+ body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
2470
+ "APIError", ""]);
2471
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
2472
+ case 6:
2473
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 8];
2474
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
2475
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
2476
+ return [4, response.body.text()];
2477
+ case 7:
2478
+ body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
2479
+ "APIError", ""]);
2480
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
2481
+ case 8:
2482
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
2483
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
2484
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
2485
+ return [4, response.body.text()];
2486
+ case 9:
2487
+ body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
2488
+ "APIError", ""]);
2489
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
2490
+ case 10:
2491
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
2492
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
2493
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
2494
+ return [4, response.body.text()];
2495
+ case 11:
2496
+ body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
2497
+ "APIError", ""]);
2498
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
2499
+ case 12:
2500
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
2501
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
2502
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
2503
+ return [4, response.body.text()];
2504
+ case 13:
2505
+ body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
2506
+ "StartMatchingOutputBody", ""]);
2507
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2508
+ case 14:
2509
+ _4 = exception_1.ApiException.bind;
2510
+ _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2511
+ return [4, response.getBodyAsAny()];
2512
+ case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
2513
+ }
2514
+ });
2515
+ });
2516
+ };
1546
2517
  return FunctionsCoreApiResponseProcessor;
1547
2518
  }());
1548
2519
  exports.FunctionsCoreApiResponseProcessor = FunctionsCoreApiResponseProcessor;