qovery-ws-typescript-axios 0.1.619 → 0.1.621
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/api.ts +361 -0
- package/dist/api.d.ts +235 -0
- package/dist/api.js +249 -2
- package/dist/esm/api.d.ts +235 -0
- package/dist/esm/api.js +239 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,14 +22,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.ShellApi = void 0;
|
|
25
|
+
exports.ServiceListPodsApiFactory = exports.ServiceListPodsApiFp = exports.ServiceListPodsApiAxiosParamCreator = exports.RemoteDebugApi = exports.RemoteDebugApiFactory = exports.RemoteDebugApiFp = exports.RemoteDebugApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.DeploymentApi = exports.DeploymentApiFactory = exports.DeploymentApiFp = exports.DeploymentApiAxiosParamCreator = exports.ClusterStatusApi = exports.ClusterStatusApiFactory = exports.ClusterStatusApiFp = exports.ClusterStatusApiAxiosParamCreator = exports.ClusterMetricsApi = exports.ClusterMetricsApiFactory = exports.ClusterMetricsApiFp = exports.ClusterMetricsApiAxiosParamCreator = exports.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.BlueprintServiceApi = exports.BlueprintServiceApiFactory = exports.BlueprintServiceApiFp = exports.BlueprintServiceApiAxiosParamCreator = exports.BlueprintPreviewApi = exports.BlueprintPreviewApiFactory = exports.BlueprintPreviewApiFp = exports.BlueprintPreviewApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceSubActionDto = exports.ServiceStateDto = exports.ServiceActionDto = exports.ResourceStatusDto = exports.QoveryComponentStatus = exports.QoveryComponentContainerStatusLevel = exports.PodStatusPhase = exports.DebugFlavor = exports.ClusterStatusGlobalStatus = exports.BlueprintPreviewResultOneOf3TypeEnum = exports.BlueprintPreviewResultOneOf2TypeEnum = exports.BlueprintPreviewResultOneOf1TypeEnum = exports.BlueprintPreviewResultOneOfTypeEnum = void 0;
|
|
26
|
+
exports.ShellApi = exports.ShellApiFactory = exports.ShellApiFp = exports.ShellApiAxiosParamCreator = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = exports.ServiceMetricsApiFactory = exports.ServiceMetricsApiFp = exports.ServiceMetricsApiAxiosParamCreator = exports.ServiceListPodsApi = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
const common_1 = require("./common");
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const base_1 = require("./base");
|
|
33
|
+
exports.BlueprintPreviewResultOneOfTypeEnum = {
|
|
34
|
+
DIFF: 'diff'
|
|
35
|
+
};
|
|
36
|
+
exports.BlueprintPreviewResultOneOf1TypeEnum = {
|
|
37
|
+
ERROR: 'error'
|
|
38
|
+
};
|
|
39
|
+
exports.BlueprintPreviewResultOneOf2TypeEnum = {
|
|
40
|
+
CANCELLED: 'cancelled'
|
|
41
|
+
};
|
|
42
|
+
exports.BlueprintPreviewResultOneOf3TypeEnum = {
|
|
43
|
+
TIMEOUT: 'timeout'
|
|
44
|
+
};
|
|
33
45
|
/**
|
|
34
46
|
*
|
|
35
47
|
* @export
|
|
@@ -152,6 +164,241 @@ exports.UnitDto = {
|
|
|
152
164
|
MI_B: 'MiB',
|
|
153
165
|
GI_B: 'GiB'
|
|
154
166
|
};
|
|
167
|
+
/**
|
|
168
|
+
* BlueprintPreviewApi - axios parameter creator
|
|
169
|
+
* @export
|
|
170
|
+
*/
|
|
171
|
+
const BlueprintPreviewApiAxiosParamCreator = function (configuration) {
|
|
172
|
+
return {
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
176
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
177
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
handleBlueprintPreviewRequest: (organization_1, cluster_1, previewId_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, previewId_1, ...args_1], void 0, function* (organization, cluster, previewId, options = {}) {
|
|
182
|
+
// verify required parameter 'organization' is not null or undefined
|
|
183
|
+
(0, common_1.assertParamExists)('handleBlueprintPreviewRequest', 'organization', organization);
|
|
184
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
185
|
+
(0, common_1.assertParamExists)('handleBlueprintPreviewRequest', 'cluster', cluster);
|
|
186
|
+
// verify required parameter 'previewId' is not null or undefined
|
|
187
|
+
(0, common_1.assertParamExists)('handleBlueprintPreviewRequest', 'previewId', previewId);
|
|
188
|
+
const localVarPath = `/blueprint/preview`
|
|
189
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
190
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
191
|
+
.replace(`{${"preview_id"}}`, encodeURIComponent(String(previewId)));
|
|
192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
194
|
+
let baseOptions;
|
|
195
|
+
if (configuration) {
|
|
196
|
+
baseOptions = configuration.baseOptions;
|
|
197
|
+
}
|
|
198
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
199
|
+
const localVarHeaderParameter = {};
|
|
200
|
+
const localVarQueryParameter = {};
|
|
201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
204
|
+
return {
|
|
205
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
206
|
+
options: localVarRequestOptions,
|
|
207
|
+
};
|
|
208
|
+
}),
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
exports.BlueprintPreviewApiAxiosParamCreator = BlueprintPreviewApiAxiosParamCreator;
|
|
212
|
+
/**
|
|
213
|
+
* BlueprintPreviewApi - functional programming interface
|
|
214
|
+
* @export
|
|
215
|
+
*/
|
|
216
|
+
const BlueprintPreviewApiFp = function (configuration) {
|
|
217
|
+
const localVarAxiosParamCreator = (0, exports.BlueprintPreviewApiAxiosParamCreator)(configuration);
|
|
218
|
+
return {
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
222
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
223
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
handleBlueprintPreviewRequest(organization, cluster, previewId, options) {
|
|
228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
229
|
+
var _a, _b, _c;
|
|
230
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleBlueprintPreviewRequest(organization, cluster, previewId, options);
|
|
231
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
232
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintPreviewApi.handleBlueprintPreviewRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
233
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
234
|
+
});
|
|
235
|
+
},
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
exports.BlueprintPreviewApiFp = BlueprintPreviewApiFp;
|
|
239
|
+
/**
|
|
240
|
+
* BlueprintPreviewApi - factory interface
|
|
241
|
+
* @export
|
|
242
|
+
*/
|
|
243
|
+
const BlueprintPreviewApiFactory = function (configuration, basePath, axios) {
|
|
244
|
+
const localVarFp = (0, exports.BlueprintPreviewApiFp)(configuration);
|
|
245
|
+
return {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
249
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
250
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
handleBlueprintPreviewRequest(organization, cluster, previewId, options) {
|
|
255
|
+
return localVarFp.handleBlueprintPreviewRequest(organization, cluster, previewId, options).then((request) => request(axios, basePath));
|
|
256
|
+
},
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
exports.BlueprintPreviewApiFactory = BlueprintPreviewApiFactory;
|
|
260
|
+
/**
|
|
261
|
+
* BlueprintPreviewApi - object-oriented interface
|
|
262
|
+
* @export
|
|
263
|
+
* @class BlueprintPreviewApi
|
|
264
|
+
* @extends {BaseAPI}
|
|
265
|
+
*/
|
|
266
|
+
class BlueprintPreviewApi extends base_1.BaseAPI {
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
270
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
271
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
* @memberof BlueprintPreviewApi
|
|
275
|
+
*/
|
|
276
|
+
handleBlueprintPreviewRequest(organization, cluster, previewId, options) {
|
|
277
|
+
return (0, exports.BlueprintPreviewApiFp)(this.configuration).handleBlueprintPreviewRequest(organization, cluster, previewId, options).then((request) => request(this.axios, this.basePath));
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
exports.BlueprintPreviewApi = BlueprintPreviewApi;
|
|
281
|
+
/**
|
|
282
|
+
* BlueprintServiceApi - axios parameter creator
|
|
283
|
+
* @export
|
|
284
|
+
*/
|
|
285
|
+
const BlueprintServiceApiAxiosParamCreator = function (configuration) {
|
|
286
|
+
return {
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @param {string} organization
|
|
290
|
+
* @param {string | null} cluster
|
|
291
|
+
* @param {string} project
|
|
292
|
+
* @param {string} environment
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
handleBlueprintServiceCreatedRequest: (organization_1, cluster_1, project_1, environment_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, ...args_1], void 0, function* (organization, cluster, project, environment, options = {}) {
|
|
297
|
+
// verify required parameter 'organization' is not null or undefined
|
|
298
|
+
(0, common_1.assertParamExists)('handleBlueprintServiceCreatedRequest', 'organization', organization);
|
|
299
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
300
|
+
(0, common_1.assertParamExists)('handleBlueprintServiceCreatedRequest', 'cluster', cluster);
|
|
301
|
+
// verify required parameter 'project' is not null or undefined
|
|
302
|
+
(0, common_1.assertParamExists)('handleBlueprintServiceCreatedRequest', 'project', project);
|
|
303
|
+
// verify required parameter 'environment' is not null or undefined
|
|
304
|
+
(0, common_1.assertParamExists)('handleBlueprintServiceCreatedRequest', 'environment', environment);
|
|
305
|
+
const localVarPath = `/blueprint/service-created`
|
|
306
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
307
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
308
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
309
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
311
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
312
|
+
let baseOptions;
|
|
313
|
+
if (configuration) {
|
|
314
|
+
baseOptions = configuration.baseOptions;
|
|
315
|
+
}
|
|
316
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
317
|
+
const localVarHeaderParameter = {};
|
|
318
|
+
const localVarQueryParameter = {};
|
|
319
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
322
|
+
return {
|
|
323
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
324
|
+
options: localVarRequestOptions,
|
|
325
|
+
};
|
|
326
|
+
}),
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
exports.BlueprintServiceApiAxiosParamCreator = BlueprintServiceApiAxiosParamCreator;
|
|
330
|
+
/**
|
|
331
|
+
* BlueprintServiceApi - functional programming interface
|
|
332
|
+
* @export
|
|
333
|
+
*/
|
|
334
|
+
const BlueprintServiceApiFp = function (configuration) {
|
|
335
|
+
const localVarAxiosParamCreator = (0, exports.BlueprintServiceApiAxiosParamCreator)(configuration);
|
|
336
|
+
return {
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @param {string} organization
|
|
340
|
+
* @param {string | null} cluster
|
|
341
|
+
* @param {string} project
|
|
342
|
+
* @param {string} environment
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options) {
|
|
347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
348
|
+
var _a, _b, _c;
|
|
349
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options);
|
|
350
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
351
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintServiceApi.handleBlueprintServiceCreatedRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
352
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
353
|
+
});
|
|
354
|
+
},
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
exports.BlueprintServiceApiFp = BlueprintServiceApiFp;
|
|
358
|
+
/**
|
|
359
|
+
* BlueprintServiceApi - factory interface
|
|
360
|
+
* @export
|
|
361
|
+
*/
|
|
362
|
+
const BlueprintServiceApiFactory = function (configuration, basePath, axios) {
|
|
363
|
+
const localVarFp = (0, exports.BlueprintServiceApiFp)(configuration);
|
|
364
|
+
return {
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @param {string} organization
|
|
368
|
+
* @param {string | null} cluster
|
|
369
|
+
* @param {string} project
|
|
370
|
+
* @param {string} environment
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options) {
|
|
375
|
+
return localVarFp.handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options).then((request) => request(axios, basePath));
|
|
376
|
+
},
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
exports.BlueprintServiceApiFactory = BlueprintServiceApiFactory;
|
|
380
|
+
/**
|
|
381
|
+
* BlueprintServiceApi - object-oriented interface
|
|
382
|
+
* @export
|
|
383
|
+
* @class BlueprintServiceApi
|
|
384
|
+
* @extends {BaseAPI}
|
|
385
|
+
*/
|
|
386
|
+
class BlueprintServiceApi extends base_1.BaseAPI {
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @param {string} organization
|
|
390
|
+
* @param {string | null} cluster
|
|
391
|
+
* @param {string} project
|
|
392
|
+
* @param {string} environment
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
* @memberof BlueprintServiceApi
|
|
396
|
+
*/
|
|
397
|
+
handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options) {
|
|
398
|
+
return (0, exports.BlueprintServiceApiFp)(this.configuration).handleBlueprintServiceCreatedRequest(organization, cluster, project, environment, options).then((request) => request(this.axios, this.basePath));
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
exports.BlueprintServiceApi = BlueprintServiceApi;
|
|
155
402
|
/**
|
|
156
403
|
* ClusterListNodesApi - axios parameter creator
|
|
157
404
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -75,6 +75,111 @@ export interface ArgoCdAppStatusDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'state': ServiceStateDto;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* @type BlueprintPreviewResult
|
|
80
|
+
* Final result of a blueprint update preview. Exactly one frame is sent, then the connection closes. The `type` field selects the variant.
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export type BlueprintPreviewResult = BlueprintPreviewResultOneOf | BlueprintPreviewResultOneOf1 | BlueprintPreviewResultOneOf2 | BlueprintPreviewResultOneOf3;
|
|
84
|
+
/**
|
|
85
|
+
* The preview succeeded. `payload` is the human-readable list of changes; `service_type` e.g. \"TERRAFORM\".
|
|
86
|
+
* @export
|
|
87
|
+
* @interface BlueprintPreviewResultOneOf
|
|
88
|
+
*/
|
|
89
|
+
export interface BlueprintPreviewResultOneOf {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
94
|
+
*/
|
|
95
|
+
'payload': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
100
|
+
*/
|
|
101
|
+
'service_type': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BlueprintPreviewResultOneOf
|
|
106
|
+
*/
|
|
107
|
+
'type': BlueprintPreviewResultOneOfTypeEnum;
|
|
108
|
+
}
|
|
109
|
+
export declare const BlueprintPreviewResultOneOfTypeEnum: {
|
|
110
|
+
readonly DIFF: "diff";
|
|
111
|
+
};
|
|
112
|
+
export type BlueprintPreviewResultOneOfTypeEnum = typeof BlueprintPreviewResultOneOfTypeEnum[keyof typeof BlueprintPreviewResultOneOfTypeEnum];
|
|
113
|
+
/**
|
|
114
|
+
* The preview failed. `message` explains why.
|
|
115
|
+
* @export
|
|
116
|
+
* @interface BlueprintPreviewResultOneOf1
|
|
117
|
+
*/
|
|
118
|
+
export interface BlueprintPreviewResultOneOf1 {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
123
|
+
*/
|
|
124
|
+
'message': string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof BlueprintPreviewResultOneOf1
|
|
129
|
+
*/
|
|
130
|
+
'type': BlueprintPreviewResultOneOf1TypeEnum;
|
|
131
|
+
}
|
|
132
|
+
export declare const BlueprintPreviewResultOneOf1TypeEnum: {
|
|
133
|
+
readonly ERROR: "error";
|
|
134
|
+
};
|
|
135
|
+
export type BlueprintPreviewResultOneOf1TypeEnum = typeof BlueprintPreviewResultOneOf1TypeEnum[keyof typeof BlueprintPreviewResultOneOf1TypeEnum];
|
|
136
|
+
/**
|
|
137
|
+
* The preview was cancelled.
|
|
138
|
+
* @export
|
|
139
|
+
* @interface BlueprintPreviewResultOneOf2
|
|
140
|
+
*/
|
|
141
|
+
export interface BlueprintPreviewResultOneOf2 {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof BlueprintPreviewResultOneOf2
|
|
146
|
+
*/
|
|
147
|
+
'type': BlueprintPreviewResultOneOf2TypeEnum;
|
|
148
|
+
}
|
|
149
|
+
export declare const BlueprintPreviewResultOneOf2TypeEnum: {
|
|
150
|
+
readonly CANCELLED: "cancelled";
|
|
151
|
+
};
|
|
152
|
+
export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
|
|
153
|
+
/**
|
|
154
|
+
* The preview did not complete in time.
|
|
155
|
+
* @export
|
|
156
|
+
* @interface BlueprintPreviewResultOneOf3
|
|
157
|
+
*/
|
|
158
|
+
export interface BlueprintPreviewResultOneOf3 {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof BlueprintPreviewResultOneOf3
|
|
163
|
+
*/
|
|
164
|
+
'type': BlueprintPreviewResultOneOf3TypeEnum;
|
|
165
|
+
}
|
|
166
|
+
export declare const BlueprintPreviewResultOneOf3TypeEnum: {
|
|
167
|
+
readonly TIMEOUT: "timeout";
|
|
168
|
+
};
|
|
169
|
+
export type BlueprintPreviewResultOneOf3TypeEnum = typeof BlueprintPreviewResultOneOf3TypeEnum[keyof typeof BlueprintPreviewResultOneOf3TypeEnum];
|
|
170
|
+
/**
|
|
171
|
+
* One blueprint service-created event. The stream emits these until the connection closes.
|
|
172
|
+
* @export
|
|
173
|
+
* @interface BlueprintServiceCreatedEvent
|
|
174
|
+
*/
|
|
175
|
+
export interface BlueprintServiceCreatedEvent {
|
|
176
|
+
/**
|
|
177
|
+
* Id of the blueprint whose service was created.
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof BlueprintServiceCreatedEvent
|
|
180
|
+
*/
|
|
181
|
+
'blueprint_id': string;
|
|
182
|
+
}
|
|
78
183
|
/**
|
|
79
184
|
*
|
|
80
185
|
* @export
|
|
@@ -2018,6 +2123,136 @@ export declare const UnitDto: {
|
|
|
2018
2123
|
readonly GI_B: "GiB";
|
|
2019
2124
|
};
|
|
2020
2125
|
export type UnitDto = typeof UnitDto[keyof typeof UnitDto];
|
|
2126
|
+
/**
|
|
2127
|
+
* BlueprintPreviewApi - axios parameter creator
|
|
2128
|
+
* @export
|
|
2129
|
+
*/
|
|
2130
|
+
export declare const BlueprintPreviewApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2131
|
+
/**
|
|
2132
|
+
*
|
|
2133
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
2134
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
2135
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
2136
|
+
* @param {*} [options] Override http request option.
|
|
2137
|
+
* @throws {RequiredError}
|
|
2138
|
+
*/
|
|
2139
|
+
handleBlueprintPreviewRequest: (organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2140
|
+
};
|
|
2141
|
+
/**
|
|
2142
|
+
* BlueprintPreviewApi - functional programming interface
|
|
2143
|
+
* @export
|
|
2144
|
+
*/
|
|
2145
|
+
export declare const BlueprintPreviewApiFp: (configuration?: Configuration) => {
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
2149
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
2150
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
2151
|
+
* @param {*} [options] Override http request option.
|
|
2152
|
+
* @throws {RequiredError}
|
|
2153
|
+
*/
|
|
2154
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintPreviewResult>>;
|
|
2155
|
+
};
|
|
2156
|
+
/**
|
|
2157
|
+
* BlueprintPreviewApi - factory interface
|
|
2158
|
+
* @export
|
|
2159
|
+
*/
|
|
2160
|
+
export declare const BlueprintPreviewApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2161
|
+
/**
|
|
2162
|
+
*
|
|
2163
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
2164
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
2165
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
2166
|
+
* @param {*} [options] Override http request option.
|
|
2167
|
+
* @throws {RequiredError}
|
|
2168
|
+
*/
|
|
2169
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintPreviewResult>;
|
|
2170
|
+
};
|
|
2171
|
+
/**
|
|
2172
|
+
* BlueprintPreviewApi - object-oriented interface
|
|
2173
|
+
* @export
|
|
2174
|
+
* @class BlueprintPreviewApi
|
|
2175
|
+
* @extends {BaseAPI}
|
|
2176
|
+
*/
|
|
2177
|
+
export declare class BlueprintPreviewApi extends BaseAPI {
|
|
2178
|
+
/**
|
|
2179
|
+
*
|
|
2180
|
+
* @param {string} organization Organization id — for permission scoping. Frontend already has it.
|
|
2181
|
+
* @param {string} cluster Cluster id — for permission scoping. Frontend already has it.
|
|
2182
|
+
* @param {string} previewId Preview id — the UUIDv7 q-core returned from `POST /api/blueprint/{id}/update/preview`. Doubles as the Pub/Sub channel suffix: `core.blueprint.preview.{preview_id}`.
|
|
2183
|
+
* @param {*} [options] Override http request option.
|
|
2184
|
+
* @throws {RequiredError}
|
|
2185
|
+
* @memberof BlueprintPreviewApi
|
|
2186
|
+
*/
|
|
2187
|
+
handleBlueprintPreviewRequest(organization: string, cluster: string, previewId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintPreviewResult, any, {}>>;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* BlueprintServiceApi - axios parameter creator
|
|
2191
|
+
* @export
|
|
2192
|
+
*/
|
|
2193
|
+
export declare const BlueprintServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2194
|
+
/**
|
|
2195
|
+
*
|
|
2196
|
+
* @param {string} organization
|
|
2197
|
+
* @param {string | null} cluster
|
|
2198
|
+
* @param {string} project
|
|
2199
|
+
* @param {string} environment
|
|
2200
|
+
* @param {*} [options] Override http request option.
|
|
2201
|
+
* @throws {RequiredError}
|
|
2202
|
+
*/
|
|
2203
|
+
handleBlueprintServiceCreatedRequest: (organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2204
|
+
};
|
|
2205
|
+
/**
|
|
2206
|
+
* BlueprintServiceApi - functional programming interface
|
|
2207
|
+
* @export
|
|
2208
|
+
*/
|
|
2209
|
+
export declare const BlueprintServiceApiFp: (configuration?: Configuration) => {
|
|
2210
|
+
/**
|
|
2211
|
+
*
|
|
2212
|
+
* @param {string} organization
|
|
2213
|
+
* @param {string | null} cluster
|
|
2214
|
+
* @param {string} project
|
|
2215
|
+
* @param {string} environment
|
|
2216
|
+
* @param {*} [options] Override http request option.
|
|
2217
|
+
* @throws {RequiredError}
|
|
2218
|
+
*/
|
|
2219
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintServiceCreatedEvent>>;
|
|
2220
|
+
};
|
|
2221
|
+
/**
|
|
2222
|
+
* BlueprintServiceApi - factory interface
|
|
2223
|
+
* @export
|
|
2224
|
+
*/
|
|
2225
|
+
export declare const BlueprintServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2226
|
+
/**
|
|
2227
|
+
*
|
|
2228
|
+
* @param {string} organization
|
|
2229
|
+
* @param {string | null} cluster
|
|
2230
|
+
* @param {string} project
|
|
2231
|
+
* @param {string} environment
|
|
2232
|
+
* @param {*} [options] Override http request option.
|
|
2233
|
+
* @throws {RequiredError}
|
|
2234
|
+
*/
|
|
2235
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintServiceCreatedEvent>;
|
|
2236
|
+
};
|
|
2237
|
+
/**
|
|
2238
|
+
* BlueprintServiceApi - object-oriented interface
|
|
2239
|
+
* @export
|
|
2240
|
+
* @class BlueprintServiceApi
|
|
2241
|
+
* @extends {BaseAPI}
|
|
2242
|
+
*/
|
|
2243
|
+
export declare class BlueprintServiceApi extends BaseAPI {
|
|
2244
|
+
/**
|
|
2245
|
+
*
|
|
2246
|
+
* @param {string} organization
|
|
2247
|
+
* @param {string | null} cluster
|
|
2248
|
+
* @param {string} project
|
|
2249
|
+
* @param {string} environment
|
|
2250
|
+
* @param {*} [options] Override http request option.
|
|
2251
|
+
* @throws {RequiredError}
|
|
2252
|
+
* @memberof BlueprintServiceApi
|
|
2253
|
+
*/
|
|
2254
|
+
handleBlueprintServiceCreatedRequest(organization: string, cluster: string | null, project: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintServiceCreatedEvent, any, {}>>;
|
|
2255
|
+
}
|
|
2021
2256
|
/**
|
|
2022
2257
|
* ClusterListNodesApi - axios parameter creator
|
|
2023
2258
|
* @export
|