@sentio/api 1.0.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/BUILD.bazel +14 -0
- package/README.md +1 -0
- package/doc/index.html +11971 -0
- package/jest.config.ts +6 -0
- package/package.json +30 -0
- package/spec.json +2635 -0
- package/src/apis/DefaultApi.ts +910 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/CommonAggregate.ts +80 -0
- package/src/models/CommonAggregateAggregateOps.ts +42 -0
- package/src/models/CommonAny.ts +120 -0
- package/src/models/CommonArgument.ts +104 -0
- package/src/models/CommonDuration.ts +73 -0
- package/src/models/CommonErrorRecord.ts +105 -0
- package/src/models/CommonFormula.ts +89 -0
- package/src/models/CommonFunction.ts +80 -0
- package/src/models/CommonJoinOperator.ts +39 -0
- package/src/models/CommonLogEntry.ts +153 -0
- package/src/models/CommonOrganization.ts +156 -0
- package/src/models/CommonOrganizationMember.ts +86 -0
- package/src/models/CommonOrganizationRole.ts +39 -0
- package/src/models/CommonOwner.ts +100 -0
- package/src/models/CommonPermission.ts +40 -0
- package/src/models/CommonProject.ts +172 -0
- package/src/models/CommonProjectInfo.ts +136 -0
- package/src/models/CommonProjectProjectMember.ts +80 -0
- package/src/models/CommonProjectVisibility.ts +39 -0
- package/src/models/CommonQuery.ts +126 -0
- package/src/models/CommonSegmentationQuery.ts +132 -0
- package/src/models/CommonSegmentationQueryAggregation.ts +102 -0
- package/src/models/CommonSegmentationQueryAggregationAggregateProperties.ts +80 -0
- package/src/models/CommonSegmentationQueryAggregationAggregatePropertiesAggregationType.ts +44 -0
- package/src/models/CommonSegmentationQueryAggregationCountUnique.ts +72 -0
- package/src/models/CommonSegmentationQueryResource.ts +80 -0
- package/src/models/CommonSegmentationQueryResourceType.ts +39 -0
- package/src/models/CommonSegmentationQuerySelectorExpr.ts +86 -0
- package/src/models/CommonSegmentationQuerySelectorExprLogicExpr.ts +86 -0
- package/src/models/CommonSelector.ts +94 -0
- package/src/models/CommonSelectorOperatorType.ts +50 -0
- package/src/models/CommonStringList.ts +65 -0
- package/src/models/CommonTier.ts +41 -0
- package/src/models/CommonTimeRange.ts +110 -0
- package/src/models/CommonTimeRangeLite.ts +89 -0
- package/src/models/CommonTimeRangeRelativeTime.ts +73 -0
- package/src/models/CommonTimeRangeTimeLike.ts +80 -0
- package/src/models/CommonUser.ts +182 -0
- package/src/models/CommonUserAccountStatus.ts +41 -0
- package/src/models/CommonUserInfo.ts +105 -0
- package/src/models/GoogleProtobufNullValue.ts +43 -0
- package/src/models/MetricsServiceLogQueryRequestFilter.ts +81 -0
- package/src/models/MetricsServiceLogQueryRequestSort.ts +73 -0
- package/src/models/MetricsServiceLogQueryResponse.ts +94 -0
- package/src/models/MetricsServiceMetricsQueryResponse.ts +72 -0
- package/src/models/MetricsServiceMetricsQueryResponseMatrix.ts +80 -0
- package/src/models/MetricsServiceMetricsQueryResponseMetric.ts +81 -0
- package/src/models/MetricsServiceMetricsQueryResponseResult.ts +96 -0
- package/src/models/MetricsServiceMetricsQueryResponseSample.ts +86 -0
- package/src/models/MetricsServiceMetricsQueryResponseValue.ts +73 -0
- package/src/models/MetricsServiceQueryValueResponse.ts +72 -0
- package/src/models/MetricsServiceQueryValueResponseResult.ts +96 -0
- package/src/models/ProcessorServiceChainState.ts +168 -0
- package/src/models/ProcessorServiceChainStateStatus.ts +86 -0
- package/src/models/ProcessorServiceChainStateStatusState.ts +41 -0
- package/src/models/ProcessorServiceDownloadProcessorResponse.ts +65 -0
- package/src/models/ProcessorServiceGetProcessorResponse.ts +72 -0
- package/src/models/ProcessorServiceGetProcessorStatusResponse.ts +72 -0
- package/src/models/ProcessorServiceGetProcessorStatusResponseProcessorEx.ts +170 -0
- package/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatus.ts +86 -0
- package/src/models/ProcessorServiceGetProcessorStatusResponseProcessorStatusState.ts +41 -0
- package/src/models/ProcessorServiceGetProcessorWithProjectResponse.ts +86 -0
- package/src/models/ProcessorServiceGetProcessorsResponse.ts +72 -0
- package/src/models/ProcessorServiceGetProjectVersionsResponse.ts +72 -0
- package/src/models/ProcessorServiceGetProjectVersionsResponseVersion.ts +88 -0
- package/src/models/ProcessorServiceProcessor.ts +150 -0
- package/src/models/ProcessorServiceProcessorVersionState.ts +41 -0
- package/src/models/QueryLogRequest.ts +146 -0
- package/src/models/QueryRangeRequest.ts +124 -0
- package/src/models/QueryRequest.ts +118 -0
- package/src/models/WebServiceChart.ts +156 -0
- package/src/models/WebServiceChartChartType.ts +45 -0
- package/src/models/WebServiceChartConfig.ts +156 -0
- package/src/models/WebServiceChartConfigBarGaugeConfig.ts +100 -0
- package/src/models/WebServiceChartConfigCalculation.ts +42 -0
- package/src/models/WebServiceChartConfigColorTheme.ts +81 -0
- package/src/models/WebServiceChartConfigColumnSort.ts +73 -0
- package/src/models/WebServiceChartConfigDirection.ts +39 -0
- package/src/models/WebServiceChartConfigMappingRule.ts +96 -0
- package/src/models/WebServiceChartConfigPieConfig.ts +102 -0
- package/src/models/WebServiceChartConfigPieConfigPieType.ts +39 -0
- package/src/models/WebServiceChartConfigQueryValueConfig.ts +94 -0
- package/src/models/WebServiceChartConfigSort.ts +80 -0
- package/src/models/WebServiceChartConfigSortBy.ts +39 -0
- package/src/models/WebServiceChartConfigTableConfig.ts +140 -0
- package/src/models/WebServiceChartConfigTimeRangeOverride.ts +80 -0
- package/src/models/WebServiceChartConfigValueConfig.ts +148 -0
- package/src/models/WebServiceChartConfigValueConfigStyle.ts +42 -0
- package/src/models/WebServiceChartConfigValueFormatter.ts +40 -0
- package/src/models/WebServiceChartConfigYAxisConfig.ts +89 -0
- package/src/models/WebServiceChartDataSourceType.ts +40 -0
- package/src/models/WebServiceDashboard.ts +162 -0
- package/src/models/WebServiceDashboardExtra.ts +86 -0
- package/src/models/WebServiceDashboardExtraTemplateVariable.ts +73 -0
- package/src/models/WebServiceDashboardExtraTemplateView.ts +65 -0
- package/src/models/WebServiceDashboardLayouts.ts +72 -0
- package/src/models/WebServiceDashboardLayoutsLayout.ts +97 -0
- package/src/models/WebServiceDashboardResponsiveLayouts.ts +72 -0
- package/src/models/WebServiceDashboardSharing.ts +89 -0
- package/src/models/WebServiceExportDashboardResponse.ts +65 -0
- package/src/models/WebServiceGetDashboardResponse.ts +86 -0
- package/src/models/WebServiceGetProjectResponse.ts +86 -0
- package/src/models/WebServiceImportDashboardRequest.ts +81 -0
- package/src/models/WebServiceImportDashboardResponse.ts +72 -0
- package/src/models/WebServiceNote.ts +94 -0
- package/src/models/WebServiceNoteAlignment.ts +40 -0
- package/src/models/WebServiceNoteFontSize.ts +42 -0
- package/src/models/WebServicePanel.ts +96 -0
- package/src/models/index.ts +110 -0
- package/src/runtime.ts +407 -0
- package/test/simple.test.ts +21 -0
- package/tsconfig.json +34 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const CommonUserAccountStatus = {
|
|
21
|
+
Pending: 'PENDING',
|
|
22
|
+
SetUsername: 'SET_USERNAME',
|
|
23
|
+
Banned: 'BANNED',
|
|
24
|
+
Active: 'ACTIVE',
|
|
25
|
+
UnknownDefaultOpenApi: '11184809'
|
|
26
|
+
} as const;
|
|
27
|
+
export type CommonUserAccountStatus = typeof CommonUserAccountStatus[keyof typeof CommonUserAccountStatus];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function CommonUserAccountStatusFromJSON(json: any): CommonUserAccountStatus {
|
|
31
|
+
return CommonUserAccountStatusFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function CommonUserAccountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonUserAccountStatus {
|
|
35
|
+
return json as CommonUserAccountStatus;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CommonUserAccountStatusToJSON(value?: CommonUserAccountStatus | null): any {
|
|
39
|
+
return value as any;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* The same to user but with sensitive data removed.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CommonUserInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface CommonUserInfo {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CommonUserInfo
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CommonUserInfo
|
|
32
|
+
*/
|
|
33
|
+
lastName?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CommonUserInfo
|
|
38
|
+
*/
|
|
39
|
+
firstName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CommonUserInfo
|
|
44
|
+
*/
|
|
45
|
+
nickname?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CommonUserInfo
|
|
50
|
+
*/
|
|
51
|
+
picture?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof CommonUserInfo
|
|
56
|
+
*/
|
|
57
|
+
username?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CommonUserInfo interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfCommonUserInfo(value: object): boolean {
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
|
|
66
|
+
return isInstance;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function CommonUserInfoFromJSON(json: any): CommonUserInfo {
|
|
70
|
+
return CommonUserInfoFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function CommonUserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonUserInfo {
|
|
74
|
+
if ((json === undefined) || (json === null)) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
80
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
81
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
82
|
+
'nickname': !exists(json, 'nickname') ? undefined : json['nickname'],
|
|
83
|
+
'picture': !exists(json, 'picture') ? undefined : json['picture'],
|
|
84
|
+
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function CommonUserInfoToJSON(value?: CommonUserInfo | null): any {
|
|
89
|
+
if (value === undefined) {
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
if (value === null) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': value.id,
|
|
98
|
+
'lastName': value.lastName,
|
|
99
|
+
'firstName': value.firstName,
|
|
100
|
+
'nickname': value.nickname,
|
|
101
|
+
'picture': value.picture,
|
|
102
|
+
'username': value.username,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
18
|
+
* `Value` type union.
|
|
19
|
+
*
|
|
20
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
21
|
+
*
|
|
22
|
+
* - NULL_VALUE: Null value.
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const GoogleProtobufNullValue = {
|
|
26
|
+
NullValue: 'NULL_VALUE',
|
|
27
|
+
UnknownDefaultOpenApi: '11184809'
|
|
28
|
+
} as const;
|
|
29
|
+
export type GoogleProtobufNullValue = typeof GoogleProtobufNullValue[keyof typeof GoogleProtobufNullValue];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function GoogleProtobufNullValueFromJSON(json: any): GoogleProtobufNullValue {
|
|
33
|
+
return GoogleProtobufNullValueFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function GoogleProtobufNullValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleProtobufNullValue {
|
|
37
|
+
return json as GoogleProtobufNullValue;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function GoogleProtobufNullValueToJSON(value?: GoogleProtobufNullValue | null): any {
|
|
41
|
+
return value as any;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MetricsServiceLogQueryRequestFilter
|
|
20
|
+
*/
|
|
21
|
+
export interface MetricsServiceLogQueryRequestFilter {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MetricsServiceLogQueryRequestFilter
|
|
26
|
+
*/
|
|
27
|
+
field?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MetricsServiceLogQueryRequestFilter
|
|
32
|
+
*/
|
|
33
|
+
value?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof MetricsServiceLogQueryRequestFilter
|
|
38
|
+
*/
|
|
39
|
+
not?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the MetricsServiceLogQueryRequestFilter interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfMetricsServiceLogQueryRequestFilter(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function MetricsServiceLogQueryRequestFilterFromJSON(json: any): MetricsServiceLogQueryRequestFilter {
|
|
52
|
+
return MetricsServiceLogQueryRequestFilterFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function MetricsServiceLogQueryRequestFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceLogQueryRequestFilter {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'field': !exists(json, 'field') ? undefined : json['field'],
|
|
62
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
63
|
+
'not': !exists(json, 'not') ? undefined : json['not'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function MetricsServiceLogQueryRequestFilterToJSON(value?: MetricsServiceLogQueryRequestFilter | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'field': value.field,
|
|
77
|
+
'value': value.value,
|
|
78
|
+
'not': value.not,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MetricsServiceLogQueryRequestSort
|
|
20
|
+
*/
|
|
21
|
+
export interface MetricsServiceLogQueryRequestSort {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MetricsServiceLogQueryRequestSort
|
|
26
|
+
*/
|
|
27
|
+
field?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof MetricsServiceLogQueryRequestSort
|
|
32
|
+
*/
|
|
33
|
+
desc?: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the MetricsServiceLogQueryRequestSort interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfMetricsServiceLogQueryRequestSort(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function MetricsServiceLogQueryRequestSortFromJSON(json: any): MetricsServiceLogQueryRequestSort {
|
|
46
|
+
return MetricsServiceLogQueryRequestSortFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function MetricsServiceLogQueryRequestSortFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceLogQueryRequestSort {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'field': !exists(json, 'field') ? undefined : json['field'],
|
|
56
|
+
'desc': !exists(json, 'desc') ? undefined : json['desc'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MetricsServiceLogQueryRequestSortToJSON(value?: MetricsServiceLogQueryRequestSort | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'field': value.field,
|
|
70
|
+
'desc': value.desc,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { CommonAny } from './CommonAny';
|
|
17
|
+
import {
|
|
18
|
+
CommonAnyFromJSON,
|
|
19
|
+
CommonAnyFromJSONTyped,
|
|
20
|
+
CommonAnyToJSON,
|
|
21
|
+
} from './CommonAny';
|
|
22
|
+
import type { CommonLogEntry } from './CommonLogEntry';
|
|
23
|
+
import {
|
|
24
|
+
CommonLogEntryFromJSON,
|
|
25
|
+
CommonLogEntryFromJSONTyped,
|
|
26
|
+
CommonLogEntryToJSON,
|
|
27
|
+
} from './CommonLogEntry';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface MetricsServiceLogQueryResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface MetricsServiceLogQueryResponse {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<CommonLogEntry>}
|
|
38
|
+
* @memberof MetricsServiceLogQueryResponse
|
|
39
|
+
*/
|
|
40
|
+
entries?: Array<CommonLogEntry>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<CommonAny>}
|
|
44
|
+
* @memberof MetricsServiceLogQueryResponse
|
|
45
|
+
*/
|
|
46
|
+
after?: Array<CommonAny>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof MetricsServiceLogQueryResponse
|
|
51
|
+
*/
|
|
52
|
+
total?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the MetricsServiceLogQueryResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfMetricsServiceLogQueryResponse(value: object): boolean {
|
|
59
|
+
let isInstance = true;
|
|
60
|
+
|
|
61
|
+
return isInstance;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MetricsServiceLogQueryResponseFromJSON(json: any): MetricsServiceLogQueryResponse {
|
|
65
|
+
return MetricsServiceLogQueryResponseFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function MetricsServiceLogQueryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceLogQueryResponse {
|
|
69
|
+
if ((json === undefined) || (json === null)) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'entries': !exists(json, 'entries') ? undefined : ((json['entries'] as Array<any>).map(CommonLogEntryFromJSON)),
|
|
75
|
+
'after': !exists(json, 'after') ? undefined : ((json['after'] as Array<any>).map(CommonAnyFromJSON)),
|
|
76
|
+
'total': !exists(json, 'total') ? undefined : json['total'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function MetricsServiceLogQueryResponseToJSON(value?: MetricsServiceLogQueryResponse | null): any {
|
|
81
|
+
if (value === undefined) {
|
|
82
|
+
return undefined;
|
|
83
|
+
}
|
|
84
|
+
if (value === null) {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'entries': value.entries === undefined ? undefined : ((value.entries as Array<any>).map(CommonLogEntryToJSON)),
|
|
90
|
+
'after': value.after === undefined ? undefined : ((value.after as Array<any>).map(CommonAnyToJSON)),
|
|
91
|
+
'total': value.total,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { MetricsServiceMetricsQueryResponseResult } from './MetricsServiceMetricsQueryResponseResult';
|
|
17
|
+
import {
|
|
18
|
+
MetricsServiceMetricsQueryResponseResultFromJSON,
|
|
19
|
+
MetricsServiceMetricsQueryResponseResultFromJSONTyped,
|
|
20
|
+
MetricsServiceMetricsQueryResponseResultToJSON,
|
|
21
|
+
} from './MetricsServiceMetricsQueryResponseResult';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface MetricsServiceMetricsQueryResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface MetricsServiceMetricsQueryResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<MetricsServiceMetricsQueryResponseResult>}
|
|
32
|
+
* @memberof MetricsServiceMetricsQueryResponse
|
|
33
|
+
*/
|
|
34
|
+
results?: Array<MetricsServiceMetricsQueryResponseResult>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MetricsServiceMetricsQueryResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfMetricsServiceMetricsQueryResponse(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MetricsServiceMetricsQueryResponseFromJSON(json: any): MetricsServiceMetricsQueryResponse {
|
|
47
|
+
return MetricsServiceMetricsQueryResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MetricsServiceMetricsQueryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceMetricsQueryResponse {
|
|
51
|
+
if ((json === undefined) || (json === null)) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'results': !exists(json, 'results') ? undefined : ((json['results'] as Array<any>).map(MetricsServiceMetricsQueryResponseResultFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MetricsServiceMetricsQueryResponseToJSON(value?: MetricsServiceMetricsQueryResponse | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'results': value.results === undefined ? undefined : ((value.results as Array<any>).map(MetricsServiceMetricsQueryResponseResultToJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { MetricsServiceMetricsQueryResponseSample } from './MetricsServiceMetricsQueryResponseSample';
|
|
17
|
+
import {
|
|
18
|
+
MetricsServiceMetricsQueryResponseSampleFromJSON,
|
|
19
|
+
MetricsServiceMetricsQueryResponseSampleFromJSONTyped,
|
|
20
|
+
MetricsServiceMetricsQueryResponseSampleToJSON,
|
|
21
|
+
} from './MetricsServiceMetricsQueryResponseSample';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface MetricsServiceMetricsQueryResponseMatrix
|
|
27
|
+
*/
|
|
28
|
+
export interface MetricsServiceMetricsQueryResponseMatrix {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<MetricsServiceMetricsQueryResponseSample>}
|
|
32
|
+
* @memberof MetricsServiceMetricsQueryResponseMatrix
|
|
33
|
+
*/
|
|
34
|
+
samples?: Array<MetricsServiceMetricsQueryResponseSample>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof MetricsServiceMetricsQueryResponseMatrix
|
|
39
|
+
*/
|
|
40
|
+
totalSamples?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MetricsServiceMetricsQueryResponseMatrix interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfMetricsServiceMetricsQueryResponseMatrix(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function MetricsServiceMetricsQueryResponseMatrixFromJSON(json: any): MetricsServiceMetricsQueryResponseMatrix {
|
|
53
|
+
return MetricsServiceMetricsQueryResponseMatrixFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function MetricsServiceMetricsQueryResponseMatrixFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceMetricsQueryResponseMatrix {
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'samples': !exists(json, 'samples') ? undefined : ((json['samples'] as Array<any>).map(MetricsServiceMetricsQueryResponseSampleFromJSON)),
|
|
63
|
+
'totalSamples': !exists(json, 'totalSamples') ? undefined : json['totalSamples'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function MetricsServiceMetricsQueryResponseMatrixToJSON(value?: MetricsServiceMetricsQueryResponseMatrix | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'samples': value.samples === undefined ? undefined : ((value.samples as Array<any>).map(MetricsServiceMetricsQueryResponseSampleToJSON)),
|
|
77
|
+
'totalSamples': value.totalSamples,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MetricsServiceMetricsQueryResponseMetric
|
|
20
|
+
*/
|
|
21
|
+
export interface MetricsServiceMetricsQueryResponseMetric {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MetricsServiceMetricsQueryResponseMetric
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: string; }}
|
|
31
|
+
* @memberof MetricsServiceMetricsQueryResponseMetric
|
|
32
|
+
*/
|
|
33
|
+
labels?: { [key: string]: string; };
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MetricsServiceMetricsQueryResponseMetric
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the MetricsServiceMetricsQueryResponseMetric interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfMetricsServiceMetricsQueryResponseMetric(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function MetricsServiceMetricsQueryResponseMetricFromJSON(json: any): MetricsServiceMetricsQueryResponseMetric {
|
|
52
|
+
return MetricsServiceMetricsQueryResponseMetricFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function MetricsServiceMetricsQueryResponseMetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricsServiceMetricsQueryResponseMetric {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
62
|
+
'labels': !exists(json, 'labels') ? undefined : json['labels'],
|
|
63
|
+
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function MetricsServiceMetricsQueryResponseMetricToJSON(value?: MetricsServiceMetricsQueryResponseMetric | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'name': value.name,
|
|
77
|
+
'labels': value.labels,
|
|
78
|
+
'displayName': value.displayName,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|