@gooddata/sdk-code-schemas 11.56.0-alpha.6 → 11.56.0-alpha.7
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/esm/sdk-code-schemas.d.ts +340 -47
- package/esm/v1/metadata.d.ts +163 -39
- package/esm/v1/metadata.d.ts.map +1 -1
- package/esm/v1/metadata.json +208 -32
- package/esm/v1/schema.d.ts +131 -8
- package/esm/v1/schema.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -62,7 +62,7 @@ declare interface All1 {
|
|
|
62
62
|
/**
|
|
63
63
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
64
64
|
*/
|
|
65
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
65
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
declare type AllNoCondition = AllNoCondition1;
|
|
@@ -196,10 +196,7 @@ declare interface Attribute {
|
|
|
196
196
|
* Deprecated. Use 'show_in_ai_results' instead.
|
|
197
197
|
*/
|
|
198
198
|
is_hidden?: boolean;
|
|
199
|
-
|
|
200
|
-
* Locale string in BCP 47 format used for default label sorting.
|
|
201
|
-
*/
|
|
202
|
-
locale?: string;
|
|
199
|
+
locale?: Locale;
|
|
203
200
|
/**
|
|
204
201
|
* Optional flag to indicate if the attribute can contain null values.
|
|
205
202
|
*/
|
|
@@ -225,7 +222,7 @@ declare interface AttributeField {
|
|
|
225
222
|
/**
|
|
226
223
|
* Attribute or label identifier to use for this field.
|
|
227
224
|
*/
|
|
228
|
-
using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
|
|
225
|
+
using: (AttributeIdentifier8 | LabelIdentifier6 | ComputedAttributeIdentifier6 | FactIdentifier) & string;
|
|
229
226
|
}
|
|
230
227
|
|
|
231
228
|
declare type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
|
|
@@ -266,7 +263,7 @@ declare interface AttributeFilter {
|
|
|
266
263
|
/**
|
|
267
264
|
* Attribute or label to use in this filter.
|
|
268
265
|
*/
|
|
269
|
-
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
266
|
+
using: AttributeIdentifier9 | LabelIdentifier7 | ComputedAttributeIdentifier7;
|
|
270
267
|
display_as?: DisplayAsLabelIdentifier4;
|
|
271
268
|
state?: State;
|
|
272
269
|
}
|
|
@@ -276,7 +273,7 @@ declare interface AttributeFilter1 {
|
|
|
276
273
|
/**
|
|
277
274
|
* Attribute or label to use in this filter.
|
|
278
275
|
*/
|
|
279
|
-
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
276
|
+
using: AttributeIdentifier9 | LabelIdentifier7 | ComputedAttributeIdentifier7;
|
|
280
277
|
display_as?: DisplayAsLabelIdentifier4;
|
|
281
278
|
state?: State;
|
|
282
279
|
}
|
|
@@ -379,7 +376,7 @@ declare interface AttributeSort {
|
|
|
379
376
|
/**
|
|
380
377
|
* Local attribute or label to use in this sort.
|
|
381
378
|
*/
|
|
382
|
-
by: string | AttributeIdentifier13 | LabelIdentifier14;
|
|
379
|
+
by: string | AttributeIdentifier13 | LabelIdentifier14 | ComputedAttributeIdentifier13;
|
|
383
380
|
/**
|
|
384
381
|
* Sort direction.
|
|
385
382
|
*/
|
|
@@ -481,7 +478,7 @@ declare interface BOTTOM {
|
|
|
481
478
|
/**
|
|
482
479
|
* Label reference or local identifier to use for this filter.
|
|
483
480
|
*/
|
|
484
|
-
attribute?: LabelIdentifier11;
|
|
481
|
+
attribute?: LabelIdentifier11 | ComputedAttributeIdentifier11;
|
|
485
482
|
/**
|
|
486
483
|
* Number of bottom N values to use in this filter.
|
|
487
484
|
*/
|
|
@@ -778,7 +775,7 @@ declare interface Comparison1 {
|
|
|
778
775
|
/**
|
|
779
776
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
780
777
|
*/
|
|
781
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
778
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
782
779
|
}
|
|
783
780
|
|
|
784
781
|
declare type ComparisonCondition = ComparisonCondition1;
|
|
@@ -846,11 +843,111 @@ declare interface ComputedAttribute {
|
|
|
846
843
|
*/
|
|
847
844
|
maql: string;
|
|
848
845
|
/**
|
|
849
|
-
* An optional
|
|
846
|
+
* An optional Excel-like format string applied to the computed values.
|
|
847
|
+
*/
|
|
848
|
+
format?: string;
|
|
849
|
+
/**
|
|
850
|
+
* An optional categorization of the computed values semantics, for example currency.
|
|
851
|
+
*/
|
|
852
|
+
metric_type?: "UNSPECIFIED" | "CURRENCY";
|
|
853
|
+
/**
|
|
854
|
+
* An optional data type of the computed values. Defaults to STRING on the backend.
|
|
855
|
+
*/
|
|
856
|
+
data_type?: "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
|
|
857
|
+
/**
|
|
858
|
+
* An optional specific type of the computed values. Defaults to TEXT on the backend.
|
|
859
|
+
*/
|
|
860
|
+
value_type?: "TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE" | "GEO_AREA" | "GEO_ICON" | "IMAGE" | "HYPERLOGLOG";
|
|
861
|
+
/**
|
|
862
|
+
* Optional flag to indicate if the computed attribute can contain null values.
|
|
863
|
+
*/
|
|
864
|
+
is_nullable?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* Optional value which can be used as replacement for NULL in join conditions.
|
|
850
867
|
*/
|
|
851
|
-
|
|
868
|
+
null_value_join_replacement?: string;
|
|
869
|
+
/**
|
|
870
|
+
* Optional flag to indicate if the computed attribute should be shown in AI results. When omitted, the computed attribute is visible.
|
|
871
|
+
*/
|
|
872
|
+
show_in_ai_results?: boolean;
|
|
873
|
+
locale?: Locale3;
|
|
852
874
|
}
|
|
853
875
|
|
|
876
|
+
/**
|
|
877
|
+
* An ID of the attribute that holds the url to be opened on interaction
|
|
878
|
+
*/
|
|
879
|
+
declare type ComputedAttributeIdentifier = string;
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
883
|
+
*/
|
|
884
|
+
declare type ComputedAttributeIdentifier1 = string;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
888
|
+
*/
|
|
889
|
+
declare type ComputedAttributeIdentifier10 = string;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
893
|
+
*/
|
|
894
|
+
declare type ComputedAttributeIdentifier11 = string;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
898
|
+
*/
|
|
899
|
+
declare type ComputedAttributeIdentifier12 = string;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Local attribute or label to use in this sort.
|
|
903
|
+
*/
|
|
904
|
+
declare type ComputedAttributeIdentifier13 = string;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Local attribute or label to use in this sort.
|
|
908
|
+
*/
|
|
909
|
+
declare type ComputedAttributeIdentifier14 = string;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Attribute or label to use in this filter.
|
|
913
|
+
*/
|
|
914
|
+
declare type ComputedAttributeIdentifier2 = string;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Attribute or label to use in this filter.
|
|
918
|
+
*/
|
|
919
|
+
declare type ComputedAttributeIdentifier3 = string;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Attribute or label to use in this filter.
|
|
923
|
+
*/
|
|
924
|
+
declare type ComputedAttributeIdentifier4 = string;
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Attribute or label to use in this filter.
|
|
928
|
+
*/
|
|
929
|
+
declare type ComputedAttributeIdentifier5 = string;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Attribute or label identifier to use for this field.
|
|
933
|
+
*/
|
|
934
|
+
declare type ComputedAttributeIdentifier6 = string;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Attribute or label to use in this filter.
|
|
938
|
+
*/
|
|
939
|
+
declare type ComputedAttributeIdentifier7 = string;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Attribute or label to use in this filter.
|
|
943
|
+
*/
|
|
944
|
+
declare type ComputedAttributeIdentifier8 = string;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Attribute or label to use in this filter.
|
|
948
|
+
*/
|
|
949
|
+
declare type ComputedAttributeIdentifier9 = string;
|
|
950
|
+
|
|
854
951
|
declare interface ContainerWidget {
|
|
855
952
|
container: Id14;
|
|
856
953
|
/**
|
|
@@ -985,7 +1082,7 @@ declare type DashboardAttributeFilter1 = {
|
|
|
985
1082
|
/**
|
|
986
1083
|
* Attribute or label to use in this filter.
|
|
987
1084
|
*/
|
|
988
|
-
using?: AttributeIdentifier2 | LabelIdentifier2;
|
|
1085
|
+
using?: AttributeIdentifier2 | LabelIdentifier2 | ComputedAttributeIdentifier2;
|
|
989
1086
|
/**
|
|
990
1087
|
* Whether the filter should allow multiple selection
|
|
991
1088
|
*/
|
|
@@ -1020,7 +1117,7 @@ declare type DashboardAttributeFilter1 = {
|
|
|
1020
1117
|
/**
|
|
1021
1118
|
* Attribute or label to use in this filter.
|
|
1022
1119
|
*/
|
|
1023
|
-
using?: AttributeIdentifier3 | LabelIdentifier3;
|
|
1120
|
+
using?: AttributeIdentifier3 | LabelIdentifier3 | ComputedAttributeIdentifier3;
|
|
1024
1121
|
/**
|
|
1025
1122
|
* Whether the filter should allow multiple selection
|
|
1026
1123
|
*/
|
|
@@ -1111,7 +1208,7 @@ declare interface DashboardTextFilter1 {
|
|
|
1111
1208
|
/**
|
|
1112
1209
|
* Attribute or label to use in this filter.
|
|
1113
1210
|
*/
|
|
1114
|
-
using: AttributeIdentifier4 | LabelIdentifier4;
|
|
1211
|
+
using: AttributeIdentifier4 | LabelIdentifier4 | ComputedAttributeIdentifier4;
|
|
1115
1212
|
condition: "is" | "isNot";
|
|
1116
1213
|
values: (string | null)[];
|
|
1117
1214
|
case_sensitive?: boolean;
|
|
@@ -1147,7 +1244,7 @@ declare interface DashboardTextFilter2 {
|
|
|
1147
1244
|
/**
|
|
1148
1245
|
* Attribute or label to use in this filter.
|
|
1149
1246
|
*/
|
|
1150
|
-
using: AttributeIdentifier5 | LabelIdentifier5;
|
|
1247
|
+
using: AttributeIdentifier5 | LabelIdentifier5 | ComputedAttributeIdentifier5;
|
|
1151
1248
|
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
1152
1249
|
value: string;
|
|
1153
1250
|
case_sensitive?: boolean;
|
|
@@ -1379,7 +1476,7 @@ declare type FactIdentifier1 = string;
|
|
|
1379
1476
|
* This interface was referenced by `Fields3`'s JSON-Schema definition
|
|
1380
1477
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1381
1478
|
*/
|
|
1382
|
-
declare type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
|
|
1479
|
+
declare type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | Field4 | StructuredField;
|
|
1383
1480
|
|
|
1384
1481
|
/**
|
|
1385
1482
|
* A label identifier in the form of label/\{id\}.
|
|
@@ -1387,15 +1484,20 @@ declare type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | Structure
|
|
|
1387
1484
|
declare type Field1 = string;
|
|
1388
1485
|
|
|
1389
1486
|
/**
|
|
1390
|
-
* A
|
|
1487
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
1391
1488
|
*/
|
|
1392
1489
|
declare type Field2 = string;
|
|
1393
1490
|
|
|
1394
1491
|
/**
|
|
1395
|
-
* A
|
|
1492
|
+
* A metric identifier in the form of metric/\{id\}.
|
|
1396
1493
|
*/
|
|
1397
1494
|
declare type Field3 = string;
|
|
1398
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* A fact identifier in the form of fact/\{id\}.
|
|
1498
|
+
*/
|
|
1499
|
+
declare type Field4 = string;
|
|
1500
|
+
|
|
1399
1501
|
/**
|
|
1400
1502
|
* A list of fields in this dataset.
|
|
1401
1503
|
*/
|
|
@@ -2110,11 +2212,11 @@ declare interface InteractionOpenParamUrl {
|
|
|
2110
2212
|
/**
|
|
2111
2213
|
* An ID of the attribute that holds the url to be opened on interaction
|
|
2112
2214
|
*/
|
|
2113
|
-
href?: AttributeIdentifier | LabelIdentifier;
|
|
2215
|
+
href?: AttributeIdentifier | LabelIdentifier | ComputedAttributeIdentifier;
|
|
2114
2216
|
/**
|
|
2115
2217
|
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
2116
2218
|
*/
|
|
2117
|
-
label?: AttributeIdentifier1 | LabelIdentifier1;
|
|
2219
|
+
label?: AttributeIdentifier1 | LabelIdentifier1 | ComputedAttributeIdentifier1;
|
|
2118
2220
|
[k: string]: unknown;
|
|
2119
2221
|
};
|
|
2120
2222
|
ignored_intersection_attributes?: InteractionIgnoredIntersectionAttributes;
|
|
@@ -2174,10 +2276,7 @@ declare interface Label {
|
|
|
2174
2276
|
* Deprecated. Use 'show_in_ai_results' instead.
|
|
2175
2277
|
*/
|
|
2176
2278
|
is_hidden?: boolean;
|
|
2177
|
-
|
|
2178
|
-
* Locale string in BCP 47 format used for default label sorting.
|
|
2179
|
-
*/
|
|
2180
|
-
locale?: string;
|
|
2279
|
+
locale?: Locale1;
|
|
2181
2280
|
/**
|
|
2182
2281
|
* Optional list of localized source columns for this label.
|
|
2183
2282
|
*/
|
|
@@ -2277,10 +2376,7 @@ declare interface LabelTranslation {
|
|
|
2277
2376
|
* Column that stores the localized label values.
|
|
2278
2377
|
*/
|
|
2279
2378
|
source_column: string;
|
|
2280
|
-
|
|
2281
|
-
* Locale string in BCP 47 format that identifies the translation.
|
|
2282
|
-
*/
|
|
2283
|
-
locale: string;
|
|
2379
|
+
locale: Locale2;
|
|
2284
2380
|
}
|
|
2285
2381
|
|
|
2286
2382
|
declare type LayerItem = VisualizationDataLayer | ({
|
|
@@ -2429,6 +2525,26 @@ declare interface LocalDateFilter2 {
|
|
|
2429
2525
|
[k: string]: unknown;
|
|
2430
2526
|
}
|
|
2431
2527
|
|
|
2528
|
+
/**
|
|
2529
|
+
* Locale string in BCP 47 format used for default label sorting.
|
|
2530
|
+
*/
|
|
2531
|
+
declare type Locale = string;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Locale string in BCP 47 format used for default label sorting.
|
|
2535
|
+
*/
|
|
2536
|
+
declare type Locale1 = string;
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Locale string in BCP 47 format that identifies the translation.
|
|
2540
|
+
*/
|
|
2541
|
+
declare type Locale2 = string;
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* An optional locale in BCP 47 format (for example en-US) whose collation order the computed values are sorted by.
|
|
2545
|
+
*/
|
|
2546
|
+
declare type Locale3 = string;
|
|
2547
|
+
|
|
2432
2548
|
declare type LocationBucket = string;
|
|
2433
2549
|
|
|
2434
2550
|
/**
|
|
@@ -2955,10 +3071,41 @@ export declare const metadata_v1: {
|
|
|
2955
3071
|
type: string;
|
|
2956
3072
|
};
|
|
2957
3073
|
};
|
|
2958
|
-
|
|
3074
|
+
format: {
|
|
3075
|
+
type: string;
|
|
3076
|
+
description: string;
|
|
3077
|
+
};
|
|
3078
|
+
metric_type: {
|
|
3079
|
+
type: string;
|
|
3080
|
+
enum: string[];
|
|
3081
|
+
description: string;
|
|
3082
|
+
};
|
|
3083
|
+
data_type: {
|
|
3084
|
+
type: string;
|
|
3085
|
+
enum: string[];
|
|
3086
|
+
description: string;
|
|
3087
|
+
};
|
|
3088
|
+
value_type: {
|
|
3089
|
+
type: string;
|
|
3090
|
+
enum: string[];
|
|
3091
|
+
description: string;
|
|
3092
|
+
};
|
|
3093
|
+
is_nullable: {
|
|
3094
|
+
type: string;
|
|
3095
|
+
description: string;
|
|
3096
|
+
};
|
|
3097
|
+
null_value_join_replacement: {
|
|
3098
|
+
type: string;
|
|
3099
|
+
description: string;
|
|
3100
|
+
};
|
|
3101
|
+
show_in_ai_results: {
|
|
2959
3102
|
type: string;
|
|
2960
3103
|
description: string;
|
|
2961
3104
|
};
|
|
3105
|
+
locale: {
|
|
3106
|
+
$ref: string;
|
|
3107
|
+
description: string;
|
|
3108
|
+
};
|
|
2962
3109
|
};
|
|
2963
3110
|
$semantic: {
|
|
2964
3111
|
type: string;
|
|
@@ -4496,6 +4643,12 @@ export declare const metadata_v1: {
|
|
|
4496
4643
|
typePrefix: boolean;
|
|
4497
4644
|
};
|
|
4498
4645
|
};
|
|
4646
|
+
locale: {
|
|
4647
|
+
title: string;
|
|
4648
|
+
type: string;
|
|
4649
|
+
pattern: string;
|
|
4650
|
+
description: string;
|
|
4651
|
+
};
|
|
4499
4652
|
dashboardFilters: {
|
|
4500
4653
|
title: string;
|
|
4501
4654
|
type: string;
|
|
@@ -4602,6 +4755,17 @@ export declare const metadata_v1: {
|
|
|
4602
4755
|
typePrefix: boolean;
|
|
4603
4756
|
};
|
|
4604
4757
|
};
|
|
4758
|
+
computedAttributeIdentifier: {
|
|
4759
|
+
title: string;
|
|
4760
|
+
description: string;
|
|
4761
|
+
type: string;
|
|
4762
|
+
pattern: string;
|
|
4763
|
+
$semantic: {
|
|
4764
|
+
type: string;
|
|
4765
|
+
source: string;
|
|
4766
|
+
typePrefix: boolean;
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4605
4769
|
queryFilters: {
|
|
4606
4770
|
title: string;
|
|
4607
4771
|
type: string;
|
|
@@ -5449,6 +5613,17 @@ export declare const metadata_v1: {
|
|
|
5449
5613
|
typePrefix: boolean;
|
|
5450
5614
|
};
|
|
5451
5615
|
};
|
|
5616
|
+
computedAttributeIdentifier: {
|
|
5617
|
+
title: string;
|
|
5618
|
+
description: string;
|
|
5619
|
+
type: string;
|
|
5620
|
+
pattern: string;
|
|
5621
|
+
$semantic: {
|
|
5622
|
+
type: string;
|
|
5623
|
+
source: string;
|
|
5624
|
+
typePrefix: boolean;
|
|
5625
|
+
};
|
|
5626
|
+
};
|
|
5452
5627
|
displayAsLabelIdentifier: {
|
|
5453
5628
|
title: string;
|
|
5454
5629
|
description: string;
|
|
@@ -6266,7 +6441,9 @@ export declare const metadata_v1: {
|
|
|
6266
6441
|
type: string;
|
|
6267
6442
|
description: string;
|
|
6268
6443
|
items: {
|
|
6269
|
-
|
|
6444
|
+
oneOf: {
|
|
6445
|
+
$ref: string;
|
|
6446
|
+
}[];
|
|
6270
6447
|
};
|
|
6271
6448
|
};
|
|
6272
6449
|
null_values_as_zero: {
|
|
@@ -7259,10 +7436,41 @@ export declare const metadata_v1: {
|
|
|
7259
7436
|
type: string;
|
|
7260
7437
|
};
|
|
7261
7438
|
};
|
|
7262
|
-
|
|
7439
|
+
format: {
|
|
7440
|
+
type: string;
|
|
7441
|
+
description: string;
|
|
7442
|
+
};
|
|
7443
|
+
metric_type: {
|
|
7444
|
+
type: string;
|
|
7445
|
+
enum: string[];
|
|
7446
|
+
description: string;
|
|
7447
|
+
};
|
|
7448
|
+
data_type: {
|
|
7449
|
+
type: string;
|
|
7450
|
+
enum: string[];
|
|
7451
|
+
description: string;
|
|
7452
|
+
};
|
|
7453
|
+
value_type: {
|
|
7454
|
+
type: string;
|
|
7455
|
+
enum: string[];
|
|
7456
|
+
description: string;
|
|
7457
|
+
};
|
|
7458
|
+
is_nullable: {
|
|
7459
|
+
type: string;
|
|
7460
|
+
description: string;
|
|
7461
|
+
};
|
|
7462
|
+
null_value_join_replacement: {
|
|
7463
|
+
type: string;
|
|
7464
|
+
description: string;
|
|
7465
|
+
};
|
|
7466
|
+
show_in_ai_results: {
|
|
7263
7467
|
type: string;
|
|
7264
7468
|
description: string;
|
|
7265
7469
|
};
|
|
7470
|
+
locale: {
|
|
7471
|
+
$ref: string;
|
|
7472
|
+
description: string;
|
|
7473
|
+
};
|
|
7266
7474
|
};
|
|
7267
7475
|
$semantic: {
|
|
7268
7476
|
type: string;
|
|
@@ -8918,11 +9126,6 @@ export declare const metadata_v1: {
|
|
|
8918
9126
|
code: string;
|
|
8919
9127
|
};
|
|
8920
9128
|
};
|
|
8921
|
-
locale: {
|
|
8922
|
-
type: string;
|
|
8923
|
-
pattern: string;
|
|
8924
|
-
description: string;
|
|
8925
|
-
};
|
|
8926
9129
|
label: {
|
|
8927
9130
|
title: string;
|
|
8928
9131
|
type: string;
|
|
@@ -9244,6 +9447,42 @@ export declare const metadata_v1: {
|
|
|
9244
9447
|
type: string;
|
|
9245
9448
|
};
|
|
9246
9449
|
};
|
|
9450
|
+
numberParameterDefinition: {
|
|
9451
|
+
title: string;
|
|
9452
|
+
description: string;
|
|
9453
|
+
type: string;
|
|
9454
|
+
additionalProperties: boolean;
|
|
9455
|
+
properties: {
|
|
9456
|
+
type: {
|
|
9457
|
+
type: string;
|
|
9458
|
+
enum: string[];
|
|
9459
|
+
};
|
|
9460
|
+
defaultValue: {
|
|
9461
|
+
type: string;
|
|
9462
|
+
description: string;
|
|
9463
|
+
};
|
|
9464
|
+
constraints: {
|
|
9465
|
+
title: string;
|
|
9466
|
+
type: string;
|
|
9467
|
+
additionalProperties: boolean;
|
|
9468
|
+
description: string;
|
|
9469
|
+
properties: {
|
|
9470
|
+
min: {
|
|
9471
|
+
type: string;
|
|
9472
|
+
description: string;
|
|
9473
|
+
};
|
|
9474
|
+
max: {
|
|
9475
|
+
type: string;
|
|
9476
|
+
description: string;
|
|
9477
|
+
};
|
|
9478
|
+
};
|
|
9479
|
+
};
|
|
9480
|
+
};
|
|
9481
|
+
required: string[];
|
|
9482
|
+
$semantic: {
|
|
9483
|
+
type: string;
|
|
9484
|
+
};
|
|
9485
|
+
};
|
|
9247
9486
|
parameterAllowedValue: {
|
|
9248
9487
|
title: string;
|
|
9249
9488
|
type: string;
|
|
@@ -10310,7 +10549,7 @@ declare interface MetricSort {
|
|
|
10310
10549
|
/**
|
|
10311
10550
|
* Local attribute or label to use in this sort.
|
|
10312
10551
|
*/
|
|
10313
|
-
by: string | AttributeIdentifier14 | LabelIdentifier15;
|
|
10552
|
+
by: string | AttributeIdentifier14 | LabelIdentifier15 | ComputedAttributeIdentifier14;
|
|
10314
10553
|
/**
|
|
10315
10554
|
* Value of attribute or label to use for this sort.
|
|
10316
10555
|
*/
|
|
@@ -10324,7 +10563,7 @@ declare interface MetricSort {
|
|
|
10324
10563
|
/**
|
|
10325
10564
|
* Local attribute or label to use in this sort.
|
|
10326
10565
|
*/
|
|
10327
|
-
by: string | AttributeIdentifier14 | LabelIdentifier15;
|
|
10566
|
+
by: string | AttributeIdentifier14 | LabelIdentifier15 | ComputedAttributeIdentifier14;
|
|
10328
10567
|
/**
|
|
10329
10568
|
* Value of attribute or label to use for this sort.
|
|
10330
10569
|
*/
|
|
@@ -10360,7 +10599,7 @@ declare interface MultipleConditions1 {
|
|
|
10360
10599
|
/**
|
|
10361
10600
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
10362
10601
|
*/
|
|
10363
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
10602
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
10364
10603
|
}
|
|
10365
10604
|
|
|
10366
10605
|
declare interface NormalDataset {
|
|
@@ -10409,6 +10648,32 @@ declare interface NormalDataset {
|
|
|
10409
10648
|
dataset_type?: "standard" | "auxiliary";
|
|
10410
10649
|
}
|
|
10411
10650
|
|
|
10651
|
+
/**
|
|
10652
|
+
* Optional bounds the parameter value must satisfy.
|
|
10653
|
+
*/
|
|
10654
|
+
declare interface NumberParameterConstraints {
|
|
10655
|
+
/**
|
|
10656
|
+
* The smallest accepted value, inclusive.
|
|
10657
|
+
*/
|
|
10658
|
+
min?: number;
|
|
10659
|
+
/**
|
|
10660
|
+
* The largest accepted value, inclusive.
|
|
10661
|
+
*/
|
|
10662
|
+
max?: number;
|
|
10663
|
+
}
|
|
10664
|
+
|
|
10665
|
+
/**
|
|
10666
|
+
* A numeric parameter definition. Without 'constraints' the parameter accepts any number.
|
|
10667
|
+
*/
|
|
10668
|
+
declare interface NumberParameterDefinition {
|
|
10669
|
+
type: "NUMBER";
|
|
10670
|
+
/**
|
|
10671
|
+
* The value used whenever the parameter is not overridden.
|
|
10672
|
+
*/
|
|
10673
|
+
defaultValue: number;
|
|
10674
|
+
constraints?: NumberParameterConstraints;
|
|
10675
|
+
}
|
|
10676
|
+
|
|
10412
10677
|
declare interface Parameter {
|
|
10413
10678
|
id: Id20;
|
|
10414
10679
|
type: "parameter";
|
|
@@ -10438,13 +10703,18 @@ declare interface ParameterAllowedValue {
|
|
|
10438
10703
|
/**
|
|
10439
10704
|
* The typed definition of the parameter - its data type, default value and constraints.
|
|
10440
10705
|
*/
|
|
10441
|
-
declare type ParameterDefinition = ParameterDefinition1;
|
|
10706
|
+
declare type ParameterDefinition = ParameterDefinition1 | ParameterDefinition2;
|
|
10442
10707
|
|
|
10443
10708
|
/**
|
|
10444
|
-
* A typed parameter definition
|
|
10709
|
+
* A typed parameter definition: textual or numeric.
|
|
10445
10710
|
*/
|
|
10446
10711
|
declare type ParameterDefinition1 = StringParameterDefinition;
|
|
10447
10712
|
|
|
10713
|
+
/**
|
|
10714
|
+
* A typed parameter definition: textual or numeric.
|
|
10715
|
+
*/
|
|
10716
|
+
declare type ParameterDefinition2 = NumberParameterDefinition;
|
|
10717
|
+
|
|
10448
10718
|
/**
|
|
10449
10719
|
* A permission object
|
|
10450
10720
|
*/
|
|
@@ -10999,7 +11269,7 @@ declare interface Range1 {
|
|
|
10999
11269
|
/**
|
|
11000
11270
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
11001
11271
|
*/
|
|
11002
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
11272
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
11003
11273
|
}
|
|
11004
11274
|
|
|
11005
11275
|
declare type Range_2 = Range1;
|
|
@@ -11566,7 +11836,7 @@ declare interface TextFilter1 {
|
|
|
11566
11836
|
/**
|
|
11567
11837
|
* Attribute or label to use in this filter.
|
|
11568
11838
|
*/
|
|
11569
|
-
using: AttributeIdentifier10 | LabelIdentifier8;
|
|
11839
|
+
using: AttributeIdentifier10 | LabelIdentifier8 | ComputedAttributeIdentifier8;
|
|
11570
11840
|
condition: "is" | "isNot";
|
|
11571
11841
|
values: (string | null)[];
|
|
11572
11842
|
case_sensitive?: boolean;
|
|
@@ -11579,7 +11849,7 @@ declare interface TextFilter2 {
|
|
|
11579
11849
|
/**
|
|
11580
11850
|
* Attribute or label to use in this filter.
|
|
11581
11851
|
*/
|
|
11582
|
-
using: AttributeIdentifier11 | LabelIdentifier9;
|
|
11852
|
+
using: AttributeIdentifier11 | LabelIdentifier9 | ComputedAttributeIdentifier9;
|
|
11583
11853
|
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
11584
11854
|
value: string;
|
|
11585
11855
|
case_sensitive?: boolean;
|
|
@@ -11614,7 +11884,7 @@ declare interface TOP {
|
|
|
11614
11884
|
/**
|
|
11615
11885
|
* Label reference or local identifier to use for this filter.
|
|
11616
11886
|
*/
|
|
11617
|
-
attribute?: LabelIdentifier12;
|
|
11887
|
+
attribute?: LabelIdentifier12 | ComputedAttributeIdentifier12;
|
|
11618
11888
|
/**
|
|
11619
11889
|
* Number of bottom N values to use in this filter.
|
|
11620
11890
|
*/
|
|
@@ -11703,7 +11973,10 @@ export declare namespace v1 {
|
|
|
11703
11973
|
Id1,
|
|
11704
11974
|
CompositePrimaryKey,
|
|
11705
11975
|
Tags1,
|
|
11976
|
+
Locale,
|
|
11706
11977
|
Tags2,
|
|
11978
|
+
Locale1,
|
|
11979
|
+
Locale2,
|
|
11707
11980
|
Tags3,
|
|
11708
11981
|
Tags4,
|
|
11709
11982
|
SourceColumn,
|
|
@@ -11729,6 +12002,7 @@ export declare namespace v1 {
|
|
|
11729
12002
|
Metadata14,
|
|
11730
12003
|
Id8,
|
|
11731
12004
|
Tags9,
|
|
12005
|
+
Locale3,
|
|
11732
12006
|
Metadata15,
|
|
11733
12007
|
Metadata17,
|
|
11734
12008
|
Id9,
|
|
@@ -11744,8 +12018,10 @@ export declare namespace v1 {
|
|
|
11744
12018
|
Interaction2,
|
|
11745
12019
|
AttributeIdentifier,
|
|
11746
12020
|
LabelIdentifier,
|
|
12021
|
+
ComputedAttributeIdentifier,
|
|
11747
12022
|
AttributeIdentifier1,
|
|
11748
12023
|
LabelIdentifier1,
|
|
12024
|
+
ComputedAttributeIdentifier1,
|
|
11749
12025
|
Interaction3,
|
|
11750
12026
|
InteractionIgnoredDashboardFilters,
|
|
11751
12027
|
InteractionIncludedSourceInsightFilters,
|
|
@@ -11765,19 +12041,23 @@ export declare namespace v1 {
|
|
|
11765
12041
|
DashboardAttributeFilter1,
|
|
11766
12042
|
AttributeIdentifier2,
|
|
11767
12043
|
LabelIdentifier2,
|
|
12044
|
+
ComputedAttributeIdentifier2,
|
|
11768
12045
|
DisplayAsLabelIdentifier,
|
|
11769
12046
|
LocalAttributeFilter,
|
|
11770
12047
|
AttributeIdentifier3,
|
|
11771
12048
|
LabelIdentifier3,
|
|
12049
|
+
ComputedAttributeIdentifier3,
|
|
11772
12050
|
DisplayAsLabelIdentifier1,
|
|
11773
12051
|
LocalAttributeFilter1,
|
|
11774
12052
|
DashboardTextFilter,
|
|
11775
12053
|
AttributeIdentifier4,
|
|
11776
12054
|
LabelIdentifier4,
|
|
12055
|
+
ComputedAttributeIdentifier4,
|
|
11777
12056
|
DisplayAsLabelIdentifier2,
|
|
11778
12057
|
LocalAttributeFilter2,
|
|
11779
12058
|
AttributeIdentifier5,
|
|
11780
12059
|
LabelIdentifier5,
|
|
12060
|
+
ComputedAttributeIdentifier5,
|
|
11781
12061
|
DisplayAsLabelIdentifier3,
|
|
11782
12062
|
Id15,
|
|
11783
12063
|
Id16,
|
|
@@ -11797,6 +12077,7 @@ export declare namespace v1 {
|
|
|
11797
12077
|
Tags13,
|
|
11798
12078
|
ParameterDefinition,
|
|
11799
12079
|
ParameterDefinition1,
|
|
12080
|
+
ParameterDefinition2,
|
|
11800
12081
|
Metadata27,
|
|
11801
12082
|
Metadata29,
|
|
11802
12083
|
Visualisation,
|
|
@@ -11808,10 +12089,12 @@ export declare namespace v1 {
|
|
|
11808
12089
|
Field1,
|
|
11809
12090
|
Field2,
|
|
11810
12091
|
Field3,
|
|
12092
|
+
Field4,
|
|
11811
12093
|
StructuredField,
|
|
11812
12094
|
AttributeFieldGuard,
|
|
11813
12095
|
AttributeIdentifier8,
|
|
11814
12096
|
LabelIdentifier6,
|
|
12097
|
+
ComputedAttributeIdentifier6,
|
|
11815
12098
|
FactIdentifier,
|
|
11816
12099
|
MetricFieldGuard,
|
|
11817
12100
|
Filter,
|
|
@@ -11820,6 +12103,7 @@ export declare namespace v1 {
|
|
|
11820
12103
|
DateFilter1,
|
|
11821
12104
|
AttributeIdentifier9,
|
|
11822
12105
|
LabelIdentifier7,
|
|
12106
|
+
ComputedAttributeIdentifier7,
|
|
11823
12107
|
DisplayAsLabelIdentifier4,
|
|
11824
12108
|
DateFilter2,
|
|
11825
12109
|
Filter2,
|
|
@@ -11827,9 +12111,11 @@ export declare namespace v1 {
|
|
|
11827
12111
|
TextFilter,
|
|
11828
12112
|
AttributeIdentifier10,
|
|
11829
12113
|
LabelIdentifier8,
|
|
12114
|
+
ComputedAttributeIdentifier8,
|
|
11830
12115
|
DisplayAsLabelIdentifier5,
|
|
11831
12116
|
AttributeIdentifier11,
|
|
11832
12117
|
LabelIdentifier9,
|
|
12118
|
+
ComputedAttributeIdentifier9,
|
|
11833
12119
|
DisplayAsLabelIdentifier6,
|
|
11834
12120
|
Filter4,
|
|
11835
12121
|
MetricValueFilter,
|
|
@@ -11840,6 +12126,7 @@ export declare namespace v1 {
|
|
|
11840
12126
|
ComparisonCondition,
|
|
11841
12127
|
RangeCondition,
|
|
11842
12128
|
LabelIdentifier10,
|
|
12129
|
+
ComputedAttributeIdentifier10,
|
|
11843
12130
|
Comparison,
|
|
11844
12131
|
MetricIdentifier1,
|
|
11845
12132
|
Range_2 as Range,
|
|
@@ -11850,8 +12137,10 @@ export declare namespace v1 {
|
|
|
11850
12137
|
RankingFilter,
|
|
11851
12138
|
MetricIdentifier4,
|
|
11852
12139
|
LabelIdentifier11,
|
|
12140
|
+
ComputedAttributeIdentifier11,
|
|
11853
12141
|
MetricIdentifier5,
|
|
11854
12142
|
LabelIdentifier12,
|
|
12143
|
+
ComputedAttributeIdentifier12,
|
|
11855
12144
|
Filter6,
|
|
11856
12145
|
MetricIdentifier6,
|
|
11857
12146
|
CalculatedMetricFieldGuard,
|
|
@@ -11866,9 +12155,11 @@ export declare namespace v1 {
|
|
|
11866
12155
|
Sort1,
|
|
11867
12156
|
AttributeIdentifier13,
|
|
11868
12157
|
LabelIdentifier14,
|
|
12158
|
+
ComputedAttributeIdentifier13,
|
|
11869
12159
|
Sort2,
|
|
11870
12160
|
AttributeIdentifier14,
|
|
11871
12161
|
LabelIdentifier15,
|
|
12162
|
+
ComputedAttributeIdentifier14,
|
|
11872
12163
|
Sort3,
|
|
11873
12164
|
Sorts,
|
|
11874
12165
|
WidthValueOrAuto,
|
|
@@ -12023,6 +12314,8 @@ export declare namespace v1 {
|
|
|
12023
12314
|
StringParameterDefinition,
|
|
12024
12315
|
StringParameterConstraints,
|
|
12025
12316
|
ParameterAllowedValue,
|
|
12317
|
+
NumberParameterDefinition,
|
|
12318
|
+
NumberParameterConstraints,
|
|
12026
12319
|
Metadata28,
|
|
12027
12320
|
Table,
|
|
12028
12321
|
Query,
|