@daytonaio/api-client 0.15.0 → 0.16.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 (318) hide show
  1. package/.openapi-generator/FILES +3 -3
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +7 -0
  4. package/api/api-keys-api.ts +396 -324
  5. package/api/docker-registry-api.ts +703 -549
  6. package/api/images-api.ts +576 -346
  7. package/api/nodes-api.ts +250 -213
  8. package/api/organizations-api.ts +2203 -1671
  9. package/api/preview-api.ts +326 -0
  10. package/api/toolbox-api.ts +4507 -3186
  11. package/api/users-api.ts +317 -271
  12. package/api/workspace-api.ts +1482 -969
  13. package/api.ts +10 -12
  14. package/base.ts +35 -30
  15. package/common.ts +78 -66
  16. package/configuration.ts +102 -89
  17. package/dist/api/api-keys-api.js +54 -63
  18. package/dist/api/docker-registry-api.js +102 -107
  19. package/dist/api/images-api.d.ts +42 -0
  20. package/dist/api/images-api.js +146 -66
  21. package/dist/api/nodes-api.js +37 -47
  22. package/dist/api/organizations-api.js +341 -336
  23. package/dist/api/preview-api.d.ts +143 -0
  24. package/dist/api/preview-api.js +266 -0
  25. package/dist/api/toolbox-api.js +601 -569
  26. package/dist/api/users-api.js +49 -59
  27. package/dist/api/workspace-api.d.ts +50 -4
  28. package/dist/api/workspace-api.js +291 -190
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.js +6 -7
  32. package/dist/common.d.ts +3 -3
  33. package/dist/common.js +27 -45
  34. package/dist/configuration.js +2 -1
  35. package/dist/esm/api/api-keys-api.js +55 -64
  36. package/dist/esm/api/docker-registry-api.js +103 -108
  37. package/dist/esm/api/images-api.d.ts +42 -0
  38. package/dist/esm/api/images-api.js +147 -67
  39. package/dist/esm/api/nodes-api.js +38 -48
  40. package/dist/esm/api/organizations-api.js +342 -337
  41. package/dist/esm/api/preview-api.d.ts +143 -0
  42. package/dist/esm/api/preview-api.js +259 -0
  43. package/dist/esm/api/toolbox-api.js +602 -570
  44. package/dist/esm/api/users-api.js +50 -60
  45. package/dist/esm/api/workspace-api.d.ts +50 -4
  46. package/dist/esm/api/workspace-api.js +292 -191
  47. package/dist/esm/api.d.ts +1 -0
  48. package/dist/esm/api.js +1 -0
  49. package/dist/esm/base.js +6 -7
  50. package/dist/esm/common.d.ts +3 -3
  51. package/dist/esm/common.js +28 -46
  52. package/dist/esm/configuration.js +2 -1
  53. package/dist/esm/index.d.ts +3 -3
  54. package/dist/esm/index.js +3 -3
  55. package/dist/esm/models/api-key-list.d.ts +12 -12
  56. package/dist/esm/models/api-key-list.js +6 -6
  57. package/dist/esm/models/api-key-response.d.ts +12 -12
  58. package/dist/esm/models/api-key-response.js +6 -6
  59. package/dist/esm/models/command.d.ts +3 -3
  60. package/dist/esm/models/completion-context.d.ts +2 -2
  61. package/dist/esm/models/completion-item.d.ts +7 -7
  62. package/dist/esm/models/completion-list.d.ts +2 -2
  63. package/dist/esm/models/create-api-key.d.ts +9 -9
  64. package/dist/esm/models/create-api-key.js +6 -6
  65. package/dist/esm/models/create-docker-registry.d.ts +8 -8
  66. package/dist/esm/models/create-docker-registry.js +1 -1
  67. package/dist/esm/models/create-image.d.ts +8 -2
  68. package/dist/esm/models/create-node.d.ts +13 -13
  69. package/dist/esm/models/create-node.js +2 -2
  70. package/dist/esm/models/create-organization-invitation.d.ts +6 -6
  71. package/dist/esm/models/create-organization-invitation.js +1 -1
  72. package/dist/esm/models/create-organization-quota.d.ts +11 -11
  73. package/dist/esm/models/create-organization-role.d.ts +10 -10
  74. package/dist/esm/models/create-organization-role.js +6 -6
  75. package/dist/esm/models/create-organization.d.ts +12 -12
  76. package/dist/esm/models/create-session-request.d.ts +1 -1
  77. package/dist/esm/models/create-user.d.ts +15 -4
  78. package/dist/esm/models/create-user.js +4 -1
  79. package/dist/esm/models/create-workspace.d.ts +16 -16
  80. package/dist/esm/models/create-workspace.js +2 -2
  81. package/dist/esm/models/docker-registry.d.ts +11 -11
  82. package/dist/esm/models/docker-registry.js +1 -1
  83. package/dist/esm/models/execute-request.d.ts +3 -3
  84. package/dist/esm/models/execute-response.d.ts +2 -2
  85. package/dist/esm/models/file-info.d.ts +8 -8
  86. package/dist/esm/models/file-status.d.ts +4 -4
  87. package/dist/esm/models/git-add-request.d.ts +2 -2
  88. package/dist/esm/models/git-branch-request.d.ts +2 -2
  89. package/dist/esm/models/git-clone-request.d.ts +6 -6
  90. package/dist/esm/models/git-commit-info.d.ts +5 -5
  91. package/dist/esm/models/git-commit-request.d.ts +4 -4
  92. package/dist/esm/models/git-commit-response.d.ts +1 -1
  93. package/dist/esm/models/git-repo-request.d.ts +3 -3
  94. package/dist/esm/models/git-status.d.ts +4 -4
  95. package/dist/esm/models/image-dto.d.ts +20 -14
  96. package/dist/esm/models/image-state.d.ts +1 -1
  97. package/dist/esm/models/image-state.js +1 -1
  98. package/dist/esm/models/index.d.ts +2 -0
  99. package/dist/esm/models/index.js +2 -0
  100. package/dist/esm/models/list-branch-response.d.ts +1 -1
  101. package/dist/esm/models/lsp-completion-params.d.ts +5 -5
  102. package/dist/esm/models/lsp-document-request.d.ts +3 -3
  103. package/dist/esm/models/lsp-location.d.ts +2 -2
  104. package/dist/esm/models/lsp-server-request.d.ts +2 -2
  105. package/dist/esm/models/lsp-symbol.d.ts +3 -3
  106. package/dist/esm/models/match.d.ts +3 -3
  107. package/dist/esm/models/organization-invitation.d.ts +21 -15
  108. package/dist/esm/models/organization-invitation.js +2 -2
  109. package/dist/esm/models/organization-role.d.ts +16 -16
  110. package/dist/esm/models/organization-role.js +6 -6
  111. package/dist/esm/models/organization-user.d.ts +11 -11
  112. package/dist/esm/models/organization-user.js +1 -1
  113. package/dist/esm/models/organization.d.ts +8 -8
  114. package/dist/esm/models/paginated-images-dto.d.ts +4 -4
  115. package/dist/esm/models/port-preview-url.d.ts +30 -0
  116. package/dist/esm/models/port-preview-url.js +14 -0
  117. package/dist/esm/models/position.d.ts +2 -2
  118. package/dist/esm/models/project-dir-response.d.ts +1 -1
  119. package/dist/esm/models/range.d.ts +2 -2
  120. package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
  121. package/dist/esm/models/replace-request.d.ts +3 -3
  122. package/dist/esm/models/replace-result.d.ts +3 -3
  123. package/dist/esm/models/search-files-response.d.ts +1 -1
  124. package/dist/esm/models/session-execute-request.d.ts +9 -2
  125. package/dist/esm/models/session-execute-response.d.ts +3 -3
  126. package/dist/esm/models/session.d.ts +2 -2
  127. package/dist/esm/models/set-image-general-status.d.ts +24 -0
  128. package/dist/esm/models/set-image-general-status.js +14 -0
  129. package/dist/esm/models/toggle-state.d.ts +1 -1
  130. package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
  131. package/dist/esm/models/update-docker-registry.d.ts +3 -3
  132. package/dist/esm/models/update-organization-invitation.d.ts +5 -5
  133. package/dist/esm/models/update-organization-invitation.js +1 -1
  134. package/dist/esm/models/update-organization-member-role.d.ts +2 -2
  135. package/dist/esm/models/update-organization-member-role.js +1 -1
  136. package/dist/esm/models/update-organization-quota.d.ts +11 -11
  137. package/dist/esm/models/update-organization-role.d.ts +10 -10
  138. package/dist/esm/models/update-organization-role.js +6 -6
  139. package/dist/esm/models/usage-overview.d.ts +15 -15
  140. package/dist/esm/models/user-public-key.d.ts +2 -2
  141. package/dist/esm/models/user.d.ts +4 -4
  142. package/dist/esm/models/workspace-info.d.ts +3 -3
  143. package/dist/esm/models/workspace-labels.d.ts +1 -1
  144. package/dist/esm/models/workspace-state.d.ts +1 -1
  145. package/dist/esm/models/workspace-state.js +1 -1
  146. package/dist/esm/models/workspace.d.ts +19 -19
  147. package/dist/esm/models/workspace.js +1 -1
  148. package/dist/index.d.ts +3 -3
  149. package/dist/models/api-key-list.d.ts +12 -12
  150. package/dist/models/api-key-list.js +6 -6
  151. package/dist/models/api-key-response.d.ts +12 -12
  152. package/dist/models/api-key-response.js +6 -6
  153. package/dist/models/command.d.ts +3 -3
  154. package/dist/models/completion-context.d.ts +2 -2
  155. package/dist/models/completion-item.d.ts +7 -7
  156. package/dist/models/completion-list.d.ts +2 -2
  157. package/dist/models/create-api-key.d.ts +9 -9
  158. package/dist/models/create-api-key.js +6 -6
  159. package/dist/models/create-docker-registry.d.ts +8 -8
  160. package/dist/models/create-docker-registry.js +1 -1
  161. package/dist/models/create-image.d.ts +8 -2
  162. package/dist/models/create-node.d.ts +13 -13
  163. package/dist/models/create-node.js +2 -2
  164. package/dist/models/create-organization-invitation.d.ts +6 -6
  165. package/dist/models/create-organization-invitation.js +1 -1
  166. package/dist/models/create-organization-quota.d.ts +11 -11
  167. package/dist/models/create-organization-role.d.ts +10 -10
  168. package/dist/models/create-organization-role.js +6 -6
  169. package/dist/models/create-organization.d.ts +12 -12
  170. package/dist/models/create-session-request.d.ts +1 -1
  171. package/dist/models/create-user.d.ts +15 -4
  172. package/dist/models/create-user.js +5 -0
  173. package/dist/models/create-workspace.d.ts +16 -16
  174. package/dist/models/create-workspace.js +2 -2
  175. package/dist/models/docker-registry.d.ts +11 -11
  176. package/dist/models/docker-registry.js +1 -1
  177. package/dist/models/execute-request.d.ts +3 -3
  178. package/dist/models/execute-response.d.ts +2 -2
  179. package/dist/models/file-info.d.ts +8 -8
  180. package/dist/models/file-status.d.ts +4 -4
  181. package/dist/models/git-add-request.d.ts +2 -2
  182. package/dist/models/git-branch-request.d.ts +2 -2
  183. package/dist/models/git-clone-request.d.ts +6 -6
  184. package/dist/models/git-commit-info.d.ts +5 -5
  185. package/dist/models/git-commit-request.d.ts +4 -4
  186. package/dist/models/git-commit-response.d.ts +1 -1
  187. package/dist/models/git-repo-request.d.ts +3 -3
  188. package/dist/models/git-status.d.ts +4 -4
  189. package/dist/models/image-dto.d.ts +20 -14
  190. package/dist/models/image-state.d.ts +1 -1
  191. package/dist/models/image-state.js +1 -1
  192. package/dist/models/index.d.ts +2 -0
  193. package/dist/models/index.js +2 -0
  194. package/dist/models/list-branch-response.d.ts +1 -1
  195. package/dist/models/lsp-completion-params.d.ts +5 -5
  196. package/dist/models/lsp-document-request.d.ts +3 -3
  197. package/dist/models/lsp-location.d.ts +2 -2
  198. package/dist/models/lsp-server-request.d.ts +2 -2
  199. package/dist/models/lsp-symbol.d.ts +3 -3
  200. package/dist/models/match.d.ts +3 -3
  201. package/dist/models/organization-invitation.d.ts +21 -15
  202. package/dist/models/organization-invitation.js +2 -2
  203. package/dist/models/organization-role.d.ts +16 -16
  204. package/dist/models/organization-role.js +6 -6
  205. package/dist/models/organization-user.d.ts +11 -11
  206. package/dist/models/organization-user.js +1 -1
  207. package/dist/models/organization.d.ts +8 -8
  208. package/dist/models/paginated-images-dto.d.ts +4 -4
  209. package/dist/models/port-preview-url.d.ts +30 -0
  210. package/dist/models/port-preview-url.js +15 -0
  211. package/dist/models/position.d.ts +2 -2
  212. package/dist/models/project-dir-response.d.ts +1 -1
  213. package/dist/models/range.d.ts +2 -2
  214. package/dist/models/registry-push-access-dto.d.ts +6 -6
  215. package/dist/models/replace-request.d.ts +3 -3
  216. package/dist/models/replace-result.d.ts +3 -3
  217. package/dist/models/search-files-response.d.ts +1 -1
  218. package/dist/models/session-execute-request.d.ts +9 -2
  219. package/dist/models/session-execute-response.d.ts +3 -3
  220. package/dist/models/session.d.ts +2 -2
  221. package/dist/models/set-image-general-status.d.ts +24 -0
  222. package/dist/models/set-image-general-status.js +15 -0
  223. package/dist/models/toggle-state.d.ts +1 -1
  224. package/dist/models/update-assigned-organization-roles.d.ts +1 -1
  225. package/dist/models/update-docker-registry.d.ts +3 -3
  226. package/dist/models/update-organization-invitation.d.ts +5 -5
  227. package/dist/models/update-organization-invitation.js +1 -1
  228. package/dist/models/update-organization-member-role.d.ts +2 -2
  229. package/dist/models/update-organization-member-role.js +1 -1
  230. package/dist/models/update-organization-quota.d.ts +11 -11
  231. package/dist/models/update-organization-role.d.ts +10 -10
  232. package/dist/models/update-organization-role.js +6 -6
  233. package/dist/models/usage-overview.d.ts +15 -15
  234. package/dist/models/user-public-key.d.ts +2 -2
  235. package/dist/models/user.d.ts +4 -4
  236. package/dist/models/workspace-info.d.ts +3 -3
  237. package/dist/models/workspace-labels.d.ts +1 -1
  238. package/dist/models/workspace-state.d.ts +1 -1
  239. package/dist/models/workspace-state.js +1 -1
  240. package/dist/models/workspace.d.ts +19 -19
  241. package/dist/models/workspace.js +1 -1
  242. package/index.ts +4 -5
  243. package/models/api-key-list.ts +34 -38
  244. package/models/api-key-response.ts +35 -38
  245. package/models/command.ts +20 -23
  246. package/models/completion-context.ts +14 -17
  247. package/models/completion-item.ts +44 -47
  248. package/models/completion-list.ts +15 -17
  249. package/models/create-api-key.ts +22 -26
  250. package/models/create-docker-registry.ts +51 -54
  251. package/models/create-image.ts +20 -17
  252. package/models/create-node.ts +78 -82
  253. package/models/create-organization-invitation.ts +31 -34
  254. package/models/create-organization-quota.ts +68 -71
  255. package/models/create-organization-role.ts +29 -32
  256. package/models/create-organization.ts +74 -77
  257. package/models/create-session-request.ts +8 -11
  258. package/models/create-user.ts +39 -28
  259. package/models/create-workspace.ts +96 -100
  260. package/models/docker-registry.ts +57 -60
  261. package/models/execute-request.ts +20 -23
  262. package/models/execute-response.ts +14 -17
  263. package/models/file-info.ts +50 -53
  264. package/models/file-status.ts +26 -29
  265. package/models/git-add-request.ts +14 -17
  266. package/models/git-branch-request.ts +14 -17
  267. package/models/git-clone-request.ts +38 -41
  268. package/models/git-commit-info.ts +32 -35
  269. package/models/git-commit-request.ts +26 -29
  270. package/models/git-commit-response.ts +8 -11
  271. package/models/git-repo-request.ts +20 -23
  272. package/models/git-status.ts +33 -35
  273. package/models/image-dto.ts +75 -73
  274. package/models/image-state.ts +12 -17
  275. package/models/index.ts +70 -68
  276. package/models/list-branch-response.ts +8 -11
  277. package/models/lsp-completion-params.ts +34 -36
  278. package/models/lsp-document-request.ts +20 -23
  279. package/models/lsp-location.ts +15 -17
  280. package/models/lsp-server-request.ts +14 -17
  281. package/models/lsp-symbol.ts +21 -23
  282. package/models/match.ts +20 -23
  283. package/models/organization-invitation.ts +81 -76
  284. package/models/organization-role.ts +53 -56
  285. package/models/organization-user.ts +55 -58
  286. package/models/organization.ts +38 -41
  287. package/models/paginated-images-dto.ts +27 -29
  288. package/models/port-preview-url.ts +33 -0
  289. package/models/position.ts +14 -17
  290. package/models/project-dir-response.ts +8 -11
  291. package/models/range.ts +15 -17
  292. package/models/registry-push-access-dto.ts +38 -41
  293. package/models/replace-request.ts +20 -23
  294. package/models/replace-result.ts +20 -23
  295. package/models/search-files-response.ts +8 -11
  296. package/models/session-execute-request.ts +21 -17
  297. package/models/session-execute-response.ts +20 -23
  298. package/models/session.ts +15 -17
  299. package/models/set-image-general-status.ts +27 -0
  300. package/models/toggle-state.ts +8 -11
  301. package/models/update-assigned-organization-roles.ts +8 -11
  302. package/models/update-docker-registry.ts +20 -23
  303. package/models/update-organization-invitation.ts +25 -28
  304. package/models/update-organization-member-role.ts +13 -16
  305. package/models/update-organization-quota.ts +68 -71
  306. package/models/update-organization-role.ts +29 -32
  307. package/models/usage-overview.ts +92 -95
  308. package/models/user-public-key.ts +14 -17
  309. package/models/user.ts +27 -29
  310. package/models/workspace-info.ts +20 -23
  311. package/models/workspace-labels.ts +8 -11
  312. package/models/workspace-state.ts +19 -24
  313. package/models/workspace.ts +119 -122
  314. package/package.json +2 -2
  315. package/project.json +49 -0
  316. package/tsconfig.json +3 -8
  317. package/README.md +0 -46
  318. package/git_push.sh +0 -57
