@gooddata/sdk-model 11.64.0-alpha.1 → 11.64.0-alpha.3

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.
@@ -1680,11 +1680,53 @@ export declare const DataSourceAccessSourceValue: {
1680
1680
  readonly GROUP: "GROUP";
1681
1681
  };
1682
1682
 
1683
+ /**
1684
+ * Method that the backend uses to authenticate to a data source.
1685
+ *
1686
+ * @alpha
1687
+ */
1688
+ export declare type DataSourceAuthenticationType = "USERNAME_PASSWORD" | "TOKEN" | "KEY_PAIR" | "CLIENT_SECRET" | "OIDC_PASSTHROUGH";
1689
+
1690
+ /**
1691
+ * Determines when the cached results of a data source expire. Narrow it by the `type` property.
1692
+ *
1693
+ * @alpha
1694
+ */
1695
+ export declare type DataSourceCacheRetention = IDataSourceIndefiniteCacheRetention | IDataSourceScheduleCacheRetention | IDataSourceValidityPeriodCacheRetention;
1696
+
1697
+ /**
1698
+ * Strategy that the backend uses to cache results of a data source.
1699
+ *
1700
+ * @alpha
1701
+ */
1702
+ export declare type DataSourceCacheStrategy = "ALWAYS" | "NEVER";
1703
+
1704
+ /**
1705
+ * Determines how the backend interprets date and time values of a data source.
1706
+ *
1707
+ * @alpha
1708
+ */
1709
+ export declare type DataSourceDateTimeSemantics = "LOCAL" | "UTC";
1710
+
1711
+ /**
1712
+ * Format of a file stored in a data source that keeps its data in files.
1713
+ *
1714
+ * @alpha
1715
+ */
1716
+ export declare type DataSourceFileType = "CSV" | "SAV";
1717
+
1683
1718
  /**
1684
1719
  * @alpha
1685
1720
  */
1686
1721
  export declare type DataSourceType = "POSTGRESQL" | "REDSHIFT" | "VERTICA" | "SNOWFLAKE" | "ADS" | "BIGQUERY" | "MSSQL" | "PRESTO" | "DREMIO" | "AZURESQL" | "SYNAPSESQL" | "DATABRICKS" | "GDSTORAGE" | "CLICKHOUSE" | "CRATEDB" | "MYSQL" | "MARIADB" | "ORACLE" | "PINOT" | "DENODO" | "STARROCKS" | "ATHENA" | "SINGLESTORE" | "MOTHERDUCK" | "MONGODB" | "FLEXCONNECT" | "AILAKEHOUSE" | "DRILL" | "TRINO";
1687
1722
 
1723
+ /**
1724
+ * Permission of the current user to a data source.
1725
+ *
1726
+ * @alpha
1727
+ */
1728
+ export declare type DataSourceUserPermission = "MANAGE" | "USE";
1729
+
1688
1730
  /**
1689
1731
  * Single calculated data value.
1690
1732
  *
@@ -1790,6 +1832,90 @@ export declare const DateGranularity: {
1790
1832
  */
1791
1833
  export declare type DateString = string;
1792
1834
 
1835
+ /**
1836
+ * Operation that an aggregated fact applies to its source.
1837
+ *
1838
+ * @alpha
1839
+ */
1840
+ export declare type DeclarativeAggregationOperation = "SUM" | "MIN" | "MAX" | "APPROXIMATE_COUNT";
1841
+
1842
+ /**
1843
+ * Sort direction of attribute elements.
1844
+ *
1845
+ * @alpha
1846
+ */
1847
+ export declare type DeclarativeAttributeSortDirection = "ASC" | "DESC";
1848
+
1849
+ /**
1850
+ * Definition of a calendar.
1851
+ *
1852
+ * @alpha
1853
+ */
1854
+ export declare type DeclarativeCalendarDefinition = IDeclarativeCustomCalendarDefinition | IDeclarativeFiscalYearCalendarDefinition;
1855
+
1856
+ /**
1857
+ * Data type of a source column.
1858
+ *
1859
+ * @alpha
1860
+ */
1861
+ export declare type DeclarativeColumnDataType = "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
1862
+
1863
+ /**
1864
+ * Operand of a conditional formatting condition in the declarative model.
1865
+ *
1866
+ * @remarks
1867
+ * Relative date values use the {@link DeclarativeDateGranularity} vocabulary.
1868
+ *
1869
+ * @alpha
1870
+ */
1871
+ export declare type DeclarativeConditionalFormattingValue = {
1872
+ kind: "none";
1873
+ } | {
1874
+ kind: "literal";
1875
+ value: string | number;
1876
+ } | {
1877
+ kind: "literalRange";
1878
+ from: number;
1879
+ to: number;
1880
+ } | {
1881
+ kind: "absoluteDate";
1882
+ from: string;
1883
+ to: string;
1884
+ } | {
1885
+ kind: "relativeDate";
1886
+ granularity: DeclarativeDateGranularity;
1887
+ from: number;
1888
+ to: number;
1889
+ };
1890
+
1891
+ /**
1892
+ * Type of a dataset.
1893
+ *
1894
+ * @alpha
1895
+ */
1896
+ export declare type DeclarativeDatasetType = "NORMAL" | "AUXILIARY";
1897
+
1898
+ /**
1899
+ * Granularity of a date dataset or a calendar, in the vocabulary of the declarative model.
1900
+ *
1901
+ * @alpha
1902
+ */
1903
+ export declare type DeclarativeDateGranularity = "SECOND" | "SECOND_OF_MINUTE" | "SECOND_OF_DAY" | "MINUTE" | "MINUTE_OF_HOUR" | "MINUTE_OF_DAY" | "HOUR" | "HOUR_OF_DAY" | "DAY" | "DAY_OF_WEEK" | "DAY_OF_MONTH" | "DAY_OF_QUARTER" | "DAY_OF_YEAR" | "WEEK" | "WEEK_OF_YEAR" | "MONTH" | "MONTH_OF_YEAR" | "QUARTER" | "QUARTER_OF_YEAR" | "YEAR" | "FISCAL_DAY_OF_FISCAL_WEEK" | "FISCAL_DAY_OF_FISCAL_MONTH" | "FISCAL_DAY_OF_FISCAL_QUARTER" | "FISCAL_DAY_OF_FISCAL_SEMESTER" | "FISCAL_DAY_OF_FISCAL_YEAR" | "FISCAL_WEEK" | "FISCAL_WEEK_OF_FISCAL_MONTH" | "FISCAL_WEEK_OF_FISCAL_QUARTER" | "FISCAL_WEEK_OF_FISCAL_SEMESTER" | "FISCAL_WEEK_OF_FISCAL_YEAR" | "FISCAL_MONTH" | "FISCAL_MONTH_OF_FISCAL_QUARTER" | "FISCAL_MONTH_OF_FISCAL_SEMESTER" | "FISCAL_MONTH_OF_FISCAL_YEAR" | "FISCAL_QUARTER" | "FISCAL_QUARTER_OF_FISCAL_SEMESTER" | "FISCAL_QUARTER_OF_FISCAL_YEAR" | "FISCAL_SEMESTER" | "FISCAL_SEMESTER_OF_FISCAL_YEAR" | "FISCAL_YEAR";
1904
+
1905
+ /**
1906
+ * Type of the object that is a part of a dataset grain or a target of a reference source.
1907
+ *
1908
+ * @alpha
1909
+ */
1910
+ export declare type DeclarativeGrainType = "attribute" | "date";
1911
+
1912
+ /**
1913
+ * Value type of a label.
1914
+ *
1915
+ * @alpha
1916
+ */
1917
+ export declare type DeclarativeLabelValueType = "TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE" | "GEO_AREA" | "GEO_ICON" | "IMAGE" | "HYPERLOGLOG";
1918
+
1793
1919
  /**
1794
1920
  * Standard-calendar granularities that an absolute (static) date filter can be configured with.
1795
1921
  * @alpha
@@ -3023,6 +3149,17 @@ export declare function getPublisherTextPlaceholdersV1(text: string): string[];
3023
3149
  */
