@revengai/sdk 3.74.4 → 3.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +53 -44
  2. package/dist/apis/AnalysesCoreApi.d.ts +5 -2
  3. package/dist/apis/AnalysesCoreApi.js +103 -1
  4. package/dist/apis/AnalysesCoreApi.js.map +1 -1
  5. package/dist/apis/ConversationsApi.d.ts +28 -0
  6. package/dist/apis/{AnalysesDynamicExecutionApi.js → ConversationsApi.js} +328 -157
  7. package/dist/apis/ConversationsApi.js.map +1 -0
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.js +2 -3
  10. package/dist/index.js.map +1 -1
  11. package/dist/models/APIError.d.ts +22 -0
  12. package/dist/models/APIError.js +29 -0
  13. package/dist/models/APIError.js.map +1 -0
  14. package/dist/models/AnalysisRecord.d.ts +2 -2
  15. package/dist/models/AnalysisRecord.js +1 -1
  16. package/dist/models/AnalysisRecord.js.map +1 -1
  17. package/dist/models/{TTPSAttack.d.ts → ConfirmToolInputBody.d.ts} +3 -3
  18. package/dist/models/ConfirmToolInputBody.js +29 -0
  19. package/dist/models/ConfirmToolInputBody.js.map +1 -0
  20. package/dist/models/Conversation.d.ts +26 -0
  21. package/dist/models/Conversation.js +59 -0
  22. package/dist/models/Conversation.js.map +1 -0
  23. package/dist/models/{TTPSOccurance.d.ts → ConversationContext.d.ts} +3 -3
  24. package/dist/models/ConversationContext.js +29 -0
  25. package/dist/models/ConversationContext.js.map +1 -0
  26. package/dist/models/{NetworkOverviewDns.d.ts → ConversationWithEvents.d.ts} +10 -5
  27. package/dist/models/ConversationWithEvents.js +65 -0
  28. package/dist/models/ConversationWithEvents.js.map +1 -0
  29. package/dist/models/CreateConversationRequest.d.ts +23 -0
  30. package/dist/models/CreateConversationRequest.js +35 -0
  31. package/dist/models/CreateConversationRequest.js.map +1 -0
  32. package/dist/models/{DynamicExecutionStatusInput.d.ts → DynamicExecutionStatus.d.ts} +1 -1
  33. package/dist/models/DynamicExecutionStatus.js +11 -0
  34. package/dist/models/DynamicExecutionStatus.js.map +1 -0
  35. package/dist/models/ErrorBody.d.ts +66 -0
  36. package/dist/models/ErrorBody.js +90 -0
  37. package/dist/models/ErrorBody.js.map +1 -0
  38. package/dist/models/Event.d.ts +26 -0
  39. package/dist/models/Event.js +59 -0
  40. package/dist/models/Event.js.map +1 -0
  41. package/dist/models/{BaseResponseProcessDumps.d.ts → EventCONTEXTCOMPACTED.d.ts} +9 -9
  42. package/dist/models/EventCONTEXTCOMPACTED.js +45 -0
  43. package/dist/models/EventCONTEXTCOMPACTED.js.map +1 -0
  44. package/dist/models/{BaseResponseTTPS.d.ts → EventRUNCANCELLED.d.ts} +9 -9
  45. package/dist/models/EventRUNCANCELLED.js +45 -0
  46. package/dist/models/EventRUNCANCELLED.js.map +1 -0
  47. package/dist/models/{NetworkOverviewMetadata.d.ts → EventRUNERROR.d.ts} +8 -7
  48. package/dist/models/EventRUNERROR.js +45 -0
  49. package/dist/models/EventRUNERROR.js.map +1 -0
  50. package/dist/models/EventRUNFINISHED.d.ts +27 -0
  51. package/dist/models/EventRUNFINISHED.js +45 -0
  52. package/dist/models/EventRUNFINISHED.js.map +1 -0
  53. package/dist/models/EventRUNSTARTED.d.ts +27 -0
  54. package/dist/models/EventRUNSTARTED.js +45 -0
  55. package/dist/models/EventRUNSTARTED.js.map +1 -0
  56. package/dist/models/EventSTEPFINISHED.d.ts +27 -0
  57. package/dist/models/EventSTEPFINISHED.js +45 -0
  58. package/dist/models/EventSTEPFINISHED.js.map +1 -0
  59. package/dist/models/EventSTEPSTARTED.d.ts +27 -0
  60. package/dist/models/EventSTEPSTARTED.js +45 -0
  61. package/dist/models/EventSTEPSTARTED.js.map +1 -0
  62. package/dist/models/{BaseResponseProcessRegistry.d.ts → EventTEXTMESSAGECONTENT.d.ts} +9 -9
  63. package/dist/models/EventTEXTMESSAGECONTENT.js +45 -0
  64. package/dist/models/EventTEXTMESSAGECONTENT.js.map +1 -0
  65. package/dist/models/EventTEXTMESSAGEEND.d.ts +27 -0
  66. package/dist/models/EventTEXTMESSAGEEND.js +45 -0
  67. package/dist/models/EventTEXTMESSAGEEND.js.map +1 -0
  68. package/dist/models/{BaseResponseProcessTree.d.ts → EventTEXTMESSAGESTART.d.ts} +9 -9
  69. package/dist/models/EventTEXTMESSAGESTART.js +45 -0
  70. package/dist/models/EventTEXTMESSAGESTART.js.map +1 -0
  71. package/dist/models/EventTITLEUPDATED.d.ts +27 -0
  72. package/dist/models/EventTITLEUPDATED.js +45 -0
  73. package/dist/models/EventTITLEUPDATED.js.map +1 -0
  74. package/dist/models/EventTOOLCALLARGSDELTA.d.ts +27 -0
  75. package/dist/models/EventTOOLCALLARGSDELTA.js +45 -0
  76. package/dist/models/EventTOOLCALLARGSDELTA.js.map +1 -0
  77. package/dist/models/EventTOOLCALLEND.d.ts +27 -0
  78. package/dist/models/EventTOOLCALLEND.js +45 -0
  79. package/dist/models/EventTOOLCALLEND.js.map +1 -0
  80. package/dist/models/EventTOOLCALLRESULT.d.ts +27 -0
  81. package/dist/models/EventTOOLCALLRESULT.js +45 -0
  82. package/dist/models/EventTOOLCALLRESULT.js.map +1 -0
  83. package/dist/models/EventTOOLCALLSTART.d.ts +27 -0
  84. package/dist/models/EventTOOLCALLSTART.js +45 -0
  85. package/dist/models/EventTOOLCALLSTART.js.map +1 -0
  86. package/dist/models/{BaseResponseAnalysisStagesResponse.d.ts → EventTOOLCONFIRMATIONREQUIRED.d.ts} +9 -9
  87. package/dist/models/EventTOOLCONFIRMATIONREQUIRED.js +45 -0
  88. package/dist/models/EventTOOLCONFIRMATIONREQUIRED.js.map +1 -0
  89. package/dist/models/ObjectSerializer.d.ts +45 -35
  90. package/dist/models/ObjectSerializer.js +152 -101
  91. package/dist/models/ObjectSerializer.js.map +1 -1
  92. package/dist/models/{AppServicesDynamicExecutionSchemasDynamicExecutionStatus.d.ts → QueuePositionResponse.d.ts} +3 -2
  93. package/dist/models/QueuePositionResponse.js +29 -0
  94. package/dist/models/QueuePositionResponse.js.map +1 -0
  95. package/dist/models/{PipelineStatusResponse.d.ts → SendMessageRequest.d.ts} +5 -3
  96. package/dist/models/SendMessageRequest.js +35 -0
  97. package/dist/models/SendMessageRequest.js.map +1 -0
  98. package/dist/models/SseEventContextCompactedData.d.ts +22 -0
  99. package/dist/models/SseEventContextCompactedData.js +35 -0
  100. package/dist/models/SseEventContextCompactedData.js.map +1 -0
  101. package/dist/models/SseEventRunCancelledData.d.ts +22 -0
  102. package/dist/models/SseEventRunCancelledData.js +35 -0
  103. package/dist/models/SseEventRunCancelledData.js.map +1 -0
  104. package/dist/models/{NetworkOverviewDnsAnswer.d.ts → SseEventRunErrorData.d.ts} +3 -2
  105. package/dist/models/SseEventRunErrorData.js +35 -0
  106. package/dist/models/SseEventRunErrorData.js.map +1 -0
  107. package/dist/models/SseEventRunFinishedData.d.ts +22 -0
  108. package/dist/models/SseEventRunFinishedData.js +35 -0
  109. package/dist/models/SseEventRunFinishedData.js.map +1 -0
  110. package/dist/models/{ProcessDumpMetadata.d.ts → SseEventRunStartedData.d.ts} +3 -3
  111. package/dist/models/SseEventRunStartedData.js +35 -0
  112. package/dist/models/SseEventRunStartedData.js.map +1 -0
  113. package/dist/models/SseEventStepFinishedData.d.ts +22 -0
  114. package/dist/models/SseEventStepFinishedData.js +35 -0
  115. package/dist/models/SseEventStepFinishedData.js.map +1 -0
  116. package/dist/models/SseEventStepStartedData.d.ts +22 -0
  117. package/dist/models/SseEventStepStartedData.js +35 -0
  118. package/dist/models/SseEventStepStartedData.js.map +1 -0
  119. package/dist/models/{TTPS.d.ts → SseEventTextMessageContentData.d.ts} +4 -4
  120. package/dist/models/SseEventTextMessageContentData.js +35 -0
  121. package/dist/models/SseEventTextMessageContentData.js.map +1 -0
  122. package/dist/models/SseEventTextMessageEndData.d.ts +22 -0
  123. package/dist/models/SseEventTextMessageEndData.js +35 -0
  124. package/dist/models/SseEventTextMessageEndData.js.map +1 -0
  125. package/dist/models/SseEventTextMessageStartData.d.ts +22 -0
  126. package/dist/models/SseEventTextMessageStartData.js +35 -0
  127. package/dist/models/SseEventTextMessageStartData.js.map +1 -0
  128. package/dist/models/SseEventTitleUpdatedData.d.ts +22 -0
  129. package/dist/models/SseEventTitleUpdatedData.js +35 -0
  130. package/dist/models/SseEventTitleUpdatedData.js.map +1 -0
  131. package/dist/models/SseEventToolCallArgsDeltaData.d.ts +22 -0
  132. package/dist/models/SseEventToolCallArgsDeltaData.js +35 -0
  133. package/dist/models/SseEventToolCallArgsDeltaData.js.map +1 -0
  134. package/dist/models/SseEventToolCallEndData.d.ts +22 -0
  135. package/dist/models/SseEventToolCallEndData.js +35 -0
  136. package/dist/models/SseEventToolCallEndData.js.map +1 -0
  137. package/dist/models/SseEventToolCallResultData.d.ts +22 -0
  138. package/dist/models/SseEventToolCallResultData.js +35 -0
  139. package/dist/models/SseEventToolCallResultData.js.map +1 -0
  140. package/dist/models/SseEventToolCallStartData.d.ts +22 -0
  141. package/dist/models/SseEventToolCallStartData.js +35 -0
  142. package/dist/models/SseEventToolCallStartData.js.map +1 -0
  143. package/dist/models/SseEventToolConfirmationRequiredData.d.ts +22 -0
  144. package/dist/models/SseEventToolConfirmationRequiredData.js +35 -0
  145. package/dist/models/SseEventToolConfirmationRequiredData.js.map +1 -0
  146. package/dist/models/{AnalysisStagesResponse.d.ts → StatusResponse.d.ts} +5 -3
  147. package/dist/models/StatusResponse.js +41 -0
  148. package/dist/models/StatusResponse.js.map +1 -0
  149. package/dist/models/StreamEvents200ResponseInner.d.ts +23 -0
  150. package/dist/models/StreamEvents200ResponseInner.js +12 -0
  151. package/dist/models/StreamEvents200ResponseInner.js.map +1 -0
  152. package/dist/models/all.d.ts +45 -35
  153. package/dist/models/all.js +45 -35
  154. package/dist/models/all.js.map +1 -1
  155. package/dist/types/ObjectParamAPI.d.ts +57 -66
  156. package/dist/types/ObjectParamAPI.js +86 -98
  157. package/dist/types/ObjectParamAPI.js.map +1 -1
  158. package/dist/types/ObservableAPI.d.ts +34 -43
  159. package/dist/types/ObservableAPI.js +466 -504
  160. package/dist/types/ObservableAPI.js.map +1 -1
  161. package/dist/types/PromiseAPI.d.ts +32 -39
  162. package/dist/types/PromiseAPI.js +116 -134
  163. package/dist/types/PromiseAPI.js.map +1 -1
  164. package/package.json +1 -1
  165. package/dist/apis/AnalysesDynamicExecutionApi.d.ts +0 -27
  166. package/dist/apis/AnalysesDynamicExecutionApi.js.map +0 -1
  167. package/dist/apis/AnalysisStagesApi.d.ts +0 -13
  168. package/dist/apis/AnalysisStagesApi.js +0 -224
  169. package/dist/apis/AnalysisStagesApi.js.map +0 -1
  170. package/dist/models/AnalysisStage.d.ts +0 -5
  171. package/dist/models/AnalysisStage.js +0 -10
  172. package/dist/models/AnalysisStage.js.map +0 -1
  173. package/dist/models/AnalysisStageStatus.d.ts +0 -6
  174. package/dist/models/AnalysisStageStatus.js +0 -11
  175. package/dist/models/AnalysisStageStatus.js.map +0 -1
  176. package/dist/models/AnalysisStagesResponse.js +0 -23
  177. package/dist/models/AnalysisStagesResponse.js.map +0 -1
  178. package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.d.ts +0 -6
  179. package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.js +0 -11
  180. package/dist/models/AppApiRestV2AnalysesEnumsDynamicExecutionStatus.js.map +0 -1
  181. package/dist/models/AppServicesDynamicExecutionSchemasDynamicExecutionStatus.js +0 -23
  182. package/dist/models/AppServicesDynamicExecutionSchemasDynamicExecutionStatus.js.map +0 -1
  183. package/dist/models/BaseResponseAnalysisStagesResponse.js +0 -47
  184. package/dist/models/BaseResponseAnalysisStagesResponse.js.map +0 -1
  185. package/dist/models/BaseResponseDynamicExecutionStatus.d.ts +0 -27
  186. package/dist/models/BaseResponseDynamicExecutionStatus.js +0 -47
  187. package/dist/models/BaseResponseDynamicExecutionStatus.js.map +0 -1
  188. package/dist/models/BaseResponseNetworkOverviewResponse.d.ts +0 -27
  189. package/dist/models/BaseResponseNetworkOverviewResponse.js +0 -47
  190. package/dist/models/BaseResponseNetworkOverviewResponse.js.map +0 -1
  191. package/dist/models/BaseResponsePipelineStatusResponse.d.ts +0 -27
  192. package/dist/models/BaseResponsePipelineStatusResponse.js +0 -47
  193. package/dist/models/BaseResponsePipelineStatusResponse.js.map +0 -1
  194. package/dist/models/BaseResponseProcessDumps.js +0 -47
  195. package/dist/models/BaseResponseProcessDumps.js.map +0 -1
  196. package/dist/models/BaseResponseProcessRegistry.js +0 -47
  197. package/dist/models/BaseResponseProcessRegistry.js.map +0 -1
  198. package/dist/models/BaseResponseProcessTree.js +0 -47
  199. package/dist/models/BaseResponseProcessTree.js.map +0 -1
  200. package/dist/models/BaseResponseTTPS.js +0 -47
  201. package/dist/models/BaseResponseTTPS.js.map +0 -1
  202. package/dist/models/DynamicExecutionStatusInput.js +0 -11
  203. package/dist/models/DynamicExecutionStatusInput.js.map +0 -1
  204. package/dist/models/NetworkOverviewDns.js +0 -35
  205. package/dist/models/NetworkOverviewDns.js.map +0 -1
  206. package/dist/models/NetworkOverviewDnsAnswer.js +0 -29
  207. package/dist/models/NetworkOverviewDnsAnswer.js.map +0 -1
  208. package/dist/models/NetworkOverviewMetadata.js +0 -45
  209. package/dist/models/NetworkOverviewMetadata.js.map +0 -1
  210. package/dist/models/NetworkOverviewResponse.d.ts +0 -23
  211. package/dist/models/NetworkOverviewResponse.js +0 -29
  212. package/dist/models/NetworkOverviewResponse.js.map +0 -1
  213. package/dist/models/PipelineStageStatus.d.ts +0 -7
  214. package/dist/models/PipelineStageStatus.js +0 -12
  215. package/dist/models/PipelineStageStatus.js.map +0 -1
  216. package/dist/models/PipelineStatusResponse.js +0 -23
  217. package/dist/models/PipelineStatusResponse.js.map +0 -1
  218. package/dist/models/Process.d.ts +0 -26
  219. package/dist/models/Process.js +0 -59
  220. package/dist/models/Process.js.map +0 -1
  221. package/dist/models/ProcessDump.d.ts +0 -24
  222. package/dist/models/ProcessDump.js +0 -41
  223. package/dist/models/ProcessDump.js.map +0 -1
  224. package/dist/models/ProcessDumpMetadata.js +0 -35
  225. package/dist/models/ProcessDumpMetadata.js.map +0 -1
  226. package/dist/models/ProcessDumps.d.ts +0 -22
  227. package/dist/models/ProcessDumps.js +0 -29
  228. package/dist/models/ProcessDumps.js.map +0 -1
  229. package/dist/models/ProcessDumpsData.d.ts +0 -22
  230. package/dist/models/ProcessDumpsData.js +0 -29
  231. package/dist/models/ProcessDumpsData.js.map +0 -1
  232. package/dist/models/ProcessRegistry.d.ts +0 -24
  233. package/dist/models/ProcessRegistry.js +0 -29
  234. package/dist/models/ProcessRegistry.js.map +0 -1
  235. package/dist/models/ProcessTree.d.ts +0 -22
  236. package/dist/models/ProcessTree.js +0 -29
  237. package/dist/models/ProcessTree.js.map +0 -1
  238. package/dist/models/Registry.d.ts +0 -23
  239. package/dist/models/Registry.js +0 -41
  240. package/dist/models/Registry.js.map +0 -1
  241. package/dist/models/StageEvent.d.ts +0 -24
  242. package/dist/models/StageEvent.js +0 -35
  243. package/dist/models/StageEvent.js.map +0 -1
  244. package/dist/models/StageStatus.d.ts +0 -24
  245. package/dist/models/StageStatus.js +0 -35
  246. package/dist/models/StageStatus.js.map +0 -1
  247. package/dist/models/TTPS.js +0 -29
  248. package/dist/models/TTPS.js.map +0 -1
  249. package/dist/models/TTPSAttack.js +0 -29
  250. package/dist/models/TTPSAttack.js.map +0 -1
  251. package/dist/models/TTPSData.d.ts +0 -22
  252. package/dist/models/TTPSData.js +0 -29
  253. package/dist/models/TTPSData.js.map +0 -1
  254. package/dist/models/TTPSElement.d.ts +0 -25
  255. package/dist/models/TTPSElement.js +0 -41
  256. package/dist/models/TTPSElement.js.map +0 -1
  257. package/dist/models/TTPSOccurance.js +0 -29
  258. package/dist/models/TTPSOccurance.js.map +0 -1
