@daytonaio/api-client 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -18
- package/README.md +2 -2
- package/api/api-keys-api.ts +21 -21
- package/api/{default-api.ts → app-api.ts} +14 -14
- package/api/docker-registry-api.ts +30 -30
- package/api/nodes-api.ts +16 -14
- package/api/toolbox-api.ts +120 -120
- package/api/users-api.ts +16 -14
- package/api/workspace-api.ts +37 -37
- package/api.ts +1 -1
- package/dist/api/api-keys-api.d.ts +17 -17
- package/dist/api/api-keys-api.js +17 -17
- package/dist/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/api/{default-api.js → app-api.js} +19 -19
- package/dist/api/docker-registry-api.d.ts +18 -18
- package/dist/api/docker-registry-api.js +33 -33
- package/dist/api/nodes-api.d.ts +9 -8
- package/dist/api/nodes-api.js +16 -16
- package/dist/api/toolbox-api.d.ts +72 -72
- package/dist/api/toolbox-api.js +125 -125
- package/dist/api/users-api.d.ts +9 -8
- package/dist/api/users-api.js +16 -16
- package/dist/api/workspace-api.d.ts +28 -28
- package/dist/api/workspace-api.js +34 -34
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/esm/api/api-keys-api.d.ts +17 -17
- package/dist/esm/api/api-keys-api.js +17 -17
- package/dist/esm/api/{default-api.d.ts → app-api.d.ts} +10 -10
- package/dist/esm/api/{default-api.js → app-api.js} +14 -14
- package/dist/esm/api/docker-registry-api.d.ts +18 -18
- package/dist/esm/api/docker-registry-api.js +33 -33
- package/dist/esm/api/nodes-api.d.ts +9 -8
- package/dist/esm/api/nodes-api.js +16 -16
- package/dist/esm/api/toolbox-api.d.ts +72 -72
- package/dist/esm/api/toolbox-api.js +125 -125
- package/dist/esm/api/users-api.d.ts +9 -8
- package/dist/esm/api/users-api.js +16 -16
- package/dist/esm/api/workspace-api.d.ts +28 -28
- package/dist/esm/api/workspace-api.js +34 -34
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/esm/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{models/create-api-key-dto.d.ts → esm/models/create-api-key.d.ts} +3 -3
- package/dist/{models/create-docker-registry-dto.d.ts → esm/models/create-docker-registry.d.ts} +8 -8
- package/dist/esm/models/create-node.d.ts +24 -0
- package/dist/esm/models/create-user.d.ts +30 -0
- package/dist/{models/create-workspace-dto.d.ts → esm/models/create-workspace.d.ts} +21 -21
- package/dist/esm/models/{create-workspace-dto.js → create-workspace.js} +2 -2
- package/dist/{models/execute-request-dto.d.ts → esm/models/execute-request.d.ts} +4 -4
- package/dist/{models/execute-response-dto.d.ts → esm/models/execute-response.d.ts} +5 -5
- package/dist/esm/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{models/git-branch-request-dto.d.ts → esm/models/git-branch-request.d.ts} +4 -4
- package/dist/esm/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{models/git-commit-request-dto.d.ts → esm/models/git-commit-request.d.ts} +6 -6
- package/dist/esm/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/esm/models/index.d.ts +19 -17
- package/dist/esm/models/index.js +19 -17
- package/dist/esm/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/esm/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{models/workspace-info-dto.d.ts → esm/models/workspace-info.d.ts} +5 -5
- package/dist/{models/workspace-labels-dto.d.ts → esm/models/workspace-labels.d.ts} +3 -3
- package/dist/esm/models/workspace-labels.js +14 -0
- package/dist/{models/workspace-dto.d.ts → esm/models/workspace.d.ts} +18 -18
- package/dist/esm/models/workspace.js +14 -0
- package/dist/models/{api-key-list-dto.d.ts → api-key-list.d.ts} +5 -5
- package/dist/models/{api-key-response-dto.d.ts → api-key-response.d.ts} +5 -5
- package/dist/{esm/models/create-api-key-dto.d.ts → models/create-api-key.d.ts} +3 -3
- package/dist/{esm/models/create-docker-registry-dto.d.ts → models/create-docker-registry.d.ts} +8 -8
- package/dist/models/create-node.d.ts +24 -0
- package/dist/models/create-user.d.ts +30 -0
- package/dist/{esm/models/create-workspace-dto.d.ts → models/create-workspace.d.ts} +21 -21
- package/dist/models/{create-workspace-dto.js → create-workspace.js} +3 -3
- package/dist/{esm/models/execute-request-dto.d.ts → models/execute-request.d.ts} +4 -4
- package/dist/{esm/models/execute-response-dto.d.ts → models/execute-response.d.ts} +5 -5
- package/dist/models/{git-add-request-dto.d.ts → git-add-request.d.ts} +4 -4
- package/dist/{esm/models/git-branch-request-dto.d.ts → models/git-branch-request.d.ts} +4 -4
- package/dist/models/{git-clone-request-dto.d.ts → git-clone-request.d.ts} +8 -8
- package/dist/{esm/models/git-commit-request-dto.d.ts → models/git-commit-request.d.ts} +6 -6
- package/dist/models/{git-repo-request-dto.d.ts → git-repo-request.d.ts} +5 -5
- package/dist/models/index.d.ts +19 -17
- package/dist/models/index.js +19 -17
- package/dist/models/{replace-request-dto.d.ts → replace-request.d.ts} +5 -5
- package/dist/models/{update-docker-registry-dto.d.ts → update-docker-registry.d.ts} +8 -8
- package/dist/{esm/models/workspace-info-dto.d.ts → models/workspace-info.d.ts} +5 -5
- package/dist/{esm/models/workspace-labels-dto.d.ts → models/workspace-labels.d.ts} +3 -3
- package/dist/models/workspace-labels.js +15 -0
- package/dist/{esm/models/workspace-dto.d.ts → models/workspace.d.ts} +18 -18
- package/dist/models/workspace.js +15 -0
- package/models/{api-key-list-dto.ts → api-key-list.ts} +5 -5
- package/models/{api-key-response-dto.ts → api-key-response.ts} +5 -5
- package/models/{create-api-key-dto.ts → create-api-key.ts} +3 -3
- package/models/{create-docker-registry-dto.ts → create-docker-registry.ts} +8 -8
- package/models/create-node.ts +30 -0
- package/models/create-user.ts +36 -0
- package/models/{create-workspace-dto.ts → create-workspace.ts} +21 -21
- package/models/{execute-request-dto.ts → execute-request.ts} +4 -4
- package/models/{execute-response-dto.ts → execute-response.ts} +5 -5
- package/models/{git-add-request-dto.ts → git-add-request.ts} +4 -4
- package/models/{git-branch-request-dto.ts → git-branch-request.ts} +4 -4
- package/models/{git-clone-request-dto.ts → git-clone-request.ts} +8 -8
- package/models/{git-commit-request-dto.ts → git-commit-request.ts} +6 -6
- package/models/{git-repo-request-dto.ts → git-repo-request.ts} +5 -5
- package/models/index.ts +19 -17
- package/models/{replace-request-dto.ts → replace-request.ts} +5 -5
- package/models/{update-docker-registry-dto.ts → update-docker-registry.ts} +8 -8
- package/models/{workspace-info-dto.ts → workspace-info.ts} +5 -5
- package/models/{workspace-labels-dto.ts → workspace-labels.ts} +3 -3
- package/models/{workspace-dto.ts → workspace.ts} +18 -18
- package/package.json +1 -1
- /package/dist/esm/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/esm/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/esm/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/esm/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/esm/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/esm/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/esm/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/esm/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/esm/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/esm/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/esm/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/esm/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/esm/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/esm/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/esm/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/esm/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
- /package/dist/models/{api-key-list-dto.js → api-key-list.js} +0 -0
- /package/dist/models/{api-key-response-dto.js → api-key-response.js} +0 -0
- /package/dist/models/{create-api-key-dto.js → create-api-key.js} +0 -0
- /package/dist/models/{create-docker-registry-dto.js → create-docker-registry.js} +0 -0
- /package/dist/models/{execute-request-dto.js → create-node.js} +0 -0
- /package/dist/models/{execute-response-dto.js → create-user.js} +0 -0
- /package/dist/models/{git-add-request-dto.js → execute-request.js} +0 -0
- /package/dist/models/{git-branch-request-dto.js → execute-response.js} +0 -0
- /package/dist/models/{git-clone-request-dto.js → git-add-request.js} +0 -0
- /package/dist/models/{git-commit-request-dto.js → git-branch-request.js} +0 -0
- /package/dist/models/{git-repo-request-dto.js → git-clone-request.js} +0 -0
- /package/dist/models/{replace-request-dto.js → git-commit-request.js} +0 -0
- /package/dist/models/{update-docker-registry-dto.js → git-repo-request.js} +0 -0
- /package/dist/models/{workspace-dto.js → replace-request.js} +0 -0
- /package/dist/models/{workspace-info-dto.js → update-docker-registry.js} +0 -0
- /package/dist/models/{workspace-labels-dto.js → workspace-info.js} +0 -0
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { CreateUser } from '../models';
|
|
15
16
|
/**
|
|
16
17
|
* UsersApi - axios parameter creator
|
|
17
18
|
* @export
|
|
@@ -20,11 +21,11 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
20
21
|
/**
|
|
21
22
|
*
|
|
22
23
|
* @summary Create user
|
|
23
|
-
* @param {
|
|
24
|
+
* @param {CreateUser} createUser
|
|
24
25
|
* @param {*} [options] Override http request option.
|
|
25
26
|
* @throws {RequiredError}
|
|
26
27
|
*/
|
|
27
|
-
createUser: (
|
|
28
|
+
createUser: (createUser: CreateUser, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
29
|
/**
|
|
29
30
|
*
|
|
30
31
|
* @summary List all users
|
|
@@ -49,11 +50,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @summary Create user
|
|
52
|
-
* @param {
|
|
53
|
+
* @param {CreateUser} createUser
|
|
53
54
|
* @param {*} [options] Override http request option.
|
|
54
55
|
* @throws {RequiredError}
|
|
55
56
|
*/
|
|
56
|
-
createUser(
|
|
57
|
+
createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
57
58
|
/**
|
|
58
59
|
*
|
|
59
60
|
* @summary List all users
|
|
@@ -78,11 +79,11 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @summary Create user
|
|
81
|
-
* @param {
|
|
82
|
+
* @param {CreateUser} createUser
|
|
82
83
|
* @param {*} [options] Override http request option.
|
|
83
84
|
* @throws {RequiredError}
|
|
84
85
|
*/
|
|
85
|
-
createUser(
|
|
86
|
+
createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
86
87
|
/**
|
|
87
88
|
*
|
|
88
89
|
* @summary List all users
|
|
@@ -109,12 +110,12 @@ export declare class UsersApi extends BaseAPI {
|
|
|
109
110
|
/**
|
|
110
111
|
*
|
|
111
112
|
* @summary Create user
|
|
112
|
-
* @param {
|
|
113
|
+
* @param {CreateUser} createUser
|
|
113
114
|
* @param {*} [options] Override http request option.
|
|
114
115
|
* @throws {RequiredError}
|
|
115
116
|
* @memberof UsersApi
|
|
116
117
|
*/
|
|
117
|
-
createUser(
|
|
118
|
+
createUser(createUser: CreateUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
118
119
|
/**
|
|
119
120
|
*
|
|
120
121
|
* @summary List all users
|
|
@@ -35,13 +35,13 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Create user
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {CreateUser} createUser
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
createUser: (
|
|
43
|
-
// verify required parameter '
|
|
44
|
-
assertParamExists('createUser', '
|
|
42
|
+
createUser: (createUser_1, ...args_1) => __awaiter(this, [createUser_1, ...args_1], void 0, function* (createUser, options = {}) {
|
|
43
|
+
// verify required parameter 'createUser' is not null or undefined
|
|
44
|
+
assertParamExists('createUser', 'createUser', createUser);
|
|
45
45
|
const localVarPath = `/users`;
|
|
46
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -59,7 +59,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
60
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
61
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createUser, localVarRequestOptions, configuration);
|
|
63
63
|
return {
|
|
64
64
|
url: toPathString(localVarUrlObj),
|
|
65
65
|
options: localVarRequestOptions,
|
|
@@ -71,7 +71,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
listUsers: (...
|
|
74
|
+
listUsers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
75
75
|
const localVarPath = `/users`;
|
|
76
76
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
77
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -100,7 +100,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
regenerateKeyPair: (id_1, ...
|
|
103
|
+
regenerateKeyPair: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
104
104
|
// verify required parameter 'id' is not null or undefined
|
|
105
105
|
assertParamExists('regenerateKeyPair', 'id', id);
|
|
106
106
|
const localVarPath = `/users/{id}/regenerate-key-pair`
|
|
@@ -137,14 +137,14 @@ export const UsersApiFp = function (configuration) {
|
|
|
137
137
|
/**
|
|
138
138
|
*
|
|
139
139
|
* @summary Create user
|
|
140
|
-
* @param {
|
|
140
|
+
* @param {CreateUser} createUser
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
createUser(
|
|
144
|
+
createUser(createUser, options) {
|
|
145
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
146
|
var _a, _b, _c;
|
|
147
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createUser(
|
|
147
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createUser(createUser, options);
|
|
148
148
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
149
149
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.createUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
150
150
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -193,12 +193,12 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
193
193
|
/**
|
|
194
194
|
*
|
|
195
195
|
* @summary Create user
|
|
196
|
-
* @param {
|
|
196
|
+
* @param {CreateUser} createUser
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
createUser(
|
|
201
|
-
return localVarFp.createUser(
|
|
200
|
+
createUser(createUser, options) {
|
|
201
|
+
return localVarFp.createUser(createUser, options).then((request) => request(axios, basePath));
|
|
202
202
|
},
|
|
203
203
|
/**
|
|
204
204
|
*
|
|
@@ -231,13 +231,13 @@ export class UsersApi extends BaseAPI {
|
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
233
|
* @summary Create user
|
|
234
|
-
* @param {
|
|
234
|
+
* @param {CreateUser} createUser
|
|
235
235
|
* @param {*} [options] Override http request option.
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
* @memberof UsersApi
|
|
238
238
|
*/
|
|
239
|
-
createUser(
|
|
240
|
-
return UsersApiFp(this.configuration).createUser(
|
|
239
|
+
createUser(createUser, options) {
|
|
240
|
+
return UsersApiFp(this.configuration).createUser(createUser, options).then((request) => request(this.axios, this.basePath));
|
|
241
241
|
}
|
|
242
242
|
/**
|
|
243
243
|
*
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
15
|
+
import type { CreateWorkspace } from '../models';
|
|
16
|
+
import type { Workspace } from '../models';
|
|
17
|
+
import type { WorkspaceLabels } from '../models';
|
|
18
18
|
/**
|
|
19
19
|
* WorkspaceApi - axios parameter creator
|
|
20
20
|
* @export
|
|
@@ -31,11 +31,11 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Create a new workspace
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {CreateWorkspace} createWorkspace
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
createWorkspace: (
|
|
38
|
+
createWorkspace: (createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Delete workspace
|
|
@@ -66,11 +66,11 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
|
|
|
66
66
|
*
|
|
67
67
|
* @summary Replace workspace labels
|
|
68
68
|
* @param {string} workspaceId
|
|
69
|
-
* @param {
|
|
69
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
73
|
-
replaceLabels: (workspaceId: string,
|
|
73
|
+
replaceLabels: (workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @summary Start workspace
|
|
@@ -109,15 +109,15 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
112
|
-
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
112
|
+
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
* @summary Create a new workspace
|
|
116
|
-
* @param {
|
|
116
|
+
* @param {CreateWorkspace} createWorkspace
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
|
-
createWorkspace(
|
|
120
|
+
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
* @summary Delete workspace
|
|
@@ -135,7 +135,7 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
138
|
+
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* @summary List all workspaces
|
|
@@ -143,16 +143,16 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
146
|
+
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workspace>>>;
|
|
147
147
|
/**
|
|
148
148
|
*
|
|
149
149
|
* @summary Replace workspace labels
|
|
150
150
|
* @param {string} workspaceId
|
|
151
|
-
* @param {
|
|
151
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
152
152
|
* @param {*} [options] Override http request option.
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
|
-
replaceLabels(workspaceId: string,
|
|
155
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabels>>;
|
|
156
156
|
/**
|
|
157
157
|
*
|
|
158
158
|
* @summary Start workspace
|
|
@@ -191,15 +191,15 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
194
|
+
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
195
195
|
/**
|
|
196
196
|
*
|
|
197
197
|
* @summary Create a new workspace
|
|
198
|
-
* @param {
|
|
198
|
+
* @param {CreateWorkspace} createWorkspace
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
202
|
-
createWorkspace(
|
|
202
|
+
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
203
203
|
/**
|
|
204
204
|
*
|
|
205
205
|
* @summary Delete workspace
|
|
@@ -217,7 +217,7 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
220
|
+
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
221
221
|
/**
|
|
222
222
|
*
|
|
223
223
|
* @summary List all workspaces
|
|
@@ -225,16 +225,16 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
228
|
+
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Workspace>>;
|
|
229
229
|
/**
|
|
230
230
|
*
|
|
231
231
|
* @summary Replace workspace labels
|
|
232
232
|
* @param {string} workspaceId
|
|
233
|
-
* @param {
|
|
233
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
*/
|
|
237
|
-
replaceLabels(workspaceId: string,
|
|
237
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabels>;
|
|
238
238
|
/**
|
|
239
239
|
*
|
|
240
240
|
* @summary Start workspace
|
|
@@ -276,16 +276,16 @@ export declare class WorkspaceApi extends BaseAPI {
|
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
* @memberof WorkspaceApi
|
|
278
278
|
*/
|
|
279
|
-
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
279
|
+
createSnapshot(workspaceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
280
280
|
/**
|
|
281
281
|
*
|
|
282
282
|
* @summary Create a new workspace
|
|
283
|
-
* @param {
|
|
283
|
+
* @param {CreateWorkspace} createWorkspace
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
285
285
|
* @throws {RequiredError}
|
|
286
286
|
* @memberof WorkspaceApi
|
|
287
287
|
*/
|
|
288
|
-
createWorkspace(
|
|
288
|
+
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
289
289
|
/**
|
|
290
290
|
*
|
|
291
291
|
* @summary Delete workspace
|
|
@@ -305,7 +305,7 @@ export declare class WorkspaceApi extends BaseAPI {
|
|
|
305
305
|
* @throws {RequiredError}
|
|
306
306
|
* @memberof WorkspaceApi
|
|
307
307
|
*/
|
|
308
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
308
|
+
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
309
309
|
/**
|
|
310
310
|
*
|
|
311
311
|
* @summary List all workspaces
|
|
@@ -314,17 +314,17 @@ export declare class WorkspaceApi extends BaseAPI {
|
|
|
314
314
|
* @throws {RequiredError}
|
|
315
315
|
* @memberof WorkspaceApi
|
|
316
316
|
*/
|
|
317
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
317
|
+
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace[], any>>;
|
|
318
318
|
/**
|
|
319
319
|
*
|
|
320
320
|
* @summary Replace workspace labels
|
|
321
321
|
* @param {string} workspaceId
|
|
322
|
-
* @param {
|
|
322
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
323
323
|
* @param {*} [options] Override http request option.
|
|
324
324
|
* @throws {RequiredError}
|
|
325
325
|
* @memberof WorkspaceApi
|
|
326
326
|
*/
|
|
327
|
-
replaceLabels(workspaceId: string,
|
|
327
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabels, any>>;
|
|
328
328
|
/**
|
|
329
329
|
*
|
|
330
330
|
* @summary Start workspace
|
|
@@ -67,13 +67,13 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @summary Create a new workspace
|
|
70
|
-
* @param {
|
|
70
|
+
* @param {CreateWorkspace} createWorkspace
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
createWorkspace: (
|
|
75
|
-
// verify required parameter '
|
|
76
|
-
assertParamExists('createWorkspace', '
|
|
74
|
+
createWorkspace: (createWorkspace_1, ...args_1) => __awaiter(this, [createWorkspace_1, ...args_1], void 0, function* (createWorkspace, options = {}) {
|
|
75
|
+
// verify required parameter 'createWorkspace' is not null or undefined
|
|
76
|
+
assertParamExists('createWorkspace', 'createWorkspace', createWorkspace);
|
|
77
77
|
const localVarPath = `/workspace`;
|
|
78
78
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
79
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -91,7 +91,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
91
91
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
92
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
93
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createWorkspace, localVarRequestOptions, configuration);
|
|
95
95
|
return {
|
|
96
96
|
url: toPathString(localVarUrlObj),
|
|
97
97
|
options: localVarRequestOptions,
|
|
@@ -105,7 +105,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
deleteWorkspace: (
|
|
108
|
+
deleteWorkspace: (workspaceId_1, force_1, ...args_1) => __awaiter(this, [workspaceId_1, force_1, ...args_1], void 0, function* (workspaceId, force, options = {}) {
|
|
109
109
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
110
110
|
assertParamExists('deleteWorkspace', 'workspaceId', workspaceId);
|
|
111
111
|
// verify required parameter 'force' is not null or undefined
|
|
@@ -143,7 +143,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
getWorkspace: (
|
|
146
|
+
getWorkspace: (workspaceId_1, verbose_1, ...args_1) => __awaiter(this, [workspaceId_1, verbose_1, ...args_1], void 0, function* (workspaceId, verbose, options = {}) {
|
|
147
147
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
148
148
|
assertParamExists('getWorkspace', 'workspaceId', workspaceId);
|
|
149
149
|
const localVarPath = `/workspace/{workspaceId}`
|
|
@@ -178,7 +178,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
listWorkspaces: (
|
|
181
|
+
listWorkspaces: (verbose_1, ...args_1) => __awaiter(this, [verbose_1, ...args_1], void 0, function* (verbose, options = {}) {
|
|
182
182
|
const localVarPath = `/workspace`;
|
|
183
183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
184
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -207,15 +207,15 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
*
|
|
208
208
|
* @summary Replace workspace labels
|
|
209
209
|
* @param {string} workspaceId
|
|
210
|
-
* @param {
|
|
210
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
*/
|
|
214
|
-
replaceLabels: (
|
|
214
|
+
replaceLabels: (workspaceId_1, workspaceLabels_1, ...args_1) => __awaiter(this, [workspaceId_1, workspaceLabels_1, ...args_1], void 0, function* (workspaceId, workspaceLabels, options = {}) {
|
|
215
215
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
216
216
|
assertParamExists('replaceLabels', 'workspaceId', workspaceId);
|
|
217
|
-
// verify required parameter '
|
|
218
|
-
assertParamExists('replaceLabels', '
|
|
217
|
+
// verify required parameter 'workspaceLabels' is not null or undefined
|
|
218
|
+
assertParamExists('replaceLabels', 'workspaceLabels', workspaceLabels);
|
|
219
219
|
const localVarPath = `/workspace/{workspaceId}/labels`
|
|
220
220
|
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
221
221
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -234,7 +234,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
234
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
237
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
237
|
+
localVarRequestOptions.data = serializeDataIfNeeded(workspaceLabels, localVarRequestOptions, configuration);
|
|
238
238
|
return {
|
|
239
239
|
url: toPathString(localVarUrlObj),
|
|
240
240
|
options: localVarRequestOptions,
|
|
@@ -247,7 +247,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
*/
|
|
250
|
-
startWorkspace: (
|
|
250
|
+
startWorkspace: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
|
|
251
251
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
252
252
|
assertParamExists('startWorkspace', 'workspaceId', workspaceId);
|
|
253
253
|
const localVarPath = `/workspace/{workspaceId}/start`
|
|
@@ -279,7 +279,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
stopWorkspace: (
|
|
282
|
+
stopWorkspace: (workspaceId_1, ...args_1) => __awaiter(this, [workspaceId_1, ...args_1], void 0, function* (workspaceId, options = {}) {
|
|
283
283
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
284
284
|
assertParamExists('stopWorkspace', 'workspaceId', workspaceId);
|
|
285
285
|
const localVarPath = `/workspace/{workspaceId}/stop`
|
|
@@ -312,7 +312,7 @@ export const WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
updatePublicStatus: (
|
|
315
|
+
updatePublicStatus: (workspaceId_1, isPublic_1, ...args_1) => __awaiter(this, [workspaceId_1, isPublic_1, ...args_1], void 0, function* (workspaceId, isPublic, options = {}) {
|
|
316
316
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
317
317
|
assertParamExists('updatePublicStatus', 'workspaceId', workspaceId);
|
|
318
318
|
// verify required parameter 'isPublic' is not null or undefined
|
|
@@ -368,14 +368,14 @@ export const WorkspaceApiFp = function (configuration) {
|
|
|
368
368
|
/**
|
|
369
369
|
*
|
|
370
370
|
* @summary Create a new workspace
|
|
371
|
-
* @param {
|
|
371
|
+
* @param {CreateWorkspace} createWorkspace
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
*/
|
|
375
|
-
createWorkspace(
|
|
375
|
+
createWorkspace(createWorkspace, options) {
|
|
376
376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
377
377
|
var _a, _b, _c;
|
|
378
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createWorkspace(
|
|
378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createWorkspace(createWorkspace, options);
|
|
379
379
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
380
380
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkspaceApi.createWorkspace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
381
381
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -435,14 +435,14 @@ export const WorkspaceApiFp = function (configuration) {
|
|
|
435
435
|
*
|
|
436
436
|
* @summary Replace workspace labels
|
|
437
437
|
* @param {string} workspaceId
|
|
438
|
-
* @param {
|
|
438
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
439
439
|
* @param {*} [options] Override http request option.
|
|
440
440
|
* @throws {RequiredError}
|
|
441
441
|
*/
|
|
442
|
-
replaceLabels(workspaceId,
|
|
442
|
+
replaceLabels(workspaceId, workspaceLabels, options) {
|
|
443
443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
444
444
|
var _a, _b, _c;
|
|
445
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceLabels(workspaceId,
|
|
445
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceLabels(workspaceId, workspaceLabels, options);
|
|
446
446
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
447
447
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkspaceApi.replaceLabels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
448
448
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -519,12 +519,12 @@ export const WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
519
519
|
/**
|
|
520
520
|
*
|
|
521
521
|
* @summary Create a new workspace
|
|
522
|
-
* @param {
|
|
522
|
+
* @param {CreateWorkspace} createWorkspace
|
|
523
523
|
* @param {*} [options] Override http request option.
|
|
524
524
|
* @throws {RequiredError}
|
|
525
525
|
*/
|
|
526
|
-
createWorkspace(
|
|
527
|
-
return localVarFp.createWorkspace(
|
|
526
|
+
createWorkspace(createWorkspace, options) {
|
|
527
|
+
return localVarFp.createWorkspace(createWorkspace, options).then((request) => request(axios, basePath));
|
|
528
528
|
},
|
|
529
529
|
/**
|
|
530
530
|
*
|
|
@@ -562,12 +562,12 @@ export const WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
562
562
|
*
|
|
563
563
|
* @summary Replace workspace labels
|
|
564
564
|
* @param {string} workspaceId
|
|
565
|
-
* @param {
|
|
565
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
566
566
|
* @param {*} [options] Override http request option.
|
|
567
567
|
* @throws {RequiredError}
|
|
568
568
|
*/
|
|
569
|
-
replaceLabels(workspaceId,
|
|
570
|
-
return localVarFp.replaceLabels(workspaceId,
|
|
569
|
+
replaceLabels(workspaceId, workspaceLabels, options) {
|
|
570
|
+
return localVarFp.replaceLabels(workspaceId, workspaceLabels, options).then((request) => request(axios, basePath));
|
|
571
571
|
},
|
|
572
572
|
/**
|
|
573
573
|
*
|
|
@@ -623,13 +623,13 @@ export class WorkspaceApi extends BaseAPI {
|
|
|
623
623
|
/**
|
|
624
624
|
*
|
|
625
625
|
* @summary Create a new workspace
|
|
626
|
-
* @param {
|
|
626
|
+
* @param {CreateWorkspace} createWorkspace
|
|
627
627
|
* @param {*} [options] Override http request option.
|
|
628
628
|
* @throws {RequiredError}
|
|
629
629
|
* @memberof WorkspaceApi
|
|
630
630
|
*/
|
|
631
|
-
createWorkspace(
|
|
632
|
-
return WorkspaceApiFp(this.configuration).createWorkspace(
|
|
631
|
+
createWorkspace(createWorkspace, options) {
|
|
632
|
+
return WorkspaceApiFp(this.configuration).createWorkspace(createWorkspace, options).then((request) => request(this.axios, this.basePath));
|
|
633
633
|
}
|
|
634
634
|
/**
|
|
635
635
|
*
|
|
@@ -670,13 +670,13 @@ export class WorkspaceApi extends BaseAPI {
|
|
|
670
670
|
*
|
|
671
671
|
* @summary Replace workspace labels
|
|
672
672
|
* @param {string} workspaceId
|
|
673
|
-
* @param {
|
|
673
|
+
* @param {WorkspaceLabels} workspaceLabels
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
675
675
|
* @throws {RequiredError}
|
|
676
676
|
* @memberof WorkspaceApi
|
|
677
677
|
*/
|
|
678
|
-
replaceLabels(workspaceId,
|
|
679
|
-
return WorkspaceApiFp(this.configuration).replaceLabels(workspaceId,
|
|
678
|
+
replaceLabels(workspaceId, workspaceLabels, options) {
|
|
679
|
+
return WorkspaceApiFp(this.configuration).replaceLabels(workspaceId, workspaceLabels, options).then((request) => request(this.axios, this.basePath));
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
682
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/api-keys-api';
|
|
13
|
-
export * from './api/
|
|
13
|
+
export * from './api/app-api';
|
|
14
14
|
export * from './api/docker-registry-api';
|
|
15
15
|
export * from './api/nodes-api';
|
|
16
16
|
export * from './api/toolbox-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export * from './api/api-keys-api';
|
|
15
|
-
export * from './api/
|
|
15
|
+
export * from './api/app-api';
|
|
16
16
|
export * from './api/docker-registry-api';
|
|
17
17
|
export * from './api/nodes-api';
|
|
18
18
|
export * from './api/toolbox-api';
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface ApiKeyList
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ApiKeyList {
|
|
18
18
|
/**
|
|
19
19
|
* The name of the API key
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof ApiKeyList
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
25
|
* The masked API key value
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ApiKeyList
|
|
28
28
|
*/
|
|
29
29
|
'value': string;
|
|
30
30
|
/**
|
|
31
31
|
* When the API key was created
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ApiKeyList
|
|
34
34
|
*/
|
|
35
35
|
'createdAt': string;
|
|
36
36
|
}
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface ApiKeyResponse
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ApiKeyResponse {
|
|
18
18
|
/**
|
|
19
19
|
* The name of the API key
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof ApiKeyResponse
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
25
|
* The API key value
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ApiKeyResponse
|
|
28
28
|
*/
|
|
29
29
|
'value': string;
|
|
30
30
|
/**
|
|
31
31
|
* When the API key was created
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ApiKeyResponse
|
|
34
34
|
*/
|
|
35
35
|
'createdAt': string;
|
|
36
36
|
}
|