3024
3150
  export declare function getPublisherTextPlaceholdersV2(text: string): string[];
3025
3151
 
3152
+ /**
3153
+ * The theme image an image source references, such as `{theme.assets.logos.main}`; undefined when the
3154
+ * source is not a theme image reference.
3155
+ *
3156
+ * @remarks
3157
+ * Image references resolve only as an image source or a background image, never in text.
3158
+ *
3159
+ * @alpha
3160
+ */
3161
+ export declare function getPublisherThemeImageReferenceV2(source: unknown): PublisherThemeImageReferenceV2 | undefined;
3162
+
3026
3163
  /**
3027
3164
  * The path of a theme reference such as `{theme.colors.texts.muted}`, as
3028
3165
  * `["colors", "texts", "muted"]`; undefined when the value is not one.
@@ -5383,6 +5520,214 @@ export declare interface ICspDirective {
5383
5520
  sources: string[];
5384
5521
  }
5385
5522
 
5523
+ /**
5524
+ * Result of a CSV file analysis.
5525
+ *
5526
+ * @alpha
5527
+ */
5528
+ export declare interface ICsvAnalysis {
5529
+ location: string;
5530
+ columns: ICsvAnalysisColumn[];
5531
+ /**
5532
+ * Options that the backend detected for the file. Use them to import the file.
5533
+ */
5534
+ config?: ICsvFileConfig;
5535
+ /**
5536
+ * First rows of the file.
5537
+ */
5538
+ previewData: unknown[][];
5539
+ }
5540
+
5541
+ /**
5542
+ * Column of an analyzed CSV file.
5543
+ *
5544
+ * @alpha
5545
+ */
5546
+ export declare interface ICsvAnalysisColumn {
5547
+ name: string;
5548
+ /**
5549
+ * Data type that the backend detected for the column.
5550
+ */
5551
+ type: string;
5552
+ detectedDateFormats?: string[];
5553
+ }
5554
+
5555
+ /**
5556
+ * Request to analyze a CSV file that is uploaded to the staging area.
5557
+ *
5558
+ * @alpha
5559
+ */
5560
+ export declare interface ICsvAnalysisRequest {
5561
+ /**
5562
+ * Location of the uploaded file, as returned by the upload.
5563
+ */
5564
+ location: string;
5565
+ config?: {
5566
+ delimiters?: string[];
5567
+ headerDetectMaxRows?: number;
5568
+ /**
5569
+ * Number of header rows. When not set, the backend detects the header.
5570
+ */
5571
+ headerRowCount?: number;
5572
+ /**
5573
+ * Number of rows to return in the preview data.
5574
+ */
5575
+ resultRows?: number;
5576
+ };
5577
+ }
5578
+
5579
+ /**
5580
+ * Type of a CSV column that the backend uses when it converts the CSV data.
5581
+ *
5582
+ * @alpha
5583
+ */
5584
+ export declare interface ICsvColumnType {
5585
+ name?: string;
5586
+ type?: string;
5587
+ nullable?: boolean;
5588
+ }
5589
+
5590
+ /**
5591
+ * Options that control how the backend converts values of CSV columns.
5592
+ *
5593
+ * @alpha
5594
+ */
5595
+ export declare interface ICsvConvertOptions {
5596
+ autoDictEncode?: boolean;
5597
+ autoDictMaxCardinality?: number;
5598
+ checkUtf8?: boolean;
5599
+ columnTypes?: ICsvColumnType[];
5600
+ decimalPoint?: string;
5601
+ falseValues?: string[];
5602
+ includeColumns?: string[];
5603
+ includeMissingColumns?: boolean;
5604
+ nullValues?: string[];
5605
+ quotedStringsCanBeNull?: boolean;
5606
+ stringsCanBeNull?: boolean;
5607
+ timestampParsers?: string[];
5608
+ trueValues?: string[];
5609
+ }
5610
+
5611
+ /**
5612
+ * Options that the backend uses to read, parse and convert a CSV file.
5613
+ *
5614
+ * @alpha
5615
+ */
5616
+ export declare interface ICsvFileConfig {
5617
+ convertOptions?: ICsvConvertOptions;
5618
+ parseOptions?: ICsvParseOptions;
5619
+ readOptions?: ICsvReadOptions;
5620
+ }
5621
+
5622
+ /**
5623
+ * Options that the backend used when it imported a CSV file into a data source.
5624
+ *
5625
+ * @alpha
5626
+ */
5627
+ export declare interface ICsvFileManifest {
5628
+ /**
5629
+ * Name of the file in the data source.
5630
+ */
5631
+ name: string;
5632
+ version: number;
5633
+ readMethod?: string;
5634
+ readOptions?: ICsvReadOptions;
5635
+ parseOptions?: ICsvParseOptions;
5636
+ convertOptions?: ICsvConvertOptions;
5637
+ /**
5638
+ * Date format of each date column, by column name.
5639
+ */
5640
+ columnDateFormats?: Record<string, string>;
5641
+ }
5642
+
5643
+ /**
5644
+ * Table that the backend created or updated from a CSV file.
5645
+ *
5646
+ * @alpha
5647
+ */
5648
+ export declare interface ICsvImportResult {
5649
+ name: string;
5650
+ version: number;
5651
+ }
5652
+
5653
+ /**
5654
+ * Table to create from a CSV file that is uploaded to the staging area.
5655
+ *
5656
+ * @alpha
5657
+ */
5658
+ export declare interface ICsvImportTable {
5659
+ /**
5660
+ * Name of the table in the data source.
5661
+ */
5662
+ name: string;
5663
+ source: {
5664
+ /**
5665
+ * Location of the uploaded file, as returned by the upload.
5666
+ */
5667
+ location: string;
5668
+ config: ICsvFileConfig & {
5669
+ /**
5670
+ * Date format of each date column, by column name.
5671
+ */
5672
+ columnDateFormats?: Record<string, string>;
5673
+ };
5674
+ };
5675
+ }
5676
+
5677
+ /**
5678
+ * Options that control how the backend parses a CSV file.
5679
+ *
5680
+ * @alpha
5681
+ */
5682
+ export declare interface ICsvParseOptions {
5683
+ delimiter?: string;
5684
+ doubleQuote?: boolean;
5685
+ /**
5686
+ * Escape character, or `false` when the file does not use escaping.
5687
+ */
5688
+ escapeChar?: string | false;
5689
+ ignoreEmptyLines?: boolean;
5690
+ newlinesInValues?: boolean;
5691
+ /**
5692
+ * Quote character, or `false` when the file does not use quoting.
5693
+ */
5694
+ quoteChar?: string | false;
5695
+ }
5696
+
5697
+ /**
5698
+ * Options that control how the backend reads a CSV file.
5699
+ *
5700
+ * @alpha
5701
+ */
5702
+ export declare interface ICsvReadOptions {
5703
+ autoGenerateColumnNames?: boolean;
5704
+ blockSize?: number;
5705
+ columnNames?: string[];
5706
+ encoding?: string;
5707
+ skipRows?: number;
5708
+ skipRowsAfterNames?: number;
5709
+ useThreads?: boolean;
5710
+ }
5711
+
5712
+ /**
5713
+ * Setting that an application stores in a workspace.
5714
+ *
5715
+ * @alpha
5716
+ */
5717
+ export declare interface ICustomApplicationSetting {
5718
+ id: string;
5719
+ /**
5720
+ * Name of the application that owns the setting.
5721
+ */
5722
+ applicationName: string;
5723
+ /**
5724
+ * Content of the setting. The application defines its structure.
5725
+ */
5726
+ content: {
5727
+ [key: string]: unknown;
5728
+ };
5729
+ }
5730
+
5386
5731
  /**
5387
5732
  * @beta
5388
5733
  */
