@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
@@ -76,6 +76,43 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
76
76
  options: localVarRequestOptions,
77
77
  };
78
78
  }),
79
+ /**
80
+ * Create a new session in the workspace
81
+ * @summary Create session
82
+ * @param {string} workspaceId
83
+ * @param {CreateSessionRequest} createSessionRequest
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ createSession: (workspaceId_1, createSessionRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, createSessionRequest_1, ...args_1], void 0, function* (workspaceId, createSessionRequest, options = {}) {
88
+ // verify required parameter 'workspaceId' is not null or undefined
89
+ assertParamExists('createSession', 'workspaceId', workspaceId);
90
+ // verify required parameter 'createSessionRequest' is not null or undefined
91
+ assertParamExists('createSession', 'createSessionRequest', createSessionRequest);
92
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
93
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
94
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
96
+ let baseOptions;
97
+ if (configuration) {
98
+ baseOptions = configuration.baseOptions;
99
+ }
100
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
101
+ const localVarHeaderParameter = {};
102
+ const localVarQueryParameter = {};
103
+ // authentication oauth2 required
104
+ // oauth required
105
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
106
+ localVarHeaderParameter['Content-Type'] = 'application/json';
107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
110
+ localVarRequestOptions.data = serializeDataIfNeeded(createSessionRequest, localVarRequestOptions, configuration);
111
+ return {
112
+ url: toPathString(localVarUrlObj),
113
+ options: localVarRequestOptions,
114
+ };
115
+ }),
79
116
  /**
80
117
  * Delete file inside workspace
81
118
  * @summary Delete file
@@ -114,6 +151,42 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
114
151
  options: localVarRequestOptions,
115
152
  };
116
153
  }),
154
+ /**
155
+ * Delete a specific session
156
+ * @summary Delete session
157
+ * @param {string} workspaceId
158
+ * @param {string} sessionId
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ deleteSession: (workspaceId_1, sessionId_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, ...args_1], void 0, function* (workspaceId, sessionId, options = {}) {
163
+ // verify required parameter 'workspaceId' is not null or undefined
164
+ assertParamExists('deleteSession', 'workspaceId', workspaceId);
165
+ // verify required parameter 'sessionId' is not null or undefined
166
+ assertParamExists('deleteSession', 'sessionId', sessionId);
167
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
168
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
169
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
170
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
171
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
172
+ let baseOptions;
173
+ if (configuration) {
174
+ baseOptions = configuration.baseOptions;
175
+ }
176
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
177
+ const localVarHeaderParameter = {};
178
+ const localVarQueryParameter = {};
179
+ // authentication oauth2 required
180
+ // oauth required
181
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
182
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
183
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
185
+ return {
186
+ url: toPathString(localVarUrlObj),
187
+ options: localVarRequestOptions,
188
+ };
189
+ }),
117
190
  /**
118
191
  * Download file from workspace
119
192
  * @summary Download file
@@ -189,6 +262,47 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
189
262
  options: localVarRequestOptions,
190
263
  };
191
264
  }),
265
+ /**
266
+ * Execute a command in a specific session
267
+ * @summary Execute command in session
268
+ * @param {string} workspaceId
269
+ * @param {string} sessionId
270
+ * @param {SessionExecuteRequest} sessionExecuteRequest
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ 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 = {}) {
275
+ // verify required parameter 'workspaceId' is not null or undefined
276
+ assertParamExists('executeSessionCommand', 'workspaceId', workspaceId);
277
+ // verify required parameter 'sessionId' is not null or undefined
278
+ assertParamExists('executeSessionCommand', 'sessionId', sessionId);
279
+ // verify required parameter 'sessionExecuteRequest' is not null or undefined
280
+ assertParamExists('executeSessionCommand', 'sessionExecuteRequest', sessionExecuteRequest);
281
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/exec`
282
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
283
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
284
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
285
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
286
+ let baseOptions;
287
+ if (configuration) {
288
+ baseOptions = configuration.baseOptions;
289
+ }
290
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
291
+ const localVarHeaderParameter = {};
292
+ const localVarQueryParameter = {};
293
+ // authentication oauth2 required
294
+ // oauth required
295
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
296
+ localVarHeaderParameter['Content-Type'] = 'application/json';
297
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
300
+ localVarRequestOptions.data = serializeDataIfNeeded(sessionExecuteRequest, localVarRequestOptions, configuration);
301
+ return {
302
+ url: toPathString(localVarUrlObj),
303
+ options: localVarRequestOptions,
304
+ };
305
+ }),
192
306
  /**
193
307
  * Search for text/pattern inside workspace files
194
308
  * @summary Search for text/pattern in files
@@ -303,6 +417,46 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
303
417
  options: localVarRequestOptions,
304
418
  };
305
419
  }),
420
+ /**
421
+ * Get logs for a specific command in a session
422
+ * @summary Get command logs
423
+ * @param {string} workspaceId
424
+ * @param {string} sessionId
425
+ * @param {string} commandId
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ 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 = {}) {
430
+ // verify required parameter 'workspaceId' is not null or undefined
431
+ assertParamExists('getSessionCommandLogs', 'workspaceId', workspaceId);
432
+ // verify required parameter 'sessionId' is not null or undefined
433
+ assertParamExists('getSessionCommandLogs', 'sessionId', sessionId);
434
+ // verify required parameter 'commandId' is not null or undefined
435
+ assertParamExists('getSessionCommandLogs', 'commandId', commandId);
436
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}/logs`
437
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
438
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
439
+ .replace(`{${"commandId"}}`, encodeURIComponent(String(commandId)));
440
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
441
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
442
+ let baseOptions;
443
+ if (configuration) {
444
+ baseOptions = configuration.baseOptions;
445
+ }
446
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
447
+ const localVarHeaderParameter = {};
448
+ const localVarQueryParameter = {};
449
+ // authentication oauth2 required
450
+ // oauth required
451
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
452
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
453
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
454
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
455
+ return {
456
+ url: toPathString(localVarUrlObj),
457
+ options: localVarRequestOptions,
458
+ };
459
+ }),
306
460
  /**
307
461
  * Add files to git commit
308
462
  * @summary Add files
@@ -675,6 +829,323 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
675
829
  options: localVarRequestOptions,
676
830
  };
677
831
  }),
832
+ /**
833
+ * List all active sessions in the workspace
834
+ * @summary List sessions
835
+ * @param {string} workspaceId
836
+ * @param {*} [options] Override http request option.
837
+ * @throws {RequiredError}
838
+ */
839
+ listSessions: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
840
+ // verify required parameter 'workspaceId' is not null or undefined
841
+ assertParamExists('listSessions', 'workspaceId', workspaceId);
842
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
843
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
844
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
845
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
846
+ let baseOptions;
847
+ if (configuration) {
848
+ baseOptions = configuration.baseOptions;
849
+ }
850
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
851
+ const localVarHeaderParameter = {};
852
+ const localVarQueryParameter = {};
853
+ // authentication oauth2 required
854
+ // oauth required
855
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
856
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
857
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
858
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
859
+ return {
860
+ url: toPathString(localVarUrlObj),
861
+ options: localVarRequestOptions,
862
+ };
863
+ }),
864
+ /**
865
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
866
+ * @summary Get Lsp Completions
867
+ * @param {string} workspaceId
868
+ * @param {LspCompletionParams} lspCompletionParams
869
+ * @param {*} [options] Override http request option.
870
+ * @throws {RequiredError}
871
+ */
872
+ lspCompletions: (workspaceId_1, lspCompletionParams_1, ...args_1) => __awaiter(this, [workspaceId_1, lspCompletionParams_1, ...args_1], void 0, function* (workspaceId, lspCompletionParams, options = {}) {
873
+ // verify required parameter 'workspaceId' is not null or undefined
874
+ assertParamExists('lspCompletions', 'workspaceId', workspaceId);
875
+ // verify required parameter 'lspCompletionParams' is not null or undefined
876
+ assertParamExists('lspCompletions', 'lspCompletionParams', lspCompletionParams);
877
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`
878
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
880
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
881
+ let baseOptions;
882
+ if (configuration) {
883
+ baseOptions = configuration.baseOptions;
884
+ }
885
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
886
+ const localVarHeaderParameter = {};
887
+ const localVarQueryParameter = {};
888
+ // authentication oauth2 required
889
+ // oauth required
890
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
891
+ localVarHeaderParameter['Content-Type'] = 'application/json';
892
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
893
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
894
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
895
+ localVarRequestOptions.data = serializeDataIfNeeded(lspCompletionParams, localVarRequestOptions, configuration);
896
+ return {
897
+ url: toPathString(localVarUrlObj),
898
+ options: localVarRequestOptions,
899
+ };
900
+ }),
901
+ /**
902
+ * The document close notification is sent from the client to the server when the document got closed in the client.
903
+ * @summary Call Lsp DidClose
904
+ * @param {string} workspaceId
905
+ * @param {LspDocumentRequest} lspDocumentRequest
906
+ * @param {*} [options] Override http request option.
907
+ * @throws {RequiredError}
908
+ */
909
+ lspDidClose: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
910
+ // verify required parameter 'workspaceId' is not null or undefined
911
+ assertParamExists('lspDidClose', 'workspaceId', workspaceId);
912
+ // verify required parameter 'lspDocumentRequest' is not null or undefined
913
+ assertParamExists('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
914
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`
915
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
916
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
917
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
918
+ let baseOptions;
919
+ if (configuration) {
920
+ baseOptions = configuration.baseOptions;
921
+ }
922
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
923
+ const localVarHeaderParameter = {};
924
+ const localVarQueryParameter = {};
925
+ // authentication oauth2 required
926
+ // oauth required
927
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
928
+ localVarHeaderParameter['Content-Type'] = 'application/json';
929
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
930
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
931
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
932
+ localVarRequestOptions.data = serializeDataIfNeeded(lspDocumentRequest, localVarRequestOptions, configuration);
933
+ return {
934
+ url: toPathString(localVarUrlObj),
935
+ options: localVarRequestOptions,
936
+ };
937
+ }),
938
+ /**
939
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
940
+ * @summary Call Lsp DidOpen
941
+ * @param {string} workspaceId
942
+ * @param {LspDocumentRequest} lspDocumentRequest
943
+ * @param {*} [options] Override http request option.
944
+ * @throws {RequiredError}
945
+ */
946
+ lspDidOpen: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
947
+ // verify required parameter 'workspaceId' is not null or undefined
948
+ assertParamExists('lspDidOpen', 'workspaceId', workspaceId);
949
+ // verify required parameter 'lspDocumentRequest' is not null or undefined
950
+ assertParamExists('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
951
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`
952
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
953
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
954
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
955
+ let baseOptions;
956
+ if (configuration) {
957
+ baseOptions = configuration.baseOptions;
958
+ }
959
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
960
+ const localVarHeaderParameter = {};
961
+ const localVarQueryParameter = {};
962
+ // authentication oauth2 required
963
+ // oauth required
964
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
965
+ localVarHeaderParameter['Content-Type'] = 'application/json';
966
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
967
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
968
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
969
+ localVarRequestOptions.data = serializeDataIfNeeded(lspDocumentRequest, localVarRequestOptions, configuration);
970
+ return {
971
+ url: toPathString(localVarUrlObj),
972
+ options: localVarRequestOptions,
973
+ };
974
+ }),
975
+ /**
976
+ * The document symbol request is sent from the client to the server.
977
+ * @summary Call Lsp DocumentSymbols
978
+ * @param {string} workspaceId
979
+ * @param {string} languageId
980
+ * @param {string} pathToProject
981
+ * @param {string} uri
982
+ * @param {*} [options] Override http request option.
983
+ * @throws {RequiredError}
984
+ */
985
+ 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 = {}) {
986
+ // verify required parameter 'workspaceId' is not null or undefined
987
+ assertParamExists('lspDocumentSymbols', 'workspaceId', workspaceId);
988
+ // verify required parameter 'languageId' is not null or undefined
989
+ assertParamExists('lspDocumentSymbols', 'languageId', languageId);
990
+ // verify required parameter 'pathToProject' is not null or undefined
991
+ assertParamExists('lspDocumentSymbols', 'pathToProject', pathToProject);
992
+ // verify required parameter 'uri' is not null or undefined
993
+ assertParamExists('lspDocumentSymbols', 'uri', uri);
994
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`
995
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
996
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
997
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
998
+ let baseOptions;
999
+ if (configuration) {
1000
+ baseOptions = configuration.baseOptions;
1001
+ }
1002
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1003
+ const localVarHeaderParameter = {};
1004
+ const localVarQueryParameter = {};
1005
+ // authentication oauth2 required
1006
+ // oauth required
1007
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1008
+ if (languageId !== undefined) {
1009
+ localVarQueryParameter['languageId'] = languageId;
1010
+ }
1011
+ if (pathToProject !== undefined) {
1012
+ localVarQueryParameter['pathToProject'] = pathToProject;
1013
+ }
1014
+ if (uri !== undefined) {
1015
+ localVarQueryParameter['uri'] = uri;
1016
+ }
1017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1019
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1020
+ return {
1021
+ url: toPathString(localVarUrlObj),
1022
+ options: localVarRequestOptions,
1023
+ };
1024
+ }),
1025
+ /**
1026
+ * Start Lsp server process inside workspace project
1027
+ * @summary Start Lsp server
1028
+ * @param {string} workspaceId
1029
+ * @param {LspServerRequest} lspServerRequest
1030
+ * @param {*} [options] Override http request option.
1031
+ * @throws {RequiredError}
1032
+ */
1033
+ lspStart: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
1034
+ // verify required parameter 'workspaceId' is not null or undefined
1035
+ assertParamExists('lspStart', 'workspaceId', workspaceId);
1036
+ // verify required parameter 'lspServerRequest' is not null or undefined
1037
+ assertParamExists('lspStart', 'lspServerRequest', lspServerRequest);
1038
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`
1039
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1040
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1041
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1042
+ let baseOptions;
1043
+ if (configuration) {
1044
+ baseOptions = configuration.baseOptions;
1045
+ }
1046
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1047
+ const localVarHeaderParameter = {};
1048
+ const localVarQueryParameter = {};
1049
+ // authentication oauth2 required
1050
+ // oauth required
1051
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1052
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1053
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1054
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1055
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1056
+ localVarRequestOptions.data = serializeDataIfNeeded(lspServerRequest, localVarRequestOptions, configuration);
1057
+ return {
1058
+ url: toPathString(localVarUrlObj),
1059
+ options: localVarRequestOptions,
1060
+ };
1061
+ }),
1062
+ /**
1063
+ * Stop Lsp server process inside workspace project
1064
+ * @summary Stop Lsp server
1065
+ * @param {string} workspaceId
1066
+ * @param {LspServerRequest} lspServerRequest
1067
+ * @param {*} [options] Override http request option.
1068
+ * @throws {RequiredError}
1069
+ */
1070
+ lspStop: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
1071
+ // verify required parameter 'workspaceId' is not null or undefined
1072
+ assertParamExists('lspStop', 'workspaceId', workspaceId);
1073
+ // verify required parameter 'lspServerRequest' is not null or undefined
1074
+ assertParamExists('lspStop', 'lspServerRequest', lspServerRequest);
1075
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`
1076
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1077
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1078
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1079
+ let baseOptions;
1080
+ if (configuration) {
1081
+ baseOptions = configuration.baseOptions;
1082
+ }
1083
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1084
+ const localVarHeaderParameter = {};
1085
+ const localVarQueryParameter = {};
1086
+ // authentication oauth2 required
1087
+ // oauth required
1088
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1089
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1090
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1091
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1092
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1093
+ localVarRequestOptions.data = serializeDataIfNeeded(lspServerRequest, localVarRequestOptions, configuration);
1094
+ return {
1095
+ url: toPathString(localVarUrlObj),
1096
+ options: localVarRequestOptions,
1097
+ };
1098
+ }),
1099
+ /**
1100
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1101
+ * @summary Call Lsp WorkspaceSymbols
1102
+ * @param {string} workspaceId
1103
+ * @param {string} languageId
1104
+ * @param {string} pathToProject
1105
+ * @param {string} query
1106
+ * @param {*} [options] Override http request option.
1107
+ * @throws {RequiredError}
1108
+ */
1109
+ 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 = {}) {
1110
+ // verify required parameter 'workspaceId' is not null or undefined
1111
+ assertParamExists('lspWorkspaceSymbols', 'workspaceId', workspaceId);
1112
+ // verify required parameter 'languageId' is not null or undefined
1113
+ assertParamExists('lspWorkspaceSymbols', 'languageId', languageId);
1114
+ // verify required parameter 'pathToProject' is not null or undefined
1115
+ assertParamExists('lspWorkspaceSymbols', 'pathToProject', pathToProject);
1116
+ // verify required parameter 'query' is not null or undefined
1117
+ assertParamExists('lspWorkspaceSymbols', 'query', query);
1118
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`
1119
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1121
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1122
+ let baseOptions;
1123
+ if (configuration) {
1124
+ baseOptions = configuration.baseOptions;
1125
+ }
1126
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1127
+ const localVarHeaderParameter = {};
1128
+ const localVarQueryParameter = {};
1129
+ // authentication oauth2 required
1130
+ // oauth required
1131
+ yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1132
+ if (languageId !== undefined) {
1133
+ localVarQueryParameter['languageId'] = languageId;
1134
+ }
1135
+ if (pathToProject !== undefined) {
1136
+ localVarQueryParameter['pathToProject'] = pathToProject;
1137
+ }
1138
+ if (query !== undefined) {
1139
+ localVarQueryParameter['query'] = query;
1140
+ }
1141
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1143
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1144
+ return {
1145
+ url: toPathString(localVarUrlObj),
1146
+ options: localVarRequestOptions,
1147
+ };
1148
+ }),
678
1149
  /**
679
1150
  * Move file inside workspace
680
1151
  * @summary Move file
@@ -922,6 +1393,23 @@ export const ToolboxApiFp = function (configuration) {
922
1393
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
923
1394
  });
924
1395
  },
1396
+ /**
1397
+ * Create a new session in the workspace
1398
+ * @summary Create session
1399
+ * @param {string} workspaceId
1400
+ * @param {CreateSessionRequest} createSessionRequest
1401
+ * @param {*} [options] Override http request option.
1402
+ * @throws {RequiredError}
1403
+ */
1404
+ createSession(workspaceId, createSessionRequest, options) {
1405
+ return __awaiter(this, void 0, void 0, function* () {
1406
+ var _a, _b, _c;
1407
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, options);
1408
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1409
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1411
+ });
1412
+ },
925
1413
  /**
926
1414
  * Delete file inside workspace
927
1415
  * @summary Delete file
@@ -939,6 +1427,23 @@ export const ToolboxApiFp = function (configuration) {
939
1427
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
940
1428
  });
941
1429
  },
1430
+ /**
1431
+ * Delete a specific session
1432
+ * @summary Delete session
1433
+ * @param {string} workspaceId
1434
+ * @param {string} sessionId
1435
+ * @param {*} [options] Override http request option.
1436
+ * @throws {RequiredError}
1437
+ */
1438
+ deleteSession(workspaceId, sessionId, options) {
1439
+ return __awaiter(this, void 0, void 0, function* () {
1440
+ var _a, _b, _c;
1441
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, options);
1442
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1443
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1444
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1445
+ });
1446
+ },
942
1447
  /**
943
1448
  * Download file from workspace
944
1449
  * @summary Download file
@@ -969,7 +1474,25 @@ export const ToolboxApiFp = function (configuration) {
969
1474
  var _a, _b, _c;
970
1475
  const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, options);
971
1476
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
972
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1477
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1478
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1479
+ });
1480
+ },
1481
+ /**
1482
+ * Execute a command in a specific session
1483
+ * @summary Execute command in session
1484
+ * @param {string} workspaceId
1485
+ * @param {string} sessionId
1486
+ * @param {SessionExecuteRequest} sessionExecuteRequest
1487
+ * @param {*} [options] Override http request option.
1488
+ * @throws {RequiredError}
1489
+ */
1490
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
1491
+ return __awaiter(this, void 0, void 0, function* () {
1492
+ var _a, _b, _c;
1493
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options);
1494
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1495
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
973
1496
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
974
1497
  });
975
1498
  },
@@ -1024,6 +1547,24 @@ export const ToolboxApiFp = function (configuration) {
1024
1547
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1025
1548
  });
1026
1549
  },
1550
+ /**
1551
+ * Get logs for a specific command in a session
1552
+ * @summary Get command logs
1553
+ * @param {string} workspaceId
1554
+ * @param {string} sessionId
1555
+ * @param {string} commandId
1556
+ * @param {*} [options] Override http request option.
1557
+ * @throws {RequiredError}
1558
+ */
1559
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
1560
+ return __awaiter(this, void 0, void 0, function* () {
1561
+ var _a, _b, _c;
1562
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, options);
1563
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1564
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1566
+ });
1567
+ },
1027
1568
  /**
1028
1569
  * Add files to git commit
1029
1570
  * @summary Add files
@@ -1194,6 +1735,145 @@ export const ToolboxApiFp = function (configuration) {
1194
1735
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1195
1736
  });
1196
1737
  },
1738
+ /**
1739
+ * List all active sessions in the workspace
1740
+ * @summary List sessions
1741
+ * @param {string} workspaceId
1742
+ * @param {*} [options] Override http request option.
1743
+ * @throws {RequiredError}
1744
+ */
1745
+ listSessions(workspaceId, options) {
1746
+ return __awaiter(this, void 0, void 0, function* () {
1747
+ var _a, _b, _c;
1748
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listSessions(workspaceId, options);
1749
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1750
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1751
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1752
+ });
1753
+ },
1754
+ /**
1755
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
1756
+ * @summary Get Lsp Completions
1757
+ * @param {string} workspaceId
1758
+ * @param {LspCompletionParams} lspCompletionParams
1759
+ * @param {*} [options] Override http request option.
1760
+ * @throws {RequiredError}
1761
+ */
1762
+ lspCompletions(workspaceId, lspCompletionParams, options) {
1763
+ return __awaiter(this, void 0, void 0, function* () {
1764
+ var _a, _b, _c;
1765
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, options);
1766
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1767
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1768
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1769
+ });
1770
+ },
1771
+ /**
1772
+ * The document close notification is sent from the client to the server when the document got closed in the client.
1773
+ * @summary Call Lsp DidClose
1774
+ * @param {string} workspaceId
1775
+ * @param {LspDocumentRequest} lspDocumentRequest
1776
+ * @param {*} [options] Override http request option.
1777
+ * @throws {RequiredError}
1778
+ */
1779
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
1780
+ return __awaiter(this, void 0, void 0, function* () {
1781
+ var _a, _b, _c;
1782
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, options);
1783
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1784
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1785
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1786
+ });
1787
+ },
1788
+ /**
1789
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
1790
+ * @summary Call Lsp DidOpen
1791
+ * @param {string} workspaceId
1792
+ * @param {LspDocumentRequest} lspDocumentRequest
1793
+ * @param {*} [options] Override http request option.
1794
+ * @throws {RequiredError}
1795
+ */
1796
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
1797
+ return __awaiter(this, void 0, void 0, function* () {
1798
+ var _a, _b, _c;
1799
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, options);
1800
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1801
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1802
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1803
+ });
1804
+ },
1805
+ /**
1806
+ * The document symbol request is sent from the client to the server.
1807
+ * @summary Call Lsp DocumentSymbols
1808
+ * @param {string} workspaceId
1809
+ * @param {string} languageId
1810
+ * @param {string} pathToProject
1811
+ * @param {string} uri
1812
+ * @param {*} [options] Override http request option.
1813
+ * @throws {RequiredError}
1814
+ */
1815
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
1816
+ return __awaiter(this, void 0, void 0, function* () {
1817
+ var _a, _b, _c;
1818
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options);
1819
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1820
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1821
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1822
+ });
1823
+ },
1824
+ /**
1825
+ * Start Lsp server process inside workspace project
1826
+ * @summary Start Lsp server
1827
+ * @param {string} workspaceId
1828
+ * @param {LspServerRequest} lspServerRequest
1829
+ * @param {*} [options] Override http request option.
1830
+ * @throws {RequiredError}
1831
+ */
1832
+ lspStart(workspaceId, lspServerRequest, options) {
1833
+ return __awaiter(this, void 0, void 0, function* () {
1834
+ var _a, _b, _c;
1835
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, options);
1836
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1837
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1838
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1839
+ });
1840
+ },
1841
+ /**
1842
+ * Stop Lsp server process inside workspace project
1843
+ * @summary Stop Lsp server
1844
+ * @param {string} workspaceId
1845
+ * @param {LspServerRequest} lspServerRequest
1846
+ * @param {*} [options] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ lspStop(workspaceId, lspServerRequest, options) {
1850
+ return __awaiter(this, void 0, void 0, function* () {
1851
+ var _a, _b, _c;
1852
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, options);
1853
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1854
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1855
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1856
+ });
1857
+ },
1858
+ /**
1859
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1860
+ * @summary Call Lsp WorkspaceSymbols
1861
+ * @param {string} workspaceId
1862
+ * @param {string} languageId
1863
+ * @param {string} pathToProject
1864
+ * @param {string} query
1865
+ * @param {*} [options] Override http request option.
1866
+ * @throws {RequiredError}
1867
+ */
1868
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
1869
+ return __awaiter(this, void 0, void 0, function* () {
1870
+ var _a, _b, _c;
1871
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options);
1872
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1873
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1874
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1875
+ });
1876
+ },
1197
1877
  /**
1198
1878
  * Move file inside workspace
1199
1879
  * @summary Move file
@@ -1306,6 +1986,17 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1306
1986
  createFolder(workspaceId, path, mode, options) {
1307
1987
  return localVarFp.createFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
1308
1988
  },
1989
+ /**
1990
+ * Create a new session in the workspace
1991
+ * @summary Create session
1992
+ * @param {string} workspaceId
1993
+ * @param {CreateSessionRequest} createSessionRequest
1994
+ * @param {*} [options] Override http request option.
1995
+ * @throws {RequiredError}
1996
+ */
1997
+ createSession(workspaceId, createSessionRequest, options) {
1998
+ return localVarFp.createSession(workspaceId, createSessionRequest, options).then((request) => request(axios, basePath));
1999
+ },
1309
2000
  /**
1310
2001
  * Delete file inside workspace
1311
2002
  * @summary Delete file
@@ -1317,6 +2008,17 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1317
2008
  deleteFile(workspaceId, path, options) {
1318
2009
  return localVarFp.deleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
1319
2010
  },
2011
+ /**
2012
+ * Delete a specific session
2013
+ * @summary Delete session
2014
+ * @param {string} workspaceId
2015
+ * @param {string} sessionId
2016
+ * @param {*} [options] Override http request option.
2017
+ * @throws {RequiredError}
2018
+ */
2019
+ deleteSession(workspaceId, sessionId, options) {
2020
+ return localVarFp.deleteSession(workspaceId, sessionId, options).then((request) => request(axios, basePath));
2021
+ },
1320
2022
  /**
1321
2023
  * Download file from workspace
1322
2024
  * @summary Download file
@@ -1339,6 +2041,18 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1339
2041
  executeCommand(workspaceId, executeRequest, options) {
1340
2042
  return localVarFp.executeCommand(workspaceId, executeRequest, options).then((request) => request(axios, basePath));
1341
2043
  },
2044
+ /**
2045
+ * Execute a command in a specific session
2046
+ * @summary Execute command in session
2047
+ * @param {string} workspaceId
2048
+ * @param {string} sessionId
2049
+ * @param {SessionExecuteRequest} sessionExecuteRequest
2050
+ * @param {*} [options] Override http request option.
2051
+ * @throws {RequiredError}
2052
+ */
2053
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
2054
+ return localVarFp.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(axios, basePath));
2055
+ },
1342
2056
  /**
1343
2057
  * Search for text/pattern inside workspace files
1344
2058
  * @summary Search for text/pattern in files
@@ -1372,6 +2086,18 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1372
2086
  getProjectDir(workspaceId, options) {
1373
2087
  return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
1374
2088
  },
2089
+ /**
2090
+ * Get logs for a specific command in a session
2091
+ * @summary Get command logs
2092
+ * @param {string} workspaceId
2093
+ * @param {string} sessionId
2094
+ * @param {string} commandId
2095
+ * @param {*} [options] Override http request option.
2096
+ * @throws {RequiredError}
2097
+ */
2098
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
2099
+ return localVarFp.getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(axios, basePath));
2100
+ },
1375
2101
  /**
1376
2102
  * Add files to git commit
1377
2103
  * @summary Add files
@@ -1482,6 +2208,97 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
1482
2208
  listFiles(workspaceId, path, options) {
1483
2209
  return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
1484
2210
  },
2211
+ /**
2212
+ * List all active sessions in the workspace
2213
+ * @summary List sessions
2214
+ * @param {string} workspaceId
2215
+ * @param {*} [options] Override http request option.
2216
+ * @throws {RequiredError}
2217
+ */
2218
+ listSessions(workspaceId, options) {
2219
+ return localVarFp.listSessions(workspaceId, options).then((request) => request(axios, basePath));
2220
+ },
2221
+ /**
2222
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
2223
+ * @summary Get Lsp Completions
2224
+ * @param {string} workspaceId
2225
+ * @param {LspCompletionParams} lspCompletionParams
2226
+ * @param {*} [options] Override http request option.
2227
+ * @throws {RequiredError}
2228
+ */
2229
+ lspCompletions(workspaceId, lspCompletionParams, options) {
2230
+ return localVarFp.lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(axios, basePath));
2231
+ },
2232
+ /**
2233
+ * The document close notification is sent from the client to the server when the document got closed in the client.
2234
+ * @summary Call Lsp DidClose
2235
+ * @param {string} workspaceId
2236
+ * @param {LspDocumentRequest} lspDocumentRequest
2237
+ * @param {*} [options] Override http request option.
2238
+ * @throws {RequiredError}
2239
+ */
2240
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
2241
+ return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
2242
+ },
2243
+ /**
2244
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
2245
+ * @summary Call Lsp DidOpen
2246
+ * @param {string} workspaceId
2247
+ * @param {LspDocumentRequest} lspDocumentRequest
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ */
2251
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
2252
+ return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
2253
+ },
2254
+ /**
2255
+ * The document symbol request is sent from the client to the server.
2256
+ * @summary Call Lsp DocumentSymbols
2257
+ * @param {string} workspaceId
2258
+ * @param {string} languageId
2259
+ * @param {string} pathToProject
2260
+ * @param {string} uri
2261
+ * @param {*} [options] Override http request option.
2262
+ * @throws {RequiredError}
2263
+ */
2264
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
2265
+ return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(axios, basePath));
2266
+ },
2267
+ /**
2268
+ * Start Lsp server process inside workspace project
2269
+ * @summary Start Lsp server
2270
+ * @param {string} workspaceId
2271
+ * @param {LspServerRequest} lspServerRequest
2272
+ * @param {*} [options] Override http request option.
2273
+ * @throws {RequiredError}
2274
+ */
2275
+ lspStart(workspaceId, lspServerRequest, options) {
2276
+ return localVarFp.lspStart(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
2277
+ },
2278
+ /**
2279
+ * Stop Lsp server process inside workspace project
2280
+ * @summary Stop Lsp server
2281
+ * @param {string} workspaceId
2282
+ * @param {LspServerRequest} lspServerRequest
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ */
2286
+ lspStop(workspaceId, lspServerRequest, options) {
2287
+ return localVarFp.lspStop(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
2288
+ },
2289
+ /**
2290
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
2291
+ * @summary Call Lsp WorkspaceSymbols
2292
+ * @param {string} workspaceId
2293
+ * @param {string} languageId
2294
+ * @param {string} pathToProject
2295
+ * @param {string} query
2296
+ * @param {*} [options] Override http request option.
2297
+ * @throws {RequiredError}
2298
+ */
2299
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
2300
+ return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(axios, basePath));
2301
+ },
1485
2302
  /**
1486
2303
  * Move file inside workspace
1487
2304
  * @summary Move file
@@ -1565,6 +2382,18 @@ export class ToolboxApi extends BaseAPI {
1565
2382
  createFolder(workspaceId, path, mode, options) {
1566
2383
  return ToolboxApiFp(this.configuration).createFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
1567
2384
  }
2385
+ /**
2386
+ * Create a new session in the workspace
2387
+ * @summary Create session
2388
+ * @param {string} workspaceId
2389
+ * @param {CreateSessionRequest} createSessionRequest
2390
+ * @param {*} [options] Override http request option.
2391
+ * @throws {RequiredError}
2392
+ * @memberof ToolboxApi
2393
+ */
2394
+ createSession(workspaceId, createSessionRequest, options) {
2395
+ return ToolboxApiFp(this.configuration).createSession(workspaceId, createSessionRequest, options).then((request) => request(this.axios, this.basePath));
2396
+ }
1568
2397
  /**
1569
2398
  * Delete file inside workspace
1570
2399
  * @summary Delete file
@@ -1577,6 +2406,18 @@ export class ToolboxApi extends BaseAPI {
1577
2406
  deleteFile(workspaceId, path, options) {
1578
2407
  return ToolboxApiFp(this.configuration).deleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1579
2408
  }
2409
+ /**
2410
+ * Delete a specific session
2411
+ * @summary Delete session
2412
+ * @param {string} workspaceId
2413
+ * @param {string} sessionId
2414
+ * @param {*} [options] Override http request option.
2415
+ * @throws {RequiredError}
2416
+ * @memberof ToolboxApi
2417
+ */
2418
+ deleteSession(workspaceId, sessionId, options) {
2419
+ return ToolboxApiFp(this.configuration).deleteSession(workspaceId, sessionId, options).then((request) => request(this.axios, this.basePath));
2420
+ }
1580
2421
  /**
1581
2422
  * Download file from workspace
1582
2423
  * @summary Download file
@@ -1601,6 +2442,19 @@ export class ToolboxApi extends BaseAPI {
1601
2442
  executeCommand(workspaceId, executeRequest, options) {
1602
2443
  return ToolboxApiFp(this.configuration).executeCommand(workspaceId, executeRequest, options).then((request) => request(this.axios, this.basePath));
1603
2444
  }
2445
+ /**
2446
+ * Execute a command in a specific session
2447
+ * @summary Execute command in session
2448
+ * @param {string} workspaceId
2449
+ * @param {string} sessionId
2450
+ * @param {SessionExecuteRequest} sessionExecuteRequest
2451
+ * @param {*} [options] Override http request option.
2452
+ * @throws {RequiredError}
2453
+ * @memberof ToolboxApi
2454
+ */
2455
+ executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options) {
2456
+ return ToolboxApiFp(this.configuration).executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(this.axios, this.basePath));
2457
+ }
1604
2458
  /**
1605
2459
  * Search for text/pattern inside workspace files
1606
2460
  * @summary Search for text/pattern in files
@@ -1637,6 +2491,19 @@ export class ToolboxApi extends BaseAPI {
1637
2491
  getProjectDir(workspaceId, options) {
1638
2492
  return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
1639
2493
  }
2494
+ /**
2495
+ * Get logs for a specific command in a session
2496
+ * @summary Get command logs
2497
+ * @param {string} workspaceId
2498
+ * @param {string} sessionId
2499
+ * @param {string} commandId
2500
+ * @param {*} [options] Override http request option.
2501
+ * @throws {RequiredError}
2502
+ * @memberof ToolboxApi
2503
+ */
2504
+ getSessionCommandLogs(workspaceId, sessionId, commandId, options) {
2505
+ return ToolboxApiFp(this.configuration).getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(this.axios, this.basePath));
2506
+ }
1640
2507
  /**
1641
2508
  * Add files to git commit
1642
2509
  * @summary Add files
@@ -1757,6 +2624,105 @@ export class ToolboxApi extends BaseAPI {
1757
2624
  listFiles(workspaceId, path, options) {
1758
2625
  return ToolboxApiFp(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
1759
2626
  }
2627
+ /**
2628
+ * List all active sessions in the workspace
2629
+ * @summary List sessions
2630
+ * @param {string} workspaceId
2631
+ * @param {*} [options] Override http request option.
2632
+ * @throws {RequiredError}
2633
+ * @memberof ToolboxApi
2634
+ */
2635
+ listSessions(workspaceId, options) {
2636
+ return ToolboxApiFp(this.configuration).listSessions(workspaceId, options).then((request) => request(this.axios, this.basePath));
2637
+ }
2638
+ /**
2639
+ * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
2640
+ * @summary Get Lsp Completions
2641
+ * @param {string} workspaceId
2642
+ * @param {LspCompletionParams} lspCompletionParams
2643
+ * @param {*} [options] Override http request option.
2644
+ * @throws {RequiredError}
2645
+ * @memberof ToolboxApi
2646
+ */
2647
+ lspCompletions(workspaceId, lspCompletionParams, options) {
2648
+ return ToolboxApiFp(this.configuration).lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(this.axios, this.basePath));
2649
+ }
2650
+ /**
2651
+ * The document close notification is sent from the client to the server when the document got closed in the client.
2652
+ * @summary Call Lsp DidClose
2653
+ * @param {string} workspaceId
2654
+ * @param {LspDocumentRequest} lspDocumentRequest
2655
+ * @param {*} [options] Override http request option.
2656
+ * @throws {RequiredError}
2657
+ * @memberof ToolboxApi
2658
+ */
2659
+ lspDidClose(workspaceId, lspDocumentRequest, options) {
2660
+ return ToolboxApiFp(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2661
+ }
2662
+ /**
2663
+ * The document open notification is sent from the client to the server to signal newly opened text documents.
2664
+ * @summary Call Lsp DidOpen
2665
+ * @param {string} workspaceId
2666
+ * @param {LspDocumentRequest} lspDocumentRequest
2667
+ * @param {*} [options] Override http request option.
2668
+ * @throws {RequiredError}
2669
+ * @memberof ToolboxApi
2670
+ */
2671
+ lspDidOpen(workspaceId, lspDocumentRequest, options) {
2672
+ return ToolboxApiFp(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2673
+ }
2674
+ /**
2675
+ * The document symbol request is sent from the client to the server.
2676
+ * @summary Call Lsp DocumentSymbols
2677
+ * @param {string} workspaceId
2678
+ * @param {string} languageId
2679
+ * @param {string} pathToProject
2680
+ * @param {string} uri
2681
+ * @param {*} [options] Override http request option.
2682
+ * @throws {RequiredError}
2683
+ * @memberof ToolboxApi
2684
+ */
2685
+ lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
2686
+ return ToolboxApiFp(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(this.axios, this.basePath));
2687
+ }
2688
+ /**
2689
+ * Start Lsp server process inside workspace project
2690
+ * @summary Start Lsp server
2691
+ * @param {string} workspaceId
2692
+ * @param {LspServerRequest} lspServerRequest
2693
+ * @param {*} [options] Override http request option.
2694
+ * @throws {RequiredError}
2695
+ * @memberof ToolboxApi
2696
+ */
2697
+ lspStart(workspaceId, lspServerRequest, options) {
2698
+ return ToolboxApiFp(this.configuration).lspStart(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
2699
+ }
2700
+ /**
2701
+ * Stop Lsp server process inside workspace project
2702
+ * @summary Stop Lsp server
2703
+ * @param {string} workspaceId
2704
+ * @param {LspServerRequest} lspServerRequest
2705
+ * @param {*} [options] Override http request option.
2706
+ * @throws {RequiredError}
2707
+ * @memberof ToolboxApi
2708
+ */
2709
+ lspStop(workspaceId, lspServerRequest, options) {
2710
+ return ToolboxApiFp(this.configuration).lspStop(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
2711
+ }
2712
+ /**
2713
+ * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
2714
+ * @summary Call Lsp WorkspaceSymbols
2715
+ * @param {string} workspaceId
2716
+ * @param {string} languageId
2717
+ * @param {string} pathToProject
2718
+ * @param {string} query
2719
+ * @param {*} [options] Override http request option.
2720
+ * @throws {RequiredError}
2721
+ * @memberof ToolboxApi
2722
+ */
2723
+ lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
2724
+ return ToolboxApiFp(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(this.axios, this.basePath));
2725
+ }
1760
2726
  /**
1761
2727
  * Move file inside workspace
1762
2728
  * @summary Move file