@daytonaio/api-client 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +19 -0
- package/README.md +2 -2
- package/api/api-keys-api.ts +60 -28
- package/api/docker-registry-api.ts +182 -58
- package/api/images-api.ts +60 -28
- package/api/organizations-api.ts +1858 -0
- package/api/toolbox-api.ts +548 -252
- package/api/users-api.ts +14 -14
- package/api/workspace-api.ts +334 -161
- package/api.ts +1 -0
- package/dist/api/api-keys-api.d.ts +32 -16
- package/dist/api/api-keys-api.js +56 -28
- package/dist/api/docker-registry-api.d.ts +98 -40
- package/dist/api/docker-registry-api.js +169 -58
- package/dist/api/images-api.d.ts +32 -16
- package/dist/api/images-api.js +56 -28
- package/dist/api/organizations-api.d.ts +856 -0
- package/dist/api/organizations-api.js +1741 -0
- package/dist/api/toolbox-api.d.ts +292 -144
- package/dist/api/toolbox-api.js +511 -252
- package/dist/api/users-api.d.ts +9 -9
- package/dist/api/users-api.js +13 -13
- package/dist/api/workspace-api.d.ts +182 -97
- package/dist/api/workspace-api.js +319 -162
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/api-keys-api.d.ts +32 -16
- package/dist/esm/api/api-keys-api.js +56 -28
- package/dist/esm/api/docker-registry-api.d.ts +98 -40
- package/dist/esm/api/docker-registry-api.js +169 -58
- package/dist/esm/api/images-api.d.ts +32 -16
- package/dist/esm/api/images-api.js +56 -28
- package/dist/esm/api/organizations-api.d.ts +856 -0
- package/dist/esm/api/organizations-api.js +1734 -0
- package/dist/esm/api/toolbox-api.d.ts +292 -144
- package/dist/esm/api/toolbox-api.js +511 -252
- package/dist/esm/api/users-api.d.ts +9 -9
- package/dist/esm/api/users-api.js +13 -13
- package/dist/esm/api/workspace-api.d.ts +182 -97
- package/dist/esm/api/workspace-api.js +319 -162
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/api-key-list.d.ts +15 -0
- package/dist/esm/models/api-key-list.js +8 -1
- package/dist/esm/models/api-key-response.d.ts +15 -0
- package/dist/esm/models/api-key-response.js +8 -1
- package/dist/esm/models/create-api-key.d.ts +15 -0
- package/dist/esm/models/create-api-key.js +8 -1
- package/dist/esm/models/create-docker-registry.d.ts +19 -0
- package/dist/esm/models/create-docker-registry.js +6 -1
- package/dist/esm/models/create-node.d.ts +72 -0
- package/dist/esm/models/create-node.js +10 -1
- package/dist/esm/models/create-organization-invitation.d.ts +47 -0
- package/dist/esm/models/create-organization-invitation.js +17 -0
- package/dist/esm/models/create-organization-quota.d.ts +84 -0
- package/dist/esm/models/create-organization-quota.js +14 -0
- package/dist/esm/models/create-organization-role.d.ts +45 -0
- package/dist/esm/models/create-organization-role.js +21 -0
- package/dist/esm/models/create-organization.d.ts +90 -0
- package/dist/esm/models/create-organization.js +14 -0
- package/dist/esm/models/create-user.d.ts +13 -0
- package/dist/esm/models/create-workspace.d.ts +6 -6
- package/dist/esm/models/create-workspace.js +6 -6
- package/dist/esm/models/docker-registry.d.ts +13 -0
- package/dist/esm/models/docker-registry.js +6 -1
- package/dist/esm/models/image-dto.d.ts +4 -12
- package/dist/esm/models/image-dto.js +1 -8
- package/dist/esm/models/image-state.d.ts +26 -0
- package/dist/esm/models/image-state.js +27 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/organization-invitation.d.ts +91 -0
- package/dist/esm/models/organization-invitation.js +23 -0
- package/dist/esm/models/organization-role.d.ts +69 -0
- package/dist/esm/models/organization-role.js +21 -0
- package/dist/esm/models/organization-user.d.ts +72 -0
- package/dist/esm/models/organization-user.js +17 -0
- package/dist/esm/models/organization.d.ts +54 -0
- package/dist/esm/models/organization.js +14 -0
- package/dist/esm/models/registry-push-access-dto.d.ts +54 -0
- package/dist/esm/models/registry-push-access-dto.js +14 -0
- package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/esm/models/update-assigned-organization-roles.js +14 -0
- package/dist/esm/models/update-organization-invitation.d.ts +41 -0
- package/dist/esm/models/update-organization-invitation.js +17 -0
- package/dist/esm/models/update-organization-member-role.d.ts +29 -0
- package/dist/esm/models/update-organization-member-role.js +17 -0
- package/dist/esm/models/update-organization-quota.d.ts +84 -0
- package/dist/esm/models/update-organization-quota.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +45 -0
- package/dist/esm/models/update-organization-role.js +21 -0
- package/dist/esm/models/user-public-key.d.ts +30 -0
- package/dist/esm/models/user-public-key.js +14 -0
- package/dist/esm/models/user.d.ts +43 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/esm/models/workspace-state.d.ts +33 -0
- package/dist/esm/models/workspace-state.js +34 -0
- package/dist/esm/models/workspace.d.ts +12 -3
- package/dist/esm/models/workspace.js +7 -1
- package/dist/models/api-key-list.d.ts +15 -0
- package/dist/models/api-key-list.js +9 -0
- package/dist/models/api-key-response.d.ts +15 -0
- package/dist/models/api-key-response.js +9 -0
- package/dist/models/create-api-key.d.ts +15 -0
- package/dist/models/create-api-key.js +9 -0
- package/dist/models/create-docker-registry.d.ts +19 -0
- package/dist/models/create-docker-registry.js +7 -0
- package/dist/models/create-node.d.ts +72 -0
- package/dist/models/create-node.js +11 -0
- package/dist/models/create-organization-invitation.d.ts +47 -0
- package/dist/models/create-organization-invitation.js +20 -0
- package/dist/models/create-organization-quota.d.ts +84 -0
- package/dist/models/create-organization-quota.js +15 -0
- package/dist/models/create-organization-role.d.ts +45 -0
- package/dist/models/create-organization-role.js +24 -0
- package/dist/models/create-organization.d.ts +90 -0
- package/dist/models/create-organization.js +15 -0
- package/dist/models/create-user.d.ts +13 -0
- package/dist/models/create-workspace.d.ts +6 -6
- package/dist/models/create-workspace.js +6 -6
- package/dist/models/docker-registry.d.ts +13 -0
- package/dist/models/docker-registry.js +7 -0
- package/dist/models/image-dto.d.ts +4 -12
- package/dist/models/image-dto.js +0 -9
- package/dist/models/image-state.d.ts +26 -0
- package/dist/models/image-state.js +30 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/organization-invitation.d.ts +91 -0
- package/dist/models/organization-invitation.js +26 -0
- package/dist/models/organization-role.d.ts +69 -0
- package/dist/models/organization-role.js +24 -0
- package/dist/models/organization-user.d.ts +72 -0
- package/dist/models/organization-user.js +20 -0
- package/dist/models/organization.d.ts +54 -0
- package/dist/models/organization.js +15 -0
- package/dist/models/registry-push-access-dto.d.ts +54 -0
- package/dist/models/registry-push-access-dto.js +15 -0
- package/dist/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/models/update-assigned-organization-roles.js +15 -0
- package/dist/models/update-organization-invitation.d.ts +41 -0
- package/dist/models/update-organization-invitation.js +20 -0
- package/dist/models/update-organization-member-role.d.ts +29 -0
- package/dist/models/update-organization-member-role.js +20 -0
- package/dist/models/update-organization-quota.d.ts +84 -0
- package/dist/models/update-organization-quota.js +15 -0
- package/dist/models/update-organization-role.d.ts +45 -0
- package/dist/models/update-organization-role.js +24 -0
- package/dist/models/user-public-key.d.ts +30 -0
- package/dist/models/user-public-key.js +15 -0
- package/dist/models/user.d.ts +43 -0
- package/dist/models/user.js +15 -0
- package/dist/models/workspace-state.d.ts +33 -0
- package/dist/models/workspace-state.js +37 -0
- package/dist/models/workspace.d.ts +12 -3
- package/dist/models/workspace.js +8 -0
- package/models/api-key-list.ts +18 -0
- package/models/api-key-response.ts +18 -0
- package/models/create-api-key.ts +18 -0
- package/models/create-docker-registry.ts +22 -0
- package/models/create-node.ts +76 -0
- package/models/create-organization-invitation.ts +56 -0
- package/models/create-organization-quota.ts +90 -0
- package/models/create-organization-role.ts +54 -0
- package/models/create-organization.ts +96 -0
- package/models/create-user.ts +15 -0
- package/models/create-workspace.ts +6 -6
- package/models/docker-registry.ts +16 -0
- package/models/image-dto.ts +6 -13
- package/models/image-state.ts +36 -0
- package/models/index.ts +18 -0
- package/models/organization-invitation.ts +103 -0
- package/models/organization-role.ts +78 -0
- package/models/organization-user.ts +83 -0
- package/models/organization.ts +60 -0
- package/models/registry-push-access-dto.ts +60 -0
- package/models/update-assigned-organization-roles.ts +30 -0
- package/models/update-organization-invitation.ts +50 -0
- package/models/update-organization-member-role.ts +38 -0
- package/models/update-organization-quota.ts +90 -0
- package/models/update-organization-role.ts +54 -0
- package/models/user-public-key.ts +36 -0
- package/models/user.ts +51 -0
- package/models/workspace-state.ts +43 -0
- package/models/workspace.ts +17 -3
- package/package.json +1 -1
|
@@ -36,10 +36,11 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
36
36
|
*
|
|
37
37
|
* @summary Create registry
|
|
38
38
|
* @param {CreateDockerRegistry} createDockerRegistry
|
|
39
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
createRegistry: (createDockerRegistry_1, ...args_1) => __awaiter(this, [createDockerRegistry_1, ...args_1], void 0, function* (createDockerRegistry, options = {}) {
|
|
43
|
+
createRegistry: (createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [createDockerRegistry_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (createDockerRegistry, xDaytonaOrganizationID, options = {}) {
|
|
43
44
|
// verify required parameter 'createDockerRegistry' is not null or undefined
|
|
44
45
|
assertParamExists('createRegistry', 'createDockerRegistry', createDockerRegistry);
|
|
45
46
|
const localVarPath = `/docker-registry`;
|
|
@@ -55,6 +56,9 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
55
56
|
// authentication oauth2 required
|
|
56
57
|
// oauth required
|
|
57
58
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
59
|
+
if (xDaytonaOrganizationID != null) {
|
|
60
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
61
|
+
}
|
|
58
62
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
63
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
64
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -68,11 +72,12 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
68
72
|
/**
|
|
69
73
|
*
|
|
70
74
|
* @summary Delete registry
|
|
71
|
-
* @param {string} id
|
|
75
|
+
* @param {string} id ID of the docker registry
|
|
76
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
72
77
|
* @param {*} [options] Override http request option.
|
|
73
78
|
* @throws {RequiredError}
|
|
74
79
|
*/
|
|
75
|
-
deleteRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
80
|
+
deleteRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
76
81
|
// verify required parameter 'id' is not null or undefined
|
|
77
82
|
assertParamExists('deleteRegistry', 'id', id);
|
|
78
83
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -89,6 +94,9 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
89
94
|
// authentication oauth2 required
|
|
90
95
|
// oauth required
|
|
91
96
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
97
|
+
if (xDaytonaOrganizationID != null) {
|
|
98
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
99
|
+
}
|
|
92
100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -100,11 +108,12 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
100
108
|
/**
|
|
101
109
|
*
|
|
102
110
|
* @summary Get registry
|
|
103
|
-
* @param {string} id
|
|
111
|
+
* @param {string} id ID of the docker registry
|
|
112
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
104
113
|
* @param {*} [options] Override http request option.
|
|
105
114
|
* @throws {RequiredError}
|
|
106
115
|
*/
|
|
107
|
-
getRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
116
|
+
getRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
108
117
|
// verify required parameter 'id' is not null or undefined
|
|
109
118
|
assertParamExists('getRegistry', 'id', id);
|
|
110
119
|
const localVarPath = `/docker-registry/{id}`
|
|
@@ -121,6 +130,41 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
121
130
|
// authentication oauth2 required
|
|
122
131
|
// oauth required
|
|
123
132
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
133
|
+
if (xDaytonaOrganizationID != null) {
|
|
134
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
135
|
+
}
|
|
136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
return {
|
|
140
|
+
url: toPathString(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
}),
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @summary Get temporary registry access for pushing images
|
|
147
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
getTransientPushAccess: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
152
|
+
const localVarPath = `/docker-registry/registry-push-access`;
|
|
153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
155
|
+
let baseOptions;
|
|
156
|
+
if (configuration) {
|
|
157
|
+
baseOptions = configuration.baseOptions;
|
|
158
|
+
}
|
|
159
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
160
|
+
const localVarHeaderParameter = {};
|
|
161
|
+
const localVarQueryParameter = {};
|
|
162
|
+
// authentication oauth2 required
|
|
163
|
+
// oauth required
|
|
164
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
165
|
+
if (xDaytonaOrganizationID != null) {
|
|
166
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
167
|
+
}
|
|
124
168
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
169
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
170
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -132,10 +176,11 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
132
176
|
/**
|
|
133
177
|
*
|
|
134
178
|
* @summary List registries
|
|
179
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
135
180
|
* @param {*} [options] Override http request option.
|
|
136
181
|
* @throws {RequiredError}
|
|
137
182
|
*/
|
|
138
|
-
listRegistries: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
183
|
+
listRegistries: (xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [xDaytonaOrganizationID_1, ...args_1], void 0, function* (xDaytonaOrganizationID, options = {}) {
|
|
139
184
|
const localVarPath = `/docker-registry`;
|
|
140
185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
186
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -149,6 +194,9 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
149
194
|
// authentication oauth2 required
|
|
150
195
|
// oauth required
|
|
151
196
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
197
|
+
if (xDaytonaOrganizationID != null) {
|
|
198
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
199
|
+
}
|
|
152
200
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
201
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
202
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -160,11 +208,12 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
160
208
|
/**
|
|
161
209
|
*
|
|
162
210
|
* @summary Set default registry
|
|
163
|
-
* @param {string} id
|
|
211
|
+
* @param {string} id ID of the docker registry
|
|
212
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
164
213
|
* @param {*} [options] Override http request option.
|
|
165
214
|
* @throws {RequiredError}
|
|
166
215
|
*/
|
|
167
|
-
setDefaultRegistry: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
216
|
+
setDefaultRegistry: (id_1, xDaytonaOrganizationID_1, ...args_1) => __awaiter(this, [id_1, xDaytonaOrganizationID_1, ...args_1], void 0, function* (id, xDaytonaOrganizationID, options = {}) {
|
|
168
217
|
// verify required parameter 'id' is not null or undefined
|
|
169
218
|
assertParamExists('setDefaultRegistry', 'id', id);
|
|
170
219
|
const localVarPath = `/docker-registry/{id}/set-default`
|
|
@@ -181,6 +230,9 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
181
230
|
// authentication oauth2 required
|
|
182
231
|
// oauth required
|
|
183
232
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
233
|
+
if (xDaytonaOrganizationID != null) {
|
|
234
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
235
|
+
}
|
|
184
236
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
237
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
238
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -192,12 +244,13 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
192
244
|
/**
|
|
193
245
|
*
|
|
194
246
|
* @summary Update registry
|
|
195
|
-
* @param {string} id
|
|
247
|
+
* @param {string} id ID of the docker registry
|
|
196
248
|
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
249
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
197
250
|
* @param {*} [options] Override http request option.
|
|
198
251
|
* @throws {RequiredError}
|
|
199
252
|
*/
|
|
200
|
-
updateRegistry: (id_1, updateDockerRegistry_1, ...args_1) => __awaiter(this, [id_1, updateDockerRegistry_1, ...args_1], void 0, function* (id, updateDockerRegistry, options = {}) {
|
|
253
|
+
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 = {}) {
|
|
201
254
|
// verify required parameter 'id' is not null or undefined
|
|
202
255
|
assertParamExists('updateRegistry', 'id', id);
|
|
203
256
|
// verify required parameter 'updateDockerRegistry' is not null or undefined
|
|
@@ -216,6 +269,9 @@ export const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
216
269
|
// authentication oauth2 required
|
|
217
270
|
// oauth required
|
|
218
271
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
272
|
+
if (xDaytonaOrganizationID != null) {
|
|
273
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
274
|
+
}
|
|
219
275
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
220
276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
221
277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -239,13 +295,14 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
239
295
|
*
|
|
240
296
|
* @summary Create registry
|
|
241
297
|
* @param {CreateDockerRegistry} createDockerRegistry
|
|
298
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
242
299
|
* @param {*} [options] Override http request option.
|
|
243
300
|
* @throws {RequiredError}
|
|
244
301
|
*/
|
|
245
|
-
createRegistry(createDockerRegistry, options) {
|
|
302
|
+
createRegistry(createDockerRegistry, xDaytonaOrganizationID, options) {
|
|
246
303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
247
304
|
var _a, _b, _c;
|
|
248
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(createDockerRegistry, options);
|
|
305
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(createDockerRegistry, xDaytonaOrganizationID, options);
|
|
249
306
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
250
307
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.createRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
251
308
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -254,14 +311,15 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
254
311
|
/**
|
|
255
312
|
*
|
|
256
313
|
* @summary Delete registry
|
|
257
|
-
* @param {string} id
|
|
314
|
+
* @param {string} id ID of the docker registry
|
|
315
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
258
316
|
* @param {*} [options] Override http request option.
|
|
259
317
|
* @throws {RequiredError}
|
|
260
318
|
*/
|
|
261
|
-
deleteRegistry(id, options) {
|
|
319
|
+
deleteRegistry(id, xDaytonaOrganizationID, options) {
|
|
262
320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
263
321
|
var _a, _b, _c;
|
|
264
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRegistry(id, options);
|
|
322
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRegistry(id, xDaytonaOrganizationID, options);
|
|
265
323
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
266
324
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.deleteRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
267
325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -270,29 +328,47 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
270
328
|
/**
|
|
271
329
|
*
|
|
272
330
|
* @summary Get registry
|
|
273
|
-
* @param {string} id
|
|
331
|
+
* @param {string} id ID of the docker registry
|
|
332
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
274
333
|
* @param {*} [options] Override http request option.
|
|
275
334
|
* @throws {RequiredError}
|
|
276
335
|
*/
|
|
277
|
-
getRegistry(id, options) {
|
|
336
|
+
getRegistry(id, xDaytonaOrganizationID, options) {
|
|
278
337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
338
|
var _a, _b, _c;
|
|
280
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistry(id, options);
|
|
339
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistry(id, xDaytonaOrganizationID, options);
|
|
281
340
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
282
341
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.getRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
283
342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
284
343
|
});
|
|
285
344
|
},
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @summary Get temporary registry access for pushing images
|
|
348
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getTransientPushAccess(xDaytonaOrganizationID, options) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
354
|
+
var _a, _b, _c;
|
|
355
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTransientPushAccess(xDaytonaOrganizationID, options);
|
|
356
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
357
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.getTransientPushAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
359
|
+
});
|
|
360
|
+
},
|
|
286
361
|
/**
|
|
287
362
|
*
|
|
288
363
|
* @summary List registries
|
|
364
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
289
365
|
* @param {*} [options] Override http request option.
|
|
290
366
|
* @throws {RequiredError}
|
|
291
367
|
*/
|
|
292
|
-
listRegistries(options) {
|
|
368
|
+
listRegistries(xDaytonaOrganizationID, options) {
|
|
293
369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
294
370
|
var _a, _b, _c;
|
|
295
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRegistries(options);
|
|
371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listRegistries(xDaytonaOrganizationID, options);
|
|
296
372
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
297
373
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.listRegistries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
298
374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -301,14 +377,15 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
301
377
|
/**
|
|
302
378
|
*
|
|
303
379
|
* @summary Set default registry
|
|
304
|
-
* @param {string} id
|
|
380
|
+
* @param {string} id ID of the docker registry
|
|
381
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
305
382
|
* @param {*} [options] Override http request option.
|
|
306
383
|
* @throws {RequiredError}
|
|
307
384
|
*/
|
|
308
|
-
setDefaultRegistry(id, options) {
|
|
385
|
+
setDefaultRegistry(id, xDaytonaOrganizationID, options) {
|
|
309
386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
310
387
|
var _a, _b, _c;
|
|
311
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.setDefaultRegistry(id, options);
|
|
388
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setDefaultRegistry(id, xDaytonaOrganizationID, options);
|
|
312
389
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
313
390
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.setDefaultRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
314
391
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -317,15 +394,16 @@ export const DockerRegistryApiFp = function (configuration) {
|
|
|
317
394
|
/**
|
|
318
395
|
*
|
|
319
396
|
* @summary Update registry
|
|
320
|
-
* @param {string} id
|
|
397
|
+
* @param {string} id ID of the docker registry
|
|
321
398
|
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
399
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
322
400
|
* @param {*} [options] Override http request option.
|
|
323
401
|
* @throws {RequiredError}
|
|
324
402
|
*/
|
|
325
|
-
updateRegistry(id, updateDockerRegistry, options) {
|
|
403
|
+
updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options) {
|
|
326
404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
327
405
|
var _a, _b, _c;
|
|
328
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id, updateDockerRegistry, options);
|
|
406
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options);
|
|
329
407
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
330
408
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DockerRegistryApi.updateRegistry']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
331
409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -344,61 +422,77 @@ export const DockerRegistryApiFactory = function (configuration, basePath, axios
|
|
|
344
422
|
*
|
|
345
423
|
* @summary Create registry
|
|
346
424
|
* @param {CreateDockerRegistry} createDockerRegistry
|
|
425
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
347
426
|
* @param {*} [options] Override http request option.
|
|
348
427
|
* @throws {RequiredError}
|
|
349
428
|
*/
|
|
350
|
-
createRegistry(createDockerRegistry, options) {
|
|
351
|
-
return localVarFp.createRegistry(createDockerRegistry, options).then((request) => request(axios, basePath));
|
|
429
|
+
createRegistry(createDockerRegistry, xDaytonaOrganizationID, options) {
|
|
430
|
+
return localVarFp.createRegistry(createDockerRegistry, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
352
431
|
},
|
|
353
432
|
/**
|
|
354
433
|
*
|
|
355
434
|
* @summary Delete registry
|
|
356
|
-
* @param {string} id
|
|
435
|
+
* @param {string} id ID of the docker registry
|
|
436
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
357
437
|
* @param {*} [options] Override http request option.
|
|
358
438
|
* @throws {RequiredError}
|
|
359
439
|
*/
|
|
360
|
-
deleteRegistry(id, options) {
|
|
361
|
-
return localVarFp.deleteRegistry(id, options).then((request) => request(axios, basePath));
|
|
440
|
+
deleteRegistry(id, xDaytonaOrganizationID, options) {
|
|
441
|
+
return localVarFp.deleteRegistry(id, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
362
442
|
},
|
|
363
443
|
/**
|
|
364
444
|
*
|
|
365
445
|
* @summary Get registry
|
|
366
|
-
* @param {string} id
|
|
446
|
+
* @param {string} id ID of the docker registry
|
|
447
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
getRegistry(id, xDaytonaOrganizationID, options) {
|
|
452
|
+
return localVarFp.getRegistry(id, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @summary Get temporary registry access for pushing images
|
|
457
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
367
458
|
* @param {*} [options] Override http request option.
|
|
368
459
|
* @throws {RequiredError}
|
|
369
460
|
*/
|
|
370
|
-
|
|
371
|
-
return localVarFp.
|
|
461
|
+
getTransientPushAccess(xDaytonaOrganizationID, options) {
|
|
462
|
+
return localVarFp.getTransientPushAccess(xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
372
463
|
},
|
|
373
464
|
/**
|
|
374
465
|
*
|
|
375
466
|
* @summary List registries
|
|
467
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
376
468
|
* @param {*} [options] Override http request option.
|
|
377
469
|
* @throws {RequiredError}
|
|
378
470
|
*/
|
|
379
|
-
listRegistries(options) {
|
|
380
|
-
return localVarFp.listRegistries(options).then((request) => request(axios, basePath));
|
|
471
|
+
listRegistries(xDaytonaOrganizationID, options) {
|
|
472
|
+
return localVarFp.listRegistries(xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
381
473
|
},
|
|
382
474
|
/**
|
|
383
475
|
*
|
|
384
476
|
* @summary Set default registry
|
|
385
|
-
* @param {string} id
|
|
477
|
+
* @param {string} id ID of the docker registry
|
|
478
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
386
479
|
* @param {*} [options] Override http request option.
|
|
387
480
|
* @throws {RequiredError}
|
|
388
481
|
*/
|
|
389
|
-
setDefaultRegistry(id, options) {
|
|
390
|
-
return localVarFp.setDefaultRegistry(id, options).then((request) => request(axios, basePath));
|
|
482
|
+
setDefaultRegistry(id, xDaytonaOrganizationID, options) {
|
|
483
|
+
return localVarFp.setDefaultRegistry(id, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
391
484
|
},
|
|
392
485
|
/**
|
|
393
486
|
*
|
|
394
487
|
* @summary Update registry
|
|
395
|
-
* @param {string} id
|
|
488
|
+
* @param {string} id ID of the docker registry
|
|
396
489
|
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
490
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
397
491
|
* @param {*} [options] Override http request option.
|
|
398
492
|
* @throws {RequiredError}
|
|
399
493
|
*/
|
|
400
|
-
updateRegistry(id, updateDockerRegistry, options) {
|
|
401
|
-
return localVarFp.updateRegistry(id, updateDockerRegistry, options).then((request) => request(axios, basePath));
|
|
494
|
+
updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options) {
|
|
495
|
+
return localVarFp.updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
402
496
|
},
|
|
403
497
|
};
|
|
404
498
|
};
|
|
@@ -413,66 +507,83 @@ export class DockerRegistryApi extends BaseAPI {
|
|
|
413
507
|
*
|
|
414
508
|
* @summary Create registry
|
|
415
509
|
* @param {CreateDockerRegistry} createDockerRegistry
|
|
510
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
416
511
|
* @param {*} [options] Override http request option.
|
|
417
512
|
* @throws {RequiredError}
|
|
418
513
|
* @memberof DockerRegistryApi
|
|
419
514
|
*/
|
|
420
|
-
createRegistry(createDockerRegistry, options) {
|
|
421
|
-
return DockerRegistryApiFp(this.configuration).createRegistry(createDockerRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
515
|
+
createRegistry(createDockerRegistry, xDaytonaOrganizationID, options) {
|
|
516
|
+
return DockerRegistryApiFp(this.configuration).createRegistry(createDockerRegistry, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
422
517
|
}
|
|
423
518
|
/**
|
|
424
519
|
*
|
|
425
520
|
* @summary Delete registry
|
|
426
|
-
* @param {string} id
|
|
521
|
+
* @param {string} id ID of the docker registry
|
|
522
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
427
523
|
* @param {*} [options] Override http request option.
|
|
428
524
|
* @throws {RequiredError}
|
|
429
525
|
* @memberof DockerRegistryApi
|
|
430
526
|
*/
|
|
431
|
-
deleteRegistry(id, options) {
|
|
432
|
-
return DockerRegistryApiFp(this.configuration).deleteRegistry(id, options).then((request) => request(this.axios, this.basePath));
|
|
527
|
+
deleteRegistry(id, xDaytonaOrganizationID, options) {
|
|
528
|
+
return DockerRegistryApiFp(this.configuration).deleteRegistry(id, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
433
529
|
}
|
|
434
530
|
/**
|
|
435
531
|
*
|
|
436
532
|
* @summary Get registry
|
|
437
|
-
* @param {string} id
|
|
533
|
+
* @param {string} id ID of the docker registry
|
|
534
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
* @memberof DockerRegistryApi
|
|
538
|
+
*/
|
|
539
|
+
getRegistry(id, xDaytonaOrganizationID, options) {
|
|
540
|
+
return DockerRegistryApiFp(this.configuration).getRegistry(id, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @summary Get temporary registry access for pushing images
|
|
545
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
438
546
|
* @param {*} [options] Override http request option.
|
|
439
547
|
* @throws {RequiredError}
|
|
440
548
|
* @memberof DockerRegistryApi
|
|
441
549
|
*/
|
|
442
|
-
|
|
443
|
-
return DockerRegistryApiFp(this.configuration).
|
|
550
|
+
getTransientPushAccess(xDaytonaOrganizationID, options) {
|
|
551
|
+
return DockerRegistryApiFp(this.configuration).getTransientPushAccess(xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
444
552
|
}
|
|
445
553
|
/**
|
|
446
554
|
*
|
|
447
555
|
* @summary List registries
|
|
556
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
448
557
|
* @param {*} [options] Override http request option.
|
|
449
558
|
* @throws {RequiredError}
|
|
450
559
|
* @memberof DockerRegistryApi
|
|
451
560
|
*/
|
|
452
|
-
listRegistries(options) {
|
|
453
|
-
return DockerRegistryApiFp(this.configuration).listRegistries(options).then((request) => request(this.axios, this.basePath));
|
|
561
|
+
listRegistries(xDaytonaOrganizationID, options) {
|
|
562
|
+
return DockerRegistryApiFp(this.configuration).listRegistries(xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
454
563
|
}
|
|
455
564
|
/**
|
|
456
565
|
*
|
|
457
566
|
* @summary Set default registry
|
|
458
|
-
* @param {string} id
|
|
567
|
+
* @param {string} id ID of the docker registry
|
|
568
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
459
569
|
* @param {*} [options] Override http request option.
|
|
460
570
|
* @throws {RequiredError}
|
|
461
571
|
* @memberof DockerRegistryApi
|
|
462
572
|
*/
|
|
463
|
-
setDefaultRegistry(id, options) {
|
|
464
|
-
return DockerRegistryApiFp(this.configuration).setDefaultRegistry(id, options).then((request) => request(this.axios, this.basePath));
|
|
573
|
+
setDefaultRegistry(id, xDaytonaOrganizationID, options) {
|
|
574
|
+
return DockerRegistryApiFp(this.configuration).setDefaultRegistry(id, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
465
575
|
}
|
|
466
576
|
/**
|
|
467
577
|
*
|
|
468
578
|
* @summary Update registry
|
|
469
|
-
* @param {string} id
|
|
579
|
+
* @param {string} id ID of the docker registry
|
|
470
580
|
* @param {UpdateDockerRegistry} updateDockerRegistry
|
|
581
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
471
582
|
* @param {*} [options] Override http request option.
|
|
472
583
|
* @throws {RequiredError}
|
|
473
584
|
* @memberof DockerRegistryApi
|
|
474
585
|
*/
|
|
475
|
-
updateRegistry(id, updateDockerRegistry, options) {
|
|
476
|
-
return DockerRegistryApiFp(this.configuration).updateRegistry(id, updateDockerRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
586
|
+
updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options) {
|
|
587
|
+
return DockerRegistryApiFp(this.configuration).updateRegistry(id, updateDockerRegistry, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
477
588
|
}
|
|
478
589
|
}
|