@@ -51,18 +51,18 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
51
51
  }
52
52
  };
53
53
  Object.defineProperty(exports, "__esModule", { value: true });
54
- exports.AnalysesDynamicExecutionApiResponseProcessor = exports.AnalysesDynamicExecutionApiRequestFactory = void 0;
54
+ exports.ConversationsApiResponseProcessor = exports.ConversationsApiRequestFactory = void 0;
55
55
  var baseapi_1 = require("./baseapi");
56
56
  var http_1 = require("../http/http");
57
57
  var ObjectSerializer_1 = require("../models/ObjectSerializer");
58
58
  var exception_1 = require("./exception");
59
59
  var util_1 = require("../util");
60
- var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
61
- __extends(AnalysesDynamicExecutionApiRequestFactory, _super);
62
- function AnalysesDynamicExecutionApiRequestFactory() {
60
+ var ConversationsApiRequestFactory = (function (_super) {
61
+ __extends(ConversationsApiRequestFactory, _super);
62
+ function ConversationsApiRequestFactory() {
63
63
  return _super !== null && _super.apply(this, arguments) || this;
64
64
  }
65
- AnalysesDynamicExecutionApiRequestFactory.prototype.getDynamicExecutionStatus = function (analysisId, _options) {
65
+ ConversationsApiRequestFactory.prototype.cancelRun = function (id, _options) {
66
66
  var _a;
67
67
  return __awaiter(this, void 0, void 0, function () {
68
68
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -70,12 +70,12 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
70
70
  switch (_b.label) {
71
71
  case 0:
72
72
  _config = _options || this.configuration;
73
- if (analysisId === null || analysisId === undefined) {
74
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getDynamicExecutionStatus", "analysisId");
73
+ if (id === null || id === undefined) {
74
+ throw new baseapi_1.RequiredError("ConversationsApi", "cancelRun", "id");
75
75
  }
76
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/status'
77
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
78
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
76
+ localVarPath = '/v2/conversations/{id}/cancel'
77
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
78
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
79
79
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
80
80
  authMethod = _config.authMethods["APIKey"];
81
81
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
@@ -95,21 +95,30 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
95
95
  });
96
96
  });
97
97
  };
98
- AnalysesDynamicExecutionApiRequestFactory.prototype.getNetworkOverview = function (analysisId, _options) {
98
+ ConversationsApiRequestFactory.prototype.confirmTool = function (id, confirmToolInputBody, _options) {
99
99
  var _a;
100
100
  return __awaiter(this, void 0, void 0, function () {
101
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
101
+ var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
102
102
  return __generator(this, function (_b) {
103
103
  switch (_b.label) {
104
104
  case 0:
105
105
  _config = _options || this.configuration;
106
- if (analysisId === null || analysisId === undefined) {
107
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getNetworkOverview", "analysisId");
106
+ if (id === null || id === undefined) {
107
+ throw new baseapi_1.RequiredError("ConversationsApi", "confirmTool", "id");
108
108
  }
109
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/network-overview'
110
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
111
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
109
+ if (confirmToolInputBody === null || confirmToolInputBody === undefined) {
110
+ throw new baseapi_1.RequiredError("ConversationsApi", "confirmTool", "confirmToolInputBody");
111
+ }
112
+ localVarPath = '/v2/conversations/{id}/confirm'
113
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
114
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
112
115
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
116
+ contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
117
+ "application/json"
118
+ ]);
119
+ requestContext.setHeaderParam("Content-Type", contentType);
120
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(confirmToolInputBody, "ConfirmToolInputBody", ""), contentType);
121
+ requestContext.setBody(serializedBody);
113
122
  authMethod = _config.authMethods["APIKey"];
114
123
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
115
124
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -128,25 +137,26 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
128
137
  });
129
138
  });
130
139
  };
131
- AnalysesDynamicExecutionApiRequestFactory.prototype.getProcessDump = function (analysisId, dumpName, _options) {
140
+ ConversationsApiRequestFactory.prototype.createConversation = function (createConversationRequest, _options) {
132
141
  var _a;
133
142
  return __awaiter(this, void 0, void 0, function () {
134
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
143
+ var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
135
144
  return __generator(this, function (_b) {
136
145
  switch (_b.label) {
137
146
  case 0:
138
147
  _config = _options || this.configuration;
139
- if (analysisId === null || analysisId === undefined) {
140
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getProcessDump", "analysisId");
141
- }
142
- if (dumpName === null || dumpName === undefined) {
143
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getProcessDump", "dumpName");
148
+ if (createConversationRequest === null || createConversationRequest === undefined) {
149
+ throw new baseapi_1.RequiredError("ConversationsApi", "createConversation", "createConversationRequest");
144
150
  }
145
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/process-dumps/{dump_name}'
146
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)))
147
- .replace('{' + 'dump_name' + '}', encodeURIComponent(String(dumpName)));
148
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
151
+ localVarPath = '/v2/conversations';
152
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
149
153
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
154
+ contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
155
+ "application/json"
156
+ ]);
157
+ requestContext.setHeaderParam("Content-Type", contentType);
158
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(createConversationRequest, "CreateConversationRequest", ""), contentType);
159
+ requestContext.setBody(serializedBody);
150
160
  authMethod = _config.authMethods["APIKey"];
151
161
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
152
162
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -165,7 +175,7 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
165
175
  });
166
176
  });
167
177
  };
168
- AnalysesDynamicExecutionApiRequestFactory.prototype.getProcessDumps = function (analysisId, _options) {
178
+ ConversationsApiRequestFactory.prototype.getConversation = function (id, _options) {
169
179
  var _a;
170
180
  return __awaiter(this, void 0, void 0, function () {
171
181
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -173,11 +183,11 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
173
183
  switch (_b.label) {
174
184
  case 0:
175
185
  _config = _options || this.configuration;
176
- if (analysisId === null || analysisId === undefined) {
177
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getProcessDumps", "analysisId");
186
+ if (id === null || id === undefined) {
187
+ throw new baseapi_1.RequiredError("ConversationsApi", "getConversation", "id");
178
188
  }
179
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/process-dumps'
180
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
189
+ localVarPath = '/v2/conversations/{id}'
190
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
181
191
  requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
182
192
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
183
193
  authMethod = _config.authMethods["APIKey"];
@@ -198,7 +208,7 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
198
208
  });
199
209
  });
200
210
  };
201
- AnalysesDynamicExecutionApiRequestFactory.prototype.getProcessRegistry = function (analysisId, _options) {
211
+ ConversationsApiRequestFactory.prototype.listConversations = function (_options) {
202
212
  var _a;
203
213
  return __awaiter(this, void 0, void 0, function () {
204
214
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -206,11 +216,7 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
206
216
  switch (_b.label) {
207
217
  case 0:
208
218
  _config = _options || this.configuration;
209
- if (analysisId === null || analysisId === undefined) {
210
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getProcessRegistry", "analysisId");
211
- }
212
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/process-registry'
213
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
219
+ localVarPath = '/v2/conversations';
214
220
  requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
215
221
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
216
222
  authMethod = _config.authMethods["APIKey"];
@@ -231,21 +237,30 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
231
237
  });
232
238
  });
233
239
  };
234
- AnalysesDynamicExecutionApiRequestFactory.prototype.getProcessTree = function (analysisId, _options) {
240
+ ConversationsApiRequestFactory.prototype.sendMessage = function (id, sendMessageRequest, _options) {
235
241
  var _a;
236
242
  return __awaiter(this, void 0, void 0, function () {
237
- var _config, localVarPath, requestContext, authMethod, defaultAuth;
243
+ var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
238
244
  return __generator(this, function (_b) {
239
245
  switch (_b.label) {
240
246
  case 0:
241
247
  _config = _options || this.configuration;
242
- if (analysisId === null || analysisId === undefined) {
243
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getProcessTree", "analysisId");
248
+ if (id === null || id === undefined) {
249
+ throw new baseapi_1.RequiredError("ConversationsApi", "sendMessage", "id");
244
250
  }
245
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/process-tree'
246
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
247
- requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
251
+ if (sendMessageRequest === null || sendMessageRequest === undefined) {
252
+ throw new baseapi_1.RequiredError("ConversationsApi", "sendMessage", "sendMessageRequest");
253
+ }
254
+ localVarPath = '/v2/conversations/{id}/messages'
255
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
256
+ requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
248
257
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
258
+ contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
259
+ "application/json"
260
+ ]);
261
+ requestContext.setHeaderParam("Content-Type", contentType);
262
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(sendMessageRequest, "SendMessageRequest", ""), contentType);
263
+ requestContext.setBody(serializedBody);
249
264
  authMethod = _config.authMethods["APIKey"];
250
265
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
251
266
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -264,7 +279,7 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
264
279
  });
265
280
  });
266
281
  };
267
- AnalysesDynamicExecutionApiRequestFactory.prototype.getTtps = function (analysisId, _options) {
282
+ ConversationsApiRequestFactory.prototype.streamEvents = function (id, lastEventId, _options) {
268
283
  var _a;
269
284
  return __awaiter(this, void 0, void 0, function () {
270
285
  var _config, localVarPath, requestContext, authMethod, defaultAuth;
@@ -272,13 +287,16 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
272
287
  switch (_b.label) {
273
288
  case 0:
274
289
  _config = _options || this.configuration;
275
- if (analysisId === null || analysisId === undefined) {
276
- throw new baseapi_1.RequiredError("AnalysesDynamicExecutionApi", "getTtps", "analysisId");
290
+ if (id === null || id === undefined) {
291
+ throw new baseapi_1.RequiredError("ConversationsApi", "streamEvents", "id");
277
292
  }
278
- localVarPath = '/v2/analyses/{analysis_id}/dynamic-execution/ttps'
279
- .replace('{' + 'analysis_id' + '}', encodeURIComponent(String(analysisId)));
293
+ localVarPath = '/v2/conversations/{id}/events'
294
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
280
295
  requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
281
296
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
297
+ if (lastEventId !== undefined) {
298
+ requestContext.setQueryParam("last_event_id", ObjectSerializer_1.ObjectSerializer.serialize(lastEventId, "number", "int64"));
299
+ }
282
300
  authMethod = _config.authMethods["APIKey"];
283
301
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
284
302
  return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
@@ -297,17 +315,17 @@ var AnalysesDynamicExecutionApiRequestFactory = (function (_super) {
297
315
  });
298
316
  });
299
317
  };
300
- return AnalysesDynamicExecutionApiRequestFactory;
318
+ return ConversationsApiRequestFactory;
301
319
  }(baseapi_1.BaseAPIRequestFactory));
302
- exports.AnalysesDynamicExecutionApiRequestFactory = AnalysesDynamicExecutionApiRequestFactory;
303
- var AnalysesDynamicExecutionApiResponseProcessor = (function () {
304
- function AnalysesDynamicExecutionApiResponseProcessor() {
320
+ exports.ConversationsApiRequestFactory = ConversationsApiRequestFactory;
321
+ var ConversationsApiResponseProcessor = (function () {
322
+ function ConversationsApiResponseProcessor() {
305
323
  }
306
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getDynamicExecutionStatusWithHttpInfo = function (response) {
324
+ ConversationsApiResponseProcessor.prototype.cancelRunWithHttpInfo = function (response) {
307
325
  return __awaiter(this, void 0, void 0, function () {
308
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
309
- return __generator(this, function (_q) {
310
- switch (_q.label) {
326
+ 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;
327
+ return __generator(this, function (_2) {
328
+ switch (_2.label) {
311
329
  case 0:
312
330
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
313
331
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -315,41 +333,68 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
315
333
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
316
334
  return [4, response.body.text()];
317
335
  case 1:
318
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
319
- "BaseResponseDynamicExecutionStatus", ""]);
336
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
337
+ "StatusResponse", ""]);
320
338
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
321
339
  case 2:
322
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
340
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
323
341
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
324
342
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
325
343
  return [4, response.body.text()];
326
344
  case 3:
327
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
328
- "BaseResponse", ""]);
329
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
345
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
346
+ "APIError", ""]);
347
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
330
348
  case 4:
331
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
349
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
332
350
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
333
351
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
334
352
  return [4, response.body.text()];
335
353
  case 5:
336
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
337
- "BaseResponseDynamicExecutionStatus", ""]);
338
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
354
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
355
+ "APIError", ""]);
356
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
339
357
  case 6:
340
- _o = exception_1.ApiException.bind;
341
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
358
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
359
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
360
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
361
+ return [4, response.body.text()];
362
+ case 7:
363
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
364
+ "APIError", ""]);
365
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
366
+ case 8:
367
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
368
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
369
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
370
+ return [4, response.body.text()];
371
+ case 9:
372
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
373
+ "APIError", ""]);
374
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
375
+ case 10:
376
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
377
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
378
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
379
+ return [4, response.body.text()];
380
+ case 11:
381
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
382
+ "StatusResponse", ""]);
383
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
384
+ case 12:
385
+ _0 = exception_1.ApiException.bind;
386
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
342
387
  return [4, response.getBodyAsAny()];
