qovery-ws-typescript-axios 0.1.131 → 0.1.133
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/VERSION +1 -1
- package/api.ts +34 -50
- package/base.ts +3 -17
- package/common.ts +1 -1
- package/configuration.ts +0 -9
- package/dist/api.d.ts +25 -25
- package/dist/api.js +8 -32
- package/dist/base.d.ts +2 -14
- package/dist/base.js +2 -8
- package/dist/common.js +1 -2
- package/dist/configuration.d.ts +0 -8
- package/dist/configuration.js +0 -1
- package/dist/esm/api.d.ts +25 -25
- package/dist/esm/api.js +9 -33
- package/dist/esm/base.d.ts +2 -14
- package/dist/esm/base.js +1 -7
- package/dist/esm/common.js +1 -2
- package/dist/esm/configuration.d.ts +0 -8
- package/dist/esm/configuration.js +0 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.0.1
|
package/api.ts
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import type { Configuration } from './configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance,
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
18
18
|
import globalAxios from 'axios';
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError
|
|
24
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -919,7 +919,7 @@ export const ClusterStatusApiAxiosParamCreator = function (configuration?: Confi
|
|
|
919
919
|
* @param {*} [options] Override http request option.
|
|
920
920
|
* @throws {RequiredError}
|
|
921
921
|
*/
|
|
922
|
-
handleClusterStatusRequest: async (organization: string, cluster: string, options:
|
|
922
|
+
handleClusterStatusRequest: async (organization: string, cluster: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
923
923
|
// verify required parameter 'organization' is not null or undefined
|
|
924
924
|
assertParamExists('handleClusterStatusRequest', 'organization', organization)
|
|
925
925
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -966,11 +966,9 @@ export const ClusterStatusApiFp = function(configuration?: Configuration) {
|
|
|
966
966
|
* @param {*} [options] Override http request option.
|
|
967
967
|
* @throws {RequiredError}
|
|
968
968
|
*/
|
|
969
|
-
async handleClusterStatusRequest(organization: string, cluster: string, options?:
|
|
969
|
+
async handleClusterStatusRequest(organization: string, cluster: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatusDto>> {
|
|
970
970
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleClusterStatusRequest(organization, cluster, options);
|
|
971
|
-
|
|
972
|
-
const operationBasePath = operationServerMap['ClusterStatusApi.handleClusterStatusRequest']?.[index]?.url;
|
|
973
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
971
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
974
972
|
},
|
|
975
973
|
}
|
|
976
974
|
};
|
|
@@ -1010,7 +1008,7 @@ export class ClusterStatusApi extends BaseAPI {
|
|
|
1010
1008
|
* @throws {RequiredError}
|
|
1011
1009
|
* @memberof ClusterStatusApi
|
|
1012
1010
|
*/
|
|
1013
|
-
public handleClusterStatusRequest(organization: string, cluster: string, options?:
|
|
1011
|
+
public handleClusterStatusRequest(organization: string, cluster: string, options?: AxiosRequestConfig) {
|
|
1014
1012
|
return ClusterStatusApiFp(this.configuration).handleClusterStatusRequest(organization, cluster, options).then((request) => request(this.axios, this.basePath));
|
|
1015
1013
|
}
|
|
1016
1014
|
}
|
|
@@ -1033,7 +1031,7 @@ export const DeploymentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1033
1031
|
* @param {*} [options] Override http request option.
|
|
1034
1032
|
* @throws {RequiredError}
|
|
1035
1033
|
*/
|
|
1036
|
-
handleDeploymentLogsRequest: async (organization: string, cluster: string | null, project: string, environment: string, version: string | null, options:
|
|
1034
|
+
handleDeploymentLogsRequest: async (organization: string, cluster: string | null, project: string, environment: string, version: string | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1037
1035
|
// verify required parameter 'organization' is not null or undefined
|
|
1038
1036
|
assertParamExists('handleDeploymentLogsRequest', 'organization', organization)
|
|
1039
1037
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1082,7 +1080,7 @@ export const DeploymentApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1082
1080
|
* @param {*} [options] Override http request option.
|
|
1083
1081
|
* @throws {RequiredError}
|
|
1084
1082
|
*/
|
|
1085
|
-
handleDeploymentStatusRequest: async (organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options:
|
|
1083
|
+
handleDeploymentStatusRequest: async (organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1086
1084
|
// verify required parameter 'organization' is not null or undefined
|
|
1087
1085
|
assertParamExists('handleDeploymentStatusRequest', 'organization', organization)
|
|
1088
1086
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1141,11 +1139,9 @@ export const DeploymentApiFp = function(configuration?: Configuration) {
|
|
|
1141
1139
|
* @param {*} [options] Override http request option.
|
|
1142
1140
|
* @throws {RequiredError}
|
|
1143
1141
|
*/
|
|
1144
|
-
async handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?:
|
|
1142
|
+
async handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1145
1143
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleDeploymentLogsRequest(organization, cluster, project, environment, version, options);
|
|
1146
|
-
|
|
1147
|
-
const operationBasePath = operationServerMap['DeploymentApi.handleDeploymentLogsRequest']?.[index]?.url;
|
|
1148
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1144
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1149
1145
|
},
|
|
1150
1146
|
/**
|
|
1151
1147
|
*
|
|
@@ -1157,11 +1153,9 @@ export const DeploymentApiFp = function(configuration?: Configuration) {
|
|
|
1157
1153
|
* @param {*} [options] Override http request option.
|
|
1158
1154
|
* @throws {RequiredError}
|
|
1159
1155
|
*/
|
|
1160
|
-
async handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?:
|
|
1156
|
+
async handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
1161
1157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleDeploymentStatusRequest(organization, cluster, project, environment, version, options);
|
|
1162
|
-
|
|
1163
|
-
const operationBasePath = operationServerMap['DeploymentApi.handleDeploymentStatusRequest']?.[index]?.url;
|
|
1164
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1158
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1165
1159
|
},
|
|
1166
1160
|
}
|
|
1167
1161
|
};
|
|
@@ -1220,7 +1214,7 @@ export class DeploymentApi extends BaseAPI {
|
|
|
1220
1214
|
* @throws {RequiredError}
|
|
1221
1215
|
* @memberof DeploymentApi
|
|
1222
1216
|
*/
|
|
1223
|
-
public handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?:
|
|
1217
|
+
public handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?: AxiosRequestConfig) {
|
|
1224
1218
|
return DeploymentApiFp(this.configuration).handleDeploymentLogsRequest(organization, cluster, project, environment, version, options).then((request) => request(this.axios, this.basePath));
|
|
1225
1219
|
}
|
|
1226
1220
|
|
|
@@ -1235,7 +1229,7 @@ export class DeploymentApi extends BaseAPI {
|
|
|
1235
1229
|
* @throws {RequiredError}
|
|
1236
1230
|
* @memberof DeploymentApi
|
|
1237
1231
|
*/
|
|
1238
|
-
public handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?:
|
|
1232
|
+
public handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?: AxiosRequestConfig) {
|
|
1239
1233
|
return DeploymentApiFp(this.configuration).handleDeploymentStatusRequest(organization, cluster, project, environment, version, options).then((request) => request(this.axios, this.basePath));
|
|
1240
1234
|
}
|
|
1241
1235
|
}
|
|
@@ -1259,7 +1253,7 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1259
1253
|
* @param {*} [options] Override http request option.
|
|
1260
1254
|
* @throws {RequiredError}
|
|
1261
1255
|
*/
|
|
1262
|
-
handleInfraLogsRequest: async (organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options:
|
|
1256
|
+
handleInfraLogsRequest: async (organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1263
1257
|
// verify required parameter 'organization' is not null or undefined
|
|
1264
1258
|
assertParamExists('handleInfraLogsRequest', 'organization', organization)
|
|
1265
1259
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1311,7 +1305,7 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1311
1305
|
* @param {*} [options] Override http request option.
|
|
1312
1306
|
* @throws {RequiredError}
|
|
1313
1307
|
*/
|
|
1314
|
-
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, options:
|
|
1308
|
+
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1315
1309
|
// verify required parameter 'organization' is not null or undefined
|
|
1316
1310
|
assertParamExists('handleServiceLogsRequest', 'organization', organization)
|
|
1317
1311
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1371,11 +1365,9 @@ export const LogsApiFp = function(configuration?: Configuration) {
|
|
|
1371
1365
|
* @param {*} [options] Override http request option.
|
|
1372
1366
|
* @throws {RequiredError}
|
|
1373
1367
|
*/
|
|
1374
|
-
async handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?:
|
|
1368
|
+
async handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceInfraLogResponseDto>> {
|
|
1375
1369
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options);
|
|
1376
|
-
|
|
1377
|
-
const operationBasePath = operationServerMap['LogsApi.handleInfraLogsRequest']?.[index]?.url;
|
|
1378
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1370
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1379
1371
|
},
|
|
1380
1372
|
/**
|
|
1381
1373
|
*
|
|
@@ -1387,11 +1379,9 @@ export const LogsApiFp = function(configuration?: Configuration) {
|
|
|
1387
1379
|
* @param {*} [options] Override http request option.
|
|
1388
1380
|
* @throws {RequiredError}
|
|
1389
1381
|
*/
|
|
1390
|
-
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1382
|
+
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
1391
1383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, options);
|
|
1392
|
-
|
|
1393
|
-
const operationBasePath = operationServerMap['LogsApi.handleServiceLogsRequest']?.[index]?.url;
|
|
1394
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1384
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1395
1385
|
},
|
|
1396
1386
|
}
|
|
1397
1387
|
};
|
|
@@ -1452,7 +1442,7 @@ export class LogsApi extends BaseAPI {
|
|
|
1452
1442
|
* @throws {RequiredError}
|
|
1453
1443
|
* @memberof LogsApi
|
|
1454
1444
|
*/
|
|
1455
|
-
public handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?:
|
|
1445
|
+
public handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?: AxiosRequestConfig) {
|
|
1456
1446
|
return LogsApiFp(this.configuration).handleInfraLogsRequest(organization, cluster, project, environment, service, infraComponentType, options).then((request) => request(this.axios, this.basePath));
|
|
1457
1447
|
}
|
|
1458
1448
|
|
|
@@ -1467,7 +1457,7 @@ export class LogsApi extends BaseAPI {
|
|
|
1467
1457
|
* @throws {RequiredError}
|
|
1468
1458
|
* @memberof LogsApi
|
|
1469
1459
|
*/
|
|
1470
|
-
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1460
|
+
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig) {
|
|
1471
1461
|
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, options).then((request) => request(this.axios, this.basePath));
|
|
1472
1462
|
}
|
|
1473
1463
|
}
|
|
@@ -1490,7 +1480,7 @@ export const ServiceListPodsApiAxiosParamCreator = function (configuration?: Con
|
|
|
1490
1480
|
* @param {*} [options] Override http request option.
|
|
1491
1481
|
* @throws {RequiredError}
|
|
1492
1482
|
*/
|
|
1493
|
-
handleServiceListPodsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, options:
|
|
1483
|
+
handleServiceListPodsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1494
1484
|
// verify required parameter 'organization' is not null or undefined
|
|
1495
1485
|
assertParamExists('handleServiceListPodsRequest', 'organization', organization)
|
|
1496
1486
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1549,11 +1539,9 @@ export const ServiceListPodsApiFp = function(configuration?: Configuration) {
|
|
|
1549
1539
|
* @param {*} [options] Override http request option.
|
|
1550
1540
|
* @throws {RequiredError}
|
|
1551
1541
|
*/
|
|
1552
|
-
async handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1542
|
+
async handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceListPodsResponseDto>> {
|
|
1553
1543
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceListPodsRequest(organization, cluster, project, environment, service, options);
|
|
1554
|
-
|
|
1555
|
-
const operationBasePath = operationServerMap['ServiceListPodsApi.handleServiceListPodsRequest']?.[index]?.url;
|
|
1556
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1544
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1557
1545
|
},
|
|
1558
1546
|
}
|
|
1559
1547
|
};
|
|
@@ -1599,7 +1587,7 @@ export class ServiceListPodsApi extends BaseAPI {
|
|
|
1599
1587
|
* @throws {RequiredError}
|
|
1600
1588
|
* @memberof ServiceListPodsApi
|
|
1601
1589
|
*/
|
|
1602
|
-
public handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1590
|
+
public handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig) {
|
|
1603
1591
|
return ServiceListPodsApiFp(this.configuration).handleServiceListPodsRequest(organization, cluster, project, environment, service, options).then((request) => request(this.axios, this.basePath));
|
|
1604
1592
|
}
|
|
1605
1593
|
}
|
|
@@ -1623,7 +1611,7 @@ export const ServiceMetricsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1623
1611
|
* @param {*} [options] Override http request option.
|
|
1624
1612
|
* @throws {RequiredError}
|
|
1625
1613
|
*/
|
|
1626
|
-
handleMetricsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options:
|
|
1614
|
+
handleMetricsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1627
1615
|
// verify required parameter 'organization' is not null or undefined
|
|
1628
1616
|
assertParamExists('handleMetricsRequest', 'organization', organization)
|
|
1629
1617
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1686,11 +1674,9 @@ export const ServiceMetricsApiFp = function(configuration?: Configuration) {
|
|
|
1686
1674
|
* @param {*} [options] Override http request option.
|
|
1687
1675
|
* @throws {RequiredError}
|
|
1688
1676
|
*/
|
|
1689
|
-
async handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?:
|
|
1677
|
+
async handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceMetricsDto>> {
|
|
1690
1678
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options);
|
|
1691
|
-
|
|
1692
|
-
const operationBasePath = operationServerMap['ServiceMetricsApi.handleMetricsRequest']?.[index]?.url;
|
|
1693
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1679
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1694
1680
|
},
|
|
1695
1681
|
}
|
|
1696
1682
|
};
|
|
@@ -1738,7 +1724,7 @@ export class ServiceMetricsApi extends BaseAPI {
|
|
|
1738
1724
|
* @throws {RequiredError}
|
|
1739
1725
|
* @memberof ServiceMetricsApi
|
|
1740
1726
|
*/
|
|
1741
|
-
public handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?:
|
|
1727
|
+
public handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?: AxiosRequestConfig) {
|
|
1742
1728
|
return ServiceMetricsApiFp(this.configuration).handleMetricsRequest(organization, cluster, project, environment, service, serviceType, options).then((request) => request(this.axios, this.basePath));
|
|
1743
1729
|
}
|
|
1744
1730
|
}
|
|
@@ -1760,7 +1746,7 @@ export const ServiceStatusApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1760
1746
|
* @param {*} [options] Override http request option.
|
|
1761
1747
|
* @throws {RequiredError}
|
|
1762
1748
|
*/
|
|
1763
|
-
handleServiceStatusRequest: async (organization: string, cluster: string, project: string | null, environment: string | null, options:
|
|
1749
|
+
handleServiceStatusRequest: async (organization: string, cluster: string, project: string | null, environment: string | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1764
1750
|
// verify required parameter 'organization' is not null or undefined
|
|
1765
1751
|
assertParamExists('handleServiceStatusRequest', 'organization', organization)
|
|
1766
1752
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -1815,11 +1801,9 @@ export const ServiceStatusApiFp = function(configuration?: Configuration) {
|
|
|
1815
1801
|
* @param {*} [options] Override http request option.
|
|
1816
1802
|
* @throws {RequiredError}
|
|
1817
1803
|
*/
|
|
1818
|
-
async handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?:
|
|
1804
|
+
async handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatusDto>> {
|
|
1819
1805
|
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceStatusRequest(organization, cluster, project, environment, options);
|
|
1820
|
-
|
|
1821
|
-
const operationBasePath = operationServerMap['ServiceStatusApi.handleServiceStatusRequest']?.[index]?.url;
|
|
1822
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1823
1807
|
},
|
|
1824
1808
|
}
|
|
1825
1809
|
};
|
|
@@ -1863,7 +1847,7 @@ export class ServiceStatusApi extends BaseAPI {
|
|
|
1863
1847
|
* @throws {RequiredError}
|
|
1864
1848
|
* @memberof ServiceStatusApi
|
|
1865
1849
|
*/
|
|
1866
|
-
public handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?:
|
|
1850
|
+
public handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?: AxiosRequestConfig) {
|
|
1867
1851
|
return ServiceStatusApiFp(this.configuration).handleServiceStatusRequest(organization, cluster, project, environment, options).then((request) => request(this.axios, this.basePath));
|
|
1868
1852
|
}
|
|
1869
1853
|
}
|
package/base.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import type { Configuration } from './configuration';
|
|
17
17
|
// Some imports not used depending on template conditions
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import type { AxiosPromise, AxiosInstance,
|
|
19
|
+
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
20
20
|
import globalAxios from 'axios';
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -39,7 +39,7 @@ export const COLLECTION_FORMATS = {
|
|
|
39
39
|
*/
|
|
40
40
|
export interface RequestArgs {
|
|
41
41
|
url: string;
|
|
42
|
-
options:
|
|
42
|
+
options: AxiosRequestConfig;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
@@ -53,7 +53,7 @@ export class BaseAPI {
|
|
|
53
53
|
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
|
54
54
|
if (configuration) {
|
|
55
55
|
this.configuration = configuration;
|
|
56
|
-
this.basePath = configuration.basePath
|
|
56
|
+
this.basePath = configuration.basePath || this.basePath;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
};
|
|
@@ -70,17 +70,3 @@ export class RequiredError extends Error {
|
|
|
70
70
|
this.name = "RequiredError"
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
interface ServerMap {
|
|
75
|
-
[key: string]: {
|
|
76
|
-
url: string,
|
|
77
|
-
description: string,
|
|
78
|
-
}[];
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
|
-
export const operationServerMap: ServerMap = {
|
|
86
|
-
}
|
package/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL
|
|
147
|
+
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url};
|
|
148
148
|
return axios.request<T, R>(axiosRequestArgs);
|
|
149
149
|
};
|
|
150
150
|
}
|
package/configuration.ts
CHANGED
|
@@ -19,7 +19,6 @@ export interface ConfigurationParameters {
|
|
|
19
19
|
password?: string;
|
|
20
20
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
21
21
|
basePath?: string;
|
|
22
|
-
serverIndex?: number;
|
|
23
22
|
baseOptions?: any;
|
|
24
23
|
formDataCtor?: new () => any;
|
|
25
24
|
}
|
|
@@ -59,13 +58,6 @@ export class Configuration {
|
|
|
59
58
|
* @memberof Configuration
|
|
60
59
|
*/
|
|
61
60
|
basePath?: string;
|
|
62
|
-
/**
|
|
63
|
-
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
|
-
*/
|
|
68
|
-
serverIndex?: number;
|
|
69
61
|
/**
|
|
70
62
|
* base options for axios calls
|
|
71
63
|
*
|
|
@@ -88,7 +80,6 @@ export class Configuration {
|
|
|
88
80
|
this.password = param.password;
|
|
89
81
|
this.accessToken = param.accessToken;
|
|
90
82
|
this.basePath = param.basePath;
|
|
91
|
-
this.serverIndex = param.serverIndex;
|
|
92
83
|
this.baseOptions = param.baseOptions;
|
|
93
84
|
this.formDataCtor = param.formDataCtor;
|
|
94
85
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance,
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
@@ -883,7 +883,7 @@ export declare const ClusterStatusApiAxiosParamCreator: (configuration?: Configu
|
|
|
883
883
|
* @param {*} [options] Override http request option.
|
|
884
884
|
* @throws {RequiredError}
|
|
885
885
|
*/
|
|
886
|
-
handleClusterStatusRequest: (organization: string, cluster: string, options?:
|
|
886
|
+
handleClusterStatusRequest: (organization: string, cluster: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
887
887
|
};
|
|
888
888
|
/**
|
|
889
889
|
* ClusterStatusApi - functional programming interface
|
|
@@ -897,7 +897,7 @@ export declare const ClusterStatusApiFp: (configuration?: Configuration) => {
|
|
|
897
897
|
* @param {*} [options] Override http request option.
|
|
898
898
|
* @throws {RequiredError}
|
|
899
899
|
*/
|
|
900
|
-
handleClusterStatusRequest(organization: string, cluster: string, options?:
|
|
900
|
+
handleClusterStatusRequest(organization: string, cluster: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatusDto>>;
|
|
901
901
|
};
|
|
902
902
|
/**
|
|
903
903
|
* ClusterStatusApi - factory interface
|
|
@@ -928,7 +928,7 @@ export declare class ClusterStatusApi extends BaseAPI {
|
|
|
928
928
|
* @throws {RequiredError}
|
|
929
929
|
* @memberof ClusterStatusApi
|
|
930
930
|
*/
|
|
931
|
-
handleClusterStatusRequest(organization: string, cluster: string, options?:
|
|
931
|
+
handleClusterStatusRequest(organization: string, cluster: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatusDto, any>>;
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
934
|
* DeploymentApi - axios parameter creator
|
|
@@ -945,7 +945,7 @@ export declare const DeploymentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
945
945
|
* @param {*} [options] Override http request option.
|
|
946
946
|
* @throws {RequiredError}
|
|
947
947
|
*/
|
|
948
|
-
handleDeploymentLogsRequest: (organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?:
|
|
948
|
+
handleDeploymentLogsRequest: (organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
949
949
|
/**
|
|
950
950
|
*
|
|
951
951
|
* @param {string} organization
|
|
@@ -956,7 +956,7 @@ export declare const DeploymentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
956
956
|
* @param {*} [options] Override http request option.
|
|
957
957
|
* @throws {RequiredError}
|
|
958
958
|
*/
|
|
959
|
-
handleDeploymentStatusRequest: (organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?:
|
|
959
|
+
handleDeploymentStatusRequest: (organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
960
960
|
};
|
|
961
961
|
/**
|
|
962
962
|
* DeploymentApi - functional programming interface
|
|
@@ -973,7 +973,7 @@ export declare const DeploymentApiFp: (configuration?: Configuration) => {
|
|
|
973
973
|
* @param {*} [options] Override http request option.
|
|
974
974
|
* @throws {RequiredError}
|
|
975
975
|
*/
|
|
976
|
-
handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?:
|
|
976
|
+
handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
977
977
|
/**
|
|
978
978
|
*
|
|
979
979
|
* @param {string} organization
|
|
@@ -984,7 +984,7 @@ export declare const DeploymentApiFp: (configuration?: Configuration) => {
|
|
|
984
984
|
* @param {*} [options] Override http request option.
|
|
985
985
|
* @throws {RequiredError}
|
|
986
986
|
*/
|
|
987
|
-
handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?:
|
|
987
|
+
handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
988
988
|
};
|
|
989
989
|
/**
|
|
990
990
|
* DeploymentApi - factory interface
|
|
@@ -1032,7 +1032,7 @@ export declare class DeploymentApi extends BaseAPI {
|
|
|
1032
1032
|
* @throws {RequiredError}
|
|
1033
1033
|
* @memberof DeploymentApi
|
|
1034
1034
|
*/
|
|
1035
|
-
handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?:
|
|
1035
|
+
handleDeploymentLogsRequest(organization: string, cluster: string | null, project: string, environment: string, version: string | null, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1036
1036
|
/**
|
|
1037
1037
|
*
|
|
1038
1038
|
* @param {string} organization
|
|
@@ -1044,7 +1044,7 @@ export declare class DeploymentApi extends BaseAPI {
|
|
|
1044
1044
|
* @throws {RequiredError}
|
|
1045
1045
|
* @memberof DeploymentApi
|
|
1046
1046
|
*/
|
|
1047
|
-
handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?:
|
|
1047
|
+
handleDeploymentStatusRequest(organization: string, cluster: string | null, project: string, environment: string | null, version: string | null, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1048
1048
|
}
|
|
1049
1049
|
/**
|
|
1050
1050
|
* LogsApi - axios parameter creator
|
|
@@ -1062,7 +1062,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
1062
1062
|
* @param {*} [options] Override http request option.
|
|
1063
1063
|
* @throws {RequiredError}
|
|
1064
1064
|
*/
|
|
1065
|
-
handleInfraLogsRequest: (organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?:
|
|
1065
|
+
handleInfraLogsRequest: (organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1066
1066
|
/**
|
|
1067
1067
|
*
|
|
1068
1068
|
* @param {string} organization
|
|
@@ -1073,7 +1073,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
1073
1073
|
* @param {*} [options] Override http request option.
|
|
1074
1074
|
* @throws {RequiredError}
|
|
1075
1075
|
*/
|
|
1076
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1076
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1077
1077
|
};
|
|
1078
1078
|
/**
|
|
1079
1079
|
* LogsApi - functional programming interface
|
|
@@ -1091,7 +1091,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
1091
1091
|
* @param {*} [options] Override http request option.
|
|
1092
1092
|
* @throws {RequiredError}
|
|
1093
1093
|
*/
|
|
1094
|
-
handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?:
|
|
1094
|
+
handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceInfraLogResponseDto>>;
|
|
1095
1095
|
/**
|
|
1096
1096
|
*
|
|
1097
1097
|
* @param {string} organization
|
|
@@ -1102,7 +1102,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
1102
1102
|
* @param {*} [options] Override http request option.
|
|
1103
1103
|
* @throws {RequiredError}
|
|
1104
1104
|
*/
|
|
1105
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1105
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
1106
1106
|
};
|
|
1107
1107
|
/**
|
|
1108
1108
|
* LogsApi - factory interface
|
|
@@ -1152,7 +1152,7 @@ export declare class LogsApi extends BaseAPI {
|
|
|
1152
1152
|
* @throws {RequiredError}
|
|
1153
1153
|
* @memberof LogsApi
|
|
1154
1154
|
*/
|
|
1155
|
-
handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?:
|
|
1155
|
+
handleInfraLogsRequest(organization: string, cluster: string, project: string | null, environment: string | null, service: string | null, infraComponentType: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceInfraLogResponseDto, any>>;
|
|
1156
1156
|
/**
|
|
1157
1157
|
*
|
|
1158
1158
|
* @param {string} organization
|
|
@@ -1164,7 +1164,7 @@ export declare class LogsApi extends BaseAPI {
|
|
|
1164
1164
|
* @throws {RequiredError}
|
|
1165
1165
|
* @memberof LogsApi
|
|
1166
1166
|
*/
|
|
1167
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1167
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
1168
1168
|
}
|
|
1169
1169
|
/**
|
|
1170
1170
|
* ServiceListPodsApi - axios parameter creator
|
|
@@ -1181,7 +1181,7 @@ export declare const ServiceListPodsApiAxiosParamCreator: (configuration?: Confi
|
|
|
1181
1181
|
* @param {*} [options] Override http request option.
|
|
1182
1182
|
* @throws {RequiredError}
|
|
1183
1183
|
*/
|
|
1184
|
-
handleServiceListPodsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1184
|
+
handleServiceListPodsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1185
1185
|
};
|
|
1186
1186
|
/**
|
|
1187
1187
|
* ServiceListPodsApi - functional programming interface
|
|
@@ -1198,7 +1198,7 @@ export declare const ServiceListPodsApiFp: (configuration?: Configuration) => {
|
|
|
1198
1198
|
* @param {*} [options] Override http request option.
|
|
1199
1199
|
* @throws {RequiredError}
|
|
1200
1200
|
*/
|
|
1201
|
-
handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1201
|
+
handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceListPodsResponseDto>>;
|
|
1202
1202
|
};
|
|
1203
1203
|
/**
|
|
1204
1204
|
* ServiceListPodsApi - factory interface
|
|
@@ -1235,7 +1235,7 @@ export declare class ServiceListPodsApi extends BaseAPI {
|
|
|
1235
1235
|
* @throws {RequiredError}
|
|
1236
1236
|
* @memberof ServiceListPodsApi
|
|
1237
1237
|
*/
|
|
1238
|
-
handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?:
|
|
1238
|
+
handleServiceListPodsRequest(organization: string, cluster: string, project: string, environment: string, service: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceListPodsResponseDto, any>>;
|
|
1239
1239
|
}
|
|
1240
1240
|
/**
|
|
1241
1241
|
* ServiceMetricsApi - axios parameter creator
|
|
@@ -1253,7 +1253,7 @@ export declare const ServiceMetricsApiAxiosParamCreator: (configuration?: Config
|
|
|
1253
1253
|
* @param {*} [options] Override http request option.
|
|
1254
1254
|
* @throws {RequiredError}
|
|
1255
1255
|
*/
|
|
1256
|
-
handleMetricsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?:
|
|
1256
|
+
handleMetricsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1257
1257
|
};
|
|
1258
1258
|
/**
|
|
1259
1259
|
* ServiceMetricsApi - functional programming interface
|
|
@@ -1271,7 +1271,7 @@ export declare const ServiceMetricsApiFp: (configuration?: Configuration) => {
|
|
|
1271
1271
|
* @param {*} [options] Override http request option.
|
|
1272
1272
|
* @throws {RequiredError}
|
|
1273
1273
|
*/
|
|
1274
|
-
handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?:
|
|
1274
|
+
handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceMetricsDto>>;
|
|
1275
1275
|
};
|
|
1276
1276
|
/**
|
|
1277
1277
|
* ServiceMetricsApi - factory interface
|
|
@@ -1310,7 +1310,7 @@ export declare class ServiceMetricsApi extends BaseAPI {
|
|
|
1310
1310
|
* @throws {RequiredError}
|
|
1311
1311
|
* @memberof ServiceMetricsApi
|
|
1312
1312
|
*/
|
|
1313
|
-
handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?:
|
|
1313
|
+
handleMetricsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceMetricsDto, any>>;
|
|
1314
1314
|
}
|
|
1315
1315
|
/**
|
|
1316
1316
|
* ServiceStatusApi - axios parameter creator
|
|
@@ -1326,7 +1326,7 @@ export declare const ServiceStatusApiAxiosParamCreator: (configuration?: Configu
|
|
|
1326
1326
|
* @param {*} [options] Override http request option.
|
|
1327
1327
|
* @throws {RequiredError}
|
|
1328
1328
|
*/
|
|
1329
|
-
handleServiceStatusRequest: (organization: string, cluster: string, project: string | null, environment: string | null, options?:
|
|
1329
|
+
handleServiceStatusRequest: (organization: string, cluster: string, project: string | null, environment: string | null, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1330
1330
|
};
|
|
1331
1331
|
/**
|
|
1332
1332
|
* ServiceStatusApi - functional programming interface
|
|
@@ -1342,7 +1342,7 @@ export declare const ServiceStatusApiFp: (configuration?: Configuration) => {
|
|
|
1342
1342
|
* @param {*} [options] Override http request option.
|
|
1343
1343
|
* @throws {RequiredError}
|
|
1344
1344
|
*/
|
|
1345
|
-
handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?:
|
|
1345
|
+
handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceStatusDto>>;
|
|
1346
1346
|
};
|
|
1347
1347
|
/**
|
|
1348
1348
|
* ServiceStatusApi - factory interface
|
|
@@ -1377,5 +1377,5 @@ export declare class ServiceStatusApi extends BaseAPI {
|
|
|
1377
1377
|
* @throws {RequiredError}
|
|
1378
1378
|
* @memberof ServiceStatusApi
|
|
1379
1379
|
*/
|
|
1380
|
-
handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?:
|
|
1380
|
+
handleServiceStatusRequest(organization: string, cluster: string, project: string | null, environment: string | null, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceStatusDto, any>>;
|
|
1381
1381
|
}
|