@revengai/sdk 3.84.0 → 3.86.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +29 -7
  2. package/dist/apis/AnalysesCoreApi.d.ts +2 -0
  3. package/dist/apis/AnalysesCoreApi.js +108 -0
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/AuthenticationUsersApi.d.ts +0 -6
  6. package/dist/apis/AuthenticationUsersApi.js +0 -142
  7. package/dist/apis/AuthenticationUsersApi.js.map +1 -1
  8. package/dist/apis/FunctionsAIDecompilationApi.d.ts +8 -0
  9. package/dist/apis/FunctionsAIDecompilationApi.js +324 -23
  10. package/dist/apis/FunctionsAIDecompilationApi.js.map +1 -1
  11. package/dist/apis/ReportsApi.d.ts +2 -2
  12. package/dist/apis/ReportsApi.js +7 -15
  13. package/dist/apis/ReportsApi.js.map +1 -1
  14. package/dist/models/AnalysisReport.d.ts +2 -0
  15. package/dist/models/AnalysisReport.js +6 -0
  16. package/dist/models/AnalysisReport.js.map +1 -1
  17. package/dist/models/{BaseResponseGetMeResponse.d.ts → AttemptFailedEvent.d.ts} +5 -9
  18. package/dist/models/AttemptFailedEvent.js +41 -0
  19. package/dist/models/AttemptFailedEvent.js.map +1 -0
  20. package/dist/models/AttemptStartedEvent.d.ts +22 -0
  21. package/dist/models/AttemptStartedEvent.js +35 -0
  22. package/dist/models/AttemptStartedEvent.js.map +1 -0
  23. package/dist/models/DecompFailedEvent.d.ts +24 -0
  24. package/dist/models/DecompFailedEvent.js +47 -0
  25. package/dist/models/DecompFailedEvent.js.map +1 -0
  26. package/dist/models/DecompFinishedEvent.d.ts +22 -0
  27. package/dist/models/DecompFinishedEvent.js +35 -0
  28. package/dist/models/DecompFinishedEvent.js.map +1 -0
  29. package/dist/models/ELFRelocation.d.ts +1 -0
  30. package/dist/models/ELFRelocation.js +6 -0
  31. package/dist/models/ELFRelocation.js.map +1 -1
  32. package/dist/models/ELFSymbol.d.ts +1 -0
  33. package/dist/models/ELFSymbol.js +6 -0
  34. package/dist/models/ELFSymbol.js.map +1 -1
  35. package/dist/models/ErrorBody.d.ts +1 -0
  36. package/dist/models/ErrorBody.js +1 -0
  37. package/dist/models/ErrorBody.js.map +1 -1
  38. package/dist/models/{GetMeResponse.d.ts → EventAttemptFailed.d.ts} +8 -14
  39. package/dist/models/EventAttemptFailed.js +46 -0
  40. package/dist/models/EventAttemptFailed.js.map +1 -0
  41. package/dist/models/EventAttemptStarted.d.ts +28 -0
  42. package/dist/models/EventAttemptStarted.js +46 -0
  43. package/dist/models/EventAttemptStarted.js.map +1 -0
  44. package/dist/models/EventDecompFailed.d.ts +28 -0
  45. package/dist/models/EventDecompFailed.js +46 -0
  46. package/dist/models/EventDecompFailed.js.map +1 -0
  47. package/dist/models/EventDecompFinished.d.ts +28 -0
  48. package/dist/models/EventDecompFinished.js +46 -0
  49. package/dist/models/EventDecompFinished.js.map +1 -0
  50. package/dist/models/EventProse.d.ts +28 -0
  51. package/dist/models/EventProse.js +46 -0
  52. package/dist/models/EventProse.js.map +1 -0
  53. package/dist/models/EventRenameApplied.d.ts +28 -0
  54. package/dist/models/EventRenameApplied.js +46 -0
  55. package/dist/models/EventRenameApplied.js.map +1 -0
  56. package/dist/models/EventSourceDelta.d.ts +28 -0
  57. package/dist/models/EventSourceDelta.js +46 -0
  58. package/dist/models/EventSourceDelta.js.map +1 -0
  59. package/dist/models/EventSourceReset.d.ts +28 -0
  60. package/dist/models/EventSourceReset.js +46 -0
  61. package/dist/models/EventSourceReset.js.map +1 -0
  62. package/dist/models/EventWarning.d.ts +28 -0
  63. package/dist/models/EventWarning.js +46 -0
  64. package/dist/models/EventWarning.js.map +1 -0
  65. package/dist/models/ExtractedFileEntry.d.ts +29 -0
  66. package/dist/models/ExtractedFileEntry.js +77 -0
  67. package/dist/models/ExtractedFileEntry.js.map +1 -0
  68. package/dist/models/GeneratePDFOutputBody.d.ts +0 -1
  69. package/dist/models/GeneratePDFOutputBody.js +0 -6
  70. package/dist/models/GeneratePDFOutputBody.js.map +1 -1
  71. package/dist/models/ObjectSerializer.d.ts +22 -2
  72. package/dist/models/ObjectSerializer.js +76 -7
  73. package/dist/models/ObjectSerializer.js.map +1 -1
  74. package/dist/models/PatchCommentBody.d.ts +21 -0
  75. package/dist/models/PatchCommentBody.js +29 -0
  76. package/dist/models/PatchCommentBody.js.map +1 -0
  77. package/dist/models/ProcessExtractedFiles.d.ts +22 -0
  78. package/dist/models/ProcessExtractedFiles.js +29 -0
  79. package/dist/models/ProcessExtractedFiles.js.map +1 -0
  80. package/dist/models/ProseEvent.d.ts +23 -0
  81. package/dist/models/ProseEvent.js +41 -0
  82. package/dist/models/ProseEvent.js.map +1 -0
  83. package/dist/models/RenameAppliedEvent.d.ts +25 -0
  84. package/dist/models/RenameAppliedEvent.js +53 -0
  85. package/dist/models/RenameAppliedEvent.js.map +1 -0
  86. package/dist/models/SourceDeltaEvent.d.ts +23 -0
  87. package/dist/models/SourceDeltaEvent.js +41 -0
  88. package/dist/models/SourceDeltaEvent.js.map +1 -0
  89. package/dist/models/SourceResetEvent.d.ts +22 -0
  90. package/dist/models/SourceResetEvent.js +35 -0
  91. package/dist/models/SourceResetEvent.js.map +1 -0
  92. package/dist/models/StreamAiDecompilation200ResponseInner.d.ts +16 -0
  93. package/dist/models/StreamAiDecompilation200ResponseInner.js +12 -0
  94. package/dist/models/StreamAiDecompilation200ResponseInner.js.map +1 -0
  95. package/dist/models/WarningEvent.d.ts +25 -0
  96. package/dist/models/WarningEvent.js +53 -0
  97. package/dist/models/WarningEvent.js.map +1 -0
  98. package/dist/models/all.d.ts +22 -2
  99. package/dist/models/all.js +22 -2
  100. package/dist/models/all.js.map +1 -1
  101. package/dist/types/ObjectParamAPI.d.ts +25 -11
  102. package/dist/types/ObjectParamAPI.js +28 -20
  103. package/dist/types/ObjectParamAPI.js.map +1 -1
  104. package/dist/types/ObservableAPI.d.ts +14 -9
  105. package/dist/types/ObservableAPI.js +489 -433
  106. package/dist/types/ObservableAPI.js.map +1 -1
  107. package/dist/types/PromiseAPI.d.ts +14 -9
  108. package/dist/types/PromiseAPI.js +48 -28
  109. package/dist/types/PromiseAPI.js.map +1 -1
  110. package/package.json +1 -1
  111. package/dist/models/BaseResponseGetMeResponse.js +0 -47
  112. package/dist/models/BaseResponseGetMeResponse.js.map +0 -1
  113. package/dist/models/GetMeResponse.js +0 -73
  114. package/dist/models/GetMeResponse.js.map +0 -1