@@ -6732,119 +7077,784 @@ export declare interface IDatasetUser {
6732
7077
  }
6733
7078
 
6734
7079
  /**
7080
+ * Connection details of a data source to test, before or after the data source is saved.
7081
+ *
6735
7082
  * @alpha
6736
7083
  */
6737
- export declare interface IDataSourceIdentifierDescriptor {
6738
- id: string;
6739
- name: string;
6740
- schema: string;
7084
+ export declare interface IDataSourceConnectionTest {
6741
7085
  type: DataSourceType;
7086
+ url: string;
7087
+ schema: string;
7088
+ username?: string;
7089
+ password?: string;
7090
+ token?: string;
7091
+ parameters?: IDataSourceParameter[];
7092
+ privateKey?: string;
7093
+ privateKeyPassphrase?: string;
7094
+ clientId?: string;
7095
+ clientSecret?: string;
7096
+ authenticationType?: DataSourceAuthenticationType | null;
6742
7097
  }
6743
7098
 
6744
7099
  /**
6745
- * Descriptor contains details about data source permission of organization user or user group.
7100
+ * Result of a data source connection test.
6746
7101
  *
6747
7102
  * @alpha
6748
7103
  */
6749
- export declare interface IDataSourcePermissionAssignment {
6750
- assigneeIdentifier: IOrganizationAssignee;
6751
- dataSource: IAssignedDataSource;
6752
- permissions: AssignedDataSourcePermission[];
7104
+ export declare interface IDataSourceConnectionTestResult {
7105
+ successful: boolean;
6753
7106
  /**
6754
- * How the subject gains access to the data source. Present only when effective (inherited-aware)
6755
- * permissions were requested; absent for direct-only listings.
7107
+ * Reason of the failure, when the test is not successful.
6756
7108
  */
6757
- accessSource?: DataSourceAccessSource;
7109
+ error?: string;
6758
7110
  }
6759
7111
 
6760
7112
  /**
6761
- * Date filters limit the range of results to data within relative or absolute date range.
7113
+ * Full definition of a data source used to create it or to replace it.
6762
7114
  *
6763
- * @public
7115
+ * @alpha
6764
7116
  */
6765
- export declare type IDateFilter = IRelativeDateFilter | IAbsoluteDateFilter;
7117
+ export declare interface IDataSourceDefinition {
7118
+ id: string;
7119
+ name: string;
7120
+ schema: string;
7121
+ type: DataSourceType;
7122
+ url?: string;
7123
+ username?: string;
7124
+ password?: string;
7125
+ token?: string;
7126
+ parameters?: IDataSourceParameter[];
7127
+ cacheStrategy?: DataSourceCacheStrategy;
7128
+ /**
7129
+ * Use `null` to remove the cache retention policy of the data source.
7130
+ */
7131
+ cacheRetention?: DataSourceCacheRetention | null;
7132
+ privateKey?: string;
7133
+ privateKeyPassphrase?: string;
7134
+ clientId?: string;
7135
+ clientSecret?: string;
7136
+ dateTimeSemantics?: DataSourceDateTimeSemantics | null;
7137
+ authenticationType?: DataSourceAuthenticationType | null;
7138
+ /**
7139
+ * Identifier of the data source that the backend uses instead of this one.
7140
+ */
7141
+ alternativeDataSourceId?: string | null;
7142
+ disableStatistics?: boolean | null;
7143
+ /**
7144
+ * Skip the audience check of JWT tokens in the OIDC authentication.
7145
+ */
7146
+ ignoreJwtAud?: boolean | null;
7147
+ }
7148
+
7149
+ /**
7150
+ * Data source with its connection details. Secrets, such as passwords or tokens, are never included.
7151
+ *
7152
+ * @alpha
7153
+ */
7154
+ export declare interface IDataSourceDescriptor extends IDataSourceIdentifierDescriptor {
7155
+ username?: string;
7156
+ clientId?: string;
7157
+ url?: string | null;
7158
+ permissions?: DataSourceUserPermission[];
7159
+ parameters?: IDataSourceParameter[] | null;
7160
+ decodedParameters?: IDataSourceParameter[] | null;
7161
+ cacheStrategy?: DataSourceCacheStrategy | null;
7162
+ cacheRetention?: DataSourceCacheRetention | null;
7163
+ authenticationType?: DataSourceAuthenticationType | null;
7164
+ dateTimeSemantics?: DataSourceDateTimeSemantics | null;
7165
+ /**
7166
+ * Identifier of the data source that the backend uses instead of this one.
7167
+ */
7168
+ alternativeDataSourceId?: string | null;
7169
+ disableStatistics?: boolean | null;
7170
+ /**
7171
+ * Skip the audience check of JWT tokens in the OIDC authentication.
7172
+ */
7173
+ ignoreJwtAud?: boolean | null;
7174
+ }
7175
+
7176
+ /**
7177
+ * File stored in a data source that keeps its data in files, for example a CSV data source.
7178
+ *
7179
+ * @alpha
7180
+ */
7181
+ export declare interface IDataSourceFile {
7182
+ name: string;
7183
+ /**
7184
+ * Size of the file in bytes.
7185
+ */
7186
+ size: number;
7187
+ /**
7188
+ * Date and time of the last change, as an ISO-8601 string.
7189
+ */
7190
+ modifiedAt: string;
7191
+ type: DataSourceFileType;
7192
+ }
7193
+
7194
+ /**
7195
+ * @alpha
7196
+ */
7197
+ export declare interface IDataSourceIdentifierDescriptor {
7198
+ id: string;
7199
+ name: string;
7200
+ schema: string;
7201
+ type: DataSourceType;
7202
+ }
7203
+
7204
+ /**
7205
+ * Cached results of the data source never expire on their own.
7206
+ *
7207
+ * @alpha
7208
+ */
7209
+ export declare interface IDataSourceIndefiniteCacheRetention {
7210
+ type: "INDEFINITE";
7211
+ }
7212
+
7213
+ /**
7214
+ * Additional connection parameter of a data source.
7215
+ *
7216
+ * @alpha
7217
+ */
7218
+ export declare interface IDataSourceParameter {
7219
+ name: string;
7220
+ value: string;
7221
+ }
7222
+
7223
+ /**
7224
+ * Partial update of a data source. Properties that are `undefined` keep their current value.
7225
+ * Use `null` to remove a value.
7226
+ *
7227
+ * @alpha
7228
+ */
7229
+ export declare interface IDataSourcePatch {
7230
+ id: string;
7231
+ name?: string;
7232
+ schema?: string;
7233
+ type?: DataSourceType;
7234
+ url?: string | null;
7235
+ username?: string | null;
7236
+ password?: string | null;
7237
+ token?: string | null;
7238
+ parameters?: IDataSourceParameter[] | null;
7239
+ cacheStrategy?: DataSourceCacheStrategy | null;
7240
+ cacheRetention?: DataSourceCacheRetention | null;
7241
+ privateKey?: string | null;
7242
+ privateKeyPassphrase?: string | null;
7243
+ clientId?: string | null;
7244
+ clientSecret?: string | null;
7245
+ dateTimeSemantics?: DataSourceDateTimeSemantics | null;
7246
+ authenticationType?: DataSourceAuthenticationType | null;
7247
+ /**
7248
+ * Identifier of the data source that the backend uses instead of this one.
7249
+ */
7250
+ alternativeDataSourceId?: string | null;
7251
+ disableStatistics?: boolean | null;
7252
+ /**
7253
+ * Skip the audience check of JWT tokens in the OIDC authentication.
7254
+ */
7255
+ ignoreJwtAud?: boolean | null;
7256
+ }
7257
+
7258
+ /**
7259
+ * Descriptor contains details about data source permission of organization user or user group.
7260
+ *
7261
+ * @alpha
7262
+ */
7263
+ export declare interface IDataSourcePermissionAssignment {
7264
+ assigneeIdentifier: IOrganizationAssignee;
7265
+ dataSource: IAssignedDataSource;
7266
+ permissions: AssignedDataSourcePermission[];
7267
+ /**
7268
+ * How the subject gains access to the data source. Present only when effective (inherited-aware)
7269
+ * permissions were requested; absent for direct-only listings.
7270
+ */
7271
+ accessSource?: DataSourceAccessSource;
7272
+ }
7273
+
7274
+ /**
7275
+ * Problem with a column that the scan found.
7276
+ *
7277
+ * @alpha
7278
+ */
7279
+ export declare interface IDataSourceScanColumnWarning {
7280
+ message: string;
7281
+ name: string;
7282
+ }
7283
+
7284
+ /**
7285
+ * Options of a data source scan.
7286
+ *
7287
+ * @alpha
7288
+ */
7289
+ export declare interface IDataSourceScanRequest {
7290
+ scanTables: boolean;
7291
+ scanViews: boolean;
7292
+ /**
7293
+ * Schemata to scan. When not set, the backend scans the schema of the data source.
7294
+ */
7295
+ schemata?: string[];
7296
+ /**
7297
+ * Separator of the parts of table and column names that the backend uses to detect LDM objects.
7298
+ */
7299
+ separator: string;
7300
+ tablePrefix?: string;
7301
+ viewPrefix?: string;
7302
+ }
7303
+
7304
+ /**
7305
+ * Result of a data source scan.
7306
+ *
7307
+ * @alpha
7308
+ */
7309
+ export declare interface IDataSourceScanResult {
7310
+ pdm: IPhysicalDataModel;
7311
+ warnings: IDataSourceScanTableWarning[];
7312
+ }
7313
+
7314
+ /**
7315
+ * Problem with a table that the scan found.
7316
+ *
7317
+ * @alpha
7318
+ */
7319
+ export declare interface IDataSourceScanTableWarning {
7320
+ columns: IDataSourceScanColumnWarning[];
7321
+ message?: string;
7322
+ name: string;
7323
+ }
7324
+
7325
+ /**
7326
+ * Cached results of the data source expire according to a cron schedule.
7327
+ *
7328
+ * @alpha
7329
+ */
7330
+ export declare interface IDataSourceScheduleCacheRetention {
7331
+ type: "SCHEDULE";
7332
+ schedule: {
7333
+ cron: string;
7334
+ timezone?: string | null;
7335
+ };
7336
+ }
7337
+
7338
+ /**
7339
+ * Cached results of the data source expire when the validity period elapses.
7340
+ *
7341
+ * @alpha
7342
+ */
7343
+ export declare interface IDataSourceValidityPeriodCacheRetention {
7344
+ type: "VALIDITY_PERIOD";
7345
+ /**
7346
+ * ISO-8601 duration, for example `PT1H`.
7347
+ */
7348
+ validityPeriod: string;
7349
+ }
7350
+
7351
+ /**
7352
+ * Date filters limit the range of results to data within relative or absolute date range.
7353
+ *
7354
+ * @public
7355
+ */
7356
+ export declare type IDateFilter = IRelativeDateFilter | IAbsoluteDateFilter;
7357
+
7358
+ /**
7359
+ * Date filter configs allow to define your own date filter options, that appear in the date filter.
7360
+ *
7361
+ * @alpha
7362
+ */
7363
+ export declare interface IDateFilterConfig {
7364
+ /**
7365
+ * Extended date filter config reference
7366
+ */
7367
+ ref: ObjRef;
7368
+ /**
7369
+ * Local identifier of the default selected date filter preset
7370
+ */
7371
+ selectedOption: Identifier;
7372
+ /**
7373
+ * Options to customize displaying of the global all time date filter
7374
+ */
7375
+ allTime?: IAllTimeDateFilterOption;
7376
+ /**
7377
+ * Options to customize displaying of the empty values date filter preset
7378
+ */
7379
+ emptyValues?: IEmptyValuesDateFilterOption;
7380
+ /**
7381
+ * Options to customize displaying of the global absolute date filter
7382
+ */
7383
+ absoluteForm?: IAbsoluteDateFilterForm;
7384
+ /**
7385
+ * Options to customize displaying of the global relative date filter
7386
+ */
7387
+ relativeForm?: IRelativeDateFilterForm;
7388
+ /**
7389
+ * Custom absolute date filter presets (options to display in the extended date filter dropdown)
7390
+ */
7391
+ absolutePresets?: IAbsoluteDateFilterPreset[];
7392
+ /**
7393
+ * Custom relative date filter presets (options to display in the extended date filter dropdown)
7394
+ */
7395
+ relativePresets?: IRelativeDateFilterPreset[];
7396
+ }
7397
+
7398
+ /**
7399
+ * Common props for date filter options
7400
+ * @alpha
7401
+ */
7402
+ export declare interface IDateFilterOption {
7403
+ /**
7404
+ * Local identifier of the option
7405
+ */
7406
+ localIdentifier: Identifier;
7407
+ /**
7408
+ * Customized name of the option to display in the dropdown
7409
+ */
7410
+ name?: string;
7411
+ /**
7412
+ * Option type
7413
+ */
7414
+ type: DateFilterOptionType;
7415
+ /**
7416
+ * Sets whether this option will be visible in the dropdown
7417
+ */
7418
+ visible: boolean;
7419
+ }
7420
+
7421
+ /**
7422
+ *
7423
+ * @alpha
7424
+ */
7425
+ export declare interface IDateHierarchyReference {
7426
+ type: "dateHierarchyReference";
7427
+ dateHierarchyTemplate: ObjRef;
7428
+ dateDatasetAttribute: ObjRef;
7429
+ }
7430
+
7431
+ /**
7432
+ * Hierarchy template for date dataset
7433
+ *
7434
+ * @alpha
7435
+ */
7436
+ export declare interface IDateHierarchyTemplate extends IMetadataObjectIdentity, IMetadataObjectBase {
7437
+ type: "dateHierarchyTemplate";
7438
+ granularities: DateAttributeGranularity[];
7439
+ }
7440
+
7441
+ /**
7442
+ * Fact that aggregates a fact or an attribute of another dataset.
7443
+ *
7444
+ * @alpha
7445
+ */
7446
+ export declare interface IDeclarativeAggregatedFact {
7447
+ description?: string;
7448
+ id: string;
7449
+ isNullable?: boolean;
7450
+ nullValue?: string;
7451
+ sourceColumn?: string;
7452
+ sourceColumnDataType?: DeclarativeColumnDataType;
7453
+ sourceFactReference: IDeclarativeSourceFactReference;
7454
+ tags?: string[];
7455
+ }
7456
+
7457
+ /**
7458
+ * Attribute of a dataset.
7459
+ *
7460
+ * @alpha
7461
+ */
7462
+ export declare interface IDeclarativeAttribute {
7463
+ conditionalFormatting?: IDeclarativeConditionalFormatting | null;
7464
+ defaultView?: IDeclarativeLabelIdentifier;
7465
+ description?: string;
7466
+ id: string;
7467
+ isHidden?: boolean;
7468
+ isNullable?: boolean;
7469
+ labels: IDeclarativeLabel[];
7470
+ locale?: string;
7471
+ nullValue?: string;
7472
+ sortColumn?: string;
7473
+ sortDirection?: DeclarativeAttributeSortDirection;
7474
+ sourceColumn?: string;
7475
+ sourceColumnDataType?: DeclarativeColumnDataType;
7476
+ tags?: string[];
7477
+ title: string;
7478
+ }
7479
+
7480
+ /**
7481
+ * Calendar of the logical data model.
7482
+ *
7483
+ * @alpha
7484
+ */
7485
+ export declare interface IDeclarativeCalendar {
7486
+ definition: DeclarativeCalendarDefinition;
7487
+ description?: string;
7488
+ enabledGranularities: IDeclarativeCalendarGranularity[];
7489
+ name: string;
7490
+ }
7491
+
7492
+ /**
7493
+ * Granularity that a calendar enables.
7494
+ *
7495
+ * @alpha
7496
+ */
7497
+ export declare interface IDeclarativeCalendarGranularity {
7498
+ granularity: DeclarativeDateGranularity;
7499
+ prefix: string;
7500
+ }
7501
+
7502
+ /**
7503
+ * Data source table that a custom calendar reads.
7504
+ *
7505
+ * @alpha
7506
+ */
7507
+ export declare interface IDeclarativeCalendarTableReference {
7508
+ path: string[];
7509
+ version: string;
7510
+ }
7511
+
7512
+ /**
7513
+ * Conditional formatting of an attribute, a label or a date dataset.
7514
+ *
7515
+ * @alpha
7516
+ */
7517
+ export declare interface IDeclarativeConditionalFormatting {
7518
+ conditions: IDeclarativeConditionalFormattingCondition[];
7519
+ enabled: boolean;
7520
+ }
7521
+
7522
+ /**
7523
+ * Condition of a conditional formatting in the declarative model.
7524
+ *
7525
+ * @alpha
7526
+ */
7527
+ export declare interface IDeclarativeConditionalFormattingCondition {
7528
+ format: IConditionalFormattingFormat;
7529
+ id?: string;
7530
+ operator: ConditionalFormattingOperator;
7531
+ value: DeclarativeConditionalFormattingValue;
7532
+ }
7533
+
7534
+ /**
7535
+ * Calendar that reads its periods from data source tables.
7536
+ *
7537
+ * @alpha
7538
+ */
7539
+ export declare interface IDeclarativeCustomCalendarDefinition {
7540
+ type: "custom";
7541
+ dataSourceTables: {
7542
+ [id: string]: IDeclarativeCalendarTableReference;
7543
+ };
7544
+ }
7545
+
7546
+ /**
7547
+ * Dataset of the logical data model.
7548
+ *
7549
+ * @alpha
7550
+ */
7551
+ export declare interface IDeclarativeDataset {
7552
+ aggregatedFacts?: IDeclarativeAggregatedFact[];
7553
+ attributes?: IDeclarativeAttribute[];
7554
+ /**
7555
+ * Data source table that the dataset maps to. A dataset maps to a table or to an SQL statement.
7556
+ */
7557
+ dataSourceTableId?: IDeclarativeDataSourceTableIdentifier;
7558
+ description?: string;
7559
+ facts?: IDeclarativeFact[];
7560
+ grain: IDeclarativeGrainIdentifier[];
7561
+ id: string;
7562
+ precedence?: number;
7563
+ references: IDeclarativeReference[];
7564
+ /**
7565
+ * SQL statement that the dataset maps to. A dataset maps to a table or to an SQL statement.
7566
+ */
7567
+ sql?: IDeclarativeDatasetSql;
7568
+ tags?: string[];
7569
+ title: string;
7570
+ type?: DeclarativeDatasetType;
7571
+ workspaceDataFilterColumns?: IDeclarativeWorkspaceDataFilterColumn[];
7572
+ workspaceDataFilterReferences?: IDeclarativeWorkspaceDataFilterReference[];
7573
+ }
7574
+
7575
+ /**
7576
+ * Extension of a dataset inherited from a parent workspace.
7577
+ *
7578
+ * @alpha
7579
+ */
7580
+ export declare interface IDeclarativeDatasetExtension {
7581
+ id: string;
7582
+ workspaceDataFilterReferences?: IDeclarativeWorkspaceDataFilterReference[];
7583
+ }
7584
+
7585
+ /**
7586
+ * Identifier of a dataset or a date dataset.
7587
+ *
7588
+ * @alpha
7589
+ */
7590
+ export declare interface IDeclarativeDatasetIdentifier {
7591
+ id: string;
7592
+ type: "dataset";
7593
+ }
7594
+
7595
+ /**
7596
+ * SQL statement that a dataset maps to.
7597
+ *
7598
+ * @alpha
7599
+ */
7600
+ export declare interface IDeclarativeDatasetSql {
7601
+ dataSourceId: string;
7602
+ statement: string;
7603
+ }
7604
+
7605
+ /**
7606
+ * Identifier of a data source table.
7607
+ *
7608
+ * @alpha
7609
+ */
7610
+ export declare interface IDeclarativeDataSourceTableIdentifier {
7611
+ dataSourceId: string;
7612
+ id: string;
7613
+ path?: string[] | null;
7614
+ type: "dataSource";
7615
+ }
7616
+
7617
+ /**
7618
+ * Date dataset of the logical data model.
7619
+ *
7620
+ * @alpha
7621
+ */
7622
+ export declare interface IDeclarativeDateDataset {
7623
+ conditionalFormatting?: IDeclarativeConditionalFormatting | null;
7624
+ description?: string;
7625
+ granularities: DeclarativeDateGranularity[];
7626
+ granularitiesFormatting: IDeclarativeGranularitiesFormatting;
7627
+ id: string;
7628
+ tags?: string[];
7629
+ title: string;
7630
+ }
7631
+
7632
+ /**
7633
+ * Fact of a dataset.
7634
+ *
7635
+ * @alpha
7636
+ */
7637
+ export declare interface IDeclarativeFact {
7638
+ description?: string;
7639
+ id: string;
7640
+ isHidden?: boolean;
7641
+ isNullable?: boolean;
7642
+ nullValue?: string;
7643
+ sourceColumn?: string;
7644
+ sourceColumnDataType?: DeclarativeColumnDataType;
7645
+ tags?: string[];
7646
+ title: string;
7647
+ }
7648
+
7649
+ /**
7650
+ * Calendar with a fiscal year that starts with an offset from the calendar year.
7651
+ *
7652
+ * @alpha
7653
+ */
7654
+ export declare interface IDeclarativeFiscalYearCalendarDefinition {
7655
+ type: "fiscalYear";
7656
+ monthOffset: number;
7657
+ }
7658
+
7659
+ /**
7660
+ * Geo area configuration of a label.
7661
+ *
7662
+ * @alpha
7663
+ */
7664
+ export declare interface IDeclarativeGeoAreaConfig {
7665
+ collection: IDeclarativeGeoCollectionIdentifier;
7666
+ }
7667
+
7668
+ /**
7669
+ * Identifier of a geo collection.
7670
+ *
7671
+ * @alpha
7672
+ */
7673
+ export declare interface IDeclarativeGeoCollectionIdentifier {
7674
+ id: string;
7675
+ kind?: "STATIC" | "CUSTOM";
7676
+ }
7677
+
7678
+ /**
7679
+ * Identifier of an attribute or a date dataset.
7680
+ *
7681
+ * @alpha
7682
+ */
7683
+ export declare interface IDeclarativeGrainIdentifier {
7684
+ id: string;
7685
+ type: DeclarativeGrainType;
7686
+ }
7687
+
7688
+ /**
7689
+ * Title formatting of the attributes of a date dataset.
7690
+ *
7691
+ * @alpha
7692
+ */
7693
+ export declare interface IDeclarativeGranularitiesFormatting {
7694
+ titleBase: string;
7695
+ titlePattern: string;
7696
+ }
7697
+
7698
+ /**
7699
+ * Label of an attribute.
7700
+ *
7701
+ * @alpha
7702
+ */
7703
+ export declare interface IDeclarativeLabel {
7704
+ conditionalFormatting?: IDeclarativeConditionalFormatting | null;
7705
+ description?: string;
7706
+ geoAreaConfig?: IDeclarativeGeoAreaConfig;
7707
+ id: string;
7708
+ isHidden?: boolean;
7709
+ isNullable?: boolean;
7710
+ locale?: string;
7711
+ nullValue?: string;
7712
+ sourceColumn?: string;
7713
+ sourceColumnDataType?: DeclarativeColumnDataType;
7714
+ tags?: string[];
7715
+ title: string;
7716
+ translations?: IDeclarativeLabelTranslation[];
7717
+ valueType?: DeclarativeLabelValueType;
7718
+ }
7719
+
7720
+ /**
7721
+ * Identifier of a label.
7722
+ *
7723
+ * @alpha
7724
+ */
7725
+ export declare interface IDeclarativeLabelIdentifier {
7726
+ id: string;
7727
+ type: "label";
7728
+ }
7729
+
7730
+ /**
7731
+ * Source column of a label value in one locale.
7732
+ *
7733
+ * @alpha
7734
+ */
7735
+ export declare interface IDeclarativeLabelTranslation {
7736
+ locale: string;
7737
+ sourceColumn: string;
7738
+ }
7739
+
7740
+ /**
7741
+ * Logical data model of a workspace in the declarative form.
7742
+ *
7743
+ * @remarks
7744
+ * The model has the same form as the declarative logical model document of the backend, so it can be
7745
+ * exported to JSON and imported back without changes.
7746
+ *
7747
+ * @alpha
7748
+ */
7749
+ export declare interface IDeclarativeLogicalModel {
7750
+ /**
7751
+ * Calendars by their identifier.
7752
+ */
7753
+ calendars?: {
7754
+ [id: string]: IDeclarativeCalendar;
7755
+ };
7756
+ /**
7757
+ * Extensions of datasets that the workspace inherits from its parents.
7758
+ */
7759
+ datasetExtensions?: IDeclarativeDatasetExtension[];
7760
+ datasets?: IDeclarativeDataset[];
7761
+ /**
7762
+ * Date datasets.
7763
+ */
7764
+ dateInstances?: IDeclarativeDateDataset[];
7765
+ }
7766
+
7767
+ /**
7768
+ * Reference from a dataset to another dataset or a date dataset.
7769
+ *
7770
+ * @alpha
7771
+ */
7772
+ export declare interface IDeclarativeReference {
7773
+ identifier: IDeclarativeDatasetIdentifier;
7774
+ multivalue: boolean;
7775
+ sourceColumnDataTypes?: DeclarativeColumnDataType[];
7776
+ sourceColumns?: string[];
7777
+ sources?: IDeclarativeReferenceSource[];
7778
+ }
7779
+
7780
+ /**
7781
+ * Source column of a reference and the grain object of the referenced dataset that it maps to.
7782
+ *
7783
+ * @alpha
7784
+ */
7785
+ export declare interface IDeclarativeReferenceSource {
7786
+ column?: string;
7787
+ dataType?: DeclarativeColumnDataType;
7788
+ isNullable?: boolean;
7789
+ nullValue?: string;
7790
+ target: IDeclarativeGrainIdentifier;
7791
+ }
7792
+
7793
+ /**
7794
+ * Source of an aggregated fact.
7795
+ *
7796
+ * @alpha
7797
+ */
7798
+ export declare interface IDeclarativeSourceFactReference {
7799
+ operation: DeclarativeAggregationOperation;
7800
+ reference: IDeclarativeSourceReferenceIdentifier;
7801
+ }
7802
+
7803
+ /**
7804
+ * Identifier of the fact or attribute that an aggregated fact aggregates.
7805
+ *
7806
+ * @alpha
7807
+ */
7808
+ export declare interface IDeclarativeSourceReferenceIdentifier {
7809
+ id: string;
7810
+ type: "fact" | "attribute";
7811
+ }
6766
7812
 
6767
7813
  /**
6768
- * Date filter configs allow to define your own date filter options, that appear in the date filter.
7814
+ * Column of a dataset that workspace data filters use.
6769
7815
  *
6770
7816
  * @alpha
6771
7817
  */
6772
- export declare interface IDateFilterConfig {
6773
- /**
6774
- * Extended date filter config reference
6775
- */
6776
- ref: ObjRef;
6777
- /**
6778
- * Local identifier of the default selected date filter preset
6779
- */
6780
- selectedOption: Identifier;
6781
- /**
6782
- * Options to customize displaying of the global all time date filter
6783
- */
6784
- allTime?: IAllTimeDateFilterOption;
6785
- /**
6786
- * Options to customize displaying of the empty values date filter preset
6787
- */
6788
- emptyValues?: IEmptyValuesDateFilterOption;
6789
- /**
6790
- * Options to customize displaying of the global absolute date filter
6791
- */
6792
- absoluteForm?: IAbsoluteDateFilterForm;
6793
- /**
6794
- * Options to customize displaying of the global relative date filter
6795
- */
6796
- relativeForm?: IRelativeDateFilterForm;
6797
- /**
6798
- * Custom absolute date filter presets (options to display in the extended date filter dropdown)
6799
- */
6800
- absolutePresets?: IAbsoluteDateFilterPreset[];
6801
- /**
6802
- * Custom relative date filter presets (options to display in the extended date filter dropdown)
6803
- */
6804
- relativePresets?: IRelativeDateFilterPreset[];
7818
+ export declare interface IDeclarativeWorkspaceDataFilterColumn {
7819
+ dataType: DeclarativeColumnDataType;
7820
+ name: string;
6805
7821
  }
6806
7822
 
6807
7823
  /**
6808
- * Common props for date filter options
7824
+ * Identifier of a workspace data filter.
7825
+ *
6809
7826
  * @alpha
6810
7827
  */
6811
- export declare interface IDateFilterOption {
6812
- /**
6813
- * Local identifier of the option
6814
- */
6815
- localIdentifier: Identifier;
6816
- /**
6817
- * Customized name of the option to display in the dropdown
6818
- */
6819
- name?: string;
6820
- /**
6821
- * Option type
6822
- */
6823
- type: DateFilterOptionType;
6824
- /**
6825
- * Sets whether this option will be visible in the dropdown
6826
- */
6827
- visible: boolean;
7828
+ export declare interface IDeclarativeWorkspaceDataFilterIdentifier {
7829
+ id: string;
7830
+ type: "workspaceDataFilter";
6828
7831
  }
6829
7832
 
6830
7833
  /**
7834
+ * Reference from a dataset column to a workspace data filter.
6831
7835
  *
6832
7836
  * @alpha
6833
7837
  */
6834
- export declare interface IDateHierarchyReference {
6835
- type: "dateHierarchyReference";
6836
- dateHierarchyTemplate: ObjRef;
6837
- dateDatasetAttribute: ObjRef;
7838
+ export declare interface IDeclarativeWorkspaceDataFilterReference {
7839
+ filterColumn: string;
7840
+ filterColumnDataType: DeclarativeColumnDataType;
7841
+ filterId: IDeclarativeWorkspaceDataFilterIdentifier;
6838
7842
  }
6839
7843
 
6840
7844
  /**
6841
- * Hierarchy template for date dataset
7845
+ * Logical data model and analytical objects of a workspace.
6842
7846
  *
6843
7847
  * @alpha
6844
7848
  */
6845
- export declare interface IDateHierarchyTemplate extends IMetadataObjectIdentity, IMetadataObjectBase {
6846
- type: "dateHierarchyTemplate";
6847
- granularities: DateAttributeGranularity[];
7849
+ export declare interface IDeclarativeWorkspaceLayout {
7850
+ ldm: IDeclarativeLogicalModel;
7851
+ /**
7852
+ * Analytical objects in the declarative analytics document of the backend.
7853
+ *
7854
+ * @remarks
7855
+ * The model does not describe this document. Use a document that the backend exported.
7856
+ */
7857
+ analytics: object;
6848
7858
  }
6849
7859
 
6850
7860
  /**
@@ -8512,6 +9522,13 @@ export declare interface IFeatureFlags {
8512
9522
  * Enable Publisher v2.
8513
9523
  */
8514
9524
  enablePublisherV2?: boolean;
9525
+ /**
9526
+ * Enable AI takeaways in the Business Briefing reports application: generating them and their instructions.
9527
+ *
9528
+ * @remarks
9529
+ * Disabled by default.
9530
+ */
9531
+ enableGenAiReportTakeaways?: boolean;
8515
9532
  /**
8516
9533
  * Enable the write and export postMessage commands for embedded dashboards and Analytical Designer.
8517
9534
  *
@@ -9386,6 +10403,98 @@ export declare interface IGenAIWidgetDescriptor {
9386
10403
  content?: string;
9387
10404
  }
9388
10405
 
10406
+ /**
10407
+ * Change of the LDM object type that the generation detects for a column.
10408
+ *
10409
+ * @alpha
10410
+ */
10411
+ export declare interface IGenerateLogicalModelColumnOverride {
10412
+ labelTargetColumn?: string;
10413
+ labelType?: DeclarativeLabelValueType;
10414
+ ldmTypeOverride?: "FACT" | "LABEL";
10415
+ name: string;
10416
+ }
10417
+
10418
+ /**
10419
+ * Physical data model that the logical data model generation uses.
10420
+ *
10421
+ * @alpha
10422
+ */
10423
+ export declare interface IGenerateLogicalModelPdm {
10424
+ sqls?: IGenerateLogicalModelSql[];
10425
+ tableOverrides?: IGenerateLogicalModelTableOverride[];
10426
+ tables?: IPhysicalTable[];
10427
+ }
10428
+
10429
+ /**
10430
+ * Options of the logical data model generation from a data source.
10431
+ *
10432
+ * @remarks
10433
+ * The prefixes and the separator tell the backend how to detect LDM objects from table and column names.
10434
+ *
10435
+ * @alpha
10436
+ */
10437
+ export declare interface IGenerateLogicalModelRequest {
10438
+ aggregatedFactPrefix?: string;
10439
+ dateGranularities?: string;
10440
+ dateReferencePrefix?: string;
10441
+ denormPrefix?: string;
10442
+ factPrefix?: string;
10443
+ generateLongIds?: boolean;
10444
+ grainMultivalueReferencePrefix?: string;
10445
+ grainPrefix?: string;
10446
+ grainReferencePrefix?: string;
10447
+ multivalueReferencePrefix?: string;
10448
+ /**
10449
+ * Physical data model to generate the logical data model from. When not set, the backend scans the data source.
10450
+ */
10451
+ pdm?: IGenerateLogicalModelPdm;
10452
+ primaryLabelPrefix?: string;
10453
+ referencePrefix?: string;
10454
+ secondaryLabelPrefix?: string;
10455
+ separator?: string;
10456
+ tablePrefix?: string;
10457
+ translationPrefix?: string;
10458
+ viewPrefix?: string;
10459
+ wdfPrefix?: string;
10460
+ /**
10461
+ * Workspace whose logical data model the backend uses to keep the existing identifiers.
10462
+ */
10463
+ workspaceId?: string;
10464
+ }
10465
+
10466
+ /**
10467
+ * SQL statement that the logical data model generation makes a dataset from.
10468
+ *
10469
+ * @alpha
10470
+ */
10471
+ export declare interface IGenerateLogicalModelSql {
10472
+ columns?: IGenerateLogicalModelSqlColumn[];
10473
+ statement: string;
10474
+ title: string;
10475
+ }
10476
+
10477
+ /**
10478
+ * Column of an SQL statement that the logical data model generation uses.
10479
+ *
10480
+ * @alpha
10481
+ */
10482
+ export declare interface IGenerateLogicalModelSqlColumn {
10483
+ dataType: DeclarativeColumnDataType;
10484
+ name: string;
10485
+ nullValue?: string;
10486
+ }
10487
+
10488
+ /**
10489
+ * Change of the LDM object types that the generation detects for the columns of a table.
10490
+ *
10491
+ * @alpha
10492
+ */
10493
+ export declare interface IGenerateLogicalModelTableOverride {
10494
+ columns: IGenerateLogicalModelColumnOverride[];
10495
+ path: string[];
10496
+ }
10497
+
9389
10498
  /**
9390
10499
  * Represents a custom geo collection stored at the organization level.
9391
10500
  *
@@ -12187,6 +13296,12 @@ export declare interface IPermanentSettings {
12187
13296
  * @alpha
12188
13297
  */
12189
13298
  defaultVisualizationVisibility?: ObjectVisibility;
13299
+ /**
13300
+ * When true, granting ANALYZE on the workspace also grants the MANAGE_VISUALIZATIONS workspace
13301
+ * permission, and revoking ANALYZE revokes it. Changing the setting leaves stored grants as they are.
13302
+ * @alpha
13303
+ */
13304
+ grantManageVisualizationsWithAnalyze?: boolean;
12190
13305
  /**
12191
13306
  * Headline component will not be underlined when it is set up with drilling.
12192
13307
  */
@@ -12211,6 +13326,55 @@ export declare interface IPermanentSettings {
12211
13326
  restrictBaseUi?: boolean;
12212
13327
  }
12213
13328
 
13329
+ /**
13330
+ * Column of a data source table.
13331
+ *
13332
+ * @alpha
13333
+ */
13334
+ export declare interface IPhysicalColumn {
13335
+ dataType: DeclarativeColumnDataType;
13336
+ /**
13337
+ * Name of the column whose values this column labels.
13338
+ * Logical model generation makes this column the default label of the attribute on that column.
13339
+ */
13340
+ defaultLabelOf?: string;
13341
+ description?: string;
13342
+ isNullable?: boolean;
13343
+ isPrimaryKey?: boolean;
13344
+ name: string;
13345
+ nullValue?: string;
13346
+ referencedTableColumn?: string;
13347
+ referencedTableId?: string;
13348
+ }
13349
+
13350
+ /**
13351
+ * Physical data model of a data source: its tables and their columns.
13352
+ *
13353
+ * @alpha
13354
+ */
13355
+ export declare interface IPhysicalDataModel {
13356
+ tables: IPhysicalTable[];
13357
+ }
13358
+
13359
+ /**
13360
+ * Table or view of a data source.
13361
+ *
13362
+ * @alpha
13363
+ */
13364
+ export declare interface IPhysicalTable {
13365
+ columns: IPhysicalColumn[];
13366
+ id: string;
13367
+ namePrefix?: string;
13368
+ /**
13369
+ * Path to the table, for example the schema and the table name.
13370
+ */
13371
+ path: string[];
13372
+ /**
13373
+ * Type of the table, for example TABLE or VIEW.
13374
+ */
13375
+ type: string;
13376
+ }
13377
+
12214
13378
  /**
12215
13379
  * Current usage of a platform resource that the organization license can limit.
12216
13380
  *
@@ -14936,6 +16100,88 @@ export declare const isAvailableUserAccessGrantee: (obj: unknown) => obj is IAva
14936
16100
  */
14937
16101
  export declare const isAvailableUserGroupAccessGrantee: (obj: unknown) => obj is IAvailableUserGroupAccessGrantee;
14938
16102
 
16103
+ /**
16104
+ * Result of the analysis of an SPSS (.sav) file.
16105
+ *
16106
+ * @alpha
16107
+ */
16108
+ export declare interface ISavAnalysis {
16109
+ location: string;
16110
+ columns: ISavAnalysisColumn[];
16111
+ previewData: unknown[][];
16112
+ }
16113
+
16114
+ /**
16115
+ * Column of an analyzed SPSS (.sav) file.
16116
+ *
16117
+ * @alpha
16118
+ */
16119
+ export declare interface ISavAnalysisColumn {
16120
+ name: string;
16121
+ /**
16122
+ * Arrow type name of the column, for example "float64" or "date32[day]".
16123
+ */
16124
+ type: string;
16125
+ label?: string;
16126
+ valueLabels?: ISavValueLabel[];
16127
+ }
16128
+
16129
+ /**
16130
+ * SPSS (.sav) file in the staging area to analyze.
16131
+ *
16132
+ * @alpha
16133
+ */
16134
+ export declare interface ISavAnalysisRequest {
16135
+ /**
16136
+ * Location of the uploaded file, as returned by the upload.
16137
+ */
16138
+ location: string;
16139
+ config?: {
16140
+ /**
16141
+ * Number of rows in the preview data.
16142
+ */
16143
+ resultRows?: number;
16144
+ };
16145
+ }
16146
+
16147
+ /**
16148
+ * Table that the backend created or updated from an SPSS (.sav) file.
16149
+ *
16150
+ * @alpha
16151
+ */
16152
+ export declare interface ISavImportResult {
16153
+ name: string;
16154
+ version: number;
16155
+ }
16156
+
16157
+ /**
16158
+ * Table to create or update from an SPSS (.sav) file.
16159
+ *
16160
+ * @alpha
16161
+ */
16162
+ export declare interface ISavImportTable {
16163
+ /**
16164
+ * Name of the table in the data source.
16165
+ */
16166
+ name: string;
16167
+ source: {
16168
+ /**
16169
+ * Location of the uploaded file, as returned by the upload.
16170
+ */
16171
+ location: string;
16172
+ };
16173
+ }
16174
+
16175
+ /**
16176
+ * Label of one value of an SPSS column.
16177
+ *
16178
+ * @alpha
16179
+ */
16180
+ export declare interface ISavValueLabel {
16181
+ value: unknown;
16182
+ label: string;
16183
+ }
16184
+
14939
16185
  /**
14940
16186
  * Tests whether the provided timezone value is the {@link BROWSER_DETECTED} sentinel.
14941
16187
  *
@@ -16794,6 +18040,31 @@ export declare function isPublisherVisualizationWidgetV2(obj: unknown): obj is I
16794
18040
  */
16795
18041
  export declare function isPublisherWidgetV2(obj: unknown): obj is PublisherWidgetV2;
16796
18042
 
18043
+ /**
18044
+ * Column of the result of an SQL statement.
18045
+ *
18046
+ * @alpha
18047
+ */
18048
+ export declare interface ISqlScanColumn {
18049
+ dataType: DeclarativeColumnDataType;
18050
+ description?: string;
18051
+ name: string;
18052
+ nullValue?: string;
18053
+ }
18054
+
18055
+ /**
18056
+ * Result of an SQL statement scan.
18057
+ *
18058
+ * @alpha
18059
+ */
18060
+ export declare interface ISqlScanResult {
18061
+ columns: ISqlScanColumn[];
18062
+ /**
18063
+ * First rows of the result of the statement.
18064
+ */
18065
+ dataPreview?: (string | null)[][];
18066
+ }
18067
+
16797
18068
  /**
16798
18069
  * Type guard checking whether the provided object is a measure value filter's range condition.
16799
18070
  *
@@ -19654,6 +20925,7 @@ export declare interface IWorkspaceDataFilter {
19654
20925
  id: string;
19655
20926
  ref: ObjRef;
19656
20927
  title?: string;
20928
+ description?: string;
19657
20929
  columnName?: string;
19658
20930
  settings: IWorkspaceDataFilterSetting[];
19659
20931
  isInherited: boolean;
@@ -19667,6 +20939,7 @@ export declare interface IWorkspaceDataFilter {
19667
20939
  export declare interface IWorkspaceDataFilterDefinition {
19668
20940
  id?: string;
19669
20941
  title: string;
20942
+ description?: string;
19670
20943
  columnName: string;
19671
20944
  }
19672
20945
 
@@ -19682,10 +20955,27 @@ export declare interface IWorkspaceDataFilterSetting {
19682
20955
  id: string;
19683
20956
  ref: ObjRef;
19684
20957
  title?: string;
20958
+ description?: string;
19685
20959
  filterValues: string[];
19686
20960
  isInherited: boolean;
19687
20961
  }
19688
20962
 
20963
+ /**
20964
+ * Entity that contains data necessary to create a new Workspace Data Filter setting
20965
+ *
20966
+ * @alpha
20967
+ */
20968
+ export declare interface IWorkspaceDataFilterSettingDefinition {
20969
+ /**
20970
+ * Identifier of the new setting. A random identifier is used when it is not set.
20971
+ */
20972
+ id?: string;
20973
+ dataFilter: ObjRef;
20974
+ title?: string;
20975
+ description?: string;
20976
+ filterValues: string[];
20977
+ }
20978
+
19689
20979
  /**
19690
20980
  * Descriptor contains details about workspace permission of organization user or user group.
19691
20981
  *
@@ -22155,6 +23445,27 @@ export declare const PublisherTextVariablesV2: readonly PublisherTextVariableV2[
22155
23445
  */
22156
23446
  export declare type PublisherTextVariableV2 = "documentName" | "documentDescription" | "documentDateRange" | "documentAttributeFilters" | "periodStart" | "periodEnd" | "lastModifiedAt" | "lastModifiedBy" | "exportedAt" | "exportedBy" | "workspaceName" | "workspaceId" | "currentPageNumber" | "totalPages";
22157
23447
 
23448
+ /**
23449
+ * A theme image that an image source names in place of a url.
23450
+ *
23451
+ * @remarks
23452
+ * `{theme.logo}` is the logo asset with the id `logo`, else the first logo asset, then the theme's
23453
+ * `images.logo`, then the organization's white-labeling logo. `{theme.coverImage}` is the theme's
23454
+ * `images.coverImage`. `{theme.assets.logos.<id>}` and `{theme.assets.images.<id>}` are the asset with
23455
+ * that id in that list.
23456
+ *
23457
+ * @alpha
23458
+ */
23459
+ export declare type PublisherThemeImageReferenceV2 = {
23460
+ type: "logo";
23461
+ } | {
23462
+ type: "coverImage";
23463
+ } | {
23464
+ type: "asset";
23465
+ list: "logos" | "images";
23466
+ id: string;
23467
+ };
23468
+
22158
23469
  /**
22159
23470
  * The theme reference to the path, such as `{theme.assets.images.cover}`.
22160
23471
  *
@@ -22258,6 +23569,14 @@ export declare type RequiredSettings = Condition<Partial<IPermanentSettings | IF
22258
23569
  */
22259
23570
  export declare type RequiredWorkspacePermissions = Condition<Partial<IPluggableApplicationWorkspacePermissions>>;
22260
23571
 
23572
+ /**
23573
+ * An https image url with its text variables replaced, each value percent-encoded so that it stays one
23574
+ * part of the url. A marker without a value stays as typed. Undefined when the result is not an https url.
23575
+ *
23576
+ * @alpha
23577
+ */
23578
+ export declare function resolvePublisherImageUrlV2(url: string, values: Partial<Record<PublisherTextVariableV2, string>>): string | undefined;
23579
+
22261
23580
  /**
22262
23581
  * Current version of {@link resolvePublisherTextPlaceholdersV1}.
22263
23582
  *