@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,172 @@
|
|
|
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 { CommonOwner } from './CommonOwner';
|
|
17
|
+
import {
|
|
18
|
+
CommonOwnerFromJSON,
|
|
19
|
+
CommonOwnerFromJSONTyped,
|
|
20
|
+
CommonOwnerToJSON,
|
|
21
|
+
} from './CommonOwner';
|
|
22
|
+
import type { CommonProjectProjectMember } from './CommonProjectProjectMember';
|
|
23
|
+
import {
|
|
24
|
+
CommonProjectProjectMemberFromJSON,
|
|
25
|
+
CommonProjectProjectMemberFromJSONTyped,
|
|
26
|
+
CommonProjectProjectMemberToJSON,
|
|
27
|
+
} from './CommonProjectProjectMember';
|
|
28
|
+
import type { CommonProjectVisibility } from './CommonProjectVisibility';
|
|
29
|
+
import {
|
|
30
|
+
CommonProjectVisibilityFromJSON,
|
|
31
|
+
CommonProjectVisibilityFromJSONTyped,
|
|
32
|
+
CommonProjectVisibilityToJSON,
|
|
33
|
+
} from './CommonProjectVisibility';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface CommonProject
|
|
39
|
+
*/
|
|
40
|
+
export interface CommonProject {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CommonProject
|
|
45
|
+
*/
|
|
46
|
+
id?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CommonProject
|
|
51
|
+
*/
|
|
52
|
+
displayName?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CommonProject
|
|
57
|
+
*/
|
|
58
|
+
description?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CommonProject
|
|
63
|
+
*/
|
|
64
|
+
createdAt?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CommonProject
|
|
69
|
+
*/
|
|
70
|
+
updatedAt?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CommonProject
|
|
75
|
+
*/
|
|
76
|
+
slug?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CommonProject
|
|
81
|
+
*/
|
|
82
|
+
ownerId?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {CommonOwner}
|
|
86
|
+
* @memberof CommonProject
|
|
87
|
+
*/
|
|
88
|
+
owner?: CommonOwner;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {CommonProjectVisibility}
|
|
92
|
+
* @memberof CommonProject
|
|
93
|
+
*/
|
|
94
|
+
visibility?: CommonProjectVisibility;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<CommonProjectProjectMember>}
|
|
98
|
+
* @memberof CommonProject
|
|
99
|
+
*/
|
|
100
|
+
members?: Array<CommonProjectProjectMember>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof CommonProject
|
|
105
|
+
*/
|
|
106
|
+
multiVersion?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof CommonProject
|
|
111
|
+
*/
|
|
112
|
+
ownerName?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the CommonProject interface.
|
|
117
|
+
*/
|
|
118
|
+
export function instanceOfCommonProject(value: object): boolean {
|
|
119
|
+
let isInstance = true;
|
|
120
|
+
|
|
121
|
+
return isInstance;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function CommonProjectFromJSON(json: any): CommonProject {
|
|
125
|
+
return CommonProjectFromJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function CommonProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonProject {
|
|
129
|
+
if ((json === undefined) || (json === null)) {
|
|
130
|
+
return json;
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
135
|
+
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
136
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
137
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : json['createdAt'],
|
|
138
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : json['updatedAt'],
|
|
139
|
+
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
|
140
|
+
'ownerId': !exists(json, 'ownerId') ? undefined : json['ownerId'],
|
|
141
|
+
'owner': !exists(json, 'owner') ? undefined : CommonOwnerFromJSON(json['owner']),
|
|
142
|
+
'visibility': !exists(json, 'visibility') ? undefined : CommonProjectVisibilityFromJSON(json['visibility']),
|
|
143
|
+
'members': !exists(json, 'members') ? undefined : ((json['members'] as Array<any>).map(CommonProjectProjectMemberFromJSON)),
|
|
144
|
+
'multiVersion': !exists(json, 'multiVersion') ? undefined : json['multiVersion'],
|
|
145
|
+
'ownerName': !exists(json, 'ownerName') ? undefined : json['ownerName'],
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function CommonProjectToJSON(value?: CommonProject | null): any {
|
|
150
|
+
if (value === undefined) {
|
|
151
|
+
return undefined;
|
|
152
|
+
}
|
|
153
|
+
if (value === null) {
|
|
154
|
+
return null;
|
|
155
|
+
}
|
|
156
|
+
return {
|
|
157
|
+
|
|
158
|
+
'id': value.id,
|
|
159
|
+
'displayName': value.displayName,
|
|
160
|
+
'description': value.description,
|
|
161
|
+
'createdAt': value.createdAt,
|
|
162
|
+
'updatedAt': value.updatedAt,
|
|
163
|
+
'slug': value.slug,
|
|
164
|
+
'ownerId': value.ownerId,
|
|
165
|
+
'owner': CommonOwnerToJSON(value.owner),
|
|
166
|
+
'visibility': CommonProjectVisibilityToJSON(value.visibility),
|
|
167
|
+
'members': value.members === undefined ? undefined : ((value.members as Array<any>).map(CommonProjectProjectMemberToJSON)),
|
|
168
|
+
'multiVersion': value.multiVersion,
|
|
169
|
+
'ownerName': value.ownerName,
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
@@ -0,0 +1,136 @@
|
|
|
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 { CommonProjectVisibility } from './CommonProjectVisibility';
|
|
17
|
+
import {
|
|
18
|
+
CommonProjectVisibilityFromJSON,
|
|
19
|
+
CommonProjectVisibilityFromJSONTyped,
|
|
20
|
+
CommonProjectVisibilityToJSON,
|
|
21
|
+
} from './CommonProjectVisibility';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonProjectInfo
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonProjectInfo {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CommonProjectInfo
|
|
33
|
+
*/
|
|
34
|
+
id?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CommonProjectInfo
|
|
39
|
+
*/
|
|
40
|
+
displayName?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CommonProjectInfo
|
|
45
|
+
*/
|
|
46
|
+
description?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CommonProjectInfo
|
|
51
|
+
*/
|
|
52
|
+
createdAt?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CommonProjectInfo
|
|
57
|
+
*/
|
|
58
|
+
updatedAt?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CommonProjectInfo
|
|
63
|
+
*/
|
|
64
|
+
slug?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CommonProjectInfo
|
|
69
|
+
*/
|
|
70
|
+
owner?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {CommonProjectVisibility}
|
|
74
|
+
* @memberof CommonProjectInfo
|
|
75
|
+
*/
|
|
76
|
+
visibility?: CommonProjectVisibility;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof CommonProjectInfo
|
|
81
|
+
*/
|
|
82
|
+
multiVersion?: boolean;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the CommonProjectInfo interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfCommonProjectInfo(value: object): boolean {
|
|
89
|
+
let isInstance = true;
|
|
90
|
+
|
|
91
|
+
return isInstance;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function CommonProjectInfoFromJSON(json: any): CommonProjectInfo {
|
|
95
|
+
return CommonProjectInfoFromJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function CommonProjectInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonProjectInfo {
|
|
99
|
+
if ((json === undefined) || (json === null)) {
|
|
100
|
+
return json;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
105
|
+
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
106
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
107
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : json['createdAt'],
|
|
108
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : json['updatedAt'],
|
|
109
|
+
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
|
110
|
+
'owner': !exists(json, 'owner') ? undefined : json['owner'],
|
|
111
|
+
'visibility': !exists(json, 'visibility') ? undefined : CommonProjectVisibilityFromJSON(json['visibility']),
|
|
112
|
+
'multiVersion': !exists(json, 'multiVersion') ? undefined : json['multiVersion'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function CommonProjectInfoToJSON(value?: CommonProjectInfo | null): any {
|
|
117
|
+
if (value === undefined) {
|
|
118
|
+
return undefined;
|
|
119
|
+
}
|
|
120
|
+
if (value === null) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'id': value.id,
|
|
126
|
+
'displayName': value.displayName,
|
|
127
|
+
'description': value.description,
|
|
128
|
+
'createdAt': value.createdAt,
|
|
129
|
+
'updatedAt': value.updatedAt,
|
|
130
|
+
'slug': value.slug,
|
|
131
|
+
'owner': value.owner,
|
|
132
|
+
'visibility': CommonProjectVisibilityToJSON(value.visibility),
|
|
133
|
+
'multiVersion': value.multiVersion,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
@@ -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 { CommonUserInfo } from './CommonUserInfo';
|
|
17
|
+
import {
|
|
18
|
+
CommonUserInfoFromJSON,
|
|
19
|
+
CommonUserInfoFromJSONTyped,
|
|
20
|
+
CommonUserInfoToJSON,
|
|
21
|
+
} from './CommonUserInfo';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonProjectProjectMember
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonProjectProjectMember {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {CommonUserInfo}
|
|
32
|
+
* @memberof CommonProjectProjectMember
|
|
33
|
+
*/
|
|
34
|
+
user?: CommonUserInfo;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CommonProjectProjectMember
|
|
39
|
+
*/
|
|
40
|
+
role?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CommonProjectProjectMember interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfCommonProjectProjectMember(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CommonProjectProjectMemberFromJSON(json: any): CommonProjectProjectMember {
|
|
53
|
+
return CommonProjectProjectMemberFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CommonProjectProjectMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonProjectProjectMember {
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'user': !exists(json, 'user') ? undefined : CommonUserInfoFromJSON(json['user']),
|
|
63
|
+
'role': !exists(json, 'role') ? undefined : json['role'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CommonProjectProjectMemberToJSON(value?: CommonProjectProjectMember | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'user': CommonUserInfoToJSON(value.user),
|
|
77
|
+
'role': value.role,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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 CommonProjectVisibility = {
|
|
21
|
+
Public: 'PUBLIC',
|
|
22
|
+
Private: 'PRIVATE',
|
|
23
|
+
UnknownDefaultOpenApi: '11184809'
|
|
24
|
+
} as const;
|
|
25
|
+
export type CommonProjectVisibility = typeof CommonProjectVisibility[keyof typeof CommonProjectVisibility];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function CommonProjectVisibilityFromJSON(json: any): CommonProjectVisibility {
|
|
29
|
+
return CommonProjectVisibilityFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function CommonProjectVisibilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonProjectVisibility {
|
|
33
|
+
return json as CommonProjectVisibility;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function CommonProjectVisibilityToJSON(value?: CommonProjectVisibility | null): any {
|
|
37
|
+
return value as any;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
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 { CommonAggregate } from './CommonAggregate';
|
|
17
|
+
import {
|
|
18
|
+
CommonAggregateFromJSON,
|
|
19
|
+
CommonAggregateFromJSONTyped,
|
|
20
|
+
CommonAggregateToJSON,
|
|
21
|
+
} from './CommonAggregate';
|
|
22
|
+
import type { CommonFunction } from './CommonFunction';
|
|
23
|
+
import {
|
|
24
|
+
CommonFunctionFromJSON,
|
|
25
|
+
CommonFunctionFromJSONTyped,
|
|
26
|
+
CommonFunctionToJSON,
|
|
27
|
+
} from './CommonFunction';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface CommonQuery
|
|
33
|
+
*/
|
|
34
|
+
export interface CommonQuery {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CommonQuery
|
|
39
|
+
*/
|
|
40
|
+
query?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CommonQuery
|
|
45
|
+
*/
|
|
46
|
+
alias?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CommonQuery
|
|
51
|
+
*/
|
|
52
|
+
id?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {{ [key: string]: string; }}
|
|
56
|
+
* @memberof CommonQuery
|
|
57
|
+
*/
|
|
58
|
+
labelSelector?: { [key: string]: string; };
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {CommonAggregate}
|
|
62
|
+
* @memberof CommonQuery
|
|
63
|
+
*/
|
|
64
|
+
aggregate?: CommonAggregate;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<CommonFunction>}
|
|
68
|
+
* @memberof CommonQuery
|
|
69
|
+
*/
|
|
70
|
+
functions?: Array<CommonFunction>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof CommonQuery
|
|
75
|
+
*/
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the CommonQuery interface.
|
|
81
|
+
*/
|
|
82
|
+
export function instanceOfCommonQuery(value: object): boolean {
|
|
83
|
+
let isInstance = true;
|
|
84
|
+
|
|
85
|
+
return isInstance;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function CommonQueryFromJSON(json: any): CommonQuery {
|
|
89
|
+
return CommonQueryFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function CommonQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonQuery {
|
|
93
|
+
if ((json === undefined) || (json === null)) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'query': !exists(json, 'query') ? undefined : json['query'],
|
|
99
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
100
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
101
|
+
'labelSelector': !exists(json, 'labelSelector') ? undefined : json['labelSelector'],
|
|
102
|
+
'aggregate': !exists(json, 'aggregate') ? undefined : CommonAggregateFromJSON(json['aggregate']),
|
|
103
|
+
'functions': !exists(json, 'functions') ? undefined : ((json['functions'] as Array<any>).map(CommonFunctionFromJSON)),
|
|
104
|
+
'disabled': !exists(json, 'disabled') ? undefined : json['disabled'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function CommonQueryToJSON(value?: CommonQuery | null): any {
|
|
109
|
+
if (value === undefined) {
|
|
110
|
+
return undefined;
|
|
111
|
+
}
|
|
112
|
+
if (value === null) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'query': value.query,
|
|
118
|
+
'alias': value.alias,
|
|
119
|
+
'id': value.id,
|
|
120
|
+
'labelSelector': value.labelSelector,
|
|
121
|
+
'aggregate': CommonAggregateToJSON(value.aggregate),
|
|
122
|
+
'functions': value.functions === undefined ? undefined : ((value.functions as Array<any>).map(CommonFunctionToJSON)),
|
|
123
|
+
'disabled': value.disabled,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
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 { CommonSegmentationQueryAggregation } from './CommonSegmentationQueryAggregation';
|
|
17
|
+
import {
|
|
18
|
+
CommonSegmentationQueryAggregationFromJSON,
|
|
19
|
+
CommonSegmentationQueryAggregationFromJSONTyped,
|
|
20
|
+
CommonSegmentationQueryAggregationToJSON,
|
|
21
|
+
} from './CommonSegmentationQueryAggregation';
|
|
22
|
+
import type { CommonSegmentationQueryResource } from './CommonSegmentationQueryResource';
|
|
23
|
+
import {
|
|
24
|
+
CommonSegmentationQueryResourceFromJSON,
|
|
25
|
+
CommonSegmentationQueryResourceFromJSONTyped,
|
|
26
|
+
CommonSegmentationQueryResourceToJSON,
|
|
27
|
+
} from './CommonSegmentationQueryResource';
|
|
28
|
+
import type { CommonSegmentationQuerySelectorExpr } from './CommonSegmentationQuerySelectorExpr';
|
|
29
|
+
import {
|
|
30
|
+
CommonSegmentationQuerySelectorExprFromJSON,
|
|
31
|
+
CommonSegmentationQuerySelectorExprFromJSONTyped,
|
|
32
|
+
CommonSegmentationQuerySelectorExprToJSON,
|
|
33
|
+
} from './CommonSegmentationQuerySelectorExpr';
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface CommonSegmentationQuery
|
|
39
|
+
*/
|
|
40
|
+
export interface CommonSegmentationQuery {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {CommonSegmentationQueryResource}
|
|
44
|
+
* @memberof CommonSegmentationQuery
|
|
45
|
+
*/
|
|
46
|
+
resource?: CommonSegmentationQueryResource;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CommonSegmentationQuery
|
|
51
|
+
*/
|
|
52
|
+
alias?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CommonSegmentationQuery
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {CommonSegmentationQueryAggregation}
|
|
62
|
+
* @memberof CommonSegmentationQuery
|
|
63
|
+
*/
|
|
64
|
+
aggregation?: CommonSegmentationQueryAggregation;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {CommonSegmentationQuerySelectorExpr}
|
|
68
|
+
* @memberof CommonSegmentationQuery
|
|
69
|
+
*/
|
|
70
|
+
selectorExpr?: CommonSegmentationQuerySelectorExpr;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof CommonSegmentationQuery
|
|
75
|
+
*/
|
|
76
|
+
groupBy?: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof CommonSegmentationQuery
|
|
81
|
+
*/
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the CommonSegmentationQuery interface.
|
|
87
|
+
*/
|
|
88
|
+
export function instanceOfCommonSegmentationQuery(value: object): boolean {
|
|
89
|
+
let isInstance = true;
|
|
90
|
+
|
|
91
|
+
return isInstance;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function CommonSegmentationQueryFromJSON(json: any): CommonSegmentationQuery {
|
|
95
|
+
return CommonSegmentationQueryFromJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function CommonSegmentationQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonSegmentationQuery {
|
|
99
|
+
if ((json === undefined) || (json === null)) {
|
|
100
|
+
return json;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'resource': !exists(json, 'resource') ? undefined : CommonSegmentationQueryResourceFromJSON(json['resource']),
|
|
105
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
106
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
107
|
+
'aggregation': !exists(json, 'aggregation') ? undefined : CommonSegmentationQueryAggregationFromJSON(json['aggregation']),
|
|
108
|
+
'selectorExpr': !exists(json, 'selectorExpr') ? undefined : CommonSegmentationQuerySelectorExprFromJSON(json['selectorExpr']),
|
|
109
|
+
'groupBy': !exists(json, 'groupBy') ? undefined : json['groupBy'],
|
|
110
|
+
'disabled': !exists(json, 'disabled') ? undefined : json['disabled'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function CommonSegmentationQueryToJSON(value?: CommonSegmentationQuery | null): any {
|
|
115
|
+
if (value === undefined) {
|
|
116
|
+
return undefined;
|
|
117
|
+
}
|
|
118
|
+
if (value === null) {
|
|
119
|
+
return null;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'resource': CommonSegmentationQueryResourceToJSON(value.resource),
|
|
124
|
+
'alias': value.alias,
|
|
125
|
+
'id': value.id,
|
|
126
|
+
'aggregation': CommonSegmentationQueryAggregationToJSON(value.aggregation),
|
|
127
|
+
'selectorExpr': CommonSegmentationQuerySelectorExprToJSON(value.selectorExpr),
|
|
128
|
+
'groupBy': value.groupBy,
|
|
129
|
+
'disabled': value.disabled,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|