343
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
388
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
344
389
  }
345
390
  });
346
391
  });
347
392
  };
348
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getNetworkOverviewWithHttpInfo = function (response) {
393
+ ConversationsApiResponseProcessor.prototype.confirmToolWithHttpInfo = function (response) {
349
394
  return __awaiter(this, void 0, void 0, function () {
350
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
351
- return __generator(this, function (_q) {
352
- switch (_q.label) {
395
+ 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;
396
+ return __generator(this, function (_2) {
397
+ switch (_2.label) {
353
398
  case 0:
354
399
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
355
400
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -357,83 +402,128 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
357
402
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
358
403
  return [4, response.body.text()];
359
404
  case 1:
360
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
361
- "BaseResponseNetworkOverviewResponse", ""]);
405
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
406
+ "StatusResponse", ""]);
362
407
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
363
408
  case 2:
364
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
409
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
365
410
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
366
411
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
367
412
  return [4, response.body.text()];
368
413
  case 3:
369
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
370
- "BaseResponse", ""]);
371
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
414
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
415
+ "APIError", ""]);
416
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
372
417
  case 4:
373
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
418
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
374
419
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
375
420
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
376
421
  return [4, response.body.text()];
377
422
  case 5:
378
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
379
- "BaseResponseNetworkOverviewResponse", ""]);
380
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
423
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
424
+ "APIError", ""]);
425
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
381
426
  case 6:
