@gooddata/sdk-code-schemas 11.29.0-alpha.6 → 11.29.0-alpha.8

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.
@@ -327,17 +327,33 @@ export type LocalAttributeFilter1 = string;
327
327
  */
328
328
  export type DashboardTextFilter = DashboardTextFilter1 | DashboardTextFilter2;
329
329
  /**
330
- * A dashboard text filter
330
+ * Attribute or label to use in this filter.
331
331
  */
332
- export type DashboardTextFilter1 = {
333
- [k: string]: unknown;
334
- };
332
+ export type AttributeIdentifier4 = string;
335
333
  /**
336
- * A dashboard text filter
334
+ * Attribute or label to use in this filter.
337
335
  */
338
- export type DashboardTextFilter2 = {
339
- [k: string]: unknown;
340
- };
336
+ export type LabelIdentifier4 = string;
337
+ /**
338
+ * Configures the label used for representing attribute filter elements in UI.
339
+ */
340
+ export type DisplayAsLabelIdentifier2 = string;
341
+ /**
342
+ * Local attribute, text, or date filter to use as parent
343
+ */
344
+ export type LocalAttributeFilter2 = string;
345
+ /**
346
+ * Attribute or label to use in this filter.
347
+ */
348
+ export type AttributeIdentifier5 = string;
349
+ /**
350
+ * Attribute or label to use in this filter.
351
+ */
352
+ export type LabelIdentifier5 = string;
353
+ /**
354
+ * Configures the label used for representing attribute filter elements in UI.
355
+ */
356
+ export type DisplayAsLabelIdentifier3 = string;
341
357
  /**
342
358
  * An unique identifier of the plugin.
343
359
  */
@@ -379,7 +395,7 @@ export type Tags10 = string[];
379
395
  /**
380
396
  * A attribute identifier in the form of attribute/\{id\}.
381
397
  */
382
- export type AttributeIdentifier4 = string;
398
+ export type AttributeIdentifier6 = string;
383
399
  /**
384
400
  * JSON schema for Gooddata Analytics
385
401
  */
@@ -405,11 +421,11 @@ export type Tags11 = string[];
405
421
  * This interface was referenced by `Fields2`'s JSON-Schema definition
406
422
  * via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
407
423
  */
408
- export type Field = AttributeIdentifier5 | Field1 | Field2 | Field3 | StructuredField;
424
+ export type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
409
425
  /**
410
426
  * A attribute identifier in the form of attribute/\{id\}.
411
427
  */
412
- export type AttributeIdentifier5 = string;
428
+ export type AttributeIdentifier7 = string;
413
429
  /**
414
430
  * A label identifier in the form of label/\{id\}.
415
431
  */
@@ -427,11 +443,11 @@ export type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
427
443
  /**
428
444
  * A attribute identifier in the form of attribute/\{id\}.
429
445
  */
430
- export type AttributeIdentifier6 = string;
446
+ export type AttributeIdentifier8 = string;
431
447
  /**
432
448
  * Attribute or label identifier to use for this field.
433
449
  */
434
- export type LabelIdentifier4 = string;
450
+ export type LabelIdentifier6 = string;
435
451
  /**
436
452
  * Attribute or label identifier to use for this field.
437
453
  */
