@gooddata/sdk-code-schemas 11.29.0-alpha.5 → 11.29.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.
@@ -322,6 +322,38 @@ export type DisplayAsLabelIdentifier1 = string;
322
322
  * Local attribute or date filter to use as parent
323
323
  */
324
324
  export type LocalAttributeFilter1 = string;
325
+ /**
326
+ * A dashboard text filter
327
+ */
328
+ export type DashboardTextFilter = DashboardTextFilter1 | DashboardTextFilter2;
329
+ /**
330
+ * Attribute or label to use in this filter.
331
+ */
332
+ export type AttributeIdentifier4 = string;
333
+ /**
334
+ * Attribute or label to use in this filter.
335
+ */
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;
325
357
  /**
326
358
  * An unique identifier of the plugin.
327
359
  */
@@ -363,7 +395,7 @@ export type Tags10 = string[];
363
395
  /**
364
396
  * A attribute identifier in the form of attribute/\{id\}.
365
397
  */
366
- export type AttributeIdentifier4 = string;
398
+ export type AttributeIdentifier6 = string;
367
399
  /**
368
400
  * JSON schema for Gooddata Analytics
369
401
  */
@@ -389,11 +421,11 @@ export type Tags11 = string[];
389
421
  * This interface was referenced by `Fields2`'s JSON-Schema definition
390
422
  * via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
391
423
  */
392
- export type Field = AttributeIdentifier5 | Field1 | Field2 | Field3 | StructuredField;
424
+ export type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
393
425
  /**
394
426
  * A attribute identifier in the form of attribute/\{id\}.
395
427
  */
396
- export type AttributeIdentifier5 = string;
428
+ export type AttributeIdentifier7 = string;
397
429
  /**
398
430
  * A label identifier in the form of label/\{id\}.
399
431
  */
@@ -411,11 +443,11 @@ export type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
411
443
  /**
412
444
  * A attribute identifier in the form of attribute/\{id\}.
413
445
  */
414
- export type AttributeIdentifier6 = string;
446
+ export type AttributeIdentifier8 = string;
415
447
  /**
416
448
  * Attribute or label identifier to use for this field.
417
449
  */
418
- export type LabelIdentifier4 = string;
450
+ export type LabelIdentifier6 = string;
419
451
  /**
420
452
  * Attribute or label identifier to use for this field.
421
453
  */
@@ -429,7 +461,7 @@ export type MetricFieldGuard = MetricField | MetricFieldGuard1;
429
461
  * This interface was referenced by `QueryFilters2`'s JSON-Schema definition
430
462
  * via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
431
463
  */
432
- export type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5;
464
+ export type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5 | Filter6;
433
465
  export type Filter1 = DateFilter;
434
466
  export type DateFilter = DateFilter1 | DateFilter2;