382
- _o = exception_1.ApiException.bind;
383
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
427
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
428
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
429
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
430
+ return [4, response.body.text()];
431
+ case 7:
432
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
433
+ "APIError", ""]);
434
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
435
+ case 8:
436
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
437
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
438
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
439
+ return [4, response.body.text()];
440
+ case 9:
441
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
442
+ "APIError", ""]);
443
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
444
+ case 10:
445
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
446
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
447
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
448
+ return [4, response.body.text()];
449
+ case 11:
450
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
451
+ "StatusResponse", ""]);
452
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
453
+ case 12:
454
+ _0 = exception_1.ApiException.bind;
455
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
384
456
  return [4, response.getBodyAsAny()];
385
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
457
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
386
458
  }
387
459
  });
388
460
  });
389
461
  };
390
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getProcessDumpWithHttpInfo = function (response) {
462
+ ConversationsApiResponseProcessor.prototype.createConversationWithHttpInfo = function (response) {
391
463
  return __awaiter(this, void 0, void 0, function () {
392
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
393
- return __generator(this, function (_q) {
394
- switch (_q.label) {
464
+ 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;
465
+ return __generator(this, function (_y) {
466
+ switch (_y.label) {
395
467
  case 0:
396
468
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
397
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
469
+ if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
398
470
  _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
399
471
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
400
472
  return [4, response.body.text()];
401
473
  case 1:
402
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
403
- "any", ""]);
474
+ body = _b.apply(_a, [_d.apply(_c, [_y.sent(), contentType]),
475
+ "Conversation", ""]);
404
476
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
405
477
  case 2:
406
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
478
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
407
479
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
408
480
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
409
481
  return [4, response.body.text()];
410
482
  case 3:
411
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
412
- "BaseResponse", ""]);
413
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
483
+ body = _f.apply(_e, [_h.apply(_g, [_y.sent(), contentType]),
484
+ "APIError", ""]);
485
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
414
486
  case 4:
415
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
487
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 6];
416
488
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
417
489
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
418
490
  return [4, response.body.text()];
419
491
  case 5:
420
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
421
- "any", ""]);
422
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
492
+ body = _k.apply(_j, [_m.apply(_l, [_y.sent(), contentType]),
493
+ "APIError", ""]);
494
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
423
495
  case 6:
424
- _o = exception_1.ApiException.bind;
425
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
496
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 8];
497
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
498
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
499
+ return [4, response.body.text()];
500
+ case 7:
501
+ body = _p.apply(_o, [_r.apply(_q, [_y.sent(), contentType]),
502
+ "APIError", ""]);
503
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
504
+ case 8:
505
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 10];
506
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
507
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
508
+ return [4, response.body.text()];
509
+ case 9:
510
+ body = _t.apply(_s, [_v.apply(_u, [_y.sent(), contentType]),
511
+ "Conversation", ""]);
512
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
513
+ case 10:
514
+ _w = exception_1.ApiException.bind;
515
+ _x = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
426
516
  return [4, response.getBodyAsAny()];
427
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
517
+ case 11: throw new (_w.apply(exception_1.ApiException, _x.concat([_y.sent(), response.headers])))();
428
518
  }