@@ -213,6 +213,43 @@ var FunctionsAIDecompilationApiRequestFactory = (function (_super) {
213
213
  });
214
214
  });
215
215
  };
216
+ FunctionsAIDecompilationApiRequestFactory.prototype.deleteAiDecompilationInlineComment = function (functionId, line, _options) {
217
+ var _a;
218
+ return __awaiter(this, void 0, void 0, function () {
219
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
220
+ return __generator(this, function (_b) {
221
+ switch (_b.label) {
222
+ case 0:
223
+ _config = _options || this.configuration;
224
+ if (functionId === null || functionId === undefined) {
225
+ throw new baseapi_1.RequiredError("FunctionsAIDecompilationApi", "deleteAiDecompilationInlineComment", "functionId");
226
+ }
227
+ if (line === null || line === undefined) {
228
+ throw new baseapi_1.RequiredError("FunctionsAIDecompilationApi", "deleteAiDecompilationInlineComment", "line");
229
+ }
230
+ localVarPath = '/v3/functions/{function_id}/ai-decompilation/inline-comments/{line}'
231
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)))
232
+ .replace('{' + 'line' + '}', encodeURIComponent(String(line)));
233
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
234
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
235
+ authMethod = _config.authMethods["APIKey"];
236
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
237
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
238
+ case 1:
239
+ _b.sent();
240
+ _b.label = 2;
241
+ case 2:
242
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
243
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
244
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
245
+ case 3:
246
+ _b.sent();
247
+ _b.label = 4;
248
+ case 4: return [2, requestContext];
249
+ }
250
+ });
251
+ });
252
+ };
216
253
  FunctionsAIDecompilationApiRequestFactory.prototype.getAiDecompilation = function (functionId, _options) {
217
254
  var _a;
218
255
  return __awaiter(this, void 0, void 0, function () {
@@ -589,6 +626,48 @@ var FunctionsAIDecompilationApiRequestFactory = (function (_super) {
589
626
  });
590
627
  });
591
628
  };