435
467
  export type DateFilter1 = {
@@ -465,15 +497,15 @@ export type DateFilter1 = {
465
497
  /**
466
498
  * Attribute or label to use in this filter.
467
499
  */
468
- export type AttributeIdentifier7 = string;
500
+ export type AttributeIdentifier9 = string;
469
501
  /**
470
502
  * Attribute or label to use in this filter.
471
503
  */
472
- export type LabelIdentifier5 = string;
504
+ export type LabelIdentifier7 = string;
473
505
  /**
474
506
  * Configures the label used for representing attribute filter elements in UI.
475
507
  */
476
- export type DisplayAsLabelIdentifier2 = string;
508
+ export type DisplayAsLabelIdentifier4 = string;
477
509
  export type DateFilter2 = {
478
510
  type: "date_filter";
479
511
  /**
@@ -501,7 +533,33 @@ export type DateFilter2 = {
501
533
  [k: string]: unknown;
502
534
  };
503
535
  export type Filter2 = AttributeFilter1;
504
- export type Filter3 = MetricValueFilter;
536
+ export type Filter3 = TextFilter;
537
+ export type TextFilter = TextFilter1 | TextFilter2;
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;
562
+ export type Filter4 = MetricValueFilter;
505
563
  export type MetricValueFilter = MultipleConditions | Comparison | Range | All;
506
564
  export type MultipleConditions = MultipleConditions1;
507
565
  /**
@@ -515,7 +573,7 @@ export type RangeCondition = RangeCondition1;
515
573
  /**
516
574
  * A label identifier in the form of label/\{id\}.
517
575
  */
518
- export type LabelIdentifier6 = string;
576
+ export type LabelIdentifier10 = string;
519
577
  export type Comparison = Comparison1;
520
578
  /**
521
579
  * Metric or local metric to use in this filter.
@@ -534,7 +592,7 @@ export type All = All1;
534
592
  * Metric or local metric to use in this filter.
535
593
  */
536
594
  export type MetricIdentifier3 = string;
537
- export type Filter4 = RankingFilter;
595
+ export type Filter5 = RankingFilter;
538
596
  export type RankingFilter = BOTTOM | TOP;
539
597
  /**
540
598
  * Metric identifier to use for this filter.
@@ -543,7 +601,7 @@ export type MetricIdentifier4 = string;
543
601
  /**
544
602
  * Attribute identifier to use for this filter.
545
603
  */
546
- export type AttributeIdentifier8 = string;
604
+ export type AttributeIdentifier12 = string;
547
605
  /**
548
606
  * Metric identifier to use for this filter.
549
607
  */
@@ -551,8 +609,8 @@ export type MetricIdentifier5 = string;
551
609
  /**
552
610
  * Attribute identifier to use for this filter.
553
611
  */
554
- export type AttributeIdentifier9 = string;
555
- export type Filter5 = {
612
+ export type AttributeIdentifier13 = string;
613
+ export type Filter6 = {
556
614
  [k: string]: unknown;
557
615
  };
558
616
  /**
@@ -563,7 +621,7 @@ export type CalculatedMetricFieldGuard = CalculatedMetricField | CalculatedMetri
563
621
  /**
564
622
  * A attribute identifier in the form of attribute/\{id\}.
565
623
  */
566
- export type AttributeIdentifier10 = string;
624
+ export type AttributeIdentifier14 = string;
567
625
  /**
568
626
  * Attribute identifier to use for this field.
569
627
  */
@@ -571,7 +629,7 @@ export type FactIdentifier1 = string;
571
629
  /**
572
630
  * Attribute identifier to use for this field.
573
631
  */
574
- export type LabelIdentifier7 = string;
632
+ export type LabelIdentifier11 = string;
575
633
  export type InlineMetricFieldGuard = InlineMetricField | InlineMetricFieldGuard1;
576
634
  export type ArithmeticMetricFieldGuard = ArithmeticMetricField | ArithmeticMetricFieldGuard1;
577
635
  export type PoPMetricFieldGuard = PoPMetricField | PoPMetricFieldGuard1;
@@ -581,20 +639,20 @@ export type Sort1 = AttributeSort;
581
639
  /**
582
640
  * A attribute identifier in the form of attribute/\{id\}.
583
641
  */
584
- export type AttributeIdentifier11 = string;
642
+ export type AttributeIdentifier15 = string;
585
643
  /**
586
644
  * Local attribute or label to use in this sort.
587
645
  */
588
- export type LabelIdentifier8 = string;
646
+ export type LabelIdentifier12 = string;
589
647
  export type Sort2 = MetricSort;
590
648
  /**
591
649
  * A attribute identifier in the form of attribute/\{id\}.
592
650
  */
593
- export type AttributeIdentifier12 = string;
651
+ export type AttributeIdentifier16 = string;
594
652
  /**
595
653
  * Local attribute or label to use in this sort.
596
654
  */
597
- export type LabelIdentifier9 = string;
655
+ export type LabelIdentifier13 = string;
598
656
  export type Sort3 = {
599
657
  [k: string]: unknown;
600
658
  };
@@ -1631,20 +1689,20 @@ export interface DashboardFilters {
1631
1689
  * This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
1632
1690
  * via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
1633
1691
  */
1634
- [k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
1692
+ [k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
1635
1693
  }
1636
1694
  /**
1637
1695
  * A dashboard absolute date filter
1638
1696
  */
1639
1697
  export interface DashboardAbsoluteDateFilter {
1640
- type: "date_filter" | "attribute_filter" | "filter_group";
1698
+ type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
1641
1699
  [k: string]: unknown;
1642
1700
  }
1643
1701
  /**
1644
1702
  * A dashboard relative date filter
1645
1703
  */
1646
1704
  export interface DashboardRelativeDateFilter {
1647
- type: "date_filter" | "attribute_filter" | "filter_group";
1705
+ type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
1648
1706
  [k: string]: unknown;
1649
1707
  }
1650
1708
  export interface LocalDateFilter {
@@ -1669,11 +1727,74 @@ export interface LocalDateFilter1 {
1669
1727
  common: boolean;
1670
1728
  [k: string]: unknown;
1671
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
+ }
1672
1793
  /**
1673
1794
  * A group of dashboard filters displayed together in the filter bar
1674
1795
  */
1675
1796
  export interface DashboardFilterGroup {
1676
- type: "date_filter" | "attribute_filter" | "filter_group";
1797
+ type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
1677
1798
  }
1678
1799
  export interface Tab {
1679
1800
  id: Id14;
@@ -1697,7 +1818,7 @@ export interface DashboardFilters1 {
1697
1818
  * This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
1698
1819
  * via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
1699
1820
  */
1700
- [k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
1821
+ [k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
1701
1822
  }
1702
1823
  /**
1703
1824
  * A permission object
@@ -1748,7 +1869,7 @@ export interface AttributeHierarchy {
1748
1869
  /**
1749
1870
  * A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute.
1750
1871
  */
1751
- attributes: [AttributeIdentifier4, ...AttributeIdentifier4[]];
1872
+ attributes: [AttributeIdentifier6, ...AttributeIdentifier6[]];
1752
1873
  }
1753
1874
  export interface Metadata22 {
1754
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";
@@ -1827,7 +1948,7 @@ export interface AttributeField {
1827
1948
  /**
1828
1949
  * Attribute or label identifier to use for this field.
1829
1950
  */
1830
- using: (AttributeIdentifier6 | LabelIdentifier4 | FactIdentifier) & string;
1951
+ using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
1831
1952
  }
1832
1953
  export interface AttributeFieldGuard1 {
1833
1954
  /**
@@ -1882,8 +2003,8 @@ export interface AttributeFilter {
1882
2003
  /**
1883
2004
  * Attribute or label to use in this filter.
1884
2005
  */
1885
- using: AttributeIdentifier7 | LabelIdentifier5;
1886
- display_as?: DisplayAsLabelIdentifier2;
2006
+ using: AttributeIdentifier9 | LabelIdentifier7;
2007
+ display_as?: DisplayAsLabelIdentifier4;
1887
2008
  state?: State;
1888
2009
  }
1889
2010
  export interface State {
@@ -1895,10 +2016,32 @@ export interface AttributeFilter1 {
1895
2016
  /**
1896
2017
  * Attribute or label to use in this filter.
1897
2018
  */
1898
- using: AttributeIdentifier7 | LabelIdentifier5;
1899
- display_as?: DisplayAsLabelIdentifier2;
2019
+ using: AttributeIdentifier9 | LabelIdentifier7;
2020
+ display_as?: DisplayAsLabelIdentifier4;
1900
2021
  state?: State;
1901
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
+ }
1902
2045
  export interface MultipleConditions1 {
1903
2046
  type: "metric_value_filter";
1904
2047
  /**
@@ -1916,7 +2059,7 @@ export interface MultipleConditions1 {
1916
2059
  /**
1917
2060
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
1918
2061
  */
1919
- dimensionality?: (LabelIdentifier6 | string)[];
2062
+ dimensionality?: (LabelIdentifier10 | string)[];
1920
2063
  }
1921
2064
  export interface AllNoCondition1 {
1922
2065
  }
@@ -1959,7 +2102,7 @@ export interface Comparison1 {
1959
2102
  /**
1960
2103
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
1961
2104
  */
1962
- dimensionality?: (LabelIdentifier6 | string)[];
2105
+ dimensionality?: (LabelIdentifier10 | string)[];
1963
2106
  }
1964
2107
  export interface Range1 {
1965
2108
  type: "metric_value_filter";
@@ -1986,7 +2129,7 @@ export interface Range1 {
1986
2129
  /**
1987
2130
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
1988
2131
  */
1989
- dimensionality?: (LabelIdentifier6 | string)[];
2132
+ dimensionality?: (LabelIdentifier10 | string)[];
1990
2133
  }
1991
2134
  /**
1992
2135
  * For MVF with operator "All" (no filtering). Such filter can be present without a condition and is treated as a no-op.
@@ -2004,7 +2147,7 @@ export interface All1 {
2004
2147
  /**
2005
2148
  * Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
2006
2149
  */
2007
- dimensionality?: (LabelIdentifier6 | string)[];
2150
+ dimensionality?: (LabelIdentifier10 | string)[];
2008
2151
  }
2009
2152
  export interface BOTTOM {
2010
2153
  type: "ranking_filter";
@@ -2015,7 +2158,7 @@ export interface BOTTOM {
2015
2158
  /**
2016
2159
  * Attribute identifier to use for this filter.
2017
2160
  */
2018
- attribute?: AttributeIdentifier8;
2161
+ attribute?: AttributeIdentifier12;
2019
2162
  /**
2020
2163
  * Number of bottom N values to use in this filter.
2021
2164
  */
@@ -2034,7 +2177,7 @@ export interface TOP {
2034
2177
  /**
2035
2178
  * Attribute identifier to use for this filter.
2036
2179
  */
2037
- attribute?: AttributeIdentifier9;
2180
+ attribute?: AttributeIdentifier13;
2038
2181
  /**
2039
2182
  * Number of bottom N values to use in this filter.
2040
2183
  */
@@ -2085,7 +2228,7 @@ export interface CalculatedMetricField {
2085
2228
  /**
2086
2229
  * Attribute identifier to use for this field.
2087
2230
  */
2088
- using: (AttributeIdentifier10 | FactIdentifier1 | LabelIdentifier7) & string;
2231
+ using: (AttributeIdentifier14 | FactIdentifier1 | LabelIdentifier11) & string;
2089
2232
  }
2090
2233
  /**
2091
2234
  * A list of filters in this query.
@@ -2289,7 +2432,7 @@ export interface AttributeSort {
2289
2432
  /**
2290
2433
  * Local attribute or label to use in this sort.
2291
2434
  */
2292
- by: string | AttributeIdentifier11 | LabelIdentifier8;
2435
+ by: string | AttributeIdentifier15 | LabelIdentifier12;
2293
2436
  /**
2294
2437
  * Sort direction.
2295
2438
  */
@@ -2313,7 +2456,7 @@ export interface MetricSort {
2313
2456
  /**
2314
2457
  * Local attribute or label to use in this sort.
2315
2458
  */
2316
- by: string | AttributeIdentifier12 | LabelIdentifier9;
2459
+ by: string | AttributeIdentifier16 | LabelIdentifier13;
2317
2460
  /**
2318
2461
  * Value of attribute or label to use for this sort.
2319
2462
  */
@@ -2327,7 +2470,7 @@ export interface MetricSort {
2327
2470
  /**
2328
2471
  * Local attribute or label to use in this sort.
2329
2472
  */
2330
- by: string | AttributeIdentifier12 | LabelIdentifier9;
2473
+ by: string | AttributeIdentifier16 | LabelIdentifier13;
2331
2474
  /**
2332
2475
  * Value of attribute or label to use for this sort.
2333
2476
  */