@daytonaio/api-client 0.13.0 → 0.15.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 +19 -0
- package/README.md +2 -2
- package/api/api-keys-api.ts +60 -28
- package/api/docker-registry-api.ts +182 -58
- package/api/images-api.ts +60 -28
- package/api/organizations-api.ts +1858 -0
- package/api/toolbox-api.ts +548 -252
- package/api/users-api.ts +14 -14
- package/api/workspace-api.ts +334 -161
- package/api.ts +1 -0
- package/dist/api/api-keys-api.d.ts +32 -16
- package/dist/api/api-keys-api.js +56 -28
- package/dist/api/docker-registry-api.d.ts +98 -40
- package/dist/api/docker-registry-api.js +169 -58
- package/dist/api/images-api.d.ts +32 -16
- package/dist/api/images-api.js +56 -28
- package/dist/api/organizations-api.d.ts +856 -0
- package/dist/api/organizations-api.js +1741 -0
- package/dist/api/toolbox-api.d.ts +292 -144
- package/dist/api/toolbox-api.js +511 -252
- package/dist/api/users-api.d.ts +9 -9
- package/dist/api/users-api.js +13 -13
- package/dist/api/workspace-api.d.ts +182 -97
- package/dist/api/workspace-api.js +319 -162
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/api-keys-api.d.ts +32 -16
- package/dist/esm/api/api-keys-api.js +56 -28
- package/dist/esm/api/docker-registry-api.d.ts +98 -40
- package/dist/esm/api/docker-registry-api.js +169 -58
- package/dist/esm/api/images-api.d.ts +32 -16
- package/dist/esm/api/images-api.js +56 -28
- package/dist/esm/api/organizations-api.d.ts +856 -0
- package/dist/esm/api/organizations-api.js +1734 -0
- package/dist/esm/api/toolbox-api.d.ts +292 -144
- package/dist/esm/api/toolbox-api.js +511 -252
- package/dist/esm/api/users-api.d.ts +9 -9
- package/dist/esm/api/users-api.js +13 -13
- package/dist/esm/api/workspace-api.d.ts +182 -97
- package/dist/esm/api/workspace-api.js +319 -162
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/api-key-list.d.ts +15 -0
- package/dist/esm/models/api-key-list.js +8 -1
- package/dist/esm/models/api-key-response.d.ts +15 -0
- package/dist/esm/models/api-key-response.js +8 -1
- package/dist/esm/models/create-api-key.d.ts +15 -0
- package/dist/esm/models/create-api-key.js +8 -1
- package/dist/esm/models/create-docker-registry.d.ts +19 -0
- package/dist/esm/models/create-docker-registry.js +6 -1
- package/dist/esm/models/create-node.d.ts +72 -0
- package/dist/esm/models/create-node.js +10 -1
- package/dist/esm/models/create-organization-invitation.d.ts +47 -0
- package/dist/esm/models/create-organization-invitation.js +17 -0
- package/dist/esm/models/create-organization-quota.d.ts +84 -0
- package/dist/esm/models/create-organization-quota.js +14 -0
- package/dist/esm/models/create-organization-role.d.ts +45 -0
- package/dist/esm/models/create-organization-role.js +21 -0
- package/dist/esm/models/create-organization.d.ts +90 -0
- package/dist/esm/models/create-organization.js +14 -0
- package/dist/esm/models/create-user.d.ts +13 -0
- package/dist/esm/models/create-workspace.d.ts +6 -6
- package/dist/esm/models/create-workspace.js +6 -6
- package/dist/esm/models/docker-registry.d.ts +13 -0
- package/dist/esm/models/docker-registry.js +6 -1
- package/dist/esm/models/image-dto.d.ts +4 -12
- package/dist/esm/models/image-dto.js +1 -8
- package/dist/esm/models/image-state.d.ts +26 -0
- package/dist/esm/models/image-state.js +27 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/organization-invitation.d.ts +91 -0
- package/dist/esm/models/organization-invitation.js +23 -0
- package/dist/esm/models/organization-role.d.ts +69 -0
- package/dist/esm/models/organization-role.js +21 -0
- package/dist/esm/models/organization-user.d.ts +72 -0
- package/dist/esm/models/organization-user.js +17 -0
- package/dist/esm/models/organization.d.ts +54 -0
- package/dist/esm/models/organization.js +14 -0
- package/dist/esm/models/registry-push-access-dto.d.ts +54 -0
- package/dist/esm/models/registry-push-access-dto.js +14 -0
- package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/esm/models/update-assigned-organization-roles.js +14 -0
- package/dist/esm/models/update-organization-invitation.d.ts +41 -0
- package/dist/esm/models/update-organization-invitation.js +17 -0
- package/dist/esm/models/update-organization-member-role.d.ts +29 -0
- package/dist/esm/models/update-organization-member-role.js +17 -0
- package/dist/esm/models/update-organization-quota.d.ts +84 -0
- package/dist/esm/models/update-organization-quota.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +45 -0
- package/dist/esm/models/update-organization-role.js +21 -0
- package/dist/esm/models/user-public-key.d.ts +30 -0
- package/dist/esm/models/user-public-key.js +14 -0
- package/dist/esm/models/user.d.ts +43 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/esm/models/workspace-state.d.ts +33 -0
- package/dist/esm/models/workspace-state.js +34 -0
- package/dist/esm/models/workspace.d.ts +12 -3
- package/dist/esm/models/workspace.js +7 -1
- package/dist/models/api-key-list.d.ts +15 -0
- package/dist/models/api-key-list.js +9 -0
- package/dist/models/api-key-response.d.ts +15 -0
- package/dist/models/api-key-response.js +9 -0
- package/dist/models/create-api-key.d.ts +15 -0
- package/dist/models/create-api-key.js +9 -0
- package/dist/models/create-docker-registry.d.ts +19 -0
- package/dist/models/create-docker-registry.js +7 -0
- package/dist/models/create-node.d.ts +72 -0
- package/dist/models/create-node.js +11 -0
- package/dist/models/create-organization-invitation.d.ts +47 -0
- package/dist/models/create-organization-invitation.js +20 -0
- package/dist/models/create-organization-quota.d.ts +84 -0
- package/dist/models/create-organization-quota.js +15 -0
- package/dist/models/create-organization-role.d.ts +45 -0
- package/dist/models/create-organization-role.js +24 -0
- package/dist/models/create-organization.d.ts +90 -0
- package/dist/models/create-organization.js +15 -0
- package/dist/models/create-user.d.ts +13 -0
- package/dist/models/create-workspace.d.ts +6 -6
- package/dist/models/create-workspace.js +6 -6
- package/dist/models/docker-registry.d.ts +13 -0
- package/dist/models/docker-registry.js +7 -0
- package/dist/models/image-dto.d.ts +4 -12
- package/dist/models/image-dto.js +0 -9
- package/dist/models/image-state.d.ts +26 -0
- package/dist/models/image-state.js +30 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/organization-invitation.d.ts +91 -0
- package/dist/models/organization-invitation.js +26 -0
- package/dist/models/organization-role.d.ts +69 -0
- package/dist/models/organization-role.js +24 -0
- package/dist/models/organization-user.d.ts +72 -0
- package/dist/models/organization-user.js +20 -0
- package/dist/models/organization.d.ts +54 -0
- package/dist/models/organization.js +15 -0
- package/dist/models/registry-push-access-dto.d.ts +54 -0
- package/dist/models/registry-push-access-dto.js +15 -0
- package/dist/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/models/update-assigned-organization-roles.js +15 -0
- package/dist/models/update-organization-invitation.d.ts +41 -0
- package/dist/models/update-organization-invitation.js +20 -0
- package/dist/models/update-organization-member-role.d.ts +29 -0
- package/dist/models/update-organization-member-role.js +20 -0
- package/dist/models/update-organization-quota.d.ts +84 -0
- package/dist/models/update-organization-quota.js +15 -0
- package/dist/models/update-organization-role.d.ts +45 -0
- package/dist/models/update-organization-role.js +24 -0
- package/dist/models/user-public-key.d.ts +30 -0
- package/dist/models/user-public-key.js +15 -0
- package/dist/models/user.d.ts +43 -0
- package/dist/models/user.js +15 -0
- package/dist/models/workspace-state.d.ts +33 -0
- package/dist/models/workspace-state.js +37 -0
- package/dist/models/workspace.d.ts +12 -3
- package/dist/models/workspace.js +8 -0
- package/models/api-key-list.ts +18 -0
- package/models/api-key-response.ts +18 -0
- package/models/create-api-key.ts +18 -0
- package/models/create-docker-registry.ts +22 -0
- package/models/create-node.ts +76 -0
- package/models/create-organization-invitation.ts +56 -0
- package/models/create-organization-quota.ts +90 -0
- package/models/create-organization-role.ts +54 -0
- package/models/create-organization.ts +96 -0
- package/models/create-user.ts +15 -0
- package/models/create-workspace.ts +6 -6
- package/models/docker-registry.ts +16 -0
- package/models/image-dto.ts +6 -13
- package/models/image-state.ts +36 -0
- package/models/index.ts +18 -0
- package/models/organization-invitation.ts +103 -0
- package/models/organization-role.ts +78 -0
- package/models/organization-user.ts +83 -0
- package/models/organization.ts +60 -0
- package/models/registry-push-access-dto.ts +60 -0
- package/models/update-assigned-organization-roles.ts +30 -0
- package/models/update-organization-invitation.ts +50 -0
- package/models/update-organization-member-role.ts +38 -0
- package/models/update-organization-quota.ts +90 -0
- package/models/update-organization-role.ts +54 -0
- package/models/user-public-key.ts +36 -0
- package/models/user.ts +51 -0
- package/models/workspace-state.ts +43 -0
- package/models/workspace.ts +17 -3
- package/package.json +1 -1
package/api/toolbox-api.ts
CHANGED
|
@@ -87,10 +87,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
87
87
|
* @param {string} workspaceId
|
|
88
88
|
* @param {string} path
|
|
89
89
|
* @param {string} mode
|
|
90
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
90
91
|
* @param {*} [options] Override http request option.
|
|
91
92
|
* @throws {RequiredError}
|
|
92
93
|
*/
|
|
93
|
-
createFolder: async (workspaceId: string, path: string, mode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
createFolder: async (workspaceId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
95
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
95
96
|
assertParamExists('createFolder', 'workspaceId', workspaceId)
|
|
96
97
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -122,6 +123,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
122
123
|
localVarQueryParameter['mode'] = mode;
|
|
123
124
|
}
|
|
124
125
|
|
|
126
|
+
if (xDaytonaOrganizationID != null) {
|
|
127
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
128
|
+
}
|
|
129
|
+
|
|
125
130
|
|
|
126
131
|
|
|
127
132
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -138,10 +143,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
138
143
|
* @summary Create session
|
|
139
144
|
* @param {string} workspaceId
|
|
140
145
|
* @param {CreateSessionRequest} createSessionRequest
|
|
146
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
141
147
|
* @param {*} [options] Override http request option.
|
|
142
148
|
* @throws {RequiredError}
|
|
143
149
|
*/
|
|
144
|
-
createSession: async (workspaceId: string, createSessionRequest: CreateSessionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
|
+
createSession: async (workspaceId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
151
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
146
152
|
assertParamExists('createSession', 'workspaceId', workspaceId)
|
|
147
153
|
// verify required parameter 'createSessionRequest' is not null or undefined
|
|
@@ -163,6 +169,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
163
169
|
// oauth required
|
|
164
170
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
165
171
|
|
|
172
|
+
if (xDaytonaOrganizationID != null) {
|
|
173
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
174
|
+
}
|
|
175
|
+
|
|
166
176
|
|
|
167
177
|
|
|
168
178
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -182,10 +192,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
182
192
|
* @summary Delete file
|
|
183
193
|
* @param {string} workspaceId
|
|
184
194
|
* @param {string} path
|
|
195
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
185
196
|
* @param {*} [options] Override http request option.
|
|
186
197
|
* @throws {RequiredError}
|
|
187
198
|
*/
|
|
188
|
-
deleteFile: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
|
+
deleteFile: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
200
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
190
201
|
assertParamExists('deleteFile', 'workspaceId', workspaceId)
|
|
191
202
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -211,6 +222,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
211
222
|
localVarQueryParameter['path'] = path;
|
|
212
223
|
}
|
|
213
224
|
|
|
225
|
+
if (xDaytonaOrganizationID != null) {
|
|
226
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
227
|
+
}
|
|
228
|
+
|
|
214
229
|
|
|
215
230
|
|
|
216
231
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -227,10 +242,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
227
242
|
* @summary Delete session
|
|
228
243
|
* @param {string} workspaceId
|
|
229
244
|
* @param {string} sessionId
|
|
245
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
230
246
|
* @param {*} [options] Override http request option.
|
|
231
247
|
* @throws {RequiredError}
|
|
232
248
|
*/
|
|
233
|
-
deleteSession: async (workspaceId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
|
+
deleteSession: async (workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
234
250
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
235
251
|
assertParamExists('deleteSession', 'workspaceId', workspaceId)
|
|
236
252
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -253,6 +269,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
253
269
|
// oauth required
|
|
254
270
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
255
271
|
|
|
272
|
+
if (xDaytonaOrganizationID != null) {
|
|
273
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
274
|
+
}
|
|
275
|
+
|
|
256
276
|
|
|
257
277
|
|
|
258
278
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -269,10 +289,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
269
289
|
* @summary Download file
|
|
270
290
|
* @param {string} workspaceId
|
|
271
291
|
* @param {string} path
|
|
292
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
272
293
|
* @param {*} [options] Override http request option.
|
|
273
294
|
* @throws {RequiredError}
|
|
274
295
|
*/
|
|
275
|
-
downloadFile: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
296
|
+
downloadFile: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
276
297
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
277
298
|
assertParamExists('downloadFile', 'workspaceId', workspaceId)
|
|
278
299
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -298,6 +319,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
298
319
|
localVarQueryParameter['path'] = path;
|
|
299
320
|
}
|
|
300
321
|
|
|
322
|
+
if (xDaytonaOrganizationID != null) {
|
|
323
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
324
|
+
}
|
|
325
|
+
|
|
301
326
|
|
|
302
327
|
|
|
303
328
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -314,10 +339,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
314
339
|
* @summary Execute command
|
|
315
340
|
* @param {string} workspaceId
|
|
316
341
|
* @param {ExecuteRequest} executeRequest
|
|
342
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
317
343
|
* @param {*} [options] Override http request option.
|
|
318
344
|
* @throws {RequiredError}
|
|
319
345
|
*/
|
|
320
|
-
executeCommand: async (workspaceId: string, executeRequest: ExecuteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
346
|
+
executeCommand: async (workspaceId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
321
347
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
322
348
|
assertParamExists('executeCommand', 'workspaceId', workspaceId)
|
|
323
349
|
// verify required parameter 'executeRequest' is not null or undefined
|
|
@@ -339,6 +365,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
339
365
|
// oauth required
|
|
340
366
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
341
367
|
|
|
368
|
+
if (xDaytonaOrganizationID != null) {
|
|
369
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
370
|
+
}
|
|
371
|
+
|
|
342
372
|
|
|
343
373
|
|
|
344
374
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -359,10 +389,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
359
389
|
* @param {string} workspaceId
|
|
360
390
|
* @param {string} sessionId
|
|
361
391
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
392
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
362
393
|
* @param {*} [options] Override http request option.
|
|
363
394
|
* @throws {RequiredError}
|
|
364
395
|
*/
|
|
365
|
-
executeSessionCommand: async (workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
396
|
+
executeSessionCommand: async (workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
366
397
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
367
398
|
assertParamExists('executeSessionCommand', 'workspaceId', workspaceId)
|
|
368
399
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -387,6 +418,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
387
418
|
// oauth required
|
|
388
419
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
389
420
|
|
|
421
|
+
if (xDaytonaOrganizationID != null) {
|
|
422
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
423
|
+
}
|
|
424
|
+
|
|
390
425
|
|
|
391
426
|
|
|
392
427
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -407,10 +442,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
407
442
|
* @param {string} workspaceId
|
|
408
443
|
* @param {string} path
|
|
409
444
|
* @param {string} pattern
|
|
445
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
410
446
|
* @param {*} [options] Override http request option.
|
|
411
447
|
* @throws {RequiredError}
|
|
412
448
|
*/
|
|
413
|
-
findInFiles: async (workspaceId: string, path: string, pattern: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
449
|
+
findInFiles: async (workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
414
450
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
415
451
|
assertParamExists('findInFiles', 'workspaceId', workspaceId)
|
|
416
452
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -442,6 +478,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
442
478
|
localVarQueryParameter['pattern'] = pattern;
|
|
443
479
|
}
|
|
444
480
|
|
|
481
|
+
if (xDaytonaOrganizationID != null) {
|
|
482
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
483
|
+
}
|
|
484
|
+
|
|
445
485
|
|
|
446
486
|
|
|
447
487
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -458,10 +498,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
458
498
|
* @summary Get file info
|
|
459
499
|
* @param {string} workspaceId
|
|
460
500
|
* @param {string} path
|
|
501
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
461
502
|
* @param {*} [options] Override http request option.
|
|
462
503
|
* @throws {RequiredError}
|
|
463
504
|
*/
|
|
464
|
-
getFileInfo: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
505
|
+
getFileInfo: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
465
506
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
466
507
|
assertParamExists('getFileInfo', 'workspaceId', workspaceId)
|
|
467
508
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -487,6 +528,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
487
528
|
localVarQueryParameter['path'] = path;
|
|
488
529
|
}
|
|
489
530
|
|
|
531
|
+
if (xDaytonaOrganizationID != null) {
|
|
532
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
533
|
+
}
|
|
534
|
+
|
|
490
535
|
|
|
491
536
|
|
|
492
537
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -502,10 +547,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
502
547
|
*
|
|
503
548
|
* @summary Get workspace project dir
|
|
504
549
|
* @param {string} workspaceId
|
|
550
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
505
551
|
* @param {*} [options] Override http request option.
|
|
506
552
|
* @throws {RequiredError}
|
|
507
553
|
*/
|
|
508
|
-
getProjectDir: async (workspaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
554
|
+
getProjectDir: async (workspaceId: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
509
555
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
510
556
|
assertParamExists('getProjectDir', 'workspaceId', workspaceId)
|
|
511
557
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/project-dir`
|
|
@@ -525,6 +571,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
525
571
|
// oauth required
|
|
526
572
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
527
573
|
|
|
574
|
+
if (xDaytonaOrganizationID != null) {
|
|
575
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
576
|
+
}
|
|
577
|
+
|
|
528
578
|
|
|
529
579
|
|
|
530
580
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -541,10 +591,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
541
591
|
* @summary Get session
|
|
542
592
|
* @param {string} workspaceId
|
|
543
593
|
* @param {string} sessionId
|
|
594
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
544
595
|
* @param {*} [options] Override http request option.
|
|
545
596
|
* @throws {RequiredError}
|
|
546
597
|
*/
|
|
547
|
-
getSession: async (workspaceId: string, sessionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
598
|
+
getSession: async (workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
548
599
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
549
600
|
assertParamExists('getSession', 'workspaceId', workspaceId)
|
|
550
601
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -567,6 +618,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
567
618
|
// oauth required
|
|
568
619
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
569
620
|
|
|
621
|
+
if (xDaytonaOrganizationID != null) {
|
|
622
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
623
|
+
}
|
|
624
|
+
|
|
570
625
|
|
|
571
626
|
|
|
572
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -584,10 +639,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
584
639
|
* @param {string} workspaceId
|
|
585
640
|
* @param {string} sessionId
|
|
586
641
|
* @param {string} commandId
|
|
642
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
587
643
|
* @param {*} [options] Override http request option.
|
|
588
644
|
* @throws {RequiredError}
|
|
589
645
|
*/
|
|
590
|
-
getSessionCommand: async (workspaceId: string, sessionId: string, commandId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
646
|
+
getSessionCommand: async (workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
591
647
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
592
648
|
assertParamExists('getSessionCommand', 'workspaceId', workspaceId)
|
|
593
649
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -613,6 +669,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
613
669
|
// oauth required
|
|
614
670
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
615
671
|
|
|
672
|
+
if (xDaytonaOrganizationID != null) {
|
|
673
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
674
|
+
}
|
|
675
|
+
|
|
616
676
|
|
|
617
677
|
|
|
618
678
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -630,10 +690,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
630
690
|
* @param {string} workspaceId
|
|
631
691
|
* @param {string} sessionId
|
|
632
692
|
* @param {string} commandId
|
|
693
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
694
|
+
* @param {boolean} [follow]
|
|
633
695
|
* @param {*} [options] Override http request option.
|
|
634
696
|
* @throws {RequiredError}
|
|
635
697
|
*/
|
|
636
|
-
getSessionCommandLogs: async (workspaceId: string, sessionId: string, commandId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
698
|
+
getSessionCommandLogs: async (workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
637
699
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
638
700
|
assertParamExists('getSessionCommandLogs', 'workspaceId', workspaceId)
|
|
639
701
|
// verify required parameter 'sessionId' is not null or undefined
|
|
@@ -659,6 +721,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
659
721
|
// oauth required
|
|
660
722
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
661
723
|
|
|
724
|
+
if (follow !== undefined) {
|
|
725
|
+
localVarQueryParameter['follow'] = follow;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
if (xDaytonaOrganizationID != null) {
|
|
729
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
730
|
+
}
|
|
731
|
+
|
|
662
732
|
|
|
663
733
|
|
|
664
734
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -675,10 +745,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
675
745
|
* @summary Add files
|
|
676
746
|
* @param {string} workspaceId
|
|
677
747
|
* @param {GitAddRequest} gitAddRequest
|
|
748
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
678
749
|
* @param {*} [options] Override http request option.
|
|
679
750
|
* @throws {RequiredError}
|
|
680
751
|
*/
|
|
681
|
-
gitAddFiles: async (workspaceId: string, gitAddRequest: GitAddRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
752
|
+
gitAddFiles: async (workspaceId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
682
753
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
683
754
|
assertParamExists('gitAddFiles', 'workspaceId', workspaceId)
|
|
684
755
|
// verify required parameter 'gitAddRequest' is not null or undefined
|
|
@@ -700,6 +771,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
700
771
|
// oauth required
|
|
701
772
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
702
773
|
|
|
774
|
+
if (xDaytonaOrganizationID != null) {
|
|
775
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
776
|
+
}
|
|
777
|
+
|
|
703
778
|
|
|
704
779
|
|
|
705
780
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -719,10 +794,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
719
794
|
* @summary Clone repository
|
|
720
795
|
* @param {string} workspaceId
|
|
721
796
|
* @param {GitCloneRequest} gitCloneRequest
|
|
797
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
722
798
|
* @param {*} [options] Override http request option.
|
|
723
799
|
* @throws {RequiredError}
|
|
724
800
|
*/
|
|
725
|
-
gitCloneRepository: async (workspaceId: string, gitCloneRequest: GitCloneRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
801
|
+
gitCloneRepository: async (workspaceId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
726
802
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
727
803
|
assertParamExists('gitCloneRepository', 'workspaceId', workspaceId)
|
|
728
804
|
// verify required parameter 'gitCloneRequest' is not null or undefined
|
|
@@ -744,6 +820,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
744
820
|
// oauth required
|
|
745
821
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
746
822
|
|
|
823
|
+
if (xDaytonaOrganizationID != null) {
|
|
824
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
825
|
+
}
|
|
826
|
+
|
|
747
827
|
|
|
748
828
|
|
|
749
829
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -763,10 +843,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
763
843
|
* @summary Commit changes
|
|
764
844
|
* @param {string} workspaceId
|
|
765
845
|
* @param {GitCommitRequest} gitCommitRequest
|
|
846
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
766
847
|
* @param {*} [options] Override http request option.
|
|
767
848
|
* @throws {RequiredError}
|
|
768
849
|
*/
|
|
769
|
-
gitCommitChanges: async (workspaceId: string, gitCommitRequest: GitCommitRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
850
|
+
gitCommitChanges: async (workspaceId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
770
851
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
771
852
|
assertParamExists('gitCommitChanges', 'workspaceId', workspaceId)
|
|
772
853
|
// verify required parameter 'gitCommitRequest' is not null or undefined
|
|
@@ -788,6 +869,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
788
869
|
// oauth required
|
|
789
870
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
790
871
|
|
|
872
|
+
if (xDaytonaOrganizationID != null) {
|
|
873
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
874
|
+
}
|
|
875
|
+
|
|
791
876
|
|
|
792
877
|
|
|
793
878
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -807,10 +892,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
807
892
|
* @summary Create branch
|
|
808
893
|
* @param {string} workspaceId
|
|
809
894
|
* @param {GitBranchRequest} gitBranchRequest
|
|
895
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
810
896
|
* @param {*} [options] Override http request option.
|
|
811
897
|
* @throws {RequiredError}
|
|
812
898
|
*/
|
|
813
|
-
gitCreateBranch: async (workspaceId: string, gitBranchRequest: GitBranchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
899
|
+
gitCreateBranch: async (workspaceId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
814
900
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
815
901
|
assertParamExists('gitCreateBranch', 'workspaceId', workspaceId)
|
|
816
902
|
// verify required parameter 'gitBranchRequest' is not null or undefined
|
|
@@ -832,6 +918,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
832
918
|
// oauth required
|
|
833
919
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
834
920
|
|
|
921
|
+
if (xDaytonaOrganizationID != null) {
|
|
922
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
923
|
+
}
|
|
924
|
+
|
|
835
925
|
|
|
836
926
|
|
|
837
927
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -851,10 +941,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
851
941
|
* @summary Get commit history
|
|
852
942
|
* @param {string} workspaceId
|
|
853
943
|
* @param {string} path
|
|
944
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
854
945
|
* @param {*} [options] Override http request option.
|
|
855
946
|
* @throws {RequiredError}
|
|
856
947
|
*/
|
|
857
|
-
gitGetHistory: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
948
|
+
gitGetHistory: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
858
949
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
859
950
|
assertParamExists('gitGetHistory', 'workspaceId', workspaceId)
|
|
860
951
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -880,6 +971,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
880
971
|
localVarQueryParameter['path'] = path;
|
|
881
972
|
}
|
|
882
973
|
|
|
974
|
+
if (xDaytonaOrganizationID != null) {
|
|
975
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
976
|
+
}
|
|
977
|
+
|
|
883
978
|
|
|
884
979
|
|
|
885
980
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -896,10 +991,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
896
991
|
* @summary Get git status
|
|
897
992
|
* @param {string} workspaceId
|
|
898
993
|
* @param {string} path
|
|
994
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
899
995
|
* @param {*} [options] Override http request option.
|
|
900
996
|
* @throws {RequiredError}
|
|
901
997
|
*/
|
|
902
|
-
gitGetStatus: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
998
|
+
gitGetStatus: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
903
999
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
904
1000
|
assertParamExists('gitGetStatus', 'workspaceId', workspaceId)
|
|
905
1001
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -925,6 +1021,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
925
1021
|
localVarQueryParameter['path'] = path;
|
|
926
1022
|
}
|
|
927
1023
|
|
|
1024
|
+
if (xDaytonaOrganizationID != null) {
|
|
1025
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
928
1028
|
|
|
929
1029
|
|
|
930
1030
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -941,10 +1041,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
941
1041
|
* @summary Get branch list
|
|
942
1042
|
* @param {string} workspaceId
|
|
943
1043
|
* @param {string} path
|
|
1044
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
944
1045
|
* @param {*} [options] Override http request option.
|
|
945
1046
|
* @throws {RequiredError}
|
|
946
1047
|
*/
|
|
947
|
-
gitListBranches: async (workspaceId: string, path: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1048
|
+
gitListBranches: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
948
1049
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
949
1050
|
assertParamExists('gitListBranches', 'workspaceId', workspaceId)
|
|
950
1051
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -970,6 +1071,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
970
1071
|
localVarQueryParameter['path'] = path;
|
|
971
1072
|
}
|
|
972
1073
|
|
|
1074
|
+
if (xDaytonaOrganizationID != null) {
|
|
1075
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
973
1078
|
|
|
974
1079
|
|
|
975
1080
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -986,10 +1091,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
986
1091
|
* @summary Pull changes
|
|
987
1092
|
* @param {string} workspaceId
|
|
988
1093
|
* @param {GitRepoRequest} gitRepoRequest
|
|
1094
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
989
1095
|
* @param {*} [options] Override http request option.
|
|
990
1096
|
* @throws {RequiredError}
|
|
991
1097
|
*/
|
|
992
|
-
gitPullChanges: async (workspaceId: string, gitRepoRequest: GitRepoRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1098
|
+
gitPullChanges: async (workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
993
1099
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
994
1100
|
assertParamExists('gitPullChanges', 'workspaceId', workspaceId)
|
|
995
1101
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
@@ -1011,6 +1117,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1011
1117
|
// oauth required
|
|
1012
1118
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1013
1119
|
|
|
1120
|
+
if (xDaytonaOrganizationID != null) {
|
|
1121
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1014
1124
|
|
|
1015
1125
|
|
|
1016
1126
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1030,10 +1140,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1030
1140
|
* @summary Push changes
|
|
1031
1141
|
* @param {string} workspaceId
|
|
1032
1142
|
* @param {GitRepoRequest} gitRepoRequest
|
|
1143
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1033
1144
|
* @param {*} [options] Override http request option.
|
|
1034
1145
|
* @throws {RequiredError}
|
|
1035
1146
|
*/
|
|
1036
|
-
gitPushChanges: async (workspaceId: string, gitRepoRequest: GitRepoRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1147
|
+
gitPushChanges: async (workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1037
1148
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1038
1149
|
assertParamExists('gitPushChanges', 'workspaceId', workspaceId)
|
|
1039
1150
|
// verify required parameter 'gitRepoRequest' is not null or undefined
|
|
@@ -1055,6 +1166,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1055
1166
|
// oauth required
|
|
1056
1167
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1057
1168
|
|
|
1169
|
+
if (xDaytonaOrganizationID != null) {
|
|
1170
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1058
1173
|
|
|
1059
1174
|
|
|
1060
1175
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1073,11 +1188,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1073
1188
|
*
|
|
1074
1189
|
* @summary List files
|
|
1075
1190
|
* @param {string} workspaceId
|
|
1191
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1076
1192
|
* @param {string} [path]
|
|
1077
1193
|
* @param {*} [options] Override http request option.
|
|
1078
1194
|
* @throws {RequiredError}
|
|
1079
1195
|
*/
|
|
1080
|
-
listFiles: async (workspaceId: string, path?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1196
|
+
listFiles: async (workspaceId: string, xDaytonaOrganizationID?: string, path?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1081
1197
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1082
1198
|
assertParamExists('listFiles', 'workspaceId', workspaceId)
|
|
1083
1199
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/files`
|
|
@@ -1101,6 +1217,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1101
1217
|
localVarQueryParameter['path'] = path;
|
|
1102
1218
|
}
|
|
1103
1219
|
|
|
1220
|
+
if (xDaytonaOrganizationID != null) {
|
|
1221
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1104
1224
|
|
|
1105
1225
|
|
|
1106
1226
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1116,10 +1236,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1116
1236
|
* List all active sessions in the workspace
|
|
1117
1237
|
* @summary List sessions
|
|
1118
1238
|
* @param {string} workspaceId
|
|
1239
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1119
1240
|
* @param {*} [options] Override http request option.
|
|
1120
1241
|
* @throws {RequiredError}
|
|
1121
1242
|
*/
|
|
1122
|
-
listSessions: async (workspaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1243
|
+
listSessions: async (workspaceId: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1123
1244
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1124
1245
|
assertParamExists('listSessions', 'workspaceId', workspaceId)
|
|
1125
1246
|
const localVarPath = `/toolbox/{workspaceId}/toolbox/process/session`
|
|
@@ -1139,6 +1260,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1139
1260
|
// oauth required
|
|
1140
1261
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1141
1262
|
|
|
1263
|
+
if (xDaytonaOrganizationID != null) {
|
|
1264
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1142
1267
|
|
|
1143
1268
|
|
|
1144
1269
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1155,10 +1280,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1155
1280
|
* @summary Get Lsp Completions
|
|
1156
1281
|
* @param {string} workspaceId
|
|
1157
1282
|
* @param {LspCompletionParams} lspCompletionParams
|
|
1283
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1158
1284
|
* @param {*} [options] Override http request option.
|
|
1159
1285
|
* @throws {RequiredError}
|
|
1160
1286
|
*/
|
|
1161
|
-
lspCompletions: async (workspaceId: string, lspCompletionParams: LspCompletionParams, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1287
|
+
lspCompletions: async (workspaceId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1162
1288
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1163
1289
|
assertParamExists('lspCompletions', 'workspaceId', workspaceId)
|
|
1164
1290
|
// verify required parameter 'lspCompletionParams' is not null or undefined
|
|
@@ -1180,6 +1306,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1180
1306
|
// oauth required
|
|
1181
1307
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1182
1308
|
|
|
1309
|
+
if (xDaytonaOrganizationID != null) {
|
|
1310
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1183
1313
|
|
|
1184
1314
|
|
|
1185
1315
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1199,10 +1329,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1199
1329
|
* @summary Call Lsp DidClose
|
|
1200
1330
|
* @param {string} workspaceId
|
|
1201
1331
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1332
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1202
1333
|
* @param {*} [options] Override http request option.
|
|
1203
1334
|
* @throws {RequiredError}
|
|
1204
1335
|
*/
|
|
1205
|
-
lspDidClose: async (workspaceId: string, lspDocumentRequest: LspDocumentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1336
|
+
lspDidClose: async (workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1206
1337
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1207
1338
|
assertParamExists('lspDidClose', 'workspaceId', workspaceId)
|
|
1208
1339
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
@@ -1224,6 +1355,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1224
1355
|
// oauth required
|
|
1225
1356
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1226
1357
|
|
|
1358
|
+
if (xDaytonaOrganizationID != null) {
|
|
1359
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1227
1362
|
|
|
1228
1363
|
|
|
1229
1364
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1243,10 +1378,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1243
1378
|
* @summary Call Lsp DidOpen
|
|
1244
1379
|
* @param {string} workspaceId
|
|
1245
1380
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1381
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1246
1382
|
* @param {*} [options] Override http request option.
|
|
1247
1383
|
* @throws {RequiredError}
|
|
1248
1384
|
*/
|
|
1249
|
-
lspDidOpen: async (workspaceId: string, lspDocumentRequest: LspDocumentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1385
|
+
lspDidOpen: async (workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1250
1386
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1251
1387
|
assertParamExists('lspDidOpen', 'workspaceId', workspaceId)
|
|
1252
1388
|
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
@@ -1268,6 +1404,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1268
1404
|
// oauth required
|
|
1269
1405
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1270
1406
|
|
|
1407
|
+
if (xDaytonaOrganizationID != null) {
|
|
1408
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1271
1411
|
|
|
1272
1412
|
|
|
1273
1413
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1289,10 +1429,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1289
1429
|
* @param {string} languageId
|
|
1290
1430
|
* @param {string} pathToProject
|
|
1291
1431
|
* @param {string} uri
|
|
1432
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1292
1433
|
* @param {*} [options] Override http request option.
|
|
1293
1434
|
* @throws {RequiredError}
|
|
1294
1435
|
*/
|
|
1295
|
-
lspDocumentSymbols: async (workspaceId: string, languageId: string, pathToProject: string, uri: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1436
|
+
lspDocumentSymbols: async (workspaceId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1296
1437
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1297
1438
|
assertParamExists('lspDocumentSymbols', 'workspaceId', workspaceId)
|
|
1298
1439
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1330,6 +1471,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1330
1471
|
localVarQueryParameter['uri'] = uri;
|
|
1331
1472
|
}
|
|
1332
1473
|
|
|
1474
|
+
if (xDaytonaOrganizationID != null) {
|
|
1475
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1333
1478
|
|
|
1334
1479
|
|
|
1335
1480
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1346,10 +1491,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1346
1491
|
* @summary Start Lsp server
|
|
1347
1492
|
* @param {string} workspaceId
|
|
1348
1493
|
* @param {LspServerRequest} lspServerRequest
|
|
1494
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1349
1495
|
* @param {*} [options] Override http request option.
|
|
1350
1496
|
* @throws {RequiredError}
|
|
1351
1497
|
*/
|
|
1352
|
-
lspStart: async (workspaceId: string, lspServerRequest: LspServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1498
|
+
lspStart: async (workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1353
1499
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1354
1500
|
assertParamExists('lspStart', 'workspaceId', workspaceId)
|
|
1355
1501
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
@@ -1371,6 +1517,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1371
1517
|
// oauth required
|
|
1372
1518
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1373
1519
|
|
|
1520
|
+
if (xDaytonaOrganizationID != null) {
|
|
1521
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1374
1524
|
|
|
1375
1525
|
|
|
1376
1526
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1390,10 +1540,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1390
1540
|
* @summary Stop Lsp server
|
|
1391
1541
|
* @param {string} workspaceId
|
|
1392
1542
|
* @param {LspServerRequest} lspServerRequest
|
|
1543
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1393
1544
|
* @param {*} [options] Override http request option.
|
|
1394
1545
|
* @throws {RequiredError}
|
|
1395
1546
|
*/
|
|
1396
|
-
lspStop: async (workspaceId: string, lspServerRequest: LspServerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1547
|
+
lspStop: async (workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1397
1548
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1398
1549
|
assertParamExists('lspStop', 'workspaceId', workspaceId)
|
|
1399
1550
|
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
@@ -1415,6 +1566,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1415
1566
|
// oauth required
|
|
1416
1567
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1417
1568
|
|
|
1569
|
+
if (xDaytonaOrganizationID != null) {
|
|
1570
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1418
1573
|
|
|
1419
1574
|
|
|
1420
1575
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1436,10 +1591,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1436
1591
|
* @param {string} languageId
|
|
1437
1592
|
* @param {string} pathToProject
|
|
1438
1593
|
* @param {string} query
|
|
1594
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1439
1595
|
* @param {*} [options] Override http request option.
|
|
1440
1596
|
* @throws {RequiredError}
|
|
1441
1597
|
*/
|
|
1442
|
-
lspWorkspaceSymbols: async (workspaceId: string, languageId: string, pathToProject: string, query: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1598
|
+
lspWorkspaceSymbols: async (workspaceId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1443
1599
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1444
1600
|
assertParamExists('lspWorkspaceSymbols', 'workspaceId', workspaceId)
|
|
1445
1601
|
// verify required parameter 'languageId' is not null or undefined
|
|
@@ -1477,6 +1633,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1477
1633
|
localVarQueryParameter['query'] = query;
|
|
1478
1634
|
}
|
|
1479
1635
|
|
|
1636
|
+
if (xDaytonaOrganizationID != null) {
|
|
1637
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1480
1640
|
|
|
1481
1641
|
|
|
1482
1642
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1494,10 +1654,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1494
1654
|
* @param {string} workspaceId
|
|
1495
1655
|
* @param {string} source
|
|
1496
1656
|
* @param {string} destination
|
|
1657
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1497
1658
|
* @param {*} [options] Override http request option.
|
|
1498
1659
|
* @throws {RequiredError}
|
|
1499
1660
|
*/
|
|
1500
|
-
moveFile: async (workspaceId: string, source: string, destination: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1661
|
+
moveFile: async (workspaceId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1501
1662
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1502
1663
|
assertParamExists('moveFile', 'workspaceId', workspaceId)
|
|
1503
1664
|
// verify required parameter 'source' is not null or undefined
|
|
@@ -1529,6 +1690,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1529
1690
|
localVarQueryParameter['destination'] = destination;
|
|
1530
1691
|
}
|
|
1531
1692
|
|
|
1693
|
+
if (xDaytonaOrganizationID != null) {
|
|
1694
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1532
1697
|
|
|
1533
1698
|
|
|
1534
1699
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1545,10 +1710,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1545
1710
|
* @summary Replace in files
|
|
1546
1711
|
* @param {string} workspaceId
|
|
1547
1712
|
* @param {ReplaceRequest} replaceRequest
|
|
1713
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1548
1714
|
* @param {*} [options] Override http request option.
|
|
1549
1715
|
* @throws {RequiredError}
|
|
1550
1716
|
*/
|
|
1551
|
-
replaceInFiles: async (workspaceId: string, replaceRequest: ReplaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1717
|
+
replaceInFiles: async (workspaceId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1552
1718
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1553
1719
|
assertParamExists('replaceInFiles', 'workspaceId', workspaceId)
|
|
1554
1720
|
// verify required parameter 'replaceRequest' is not null or undefined
|
|
@@ -1570,6 +1736,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1570
1736
|
// oauth required
|
|
1571
1737
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration)
|
|
1572
1738
|
|
|
1739
|
+
if (xDaytonaOrganizationID != null) {
|
|
1740
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1573
1743
|
|
|
1574
1744
|
|
|
1575
1745
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1590,10 +1760,11 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1590
1760
|
* @param {string} workspaceId
|
|
1591
1761
|
* @param {string} path
|
|
1592
1762
|
* @param {string} pattern
|
|
1763
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1593
1764
|
* @param {*} [options] Override http request option.
|
|
1594
1765
|
* @throws {RequiredError}
|
|
1595
1766
|
*/
|
|
1596
|
-
searchFiles: async (workspaceId: string, path: string, pattern: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1767
|
+
searchFiles: async (workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1597
1768
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1598
1769
|
assertParamExists('searchFiles', 'workspaceId', workspaceId)
|
|
1599
1770
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1625,6 +1796,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1625
1796
|
localVarQueryParameter['pattern'] = pattern;
|
|
1626
1797
|
}
|
|
1627
1798
|
|
|
1799
|
+
if (xDaytonaOrganizationID != null) {
|
|
1800
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1628
1803
|
|
|
1629
1804
|
|
|
1630
1805
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1641,13 +1816,14 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1641
1816
|
* @summary Set file permissions
|
|
1642
1817
|
* @param {string} workspaceId
|
|
1643
1818
|
* @param {string} path
|
|
1819
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1644
1820
|
* @param {string} [owner]
|
|
1645
1821
|
* @param {string} [group]
|
|
1646
1822
|
* @param {string} [mode]
|
|
1647
1823
|
* @param {*} [options] Override http request option.
|
|
1648
1824
|
* @throws {RequiredError}
|
|
1649
1825
|
*/
|
|
1650
|
-
setFilePermissions: async (workspaceId: string, path: string, owner?: string, group?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1826
|
+
setFilePermissions: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1651
1827
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1652
1828
|
assertParamExists('setFilePermissions', 'workspaceId', workspaceId)
|
|
1653
1829
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1685,6 +1861,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1685
1861
|
localVarQueryParameter['mode'] = mode;
|
|
1686
1862
|
}
|
|
1687
1863
|
|
|
1864
|
+
if (xDaytonaOrganizationID != null) {
|
|
1865
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1688
1868
|
|
|
1689
1869
|
|
|
1690
1870
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1701,11 +1881,12 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1701
1881
|
* @summary Upload file
|
|
1702
1882
|
* @param {string} workspaceId
|
|
1703
1883
|
* @param {string} path
|
|
1884
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1704
1885
|
* @param {File} [file]
|
|
1705
1886
|
* @param {*} [options] Override http request option.
|
|
1706
1887
|
* @throws {RequiredError}
|
|
1707
1888
|
*/
|
|
1708
|
-
uploadFile: async (workspaceId: string, path: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1889
|
+
uploadFile: async (workspaceId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1709
1890
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1710
1891
|
assertParamExists('uploadFile', 'workspaceId', workspaceId)
|
|
1711
1892
|
// verify required parameter 'path' is not null or undefined
|
|
@@ -1732,6 +1913,10 @@ export const ToolboxApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1732
1913
|
localVarQueryParameter['path'] = path;
|
|
1733
1914
|
}
|
|
1734
1915
|
|
|
1916
|
+
if (xDaytonaOrganizationID != null) {
|
|
1917
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1735
1920
|
|
|
1736
1921
|
if (file !== undefined) {
|
|
1737
1922
|
localVarFormParams.append('file', file as any);
|
|
@@ -1766,11 +1951,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1766
1951
|
* @param {string} workspaceId
|
|
1767
1952
|
* @param {string} path
|
|
1768
1953
|
* @param {string} mode
|
|
1954
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1769
1955
|
* @param {*} [options] Override http request option.
|
|
1770
1956
|
* @throws {RequiredError}
|
|
1771
1957
|
*/
|
|
1772
|
-
async createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1773
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(workspaceId, path, mode, options);
|
|
1958
|
+
async createFolder(workspaceId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options);
|
|
1774
1960
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1775
1961
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.createFolder']?.[localVarOperationServerIndex]?.url;
|
|
1776
1962
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1780,11 +1966,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1780
1966
|
* @summary Create session
|
|
1781
1967
|
* @param {string} workspaceId
|
|
1782
1968
|
* @param {CreateSessionRequest} createSessionRequest
|
|
1969
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1783
1970
|
* @param {*} [options] Override http request option.
|
|
1784
1971
|
* @throws {RequiredError}
|
|
1785
1972
|
*/
|
|
1786
|
-
async createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1787
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, options);
|
|
1973
|
+
async createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options);
|
|
1788
1975
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1789
1976
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.createSession']?.[localVarOperationServerIndex]?.url;
|
|
1790
1977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1794,11 +1981,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1794
1981
|
* @summary Delete file
|
|
1795
1982
|
* @param {string} workspaceId
|
|
1796
1983
|
* @param {string} path
|
|
1984
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1797
1985
|
* @param {*} [options] Override http request option.
|
|
1798
1986
|
* @throws {RequiredError}
|
|
1799
1987
|
*/
|
|
1800
|
-
async deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1801
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(workspaceId, path, options);
|
|
1988
|
+
async deleteFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1989
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1802
1990
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1803
1991
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.deleteFile']?.[localVarOperationServerIndex]?.url;
|
|
1804
1992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1808,11 +1996,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1808
1996
|
* @summary Delete session
|
|
1809
1997
|
* @param {string} workspaceId
|
|
1810
1998
|
* @param {string} sessionId
|
|
1999
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1811
2000
|
* @param {*} [options] Override http request option.
|
|
1812
2001
|
* @throws {RequiredError}
|
|
1813
2002
|
*/
|
|
1814
|
-
async deleteSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1815
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, options);
|
|
2003
|
+
async deleteSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1816
2005
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1817
2006
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.deleteSession']?.[localVarOperationServerIndex]?.url;
|
|
1818
2007
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1822,11 +2011,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1822
2011
|
* @summary Download file
|
|
1823
2012
|
* @param {string} workspaceId
|
|
1824
2013
|
* @param {string} path
|
|
2014
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1825
2015
|
* @param {*} [options] Override http request option.
|
|
1826
2016
|
* @throws {RequiredError}
|
|
1827
2017
|
*/
|
|
1828
|
-
async downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1829
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, options);
|
|
2018
|
+
async downloadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
2019
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1830
2020
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1831
2021
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.downloadFile']?.[localVarOperationServerIndex]?.url;
|
|
1832
2022
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1836,11 +2026,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1836
2026
|
* @summary Execute command
|
|
1837
2027
|
* @param {string} workspaceId
|
|
1838
2028
|
* @param {ExecuteRequest} executeRequest
|
|
2029
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1839
2030
|
* @param {*} [options] Override http request option.
|
|
1840
2031
|
* @throws {RequiredError}
|
|
1841
2032
|
*/
|
|
1842
|
-
async executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>> {
|
|
1843
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, options);
|
|
2033
|
+
async executeCommand(workspaceId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteResponse>> {
|
|
2034
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options);
|
|
1844
2035
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1845
2036
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.executeCommand']?.[localVarOperationServerIndex]?.url;
|
|
1846
2037
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1851,11 +2042,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1851
2042
|
* @param {string} workspaceId
|
|
1852
2043
|
* @param {string} sessionId
|
|
1853
2044
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
2045
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1854
2046
|
* @param {*} [options] Override http request option.
|
|
1855
2047
|
* @throws {RequiredError}
|
|
1856
2048
|
*/
|
|
1857
|
-
async executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionExecuteResponse>> {
|
|
1858
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options);
|
|
2049
|
+
async executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionExecuteResponse>> {
|
|
2050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options);
|
|
1859
2051
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1860
2052
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.executeSessionCommand']?.[localVarOperationServerIndex]?.url;
|
|
1861
2053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1866,11 +2058,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1866
2058
|
* @param {string} workspaceId
|
|
1867
2059
|
* @param {string} path
|
|
1868
2060
|
* @param {string} pattern
|
|
2061
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1869
2062
|
* @param {*} [options] Override http request option.
|
|
1870
2063
|
* @throws {RequiredError}
|
|
1871
2064
|
*/
|
|
1872
|
-
async findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>> {
|
|
1873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, options);
|
|
2065
|
+
async findInFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Match>>> {
|
|
2066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
1874
2067
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1875
2068
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.findInFiles']?.[localVarOperationServerIndex]?.url;
|
|
1876
2069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1880,11 +2073,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1880
2073
|
* @summary Get file info
|
|
1881
2074
|
* @param {string} workspaceId
|
|
1882
2075
|
* @param {string} path
|
|
2076
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1883
2077
|
* @param {*} [options] Override http request option.
|
|
1884
2078
|
* @throws {RequiredError}
|
|
1885
2079
|
*/
|
|
1886
|
-
async getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>> {
|
|
1887
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, options);
|
|
2080
|
+
async getFileInfo(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileInfo>> {
|
|
2081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options);
|
|
1888
2082
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1889
2083
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getFileInfo']?.[localVarOperationServerIndex]?.url;
|
|
1890
2084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1893,11 +2087,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1893
2087
|
*
|
|
1894
2088
|
* @summary Get workspace project dir
|
|
1895
2089
|
* @param {string} workspaceId
|
|
2090
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1896
2091
|
* @param {*} [options] Override http request option.
|
|
1897
2092
|
* @throws {RequiredError}
|
|
1898
2093
|
*/
|
|
1899
|
-
async getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>> {
|
|
1900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, options);
|
|
2094
|
+
async getProjectDir(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDirResponse>> {
|
|
2095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectDir(workspaceId, xDaytonaOrganizationID, options);
|
|
1901
2096
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1902
2097
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getProjectDir']?.[localVarOperationServerIndex]?.url;
|
|
1903
2098
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1907,11 +2102,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1907
2102
|
* @summary Get session
|
|
1908
2103
|
* @param {string} workspaceId
|
|
1909
2104
|
* @param {string} sessionId
|
|
2105
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1910
2106
|
* @param {*} [options] Override http request option.
|
|
1911
2107
|
* @throws {RequiredError}
|
|
1912
2108
|
*/
|
|
1913
|
-
async getSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>> {
|
|
1914
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(workspaceId, sessionId, options);
|
|
2109
|
+
async getSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Session>> {
|
|
2110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options);
|
|
1915
2111
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1916
2112
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getSession']?.[localVarOperationServerIndex]?.url;
|
|
1917
2113
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1922,11 +2118,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1922
2118
|
* @param {string} workspaceId
|
|
1923
2119
|
* @param {string} sessionId
|
|
1924
2120
|
* @param {string} commandId
|
|
2121
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1925
2122
|
* @param {*} [options] Override http request option.
|
|
1926
2123
|
* @throws {RequiredError}
|
|
1927
2124
|
*/
|
|
1928
|
-
async getSessionCommand(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>> {
|
|
1929
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, options);
|
|
2125
|
+
async getSessionCommand(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>> {
|
|
2126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options);
|
|
1930
2127
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1931
2128
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getSessionCommand']?.[localVarOperationServerIndex]?.url;
|
|
1932
2129
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1937,11 +2134,13 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1937
2134
|
* @param {string} workspaceId
|
|
1938
2135
|
* @param {string} sessionId
|
|
1939
2136
|
* @param {string} commandId
|
|
2137
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2138
|
+
* @param {boolean} [follow]
|
|
1940
2139
|
* @param {*} [options] Override http request option.
|
|
1941
2140
|
* @throws {RequiredError}
|
|
1942
2141
|
*/
|
|
1943
|
-
async getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1944
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, options);
|
|
2142
|
+
async getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
2143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options);
|
|
1945
2144
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1946
2145
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.getSessionCommandLogs']?.[localVarOperationServerIndex]?.url;
|
|
1947
2146
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1951,11 +2150,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1951
2150
|
* @summary Add files
|
|
1952
2151
|
* @param {string} workspaceId
|
|
1953
2152
|
* @param {GitAddRequest} gitAddRequest
|
|
2153
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1954
2154
|
* @param {*} [options] Override http request option.
|
|
1955
2155
|
* @throws {RequiredError}
|
|
1956
2156
|
*/
|
|
1957
|
-
async gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1958
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, options);
|
|
2157
|
+
async gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options);
|
|
1959
2159
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1960
2160
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitAddFiles']?.[localVarOperationServerIndex]?.url;
|
|
1961
2161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1965,11 +2165,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1965
2165
|
* @summary Clone repository
|
|
1966
2166
|
* @param {string} workspaceId
|
|
1967
2167
|
* @param {GitCloneRequest} gitCloneRequest
|
|
2168
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1968
2169
|
* @param {*} [options] Override http request option.
|
|
1969
2170
|
* @throws {RequiredError}
|
|
1970
2171
|
*/
|
|
1971
|
-
async gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1972
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, options);
|
|
2172
|
+
async gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options);
|
|
1973
2174
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1974
2175
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitCloneRepository']?.[localVarOperationServerIndex]?.url;
|
|
1975
2176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1979,11 +2180,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1979
2180
|
* @summary Commit changes
|
|
1980
2181
|
* @param {string} workspaceId
|
|
1981
2182
|
* @param {GitCommitRequest} gitCommitRequest
|
|
2183
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1982
2184
|
* @param {*} [options] Override http request option.
|
|
1983
2185
|
* @throws {RequiredError}
|
|
1984
2186
|
*/
|
|
1985
|
-
async gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitResponse>> {
|
|
1986
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, options);
|
|
2187
|
+
async gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitCommitResponse>> {
|
|
2188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options);
|
|
1987
2189
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1988
2190
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitCommitChanges']?.[localVarOperationServerIndex]?.url;
|
|
1989
2191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1993,11 +2195,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
1993
2195
|
* @summary Create branch
|
|
1994
2196
|
* @param {string} workspaceId
|
|
1995
2197
|
* @param {GitBranchRequest} gitBranchRequest
|
|
2198
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1996
2199
|
* @param {*} [options] Override http request option.
|
|
1997
2200
|
* @throws {RequiredError}
|
|
1998
2201
|
*/
|
|
1999
|
-
async gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2000
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, options);
|
|
2202
|
+
async gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options);
|
|
2001
2204
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2002
2205
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitCreateBranch']?.[localVarOperationServerIndex]?.url;
|
|
2003
2206
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2007,11 +2210,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2007
2210
|
* @summary Get commit history
|
|
2008
2211
|
* @param {string} workspaceId
|
|
2009
2212
|
* @param {string} path
|
|
2213
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2010
2214
|
* @param {*} [options] Override http request option.
|
|
2011
2215
|
* @throws {RequiredError}
|
|
2012
2216
|
*/
|
|
2013
|
-
async gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>> {
|
|
2014
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, options);
|
|
2217
|
+
async gitGetHistory(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GitCommitInfo>>> {
|
|
2218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2015
2219
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2016
2220
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitGetHistory']?.[localVarOperationServerIndex]?.url;
|
|
2017
2221
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2021,11 +2225,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2021
2225
|
* @summary Get git status
|
|
2022
2226
|
* @param {string} workspaceId
|
|
2023
2227
|
* @param {string} path
|
|
2228
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2024
2229
|
* @param {*} [options] Override http request option.
|
|
2025
2230
|
* @throws {RequiredError}
|
|
2026
2231
|
*/
|
|
2027
|
-
async gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>> {
|
|
2028
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, options);
|
|
2232
|
+
async gitGetStatus(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitStatus>> {
|
|
2233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2029
2234
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2030
2235
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitGetStatus']?.[localVarOperationServerIndex]?.url;
|
|
2031
2236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2035,11 +2240,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2035
2240
|
* @summary Get branch list
|
|
2036
2241
|
* @param {string} workspaceId
|
|
2037
2242
|
* @param {string} path
|
|
2243
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2038
2244
|
* @param {*} [options] Override http request option.
|
|
2039
2245
|
* @throws {RequiredError}
|
|
2040
2246
|
*/
|
|
2041
|
-
async gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>> {
|
|
2042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, options);
|
|
2247
|
+
async gitListBranches(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBranchResponse>> {
|
|
2248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options);
|
|
2043
2249
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2044
2250
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitListBranches']?.[localVarOperationServerIndex]?.url;
|
|
2045
2251
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2049,11 +2255,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2049
2255
|
* @summary Pull changes
|
|
2050
2256
|
* @param {string} workspaceId
|
|
2051
2257
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2258
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2052
2259
|
* @param {*} [options] Override http request option.
|
|
2053
2260
|
* @throws {RequiredError}
|
|
2054
2261
|
*/
|
|
2055
|
-
async gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, options);
|
|
2262
|
+
async gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2057
2264
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2058
2265
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitPullChanges']?.[localVarOperationServerIndex]?.url;
|
|
2059
2266
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2063,11 +2270,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2063
2270
|
* @summary Push changes
|
|
2064
2271
|
* @param {string} workspaceId
|
|
2065
2272
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2273
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2066
2274
|
* @param {*} [options] Override http request option.
|
|
2067
2275
|
* @throws {RequiredError}
|
|
2068
2276
|
*/
|
|
2069
|
-
async gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2070
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, options);
|
|
2277
|
+
async gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options);
|
|
2071
2279
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2072
2280
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.gitPushChanges']?.[localVarOperationServerIndex]?.url;
|
|
2073
2281
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2076,12 +2284,13 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2076
2284
|
*
|
|
2077
2285
|
* @summary List files
|
|
2078
2286
|
* @param {string} workspaceId
|
|
2287
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2079
2288
|
* @param {string} [path]
|
|
2080
2289
|
* @param {*} [options] Override http request option.
|
|
2081
2290
|
* @throws {RequiredError}
|
|
2082
2291
|
*/
|
|
2083
|
-
async listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>> {
|
|
2084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, path, options);
|
|
2292
|
+
async listFiles(workspaceId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileInfo>>> {
|
|
2293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listFiles(workspaceId, xDaytonaOrganizationID, path, options);
|
|
2085
2294
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2086
2295
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.listFiles']?.[localVarOperationServerIndex]?.url;
|
|
2087
2296
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2090,11 +2299,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2090
2299
|
* List all active sessions in the workspace
|
|
2091
2300
|
* @summary List sessions
|
|
2092
2301
|
* @param {string} workspaceId
|
|
2302
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2093
2303
|
* @param {*} [options] Override http request option.
|
|
2094
2304
|
* @throws {RequiredError}
|
|
2095
2305
|
*/
|
|
2096
|
-
async listSessions(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Session>>> {
|
|
2097
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(workspaceId, options);
|
|
2306
|
+
async listSessions(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Session>>> {
|
|
2307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSessions(workspaceId, xDaytonaOrganizationID, options);
|
|
2098
2308
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2099
2309
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.listSessions']?.[localVarOperationServerIndex]?.url;
|
|
2100
2310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2104,11 +2314,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2104
2314
|
* @summary Get Lsp Completions
|
|
2105
2315
|
* @param {string} workspaceId
|
|
2106
2316
|
* @param {LspCompletionParams} lspCompletionParams
|
|
2317
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2107
2318
|
* @param {*} [options] Override http request option.
|
|
2108
2319
|
* @throws {RequiredError}
|
|
2109
2320
|
*/
|
|
2110
|
-
async lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletionList>> {
|
|
2111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, options);
|
|
2321
|
+
async lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletionList>> {
|
|
2322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options);
|
|
2112
2323
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2113
2324
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspCompletions']?.[localVarOperationServerIndex]?.url;
|
|
2114
2325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2118,11 +2329,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2118
2329
|
* @summary Call Lsp DidClose
|
|
2119
2330
|
* @param {string} workspaceId
|
|
2120
2331
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2332
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2121
2333
|
* @param {*} [options] Override http request option.
|
|
2122
2334
|
* @throws {RequiredError}
|
|
2123
2335
|
*/
|
|
2124
|
-
async lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2125
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, options);
|
|
2336
|
+
async lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2126
2338
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2127
2339
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspDidClose']?.[localVarOperationServerIndex]?.url;
|
|
2128
2340
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2132,11 +2344,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2132
2344
|
* @summary Call Lsp DidOpen
|
|
2133
2345
|
* @param {string} workspaceId
|
|
2134
2346
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2347
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2135
2348
|
* @param {*} [options] Override http request option.
|
|
2136
2349
|
* @throws {RequiredError}
|
|
2137
2350
|
*/
|
|
2138
|
-
async lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2139
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, options);
|
|
2351
|
+
async lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options);
|
|
2140
2353
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2141
2354
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspDidOpen']?.[localVarOperationServerIndex]?.url;
|
|
2142
2355
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2148,11 +2361,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2148
2361
|
* @param {string} languageId
|
|
2149
2362
|
* @param {string} pathToProject
|
|
2150
2363
|
* @param {string} uri
|
|
2364
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2151
2365
|
* @param {*} [options] Override http request option.
|
|
2152
2366
|
* @throws {RequiredError}
|
|
2153
2367
|
*/
|
|
2154
|
-
async lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>> {
|
|
2155
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options);
|
|
2368
|
+
async lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>> {
|
|
2369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options);
|
|
2156
2370
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2157
2371
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspDocumentSymbols']?.[localVarOperationServerIndex]?.url;
|
|
2158
2372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2162,11 +2376,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2162
2376
|
* @summary Start Lsp server
|
|
2163
2377
|
* @param {string} workspaceId
|
|
2164
2378
|
* @param {LspServerRequest} lspServerRequest
|
|
2379
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2165
2380
|
* @param {*} [options] Override http request option.
|
|
2166
2381
|
* @throws {RequiredError}
|
|
2167
2382
|
*/
|
|
2168
|
-
async lspStart(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2169
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, options);
|
|
2383
|
+
async lspStart(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2170
2385
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2171
2386
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspStart']?.[localVarOperationServerIndex]?.url;
|
|
2172
2387
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2176,11 +2391,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2176
2391
|
* @summary Stop Lsp server
|
|
2177
2392
|
* @param {string} workspaceId
|
|
2178
2393
|
* @param {LspServerRequest} lspServerRequest
|
|
2394
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2179
2395
|
* @param {*} [options] Override http request option.
|
|
2180
2396
|
* @throws {RequiredError}
|
|
2181
2397
|
*/
|
|
2182
|
-
async lspStop(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, options);
|
|
2398
|
+
async lspStop(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options);
|
|
2184
2400
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2185
2401
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspStop']?.[localVarOperationServerIndex]?.url;
|
|
2186
2402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2192,11 +2408,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2192
2408
|
* @param {string} languageId
|
|
2193
2409
|
* @param {string} pathToProject
|
|
2194
2410
|
* @param {string} query
|
|
2411
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2195
2412
|
* @param {*} [options] Override http request option.
|
|
2196
2413
|
* @throws {RequiredError}
|
|
2197
2414
|
*/
|
|
2198
|
-
async lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>> {
|
|
2199
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options);
|
|
2415
|
+
async lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LspSymbol>>> {
|
|
2416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options);
|
|
2200
2417
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2201
2418
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.lspWorkspaceSymbols']?.[localVarOperationServerIndex]?.url;
|
|
2202
2419
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2207,11 +2424,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2207
2424
|
* @param {string} workspaceId
|
|
2208
2425
|
* @param {string} source
|
|
2209
2426
|
* @param {string} destination
|
|
2427
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2210
2428
|
* @param {*} [options] Override http request option.
|
|
2211
2429
|
* @throws {RequiredError}
|
|
2212
2430
|
*/
|
|
2213
|
-
async moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(workspaceId, source, destination, options);
|
|
2431
|
+
async moveFile(workspaceId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options);
|
|
2215
2433
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2216
2434
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.moveFile']?.[localVarOperationServerIndex]?.url;
|
|
2217
2435
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2221,11 +2439,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2221
2439
|
* @summary Replace in files
|
|
2222
2440
|
* @param {string} workspaceId
|
|
2223
2441
|
* @param {ReplaceRequest} replaceRequest
|
|
2442
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2224
2443
|
* @param {*} [options] Override http request option.
|
|
2225
2444
|
* @throws {RequiredError}
|
|
2226
2445
|
*/
|
|
2227
|
-
async replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>> {
|
|
2228
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, options);
|
|
2446
|
+
async replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ReplaceResult>>> {
|
|
2447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options);
|
|
2229
2448
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2230
2449
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.replaceInFiles']?.[localVarOperationServerIndex]?.url;
|
|
2231
2450
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2236,11 +2455,12 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2236
2455
|
* @param {string} workspaceId
|
|
2237
2456
|
* @param {string} path
|
|
2238
2457
|
* @param {string} pattern
|
|
2458
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2239
2459
|
* @param {*} [options] Override http request option.
|
|
2240
2460
|
* @throws {RequiredError}
|
|
2241
2461
|
*/
|
|
2242
|
-
async searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>> {
|
|
2243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, options);
|
|
2462
|
+
async searchFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchFilesResponse>> {
|
|
2463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options);
|
|
2244
2464
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2245
2465
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.searchFiles']?.[localVarOperationServerIndex]?.url;
|
|
2246
2466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2250,14 +2470,15 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2250
2470
|
* @summary Set file permissions
|
|
2251
2471
|
* @param {string} workspaceId
|
|
2252
2472
|
* @param {string} path
|
|
2473
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2253
2474
|
* @param {string} [owner]
|
|
2254
2475
|
* @param {string} [group]
|
|
2255
2476
|
* @param {string} [mode]
|
|
2256
2477
|
* @param {*} [options] Override http request option.
|
|
2257
2478
|
* @throws {RequiredError}
|
|
2258
2479
|
*/
|
|
2259
|
-
async setFilePermissions(workspaceId: string, path: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2260
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(workspaceId, path, owner, group, mode, options);
|
|
2480
|
+
async setFilePermissions(workspaceId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options);
|
|
2261
2482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2262
2483
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.setFilePermissions']?.[localVarOperationServerIndex]?.url;
|
|
2263
2484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2267,12 +2488,13 @@ export const ToolboxApiFp = function(configuration?: Configuration) {
|
|
|
2267
2488
|
* @summary Upload file
|
|
2268
2489
|
* @param {string} workspaceId
|
|
2269
2490
|
* @param {string} path
|
|
2491
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2270
2492
|
* @param {File} [file]
|
|
2271
2493
|
* @param {*} [options] Override http request option.
|
|
2272
2494
|
* @throws {RequiredError}
|
|
2273
2495
|
*/
|
|
2274
|
-
async uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2275
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(workspaceId, path, file, options);
|
|
2496
|
+
async uploadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options);
|
|
2276
2498
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2277
2499
|
const localVarOperationServerBasePath = operationServerMap['ToolboxApi.uploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2278
2500
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2293,66 +2515,72 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2293
2515
|
* @param {string} workspaceId
|
|
2294
2516
|
* @param {string} path
|
|
2295
2517
|
* @param {string} mode
|
|
2518
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2296
2519
|
* @param {*} [options] Override http request option.
|
|
2297
2520
|
* @throws {RequiredError}
|
|
2298
2521
|
*/
|
|
2299
|
-
createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2300
|
-
return localVarFp.createFolder(workspaceId, path, mode, options).then((request) => request(axios, basePath));
|
|
2522
|
+
createFolder(workspaceId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2523
|
+
return localVarFp.createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2301
2524
|
},
|
|
2302
2525
|
/**
|
|
2303
2526
|
* Create a new session in the workspace
|
|
2304
2527
|
* @summary Create session
|
|
2305
2528
|
* @param {string} workspaceId
|
|
2306
2529
|
* @param {CreateSessionRequest} createSessionRequest
|
|
2530
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2307
2531
|
* @param {*} [options] Override http request option.
|
|
2308
2532
|
* @throws {RequiredError}
|
|
2309
2533
|
*/
|
|
2310
|
-
createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2311
|
-
return localVarFp.createSession(workspaceId, createSessionRequest, options).then((request) => request(axios, basePath));
|
|
2534
|
+
createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2535
|
+
return localVarFp.createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2312
2536
|
},
|
|
2313
2537
|
/**
|
|
2314
2538
|
* Delete file inside workspace
|
|
2315
2539
|
* @summary Delete file
|
|
2316
2540
|
* @param {string} workspaceId
|
|
2317
2541
|
* @param {string} path
|
|
2542
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2318
2543
|
* @param {*} [options] Override http request option.
|
|
2319
2544
|
* @throws {RequiredError}
|
|
2320
2545
|
*/
|
|
2321
|
-
deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2322
|
-
return localVarFp.deleteFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2546
|
+
deleteFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2547
|
+
return localVarFp.deleteFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2323
2548
|
},
|
|
2324
2549
|
/**
|
|
2325
2550
|
* Delete a specific session
|
|
2326
2551
|
* @summary Delete session
|
|
2327
2552
|
* @param {string} workspaceId
|
|
2328
2553
|
* @param {string} sessionId
|
|
2554
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2329
2555
|
* @param {*} [options] Override http request option.
|
|
2330
2556
|
* @throws {RequiredError}
|
|
2331
2557
|
*/
|
|
2332
|
-
deleteSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2333
|
-
return localVarFp.deleteSession(workspaceId, sessionId, options).then((request) => request(axios, basePath));
|
|
2558
|
+
deleteSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2559
|
+
return localVarFp.deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2334
2560
|
},
|
|
2335
2561
|
/**
|
|
2336
2562
|
* Download file from workspace
|
|
2337
2563
|
* @summary Download file
|
|
2338
2564
|
* @param {string} workspaceId
|
|
2339
2565
|
* @param {string} path
|
|
2566
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2340
2567
|
* @param {*} [options] Override http request option.
|
|
2341
2568
|
* @throws {RequiredError}
|
|
2342
2569
|
*/
|
|
2343
|
-
downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
2344
|
-
return localVarFp.downloadFile(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2570
|
+
downloadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
2571
|
+
return localVarFp.downloadFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2345
2572
|
},
|
|
2346
2573
|
/**
|
|
2347
2574
|
* Execute command synchronously inside workspace
|
|
2348
2575
|
* @summary Execute command
|
|
2349
2576
|
* @param {string} workspaceId
|
|
2350
2577
|
* @param {ExecuteRequest} executeRequest
|
|
2578
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2351
2579
|
* @param {*} [options] Override http request option.
|
|
2352
2580
|
* @throws {RequiredError}
|
|
2353
2581
|
*/
|
|
2354
|
-
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse> {
|
|
2355
|
-
return localVarFp.executeCommand(workspaceId, executeRequest, options).then((request) => request(axios, basePath));
|
|
2582
|
+
executeCommand(workspaceId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteResponse> {
|
|
2583
|
+
return localVarFp.executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2356
2584
|
},
|
|
2357
2585
|
/**
|
|
2358
2586
|
* Execute a command in a specific session
|
|
@@ -2360,11 +2588,12 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2360
2588
|
* @param {string} workspaceId
|
|
2361
2589
|
* @param {string} sessionId
|
|
2362
2590
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
2591
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2363
2592
|
* @param {*} [options] Override http request option.
|
|
2364
2593
|
* @throws {RequiredError}
|
|
2365
2594
|
*/
|
|
2366
|
-
executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, options?: RawAxiosRequestConfig): AxiosPromise<SessionExecuteResponse> {
|
|
2367
|
-
return localVarFp.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(axios, basePath));
|
|
2595
|
+
executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SessionExecuteResponse> {
|
|
2596
|
+
return localVarFp.executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2368
2597
|
},
|
|
2369
2598
|
/**
|
|
2370
2599
|
* Search for text/pattern inside workspace files
|
|
@@ -2372,43 +2601,47 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2372
2601
|
* @param {string} workspaceId
|
|
2373
2602
|
* @param {string} path
|
|
2374
2603
|
* @param {string} pattern
|
|
2604
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2375
2605
|
* @param {*} [options] Override http request option.
|
|
2376
2606
|
* @throws {RequiredError}
|
|
2377
2607
|
*/
|
|
2378
|
-
findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>> {
|
|
2379
|
-
return localVarFp.findInFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2608
|
+
findInFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Match>> {
|
|
2609
|
+
return localVarFp.findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2380
2610
|
},
|
|
2381
2611
|
/**
|
|
2382
2612
|
* Get file info inside workspace
|
|
2383
2613
|
* @summary Get file info
|
|
2384
2614
|
* @param {string} workspaceId
|
|
2385
2615
|
* @param {string} path
|
|
2616
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2386
2617
|
* @param {*} [options] Override http request option.
|
|
2387
2618
|
* @throws {RequiredError}
|
|
2388
2619
|
*/
|
|
2389
|
-
getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo> {
|
|
2390
|
-
return localVarFp.getFileInfo(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2620
|
+
getFileInfo(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<FileInfo> {
|
|
2621
|
+
return localVarFp.getFileInfo(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2391
2622
|
},
|
|
2392
2623
|
/**
|
|
2393
2624
|
*
|
|
2394
2625
|
* @summary Get workspace project dir
|
|
2395
2626
|
* @param {string} workspaceId
|
|
2627
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2396
2628
|
* @param {*} [options] Override http request option.
|
|
2397
2629
|
* @throws {RequiredError}
|
|
2398
2630
|
*/
|
|
2399
|
-
getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse> {
|
|
2400
|
-
return localVarFp.getProjectDir(workspaceId, options).then((request) => request(axios, basePath));
|
|
2631
|
+
getProjectDir(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDirResponse> {
|
|
2632
|
+
return localVarFp.getProjectDir(workspaceId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2401
2633
|
},
|
|
2402
2634
|
/**
|
|
2403
2635
|
* Get session by ID
|
|
2404
2636
|
* @summary Get session
|
|
2405
2637
|
* @param {string} workspaceId
|
|
2406
2638
|
* @param {string} sessionId
|
|
2639
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2407
2640
|
* @param {*} [options] Override http request option.
|
|
2408
2641
|
* @throws {RequiredError}
|
|
2409
2642
|
*/
|
|
2410
|
-
getSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Session> {
|
|
2411
|
-
return localVarFp.getSession(workspaceId, sessionId, options).then((request) => request(axios, basePath));
|
|
2643
|
+
getSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Session> {
|
|
2644
|
+
return localVarFp.getSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2412
2645
|
},
|
|
2413
2646
|
/**
|
|
2414
2647
|
* Get session command by ID
|
|
@@ -2416,11 +2649,12 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2416
2649
|
* @param {string} workspaceId
|
|
2417
2650
|
* @param {string} sessionId
|
|
2418
2651
|
* @param {string} commandId
|
|
2652
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2419
2653
|
* @param {*} [options] Override http request option.
|
|
2420
2654
|
* @throws {RequiredError}
|
|
2421
2655
|
*/
|
|
2422
|
-
getSessionCommand(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig): AxiosPromise<Command> {
|
|
2423
|
-
return localVarFp.getSessionCommand(workspaceId, sessionId, commandId, options).then((request) => request(axios, basePath));
|
|
2656
|
+
getSessionCommand(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Command> {
|
|
2657
|
+
return localVarFp.getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2424
2658
|
},
|
|
2425
2659
|
/**
|
|
2426
2660
|
* Get logs for a specific command in a session
|
|
@@ -2428,164 +2662,180 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2428
2662
|
* @param {string} workspaceId
|
|
2429
2663
|
* @param {string} sessionId
|
|
2430
2664
|
* @param {string} commandId
|
|
2665
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2666
|
+
* @param {boolean} [follow]
|
|
2431
2667
|
* @param {*} [options] Override http request option.
|
|
2432
2668
|
* @throws {RequiredError}
|
|
2433
2669
|
*/
|
|
2434
|
-
getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2435
|
-
return localVarFp.getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(axios, basePath));
|
|
2670
|
+
getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2671
|
+
return localVarFp.getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options).then((request) => request(axios, basePath));
|
|
2436
2672
|
},
|
|
2437
2673
|
/**
|
|
2438
2674
|
* Add files to git commit
|
|
2439
2675
|
* @summary Add files
|
|
2440
2676
|
* @param {string} workspaceId
|
|
2441
2677
|
* @param {GitAddRequest} gitAddRequest
|
|
2678
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2442
2679
|
* @param {*} [options] Override http request option.
|
|
2443
2680
|
* @throws {RequiredError}
|
|
2444
2681
|
*/
|
|
2445
|
-
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2446
|
-
return localVarFp.gitAddFiles(workspaceId, gitAddRequest, options).then((request) => request(axios, basePath));
|
|
2682
|
+
gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2683
|
+
return localVarFp.gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2447
2684
|
},
|
|
2448
2685
|
/**
|
|
2449
2686
|
* Clone git repository
|
|
2450
2687
|
* @summary Clone repository
|
|
2451
2688
|
* @param {string} workspaceId
|
|
2452
2689
|
* @param {GitCloneRequest} gitCloneRequest
|
|
2690
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2453
2691
|
* @param {*} [options] Override http request option.
|
|
2454
2692
|
* @throws {RequiredError}
|
|
2455
2693
|
*/
|
|
2456
|
-
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2457
|
-
return localVarFp.gitCloneRepository(workspaceId, gitCloneRequest, options).then((request) => request(axios, basePath));
|
|
2694
|
+
gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2695
|
+
return localVarFp.gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2458
2696
|
},
|
|
2459
2697
|
/**
|
|
2460
2698
|
* Commit changes to git repository
|
|
2461
2699
|
* @summary Commit changes
|
|
2462
2700
|
* @param {string} workspaceId
|
|
2463
2701
|
* @param {GitCommitRequest} gitCommitRequest
|
|
2702
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2464
2703
|
* @param {*} [options] Override http request option.
|
|
2465
2704
|
* @throws {RequiredError}
|
|
2466
2705
|
*/
|
|
2467
|
-
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitResponse> {
|
|
2468
|
-
return localVarFp.gitCommitChanges(workspaceId, gitCommitRequest, options).then((request) => request(axios, basePath));
|
|
2706
|
+
gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<GitCommitResponse> {
|
|
2707
|
+
return localVarFp.gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2469
2708
|
},
|
|
2470
2709
|
/**
|
|
2471
2710
|
* Create branch on git repository
|
|
2472
2711
|
* @summary Create branch
|
|
2473
2712
|
* @param {string} workspaceId
|
|
2474
2713
|
* @param {GitBranchRequest} gitBranchRequest
|
|
2714
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2475
2715
|
* @param {*} [options] Override http request option.
|
|
2476
2716
|
* @throws {RequiredError}
|
|
2477
2717
|
*/
|
|
2478
|
-
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2479
|
-
return localVarFp.gitCreateBranch(workspaceId, gitBranchRequest, options).then((request) => request(axios, basePath));
|
|
2718
|
+
gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2719
|
+
return localVarFp.gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2480
2720
|
},
|
|
2481
2721
|
/**
|
|
2482
2722
|
* Get commit history from git repository
|
|
2483
2723
|
* @summary Get commit history
|
|
2484
2724
|
* @param {string} workspaceId
|
|
2485
2725
|
* @param {string} path
|
|
2726
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2486
2727
|
* @param {*} [options] Override http request option.
|
|
2487
2728
|
* @throws {RequiredError}
|
|
2488
2729
|
*/
|
|
2489
|
-
gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>> {
|
|
2490
|
-
return localVarFp.gitGetHistory(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2730
|
+
gitGetHistory(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GitCommitInfo>> {
|
|
2731
|
+
return localVarFp.gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2491
2732
|
},
|
|
2492
2733
|
/**
|
|
2493
2734
|
* Get status from git repository
|
|
2494
2735
|
* @summary Get git status
|
|
2495
2736
|
* @param {string} workspaceId
|
|
2496
2737
|
* @param {string} path
|
|
2738
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2497
2739
|
* @param {*} [options] Override http request option.
|
|
2498
2740
|
* @throws {RequiredError}
|
|
2499
2741
|
*/
|
|
2500
|
-
gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus> {
|
|
2501
|
-
return localVarFp.gitGetStatus(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2742
|
+
gitGetStatus(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<GitStatus> {
|
|
2743
|
+
return localVarFp.gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2502
2744
|
},
|
|
2503
2745
|
/**
|
|
2504
2746
|
* Get branch list from git repository
|
|
2505
2747
|
* @summary Get branch list
|
|
2506
2748
|
* @param {string} workspaceId
|
|
2507
2749
|
* @param {string} path
|
|
2750
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2508
2751
|
* @param {*} [options] Override http request option.
|
|
2509
2752
|
* @throws {RequiredError}
|
|
2510
2753
|
*/
|
|
2511
|
-
gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse> {
|
|
2512
|
-
return localVarFp.gitListBranches(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2754
|
+
gitListBranches(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListBranchResponse> {
|
|
2755
|
+
return localVarFp.gitListBranches(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2513
2756
|
},
|
|
2514
2757
|
/**
|
|
2515
2758
|
* Pull changes from remote
|
|
2516
2759
|
* @summary Pull changes
|
|
2517
2760
|
* @param {string} workspaceId
|
|
2518
2761
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2762
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2519
2763
|
* @param {*} [options] Override http request option.
|
|
2520
2764
|
* @throws {RequiredError}
|
|
2521
2765
|
*/
|
|
2522
|
-
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2523
|
-
return localVarFp.gitPullChanges(workspaceId, gitRepoRequest, options).then((request) => request(axios, basePath));
|
|
2766
|
+
gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2767
|
+
return localVarFp.gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2524
2768
|
},
|
|
2525
2769
|
/**
|
|
2526
2770
|
* Push changes to remote
|
|
2527
2771
|
* @summary Push changes
|
|
2528
2772
|
* @param {string} workspaceId
|
|
2529
2773
|
* @param {GitRepoRequest} gitRepoRequest
|
|
2774
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2530
2775
|
* @param {*} [options] Override http request option.
|
|
2531
2776
|
* @throws {RequiredError}
|
|
2532
2777
|
*/
|
|
2533
|
-
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2534
|
-
return localVarFp.gitPushChanges(workspaceId, gitRepoRequest, options).then((request) => request(axios, basePath));
|
|
2778
|
+
gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2779
|
+
return localVarFp.gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2535
2780
|
},
|
|
2536
2781
|
/**
|
|
2537
2782
|
*
|
|
2538
2783
|
* @summary List files
|
|
2539
2784
|
* @param {string} workspaceId
|
|
2785
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2540
2786
|
* @param {string} [path]
|
|
2541
2787
|
* @param {*} [options] Override http request option.
|
|
2542
2788
|
* @throws {RequiredError}
|
|
2543
2789
|
*/
|
|
2544
|
-
listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>> {
|
|
2545
|
-
return localVarFp.listFiles(workspaceId, path, options).then((request) => request(axios, basePath));
|
|
2790
|
+
listFiles(workspaceId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileInfo>> {
|
|
2791
|
+
return localVarFp.listFiles(workspaceId, xDaytonaOrganizationID, path, options).then((request) => request(axios, basePath));
|
|
2546
2792
|
},
|
|
2547
2793
|
/**
|
|
2548
2794
|
* List all active sessions in the workspace
|
|
2549
2795
|
* @summary List sessions
|
|
2550
2796
|
* @param {string} workspaceId
|
|
2797
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2551
2798
|
* @param {*} [options] Override http request option.
|
|
2552
2799
|
* @throws {RequiredError}
|
|
2553
2800
|
*/
|
|
2554
|
-
listSessions(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Session>> {
|
|
2555
|
-
return localVarFp.listSessions(workspaceId, options).then((request) => request(axios, basePath));
|
|
2801
|
+
listSessions(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Session>> {
|
|
2802
|
+
return localVarFp.listSessions(workspaceId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2556
2803
|
},
|
|
2557
2804
|
/**
|
|
2558
2805
|
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
2559
2806
|
* @summary Get Lsp Completions
|
|
2560
2807
|
* @param {string} workspaceId
|
|
2561
2808
|
* @param {LspCompletionParams} lspCompletionParams
|
|
2809
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2562
2810
|
* @param {*} [options] Override http request option.
|
|
2563
2811
|
* @throws {RequiredError}
|
|
2564
2812
|
*/
|
|
2565
|
-
lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, options?: RawAxiosRequestConfig): AxiosPromise<CompletionList> {
|
|
2566
|
-
return localVarFp.lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(axios, basePath));
|
|
2813
|
+
lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CompletionList> {
|
|
2814
|
+
return localVarFp.lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2567
2815
|
},
|
|
2568
2816
|
/**
|
|
2569
2817
|
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
2570
2818
|
* @summary Call Lsp DidClose
|
|
2571
2819
|
* @param {string} workspaceId
|
|
2572
2820
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2821
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2573
2822
|
* @param {*} [options] Override http request option.
|
|
2574
2823
|
* @throws {RequiredError}
|
|
2575
2824
|
*/
|
|
2576
|
-
lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2577
|
-
return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
|
|
2825
|
+
lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2826
|
+
return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2578
2827
|
},
|
|
2579
2828
|
/**
|
|
2580
2829
|
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
2581
2830
|
* @summary Call Lsp DidOpen
|
|
2582
2831
|
* @param {string} workspaceId
|
|
2583
2832
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2833
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2584
2834
|
* @param {*} [options] Override http request option.
|
|
2585
2835
|
* @throws {RequiredError}
|
|
2586
2836
|
*/
|
|
2587
|
-
lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2588
|
-
return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
|
|
2837
|
+
lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2838
|
+
return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2589
2839
|
},
|
|
2590
2840
|
/**
|
|
2591
2841
|
* The document symbol request is sent from the client to the server.
|
|
@@ -2594,33 +2844,36 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2594
2844
|
* @param {string} languageId
|
|
2595
2845
|
* @param {string} pathToProject
|
|
2596
2846
|
* @param {string} uri
|
|
2847
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2597
2848
|
* @param {*} [options] Override http request option.
|
|
2598
2849
|
* @throws {RequiredError}
|
|
2599
2850
|
*/
|
|
2600
|
-
lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>> {
|
|
2601
|
-
return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(axios, basePath));
|
|
2851
|
+
lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>> {
|
|
2852
|
+
return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2602
2853
|
},
|
|
2603
2854
|
/**
|
|
2604
2855
|
* Start Lsp server process inside workspace project
|
|
2605
2856
|
* @summary Start Lsp server
|
|
2606
2857
|
* @param {string} workspaceId
|
|
2607
2858
|
* @param {LspServerRequest} lspServerRequest
|
|
2859
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2608
2860
|
* @param {*} [options] Override http request option.
|
|
2609
2861
|
* @throws {RequiredError}
|
|
2610
2862
|
*/
|
|
2611
|
-
lspStart(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2612
|
-
return localVarFp.lspStart(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
|
|
2863
|
+
lspStart(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2864
|
+
return localVarFp.lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2613
2865
|
},
|
|
2614
2866
|
/**
|
|
2615
2867
|
* Stop Lsp server process inside workspace project
|
|
2616
2868
|
* @summary Stop Lsp server
|
|
2617
2869
|
* @param {string} workspaceId
|
|
2618
2870
|
* @param {LspServerRequest} lspServerRequest
|
|
2871
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2619
2872
|
* @param {*} [options] Override http request option.
|
|
2620
2873
|
* @throws {RequiredError}
|
|
2621
2874
|
*/
|
|
2622
|
-
lspStop(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2623
|
-
return localVarFp.lspStop(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
|
|
2875
|
+
lspStop(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2876
|
+
return localVarFp.lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2624
2877
|
},
|
|
2625
2878
|
/**
|
|
2626
2879
|
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
@@ -2629,11 +2882,12 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2629
2882
|
* @param {string} languageId
|
|
2630
2883
|
* @param {string} pathToProject
|
|
2631
2884
|
* @param {string} query
|
|
2885
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2632
2886
|
* @param {*} [options] Override http request option.
|
|
2633
2887
|
* @throws {RequiredError}
|
|
2634
2888
|
*/
|
|
2635
|
-
lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>> {
|
|
2636
|
-
return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(axios, basePath));
|
|
2889
|
+
lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<LspSymbol>> {
|
|
2890
|
+
return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2637
2891
|
},
|
|
2638
2892
|
/**
|
|
2639
2893
|
* Move file inside workspace
|
|
@@ -2641,22 +2895,24 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2641
2895
|
* @param {string} workspaceId
|
|
2642
2896
|
* @param {string} source
|
|
2643
2897
|
* @param {string} destination
|
|
2898
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2644
2899
|
* @param {*} [options] Override http request option.
|
|
2645
2900
|
* @throws {RequiredError}
|
|
2646
2901
|
*/
|
|
2647
|
-
moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2648
|
-
return localVarFp.moveFile(workspaceId, source, destination, options).then((request) => request(axios, basePath));
|
|
2902
|
+
moveFile(workspaceId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2903
|
+
return localVarFp.moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2649
2904
|
},
|
|
2650
2905
|
/**
|
|
2651
2906
|
* Replace text/pattern in multiple files inside workspace
|
|
2652
2907
|
* @summary Replace in files
|
|
2653
2908
|
* @param {string} workspaceId
|
|
2654
2909
|
* @param {ReplaceRequest} replaceRequest
|
|
2910
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2655
2911
|
* @param {*} [options] Override http request option.
|
|
2656
2912
|
* @throws {RequiredError}
|
|
2657
2913
|
*/
|
|
2658
|
-
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>> {
|
|
2659
|
-
return localVarFp.replaceInFiles(workspaceId, replaceRequest, options).then((request) => request(axios, basePath));
|
|
2914
|
+
replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ReplaceResult>> {
|
|
2915
|
+
return localVarFp.replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2660
2916
|
},
|
|
2661
2917
|
/**
|
|
2662
2918
|
* Search for files inside workspace
|
|
@@ -2664,37 +2920,40 @@ export const ToolboxApiFactory = function (configuration?: Configuration, basePa
|
|
|
2664
2920
|
* @param {string} workspaceId
|
|
2665
2921
|
* @param {string} path
|
|
2666
2922
|
* @param {string} pattern
|
|
2923
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2667
2924
|
* @param {*} [options] Override http request option.
|
|
2668
2925
|
* @throws {RequiredError}
|
|
2669
2926
|
*/
|
|
2670
|
-
searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse> {
|
|
2671
|
-
return localVarFp.searchFiles(workspaceId, path, pattern, options).then((request) => request(axios, basePath));
|
|
2927
|
+
searchFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchFilesResponse> {
|
|
2928
|
+
return localVarFp.searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2672
2929
|
},
|
|
2673
2930
|
/**
|
|
2674
2931
|
* Set file owner/group/permissions inside workspace
|
|
2675
2932
|
* @summary Set file permissions
|
|
2676
2933
|
* @param {string} workspaceId
|
|
2677
2934
|
* @param {string} path
|
|
2935
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2678
2936
|
* @param {string} [owner]
|
|
2679
2937
|
* @param {string} [group]
|
|
2680
2938
|
* @param {string} [mode]
|
|
2681
2939
|
* @param {*} [options] Override http request option.
|
|
2682
2940
|
* @throws {RequiredError}
|
|
2683
2941
|
*/
|
|
2684
|
-
setFilePermissions(workspaceId: string, path: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2685
|
-
return localVarFp.setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(axios, basePath));
|
|
2942
|
+
setFilePermissions(workspaceId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2943
|
+
return localVarFp.setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options).then((request) => request(axios, basePath));
|
|
2686
2944
|
},
|
|
2687
2945
|
/**
|
|
2688
2946
|
* Upload file inside workspace
|
|
2689
2947
|
* @summary Upload file
|
|
2690
2948
|
* @param {string} workspaceId
|
|
2691
2949
|
* @param {string} path
|
|
2950
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2692
2951
|
* @param {File} [file]
|
|
2693
2952
|
* @param {*} [options] Override http request option.
|
|
2694
2953
|
* @throws {RequiredError}
|
|
2695
2954
|
*/
|
|
2696
|
-
uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2697
|
-
return localVarFp.uploadFile(workspaceId, path, file, options).then((request) => request(axios, basePath));
|
|
2955
|
+
uploadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2956
|
+
return localVarFp.uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options).then((request) => request(axios, basePath));
|
|
2698
2957
|
},
|
|
2699
2958
|
};
|
|
2700
2959
|
};
|
|
@@ -2712,12 +2971,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2712
2971
|
* @param {string} workspaceId
|
|
2713
2972
|
* @param {string} path
|
|
2714
2973
|
* @param {string} mode
|
|
2974
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2715
2975
|
* @param {*} [options] Override http request option.
|
|
2716
2976
|
* @throws {RequiredError}
|
|
2717
2977
|
* @memberof ToolboxApi
|
|
2718
2978
|
*/
|
|
2719
|
-
public createFolder(workspaceId: string, path: string, mode: string, options?: RawAxiosRequestConfig) {
|
|
2720
|
-
return ToolboxApiFp(this.configuration).createFolder(workspaceId, path, mode, options).then((request) => request(this.axios, this.basePath));
|
|
2979
|
+
public createFolder(workspaceId: string, path: string, mode: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
2980
|
+
return ToolboxApiFp(this.configuration).createFolder(workspaceId, path, mode, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2721
2981
|
}
|
|
2722
2982
|
|
|
2723
2983
|
/**
|
|
@@ -2725,12 +2985,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2725
2985
|
* @summary Create session
|
|
2726
2986
|
* @param {string} workspaceId
|
|
2727
2987
|
* @param {CreateSessionRequest} createSessionRequest
|
|
2988
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2728
2989
|
* @param {*} [options] Override http request option.
|
|
2729
2990
|
* @throws {RequiredError}
|
|
2730
2991
|
* @memberof ToolboxApi
|
|
2731
2992
|
*/
|
|
2732
|
-
public createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, options?: RawAxiosRequestConfig) {
|
|
2733
|
-
return ToolboxApiFp(this.configuration).createSession(workspaceId, createSessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2993
|
+
public createSession(workspaceId: string, createSessionRequest: CreateSessionRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
2994
|
+
return ToolboxApiFp(this.configuration).createSession(workspaceId, createSessionRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2734
2995
|
}
|
|
2735
2996
|
|
|
2736
2997
|
/**
|
|
@@ -2738,12 +2999,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2738
2999
|
* @summary Delete file
|
|
2739
3000
|
* @param {string} workspaceId
|
|
2740
3001
|
* @param {string} path
|
|
3002
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2741
3003
|
* @param {*} [options] Override http request option.
|
|
2742
3004
|
* @throws {RequiredError}
|
|
2743
3005
|
* @memberof ToolboxApi
|
|
2744
3006
|
*/
|
|
2745
|
-
public deleteFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2746
|
-
return ToolboxApiFp(this.configuration).deleteFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3007
|
+
public deleteFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3008
|
+
return ToolboxApiFp(this.configuration).deleteFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2747
3009
|
}
|
|
2748
3010
|
|
|
2749
3011
|
/**
|
|
@@ -2751,12 +3013,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2751
3013
|
* @summary Delete session
|
|
2752
3014
|
* @param {string} workspaceId
|
|
2753
3015
|
* @param {string} sessionId
|
|
3016
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2754
3017
|
* @param {*} [options] Override http request option.
|
|
2755
3018
|
* @throws {RequiredError}
|
|
2756
3019
|
* @memberof ToolboxApi
|
|
2757
3020
|
*/
|
|
2758
|
-
public deleteSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig) {
|
|
2759
|
-
return ToolboxApiFp(this.configuration).deleteSession(workspaceId, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3021
|
+
public deleteSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3022
|
+
return ToolboxApiFp(this.configuration).deleteSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2760
3023
|
}
|
|
2761
3024
|
|
|
2762
3025
|
/**
|
|
@@ -2764,12 +3027,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2764
3027
|
* @summary Download file
|
|
2765
3028
|
* @param {string} workspaceId
|
|
2766
3029
|
* @param {string} path
|
|
3030
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2767
3031
|
* @param {*} [options] Override http request option.
|
|
2768
3032
|
* @throws {RequiredError}
|
|
2769
3033
|
* @memberof ToolboxApi
|
|
2770
3034
|
*/
|
|
2771
|
-
public downloadFile(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2772
|
-
return ToolboxApiFp(this.configuration).downloadFile(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3035
|
+
public downloadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3036
|
+
return ToolboxApiFp(this.configuration).downloadFile(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2773
3037
|
}
|
|
2774
3038
|
|
|
2775
3039
|
/**
|
|
@@ -2777,12 +3041,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2777
3041
|
* @summary Execute command
|
|
2778
3042
|
* @param {string} workspaceId
|
|
2779
3043
|
* @param {ExecuteRequest} executeRequest
|
|
3044
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2780
3045
|
* @param {*} [options] Override http request option.
|
|
2781
3046
|
* @throws {RequiredError}
|
|
2782
3047
|
* @memberof ToolboxApi
|
|
2783
3048
|
*/
|
|
2784
|
-
public executeCommand(workspaceId: string, executeRequest: ExecuteRequest, options?: RawAxiosRequestConfig) {
|
|
2785
|
-
return ToolboxApiFp(this.configuration).executeCommand(workspaceId, executeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3049
|
+
public executeCommand(workspaceId: string, executeRequest: ExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3050
|
+
return ToolboxApiFp(this.configuration).executeCommand(workspaceId, executeRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2786
3051
|
}
|
|
2787
3052
|
|
|
2788
3053
|
/**
|
|
@@ -2791,12 +3056,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2791
3056
|
* @param {string} workspaceId
|
|
2792
3057
|
* @param {string} sessionId
|
|
2793
3058
|
* @param {SessionExecuteRequest} sessionExecuteRequest
|
|
3059
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2794
3060
|
* @param {*} [options] Override http request option.
|
|
2795
3061
|
* @throws {RequiredError}
|
|
2796
3062
|
* @memberof ToolboxApi
|
|
2797
3063
|
*/
|
|
2798
|
-
public executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, options?: RawAxiosRequestConfig) {
|
|
2799
|
-
return ToolboxApiFp(this.configuration).executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3064
|
+
public executeSessionCommand(workspaceId: string, sessionId: string, sessionExecuteRequest: SessionExecuteRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3065
|
+
return ToolboxApiFp(this.configuration).executeSessionCommand(workspaceId, sessionId, sessionExecuteRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2800
3066
|
}
|
|
2801
3067
|
|
|
2802
3068
|
/**
|
|
@@ -2805,12 +3071,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2805
3071
|
* @param {string} workspaceId
|
|
2806
3072
|
* @param {string} path
|
|
2807
3073
|
* @param {string} pattern
|
|
3074
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2808
3075
|
* @param {*} [options] Override http request option.
|
|
2809
3076
|
* @throws {RequiredError}
|
|
2810
3077
|
* @memberof ToolboxApi
|
|
2811
3078
|
*/
|
|
2812
|
-
public findInFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
2813
|
-
return ToolboxApiFp(this.configuration).findInFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3079
|
+
public findInFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3080
|
+
return ToolboxApiFp(this.configuration).findInFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2814
3081
|
}
|
|
2815
3082
|
|
|
2816
3083
|
/**
|
|
@@ -2818,24 +3085,26 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2818
3085
|
* @summary Get file info
|
|
2819
3086
|
* @param {string} workspaceId
|
|
2820
3087
|
* @param {string} path
|
|
3088
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2821
3089
|
* @param {*} [options] Override http request option.
|
|
2822
3090
|
* @throws {RequiredError}
|
|
2823
3091
|
* @memberof ToolboxApi
|
|
2824
3092
|
*/
|
|
2825
|
-
public getFileInfo(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2826
|
-
return ToolboxApiFp(this.configuration).getFileInfo(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3093
|
+
public getFileInfo(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3094
|
+
return ToolboxApiFp(this.configuration).getFileInfo(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2827
3095
|
}
|
|
2828
3096
|
|
|
2829
3097
|
/**
|
|
2830
3098
|
*
|
|
2831
3099
|
* @summary Get workspace project dir
|
|
2832
3100
|
* @param {string} workspaceId
|
|
3101
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2833
3102
|
* @param {*} [options] Override http request option.
|
|
2834
3103
|
* @throws {RequiredError}
|
|
2835
3104
|
* @memberof ToolboxApi
|
|
2836
3105
|
*/
|
|
2837
|
-
public getProjectDir(workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
2838
|
-
return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3106
|
+
public getProjectDir(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3107
|
+
return ToolboxApiFp(this.configuration).getProjectDir(workspaceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2839
3108
|
}
|
|
2840
3109
|
|
|
2841
3110
|
/**
|
|
@@ -2843,12 +3112,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2843
3112
|
* @summary Get session
|
|
2844
3113
|
* @param {string} workspaceId
|
|
2845
3114
|
* @param {string} sessionId
|
|
3115
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2846
3116
|
* @param {*} [options] Override http request option.
|
|
2847
3117
|
* @throws {RequiredError}
|
|
2848
3118
|
* @memberof ToolboxApi
|
|
2849
3119
|
*/
|
|
2850
|
-
public getSession(workspaceId: string, sessionId: string, options?: RawAxiosRequestConfig) {
|
|
2851
|
-
return ToolboxApiFp(this.configuration).getSession(workspaceId, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3120
|
+
public getSession(workspaceId: string, sessionId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3121
|
+
return ToolboxApiFp(this.configuration).getSession(workspaceId, sessionId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2852
3122
|
}
|
|
2853
3123
|
|
|
2854
3124
|
/**
|
|
@@ -2857,12 +3127,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2857
3127
|
* @param {string} workspaceId
|
|
2858
3128
|
* @param {string} sessionId
|
|
2859
3129
|
* @param {string} commandId
|
|
3130
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2860
3131
|
* @param {*} [options] Override http request option.
|
|
2861
3132
|
* @throws {RequiredError}
|
|
2862
3133
|
* @memberof ToolboxApi
|
|
2863
3134
|
*/
|
|
2864
|
-
public getSessionCommand(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig) {
|
|
2865
|
-
return ToolboxApiFp(this.configuration).getSessionCommand(workspaceId, sessionId, commandId, options).then((request) => request(this.axios, this.basePath));
|
|
3135
|
+
public getSessionCommand(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3136
|
+
return ToolboxApiFp(this.configuration).getSessionCommand(workspaceId, sessionId, commandId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2866
3137
|
}
|
|
2867
3138
|
|
|
2868
3139
|
/**
|
|
@@ -2871,12 +3142,14 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2871
3142
|
* @param {string} workspaceId
|
|
2872
3143
|
* @param {string} sessionId
|
|
2873
3144
|
* @param {string} commandId
|
|
3145
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3146
|
+
* @param {boolean} [follow]
|
|
2874
3147
|
* @param {*} [options] Override http request option.
|
|
2875
3148
|
* @throws {RequiredError}
|
|
2876
3149
|
* @memberof ToolboxApi
|
|
2877
3150
|
*/
|
|
2878
|
-
public getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, options?: RawAxiosRequestConfig) {
|
|
2879
|
-
return ToolboxApiFp(this.configuration).getSessionCommandLogs(workspaceId, sessionId, commandId, options).then((request) => request(this.axios, this.basePath));
|
|
3151
|
+
public getSessionCommandLogs(workspaceId: string, sessionId: string, commandId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) {
|
|
3152
|
+
return ToolboxApiFp(this.configuration).getSessionCommandLogs(workspaceId, sessionId, commandId, xDaytonaOrganizationID, follow, options).then((request) => request(this.axios, this.basePath));
|
|
2880
3153
|
}
|
|
2881
3154
|
|
|
2882
3155
|
/**
|
|
@@ -2884,12 +3157,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2884
3157
|
* @summary Add files
|
|
2885
3158
|
* @param {string} workspaceId
|
|
2886
3159
|
* @param {GitAddRequest} gitAddRequest
|
|
3160
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2887
3161
|
* @param {*} [options] Override http request option.
|
|
2888
3162
|
* @throws {RequiredError}
|
|
2889
3163
|
* @memberof ToolboxApi
|
|
2890
3164
|
*/
|
|
2891
|
-
public gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, options?: RawAxiosRequestConfig) {
|
|
2892
|
-
return ToolboxApiFp(this.configuration).gitAddFiles(workspaceId, gitAddRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3165
|
+
public gitAddFiles(workspaceId: string, gitAddRequest: GitAddRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3166
|
+
return ToolboxApiFp(this.configuration).gitAddFiles(workspaceId, gitAddRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2893
3167
|
}
|
|
2894
3168
|
|
|
2895
3169
|
/**
|
|
@@ -2897,12 +3171,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2897
3171
|
* @summary Clone repository
|
|
2898
3172
|
* @param {string} workspaceId
|
|
2899
3173
|
* @param {GitCloneRequest} gitCloneRequest
|
|
3174
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2900
3175
|
* @param {*} [options] Override http request option.
|
|
2901
3176
|
* @throws {RequiredError}
|
|
2902
3177
|
* @memberof ToolboxApi
|
|
2903
3178
|
*/
|
|
2904
|
-
public gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, options?: RawAxiosRequestConfig) {
|
|
2905
|
-
return ToolboxApiFp(this.configuration).gitCloneRepository(workspaceId, gitCloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3179
|
+
public gitCloneRepository(workspaceId: string, gitCloneRequest: GitCloneRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3180
|
+
return ToolboxApiFp(this.configuration).gitCloneRepository(workspaceId, gitCloneRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2906
3181
|
}
|
|
2907
3182
|
|
|
2908
3183
|
/**
|
|
@@ -2910,12 +3185,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2910
3185
|
* @summary Commit changes
|
|
2911
3186
|
* @param {string} workspaceId
|
|
2912
3187
|
* @param {GitCommitRequest} gitCommitRequest
|
|
3188
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2913
3189
|
* @param {*} [options] Override http request option.
|
|
2914
3190
|
* @throws {RequiredError}
|
|
2915
3191
|
* @memberof ToolboxApi
|
|
2916
3192
|
*/
|
|
2917
|
-
public gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, options?: RawAxiosRequestConfig) {
|
|
2918
|
-
return ToolboxApiFp(this.configuration).gitCommitChanges(workspaceId, gitCommitRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3193
|
+
public gitCommitChanges(workspaceId: string, gitCommitRequest: GitCommitRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3194
|
+
return ToolboxApiFp(this.configuration).gitCommitChanges(workspaceId, gitCommitRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2919
3195
|
}
|
|
2920
3196
|
|
|
2921
3197
|
/**
|
|
@@ -2923,12 +3199,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2923
3199
|
* @summary Create branch
|
|
2924
3200
|
* @param {string} workspaceId
|
|
2925
3201
|
* @param {GitBranchRequest} gitBranchRequest
|
|
3202
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2926
3203
|
* @param {*} [options] Override http request option.
|
|
2927
3204
|
* @throws {RequiredError}
|
|
2928
3205
|
* @memberof ToolboxApi
|
|
2929
3206
|
*/
|
|
2930
|
-
public gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, options?: RawAxiosRequestConfig) {
|
|
2931
|
-
return ToolboxApiFp(this.configuration).gitCreateBranch(workspaceId, gitBranchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3207
|
+
public gitCreateBranch(workspaceId: string, gitBranchRequest: GitBranchRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3208
|
+
return ToolboxApiFp(this.configuration).gitCreateBranch(workspaceId, gitBranchRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2932
3209
|
}
|
|
2933
3210
|
|
|
2934
3211
|
/**
|
|
@@ -2936,12 +3213,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2936
3213
|
* @summary Get commit history
|
|
2937
3214
|
* @param {string} workspaceId
|
|
2938
3215
|
* @param {string} path
|
|
3216
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2939
3217
|
* @param {*} [options] Override http request option.
|
|
2940
3218
|
* @throws {RequiredError}
|
|
2941
3219
|
* @memberof ToolboxApi
|
|
2942
3220
|
*/
|
|
2943
|
-
public gitGetHistory(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2944
|
-
return ToolboxApiFp(this.configuration).gitGetHistory(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3221
|
+
public gitGetHistory(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3222
|
+
return ToolboxApiFp(this.configuration).gitGetHistory(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2945
3223
|
}
|
|
2946
3224
|
|
|
2947
3225
|
/**
|
|
@@ -2949,12 +3227,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2949
3227
|
* @summary Get git status
|
|
2950
3228
|
* @param {string} workspaceId
|
|
2951
3229
|
* @param {string} path
|
|
3230
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2952
3231
|
* @param {*} [options] Override http request option.
|
|
2953
3232
|
* @throws {RequiredError}
|
|
2954
3233
|
* @memberof ToolboxApi
|
|
2955
3234
|
*/
|
|
2956
|
-
public gitGetStatus(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2957
|
-
return ToolboxApiFp(this.configuration).gitGetStatus(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3235
|
+
public gitGetStatus(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3236
|
+
return ToolboxApiFp(this.configuration).gitGetStatus(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2958
3237
|
}
|
|
2959
3238
|
|
|
2960
3239
|
/**
|
|
@@ -2962,12 +3241,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2962
3241
|
* @summary Get branch list
|
|
2963
3242
|
* @param {string} workspaceId
|
|
2964
3243
|
* @param {string} path
|
|
3244
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2965
3245
|
* @param {*} [options] Override http request option.
|
|
2966
3246
|
* @throws {RequiredError}
|
|
2967
3247
|
* @memberof ToolboxApi
|
|
2968
3248
|
*/
|
|
2969
|
-
public gitListBranches(workspaceId: string, path: string, options?: RawAxiosRequestConfig) {
|
|
2970
|
-
return ToolboxApiFp(this.configuration).gitListBranches(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3249
|
+
public gitListBranches(workspaceId: string, path: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3250
|
+
return ToolboxApiFp(this.configuration).gitListBranches(workspaceId, path, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2971
3251
|
}
|
|
2972
3252
|
|
|
2973
3253
|
/**
|
|
@@ -2975,12 +3255,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2975
3255
|
* @summary Pull changes
|
|
2976
3256
|
* @param {string} workspaceId
|
|
2977
3257
|
* @param {GitRepoRequest} gitRepoRequest
|
|
3258
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2978
3259
|
* @param {*} [options] Override http request option.
|
|
2979
3260
|
* @throws {RequiredError}
|
|
2980
3261
|
* @memberof ToolboxApi
|
|
2981
3262
|
*/
|
|
2982
|
-
public gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) {
|
|
2983
|
-
return ToolboxApiFp(this.configuration).gitPullChanges(workspaceId, gitRepoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3263
|
+
public gitPullChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3264
|
+
return ToolboxApiFp(this.configuration).gitPullChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2984
3265
|
}
|
|
2985
3266
|
|
|
2986
3267
|
/**
|
|
@@ -2988,37 +3269,40 @@ export class ToolboxApi extends BaseAPI {
|
|
|
2988
3269
|
* @summary Push changes
|
|
2989
3270
|
* @param {string} workspaceId
|
|
2990
3271
|
* @param {GitRepoRequest} gitRepoRequest
|
|
3272
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2991
3273
|
* @param {*} [options] Override http request option.
|
|
2992
3274
|
* @throws {RequiredError}
|
|
2993
3275
|
* @memberof ToolboxApi
|
|
2994
3276
|
*/
|
|
2995
|
-
public gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, options?: RawAxiosRequestConfig) {
|
|
2996
|
-
return ToolboxApiFp(this.configuration).gitPushChanges(workspaceId, gitRepoRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3277
|
+
public gitPushChanges(workspaceId: string, gitRepoRequest: GitRepoRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3278
|
+
return ToolboxApiFp(this.configuration).gitPushChanges(workspaceId, gitRepoRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
2997
3279
|
}
|
|
2998
3280
|
|
|
2999
3281
|
/**
|
|
3000
3282
|
*
|
|
3001
3283
|
* @summary List files
|
|
3002
3284
|
* @param {string} workspaceId
|
|
3285
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3003
3286
|
* @param {string} [path]
|
|
3004
3287
|
* @param {*} [options] Override http request option.
|
|
3005
3288
|
* @throws {RequiredError}
|
|
3006
3289
|
* @memberof ToolboxApi
|
|
3007
3290
|
*/
|
|
3008
|
-
public listFiles(workspaceId: string, path?: string, options?: RawAxiosRequestConfig) {
|
|
3009
|
-
return ToolboxApiFp(this.configuration).listFiles(workspaceId, path, options).then((request) => request(this.axios, this.basePath));
|
|
3291
|
+
public listFiles(workspaceId: string, xDaytonaOrganizationID?: string, path?: string, options?: RawAxiosRequestConfig) {
|
|
3292
|
+
return ToolboxApiFp(this.configuration).listFiles(workspaceId, xDaytonaOrganizationID, path, options).then((request) => request(this.axios, this.basePath));
|
|
3010
3293
|
}
|
|
3011
3294
|
|
|
3012
3295
|
/**
|
|
3013
3296
|
* List all active sessions in the workspace
|
|
3014
3297
|
* @summary List sessions
|
|
3015
3298
|
* @param {string} workspaceId
|
|
3299
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3016
3300
|
* @param {*} [options] Override http request option.
|
|
3017
3301
|
* @throws {RequiredError}
|
|
3018
3302
|
* @memberof ToolboxApi
|
|
3019
3303
|
*/
|
|
3020
|
-
public listSessions(workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
3021
|
-
return ToolboxApiFp(this.configuration).listSessions(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
3304
|
+
public listSessions(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3305
|
+
return ToolboxApiFp(this.configuration).listSessions(workspaceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3022
3306
|
}
|
|
3023
3307
|
|
|
3024
3308
|
/**
|
|
@@ -3026,12 +3310,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3026
3310
|
* @summary Get Lsp Completions
|
|
3027
3311
|
* @param {string} workspaceId
|
|
3028
3312
|
* @param {LspCompletionParams} lspCompletionParams
|
|
3313
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3029
3314
|
* @param {*} [options] Override http request option.
|
|
3030
3315
|
* @throws {RequiredError}
|
|
3031
3316
|
* @memberof ToolboxApi
|
|
3032
3317
|
*/
|
|
3033
|
-
public lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, options?: RawAxiosRequestConfig) {
|
|
3034
|
-
return ToolboxApiFp(this.configuration).lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(this.axios, this.basePath));
|
|
3318
|
+
public lspCompletions(workspaceId: string, lspCompletionParams: LspCompletionParams, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3319
|
+
return ToolboxApiFp(this.configuration).lspCompletions(workspaceId, lspCompletionParams, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3035
3320
|
}
|
|
3036
3321
|
|
|
3037
3322
|
/**
|
|
@@ -3039,12 +3324,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3039
3324
|
* @summary Call Lsp DidClose
|
|
3040
3325
|
* @param {string} workspaceId
|
|
3041
3326
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
3327
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3042
3328
|
* @param {*} [options] Override http request option.
|
|
3043
3329
|
* @throws {RequiredError}
|
|
3044
3330
|
* @memberof ToolboxApi
|
|
3045
3331
|
*/
|
|
3046
|
-
public lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig) {
|
|
3047
|
-
return ToolboxApiFp(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3332
|
+
public lspDidClose(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3333
|
+
return ToolboxApiFp(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3048
3334
|
}
|
|
3049
3335
|
|
|
3050
3336
|
/**
|
|
@@ -3052,12 +3338,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3052
3338
|
* @summary Call Lsp DidOpen
|
|
3053
3339
|
* @param {string} workspaceId
|
|
3054
3340
|
* @param {LspDocumentRequest} lspDocumentRequest
|
|
3341
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3055
3342
|
* @param {*} [options] Override http request option.
|
|
3056
3343
|
* @throws {RequiredError}
|
|
3057
3344
|
* @memberof ToolboxApi
|
|
3058
3345
|
*/
|
|
3059
|
-
public lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, options?: RawAxiosRequestConfig) {
|
|
3060
|
-
return ToolboxApiFp(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3346
|
+
public lspDidOpen(workspaceId: string, lspDocumentRequest: LspDocumentRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3347
|
+
return ToolboxApiFp(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3061
3348
|
}
|
|
3062
3349
|
|
|
3063
3350
|
/**
|
|
@@ -3067,12 +3354,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3067
3354
|
* @param {string} languageId
|
|
3068
3355
|
* @param {string} pathToProject
|
|
3069
3356
|
* @param {string} uri
|
|
3357
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3070
3358
|
* @param {*} [options] Override http request option.
|
|
3071
3359
|
* @throws {RequiredError}
|
|
3072
3360
|
* @memberof ToolboxApi
|
|
3073
3361
|
*/
|
|
3074
|
-
public lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, options?: RawAxiosRequestConfig) {
|
|
3075
|
-
return ToolboxApiFp(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(this.axios, this.basePath));
|
|
3362
|
+
public lspDocumentSymbols(workspaceId: string, languageId: string, pathToProject: string, uri: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3363
|
+
return ToolboxApiFp(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3076
3364
|
}
|
|
3077
3365
|
|
|
3078
3366
|
/**
|
|
@@ -3080,12 +3368,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3080
3368
|
* @summary Start Lsp server
|
|
3081
3369
|
* @param {string} workspaceId
|
|
3082
3370
|
* @param {LspServerRequest} lspServerRequest
|
|
3371
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3083
3372
|
* @param {*} [options] Override http request option.
|
|
3084
3373
|
* @throws {RequiredError}
|
|
3085
3374
|
* @memberof ToolboxApi
|
|
3086
3375
|
*/
|
|
3087
|
-
public lspStart(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig) {
|
|
3088
|
-
return ToolboxApiFp(this.configuration).lspStart(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3376
|
+
public lspStart(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3377
|
+
return ToolboxApiFp(this.configuration).lspStart(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3089
3378
|
}
|
|
3090
3379
|
|
|
3091
3380
|
/**
|
|
@@ -3093,12 +3382,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3093
3382
|
* @summary Stop Lsp server
|
|
3094
3383
|
* @param {string} workspaceId
|
|
3095
3384
|
* @param {LspServerRequest} lspServerRequest
|
|
3385
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3096
3386
|
* @param {*} [options] Override http request option.
|
|
3097
3387
|
* @throws {RequiredError}
|
|
3098
3388
|
* @memberof ToolboxApi
|
|
3099
3389
|
*/
|
|
3100
|
-
public lspStop(workspaceId: string, lspServerRequest: LspServerRequest, options?: RawAxiosRequestConfig) {
|
|
3101
|
-
return ToolboxApiFp(this.configuration).lspStop(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3390
|
+
public lspStop(workspaceId: string, lspServerRequest: LspServerRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3391
|
+
return ToolboxApiFp(this.configuration).lspStop(workspaceId, lspServerRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3102
3392
|
}
|
|
3103
3393
|
|
|
3104
3394
|
/**
|
|
@@ -3108,12 +3398,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3108
3398
|
* @param {string} languageId
|
|
3109
3399
|
* @param {string} pathToProject
|
|
3110
3400
|
* @param {string} query
|
|
3401
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3111
3402
|
* @param {*} [options] Override http request option.
|
|
3112
3403
|
* @throws {RequiredError}
|
|
3113
3404
|
* @memberof ToolboxApi
|
|
3114
3405
|
*/
|
|
3115
|
-
public lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, options?: RawAxiosRequestConfig) {
|
|
3116
|
-
return ToolboxApiFp(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(this.axios, this.basePath));
|
|
3406
|
+
public lspWorkspaceSymbols(workspaceId: string, languageId: string, pathToProject: string, query: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3407
|
+
return ToolboxApiFp(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3117
3408
|
}
|
|
3118
3409
|
|
|
3119
3410
|
/**
|
|
@@ -3122,12 +3413,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3122
3413
|
* @param {string} workspaceId
|
|
3123
3414
|
* @param {string} source
|
|
3124
3415
|
* @param {string} destination
|
|
3416
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3125
3417
|
* @param {*} [options] Override http request option.
|
|
3126
3418
|
* @throws {RequiredError}
|
|
3127
3419
|
* @memberof ToolboxApi
|
|
3128
3420
|
*/
|
|
3129
|
-
public moveFile(workspaceId: string, source: string, destination: string, options?: RawAxiosRequestConfig) {
|
|
3130
|
-
return ToolboxApiFp(this.configuration).moveFile(workspaceId, source, destination, options).then((request) => request(this.axios, this.basePath));
|
|
3421
|
+
public moveFile(workspaceId: string, source: string, destination: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3422
|
+
return ToolboxApiFp(this.configuration).moveFile(workspaceId, source, destination, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3131
3423
|
}
|
|
3132
3424
|
|
|
3133
3425
|
/**
|
|
@@ -3135,12 +3427,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3135
3427
|
* @summary Replace in files
|
|
3136
3428
|
* @param {string} workspaceId
|
|
3137
3429
|
* @param {ReplaceRequest} replaceRequest
|
|
3430
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3138
3431
|
* @param {*} [options] Override http request option.
|
|
3139
3432
|
* @throws {RequiredError}
|
|
3140
3433
|
* @memberof ToolboxApi
|
|
3141
3434
|
*/
|
|
3142
|
-
public replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, options?: RawAxiosRequestConfig) {
|
|
3143
|
-
return ToolboxApiFp(this.configuration).replaceInFiles(workspaceId, replaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3435
|
+
public replaceInFiles(workspaceId: string, replaceRequest: ReplaceRequest, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3436
|
+
return ToolboxApiFp(this.configuration).replaceInFiles(workspaceId, replaceRequest, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3144
3437
|
}
|
|
3145
3438
|
|
|
3146
3439
|
/**
|
|
@@ -3149,12 +3442,13 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3149
3442
|
* @param {string} workspaceId
|
|
3150
3443
|
* @param {string} path
|
|
3151
3444
|
* @param {string} pattern
|
|
3445
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3152
3446
|
* @param {*} [options] Override http request option.
|
|
3153
3447
|
* @throws {RequiredError}
|
|
3154
3448
|
* @memberof ToolboxApi
|
|
3155
3449
|
*/
|
|
3156
|
-
public searchFiles(workspaceId: string, path: string, pattern: string, options?: RawAxiosRequestConfig) {
|
|
3157
|
-
return ToolboxApiFp(this.configuration).searchFiles(workspaceId, path, pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3450
|
+
public searchFiles(workspaceId: string, path: string, pattern: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) {
|
|
3451
|
+
return ToolboxApiFp(this.configuration).searchFiles(workspaceId, path, pattern, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3158
3452
|
}
|
|
3159
3453
|
|
|
3160
3454
|
/**
|
|
@@ -3162,6 +3456,7 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3162
3456
|
* @summary Set file permissions
|
|
3163
3457
|
* @param {string} workspaceId
|
|
3164
3458
|
* @param {string} path
|
|
3459
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3165
3460
|
* @param {string} [owner]
|
|
3166
3461
|
* @param {string} [group]
|
|
3167
3462
|
* @param {string} [mode]
|
|
@@ -3169,8 +3464,8 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3169
3464
|
* @throws {RequiredError}
|
|
3170
3465
|
* @memberof ToolboxApi
|
|
3171
3466
|
*/
|
|
3172
|
-
public setFilePermissions(workspaceId: string, path: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig) {
|
|
3173
|
-
return ToolboxApiFp(this.configuration).setFilePermissions(workspaceId, path, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3467
|
+
public setFilePermissions(workspaceId: string, path: string, xDaytonaOrganizationID?: string, owner?: string, group?: string, mode?: string, options?: RawAxiosRequestConfig) {
|
|
3468
|
+
return ToolboxApiFp(this.configuration).setFilePermissions(workspaceId, path, xDaytonaOrganizationID, owner, group, mode, options).then((request) => request(this.axios, this.basePath));
|
|
3174
3469
|
}
|
|
3175
3470
|
|
|
3176
3471
|
/**
|
|
@@ -3178,13 +3473,14 @@ export class ToolboxApi extends BaseAPI {
|
|
|
3178
3473
|
* @summary Upload file
|
|
3179
3474
|
* @param {string} workspaceId
|
|
3180
3475
|
* @param {string} path
|
|
3476
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3181
3477
|
* @param {File} [file]
|
|
3182
3478
|
* @param {*} [options] Override http request option.
|
|
3183
3479
|
* @throws {RequiredError}
|
|
3184
3480
|
* @memberof ToolboxApi
|
|
3185
3481
|
*/
|
|
3186
|
-
public uploadFile(workspaceId: string, path: string, file?: File, options?: RawAxiosRequestConfig) {
|
|
3187
|
-
return ToolboxApiFp(this.configuration).uploadFile(workspaceId, path, file, options).then((request) => request(this.axios, this.basePath));
|
|
3482
|
+
public uploadFile(workspaceId: string, path: string, xDaytonaOrganizationID?: string, file?: File, options?: RawAxiosRequestConfig) {
|
|
3483
|
+
return ToolboxApiFp(this.configuration).uploadFile(workspaceId, path, xDaytonaOrganizationID, file, options).then((request) => request(this.axios, this.basePath));
|
|
3188
3484
|
}
|
|
3189
3485
|
}
|
|
3190
3486
|
|