@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
package/esm/v1/metadata.d.ts
CHANGED
|
@@ -32,10 +32,22 @@ export type Id1 = string;
|
|
|
32
32
|
*/
|
|
33
33
|
export type CompositePrimaryKey = Id1[];
|
|
34
34
|
export type Tags1 = string[];
|
|
35
|
+
/**
|
|
36
|
+
* Locale string in BCP 47 format used for default label sorting.
|
|
37
|
+
*/
|
|
38
|
+
export type Locale = string;
|
|
35
39
|
/**
|
|
36
40
|
* A list of strings - metadata tags of this label.
|
|
37
41
|
*/
|
|
38
42
|
export type Tags2 = string[];
|
|
43
|
+
/**
|
|
44
|
+
* Locale string in BCP 47 format used for default label sorting.
|
|
45
|
+
*/
|
|
46
|
+
export type Locale1 = string;
|
|
47
|
+
/**
|
|
48
|
+
* Locale string in BCP 47 format that identifies the translation.
|
|
49
|
+
*/
|
|
50
|
+
export type Locale2 = string;
|
|
39
51
|
export type Tags3 = string[];
|
|
40
52
|
export type Tags4 = string[];
|
|
41
53
|
export type SourceColumn = string;
|
|
@@ -112,6 +124,10 @@ export type Id8 = string;
|
|
|
112
124
|
* A list of strings - metadata tags of this computed attribute.
|
|
113
125
|
*/
|
|
114
126
|
export type Tags9 = string[];
|
|
127
|
+
/**
|
|
128
|
+
* An optional locale in BCP 47 format (for example en-US) whose collation order the computed values are sorted by.
|
|
129
|
+
*/
|
|
130
|
+
export type Locale3 = string;
|
|
115
131
|
/**
|
|
116
132
|
* JSON schema for Gooddata Analytics
|
|
117
133
|
*/
|
|
@@ -167,6 +183,10 @@ export type AttributeIdentifier = string;
|
|
|
167
183
|
* An ID of the attribute that holds the url to be opened on interaction
|
|
168
184
|
*/
|
|
169
185
|
export type LabelIdentifier = string;
|
|
186
|
+
/**
|
|
187
|
+
* An ID of the attribute that holds the url to be opened on interaction
|
|
188
|
+
*/
|
|
189
|
+
export type ComputedAttributeIdentifier = string;
|
|
170
190
|
/**
|
|
171
191
|
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
172
192
|
*/
|
|
@@ -175,6 +195,10 @@ export type AttributeIdentifier1 = string;
|
|
|
175
195
|
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
176
196
|
*/
|
|
177
197
|
export type LabelIdentifier1 = string;
|
|
198
|
+
/**
|
|
199
|
+
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
200
|
+
*/
|
|
201
|
+
export type ComputedAttributeIdentifier1 = string;
|
|
178
202
|
/**
|
|
179
203
|
* An interaction for current widget.
|
|
180
204
|
*/
|
|
@@ -266,7 +290,7 @@ export type DashboardAttributeFilter1 = {
|
|
|
266
290
|
/**
|
|
267
291
|
* Attribute or label to use in this filter.
|
|
268
292
|
*/
|
|
269
|
-
using?: AttributeIdentifier2 | LabelIdentifier2;
|
|
293
|
+
using?: AttributeIdentifier2 | LabelIdentifier2 | ComputedAttributeIdentifier2;
|
|
270
294
|
/**
|
|
271
295
|
* Whether the filter should allow multiple selection
|
|
272
296
|
*/
|
|
@@ -301,7 +325,7 @@ export type DashboardAttributeFilter1 = {
|
|
|
301
325
|
/**
|
|
302
326
|
* Attribute or label to use in this filter.
|
|
303
327
|
*/
|
|
304
|
-
using?: AttributeIdentifier3 | LabelIdentifier3;
|
|
328
|
+
using?: AttributeIdentifier3 | LabelIdentifier3 | ComputedAttributeIdentifier3;
|
|
305
329
|
/**
|
|
306
330
|
* Whether the filter should allow multiple selection
|
|
307
331
|
*/
|
|
@@ -336,6 +360,10 @@ export type AttributeIdentifier2 = string;
|
|
|
336
360
|
* Attribute or label to use in this filter.
|
|
337
361
|
*/
|
|
338
362
|
export type LabelIdentifier2 = string;
|
|
363
|
+
/**
|
|
364
|
+
* Attribute or label to use in this filter.
|
|
365
|
+
*/
|
|
366
|
+
export type ComputedAttributeIdentifier2 = string;
|
|
339
367
|
/**
|
|
340
368
|
* Configures the label used for representing attribute filter elements in UI.
|
|
341
369
|
*/
|
|
@@ -352,6 +380,10 @@ export type AttributeIdentifier3 = string;
|
|
|
352
380
|
* Attribute or label to use in this filter.
|
|
353
381
|
*/
|
|
354
382
|
export type LabelIdentifier3 = string;
|
|
383
|
+
/**
|
|
384
|
+
* Attribute or label to use in this filter.
|
|
385
|
+
*/
|
|
386
|
+
export type ComputedAttributeIdentifier3 = string;
|
|
355
387
|
/**
|
|
356
388
|
* If specified, the attribute filter will display the elements in selected label form.
|
|
357
389
|
*/
|
|
@@ -372,6 +404,10 @@ export type AttributeIdentifier4 = string;
|
|
|
372
404
|
* Attribute or label to use in this filter.
|
|
373
405
|
*/
|
|
374
406
|
export type LabelIdentifier4 = string;
|
|
407
|
+
/**
|
|
408
|
+
* Attribute or label to use in this filter.
|
|
409
|
+
*/
|
|
410
|
+
export type ComputedAttributeIdentifier4 = string;
|
|
375
411
|
/**
|
|
376
412
|
* Configures the label used for representing attribute filter elements in UI.
|
|
377
413
|
*/
|
|
@@ -388,6 +424,10 @@ export type AttributeIdentifier5 = string;
|
|
|
388
424
|
* Attribute or label to use in this filter.
|
|
389
425
|
*/
|
|
390
426
|
export type LabelIdentifier5 = string;
|
|
427
|
+
/**
|
|
428
|
+
* Attribute or label to use in this filter.
|
|
429
|
+
*/
|
|
430
|
+
export type ComputedAttributeIdentifier5 = string;
|
|
391
431
|
/**
|
|
392
432
|
* Configures the label used for representing attribute filter elements in UI.
|
|
393
433
|
*/
|
|
@@ -450,11 +490,15 @@ export type Tags13 = string[];
|
|
|
450
490
|
/**
|
|
451
491
|
* The typed definition of the parameter - its data type, default value and constraints.
|
|
452
492
|
*/
|
|
453
|
-
export type ParameterDefinition = ParameterDefinition1;
|
|
493
|
+
export type ParameterDefinition = ParameterDefinition1 | ParameterDefinition2;
|
|
454
494
|
/**
|
|
455
|
-
* A typed parameter definition
|
|
495
|
+
* A typed parameter definition: textual or numeric.
|
|
456
496
|
*/
|
|
457
497
|
export type ParameterDefinition1 = StringParameterDefinition;
|
|
498
|
+
/**
|
|
499
|
+
* A typed parameter definition: textual or numeric.
|
|
500
|
+
*/
|
|
501
|
+
export type ParameterDefinition2 = NumberParameterDefinition;
|
|
458
502
|
/**
|
|
459
503
|
* JSON schema for Gooddata Analytics
|
|
460
504
|
*/
|
|
@@ -480,7 +524,7 @@ export type Tags14 = string[];
|
|
|
480
524
|
* This interface was referenced by `Fields3`'s JSON-Schema definition
|
|
481
525
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
482
526
|
*/
|
|
483
|
-
export type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
|
|
527
|
+
export type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | Field4 | StructuredField;
|
|
484
528
|
/**
|
|
485
529
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
486
530
|
*/
|
|
@@ -490,13 +534,17 @@ export type AttributeIdentifier7 = string;
|
|
|
490
534
|
*/
|
|
491
535
|
export type Field1 = string;
|
|
492
536
|
/**
|
|
493
|
-
* A
|
|
537
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
494
538
|
*/
|
|
495
539
|
export type Field2 = string;
|
|
496
540
|
/**
|
|
497
|
-
* A
|
|
541
|
+
* A metric identifier in the form of metric/\{id\}.
|
|
498
542
|
*/
|
|
499
543
|
export type Field3 = string;
|
|
544
|
+
/**
|
|
545
|
+
* A fact identifier in the form of fact/\{id\}.
|
|
546
|
+
*/
|
|
547
|
+
export type Field4 = string;
|
|
500
548
|
export type StructuredField = AttributeFieldGuard | MetricFieldGuard | CalculatedMetricFieldGuard | InlineMetricFieldGuard | ArithmeticMetricFieldGuard | PoPMetricFieldGuard | PreviousPeriodMetricFieldGuard;
|
|
501
549
|
export type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
|
|
502
550
|
/**
|
|
@@ -507,6 +555,10 @@ export type AttributeIdentifier8 = string;
|
|
|
507
555
|
* Attribute or label identifier to use for this field.
|
|
508
556
|
*/
|
|
509
557
|
export type LabelIdentifier6 = string;
|
|
558
|
+
/**
|
|
559
|
+
* Attribute or label identifier to use for this field.
|
|
560
|
+
*/
|
|
561
|
+
export type ComputedAttributeIdentifier6 = string;
|
|
510
562
|
/**
|
|
511
563
|
* Attribute or label identifier to use for this field.
|
|
512
564
|
*/
|
|
@@ -561,6 +613,10 @@ export type AttributeIdentifier9 = string;
|
|
|
561
613
|
* Attribute or label to use in this filter.
|
|
562
614
|
*/
|
|
563
615
|
export type LabelIdentifier7 = string;
|
|
616
|
+
/**
|
|
617
|
+
* Attribute or label to use in this filter.
|
|
618
|
+
*/
|
|
619
|
+
export type ComputedAttributeIdentifier7 = string;
|
|
564
620
|
/**
|
|
565
621
|
* Configures the label used for representing attribute filter elements in UI.
|
|
566
622
|
*/
|
|
@@ -602,6 +658,10 @@ export type AttributeIdentifier10 = string;
|
|
|
602
658
|
* Attribute or label to use in this filter.
|
|
603
659
|
*/
|
|
604
660
|
export type LabelIdentifier8 = string;
|
|
661
|
+
/**
|
|
662
|
+
* Attribute or label to use in this filter.
|
|
663
|
+
*/
|
|
664
|
+
export type ComputedAttributeIdentifier8 = string;
|
|
605
665
|
/**
|
|
606
666
|
* Configures the label used for representing attribute filter elements in UI.
|
|
607
667
|
*/
|
|
@@ -614,6 +674,10 @@ export type AttributeIdentifier11 = string;
|
|
|
614
674
|
* Attribute or label to use in this filter.
|
|
615
675
|
*/
|
|
616
676
|
export type LabelIdentifier9 = string;
|
|
677
|
+
/**
|
|
678
|
+
* Attribute or label to use in this filter.
|
|
679
|
+
*/
|
|
680
|
+
export type ComputedAttributeIdentifier9 = string;
|
|
617
681
|
/**
|
|
618
682
|
* Configures the label used for representing attribute filter elements in UI.
|
|
619
683
|
*/
|
|
@@ -633,6 +697,10 @@ export type RangeCondition = RangeCondition1;
|
|
|
633
697
|
* A label identifier in the form of label/\{id\}.
|
|
634
698
|
*/
|
|
635
699
|
export type LabelIdentifier10 = string;
|
|
700
|
+
/**
|
|
701
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
702
|
+
*/
|
|
703
|
+
export type ComputedAttributeIdentifier10 = string;
|
|
636
704
|
export type Comparison = Comparison1;
|
|
637
705
|
/**
|
|
638
706
|
* Metric or local metric to use in this filter.
|
|
@@ -661,6 +729,10 @@ export type MetricIdentifier4 = string;
|
|
|
661
729
|
* A label identifier in the form of label/\{id\}.
|
|
662
730
|
*/
|
|
663
731
|
export type LabelIdentifier11 = string;
|
|
732
|
+
/**
|
|
733
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
734
|
+
*/
|
|
735
|
+
export type ComputedAttributeIdentifier11 = string;
|
|
664
736
|
/**
|
|
665
737
|
* Metric identifier to use for this filter.
|
|
666
738
|
*/
|
|
@@ -669,6 +741,10 @@ export type MetricIdentifier5 = string;
|
|
|
669
741
|
* A label identifier in the form of label/\{id\}.
|
|
670
742
|
*/
|
|
671
743
|
export type LabelIdentifier12 = string;
|
|
744
|
+
/**
|
|
745
|
+
* A computed attribute identifier in the form of computed_attribute/\{id\}.
|
|
746
|
+
*/
|
|
747
|
+
export type ComputedAttributeIdentifier12 = string;
|
|
672
748
|
export type Filter6 = {
|
|
673
749
|
[k: string]: unknown;
|
|
674
750
|
};
|
|
@@ -703,6 +779,10 @@ export type AttributeIdentifier13 = string;
|
|
|
703
779
|
* Local attribute or label to use in this sort.
|
|
704
780
|
*/
|
|
705
781
|
export type LabelIdentifier14 = string;
|
|
782
|
+
/**
|
|
783
|
+
* Local attribute or label to use in this sort.
|
|
784
|
+
*/
|
|
785
|
+
export type ComputedAttributeIdentifier13 = string;
|
|
706
786
|
export type Sort2 = MetricSort;
|
|
707
787
|
/**
|
|
708
788
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
@@ -712,6 +792,10 @@ export type AttributeIdentifier14 = string;
|
|
|
712
792
|
* Local attribute or label to use in this sort.
|
|
713
793
|
*/
|
|
714
794
|
export type LabelIdentifier15 = string;
|
|
795
|
+
/**
|
|
796
|
+
* Local attribute or label to use in this sort.
|
|
797
|
+
*/
|
|
798
|
+
export type ComputedAttributeIdentifier14 = string;
|
|
715
799
|
export type Sort3 = {
|
|
716
800
|
[k: string]: unknown;
|
|
717
801
|
};
|
|
@@ -1147,10 +1231,7 @@ export interface Attribute {
|
|
|
1147
1231
|
* Deprecated. Use 'show_in_ai_results' instead.
|
|
1148
1232
|
*/
|
|
1149
1233
|
is_hidden?: boolean;
|
|
1150
|
-
|
|
1151
|
-
* Locale string in BCP 47 format used for default label sorting.
|
|
1152
|
-
*/
|
|
1153
|
-
locale?: string;
|
|
1234
|
+
locale?: Locale;
|
|
1154
1235
|
/**
|
|
1155
1236
|
* Optional flag to indicate if the attribute can contain null values.
|
|
1156
1237
|
*/
|
|
@@ -1196,10 +1277,7 @@ export interface Label {
|
|
|
1196
1277
|
* Deprecated. Use 'show_in_ai_results' instead.
|
|
1197
1278
|
*/
|
|
1198
1279
|
is_hidden?: boolean;
|
|
1199
|
-
|
|
1200
|
-
* Locale string in BCP 47 format used for default label sorting.
|
|
1201
|
-
*/
|
|
1202
|
-
locale?: string;
|
|
1280
|
+
locale?: Locale1;
|
|
1203
1281
|
/**
|
|
1204
1282
|
* Optional list of localized source columns for this label.
|
|
1205
1283
|
*/
|
|
@@ -1229,10 +1307,7 @@ export interface LabelTranslation {
|
|
|
1229
1307
|
* Column that stores the localized label values.
|
|
1230
1308
|
*/
|
|
1231
1309
|
source_column: string;
|
|
1232
|
-
|
|
1233
|
-
* Locale string in BCP 47 format that identifies the translation.
|
|
1234
|
-
*/
|
|
1235
|
-
locale: string;
|
|
1310
|
+
locale: Locale2;
|
|
1236
1311
|
}
|
|
1237
1312
|
export interface Fact {
|
|
1238
1313
|
type: "fact";
|
|
@@ -1538,9 +1613,34 @@ export interface ComputedAttribute {
|
|
|
1538
1613
|
*/
|
|
1539
1614
|
maql: string;
|
|
1540
1615
|
/**
|
|
1541
|
-
* An optional
|
|
1616
|
+
* An optional Excel-like format string applied to the computed values.
|
|
1617
|
+
*/
|
|
1618
|
+
format?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* An optional categorization of the computed values semantics, for example currency.
|
|
1621
|
+
*/
|
|
1622
|
+
metric_type?: "UNSPECIFIED" | "CURRENCY";
|
|
1623
|
+
/**
|
|
1624
|
+
* An optional data type of the computed values. Defaults to STRING on the backend.
|
|
1625
|
+
*/
|
|
1626
|
+
data_type?: "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
|
|
1627
|
+
/**
|
|
1628
|
+
* An optional specific type of the computed values. Defaults to TEXT on the backend.
|
|
1542
1629
|
*/
|
|
1543
|
-
|
|
1630
|
+
value_type?: "TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE" | "GEO_AREA" | "GEO_ICON" | "IMAGE" | "HYPERLOGLOG";
|
|
1631
|
+
/**
|
|
1632
|
+
* Optional flag to indicate if the computed attribute can contain null values.
|
|
1633
|
+
*/
|
|
1634
|
+
is_nullable?: boolean;
|
|
1635
|
+
/**
|
|
1636
|
+
* Optional value which can be used as replacement for NULL in join conditions.
|
|
1637
|
+
*/
|
|
1638
|
+
null_value_join_replacement?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Optional flag to indicate if the computed attribute should be shown in AI results. When omitted, the computed attribute is visible.
|
|
1641
|
+
*/
|
|
1642
|
+
show_in_ai_results?: boolean;
|
|
1643
|
+
locale?: Locale3;
|
|
1544
1644
|
}
|
|
1545
1645
|
export interface Metadata16 {
|
|
1546
1646
|
type: "dataset" | "date" | "metric" | "computed_attribute" | "dashboard" | "plugin" | "table" | "bar_chart" | "column_chart" | "line_chart" | "area_chart" | "scatter_chart" | "bubble_chart" | "pie_chart" | "donut_chart" | "treemap_chart" | "pyramid_chart" | "funnel_chart" | "heatmap_chart" | "bullet_chart" | "waterfall_chart" | "dependency_wheel_chart" | "sankey_chart" | "headline_chart" | "combo_chart" | "geo_chart" | "geo_area_chart" | "repeater_chart" | "radar_chart" | "attribute_hierarchy" | "parameter";
|
|
@@ -1702,11 +1802,11 @@ export interface InteractionOpenParamUrl {
|
|
|
1702
1802
|
/**
|
|
1703
1803
|
* An ID of the attribute that holds the url to be opened on interaction
|
|
1704
1804
|
*/
|
|
1705
|
-
href?: AttributeIdentifier | LabelIdentifier;
|
|
1805
|
+
href?: AttributeIdentifier | LabelIdentifier | ComputedAttributeIdentifier;
|
|
1706
1806
|
/**
|
|
1707
1807
|
* An id of the attribute that holds the label for the url to be opened on interaction
|
|
1708
1808
|
*/
|
|
1709
|
-
label?: AttributeIdentifier1 | LabelIdentifier1;
|
|
1809
|
+
label?: AttributeIdentifier1 | LabelIdentifier1 | ComputedAttributeIdentifier1;
|
|
1710
1810
|
[k: string]: unknown;
|
|
1711
1811
|
};
|
|
1712
1812
|
ignored_intersection_attributes?: InteractionIgnoredIntersectionAttributes;
|
|
@@ -1930,7 +2030,7 @@ export interface DashboardTextFilter1 {
|
|
|
1930
2030
|
/**
|
|
1931
2031
|
* Attribute or label to use in this filter.
|
|
1932
2032
|
*/
|
|
1933
|
-
using: AttributeIdentifier4 | LabelIdentifier4;
|
|
2033
|
+
using: AttributeIdentifier4 | LabelIdentifier4 | ComputedAttributeIdentifier4;
|
|
1934
2034
|
condition: "is" | "isNot";
|
|
1935
2035
|
values: (string | null)[];
|
|
1936
2036
|
case_sensitive?: boolean;
|
|
@@ -1980,7 +2080,7 @@ export interface DashboardTextFilter2 {
|
|
|
1980
2080
|
/**
|
|
1981
2081
|
* Attribute or label to use in this filter.
|
|
1982
2082
|
*/
|
|
1983
|
-
using: AttributeIdentifier5 | LabelIdentifier5;
|
|
2083
|
+
using: AttributeIdentifier5 | LabelIdentifier5 | ComputedAttributeIdentifier5;
|
|
1984
2084
|
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
1985
2085
|
value: string;
|
|
1986
2086
|
case_sensitive?: boolean;
|
|
@@ -2139,6 +2239,30 @@ export interface ParameterAllowedValue {
|
|
|
2139
2239
|
*/
|
|
2140
2240
|
title?: string;
|
|
2141
2241
|
}
|
|
2242
|
+
/**
|
|
2243
|
+
* A numeric parameter definition. Without 'constraints' the parameter accepts any number.
|
|
2244
|
+
*/
|
|
2245
|
+
export interface NumberParameterDefinition {
|
|
2246
|
+
type: "NUMBER";
|
|
2247
|
+
/**
|
|
2248
|
+
* The value used whenever the parameter is not overridden.
|
|
2249
|
+
*/
|
|
2250
|
+
defaultValue: number;
|
|
2251
|
+
constraints?: NumberParameterConstraints;
|
|
2252
|
+
}
|
|
2253
|
+
/**
|
|
2254
|
+
* Optional bounds the parameter value must satisfy.
|
|
2255
|
+
*/
|
|
2256
|
+
export interface NumberParameterConstraints {
|
|
2257
|
+
/**
|
|
2258
|
+
* The smallest accepted value, inclusive.
|
|
2259
|
+
*/
|
|
2260
|
+
min?: number;
|
|
2261
|
+
/**
|
|
2262
|
+
* The largest accepted value, inclusive.
|
|
2263
|
+
*/
|
|
2264
|
+
max?: number;
|
|
2265
|
+
}
|
|
2142
2266
|
export interface Metadata28 {
|
|
2143
2267
|
type: "dataset" | "date" | "metric" | "computed_attribute" | "dashboard" | "plugin" | "table" | "bar_chart" | "column_chart" | "line_chart" | "area_chart" | "scatter_chart" | "bubble_chart" | "pie_chart" | "donut_chart" | "treemap_chart" | "pyramid_chart" | "funnel_chart" | "heatmap_chart" | "bullet_chart" | "waterfall_chart" | "dependency_wheel_chart" | "sankey_chart" | "headline_chart" | "combo_chart" | "geo_chart" | "geo_area_chart" | "repeater_chart" | "radar_chart" | "attribute_hierarchy" | "parameter";
|
|
2144
2268
|
[k: string]: unknown;
|
|
@@ -2216,7 +2340,7 @@ export interface AttributeField {
|
|
|
2216
2340
|
/**
|
|
2217
2341
|
* Attribute or label identifier to use for this field.
|
|
2218
2342
|
*/
|
|
2219
|
-
using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
|
|
2343
|
+
using: (AttributeIdentifier8 | LabelIdentifier6 | ComputedAttributeIdentifier6 | FactIdentifier) & string;
|
|
2220
2344
|
}
|
|
2221
2345
|
export interface AttributeFieldGuard1 {
|
|
2222
2346
|
/**
|
|
@@ -2271,7 +2395,7 @@ export interface AttributeFilter {
|
|
|
2271
2395
|
/**
|
|
2272
2396
|
* Attribute or label to use in this filter.
|
|
2273
2397
|
*/
|
|
2274
|
-
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
2398
|
+
using: AttributeIdentifier9 | LabelIdentifier7 | ComputedAttributeIdentifier7;
|
|
2275
2399
|
display_as?: DisplayAsLabelIdentifier4;
|
|
2276
2400
|
state?: State;
|
|
2277
2401
|
}
|
|
@@ -2284,7 +2408,7 @@ export interface AttributeFilter1 {
|
|
|
2284
2408
|
/**
|
|
2285
2409
|
* Attribute or label to use in this filter.
|
|
2286
2410
|
*/
|
|
2287
|
-
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
2411
|
+
using: AttributeIdentifier9 | LabelIdentifier7 | ComputedAttributeIdentifier7;
|
|
2288
2412
|
display_as?: DisplayAsLabelIdentifier4;
|
|
2289
2413
|
state?: State;
|
|
2290
2414
|
}
|
|
@@ -2293,7 +2417,7 @@ export interface TextFilter1 {
|
|
|
2293
2417
|
/**
|
|
2294
2418
|
* Attribute or label to use in this filter.
|
|
2295
2419
|
*/
|
|
2296
|
-
using: AttributeIdentifier10 | LabelIdentifier8;
|
|
2420
|
+
using: AttributeIdentifier10 | LabelIdentifier8 | ComputedAttributeIdentifier8;
|
|
2297
2421
|
condition: "is" | "isNot";
|
|
2298
2422
|
values: (string | null)[];
|
|
2299
2423
|
case_sensitive?: boolean;
|
|
@@ -2305,7 +2429,7 @@ export interface TextFilter2 {
|
|
|
2305
2429
|
/**
|
|
2306
2430
|
* Attribute or label to use in this filter.
|
|
2307
2431
|
*/
|
|
2308
|
-
using: AttributeIdentifier11 | LabelIdentifier9;
|
|
2432
|
+
using: AttributeIdentifier11 | LabelIdentifier9 | ComputedAttributeIdentifier9;
|
|
2309
2433
|
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
2310
2434
|
value: string;
|
|
2311
2435
|
case_sensitive?: boolean;
|
|
@@ -2329,7 +2453,7 @@ export interface MultipleConditions1 {
|
|
|
2329
2453
|
/**
|
|
2330
2454
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
2331
2455
|
*/
|
|
2332
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
2456
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
2333
2457
|
}
|
|
2334
2458
|
export interface AllNoCondition1 {
|
|
2335
2459
|
}
|
|
@@ -2372,7 +2496,7 @@ export interface Comparison1 {
|
|
|
2372
2496
|
/**
|
|
2373
2497
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
2374
2498
|
*/
|
|
2375
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
2499
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
2376
2500
|
}
|
|
2377
2501
|
export interface Range1 {
|
|
2378
2502
|
type: "metric_value_filter";
|
|
@@ -2399,7 +2523,7 @@ export interface Range1 {
|
|
|
2399
2523
|
/**
|
|
2400
2524
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
2401
2525
|
*/
|
|
2402
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
2526
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
2403
2527
|
}
|
|
2404
2528
|
/**
|
|
2405
2529
|
* For MVF with operator "All" (no filtering). Such filter can be present without a condition and is treated as a no-op.
|
|
@@ -2417,7 +2541,7 @@ export interface All1 {
|
|
|
2417
2541
|
/**
|
|
2418
2542
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
2419
2543
|
*/
|
|
2420
|
-
dimensionality?: (LabelIdentifier10 | string)[];
|
|
2544
|
+
dimensionality?: (LabelIdentifier10 | ComputedAttributeIdentifier10 | string)[];
|
|
2421
2545
|
}
|
|
2422
2546
|
export interface BOTTOM {
|
|
2423
2547
|
type: "ranking_filter";
|
|
@@ -2428,7 +2552,7 @@ export interface BOTTOM {
|
|
|
2428
2552
|
/**
|
|
2429
2553
|
* Label reference or local identifier to use for this filter.
|
|
2430
2554
|
*/
|
|
2431
|
-
attribute?: LabelIdentifier11;
|
|
2555
|
+
attribute?: LabelIdentifier11 | ComputedAttributeIdentifier11;
|
|
2432
2556
|
/**
|
|
2433
2557
|
* Number of bottom N values to use in this filter.
|
|
2434
2558
|
*/
|
|
@@ -2451,7 +2575,7 @@ export interface TOP {
|
|
|
2451
2575
|
/**
|
|
2452
2576
|
* Label reference or local identifier to use for this filter.
|
|
2453
2577
|
*/
|
|
2454
|
-
attribute?: LabelIdentifier12;
|
|
2578
|
+
attribute?: LabelIdentifier12 | ComputedAttributeIdentifier12;
|
|
2455
2579
|
/**
|
|
2456
2580
|
* Number of bottom N values to use in this filter.
|
|
2457
2581
|
*/
|
|
@@ -2710,7 +2834,7 @@ export interface AttributeSort {
|
|
|
2710
2834
|
/**
|
|
2711
2835
|
* Local attribute or label to use in this sort.
|
|
2712
2836
|
*/
|
|
2713
|
-
by: string | AttributeIdentifier13 | LabelIdentifier14;
|
|
2837
|
+
by: string | AttributeIdentifier13 | LabelIdentifier14 | ComputedAttributeIdentifier13;
|
|
2714
2838
|
/**
|
|
2715
2839
|
* Sort direction.
|
|
2716
2840
|
*/
|
|
@@ -2734,7 +2858,7 @@ export interface MetricSort {
|
|
|
2734
2858
|
/**
|
|
2735
2859
|
* Local attribute or label to use in this sort.
|
|
2736
2860
|
*/
|
|
2737
|
-
by: string | AttributeIdentifier14 | LabelIdentifier15;
|
|
2861
|
+
by: string | AttributeIdentifier14 | LabelIdentifier15 | ComputedAttributeIdentifier14;
|
|
2738
2862
|
/**
|
|
2739
2863
|
* Value of attribute or label to use for this sort.
|
|
2740
2864
|
*/
|
|
@@ -2748,7 +2872,7 @@ export interface MetricSort {
|
|
|
2748
2872
|
/**
|
|
2749
2873
|
* Local attribute or label to use in this sort.
|
|
2750
2874
|
*/
|
|
2751
|
-
by: string | AttributeIdentifier14 | LabelIdentifier15;
|
|
2875
|
+
by: string | AttributeIdentifier14 | LabelIdentifier15 | ComputedAttributeIdentifier14;
|
|
2752
2876
|
/**
|
|
2753
2877
|
* Value of attribute or label to use for this sort.
|
|
2754
2878
|
*/
|