629
+ FunctionsAIDecompilationApiRequestFactory.prototype.patchAiDecompilationInlineComment = function (functionId, patchCommentBody, _options) {
630
+ var _a;
631
+ return __awaiter(this, void 0, void 0, function () {
632
+ var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
633
+ return __generator(this, function (_b) {
634
+ switch (_b.label) {
635
+ case 0:
636
+ _config = _options || this.configuration;
637
+ if (functionId === null || functionId === undefined) {
638
+ throw new baseapi_1.RequiredError("FunctionsAIDecompilationApi", "patchAiDecompilationInlineComment", "functionId");
639
+ }
640
+ if (patchCommentBody === null || patchCommentBody === undefined) {
641
+ throw new baseapi_1.RequiredError("FunctionsAIDecompilationApi", "patchAiDecompilationInlineComment", "patchCommentBody");
642
+ }
643
+ localVarPath = '/v3/functions/{function_id}/ai-decompilation/inline-comments'
644
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
645
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
646
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
647
+ contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
648
+ "application/json"
649
+ ]);
650
+ requestContext.setHeaderParam("Content-Type", contentType);
651
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(patchCommentBody, "PatchCommentBody", ""), contentType);
652
+ requestContext.setBody(serializedBody);
653
+ authMethod = _config.authMethods["APIKey"];
654
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
655
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
656
+ case 1:
657
+ _b.sent();
658
+ _b.label = 2;
659
+ case 2:
660
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
661
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
662
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
663
+ case 3:
664
+ _b.sent();
665
+ _b.label = 4;
666
+ case 4: return [2, requestContext];
667
+ }
668
+ });
669
+ });
670
+ };
592
671
  FunctionsAIDecompilationApiRequestFactory.prototype.regenerateAiDecompilationInlineComments = function (functionId, _options) {
593
672
  var _a;
594
673
  return __awaiter(this, void 0, void 0, function () {
@@ -655,6 +734,39 @@ var FunctionsAIDecompilationApiRequestFactory = (function (_super) {
655
734
  });
656
735
  });
657
736
  };