@@ -11,19 +11,10 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
14
  import globalAxios from 'axios';
24
15
  // Some imports not used depending on template conditions
25
16
  // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
17
+ import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, } from '../common';
27
18
  // @ts-ignore
28
19
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
20
  /**
@@ -42,15 +33,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
42
33
  * @param {*} [options] Override http request option.
43
34
  * @throws {RequiredError}
44
35
  */
45
- createFolder: (workspaceId_1, path_1, mode_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, mode_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, mode, xDaytonaOrganizationID, options = {}) {
36
+ createFolder: async (workspaceId, path, mode, xDaytonaOrganizationID, options = {}) => {
46
37
  // verify required parameter 'workspaceId' is not null or undefined
47
38
  assertParamExists('createFolder', 'workspaceId', workspaceId);
48
39
  // verify required parameter 'path' is not null or undefined
49
40
  assertParamExists('createFolder', 'path', path);
50
41
  // verify required parameter 'mode' is not null or undefined
51
42
  assertParamExists('createFolder', 'mode', mode);
52
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`
53
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
43
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/folder`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
54
44
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
55
45
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56
46
  let baseOptions;
@@ -62,7 +52,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
62
52
  const localVarQueryParameter = {};
63
53
  // authentication oauth2 required
64
54
  // oauth required
65
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
55
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
66
56
  if (path !== undefined) {
67
57
  localVarQueryParameter['path'] = path;
68
58
  }
@@ -79,7 +69,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
79
69
  url: toPathString(localVarUrlObj),
80
70
  options: localVarRequestOptions,
81
71
  };
82
- }),
72
+ },
83
73
  /**
84
74
  * Create a new session in the workspace
85
75
  * @summary Create session
@@ -89,13 +79,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
89
79
  * @param {*} [options] Override http request option.
90
80
  * @throws {RequiredError}
91
81
  */
92
- createSession: (workspaceId_1, createSessionRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, createSessionRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, createSessionRequest, xDaytonaOrganizationID, options = {}) {
82
+ createSession: async (workspaceId, createSessionRequest, xDaytonaOrganizationID, options = {}) => {
93
83
  // verify required parameter 'workspaceId' is not null or undefined
94
84
  assertParamExists('createSession', 'workspaceId', workspaceId);
95
85
  // verify required parameter 'createSessionRequest' is not null or undefined
96
86
  assertParamExists('createSession', 'createSessionRequest', createSessionRequest);
97
- const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
98
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
87
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
99
88
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
100
89
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
101
90
  let baseOptions;
@@ -107,11 +96,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
107
96
  const localVarQueryParameter = {};
108
97
  // authentication oauth2 required
109
98
  // oauth required
110
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
99
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
100
+ localVarHeaderParameter['Content-Type'] = 'application/json';
111
101
  if (xDaytonaOrganizationID != null) {
112
102
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
113
103
  }
114
- localVarHeaderParameter['Content-Type'] = 'application/json';
115
104
  setSearchParams(localVarUrlObj, localVarQueryParameter);
116
105
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
117
106
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -120,7 +109,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
120
109
  url: toPathString(localVarUrlObj),
121
110
  options: localVarRequestOptions,
122
111
  };
123
- }),
112
+ },
124
113
  /**
125
114
  * Delete file inside workspace
126
115
  * @summary Delete file
@@ -130,13 +119,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
130
119
  * @param {*} [options] Override http request option.
131
120
  * @throws {RequiredError}
132
121
  */
133
- deleteFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
122
+ deleteFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
134
123
  // verify required parameter 'workspaceId' is not null or undefined
135
124
  assertParamExists('deleteFile', 'workspaceId', workspaceId);
136
125
  // verify required parameter 'path' is not null or undefined
137
126
  assertParamExists('deleteFile', 'path', path);
138
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
139
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
127
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
140
128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
141
129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
142
130
  let baseOptions;
@@ -148,7 +136,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
148
136
  const localVarQueryParameter = {};
149
137
  // authentication oauth2 required
150
138
  // oauth required
151
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
139
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
152
140
  if (path !== undefined) {
153
141
  localVarQueryParameter['path'] = path;
154
142
  }
@@ -162,7 +150,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
162
150
  url: toPathString(localVarUrlObj),
163
151
  options: localVarRequestOptions,
164
152
  };
165
- }),
153
+ },
166
154
  /**
167
155
  * Delete a specific session
168
156
  * @summary Delete session
@@ -172,14 +160,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
172
160
  * @param {*} [options] Override http request option.
173
161
  * @throws {RequiredError}
174
162
  */
175
- deleteSession: (workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) {
163
+ deleteSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
176
164
  // verify required parameter 'workspaceId' is not null or undefined
177
165
  assertParamExists('deleteSession', 'workspaceId', workspaceId);
178
166
  // verify required parameter 'sessionId' is not null or undefined
179
167
  assertParamExists('deleteSession', 'sessionId', sessionId);
180
168
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
181
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
182
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
169
+ .replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
170
+ .replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
183
171
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
172
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
185
173
  let baseOptions;
@@ -191,7 +179,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
191
179
  const localVarQueryParameter = {};
192
180
  // authentication oauth2 required
193
181
  // oauth required
194
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
182
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
195
183
  if (xDaytonaOrganizationID != null) {
196
184
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
197
185
  }
@@ -202,7 +190,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
202
190
  url: toPathString(localVarUrlObj),
203
191
  options: localVarRequestOptions,
204
192
  };
205
- }),
193
+ },
206
194
  /**
207
195
  * Download file from workspace
208
196
  * @summary Download file
@@ -212,13 +200,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
212
200
  * @param {*} [options] Override http request option.
213
201
  * @throws {RequiredError}
214
202
  */
215
- downloadFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
203
+ downloadFile: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
216
204
  // verify required parameter 'workspaceId' is not null or undefined
217
205
  assertParamExists('downloadFile', 'workspaceId', workspaceId);
218
206
  // verify required parameter 'path' is not null or undefined
219
207
  assertParamExists('downloadFile', 'path', path);
220
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`
221
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
208
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/download`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
222
209
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
223
210
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
224
211
  let baseOptions;
@@ -230,7 +217,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
230
217
  const localVarQueryParameter = {};
231
218
  // authentication oauth2 required
232
219
  // oauth required
233
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
220
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
234
221
  if (path !== undefined) {
235
222
  localVarQueryParameter['path'] = path;
236
223
  }
@@ -244,7 +231,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
244
231
  url: toPathString(localVarUrlObj),
245
232
  options: localVarRequestOptions,
246
233
  };
247
- }),
234
+ },
248
235
  /**
249
236
  * Execute command synchronously inside workspace
250
237
  * @summary Execute command
@@ -254,13 +241,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
254
241
  * @param {*} [options] Override http request option.
255
242
  * @throws {RequiredError}
256
243
  */
257
- executeCommand: (workspaceId_1, executeRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, executeRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, executeRequest, xDaytonaOrganizationID, options = {}) {
244
+ executeCommand: async (workspaceId, executeRequest, xDaytonaOrganizationID, options = {}) => {
258
245
  // verify required parameter 'workspaceId' is not null or undefined
259
246
  assertParamExists('executeCommand', 'workspaceId', workspaceId);
260
247
  // verify required parameter 'executeRequest' is not null or undefined
261
248
  assertParamExists('executeCommand', 'executeRequest', executeRequest);
262
- const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`
263
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
249
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/execute`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
264
250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
265
251
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
266
252
  let baseOptions;
@@ -272,11 +258,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
272
258
  const localVarQueryParameter = {};
273
259
  // authentication oauth2 required
274
260
  // oauth required
275
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
261
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
262
+ localVarHeaderParameter['Content-Type'] = 'application/json';
276
263
  if (xDaytonaOrganizationID != null) {
277
264
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
278
265
  }
279
- localVarHeaderParameter['Content-Type'] = 'application/json';
280
266
  setSearchParams(localVarUrlObj, localVarQueryParameter);
281
267
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
268
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -285,7 +271,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
285
271
  url: toPathString(localVarUrlObj),
286
272
  options: localVarRequestOptions,
287
273
  };
288
- }),
274
+ },
289
275
  /**
290
276
  * Execute a command in a specific session
291
277
  * @summary Execute command in session
@@ -296,7 +282,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
296
282
  * @param {*} [options] Override http request option.
297
283
  * @throws {RequiredError}
298
284
  */
299
- executeSessionCommand: (workspaceId_1, sessionId_1, sessionExecuteRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, sessionExecuteRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) {
285
+ executeSessionCommand: async (workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options = {}) => {
300
286
  // verify required parameter 'workspaceId' is not null or undefined
301
287
  assertParamExists('executeSessionCommand', 'workspaceId', workspaceId);
302
288
  // verify required parameter 'sessionId' is not null or undefined
@@ -304,8 +290,8 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
304
290
  // verify required parameter 'sessionExecuteRequest' is not null or undefined
305
291
  assertParamExists('executeSessionCommand', 'sessionExecuteRequest', sessionExecuteRequest);
306
292
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/exec`
307
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
308
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
293
+ .replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
294
+ .replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
309
295
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
310
296
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
311
297
  let baseOptions;
@@ -317,11 +303,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
317
303
  const localVarQueryParameter = {};
318
304
  // authentication oauth2 required
319
305
  // oauth required
320
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
306
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
307
+ localVarHeaderParameter['Content-Type'] = 'application/json';
321
308
  if (xDaytonaOrganizationID != null) {
322
309
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
323
310
  }
324
- localVarHeaderParameter['Content-Type'] = 'application/json';
325
311
  setSearchParams(localVarUrlObj, localVarQueryParameter);
326
312
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
327
313
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -330,7 +316,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
330
316
  url: toPathString(localVarUrlObj),
331
317
  options: localVarRequestOptions,
332
318
  };
333
- }),
319
+ },
334
320
  /**
335
321
  * Search for text/pattern inside workspace files
336
322
  * @summary Search for text/pattern in files
@@ -341,15 +327,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
341
327
  * @param {*} [options] Override http request option.
342
328
  * @throws {RequiredError}
343
329
  */
344
- findInFiles: (workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) {
330
+ findInFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
345
331
  // verify required parameter 'workspaceId' is not null or undefined
346
332
  assertParamExists('findInFiles', 'workspaceId', workspaceId);
347
333
  // verify required parameter 'path' is not null or undefined
348
334
  assertParamExists('findInFiles', 'path', path);
349
335
  // verify required parameter 'pattern' is not null or undefined
350
336
  assertParamExists('findInFiles', 'pattern', pattern);
351
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`
352
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
337
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/find`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
353
338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
354
339
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
355
340
  let baseOptions;
@@ -361,7 +346,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
361
346
  const localVarQueryParameter = {};
362
347
  // authentication oauth2 required
363
348
  // oauth required
364
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
349
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
365
350
  if (path !== undefined) {
366
351
  localVarQueryParameter['path'] = path;
367
352
  }
@@ -378,7 +363,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
378
363
  url: toPathString(localVarUrlObj),
379
364
  options: localVarRequestOptions,
380
365
  };
381
- }),
366
+ },
382
367
  /**
383
368
  * Get file info inside workspace
384
369
  * @summary Get file info
@@ -388,13 +373,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
388
373
  * @param {*} [options] Override http request option.
389
374
  * @throws {RequiredError}
390
375
  */
391
- getFileInfo: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
376
+ getFileInfo: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
392
377
  // verify required parameter 'workspaceId' is not null or undefined
393
378
  assertParamExists('getFileInfo', 'workspaceId', workspaceId);
394
379
  // verify required parameter 'path' is not null or undefined
395
380
  assertParamExists('getFileInfo', 'path', path);
396
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`
397
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
381
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/info`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
398
382
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
399
383
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
400
384
  let baseOptions;
@@ -406,7 +390,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
406
390
  const localVarQueryParameter = {};
407
391
  // authentication oauth2 required
408
392
  // oauth required
409
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
393
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
410
394
  if (path !== undefined) {
411
395
  localVarQueryParameter['path'] = path;
412
396
  }
@@ -420,7 +404,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
420
404
  url: toPathString(localVarUrlObj),
421
405
  options: localVarRequestOptions,
422
406
  };
423
- }),
407
+ },
424
408
  /**
425
409
  *
426
410
  * @summary Get workspace project dir
@@ -429,11 +413,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
429
413
  * @param {*} [options] Override http request option.
430
414
  * @throws {RequiredError}
431
415
  */
432
- getProjectDir: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
416
+ getProjectDir: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
433
417
  // verify required parameter 'workspaceId' is not null or undefined
434
418
  assertParamExists('getProjectDir', 'workspaceId', workspaceId);
435
- const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
436
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
419
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
437
420
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
438
421
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
439
422
  let baseOptions;
@@ -445,7 +428,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
445
428
  const localVarQueryParameter = {};
446
429
  // authentication oauth2 required
447
430
  // oauth required
448
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
431
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
449
432
  if (xDaytonaOrganizationID != null) {
450
433
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
451
434
  }
@@ -456,7 +439,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
456
439
  url: toPathString(localVarUrlObj),
457
440
  options: localVarRequestOptions,
458
441
  };
459
- }),
442
+ },
460
443
  /**
461
444
  * Get session by ID
462
445
  * @summary Get session
@@ -466,14 +449,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
466
449
  * @param {*} [options] Override http request option.
467
450
  * @throws {RequiredError}
468
451
  */
469
- getSession: (workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) {
452
+ getSession: async (workspaceId, sessionId, xDaytonaOrganizationID, options = {}) => {
470
453
  // verify required parameter 'workspaceId' is not null or undefined
471
454
  assertParamExists('getSession', 'workspaceId', workspaceId);
472
455
  // verify required parameter 'sessionId' is not null or undefined
473
456
  assertParamExists('getSession', 'sessionId', sessionId);
474
457
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}`
475
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
476
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
458
+ .replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
459
+ .replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)));
477
460
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
478
461
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
479
462
  let baseOptions;