@@ -481,15 +497,15 @@ export type DateFilter1 = {
481
497
  /**
482
498
  * Attribute or label to use in this filter.
483
499
  */
484
- export type AttributeIdentifier7 = string;
500
+ export type AttributeIdentifier9 = string;
485
501
  /**
486
502
  * Attribute or label to use in this filter.
487
503
  */
488
- export type LabelIdentifier5 = string;
504
+ export type LabelIdentifier7 = string;
489
505
  /**
490
506
  * Configures the label used for representing attribute filter elements in UI.
491
507
  */
492
- export type DisplayAsLabelIdentifier2 = string;
508
+ export type DisplayAsLabelIdentifier4 = string;
493
509
  export type DateFilter2 = {
494
510
  type: "date_filter";
495
511
  /**
@@ -519,12 +535,30 @@ export type DateFilter2 = {
519
535
  export type Filter2 = AttributeFilter1;
520
536
  export type Filter3 = TextFilter;
521
537
  export type TextFilter = TextFilter1 | TextFilter2;
522
- export type TextFilter1 = {
523
- [k: string]: unknown;
524
- };
525
- export type TextFilter2 = {
526
- [k: string]: unknown;
527
- };
538
+ /**
539
+ * Attribute or label to use in this filter.
540
+ */
541
+ export type AttributeIdentifier10 = string;
542
+ /**
543
+ * Attribute or label to use in this filter.
544
+ */
545
+ export type LabelIdentifier8 = string;
546
+ /**
547
+ * Configures the label used for representing attribute filter elements in UI.
548
+ */
549
+ export type DisplayAsLabelIdentifier5 = string;
550
+ /**
551
+ * Attribute or label to use in this filter.
552
+ */
553
+ export type AttributeIdentifier11 = string;
554
+ /**
555
+ * Attribute or label to use in this filter.
556
+ */
557
+ export type LabelIdentifier9 = string;
558
+ /**
559
+ * Configures the label used for representing attribute filter elements in UI.
560
+ */
561
+ export type DisplayAsLabelIdentifier6 = string;
528
562
  export type Filter4 = MetricValueFilter;
529
563
  export type MetricValueFilter = MultipleConditions | Comparison | Range | All;
530
564
  export type MultipleConditions = MultipleConditions1;
@@ -539,7 +573,7 @@ export type RangeCondition = RangeCondition1;
539
573
  /**
540
574
  * A label identifier in the form of label/\{id\}.
541
575
  */
542
- export type LabelIdentifier6 = string;
576
+ export type LabelIdentifier10 = string;
543
577
  export type Comparison = Comparison1;
544
578
  /**
545
579
  * Metric or local metric to use in this filter.
@@ -567,7 +601,7 @@ export type MetricIdentifier4 = string;
567
601
  /**
568
602
  * Attribute identifier to use for this filter.
569
603
  */
570
- export type AttributeIdentifier8 = string;
604
+ export type AttributeIdentifier12 = string;
571
605
  /**
572
606
  * Metric identifier to use for this filter.
573
607
  */
@@ -575,7 +609,7 @@ export type MetricIdentifier5 = string;
575
609
  /**
576
610
  * Attribute identifier to use for this filter.
577
611
  */
578
- export type AttributeIdentifier9 = string;
612
+ export type AttributeIdentifier13 = string;
579
613
  export type Filter6 = {
580
614
  [k: string]: unknown;
581
615
  };
@@ -587,7 +621,7 @@ export type CalculatedMetricFieldGuard = CalculatedMetricField | CalculatedMetri
587
621
  /**
588
622
  * A attribute identifier in the form of attribute/\{id\}.
589
623
  */
590
- export type AttributeIdentifier10 = string;
624
+ export type AttributeIdentifier14 = string;
591
625
  /**
592
626
  * Attribute identifier to use for this field.
593
627
  */
@@ -595,7 +629,7 @@ export type FactIdentifier1 = string;
595
629
  /**
596
630
  * Attribute identifier to use for this field.
597
631
  */
598
- export type LabelIdentifier7 = string;
632
+ export type LabelIdentifier11 = string;
599
633
  export type InlineMetricFieldGuard = InlineMetricField | InlineMetricFieldGuard1;
600
634
  export type ArithmeticMetricFieldGuard = ArithmeticMetricField | ArithmeticMetricFieldGuard1;
601
635
  export type PoPMetricFieldGuard = PoPMetricField | PoPMetricFieldGuard1;
@@ -605,20 +639,20 @@ export type Sort1 = AttributeSort;
605
639
  /**
606
640
  * A attribute identifier in the form of attribute/\{id\}.
607
641
  */
608
- export type AttributeIdentifier11 = string;
642
+ export type AttributeIdentifier15 = string;
609
643
  /**
610
644
  * Local attribute or label to use in this sort.
611
645
  */
612
- export type LabelIdentifier8 = string;
646
+ export type LabelIdentifier12 = string;
613
647
  export type Sort2 = MetricSort;
614
648
  /**
615
649
  * A attribute identifier in the form of attribute/\{id\}.
616
650
  */
617
- export type AttributeIdentifier12 = string;
651
+ export type AttributeIdentifier16 = string;
618
652
  /**
619
653
  * Local attribute or label to use in this sort.
620
654
  */
621
- export type LabelIdentifier9 = string;
655
+ export type LabelIdentifier13 = string;
622
656
  export type Sort3 = {
623
657
  [k: string]: unknown;
624
658
  };
@@ -1693,6 +1727,69 @@ export interface LocalDateFilter1 {
1693
1727
  common: boolean;
1694
1728
  [k: string]: unknown;
1695
1729
  }
1730
+ /**
1731
+ * A dashboard text filter
1732
+ */
1733
+ export interface DashboardTextFilter1 {
1734
+ /**
1735
+ * Optional title of the filter
1736
+ */
1737
+ title?: string;
1738
+ type: "text_filter";
1739
+ /**
1740
+ * Attribute or label to use in this filter.
1741
+ */
1742
+ using: AttributeIdentifier4 | LabelIdentifier4;
1743
+ condition: "is" | "isNot";
1744
+ values: (string | null)[];
1745
+ case_sensitive?: boolean;
1746
+ display_as?: DisplayAsLabelIdentifier2;
1747
+ /**
1748
+ * Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter.
1749
+ */
1750
+ mode?: "readonly" | "hidden" | "active";
1751
+ /**
1752
+ * An ids of the parent local attribute, text, or date filter
1753
+ */
1754
+ parents?: (LocalAttributeFilter2 | LocalDateFilter2)[];
1755
+ /**
1756
+ * An id of the attributes, labels, facts or metrics to validate the filter by
1757
+ */
1758
+ metric_filters?: string[];
1759
+ }
1760
+ export interface LocalDateFilter2 {
1761
+ /**
1762
+ * Local date filter to use as parent
1763
+ */
1764
+ using: string;
1765
+ /**
1766
+ * Whether the parent filter is common date or special date
1767
+ */
1768
+ common: boolean;
1769
+ [k: string]: unknown;
1770
+ }
1771
+ /**
1772
+ * A dashboard text filter
1773
+ */
1774
+ export interface DashboardTextFilter2 {
1775
+ /**
1776
+ * Optional title of the filter
1777
+ */
1778
+ title?: string;
1779
+ type: "text_filter";
1780
+ /**
1781
+ * Attribute or label to use in this filter.
1782
+ */
1783
+ using: AttributeIdentifier5 | LabelIdentifier5;
1784
+ condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
1785
+ value: string;
1786
+ case_sensitive?: boolean;
1787
+ display_as?: DisplayAsLabelIdentifier3;
1788
+ /**
1789
+ * Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter.
1790
+ */
1791
+ mode?: "readonly" | "hidden" | "active";
1792
+ }
1696
1793
  /**
1697
1794
  * A group of dashboard filters displayed together in the filter bar
1698
1795
  */
@@ -1772,7 +1869,7 @@ export interface AttributeHierarchy {
1772
1869
  /**
1773
1870
  * A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute.
1774
1871
  */
1775
- attributes: [AttributeIdentifier4, ...AttributeIdentifier4[]];
1872
+ attributes: [AttributeIdentifier6, ...AttributeIdentifier6[]];
1776
1873
  }
1777
1874
  export interface Metadata22 {
1778
1875
  type: "dataset" | "date" | "metric" | "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" | "attribute_hierarchy";
@@ -1851,7 +1948,7 @@ export interface AttributeField {
1851
1948
  /**
1852
1949
  * Attribute or label identifier to use for this field.
1853
1950
  */
1854
- using: (AttributeIdentifier6 | LabelIdentifier4 | FactIdentifier) & string;
1951
+ using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
1855
1952
  }
1856
1953
  export interface AttributeFieldGuard1 {
1857
1954
  /**
@@ -1906,8 +2003,8 @@ export interface AttributeFilter {
1906
2003
  /**
1907
2004
  * Attribute or label to use in this filter.
1908
2005
  */
1909
- using: AttributeIdentifier7 | LabelIdentifier5;
1910
- display_as?: DisplayAsLabelIdentifier2;
2006
+ using: AttributeIdentifier9 | LabelIdentifier7;
2007
+ display_as?: DisplayAsLabelIdentifier4;
1911
2008
  state?: State;
1912
2009
  }
1913
2010
  export interface State {
@@ -1919,10 +2016,32 @@ export interface AttributeFilter1 {
1919
2016
  /**
1920
2017
  * Attribute or label to use in this filter.
1921
2018
  */
1922
- using: AttributeIdentifier7 | LabelIdentifier5;
1923
- display_as?: DisplayAsLabelIdentifier2;
2019
+ using: AttributeIdentifier9 | LabelIdentifier7;
2020
+ display_as?: DisplayAsLabelIdentifier4;
1924
2021
  state?: State;
1925
2022
  }
2023
+ export interface TextFilter1 {
2024
+ type: "text_filter";
2025
+ /**
2026
+ * Attribute or label to use in this filter.
2027
+ */
2028
+ using: AttributeIdentifier10 | LabelIdentifier8;
2029
+ condition: "is" | "isNot";
2030
+ values: (string | null)[];
2031
+ case_sensitive?: boolean;
2032
+ display_as?: DisplayAsLabelIdentifier5;
2033
+ }
2034
+ export interface TextFilter2 {
2035
+ type: "text_filter";
2036
+ /**
2037
+ * Attribute or label to use in this filter.
2038
+ */
2039
+ using: AttributeIdentifier11 | LabelIdentifier9;
2040
+ condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
2041
+ value: string;
2042
+ case_sensitive?: boolean;
2043
+ display_as?: DisplayAsLabelIdentifier6;
2044
+ }
1926
2045
  export interface MultipleConditions1 {
1927
2046
  type: "metric_value_filter";
1928
2047
  /**
@@ -1940,7 +2059,7 @@ export interface MultipleConditions1 {
1940
2059
  /**
1941
2060
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
1942
2061
  */
1943
- dimensionality?: (LabelIdentifier6 | string)[];
2062
+ dimensionality?: (LabelIdentifier10 | string)[];
1944
2063
  }
1945
2064
  export interface AllNoCondition1 {
1946
2065
  }
@@ -1983,7 +2102,7 @@ export interface Comparison1 {
1983
2102
  /**
1984
2103
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
1985
2104
  */
1986
- dimensionality?: (LabelIdentifier6 | string)[];
2105
+ dimensionality?: (LabelIdentifier10 | string)[];
1987
2106
  }
1988
2107
  export interface Range1 {
1989
2108
  type: "metric_value_filter";
@@ -2010,7 +2129,7 @@ export interface Range1 {
2010
2129
  /**
2011
2130
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
2012
2131
  */
2013
- dimensionality?: (LabelIdentifier6 | string)[];
2132
+ dimensionality?: (LabelIdentifier10 | string)[];
2014
2133
  }
2015
2134
  /**
2016
2135
  * For MVF with operator "All" (no filtering). Such filter can be present without a condition and is treated as a no-op.
@@ -2028,7 +2147,7 @@ export interface All1 {
2028
2147
  /**
2029
2148
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
2030
2149
  */
2031
- dimensionality?: (LabelIdentifier6 | string)[];
2150
+ dimensionality?: (LabelIdentifier10 | string)[];
2032
2151
  }
2033
2152
  export interface BOTTOM {
2034
2153
  type: "ranking_filter";
@@ -2039,7 +2158,7 @@ export interface BOTTOM {
2039
2158
  /**
2040
2159
  * Attribute identifier to use for this filter.
2041
2160
  */
2042
- attribute?: AttributeIdentifier8;
2161
+ attribute?: AttributeIdentifier12;
2043
2162
  /**
2044
2163
  * Number of bottom N values to use in this filter.
2045
2164
  */
@@ -2058,7 +2177,7 @@ export interface TOP {
2058
2177
  /**
2059
2178
  * Attribute identifier to use for this filter.
2060
2179
  */
2061
- attribute?: AttributeIdentifier9;
2180
+ attribute?: AttributeIdentifier13;
2062
2181
  /**
2063
2182
  * Number of bottom N values to use in this filter.
2064
2183
  */
@@ -2109,7 +2228,7 @@ export interface CalculatedMetricField {
2109
2228
  /**
2110
2229
  * Attribute identifier to use for this field.
2111
2230
  */
2112
- using: (AttributeIdentifier10 | FactIdentifier1 | LabelIdentifier7) & string;
2231
+ using: (AttributeIdentifier14 | FactIdentifier1 | LabelIdentifier11) & string;
2113
2232
  }
2114
2233
  /**
2115
2234
  * A list of filters in this query.
@@ -2313,7 +2432,7 @@ export interface AttributeSort {
2313
2432
  /**
2314
2433
  * Local attribute or label to use in this sort.
2315
2434
  */
2316
- by: string | AttributeIdentifier11 | LabelIdentifier8;
2435
+ by: string | AttributeIdentifier15 | LabelIdentifier12;
2317
2436
  /**
2318
2437
  * Sort direction.
2319
2438
  */
@@ -2337,7 +2456,7 @@ export interface MetricSort {
2337
2456
  /**
2338
2457
  * Local attribute or label to use in this sort.
2339
2458
  */
2340
- by: string | AttributeIdentifier12 | LabelIdentifier9;
2459
+ by: string | AttributeIdentifier16 | LabelIdentifier13;
2341
2460
  /**
2342
2461
  * Value of attribute or label to use for this sort.
2343
2462
  */
@@ -2351,7 +2470,7 @@ export interface MetricSort {
2351
2470
  /**
2352
2471
  * Local attribute or label to use in this sort.
2353
2472
  */
2354
- by: string | AttributeIdentifier12 | LabelIdentifier9;
2473
+ by: string | AttributeIdentifier16 | LabelIdentifier13;
2355
2474
  /**
2356
2475
  * Value of attribute or label to use for this sort.
2357
2476
  */