737
+ FunctionsAIDecompilationApiRequestFactory.prototype.streamAiDecompilation = function (functionId, _options) {
738
+ var _a;
739
+ return __awaiter(this, void 0, void 0, function () {
740
+ var _config, localVarPath, requestContext, authMethod, defaultAuth;
741
+ return __generator(this, function (_b) {
742
+ switch (_b.label) {
743
+ case 0:
744
+ _config = _options || this.configuration;
745
+ if (functionId === null || functionId === undefined) {
746
+ throw new baseapi_1.RequiredError("FunctionsAIDecompilationApi", "streamAiDecompilation", "functionId");
747
+ }
748
+ localVarPath = '/v3/functions/{function_id}/ai-decompilation/events'
749
+ .replace('{' + 'function_id' + '}', encodeURIComponent(String(functionId)));
750
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
751
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
752
+ authMethod = _config.authMethods["APIKey"];
753
+ if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
754
+ return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
755
+ case 1:
756
+ _b.sent();
757
+ _b.label = 2;
758
+ case 2:
759
+ defaultAuth = (_a = _config === null || _config === void 0 ? void 0 : _config.authMethods) === null || _a === void 0 ? void 0 : _a.default;
760
+ if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
761
+ return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
762
+ case 3:
763
+ _b.sent();
764
+ _b.label = 4;
765
+ case 4: return [2, requestContext];
766
+ }
767
+ });
768
+ });
769
+ };
658
770
  FunctionsAIDecompilationApiRequestFactory.prototype.updateAiDecompilationComment = function (commentId, functionId, commentUpdateRequest, _options) {
659
771
  var _a;
660
772
  return __awaiter(this, void 0, void 0, function () {
@@ -793,9 +905,9 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
793
905
  }
794
906
  FunctionsAIDecompilationApiResponseProcessor.prototype.createAiDecompilationWithHttpInfo = function (response) {
795
907
  return __awaiter(this, void 0, void 0, function () {
796
- 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;
797
- return __generator(this, function (_6) {
798
- switch (_6.label) {
908
+ 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, body, _4, _5, _6, _7, _8, _9;
909
+ return __generator(this, function (_10) {
910
+ switch (_10.label) {
799
911
  case 0:
800
912
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
801
913
  if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
@@ -803,7 +915,7 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
803
915
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
804
916
  return [4, response.body.text()];
805
917
  case 1:
806
- body = _b.apply(_a, [_d.apply(_c, [_6.sent(), contentType]),
918
+ body = _b.apply(_a, [_d.apply(_c, [_10.sent(), contentType]),
807
919
  "CreateAIDecompOutputBody", ""]);
808
920
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
809
921
  case 2:
@@ -812,59 +924,68 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
812
924
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
813
925
  return [4, response.body.text()];
814
926
  case 3:
815
- body = _f.apply(_e, [_h.apply(_g, [_6.sent(), contentType]),
927
+ body = _f.apply(_e, [_h.apply(_g, [_10.sent(), contentType]),
816
928
  "APIError", ""]);
817
929
  throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
818
930
  case 4:
819
- if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 6];
931
+ if (!(0, util_1.isCodeInRange)("402", response.httpStatusCode)) return [3, 6];
820
932
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
821
933
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
822
934
  return [4, response.body.text()];
823
935
  case 5:
824
- body = _k.apply(_j, [_m.apply(_l, [_6.sent(), contentType]),
936
+ body = _k.apply(_j, [_m.apply(_l, [_10.sent(), contentType]),
825
937
  "APIError", ""]);
826
- throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
938
+ throw new exception_1.ApiException(response.httpStatusCode, "Payment Required", body, response.headers);
827
939
  case 6:
828
- if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3, 8];
940
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 8];
829
941
  _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
830
942
  _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
831
943
  return [4, response.body.text()];
832
944
  case 7:
833
- body = _p.apply(_o, [_r.apply(_q, [_6.sent(), contentType]),
945
+ body = _p.apply(_o, [_r.apply(_q, [_10.sent(), contentType]),
834
946
  "APIError", ""]);
835
- throw new exception_1.ApiException(response.httpStatusCode, "Conflict", body, response.headers);
947
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
836
948
  case 8:
837
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 10];
949
+ if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3, 10];
838
950
  _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
839
951
  _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
840
952
  return [4, response.body.text()];
841
953
  case 9:
842
- body = _t.apply(_s, [_v.apply(_u, [_6.sent(), contentType]),
954
+ body = _t.apply(_s, [_v.apply(_u, [_10.sent(), contentType]),
843
955
  "APIError", ""]);
844
- throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
956
+ throw new exception_1.ApiException(response.httpStatusCode, "Conflict", body, response.headers);
845
957
  case 10:
846
- if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 12];
958
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 12];
847
959
  _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
848
960
  _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
849
961
  return [4, response.body.text()];
850
962
  case 11:
851
- body = _x.apply(_w, [_z.apply(_y, [_6.sent(), contentType]),
963
+ body = _x.apply(_w, [_z.apply(_y, [_10.sent(), contentType]),
852
964
  "APIError", ""]);
853
- throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
965
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
854
966
  case 12:
855
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 14];
967
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 14];
856
968
  _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
857
969
  _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
858
970
  return [4, response.body.text()];
859
971
  case 13:
860
- body = _1.apply(_0, [_3.apply(_2, [_6.sent(), contentType]),
972
+ body = _1.apply(_0, [_3.apply(_2, [_10.sent(), contentType]),
973
+ "APIError", ""]);
974
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
975
+ case 14:
976
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 16];
977
+ _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize;
978
+ _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse;
979
+ return [4, response.body.text()];
980
+ case 15:
981
+ body = _5.apply(_4, [_7.apply(_6, [_10.sent(), contentType]),
861
982
  "CreateAIDecompOutputBody", ""]);
862
983
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
863
- case 14:
864
- _4 = exception_1.ApiException.bind;
865
- _5 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
984
+ case 16:
985
+ _8 = exception_1.ApiException.bind;
986
+ _9 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
866
987
  return [4, response.getBodyAsAny()];
867
- case 15: throw new (_4.apply(exception_1.ApiException, _5.concat([_6.sent(), response.headers])))();
988
+ case 17: throw new (_8.apply(exception_1.ApiException, _9.concat([_10.sent(), response.headers])))();
868
989
  }
869
990
  });
870
991
  });
@@ -1058,6 +1179,75 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
1058
1179
  });
1059
1180
  });
1060
1181
  };
1182
+ FunctionsAIDecompilationApiResponseProcessor.prototype.deleteAiDecompilationInlineCommentWithHttpInfo = function (response) {
1183
+ return __awaiter(this, void 0, void 0, function () {
1184
+ 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;
1185
+ return __generator(this, function (_2) {
1186
+ switch (_2.label) {
1187
+ case 0:
1188
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1189
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1190
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1191
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1192
+ return [4, response.body.text()];
1193
+ case 1:
1194
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1195
+ "CommentsData", ""]);
1196
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1197
+ case 2:
1198
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1199
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1200
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1201
+ return [4, response.body.text()];
1202
+ case 3:
1203
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1204
+ "APIError", ""]);
1205
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1206
+ case 4:
1207
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1208
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1209
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1210
+ return [4, response.body.text()];
1211
+ case 5:
1212
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1213
+ "APIError", ""]);
1214
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1215
+ case 6:
1216
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1217
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1218
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1219
+ return [4, response.body.text()];
1220
+ case 7:
1221
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1222
+ "APIError", ""]);
1223
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1224
+ case 8:
1225
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1226
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1227
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1228
+ return [4, response.body.text()];
1229
+ case 9:
1230
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1231
+ "APIError", ""]);
1232
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1233
+ case 10:
1234
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1235
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1236
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1237
+ return [4, response.body.text()];
1238
+ case 11:
1239
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1240
+ "CommentsData", ""]);
1241
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1242
+ case 12:
1243
+ _0 = exception_1.ApiException.bind;
1244
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1245
+ return [4, response.getBodyAsAny()];
1246
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1247
+ }
1248
+ });
1249
+ });
1250
+ };
1061
1251
  FunctionsAIDecompilationApiResponseProcessor.prototype.getAiDecompilationWithHttpInfo = function (response) {
1062
1252
  return __awaiter(this, void 0, void 0, function () {
1063
1253
  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;
@@ -1718,6 +1908,75 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
1718
1908
  });
1719
1909
  });