@@ -485,7 +468,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
485
468
  const localVarQueryParameter = {};
486
469
  // authentication oauth2 required
487
470
  // oauth required
488
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
471
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
489
472
  if (xDaytonaOrganizationID != null) {
490
473
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
491
474
  }
@@ -496,7 +479,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
496
479
  url: toPathString(localVarUrlObj),
497
480
  options: localVarRequestOptions,
498
481
  };
499
- }),
482
+ },
500
483
  /**
501
484
  * Get session command by ID
502
485
  * @summary Get session command
@@ -507,7 +490,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
507
490
  * @param {*} [options] Override http request option.
508
491
  * @throws {RequiredError}
509
492
  */
510
- getSessionCommand: (workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, sessionId, commandId, xDaytonaOrganizationID, options = {}) {
493
+ getSessionCommand: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, options = {}) => {
511
494
  // verify required parameter 'workspaceId' is not null or undefined
512
495
  assertParamExists('getSessionCommand', 'workspaceId', workspaceId);
513
496
  // verify required parameter 'sessionId' is not null or undefined
@@ -515,9 +498,9 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
515
498
  // verify required parameter 'commandId' is not null or undefined
516
499
  assertParamExists('getSessionCommand', 'commandId', commandId);
517
500
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}`
518
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
519
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
520
- .replace(`{${"commandId"}}`, encodeURIComponent(String(commandId)));
501
+ .replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
502
+ .replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
503
+ .replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
521
504
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
522
505
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
523
506
  let baseOptions;
@@ -529,7 +512,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
529
512
  const localVarQueryParameter = {};
530
513
  // authentication oauth2 required
531
514
  // oauth required
532
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
515
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
533
516
  if (xDaytonaOrganizationID != null) {
534
517
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
535
518
  }
@@ -540,7 +523,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
540
523
  url: toPathString(localVarUrlObj),
541
524
  options: localVarRequestOptions,
542
525
  };
543
- }),
526
+ },
544
527
  /**
545
528
  * Get logs for a specific command in a session
546
529
  * @summary Get command logs
@@ -552,7 +535,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
552
535
  * @param {*} [options] Override http request option.
553
536
  * @throws {RequiredError}
554
537
  */
555
- getSessionCommandLogs: (workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, follow_1, ...args_1) => __awaiter(this, [workspaceId_1, sessionId_1, commandId_1, xDaytonaOrganizationID_1, follow_1, ...args_1], void 0, function* (workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) {
538
+ getSessionCommandLogs: async (workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options = {}) => {
556
539
  // verify required parameter 'workspaceId' is not null or undefined
557
540
  assertParamExists('getSessionCommandLogs', 'workspaceId', workspaceId);
558
541
  // verify required parameter 'sessionId' is not null or undefined
@@ -560,9 +543,9 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
560
543
  // verify required parameter 'commandId' is not null or undefined
561
544
  assertParamExists('getSessionCommandLogs', 'commandId', commandId);
562
545
  const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session/{sessionId}/command/{commandId}/logs`
563
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
564
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
565
- .replace(`{${"commandId"}}`, encodeURIComponent(String(commandId)));
546
+ .replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)))
547
+ .replace(`{${'sessionId'}}`, encodeURIComponent(String(sessionId)))
548
+ .replace(`{${'commandId'}}`, encodeURIComponent(String(commandId)));
566
549
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
567
550
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
568
551
  let baseOptions;
@@ -574,7 +557,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
574
557
  const localVarQueryParameter = {};
575
558
  // authentication oauth2 required
576
559
  // oauth required
577
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
560
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
578
561
  if (follow !== undefined) {
579
562
  localVarQueryParameter['follow'] = follow;
580
563
  }
@@ -588,7 +571,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
588
571
  url: toPathString(localVarUrlObj),
589
572
  options: localVarRequestOptions,
590
573
  };
591
- }),
574
+ },
592
575
  /**
593
576
  * Add files to git commit
594
577
  * @summary Add files
@@ -598,13 +581,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
598
581
  * @param {*} [options] Override http request option.
599
582
  * @throws {RequiredError}
600
583
  */
601
- gitAddFiles: (workspaceId_1, gitAddRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitAddRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitAddRequest, xDaytonaOrganizationID, options = {}) {
584
+ gitAddFiles: async (workspaceId, gitAddRequest, xDaytonaOrganizationID, options = {}) => {
602
585
  // verify required parameter 'workspaceId' is not null or undefined
603
586
  assertParamExists('gitAddFiles', 'workspaceId', workspaceId);
604
587
  // verify required parameter 'gitAddRequest' is not null or undefined
605
588
  assertParamExists('gitAddFiles', 'gitAddRequest', gitAddRequest);
606
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`
607
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
589
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/add`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
608
590
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
609
591
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
610
592
  let baseOptions;
@@ -616,11 +598,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
616
598
  const localVarQueryParameter = {};
617
599
  // authentication oauth2 required
618
600
  // oauth required
619
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
601
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
602
+ localVarHeaderParameter['Content-Type'] = 'application/json';
620
603
  if (xDaytonaOrganizationID != null) {
621
604
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
622
605
  }
623
- localVarHeaderParameter['Content-Type'] = 'application/json';
624
606
  setSearchParams(localVarUrlObj, localVarQueryParameter);
625
607
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
626
608
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -629,7 +611,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
629
611
  url: toPathString(localVarUrlObj),
630
612
  options: localVarRequestOptions,
631
613
  };
632
- }),
614
+ },
633
615
  /**
634
616
  * Clone git repository
635
617
  * @summary Clone repository
@@ -639,13 +621,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
639
621
  * @param {*} [options] Override http request option.
640
622
  * @throws {RequiredError}
641
623
  */
642
- gitCloneRepository: (workspaceId_1, gitCloneRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitCloneRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitCloneRequest, xDaytonaOrganizationID, options = {}) {
624
+ gitCloneRepository: async (workspaceId, gitCloneRequest, xDaytonaOrganizationID, options = {}) => {
643
625
  // verify required parameter 'workspaceId' is not null or undefined
644
626
  assertParamExists('gitCloneRepository', 'workspaceId', workspaceId);
645
627
  // verify required parameter 'gitCloneRequest' is not null or undefined
646
628
  assertParamExists('gitCloneRepository', 'gitCloneRequest', gitCloneRequest);
647
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`
648
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
629
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/clone`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
649
630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
650
631
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
651
632
  let baseOptions;
@@ -657,11 +638,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
657
638
  const localVarQueryParameter = {};
658
639
  // authentication oauth2 required
659
640
  // oauth required
660
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
641
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
642
+ localVarHeaderParameter['Content-Type'] = 'application/json';
661
643
  if (xDaytonaOrganizationID != null) {
662
644
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
663
645
  }
664
- localVarHeaderParameter['Content-Type'] = 'application/json';
665
646
  setSearchParams(localVarUrlObj, localVarQueryParameter);
666
647
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
667
648
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -670,7 +651,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
670
651
  url: toPathString(localVarUrlObj),
671
652
  options: localVarRequestOptions,
672
653
  };
673
- }),
654
+ },
674
655
  /**
675
656
  * Commit changes to git repository
676
657
  * @summary Commit changes
@@ -680,13 +661,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
680
661
  * @param {*} [options] Override http request option.
681
662
  * @throws {RequiredError}
682
663
  */
683
- gitCommitChanges: (workspaceId_1, gitCommitRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitCommitRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitCommitRequest, xDaytonaOrganizationID, options = {}) {
664
+ gitCommitChanges: async (workspaceId, gitCommitRequest, xDaytonaOrganizationID, options = {}) => {
684
665
  // verify required parameter 'workspaceId' is not null or undefined
685
666
  assertParamExists('gitCommitChanges', 'workspaceId', workspaceId);
686
667
  // verify required parameter 'gitCommitRequest' is not null or undefined
687
668
  assertParamExists('gitCommitChanges', 'gitCommitRequest', gitCommitRequest);
688
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`
689
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
669
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/commit`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
690
670
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
691
671
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
692
672
  let baseOptions;
@@ -698,11 +678,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
698
678
  const localVarQueryParameter = {};
699
679
  // authentication oauth2 required
700
680
  // oauth required
701
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
681
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
682
+ localVarHeaderParameter['Content-Type'] = 'application/json';
702
683
  if (xDaytonaOrganizationID != null) {
703
684
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
704
685
  }
705
- localVarHeaderParameter['Content-Type'] = 'application/json';
706
686
  setSearchParams(localVarUrlObj, localVarQueryParameter);
707
687
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
708
688
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -711,7 +691,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
711
691
  url: toPathString(localVarUrlObj),
712
692
  options: localVarRequestOptions,
713
693
  };
714
- }),
694
+ },
715
695
  /**
716
696
  * Create branch on git repository
717
697
  * @summary Create branch
@@ -721,13 +701,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
721
701
  * @param {*} [options] Override http request option.
722
702
  * @throws {RequiredError}
723
703
  */
724
- gitCreateBranch: (workspaceId_1, gitBranchRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitBranchRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitBranchRequest, xDaytonaOrganizationID, options = {}) {
704
+ gitCreateBranch: async (workspaceId, gitBranchRequest, xDaytonaOrganizationID, options = {}) => {
725
705
  // verify required parameter 'workspaceId' is not null or undefined
726
706
  assertParamExists('gitCreateBranch', 'workspaceId', workspaceId);
727
707
  // verify required parameter 'gitBranchRequest' is not null or undefined
728
708
  assertParamExists('gitCreateBranch', 'gitBranchRequest', gitBranchRequest);
729
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
730
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
709
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
731
710
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
732
711
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
733
712
  let baseOptions;
@@ -739,11 +718,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
739
718
  const localVarQueryParameter = {};
740
719
  // authentication oauth2 required
741
720
  // oauth required
742
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
721
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
722
+ localVarHeaderParameter['Content-Type'] = 'application/json';
743
723
  if (xDaytonaOrganizationID != null) {
744
724
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
745
725
  }
746
- localVarHeaderParameter['Content-Type'] = 'application/json';
747
726
  setSearchParams(localVarUrlObj, localVarQueryParameter);
748
727
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
749
728
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -752,7 +731,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
752
731
  url: toPathString(localVarUrlObj),
753
732
  options: localVarRequestOptions,
754
733
  };
755
- }),
734
+ },
756
735
  /**
757
736
  * Get commit history from git repository
758
737
  * @summary Get commit history
@@ -762,13 +741,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
762
741
  * @param {*} [options] Override http request option.
763
742
  * @throws {RequiredError}
764
743
  */
765
- gitGetHistory: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
744
+ gitGetHistory: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
766
745
  // verify required parameter 'workspaceId' is not null or undefined
767
746
  assertParamExists('gitGetHistory', 'workspaceId', workspaceId);
768
747
  // verify required parameter 'path' is not null or undefined
769
748
  assertParamExists('gitGetHistory', 'path', path);
770
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`
771
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
749
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/history`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
772
750
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
773
751
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
774
752
  let baseOptions;
@@ -780,7 +758,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
780
758
  const localVarQueryParameter = {};
781
759
  // authentication oauth2 required
782
760
  // oauth required
783
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
761
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
784
762
  if (path !== undefined) {
785
763
  localVarQueryParameter['path'] = path;
786
764
  }
@@ -794,7 +772,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
794
772
  url: toPathString(localVarUrlObj),
795
773
  options: localVarRequestOptions,
796
774
  };
797
- }),
775
+ },
798
776
  /**
799
777
  * Get status from git repository
800
778
  * @summary Get git status
@@ -804,13 +782,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
804
782
  * @param {*} [options] Override http request option.
805
783
  * @throws {RequiredError}
806
784
  */
807
- gitGetStatus: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
785
+ gitGetStatus: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
808
786
  // verify required parameter 'workspaceId' is not null or undefined
809
787
  assertParamExists('gitGetStatus', 'workspaceId', workspaceId);
810
788
  // verify required parameter 'path' is not null or undefined
811
789
  assertParamExists('gitGetStatus', 'path', path);
812
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`
813
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
790
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/status`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
814
791
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
815
792
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
816
793
  let baseOptions;
@@ -822,7 +799,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
822
799
  const localVarQueryParameter = {};
823
800
  // authentication oauth2 required
824
801
  // oauth required
825
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
802
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
826
803
  if (path !== undefined) {
827
804
  localVarQueryParameter['path'] = path;
828
805
  }
@@ -836,7 +813,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
836
813
  url: toPathString(localVarUrlObj),
837
814
  options: localVarRequestOptions,
838
815
  };
839
- }),
816
+ },
840
817
  /**
841
818
  * Get branch list from git repository
842
819
  * @summary Get branch list
@@ -846,13 +823,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
846
823
  * @param {*} [options] Override http request option.
847
824
  * @throws {RequiredError}
848
825
  */
849
- gitListBranches: (workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, options = {}) {
826
+ gitListBranches: async (workspaceId, path, xDaytonaOrganizationID, options = {}) => {
850
827
  // verify required parameter 'workspaceId' is not null or undefined
851
828
  assertParamExists('gitListBranches', 'workspaceId', workspaceId);
852
829
  // verify required parameter 'path' is not null or undefined
853
830
  assertParamExists('gitListBranches', 'path', path);
854
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`
855
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
831
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/branches`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
856
832
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
857
833
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
858
834
  let baseOptions;
@@ -864,7 +840,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
864
840
  const localVarQueryParameter = {};
865
841
  // authentication oauth2 required
866
842
  // oauth required
867
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
843
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
868
844
  if (path !== undefined) {
869
845
  localVarQueryParameter['path'] = path;
870
846
  }
@@ -878,7 +854,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
878
854
  url: toPathString(localVarUrlObj),
879
855
  options: localVarRequestOptions,
880
856
  };
881
- }),
857
+ },
882
858
  /**
883
859
  * Pull changes from remote
884
860
  * @summary Pull changes
@@ -888,13 +864,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
888
864
  * @param {*} [options] Override http request option.
889
865
  * @throws {RequiredError}
890
866
  */
