@daytonaio/api-client 0.4.0 → 0.5.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 (89) hide show
  1. package/.openapi-generator/FILES +4 -8
  2. package/README.md +2 -2
  3. package/api/api-keys-api.ts +353 -0
  4. package/api/default-api.ts +36 -3313
  5. package/api/docker-registry-api.ts +108 -108
  6. package/api/nodes-api.ts +274 -0
  7. package/api/users-api.ts +274 -0
  8. package/api/workspace-api.ts +760 -0
  9. package/api.ts +4 -0
  10. package/dist/api/api-keys-api.d.ts +171 -0
  11. package/dist/api/api-keys-api.js +339 -0
  12. package/dist/api/default-api.d.ts +15 -1454
  13. package/dist/api/default-api.js +43 -3090
  14. package/dist/api/docker-registry-api.d.ts +64 -64
  15. package/dist/api/docker-registry-api.js +108 -108
  16. package/dist/api/nodes-api.d.ts +135 -0
  17. package/dist/api/nodes-api.js +270 -0
  18. package/dist/api/users-api.d.ts +135 -0
  19. package/dist/api/users-api.js +270 -0
  20. package/dist/api/workspace-api.d.ts +356 -0
  21. package/dist/api/workspace-api.js +722 -0
  22. package/dist/api.d.ts +4 -0
  23. package/dist/api.js +4 -0
  24. package/dist/esm/api/api-keys-api.d.ts +171 -0
  25. package/dist/esm/api/api-keys-api.js +332 -0
  26. package/dist/esm/api/default-api.d.ts +15 -1454
  27. package/dist/esm/api/default-api.js +41 -3088
  28. package/dist/esm/api/docker-registry-api.d.ts +64 -64
  29. package/dist/esm/api/docker-registry-api.js +108 -108
  30. package/dist/esm/api/nodes-api.d.ts +135 -0
  31. package/dist/esm/api/nodes-api.js +263 -0
  32. package/dist/esm/api/users-api.d.ts +135 -0
  33. package/dist/esm/api/users-api.js +263 -0
  34. package/dist/esm/api/workspace-api.d.ts +356 -0
  35. package/dist/esm/api/workspace-api.js +715 -0
  36. package/dist/esm/api.d.ts +4 -0
  37. package/dist/esm/api.js +4 -0
  38. package/dist/esm/models/create-workspace-dto.d.ts +1 -1
  39. package/dist/esm/models/index.d.ts +0 -8
  40. package/dist/esm/models/index.js +0 -8
  41. package/dist/esm/models/workspace-dto.d.ts +14 -0
  42. package/dist/models/create-workspace-dto.d.ts +1 -1
  43. package/dist/models/index.d.ts +0 -8
  44. package/dist/models/index.js +0 -8
  45. package/dist/models/workspace-dto.d.ts +14 -0
  46. package/models/create-workspace-dto.ts +1 -1
  47. package/models/index.ts +0 -8
  48. package/models/workspace-dto.ts +12 -0
  49. package/package.json +1 -1
  50. package/dist/esm/models/execute-request-dto.d.ts +0 -30
  51. package/dist/esm/models/execute-request-dto.js +0 -14
  52. package/dist/esm/models/execute-response-dto.d.ts +0 -30
  53. package/dist/esm/models/execute-response-dto.js +0 -14
  54. package/dist/esm/models/git-add-request-dto.d.ts +0 -30
  55. package/dist/esm/models/git-add-request-dto.js +0 -14
  56. package/dist/esm/models/git-branch-request-dto.d.ts +0 -30
  57. package/dist/esm/models/git-branch-request-dto.js +0 -14
  58. package/dist/esm/models/git-clone-request-dto.d.ts +0 -54
  59. package/dist/esm/models/git-clone-request-dto.js +0 -14
  60. package/dist/esm/models/git-commit-request-dto.d.ts +0 -42
  61. package/dist/esm/models/git-commit-request-dto.js +0 -14
  62. package/dist/esm/models/git-repo-request-dto.d.ts +0 -36
  63. package/dist/esm/models/git-repo-request-dto.js +0 -14
  64. package/dist/esm/models/replace-request-dto.d.ts +0 -36
  65. package/dist/esm/models/replace-request-dto.js +0 -14
  66. package/dist/models/execute-request-dto.d.ts +0 -30
  67. package/dist/models/execute-request-dto.js +0 -15
  68. package/dist/models/execute-response-dto.d.ts +0 -30
  69. package/dist/models/execute-response-dto.js +0 -15
  70. package/dist/models/git-add-request-dto.d.ts +0 -30
  71. package/dist/models/git-add-request-dto.js +0 -15
  72. package/dist/models/git-branch-request-dto.d.ts +0 -30
  73. package/dist/models/git-branch-request-dto.js +0 -15
  74. package/dist/models/git-clone-request-dto.d.ts +0 -54
  75. package/dist/models/git-clone-request-dto.js +0 -15
  76. package/dist/models/git-commit-request-dto.d.ts +0 -42
  77. package/dist/models/git-commit-request-dto.js +0 -15
  78. package/dist/models/git-repo-request-dto.d.ts +0 -36
  79. package/dist/models/git-repo-request-dto.js +0 -15
  80. package/dist/models/replace-request-dto.d.ts +0 -36
  81. package/dist/models/replace-request-dto.js +0 -15
  82. package/models/execute-request-dto.ts +0 -36
  83. package/models/execute-response-dto.ts +0 -36
  84. package/models/git-add-request-dto.ts +0 -36
  85. package/models/git-branch-request-dto.ts +0 -36
  86. package/models/git-clone-request-dto.ts +0 -60
  87. package/models/git-commit-request-dto.ts +0 -48
  88. package/models/git-repo-request-dto.ts +0 -42
  89. package/models/replace-request-dto.ts +0 -42
@@ -12,20 +12,6 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
- import type { ApiKeyListDto } from '../models';
16
- import type { ApiKeyResponseDto } from '../models';
17
- import type { CreateApiKeyDto } from '../models';
18
- import type { CreateWorkspaceDto } from '../models';
19
- import type { ExecuteRequestDto } from '../models';
20
- import type { ExecuteResponseDto } from '../models';
21
- import type { GitAddRequestDto } from '../models';
22
- import type { GitBranchRequestDto } from '../models';
23
- import type { GitCloneRequestDto } from '../models';
24
- import type { GitCommitRequestDto } from '../models';
25
- import type { GitRepoRequestDto } from '../models';
26
- import type { ReplaceRequestDto } from '../models';
27
- import type { WorkspaceDto } from '../models';
28
- import type { WorkspaceLabelsDto } from '../models';
29
15
  /**
30
16
  * DefaultApi - axios parameter creator
31
17
  * @export
@@ -33,1072 +19,34 @@ import type { WorkspaceLabelsDto } from '../models';
33
19
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
34
20
  /**
35
21
  *
36
- * @summary Create a new API key
37
- * @param {CreateApiKeyDto} createApiKeyDto
38
22
  * @param {*} [options] Override http request option.
39
23
  * @throws {RequiredError}
40
24
  */
