qovery-ws-typescript-axios 0.1.296 → 0.1.298
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 +59 -0
- package/dist/api.d.ts +53 -0
- package/dist/api.js +10 -1
- package/dist/esm/api.d.ts +53 -0
- package/dist/esm/api.js +9 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -143,6 +143,12 @@ export interface ClusterComputedStatusDto {
|
|
|
143
143
|
* @memberof ClusterComputedStatusDto
|
|
144
144
|
*/
|
|
145
145
|
'node_warnings': { [key: string]: Array<QoveryNodeFailure>; };
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<QoveryComponentDto>}
|
|
149
|
+
* @memberof ClusterComputedStatusDto
|
|
150
|
+
*/
|
|
151
|
+
'qovery_components': Array<QoveryComponentDto>;
|
|
146
152
|
/**
|
|
147
153
|
*
|
|
148
154
|
* @type {Array<QoveryComponentInFailure>}
|
|
@@ -1410,12 +1416,65 @@ export const QoveryComponentContainerStatusLevel = {
|
|
|
1410
1416
|
export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContainerStatusLevel[keyof typeof QoveryComponentContainerStatusLevel];
|
|
1411
1417
|
|
|
1412
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface QoveryComponentDto
|
|
1423
|
+
*/
|
|
1424
|
+
export interface QoveryComponentDto {
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @type {Array<QoveryComponentInFailure>}
|
|
1428
|
+
* @memberof QoveryComponentDto
|
|
1429
|
+
*/
|
|
1430
|
+
'error_detail': Array<QoveryComponentInFailure>;
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {Array<string>}
|
|
1434
|
+
* @memberof QoveryComponentDto
|
|
1435
|
+
*/
|
|
1436
|
+
'images_version': Array<string>;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof QoveryComponentDto
|
|
1441
|
+
*/
|
|
1442
|
+
'name': string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof QoveryComponentDto
|
|
1447
|
+
*/
|
|
1448
|
+
'namespace': string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {QoveryComponentStatus}
|
|
1452
|
+
* @memberof QoveryComponentDto
|
|
1453
|
+
*/
|
|
1454
|
+
'status': QoveryComponentStatus;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
|
|
1413
1458
|
/**
|
|
1414
1459
|
* @type QoveryComponentInFailure
|
|
1415
1460
|
* @export
|
|
1416
1461
|
*/
|
|
1417
1462
|
export type QoveryComponentInFailure = { type: 'MISSING_COMPONENT' } & MissingComponentValue | { type: 'POD_IN_ERROR' } & PodInErrorValue;
|
|
1418
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
*
|
|
1466
|
+
* @export
|
|
1467
|
+
* @enum {string}
|
|
1468
|
+
*/
|
|
1469
|
+
|
|
1470
|
+
export const QoveryComponentStatus = {
|
|
1471
|
+
RUNNING: 'RUNNING',
|
|
1472
|
+
ERROR: 'ERROR'
|
|
1473
|
+
} as const;
|
|
1474
|
+
|
|
1475
|
+
export type QoveryComponentStatus = typeof QoveryComponentStatus[keyof typeof QoveryComponentStatus];
|
|
1476
|
+
|
|
1477
|
+
|
|
1419
1478
|
/**
|
|
1420
1479
|
*
|
|
1421
1480
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export interface ClusterComputedStatusDto {
|
|
|
131
131
|
'node_warnings': {
|
|
132
132
|
[key: string]: Array<QoveryNodeFailure>;
|
|
133
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<QoveryComponentDto>}
|
|
137
|
+
* @memberof ClusterComputedStatusDto
|
|
138
|
+
*/
|
|
139
|
+
'qovery_components': Array<QoveryComponentDto>;
|
|
134
140
|
/**
|
|
135
141
|
*
|
|
136
142
|
* @type {Array<QoveryComponentInFailure>}
|
|
@@ -1383,6 +1389,43 @@ export declare const QoveryComponentContainerStatusLevel: {
|
|
|
1383
1389
|
readonly WARNING: "WARNING";
|
|
1384
1390
|
};
|
|
1385
1391
|
export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContainerStatusLevel[keyof typeof QoveryComponentContainerStatusLevel];
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @export
|
|
1395
|
+
* @interface QoveryComponentDto
|
|
1396
|
+
*/
|
|
1397
|
+
export interface QoveryComponentDto {
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @type {Array<QoveryComponentInFailure>}
|
|
1401
|
+
* @memberof QoveryComponentDto
|
|
1402
|
+
*/
|
|
1403
|
+
'error_detail': Array<QoveryComponentInFailure>;
|
|
1404
|
+
/**
|
|
1405
|
+
*
|
|
1406
|
+
* @type {Array<string>}
|
|
1407
|
+
* @memberof QoveryComponentDto
|
|
1408
|
+
*/
|
|
1409
|
+
'images_version': Array<string>;
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @type {string}
|
|
1413
|
+
* @memberof QoveryComponentDto
|
|
1414
|
+
*/
|
|
1415
|
+
'name': string;
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @type {string}
|
|
1419
|
+
* @memberof QoveryComponentDto
|
|
1420
|
+
*/
|
|
1421
|
+
'namespace': string;
|
|
1422
|
+
/**
|
|
1423
|
+
*
|
|
1424
|
+
* @type {QoveryComponentStatus}
|
|
1425
|
+
* @memberof QoveryComponentDto
|
|
1426
|
+
*/
|
|
1427
|
+
'status': QoveryComponentStatus;
|
|
1428
|
+
}
|
|
1386
1429
|
/**
|
|
1387
1430
|
* @type QoveryComponentInFailure
|
|
1388
1431
|
* @export
|
|
@@ -1392,6 +1435,16 @@ export type QoveryComponentInFailure = {
|
|
|
1392
1435
|
} & MissingComponentValue | {
|
|
1393
1436
|
type: 'POD_IN_ERROR';
|
|
1394
1437
|
} & PodInErrorValue;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @export
|
|
1441
|
+
* @enum {string}
|
|
1442
|
+
*/
|
|
1443
|
+
export declare const QoveryComponentStatus: {
|
|
1444
|
+
readonly RUNNING: "RUNNING";
|
|
1445
|
+
readonly ERROR: "ERROR";
|
|
1446
|
+
};
|
|
1447
|
+
export type QoveryComponentStatus = typeof QoveryComponentStatus[keyof typeof QoveryComponentStatus];
|
|
1395
1448
|
/**
|
|
1396
1449
|
*
|
|
1397
1450
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
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 = 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.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceStateDto = exports.ResourceStatusDto = exports.QoveryComponentContainerStatusLevel = exports.DebugFlavor = exports.ClusterStatusGlobalStatus = void 0;
|
|
25
|
+
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 = 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.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceStateDto = exports.ResourceStatusDto = exports.QoveryComponentStatus = exports.QoveryComponentContainerStatusLevel = exports.DebugFlavor = exports.ClusterStatusGlobalStatus = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -57,6 +57,15 @@ exports.QoveryComponentContainerStatusLevel = {
|
|
|
57
57
|
ERROR: 'ERROR',
|
|
58
58
|
WARNING: 'WARNING'
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @enum {string}
|
|
64
|
+
*/
|
|
65
|
+
exports.QoveryComponentStatus = {
|
|
66
|
+
RUNNING: 'RUNNING',
|
|
67
|
+
ERROR: 'ERROR'
|
|
68
|
+
};
|
|
60
69
|
/**
|
|
61
70
|
*
|
|
62
71
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -131,6 +131,12 @@ export interface ClusterComputedStatusDto {
|
|
|
131
131
|
'node_warnings': {
|
|
132
132
|
[key: string]: Array<QoveryNodeFailure>;
|
|
133
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<QoveryComponentDto>}
|
|
137
|
+
* @memberof ClusterComputedStatusDto
|
|
138
|
+
*/
|
|
139
|
+
'qovery_components': Array<QoveryComponentDto>;
|
|
134
140
|
/**
|
|
135
141
|
*
|
|
136
142
|
* @type {Array<QoveryComponentInFailure>}
|
|
@@ -1383,6 +1389,43 @@ export declare const QoveryComponentContainerStatusLevel: {
|
|
|
1383
1389
|
readonly WARNING: "WARNING";
|
|
1384
1390
|
};
|
|
1385
1391
|
export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContainerStatusLevel[keyof typeof QoveryComponentContainerStatusLevel];
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @export
|
|
1395
|
+
* @interface QoveryComponentDto
|
|
1396
|
+
*/
|
|
1397
|
+
export interface QoveryComponentDto {
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @type {Array<QoveryComponentInFailure>}
|
|
1401
|
+
* @memberof QoveryComponentDto
|
|
1402
|
+
*/
|
|
1403
|
+
'error_detail': Array<QoveryComponentInFailure>;
|
|
1404
|
+
/**
|
|
1405
|
+
*
|
|
1406
|
+
* @type {Array<string>}
|
|
1407
|
+
* @memberof QoveryComponentDto
|
|
1408
|
+
*/
|
|
1409
|
+
'images_version': Array<string>;
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @type {string}
|
|
1413
|
+
* @memberof QoveryComponentDto
|
|
1414
|
+
*/
|
|
1415
|
+
'name': string;
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @type {string}
|
|
1419
|
+
* @memberof QoveryComponentDto
|
|
1420
|
+
*/
|
|
1421
|
+
'namespace': string;
|
|
1422
|
+
/**
|
|
1423
|
+
*
|
|
1424
|
+
* @type {QoveryComponentStatus}
|
|
1425
|
+
* @memberof QoveryComponentDto
|
|
1426
|
+
*/
|
|
1427
|
+
'status': QoveryComponentStatus;
|
|
1428
|
+
}
|
|
1386
1429
|
/**
|
|
1387
1430
|
* @type QoveryComponentInFailure
|
|
1388
1431
|
* @export
|
|
@@ -1392,6 +1435,16 @@ export type QoveryComponentInFailure = {
|
|
|
1392
1435
|
} & MissingComponentValue | {
|
|
1393
1436
|
type: 'POD_IN_ERROR';
|
|
1394
1437
|
} & PodInErrorValue;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @export
|
|
1441
|
+
* @enum {string}
|
|
1442
|
+
*/
|
|
1443
|
+
export declare const QoveryComponentStatus: {
|
|
1444
|
+
readonly RUNNING: "RUNNING";
|
|
1445
|
+
readonly ERROR: "ERROR";
|
|
1446
|
+
};
|
|
1447
|
+
export type QoveryComponentStatus = typeof QoveryComponentStatus[keyof typeof QoveryComponentStatus];
|
|
1395
1448
|
/**
|
|
1396
1449
|
*
|
|
1397
1450
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -54,6 +54,15 @@ export const QoveryComponentContainerStatusLevel = {
|
|
|
54
54
|
ERROR: 'ERROR',
|
|
55
55
|
WARNING: 'WARNING'
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
export const QoveryComponentStatus = {
|
|
63
|
+
RUNNING: 'RUNNING',
|
|
64
|
+
ERROR: 'ERROR'
|
|
65
|
+
};
|
|
57
66
|
/**
|
|
58
67
|
*
|
|
59
68
|
* @export
|