891
- gitPullChanges: (workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) {
867
+ gitPullChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
892
868
  // verify required parameter 'workspaceId' is not null or undefined
893
869
  assertParamExists('gitPullChanges', 'workspaceId', workspaceId);
894
870
  // verify required parameter 'gitRepoRequest' is not null or undefined
895
871
  assertParamExists('gitPullChanges', 'gitRepoRequest', gitRepoRequest);
896
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`
897
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
872
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/pull`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
898
873
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
899
874
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
900
875
  let baseOptions;
@@ -906,11 +881,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
906
881
  const localVarQueryParameter = {};
907
882
  // authentication oauth2 required
908
883
  // oauth required
909
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
884
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
885
+ localVarHeaderParameter['Content-Type'] = 'application/json';
910
886
  if (xDaytonaOrganizationID != null) {
911
887
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
912
888
  }
913
- localVarHeaderParameter['Content-Type'] = 'application/json';
914
889
  setSearchParams(localVarUrlObj, localVarQueryParameter);
915
890
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
916
891
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -919,7 +894,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
919
894
  url: toPathString(localVarUrlObj),
920
895
  options: localVarRequestOptions,
921
896
  };
922
- }),
897
+ },
923
898
  /**
924
899
  * Push changes to remote
925
900
  * @summary Push changes
@@ -929,13 +904,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
929
904
  * @param {*} [options] Override http request option.
930
905
  * @throws {RequiredError}
931
906
  */
932
- gitPushChanges: (workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, gitRepoRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) {
907
+ gitPushChanges: async (workspaceId, gitRepoRequest, xDaytonaOrganizationID, options = {}) => {
933
908
  // verify required parameter 'workspaceId' is not null or undefined
934
909
  assertParamExists('gitPushChanges', 'workspaceId', workspaceId);
935
910
  // verify required parameter 'gitRepoRequest' is not null or undefined
936
911
  assertParamExists('gitPushChanges', 'gitRepoRequest', gitRepoRequest);
937
- const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`
938
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
912
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/git/push`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
939
913
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
940
914
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
941
915
  let baseOptions;
@@ -947,11 +921,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
947
921
  const localVarQueryParameter = {};
948
922
  // authentication oauth2 required
949
923
  // oauth required
950
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
924
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
925
+ localVarHeaderParameter['Content-Type'] = 'application/json';
951
926
  if (xDaytonaOrganizationID != null) {
952
927
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
953
928
  }
954
- localVarHeaderParameter['Content-Type'] = 'application/json';
955
929
  setSearchParams(localVarUrlObj, localVarQueryParameter);
956
930
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
957
931
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -960,7 +934,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
960
934
  url: toPathString(localVarUrlObj),
961
935
  options: localVarRequestOptions,
962
936
  };
963
- }),
937
+ },
964
938
  /**
965
939
  *
966
940
  * @summary List files
@@ -970,11 +944,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
970
944
  * @param {*} [options] Override http request option.
971
945
  * @throws {RequiredError}
972
946
  */
973
- listFiles: (workspaceId_1, xDaytonaOrganizationID_1, path_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, path_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, path, options = {}) {
947
+ listFiles: async (workspaceId, xDaytonaOrganizationID, path, options = {}) => {
974
948
  // verify required parameter 'workspaceId' is not null or undefined
975
949
  assertParamExists('listFiles', 'workspaceId', workspaceId);
976
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
977
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
950
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
978
951
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
979
952
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
980
953
  let baseOptions;
@@ -986,7 +959,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
986
959
  const localVarQueryParameter = {};
987
960
  // authentication oauth2 required
988
961
  // oauth required
989
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
962
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
990
963
  if (path !== undefined) {
991
964
  localVarQueryParameter['path'] = path;
992
965
  }
@@ -1000,7 +973,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1000
973
  url: toPathString(localVarUrlObj),
1001
974
  options: localVarRequestOptions,
1002
975
  };
1003
- }),
976
+ },
1004
977
  /**
1005
978
  * List all active sessions in the workspace
1006
979
  * @summary List sessions
@@ -1009,11 +982,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1009
982
  * @param {*} [options] Override http request option.
1010
983
  * @throws {RequiredError}
1011
984
  */
1012
- listSessions: (workspaceId_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, xDaytonaOrganizationID, options = {}) {
985
+ listSessions: async (workspaceId, xDaytonaOrganizationID, options = {}) => {
1013
986
  // verify required parameter 'workspaceId' is not null or undefined
1014
987
  assertParamExists('listSessions', 'workspaceId', workspaceId);
1015
- const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
1016
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
988
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1017
989
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1018
990
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1019
991
  let baseOptions;
@@ -1025,7 +997,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1025
997
  const localVarQueryParameter = {};
1026
998
  // authentication oauth2 required
1027
999
  // oauth required
1028
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1000
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1029
1001
  if (xDaytonaOrganizationID != null) {
1030
1002
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1031
1003
  }
@@ -1036,7 +1008,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1036
1008
  url: toPathString(localVarUrlObj),
1037
1009
  options: localVarRequestOptions,
1038
1010
  };
1039
- }),
1011
+ },
1040
1012
  /**
1041
1013
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
1042
1014
  * @summary Get Lsp Completions
@@ -1046,13 +1018,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1046
1018
  * @param {*} [options] Override http request option.
1047
1019
  * @throws {RequiredError}
1048
1020
  */
1049
- lspCompletions: (workspaceId_1, lspCompletionParams_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspCompletionParams_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspCompletionParams, xDaytonaOrganizationID, options = {}) {
1021
+ lspCompletions: async (workspaceId, lspCompletionParams, xDaytonaOrganizationID, options = {}) => {
1050
1022
  // verify required parameter 'workspaceId' is not null or undefined
1051
1023
  assertParamExists('lspCompletions', 'workspaceId', workspaceId);
1052
1024
  // verify required parameter 'lspCompletionParams' is not null or undefined
1053
1025
  assertParamExists('lspCompletions', 'lspCompletionParams', lspCompletionParams);
1054
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`
1055
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1026
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1056
1027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1057
1028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1058
1029
  let baseOptions;
@@ -1064,11 +1035,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1064
1035
  const localVarQueryParameter = {};
1065
1036
  // authentication oauth2 required
1066
1037
  // oauth required
1067
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1038
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1039
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1068
1040
  if (xDaytonaOrganizationID != null) {
1069
1041
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1070
1042
  }
1071
- localVarHeaderParameter['Content-Type'] = 'application/json';
1072
1043
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1073
1044
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1074
1045
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1077,7 +1048,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1077
1048
  url: toPathString(localVarUrlObj),
1078
1049
  options: localVarRequestOptions,
1079
1050
  };
1080
- }),
1051
+ },
1081
1052
  /**
1082
1053
  * The document close notification is sent from the client to the server when the document got closed in the client.
1083
1054
  * @summary Call Lsp DidClose
@@ -1087,13 +1058,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1087
1058
  * @param {*} [options] Override http request option.
1088
1059
  * @throws {RequiredError}
1089
1060
  */
1090
- lspDidClose: (workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) {
1061
+ lspDidClose: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
1091
1062
  // verify required parameter 'workspaceId' is not null or undefined
1092
1063
  assertParamExists('lspDidClose', 'workspaceId', workspaceId);
1093
1064
  // verify required parameter 'lspDocumentRequest' is not null or undefined
1094
1065
  assertParamExists('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
1095
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`
1096
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1066
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1097
1067
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1098
1068
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1099
1069
  let baseOptions;
@@ -1105,11 +1075,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1105
1075
  const localVarQueryParameter = {};
1106
1076
  // authentication oauth2 required
1107
1077
  // oauth required
1108
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1078
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1079
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1109
1080
  if (xDaytonaOrganizationID != null) {
1110
1081
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1111
1082
  }
1112
- localVarHeaderParameter['Content-Type'] = 'application/json';
1113
1083
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1114
1084
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1115
1085
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1118,7 +1088,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1118
1088
  url: toPathString(localVarUrlObj),
1119
1089
  options: localVarRequestOptions,
1120
1090
  };
1121
- }),
1091
+ },
1122
1092
  /**
1123
1093
  * The document open notification is sent from the client to the server to signal newly opened text documents.
1124
1094
  * @summary Call Lsp DidOpen
@@ -1128,13 +1098,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1128
1098
  * @param {*} [options] Override http request option.
1129
1099
  * @throws {RequiredError}
1130
1100
  */
1131
- lspDidOpen: (workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) {
1101
+ lspDidOpen: async (workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options = {}) => {
1132
1102
  // verify required parameter 'workspaceId' is not null or undefined
1133
1103
  assertParamExists('lspDidOpen', 'workspaceId', workspaceId);
1134
1104
  // verify required parameter 'lspDocumentRequest' is not null or undefined
1135
1105
  assertParamExists('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
1136
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`
1137
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1106
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1138
1107
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1139
1108
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1140
1109
  let baseOptions;
@@ -1146,11 +1115,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1146
1115
  const localVarQueryParameter = {};
1147
1116
  // authentication oauth2 required
1148
1117
  // oauth required
1149
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1118
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1119
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1150
1120
  if (xDaytonaOrganizationID != null) {
1151
1121
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1152
1122
  }
1153
- localVarHeaderParameter['Content-Type'] = 'application/json';
1154
1123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1155
1124
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1156
1125
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1159,7 +1128,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1159
1128
  url: toPathString(localVarUrlObj),
1160
1129
  options: localVarRequestOptions,
1161
1130
  };
1162
- }),
1131
+ },
1163
1132
  /**
1164
1133
  * The document symbol request is sent from the client to the server.
1165
1134
  * @summary Call Lsp DocumentSymbols
@@ -1171,7 +1140,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1171
1140
  * @param {*} [options] Override http request option.
1172
1141
  * @throws {RequiredError}
1173
1142
  */
1174
- lspDocumentSymbols: (workspaceId_1, languageId_1, pathToProject_1, uri_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, uri_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) {
1143
+ lspDocumentSymbols: async (workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options = {}) => {
1175
1144
  // verify required parameter 'workspaceId' is not null or undefined
1176
1145
  assertParamExists('lspDocumentSymbols', 'workspaceId', workspaceId);
1177
1146
  // verify required parameter 'languageId' is not null or undefined
@@ -1180,8 +1149,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1180
1149
  assertParamExists('lspDocumentSymbols', 'pathToProject', pathToProject);
1181
1150
  // verify required parameter 'uri' is not null or undefined
1182
1151
  assertParamExists('lspDocumentSymbols', 'uri', uri);
1183
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`
1184
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1152
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1185
1153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1186
1154
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1187
1155
  let baseOptions;
@@ -1193,7 +1161,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1193
1161
  const localVarQueryParameter = {};
1194
1162
  // authentication oauth2 required
1195
1163
  // oauth required
1196
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1164
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1197
1165
  if (languageId !== undefined) {
1198
1166
  localVarQueryParameter['languageId'] = languageId;
1199
1167
  }
@@ -1213,7 +1181,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1213
1181
  url: toPathString(localVarUrlObj),
1214
1182
  options: localVarRequestOptions,
1215
1183
  };
1216
- }),
1184
+ },
1217
1185
  /**
1218
1186
  * Start Lsp server process inside workspace project
1219
1187
  * @summary Start Lsp server
@@ -1223,13 +1191,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1223
1191
  * @param {*} [options] Override http request option.
1224
1192
  * @throws {RequiredError}
1225
1193
  */
1226
- lspStart: (workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) {
1194
+ lspStart: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
1227
1195
  // verify required parameter 'workspaceId' is not null or undefined
1228
1196
  assertParamExists('lspStart', 'workspaceId', workspaceId);
1229
1197
  // verify required parameter 'lspServerRequest' is not null or undefined
1230
1198
  assertParamExists('lspStart', 'lspServerRequest', lspServerRequest);
1231
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`
1232
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1199
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1233
1200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1234
1201
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1235
1202
  let baseOptions;
@@ -1241,11 +1208,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1241
1208
  const localVarQueryParameter = {};
1242
1209
  // authentication oauth2 required
1243
1210
  // oauth required
1244
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1211
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1212
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1245
1213
  if (xDaytonaOrganizationID != null) {
1246
1214
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1247
1215
  }
1248
- localVarHeaderParameter['Content-Type'] = 'application/json';
1249
1216
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1250
1217
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1251
1218
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1254,7 +1221,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1254
1221
  url: toPathString(localVarUrlObj),
1255
1222
  options: localVarRequestOptions,
1256
1223
  };
1257
- }),
1224
+ },
1258
1225
  /**
1259
1226
  * Stop Lsp server process inside workspace project
1260
1227
  * @summary Stop Lsp server
@@ -1264,13 +1231,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1264
1231
  * @param {*} [options] Override http request option.
1265
1232
  * @throws {RequiredError}
1266
1233
  */
1267
- lspStop: (workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) {
1234
+ lspStop: async (workspaceId, lspServerRequest, xDaytonaOrganizationID, options = {}) => {
1268
1235
  // verify required parameter 'workspaceId' is not null or undefined
1269
1236
  assertParamExists('lspStop', 'workspaceId', workspaceId);
1270
1237
  // verify required parameter 'lspServerRequest' is not null or undefined
1271
1238
  assertParamExists('lspStop', 'lspServerRequest', lspServerRequest);
1272
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`
1273
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1239
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1274
1240
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1275
1241
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1276
1242
  let baseOptions;
@@ -1282,11 +1248,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1282
1248
  const localVarQueryParameter = {};
1283
1249
  // authentication oauth2 required
1284
1250
  // oauth required
1285
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1251
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1286
1253
  if (xDaytonaOrganizationID != null) {
1287
1254
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1288
1255
  }
1289
- localVarHeaderParameter['Content-Type'] = 'application/json';
1290
1256
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1291
1257
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1292
1258
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1295,7 +1261,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1295
1261
  url: toPathString(localVarUrlObj),
1296
1262
  options: localVarRequestOptions,
1297
1263
  };
1298
- }),
1264
+ },
1299
1265
  /**
1300
1266
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
1301
1267
  * @summary Call Lsp WorkspaceSymbols
@@ -1307,7 +1273,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1307
1273
  * @param {*} [options] Override http request option.
1308
1274
  * @throws {RequiredError}
1309
1275
  */
