@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,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 WebServiceDashboardSharing
|
|
20
|
+
*/
|
|
21
|
+
export interface WebServiceDashboardSharing {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof WebServiceDashboardSharing
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof WebServiceDashboardSharing
|
|
32
|
+
*/
|
|
33
|
+
dashboardId?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof WebServiceDashboardSharing
|
|
38
|
+
*/
|
|
39
|
+
isPublic?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof WebServiceDashboardSharing
|
|
44
|
+
*/
|
|
45
|
+
viewers?: Array<string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the WebServiceDashboardSharing interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfWebServiceDashboardSharing(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
|
|
54
|
+
return isInstance;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function WebServiceDashboardSharingFromJSON(json: any): WebServiceDashboardSharing {
|
|
58
|
+
return WebServiceDashboardSharingFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function WebServiceDashboardSharingFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceDashboardSharing {
|
|
62
|
+
if ((json === undefined) || (json === null)) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
68
|
+
'dashboardId': !exists(json, 'dashboardId') ? undefined : json['dashboardId'],
|
|
69
|
+
'isPublic': !exists(json, 'isPublic') ? undefined : json['isPublic'],
|
|
70
|
+
'viewers': !exists(json, 'viewers') ? undefined : json['viewers'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function WebServiceDashboardSharingToJSON(value?: WebServiceDashboardSharing | null): any {
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': value.id,
|
|
84
|
+
'dashboardId': value.dashboardId,
|
|
85
|
+
'isPublic': value.isPublic,
|
|
86
|
+
'viewers': value.viewers,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 WebServiceExportDashboardResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface WebServiceExportDashboardResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof WebServiceExportDashboardResponse
|
|
26
|
+
*/
|
|
27
|
+
dashboardJson?: object;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the WebServiceExportDashboardResponse interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfWebServiceExportDashboardResponse(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function WebServiceExportDashboardResponseFromJSON(json: any): WebServiceExportDashboardResponse {
|
|
40
|
+
return WebServiceExportDashboardResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function WebServiceExportDashboardResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceExportDashboardResponse {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'dashboardJson': !exists(json, 'dashboardJson') ? undefined : json['dashboardJson'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function WebServiceExportDashboardResponseToJSON(value?: WebServiceExportDashboardResponse | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'dashboardJson': value.dashboardJson,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { CommonPermission } from './CommonPermission';
|
|
17
|
+
import {
|
|
18
|
+
CommonPermissionFromJSON,
|
|
19
|
+
CommonPermissionFromJSONTyped,
|
|
20
|
+
CommonPermissionToJSON,
|
|
21
|
+
} from './CommonPermission';
|
|
22
|
+
import type { WebServiceDashboard } from './WebServiceDashboard';
|
|
23
|
+
import {
|
|
24
|
+
WebServiceDashboardFromJSON,
|
|
25
|
+
WebServiceDashboardFromJSONTyped,
|
|
26
|
+
WebServiceDashboardToJSON,
|
|
27
|
+
} from './WebServiceDashboard';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface WebServiceGetDashboardResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface WebServiceGetDashboardResponse {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<WebServiceDashboard>}
|
|
38
|
+
* @memberof WebServiceGetDashboardResponse
|
|
39
|
+
*/
|
|
40
|
+
dashboards?: Array<WebServiceDashboard>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<CommonPermission>}
|
|
44
|
+
* @memberof WebServiceGetDashboardResponse
|
|
45
|
+
*/
|
|
46
|
+
permissions?: Array<CommonPermission>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the WebServiceGetDashboardResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfWebServiceGetDashboardResponse(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function WebServiceGetDashboardResponseFromJSON(json: any): WebServiceGetDashboardResponse {
|
|
59
|
+
return WebServiceGetDashboardResponseFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function WebServiceGetDashboardResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceGetDashboardResponse {
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'dashboards': !exists(json, 'dashboards') ? undefined : ((json['dashboards'] as Array<any>).map(WebServiceDashboardFromJSON)),
|
|
69
|
+
'permissions': !exists(json, 'permissions') ? undefined : ((json['permissions'] as Array<any>).map(CommonPermissionFromJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function WebServiceGetDashboardResponseToJSON(value?: WebServiceGetDashboardResponse | null): any {
|
|
74
|
+
if (value === undefined) {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
if (value === null) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'dashboards': value.dashboards === undefined ? undefined : ((value.dashboards as Array<any>).map(WebServiceDashboardToJSON)),
|
|
83
|
+
'permissions': value.permissions === undefined ? undefined : ((value.permissions as Array<any>).map(CommonPermissionToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { CommonPermission } from './CommonPermission';
|
|
17
|
+
import {
|
|
18
|
+
CommonPermissionFromJSON,
|
|
19
|
+
CommonPermissionFromJSONTyped,
|
|
20
|
+
CommonPermissionToJSON,
|
|
21
|
+
} from './CommonPermission';
|
|
22
|
+
import type { CommonProject } from './CommonProject';
|
|
23
|
+
import {
|
|
24
|
+
CommonProjectFromJSON,
|
|
25
|
+
CommonProjectFromJSONTyped,
|
|
26
|
+
CommonProjectToJSON,
|
|
27
|
+
} from './CommonProject';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface WebServiceGetProjectResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface WebServiceGetProjectResponse {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {CommonProject}
|
|
38
|
+
* @memberof WebServiceGetProjectResponse
|
|
39
|
+
*/
|
|
40
|
+
project?: CommonProject;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<CommonPermission>}
|
|
44
|
+
* @memberof WebServiceGetProjectResponse
|
|
45
|
+
*/
|
|
46
|
+
permissions?: Array<CommonPermission>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the WebServiceGetProjectResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfWebServiceGetProjectResponse(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function WebServiceGetProjectResponseFromJSON(json: any): WebServiceGetProjectResponse {
|
|
59
|
+
return WebServiceGetProjectResponseFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function WebServiceGetProjectResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceGetProjectResponse {
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'project': !exists(json, 'project') ? undefined : CommonProjectFromJSON(json['project']),
|
|
69
|
+
'permissions': !exists(json, 'permissions') ? undefined : ((json['permissions'] as Array<any>).map(CommonPermissionFromJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function WebServiceGetProjectResponseToJSON(value?: WebServiceGetProjectResponse | null): any {
|
|
74
|
+
if (value === undefined) {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
if (value === null) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'project': CommonProjectToJSON(value.project),
|
|
83
|
+
'permissions': value.permissions === undefined ? undefined : ((value.permissions as Array<any>).map(CommonPermissionToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -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 WebServiceImportDashboardRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface WebServiceImportDashboardRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof WebServiceImportDashboardRequest
|
|
26
|
+
*/
|
|
27
|
+
dashboardId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @memberof WebServiceImportDashboardRequest
|
|
32
|
+
*/
|
|
33
|
+
dashboardJson?: object;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof WebServiceImportDashboardRequest
|
|
38
|
+
*/
|
|
39
|
+
overrideLayouts?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the WebServiceImportDashboardRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfWebServiceImportDashboardRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function WebServiceImportDashboardRequestFromJSON(json: any): WebServiceImportDashboardRequest {
|
|
52
|
+
return WebServiceImportDashboardRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function WebServiceImportDashboardRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceImportDashboardRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'dashboardId': !exists(json, 'dashboardId') ? undefined : json['dashboardId'],
|
|
62
|
+
'dashboardJson': !exists(json, 'dashboardJson') ? undefined : json['dashboardJson'],
|
|
63
|
+
'overrideLayouts': !exists(json, 'overrideLayouts') ? undefined : json['overrideLayouts'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function WebServiceImportDashboardRequestToJSON(value?: WebServiceImportDashboardRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'dashboardId': value.dashboardId,
|
|
77
|
+
'dashboardJson': value.dashboardJson,
|
|
78
|
+
'overrideLayouts': value.overrideLayouts,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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 { WebServiceDashboard } from './WebServiceDashboard';
|
|
17
|
+
import {
|
|
18
|
+
WebServiceDashboardFromJSON,
|
|
19
|
+
WebServiceDashboardFromJSONTyped,
|
|
20
|
+
WebServiceDashboardToJSON,
|
|
21
|
+
} from './WebServiceDashboard';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface WebServiceImportDashboardResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface WebServiceImportDashboardResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {WebServiceDashboard}
|
|
32
|
+
* @memberof WebServiceImportDashboardResponse
|
|
33
|
+
*/
|
|
34
|
+
dashboard?: WebServiceDashboard;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WebServiceImportDashboardResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfWebServiceImportDashboardResponse(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function WebServiceImportDashboardResponseFromJSON(json: any): WebServiceImportDashboardResponse {
|
|
47
|
+
return WebServiceImportDashboardResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function WebServiceImportDashboardResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceImportDashboardResponse {
|
|
51
|
+
if ((json === undefined) || (json === null)) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'dashboard': !exists(json, 'dashboard') ? undefined : WebServiceDashboardFromJSON(json['dashboard']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function WebServiceImportDashboardResponseToJSON(value?: WebServiceImportDashboardResponse | null): any {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'dashboard': WebServiceDashboardToJSON(value.dashboard),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -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 { WebServiceNoteAlignment } from './WebServiceNoteAlignment';
|
|
17
|
+
import {
|
|
18
|
+
WebServiceNoteAlignmentFromJSON,
|
|
19
|
+
WebServiceNoteAlignmentFromJSONTyped,
|
|
20
|
+
WebServiceNoteAlignmentToJSON,
|
|
21
|
+
} from './WebServiceNoteAlignment';
|
|
22
|
+
import type { WebServiceNoteFontSize } from './WebServiceNoteFontSize';
|
|
23
|
+
import {
|
|
24
|
+
WebServiceNoteFontSizeFromJSON,
|
|
25
|
+
WebServiceNoteFontSizeFromJSONTyped,
|
|
26
|
+
WebServiceNoteFontSizeToJSON,
|
|
27
|
+
} from './WebServiceNoteFontSize';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface WebServiceNote
|
|
33
|
+
*/
|
|
34
|
+
export interface WebServiceNote {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof WebServiceNote
|
|
39
|
+
*/
|
|
40
|
+
content?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {WebServiceNoteFontSize}
|
|
44
|
+
* @memberof WebServiceNote
|
|
45
|
+
*/
|
|
46
|
+
fontSize?: WebServiceNoteFontSize;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {WebServiceNoteAlignment}
|
|
50
|
+
* @memberof WebServiceNote
|
|
51
|
+
*/
|
|
52
|
+
textAlign?: WebServiceNoteAlignment;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the WebServiceNote interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfWebServiceNote(value: object): boolean {
|
|
59
|
+
let isInstance = true;
|
|
60
|
+
|
|
61
|
+
return isInstance;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function WebServiceNoteFromJSON(json: any): WebServiceNote {
|
|
65
|
+
return WebServiceNoteFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function WebServiceNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceNote {
|
|
69
|
+
if ((json === undefined) || (json === null)) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'content': !exists(json, 'content') ? undefined : json['content'],
|
|
75
|
+
'fontSize': !exists(json, 'fontSize') ? undefined : WebServiceNoteFontSizeFromJSON(json['fontSize']),
|
|
76
|
+
'textAlign': !exists(json, 'textAlign') ? undefined : WebServiceNoteAlignmentFromJSON(json['textAlign']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function WebServiceNoteToJSON(value?: WebServiceNote | null): any {
|
|
81
|
+
if (value === undefined) {
|
|
82
|
+
return undefined;
|
|
83
|
+
}
|
|
84
|
+
if (value === null) {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'content': value.content,
|
|
90
|
+
'fontSize': WebServiceNoteFontSizeToJSON(value.fontSize),
|
|
91
|
+
'textAlign': WebServiceNoteAlignmentToJSON(value.textAlign),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
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 WebServiceNoteAlignment = {
|
|
21
|
+
Left: 'LEFT',
|
|
22
|
+
Center: 'CENTER',
|
|
23
|
+
Right: 'RIGHT',
|
|
24
|
+
UnknownDefaultOpenApi: '11184809'
|
|
25
|
+
} as const;
|
|
26
|
+
export type WebServiceNoteAlignment = typeof WebServiceNoteAlignment[keyof typeof WebServiceNoteAlignment];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function WebServiceNoteAlignmentFromJSON(json: any): WebServiceNoteAlignment {
|
|
30
|
+
return WebServiceNoteAlignmentFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function WebServiceNoteAlignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceNoteAlignment {
|
|
34
|
+
return json as WebServiceNoteAlignment;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function WebServiceNoteAlignmentToJSON(value?: WebServiceNoteAlignment | null): any {
|
|
38
|
+
return value as any;
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -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 WebServiceNoteFontSize = {
|
|
21
|
+
Md: 'MD',
|
|
22
|
+
Sm: 'SM',
|
|
23
|
+
Lg: 'LG',
|
|
24
|
+
Xl: 'XL',
|
|
25
|
+
Xxl: 'XXL',
|
|
26
|
+
UnknownDefaultOpenApi: '11184809'
|
|
27
|
+
} as const;
|
|
28
|
+
export type WebServiceNoteFontSize = typeof WebServiceNoteFontSize[keyof typeof WebServiceNoteFontSize];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export function WebServiceNoteFontSizeFromJSON(json: any): WebServiceNoteFontSize {
|
|
32
|
+
return WebServiceNoteFontSizeFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function WebServiceNoteFontSizeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebServiceNoteFontSize {
|
|
36
|
+
return json as WebServiceNoteFontSize;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function WebServiceNoteFontSizeToJSON(value?: WebServiceNoteFontSize | null): any {
|
|
40
|
+
return value as any;
|
|
41
|
+
}
|
|
42
|
+
|