@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
package/src/index.ts
ADDED
|
@@ -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 { CommonAggregateAggregateOps } from './CommonAggregateAggregateOps';
|
|
17
|
+
import {
|
|
18
|
+
CommonAggregateAggregateOpsFromJSON,
|
|
19
|
+
CommonAggregateAggregateOpsFromJSONTyped,
|
|
20
|
+
CommonAggregateAggregateOpsToJSON,
|
|
21
|
+
} from './CommonAggregateAggregateOps';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonAggregate
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonAggregate {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {CommonAggregateAggregateOps}
|
|
32
|
+
* @memberof CommonAggregate
|
|
33
|
+
*/
|
|
34
|
+
op?: CommonAggregateAggregateOps;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof CommonAggregate
|
|
39
|
+
*/
|
|
40
|
+
grouping?: Array<string>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CommonAggregate interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfCommonAggregate(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CommonAggregateFromJSON(json: any): CommonAggregate {
|
|
53
|
+
return CommonAggregateFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CommonAggregateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonAggregate {
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'op': !exists(json, 'op') ? undefined : CommonAggregateAggregateOpsFromJSON(json['op']),
|
|
63
|
+
'grouping': !exists(json, 'grouping') ? undefined : json['grouping'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CommonAggregateToJSON(value?: CommonAggregate | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'op': CommonAggregateAggregateOpsToJSON(value.op),
|
|
77
|
+
'grouping': value.grouping,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CommonAggregateAggregateOps = {
|
|
21
|
+
Avg: 'AVG',
|
|
22
|
+
Sum: 'SUM',
|
|
23
|
+
Min: 'MIN',
|
|
24
|
+
Max: 'MAX',
|
|
25
|
+
Count: 'COUNT',
|
|
26
|
+
UnknownDefaultOpenApi: '11184809'
|
|
27
|
+
} as const;
|
|
28
|
+
export type CommonAggregateAggregateOps = typeof CommonAggregateAggregateOps[keyof typeof CommonAggregateAggregateOps];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export function CommonAggregateAggregateOpsFromJSON(json: any): CommonAggregateAggregateOps {
|
|
32
|
+
return CommonAggregateAggregateOpsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function CommonAggregateAggregateOpsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonAggregateAggregateOps {
|
|
36
|
+
return json as CommonAggregateAggregateOps;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function CommonAggregateAggregateOpsToJSON(value?: CommonAggregateAggregateOps | null): any {
|
|
40
|
+
return value as any;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { CommonStringList } from './CommonStringList';
|
|
17
|
+
import {
|
|
18
|
+
CommonStringListFromJSON,
|
|
19
|
+
CommonStringListFromJSONTyped,
|
|
20
|
+
CommonStringListToJSON,
|
|
21
|
+
} from './CommonStringList';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonAny
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonAny {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CommonAny
|
|
33
|
+
*/
|
|
34
|
+
intValue?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CommonAny
|
|
39
|
+
*/
|
|
40
|
+
longValue?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CommonAny
|
|
45
|
+
*/
|
|
46
|
+
doubleValue?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CommonAny
|
|
51
|
+
*/
|
|
52
|
+
stringValue?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof CommonAny
|
|
57
|
+
*/
|
|
58
|
+
boolValue?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof CommonAny
|
|
63
|
+
*/
|
|
64
|
+
dateValue?: Date;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {CommonStringList}
|
|
68
|
+
* @memberof CommonAny
|
|
69
|
+
*/
|
|
70
|
+
listValue?: CommonStringList;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the CommonAny interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfCommonAny(value: object): boolean {
|
|
77
|
+
let isInstance = true;
|
|
78
|
+
|
|
79
|
+
return isInstance;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function CommonAnyFromJSON(json: any): CommonAny {
|
|
83
|
+
return CommonAnyFromJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function CommonAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonAny {
|
|
87
|
+
if ((json === undefined) || (json === null)) {
|
|
88
|
+
return json;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'intValue': !exists(json, 'intValue') ? undefined : json['intValue'],
|
|
93
|
+
'longValue': !exists(json, 'longValue') ? undefined : json['longValue'],
|
|
94
|
+
'doubleValue': !exists(json, 'doubleValue') ? undefined : json['doubleValue'],
|
|
95
|
+
'stringValue': !exists(json, 'stringValue') ? undefined : json['stringValue'],
|
|
96
|
+
'boolValue': !exists(json, 'boolValue') ? undefined : json['boolValue'],
|
|
97
|
+
'dateValue': !exists(json, 'dateValue') ? undefined : (new Date(json['dateValue'])),
|
|
98
|
+
'listValue': !exists(json, 'listValue') ? undefined : CommonStringListFromJSON(json['listValue']),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function CommonAnyToJSON(value?: CommonAny | null): any {
|
|
103
|
+
if (value === undefined) {
|
|
104
|
+
return undefined;
|
|
105
|
+
}
|
|
106
|
+
if (value === null) {
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'intValue': value.intValue,
|
|
112
|
+
'longValue': value.longValue,
|
|
113
|
+
'doubleValue': value.doubleValue,
|
|
114
|
+
'stringValue': value.stringValue,
|
|
115
|
+
'boolValue': value.boolValue,
|
|
116
|
+
'dateValue': value.dateValue === undefined ? undefined : (value.dateValue.toISOString()),
|
|
117
|
+
'listValue': CommonStringListToJSON(value.listValue),
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { CommonDuration } from './CommonDuration';
|
|
17
|
+
import {
|
|
18
|
+
CommonDurationFromJSON,
|
|
19
|
+
CommonDurationFromJSONTyped,
|
|
20
|
+
CommonDurationToJSON,
|
|
21
|
+
} from './CommonDuration';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonArgument
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonArgument {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CommonArgument
|
|
33
|
+
*/
|
|
34
|
+
stringValue?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CommonArgument
|
|
39
|
+
*/
|
|
40
|
+
intValue?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CommonArgument
|
|
45
|
+
*/
|
|
46
|
+
doubleValue?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof CommonArgument
|
|
51
|
+
*/
|
|
52
|
+
boolValue?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {CommonDuration}
|
|
56
|
+
* @memberof CommonArgument
|
|
57
|
+
*/
|
|
58
|
+
durationValue?: CommonDuration;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the CommonArgument interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfCommonArgument(value: object): boolean {
|
|
65
|
+
let isInstance = true;
|
|
66
|
+
|
|
67
|
+
return isInstance;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function CommonArgumentFromJSON(json: any): CommonArgument {
|
|
71
|
+
return CommonArgumentFromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function CommonArgumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonArgument {
|
|
75
|
+
if ((json === undefined) || (json === null)) {
|
|
76
|
+
return json;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'stringValue': !exists(json, 'stringValue') ? undefined : json['stringValue'],
|
|
81
|
+
'intValue': !exists(json, 'intValue') ? undefined : json['intValue'],
|
|
82
|
+
'doubleValue': !exists(json, 'doubleValue') ? undefined : json['doubleValue'],
|
|
83
|
+
'boolValue': !exists(json, 'boolValue') ? undefined : json['boolValue'],
|
|
84
|
+
'durationValue': !exists(json, 'durationValue') ? undefined : CommonDurationFromJSON(json['durationValue']),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function CommonArgumentToJSON(value?: CommonArgument | null): any {
|
|
89
|
+
if (value === undefined) {
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
if (value === null) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'stringValue': value.stringValue,
|
|
98
|
+
'intValue': value.intValue,
|
|
99
|
+
'doubleValue': value.doubleValue,
|
|
100
|
+
'boolValue': value.boolValue,
|
|
101
|
+
'durationValue': CommonDurationToJSON(value.durationValue),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -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 CommonDuration
|
|
20
|
+
*/
|
|
21
|
+
export interface CommonDuration {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof CommonDuration
|
|
26
|
+
*/
|
|
27
|
+
value?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CommonDuration
|
|
32
|
+
*/
|
|
33
|
+
unit?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CommonDuration interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCommonDuration(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
|
|
42
|
+
return isInstance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CommonDurationFromJSON(json: any): CommonDuration {
|
|
46
|
+
return CommonDurationFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CommonDurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonDuration {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
56
|
+
'unit': !exists(json, 'unit') ? undefined : json['unit'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CommonDurationToJSON(value?: CommonDuration | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'value': value.value,
|
|
70
|
+
'unit': value.unit,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CommonErrorRecord
|
|
20
|
+
*/
|
|
21
|
+
export interface CommonErrorRecord {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CommonErrorRecord
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof CommonErrorRecord
|
|
32
|
+
*/
|
|
33
|
+
namespace?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CommonErrorRecord
|
|
38
|
+
*/
|
|
39
|
+
code?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof CommonErrorRecord
|
|
44
|
+
*/
|
|
45
|
+
namespaceCode?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CommonErrorRecord
|
|
50
|
+
*/
|
|
51
|
+
message?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof CommonErrorRecord
|
|
56
|
+
*/
|
|
57
|
+
createdAt?: Date;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CommonErrorRecord interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfCommonErrorRecord(value: object): boolean {
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
|
|
66
|
+
return isInstance;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function CommonErrorRecordFromJSON(json: any): CommonErrorRecord {
|
|
70
|
+
return CommonErrorRecordFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function CommonErrorRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonErrorRecord {
|
|
74
|
+
if ((json === undefined) || (json === null)) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
80
|
+
'namespace': !exists(json, 'namespace') ? undefined : json['namespace'],
|
|
81
|
+
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
82
|
+
'namespaceCode': !exists(json, 'namespaceCode') ? undefined : json['namespaceCode'],
|
|
83
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
84
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function CommonErrorRecordToJSON(value?: CommonErrorRecord | 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
|
+
'namespace': value.namespace,
|
|
99
|
+
'code': value.code,
|
|
100
|
+
'namespaceCode': value.namespaceCode,
|
|
101
|
+
'message': value.message,
|
|
102
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
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 CommonFormula
|
|
20
|
+
*/
|
|
21
|
+
export interface CommonFormula {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CommonFormula
|
|
26
|
+
*/
|
|
27
|
+
expression?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CommonFormula
|
|
32
|
+
*/
|
|
33
|
+
alias?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CommonFormula
|
|
38
|
+
*/
|
|
39
|
+
id?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof CommonFormula
|
|
44
|
+
*/
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CommonFormula interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCommonFormula(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
|
|
54
|
+
return isInstance;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function CommonFormulaFromJSON(json: any): CommonFormula {
|
|
58
|
+
return CommonFormulaFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function CommonFormulaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonFormula {
|
|
62
|
+
if ((json === undefined) || (json === null)) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
|
68
|
+
'alias': !exists(json, 'alias') ? undefined : json['alias'],
|
|
69
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
70
|
+
'disabled': !exists(json, 'disabled') ? undefined : json['disabled'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function CommonFormulaToJSON(value?: CommonFormula | null): any {
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'expression': value.expression,
|
|
84
|
+
'alias': value.alias,
|
|
85
|
+
'id': value.id,
|
|
86
|
+
'disabled': value.disabled,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -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 { CommonArgument } from './CommonArgument';
|
|
17
|
+
import {
|
|
18
|
+
CommonArgumentFromJSON,
|
|
19
|
+
CommonArgumentFromJSONTyped,
|
|
20
|
+
CommonArgumentToJSON,
|
|
21
|
+
} from './CommonArgument';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CommonFunction
|
|
27
|
+
*/
|
|
28
|
+
export interface CommonFunction {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CommonFunction
|
|
33
|
+
*/
|
|
34
|
+
name?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<CommonArgument>}
|
|
38
|
+
* @memberof CommonFunction
|
|
39
|
+
*/
|
|
40
|
+
arguments?: Array<CommonArgument>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CommonFunction interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfCommonFunction(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CommonFunctionFromJSON(json: any): CommonFunction {
|
|
53
|
+
return CommonFunctionFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CommonFunctionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonFunction {
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
63
|
+
'arguments': !exists(json, 'arguments') ? undefined : ((json['arguments'] as Array<any>).map(CommonArgumentFromJSON)),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CommonFunctionToJSON(value?: CommonFunction | 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
|
+
'arguments': value.arguments === undefined ? undefined : ((value.arguments as Array<any>).map(CommonArgumentToJSON)),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|