1310
- lspWorkspaceSymbols: (workspaceId_1, languageId_1, pathToProject_1, query_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, query_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) {
1276
+ lspWorkspaceSymbols: async (workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options = {}) => {
1311
1277
  // verify required parameter 'workspaceId' is not null or undefined
1312
1278
  assertParamExists('lspWorkspaceSymbols', 'workspaceId', workspaceId);
1313
1279
  // verify required parameter 'languageId' is not null or undefined
@@ -1316,8 +1282,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1316
1282
  assertParamExists('lspWorkspaceSymbols', 'pathToProject', pathToProject);
1317
1283
  // verify required parameter 'query' is not null or undefined
1318
1284
  assertParamExists('lspWorkspaceSymbols', 'query', query);
1319
- const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`
1320
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1285
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1321
1286
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1322
1287
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1323
1288
  let baseOptions;
@@ -1329,7 +1294,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1329
1294
  const localVarQueryParameter = {};
1330
1295
  // authentication oauth2 required
1331
1296
  // oauth required
1332
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1297
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1333
1298
  if (languageId !== undefined) {
1334
1299
  localVarQueryParameter['languageId'] = languageId;
1335
1300
  }
@@ -1349,7 +1314,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1349
1314
  url: toPathString(localVarUrlObj),
1350
1315
  options: localVarRequestOptions,
1351
1316
  };
1352
- }),
1317
+ },
1353
1318
  /**
1354
1319
  * Move file inside workspace
1355
1320
  * @summary Move file
@@ -1360,15 +1325,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1360
1325
  * @param {*} [options] Override http request option.
1361
1326
  * @throws {RequiredError}
1362
1327
  */
1363
- moveFile: (workspaceId_1, source_1, destination_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, source_1, destination_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, source, destination, xDaytonaOrganizationID, options = {}) {
1328
+ moveFile: async (workspaceId, source, destination, xDaytonaOrganizationID, options = {}) => {
1364
1329
  // verify required parameter 'workspaceId' is not null or undefined
1365
1330
  assertParamExists('moveFile', 'workspaceId', workspaceId);
1366
1331
  // verify required parameter 'source' is not null or undefined
1367
1332
  assertParamExists('moveFile', 'source', source);
1368
1333
  // verify required parameter 'destination' is not null or undefined
1369
1334
  assertParamExists('moveFile', 'destination', destination);
1370
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`
1371
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1335
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/move`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1372
1336
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1373
1337
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1374
1338
  let baseOptions;
@@ -1380,7 +1344,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1380
1344
  const localVarQueryParameter = {};
1381
1345
  // authentication oauth2 required
1382
1346
  // oauth required
1383
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1347
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1384
1348
  if (source !== undefined) {
1385
1349
  localVarQueryParameter['source'] = source;
1386
1350
  }
@@ -1397,7 +1361,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1397
1361
  url: toPathString(localVarUrlObj),
1398
1362
  options: localVarRequestOptions,
1399
1363
  };
1400
- }),
1364
+ },
1401
1365
  /**
1402
1366
  * Replace text/pattern in multiple files inside workspace
1403
1367
  * @summary Replace in files
@@ -1407,13 +1371,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1407
1371
  * @param {*} [options] Override http request option.
1408
1372
  * @throws {RequiredError}
1409
1373
  */
1410
- replaceInFiles: (workspaceId_1, replaceRequest_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, replaceRequest_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, replaceRequest, xDaytonaOrganizationID, options = {}) {
1374
+ replaceInFiles: async (workspaceId, replaceRequest, xDaytonaOrganizationID, options = {}) => {
1411
1375
  // verify required parameter 'workspaceId' is not null or undefined
1412
1376
  assertParamExists('replaceInFiles', 'workspaceId', workspaceId);
1413
1377
  // verify required parameter 'replaceRequest' is not null or undefined
1414
1378
  assertParamExists('replaceInFiles', 'replaceRequest', replaceRequest);
1415
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`
1416
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1379
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/replace`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1417
1380
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1418
1381
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1419
1382
  let baseOptions;
@@ -1425,11 +1388,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1425
1388
  const localVarQueryParameter = {};
1426
1389
  // authentication oauth2 required
1427
1390
  // oauth required
1428
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1391
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1392
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1429
1393
  if (xDaytonaOrganizationID != null) {
1430
1394
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1431
1395
  }
1432
- localVarHeaderParameter['Content-Type'] = 'application/json';
1433
1396
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1434
1397
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1435
1398
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1438,7 +1401,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1438
1401
  url: toPathString(localVarUrlObj),
1439
1402
  options: localVarRequestOptions,
1440
1403
  };
1441
- }),
1404
+ },
1442
1405
  /**
1443
1406
  * Search for files inside workspace
1444
1407
  * @summary Search files
@@ -1449,15 +1412,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1449
1412
  * @param {*} [options] Override http request option.
1450
1413
  * @throws {RequiredError}
1451
1414
  */
1452
- searchFiles: (workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, pattern_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) {
1415
+ searchFiles: async (workspaceId, path, pattern, xDaytonaOrganizationID, options = {}) => {
1453
1416
  // verify required parameter 'workspaceId' is not null or undefined
1454
1417
  assertParamExists('searchFiles', 'workspaceId', workspaceId);
1455
1418
  // verify required parameter 'path' is not null or undefined
1456
1419
  assertParamExists('searchFiles', 'path', path);
1457
1420
  // verify required parameter 'pattern' is not null or undefined
1458
1421
  assertParamExists('searchFiles', 'pattern', pattern);
1459
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`
1460
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1422
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/search`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1461
1423
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1462
1424
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1463
1425
  let baseOptions;
@@ -1469,7 +1431,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1469
1431
  const localVarQueryParameter = {};
1470
1432
  // authentication oauth2 required
1471
1433
  // oauth required
1472
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1434
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1473
1435
  if (path !== undefined) {
1474
1436
  localVarQueryParameter['path'] = path;
1475
1437
  }
@@ -1486,7 +1448,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1486
1448
  url: toPathString(localVarUrlObj),
1487
1449
  options: localVarRequestOptions,
1488
1450
  };
1489
- }),
1451
+ },
1490
1452
  /**
1491
1453
  * Set file owner/group/permissions inside workspace
1492
1454
  * @summary Set file permissions
@@ -1499,13 +1461,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1499
1461
  * @param {*} [options] Override http request option.
1500
1462
  * @throws {RequiredError}
1501
1463
  */
1502
- setFilePermissions: (workspaceId_1, path_1, xDaytonaOrganizationID_1, owner_1, group_1, mode_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, owner_1, group_1, mode_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) {
1464
+ setFilePermissions: async (workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options = {}) => {
1503
1465
  // verify required parameter 'workspaceId' is not null or undefined
1504
1466
  assertParamExists('setFilePermissions', 'workspaceId', workspaceId);
1505
1467
  // verify required parameter 'path' is not null or undefined
1506
1468
  assertParamExists('setFilePermissions', 'path', path);
1507
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`
1508
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1469
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/permissions`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1509
1470
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1510
1471
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1511
1472
  let baseOptions;
@@ -1517,7 +1478,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1517
1478
  const localVarQueryParameter = {};
1518
1479
  // authentication oauth2 required
1519
1480
  // oauth required
1520
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1481
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1521
1482
  if (path !== undefined) {
1522
1483
  localVarQueryParameter['path'] = path;
1523
1484
  }
@@ -1540,7 +1501,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1540
1501
  url: toPathString(localVarUrlObj),
1541
1502
  options: localVarRequestOptions,
1542
1503
  };
1543
- }),
1504
+ },
1544
1505
  /**
1545
1506
  * Upload file inside workspace
1546
1507
  * @summary Upload file
@@ -1551,13 +1512,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1551
1512
  * @param {*} [options] Override http request option.
1552
1513
  * @throws {RequiredError}
1553
1514
  */
1554
- uploadFile: (workspaceId_1, path_1, xDaytonaOrganizationID_1, file_1, ...args_1) => __awaiter(this, [workspaceId_1, path_1, xDaytonaOrganizationID_1, file_1, ...args_1], void 0, function* (workspaceId, path, xDaytonaOrganizationID, file, options = {}) {
1515
+ uploadFile: async (workspaceId, path, xDaytonaOrganizationID, file, options = {}) => {
1555
1516
  // verify required parameter 'workspaceId' is not null or undefined
1556
1517
  assertParamExists('uploadFile', 'workspaceId', workspaceId);
1557
1518
  // verify required parameter 'path' is not null or undefined
1558
1519
  assertParamExists('uploadFile', 'path', path);
1559
- const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`
1560
- .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1520
+ const localVarPath = `/toolbox/{workspaceId}/toolbox/files/upload`.replace(`{${'workspaceId'}}`, encodeURIComponent(String(workspaceId)));
1561
1521
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1562
1522
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1563
1523
  let baseOptions;
@@ -1570,17 +1530,17 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1570
1530
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
1571
1531
  // authentication oauth2 required
1572
1532
  // oauth required
1573
- yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
1533
+ await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
1574
1534
  if (path !== undefined) {
1575
1535
  localVarQueryParameter['path'] = path;
1576
1536
  }
1577
- if (xDaytonaOrganizationID != null) {
1578
- localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1579
- }
1580
1537
  if (file !== undefined) {
1581
1538
  localVarFormParams.append('file', file);
1582
1539
  }
1583
1540
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
1541
+ if (xDaytonaOrganizationID != null) {
1542
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
1543
+ }
1584
1544
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1585
1545
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1586
1546
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1589,7 +1549,7 @@ export const ToolboxApiAxiosParamCreator = function (configuration) {
1589
1549
  url: toPathString(localVarUrlObj),
1590
1550
  options: localVarRequestOptions,
1591
1551
  };
1592
- }),
1552
+ },
1593
1553
  };
1594
1554
  };
1595
1555
  /**
@@ -1609,14 +1569,12 @@ export const ToolboxApiFp = function (configuration) {
1609
1569
  * @param {*} [options] Override http request option.
1610
1570
  * @throws {RequiredError}
1611
1571
  */
1612
- createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
1613
- return __awaiter(this, void 0, void 0, function* () {
1614
- var _a, _b, _c;
1615
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
1616
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1617
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1618
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1619
- });
1572
+ async createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
1573
+ var _a, _b, _c;
1574
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
1575
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1576
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createFolder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1577
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1620
1578
  },
1621
1579
  /**
1622
1580
  * Create a new session in the workspace
@@ -1627,14 +1585,12 @@ export const ToolboxApiFp = function (configuration) {
1627
1585
  * @param {*} [options] Override http request option.
1628
1586
  * @throws {RequiredError}
1629
1587
  */
1630
- createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
1631
- return __awaiter(this, void 0, void 0, function* () {
1632
- var _a, _b, _c;
1633
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
1634
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1635
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1636
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1637
- });
1588
+ async createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
1589
+ var _a, _b, _c;
1590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
1591
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1592
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.createSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1593
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1638
1594
  },
1639
1595
  /**
1640
1596
  * Delete file inside workspace
@@ -1645,14 +1601,12 @@ export const ToolboxApiFp = function (configuration) {
1645
1601
  * @param {*} [options] Override http request option.
1646
1602
  * @throws {RequiredError}
1647
1603
  */
1648
- deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
1649
- return __awaiter(this, void 0, void 0, function* () {
1650
- var _a, _b, _c;
1651
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
1652
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1653
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1654
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1655
- });
1604
+ async deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
1605
+ var _a, _b, _c;
1606
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
1607
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1608
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1609
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1656
1610
  },
1657
1611
  /**
1658
1612
  * Delete a specific session
@@ -1663,14 +1617,12 @@ export const ToolboxApiFp = function (configuration) {
1663
1617
  * @param {*} [options] Override http request option.
1664
1618
  * @throws {RequiredError}
1665
1619
  */
1666
- deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1667
- return __awaiter(this, void 0, void 0, function* () {
1668
- var _a, _b, _c;
1669
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1670
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1671
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1672
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1673
- });
1620
+ async deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1621
+ var _a, _b, _c;
1622
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1623
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1624
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.deleteSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1674
1626
  },
1675
1627
  /**
1676
1628
  * Download file from workspace
@@ -1681,14 +1633,12 @@ export const ToolboxApiFp = function (configuration) {
1681
1633
  * @param {*} [options] Override http request option.
1682
1634
  * @throws {RequiredError}
1683
1635
  */
1684
- downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
1685
- return __awaiter(this, void 0, void 0, function* () {
1686
- var _a, _b, _c;
1687
- const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
1688
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1689
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1690
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1691
- });
1636
+ async downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
1637
+ var _a, _b, _c;
1638
+ const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
1639
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1640
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.downloadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1641
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1692
1642
  },
1693
1643
  /**
1694
1644
  * Execute command synchronously inside workspace
@@ -1699,14 +1649,12 @@ export const ToolboxApiFp = function (configuration) {
1699
1649
  * @param {*} [options] Override http request option.
1700
1650
  * @throws {RequiredError}
1701
1651
  */
1702
- executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
1703
- return __awaiter(this, void 0, void 0, function* () {
1704
- var _a, _b, _c;
1705
- const localVarAxiosArgs = yield localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
1706
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1707
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1708
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1709
- });
1652
+ async executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
1653
+ var _a, _b, _c;
1654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
1655
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1656
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1657
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1710
1658
  },
1711
1659
  /**
1712
1660
  * Execute a command in a specific session
@@ -1718,14 +1666,12 @@ export const ToolboxApiFp = function (configuration) {
1718
1666
  * @param {*} [options] Override http request option.
1719
1667
  * @throws {RequiredError}
1720
1668
  */
1721
- executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
1722
- return __awaiter(this, void 0, void 0, function* () {
1723
- var _a, _b, _c;
1724
- const localVarAxiosArgs = yield localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
1725
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1726
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1727
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1728
- });
1669
+ async executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
1670
+ var _a, _b, _c;
1671
+ const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
1672
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1673
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.executeSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1674
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1729
1675
  },
1730
1676
  /**
1731
1677
  * Search for text/pattern inside workspace files
@@ -1737,14 +1683,12 @@ export const ToolboxApiFp = function (configuration) {
1737
1683
  * @param {*} [options] Override http request option.
1738
1684
  * @throws {RequiredError}
1739
1685
  */
1740
- findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
1741
- return __awaiter(this, void 0, void 0, function* () {
1742
- var _a, _b, _c;
1743
- const localVarAxiosArgs = yield localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
1744
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1745
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1746
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1747
- });
1686
+ async findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
1687
+ var _a, _b, _c;
1688
+ const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
1689
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1690
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.findInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1691
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1748
1692
  },
1749
1693
  /**
1750
1694
  * Get file info inside workspace
@@ -1755,14 +1699,12 @@ export const ToolboxApiFp = function (configuration) {
1755
1699
  * @param {*} [options] Override http request option.
1756
1700
  * @throws {RequiredError}
1757
1701
  */
1758
- getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
1759
- return __awaiter(this, void 0, void 0, function* () {
1760
- var _a, _b, _c;
1761
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
1762
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1763
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1764
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1765
- });
1702
+ async getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
1703
+ var _a, _b, _c;
1704
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
1705
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1706
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getFileInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1707
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1766
1708
  },
1767
1709
  /**
1768
1710
  *
@@ -1772,14 +1714,12 @@ export const ToolboxApiFp = function (configuration) {
1772
1714
  * @param {*} [options] Override http request option.
1773
1715
  * @throws {RequiredError}
1774
1716
  */
1775
- getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
1776
- return __awaiter(this, void 0, void 0, function* () {
1777
- var _a, _b, _c;
1778
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
1779
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1780
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1781
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1782
- });
1717
+ async getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
1718
+ var _a, _b, _c;
1719
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
1720
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1721
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getProjectDir']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1722
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1783
1723
  },
1784
1724
  /**
1785
1725
  * Get session by ID
@@ -1790,14 +1730,12 @@ export const ToolboxApiFp = function (configuration) {
1790
1730
  * @param {*} [options] Override http request option.
1791
1731
  * @throws {RequiredError}
1792
1732
  */
1793
- getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1794
- return __awaiter(this, void 0, void 0, function* () {
1795
- var _a, _b, _c;
1796
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1797
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1798
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1799
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1800
- });
1733
+ async getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
1734
+ var _a, _b, _c;
1735
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
1736
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1737
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1738
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1801
1739
  },
1802
1740
  /**
1803
1741
  * Get session command by ID
@@ -1809,14 +1747,12 @@ export const ToolboxApiFp = function (configuration) {
1809
1747
  * @param {*} [options] Override http request option.
1810
1748
  * @throws {RequiredError}
1811
1749
  */
1812
- getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
1813
- return __awaiter(this, void 0, void 0, function* () {
1814
- var _a, _b, _c;
1815
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
1816
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1817
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1818
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1819
- });
1750
+ async getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
1751
+ var _a, _b, _c;
1752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, 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 = operationServerMap['ToolboxApi.getSessionCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1820
1756
  },
