qovery-ws-typescript-axios 0.1.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/.github/workflows/npm-published.yaml +34 -0
- package/.github/workflows/tagging.yaml +43 -0
- package/.openapi-generator/FILES +12 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/api.ts +1251 -0
- package/base.ts +71 -0
- package/common.ts +138 -0
- package/configuration.ts +101 -0
- package/dist/api.d.ts +906 -0
- package/dist/api.js +761 -0
- package/dist/base.d.ts +55 -0
- package/dist/base.js +61 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +152 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +42 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +27 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +27 -0
- package/tsconfig.json +17 -0
package/dist/api.js
ADDED
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* websocket-gateway
|
|
6
|
+
* Describe the weboscket endpoints
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: erebe@erebe.eu
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = exports.ServiceMetricsApiFactory = exports.ServiceMetricsApiFp = exports.ServiceMetricsApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.DeploymentApi = exports.DeploymentApiFactory = exports.DeploymentApiFp = exports.DeploymentApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceStateDto = exports.ResourceStatusDto = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("./common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("./base");
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
var ResourceStatusDto;
|
|
38
|
+
(function (ResourceStatusDto) {
|
|
39
|
+
ResourceStatusDto["OK"] = "OK";
|
|
40
|
+
ResourceStatusDto["WARNING"] = "WARNING";
|
|
41
|
+
ResourceStatusDto["ALERT"] = "ALERT";
|
|
42
|
+
})(ResourceStatusDto = exports.ResourceStatusDto || (exports.ResourceStatusDto = {}));
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
var ServiceStateDto;
|
|
49
|
+
(function (ServiceStateDto) {
|
|
50
|
+
ServiceStateDto["STARTING"] = "STARTING";
|
|
51
|
+
ServiceStateDto["RUNNING"] = "RUNNING";
|
|
52
|
+
ServiceStateDto["ERROR"] = "ERROR";
|
|
53
|
+
ServiceStateDto["STOPPING"] = "STOPPING";
|
|
54
|
+
ServiceStateDto["STOPPED"] = "STOPPED";
|
|
55
|
+
ServiceStateDto["COMPLETED"] = "COMPLETED";
|
|
56
|
+
ServiceStateDto["WARNING"] = "WARNING";
|
|
57
|
+
ServiceStateDto["UNKNOWN"] = "UNKNOWN";
|
|
58
|
+
})(ServiceStateDto = exports.ServiceStateDto || (exports.ServiceStateDto = {}));
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @enum {string}
|
|
63
|
+
*/
|
|
64
|
+
var ServiceType;
|
|
65
|
+
(function (ServiceType) {
|
|
66
|
+
ServiceType["APPLICATION"] = "APPLICATION";
|
|
67
|
+
ServiceType["CONTAINER"] = "CONTAINER";
|
|
68
|
+
ServiceType["DATABASE"] = "DATABASE";
|
|
69
|
+
ServiceType["JOB"] = "JOB";
|
|
70
|
+
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @export
|
|
74
|
+
* @enum {string}
|
|
75
|
+
*/
|
|
76
|
+
var UnitDto;
|
|
77
|
+
(function (UnitDto) {
|
|
78
|
+
UnitDto["M_CPU"] = "mCPU";
|
|
79
|
+
UnitDto["MI_B"] = "MiB";
|
|
80
|
+
})(UnitDto = exports.UnitDto || (exports.UnitDto = {}));
|
|
81
|
+
/**
|
|
82
|
+
* DeploymentApi - axios parameter creator
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
85
|
+
const DeploymentApiAxiosParamCreator = function (configuration) {
|
|
86
|
+
return {
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @param {string} organization
|
|
90
|
+
* @param {string} cluster
|
|
91
|
+
* @param {string} project
|
|
92
|
+
* @param {string} environment
|
|
93
|
+
* @param {string} version
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
handleDeploymentLogsRequest: (organization, cluster, project, environment, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
// verify required parameter 'organization' is not null or undefined
|
|
99
|
+
(0, common_1.assertParamExists)('handleDeploymentLogsRequest', 'organization', organization);
|
|
100
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
101
|
+
(0, common_1.assertParamExists)('handleDeploymentLogsRequest', 'cluster', cluster);
|
|
102
|
+
// verify required parameter 'project' is not null or undefined
|
|
103
|
+
(0, common_1.assertParamExists)('handleDeploymentLogsRequest', 'project', project);
|
|
104
|
+
// verify required parameter 'environment' is not null or undefined
|
|
105
|
+
(0, common_1.assertParamExists)('handleDeploymentLogsRequest', 'environment', environment);
|
|
106
|
+
// verify required parameter 'version' is not null or undefined
|
|
107
|
+
(0, common_1.assertParamExists)('handleDeploymentLogsRequest', 'version', version);
|
|
108
|
+
const localVarPath = `/deployment/logs`
|
|
109
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
110
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
111
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
112
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
113
|
+
.replace(`{${"version"}}`, encodeURIComponent(String(version)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
121
|
+
const localVarHeaderParameter = {};
|
|
122
|
+
const localVarQueryParameter = {};
|
|
123
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
126
|
+
return {
|
|
127
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
128
|
+
options: localVarRequestOptions,
|
|
129
|
+
};
|
|
130
|
+
}),
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @param {string} organization
|
|
134
|
+
* @param {string} cluster
|
|
135
|
+
* @param {string} project
|
|
136
|
+
* @param {string} environment
|
|
137
|
+
* @param {string} version
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
handleDeploymentStatusRequest: (organization, cluster, project, environment, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
// verify required parameter 'organization' is not null or undefined
|
|
143
|
+
(0, common_1.assertParamExists)('handleDeploymentStatusRequest', 'organization', organization);
|
|
144
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
145
|
+
(0, common_1.assertParamExists)('handleDeploymentStatusRequest', 'cluster', cluster);
|
|
146
|
+
// verify required parameter 'project' is not null or undefined
|
|
147
|
+
(0, common_1.assertParamExists)('handleDeploymentStatusRequest', 'project', project);
|
|
148
|
+
// verify required parameter 'environment' is not null or undefined
|
|
149
|
+
(0, common_1.assertParamExists)('handleDeploymentStatusRequest', 'environment', environment);
|
|
150
|
+
// verify required parameter 'version' is not null or undefined
|
|
151
|
+
(0, common_1.assertParamExists)('handleDeploymentStatusRequest', 'version', version);
|
|
152
|
+
const localVarPath = `/deployment/status`
|
|
153
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
154
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
155
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
156
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
157
|
+
.replace(`{${"version"}}`, encodeURIComponent(String(version)));
|
|
158
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
159
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
160
|
+
let baseOptions;
|
|
161
|
+
if (configuration) {
|
|
162
|
+
baseOptions = configuration.baseOptions;
|
|
163
|
+
}
|
|
164
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
165
|
+
const localVarHeaderParameter = {};
|
|
166
|
+
const localVarQueryParameter = {};
|
|
167
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
170
|
+
return {
|
|
171
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
172
|
+
options: localVarRequestOptions,
|
|
173
|
+
};
|
|
174
|
+
}),
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
exports.DeploymentApiAxiosParamCreator = DeploymentApiAxiosParamCreator;
|
|
178
|
+
/**
|
|
179
|
+
* DeploymentApi - functional programming interface
|
|
180
|
+
* @export
|
|
181
|
+
*/
|
|
182
|
+
const DeploymentApiFp = function (configuration) {
|
|
183
|
+
const localVarAxiosParamCreator = (0, exports.DeploymentApiAxiosParamCreator)(configuration);
|
|
184
|
+
return {
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @param {string} organization
|
|
188
|
+
* @param {string} cluster
|
|
189
|
+
* @param {string} project
|
|
190
|
+
* @param {string} environment
|
|
191
|
+
* @param {string} version
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
handleDeploymentLogsRequest(organization, cluster, project, environment, version, options) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
197
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleDeploymentLogsRequest(organization, cluster, project, environment, version, options);
|
|
198
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @param {string} organization
|
|
204
|
+
* @param {string} cluster
|
|
205
|
+
* @param {string} project
|
|
206
|
+
* @param {string} environment
|
|
207
|
+
* @param {string} version
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
handleDeploymentStatusRequest(organization, cluster, project, environment, version, options) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleDeploymentStatusRequest(organization, cluster, project, environment, version, options);
|
|
214
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
exports.DeploymentApiFp = DeploymentApiFp;
|
|
220
|
+
/**
|
|
221
|
+
* DeploymentApi - factory interface
|
|
222
|
+
* @export
|
|
223
|
+
*/
|
|
224
|
+
const DeploymentApiFactory = function (configuration, basePath, axios) {
|
|
225
|
+
const localVarFp = (0, exports.DeploymentApiFp)(configuration);
|
|
226
|
+
return {
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @param {string} organization
|
|
230
|
+
* @param {string} cluster
|
|
231
|
+
* @param {string} project
|
|
232
|
+
* @param {string} environment
|
|
233
|
+
* @param {string} version
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
handleDeploymentLogsRequest(organization, cluster, project, environment, version, options) {
|
|
238
|
+
return localVarFp.handleDeploymentLogsRequest(organization, cluster, project, environment, version, options).then((request) => request(axios, basePath));
|
|
239
|
+
},
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @param {string} organization
|
|
243
|
+
* @param {string} cluster
|
|
244
|
+
* @param {string} project
|
|
245
|
+
* @param {string} environment
|
|
246
|
+
* @param {string} version
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
handleDeploymentStatusRequest(organization, cluster, project, environment, version, options) {
|
|
251
|
+
return localVarFp.handleDeploymentStatusRequest(organization, cluster, project, environment, version, options).then((request) => request(axios, basePath));
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
exports.DeploymentApiFactory = DeploymentApiFactory;
|
|
256
|
+
/**
|
|
257
|
+
* DeploymentApi - object-oriented interface
|
|
258
|
+
* @export
|
|
259
|
+
* @class DeploymentApi
|
|
260
|
+
* @extends {BaseAPI}
|
|
261
|
+
*/
|
|
262
|
+
class DeploymentApi extends base_1.BaseAPI {
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @param {string} organization
|
|
266
|
+
* @param {string} cluster
|
|
267
|
+
* @param {string} project
|
|
268
|
+
* @param {string} environment
|
|
269
|
+
* @param {string} version
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
* @memberof DeploymentApi
|
|
273
|
+
*/
|
|
274
|
+
handleDeploymentLogsRequest(organization, cluster, project, environment, version, options) {
|
|
275
|
+
return (0, exports.DeploymentApiFp)(this.configuration).handleDeploymentLogsRequest(organization, cluster, project, environment, version, options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @param {string} organization
|
|
280
|
+
* @param {string} cluster
|
|
281
|
+
* @param {string} project
|
|
282
|
+
* @param {string} environment
|
|
283
|
+
* @param {string} version
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof DeploymentApi
|
|
287
|
+
*/
|
|
288
|
+
handleDeploymentStatusRequest(organization, cluster, project, environment, version, options) {
|
|
289
|
+
return (0, exports.DeploymentApiFp)(this.configuration).handleDeploymentStatusRequest(organization, cluster, project, environment, version, options).then((request) => request(this.axios, this.basePath));
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
exports.DeploymentApi = DeploymentApi;
|
|
293
|
+
/**
|
|
294
|
+
* LogsApi - axios parameter creator
|
|
295
|
+
* @export
|
|
296
|
+
*/
|
|
297
|
+
const LogsApiAxiosParamCreator = function (configuration) {
|
|
298
|
+
return {
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @param {string} organization
|
|
302
|
+
* @param {string} cluster
|
|
303
|
+
* @param {string} project
|
|
304
|
+
* @param {string} environment
|
|
305
|
+
* @param {string} service
|
|
306
|
+
* @param {string} infraComponentType
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
handleInfraLogsRequest: (organization, cluster, project, environment, service, infraComponentType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
// verify required parameter 'organization' is not null or undefined
|
|
312
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'organization', organization);
|
|
313
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
314
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'cluster', cluster);
|
|
315
|
+
// verify required parameter 'project' is not null or undefined
|
|
316
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'project', project);
|
|
317
|
+
// verify required parameter 'environment' is not null or undefined
|
|
318
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'environment', environment);
|
|
319
|
+
// verify required parameter 'service' is not null or undefined
|
|
320
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'service', service);
|
|
321
|
+
// verify required parameter 'infraComponentType' is not null or undefined
|
|
322
|
+
(0, common_1.assertParamExists)('handleInfraLogsRequest', 'infraComponentType', infraComponentType);
|
|
323
|
+
const localVarPath = `/infra/logs`
|
|
324
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
325
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
326
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
327
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
328
|
+
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
329
|
+
.replace(`{${"infra_component_type"}}`, encodeURIComponent(String(infraComponentType)));
|
|
330
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
331
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
|
+
let baseOptions;
|
|
333
|
+
if (configuration) {
|
|
334
|
+
baseOptions = configuration.baseOptions;
|
|
335
|
+
}
|
|
336
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
337
|
+
const localVarHeaderParameter = {};
|
|
338
|
+
const localVarQueryParameter = {};
|
|
339
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
342
|
+
return {
|
|
343
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
344
|
+
options: localVarRequestOptions,
|
|
345
|
+
};
|
|
346
|
+
}),
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @param {string} organization
|
|
350
|
+
* @param {string} cluster
|
|
351
|
+
* @param {string} project
|
|
352
|
+
* @param {string} environment
|
|
353
|
+
* @param {string} service
|
|
354
|
+
* @param {*} [options] Override http request option.
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
*/
|
|
357
|
+
handleServiceLogsRequest: (organization, cluster, project, environment, service, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
// verify required parameter 'organization' is not null or undefined
|
|
359
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'organization', organization);
|
|
360
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
361
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'cluster', cluster);
|
|
362
|
+
// verify required parameter 'project' is not null or undefined
|
|
363
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'project', project);
|
|
364
|
+
// verify required parameter 'environment' is not null or undefined
|
|
365
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'environment', environment);
|
|
366
|
+
// verify required parameter 'service' is not null or undefined
|
|
367
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'service', service);
|
|
368
|
+
const localVarPath = `/service/logs`
|
|
369
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
370
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
371
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
372
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
373
|
+
.replace(`{${"service"}}`, encodeURIComponent(String(service)));
|
|
374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
375
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
376
|
+
let baseOptions;
|
|
377
|
+
if (configuration) {
|
|
378
|
+
baseOptions = configuration.baseOptions;
|
|
379
|
+
}
|
|
380
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
381
|
+
const localVarHeaderParameter = {};
|
|
382
|
+
const localVarQueryParameter = {};
|
|
383
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
385
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
386
|
+
return {
|
|
387
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
388
|
+
options: localVarRequestOptions,
|
|
389
|
+
};
|
|
390
|
+
}),
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
exports.LogsApiAxiosParamCreator = LogsApiAxiosParamCreator;
|
|
394
|
+
/**
|
|
395
|
+
* LogsApi - functional programming interface
|
|
396
|
+
* @export
|
|
397
|
+
*/
|
|
398
|
+
const LogsApiFp = function (configuration) {
|
|
399
|
+
const localVarAxiosParamCreator = (0, exports.LogsApiAxiosParamCreator)(configuration);
|
|
400
|
+
return {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @param {string} organization
|
|
404
|
+
* @param {string} cluster
|
|
405
|
+
* @param {string} project
|
|
406
|
+
* @param {string} environment
|
|
407
|
+
* @param {string} service
|
|
408
|
+
* @param {string} infraComponentType
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options) {
|
|
413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
414
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options);
|
|
415
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
416
|
+
});
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @param {string} organization
|
|
421
|
+
* @param {string} cluster
|
|
422
|
+
* @param {string} project
|
|
423
|
+
* @param {string} environment
|
|
424
|
+
* @param {string} service
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, options) {
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, options);
|
|
431
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
432
|
+
});
|
|
433
|
+
},
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
exports.LogsApiFp = LogsApiFp;
|
|
437
|
+
/**
|
|
438
|
+
* LogsApi - factory interface
|
|
439
|
+
* @export
|
|
440
|
+
*/
|
|
441
|
+
const LogsApiFactory = function (configuration, basePath, axios) {
|
|
442
|
+
const localVarFp = (0, exports.LogsApiFp)(configuration);
|
|
443
|
+
return {
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @param {string} organization
|
|
447
|
+
* @param {string} cluster
|
|
448
|
+
* @param {string} project
|
|
449
|
+
* @param {string} environment
|
|
450
|
+
* @param {string} service
|
|
451
|
+
* @param {string} infraComponentType
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options) {
|
|
456
|
+
return localVarFp.handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options).then((request) => request(axios, basePath));
|
|
457
|
+
},
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @param {string} organization
|
|
461
|
+
* @param {string} cluster
|
|
462
|
+
* @param {string} project
|
|
463
|
+
* @param {string} environment
|
|
464
|
+
* @param {string} service
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
*/
|
|
468
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, options) {
|
|
469
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, options).then((request) => request(axios, basePath));
|
|
470
|
+
},
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
exports.LogsApiFactory = LogsApiFactory;
|
|
474
|
+
/**
|
|
475
|
+
* LogsApi - object-oriented interface
|
|
476
|
+
* @export
|
|
477
|
+
* @class LogsApi
|
|
478
|
+
* @extends {BaseAPI}
|
|
479
|
+
*/
|
|
480
|
+
class LogsApi extends base_1.BaseAPI {
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @param {string} organization
|
|
484
|
+
* @param {string} cluster
|
|
485
|
+
* @param {string} project
|
|
486
|
+
* @param {string} environment
|
|
487
|
+
* @param {string} service
|
|
488
|
+
* @param {string} infraComponentType
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
* @memberof LogsApi
|
|
492
|
+
*/
|
|
493
|
+
handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options) {
|
|
494
|
+
return (0, exports.LogsApiFp)(this.configuration).handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options).then((request) => request(this.axios, this.basePath));
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @param {string} organization
|
|
499
|
+
* @param {string} cluster
|
|
500
|
+
* @param {string} project
|
|
501
|
+
* @param {string} environment
|
|
502
|
+
* @param {string} service
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
* @memberof LogsApi
|
|
506
|
+
*/
|
|
507
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, options) {
|
|
508
|
+
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, options).then((request) => request(this.axios, this.basePath));
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
exports.LogsApi = LogsApi;
|
|
512
|
+
/**
|
|
513
|
+
* ServiceMetricsApi - axios parameter creator
|
|
514
|
+
* @export
|
|
515
|
+
*/
|
|
516
|
+
const ServiceMetricsApiAxiosParamCreator = function (configuration) {
|
|
517
|
+
return {
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @param {string} organization
|
|
521
|
+
* @param {string} cluster
|
|
522
|
+
* @param {string} project
|
|
523
|
+
* @param {string} environment
|
|
524
|
+
* @param {string} service
|
|
525
|
+
* @param {ServiceType} serviceType
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
handleMetricsRequest: (organization, cluster, project, environment, service, serviceType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
530
|
+
// verify required parameter 'organization' is not null or undefined
|
|
531
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'organization', organization);
|
|
532
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
533
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'cluster', cluster);
|
|
534
|
+
// verify required parameter 'project' is not null or undefined
|
|
535
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'project', project);
|
|
536
|
+
// verify required parameter 'environment' is not null or undefined
|
|
537
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'environment', environment);
|
|
538
|
+
// verify required parameter 'service' is not null or undefined
|
|
539
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'service', service);
|
|
540
|
+
// verify required parameter 'serviceType' is not null or undefined
|
|
541
|
+
(0, common_1.assertParamExists)('handleMetricsRequest', 'serviceType', serviceType);
|
|
542
|
+
const localVarPath = `/service/metrics`
|
|
543
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
544
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
545
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
546
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
547
|
+
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
548
|
+
.replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)));
|
|
549
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
550
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
551
|
+
let baseOptions;
|
|
552
|
+
if (configuration) {
|
|
553
|
+
baseOptions = configuration.baseOptions;
|
|
554
|
+
}
|
|
555
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
556
|
+
const localVarHeaderParameter = {};
|
|
557
|
+
const localVarQueryParameter = {};
|
|
558
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
559
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
560
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
561
|
+
return {
|
|
562
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
563
|
+
options: localVarRequestOptions,
|
|
564
|
+
};
|
|
565
|
+
}),
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
exports.ServiceMetricsApiAxiosParamCreator = ServiceMetricsApiAxiosParamCreator;
|
|
569
|
+
/**
|
|
570
|
+
* ServiceMetricsApi - functional programming interface
|
|
571
|
+
* @export
|
|
572
|
+
*/
|
|
573
|
+
const ServiceMetricsApiFp = function (configuration) {
|
|
574
|
+
const localVarAxiosParamCreator = (0, exports.ServiceMetricsApiAxiosParamCreator)(configuration);
|
|
575
|
+
return {
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @param {string} organization
|
|
579
|
+
* @param {string} cluster
|
|
580
|
+
* @param {string} project
|
|
581
|
+
* @param {string} environment
|
|
582
|
+
* @param {string} service
|
|
583
|
+
* @param {ServiceType} serviceType
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options) {
|
|
588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
589
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options);
|
|
590
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
591
|
+
});
|
|
592
|
+
},
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
exports.ServiceMetricsApiFp = ServiceMetricsApiFp;
|
|
596
|
+
/**
|
|
597
|
+
* ServiceMetricsApi - factory interface
|
|
598
|
+
* @export
|
|
599
|
+
*/
|
|
600
|
+
const ServiceMetricsApiFactory = function (configuration, basePath, axios) {
|
|
601
|
+
const localVarFp = (0, exports.ServiceMetricsApiFp)(configuration);
|
|
602
|
+
return {
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @param {string} organization
|
|
606
|
+
* @param {string} cluster
|
|
607
|
+
* @param {string} project
|
|
608
|
+
* @param {string} environment
|
|
609
|
+
* @param {string} service
|
|
610
|
+
* @param {ServiceType} serviceType
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options) {
|
|
615
|
+
return localVarFp.handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options).then((request) => request(axios, basePath));
|
|
616
|
+
},
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
exports.ServiceMetricsApiFactory = ServiceMetricsApiFactory;
|
|
620
|
+
/**
|
|
621
|
+
* ServiceMetricsApi - object-oriented interface
|
|
622
|
+
* @export
|
|
623
|
+
* @class ServiceMetricsApi
|
|
624
|
+
* @extends {BaseAPI}
|
|
625
|
+
*/
|
|
626
|
+
class ServiceMetricsApi extends base_1.BaseAPI {
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @param {string} organization
|
|
630
|
+
* @param {string} cluster
|
|
631
|
+
* @param {string} project
|
|
632
|
+
* @param {string} environment
|
|
633
|
+
* @param {string} service
|
|
634
|
+
* @param {ServiceType} serviceType
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @throws {RequiredError}
|
|
637
|
+
* @memberof ServiceMetricsApi
|
|
638
|
+
*/
|
|
639
|
+
handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options) {
|
|
640
|
+
return (0, exports.ServiceMetricsApiFp)(this.configuration).handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options).then((request) => request(this.axios, this.basePath));
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
exports.ServiceMetricsApi = ServiceMetricsApi;
|
|
644
|
+
/**
|
|
645
|
+
* ServiceStatusApi - axios parameter creator
|
|
646
|
+
* @export
|
|
647
|
+
*/
|
|
648
|
+
const ServiceStatusApiAxiosParamCreator = function (configuration) {
|
|
649
|
+
return {
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @param {string} organization
|
|
653
|
+
* @param {string} cluster
|
|
654
|
+
* @param {string} project
|
|
655
|
+
* @param {string} environment
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
*/
|
|
659
|
+
handleServiceStatusRequest: (organization, cluster, project, environment, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
660
|
+
// verify required parameter 'organization' is not null or undefined
|
|
661
|
+
(0, common_1.assertParamExists)('handleServiceStatusRequest', 'organization', organization);
|
|
662
|
+
// verify required parameter 'cluster' is not null or undefined
|
|
663
|
+
(0, common_1.assertParamExists)('handleServiceStatusRequest', 'cluster', cluster);
|
|
664
|
+
// verify required parameter 'project' is not null or undefined
|
|
665
|
+
(0, common_1.assertParamExists)('handleServiceStatusRequest', 'project', project);
|
|
666
|
+
// verify required parameter 'environment' is not null or undefined
|
|
667
|
+
(0, common_1.assertParamExists)('handleServiceStatusRequest', 'environment', environment);
|
|
668
|
+
const localVarPath = `/service/status`
|
|
669
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
670
|
+
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
671
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
672
|
+
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
673
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
674
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
675
|
+
let baseOptions;
|
|
676
|
+
if (configuration) {
|
|
677
|
+
baseOptions = configuration.baseOptions;
|
|
678
|
+
}
|
|
679
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
680
|
+
const localVarHeaderParameter = {};
|
|
681
|
+
const localVarQueryParameter = {};
|
|
682
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
683
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
684
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
685
|
+
return {
|
|
686
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
687
|
+
options: localVarRequestOptions,
|
|
688
|
+
};
|
|
689
|
+
}),
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
exports.ServiceStatusApiAxiosParamCreator = ServiceStatusApiAxiosParamCreator;
|
|
693
|
+
/**
|
|
694
|
+
* ServiceStatusApi - functional programming interface
|
|
695
|
+
* @export
|
|
696
|
+
*/
|
|
697
|
+
const ServiceStatusApiFp = function (configuration) {
|
|
698
|
+
const localVarAxiosParamCreator = (0, exports.ServiceStatusApiAxiosParamCreator)(configuration);
|
|
699
|
+
return {
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @param {string} organization
|
|
703
|
+
* @param {string} cluster
|
|
704
|
+
* @param {string} project
|
|
705
|
+
* @param {string} environment
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
handleServiceStatusRequest(organization, cluster, project, environment, options) {
|
|
710
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
711
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceStatusRequest(organization, cluster, project, environment, options);
|
|
712
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
713
|
+
});
|
|
714
|
+
},
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
exports.ServiceStatusApiFp = ServiceStatusApiFp;
|
|
718
|
+
/**
|
|
719
|
+
* ServiceStatusApi - factory interface
|
|
720
|
+
* @export
|
|
721
|
+
*/
|
|
722
|
+
const ServiceStatusApiFactory = function (configuration, basePath, axios) {
|
|
723
|
+
const localVarFp = (0, exports.ServiceStatusApiFp)(configuration);
|
|
724
|
+
return {
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @param {string} organization
|
|
728
|
+
* @param {string} cluster
|
|
729
|
+
* @param {string} project
|
|
730
|
+
* @param {string} environment
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
handleServiceStatusRequest(organization, cluster, project, environment, options) {
|
|
735
|
+
return localVarFp.handleServiceStatusRequest(organization, cluster, project, environment, options).then((request) => request(axios, basePath));
|
|
736
|
+
},
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
exports.ServiceStatusApiFactory = ServiceStatusApiFactory;
|
|
740
|
+
/**
|
|
741
|
+
* ServiceStatusApi - object-oriented interface
|
|
742
|
+
* @export
|
|
743
|
+
* @class ServiceStatusApi
|
|
744
|
+
* @extends {BaseAPI}
|
|
745
|
+
*/
|
|
746
|
+
class ServiceStatusApi extends base_1.BaseAPI {
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @param {string} organization
|
|
750
|
+
* @param {string} cluster
|
|
751
|
+
* @param {string} project
|
|
752
|
+
* @param {string} environment
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @throws {RequiredError}
|
|
755
|
+
* @memberof ServiceStatusApi
|
|
756
|
+
*/
|
|
757
|
+
handleServiceStatusRequest(organization, cluster, project, environment, options) {
|
|
758
|
+
return (0, exports.ServiceStatusApiFp)(this.configuration).handleServiceStatusRequest(organization, cluster, project, environment, options).then((request) => request(this.axios, this.basePath));
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
exports.ServiceStatusApi = ServiceStatusApi;
|