429
519
  });
430
520
  });
431
521
  };
432
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getProcessDumpsWithHttpInfo = function (response) {
522
+ ConversationsApiResponseProcessor.prototype.getConversationWithHttpInfo = function (response) {
433
523
  return __awaiter(this, void 0, void 0, function () {
434
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
435
- return __generator(this, function (_q) {
436
- switch (_q.label) {
524
+ 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;
525
+ return __generator(this, function (_2) {
526
+ switch (_2.label) {
437
527
  case 0:
438
528
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
439
529
  if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
@@ -441,37 +531,64 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
441
531
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
442
532
  return [4, response.body.text()];
443
533
  case 1:
444
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
445
- "BaseResponseProcessDumps", ""]);
534
+ body = _b.apply(_a, [_d.apply(_c, [_2.sent(), contentType]),
535
+ "ConversationWithEvents", ""]);
446
536
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
447
537
  case 2:
448
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
538
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
449
539
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
450
540
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
451
541
  return [4, response.body.text()];
452
542
  case 3:
453
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
454
- "BaseResponse", ""]);
455
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
543
+ body = _f.apply(_e, [_h.apply(_g, [_2.sent(), contentType]),
544
+ "APIError", ""]);
545
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
456
546
  case 4:
457
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
547
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 6];
458
548
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
459
549
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
460
550
  return [4, response.body.text()];
461
551
  case 5:
462
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
463
- "BaseResponseProcessDumps", ""]);
464
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
552
+ body = _k.apply(_j, [_m.apply(_l, [_2.sent(), contentType]),
553
+ "APIError", ""]);
554
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
465
555
  case 6:
466
- _o = exception_1.ApiException.bind;
467
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
556
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 8];
557
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
558
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
559
+ return [4, response.body.text()];
560
+ case 7:
561
+ body = _p.apply(_o, [_r.apply(_q, [_2.sent(), contentType]),
562
+ "APIError", ""]);
563
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
564
+ case 8:
565
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 10];
566
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
567
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
568
+ return [4, response.body.text()];
569
+ case 9:
570
+ body = _t.apply(_s, [_v.apply(_u, [_2.sent(), contentType]),
571
+ "APIError", ""]);
572
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
573
+ case 10:
574
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 12];
575
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
576
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
577
+ return [4, response.body.text()];
578
+ case 11:
579
+ body = _x.apply(_w, [_z.apply(_y, [_2.sent(), contentType]),
580
+ "ConversationWithEvents", ""]);
581
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
582
+ case 12:
583
+ _0 = exception_1.ApiException.bind;
584
+ _1 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
468
585
  return [4, response.getBodyAsAny()];
