@daytonaio/api-client 0.7.0 → 0.9.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 (113) hide show
  1. package/.openapi-generator/FILES +16 -1
  2. package/README.md +2 -2
  3. package/api/toolbox-api.ts +1149 -104
  4. package/api/users-api.ts +68 -0
  5. package/api/workspace-api.ts +78 -0
  6. package/api.ts +0 -1
  7. package/dist/api/toolbox-api.d.ts +473 -0
  8. package/dist/api/toolbox-api.js +967 -1
  9. package/dist/api/users-api.d.ts +30 -0
  10. package/dist/api/users-api.js +62 -0
  11. package/dist/api/workspace-api.d.ts +33 -0
  12. package/dist/api/workspace-api.js +73 -0
  13. package/dist/api.d.ts +0 -1
  14. package/dist/api.js +0 -1
  15. package/dist/esm/api/toolbox-api.d.ts +473 -0
  16. package/dist/esm/api/toolbox-api.js +967 -1
  17. package/dist/esm/api/users-api.d.ts +30 -0
  18. package/dist/esm/api/users-api.js +62 -0
  19. package/dist/esm/api/workspace-api.d.ts +33 -0
  20. package/dist/esm/api/workspace-api.js +73 -0
  21. package/dist/esm/api.d.ts +0 -1
  22. package/dist/esm/api.js +0 -1
  23. package/dist/esm/models/command.d.ts +42 -0
  24. package/dist/esm/models/command.js +14 -0
  25. package/dist/esm/models/completion-context.d.ts +30 -0
  26. package/dist/esm/models/completion-context.js +14 -0
  27. package/dist/esm/models/completion-item.d.ts +60 -0
  28. package/dist/esm/models/completion-item.js +14 -0
  29. package/dist/esm/models/completion-list.d.ts +31 -0
  30. package/dist/esm/models/completion-list.js +14 -0
  31. package/dist/esm/models/create-session-request.d.ts +24 -0
  32. package/dist/esm/models/create-session-request.js +14 -0
  33. package/dist/esm/models/index.d.ts +16 -0
  34. package/dist/esm/models/index.js +16 -0
  35. package/dist/esm/models/lsp-completion-params.d.ts +50 -0
  36. package/dist/esm/models/lsp-completion-params.js +14 -0
  37. package/dist/esm/models/lsp-document-request.d.ts +36 -0
  38. package/dist/esm/models/lsp-document-request.js +14 -0
  39. package/dist/esm/models/lsp-location.d.ts +31 -0
  40. package/dist/esm/models/lsp-location.js +14 -0
  41. package/dist/esm/models/lsp-server-request.d.ts +30 -0
  42. package/dist/esm/models/lsp-server-request.js +14 -0
  43. package/dist/esm/models/lsp-symbol.d.ts +37 -0
  44. package/dist/esm/models/lsp-symbol.js +14 -0
  45. package/dist/esm/models/position.d.ts +30 -0
  46. package/dist/esm/models/position.js +14 -0
  47. package/dist/esm/models/range.d.ts +31 -0
  48. package/dist/esm/models/range.js +14 -0
  49. package/dist/esm/models/session-execute-request.d.ts +30 -0
  50. package/dist/esm/models/session-execute-request.js +14 -0
  51. package/dist/esm/models/session-execute-response.d.ts +36 -0
  52. package/dist/esm/models/session-execute-response.js +14 -0
  53. package/dist/esm/models/session.d.ts +31 -0
  54. package/dist/esm/models/session.js +14 -0
  55. package/dist/esm/models/usage-overview.d.ts +84 -0
  56. package/dist/esm/models/usage-overview.js +14 -0
  57. package/dist/models/command.d.ts +42 -0
  58. package/dist/models/command.js +15 -0
  59. package/dist/models/completion-context.d.ts +30 -0
  60. package/dist/models/completion-context.js +15 -0
  61. package/dist/models/completion-item.d.ts +60 -0
  62. package/dist/models/completion-item.js +15 -0
  63. package/dist/models/completion-list.d.ts +31 -0
  64. package/dist/models/completion-list.js +15 -0
  65. package/dist/models/create-session-request.d.ts +24 -0
  66. package/dist/models/create-session-request.js +15 -0
  67. package/dist/models/index.d.ts +16 -0
  68. package/dist/models/index.js +16 -0
  69. package/dist/models/lsp-completion-params.d.ts +50 -0
  70. package/dist/models/lsp-completion-params.js +15 -0
  71. package/dist/models/lsp-document-request.d.ts +36 -0
  72. package/dist/models/lsp-document-request.js +15 -0
  73. package/dist/models/lsp-location.d.ts +31 -0
  74. package/dist/models/lsp-location.js +15 -0
  75. package/dist/models/lsp-server-request.d.ts +30 -0
  76. package/dist/models/lsp-server-request.js +15 -0
  77. package/dist/models/lsp-symbol.d.ts +37 -0
  78. package/dist/models/lsp-symbol.js +15 -0
  79. package/dist/models/position.d.ts +30 -0
  80. package/dist/models/position.js +15 -0
  81. package/dist/models/range.d.ts +31 -0
  82. package/dist/models/range.js +15 -0
  83. package/dist/models/session-execute-request.d.ts +30 -0
  84. package/dist/models/session-execute-request.js +15 -0
  85. package/dist/models/session-execute-response.d.ts +36 -0
  86. package/dist/models/session-execute-response.js +15 -0
  87. package/dist/models/session.d.ts +31 -0
  88. package/dist/models/session.js +15 -0
  89. package/dist/models/usage-overview.d.ts +84 -0
  90. package/dist/models/usage-overview.js +15 -0
  91. package/models/command.ts +48 -0
  92. package/models/completion-context.ts +36 -0
  93. package/models/completion-item.ts +66 -0
  94. package/models/completion-list.ts +39 -0
  95. package/models/create-session-request.ts +30 -0
  96. package/models/index.ts +16 -0
  97. package/models/lsp-completion-params.ts +60 -0
  98. package/models/lsp-document-request.ts +42 -0
  99. package/models/lsp-location.ts +39 -0
  100. package/models/lsp-server-request.ts +36 -0
  101. package/models/lsp-symbol.ts +45 -0
  102. package/models/position.ts +36 -0
  103. package/models/range.ts +39 -0
  104. package/models/session-execute-request.ts +36 -0
  105. package/models/session-execute-response.ts +42 -0
  106. package/models/session.ts +39 -0
  107. package/models/usage-overview.ts +90 -0
  108. package/package.json +1 -1
  109. package/api/app-api.ts +0 -118
  110. package/dist/api/app-api.d.ts +0 -65
  111. package/dist/api/app-api.js +0 -124
  112. package/dist/esm/api/app-api.d.ts +0 -65
  113. package/dist/esm/api/app-api.js +0 -117
