@forteplatforms/sdk 1.0.290 → 1.0.292
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/dist/generated/apis/ProjectsServerApi.d.ts +16 -23
- package/dist/generated/apis/ProjectsServerApi.js +67 -88
- package/dist/generated/models/ForteApiException.d.ts +1 -0
- package/dist/generated/models/ForteApiException.js +1 -0
- package/dist/generated/models/InstanceCountSeries.d.ts +39 -0
- package/dist/generated/models/InstanceCountSeries.js +56 -0
- package/dist/generated/models/RequestLogFilter.d.ts +82 -0
- package/dist/generated/models/RequestLogFilter.js +67 -0
- package/dist/generated/models/RequestLogPathFilter.d.ts +50 -0
- package/dist/generated/models/RequestLogPathFilter.js +55 -0
- package/dist/generated/models/RequestLogSearchRequest.d.ts +52 -0
- package/dist/generated/models/RequestLogSearchRequest.js +57 -0
- package/dist/generated/models/RequestLogSort.d.ts +54 -0
- package/dist/generated/models/RequestLogSort.js +66 -0
- package/dist/generated/models/RequestLogStatusFilter.d.ts +51 -0
- package/dist/generated/models/RequestLogStatusFilter.js +56 -0
- package/dist/generated/models/ServiceMetricsResponse.d.ts +20 -0
- package/dist/generated/models/ServiceMetricsResponse.js +14 -0
- package/dist/generated/models/StatusRange.d.ts +38 -0
- package/dist/generated/models/StatusRange.js +55 -0
- package/dist/generated/models/UtilizationDataPoint.d.ts +38 -0
- package/dist/generated/models/UtilizationDataPoint.js +55 -0
- package/dist/generated/models/UtilizationSeries.d.ts +45 -0
- package/dist/generated/models/UtilizationSeries.js +60 -0
- package/dist/generated/models/index.d.ts +9 -0
- package/dist/generated/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRequestLogSearchRequest = instanceOfRequestLogSearchRequest;
|
|
17
|
+
exports.RequestLogSearchRequestFromJSON = RequestLogSearchRequestFromJSON;
|
|
18
|
+
exports.RequestLogSearchRequestFromJSONTyped = RequestLogSearchRequestFromJSONTyped;
|
|
19
|
+
exports.RequestLogSearchRequestToJSON = RequestLogSearchRequestToJSON;
|
|
20
|
+
exports.RequestLogSearchRequestToJSONTyped = RequestLogSearchRequestToJSONTyped;
|
|
21
|
+
var RequestLogSort_1 = require("./RequestLogSort");
|
|
22
|
+
var RequestLogFilter_1 = require("./RequestLogFilter");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RequestLogSearchRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfRequestLogSearchRequest(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function RequestLogSearchRequestFromJSON(json) {
|
|
30
|
+
return RequestLogSearchRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function RequestLogSearchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'filter': json['filter'] == null ? undefined : (0, RequestLogFilter_1.RequestLogFilterFromJSON)(json['filter']),
|
|
38
|
+
'sort': json['sort'] == null ? undefined : (0, RequestLogSort_1.RequestLogSortFromJSON)(json['sort']),
|
|
39
|
+
'nextToken': json['nextToken'] == null ? undefined : json['nextToken'],
|
|
40
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RequestLogSearchRequestToJSON(json) {
|
|
44
|
+
return RequestLogSearchRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RequestLogSearchRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'filter': (0, RequestLogFilter_1.RequestLogFilterToJSON)(value['filter']),
|
|
53
|
+
'sort': (0, RequestLogSort_1.RequestLogSortToJSON)(value['sort']),
|
|
54
|
+
'nextToken': value['nextToken'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RequestLogSort
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestLogSort {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {RequestLogSortSortByType}
|
|
21
|
+
* @memberof RequestLogSort
|
|
22
|
+
*/
|
|
23
|
+
sortBy?: RequestLogSortSortByType;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {RequestLogSortSortDirType}
|
|
27
|
+
* @memberof RequestLogSort
|
|
28
|
+
*/
|
|
29
|
+
sortDir?: RequestLogSortSortDirType;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const RequestLogSortSortByType: {
|
|
35
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
36
|
+
readonly TOTAL_LATENCY_MILLISECONDS: "TOTAL_LATENCY_MILLISECONDS";
|
|
37
|
+
};
|
|
38
|
+
export type RequestLogSortSortByType = typeof RequestLogSortSortByType[keyof typeof RequestLogSortSortByType];
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export declare const RequestLogSortSortDirType: {
|
|
43
|
+
readonly ASC: "ASC";
|
|
44
|
+
readonly DESC: "DESC";
|
|
45
|
+
};
|
|
46
|
+
export type RequestLogSortSortDirType = typeof RequestLogSortSortDirType[keyof typeof RequestLogSortSortDirType];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the RequestLogSort interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfRequestLogSort(value: object): value is RequestLogSort;
|
|
51
|
+
export declare function RequestLogSortFromJSON(json: any): RequestLogSort;
|
|
52
|
+
export declare function RequestLogSortFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLogSort;
|
|
53
|
+
export declare function RequestLogSortToJSON(json: any): RequestLogSort;
|
|
54
|
+
export declare function RequestLogSortToJSONTyped(value?: RequestLogSort | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RequestLogSortSortDirType = exports.RequestLogSortSortByType = void 0;
|
|
17
|
+
exports.instanceOfRequestLogSort = instanceOfRequestLogSort;
|
|
18
|
+
exports.RequestLogSortFromJSON = RequestLogSortFromJSON;
|
|
19
|
+
exports.RequestLogSortFromJSONTyped = RequestLogSortFromJSONTyped;
|
|
20
|
+
exports.RequestLogSortToJSON = RequestLogSortToJSON;
|
|
21
|
+
exports.RequestLogSortToJSONTyped = RequestLogSortToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RequestLogSortSortByType = {
|
|
26
|
+
TIMESTAMP: 'TIMESTAMP',
|
|
27
|
+
TOTAL_LATENCY_MILLISECONDS: 'TOTAL_LATENCY_MILLISECONDS'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.RequestLogSortSortDirType = {
|
|
33
|
+
ASC: 'ASC',
|
|
34
|
+
DESC: 'DESC'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the RequestLogSort interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfRequestLogSort(value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function RequestLogSortFromJSON(json) {
|
|
43
|
+
return RequestLogSortFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function RequestLogSortFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
51
|
+
'sortDir': json['sortDir'] == null ? undefined : json['sortDir'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function RequestLogSortToJSON(json) {
|
|
55
|
+
return RequestLogSortToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function RequestLogSortToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'sortBy': value['sortBy'],
|
|
64
|
+
'sortDir': value['sortDir'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StatusRange } from './StatusRange';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RequestLogStatusFilter
|
|
17
|
+
*/
|
|
18
|
+
export interface RequestLogStatusFilter {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<number>}
|
|
22
|
+
* @memberof RequestLogStatusFilter
|
|
23
|
+
*/
|
|
24
|
+
codes?: Array<number>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<StatusRange>}
|
|
28
|
+
* @memberof RequestLogStatusFilter
|
|
29
|
+
*/
|
|
30
|
+
ranges?: Array<StatusRange>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<number>}
|
|
34
|
+
* @memberof RequestLogStatusFilter
|
|
35
|
+
*/
|
|
36
|
+
notCodes?: Array<number>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<StatusRange>}
|
|
40
|
+
* @memberof RequestLogStatusFilter
|
|
41
|
+
*/
|
|
42
|
+
notRanges?: Array<StatusRange>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the RequestLogStatusFilter interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfRequestLogStatusFilter(value: object): value is RequestLogStatusFilter;
|
|
48
|
+
export declare function RequestLogStatusFilterFromJSON(json: any): RequestLogStatusFilter;
|
|
49
|
+
export declare function RequestLogStatusFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestLogStatusFilter;
|
|
50
|
+
export declare function RequestLogStatusFilterToJSON(json: any): RequestLogStatusFilter;
|
|
51
|
+
export declare function RequestLogStatusFilterToJSONTyped(value?: RequestLogStatusFilter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRequestLogStatusFilter = instanceOfRequestLogStatusFilter;
|
|
17
|
+
exports.RequestLogStatusFilterFromJSON = RequestLogStatusFilterFromJSON;
|
|
18
|
+
exports.RequestLogStatusFilterFromJSONTyped = RequestLogStatusFilterFromJSONTyped;
|
|
19
|
+
exports.RequestLogStatusFilterToJSON = RequestLogStatusFilterToJSON;
|
|
20
|
+
exports.RequestLogStatusFilterToJSONTyped = RequestLogStatusFilterToJSONTyped;
|
|
21
|
+
var StatusRange_1 = require("./StatusRange");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the RequestLogStatusFilter interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfRequestLogStatusFilter(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function RequestLogStatusFilterFromJSON(json) {
|
|
29
|
+
return RequestLogStatusFilterFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function RequestLogStatusFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'codes': json['codes'] == null ? undefined : json['codes'],
|
|
37
|
+
'ranges': json['ranges'] == null ? undefined : (json['ranges'].map(StatusRange_1.StatusRangeFromJSON)),
|
|
38
|
+
'notCodes': json['notCodes'] == null ? undefined : json['notCodes'],
|
|
39
|
+
'notRanges': json['notRanges'] == null ? undefined : (json['notRanges'].map(StatusRange_1.StatusRangeFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function RequestLogStatusFilterToJSON(json) {
|
|
43
|
+
return RequestLogStatusFilterToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function RequestLogStatusFilterToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'codes': value['codes'],
|
|
52
|
+
'ranges': value['ranges'] == null ? undefined : (value['ranges'].map(StatusRange_1.StatusRangeToJSON)),
|
|
53
|
+
'notCodes': value['notCodes'],
|
|
54
|
+
'notRanges': value['notRanges'] == null ? undefined : (value['notRanges'].map(StatusRange_1.StatusRangeToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TimeSeriesDataPoint } from './TimeSeriesDataPoint';
|
|
13
|
+
import type { InstanceCountSeries } from './InstanceCountSeries';
|
|
14
|
+
import type { UtilizationSeries } from './UtilizationSeries';
|
|
13
15
|
import type { LatencyMetrics } from './LatencyMetrics';
|
|
14
16
|
import type { LatencyPercentileSeries } from './LatencyPercentileSeries';
|
|
15
17
|
/**
|
|
@@ -52,6 +54,24 @@ export interface ServiceMetricsResponse {
|
|
|
52
54
|
* @memberof ServiceMetricsResponse
|
|
53
55
|
*/
|
|
54
56
|
totalLatencySeries: LatencyPercentileSeries;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {InstanceCountSeries}
|
|
60
|
+
* @memberof ServiceMetricsResponse
|
|
61
|
+
*/
|
|
62
|
+
concurrentInstances: InstanceCountSeries;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {UtilizationSeries}
|
|
66
|
+
* @memberof ServiceMetricsResponse
|
|
67
|
+
*/
|
|
68
|
+
cpuUtilization: UtilizationSeries;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {UtilizationSeries}
|
|
72
|
+
* @memberof ServiceMetricsResponse
|
|
73
|
+
*/
|
|
74
|
+
memoryUtilization: UtilizationSeries;
|
|
55
75
|
}
|
|
56
76
|
/**
|
|
57
77
|
* Check if a given object implements the ServiceMetricsResponse interface.
|
|
@@ -19,6 +19,8 @@ exports.ServiceMetricsResponseFromJSONTyped = ServiceMetricsResponseFromJSONType
|
|
|
19
19
|
exports.ServiceMetricsResponseToJSON = ServiceMetricsResponseToJSON;
|
|
20
20
|
exports.ServiceMetricsResponseToJSONTyped = ServiceMetricsResponseToJSONTyped;
|
|
21
21
|
var TimeSeriesDataPoint_1 = require("./TimeSeriesDataPoint");
|
|
22
|
+
var InstanceCountSeries_1 = require("./InstanceCountSeries");
|
|
23
|
+
var UtilizationSeries_1 = require("./UtilizationSeries");
|
|
22
24
|
var LatencyMetrics_1 = require("./LatencyMetrics");
|
|
23
25
|
var LatencyPercentileSeries_1 = require("./LatencyPercentileSeries");
|
|
24
26
|
/**
|
|
@@ -35,6 +37,12 @@ function instanceOfServiceMetricsResponse(value) {
|
|
|
35
37
|
return false;
|
|
36
38
|
if (!('totalLatencySeries' in value) || value['totalLatencySeries'] === undefined)
|
|
37
39
|
return false;
|
|
40
|
+
if (!('concurrentInstances' in value) || value['concurrentInstances'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('cpuUtilization' in value) || value['cpuUtilization'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('memoryUtilization' in value) || value['memoryUtilization'] === undefined)
|
|
45
|
+
return false;
|
|
38
46
|
return true;
|
|
39
47
|
}
|
|
40
48
|
function ServiceMetricsResponseFromJSON(json) {
|
|
@@ -50,6 +58,9 @@ function ServiceMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
58
|
'statusCodeGroupCounts': json['statusCodeGroupCounts'],
|
|
51
59
|
'latencyMetrics': (0, LatencyMetrics_1.LatencyMetricsFromJSON)(json['latencyMetrics']),
|
|
52
60
|
'totalLatencySeries': (0, LatencyPercentileSeries_1.LatencyPercentileSeriesFromJSON)(json['totalLatencySeries']),
|
|
61
|
+
'concurrentInstances': (0, InstanceCountSeries_1.InstanceCountSeriesFromJSON)(json['concurrentInstances']),
|
|
62
|
+
'cpuUtilization': (0, UtilizationSeries_1.UtilizationSeriesFromJSON)(json['cpuUtilization']),
|
|
63
|
+
'memoryUtilization': (0, UtilizationSeries_1.UtilizationSeriesFromJSON)(json['memoryUtilization']),
|
|
53
64
|
};
|
|
54
65
|
}
|
|
55
66
|
function ServiceMetricsResponseToJSON(json) {
|
|
@@ -66,5 +77,8 @@ function ServiceMetricsResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
66
77
|
'statusCodeGroupCounts': value['statusCodeGroupCounts'],
|
|
67
78
|
'latencyMetrics': (0, LatencyMetrics_1.LatencyMetricsToJSON)(value['latencyMetrics']),
|
|
68
79
|
'totalLatencySeries': (0, LatencyPercentileSeries_1.LatencyPercentileSeriesToJSON)(value['totalLatencySeries']),
|
|
80
|
+
'concurrentInstances': (0, InstanceCountSeries_1.InstanceCountSeriesToJSON)(value['concurrentInstances']),
|
|
81
|
+
'cpuUtilization': (0, UtilizationSeries_1.UtilizationSeriesToJSON)(value['cpuUtilization']),
|
|
82
|
+
'memoryUtilization': (0, UtilizationSeries_1.UtilizationSeriesToJSON)(value['memoryUtilization']),
|
|
69
83
|
};
|
|
70
84
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StatusRange
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusRange {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StatusRange
|
|
22
|
+
*/
|
|
23
|
+
from: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof StatusRange
|
|
28
|
+
*/
|
|
29
|
+
to: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the StatusRange interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfStatusRange(value: object): value is StatusRange;
|
|
35
|
+
export declare function StatusRangeFromJSON(json: any): StatusRange;
|
|
36
|
+
export declare function StatusRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusRange;
|
|
37
|
+
export declare function StatusRangeToJSON(json: any): StatusRange;
|
|
38
|
+
export declare function StatusRangeToJSONTyped(value?: StatusRange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStatusRange = instanceOfStatusRange;
|
|
17
|
+
exports.StatusRangeFromJSON = StatusRangeFromJSON;
|
|
18
|
+
exports.StatusRangeFromJSONTyped = StatusRangeFromJSONTyped;
|
|
19
|
+
exports.StatusRangeToJSON = StatusRangeToJSON;
|
|
20
|
+
exports.StatusRangeToJSONTyped = StatusRangeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StatusRange interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStatusRange(value) {
|
|
25
|
+
if (!('from' in value) || value['from'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('to' in value) || value['to'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function StatusRangeFromJSON(json) {
|
|
32
|
+
return StatusRangeFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function StatusRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'from': json['from'],
|
|
40
|
+
'to': json['to'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function StatusRangeToJSON(json) {
|
|
44
|
+
return StatusRangeToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function StatusRangeToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'from': value['from'],
|
|
53
|
+
'to': value['to'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UtilizationDataPoint
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilizationDataPoint {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof UtilizationDataPoint
|
|
22
|
+
*/
|
|
23
|
+
timestamp: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UtilizationDataPoint
|
|
28
|
+
*/
|
|
29
|
+
value: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UtilizationDataPoint interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUtilizationDataPoint(value: object): value is UtilizationDataPoint;
|
|
35
|
+
export declare function UtilizationDataPointFromJSON(json: any): UtilizationDataPoint;
|
|
36
|
+
export declare function UtilizationDataPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilizationDataPoint;
|
|
37
|
+
export declare function UtilizationDataPointToJSON(json: any): UtilizationDataPoint;
|
|
38
|
+
export declare function UtilizationDataPointToJSONTyped(value?: UtilizationDataPoint | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUtilizationDataPoint = instanceOfUtilizationDataPoint;
|
|
17
|
+
exports.UtilizationDataPointFromJSON = UtilizationDataPointFromJSON;
|
|
18
|
+
exports.UtilizationDataPointFromJSONTyped = UtilizationDataPointFromJSONTyped;
|
|
19
|
+
exports.UtilizationDataPointToJSON = UtilizationDataPointToJSON;
|
|
20
|
+
exports.UtilizationDataPointToJSONTyped = UtilizationDataPointToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UtilizationDataPoint interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUtilizationDataPoint(value) {
|
|
25
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UtilizationDataPointFromJSON(json) {
|
|
32
|
+
return UtilizationDataPointFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UtilizationDataPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function UtilizationDataPointToJSON(json) {
|
|
44
|
+
return UtilizationDataPointToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function UtilizationDataPointToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
53
|
+
'value': value['value'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UtilizationDataPoint } from './UtilizationDataPoint';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UtilizationSeries
|
|
17
|
+
*/
|
|
18
|
+
export interface UtilizationSeries {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UtilizationDataPoint>}
|
|
22
|
+
* @memberof UtilizationSeries
|
|
23
|
+
*/
|
|
24
|
+
min: Array<UtilizationDataPoint>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<UtilizationDataPoint>}
|
|
28
|
+
* @memberof UtilizationSeries
|
|
29
|
+
*/
|
|
30
|
+
average: Array<UtilizationDataPoint>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<UtilizationDataPoint>}
|
|
34
|
+
* @memberof UtilizationSeries
|
|
35
|
+
*/
|
|
36
|
+
max: Array<UtilizationDataPoint>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the UtilizationSeries interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfUtilizationSeries(value: object): value is UtilizationSeries;
|
|
42
|
+
export declare function UtilizationSeriesFromJSON(json: any): UtilizationSeries;
|
|
43
|
+
export declare function UtilizationSeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilizationSeries;
|
|
44
|
+
export declare function UtilizationSeriesToJSON(json: any): UtilizationSeries;
|
|
45
|
+
export declare function UtilizationSeriesToJSONTyped(value?: UtilizationSeries | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUtilizationSeries = instanceOfUtilizationSeries;
|
|
17
|
+
exports.UtilizationSeriesFromJSON = UtilizationSeriesFromJSON;
|
|
18
|
+
exports.UtilizationSeriesFromJSONTyped = UtilizationSeriesFromJSONTyped;
|
|
19
|
+
exports.UtilizationSeriesToJSON = UtilizationSeriesToJSON;
|
|
20
|
+
exports.UtilizationSeriesToJSONTyped = UtilizationSeriesToJSONTyped;
|
|
21
|
+
var UtilizationDataPoint_1 = require("./UtilizationDataPoint");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UtilizationSeries interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUtilizationSeries(value) {
|
|
26
|
+
if (!('min' in value) || value['min'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('average' in value) || value['average'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('max' in value) || value['max'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function UtilizationSeriesFromJSON(json) {
|
|
35
|
+
return UtilizationSeriesFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function UtilizationSeriesFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'min': (json['min'].map(UtilizationDataPoint_1.UtilizationDataPointFromJSON)),
|
|
43
|
+
'average': (json['average'].map(UtilizationDataPoint_1.UtilizationDataPointFromJSON)),
|
|
44
|
+
'max': (json['max'].map(UtilizationDataPoint_1.UtilizationDataPointFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UtilizationSeriesToJSON(json) {
|
|
48
|
+
return UtilizationSeriesToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UtilizationSeriesToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'min': (value['min'].map(UtilizationDataPoint_1.UtilizationDataPointToJSON)),
|
|
57
|
+
'average': (value['average'].map(UtilizationDataPoint_1.UtilizationDataPointToJSON)),
|
|
58
|
+
'max': (value['max'].map(UtilizationDataPoint_1.UtilizationDataPointToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|