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