1720
1910
  };
1911
+ FunctionsAIDecompilationApiResponseProcessor.prototype.patchAiDecompilationInlineCommentWithHttpInfo = function (response) {
1912
+ return __awaiter(this, void 0, void 0, function () {
1913
+ 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;
1914
+ return __generator(this, function (_2) {
1915
+ switch (_2.label) {
1916
+ case 0:
1917
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
1918
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
1919
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
1920
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
1921
+ return [4, response.body.text()];
1922
+ case 1:
1923
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
1924
+ "CommentsData", ""]);
1925
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1926
+ case 2:
1927
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 4];
1928
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
1929
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
1930
+ return [4, response.body.text()];
1931
+ case 3:
1932
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
1933
+ "APIError", ""]);
1934
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
1935
+ case 4:
1936
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
1937
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
1938
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
1939
+ return [4, response.body.text()];
1940
+ case 5:
1941
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
1942
+ "APIError", ""]);
1943
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
1944
+ case 6:
1945
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
1946
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
1947
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
1948
+ return [4, response.body.text()];
1949
+ case 7:
1950
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
1951
+ "APIError", ""]);
1952
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
1953
+ case 8:
1954
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
1955
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
1956
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
1957
+ return [4, response.body.text()];
1958
+ case 9:
1959
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
1960
+ "APIError", ""]);
1961
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
1962
+ case 10:
1963
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
1964
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
1965
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
1966
+ return [4, response.body.text()];
1967
+ case 11:
1968
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
1969
+ "CommentsData", ""]);
1970
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
1971
+ case 12:
1972
+ _0 = exception_1.ApiException.bind;
1973
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
1974
+ return [4, response.getBodyAsAny()];
1975
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
1976
+ }
1977
+ });
1978
+ });
1979
+ };
1721
1980
  FunctionsAIDecompilationApiResponseProcessor.prototype.regenerateAiDecompilationInlineCommentsWithHttpInfo = function (response) {
1722
1981
  return __awaiter(this, void 0, void 0, function () {
1723
1982
  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;
@@ -1856,6 +2115,48 @@ var FunctionsAIDecompilationApiResponseProcessor = (function () {
1856
2115
  });
1857
2116
  });
1858
2117
  };