469
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
586
+ case 13: throw new (_0.apply(exception_1.ApiException, _1.concat([_2.sent(), response.headers])))();
470
587
  }
471
588
  });
472
589
  });
473
590
  };
474
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getProcessRegistryWithHttpInfo = function (response) {
591
+ ConversationsApiResponseProcessor.prototype.listConversationsWithHttpInfo = function (response) {
475
592
  return __awaiter(this, void 0, void 0, function () {
476
593
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
477
594
  return __generator(this, function (_q) {
@@ -484,17 +601,17 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
484
601
  return [4, response.body.text()];
485
602
  case 1:
486
603
  body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
487
- "BaseResponseProcessRegistry", ""]);
604
+ "Array<Conversation>", ""]);
488
605
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
489
606
  case 2:
490
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
607
+ if (!(0, util_1.isCodeInRange)("0", response.httpStatusCode)) return [3, 4];
491
608
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
492
609
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
493
610
  return [4, response.body.text()];
494
611
  case 3:
495
612
  body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
496
- "BaseResponse", ""]);
497
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
613
+ "APIError", ""]);
614
+ throw new exception_1.ApiException(response.httpStatusCode, "Error", body, response.headers);
498
615
  case 4:
499
616
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
500
617
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -502,7 +619,7 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
502
619
  return [4, response.body.text()];