41
- apiKeyControllerCreateApiKey: (createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42
- /**
43
- *
44
- * @summary Delete an API key by name
45
- * @param {string} name
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- apiKeyControllerDeleteApiKey: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
- /**
51
- *
52
- * @summary Get a specific API key by name
53
- * @param {string} name
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- apiKeyControllerGetApiKey: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
- /**
59
- *
60
- * @summary Get all API keys for the user
61
- * @param {*} [options] Override http request option.
62
- * @throws {RequiredError}
63
- */
64
- apiKeyControllerGetApiKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
65
- /**
66
- *
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
71
- /**
72
- *
73
- * @param {object} body
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- */
77
- nodeControllerCreate: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
- /**
79
- *
80
- * @param {*} [options] Override http request option.
81
- * @throws {RequiredError}
82
- */
83
- nodeControllerFindAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
84
- /**
85
- *
86
- * @param {string} id
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- nodeControllerUpdateSchedulingStatus: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
91
- /**
92
- *
93
- * @param {object} body
94
- * @param {*} [options] Override http request option.
95
- * @throws {RequiredError}
96
- */
97
- userControllerCreate: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
98
- /**
99
- *
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- userControllerFindAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
104
- /**
105
- *
106
- * @param {string} id
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- userControllerRegenerateKeyPair: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
111
- /**
112
- * Create folder inside workspace
113
- * @summary Create folder
114
- * @param {string} workspaceId
115
- * @param {string} path
116
- * @param {string} mode
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- workspaceControllerCreateFolder: (workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
- /**
122
- *
123
- * @summary Create a workspace snapshot
124
- * @param {string} workspaceId
125
- * @param {*} [options] Override http request option.
126
- * @throws {RequiredError}
127
- */
128
- workspaceControllerCreateSnapshot: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
129
- /**
130
- *
131
- * @param {CreateWorkspaceDto} createWorkspaceDto
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- workspaceControllerCreateWorkspace: (createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
- /**
137
- * Delete file inside workspace
138
- * @summary Delete file
139
- * @param {string} workspaceId
140
- * @param {string} path
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- workspaceControllerDeleteFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
145
- /**
146
- * Download file from workspace
147
- * @summary Download file
148
- * @param {string} workspaceId
149
- * @param {string} path
150
- * @param {*} [options] Override http request option.
151
- * @throws {RequiredError}
152
- */
153
- workspaceControllerDownloadFile: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
154
- /**
155
- * Execute command synchronously inside workspace
156
- * @summary Execute command
157
- * @param {string} workspaceId
158
- * @param {ExecuteRequestDto} executeRequestDto
159
- * @param {*} [options] Override http request option.
160
- * @throws {RequiredError}
161
- */
162
- workspaceControllerExecuteCommand: (workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
163
- /**
164
- * Search for text/pattern inside workspace files
165
- * @summary Search for text/pattern in files
166
- * @param {string} workspaceId
167
- * @param {string} path
168
- * @param {string} pattern
169
- * @param {*} [options] Override http request option.
170
- * @throws {RequiredError}
171
- */
172
- workspaceControllerFindInFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
173
- /**
174
- * Get file info inside workspace
175
- * @summary Get file info
176
- * @param {string} workspaceId
177
- * @param {string} path
178
- * @param {*} [options] Override http request option.
179
- * @throws {RequiredError}
180
- */
181
- workspaceControllerGetFileInfo: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
182
- /**
183
- * Get workspace project directory
184
- * @summary Get workspace project dir
185
- * @param {string} workspaceId
186
- * @param {*} [options] Override http request option.
187
- * @throws {RequiredError}
188
- */
189
- workspaceControllerGetProjectDir: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
190
- /**
191
- *
192
- * @param {string} workspaceId
193
- * @param {boolean} [verbose] Include verbose output
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- */
197
- workspaceControllerGetWorkspace: (workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
198
- /**
199
- * Add files to git commit
200
- * @summary Add files
201
- * @param {string} workspaceId
202
- * @param {GitAddRequestDto} gitAddRequestDto
203
- * @param {*} [options] Override http request option.
204
- * @throws {RequiredError}
205
- */
206
- workspaceControllerGitAddFiles: (workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
207
- /**
208
- * Get branch list from git repository
209
- * @summary Get branch list
210
- * @param {string} workspaceId
211
- * @param {string} path
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- workspaceControllerGitBranchList: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
216
- /**
217
- * Clone git repository
218
- * @summary Clone repository
219
- * @param {string} workspaceId
220
- * @param {GitCloneRequestDto} gitCloneRequestDto
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- */
224
- workspaceControllerGitCloneRepository: (workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
225
- /**
226
- * Commit changes to git repository
227
- * @summary Commit changes
228
- * @param {string} workspaceId
229
- * @param {GitCommitRequestDto} gitCommitRequestDto
230
- * @param {*} [options] Override http request option.
231
- * @throws {RequiredError}
232
- */
233
- workspaceControllerGitCommitChanges: (workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
234
- /**
235
- * Get commit history from git repository
236
- * @summary Get commit history
237
- * @param {string} workspaceId
238
- * @param {string} path
239
- * @param {*} [options] Override http request option.
240
- * @throws {RequiredError}
241
- */
242
- workspaceControllerGitCommitHistory: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
243
- /**
244
- * Create branch on git repository
245
- * @summary Create branch
246
- * @param {string} workspaceId
247
- * @param {GitBranchRequestDto} gitBranchRequestDto
248
- * @param {*} [options] Override http request option.
249
- * @throws {RequiredError}
250
- */
251
- workspaceControllerGitCreateBranch: (workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
252
- /**
253
- * Pull changes from remote
254
- * @summary Pull changes
255
- * @param {string} workspaceId
256
- * @param {GitRepoRequestDto} gitRepoRequestDto
257
- * @param {*} [options] Override http request option.
258
- * @throws {RequiredError}
259
- */
260
- workspaceControllerGitPullChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
261
- /**
262
- * Push changes to remote
263
- * @summary Push changes
264
- * @param {string} workspaceId
265
- * @param {GitRepoRequestDto} gitRepoRequestDto
266
- * @param {*} [options] Override http request option.
267
- * @throws {RequiredError}
268
- */
269
- workspaceControllerGitPushChanges: (workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
270
- /**
271
- * Get status from git repository
272
- * @summary Get git status
273
- * @param {string} workspaceId
274
- * @param {string} path
275
- * @param {*} [options] Override http request option.
276
- * @throws {RequiredError}
277
- */
278
- workspaceControllerGitStatus: (workspaceId: string, path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
279
- /**
280
- * List files inside workspace
281
- * @summary List files
282
- * @param {string} workspaceId
283
- * @param {string} [path]
284
- * @param {*} [options] Override http request option.
285
- * @throws {RequiredError}
286
- */
287
- workspaceControllerListFiles: (workspaceId: string, path?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
288
- /**
289
- *
290
- * @param {boolean} [verbose] Include verbose output
291
- * @param {*} [options] Override http request option.
292
- * @throws {RequiredError}
293
- */
294
- workspaceControllerListWorkspaces: (verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
295
- /**
296
- * Move file inside workspace
297
- * @summary Move file
298
- * @param {string} workspaceId
299
- * @param {string} source
300
- * @param {string} destination
301
- * @param {*} [options] Override http request option.
302
- * @throws {RequiredError}
303
- */
304
- workspaceControllerMoveFile: (workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
305
- /**
306
- *
307
- * @param {string} workspaceId
308
- * @param {boolean} force
309
- * @param {*} [options] Override http request option.
310
- * @throws {RequiredError}
311
- */
312
- workspaceControllerRemoveWorkspace: (workspaceId: string, force: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
313
- /**
314
- * Replace text/pattern in multiple files inside workspace
315
- * @summary Replace in files
316
- * @param {string} workspaceId
317
- * @param {ReplaceRequestDto} replaceRequestDto
318
- * @param {*} [options] Override http request option.
319
- * @throws {RequiredError}
320
- */
321
- workspaceControllerReplaceInFiles: (workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
322
- /**
323
- * Replace all labels for a workspace. Existing labels will be removed.
324
- * @summary Replace workspace labels
325
- * @param {string} workspaceId
326
- * @param {WorkspaceLabelsDto} workspaceLabelsDto
327
- * @param {*} [options] Override http request option.
328
- * @throws {RequiredError}
329
- */
330
- workspaceControllerReplaceLabels: (workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
331
- /**
332
- * Search for files inside workspace
333
- * @summary Search files
334
- * @param {string} workspaceId
335
- * @param {string} path
336
- * @param {string} pattern
337
- * @param {*} [options] Override http request option.
338
- * @throws {RequiredError}
339
- */
340
- workspaceControllerSearchFiles: (workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
341
- /**
342
- * Set file owner/group/permissions inside workspace
343
- * @summary Set file permissions
344
- * @param {string} workspaceId
345
- * @param {string} path
346
- * @param {string} owner
347
- * @param {string} group
348
- * @param {string} mode
349
- * @param {*} [options] Override http request option.
350
- * @throws {RequiredError}
351
- */
352
- workspaceControllerSetFilePermissions: (workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
353
- /**
354
- *
355
- * @param {string} workspaceId
356
- * @param {*} [options] Override http request option.
357
- * @throws {RequiredError}
358
- */
359
- workspaceControllerStartWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
360
- /**
361
- *
362
- * @param {string} workspaceId
363
- * @param {*} [options] Override http request option.
364
- * @throws {RequiredError}
365
- */
366
- workspaceControllerStopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
367
- /**
368
- * Change public preview status of a workspace
369
- * @summary Change public preview status
370
- * @param {string} workspaceId ID of the workspace
371
- * @param {boolean} isPublic Public status to set
372
- * @param {*} [options] Override http request option.
373
- * @throws {RequiredError}
374
- */
375
- workspaceControllerUpdatePublicStatus: (workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
376
- /**
377
- * Upload file inside workspace
378
- * @summary Upload file
379
- * @param {string} workspaceId
380
- * @param {string} path
381
- * @param {File} [file]
382
- * @param {*} [options] Override http request option.
383
- * @throws {RequiredError}
384
- */
385
- workspaceControllerUploadFile: (workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
386
- };
387
- /**
388
- * DefaultApi - functional programming interface
389
- * @export
390
- */
391
- export declare const DefaultApiFp: (configuration?: Configuration) => {
392
- /**
393
- *
394
- * @summary Create a new API key
395
- * @param {CreateApiKeyDto} createApiKeyDto
396
- * @param {*} [options] Override http request option.
397
- * @throws {RequiredError}
398
- */
399
- apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyResponseDto>>;
400
- /**
401
- *
402
- * @summary Delete an API key by name
403
- * @param {string} name
404
- * @param {*} [options] Override http request option.
405
- * @throws {RequiredError}
406
- */
407
- apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
408
- /**
409
- *
410
- * @summary Get a specific API key by name
411
- * @param {string} name
412
- * @param {*} [options] Override http request option.
413
- * @throws {RequiredError}
414
- */
415
- apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiKeyListDto>>;
416
- /**
417
- *
418
- * @summary Get all API keys for the user
419
- * @param {*} [options] Override http request option.
420
- * @throws {RequiredError}
421
- */
422
- apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApiKeyListDto>>>;
423
- /**
424
- *
425
- * @param {*} [options] Override http request option.
426
- * @throws {RequiredError}
427
- */
428
- appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
429
- /**
430
- *
431
- * @param {object} body
432
- * @param {*} [options] Override http request option.
433
- * @throws {RequiredError}
434
- */
435
- nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
436
- /**
437
- *
438
- * @param {*} [options] Override http request option.
439
- * @throws {RequiredError}
440
- */
441
- nodeControllerFindAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
442
- /**
443
- *
444
- * @param {string} id
445
- * @param {*} [options] Override http request option.
446
- * @throws {RequiredError}
447
- */
448
- nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
449
- /**
450
- *
451
- * @param {object} body
452
- * @param {*} [options] Override http request option.
453
- * @throws {RequiredError}
454
- */
455
- userControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
456
- /**
457
- *
458
- * @param {*} [options] Override http request option.
459
- * @throws {RequiredError}
460
- */
461
- userControllerFindAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
462
- /**
463
- *
464
- * @param {string} id
465
- * @param {*} [options] Override http request option.
466
- * @throws {RequiredError}
467
- */
468
- userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
469
- /**
470
- * Create folder inside workspace
471
- * @summary Create folder
472
- * @param {string} workspaceId
473
- * @param {string} path
474
- * @param {string} mode
475
- * @param {*} [options] Override http request option.
476
- * @throws {RequiredError}
477
- */
478
- workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
479
- /**
480
- *
481
- * @summary Create a workspace snapshot
482
- * @param {string} workspaceId
483
- * @param {*} [options] Override http request option.
484
- * @throws {RequiredError}
485
- */
486
- workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
487
- /**
488
- *
489
- * @param {CreateWorkspaceDto} createWorkspaceDto
490
- * @param {*} [options] Override http request option.
491
- * @throws {RequiredError}
492
- */
493
- workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
494
- /**
495
- * Delete file inside workspace
496
- * @summary Delete file
497
- * @param {string} workspaceId
498
- * @param {string} path
499
- * @param {*} [options] Override http request option.
500
- * @throws {RequiredError}
501
- */
502
- workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
503
- /**
504
- * Download file from workspace
505
- * @summary Download file
506
- * @param {string} workspaceId
507
- * @param {string} path
508
- * @param {*} [options] Override http request option.
509
- * @throws {RequiredError}
510
- */
511
- workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
512
- /**
513
- * Execute command synchronously inside workspace
514
- * @summary Execute command
515
- * @param {string} workspaceId
516
- * @param {ExecuteRequestDto} executeRequestDto
517
- * @param {*} [options] Override http request option.
518
- * @throws {RequiredError}
519
- */
520
- workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponseDto>>;
521
- /**
522
- * Search for text/pattern inside workspace files
523
- * @summary Search for text/pattern in files
524
- * @param {string} workspaceId
525
- * @param {string} path
526
- * @param {string} pattern
527
- * @param {*} [options] Override http request option.
528
- * @throws {RequiredError}
529
- */
530
- workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
531
- /**
532
- * Get file info inside workspace
533
- * @summary Get file info
534
- * @param {string} workspaceId
535
- * @param {string} path
536
- * @param {*} [options] Override http request option.
537
- * @throws {RequiredError}
538
- */
539
- workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
540
- /**
541
- * Get workspace project directory
542
- * @summary Get workspace project dir
543
- * @param {string} workspaceId
544
- * @param {*} [options] Override http request option.
545
- * @throws {RequiredError}
546
- */
547
- workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
548
- /**
549
- *
550
- * @param {string} workspaceId
551
- * @param {boolean} [verbose] Include verbose output
552
- * @param {*} [options] Override http request option.
553
- * @throws {RequiredError}
554
- */
555
- workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceDto>>;
556
- /**
557
- * Add files to git commit
558
- * @summary Add files
559
- * @param {string} workspaceId
560
- * @param {GitAddRequestDto} gitAddRequestDto
561
- * @param {*} [options] Override http request option.
562
- * @throws {RequiredError}
563
- */
564
- workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
565
- /**
566
- * Get branch list from git repository
567
- * @summary Get branch list
568
- * @param {string} workspaceId
569
- * @param {string} path
570
- * @param {*} [options] Override http request option.
571
- * @throws {RequiredError}
572
- */
573
- workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
574
- /**
575
- * Clone git repository
576
- * @summary Clone repository
577
- * @param {string} workspaceId
578
- * @param {GitCloneRequestDto} gitCloneRequestDto
579
- * @param {*} [options] Override http request option.
580
- * @throws {RequiredError}
581
- */
582
- workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
583
- /**
584
- * Commit changes to git repository
585
- * @summary Commit changes
586
- * @param {string} workspaceId
587
- * @param {GitCommitRequestDto} gitCommitRequestDto
588
- * @param {*} [options] Override http request option.
589
- * @throws {RequiredError}
590
- */
591
- workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
592
- /**
593
- * Get commit history from git repository
594
- * @summary Get commit history
595
- * @param {string} workspaceId
596
- * @param {string} path
597
- * @param {*} [options] Override http request option.
598
- * @throws {RequiredError}
599
- */
600
- workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
601
- /**
602
- * Create branch on git repository
603
- * @summary Create branch
604
- * @param {string} workspaceId
605
- * @param {GitBranchRequestDto} gitBranchRequestDto
606
- * @param {*} [options] Override http request option.
607
- * @throws {RequiredError}
608
- */
609
- workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
610
- /**
611
- * Pull changes from remote
612
- * @summary Pull changes
613
- * @param {string} workspaceId
614
- * @param {GitRepoRequestDto} gitRepoRequestDto
615
- * @param {*} [options] Override http request option.
616
- * @throws {RequiredError}
617
- */
618
- workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
619
- /**
620
- * Push changes to remote
621
- * @summary Push changes
622
- * @param {string} workspaceId
623
- * @param {GitRepoRequestDto} gitRepoRequestDto
624
- * @param {*} [options] Override http request option.
625
- * @throws {RequiredError}
626
- */
627
- workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
628
- /**
629
- * Get status from git repository
630
- * @summary Get git status
631
- * @param {string} workspaceId
632
- * @param {string} path
633
- * @param {*} [options] Override http request option.
634
- * @throws {RequiredError}
635
- */
636
- workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
637
- /**
638
- * List files inside workspace
639
- * @summary List files
640
- * @param {string} workspaceId
641
- * @param {string} [path]
642
- * @param {*} [options] Override http request option.
643
- * @throws {RequiredError}
644
- */
645
- workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
646
- /**
647
- *
648
- * @param {boolean} [verbose] Include verbose output
649
- * @param {*} [options] Override http request option.
650
- * @throws {RequiredError}
651
- */
652
- workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkspaceDto>>>;
653
- /**
654
- * Move file inside workspace
655
- * @summary Move file
656
- * @param {string} workspaceId
657
- * @param {string} source
658
- * @param {string} destination
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
663
- /**
664
- *
665
- * @param {string} workspaceId
666
- * @param {boolean} force
667
- * @param {*} [options] Override http request option.
668
- * @throws {RequiredError}
669
- */
670
- workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
671
- /**
672
- * Replace text/pattern in multiple files inside workspace
673
- * @summary Replace in files
674
- * @param {string} workspaceId
675
- * @param {ReplaceRequestDto} replaceRequestDto
676
- * @param {*} [options] Override http request option.
677
- * @throws {RequiredError}
678
- */
679
- workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
680
- /**
681
- * Replace all labels for a workspace. Existing labels will be removed.
682
- * @summary Replace workspace labels
683
- * @param {string} workspaceId
684
- * @param {WorkspaceLabelsDto} workspaceLabelsDto
685
- * @param {*} [options] Override http request option.
686
- * @throws {RequiredError}
687
- */
688
- workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabelsDto>>;
689
- /**
690
- * Search for files inside workspace
691
- * @summary Search files
692
- * @param {string} workspaceId
693
- * @param {string} path
694
- * @param {string} pattern
695
- * @param {*} [options] Override http request option.
696
- * @throws {RequiredError}
697
- */
698
- workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
699
- /**
700
- * Set file owner/group/permissions inside workspace
701
- * @summary Set file permissions
702
- * @param {string} workspaceId
703
- * @param {string} path
704
- * @param {string} owner
705
- * @param {string} group
706
- * @param {string} mode
707
- * @param {*} [options] Override http request option.
708
- * @throws {RequiredError}
709
- */
710
- workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
711
- /**
712
- *
713
- * @param {string} workspaceId
714
- * @param {*} [options] Override http request option.
715
- * @throws {RequiredError}
716
- */
717
- workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
718
- /**
719
- *
720
- * @param {string} workspaceId
721
- * @param {*} [options] Override http request option.
722
- * @throws {RequiredError}
723
- */
724
- workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
725
- /**
726
- * Change public preview status of a workspace
727
- * @summary Change public preview status
728
- * @param {string} workspaceId ID of the workspace
729
- * @param {boolean} isPublic Public status to set
730
- * @param {*} [options] Override http request option.
731
- * @throws {RequiredError}
732
- */
733
- workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
734
- /**
735
- * Upload file inside workspace
736
- * @summary Upload file
737
- * @param {string} workspaceId
738
- * @param {string} path
739
- * @param {File} [file]
740
- * @param {*} [options] Override http request option.
741
- * @throws {RequiredError}
742
- */
743
- workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
744
- };
745
- /**
746
- * DefaultApi - factory interface
747
- * @export
748
- */
749
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
750
- /**
751
- *
752
- * @summary Create a new API key
753
- * @param {CreateApiKeyDto} createApiKeyDto
754
- * @param {*} [options] Override http request option.
755
- * @throws {RequiredError}
756
- */
757
- apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyResponseDto>;
758
- /**
759
- *
760
- * @summary Delete an API key by name
761
- * @param {string} name
762
- * @param {*} [options] Override http request option.
763
- * @throws {RequiredError}
764
- */
765
- apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
766
- /**
767
- *
768
- * @summary Get a specific API key by name
769
- * @param {string} name
770
- * @param {*} [options] Override http request option.
771
- * @throws {RequiredError}
772
- */
773
- apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiKeyListDto>;
774
- /**
775
- *
776
- * @summary Get all API keys for the user
777
- * @param {*} [options] Override http request option.
778
- * @throws {RequiredError}
779
- */
780
- apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ApiKeyListDto>>;
781
- /**
782
- *
783
- * @param {*} [options] Override http request option.
784
- * @throws {RequiredError}
785
- */
786
- appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
787
- /**
788
- *
789
- * @param {object} body
790
- * @param {*} [options] Override http request option.
791
- * @throws {RequiredError}
792
- */
793
- nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
794
- /**
795
- *
796
- * @param {*} [options] Override http request option.
797
- * @throws {RequiredError}
798
- */
799
- nodeControllerFindAll(options?: RawAxiosRequestConfig): AxiosPromise<void>;
800
- /**
801
- *
802
- * @param {string} id
803
- * @param {*} [options] Override http request option.
804
- * @throws {RequiredError}
805
- */
806
- nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
807
- /**
808
- *
809
- * @param {object} body
810
- * @param {*} [options] Override http request option.
811
- * @throws {RequiredError}
812
- */
813
- userControllerCreate(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
814
- /**
815
- *
816
- * @param {*} [options] Override http request option.
817
- * @throws {RequiredError}
818
- */
819
- userControllerFindAll(options?: RawAxiosRequestConfig): AxiosPromise<void>;
820
- /**
821
- *
822
- * @param {string} id
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
827
- /**
828
- * Create folder inside workspace
829
- * @summary Create folder
830
- * @param {string} workspaceId
831
- * @param {string} path
832
- * @param {string} mode
833
- * @param {*} [options] Override http request option.
834
- * @throws {RequiredError}
835
- */
836
- workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
837
- /**
838
- *
839
- * @summary Create a workspace snapshot
840
- * @param {string} workspaceId
841
- * @param {*} [options] Override http request option.
842
- * @throws {RequiredError}
843
- */
844
- workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
845
- /**
846
- *
847
- * @param {CreateWorkspaceDto} createWorkspaceDto
848
- * @param {*} [options] Override http request option.
849
- * @throws {RequiredError}
850
- */
851
- workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
852
- /**
853
- * Delete file inside workspace
854
- * @summary Delete file
855
- * @param {string} workspaceId
856
- * @param {string} path
857
- * @param {*} [options] Override http request option.
858
- * @throws {RequiredError}
859
- */
860
- workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
861
- /**
862
- * Download file from workspace
863
- * @summary Download file
864
- * @param {string} workspaceId
865
- * @param {string} path
866
- * @param {*} [options] Override http request option.
867
- * @throws {RequiredError}
868
- */
869
- workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
870
- /**
871
- * Execute command synchronously inside workspace
872
- * @summary Execute command
873
- * @param {string} workspaceId
874
- * @param {ExecuteRequestDto} executeRequestDto
875
- * @param {*} [options] Override http request option.
876
- * @throws {RequiredError}
877
- */
878
- workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponseDto>;
879
- /**
880
- * Search for text/pattern inside workspace files
881
- * @summary Search for text/pattern in files
882
- * @param {string} workspaceId
883
- * @param {string} path
884
- * @param {string} pattern
885
- * @param {*} [options] Override http request option.
886
- * @throws {RequiredError}
887
- */
888
- workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
889
- /**
890
- * Get file info inside workspace
891
- * @summary Get file info
892
- * @param {string} workspaceId
893
- * @param {string} path
894
- * @param {*} [options] Override http request option.
895
- * @throws {RequiredError}
896
- */
897
- workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
898
- /**
899
- * Get workspace project directory
900
- * @summary Get workspace project dir
901
- * @param {string} workspaceId
902
- * @param {*} [options] Override http request option.
903
- * @throws {RequiredError}
904
- */
905
- workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
906
- /**
907
- *
908
- * @param {string} workspaceId
909
- * @param {boolean} [verbose] Include verbose output
910
- * @param {*} [options] Override http request option.
911
- * @throws {RequiredError}
912
- */
913
- workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceDto>;
914
- /**
915
- * Add files to git commit
916
- * @summary Add files
917
- * @param {string} workspaceId
918
- * @param {GitAddRequestDto} gitAddRequestDto
919
- * @param {*} [options] Override http request option.
920
- * @throws {RequiredError}
921
- */
922
- workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
923
- /**
924
- * Get branch list from git repository
925
- * @summary Get branch list
926
- * @param {string} workspaceId
927
- * @param {string} path
928
- * @param {*} [options] Override http request option.
929
- * @throws {RequiredError}
930
- */
931
- workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
932
- /**
933
- * Clone git repository
934
- * @summary Clone repository
935
- * @param {string} workspaceId
936
- * @param {GitCloneRequestDto} gitCloneRequestDto
937
- * @param {*} [options] Override http request option.
938
- * @throws {RequiredError}
939
- */
940
- workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
941
- /**
942
- * Commit changes to git repository
943
- * @summary Commit changes
944
- * @param {string} workspaceId
945
- * @param {GitCommitRequestDto} gitCommitRequestDto
946
- * @param {*} [options] Override http request option.
947
- * @throws {RequiredError}
948
- */
949
- workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
950
- /**
951
- * Get commit history from git repository
952
- * @summary Get commit history
953
- * @param {string} workspaceId
954
- * @param {string} path
955
- * @param {*} [options] Override http request option.
956
- * @throws {RequiredError}
957
- */
958
- workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
959
- /**
960
- * Create branch on git repository
961
- * @summary Create branch
962
- * @param {string} workspaceId
963
- * @param {GitBranchRequestDto} gitBranchRequestDto
964
- * @param {*} [options] Override http request option.
965
- * @throws {RequiredError}
966
- */
967
- workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
968
- /**
969
- * Pull changes from remote
970
- * @summary Pull changes
971
- * @param {string} workspaceId
972
- * @param {GitRepoRequestDto} gitRepoRequestDto
973
- * @param {*} [options] Override http request option.
974
- * @throws {RequiredError}
975
- */
976
- workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
977
- /**
978
- * Push changes to remote
979
- * @summary Push changes
980
- * @param {string} workspaceId
981
- * @param {GitRepoRequestDto} gitRepoRequestDto
982
- * @param {*} [options] Override http request option.
983
- * @throws {RequiredError}
984
- */
985
- workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
986
- /**
987
- * Get status from git repository
988
- * @summary Get git status
989
- * @param {string} workspaceId
990
- * @param {string} path
991
- * @param {*} [options] Override http request option.
992
- * @throws {RequiredError}
993
- */
994
- workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
995
- /**
996
- * List files inside workspace
997
- * @summary List files
998
- * @param {string} workspaceId
999
- * @param {string} [path]
1000
- * @param {*} [options] Override http request option.
1001
- * @throws {RequiredError}
1002
- */
1003
- workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1004
- /**
1005
- *
1006
- * @param {boolean} [verbose] Include verbose output
1007
- * @param {*} [options] Override http request option.
1008
- * @throws {RequiredError}
1009
- */
1010
- workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkspaceDto>>;
1011
- /**
1012
- * Move file inside workspace
1013
- * @summary Move file
1014
- * @param {string} workspaceId
1015
- * @param {string} source
1016
- * @param {string} destination
1017
- * @param {*} [options] Override http request option.
1018
- * @throws {RequiredError}
1019
- */
1020
- workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1021
- /**
1022
- *
1023
- * @param {string} workspaceId
1024
- * @param {boolean} force
1025
- * @param {*} [options] Override http request option.
1026
- * @throws {RequiredError}
1027
- */
1028
- workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1029
- /**
1030
- * Replace text/pattern in multiple files inside workspace
1031
- * @summary Replace in files
1032
- * @param {string} workspaceId
1033
- * @param {ReplaceRequestDto} replaceRequestDto
1034
- * @param {*} [options] Override http request option.
1035
- * @throws {RequiredError}
1036
- */
1037
- workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1038
- /**
1039
- * Replace all labels for a workspace. Existing labels will be removed.
1040
- * @summary Replace workspace labels
1041
- * @param {string} workspaceId
1042
- * @param {WorkspaceLabelsDto} workspaceLabelsDto
1043
- * @param {*} [options] Override http request option.
1044
- * @throws {RequiredError}
1045
- */
1046
- workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabelsDto>;
1047
- /**
1048
- * Search for files inside workspace
1049
- * @summary Search files
1050
- * @param {string} workspaceId
1051
- * @param {string} path
1052
- * @param {string} pattern
1053
- * @param {*} [options] Override http request option.
1054
- * @throws {RequiredError}
1055
- */
1056
- workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1057
- /**
1058
- * Set file owner/group/permissions inside workspace
1059
- * @summary Set file permissions
1060
- * @param {string} workspaceId
1061
- * @param {string} path
1062
- * @param {string} owner
1063
- * @param {string} group
1064
- * @param {string} mode
1065
- * @param {*} [options] Override http request option.
1066
- * @throws {RequiredError}
1067
- */
1068
- workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25
+ appControllerGetHello: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26
+ };
27
+ /**
28
+ * DefaultApi - functional programming interface
29
+ * @export
30
+ */
31
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
1069
32
  /**
1070
33
  *
1071
- * @param {string} workspaceId
1072
34
  * @param {*} [options] Override http request option.
1073
35
  * @throws {RequiredError}
1074
36
  */
1075
- workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
37
+ appControllerGetHello(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
38
+ };
39
+ /**
40
+ * DefaultApi - factory interface
41
+ * @export
42
+ */
43
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1076
44
  /**
1077
45
  *
1078
- * @param {string} workspaceId
1079
- * @param {*} [options] Override http request option.
1080
- * @throws {RequiredError}
1081
- */
1082
- workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1083
- /**
1084
- * Change public preview status of a workspace
1085
- * @summary Change public preview status
1086
- * @param {string} workspaceId ID of the workspace
1087
- * @param {boolean} isPublic Public status to set
1088
- * @param {*} [options] Override http request option.
1089
- * @throws {RequiredError}
1090
- */
1091
- workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1092
- /**
1093
- * Upload file inside workspace
1094
- * @summary Upload file
1095
- * @param {string} workspaceId
1096
- * @param {string} path
1097
- * @param {File} [file]
1098
46
  * @param {*} [options] Override http request option.
1099
47
  * @throws {RequiredError}
1100
48
  */
1101
- workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
49
+ appControllerGetHello(options?: RawAxiosRequestConfig): AxiosPromise<void>;
1102
50
  };
1103
51
  /**
1104
52
  * DefaultApi - object-oriented interface
@@ -1107,41 +55,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1107
55
  * @extends {BaseAPI}
1108
56
  */
1109
57
  export declare class DefaultApi extends BaseAPI {
1110
- /**
1111
- *
1112
- * @summary Create a new API key
1113
- * @param {CreateApiKeyDto} createApiKeyDto
1114
- * @param {*} [options] Override http request option.
1115
- * @throws {RequiredError}
1116
- * @memberof DefaultApi
1117
- */
1118
- apiKeyControllerCreateApiKey(createApiKeyDto: CreateApiKeyDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyResponseDto, any>>;
1119
- /**
1120
- *
1121
- * @summary Delete an API key by name
1122
- * @param {string} name
1123
- * @param {*} [options] Override http request option.
1124
- * @throws {RequiredError}
1125
- * @memberof DefaultApi
1126
- */
1127
- apiKeyControllerDeleteApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1128
- /**
1129
- *
1130
- * @summary Get a specific API key by name
1131
- * @param {string} name
1132
- * @param {*} [options] Override http request option.
1133
- * @throws {RequiredError}
1134
- * @memberof DefaultApi
1135
- */
1136
- apiKeyControllerGetApiKey(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyListDto, any>>;
1137
- /**
1138
- *
1139
- * @summary Get all API keys for the user
1140
- * @param {*} [options] Override http request option.
1141
- * @throws {RequiredError}
1142
- * @memberof DefaultApi
1143
- */
1144
- apiKeyControllerGetApiKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyListDto[], any>>;
1145
58
  /**
1146
59
  *
1147
60
  * @param {*} [options] Override http request option.
@@ -1149,356 +62,4 @@ export declare class DefaultApi extends BaseAPI {
1149
62
  * @memberof DefaultApi
1150
63
  */
1151
64
  appControllerGetHello(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1152
- /**
1153
- *
1154
- * @param {object} body
1155
- * @param {*} [options] Override http request option.
1156
- * @throws {RequiredError}
1157
- * @memberof DefaultApi
1158
- */
1159
- nodeControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1160
- /**
1161
- *
1162
- * @param {*} [options] Override http request option.
1163
- * @throws {RequiredError}
1164
- * @memberof DefaultApi
1165
- */
1166
- nodeControllerFindAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1167
- /**
1168
- *
1169
- * @param {string} id
1170
- * @param {*} [options] Override http request option.
1171
- * @throws {RequiredError}
1172
- * @memberof DefaultApi
1173
- */
1174
- nodeControllerUpdateSchedulingStatus(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1175
- /**
1176
- *
1177
- * @param {object} body
1178
- * @param {*} [options] Override http request option.
1179
- * @throws {RequiredError}
1180
- * @memberof DefaultApi
1181
- */
1182
- userControllerCreate(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1183
- /**
1184
- *
1185
- * @param {*} [options] Override http request option.
1186
- * @throws {RequiredError}
1187
- * @memberof DefaultApi
1188
- */
1189
- userControllerFindAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1190
- /**
1191
- *
1192
- * @param {string} id
1193
- * @param {*} [options] Override http request option.
1194
- * @throws {RequiredError}
1195
- * @memberof DefaultApi
1196
- */
1197
- userControllerRegenerateKeyPair(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1198
- /**
1199
- * Create folder inside workspace
1200
- * @summary Create folder
1201
- * @param {string} workspaceId
1202
- * @param {string} path
1203
- * @param {string} mode
1204
- * @param {*} [options] Override http request option.
1205
- * @throws {RequiredError}
1206
- * @memberof DefaultApi
1207
- */
1208
- workspaceControllerCreateFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1209
- /**
1210
- *
1211
- * @summary Create a workspace snapshot
1212
- * @param {string} workspaceId
1213
- * @param {*} [options] Override http request option.
1214
- * @throws {RequiredError}
1215
- * @memberof DefaultApi
1216
- */
1217
- workspaceControllerCreateSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
1218
- /**
1219
- *
1220
- * @param {CreateWorkspaceDto} createWorkspaceDto
1221
- * @param {*} [options] Override http request option.
1222
- * @throws {RequiredError}
1223
- * @memberof DefaultApi
1224
- */
1225
- workspaceControllerCreateWorkspace(createWorkspaceDto: CreateWorkspaceDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
1226
- /**
1227
- * Delete file inside workspace
1228
- * @summary Delete file
1229
- * @param {string} workspaceId
1230
- * @param {string} path
1231
- * @param {*} [options] Override http request option.
1232
- * @throws {RequiredError}
1233
- * @memberof DefaultApi
1234
- */
1235
- workspaceControllerDeleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1236
- /**
1237
- * Download file from workspace
1238
- * @summary Download file
1239
- * @param {string} workspaceId
1240
- * @param {string} path
1241
- * @param {*} [options] Override http request option.
1242
- * @throws {RequiredError}
1243
- * @memberof DefaultApi
1244
- */
1245
- workspaceControllerDownloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1246
- /**
1247
- * Execute command synchronously inside workspace
1248
- * @summary Execute command
1249
- * @param {string} workspaceId
1250
- * @param {ExecuteRequestDto} executeRequestDto
1251
- * @param {*} [options] Override http request option.
1252
- * @throws {RequiredError}
1253
- * @memberof DefaultApi
1254
- */
1255
- workspaceControllerExecuteCommand(workspaceId: string, executeRequestDto: ExecuteRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponseDto, any>>;
1256
- /**
1257
- * Search for text/pattern inside workspace files
1258
- * @summary Search for text/pattern in files
1259
- * @param {string} workspaceId
1260
- * @param {string} path
1261
- * @param {string} pattern
1262
- * @param {*} [options] Override http request option.
1263
- * @throws {RequiredError}
1264
- * @memberof DefaultApi
1265
- */
1266
- workspaceControllerFindInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1267
- /**
1268
- * Get file info inside workspace
1269
- * @summary Get file info
1270
- * @param {string} workspaceId
1271
- * @param {string} path
1272
- * @param {*} [options] Override http request option.
1273
- * @throws {RequiredError}
1274
- * @memberof DefaultApi
1275
- */
1276
- workspaceControllerGetFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1277
- /**
1278
- * Get workspace project directory
1279
- * @summary Get workspace project dir
1280
- * @param {string} workspaceId
1281
- * @param {*} [options] Override http request option.
1282
- * @throws {RequiredError}
1283
- * @memberof DefaultApi
1284
- */
1285
- workspaceControllerGetProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1286
- /**
1287
- *
1288
- * @param {string} workspaceId
1289
- * @param {boolean} [verbose] Include verbose output
1290
- * @param {*} [options] Override http request option.
1291
- * @throws {RequiredError}
1292
- * @memberof DefaultApi
1293
- */
1294
- workspaceControllerGetWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto, any>>;
1295
- /**
1296
- * Add files to git commit
1297
- * @summary Add files
1298
- * @param {string} workspaceId
1299
- * @param {GitAddRequestDto} gitAddRequestDto
1300
- * @param {*} [options] Override http request option.
1301
- * @throws {RequiredError}
1302
- * @memberof DefaultApi
1303
- */
1304
- workspaceControllerGitAddFiles(workspaceId: string, gitAddRequestDto: GitAddRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1305
- /**
1306
- * Get branch list from git repository
1307
- * @summary Get branch list
1308
- * @param {string} workspaceId
1309
- * @param {string} path
1310
- * @param {*} [options] Override http request option.
1311
- * @throws {RequiredError}
1312
- * @memberof DefaultApi
1313
- */
1314
- workspaceControllerGitBranchList(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1315
- /**
1316
- * Clone git repository
1317
- * @summary Clone repository
1318
- * @param {string} workspaceId
1319
- * @param {GitCloneRequestDto} gitCloneRequestDto
1320
- * @param {*} [options] Override http request option.
1321
- * @throws {RequiredError}
1322
- * @memberof DefaultApi
1323
- */
1324
- workspaceControllerGitCloneRepository(workspaceId: string, gitCloneRequestDto: GitCloneRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1325
- /**
1326
- * Commit changes to git repository
1327
- * @summary Commit changes
1328
- * @param {string} workspaceId
1329
- * @param {GitCommitRequestDto} gitCommitRequestDto
1330
- * @param {*} [options] Override http request option.
1331
- * @throws {RequiredError}
1332
- * @memberof DefaultApi
1333
- */
1334
- workspaceControllerGitCommitChanges(workspaceId: string, gitCommitRequestDto: GitCommitRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1335
- /**
1336
- * Get commit history from git repository
1337
- * @summary Get commit history
1338
- * @param {string} workspaceId
1339
- * @param {string} path
1340
- * @param {*} [options] Override http request option.
1341
- * @throws {RequiredError}
1342
- * @memberof DefaultApi
1343
- */
1344
- workspaceControllerGitCommitHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1345
- /**
1346
- * Create branch on git repository
1347
- * @summary Create branch
1348
- * @param {string} workspaceId
1349
- * @param {GitBranchRequestDto} gitBranchRequestDto
1350
- * @param {*} [options] Override http request option.
1351
- * @throws {RequiredError}
1352
- * @memberof DefaultApi
1353
- */
1354
- workspaceControllerGitCreateBranch(workspaceId: string, gitBranchRequestDto: GitBranchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1355
- /**
1356
- * Pull changes from remote
1357
- * @summary Pull changes
1358
- * @param {string} workspaceId
1359
- * @param {GitRepoRequestDto} gitRepoRequestDto
1360
- * @param {*} [options] Override http request option.
1361
- * @throws {RequiredError}
1362
- * @memberof DefaultApi
1363
- */
1364
- workspaceControllerGitPullChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1365
- /**
1366
- * Push changes to remote
1367
- * @summary Push changes
1368
- * @param {string} workspaceId
1369
- * @param {GitRepoRequestDto} gitRepoRequestDto
1370
- * @param {*} [options] Override http request option.
1371
- * @throws {RequiredError}
1372
- * @memberof DefaultApi
1373
- */
1374
- workspaceControllerGitPushChanges(workspaceId: string, gitRepoRequestDto: GitRepoRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1375
- /**
1376
- * Get status from git repository
1377
- * @summary Get git status
1378
- * @param {string} workspaceId
1379
- * @param {string} path
1380
- * @param {*} [options] Override http request option.
1381
- * @throws {RequiredError}
1382
- * @memberof DefaultApi
1383
- */
1384
- workspaceControllerGitStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1385
- /**
1386
- * List files inside workspace
1387
- * @summary List files
1388
- * @param {string} workspaceId
1389
- * @param {string} [path]
1390
- * @param {*} [options] Override http request option.
1391
- * @throws {RequiredError}
1392
- * @memberof DefaultApi
1393
- */
1394
- workspaceControllerListFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1395
- /**
1396
- *
1397
- * @param {boolean} [verbose] Include verbose output
1398
- * @param {*} [options] Override http request option.
1399
- * @throws {RequiredError}
1400
- * @memberof DefaultApi
1401
- */
1402
- workspaceControllerListWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceDto[], any>>;
1403
- /**
1404
- * Move file inside workspace
1405
- * @summary Move file
1406
- * @param {string} workspaceId
1407
- * @param {string} source
1408
- * @param {string} destination
1409
- * @param {*} [options] Override http request option.
1410
- * @throws {RequiredError}
1411
- * @memberof DefaultApi
1412
- */
1413
- workspaceControllerMoveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1414
- /**
1415
- *
1416
- * @param {string} workspaceId
1417
- * @param {boolean} force
1418
- * @param {*} [options] Override http request option.
1419
- * @throws {RequiredError}
1420
- * @memberof DefaultApi
1421
- */
1422
- workspaceControllerRemoveWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1423
- /**
1424
- * Replace text/pattern in multiple files inside workspace
1425
- * @summary Replace in files
1426
- * @param {string} workspaceId
1427
- * @param {ReplaceRequestDto} replaceRequestDto
1428
- * @param {*} [options] Override http request option.
1429
- * @throws {RequiredError}
1430
- * @memberof DefaultApi
1431
- */
1432
- workspaceControllerReplaceInFiles(workspaceId: string, replaceRequestDto: ReplaceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1433
- /**
1434
- * Replace all labels for a workspace. Existing labels will be removed.
1435
- * @summary Replace workspace labels
1436
- * @param {string} workspaceId
1437
- * @param {WorkspaceLabelsDto} workspaceLabelsDto
1438
- * @param {*} [options] Override http request option.
1439
- * @throws {RequiredError}
1440
- * @memberof DefaultApi
1441
- */
1442
- workspaceControllerReplaceLabels(workspaceId: string, workspaceLabelsDto: WorkspaceLabelsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabelsDto, any>>;
1443
- /**
1444
- * Search for files inside workspace
1445
- * @summary Search files
1446
- * @param {string} workspaceId
1447
- * @param {string} path
1448
- * @param {string} pattern
1449
- * @param {*} [options] Override http request option.
1450
- * @throws {RequiredError}
1451
- * @memberof DefaultApi
1452
- */
1453
- workspaceControllerSearchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1454
- /**
1455
- * Set file owner/group/permissions inside workspace
1456
- * @summary Set file permissions
1457
- * @param {string} workspaceId
1458
- * @param {string} path
1459
- * @param {string} owner
1460
- * @param {string} group
1461
- * @param {string} mode
1462
- * @param {*} [options] Override http request option.
1463
- * @throws {RequiredError}
1464
- * @memberof DefaultApi
1465
- */
1466
- workspaceControllerSetFilePermissions(workspaceId: string, path: string, owner: string, group: string, mode: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1467
- /**
1468
- *
1469
- * @param {string} workspaceId
1470
- * @param {*} [options] Override http request option.
1471
- * @throws {RequiredError}
1472
- * @memberof DefaultApi
1473
- */
1474
- workspaceControllerStartWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1475
- /**
1476
- *
1477
- * @param {string} workspaceId
1478
- * @param {*} [options] Override http request option.
1479
- * @throws {RequiredError}
1480
- * @memberof DefaultApi
1481
- */
1482
- workspaceControllerStopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1483
- /**
1484
- * Change public preview status of a workspace
1485
- * @summary Change public preview status
1486
- * @param {string} workspaceId ID of the workspace
1487
- * @param {boolean} isPublic Public status to set
1488
- * @param {*} [options] Override http request option.
1489
- * @throws {RequiredError}
1490
- * @memberof DefaultApi
1491
- */
1492
- workspaceControllerUpdatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1493
- /**
1494
- * Upload file inside workspace
1495
- * @summary Upload file
1496
- * @param {string} workspaceId
1497
- * @param {string} path
1498
- * @param {File} [file]
1499
- * @param {*} [options] Override http request option.
1500
- * @throws {RequiredError}
1501
- * @memberof DefaultApi
1502
- */
1503
- workspaceControllerUploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1504
65
  }