2118
+ FunctionsAIDecompilationApiResponseProcessor.prototype.streamAiDecompilationWithHttpInfo = function (response) {
2119
+ return __awaiter(this, void 0, void 0, function () {
2120
+ var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
2121
+ return __generator(this, function (_q) {
2122
+ switch (_q.label) {
2123
+ case 0:
2124
+ contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
2125
+ if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
2126
+ _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
2127
+ _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
2128
+ return [4, response.body.text()];
2129
+ case 1:
2130
+ body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
2131
+ "Array<StreamAiDecompilation200ResponseInner>", ""]);
2132
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2133
+ case 2:
2134
+ if (!(0, util_1.isCodeInRange)("0", response.httpStatusCode)) return [3, 4];
2135
+ _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
2136
+ _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
2137
+ return [4, response.body.text()];
2138
+ case 3:
2139
+ body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
2140
+ "APIError", ""]);
2141
+ throw new exception_1.ApiException(response.httpStatusCode, "Error", body, response.headers);
2142
+ case 4:
2143
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
2144
+ _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
2145
+ _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
2146
+ return [4, response.body.text()];
2147
+ case 5:
2148
+ body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
2149
+ "Array<StreamAiDecompilation200ResponseInner>", ""]);
2150
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
2151
+ case 6:
2152
+ _o = exception_1.ApiException.bind;
2153
+ _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
2154
+ return [4, response.getBodyAsAny()];
2155
+ case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
2156
+ }
2157
+ });
2158
+ });
2159
+ };
1859
2160
  FunctionsAIDecompilationApiResponseProcessor.prototype.updateAiDecompilationCommentWithHttpInfo = function (response) {
1860
2161
  return __awaiter(this, void 0, void 0, function () {
1861
2162
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, body, _o, _p, _q, _r, body, _s, _t, _u, _v, _w, _x;