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