@daytonaio/api-client 0.16.0 → 0.17.1
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 +1 -0
- package/api/api-keys-api.ts +16 -0
- package/api/docker-registry-api.ts +28 -0
- package/api/images-api.ts +20 -0
- package/api/nodes-api.ts +12 -0
- package/api/organizations-api.ts +301 -0
- package/api/preview-api.ts +4 -0
- package/api/toolbox-api.ts +144 -0
- package/api/workspace-api.ts +61 -11
- package/dist/api/api-keys-api.js +65 -36
- package/dist/api/docker-registry-api.js +107 -63
- package/dist/api/images-api.js +79 -45
- package/dist/api/nodes-api.js +51 -27
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +485 -207
- package/dist/api/preview-api.js +43 -25
- package/dist/api/toolbox-api.js +513 -324
- package/dist/api/users-api.js +53 -36
- package/dist/api/workspace-api.d.ts +8 -8
- package/dist/api/workspace-api.js +196 -124
- package/dist/common.js +34 -19
- package/dist/esm/api/api-keys-api.js +66 -37
- package/dist/esm/api/docker-registry-api.js +108 -64
- package/dist/esm/api/images-api.js +80 -46
- package/dist/esm/api/nodes-api.js +52 -28
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +486 -208
- package/dist/esm/api/preview-api.js +44 -26
- package/dist/esm/api/toolbox-api.js +514 -325
- package/dist/esm/api/users-api.js +53 -36
- package/dist/esm/api/workspace-api.d.ts +8 -8
- package/dist/esm/api/workspace-api.js +197 -125
- package/dist/esm/common.js +34 -19
- package/dist/esm/models/create-image.d.ts +2 -2
- package/dist/esm/models/create-organization.d.ts +0 -66
- package/dist/esm/models/create-workspace.d.ts +0 -12
- package/dist/esm/models/image-dto.d.ts +2 -2
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization.d.ts +24 -0
- package/dist/esm/models/workspace-info.d.ts +2 -1
- package/dist/esm/models/workspace-state.d.ts +1 -1
- package/dist/esm/models/workspace-state.js +1 -1
- package/dist/esm/models/workspace.d.ts +7 -0
- package/dist/models/create-image.d.ts +2 -2
- package/dist/models/create-organization.d.ts +0 -66
- package/dist/models/create-workspace.d.ts +0 -12
- package/dist/models/image-dto.d.ts +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization.d.ts +24 -0
- package/dist/models/workspace-info.d.ts +2 -1
- package/dist/models/workspace-state.d.ts +1 -1
- package/dist/models/workspace-state.js +1 -1
- package/dist/models/workspace.d.ts +7 -0
- package/models/create-image.ts +2 -2
- package/models/create-organization.ts +0 -66
- package/models/create-workspace.ts +0 -12
- package/models/image-dto.ts +2 -2
- package/models/index.ts +1 -0
- package/models/organization-suspension.ts +33 -0
- package/models/organization.ts +24 -0
- package/models/workspace-info.ts +2 -1
- package/models/workspace-state.ts +1 -1
- package/models/workspace.ts +7 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
package/dist/api/api-keys-api.js
CHANGED
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
15
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
25
|
exports.ApiKeysApi = exports.ApiKeysApiFactory = exports.ApiKeysApiFp = exports.ApiKeysApiAxiosParamCreator = void 0;
|
|
17
26
|
const axios_1 = require("axios");
|
|
@@ -34,7 +43,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
34
43
|
* @param {*} [options] Override http request option.
|
|
35
44
|
* @throws {RequiredError}
|
|
36
45
|
*/
|
|
37
|
-
createApiKey:
|
|
46
|
+
createApiKey: (createApiKey_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [createApiKey_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (createApiKey, xDaytonaOrganizationID, options = {}) {
|
|
38
47
|
// verify required parameter 'createApiKey' is not null or undefined
|
|
39
48
|
(0, common_1.assertParamExists)('createApiKey', 'createApiKey', createApiKey);
|
|
40
49
|
const localVarPath = `/api-keys`;
|
|
@@ -47,9 +56,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
47
56
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
48
57
|
const localVarHeaderParameter = {};
|
|
49
58
|
const localVarQueryParameter = {};
|
|
59
|
+
// authentication bearer required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
50
62
|
// authentication oauth2 required
|
|
51
63
|
// oauth required
|
|
52
|
-
|
|
64
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
53
65
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54
66
|
if (xDaytonaOrganizationID != null) {
|
|
55
67
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -62,7 +74,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
62
74
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
75
|
options: localVarRequestOptions,
|
|
64
76
|
};
|
|
65
|
-
},
|
|
77
|
+
}),
|
|
66
78
|
/**
|
|
67
79
|
*
|
|
68
80
|
* @summary Delete API key
|
|
@@ -71,7 +83,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
71
83
|
* @param {*} [options] Override http request option.
|
|
72
84
|
* @throws {RequiredError}
|
|
73
85
|
*/
|
|
74
|
-
deleteApiKey:
|
|
86
|
+
deleteApiKey: (name_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [name_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (name, xDaytonaOrganizationID, options = {}) {
|
|
75
87
|
// verify required parameter 'name' is not null or undefined
|
|
76
88
|
(0, common_1.assertParamExists)('deleteApiKey', 'name', name);
|
|
77
89
|
const localVarPath = `/api-keys/{name}`.replace(`{${'name'}}`, encodeURIComponent(String(name)));
|
|
@@ -84,9 +96,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
84
96
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
85
97
|
const localVarHeaderParameter = {};
|
|
86
98
|
const localVarQueryParameter = {};
|
|
99
|
+
// authentication bearer required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
87
102
|
// authentication oauth2 required
|
|
88
103
|
// oauth required
|
|
89
|
-
|
|
104
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
90
105
|
if (xDaytonaOrganizationID != null) {
|
|
91
106
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
92
107
|
}
|
|
@@ -97,7 +112,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
97
112
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
98
113
|
options: localVarRequestOptions,
|
|
99
114
|
};
|
|
100
|
-
},
|
|
115
|
+
}),
|
|
101
116
|
/**
|
|
102
117
|
*
|
|
103
118
|
* @summary Get API key
|
|
@@ -106,7 +121,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
106
121
|
* @param {*} [options] Override http request option.
|
|
107
122
|
* @throws {RequiredError}
|
|
108
123
|
*/
|
|
109
|
-
getApiKey:
|
|
124
|
+
getApiKey: (name_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [name_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (name, xDaytonaOrganizationID, options = {}) {
|
|
110
125
|
// verify required parameter 'name' is not null or undefined
|
|
111
126
|
(0, common_1.assertParamExists)('getApiKey', 'name', name);
|
|
112
127
|
const localVarPath = `/api-keys/{name}`.replace(`{${'name'}}`, encodeURIComponent(String(name)));
|
|
@@ -119,9 +134,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
119
134
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
120
135
|
const localVarHeaderParameter = {};
|
|
121
136
|
const localVarQueryParameter = {};
|
|
137
|
+
// authentication bearer required
|
|
138
|
+
// http bearer authentication required
|
|
139
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
122
140
|
// authentication oauth2 required
|
|
123
141
|
// oauth required
|
|
124
|
-
|
|
142
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
125
143
|
if (xDaytonaOrganizationID != null) {
|
|
126
144
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
127
145
|
}
|
|
@@ -132,7 +150,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
132
150
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
133
151
|
options: localVarRequestOptions,
|
|
134
152
|
};
|
|
135
|
-
},
|
|
153
|
+
}),
|
|
136
154
|
/**
|
|
137
155
|
*
|
|
138
156
|
* @summary List API keys
|
|
@@ -140,7 +158,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
140
158
|
* @param {*} [options] Override http request option.
|
|
141
159
|
* @throws {RequiredError}
|
|
142
160
|
*/
|
|
143
|
-
listApiKeys:
|
|
161
|
+
listApiKeys: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
144
162
|
const localVarPath = `/api-keys`;
|
|
145
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
164
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -151,9 +169,12 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
151
169
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
152
170
|
const localVarHeaderParameter = {};
|
|
153
171
|
const localVarQueryParameter = {};
|
|
172
|
+
// authentication bearer required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
154
175
|
// authentication oauth2 required
|
|
155
176
|
// oauth required
|
|
156
|
-
|
|
177
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
157
178
|
if (xDaytonaOrganizationID != null) {
|
|
158
179
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
159
180
|
}
|
|
@@ -164,7 +185,7 @@ const ApiKeysApiAxiosParamCreator = function (configuration) {
|
|
|
164
185
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
165
186
|
options: localVarRequestOptions,
|
|
166
187
|
};
|
|
167
|
-
},
|
|
188
|
+
}),
|
|
168
189
|
};
|
|
169
190
|
};
|
|
170
191
|
exports.ApiKeysApiAxiosParamCreator = ApiKeysApiAxiosParamCreator;
|
|
@@ -183,12 +204,14 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
183
204
|
* @param {*} [options] Override http request option.
|
|
184
205
|
* @throws {RequiredError}
|
|
185
206
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
207
|
+
createApiKey(createApiKey, xDaytonaOrganizationID, options) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
var _a, _b, _c;
|
|
210
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createApiKey(createApiKey, xDaytonaOrganizationID, options);
|
|
211
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
212
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.createApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
213
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
214
|
+
});
|
|
192
215
|
},
|
|
193
216
|
/**
|
|
194
217
|
*
|
|
@@ -198,12 +221,14 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
198
221
|
* @param {*} [options] Override http request option.
|
|
199
222
|
* @throws {RequiredError}
|
|
200
223
|
*/
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
224
|
+
deleteApiKey(name, xDaytonaOrganizationID, options) {
|
|
225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
226
|
+
var _a, _b, _c;
|
|
227
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApiKey(name, xDaytonaOrganizationID, options);
|
|
228
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
229
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.deleteApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
230
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
231
|
+
});
|
|
207
232
|
},
|
|
208
233
|
/**
|
|
209
234
|
*
|
|
@@ -213,12 +238,14 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
213
238
|
* @param {*} [options] Override http request option.
|
|
214
239
|
* @throws {RequiredError}
|
|
215
240
|
*/
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
241
|
+
getApiKey(name, xDaytonaOrganizationID, options) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
var _a, _b, _c;
|
|
244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApiKey(name, xDaytonaOrganizationID, options);
|
|
245
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.getApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
248
|
+
});
|
|
222
249
|
},
|
|
223
250
|
/**
|
|
224
251
|
*
|
|
@@ -227,12 +254,14 @@ const ApiKeysApiFp = function (configuration) {
|
|
|
227
254
|
* @param {*} [options] Override http request option.
|
|
228
255
|
* @throws {RequiredError}
|
|
229
256
|
*/
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
257
|
+
listApiKeys(xDaytonaOrganizationID, options) {
|
|
258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
259
|
+
var _a, _b, _c;
|
|
260
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listApiKeys(xDaytonaOrganizationID, options);
|
|
261
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
262
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApiKeysApi.listApiKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
263
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
264
|
+
});
|
|
236
265
|
},
|
|
237
266
|
};
|
|
238
267
|
};
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
15
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
25
|
exports.DockerRegistryApi = exports.DockerRegistryApiFactory = exports.DockerRegistryApiFp = exports.DockerRegistryApiAxiosParamCreator = void 0;
|
|
17
26
|
const axios_1 = require("axios");
|
|
@@ -34,7 +43,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
34
43
|
* @param {*} [options] Override http request option.
|
|
35
44
|
* @throws {RequiredError}
|
|
36
45
|
*/
|
|
37
|
-
createRegistry:
|
|
46
|
+
createRegistry: (createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (createDockerRegistry, xDaytonaOrganizationID, options = {}) {
|
|
38
47
|
// verify required parameter 'createDockerRegistry' is not null or undefined
|
|
39
48
|
(0, common_1.assertParamExists)('createRegistry', 'createDockerRegistry', createDockerRegistry);
|
|
40
49
|
const localVarPath = `/docker-registry`;
|
|
@@ -47,9 +56,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
47
56
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
48
57
|
const localVarHeaderParameter = {};
|
|
49
58
|
const localVarQueryParameter = {};
|
|
59
|
+
// authentication bearer required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
50
62
|
// authentication oauth2 required
|
|
51
63
|
// oauth required
|
|
52
|
-
|
|
64
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
53
65
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54
66
|
if (xDaytonaOrganizationID != null) {
|
|
55
67
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -62,7 +74,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
62
74
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
75
|
options: localVarRequestOptions,
|
|
64
76
|
};
|
|
65
|
-
},
|
|
77
|
+
}),
|
|
66
78
|
/**
|
|
67
79
|
*
|
|
68
80
|
* @summary Delete registry
|
|
@@ -71,7 +83,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
71
83
|
* @param {*} [options] Override http request option.
|
|
72
84
|
* @throws {RequiredError}
|
|
73
85
|
*/
|
|
74
|
-
deleteRegistry:
|
|
86
|
+
deleteRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
75
87
|
// verify required parameter 'id' is not null or undefined
|
|
76
88
|
(0, common_1.assertParamExists)('deleteRegistry', 'id', id);
|
|
77
89
|
const localVarPath = `/docker-registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -84,9 +96,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
84
96
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
85
97
|
const localVarHeaderParameter = {};
|
|
86
98
|
const localVarQueryParameter = {};
|
|
99
|
+
// authentication bearer required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
87
102
|
// authentication oauth2 required
|
|
88
103
|
// oauth required
|
|
89
|
-
|
|
104
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
90
105
|
if (xDaytonaOrganizationID != null) {
|
|
91
106
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
92
107
|
}
|
|
@@ -97,7 +112,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
97
112
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
98
113
|
options: localVarRequestOptions,
|
|
99
114
|
};
|
|
100
|
-
},
|
|
115
|
+
}),
|
|
101
116
|
/**
|
|
102
117
|
*
|
|
103
118
|
* @summary Get registry
|
|
@@ -106,7 +121,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
106
121
|
* @param {*} [options] Override http request option.
|
|
107
122
|
* @throws {RequiredError}
|
|
108
123
|
*/
|
|
109
|
-
getRegistry:
|
|
124
|
+
getRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
110
125
|
// verify required parameter 'id' is not null or undefined
|
|
111
126
|
(0, common_1.assertParamExists)('getRegistry', 'id', id);
|
|
112
127
|
const localVarPath = `/docker-registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -119,9 +134,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
119
134
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
120
135
|
const localVarHeaderParameter = {};
|
|
121
136
|
const localVarQueryParameter = {};
|
|
137
|
+
// authentication bearer required
|
|
138
|
+
// http bearer authentication required
|
|
139
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
122
140
|
// authentication oauth2 required
|
|
123
141
|
// oauth required
|
|
124
|
-
|
|
142
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
125
143
|
if (xDaytonaOrganizationID != null) {
|
|
126
144
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
127
145
|
}
|
|
@@ -132,7 +150,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
132
150
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
133
151
|
options: localVarRequestOptions,
|
|
134
152
|
};
|
|
135
|
-
},
|
|
153
|
+
}),
|
|
136
154
|
/**
|
|
137
155
|
*
|
|
138
156
|
* @summary Get temporary registry access for pushing images
|
|
@@ -140,7 +158,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
140
158
|
* @param {*} [options] Override http request option.
|
|
141
159
|
* @throws {RequiredError}
|
|
142
160
|
*/
|
|
143
|
-
getTransientPushAccess:
|
|
161
|
+
getTransientPushAccess: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
144
162
|
const localVarPath = `/docker-registry/registry-push-access`;
|
|
145
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
164
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -151,9 +169,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
151
169
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
152
170
|
const localVarHeaderParameter = {};
|
|
153
171
|
const localVarQueryParameter = {};
|
|
172
|
+
// authentication bearer required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
154
175
|
// authentication oauth2 required
|
|
155
176
|
// oauth required
|
|
156
|
-
|
|
177
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
157
178
|
if (xDaytonaOrganizationID != null) {
|
|
158
179
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
159
180
|
}
|
|
@@ -164,7 +185,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
164
185
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
165
186
|
options: localVarRequestOptions,
|
|
166
187
|
};
|
|
167
|
-
},
|
|
188
|
+
}),
|
|
168
189
|
/**
|
|
169
190
|
*
|
|
170
191
|
* @summary List registries
|
|
@@ -172,7 +193,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
172
193
|
* @param {*} [options] Override http request option.
|
|
173
194
|
* @throws {RequiredError}
|
|
174
195
|
*/
|
|
175
|
-
listRegistries:
|
|
196
|
+
listRegistries: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
176
197
|
const localVarPath = `/docker-registry`;
|
|
177
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
199
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -183,9 +204,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
183
204
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
184
205
|
const localVarHeaderParameter = {};
|
|
185
206
|
const localVarQueryParameter = {};
|
|
207
|
+
// authentication bearer required
|
|
208
|
+
// http bearer authentication required
|
|
209
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
186
210
|
// authentication oauth2 required
|
|
187
211
|
// oauth required
|
|
188
|
-
|
|
212
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
189
213
|
if (xDaytonaOrganizationID != null) {
|
|
190
214
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
191
215
|
}
|
|
@@ -196,7 +220,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
196
220
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
197
221
|
options: localVarRequestOptions,
|
|
198
222
|
};
|
|
199
|
-
},
|
|
223
|
+
}),
|
|
200
224
|
/**
|
|
201
225
|
*
|
|
202
226
|
* @summary Set default registry
|
|
@@ -205,7 +229,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
205
229
|
* @param {*} [options] Override http request option.
|
|
206
230
|
* @throws {RequiredError}
|
|
207
231
|
*/
|
|
208
|
-
setDefaultRegistry:
|
|
232
|
+
setDefaultRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
209
233
|
// verify required parameter 'id' is not null or undefined
|
|
210
234
|
(0, common_1.assertParamExists)('setDefaultRegistry', 'id', id);
|
|
211
235
|
const localVarPath = `/docker-registry/{id}/set-default`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -218,9 +242,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
218
242
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
219
243
|
const localVarHeaderParameter = {};
|
|
220
244
|
const localVarQueryParameter = {};
|
|
245
|
+
// authentication bearer required
|
|
246
|
+
// http bearer authentication required
|
|
247
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
221
248
|
// authentication oauth2 required
|
|
222
249
|
// oauth required
|
|
223
|
-
|
|
250
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
224
251
|
if (xDaytonaOrganizationID != null) {
|
|
225
252
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
226
253
|
}
|
|
@@ -231,7 +258,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
231
258
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
232
259
|
options: localVarRequestOptions,
|
|
233
260
|
};
|
|
234
|
-
},
|
|
261
|
+
}),
|
|
235
262
|
/**
|
|
236
263
|
*
|
|
237
264
|
* @summary Update registry
|
|
@@ -241,7 +268,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
241
268
|
* @param {*} [options] Override http request option.
|
|
242
269
|
* @throws {RequiredError}
|
|
243
270
|
*/
|
|
244
|
-
updateRegistry:
|
|
271
|
+
updateRegistry: (id_1, updateDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, updateDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, updateDockerRegistry, xDaytonaOrganizationID, options = {}) {
|
|
245
272
|
// verify required parameter 'id' is not null or undefined
|
|
246
273
|
(0, common_1.assertParamExists)('updateRegistry', 'id', id);
|
|
247
274
|
// verify required parameter 'updateDockerRegistry' is not null or undefined
|
|
@@ -256,9 +283,12 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
256
283
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
257
284
|
const localVarHeaderParameter = {};
|
|
258
285
|
const localVarQueryParameter = {};
|
|
286
|
+
// authentication bearer required
|
|
287
|
+
// http bearer authentication required
|
|
288
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
259
289
|
// authentication oauth2 required
|
|
260
290
|
// oauth required
|
|
261
|
-
|
|
291
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
262
292
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
263
293
|
if (xDaytonaOrganizationID != null) {
|
|
264
294
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -271,7 +301,7 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
271
301
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
272
302
|
options: localVarRequestOptions,
|
|
273
303
|
};
|
|
274
|
-
},
|
|
304
|
+
}),
|
|
275
305
|
};
|
|
276
306
|
};
|
|
277
307
|
exports.DockerRegistryApiAxiosParamCreator = DockerRegistryApiAxiosParamCreator;
|
|
@@ -290,12 +320,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
290
320
|
* @param {*} [options] Override http request option.
|
|
291
321
|
* @throws {RequiredError}
|
|
292
322
|
*/
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
323
|
+
createRegistry(createDockerRegistry, xDaytonaOrganizationID, options) {
|
|
324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
var _a, _b, _c;
|
|
326
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(createDockerRegistry, xDaytonaOrganizationID, options);
|
|
327
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
328
|
+
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;
|
|
329
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
330
|
+
});
|
|
299
331
|
},
|
|
300
332
|
/**
|
|
301
333
|
*
|
|
@@ -305,12 +337,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
305
337
|
* @param {*} [options] Override http request option.
|
|
306
338
|
* @throws {RequiredError}
|
|
307
339
|
*/
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
340
|
+
deleteRegistry(id, xDaytonaOrganizationID, options) {
|
|
341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
+
var _a, _b, _c;
|
|
343
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRegistry(id, xDaytonaOrganizationID, options);
|
|
344
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
345
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.deleteRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
346
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
347
|
+
});
|
|
314
348
|
},
|
|
315
349
|
/**
|
|
316
350
|
*
|
|
@@ -320,12 +354,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
320
354
|
* @param {*} [options] Override http request option.
|
|
321
355
|
* @throws {RequiredError}
|
|
322
356
|
*/
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
357
|
+
getRegistry(id, xDaytonaOrganizationID, options) {
|
|
358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
359
|
+
var _a, _b, _c;
|
|
360
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistry(id, xDaytonaOrganizationID, options);
|
|
361
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
362
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.getRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
363
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
|
+
});
|
|
329
365
|
},
|
|
330
366
|
/**
|
|
331
367
|
*
|
|
@@ -334,12 +370,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
334
370
|
* @param {*} [options] Override http request option.
|
|
335
371
|
* @throws {RequiredError}
|
|
336
372
|
*/
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
373
|
+
getTransientPushAccess(xDaytonaOrganizationID, options) {
|
|
374
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
375
|
+
var _a, _b, _c;
|
|
376
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTransientPushAccess(xDaytonaOrganizationID, options);
|
|
377
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
378
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.getTransientPushAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
379
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
380
|
+
});
|
|
343
381
|
},
|
|
344
382
|
/**
|
|
345
383
|
*
|
|
@@ -348,12 +386,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
348
386
|
* @param {*} [options] Override http request option.
|
|
349
387
|
* @throws {RequiredError}
|
|
350
388
|
*/
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
389
|
+
listRegistries(xDaytonaOrganizationID, options) {
|
|
390
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
391
|
+
var _a, _b, _c;
|
|
392
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRegistries(xDaytonaOrganizationID, options);
|
|
393
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
394
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.listRegistries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
395
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
396
|
+
});
|
|
357
397
|
},
|
|
358
398
|
/**
|
|
359
399
|
*
|
|
@@ -363,12 +403,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
363
403
|
* @param {*} [options] Override http request option.
|
|
364
404
|
* @throws {RequiredError}
|
|
365
405
|
*/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
406
|
+
setDefaultRegistry(id, xDaytonaOrganizationID, options) {
|
|
407
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
408
|
+
var _a, _b, _c;
|
|
409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setDefaultRegistry(id, xDaytonaOrganizationID, options);
|
|
410
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
411
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DockerRegistryApi.setDefaultRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
412
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
413
|
+
});
|
|
372
414
|
},
|
|
373
415
|
/**
|
|
374
416
|
*
|
|
@@ -379,12 +421,14 @@ const DockerRegistryApiFp = function (configuration) {
|
|
|
379
421
|
* @param {*} [options] Override http request option.
|
|
380
422
|
* @throws {RequiredError}
|
|
381
423
|
*/
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
424
|
+
updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options) {
|
|
425
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
426
|
+
var _a, _b, _c;
|
|
427
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options);
|
|
428
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
429
|
+
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;
|
|
430
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
431
|
+
});
|
|
388
432
|
},
|
|
389
433
|
};
|
|
390
434
|
};
|