@rlvt/statistics-openapi-client 1.0.17 → 1.0.19
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 +603 -21
- package/build/api.js +1 -1
- package/build/definitions.d.ts +45 -19
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import type {
|
|
2
|
+
import type { TagAssignmentMode, TagCardinality } from "./definitions";
|
|
3
3
|
export * from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
@@ -22,7 +22,35 @@ export default class {
|
|
|
22
22
|
get Default(): {
|
|
23
23
|
meta: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
24
24
|
status: "success";
|
|
25
|
-
} &
|
|
25
|
+
} & {
|
|
26
|
+
data: {
|
|
27
|
+
measures: {
|
|
28
|
+
[x: string]: {
|
|
29
|
+
name: string;
|
|
30
|
+
format?: "number" | "currency" | "percent" | undefined;
|
|
31
|
+
id: string;
|
|
32
|
+
unit?: string | undefined;
|
|
33
|
+
isVisible: boolean;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
dimensions: {
|
|
37
|
+
[x: string]: {
|
|
38
|
+
name: string;
|
|
39
|
+
format?: "number" | "currency" | "percent" | undefined;
|
|
40
|
+
type: "string" | "number" | "boolean" | "time";
|
|
41
|
+
id: string;
|
|
42
|
+
unit?: string | undefined;
|
|
43
|
+
isVisible: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
program: string;
|
|
48
|
+
version: string;
|
|
49
|
+
datetime: string;
|
|
50
|
+
status: string;
|
|
51
|
+
code?: number | undefined;
|
|
52
|
+
message: string;
|
|
53
|
+
}, any, {}>>;
|
|
26
54
|
listSavedQueries: (params: {
|
|
27
55
|
name?: string | undefined;
|
|
28
56
|
page?: number | undefined;
|
|
@@ -33,58 +61,468 @@ export default class {
|
|
|
33
61
|
paginationLimit: number;
|
|
34
62
|
} & {
|
|
35
63
|
status: "success";
|
|
36
|
-
} &
|
|
64
|
+
} & {
|
|
65
|
+
data: {
|
|
66
|
+
name: string;
|
|
67
|
+
queries: {
|
|
68
|
+
measures: string[];
|
|
69
|
+
dimensions: string[];
|
|
70
|
+
filters: {
|
|
71
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
72
|
+
values: string[];
|
|
73
|
+
dimension?: string | undefined;
|
|
74
|
+
member?: string | undefined;
|
|
75
|
+
}[];
|
|
76
|
+
timeDimensions: ({
|
|
77
|
+
dimension: string;
|
|
78
|
+
granularity?: string | undefined;
|
|
79
|
+
compareDateRange: (string | string[])[];
|
|
80
|
+
} | {
|
|
81
|
+
dimension: string;
|
|
82
|
+
granularity?: string | undefined;
|
|
83
|
+
dateRange?: string | string[] | undefined;
|
|
84
|
+
})[];
|
|
85
|
+
limit?: number | undefined;
|
|
86
|
+
order?: {
|
|
87
|
+
[x: string]: "asc" | "desc";
|
|
88
|
+
} | string[][] | undefined;
|
|
89
|
+
}[];
|
|
90
|
+
schedule: unknown;
|
|
91
|
+
companyId: string;
|
|
92
|
+
id: string;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
updatedAt: string;
|
|
95
|
+
}[];
|
|
96
|
+
program: string;
|
|
97
|
+
version: string;
|
|
98
|
+
datetime: string;
|
|
99
|
+
status: string;
|
|
100
|
+
code?: number | undefined;
|
|
101
|
+
message: string;
|
|
102
|
+
}, any, {}>>;
|
|
37
103
|
query: (params: {
|
|
38
104
|
format?: "csv" | "raw" | "table" | undefined;
|
|
39
|
-
}, data:
|
|
105
|
+
}, data: {
|
|
106
|
+
measures: string[];
|
|
107
|
+
dimensions: string[];
|
|
108
|
+
filters: {
|
|
109
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
110
|
+
values: string[];
|
|
111
|
+
dimension?: string | undefined;
|
|
112
|
+
member?: string | undefined;
|
|
113
|
+
}[];
|
|
114
|
+
timeDimensions: ({
|
|
115
|
+
dimension: string;
|
|
116
|
+
granularity?: string | undefined;
|
|
117
|
+
compareDateRange: (string | string[])[];
|
|
118
|
+
} | {
|
|
119
|
+
dimension: string;
|
|
120
|
+
granularity?: string | undefined;
|
|
121
|
+
dateRange?: string | string[] | undefined;
|
|
122
|
+
})[];
|
|
123
|
+
limit?: number | undefined;
|
|
124
|
+
order?: {
|
|
125
|
+
[x: string]: "asc" | "desc";
|
|
126
|
+
} | string[][] | undefined;
|
|
127
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
40
128
|
status: "success";
|
|
41
|
-
} &
|
|
129
|
+
} & {
|
|
130
|
+
data: string | {
|
|
131
|
+
series: {
|
|
132
|
+
measures: {
|
|
133
|
+
values: {
|
|
134
|
+
date: string;
|
|
135
|
+
value: number;
|
|
136
|
+
metadata: {
|
|
137
|
+
calculation?: ({
|
|
138
|
+
type: "number";
|
|
139
|
+
unit?: "currency" | "percent" | undefined;
|
|
140
|
+
value: number;
|
|
141
|
+
} | {
|
|
142
|
+
type: "scope";
|
|
143
|
+
value: "(" | ")";
|
|
144
|
+
} | {
|
|
145
|
+
type: "operator";
|
|
146
|
+
value: "/" | "×" | "-" | "+";
|
|
147
|
+
})[] | undefined;
|
|
148
|
+
};
|
|
149
|
+
}[];
|
|
150
|
+
id: string;
|
|
151
|
+
}[];
|
|
152
|
+
dimensions: {
|
|
153
|
+
[x: string]: {
|
|
154
|
+
id: string;
|
|
155
|
+
value: string | number | boolean;
|
|
156
|
+
metadata: {
|
|
157
|
+
link?: string | undefined;
|
|
158
|
+
formattedValue?: string | undefined;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}[];
|
|
163
|
+
} | {
|
|
164
|
+
[x: string]: {
|
|
165
|
+
value: string | number | boolean;
|
|
166
|
+
metadata: {
|
|
167
|
+
link?: string | undefined;
|
|
168
|
+
formattedValue?: string | undefined;
|
|
169
|
+
} | {
|
|
170
|
+
calculation?: ({
|
|
171
|
+
type: "number";
|
|
172
|
+
unit?: "currency" | "percent" | undefined;
|
|
173
|
+
value: number;
|
|
174
|
+
} | {
|
|
175
|
+
type: "scope";
|
|
176
|
+
value: "(" | ")";
|
|
177
|
+
} | {
|
|
178
|
+
type: "operator";
|
|
179
|
+
value: "/" | "×" | "-" | "+";
|
|
180
|
+
})[] | undefined;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
}[];
|
|
184
|
+
program: string;
|
|
185
|
+
version: string;
|
|
186
|
+
datetime: string;
|
|
187
|
+
status: string;
|
|
188
|
+
code?: number | undefined;
|
|
189
|
+
message: string;
|
|
190
|
+
}, any, {}>>;
|
|
42
191
|
saveQuery: (params: Record<string, never>, data: {
|
|
43
192
|
name: string;
|
|
44
|
-
queries:
|
|
193
|
+
queries: {
|
|
194
|
+
measures: string[];
|
|
195
|
+
dimensions: string[];
|
|
196
|
+
filters: {
|
|
197
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
198
|
+
values: string[];
|
|
199
|
+
dimension?: string | undefined;
|
|
200
|
+
member?: string | undefined;
|
|
201
|
+
}[];
|
|
202
|
+
timeDimensions: ({
|
|
203
|
+
dimension: string;
|
|
204
|
+
granularity?: string | undefined;
|
|
205
|
+
compareDateRange: (string | string[])[];
|
|
206
|
+
} | {
|
|
207
|
+
dimension: string;
|
|
208
|
+
granularity?: string | undefined;
|
|
209
|
+
dateRange?: string | string[] | undefined;
|
|
210
|
+
})[];
|
|
211
|
+
limit?: number | undefined;
|
|
212
|
+
order?: {
|
|
213
|
+
[x: string]: "asc" | "desc";
|
|
214
|
+
} | string[][] | undefined;
|
|
215
|
+
}[];
|
|
45
216
|
} & {
|
|
46
|
-
schedule?: {} |
|
|
217
|
+
schedule?: {} | {
|
|
218
|
+
cron: string;
|
|
219
|
+
destination: {
|
|
220
|
+
type: "email";
|
|
221
|
+
emails: string[];
|
|
222
|
+
} | {
|
|
223
|
+
type: "slack";
|
|
224
|
+
webhookUrl: string;
|
|
225
|
+
};
|
|
226
|
+
} | undefined;
|
|
47
227
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
48
228
|
status: "success";
|
|
49
|
-
} &
|
|
229
|
+
} & {
|
|
230
|
+
data: {
|
|
231
|
+
name: string;
|
|
232
|
+
queries: {
|
|
233
|
+
measures: string[];
|
|
234
|
+
dimensions: string[];
|
|
235
|
+
filters: {
|
|
236
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
237
|
+
values: string[];
|
|
238
|
+
dimension?: string | undefined;
|
|
239
|
+
member?: string | undefined;
|
|
240
|
+
}[];
|
|
241
|
+
timeDimensions: ({
|
|
242
|
+
dimension: string;
|
|
243
|
+
granularity?: string | undefined;
|
|
244
|
+
compareDateRange: (string | string[])[];
|
|
245
|
+
} | {
|
|
246
|
+
dimension: string;
|
|
247
|
+
granularity?: string | undefined;
|
|
248
|
+
dateRange?: string | string[] | undefined;
|
|
249
|
+
})[];
|
|
250
|
+
limit?: number | undefined;
|
|
251
|
+
order?: {
|
|
252
|
+
[x: string]: "asc" | "desc";
|
|
253
|
+
} | string[][] | undefined;
|
|
254
|
+
}[];
|
|
255
|
+
schedule: unknown;
|
|
256
|
+
companyId: string;
|
|
257
|
+
id: string;
|
|
258
|
+
createdAt: string;
|
|
259
|
+
updatedAt: string;
|
|
260
|
+
};
|
|
261
|
+
program: string;
|
|
262
|
+
version: string;
|
|
263
|
+
datetime: string;
|
|
264
|
+
status: string;
|
|
265
|
+
code?: number | undefined;
|
|
266
|
+
message: string;
|
|
267
|
+
}, any, {}>>;
|
|
50
268
|
runSavedQuery: (params: {
|
|
51
269
|
id: string;
|
|
52
270
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
53
271
|
status: "success";
|
|
54
|
-
} &
|
|
272
|
+
} & {
|
|
273
|
+
data: {
|
|
274
|
+
series: {
|
|
275
|
+
measures: {
|
|
276
|
+
values: {
|
|
277
|
+
date: string;
|
|
278
|
+
value: number;
|
|
279
|
+
metadata: {
|
|
280
|
+
calculation?: ({
|
|
281
|
+
type: "number";
|
|
282
|
+
unit?: "currency" | "percent" | undefined;
|
|
283
|
+
value: number;
|
|
284
|
+
} | {
|
|
285
|
+
type: "scope";
|
|
286
|
+
value: "(" | ")";
|
|
287
|
+
} | {
|
|
288
|
+
type: "operator";
|
|
289
|
+
value: "/" | "×" | "-" | "+";
|
|
290
|
+
})[] | undefined;
|
|
291
|
+
};
|
|
292
|
+
}[];
|
|
293
|
+
id: string;
|
|
294
|
+
}[];
|
|
295
|
+
dimensions: {
|
|
296
|
+
[x: string]: {
|
|
297
|
+
id: string;
|
|
298
|
+
value: string | number | boolean;
|
|
299
|
+
metadata: {
|
|
300
|
+
link?: string | undefined;
|
|
301
|
+
formattedValue?: string | undefined;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
}[];
|
|
306
|
+
}[];
|
|
307
|
+
program: string;
|
|
308
|
+
version: string;
|
|
309
|
+
datetime: string;
|
|
310
|
+
status: string;
|
|
311
|
+
code?: number | undefined;
|
|
312
|
+
message: string;
|
|
313
|
+
}, any, {}>>;
|
|
55
314
|
updateSavedQuery: (params: {
|
|
56
315
|
id: string;
|
|
57
316
|
}, data: {
|
|
58
317
|
name?: string | undefined;
|
|
59
|
-
queries?:
|
|
60
|
-
|
|
318
|
+
queries?: {
|
|
319
|
+
measures: string[];
|
|
320
|
+
dimensions: string[];
|
|
321
|
+
filters: {
|
|
322
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
323
|
+
values: string[];
|
|
324
|
+
dimension?: string | undefined;
|
|
325
|
+
member?: string | undefined;
|
|
326
|
+
}[];
|
|
327
|
+
timeDimensions: ({
|
|
328
|
+
dimension: string;
|
|
329
|
+
granularity?: string | undefined;
|
|
330
|
+
compareDateRange: (string | string[])[];
|
|
331
|
+
} | {
|
|
332
|
+
dimension: string;
|
|
333
|
+
granularity?: string | undefined;
|
|
334
|
+
dateRange?: string | string[] | undefined;
|
|
335
|
+
})[];
|
|
336
|
+
limit?: number | undefined;
|
|
337
|
+
order?: {
|
|
338
|
+
[x: string]: "asc" | "desc";
|
|
339
|
+
} | string[][] | undefined;
|
|
340
|
+
}[] | undefined;
|
|
341
|
+
schedule?: {} | {
|
|
342
|
+
cron: string;
|
|
343
|
+
destination: {
|
|
344
|
+
type: "email";
|
|
345
|
+
emails: string[];
|
|
346
|
+
} | {
|
|
347
|
+
type: "slack";
|
|
348
|
+
webhookUrl: string;
|
|
349
|
+
};
|
|
350
|
+
} | undefined;
|
|
61
351
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
62
352
|
status: "success";
|
|
63
|
-
} &
|
|
353
|
+
} & {
|
|
354
|
+
data: {
|
|
355
|
+
name: string;
|
|
356
|
+
queries: {
|
|
357
|
+
measures: string[];
|
|
358
|
+
dimensions: string[];
|
|
359
|
+
filters: {
|
|
360
|
+
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "gt" | "gte" | "lt" | "lte" | "inDateRange" | "notInDateRange" | "beforeDate" | "beforeOrOnDate" | "afterDate" | "afterOrOnDate";
|
|
361
|
+
values: string[];
|
|
362
|
+
dimension?: string | undefined;
|
|
363
|
+
member?: string | undefined;
|
|
364
|
+
}[];
|
|
365
|
+
timeDimensions: ({
|
|
366
|
+
dimension: string;
|
|
367
|
+
granularity?: string | undefined;
|
|
368
|
+
compareDateRange: (string | string[])[];
|
|
369
|
+
} | {
|
|
370
|
+
dimension: string;
|
|
371
|
+
granularity?: string | undefined;
|
|
372
|
+
dateRange?: string | string[] | undefined;
|
|
373
|
+
})[];
|
|
374
|
+
limit?: number | undefined;
|
|
375
|
+
order?: {
|
|
376
|
+
[x: string]: "asc" | "desc";
|
|
377
|
+
} | string[][] | undefined;
|
|
378
|
+
}[];
|
|
379
|
+
schedule: unknown;
|
|
380
|
+
companyId: string;
|
|
381
|
+
id: string;
|
|
382
|
+
createdAt: string;
|
|
383
|
+
updatedAt: string;
|
|
384
|
+
};
|
|
385
|
+
program: string;
|
|
386
|
+
version: string;
|
|
387
|
+
datetime: string;
|
|
388
|
+
status: string;
|
|
389
|
+
code?: number | undefined;
|
|
390
|
+
message: string;
|
|
391
|
+
}, any, {}>>;
|
|
64
392
|
deleteSavedQuery: (params: {
|
|
65
393
|
id: string;
|
|
66
394
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
67
395
|
status: "success";
|
|
68
|
-
} &
|
|
396
|
+
} & {
|
|
397
|
+
data: unknown;
|
|
398
|
+
program: string;
|
|
399
|
+
version: string;
|
|
400
|
+
datetime: string;
|
|
401
|
+
status: string;
|
|
402
|
+
code?: number | undefined;
|
|
403
|
+
message: string;
|
|
404
|
+
}, any, {}>>;
|
|
69
405
|
};
|
|
70
406
|
get AnalyticsSettings(): {
|
|
71
407
|
listTagSettings: (params: {
|
|
72
408
|
assignmentMode?: TagAssignmentMode | undefined;
|
|
73
409
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
74
410
|
status: "success";
|
|
75
|
-
} &
|
|
411
|
+
} & {
|
|
412
|
+
data: {
|
|
413
|
+
type: "Tag";
|
|
414
|
+
readonly companyId: string & {
|
|
415
|
+
readonly?: "__readonly" | undefined;
|
|
416
|
+
};
|
|
417
|
+
id: string & {
|
|
418
|
+
readonly?: "__readonly" | undefined;
|
|
419
|
+
};
|
|
420
|
+
createdAt: string & {
|
|
421
|
+
readonly?: "__readonly" | undefined;
|
|
422
|
+
};
|
|
423
|
+
updatedAt: string & {
|
|
424
|
+
readonly?: "__readonly" | undefined;
|
|
425
|
+
};
|
|
426
|
+
definition: {
|
|
427
|
+
values: {
|
|
428
|
+
name: string;
|
|
429
|
+
description?: string | undefined;
|
|
430
|
+
_id: string;
|
|
431
|
+
}[];
|
|
432
|
+
name: string;
|
|
433
|
+
assignmentMode: TagAssignmentMode;
|
|
434
|
+
description?: string | undefined;
|
|
435
|
+
cardinality: TagCardinality;
|
|
436
|
+
};
|
|
437
|
+
resourceGroupIds: string[];
|
|
438
|
+
}[];
|
|
439
|
+
program: string;
|
|
440
|
+
version: string;
|
|
441
|
+
datetime: string;
|
|
442
|
+
status: string;
|
|
443
|
+
code?: number | undefined;
|
|
444
|
+
message: string;
|
|
445
|
+
}, any, {}>>;
|
|
76
446
|
createTagKey: (params: Record<string, never>, data: {
|
|
77
447
|
name: string;
|
|
78
448
|
description?: string | undefined;
|
|
79
449
|
cardinality: TagCardinality;
|
|
80
450
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
81
451
|
status: "success";
|
|
82
|
-
} &
|
|
452
|
+
} & {
|
|
453
|
+
data: {
|
|
454
|
+
type: "Tag";
|
|
455
|
+
readonly companyId: string & {
|
|
456
|
+
readonly?: "__readonly" | undefined;
|
|
457
|
+
};
|
|
458
|
+
id: string & {
|
|
459
|
+
readonly?: "__readonly" | undefined;
|
|
460
|
+
};
|
|
461
|
+
createdAt: string & {
|
|
462
|
+
readonly?: "__readonly" | undefined;
|
|
463
|
+
};
|
|
464
|
+
updatedAt: string & {
|
|
465
|
+
readonly?: "__readonly" | undefined;
|
|
466
|
+
};
|
|
467
|
+
definition: {
|
|
468
|
+
values: {
|
|
469
|
+
name: string;
|
|
470
|
+
description?: string | undefined;
|
|
471
|
+
_id: string;
|
|
472
|
+
}[];
|
|
473
|
+
name: string;
|
|
474
|
+
assignmentMode: TagAssignmentMode;
|
|
475
|
+
description?: string | undefined;
|
|
476
|
+
cardinality: TagCardinality;
|
|
477
|
+
};
|
|
478
|
+
resourceGroupIds: string[];
|
|
479
|
+
};
|
|
480
|
+
program: string;
|
|
481
|
+
version: string;
|
|
482
|
+
datetime: string;
|
|
483
|
+
status: string;
|
|
484
|
+
code?: number | undefined;
|
|
485
|
+
message: string;
|
|
486
|
+
}, any, {}>>;
|
|
83
487
|
getTagKey: (params: {
|
|
84
488
|
id: string;
|
|
85
489
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
86
490
|
status: "success";
|
|
87
|
-
} &
|
|
491
|
+
} & {
|
|
492
|
+
data: {
|
|
493
|
+
type: "Tag";
|
|
494
|
+
readonly companyId: string & {
|
|
495
|
+
readonly?: "__readonly" | undefined;
|
|
496
|
+
};
|
|
497
|
+
id: string & {
|
|
498
|
+
readonly?: "__readonly" | undefined;
|
|
499
|
+
};
|
|
500
|
+
createdAt: string & {
|
|
501
|
+
readonly?: "__readonly" | undefined;
|
|
502
|
+
};
|
|
503
|
+
updatedAt: string & {
|
|
504
|
+
readonly?: "__readonly" | undefined;
|
|
505
|
+
};
|
|
506
|
+
definition: {
|
|
507
|
+
values: {
|
|
508
|
+
name: string;
|
|
509
|
+
description?: string | undefined;
|
|
510
|
+
_id: string;
|
|
511
|
+
}[];
|
|
512
|
+
name: string;
|
|
513
|
+
assignmentMode: TagAssignmentMode;
|
|
514
|
+
description?: string | undefined;
|
|
515
|
+
cardinality: TagCardinality;
|
|
516
|
+
};
|
|
517
|
+
resourceGroupIds: string[];
|
|
518
|
+
};
|
|
519
|
+
program: string;
|
|
520
|
+
version: string;
|
|
521
|
+
datetime: string;
|
|
522
|
+
status: string;
|
|
523
|
+
code?: number | undefined;
|
|
524
|
+
message: string;
|
|
525
|
+
}, any, {}>>;
|
|
88
526
|
updateTagKey: (params: {
|
|
89
527
|
id: string;
|
|
90
528
|
}, data: {
|
|
@@ -93,12 +531,54 @@ export default class {
|
|
|
93
531
|
cardinality: TagCardinality;
|
|
94
532
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
95
533
|
status: "success";
|
|
96
|
-
} &
|
|
534
|
+
} & {
|
|
535
|
+
data: {
|
|
536
|
+
type: "Tag";
|
|
537
|
+
readonly companyId: string & {
|
|
538
|
+
readonly?: "__readonly" | undefined;
|
|
539
|
+
};
|
|
540
|
+
id: string & {
|
|
541
|
+
readonly?: "__readonly" | undefined;
|
|
542
|
+
};
|
|
543
|
+
createdAt: string & {
|
|
544
|
+
readonly?: "__readonly" | undefined;
|
|
545
|
+
};
|
|
546
|
+
updatedAt: string & {
|
|
547
|
+
readonly?: "__readonly" | undefined;
|
|
548
|
+
};
|
|
549
|
+
definition: {
|
|
550
|
+
values: {
|
|
551
|
+
name: string;
|
|
552
|
+
description?: string | undefined;
|
|
553
|
+
_id: string;
|
|
554
|
+
}[];
|
|
555
|
+
name: string;
|
|
556
|
+
assignmentMode: TagAssignmentMode;
|
|
557
|
+
description?: string | undefined;
|
|
558
|
+
cardinality: TagCardinality;
|
|
559
|
+
};
|
|
560
|
+
resourceGroupIds: string[];
|
|
561
|
+
};
|
|
562
|
+
program: string;
|
|
563
|
+
version: string;
|
|
564
|
+
datetime: string;
|
|
565
|
+
status: string;
|
|
566
|
+
code?: number | undefined;
|
|
567
|
+
message: string;
|
|
568
|
+
}, any, {}>>;
|
|
97
569
|
deleteTagKey: (params: {
|
|
98
570
|
id: string;
|
|
99
571
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
100
572
|
status: "success";
|
|
101
|
-
} &
|
|
573
|
+
} & {
|
|
574
|
+
data: unknown;
|
|
575
|
+
program: string;
|
|
576
|
+
version: string;
|
|
577
|
+
datetime: string;
|
|
578
|
+
status: string;
|
|
579
|
+
code?: number | undefined;
|
|
580
|
+
message: string;
|
|
581
|
+
}, any, {}>>;
|
|
102
582
|
createTagValue: (params: {
|
|
103
583
|
tagId: string;
|
|
104
584
|
}, data: {
|
|
@@ -106,7 +586,41 @@ export default class {
|
|
|
106
586
|
description?: string | undefined;
|
|
107
587
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
108
588
|
status: "success";
|
|
109
|
-
} &
|
|
589
|
+
} & {
|
|
590
|
+
data: {
|
|
591
|
+
type: "Tag";
|
|
592
|
+
readonly companyId: string & {
|
|
593
|
+
readonly?: "__readonly" | undefined;
|
|
594
|
+
};
|
|
595
|
+
id: string & {
|
|
596
|
+
readonly?: "__readonly" | undefined;
|
|
597
|
+
};
|
|
598
|
+
createdAt: string & {
|
|
599
|
+
readonly?: "__readonly" | undefined;
|
|
600
|
+
};
|
|
601
|
+
updatedAt: string & {
|
|
602
|
+
readonly?: "__readonly" | undefined;
|
|
603
|
+
};
|
|
604
|
+
definition: {
|
|
605
|
+
values: {
|
|
606
|
+
name: string;
|
|
607
|
+
description?: string | undefined;
|
|
608
|
+
_id: string;
|
|
609
|
+
}[];
|
|
610
|
+
name: string;
|
|
611
|
+
assignmentMode: TagAssignmentMode;
|
|
612
|
+
description?: string | undefined;
|
|
613
|
+
cardinality: TagCardinality;
|
|
614
|
+
};
|
|
615
|
+
resourceGroupIds: string[];
|
|
616
|
+
};
|
|
617
|
+
program: string;
|
|
618
|
+
version: string;
|
|
619
|
+
datetime: string;
|
|
620
|
+
status: string;
|
|
621
|
+
code?: number | undefined;
|
|
622
|
+
message: string;
|
|
623
|
+
}, any, {}>>;
|
|
110
624
|
updateTagValue: (params: {
|
|
111
625
|
tagId: string;
|
|
112
626
|
valueId: string;
|
|
@@ -115,12 +629,80 @@ export default class {
|
|
|
115
629
|
description?: string | undefined;
|
|
116
630
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
117
631
|
status: "success";
|
|
118
|
-
} &
|
|
632
|
+
} & {
|
|
633
|
+
data: {
|
|
634
|
+
type: "Tag";
|
|
635
|
+
readonly companyId: string & {
|
|
636
|
+
readonly?: "__readonly" | undefined;
|
|
637
|
+
};
|
|
638
|
+
id: string & {
|
|
639
|
+
readonly?: "__readonly" | undefined;
|
|
640
|
+
};
|
|
641
|
+
createdAt: string & {
|
|
642
|
+
readonly?: "__readonly" | undefined;
|
|
643
|
+
};
|
|
644
|
+
updatedAt: string & {
|
|
645
|
+
readonly?: "__readonly" | undefined;
|
|
646
|
+
};
|
|
647
|
+
definition: {
|
|
648
|
+
values: {
|
|
649
|
+
name: string;
|
|
650
|
+
description?: string | undefined;
|
|
651
|
+
_id: string;
|
|
652
|
+
}[];
|
|
653
|
+
name: string;
|
|
654
|
+
assignmentMode: TagAssignmentMode;
|
|
655
|
+
description?: string | undefined;
|
|
656
|
+
cardinality: TagCardinality;
|
|
657
|
+
};
|
|
658
|
+
resourceGroupIds: string[];
|
|
659
|
+
};
|
|
660
|
+
program: string;
|
|
661
|
+
version: string;
|
|
662
|
+
datetime: string;
|
|
663
|
+
status: string;
|
|
664
|
+
code?: number | undefined;
|
|
665
|
+
message: string;
|
|
666
|
+
}, any, {}>>;
|
|
119
667
|
deleteTagValue: (params: {
|
|
120
668
|
tagId: string;
|
|
121
669
|
valueId: string;
|
|
122
670
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
123
671
|
status: "success";
|
|
124
|
-
} &
|
|
672
|
+
} & {
|
|
673
|
+
data: {
|
|
674
|
+
type: "Tag";
|
|
675
|
+
readonly companyId: string & {
|
|
676
|
+
readonly?: "__readonly" | undefined;
|
|
677
|
+
};
|
|
678
|
+
id: string & {
|
|
679
|
+
readonly?: "__readonly" | undefined;
|
|
680
|
+
};
|
|
681
|
+
createdAt: string & {
|
|
682
|
+
readonly?: "__readonly" | undefined;
|
|
683
|
+
};
|
|
684
|
+
updatedAt: string & {
|
|
685
|
+
readonly?: "__readonly" | undefined;
|
|
686
|
+
};
|
|
687
|
+
definition: {
|
|
688
|
+
values: {
|
|
689
|
+
name: string;
|
|
690
|
+
description?: string | undefined;
|
|
691
|
+
_id: string;
|
|
692
|
+
}[];
|
|
693
|
+
name: string;
|
|
694
|
+
assignmentMode: TagAssignmentMode;
|
|
695
|
+
description?: string | undefined;
|
|
696
|
+
cardinality: TagCardinality;
|
|
697
|
+
};
|
|
698
|
+
resourceGroupIds: string[];
|
|
699
|
+
};
|
|
700
|
+
program: string;
|
|
701
|
+
version: string;
|
|
702
|
+
datetime: string;
|
|
703
|
+
status: string;
|
|
704
|
+
code?: number | undefined;
|
|
705
|
+
message: string;
|
|
706
|
+
}, any, {}>>;
|
|
125
707
|
};
|
|
126
708
|
}
|
package/build/api.js
CHANGED
|
@@ -111,4 +111,4 @@ function pick(obj, ...keys) {
|
|
|
111
111
|
});
|
|
112
112
|
return ret;
|
|
113
113
|
}
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
114
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QU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FDO1lBQzlDLGNBQWMsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUM7U0FDakQsQ0FBQztJQUNOLENBQUM7Q0FDSjtBQXJPRCw0QkFxT0M7QUFFRCxTQUFTLElBQUksQ0FBdUIsR0FBTSxFQUFFLEdBQUcsSUFBUztJQUNwRCxNQUFNLEdBQUcsR0FBZSxFQUFnQixDQUFDO0lBQ3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
declare type readonlyP = {
|
|
2
|
+
readonly?: '__readonly';
|
|
3
|
+
};
|
|
4
|
+
declare type writeonlyP = {
|
|
5
|
+
writeonly?: '__writeonly';
|
|
6
|
+
};
|
|
7
|
+
declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date;
|
|
8
|
+
declare type PropsWithoutReadonly<T> = {
|
|
9
|
+
[key in keyof T]: T[key] extends readonlyP ? NonNullable<T[key]['readonly']> extends '__readonly' ? never : key : key;
|
|
10
|
+
}[keyof T];
|
|
11
|
+
export declare type WithoutReadonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutReadonly<U>[] : keyof T extends never ? unknown : {
|
|
12
|
+
[key in keyof Pick<T, PropsWithoutReadonly<T>>]: Pick<T, PropsWithoutReadonly<T>>[key] extends any ? WithoutReadonly<Pick<T, PropsWithoutReadonly<T>>[key]> : never;
|
|
13
|
+
} : never;
|
|
14
|
+
declare type PropsWithoutWriteonly<T> = {
|
|
15
|
+
[key in keyof T]: T[key] extends writeonlyP ? NonNullable<T[key]['writeonly']> extends '__writeonly' ? never : key : key;
|
|
16
|
+
}[keyof T];
|
|
17
|
+
export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
|
|
18
|
+
[key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
|
|
19
|
+
} : never;
|
|
1
20
|
export declare type Measure = {
|
|
2
21
|
id: string;
|
|
3
22
|
name: string;
|
|
@@ -177,19 +196,6 @@ export declare type InternalResponse = {
|
|
|
177
196
|
message: string;
|
|
178
197
|
data: {};
|
|
179
198
|
};
|
|
180
|
-
export declare type AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize = {
|
|
181
|
-
id: string;
|
|
182
|
-
type: "Tag";
|
|
183
|
-
createdAt?: string;
|
|
184
|
-
updatedAt?: string;
|
|
185
|
-
};
|
|
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
199
|
export declare enum TagAssignmentMode {
|
|
194
200
|
CUSTOM = "custom",
|
|
195
201
|
SYSTEM = "system"
|
|
@@ -211,17 +217,28 @@ export declare type TagDefinition = {
|
|
|
211
217
|
cardinality: TagCardinality;
|
|
212
218
|
values: TagValue[];
|
|
213
219
|
};
|
|
214
|
-
export declare type
|
|
215
|
-
|
|
220
|
+
export declare type AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize = {
|
|
221
|
+
id: string;
|
|
222
|
+
type: "Tag";
|
|
223
|
+
createdAt?: string;
|
|
224
|
+
updatedAt?: string;
|
|
216
225
|
};
|
|
217
|
-
export declare type
|
|
226
|
+
export declare type InternalResponse_Array_Intersection_definition_TagDefinition_id_string_companyId_string_resourceGroupIds_Array_string_createdAt_Date_updatedAt_Date_Omit = {
|
|
218
227
|
program: string;
|
|
219
228
|
version: string;
|
|
220
229
|
datetime: string;
|
|
221
230
|
status: string;
|
|
222
231
|
code?: number;
|
|
223
232
|
message: string;
|
|
224
|
-
data:
|
|
233
|
+
data: ({
|
|
234
|
+
definition: TagDefinition;
|
|
235
|
+
} & {
|
|
236
|
+
readonly id: (string) & readonlyP;
|
|
237
|
+
readonly companyId: (string) & readonlyP;
|
|
238
|
+
resourceGroupIds: string[];
|
|
239
|
+
readonly createdAt: (string) & readonlyP;
|
|
240
|
+
readonly updatedAt: (string) & readonlyP;
|
|
241
|
+
} & AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize)[];
|
|
225
242
|
};
|
|
226
243
|
export declare type InternalResponse_ = {
|
|
227
244
|
program: string;
|
|
@@ -233,14 +250,22 @@ export declare type InternalResponse_ = {
|
|
|
233
250
|
data: {};
|
|
234
251
|
};
|
|
235
252
|
export declare type StatisticsErrorCode = 9000 | 9001 | 9002 | 9003 | 9004 | 9006;
|
|
236
|
-
export declare type
|
|
253
|
+
export declare type InternalResponse_Intersection_definition_TagDefinition_id_string_companyId_string_resourceGroupIds_Array_string_createdAt_Date_updatedAt_Date_Omit = {
|
|
237
254
|
program: string;
|
|
238
255
|
version: string;
|
|
239
256
|
datetime: string;
|
|
240
257
|
status: string;
|
|
241
258
|
code?: number;
|
|
242
259
|
message: string;
|
|
243
|
-
data:
|
|
260
|
+
data: {
|
|
261
|
+
definition: TagDefinition;
|
|
262
|
+
} & {
|
|
263
|
+
readonly id: (string) & readonlyP;
|
|
264
|
+
readonly companyId: (string) & readonlyP;
|
|
265
|
+
resourceGroupIds: string[];
|
|
266
|
+
readonly createdAt: (string) & readonlyP;
|
|
267
|
+
readonly updatedAt: (string) & readonlyP;
|
|
268
|
+
} & AnalyticsSettingsDocument_Without_CompanyId_ToJSON__id_ResourceGroupIds_Serialize;
|
|
244
269
|
};
|
|
245
270
|
export declare type QueryFormatterTableResult = {
|
|
246
271
|
[key: string]: {
|
|
@@ -264,3 +289,4 @@ export declare type QueryFormatterTableResult = {
|
|
|
264
289
|
};
|
|
265
290
|
}[];
|
|
266
291
|
export declare type QueryFormatterCSVResult = string;
|
|
292
|
+
export {};
|
package/build/definitions.js
CHANGED
|
@@ -13,4 +13,4 @@ var TagCardinality;
|
|
|
13
13
|
TagCardinality["SINGLE"] = "single";
|
|
14
14
|
TagCardinality["MULTIPLE"] = "multiple";
|
|
15
15
|
})(TagCardinality = exports.TagCardinality || (exports.TagCardinality = {}));
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBcU5wQixJQUFZLGlCQUdYO0FBSEQsV0FBWSxpQkFBaUI7SUFDekIsc0NBQWlCLENBQUE7SUFDakIsc0NBQWlCLENBQUE7QUFDckIsQ0FBQyxFQUhXLGlCQUFpQixHQUFqQix5QkFBaUIsS0FBakIseUJBQWlCLFFBRzVCO0FBRUQsSUFBWSxjQUdYO0FBSEQsV0FBWSxjQUFjO0lBQ3RCLG1DQUFpQixDQUFBO0lBQ2pCLHVDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFIVyxjQUFjLEdBQWQsc0JBQWMsS0FBZCxzQkFBYyxRQUd6QiJ9
|
package/package.json
CHANGED