503
620
  case 5:
504
621
  body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
505
- "BaseResponseProcessRegistry", ""]);
622
+ "Array<Conversation>", ""]);
506
623
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
507
624
  case 6:
508
625
  _o = exception_1.ApiException.bind;
@@ -513,49 +630,103 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
513
630
  });
514
631
  });
515
632
  };
516
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getProcessTreeWithHttpInfo = function (response) {
633
+ ConversationsApiResponseProcessor.prototype.sendMessageWithHttpInfo = function (response) {
517
634
  return __awaiter(this, void 0, void 0, function () {
518
- var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
519
- return __generator(this, function (_q) {
520
- switch (_q.label) {
635
+ 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, body, _8, _9, _10, _11, _12, _13;
636
+ return __generator(this, function (_14) {
637
+ switch (_14.label) {
521
638
  case 0:
522
639
  contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
523
- if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
640
+ if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3, 2];
524
641
  _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
525
642
  _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
526
643
  return [4, response.body.text()];
527
644
  case 1:
528
- body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
529
- "BaseResponseProcessTree", ""]);
645
+ body = _b.apply(_a, [_d.apply(_c, [_14.sent(), contentType]),
646
+ "StatusResponse", ""]);
530
647
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
531
648
  case 2:
532
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
649
+ if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
533
650
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
534
651
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
535
652
  return [4, response.body.text()];
536
653
  case 3:
537
- body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
538
- "BaseResponse", ""]);
539
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
654
+ body = _f.apply(_e, [_h.apply(_g, [_14.sent(), contentType]),
655
+ "APIError", ""]);
656
+ throw new exception_1.ApiException(response.httpStatusCode, "Bad Request", body, response.headers);
540
657
  case 4:
541
- if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
658
+ if (!(0, util_1.isCodeInRange)("402", response.httpStatusCode)) return [3, 6];
542
659
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
543
660
  _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
544
661
  return [4, response.body.text()];
545
662
  case 5:
546
- body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
547
- "BaseResponseProcessTree", ""]);
548
- return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
663
+ body = _k.apply(_j, [_m.apply(_l, [_14.sent(), contentType]),
664
+ "APIError", ""]);
665
+ throw new exception_1.ApiException(response.httpStatusCode, "Payment Required", body, response.headers);
549
666
  case 6:
550
- _o = exception_1.ApiException.bind;
551
- _p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
667
+ if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3, 8];
668
+ _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;
669
+ _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;
670
+ return [4, response.body.text()];
671
+ case 7:
672
+ body = _p.apply(_o, [_r.apply(_q, [_14.sent(), contentType]),
673
+ "APIError", ""]);
674
+ throw new exception_1.ApiException(response.httpStatusCode, "Forbidden", body, response.headers);
675
+ case 8:
676
+ if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3, 10];
677
+ _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;
678
+ _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;
679
+ return [4, response.body.text()];
680
+ case 9:
681
+ body = _t.apply(_s, [_v.apply(_u, [_14.sent(), contentType]),
682
+ "APIError", ""]);
683
+ throw new exception_1.ApiException(response.httpStatusCode, "Not Found", body, response.headers);
684
+ case 10:
685
+ if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3, 12];
686
+ _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;
687
+ _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;
688
+ return [4, response.body.text()];
689
+ case 11:
690
+ body = _x.apply(_w, [_z.apply(_y, [_14.sent(), contentType]),
691
+ "APIError", ""]);
692
+ throw new exception_1.ApiException(response.httpStatusCode, "Conflict", body, response.headers);
693
+ case 12:
694
+ if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 14];
695
+ _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;
696
+ _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;
697
+ return [4, response.body.text()];
698
+ case 13:
699
+ body = _1.apply(_0, [_3.apply(_2, [_14.sent(), contentType]),
700
+ "APIError", ""]);
701
+ throw new exception_1.ApiException(response.httpStatusCode, "Unprocessable Entity", body, response.headers);
702
+ case 14:
703
+ if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3, 16];
704
+ _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize;
705
+ _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse;
706
+ return [4, response.body.text()];
707
+ case 15:
708
+ body = _5.apply(_4, [_7.apply(_6, [_14.sent(), contentType]),
709
+ "APIError", ""]);
710
+ throw new exception_1.ApiException(response.httpStatusCode, "Internal Server Error", body, response.headers);
711
+ case 16:
712
+ if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 18];
713
+ _9 = (_8 = ObjectSerializer_1.ObjectSerializer).deserialize;
714
+ _11 = (_10 = ObjectSerializer_1.ObjectSerializer).parse;
715
+ return [4, response.body.text()];
716
+ case 17:
717
+ body = _9.apply(_8, [_11.apply(_10, [_14.sent(), contentType]),
718
+ "StatusResponse", ""]);
719
+ return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
720
+ case 18:
721
+ _12 = exception_1.ApiException.bind;
722
+ _13 = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
552
723
  return [4, response.getBodyAsAny()];