@@ -79,6 +79,43 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
79
79
  options: localVarRequestOptions,
80
80
  };
81
81
  }),
82
+ /**
83
+ * Create a new session in the workspace
84
+ * @summary Create session
85
+ * @param {string} workspaceId
86
+ * @param {CreateSessionRequest} createSessionRequest
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ createSession: (workspaceId_1, createSessionRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, createSessionRequest_1, ...args_1], void 0, function* (workspaceId, createSessionRequest, options = {}) {
91
+ // verify required parameter 'workspaceId' is not null or undefined
92
+ (0, common_1.assertParamExists)('createSession', 'workspaceId', workspaceId);
93
+ // verify required parameter 'createSessionRequest' is not null or undefined
94
+ (0, common_1.assertParamExists)('createSession', 'createSessionRequest', createSessionRequest);
95
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
96
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
97
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
99
+ let baseOptions;
100
+ if (configuration) {
101
+ baseOptions = configuration.baseOptions;
102
+ }
103
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
104
+ const localVarHeaderParameter = {};
105
+ const localVarQueryParameter = {};
106
+ // authentication oauth2 required
107
+ // oauth required
108
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
109
+ localVarHeaderParameter['Content-Type'] = 'application/json';
110
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
113
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSessionRequest, localVarRequestOptions, configuration);
114
+ return {
115
+ url: (0, common_1.toPathString)(localVarUrlObj),
116
+ options: localVarRequestOptions,
117
+ };
118
+ }),
82
119
  /**
83
120
  * Delete file inside workspace
84
121
  * @summary Delete file
@@ -117,6 +154,42 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
117
154
  options: localVarRequestOptions,
118
155
  };
119
156
  }),
157
+ /**
158
+ * Delete a specific session
159
+ * @summary Delete session
160
+ * @param {string} workspaceId
161
+ * @param {string} sessionId
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ deleteSession: (workspaceId_1, sessionId_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, ...args_1], void 0, function* (workspaceId, sessionId, options = {}) {
166
+ // verify required parameter 'workspaceId' is not null or undefined
167
+ (0, common_1.assertParamExists)('deleteSession', 'workspaceId', workspaceId);
168
+ // verify required parameter 'sessionId' is not null or undefined
169
+ (0, common_1.assertParamExists)('deleteSession', 'sessionId', sessionId);
170
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
171
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
172
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
173
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
174
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
175
+ let baseOptions;
176
+ if (configuration) {
177
+ baseOptions = configuration.baseOptions;
178
+ }
179
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
180
+ const localVarHeaderParameter = {};
181
+ const localVarQueryParameter = {};
182
+ // authentication oauth2 required
183
+ // oauth required
184
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ return {
189
+ url: (0, common_1.toPathString)(localVarUrlObj),
190
+ options: localVarRequestOptions,
191
+ };
192
+ }),
120
193
  /**
121
194
  * Download file from workspace
122
195
  * @summary Download file
@@ -192,6 +265,47 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
192
265
  options: localVarRequestOptions,
193
266
  };
194
267
  }),
268
+ /**
269
+ * Execute a command in a specific session
270
+ * @summary Execute command in session
271
+ * @param {string} workspaceId
272
+ * @param {string} sessionId
273
+ * @param {SessionExecuteRequest} sessionExecuteRequest
274
+ * @param {*} [options] Override http request option.
275
+ * @throws {RequiredError}
276
+ */
277
+ executeSessionCommand: (workspaceId_1, sessionId_1, sessionExecuteRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, sessionExecuteRequest_1, ...args_1], void 0, function* (workspaceId, sessionId, sessionExecuteRequest, options = {}) {
278
+ // verify required parameter 'workspaceId' is not null or undefined
279
+ (0, common_1.assertParamExists)('executeSessionCommand', 'workspaceId', workspaceId);
280
+ // verify required parameter 'sessionId' is not null or undefined
281
+ (0, common_1.assertParamExists)('executeSessionCommand', 'sessionId', sessionId);
282
+ // verify required parameter 'sessionExecuteRequest' is not null or undefined
283
+ (0, common_1.assertParamExists)('executeSessionCommand', 'sessionExecuteRequest', sessionExecuteRequest);
284
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/exec`
285
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
286
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
288
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
289
+ let baseOptions;
290
+ if (configuration) {
291
+ baseOptions = configuration.baseOptions;
292
+ }
293
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
294
+ const localVarHeaderParameter = {};
295
+ const localVarQueryParameter = {};
296
+ // authentication oauth2 required
297
+ // oauth required
298
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
299
+ localVarHeaderParameter['Content-Type'] = 'application/json';
300
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
302
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
303
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sessionExecuteRequest, localVarRequestOptions, configuration);
304
+ return {
305
+ url: (0, common_1.toPathString)(localVarUrlObj),
306
+ options: localVarRequestOptions,
307
+ };
308
+ }),
195
309
  /**
196
310
  * Search for text/pattern inside workspace files
197
311
  * @summary Search for text/pattern in files
@@ -306,6 +420,46 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
306
420
  options: localVarRequestOptions,
307
421
  };
308
422
  }),
423
+ /**
424
+ * Get logs for a specific command in a session
425
+ * @summary Get command logs
426
+ * @param {string} workspaceId
427
+ * @param {string} sessionId
428
+ * @param {string} commandId
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ getSessionCommandLogs: (workspaceId_1, sessionId_1, commandId_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, commandId_1, ...args_1], void 0, function* (workspaceId, sessionId, commandId, options = {}) {
433
+ // verify required parameter 'workspaceId' is not null or undefined
434
+ (0, common_1.assertParamExists)('getSessionCommandLogs', 'workspaceId', workspaceId);
435
+ // verify required parameter 'sessionId' is not null or undefined
436
+ (0, common_1.assertParamExists)('getSessionCommandLogs', 'sessionId', sessionId);
437
+ // verify required parameter 'commandId' is not null or undefined
438
+ (0, common_1.assertParamExists)('getSessionCommandLogs', 'commandId', commandId);
439
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}/logs`
440
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
441
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
442
+ .replace(`{${"commandId"}}`, encodeURIComponent(String(commandId)));
443
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
444
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
445
+ let baseOptions;
446
+ if (configuration) {
447
+ baseOptions = configuration.baseOptions;
448
+ }
449
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
450
+ const localVarHeaderParameter = {};
451
+ const localVarQueryParameter = {};
452
+ // authentication oauth2 required
453
+ // oauth required
454
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
455
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
457
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
458
+ return {
459
+ url: (0, common_1.toPathString)(localVarUrlObj),
460
+ options: localVarRequestOptions,
461
+ };
462
+ }),
309
463
  /**
310
464
  * Add files to git commit
311
465
  * @summary Add files
@@ -678,6 +832,323 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
678
832
  options: localVarRequestOptions,
679
833
  };
680
834
  }),
835
+ /**
836
+ * List all active sessions in the workspace
837
+ * @summary List sessions
838
+ * @param {string} workspaceId
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ */
842
+ listSessions: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
843
+ // verify required parameter 'workspaceId' is not null or undefined
844
+ (0, common_1.assertParamExists)('listSessions', 'workspaceId', workspaceId);
845
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
846
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
847
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
848
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
849
+ let baseOptions;
850
+ if (configuration) {
851
+ baseOptions = configuration.baseOptions;
852
+ }
853
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
854
+ const localVarHeaderParameter = {};
855
+ const localVarQueryParameter = {};
856
+ // authentication oauth2 required
857
+ // oauth required
858
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
859
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
860
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
861
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
862
+ return {
863
+ url: (0, common_1.toPathString)(localVarUrlObj),
864
+ options: localVarRequestOptions,
865
+ };
866
+ }),
867
+ /**
868
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
869
+ * @summary Get Lsp Completions
870
+ * @param {string} workspaceId
871
+ * @param {LspCompletionParams} lspCompletionParams
872
+ * @param {*} [options] Override http request option.
873
+ * @throws {RequiredError}
874
+ */
875
+ lspCompletions: (workspaceId_1, lspCompletionParams_1, ...args_1) => __awaiter(this, [workspaceId_1, lspCompletionParams_1, ...args_1], void 0, function* (workspaceId, lspCompletionParams, options = {}) {
876
+ // verify required parameter 'workspaceId' is not null or undefined
877
+ (0, common_1.assertParamExists)('lspCompletions', 'workspaceId', workspaceId);
878
+ // verify required parameter 'lspCompletionParams' is not null or undefined
879
+ (0, common_1.assertParamExists)('lspCompletions', 'lspCompletionParams', lspCompletionParams);
880
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`
881
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
883
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
884
+ let baseOptions;
885
+ if (configuration) {
886
+ baseOptions = configuration.baseOptions;
887
+ }
888
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
889
+ const localVarHeaderParameter = {};
890
+ const localVarQueryParameter = {};
891
+ // authentication oauth2 required
892
+ // oauth required
893
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
894
+ localVarHeaderParameter['Content-Type'] = 'application/json';
895
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
897
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
898
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspCompletionParams, localVarRequestOptions, configuration);
899
+ return {
900
+ url: (0, common_1.toPathString)(localVarUrlObj),
901
+ options: localVarRequestOptions,
902
+ };
903
+ }),
904
+ /**
905
+ * The document close notification is sent from the client to the server when the document got closed in the client.
906
+ * @summary Call Lsp DidClose
907
+ * @param {string} workspaceId
908
+ * @param {LspDocumentRequest} lspDocumentRequest
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ lspDidClose: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
913
+ // verify required parameter 'workspaceId' is not null or undefined
914
+ (0, common_1.assertParamExists)('lspDidClose', 'workspaceId', workspaceId);
915
+ // verify required parameter 'lspDocumentRequest' is not null or undefined
916
+ (0, common_1.assertParamExists)('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
917
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`
918
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
920
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
921
+ let baseOptions;
922
+ if (configuration) {
923
+ baseOptions = configuration.baseOptions;
924
+ }
925
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
926
+ const localVarHeaderParameter = {};
927
+ const localVarQueryParameter = {};
928
+ // authentication oauth2 required
929
+ // oauth required
930
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
931
+ localVarHeaderParameter['Content-Type'] = 'application/json';
932
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
933
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
934
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
935
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspDocumentRequest, localVarRequestOptions, configuration);
936
+ return {
937
+ url: (0, common_1.toPathString)(localVarUrlObj),
938
+ options: localVarRequestOptions,
939
+ };
940
+ }),
941
+ /**
942
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
943
+ * @summary Call Lsp DidOpen
944
+ * @param {string} workspaceId
945
+ * @param {LspDocumentRequest} lspDocumentRequest
946
+ * @param {*} [options] Override http request option.
947
+ * @throws {RequiredError}
948
+ */
949
+ lspDidOpen: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
950
+ // verify required parameter 'workspaceId' is not null or undefined
951
+ (0, common_1.assertParamExists)('lspDidOpen', 'workspaceId', workspaceId);
952
+ // verify required parameter 'lspDocumentRequest' is not null or undefined
953
+ (0, common_1.assertParamExists)('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
954
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`
955
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
957
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
958
+ let baseOptions;
959
+ if (configuration) {
960
+ baseOptions = configuration.baseOptions;
961
+ }
962
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
963
+ const localVarHeaderParameter = {};
964
+ const localVarQueryParameter = {};
965
+ // authentication oauth2 required
966
+ // oauth required
967
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
968
+ localVarHeaderParameter['Content-Type'] = 'application/json';
969
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
970
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
971
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
972
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspDocumentRequest, localVarRequestOptions, configuration);
973
+ return {
974
+ url: (0, common_1.toPathString)(localVarUrlObj),
975
+ options: localVarRequestOptions,
976
+ };
977
+ }),
978
+ /**
979
+ * The document symbol request is sent from the client to the server.
980
+ * @summary Call Lsp DocumentSymbols
981
+ * @param {string} workspaceId
982
+ * @param {string} languageId
983
+ * @param {string} pathToProject
984
+ * @param {string} uri
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ lspDocumentSymbols: (workspaceId_1, languageId_1, pathToProject_1, uri_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, uri_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, uri, options = {}) {
989
+ // verify required parameter 'workspaceId' is not null or undefined
990
+ (0, common_1.assertParamExists)('lspDocumentSymbols', 'workspaceId', workspaceId);
991
+ // verify required parameter 'languageId' is not null or undefined
992
+ (0, common_1.assertParamExists)('lspDocumentSymbols', 'languageId', languageId);
993
+ // verify required parameter 'pathToProject' is not null or undefined
994
+ (0, common_1.assertParamExists)('lspDocumentSymbols', 'pathToProject', pathToProject);
995
+ // verify required parameter 'uri' is not null or undefined
996
+ (0, common_1.assertParamExists)('lspDocumentSymbols', 'uri', uri);
997
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`
998
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
999
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1000
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1001
+ let baseOptions;
1002
+ if (configuration) {
1003
+ baseOptions = configuration.baseOptions;
1004
+ }
1005
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1006
+ const localVarHeaderParameter = {};
1007
+ const localVarQueryParameter = {};
1008
+ // authentication oauth2 required
1009
+ // oauth required
1010
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1011
+ if (languageId !== undefined) {
1012
+ localVarQueryParameter['languageId'] = languageId;
1013
+ }
1014
+ if (pathToProject !== undefined) {
1015
+ localVarQueryParameter['pathToProject'] = pathToProject;
1016
+ }
1017
+ if (uri !== undefined) {
1018
+ localVarQueryParameter['uri'] = uri;
1019
+ }
1020
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1021
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1022
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1023
+ return {
1024
+ url: (0, common_1.toPathString)(localVarUrlObj),
1025
+ options: localVarRequestOptions,
1026
+ };
1027
+ }),
1028
+ /**
1029
+ * Start Lsp server process inside workspace project
1030
+ * @summary Start Lsp server
1031
+ * @param {string} workspaceId
1032
+ * @param {LspServerRequest} lspServerRequest
1033
+ * @param {*} [options] Override http request option.
1034
+ * @throws {RequiredError}
1035
+ */
1036
+ lspStart: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
1037
+ // verify required parameter 'workspaceId' is not null or undefined
1038
+ (0, common_1.assertParamExists)('lspStart', 'workspaceId', workspaceId);
1039
+ // verify required parameter 'lspServerRequest' is not null or undefined
1040
+ (0, common_1.assertParamExists)('lspStart', 'lspServerRequest', lspServerRequest);
1041
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`
1042
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1043
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1044
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1045
+ let baseOptions;
1046
+ if (configuration) {
1047
+ baseOptions = configuration.baseOptions;
1048
+ }
1049
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1050
+ const localVarHeaderParameter = {};
1051
+ const localVarQueryParameter = {};
1052
+ // authentication oauth2 required
1053
+ // oauth required
1054
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1055
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1056
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1057
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1058
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1059
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
1060
+ return {
1061
+ url: (0, common_1.toPathString)(localVarUrlObj),
1062
+ options: localVarRequestOptions,
1063
+ };
1064
+ }),
1065
+ /**
1066
+ * Stop Lsp server process inside workspace project
1067
+ * @summary Stop Lsp server
1068
+ * @param {string} workspaceId
1069
+ * @param {LspServerRequest} lspServerRequest
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ lspStop: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
1074
+ // verify required parameter 'workspaceId' is not null or undefined
1075
+ (0, common_1.assertParamExists)('lspStop', 'workspaceId', workspaceId);
1076
+ // verify required parameter 'lspServerRequest' is not null or undefined
1077
+ (0, common_1.assertParamExists)('lspStop', 'lspServerRequest', lspServerRequest);
1078
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`
1079
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1080
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1081
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1082
+ let baseOptions;
1083
+ if (configuration) {
1084
+ baseOptions = configuration.baseOptions;
1085
+ }
1086
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1087
+ const localVarHeaderParameter = {};
1088
+ const localVarQueryParameter = {};
1089
+ // authentication oauth2 required
1090
+ // oauth required
1091
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1092
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1093
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1094
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1095
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1096
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
1097
+ return {
1098
+ url: (0, common_1.toPathString)(localVarUrlObj),
1099
+ options: localVarRequestOptions,
1100
+ };
1101
+ }),
1102
+ /**
1103
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1104
+ * @summary Call Lsp WorkspaceSymbols
1105
+ * @param {string} workspaceId
1106
+ * @param {string} languageId
1107
+ * @param {string} pathToProject
1108
+ * @param {string} query
1109
+ * @param {*} [options] Override http request option.
1110
+ * @throws {RequiredError}
1111
+ */
1112
+ lspWorkspaceSymbols: (workspaceId_1, languageId_1, pathToProject_1, query_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, query_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, query, options = {}) {
1113
+ // verify required parameter 'workspaceId' is not null or undefined
1114
+ (0, common_1.assertParamExists)('lspWorkspaceSymbols', 'workspaceId', workspaceId);
1115
+ // verify required parameter 'languageId' is not null or undefined
1116
+ (0, common_1.assertParamExists)('lspWorkspaceSymbols', 'languageId', languageId);
1117
+ // verify required parameter 'pathToProject' is not null or undefined
1118
+ (0, common_1.assertParamExists)('lspWorkspaceSymbols', 'pathToProject', pathToProject);
1119
+ // verify required parameter 'query' is not null or undefined
1120
+ (0, common_1.assertParamExists)('lspWorkspaceSymbols', 'query', query);
1121
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`
1122
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1124
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1125
+ let baseOptions;
1126
+ if (configuration) {
1127
+ baseOptions = configuration.baseOptions;
1128
+ }
1129
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1130
+ const localVarHeaderParameter = {};
1131
+ const localVarQueryParameter = {};
1132
+ // authentication oauth2 required
1133
+ // oauth required
1134
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1135
+ if (languageId !== undefined) {
1136
+ localVarQueryParameter['languageId'] = languageId;
1137
+ }
1138
+ if (pathToProject !== undefined) {
1139
+ localVarQueryParameter['pathToProject'] = pathToProject;
1140
+ }
1141
+ if (query !== undefined) {
1142
+ localVarQueryParameter['query'] = query;
1143
+ }
1144
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1145
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1146
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1147
+ return {
1148
+ url: (0, common_1.toPathString)(localVarUrlObj),
1149
+ options: localVarRequestOptions,
1150
+ };
1151
+ }),
681
1152
  /**
682
1153
  * Move file inside workspace
683
1154
  * @summary Move file
@@ -926,6 +1397,23 @@ const ToolboxApiFp = function (configuration) {
926
1397
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
927
1398
  });
928
1399
  },
1400
+ /**
1401
+ * Create a new session in the workspace
1402
+ * @summary Create session
1403
+ * @param {string} workspaceId
1404
+ * @param {CreateSessionRequest} createSessionRequest
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ */
1408
+ createSession(workspaceId, createSessionRequest, options) {
1409
+ return __awaiter(this, void 0, void 0, function* () {
1410
+ var _a, _b, _c;
1411
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, options);
1412
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1413
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1414
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1415
+ });
1416
+ },
929
1417
  /**
930
1418
  * Delete file inside workspace
931
1419
  * @summary Delete file
@@ -943,6 +1431,23 @@ const ToolboxApiFp = function (configuration) {
943
1431
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
944
1432
  });
945
1433
  },
1434
+ /**
1435
+ * Delete a specific session
1436
+ * @summary Delete session
1437
+ * @param {string} workspaceId
1438
+ * @param {string} sessionId
1439
+ * @param {*} [options] Override http request option.
1440
+ * @throws {RequiredError}
1441
+ */
1442
+ deleteSession(workspaceId, sessionId, options) {
1443
+ return __awaiter(this, void 0, void 0, function* () {
1444
+ var _a, _b, _c;
1445
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, options);
1446
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1447
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1448
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1449
+ });
1450
+ },
946
1451
  /**
947
1452
  * Download file from workspace
948
1453
  * @summary Download file
@@ -973,7 +1478,25 @@ const ToolboxApiFp = function (configuration) {
973
1478
  var _a, _b, _c;
974
1479
  const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, options);
975
1480
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
976
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1481
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1482
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1483
+ });
1484
+ },
1485
+ /**
1486
+ * Execute a command in a specific session
1487
+ * @summary Execute command in session
1488
+ * @param {string} workspaceId
1489
+ * @param {string} sessionId
1490
+ * @param {SessionExecuteRequest} sessionExecuteRequest
1491
+ * @param {*} [options] Override http request option.
1492
+ * @throws {RequiredError}
1493
+ */
1494
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
1495
+ return __awaiter(this, void 0, void 0, function* () {
1496
+ var _a, _b, _c;
1497
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options);
1498
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1499
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
977
1500
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
978
1501
  });
979
1502
  },
@@ -1028,6 +1551,24 @@ const ToolboxApiFp = function (configuration) {
1028
1551
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1029
1552
  });
1030
1553
  },
1554
+ /**
1555
+ * Get logs for a specific command in a session
1556
+ * @summary Get command logs
1557
+ * @param {string} workspaceId
1558
+ * @param {string} sessionId
1559
+ * @param {string} commandId
1560
+ * @param {*} [options] Override http request option.
1561
+ * @throws {RequiredError}
1562
+ */
1563
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
1564
+ return __awaiter(this, void 0, void 0, function* () {
1565
+ var _a, _b, _c;
1566
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, options);
1567
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1568
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1569
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1570
+ });
1571
+ },
1031
1572
  /**
1032
1573
  * Add files to git commit
1033
1574
  * @summary Add files
@@ -1198,6 +1739,145 @@ const ToolboxApiFp = function (configuration) {
1198
1739
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1199
1740
  });
1200
1741
  },
1742
+ /**
1743
+ * List all active sessions in the workspace
1744
+ * @summary List sessions
1745
+ * @param {string} workspaceId
1746
+ * @param {*} [options] Override http request option.
1747
+ * @throws {RequiredError}
1748
+ */
1749
+ listSessions(workspaceId, options) {
1750
+ return __awaiter(this, void 0, void 0, function* () {
1751
+ var _a, _b, _c;
1752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listSessions(workspaceId, options);
1753
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1754
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1755
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1756
+ });
1757
+ },
1758
+ /**
1759
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
1760
+ * @summary Get Lsp Completions
1761
+ * @param {string} workspaceId
1762
+ * @param {LspCompletionParams} lspCompletionParams
1763
+ * @param {*} [options] Override http request option.
1764
+ * @throws {RequiredError}
1765
+ */
1766
+ lspCompletions(workspaceId, lspCompletionParams, options) {
1767
+ return __awaiter(this, void 0, void 0, function* () {
1768
+ var _a, _b, _c;
1769
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, options);
1770
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1771
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1772
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1773
+ });
1774
+ },
1775
+ /**
1776
+ * The document close notification is sent from the client to the server when the document got closed in the client.
1777
+ * @summary Call Lsp DidClose
1778
+ * @param {string} workspaceId
1779
+ * @param {LspDocumentRequest} lspDocumentRequest
1780
+ * @param {*} [options] Override http request option.
1781
+ * @throws {RequiredError}
1782
+ */
1783
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
1784
+ return __awaiter(this, void 0, void 0, function* () {
1785
+ var _a, _b, _c;
1786
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, options);
1787
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1788
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1789
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1790
+ });
1791
+ },
1792
+ /**
1793
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
1794
+ * @summary Call Lsp DidOpen
1795
+ * @param {string} workspaceId
1796
+ * @param {LspDocumentRequest} lspDocumentRequest
1797
+ * @param {*} [options] Override http request option.
1798
+ * @throws {RequiredError}
1799
+ */
1800
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
1801
+ return __awaiter(this, void 0, void 0, function* () {
1802
+ var _a, _b, _c;
1803
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, options);
1804
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1805
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1806
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1807
+ });
1808
+ },
1809
+ /**
1810
+ * The document symbol request is sent from the client to the server.
1811
+ * @summary Call Lsp DocumentSymbols
1812
+ * @param {string} workspaceId
1813
+ * @param {string} languageId
1814
+ * @param {string} pathToProject
1815
+ * @param {string} uri
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
1820
+ return __awaiter(this, void 0, void 0, function* () {
1821
+ var _a, _b, _c;
1822
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options);
1823
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1824
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1825
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1826
+ });
1827
+ },
1828
+ /**
1829
+ * Start Lsp server process inside workspace project
1830
+ * @summary Start Lsp server
1831
+ * @param {string} workspaceId
1832
+ * @param {LspServerRequest} lspServerRequest
1833
+ * @param {*} [options] Override http request option.
1834
+ * @throws {RequiredError}
1835
+ */
1836
+ lspStart(workspaceId, lspServerRequest, options) {
1837
+ return __awaiter(this, void 0, void 0, function* () {
1838
+ var _a, _b, _c;
1839
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, options);
1840
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1841
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1842
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1843
+ });
1844
+ },
1845
+ /**
1846
+ * Stop Lsp server process inside workspace project
1847
+ * @summary Stop Lsp server
1848
+ * @param {string} workspaceId
1849
+ * @param {LspServerRequest} lspServerRequest
1850
+ * @param {*} [options] Override http request option.
1851
+ * @throws {RequiredError}
1852
+ */
1853
+ lspStop(workspaceId, lspServerRequest, options) {
1854
+ return __awaiter(this, void 0, void 0, function* () {
1855
+ var _a, _b, _c;
1856
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, options);
1857
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1858
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1859
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1860
+ });
1861
+ },
1862
+ /**
1863
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1864
+ * @summary Call Lsp WorkspaceSymbols
1865
+ * @param {string} workspaceId
1866
+ * @param {string} languageId
1867
+ * @param {string} pathToProject
1868
+ * @param {string} query
1869
+ * @param {*} [options] Override http request option.
1870
+ * @throws {RequiredError}
1871
+ */
1872
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
1873
+ return __awaiter(this, void 0, void 0, function* () {
1874
+ var _a, _b, _c;
1875
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options);
1876
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1877
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1878
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1879
+ });
1880
+ },
1201
1881
  /**
1202
1882
  * Move file inside workspace
1203
1883
  * @summary Move file
@@ -1311,6 +1991,17 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1311
1991
  createFolder(workspaceId, path, mode, options) {
1312
1992
  return localVarFp.createFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1313
1993
  },
1994
+ /**
1995
+ * Create a new session in the workspace
1996
+ * @summary Create session
1997
+ * @param {string} workspaceId
1998
+ * @param {CreateSessionRequest} createSessionRequest
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ */
2002
+ createSession(workspaceId, createSessionRequest, options) {
2003
+ return localVarFp.createSession(workspaceId, createSessionRequest, options).then((request) => request(axios, basePath));
2004
+ },
1314
2005
  /**
1315
2006
  * Delete file inside workspace
1316
2007
  * @summary Delete file
@@ -1322,6 +2013,17 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1322
2013
  deleteFile(workspaceId, path, options) {
1323
2014
  return localVarFp.deleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1324
2015
  },
2016
+ /**
2017
+ * Delete a specific session
2018
+ * @summary Delete session
2019
+ * @param {string} workspaceId
2020
+ * @param {string} sessionId
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ */
2024
+ deleteSession(workspaceId, sessionId, options) {
2025
+ return localVarFp.deleteSession(workspaceId, sessionId, options).then((request) => request(axios, basePath));
2026
+ },
1325
2027
  /**
1326
2028
  * Download file from workspace
1327
2029
  * @summary Download file
@@ -1344,6 +2046,18 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1344
2046
  executeCommand(workspaceId, executeRequest, options) {
1345
2047
  return localVarFp.executeCommand(workspaceId, executeRequest, options).then((request) => request(axios, basePath));
1346
2048
  },
2049
+ /**
2050
+ * Execute a command in a specific session
2051
+ * @summary Execute command in session
2052
+ * @param {string} workspaceId
2053
+ * @param {string} sessionId
2054
+ * @param {SessionExecuteRequest} sessionExecuteRequest
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ */
2058
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
2059
+ return localVarFp.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(axios, basePath));
2060
+ },
1347
2061
  /**
1348
2062
  * Search for text/pattern inside workspace files
1349
2063
  * @summary Search for text/pattern in files
@@ -1377,6 +2091,18 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1377
2091
  getProjectDir(workspaceId, options) {
1378
2092
  return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1379
2093
  },
2094
+ /**
2095
+ * Get logs for a specific command in a session
2096
+ * @summary Get command logs
2097
+ * @param {string} workspaceId
2098
+ * @param {string} sessionId
2099
+ * @param {string} commandId
2100
+ * @param {*} [options] Override http request option.
2101
+ * @throws {RequiredError}
2102
+ */
2103
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
2104
+ return localVarFp.getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(axios, basePath));
2105
+ },
1380
2106
  /**
1381
2107
  * Add files to git commit
1382
2108
  * @summary Add files
@@ -1487,6 +2213,97 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
1487
2213
  listFiles(workspaceId, path, options) {
1488
2214
  return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1489
2215
  },
2216
+ /**
2217
+ * List all active sessions in the workspace
2218
+ * @summary List sessions
2219
+ * @param {string} workspaceId
2220
+ * @param {*} [options] Override http request option.
2221
+ * @throws {RequiredError}
2222
+ */
2223
+ listSessions(workspaceId, options) {
2224
+ return localVarFp.listSessions(workspaceId, options).then((request) => request(axios, basePath));
2225
+ },
2226
+ /**
2227
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
2228
+ * @summary Get Lsp Completions
2229
+ * @param {string} workspaceId
2230
+ * @param {LspCompletionParams} lspCompletionParams
2231
+ * @param {*} [options] Override http request option.
2232
+ * @throws {RequiredError}
2233
+ */
2234
+ lspCompletions(workspaceId, lspCompletionParams, options) {
2235
+ return localVarFp.lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(axios, basePath));
2236
+ },
2237
+ /**
2238
+ * The document close notification is sent from the client to the server when the document got closed in the client.
2239
+ * @summary Call Lsp DidClose
2240
+ * @param {string} workspaceId
2241
+ * @param {LspDocumentRequest} lspDocumentRequest
2242
+ * @param {*} [options] Override http request option.
2243
+ * @throws {RequiredError}
2244
+ */
2245
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
2246
+ return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
2247
+ },
2248
+ /**
2249
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
2250
+ * @summary Call Lsp DidOpen
2251
+ * @param {string} workspaceId
2252
+ * @param {LspDocumentRequest} lspDocumentRequest
2253
+ * @param {*} [options] Override http request option.
2254
+ * @throws {RequiredError}
2255
+ */
2256
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
2257
+ return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
2258
+ },
2259
+ /**
2260
+ * The document symbol request is sent from the client to the server.
2261
+ * @summary Call Lsp DocumentSymbols
2262
+ * @param {string} workspaceId
2263
+ * @param {string} languageId
2264
+ * @param {string} pathToProject
2265
+ * @param {string} uri
2266
+ * @param {*} [options] Override http request option.
2267
+ * @throws {RequiredError}
2268
+ */
2269
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
2270
+ return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(axios, basePath));
2271
+ },
2272
+ /**
2273
+ * Start Lsp server process inside workspace project
2274
+ * @summary Start Lsp server
2275
+ * @param {string} workspaceId
2276
+ * @param {LspServerRequest} lspServerRequest
2277
+ * @param {*} [options] Override http request option.
2278
+ * @throws {RequiredError}
2279
+ */
2280
+ lspStart(workspaceId, lspServerRequest, options) {
2281
+ return localVarFp.lspStart(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
2282
+ },
2283
+ /**
2284
+ * Stop Lsp server process inside workspace project
2285
+ * @summary Stop Lsp server
2286
+ * @param {string} workspaceId
2287
+ * @param {LspServerRequest} lspServerRequest
2288
+ * @param {*} [options] Override http request option.
2289
+ * @throws {RequiredError}
2290
+ */
2291
+ lspStop(workspaceId, lspServerRequest, options) {
2292
+ return localVarFp.lspStop(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
2293
+ },
2294
+ /**
2295
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
2296
+ * @summary Call Lsp WorkspaceSymbols
2297
+ * @param {string} workspaceId
2298
+ * @param {string} languageId
2299
+ * @param {string} pathToProject
2300
+ * @param {string} query
2301
+ * @param {*} [options] Override http request option.
2302
+ * @throws {RequiredError}
2303
+ */
2304
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
2305
+ return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(axios, basePath));
2306
+ },
1490
2307
  /**
1491
2308
  * Move file inside workspace
1492
2309
  * @summary Move file
@@ -1571,6 +2388,18 @@ class ToolboxApi extends base_1.BaseAPI {
1571
2388
  createFolder(workspaceId, path, mode, options) {
1572
2389
  return (0, exports.ToolboxApiFp)(this.configuration).createFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1573
2390
  }
2391
+ /**
2392
+ * Create a new session in the workspace
2393
+ * @summary Create session
2394
+ * @param {string} workspaceId
2395
+ * @param {CreateSessionRequest} createSessionRequest
2396
+ * @param {*} [options] Override http request option.
2397
+ * @throws {RequiredError}
2398
+ * @memberof ToolboxApi
2399
+ */
2400
+ createSession(workspaceId, createSessionRequest, options) {
2401
+ return (0, exports.ToolboxApiFp)(this.configuration).createSession(workspaceId, createSessionRequest, options).then((request) => request(this.axios, this.basePath));
2402
+ }
1574
2403
  /**
1575
2404
  * Delete file inside workspace
1576
2405
  * @summary Delete file
@@ -1583,6 +2412,18 @@ class ToolboxApi extends base_1.BaseAPI {
1583
2412
  deleteFile(workspaceId, path, options) {
1584
2413
  return (0, exports.ToolboxApiFp)(this.configuration).deleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1585
2414
  }
2415
+ /**
2416
+ * Delete a specific session
2417
+ * @summary Delete session
2418
+ * @param {string} workspaceId
2419
+ * @param {string} sessionId
2420
+ * @param {*} [options] Override http request option.
2421
+ * @throws {RequiredError}
2422
+ * @memberof ToolboxApi
2423
+ */
2424
+ deleteSession(workspaceId, sessionId, options) {
2425
+ return (0, exports.ToolboxApiFp)(this.configuration).deleteSession(workspaceId, sessionId, options).then((request) => request(this.axios, this.basePath));
2426
+ }
1586
2427
  /**
1587
2428
  * Download file from workspace
1588
2429
  * @summary Download file
@@ -1607,6 +2448,19 @@ class ToolboxApi extends base_1.BaseAPI {
1607
2448
  executeCommand(workspaceId, executeRequest, options) {
1608
2449
  return (0, exports.ToolboxApiFp)(this.configuration).executeCommand(workspaceId, executeRequest, options).then((request) => request(this.axios, this.basePath));
1609
2450
  }
2451
+ /**
2452
+ * Execute a command in a specific session
2453
+ * @summary Execute command in session
2454
+ * @param {string} workspaceId
2455
+ * @param {string} sessionId
2456
+ * @param {SessionExecuteRequest} sessionExecuteRequest
2457
+ * @param {*} [options] Override http request option.
2458
+ * @throws {RequiredError}
2459
+ * @memberof ToolboxApi
2460
+ */
2461
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
2462
+ return (0, exports.ToolboxApiFp)(this.configuration).executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(this.axios, this.basePath));
2463
+ }
1610
2464
  /**
1611
2465
  * Search for text/pattern inside workspace files
1612
2466
  * @summary Search for text/pattern in files
@@ -1643,6 +2497,19 @@ class ToolboxApi extends base_1.BaseAPI {
1643
2497
  getProjectDir(workspaceId, options) {
1644
2498
  return (0, exports.ToolboxApiFp)(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1645
2499
  }
2500
+ /**
2501
+ * Get logs for a specific command in a session
2502
+ * @summary Get command logs
2503
+ * @param {string} workspaceId
2504
+ * @param {string} sessionId
2505
+ * @param {string} commandId
2506
+ * @param {*} [options] Override http request option.
2507
+ * @throws {RequiredError}
2508
+ * @memberof ToolboxApi
2509
+ */
2510
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
2511
+ return (0, exports.ToolboxApiFp)(this.configuration).getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(this.axios, this.basePath));
2512
+ }
1646
2513
  /**
1647
2514
  * Add files to git commit
1648
2515
  * @summary Add files
@@ -1763,6 +2630,105 @@ class ToolboxApi extends base_1.BaseAPI {
1763
2630
  listFiles(workspaceId, path, options) {
1764
2631
  return (0, exports.ToolboxApiFp)(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1765
2632
  }
2633
+ /**
2634
+ * List all active sessions in the workspace
2635
+ * @summary List sessions
2636
+ * @param {string} workspaceId
2637
+ * @param {*} [options] Override http request option.
2638
+ * @throws {RequiredError}
2639
+ * @memberof ToolboxApi
2640
+ */
2641
+ listSessions(workspaceId, options) {
2642
+ return (0, exports.ToolboxApiFp)(this.configuration).listSessions(workspaceId, options).then((request) => request(this.axios, this.basePath));
2643
+ }
2644
+ /**
2645
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
2646
+ * @summary Get Lsp Completions
2647
+ * @param {string} workspaceId
2648
+ * @param {LspCompletionParams} lspCompletionParams
2649
+ * @param {*} [options] Override http request option.
2650
+ * @throws {RequiredError}
2651
+ * @memberof ToolboxApi
2652
+ */
2653
+ lspCompletions(workspaceId, lspCompletionParams, options) {
2654
+ return (0, exports.ToolboxApiFp)(this.configuration).lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(this.axios, this.basePath));
2655
+ }
2656
+ /**
2657
+ * The document close notification is sent from the client to the server when the document got closed in the client.
2658
+ * @summary Call Lsp DidClose
2659
+ * @param {string} workspaceId
2660
+ * @param {LspDocumentRequest} lspDocumentRequest
2661
+ * @param {*} [options] Override http request option.
2662
+ * @throws {RequiredError}
2663
+ * @memberof ToolboxApi
2664
+ */
2665
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
2666
+ return (0, exports.ToolboxApiFp)(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2667
+ }
2668
+ /**
2669
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
2670
+ * @summary Call Lsp DidOpen
2671
+ * @param {string} workspaceId
2672
+ * @param {LspDocumentRequest} lspDocumentRequest
2673
+ * @param {*} [options] Override http request option.
2674
+ * @throws {RequiredError}
2675
+ * @memberof ToolboxApi
2676
+ */
2677
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
2678
+ return (0, exports.ToolboxApiFp)(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2679
+ }
2680
+ /**
2681
+ * The document symbol request is sent from the client to the server.
2682
+ * @summary Call Lsp DocumentSymbols
2683
+ * @param {string} workspaceId
2684
+ * @param {string} languageId
2685
+ * @param {string} pathToProject
2686
+ * @param {string} uri
2687
+ * @param {*} [options] Override http request option.
2688
+ * @throws {RequiredError}
2689
+ * @memberof ToolboxApi
2690
+ */
2691
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
2692
+ return (0, exports.ToolboxApiFp)(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(this.axios, this.basePath));
2693
+ }
2694
+ /**
2695
+ * Start Lsp server process inside workspace project
2696
+ * @summary Start Lsp server
2697
+ * @param {string} workspaceId
2698
+ * @param {LspServerRequest} lspServerRequest
2699
+ * @param {*} [options] Override http request option.
2700
+ * @throws {RequiredError}
2701
+ * @memberof ToolboxApi
2702
+ */
2703
+ lspStart(workspaceId, lspServerRequest, options) {
2704
+ return (0, exports.ToolboxApiFp)(this.configuration).lspStart(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
2705
+ }
2706
+ /**
2707
+ * Stop Lsp server process inside workspace project
2708
+ * @summary Stop Lsp server
2709
+ * @param {string} workspaceId
2710
+ * @param {LspServerRequest} lspServerRequest
2711
+ * @param {*} [options] Override http request option.
2712
+ * @throws {RequiredError}
2713
+ * @memberof ToolboxApi
2714
+ */
2715
+ lspStop(workspaceId, lspServerRequest, options) {
2716
+ return (0, exports.ToolboxApiFp)(this.configuration).lspStop(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
2717
+ }
2718
+ /**
2719
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
2720
+ * @summary Call Lsp WorkspaceSymbols
2721
+ * @param {string} workspaceId
2722
+ * @param {string} languageId
2723
+ * @param {string} pathToProject
2724
+ * @param {string} query
2725
+ * @param {*} [options] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ * @memberof ToolboxApi
2728
+ */
2729
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
2730
+ return (0, exports.ToolboxApiFp)(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(this.axios, this.basePath));
2731
+ }
1766
2732
  /**
1767
2733
  * Move file inside workspace
1768
2734
  * @summary Move file