@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
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.AppApi = exports.AppApiFactory = exports.AppApiFp = exports.AppApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -30,10 +30,10 @@ const common_1 = require("../common");
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("../base");
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* AppApi - axios parameter creator
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const AppApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
@@ -61,13 +61,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
}),
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
exports.
|
|
64
|
+
exports.AppApiAxiosParamCreator = AppApiAxiosParamCreator;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* AppApi - functional programming interface
|
|
67
67
|
* @export
|
|
68
68
|
*/
|
|
69
|
-
const
|
|
70
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
69
|
+
const AppApiFp = function (configuration) {
|
|
70
|
+
const localVarAxiosParamCreator = (0, exports.AppApiAxiosParamCreator)(configuration);
|
|
71
71
|
return {
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
@@ -79,19 +79,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
79
79
|
var _a, _b, _c;
|
|
80
80
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.appControllerGetHello(options);
|
|
81
81
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
82
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
82
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppApi.appControllerGetHello']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
83
83
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84
84
|
});
|
|
85
85
|
},
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
exports.
|
|
88
|
+
exports.AppApiFp = AppApiFp;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* AppApi - factory interface
|
|
91
91
|
* @export
|
|
92
92
|
*/
|
|
93
|
-
const
|
|
94
|
-
const localVarFp = (0, exports.
|
|
93
|
+
const AppApiFactory = function (configuration, basePath, axios) {
|
|
94
|
+
const localVarFp = (0, exports.AppApiFp)(configuration);
|
|
95
95
|
return {
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
@@ -103,22 +103,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
103
103
|
},
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
exports.
|
|
106
|
+
exports.AppApiFactory = AppApiFactory;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* AppApi - object-oriented interface
|
|
109
109
|
* @export
|
|
110
|
-
* @class
|
|
110
|
+
* @class AppApi
|
|
111
111
|
* @extends {BaseAPI}
|
|
112
112
|
*/
|
|
113
|
-
class
|
|
113
|
+
class AppApi extends base_1.BaseAPI {
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
|
-
* @memberof
|
|
118
|
+
* @memberof AppApi
|
|
119
119
|
*/
|
|
120
120
|
appControllerGetHello(options) {
|
|
121
|
-
return (0, exports.
|
|
121
|
+
return (0, exports.AppApiFp)(this.configuration).appControllerGetHello(options).then((request) => request(this.axios, this.basePath));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
exports.
|
|
124
|
+
exports.AppApi = AppApi;
|
|
@@ -12,8 +12,8 @@
|
|
|
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 {
|
|
15
|
+
import type { CreateDockerRegistry } from '../models';
|
|
16
|
+
import type { UpdateDockerRegistry } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* DockerRegistryApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -22,11 +22,11 @@ export declare const DockerRegistryApiAxiosParamCreator: (configuration?: Config
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @summary Create registry
|
|
25
|
-
* @param {
|
|
25
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
createRegistry: (
|
|
29
|
+
createRegistry: (createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @summary Delete registry
|
|
@@ -69,11 +69,11 @@ export declare const DockerRegistryApiAxiosParamCreator: (configuration?: Config
|
|
|
69
69
|
*
|
|
70
70
|
* @summary Update registry
|
|
71
71
|
* @param {string} id
|
|
72
|
-
* @param {
|
|
72
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
updateRegistry: (id: string,
|
|
76
|
+
updateRegistry: (id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* DockerRegistryApi - functional programming interface
|
|
@@ -83,11 +83,11 @@ export declare const DockerRegistryApiFp: (configuration?: Configuration) => {
|
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @summary Create registry
|
|
86
|
-
* @param {
|
|
86
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
90
|
-
createRegistry(
|
|
90
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @summary Delete registry
|
|
@@ -130,11 +130,11 @@ export declare const DockerRegistryApiFp: (configuration?: Configuration) => {
|
|
|
130
130
|
*
|
|
131
131
|
* @summary Update registry
|
|
132
132
|
* @param {string} id
|
|
133
|
-
* @param {
|
|
133
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
137
|
-
updateRegistry(id: string,
|
|
137
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
140
|
* DockerRegistryApi - factory interface
|
|
@@ -144,11 +144,11 @@ export declare const DockerRegistryApiFactory: (configuration?: Configuration, b
|
|
|
144
144
|
/**
|
|
145
145
|
*
|
|
146
146
|
* @summary Create registry
|
|
147
|
-
* @param {
|
|
147
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
createRegistry(
|
|
151
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @summary Delete registry
|
|
@@ -191,11 +191,11 @@ export declare const DockerRegistryApiFactory: (configuration?: Configuration, b
|
|
|
191
191
|
*
|
|
192
192
|
* @summary Update registry
|
|
193
193
|
* @param {string} id
|
|
194
|
-
* @param {
|
|
194
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
updateRegistry(id: string,
|
|
198
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
199
199
|
};
|
|
200
200
|
/**
|
|
201
201
|
* DockerRegistryApi - object-oriented interface
|
|
@@ -207,12 +207,12 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
207
207
|
/**
|
|
208
208
|
*
|
|
209
209
|
* @summary Create registry
|
|
210
|
-
* @param {
|
|
210
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
* @memberof DockerRegistryApi
|
|
214
214
|
*/
|
|
215
|
-
createRegistry(
|
|
215
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @summary Delete registry
|
|
@@ -260,10 +260,10 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
260
260
|
*
|
|
261
261
|
* @summary Update registry
|
|
262
262
|
* @param {string} id
|
|
263
|
-
* @param {
|
|
263
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
* @memberof DockerRegistryApi
|
|
267
267
|
*/
|
|
268
|
-
updateRegistry(id: string,
|
|
268
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
269
269
|
}
|
|
@@ -38,13 +38,13 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Create registry
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
createRegistry: (
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('createRegistry', '
|
|
45
|
+
createRegistry: (createDockerRegistry_1, ...args_1) => __awaiter(this, [createDockerRegistry_1, ...args_1], void 0, function* (createDockerRegistry, options = {}) {
|
|
46
|
+
// verify required parameter 'createDockerRegistry' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('createRegistry', 'createDockerRegistry', createDockerRegistry);
|
|
48
48
|
const localVarPath = `/docker-registry`;
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -62,7 +62,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
62
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDockerRegistry, localVarRequestOptions, configuration);
|
|
66
66
|
return {
|
|
67
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
68
|
options: localVarRequestOptions,
|
|
@@ -75,7 +75,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
deleteRegistry: (id_1, ...
|
|
78
|
+
deleteRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
79
79
|
// verify required parameter 'id' is not null or undefined
|
|
80
80
|
(0, common_1.assertParamExists)('deleteRegistry', 'id', id);
|
|
81
81
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -106,7 +106,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
getDefaultRegistry: (...
|
|
109
|
+
getDefaultRegistry: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
110
110
|
const localVarPath = `/docker-registry/default`;
|
|
111
111
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
112
112
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -135,7 +135,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getRegistry: (
|
|
138
|
+
getRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
139
139
|
// verify required parameter 'id' is not null or undefined
|
|
140
140
|
(0, common_1.assertParamExists)('getRegistry', 'id', id);
|
|
141
141
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -166,7 +166,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
listRegistries: (...
|
|
169
|
+
listRegistries: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
170
170
|
const localVarPath = `/docker-registry`;
|
|
171
171
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
172
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -195,7 +195,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
setDefaultRegistry: (
|
|
198
|
+
setDefaultRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
199
199
|
// verify required parameter 'id' is not null or undefined
|
|
200
200
|
(0, common_1.assertParamExists)('setDefaultRegistry', 'id', id);
|
|
201
201
|
const localVarPath = `/docker-registry/{id}/set-default`
|
|
@@ -224,15 +224,15 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
224
224
|
*
|
|
225
225
|
* @summary Update registry
|
|
226
226
|
* @param {string} id
|
|
227
|
-
* @param {
|
|
227
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
*/
|
|
231
|
-
updateRegistry: (
|
|
231
|
+
updateRegistry: (id_1, updateDockerRegistry_1, ...args_1) => __awaiter(this, [id_1, updateDockerRegistry_1, ...args_1], void 0, function* (id, updateDockerRegistry, options = {}) {
|
|
232
232
|
// verify required parameter 'id' is not null or undefined
|
|
233
233
|
(0, common_1.assertParamExists)('updateRegistry', 'id', id);
|
|
234
|
-
// verify required parameter '
|
|
235
|
-
(0, common_1.assertParamExists)('updateRegistry', '
|
|
234
|
+
// verify required parameter 'updateDockerRegistry' is not null or undefined
|
|
235
|
+
(0, common_1.assertParamExists)('updateRegistry', 'updateDockerRegistry', updateDockerRegistry);
|
|
236
236
|
const localVarPath = `/docker-registry/{id}`
|
|
237
237
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
238
238
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -251,7 +251,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
252
252
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
253
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
254
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
254
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDockerRegistry, localVarRequestOptions, configuration);
|
|
255
255
|
return {
|
|
256
256
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
257
257
|
options: localVarRequestOptions,
|
|
@@ -270,14 +270,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
270
270
|
/**
|
|
271
271
|
*
|
|
272
272
|
* @summary Create registry
|
|
273
|
-
* @param {
|
|
273
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
274
274
|
* @param {*} [options] Override http request option.
|
|
275
275
|
* @throws {RequiredError}
|
|
276
276
|
*/
|
|
277
|
-
createRegistry(
|
|
277
|
+
createRegistry(createDockerRegistry, options) {
|
|
278
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
279
|
var _a, _b, _c;
|
|
280
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(
|
|
280
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(createDockerRegistry, options);
|
|
281
281
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
282
282
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.createRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
283
283
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -365,14 +365,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
365
365
|
*
|
|
366
366
|
* @summary Update registry
|
|
367
367
|
* @param {string} id
|
|
368
|
-
* @param {
|
|
368
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
369
369
|
* @param {*} [options] Override http request option.
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
*/
|
|
372
|
-
updateRegistry(id,
|
|
372
|
+
updateRegistry(id, updateDockerRegistry, options) {
|
|
373
373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
374
374
|
var _a, _b, _c;
|
|
375
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id,
|
|
375
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id, updateDockerRegistry, options);
|
|
376
376
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
377
377
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.updateRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
378
378
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -391,12 +391,12 @@ const DockerRegistryApiFactory = function (configuration, basePath, axios) {
|
|
|
391
391
|
/**
|
|
392
392
|
*
|
|
393
393
|
* @summary Create registry
|
|
394
|
-
* @param {
|
|
394
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
395
395
|
* @param {*} [options] Override http request option.
|
|
396
396
|
* @throws {RequiredError}
|
|
397
397
|
*/
|
|
398
|
-
createRegistry(
|
|
399
|
-
return localVarFp.createRegistry(
|
|
398
|
+
createRegistry(createDockerRegistry, options) {
|
|
399
|
+
return localVarFp.createRegistry(createDockerRegistry, options).then((request) => request(axios, basePath));
|
|
400
400
|
},
|
|
401
401
|
/**
|
|
402
402
|
*
|
|
@@ -450,12 +450,12 @@ const DockerRegistryApiFactory = function (configuration, basePath, axios) {
|
|
|
450
450
|
*
|
|
451
451
|
* @summary Update registry
|
|
452
452
|
* @param {string} id
|
|
453
|
-
* @param {
|
|
453
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
456
456
|
*/
|
|
457
|
-
updateRegistry(id,
|
|
458
|
-
return localVarFp.updateRegistry(id,
|
|
457
|
+
updateRegistry(id, updateDockerRegistry, options) {
|
|
458
|
+
return localVarFp.updateRegistry(id, updateDockerRegistry, options).then((request) => request(axios, basePath));
|
|
459
459
|
},
|
|
460
460
|
};
|
|
461
461
|
};
|
|
@@ -470,13 +470,13 @@ class DockerRegistryApi extends base_1.BaseAPI {
|
|
|
470
470
|
/**
|
|
471
471
|
*
|
|
472
472
|
* @summary Create registry
|
|
473
|
-
* @param {
|
|
473
|
+
* @param {CreateDockerRegistry} createDockerRegistry
|
|
474
474
|
* @param {*} [options] Override http request option.
|
|
475
475
|
* @throws {RequiredError}
|
|
476
476
|
* @memberof DockerRegistryApi
|
|
477
477
|
*/
|
|
478
|
-
createRegistry(
|
|
479
|
-
return (0, exports.DockerRegistryApiFp)(this.configuration).createRegistry(
|
|
478
|
+
createRegistry(createDockerRegistry, options) {
|
|
479
|
+
return (0, exports.DockerRegistryApiFp)(this.configuration).createRegistry(createDockerRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
482
|
*
|
|
@@ -535,13 +535,13 @@ class DockerRegistryApi extends base_1.BaseAPI {
|
|
|
535
535
|
*
|
|
536
536
|
* @summary Update registry
|
|
537
537
|
* @param {string} id
|
|
538
|
-
* @param {
|
|
538
|
+
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
* @memberof DockerRegistryApi
|
|
542
542
|
*/
|
|
543
|
-
updateRegistry(id,
|
|
544
|
-
return (0, exports.DockerRegistryApiFp)(this.configuration).updateRegistry(id,
|
|
543
|
+
updateRegistry(id, updateDockerRegistry, options) {
|
|
544
|
+
return (0, exports.DockerRegistryApiFp)(this.configuration).updateRegistry(id, updateDockerRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
exports.DockerRegistryApi = DockerRegistryApi;
|
package/dist/api/nodes-api.d.ts
CHANGED
|
@@ -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 { CreateNode } from '../models';
|
|
15
16
|
/**
|
|
16
17
|
* NodesApi - axios parameter creator
|
|
17
18
|
* @export
|
|
@@ -20,11 +21,11 @@ export declare const NodesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
20
21
|
/**
|
|
21
22
|
*
|
|
22
23
|
* @summary Create node
|
|
23
|
-
* @param {
|
|
24
|
+
* @param {CreateNode} createNode
|
|
24
25
|
* @param {*} [options] Override http request option.
|
|
25
26
|
* @throws {RequiredError}
|
|
26
27
|
*/
|
|
27
|
-
createNode: (
|
|
28
|
+
createNode: (createNode: CreateNode, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
29
|
/**
|
|
29
30
|
*
|
|
30
31
|
* @summary List all nodes
|
|
@@ -49,11 +50,11 @@ export declare const NodesApiFp: (configuration?: Configuration) => {
|
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @summary Create node
|
|
52
|
-
* @param {
|
|
53
|
+
* @param {CreateNode} createNode
|
|
53
54
|
* @param {*} [options] Override http request option.
|
|
54
55
|
* @throws {RequiredError}
|
|
55
56
|
*/
|
|
56
|
-
createNode(
|
|
57
|
+
createNode(createNode: CreateNode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
57
58
|
/**
|
|
58
59
|
*
|
|
59
60
|
* @summary List all nodes
|
|
@@ -78,11 +79,11 @@ export declare const NodesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @summary Create node
|
|
81
|
-
* @param {
|
|
82
|
+
* @param {CreateNode} createNode
|
|
82
83
|
* @param {*} [options] Override http request option.
|
|
83
84
|
* @throws {RequiredError}
|
|
84
85
|
*/
|
|
85
|
-
createNode(
|
|
86
|
+
createNode(createNode: CreateNode, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
86
87
|
/**
|
|
87
88
|
*
|
|
88
89
|
* @summary List all nodes
|
|
@@ -109,12 +110,12 @@ export declare class NodesApi extends BaseAPI {
|
|
|
109
110
|
/**
|
|
110
111
|
*
|
|
111
112
|
* @summary Create node
|
|
112
|
-
* @param {
|
|
113
|
+
* @param {CreateNode} createNode
|
|
113
114
|
* @param {*} [options] Override http request option.
|
|
114
115
|
* @throws {RequiredError}
|
|
115
116
|
* @memberof NodesApi
|
|
116
117
|
*/
|
|
117
|
-
createNode(
|
|
118
|
+
createNode(createNode: CreateNode, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
118
119
|
/**
|
|
119
120
|
*
|
|
120
121
|
* @summary List all nodes
|
package/dist/api/nodes-api.js
CHANGED
|
@@ -38,13 +38,13 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Create node
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {CreateNode} createNode
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
createNode: (
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('createNode', '
|
|
45
|
+
createNode: (createNode_1, ...args_1) => __awaiter(this, [createNode_1, ...args_1], void 0, function* (createNode, options = {}) {
|
|
46
|
+
// verify required parameter 'createNode' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('createNode', 'createNode', createNode);
|
|
48
48
|
const localVarPath = `/nodes`;
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -62,7 +62,7 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
62
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNode, localVarRequestOptions, configuration);
|
|
66
66
|
return {
|
|
67
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
68
|
options: localVarRequestOptions,
|
|
@@ -74,7 +74,7 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
77
|
-
listNodes: (...
|
|
77
|
+
listNodes: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
78
78
|
const localVarPath = `/nodes`;
|
|
79
79
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
80
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -103,7 +103,7 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
104
104
|
* @throws {RequiredError}
|
|
105
105
|
*/
|
|
106
|
-
updateNodeScheduling: (id_1, ...
|
|
106
|
+
updateNodeScheduling: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
107
107
|
// verify required parameter 'id' is not null or undefined
|
|
108
108
|
(0, common_1.assertParamExists)('updateNodeScheduling', 'id', id);
|
|
109
109
|
const localVarPath = `/nodes/{id}/scheduling`
|
|
@@ -141,14 +141,14 @@ const NodesApiFp = function (configuration) {
|
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
143
|
* @summary Create node
|
|
144
|
-
* @param {
|
|
144
|
+
* @param {CreateNode} createNode
|
|
145
145
|
* @param {*} [options] Override http request option.
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
createNode(
|
|
148
|
+
createNode(createNode, options) {
|
|
149
149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
150
150
|
var _a, _b, _c;
|
|
151
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createNode(
|
|
151
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createNode(createNode, options);
|
|
152
152
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
153
153
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NodesApi.createNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
154
154
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -198,12 +198,12 @@ const NodesApiFactory = function (configuration, basePath, axios) {
|
|
|
198
198
|
/**
|
|
199
199
|
*
|
|
200
200
|
* @summary Create node
|
|
201
|
-
* @param {
|
|
201
|
+
* @param {CreateNode} createNode
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
createNode(
|
|
206
|
-
return localVarFp.createNode(
|
|
205
|
+
createNode(createNode, options) {
|
|
206
|
+
return localVarFp.createNode(createNode, options).then((request) => request(axios, basePath));
|
|
207
207
|
},
|
|
208
208
|
/**
|
|
209
209
|
*
|
|
@@ -237,13 +237,13 @@ class NodesApi extends base_1.BaseAPI {
|
|
|
237
237
|
/**
|
|
238
238
|
*
|
|
239
239
|
* @summary Create node
|
|
240
|
-
* @param {
|
|
240
|
+
* @param {CreateNode} createNode
|
|
241
241
|
* @param {*} [options] Override http request option.
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
* @memberof NodesApi
|
|
244
244
|
*/
|
|
245
|
-
createNode(
|
|
246
|
-
return (0, exports.NodesApiFp)(this.configuration).createNode(
|
|
245
|
+
createNode(createNode, options) {
|
|
246
|
+
return (0, exports.NodesApiFp)(this.configuration).createNode(createNode, options).then((request) => request(this.axios, this.basePath));
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
249
|
*
|