553
- case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
724
+ case 19: throw new (_12.apply(exception_1.ApiException, _13.concat([_14.sent(), response.headers])))();
554
725
  }
555
726
  });
556
727
  });
557
728
  };
558
- AnalysesDynamicExecutionApiResponseProcessor.prototype.getTtpsWithHttpInfo = function (response) {
729
+ ConversationsApiResponseProcessor.prototype.streamEventsWithHttpInfo = function (response) {
559
730
  return __awaiter(this, void 0, void 0, function () {
560
731
  var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
561
732
  return __generator(this, function (_q) {
@@ -568,17 +739,17 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
568
739
  return [4, response.body.text()];
569
740
  case 1:
570
741
  body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
571
- "BaseResponseTTPS", ""]);
742
+ "Array<StreamEvents200ResponseInner>", ""]);
572
743
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
573
744
  case 2:
574
- if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3, 4];
745
+ if (!(0, util_1.isCodeInRange)("0", response.httpStatusCode)) return [3, 4];
575
746
  _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
576
747
  _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
577
748
  return [4, response.body.text()];
578
749
  case 3:
579
750
  body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
580
- "BaseResponse", ""]);
581
- throw new exception_1.ApiException(response.httpStatusCode, "Invalid request parameters", body, response.headers);
751
+ "APIError", ""]);
752
+ throw new exception_1.ApiException(response.httpStatusCode, "Error", body, response.headers);
582
753
  case 4:
583
754
  if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
584
755
  _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
@@ -586,7 +757,7 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
586
757
  return [4, response.body.text()];
587
758
  case 5:
588
759
  body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
589
- "BaseResponseTTPS", ""]);
760
+ "Array<StreamEvents200ResponseInner>", ""]);
590
761
  return [2, new http_1.HttpInfo(response.httpStatusCode, response.headers, response.body, body)];
591
762
  case 6:
592
763
  _o = exception_1.ApiException.bind;
@@ -597,7 +768,7 @@ var AnalysesDynamicExecutionApiResponseProcessor = (function () {
597
768
  });
598
769
  });
599
770
  };
600
- return AnalysesDynamicExecutionApiResponseProcessor;
771
+ return ConversationsApiResponseProcessor;
601
772
  }());
602
- exports.AnalysesDynamicExecutionApiResponseProcessor = AnalysesDynamicExecutionApiResponseProcessor;
603
- //# sourceMappingURL=AnalysesDynamicExecutionApi.js.map
773
+ exports.ConversationsApiResponseProcessor = ConversationsApiResponseProcessor;
774
+ //# sourceMappingURL=ConversationsApi.js.map