@daytonaio/api-client 0.5.2 → 0.6.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.
- package/.openapi-generator/FILES +20 -18
- package/README.md +2 -2
- package/api/api-keys-api.ts +21 -21
- package/api/{default-api.ts → app-api.ts} +14 -14
- package/api/docker-registry-api.ts +30 -30
- package/api/nodes-api.ts +16 -14
- package/api/toolbox-api.ts +120 -120
- package/api/users-api.ts +16 -14
- package/api/workspace-api.ts +37 -37
- package/api.ts +1 -1
- package/dist/api/api-keys-api.d.ts +17 -17
- package/dist/api/api-keys-api.js +17 -17
- package/dist/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/api/{default-api.js → app-api.js} +19 -19
- package/dist/api/docker-registry-api.d.ts +18 -18
- package/dist/api/docker-registry-api.js +33 -33
- package/dist/api/nodes-api.d.ts +9 -8
- package/dist/api/nodes-api.js +16 -16
- package/dist/api/toolbox-api.d.ts +72 -72
- package/dist/api/toolbox-api.js +125 -125
- package/dist/api/users-api.d.ts +9 -8
- package/dist/api/users-api.js +16 -16
- package/dist/api/workspace-api.d.ts +28 -28
- package/dist/api/workspace-api.js +34 -34
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/esm/api/api-keys-api.d.ts +17 -17
- package/dist/esm/api/api-keys-api.js +17 -17
- package/dist/esm/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/esm/api/{default-api.js → app-api.js} +14 -14
- package/dist/esm/api/docker-registry-api.d.ts +18 -18
- package/dist/esm/api/docker-registry-api.js +33 -33
- package/dist/esm/api/nodes-api.d.ts +9 -8
- package/dist/esm/api/nodes-api.js +16 -16
- package/dist/esm/api/toolbox-api.d.ts +72 -72
- package/dist/esm/api/toolbox-api.js +125 -125
- package/dist/esm/api/users-api.d.ts +9 -8
- package/dist/esm/api/users-api.js +16 -16
- package/dist/esm/api/workspace-api.d.ts +28 -28
- package/dist/esm/api/workspace-api.js +34 -34
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/esm/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{models/create-api-key-dto.d.ts → esm/models/create-api-key.d.ts} +3 -3
- package/dist/{models/create-docker-registry-dto.d.ts → esm/models/create-docker-registry.d.ts} +8 -8
- package/dist/esm/models/create-node.d.ts +24 -0
- package/dist/esm/models/create-user.d.ts +30 -0
- package/dist/{models/create-workspace-dto.d.ts → esm/models/create-workspace.d.ts} +21 -21
- package/dist/esm/models/{create-workspace-dto.js → create-workspace.js} +2 -2
- package/dist/{models/execute-request-dto.d.ts → esm/models/execute-request.d.ts} +4 -4
- package/dist/{models/execute-response-dto.d.ts → esm/models/execute-response.d.ts} +5 -5
- package/dist/esm/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{models/git-branch-request-dto.d.ts → esm/models/git-branch-request.d.ts} +4 -4
- package/dist/esm/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{models/git-commit-request-dto.d.ts → esm/models/git-commit-request.d.ts} +6 -6
- package/dist/esm/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/esm/models/index.d.ts +19 -17
- package/dist/esm/models/index.js +19 -17
- package/dist/esm/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/esm/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{models/workspace-info-dto.d.ts → esm/models/workspace-info.d.ts} +5 -5
- package/dist/{models/workspace-labels-dto.d.ts → esm/models/workspace-labels.d.ts} +3 -3
- package/dist/esm/models/workspace-labels.js +14 -0
- package/dist/{models/workspace-dto.d.ts → esm/models/workspace.d.ts} +18 -18
- package/dist/esm/models/workspace.js +14 -0
- package/dist/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{esm/models/create-api-key-dto.d.ts → models/create-api-key.d.ts} +3 -3
- package/dist/{esm/models/create-docker-registry-dto.d.ts → models/create-docker-registry.d.ts} +8 -8
- package/dist/models/create-node.d.ts +24 -0
- package/dist/models/create-user.d.ts +30 -0
- package/dist/{esm/models/create-workspace-dto.d.ts → models/create-workspace.d.ts} +21 -21
- package/dist/models/{create-workspace-dto.js → create-workspace.js} +3 -3
- package/dist/{esm/models/execute-request-dto.d.ts → models/execute-request.d.ts} +4 -4
- package/dist/{esm/models/execute-response-dto.d.ts → models/execute-response.d.ts} +5 -5
- package/dist/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{esm/models/git-branch-request-dto.d.ts → models/git-branch-request.d.ts} +4 -4
- package/dist/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{esm/models/git-commit-request-dto.d.ts → models/git-commit-request.d.ts} +6 -6
- package/dist/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/models/index.d.ts +19 -17
- package/dist/models/index.js +19 -17
- package/dist/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{esm/models/workspace-info-dto.d.ts → models/workspace-info.d.ts} +5 -5
- package/dist/{esm/models/workspace-labels-dto.d.ts → models/workspace-labels.d.ts} +3 -3
- package/dist/models/workspace-labels.js +15 -0
- package/dist/{esm/models/workspace-dto.d.ts → models/workspace.d.ts} +18 -18
- package/dist/models/workspace.js +15 -0
- package/models/{api-key-list-dto.ts → api-key-list.ts} +5 -5
- package/models/{api-key-response-dto.ts → api-key-response.ts} +5 -5
- package/models/{create-api-key-dto.ts → create-api-key.ts} +3 -3
- package/models/{create-docker-registry-dto.ts → create-docker-registry.ts} +8 -8
- package/models/create-node.ts +30 -0
- package/models/create-user.ts +36 -0
- package/models/{create-workspace-dto.ts → create-workspace.ts} +21 -21
- package/models/{execute-request-dto.ts → execute-request.ts} +4 -4
- package/models/{execute-response-dto.ts → execute-response.ts} +5 -5
- package/models/{git-add-request-dto.ts → git-add-request.ts} +4 -4
- package/models/{git-branch-request-dto.ts → git-branch-request.ts} +4 -4
- package/models/{git-clone-request-dto.ts → git-clone-request.ts} +8 -8
- package/models/{git-commit-request-dto.ts → git-commit-request.ts} +6 -6
- package/models/{git-repo-request-dto.ts → git-repo-request.ts} +5 -5
- package/models/index.ts +19 -17
- package/models/{replace-request-dto.ts → replace-request.ts} +5 -5
- package/models/{update-docker-registry-dto.ts → update-docker-registry.ts} +8 -8
- package/models/{workspace-info-dto.ts → workspace-info.ts} +5 -5
- package/models/{workspace-labels-dto.ts → workspace-labels.ts} +3 -3
- package/models/{workspace-dto.ts → workspace.ts} +18 -18
- package/package.json +1 -1
- /package/dist/esm/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/esm/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/esm/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/esm/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/esm/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/esm/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/esm/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/esm/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/esm/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/esm/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/esm/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/esm/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/esm/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/esm/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/esm/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/esm/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
- /package/dist/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
|
@@ -12,14 +12,14 @@
|
|
|
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 {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
15
|
+
import type { ExecuteRequest } from '../models';
|
|
16
|
+
import type { ExecuteResponse } from '../models';
|
|
17
|
+
import type { GitAddRequest } from '../models';
|
|
18
|
+
import type { GitBranchRequest } from '../models';
|
|
19
|
+
import type { GitCloneRequest } from '../models';
|
|
20
|
+
import type { GitCommitRequest } from '../models';
|
|
21
|
+
import type { GitRepoRequest } from '../models';
|
|
22
|
+
import type { ReplaceRequest } from '../models';
|
|
23
23
|
/**
|
|
24
24
|
* ToolboxApi - axios parameter creator
|
|
25
25
|
* @export
|
|
@@ -57,11 +57,11 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
57
57
|
* Execute command synchronously inside workspace
|
|
58
58
|
* @summary Execute command
|
|
59
59
|
* @param {string} workspaceId
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {ExecuteRequest} executeRequest
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
*/
|
|
64
|
-
executeCommand: (workspaceId: string,
|
|
64
|
+
executeCommand: (workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
65
|
/**
|
|
66
66
|
* Search for text/pattern inside workspace files
|
|
67
67
|
* @summary Search for text/pattern in files
|
|
@@ -93,38 +93,38 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
93
93
|
* Add files to git commit
|
|
94
94
|
* @summary Add files
|
|
95
95
|
* @param {string} workspaceId
|
|
96
|
-
* @param {
|
|
96
|
+
* @param {GitAddRequest} gitAddRequest
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
gitAddFiles: (workspaceId: string,
|
|
100
|
+
gitAddFiles: (workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
101
|
/**
|
|
102
102
|
* Clone git repository
|
|
103
103
|
* @summary Clone repository
|
|
104
104
|
* @param {string} workspaceId
|
|
105
|
-
* @param {
|
|
105
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
gitCloneRepository: (workspaceId: string,
|
|
109
|
+
gitCloneRepository: (workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
110
|
/**
|
|
111
111
|
* Commit changes to git repository
|
|
112
112
|
* @summary Commit changes
|
|
113
113
|
* @param {string} workspaceId
|
|
114
|
-
* @param {
|
|
114
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
gitCommitChanges: (workspaceId: string,
|
|
118
|
+
gitCommitChanges: (workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
119
|
/**
|
|
120
120
|
* Create branch on git repository
|
|
121
121
|
* @summary Create branch
|
|
122
122
|
* @param {string} workspaceId
|
|
123
|
-
* @param {
|
|
123
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
gitCreateBranch: (workspaceId: string,
|
|
127
|
+
gitCreateBranch: (workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
128
|
/**
|
|
129
129
|
* Get commit history from git repository
|
|
130
130
|
* @summary Get commit history
|
|
@@ -156,20 +156,20 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
156
156
|
* Pull changes from remote
|
|
157
157
|
* @summary Pull changes
|
|
158
158
|
* @param {string} workspaceId
|
|
159
|
-
* @param {
|
|
159
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
*/
|
|
163
|
-
gitPullChanges: (workspaceId: string,
|
|
163
|
+
gitPullChanges: (workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
164
164
|
/**
|
|
165
165
|
* Push changes to remote
|
|
166
166
|
* @summary Push changes
|
|
167
167
|
* @param {string} workspaceId
|
|
168
|
-
* @param {
|
|
168
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
gitPushChanges: (workspaceId: string,
|
|
172
|
+
gitPushChanges: (workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
173
|
/**
|
|
174
174
|
*
|
|
175
175
|
* @summary List files
|
|
@@ -193,11 +193,11 @@ export declare const ToolboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
193
193
|
* Replace text/pattern in multiple files inside workspace
|
|
194
194
|
* @summary Replace in files
|
|
195
195
|
* @param {string} workspaceId
|
|
196
|
-
* @param {
|
|
196
|
+
* @param {ReplaceRequest} replaceRequest
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
replaceInFiles: (workspaceId: string,
|
|
200
|
+
replaceInFiles: (workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
201
201
|
/**
|
|
202
202
|
* Search for files inside workspace
|
|
203
203
|
* @summary Search files
|
|
@@ -268,11 +268,11 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
268
268
|
* Execute command synchronously inside workspace
|
|
269
269
|
* @summary Execute command
|
|
270
270
|
* @param {string} workspaceId
|
|
271
|
-
* @param {
|
|
271
|
+
* @param {ExecuteRequest} executeRequest
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
executeCommand(workspaceId: string,
|
|
275
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>>;
|
|
276
276
|
/**
|
|
277
277
|
* Search for text/pattern inside workspace files
|
|
278
278
|
* @summary Search for text/pattern in files
|
|
@@ -304,38 +304,38 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
304
304
|
* Add files to git commit
|
|
305
305
|
* @summary Add files
|
|
306
306
|
* @param {string} workspaceId
|
|
307
|
-
* @param {
|
|
307
|
+
* @param {GitAddRequest} gitAddRequest
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
*/
|
|
311
|
-
gitAddFiles(workspaceId: string,
|
|
311
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
312
312
|
/**
|
|
313
313
|
* Clone git repository
|
|
314
314
|
* @summary Clone repository
|
|
315
315
|
* @param {string} workspaceId
|
|
316
|
-
* @param {
|
|
316
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
317
317
|
* @param {*} [options] Override http request option.
|
|
318
318
|
* @throws {RequiredError}
|
|
319
319
|
*/
|
|
320
|
-
gitCloneRepository(workspaceId: string,
|
|
320
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
321
321
|
/**
|
|
322
322
|
* Commit changes to git repository
|
|
323
323
|
* @summary Commit changes
|
|
324
324
|
* @param {string} workspaceId
|
|
325
|
-
* @param {
|
|
325
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
*/
|
|
329
|
-
gitCommitChanges(workspaceId: string,
|
|
329
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
330
330
|
/**
|
|
331
331
|
* Create branch on git repository
|
|
332
332
|
* @summary Create branch
|
|
333
333
|
* @param {string} workspaceId
|
|
334
|
-
* @param {
|
|
334
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
gitCreateBranch(workspaceId: string,
|
|
338
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
339
339
|
/**
|
|
340
340
|
* Get commit history from git repository
|
|
341
341
|
* @summary Get commit history
|
|
@@ -367,20 +367,20 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
367
367
|
* Pull changes from remote
|
|
368
368
|
* @summary Pull changes
|
|
369
369
|
* @param {string} workspaceId
|
|
370
|
-
* @param {
|
|
370
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
*/
|
|
374
|
-
gitPullChanges(workspaceId: string,
|
|
374
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
375
375
|
/**
|
|
376
376
|
* Push changes to remote
|
|
377
377
|
* @summary Push changes
|
|
378
378
|
* @param {string} workspaceId
|
|
379
|
-
* @param {
|
|
379
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
gitPushChanges(workspaceId: string,
|
|
383
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
384
384
|
/**
|
|
385
385
|
*
|
|
386
386
|
* @summary List files
|
|
@@ -404,11 +404,11 @@ export declare const ToolboxApiFp: (configuration?: Configuration) => {
|
|
|
404
404
|
* Replace text/pattern in multiple files inside workspace
|
|
405
405
|
* @summary Replace in files
|
|
406
406
|
* @param {string} workspaceId
|
|
407
|
-
* @param {
|
|
407
|
+
* @param {ReplaceRequest} replaceRequest
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
|
-
replaceInFiles(workspaceId: string,
|
|
411
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
412
412
|
/**
|
|
413
413
|
* Search for files inside workspace
|
|
414
414
|
* @summary Search files
|
|
@@ -479,11 +479,11 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
479
479
|
* Execute command synchronously inside workspace
|
|
480
480
|
* @summary Execute command
|
|
481
481
|
* @param {string} workspaceId
|
|
482
|
-
* @param {
|
|
482
|
+
* @param {ExecuteRequest} executeRequest
|
|
483
483
|
* @param {*} [options] Override http request option.
|
|
484
484
|
* @throws {RequiredError}
|
|
485
485
|
*/
|
|
486
|
-
executeCommand(workspaceId: string,
|
|
486
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse>;
|
|
487
487
|
/**
|
|
488
488
|
* Search for text/pattern inside workspace files
|
|
489
489
|
* @summary Search for text/pattern in files
|
|
@@ -515,38 +515,38 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
515
515
|
* Add files to git commit
|
|
516
516
|
* @summary Add files
|
|
517
517
|
* @param {string} workspaceId
|
|
518
|
-
* @param {
|
|
518
|
+
* @param {GitAddRequest} gitAddRequest
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
521
|
*/
|
|
522
|
-
gitAddFiles(workspaceId: string,
|
|
522
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
523
523
|
/**
|
|
524
524
|
* Clone git repository
|
|
525
525
|
* @summary Clone repository
|
|
526
526
|
* @param {string} workspaceId
|
|
527
|
-
* @param {
|
|
527
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
528
528
|
* @param {*} [options] Override http request option.
|
|
529
529
|
* @throws {RequiredError}
|
|
530
530
|
*/
|
|
531
|
-
gitCloneRepository(workspaceId: string,
|
|
531
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
532
532
|
/**
|
|
533
533
|
* Commit changes to git repository
|
|
534
534
|
* @summary Commit changes
|
|
535
535
|
* @param {string} workspaceId
|
|
536
|
-
* @param {
|
|
536
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
538
538
|
* @throws {RequiredError}
|
|
539
539
|
*/
|
|
540
|
-
gitCommitChanges(workspaceId: string,
|
|
540
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
541
541
|
/**
|
|
542
542
|
* Create branch on git repository
|
|
543
543
|
* @summary Create branch
|
|
544
544
|
* @param {string} workspaceId
|
|
545
|
-
* @param {
|
|
545
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
547
547
|
* @throws {RequiredError}
|
|
548
548
|
*/
|
|
549
|
-
gitCreateBranch(workspaceId: string,
|
|
549
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
550
550
|
/**
|
|
551
551
|
* Get commit history from git repository
|
|
552
552
|
* @summary Get commit history
|
|
@@ -578,20 +578,20 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
578
578
|
* Pull changes from remote
|
|
579
579
|
* @summary Pull changes
|
|
580
580
|
* @param {string} workspaceId
|
|
581
|
-
* @param {
|
|
581
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
582
582
|
* @param {*} [options] Override http request option.
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
*/
|
|
585
|
-
gitPullChanges(workspaceId: string,
|
|
585
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
586
586
|
/**
|
|
587
587
|
* Push changes to remote
|
|
588
588
|
* @summary Push changes
|
|
589
589
|
* @param {string} workspaceId
|
|
590
|
-
* @param {
|
|
590
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
591
591
|
* @param {*} [options] Override http request option.
|
|
592
592
|
* @throws {RequiredError}
|
|
593
593
|
*/
|
|
594
|
-
gitPushChanges(workspaceId: string,
|
|
594
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
595
595
|
/**
|
|
596
596
|
*
|
|
597
597
|
* @summary List files
|
|
@@ -615,11 +615,11 @@ export declare const ToolboxApiFactory: (configuration?: Configuration, basePath
|
|
|
615
615
|
* Replace text/pattern in multiple files inside workspace
|
|
616
616
|
* @summary Replace in files
|
|
617
617
|
* @param {string} workspaceId
|
|
618
|
-
* @param {
|
|
618
|
+
* @param {ReplaceRequest} replaceRequest
|
|
619
619
|
* @param {*} [options] Override http request option.
|
|
620
620
|
* @throws {RequiredError}
|
|
621
621
|
*/
|
|
622
|
-
replaceInFiles(workspaceId: string,
|
|
622
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
623
623
|
/**
|
|
624
624
|
* Search for files inside workspace
|
|
625
625
|
* @summary Search files
|
|
@@ -695,12 +695,12 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
695
695
|
* Execute command synchronously inside workspace
|
|
696
696
|
* @summary Execute command
|
|
697
697
|
* @param {string} workspaceId
|
|
698
|
-
* @param {
|
|
698
|
+
* @param {ExecuteRequest} executeRequest
|
|
699
699
|
* @param {*} [options] Override http request option.
|
|
700
700
|
* @throws {RequiredError}
|
|
701
701
|
* @memberof ToolboxApi
|
|
702
702
|
*/
|
|
703
|
-
executeCommand(workspaceId: string,
|
|
703
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteResponse, any>>;
|
|
704
704
|
/**
|
|
705
705
|
* Search for text/pattern inside workspace files
|
|
706
706
|
* @summary Search for text/pattern in files
|
|
@@ -735,42 +735,42 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
735
735
|
* Add files to git commit
|
|
736
736
|
* @summary Add files
|
|
737
737
|
* @param {string} workspaceId
|
|
738
|
-
* @param {
|
|
738
|
+
* @param {GitAddRequest} gitAddRequest
|
|
739
739
|
* @param {*} [options] Override http request option.
|
|
740
740
|
* @throws {RequiredError}
|
|
741
741
|
* @memberof ToolboxApi
|
|
742
742
|
*/
|
|
743
|
-
gitAddFiles(workspaceId: string,
|
|
743
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
744
744
|
/**
|
|
745
745
|
* Clone git repository
|
|
746
746
|
* @summary Clone repository
|
|
747
747
|
* @param {string} workspaceId
|
|
748
|
-
* @param {
|
|
748
|
+
* @param {GitCloneRequest} gitCloneRequest
|
|
749
749
|
* @param {*} [options] Override http request option.
|
|
750
750
|
* @throws {RequiredError}
|
|
751
751
|
* @memberof ToolboxApi
|
|
752
752
|
*/
|
|
753
|
-
gitCloneRepository(workspaceId: string,
|
|
753
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
754
754
|
/**
|
|
755
755
|
* Commit changes to git repository
|
|
756
756
|
* @summary Commit changes
|
|
757
757
|
* @param {string} workspaceId
|
|
758
|
-
* @param {
|
|
758
|
+
* @param {GitCommitRequest} gitCommitRequest
|
|
759
759
|
* @param {*} [options] Override http request option.
|
|
760
760
|
* @throws {RequiredError}
|
|
761
761
|
* @memberof ToolboxApi
|
|
762
762
|
*/
|
|
763
|
-
gitCommitChanges(workspaceId: string,
|
|
763
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
764
764
|
/**
|
|
765
765
|
* Create branch on git repository
|
|
766
766
|
* @summary Create branch
|
|
767
767
|
* @param {string} workspaceId
|
|
768
|
-
* @param {
|
|
768
|
+
* @param {GitBranchRequest} gitBranchRequest
|
|
769
769
|
* @param {*} [options] Override http request option.
|
|
770
770
|
* @throws {RequiredError}
|
|
771
771
|
* @memberof ToolboxApi
|
|
772
772
|
*/
|
|
773
|
-
gitCreateBranch(workspaceId: string,
|
|
773
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
774
774
|
/**
|
|
775
775
|
* Get commit history from git repository
|
|
776
776
|
* @summary Get commit history
|
|
@@ -805,22 +805,22 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
805
805
|
* Pull changes from remote
|
|
806
806
|
* @summary Pull changes
|
|
807
807
|
* @param {string} workspaceId
|
|
808
|
-
* @param {
|
|
808
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
809
809
|
* @param {*} [options] Override http request option.
|
|
810
810
|
* @throws {RequiredError}
|
|
811
811
|
* @memberof ToolboxApi
|
|
812
812
|
*/
|
|
813
|
-
gitPullChanges(workspaceId: string,
|
|
813
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
814
814
|
/**
|
|
815
815
|
* Push changes to remote
|
|
816
816
|
* @summary Push changes
|
|
817
817
|
* @param {string} workspaceId
|
|
818
|
-
* @param {
|
|
818
|
+
* @param {GitRepoRequest} gitRepoRequest
|
|
819
819
|
* @param {*} [options] Override http request option.
|
|
820
820
|
* @throws {RequiredError}
|
|
821
821
|
* @memberof ToolboxApi
|
|
822
822
|
*/
|
|
823
|
-
gitPushChanges(workspaceId: string,
|
|
823
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
824
824
|
/**
|
|
825
825
|
*
|
|
826
826
|
* @summary List files
|
|
@@ -846,12 +846,12 @@ export declare class ToolboxApi extends BaseAPI {
|
|
|
846
846
|
* Replace text/pattern in multiple files inside workspace
|
|
847
847
|
* @summary Replace in files
|
|
848
848
|
* @param {string} workspaceId
|
|
849
|
-
* @param {
|
|
849
|
+
* @param {ReplaceRequest} replaceRequest
|
|
850
850
|
* @param {*} [options] Override http request option.
|
|
851
851
|
* @throws {RequiredError}
|
|
852
852
|
* @memberof ToolboxApi
|
|
853
853
|
*/
|
|
854
|
-
replaceInFiles(workspaceId: string,
|
|
854
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
855
855
|
/**
|
|
856
856
|
* Search for files inside workspace
|
|
857
857
|
* @summary Search files
|