1821
1757
  /**
1822
1758
  * Get logs for a specific command in a session
@@ -1829,14 +1765,12 @@ export const ToolboxApiFp = function (configuration) {
1829
1765
  * @param {*} [options] Override http request option.
1830
1766
  * @throws {RequiredError}
1831
1767
  */
1832
- getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
1833
- return __awaiter(this, void 0, void 0, function* () {
1834
- var _a, _b, _c;
1835
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, 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.getSessionCommandLogs']) === 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
- });
1768
+ async getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
1769
+ var _a, _b, _c;
1770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
1771
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1772
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.getSessionCommandLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1773
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1840
1774
  },
1841
1775
  /**
1842
1776
  * Add files to git commit
@@ -1847,14 +1781,12 @@ export const ToolboxApiFp = function (configuration) {
1847
1781
  * @param {*} [options] Override http request option.
1848
1782
  * @throws {RequiredError}
1849
1783
  */
1850
- gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
1851
- return __awaiter(this, void 0, void 0, function* () {
1852
- var _a, _b, _c;
1853
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
1854
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1855
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1856
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1857
- });
1784
+ async gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
1785
+ var _a, _b, _c;
1786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, 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 = operationServerMap['ToolboxApi.gitAddFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1789
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1858
1790
  },
1859
1791
  /**
1860
1792
  * Clone git repository
@@ -1865,14 +1797,12 @@ export const ToolboxApiFp = function (configuration) {
1865
1797
  * @param {*} [options] Override http request option.
1866
1798
  * @throws {RequiredError}
1867
1799
  */
1868
- gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
1869
- return __awaiter(this, void 0, void 0, function* () {
1870
- var _a, _b, _c;
1871
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, 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.gitCloneRepository']) === 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
- });
1800
+ async gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
1801
+ var _a, _b, _c;
1802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
1803
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1804
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCloneRepository']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1805
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1876
1806
  },
1877
1807
  /**
1878
1808
  * Commit changes to git repository
@@ -1883,14 +1813,12 @@ export const ToolboxApiFp = function (configuration) {
1883
1813
  * @param {*} [options] Override http request option.
1884
1814
  * @throws {RequiredError}
1885
1815
  */
1886
- gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
1887
- return __awaiter(this, void 0, void 0, function* () {
1888
- var _a, _b, _c;
1889
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
1890
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1891
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCommitChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1892
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1893
- });
1816
+ async gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
1817
+ var _a, _b, _c;
1818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, 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.gitCommitChanges']) === 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);
1894
1822
  },
1895
1823
  /**
1896
1824
  * Create branch on git repository
@@ -1901,14 +1829,12 @@ export const ToolboxApiFp = function (configuration) {
1901
1829
  * @param {*} [options] Override http request option.
1902
1830
  * @throws {RequiredError}
1903
1831
  */
1904
- gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
1905
- return __awaiter(this, void 0, void 0, function* () {
1906
- var _a, _b, _c;
1907
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
1908
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1909
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1910
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1911
- });
1832
+ async gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
1833
+ var _a, _b, _c;
1834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
1835
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1836
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitCreateBranch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1912
1838
  },
1913
1839
  /**
1914
1840
  * Get commit history from git repository
@@ -1919,14 +1845,12 @@ export const ToolboxApiFp = function (configuration) {
1919
1845
  * @param {*} [options] Override http request option.
1920
1846
  * @throws {RequiredError}
1921
1847
  */
1922
- gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
1923
- return __awaiter(this, void 0, void 0, function* () {
1924
- var _a, _b, _c;
1925
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
1926
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1927
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1928
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1929
- });
1848
+ async gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
1849
+ var _a, _b, _c;
1850
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
1851
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1852
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1853
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1930
1854
  },
1931
1855
  /**
1932
1856
  * Get status from git repository
@@ -1937,14 +1861,12 @@ export const ToolboxApiFp = function (configuration) {
1937
1861
  * @param {*} [options] Override http request option.
1938
1862
  * @throws {RequiredError}
1939
1863
  */
1940
- gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
1941
- return __awaiter(this, void 0, void 0, function* () {
1942
- var _a, _b, _c;
1943
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
1944
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1945
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1946
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1947
- });
1864
+ async gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
1865
+ var _a, _b, _c;
1866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
1867
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1868
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitGetStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1948
1870
  },
1949
1871
  /**
1950
1872
  * Get branch list from git repository
@@ -1955,14 +1877,12 @@ export const ToolboxApiFp = function (configuration) {
1955
1877
  * @param {*} [options] Override http request option.
1956
1878
  * @throws {RequiredError}
1957
1879
  */
1958
- gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
1959
- return __awaiter(this, void 0, void 0, function* () {
1960
- var _a, _b, _c;
1961
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
1962
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1963
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1964
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1965
- });
1880
+ async gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
1881
+ var _a, _b, _c;
1882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
1883
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1884
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitListBranches']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1885
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1966
1886
  },
1967
1887
  /**
1968
1888
  * Pull changes from remote
@@ -1973,14 +1893,12 @@ export const ToolboxApiFp = function (configuration) {
1973
1893
  * @param {*} [options] Override http request option.
1974
1894
  * @throws {RequiredError}
1975
1895
  */
1976
- gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1977
- return __awaiter(this, void 0, void 0, function* () {
1978
- var _a, _b, _c;
1979
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1980
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1981
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1982
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1983
- });
1896
+ async gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1897
+ var _a, _b, _c;
1898
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1899
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1900
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPullChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1901
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1984
1902
  },
1985
1903
  /**
1986
1904
  * Push changes to remote
@@ -1991,14 +1909,12 @@ export const ToolboxApiFp = function (configuration) {
1991
1909
  * @param {*} [options] Override http request option.
1992
1910
  * @throws {RequiredError}
1993
1911
  */
1994
- gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1995
- return __awaiter(this, void 0, void 0, function* () {
1996
- var _a, _b, _c;
1997
- const localVarAxiosArgs = yield localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1998
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1999
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2000
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2001
- });
1912
+ async gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
1913
+ var _a, _b, _c;
1914
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
1915
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1916
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.gitPushChanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1917
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2002
1918
  },
2003
1919
  /**
2004
1920
  *
@@ -2009,14 +1925,12 @@ export const ToolboxApiFp = function (configuration) {
2009
1925
  * @param {*} [options] Override http request option.
2010
1926
  * @throws {RequiredError}
2011
1927
  */
2012
- listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
2013
- return __awaiter(this, void 0, void 0, function* () {
2014
- var _a, _b, _c;
2015
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
2016
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2017
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2018
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2019
- });
1928
+ async listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
1929
+ var _a, _b, _c;
1930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
1931
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1932
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1933
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2020
1934
  },
2021
1935
  /**
2022
1936
  * List all active sessions in the workspace
@@ -2026,14 +1940,12 @@ export const ToolboxApiFp = function (configuration) {
2026
1940
  * @param {*} [options] Override http request option.
2027
1941
  * @throws {RequiredError}
2028
1942
  */
2029
- listSessions(workspaceId, xDaytonaOrganizationID, options) {
2030
- return __awaiter(this, void 0, void 0, function* () {
2031
- var _a, _b, _c;
2032
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
2033
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2034
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2035
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2036
- });
1943
+ async listSessions(workspaceId, xDaytonaOrganizationID, options) {
1944
+ var _a, _b, _c;
1945
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
1946
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1947
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.listSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1948
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2037
1949
  },
2038
1950
  /**
2039
1951
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
@@ -2044,14 +1956,12 @@ export const ToolboxApiFp = function (configuration) {
2044
1956
  * @param {*} [options] Override http request option.
2045
1957
  * @throws {RequiredError}
2046
1958
  */
2047
- lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
2048
- return __awaiter(this, void 0, void 0, function* () {
2049
- var _a, _b, _c;
2050
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
2051
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2052
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2053
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2054
- });
1959
+ async lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
1960
+ var _a, _b, _c;
1961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
1962
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1963
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1964
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2055
1965
  },
2056
1966
  /**
2057
1967
  * The document close notification is sent from the client to the server when the document got closed in the client.
@@ -2062,14 +1972,12 @@ export const ToolboxApiFp = function (configuration) {
2062
1972
  * @param {*} [options] Override http request option.
2063
1973
  * @throws {RequiredError}
2064
1974
  */
2065
- lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2066
- return __awaiter(this, void 0, void 0, function* () {
2067
- var _a, _b, _c;
2068
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
2069
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2070
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2071
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2072
- });
1975
+ async lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
1976
+ var _a, _b, _c;
1977
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
1978
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1979
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1980
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2073
1981
  },
2074
1982
  /**
2075
1983
  * The document open notification is sent from the client to the server to signal newly opened text documents.
@@ -2080,14 +1988,12 @@ export const ToolboxApiFp = function (configuration) {
2080
1988
  * @param {*} [options] Override http request option.
2081
1989
  * @throws {RequiredError}
2082
1990
  */
2083
- lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2084
- return __awaiter(this, void 0, void 0, function* () {
2085
- var _a, _b, _c;
2086
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
2087
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2088
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2089
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2090
- });
1991
+ async lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
1992
+ var _a, _b, _c;
1993
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
1994
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1995
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1996
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2091
1997
  },
2092
1998
  /**
2093
1999
  * The document symbol request is sent from the client to the server.
@@ -2100,14 +2006,12 @@ export const ToolboxApiFp = function (configuration) {
2100
2006
  * @param {*} [options] Override http request option.
2101
2007
  * @throws {RequiredError}
2102
2008
  */
2103
- lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
2104
- return __awaiter(this, void 0, void 0, function* () {
2105
- var _a, _b, _c;
2106
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
2107
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2108
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2109
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2110
- });
2009
+ async lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
2010
+ var _a, _b, _c;
2011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
2012
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2013
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2014
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2111
2015
  },
2112
2016
  /**
2113
2017
  * Start Lsp server process inside workspace project
@@ -2118,14 +2022,12 @@ export const ToolboxApiFp = function (configuration) {
2118
2022
  * @param {*} [options] Override http request option.
2119
2023
  * @throws {RequiredError}
2120
2024
  */
2121
- lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2122
- return __awaiter(this, void 0, void 0, function* () {
2123
- var _a, _b, _c;
2124
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2125
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2126
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2127
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2128
- });
2025
+ async lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2026
+ var _a, _b, _c;
2027
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2028
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2029
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2030
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2129
2031
  },
2130
2032
  /**
2131
2033
  * Stop Lsp server process inside workspace project
@@ -2136,14 +2038,12 @@ export const ToolboxApiFp = function (configuration) {
2136
2038
  * @param {*} [options] Override http request option.
2137
2039
  * @throws {RequiredError}
2138
2040
  */
2139
- lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2140
- return __awaiter(this, void 0, void 0, function* () {
2141
- var _a, _b, _c;
2142
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2143
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2144
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2145
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2146
- });
2041
+ async lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2042
+ var _a, _b, _c;
2043
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
2044
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2045
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2046
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2147
2047
  },
2148
2048
  /**
2149
2049
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
@@ -2156,14 +2056,12 @@ export const ToolboxApiFp = function (configuration) {
2156
2056
  * @param {*} [options] Override http request option.
2157
2057
  * @throws {RequiredError}
2158
2058
  */
2159
- lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
2160
- return __awaiter(this, void 0, void 0, function* () {
2161
- var _a, _b, _c;
2162
- const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
2163
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2164
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2165
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2166
- });
2059
+ async lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
2060
+ var _a, _b, _c;
2061
+ const localVarAxiosArgs = await localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
2062
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2063
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2064
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2167
2065
  },
2168
2066
  /**
2169
2067
  * Move file inside workspace
@@ -2175,14 +2073,12 @@ export const ToolboxApiFp = function (configuration) {
2175
2073
  * @param {*} [options] Override http request option.
2176
2074
  * @throws {RequiredError}
2177
2075
  */
2178
- moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
2179
- return __awaiter(this, void 0, void 0, function* () {
2180
- var _a, _b, _c;
2181
- const localVarAxiosArgs = yield localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
2182
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2183
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2184
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2185
- });
2076
+ async moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
2077
+ var _a, _b, _c;
2078
+ const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
2079
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2080
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.moveFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2081
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2186
2082
  },
2187
2083
  /**
2188
2084
  * Replace text/pattern in multiple files inside workspace
@@ -2193,14 +2089,12 @@ export const ToolboxApiFp = function (configuration) {
2193
2089
  * @param {*} [options] Override http request option.
2194
2090
  * @throws {RequiredError}
2195
2091
  */
2196
- replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
2197
- return __awaiter(this, void 0, void 0, function* () {
2198
- var _a, _b, _c;
2199
- const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
2200
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2201
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2202
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2203
- });
2092
+ async replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
2093
+ var _a, _b, _c;
2094
+ const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
2095
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2096
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.replaceInFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2097
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2204
2098
  },
2205
2099
  /**
2206
2100
  * Search for files inside workspace
@@ -2212,14 +2106,12 @@ export const ToolboxApiFp = function (configuration) {
2212
2106
  * @param {*} [options] Override http request option.
2213
2107
  * @throws {RequiredError}
2214
2108
  */
2215
- searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2216
- return __awaiter(this, void 0, void 0, function* () {
2217
- var _a, _b, _c;
2218
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
2219
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2220
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2221
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2222
- });
2109
+ async searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2110
+ var _a, _b, _c;
2111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
2112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2113
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.searchFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2114
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2223
2115
  },
2224
2116
  /**
2225
2117
  * Set file owner/group/permissions inside workspace
@@ -2233,14 +2125,12 @@ export const ToolboxApiFp = function (configuration) {
2233
2125
  * @param {*} [options] Override http request option.
2234
2126
  * @throws {RequiredError}
2235
2127
  */
2236
- setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
2237
- return __awaiter(this, void 0, void 0, function* () {
2238
- var _a, _b, _c;
2239
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
2240
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2241
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2242
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2243
- });
2128
+ async setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
2129
+ var _a, _b, _c;
2130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
2131
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2132
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.setFilePermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2133
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2244
2134
  },
2245
2135
  /**
2246
2136
  * Upload file inside workspace
@@ -2252,14 +2142,12 @@ export const ToolboxApiFp = function (configuration) {
2252
2142
  * @param {*} [options] Override http request option.
2253
2143
  * @throws {RequiredError}
2254
2144
  */
2255
- uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
2256
- return __awaiter(this, void 0, void 0, function* () {
2257
- var _a, _b, _c;
2258
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
2259
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2260
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2261
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2262
- });
2145
+ async uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
2146
+ var _a, _b, _c;
2147
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
2148
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2149
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ToolboxApi.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2150
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2263
2151
  },
2264
2152
  };
2265
2153
  };
@@ -2281,7 +2169,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2281
2169
  * @throws {RequiredError}
2282
2170
  */
2283
2171
  createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
2284
- return localVarFp.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2172
+ return localVarFp
2173
+ .createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options)
2174
+ .then((request) => request(axios, basePath));
2285
2175
  },
2286
2176
  /**
2287
2177
  * Create a new session in the workspace
@@ -2293,7 +2183,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2293
2183
  * @throws {RequiredError}
2294
2184
  */
2295
2185
  createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
2296
- return localVarFp.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2186
+ return localVarFp
2187
+ .createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options)
2188
+ .then((request) => request(axios, basePath));
2297
2189
  },
2298
2190
  /**
2299
2191
  * Delete file inside workspace
@@ -2305,7 +2197,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2305
2197
  * @throws {RequiredError}
2306
2198
  */
2307
2199
  deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
2308
- return localVarFp.deleteFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2200
+ return localVarFp
2201
+ .deleteFile(workspaceId, path, xDaytonaOrganizationID, options)
2202
+ .then((request) => request(axios, basePath));
2309
2203
  },
