@daytonaio/api-client 0.17.0 → 0.18.0-alpha.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 +4 -1
- package/api/volumes-api.ts +584 -0
- package/api/workspace-api.ts +9 -13
- package/api.ts +1 -0
- package/dist/api/api-keys-api.js +57 -40
- package/dist/api/docker-registry-api.js +93 -70
- package/dist/api/images-api.js +69 -50
- package/dist/api/nodes-api.js +45 -30
- package/dist/api/organizations-api.js +309 -250
- package/dist/api/preview-api.js +41 -26
- package/dist/api/toolbox-api.js +441 -360
- package/dist/api/users-api.js +53 -36
- package/dist/api/volumes-api.d.ts +227 -0
- package/dist/api/volumes-api.js +465 -0
- package/dist/api/workspace-api.d.ts +8 -9
- package/dist/api/workspace-api.js +170 -137
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.js +34 -19
- package/dist/esm/api/api-keys-api.js +57 -40
- package/dist/esm/api/docker-registry-api.js +93 -70
- package/dist/esm/api/images-api.js +69 -50
- package/dist/esm/api/nodes-api.js +45 -30
- package/dist/esm/api/organizations-api.js +309 -250
- package/dist/esm/api/preview-api.js +41 -26
- package/dist/esm/api/toolbox-api.js +441 -360
- package/dist/esm/api/users-api.js +53 -36
- package/dist/esm/api/volumes-api.d.ts +227 -0
- package/dist/esm/api/volumes-api.js +458 -0
- package/dist/esm/api/workspace-api.d.ts +8 -9
- package/dist/esm/api/workspace-api.js +170 -137
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.js +34 -19
- package/dist/esm/models/api-key-list.d.ts +3 -0
- package/dist/esm/models/api-key-list.js +3 -0
- package/dist/esm/models/api-key-response.d.ts +3 -0
- package/dist/esm/models/api-key-response.js +3 -0
- package/dist/esm/models/create-api-key.d.ts +3 -0
- package/dist/esm/models/create-api-key.js +3 -0
- package/dist/esm/models/create-organization-role.d.ts +3 -0
- package/dist/esm/models/create-organization-role.js +3 -0
- package/dist/esm/models/{list-workspaces-labels-parameter.d.ts → create-volume.d.ts} +5 -7
- package/dist/esm/models/create-workspace.d.ts +7 -0
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/esm/models/organization-role.d.ts +3 -0
- package/dist/esm/models/organization-role.js +3 -0
- package/dist/esm/models/update-organization-role.d.ts +3 -0
- package/dist/esm/models/update-organization-role.js +3 -0
- package/dist/esm/models/volume-dto.d.ts +70 -0
- package/dist/esm/models/volume-dto.js +22 -0
- package/dist/esm/models/volume-mount-dto.d.ts +30 -0
- package/dist/esm/models/volume-mount-dto.js +2 -0
- package/dist/esm/models/workspace-volume.d.ts +30 -0
- package/dist/esm/models/workspace-volume.js +14 -0
- package/dist/esm/models/workspace.d.ts +7 -0
- package/dist/models/api-key-list.d.ts +3 -0
- package/dist/models/api-key-list.js +3 -0
- package/dist/models/api-key-response.d.ts +3 -0
- package/dist/models/api-key-response.js +3 -0
- package/dist/models/create-api-key.d.ts +3 -0
- package/dist/models/create-api-key.js +3 -0
- package/dist/models/create-organization-role.d.ts +3 -0
- package/dist/models/create-organization-role.js +3 -0
- package/dist/models/{list-workspaces-labels-parameter.d.ts → create-volume.d.ts} +5 -7
- package/dist/models/create-workspace.d.ts +7 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/organization-role.d.ts +3 -0
- package/dist/models/organization-role.js +3 -0
- package/dist/models/update-organization-role.d.ts +3 -0
- package/dist/models/update-organization-role.js +3 -0
- package/dist/models/volume-dto.d.ts +70 -0
- package/dist/models/volume-dto.js +25 -0
- package/dist/models/volume-mount-dto.d.ts +30 -0
- package/dist/models/volume-mount-dto.js +3 -0
- package/dist/models/workspace-volume.d.ts +30 -0
- package/dist/models/workspace-volume.js +15 -0
- package/dist/models/workspace.d.ts +7 -0
- package/models/api-key-list.ts +3 -0
- package/models/api-key-response.ts +3 -0
- package/models/create-api-key.ts +3 -0
- package/models/create-organization-role.ts +3 -0
- package/models/{list-workspaces-labels-parameter.ts → create-volume.ts} +5 -5
- package/models/create-workspace.ts +10 -0
- package/models/index.ts +3 -1
- package/models/organization-role.ts +3 -0
- package/models/update-organization-role.ts +3 -0
- package/models/volume-dto.ts +75 -0
- package/models/volume-mount-dto.ts +33 -0
- package/models/workspace-volume.ts +33 -0
- package/models/workspace.ts +9 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- /package/dist/esm/models/{list-workspaces-labels-parameter.js → create-volume.js} +0 -0
- /package/dist/models/{list-workspaces-labels-parameter.js → create-volume.js} +0 -0
|
@@ -11,6 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
14
23
|
import globalAxios from 'axios';
|
|
15
24
|
// Some imports not used depending on template conditions
|
|
16
25
|
// @ts-ignore
|
|
@@ -31,7 +40,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
31
40
|
* @param {*} [options] Override http request option.
|
|
32
41
|
* @throws {RequiredError}
|
|
33
42
|
*/
|
|
34
|
-
createRegistry:
|
|
43
|
+
createRegistry: (createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (createDockerRegistry, xDaytonaOrganizationID, options = {}) {
|
|
35
44
|
// verify required parameter 'createDockerRegistry' is not null or undefined
|
|
36
45
|
assertParamExists('createRegistry', 'createDockerRegistry', createDockerRegistry);
|
|
37
46
|
const localVarPath = `/docker-registry`;
|
|
@@ -46,10 +55,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
46
55
|
const localVarQueryParameter = {};
|
|
47
56
|
// authentication bearer required
|
|
48
57
|
// http bearer authentication required
|
|
49
|
-
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
50
59
|
// authentication oauth2 required
|
|
51
60
|
// oauth required
|
|
52
|
-
|
|
61
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
53
62
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54
63
|
if (xDaytonaOrganizationID != null) {
|
|
55
64
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -62,7 +71,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
62
71
|
url: toPathString(localVarUrlObj),
|
|
63
72
|
options: localVarRequestOptions,
|
|
64
73
|
};
|
|
65
|
-
},
|
|
74
|
+
}),
|
|
66
75
|
/**
|
|
67
76
|
*
|
|
68
77
|
* @summary Delete registry
|
|
@@ -71,7 +80,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
71
80
|
* @param {*} [options] Override http request option.
|
|
72
81
|
* @throws {RequiredError}
|
|
73
82
|
*/
|
|
74
|
-
deleteRegistry:
|
|
83
|
+
deleteRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
75
84
|
// verify required parameter 'id' is not null or undefined
|
|
76
85
|
assertParamExists('deleteRegistry', 'id', id);
|
|
77
86
|
const localVarPath = `/docker-registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -86,10 +95,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
86
95
|
const localVarQueryParameter = {};
|
|
87
96
|
// authentication bearer required
|
|
88
97
|
// http bearer authentication required
|
|
89
|
-
|
|
98
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
90
99
|
// authentication oauth2 required
|
|
91
100
|
// oauth required
|
|
92
|
-
|
|
101
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
93
102
|
if (xDaytonaOrganizationID != null) {
|
|
94
103
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
95
104
|
}
|
|
@@ -100,7 +109,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
url: toPathString(localVarUrlObj),
|
|
101
110
|
options: localVarRequestOptions,
|
|
102
111
|
};
|
|
103
|
-
},
|
|
112
|
+
}),
|
|
104
113
|
/**
|
|
105
114
|
*
|
|
106
115
|
* @summary Get registry
|
|
@@ -109,7 +118,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
109
118
|
* @param {*} [options] Override http request option.
|
|
110
119
|
* @throws {RequiredError}
|
|
111
120
|
*/
|
|
112
|
-
getRegistry:
|
|
121
|
+
getRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
113
122
|
// verify required parameter 'id' is not null or undefined
|
|
114
123
|
assertParamExists('getRegistry', 'id', id);
|
|
115
124
|
const localVarPath = `/docker-registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -124,10 +133,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
124
133
|
const localVarQueryParameter = {};
|
|
125
134
|
// authentication bearer required
|
|
126
135
|
// http bearer authentication required
|
|
127
|
-
|
|
136
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
128
137
|
// authentication oauth2 required
|
|
129
138
|
// oauth required
|
|
130
|
-
|
|
139
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
131
140
|
if (xDaytonaOrganizationID != null) {
|
|
132
141
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
133
142
|
}
|
|
@@ -138,7 +147,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
138
147
|
url: toPathString(localVarUrlObj),
|
|
139
148
|
options: localVarRequestOptions,
|
|
140
149
|
};
|
|
141
|
-
},
|
|
150
|
+
}),
|
|
142
151
|
/**
|
|
143
152
|
*
|
|
144
153
|
* @summary Get temporary registry access for pushing images
|
|
@@ -146,7 +155,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
146
155
|
* @param {*} [options] Override http request option.
|
|
147
156
|
* @throws {RequiredError}
|
|
148
157
|
*/
|
|
149
|
-
getTransientPushAccess:
|
|
158
|
+
getTransientPushAccess: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
150
159
|
const localVarPath = `/docker-registry/registry-push-access`;
|
|
151
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -159,10 +168,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
159
168
|
const localVarQueryParameter = {};
|
|
160
169
|
// authentication bearer required
|
|
161
170
|
// http bearer authentication required
|
|
162
|
-
|
|
171
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
163
172
|
// authentication oauth2 required
|
|
164
173
|
// oauth required
|
|
165
|
-
|
|
174
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
166
175
|
if (xDaytonaOrganizationID != null) {
|
|
167
176
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
168
177
|
}
|
|
@@ -173,7 +182,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
173
182
|
url: toPathString(localVarUrlObj),
|
|
174
183
|
options: localVarRequestOptions,
|
|
175
184
|
};
|
|
176
|
-
},
|
|
185
|
+
}),
|
|
177
186
|
/**
|
|
178
187
|
*
|
|
179
188
|
* @summary List registries
|
|
@@ -181,7 +190,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
181
190
|
* @param {*} [options] Override http request option.
|
|
182
191
|
* @throws {RequiredError}
|
|
183
192
|
*/
|
|
184
|
-
listRegistries:
|
|
193
|
+
listRegistries: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
185
194
|
const localVarPath = `/docker-registry`;
|
|
186
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
187
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -194,10 +203,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
194
203
|
const localVarQueryParameter = {};
|
|
195
204
|
// authentication bearer required
|
|
196
205
|
// http bearer authentication required
|
|
197
|
-
|
|
206
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
198
207
|
// authentication oauth2 required
|
|
199
208
|
// oauth required
|
|
200
|
-
|
|
209
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
201
210
|
if (xDaytonaOrganizationID != null) {
|
|
202
211
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
203
212
|
}
|
|
@@ -208,7 +217,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
208
217
|
url: toPathString(localVarUrlObj),
|
|
209
218
|
options: localVarRequestOptions,
|
|
210
219
|
};
|
|
211
|
-
},
|
|
220
|
+
}),
|
|
212
221
|
/**
|
|
213
222
|
*
|
|
214
223
|
* @summary Set default registry
|
|
@@ -217,7 +226,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
217
226
|
* @param {*} [options] Override http request option.
|
|
218
227
|
* @throws {RequiredError}
|
|
219
228
|
*/
|
|
220
|
-
setDefaultRegistry:
|
|
229
|
+
setDefaultRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
221
230
|
// verify required parameter 'id' is not null or undefined
|
|
222
231
|
assertParamExists('setDefaultRegistry', 'id', id);
|
|
223
232
|
const localVarPath = `/docker-registry/{id}/set-default`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
@@ -232,10 +241,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
232
241
|
const localVarQueryParameter = {};
|
|
233
242
|
// authentication bearer required
|
|
234
243
|
// http bearer authentication required
|
|
235
|
-
|
|
244
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
236
245
|
// authentication oauth2 required
|
|
237
246
|
// oauth required
|
|
238
|
-
|
|
247
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
239
248
|
if (xDaytonaOrganizationID != null) {
|
|
240
249
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
241
250
|
}
|
|
@@ -246,7 +255,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
246
255
|
url: toPathString(localVarUrlObj),
|
|
247
256
|
options: localVarRequestOptions,
|
|
248
257
|
};
|
|
249
|
-
},
|
|
258
|
+
}),
|
|
250
259
|
/**
|
|
251
260
|
*
|
|
252
261
|
* @summary Update registry
|
|
@@ -256,7 +265,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
256
265
|
* @param {*} [options] Override http request option.
|
|
257
266
|
* @throws {RequiredError}
|
|
258
267
|
*/
|
|
259
|
-
updateRegistry:
|
|
268
|
+
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 = {}) {
|
|
260
269
|
// verify required parameter 'id' is not null or undefined
|
|
261
270
|
assertParamExists('updateRegistry', 'id', id);
|
|
262
271
|
// verify required parameter 'updateDockerRegistry' is not null or undefined
|
|
@@ -273,10 +282,10 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
273
282
|
const localVarQueryParameter = {};
|
|
274
283
|
// authentication bearer required
|
|
275
284
|
// http bearer authentication required
|
|
276
|
-
|
|
285
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
277
286
|
// authentication oauth2 required
|
|
278
287
|
// oauth required
|
|
279
|
-
|
|
288
|
+
yield setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
280
289
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
281
290
|
if (xDaytonaOrganizationID != null) {
|
|
282
291
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
@@ -289,7 +298,7 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
289
298
|
url: toPathString(localVarUrlObj),
|
|
290
299
|
options: localVarRequestOptions,
|
|
291
300
|
};
|
|
292
|
-
},
|
|
301
|
+
}),
|
|
293
302
|
};
|
|
294
303
|
};
|
|
295
304
|
/**
|
|
@@ -307,12 +316,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
307
316
|
* @param {*} [options] Override http request option.
|
|
308
317
|
* @throws {RequiredError}
|
|
309
318
|
*/
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
319
|
+
createRegistry(createDockerRegistry, xDaytonaOrganizationID, options) {
|
|
320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
321
|
+
var _a, _b, _c;
|
|
322
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(createDockerRegistry, xDaytonaOrganizationID, options);
|
|
323
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
324
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.createRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
325
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
326
|
+
});
|
|
316
327
|
},
|
|
317
328
|
/**
|
|
318
329
|
*
|
|
@@ -322,12 +333,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
322
333
|
* @param {*} [options] Override http request option.
|
|
323
334
|
* @throws {RequiredError}
|
|
324
335
|
*/
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
336
|
+
deleteRegistry(id, xDaytonaOrganizationID, options) {
|
|
337
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
338
|
+
var _a, _b, _c;
|
|
339
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRegistry(id, xDaytonaOrganizationID, options);
|
|
340
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
341
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.deleteRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
342
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
343
|
+
});
|
|
331
344
|
},
|
|
332
345
|
/**
|
|
333
346
|
*
|
|
@@ -337,12 +350,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
337
350
|
* @param {*} [options] Override http request option.
|
|
338
351
|
* @throws {RequiredError}
|
|
339
352
|
*/
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
353
|
+
getRegistry(id, xDaytonaOrganizationID, options) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
var _a, _b, _c;
|
|
356
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistry(id, xDaytonaOrganizationID, options);
|
|
357
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
358
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.getRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
359
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
360
|
+
});
|
|
346
361
|
},
|
|
347
362
|
/**
|
|
348
363
|
*
|
|
@@ -351,12 +366,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
351
366
|
* @param {*} [options] Override http request option.
|
|
352
367
|
* @throws {RequiredError}
|
|
353
368
|
*/
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
369
|
+
getTransientPushAccess(xDaytonaOrganizationID, options) {
|
|
370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
371
|
+
var _a, _b, _c;
|
|
372
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTransientPushAccess(xDaytonaOrganizationID, options);
|
|
373
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
374
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.getTransientPushAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
375
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
376
|
+
});
|
|
360
377
|
},
|
|
361
378
|
/**
|
|
362
379
|
*
|
|
@@ -365,12 +382,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
365
382
|
* @param {*} [options] Override http request option.
|
|
366
383
|
* @throws {RequiredError}
|
|
367
384
|
*/
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
385
|
+
listRegistries(xDaytonaOrganizationID, options) {
|
|
386
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
+
var _a, _b, _c;
|
|
388
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRegistries(xDaytonaOrganizationID, options);
|
|
389
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
390
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.listRegistries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
391
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
392
|
+
});
|
|
374
393
|
},
|
|
375
394
|
/**
|
|
376
395
|
*
|
|
@@ -380,12 +399,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
380
399
|
* @param {*} [options] Override http request option.
|
|
381
400
|
* @throws {RequiredError}
|
|
382
401
|
*/
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
402
|
+
setDefaultRegistry(id, xDaytonaOrganizationID, options) {
|
|
403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
404
|
+
var _a, _b, _c;
|
|
405
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setDefaultRegistry(id, xDaytonaOrganizationID, options);
|
|
406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
407
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.setDefaultRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
408
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
409
|
+
});
|
|
389
410
|
},
|
|
390
411
|
/**
|
|
391
412
|
*
|
|
@@ -396,12 +417,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
396
417
|
* @param {*} [options] Override http request option.
|
|
397
418
|
* @throws {RequiredError}
|
|
398
419
|
*/
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
420
|
+
updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options) {
|
|
421
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
+
var _a, _b, _c;
|
|
423
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options);
|
|
424
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
425
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.updateRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
427
|
+
});
|
|
405
428
|
},
|
|
406
429
|
};
|
|
407
430
|
};
|