@rlvt/statistics-openapi-client 1.0.9 → 1.0.11
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/api.d.ts +34 -13
- package/build/api.js +11 -5
- package/build/definitions.d.ts +121 -55
- package/package.json +3 -3
package/build/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import type {
|
|
2
|
+
import type { InternalResponse_measures_Measures_dimensions_Dimensions, InternalResponse_Array_StatisticsQuery, Query, InternalResponse_Union_string_QueryResult_Array_Record, StatisticsQuerySchedule, InternalResponse_StatisticsQuery, InternalResponse_Array_QueryResult, InternalResponse, InternalResponse_Array_SerializedAnalyticsTagSettings } from "./definitions";
|
|
3
3
|
export * from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
@@ -7,43 +7,64 @@ export default class {
|
|
|
7
7
|
private meta;
|
|
8
8
|
private listSavedQueries;
|
|
9
9
|
private query;
|
|
10
|
-
private aiAnalysis;
|
|
11
10
|
private saveQuery;
|
|
12
11
|
private runSavedQuery;
|
|
13
12
|
private updateSavedQuery;
|
|
14
13
|
private deleteSavedQuery;
|
|
14
|
+
private listTagSettings;
|
|
15
15
|
get Default(): {
|
|
16
|
-
meta: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
16
|
+
meta: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
17
|
+
status: "success";
|
|
18
|
+
} & InternalResponse_measures_Measures_dimensions_Dimensions, any, {}>>;
|
|
17
19
|
listSavedQueries: (params: {
|
|
18
20
|
name?: string | undefined;
|
|
19
21
|
page?: number | undefined;
|
|
20
22
|
perPage?: number | undefined;
|
|
21
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
23
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
24
|
+
paginationCount: number;
|
|
25
|
+
paginationPage: number;
|
|
26
|
+
paginationLimit: number;
|
|
27
|
+
} & {
|
|
28
|
+
status: "success";
|
|
29
|
+
} & InternalResponse_Array_StatisticsQuery, any, {}>>;
|
|
22
30
|
query: (params: {
|
|
23
31
|
format?: "csv" | "raw" | "table" | undefined;
|
|
24
|
-
}, data: Query, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
model?: string | undefined;
|
|
28
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<SuccessResponse_Query, any>>;
|
|
32
|
+
}, data: Query, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
33
|
+
status: "success";
|
|
34
|
+
} & InternalResponse_Union_string_QueryResult_Array_Record, any, {}>>;
|
|
29
35
|
saveQuery: (params: Record<string, never>, data: {
|
|
30
36
|
name: string;
|
|
31
37
|
queries: Query[];
|
|
32
38
|
} & {
|
|
33
39
|
schedule?: {} | StatisticsQuerySchedule | undefined;
|
|
34
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
40
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
41
|
+
status: "success";
|
|
42
|
+
} & InternalResponse_StatisticsQuery, any, {}>>;
|
|
35
43
|
runSavedQuery: (params: {
|
|
36
44
|
id: string;
|
|
37
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
45
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
46
|
+
status: "success";
|
|
47
|
+
} & InternalResponse_Array_QueryResult, any, {}>>;
|
|
38
48
|
updateSavedQuery: (params: {
|
|
39
49
|
id: string;
|
|
40
50
|
}, data: {
|
|
41
51
|
name?: string | undefined;
|
|
42
52
|
queries?: Query[] | undefined;
|
|
43
53
|
schedule?: {} | StatisticsQuerySchedule | undefined;
|
|
44
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
54
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
55
|
+
status: "success";
|
|
56
|
+
} & InternalResponse_StatisticsQuery, any, {}>>;
|
|
45
57
|
deleteSavedQuery: (params: {
|
|
46
58
|
id: string;
|
|
47
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<
|
|
59
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
60
|
+
status: "success";
|
|
61
|
+
} & InternalResponse, any, {}>>;
|
|
62
|
+
};
|
|
63
|
+
get AnalyticsSettings(): {
|
|
64
|
+
listTagSettings: (params: {
|
|
65
|
+
assignmentMode?: "custom" | "system" | undefined;
|
|
66
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
67
|
+
status: "success";
|
|
68
|
+
} & InternalResponse_Array_SerializedAnalyticsTagSettings, any, {}>>;
|
|
48
69
|
};
|
|
49
70
|
}
|
package/build/api.js
CHANGED
|
@@ -40,9 +40,6 @@ class default_1 {
|
|
|
40
40
|
params: pick(params, "format"),
|
|
41
41
|
}, options));
|
|
42
42
|
}
|
|
43
|
-
aiAnalysis(params, data, options) {
|
|
44
|
-
return this.axios.post("/ai-analysis", data, options);
|
|
45
|
-
}
|
|
46
43
|
saveQuery(params, data, options) {
|
|
47
44
|
return this.axios.post("/query/save", data, options);
|
|
48
45
|
}
|
|
@@ -55,18 +52,27 @@ class default_1 {
|
|
|
55
52
|
deleteSavedQuery(params, options) {
|
|
56
53
|
return this.axios.delete("/query/{id}".replace(/{id}/, String(params["id"])), options);
|
|
57
54
|
}
|
|
55
|
+
listTagSettings(params, options) {
|
|
56
|
+
return this.axios.get("/analytics/settings/tags", Object.assign({}, {
|
|
57
|
+
params: pick(params, "assignmentMode"),
|
|
58
|
+
}, options));
|
|
59
|
+
}
|
|
58
60
|
get Default() {
|
|
59
61
|
return {
|
|
60
62
|
meta: this.meta.bind(this),
|
|
61
63
|
listSavedQueries: this.listSavedQueries.bind(this),
|
|
62
64
|
query: this.query.bind(this),
|
|
63
|
-
aiAnalysis: this.aiAnalysis.bind(this),
|
|
64
65
|
saveQuery: this.saveQuery.bind(this),
|
|
65
66
|
runSavedQuery: this.runSavedQuery.bind(this),
|
|
66
67
|
updateSavedQuery: this.updateSavedQuery.bind(this),
|
|
67
68
|
deleteSavedQuery: this.deleteSavedQuery.bind(this)
|
|
68
69
|
};
|
|
69
70
|
}
|
|
71
|
+
get AnalyticsSettings() {
|
|
72
|
+
return {
|
|
73
|
+
listTagSettings: this.listTagSettings.bind(this)
|
|
74
|
+
};
|
|
75
|
+
}
|
|
70
76
|
}
|
|
71
77
|
exports.default = default_1;
|
|
72
78
|
function pick(obj, ...keys) {
|
|
@@ -77,4 +83,4 @@ function pick(obj, ...keys) {
|
|
|
77
83
|
});
|
|
78
84
|
return ret;
|
|
79
85
|
}
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRXBCLGtEQUFpRTtBQUdqRSxnREFBOEI7QUFFOUI7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQ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sQ0FBQztBQUNmLENBQUMifQ==
|
package/build/definitions.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ export declare type Dimension = {
|
|
|
13
13
|
unit?: string;
|
|
14
14
|
isVisible: boolean;
|
|
15
15
|
};
|
|
16
|
-
export declare type
|
|
17
|
-
status: "success";
|
|
16
|
+
export declare type InternalResponse_measures_Measures_dimensions_Dimensions = {
|
|
18
17
|
program: string;
|
|
19
18
|
version: string;
|
|
20
19
|
datetime: string;
|
|
20
|
+
status: string;
|
|
21
21
|
code?: number;
|
|
22
22
|
message: string;
|
|
23
23
|
data: {
|
|
@@ -29,6 +29,70 @@ export declare type SuccessResponse = {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
+
export declare type Serie = {
|
|
33
|
+
dimensions: {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
id: string;
|
|
36
|
+
value: string | number | (false) | (true);
|
|
37
|
+
metadata: {
|
|
38
|
+
link?: string;
|
|
39
|
+
formattedValue?: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
measures: {
|
|
44
|
+
id: string;
|
|
45
|
+
values: {
|
|
46
|
+
date: string;
|
|
47
|
+
value: number;
|
|
48
|
+
metadata: {
|
|
49
|
+
calculation?: ({
|
|
50
|
+
type: "number";
|
|
51
|
+
value: number;
|
|
52
|
+
unit?: "currency" | "percent";
|
|
53
|
+
} | {
|
|
54
|
+
type: "scope";
|
|
55
|
+
value: "(" | ")";
|
|
56
|
+
} | {
|
|
57
|
+
type: "operator";
|
|
58
|
+
value: "/" | "\u00D7" | "-" | "+";
|
|
59
|
+
})[];
|
|
60
|
+
};
|
|
61
|
+
}[];
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
export declare type QueryResult = {
|
|
65
|
+
series: Serie[];
|
|
66
|
+
};
|
|
67
|
+
export declare type InternalResponse_Union_string_QueryResult_Array_Record = {
|
|
68
|
+
program: string;
|
|
69
|
+
version: string;
|
|
70
|
+
datetime: string;
|
|
71
|
+
status: string;
|
|
72
|
+
code?: number;
|
|
73
|
+
message: string;
|
|
74
|
+
data: string | QueryResult | {
|
|
75
|
+
[key: string]: {
|
|
76
|
+
value: string | number | (false) | (true);
|
|
77
|
+
metadata: {
|
|
78
|
+
link?: string;
|
|
79
|
+
formattedValue?: string;
|
|
80
|
+
} | {
|
|
81
|
+
calculation?: ({
|
|
82
|
+
type: "number";
|
|
83
|
+
value: number;
|
|
84
|
+
unit?: "currency" | "percent";
|
|
85
|
+
} | {
|
|
86
|
+
type: "scope";
|
|
87
|
+
value: "(" | ")";
|
|
88
|
+
} | {
|
|
89
|
+
type: "operator";
|
|
90
|
+
value: "/" | "\u00D7" | "-" | "+";
|
|
91
|
+
})[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}[];
|
|
95
|
+
};
|
|
32
96
|
export declare type BinaryFilter = {
|
|
33
97
|
dimension?: string;
|
|
34
98
|
member?: string;
|
|
@@ -41,7 +105,6 @@ export declare type TimeDimensionBase = {
|
|
|
41
105
|
};
|
|
42
106
|
export declare type TimeDimensionComparisonFields = {
|
|
43
107
|
compareDateRange: (string | (string | string)[])[];
|
|
44
|
-
dateRange?: unknown;
|
|
45
108
|
};
|
|
46
109
|
export declare type TimeDimensionRangedFields = {
|
|
47
110
|
dateRange?: string | (string | string)[];
|
|
@@ -57,20 +120,14 @@ export declare type Query = {
|
|
|
57
120
|
limit?: number;
|
|
58
121
|
order?: TQueryOrderObject | (string | ("asc" | "desc"))[][];
|
|
59
122
|
};
|
|
60
|
-
export declare type SuccessResponse_Query = {
|
|
61
|
-
status: "success";
|
|
62
|
-
program: string;
|
|
63
|
-
version: string;
|
|
64
|
-
datetime: string;
|
|
65
|
-
code?: number;
|
|
66
|
-
message: string;
|
|
67
|
-
data: Query;
|
|
68
|
-
};
|
|
69
123
|
export declare type StatisticsQuerySchedule = {
|
|
70
124
|
cron: string;
|
|
71
125
|
destination: {
|
|
72
126
|
type: "email";
|
|
73
127
|
emails: string[];
|
|
128
|
+
} | {
|
|
129
|
+
type: "slack";
|
|
130
|
+
webhookUrl: string;
|
|
74
131
|
};
|
|
75
132
|
};
|
|
76
133
|
export declare type StatisticsQuery_Without_CompanyId_HasScheduleEnabled_ToJSON = {
|
|
@@ -84,70 +141,79 @@ export declare type StatisticsQuery = StatisticsQuery_Without_CompanyId_HasSched
|
|
|
84
141
|
createdAt: string;
|
|
85
142
|
updatedAt: string;
|
|
86
143
|
};
|
|
87
|
-
export declare type
|
|
88
|
-
status: "success";
|
|
144
|
+
export declare type InternalResponse_StatisticsQuery = {
|
|
89
145
|
program: string;
|
|
90
146
|
version: string;
|
|
91
147
|
datetime: string;
|
|
148
|
+
status: string;
|
|
92
149
|
code?: number;
|
|
93
150
|
message: string;
|
|
94
151
|
data: StatisticsQuery;
|
|
95
152
|
};
|
|
96
|
-
export declare type
|
|
97
|
-
paginationCount: number;
|
|
98
|
-
paginationPage: number;
|
|
99
|
-
paginationLimit: number;
|
|
100
|
-
status: "success";
|
|
153
|
+
export declare type InternalResponse_Array_StatisticsQuery = {
|
|
101
154
|
program: string;
|
|
102
155
|
version: string;
|
|
103
156
|
datetime: string;
|
|
157
|
+
status: string;
|
|
104
158
|
code?: number;
|
|
105
159
|
message: string;
|
|
106
160
|
data: StatisticsQuery[];
|
|
107
161
|
};
|
|
108
|
-
export declare type
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
measures: {
|
|
120
|
-
id: string;
|
|
121
|
-
values: {
|
|
122
|
-
date: string;
|
|
123
|
-
value: number;
|
|
124
|
-
metadata: {
|
|
125
|
-
calculation?: ({
|
|
126
|
-
type: "number";
|
|
127
|
-
value: number;
|
|
128
|
-
unit?: "currency" | "percent";
|
|
129
|
-
} | {
|
|
130
|
-
type: "scope";
|
|
131
|
-
value: "(" | ")";
|
|
132
|
-
} | {
|
|
133
|
-
type: "operator";
|
|
134
|
-
value: "/" | "\u00D7" | "-" | "+";
|
|
135
|
-
})[];
|
|
136
|
-
};
|
|
137
|
-
}[];
|
|
138
|
-
}[];
|
|
162
|
+
export declare type InternalResponse_Array_QueryResult = {
|
|
163
|
+
program: string;
|
|
164
|
+
version: string;
|
|
165
|
+
datetime: string;
|
|
166
|
+
status: string;
|
|
167
|
+
code?: number;
|
|
168
|
+
message: string;
|
|
169
|
+
data: QueryResult[];
|
|
139
170
|
};
|
|
140
|
-
export declare type
|
|
141
|
-
|
|
171
|
+
export declare type InternalResponse = {
|
|
172
|
+
program: string;
|
|
173
|
+
version: string;
|
|
174
|
+
datetime: string;
|
|
175
|
+
status: string;
|
|
176
|
+
code?: number;
|
|
177
|
+
message: string;
|
|
178
|
+
data: {};
|
|
179
|
+
};
|
|
180
|
+
export declare type AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize = {
|
|
181
|
+
id: string;
|
|
182
|
+
type: "Tag";
|
|
183
|
+
createdAt?: string;
|
|
184
|
+
updatedAt?: string;
|
|
142
185
|
};
|
|
143
|
-
export declare type
|
|
144
|
-
|
|
186
|
+
export declare type SerializedAnalyticsSettings = AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize & {
|
|
187
|
+
id: string;
|
|
188
|
+
companyId: string;
|
|
189
|
+
resourceGroupIds: string[];
|
|
190
|
+
createdAt: string;
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
};
|
|
193
|
+
export declare type ObjectId = string;
|
|
194
|
+
export declare type TagValue = {
|
|
195
|
+
_id: ObjectId;
|
|
196
|
+
name: string;
|
|
197
|
+
description?: string;
|
|
198
|
+
};
|
|
199
|
+
export declare type TagDefinition = {
|
|
200
|
+
name: string;
|
|
201
|
+
description?: string;
|
|
202
|
+
assignmentMode: "custom" | "system";
|
|
203
|
+
cardinality: "single" | "multiple";
|
|
204
|
+
values: TagValue[];
|
|
205
|
+
};
|
|
206
|
+
export declare type SerializedAnalyticsTagSettings = SerializedAnalyticsSettings & {
|
|
207
|
+
definition: TagDefinition;
|
|
208
|
+
};
|
|
209
|
+
export declare type InternalResponse_Array_SerializedAnalyticsTagSettings = {
|
|
145
210
|
program: string;
|
|
146
211
|
version: string;
|
|
147
212
|
datetime: string;
|
|
213
|
+
status: string;
|
|
148
214
|
code?: number;
|
|
149
215
|
message: string;
|
|
150
|
-
data:
|
|
216
|
+
data: SerializedAnalyticsTagSettings[];
|
|
151
217
|
};
|
|
152
218
|
export declare type QueryFormatterTableResult = {
|
|
153
219
|
[key: string]: {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlvt/statistics-openapi-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11+1fd4163",
|
|
4
4
|
"description": "Openapi client for reelevant service",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": "https://github.com/reelevant-tech/openapi-clients",
|
|
7
7
|
"author": "Reelevant",
|
|
8
8
|
"license": "MIT",
|
|
9
|
-
"
|
|
9
|
+
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^18.8.5",
|
|
21
21
|
"typescript": "^4.8.4",
|
|
22
|
-
"axios": "^1.
|
|
22
|
+
"axios": "^1.12.2"
|
|
23
23
|
}
|
|
24
24
|
}
|