2310
2204
  /**
2311
2205
  * Delete a specific session
@@ -2317,7 +2211,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2317
2211
  * @throws {RequiredError}
2318
2212
  */
2319
2213
  deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
2320
- return localVarFp.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2214
+ return localVarFp
2215
+ .deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
2216
+ .then((request) => request(axios, basePath));
2321
2217
  },
2322
2218
  /**
2323
2219
  * Download file from workspace
@@ -2329,7 +2225,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2329
2225
  * @throws {RequiredError}
2330
2226
  */
2331
2227
  downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
2332
- return localVarFp.downloadFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2228
+ return localVarFp
2229
+ .downloadFile(workspaceId, path, xDaytonaOrganizationID, options)
2230
+ .then((request) => request(axios, basePath));
2333
2231
  },
2334
2232
  /**
2335
2233
  * Execute command synchronously inside workspace
@@ -2341,7 +2239,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2341
2239
  * @throws {RequiredError}
2342
2240
  */
2343
2241
  executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
2344
- return localVarFp.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2242
+ return localVarFp
2243
+ .executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options)
2244
+ .then((request) => request(axios, basePath));
2345
2245
  },
2346
2246
  /**
2347
2247
  * Execute a command in a specific session
@@ -2354,7 +2254,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2354
2254
  * @throws {RequiredError}
2355
2255
  */
2356
2256
  executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
2357
- return localVarFp.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2257
+ return localVarFp
2258
+ .executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
2259
+ .then((request) => request(axios, basePath));
2358
2260
  },
2359
2261
  /**
2360
2262
  * Search for text/pattern inside workspace files
@@ -2367,7 +2269,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2367
2269
  * @throws {RequiredError}
2368
2270
  */
2369
2271
  findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2370
- return localVarFp.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2272
+ return localVarFp
2273
+ .findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
2274
+ .then((request) => request(axios, basePath));
2371
2275
  },
2372
2276
  /**
2373
2277
  * Get file info inside workspace
@@ -2379,7 +2283,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2379
2283
  * @throws {RequiredError}
2380
2284
  */
2381
2285
  getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
2382
- return localVarFp.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2286
+ return localVarFp
2287
+ .getFileInfo(workspaceId, path, xDaytonaOrganizationID, options)
2288
+ .then((request) => request(axios, basePath));
2383
2289
  },
2384
2290
  /**
2385
2291
  *
@@ -2390,7 +2296,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2390
2296
  * @throws {RequiredError}
2391
2297
  */
2392
2298
  getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
2393
- return localVarFp.getProjectDir(workspaceId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2299
+ return localVarFp
2300
+ .getProjectDir(workspaceId, xDaytonaOrganizationID, options)
2301
+ .then((request) => request(axios, basePath));
2394
2302
  },
2395
2303
  /**
2396
2304
  * Get session by ID
@@ -2402,7 +2310,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2402
2310
  * @throws {RequiredError}
2403
2311
  */
2404
2312
  getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
2405
- return localVarFp.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2313
+ return localVarFp
2314
+ .getSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
2315
+ .then((request) => request(axios, basePath));
2406
2316
  },
2407
2317
  /**
2408
2318
  * Get session command by ID
@@ -2415,7 +2325,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2415
2325
  * @throws {RequiredError}
2416
2326
  */
2417
2327
  getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
2418
- return localVarFp.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2328
+ return localVarFp
2329
+ .getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options)
2330
+ .then((request) => request(axios, basePath));
2419
2331
  },
2420
2332
  /**
2421
2333
  * Get logs for a specific command in a session
@@ -2429,7 +2341,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2429
2341
  * @throws {RequiredError}
2430
2342
  */
2431
2343
  getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
2432
- return localVarFp.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options).then((request) => request(axios, basePath));
2344
+ return localVarFp
2345
+ .getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
2346
+ .then((request) => request(axios, basePath));
2433
2347
  },
2434
2348
  /**
2435
2349
  * Add files to git commit
@@ -2441,7 +2355,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2441
2355
  * @throws {RequiredError}
2442
2356
  */
2443
2357
  gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
2444
- return localVarFp.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2358
+ return localVarFp
2359
+ .gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options)
2360
+ .then((request) => request(axios, basePath));
2445
2361
  },
2446
2362
  /**
2447
2363
  * Clone git repository
@@ -2453,7 +2369,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2453
2369
  * @throws {RequiredError}
2454
2370
  */
2455
2371
  gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
2456
- return localVarFp.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2372
+ return localVarFp
2373
+ .gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options)
2374
+ .then((request) => request(axios, basePath));
2457
2375
  },
2458
2376
  /**
2459
2377
  * Commit changes to git repository
@@ -2465,7 +2383,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2465
2383
  * @throws {RequiredError}
2466
2384
  */
2467
2385
  gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
2468
- return localVarFp.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2386
+ return localVarFp
2387
+ .gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options)
2388
+ .then((request) => request(axios, basePath));
2469
2389
  },
2470
2390
  /**
2471
2391
  * Create branch on git repository
@@ -2477,7 +2397,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2477
2397
  * @throws {RequiredError}
2478
2398
  */
2479
2399
  gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
2480
- return localVarFp.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2400
+ return localVarFp
2401
+ .gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options)
2402
+ .then((request) => request(axios, basePath));
2481
2403
  },
2482
2404
  /**
2483
2405
  * Get commit history from git repository
@@ -2489,7 +2411,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2489
2411
  * @throws {RequiredError}
2490
2412
  */
2491
2413
  gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
2492
- return localVarFp.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2414
+ return localVarFp
2415
+ .gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options)
2416
+ .then((request) => request(axios, basePath));
2493
2417
  },
2494
2418
  /**
2495
2419
  * Get status from git repository
@@ -2501,7 +2425,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2501
2425
  * @throws {RequiredError}
2502
2426
  */
2503
2427
  gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
2504
- return localVarFp.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2428
+ return localVarFp
2429
+ .gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options)
2430
+ .then((request) => request(axios, basePath));
2505
2431
  },
2506
2432
  /**
2507
2433
  * Get branch list from git repository
@@ -2513,7 +2439,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2513
2439
  * @throws {RequiredError}
2514
2440
  */
2515
2441
  gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
2516
- return localVarFp.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2442
+ return localVarFp
2443
+ .gitListBranches(workspaceId, path, xDaytonaOrganizationID, options)
2444
+ .then((request) => request(axios, basePath));
2517
2445
  },
2518
2446
  /**
2519
2447
  * Pull changes from remote
@@ -2525,7 +2453,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2525
2453
  * @throws {RequiredError}
2526
2454
  */
2527
2455
  gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
2528
- return localVarFp.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2456
+ return localVarFp
2457
+ .gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
2458
+ .then((request) => request(axios, basePath));
2529
2459
  },
2530
2460
  /**
2531
2461
  * Push changes to remote
@@ -2537,7 +2467,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2537
2467
  * @throws {RequiredError}
2538
2468
  */
2539
2469
  gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
2540
- return localVarFp.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2470
+ return localVarFp
2471
+ .gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
2472
+ .then((request) => request(axios, basePath));
2541
2473
  },
2542
2474
  /**
2543
2475
  *
@@ -2549,7 +2481,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2549
2481
  * @throws {RequiredError}
2550
2482
  */
2551
2483
  listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
2552
- return localVarFp.listFiles(workspaceId, xDaytonaOrganizationID, path, options).then((request) => request(axios, basePath));
2484
+ return localVarFp
2485
+ .listFiles(workspaceId, xDaytonaOrganizationID, path, options)
2486
+ .then((request) => request(axios, basePath));
2553
2487
  },
2554
2488
  /**
2555
2489
  * List all active sessions in the workspace
@@ -2560,7 +2494,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2560
2494
  * @throws {RequiredError}
2561
2495
  */
2562
2496
  listSessions(workspaceId, xDaytonaOrganizationID, options) {
2563
- return localVarFp.listSessions(workspaceId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2497
+ return localVarFp
2498
+ .listSessions(workspaceId, xDaytonaOrganizationID, options)
2499
+ .then((request) => request(axios, basePath));
2564
2500
  },
2565
2501
  /**
2566
2502
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
@@ -2572,7 +2508,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2572
2508
  * @throws {RequiredError}
2573
2509
  */
2574
2510
  lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
2575
- return localVarFp.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2511
+ return localVarFp
2512
+ .lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options)
2513
+ .then((request) => request(axios, basePath));
2576
2514
  },
2577
2515
  /**
2578
2516
  * The document close notification is sent from the client to the server when the document got closed in the client.
@@ -2584,7 +2522,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2584
2522
  * @throws {RequiredError}
2585
2523
  */
2586
2524
  lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2587
- return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2525
+ return localVarFp
2526
+ .lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
2527
+ .then((request) => request(axios, basePath));
2588
2528
  },
2589
2529
  /**
2590
2530
  * The document open notification is sent from the client to the server to signal newly opened text documents.
@@ -2596,7 +2536,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2596
2536
  * @throws {RequiredError}
2597
2537
  */
2598
2538
  lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
2599
- return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2539
+ return localVarFp
2540
+ .lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
2541
+ .then((request) => request(axios, basePath));
2600
2542
  },
2601
2543
  /**
2602
2544
  * The document symbol request is sent from the client to the server.
@@ -2610,7 +2552,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2610
2552
  * @throws {RequiredError}
2611
2553
  */
2612
2554
  lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
2613
- return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2555
+ return localVarFp
2556
+ .lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
2557
+ .then((request) => request(axios, basePath));
2614
2558
  },
2615
2559
  /**
2616
2560
  * Start Lsp server process inside workspace project
@@ -2622,7 +2566,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2622
2566
  * @throws {RequiredError}
2623
2567
  */
2624
2568
  lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2625
- return localVarFp.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2569
+ return localVarFp
2570
+ .lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
2571
+ .then((request) => request(axios, basePath));
2626
2572
  },
2627
2573
  /**
2628
2574
  * Stop Lsp server process inside workspace project
@@ -2634,7 +2580,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2634
2580
  * @throws {RequiredError}
2635
2581
  */
2636
2582
  lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
2637
- return localVarFp.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2583
+ return localVarFp
2584
+ .lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
2585
+ .then((request) => request(axios, basePath));
2638
2586
  },
2639
2587
  /**
2640
2588
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
@@ -2648,7 +2596,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2648
2596
  * @throws {RequiredError}
2649
2597
  */
2650
2598
  lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
2651
- return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2599
+ return localVarFp
2600
+ .lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
2601
+ .then((request) => request(axios, basePath));
2652
2602
  },
2653
2603
  /**
2654
2604
  * Move file inside workspace
@@ -2661,7 +2611,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2661
2611
  * @throws {RequiredError}
2662
2612
  */
2663
2613
  moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
2664
- return localVarFp.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2614
+ return localVarFp
2615
+ .moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options)
2616
+ .then((request) => request(axios, basePath));
2665
2617
  },
2666
2618
  /**
2667
2619
  * Replace text/pattern in multiple files inside workspace
@@ -2673,7 +2625,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2673
2625
  * @throws {RequiredError}
2674
2626
  */
2675
2627
  replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
2676
- return localVarFp.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2628
+ return localVarFp
2629
+ .replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options)
2630
+ .then((request) => request(axios, basePath));
2677
2631
  },
2678
2632
  /**
2679
2633
  * Search for files inside workspace
@@ -2686,7 +2640,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2686
2640
  * @throws {RequiredError}
2687
2641
  */
2688
2642
  searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2689
- return localVarFp.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2643
+ return localVarFp
2644
+ .searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
2645
+ .then((request) => request(axios, basePath));
2690
2646
  },
2691
2647
  /**
2692
2648
  * Set file owner/group/permissions inside workspace
@@ -2701,7 +2657,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2701
2657
  * @throws {RequiredError}
2702
2658
  */
2703
2659
  setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
2704
- return localVarFp.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options).then((request) => request(axios, basePath));
2660
+ return localVarFp
2661
+ .setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options)
2662
+ .then((request) => request(axios, basePath));
2705
2663
  },
2706
2664
  /**
2707
2665
  * Upload file inside workspace
@@ -2714,7 +2672,9 @@ export const ToolboxApiFactory = function (configuration, basePath, axios) {
2714
2672
  * @throws {RequiredError}
2715
2673
  */
2716
2674
  uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
2717
- return localVarFp.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options).then((request) => request(axios, basePath));
2675
+ return localVarFp
2676
+ .uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options)
2677
+ .then((request) => request(axios, basePath));
2718
2678
  },
2719
2679
  };
2720
2680
  };
@@ -2737,7 +2697,9 @@ export class ToolboxApi extends BaseAPI {
2737
2697
  * @memberof ToolboxApi
2738
2698
  */
2739
2699
  createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options) {
2740
- return ToolboxApiFp(this.configuration).createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2700
+ return ToolboxApiFp(this.configuration)
2701
+ .createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options)
2702
+ .then((request) => request(this.axios, this.basePath));
2741
2703
  }
2742
2704
  /**
2743
2705
  * Create a new session in the workspace
@@ -2750,7 +2712,9 @@ export class ToolboxApi extends BaseAPI {
2750
2712
  * @memberof ToolboxApi
2751
2713
  */
2752
2714
  createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options) {
2753
- return ToolboxApiFp(this.configuration).createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2715
+ return ToolboxApiFp(this.configuration)
2716
+ .createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options)
2717
+ .then((request) => request(this.axios, this.basePath));
2754
2718
  }
2755
2719
  /**
2756
2720
  * Delete file inside workspace
@@ -2763,7 +2727,9 @@ export class ToolboxApi extends BaseAPI {
2763
2727
  * @memberof ToolboxApi
2764
2728
  */
2765
2729
  deleteFile(workspaceId, path, xDaytonaOrganizationID, options) {
2766
- return ToolboxApiFp(this.configuration).deleteFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2730
+ return ToolboxApiFp(this.configuration)
2731
+ .deleteFile(workspaceId, path, xDaytonaOrganizationID, options)
2732
+ .then((request) => request(this.axios, this.basePath));
2767
2733
  }
2768
2734
  /**
2769
2735
  * Delete a specific session
@@ -2776,7 +2742,9 @@ export class ToolboxApi extends BaseAPI {
2776
2742
  * @memberof ToolboxApi
2777
2743
  */
2778
2744
  deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
2779
- return ToolboxApiFp(this.configuration).deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2745
+ return ToolboxApiFp(this.configuration)
2746
+ .deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
2747
+ .then((request) => request(this.axios, this.basePath));
2780
2748
  }
2781
2749
  /**
2782
2750
  * Download file from workspace
@@ -2789,7 +2757,9 @@ export class ToolboxApi extends BaseAPI {
2789
2757
  * @memberof ToolboxApi
2790
2758
  */
2791
2759
  downloadFile(workspaceId, path, xDaytonaOrganizationID, options) {
2792
- return ToolboxApiFp(this.configuration).downloadFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2760
+ return ToolboxApiFp(this.configuration)
2761
+ .downloadFile(workspaceId, path, xDaytonaOrganizationID, options)
2762
+ .then((request) => request(this.axios, this.basePath));
2793
2763
  }
2794
2764
  /**
2795
2765
  * Execute command synchronously inside workspace
@@ -2802,7 +2772,9 @@ export class ToolboxApi extends BaseAPI {
2802
2772
  * @memberof ToolboxApi
2803
2773
  */
2804
2774
  executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options) {
2805
- return ToolboxApiFp(this.configuration).executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2775
+ return ToolboxApiFp(this.configuration)
2776
+ .executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options)
2777
+ .then((request) => request(this.axios, this.basePath));
2806
2778
  }
2807
2779
  /**
2808
2780
  * Execute a command in a specific session
@@ -2816,7 +2788,9 @@ export class ToolboxApi extends BaseAPI {
2816
2788
  * @memberof ToolboxApi
2817
2789
  */
2818
2790
  executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options) {
2819
- return ToolboxApiFp(this.configuration).executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2791
+ return ToolboxApiFp(this.configuration)
2792
+ .executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options)
2793
+ .then((request) => request(this.axios, this.basePath));
2820
2794
  }
2821
2795
  /**
2822
2796
  * Search for text/pattern inside workspace files
@@ -2830,7 +2804,9 @@ export class ToolboxApi extends BaseAPI {
2830
2804
  * @memberof ToolboxApi
2831
2805
  */
2832
2806
  findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
2833
- return ToolboxApiFp(this.configuration).findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2807
+ return ToolboxApiFp(this.configuration)
2808
+ .findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
2809
+ .then((request) => request(this.axios, this.basePath));
2834
2810
  }
2835
2811
  /**
2836
2812
  * Get file info inside workspace
@@ -2843,7 +2819,9 @@ export class ToolboxApi extends BaseAPI {
2843
2819
  * @memberof ToolboxApi
2844
2820
  */
2845
2821
  getFileInfo(workspaceId, path, xDaytonaOrganizationID, options) {
2846
- return ToolboxApiFp(this.configuration).getFileInfo(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2822
+ return ToolboxApiFp(this.configuration)
2823
+ .getFileInfo(workspaceId, path, xDaytonaOrganizationID, options)
2824
+ .then((request) => request(this.axios, this.basePath));
2847
2825
  }
2848
2826
  /**
2849
2827
  *
@@ -2855,7 +2833,9 @@ export class ToolboxApi extends BaseAPI {
2855
2833
  * @memberof ToolboxApi
2856
2834
  */
2857
2835
  getProjectDir(workspaceId, xDaytonaOrganizationID, options) {
2858
- return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2836
+ return ToolboxApiFp(this.configuration)
2837
+ .getProjectDir(workspaceId, xDaytonaOrganizationID, options)
2838
+ .then((request) => request(this.axios, this.basePath));
2859
2839
  }
2860
2840
  /**
2861
2841
  * Get session by ID
@@ -2868,7 +2848,9 @@ export class ToolboxApi extends BaseAPI {
2868
2848
  * @memberof ToolboxApi
2869
2849
  */
2870
2850
  getSession(workspaceId, sessionId, xDaytonaOrganizationID, options) {
2871
- return ToolboxApiFp(this.configuration).getSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2851
+ return ToolboxApiFp(this.configuration)
2852
+ .getSession(workspaceId, sessionId, xDaytonaOrganizationID, options)
2853
+ .then((request) => request(this.axios, this.basePath));
2872
2854
  }
2873
2855
  /**
2874
2856
  * Get session command by ID
@@ -2882,7 +2864,9 @@ export class ToolboxApi extends BaseAPI {
2882
2864
  * @memberof ToolboxApi
2883
2865
  */
2884
2866
  getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options) {
2885
- return ToolboxApiFp(this.configuration).getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2867
+ return ToolboxApiFp(this.configuration)
2868
+ .getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options)
2869
+ .then((request) => request(this.axios, this.basePath));
2886
2870
  }
2887
2871
  /**
2888
2872
  * Get logs for a specific command in a session
@@ -2897,7 +2881,9 @@ export class ToolboxApi extends BaseAPI {
2897
2881
  * @memberof ToolboxApi
2898
2882
  */
2899
2883
  getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options) {
2900
- return ToolboxApiFp(this.configuration).getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options).then((request) => request(this.axios, this.basePath));
2884
+ return ToolboxApiFp(this.configuration)
2885
+ .getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options)
2886
+ .then((request) => request(this.axios, this.basePath));
2901
2887
  }
2902
2888
  /**
2903
2889
  * Add files to git commit
@@ -2910,7 +2896,9 @@ export class ToolboxApi extends BaseAPI {
2910
2896
  * @memberof ToolboxApi
2911
2897
  */
2912
2898
  gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options) {
2913
- return ToolboxApiFp(this.configuration).gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2899
+ return ToolboxApiFp(this.configuration)
2900
+ .gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options)
2901
+ .then((request) => request(this.axios, this.basePath));
2914
2902
  }
2915
2903
  /**
2916
2904
  * Clone git repository
@@ -2923,7 +2911,9 @@ export class ToolboxApi extends BaseAPI {
2923
2911
  * @memberof ToolboxApi
2924
2912
  */
2925
2913
  gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options) {
2926
- return ToolboxApiFp(this.configuration).gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2914
+ return ToolboxApiFp(this.configuration)
2915
+ .gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options)
2916
+ .then((request) => request(this.axios, this.basePath));
2927
2917
  }
2928
2918
  /**
2929
2919
  * Commit changes to git repository
@@ -2936,7 +2926,9 @@ export class ToolboxApi extends BaseAPI {
2936
2926
  * @memberof ToolboxApi
2937
2927
  */
2938
2928
  gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options) {
2939
- return ToolboxApiFp(this.configuration).gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2929
+ return ToolboxApiFp(this.configuration)
2930
+ .gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options)
2931
+ .then((request) => request(this.axios, this.basePath));
2940
2932
  }
2941
2933
  /**
2942
2934
  * Create branch on git repository
@@ -2949,7 +2941,9 @@ export class ToolboxApi extends BaseAPI {
2949
2941
  * @memberof ToolboxApi
2950
2942
  */
2951
2943
  gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options) {
2952
- return ToolboxApiFp(this.configuration).gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2944
+ return ToolboxApiFp(this.configuration)
2945
+ .gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options)
2946
+ .then((request) => request(this.axios, this.basePath));
2953
2947
  }
2954
2948
  /**
2955
2949
  * Get commit history from git repository
@@ -2962,7 +2956,9 @@ export class ToolboxApi extends BaseAPI {
2962
2956
  * @memberof ToolboxApi
2963
2957
  */
2964
2958
  gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options) {
2965
- return ToolboxApiFp(this.configuration).gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2959
+ return ToolboxApiFp(this.configuration)
2960
+ .gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options)
2961
+ .then((request) => request(this.axios, this.basePath));
2966
2962
  }
2967
2963
  /**
2968
2964
  * Get status from git repository
@@ -2975,7 +2971,9 @@ export class ToolboxApi extends BaseAPI {
2975
2971
  * @memberof ToolboxApi
2976
2972
  */
2977
2973
  gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options) {
2978
- return ToolboxApiFp(this.configuration).gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2974
+ return ToolboxApiFp(this.configuration)
2975
+ .gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options)
2976
+ .then((request) => request(this.axios, this.basePath));
2979
2977
  }
2980
2978
  /**
2981
2979
  * Get branch list from git repository
@@ -2988,7 +2986,9 @@ export class ToolboxApi extends BaseAPI {
2988
2986
  * @memberof ToolboxApi
2989
2987
  */
2990
2988
  gitListBranches(workspaceId, path, xDaytonaOrganizationID, options) {
2991
- return ToolboxApiFp(this.configuration).gitListBranches(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2989
+ return ToolboxApiFp(this.configuration)
2990
+ .gitListBranches(workspaceId, path, xDaytonaOrganizationID, options)
2991
+ .then((request) => request(this.axios, this.basePath));
2992
2992
  }
2993
2993
  /**
2994
2994
  * Pull changes from remote
@@ -3001,7 +3001,9 @@ export class ToolboxApi extends BaseAPI {
3001
3001
  * @memberof ToolboxApi
3002
3002
  */
3003
3003
  gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
3004
- return ToolboxApiFp(this.configuration).gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3004
+ return ToolboxApiFp(this.configuration)
3005
+ .gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
3006
+ .then((request) => request(this.axios, this.basePath));
3005
3007
  }
3006
3008
  /**
3007
3009
  * Push changes to remote
@@ -3014,7 +3016,9 @@ export class ToolboxApi extends BaseAPI {
3014
3016
  * @memberof ToolboxApi
3015
3017
  */
3016
3018
  gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options) {
3017
- return ToolboxApiFp(this.configuration).gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3019
+ return ToolboxApiFp(this.configuration)
3020
+ .gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options)
3021
+ .then((request) => request(this.axios, this.basePath));
3018
3022
  }
3019
3023
  /**
3020
3024
  *
@@ -3027,7 +3031,9 @@ export class ToolboxApi extends BaseAPI {
3027
3031
  * @memberof ToolboxApi
3028
3032
  */
3029
3033
  listFiles(workspaceId, xDaytonaOrganizationID, path, options) {
3030
- return ToolboxApiFp(this.configuration).listFiles(workspaceId, xDaytonaOrganizationID, path, options).then((request) => request(this.axios, this.basePath));
3034
+ return ToolboxApiFp(this.configuration)
3035
+ .listFiles(workspaceId, xDaytonaOrganizationID, path, options)
3036
+ .then((request) => request(this.axios, this.basePath));
3031
3037
  }
3032
3038
  /**
3033
3039
  * List all active sessions in the workspace
@@ -3039,7 +3045,9 @@ export class ToolboxApi extends BaseAPI {
3039
3045
  * @memberof ToolboxApi
3040
3046
  */
3041
3047
  listSessions(workspaceId, xDaytonaOrganizationID, options) {
3042
- return ToolboxApiFp(this.configuration).listSessions(workspaceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3048
+ return ToolboxApiFp(this.configuration)
3049
+ .listSessions(workspaceId, xDaytonaOrganizationID, options)
3050
+ .then((request) => request(this.axios, this.basePath));
3043
3051
  }
3044
3052
  /**
3045
3053
  * The Completion request is sent from the client to the server to compute completion items at a given cursor position.
@@ -3052,7 +3060,9 @@ export class ToolboxApi extends BaseAPI {
3052
3060
  * @memberof ToolboxApi
3053
3061
  */
3054
3062
  lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options) {
3055
- return ToolboxApiFp(this.configuration).lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3063
+ return ToolboxApiFp(this.configuration)
3064
+ .lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options)
3065
+ .then((request) => request(this.axios, this.basePath));
3056
3066
  }
3057
3067
  /**
3058
3068
  * The document close notification is sent from the client to the server when the document got closed in the client.
@@ -3065,7 +3075,9 @@ export class ToolboxApi extends BaseAPI {
3065
3075
  * @memberof ToolboxApi
3066
3076
  */
3067
3077
  lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
3068
- return ToolboxApiFp(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3078
+ return ToolboxApiFp(this.configuration)
3079
+ .lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
3080
+ .then((request) => request(this.axios, this.basePath));
3069
3081
  }
3070
3082
  /**
3071
3083
  * The document open notification is sent from the client to the server to signal newly opened text documents.
@@ -3078,7 +3090,9 @@ export class ToolboxApi extends BaseAPI {
3078
3090
  * @memberof ToolboxApi
3079
3091
  */
3080
3092
  lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options) {
3081
- return ToolboxApiFp(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3093
+ return ToolboxApiFp(this.configuration)
3094
+ .lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options)
3095
+ .then((request) => request(this.axios, this.basePath));
3082
3096
  }
3083
3097
  /**
3084
3098
  * The document symbol request is sent from the client to the server.
@@ -3093,7 +3107,9 @@ export class ToolboxApi extends BaseAPI {
3093
3107
  * @memberof ToolboxApi
3094
3108
  */
3095
3109
  lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options) {
3096
- return ToolboxApiFp(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3110
+ return ToolboxApiFp(this.configuration)
3111
+ .lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options)
3112
+ .then((request) => request(this.axios, this.basePath));
3097
3113
  }
3098
3114
  /**
3099
3115
  * Start Lsp server process inside workspace project
@@ -3106,7 +3122,9 @@ export class ToolboxApi extends BaseAPI {
3106
3122
  * @memberof ToolboxApi
3107
3123
  */
3108
3124
  lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
3109
- return ToolboxApiFp(this.configuration).lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3125
+ return ToolboxApiFp(this.configuration)
3126
+ .lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
3127
+ .then((request) => request(this.axios, this.basePath));
3110
3128
  }
3111
3129
  /**
3112
3130
  * Stop Lsp server process inside workspace project
@@ -3119,7 +3137,9 @@ export class ToolboxApi extends BaseAPI {
3119
3137
  * @memberof ToolboxApi
3120
3138
  */
3121
3139
  lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options) {
3122
- return ToolboxApiFp(this.configuration).lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3140
+ return ToolboxApiFp(this.configuration)
3141
+ .lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options)
3142
+ .then((request) => request(this.axios, this.basePath));
3123
3143
  }
3124
3144
  /**
3125
3145
  * The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
@@ -3134,7 +3154,9 @@ export class ToolboxApi extends BaseAPI {
3134
3154
  * @memberof ToolboxApi
3135
3155
  */
3136
3156
  lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options) {
3137
- return ToolboxApiFp(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3157
+ return ToolboxApiFp(this.configuration)
3158
+ .lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options)
3159
+ .then((request) => request(this.axios, this.basePath));
3138
3160
  }
3139
3161
  /**
3140
3162
  * Move file inside workspace
@@ -3148,7 +3170,9 @@ export class ToolboxApi extends BaseAPI {
3148
3170
  * @memberof ToolboxApi
3149
3171
  */
3150
3172
  moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options) {
3151
- return ToolboxApiFp(this.configuration).moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3173
+ return ToolboxApiFp(this.configuration)
3174
+ .moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options)
3175
+ .then((request) => request(this.axios, this.basePath));
3152
3176
  }
3153
3177
  /**
3154
3178
  * Replace text/pattern in multiple files inside workspace
@@ -3161,7 +3185,9 @@ export class ToolboxApi extends BaseAPI {
3161
3185
  * @memberof ToolboxApi
3162
3186
  */
3163
3187
  replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options) {
3164
- return ToolboxApiFp(this.configuration).replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3188
+ return ToolboxApiFp(this.configuration)
3189
+ .replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options)
3190
+ .then((request) => request(this.axios, this.basePath));
3165
3191
  }
3166
3192
  /**
3167
3193
  * Search for files inside workspace
@@ -3175,7 +3201,9 @@ export class ToolboxApi extends BaseAPI {
3175
3201
  * @memberof ToolboxApi
3176
3202
  */
3177
3203
  searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options) {
3178
- return ToolboxApiFp(this.configuration).searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3204
+ return ToolboxApiFp(this.configuration)
3205
+ .searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options)
3206
+ .then((request) => request(this.axios, this.basePath));
3179
3207
  }
3180
3208
  /**
3181
3209
  * Set file owner/group/permissions inside workspace
@@ -3191,7 +3219,9 @@ export class ToolboxApi extends BaseAPI {
3191
3219
  * @memberof ToolboxApi
3192
3220
  */
3193
3221
  setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options) {
3194
- return ToolboxApiFp(this.configuration).setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
3222
+ return ToolboxApiFp(this.configuration)
3223
+ .setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options)
3224
+ .then((request) => request(this.axios, this.basePath));
3195
3225
  }
3196
3226
  /**
3197
3227
  * Upload file inside workspace
@@ -3205,6 +3235,8 @@ export class ToolboxApi extends BaseAPI {
3205
3235
  * @memberof ToolboxApi
3206
3236
  */
3207
3237
  uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options) {
3208
- return ToolboxApiFp(this.configuration).uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options).then((request) => request(this.axios, this.basePath));
3238
+ return ToolboxApiFp(this.configuration)
3239
+ .uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options)
3240
+ .then((request) => request(this.axios, this.basePath));
3209
3241
  }
3210
3242
  }