@gooddata/sdk-model 11.64.0-alpha.2 → 11.64.0-alpha.4
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/customApplicationSettings/index.d.ts +19 -0
- package/esm/customApplicationSettings/index.d.ts.map +1 -0
- package/esm/customApplicationSettings/index.js +2 -0
- package/esm/dataSources/index.d.ts +1 -1
- package/esm/dataSources/index.d.ts.map +1 -1
- package/esm/dataSources/physicalModel.d.ts +204 -0
- package/esm/dataSources/physicalModel.d.ts.map +1 -0
- package/esm/dataSources/physicalModel.js +2 -0
- package/esm/index.d.ts +3 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/ldm/declarativeModel/index.d.ts +464 -0
- package/esm/ldm/declarativeModel/index.d.ts.map +1 -0
- package/esm/ldm/declarativeModel/index.js +2 -0
- package/esm/sdk-model.d.ts +747 -1
- package/esm/settings/settings.d.ts +7 -0
- package/esm/settings/settings.d.ts.map +1 -1
- package/package.json +3 -3
package/esm/sdk-model.d.ts
CHANGED
|
@@ -1718,7 +1718,7 @@ export declare type DataSourceFileType = "CSV" | "SAV";
|
|
|
1718
1718
|
/**
|
|
1719
1719
|
* @alpha
|
|
1720
1720
|
*/
|
|
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" | "
|
|
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" | "FLEXCONNECT" | "AILAKEHOUSE" | "TRINO";
|
|
1722
1722
|
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Permission of the current user to a data source.
|
|
@@ -1832,6 +1832,90 @@ export declare const DateGranularity: {
|
|
|
1832
1832
|
*/
|
|
1833
1833
|
export declare type DateString = string;
|
|
1834
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
|
+
|
|
1835
1919
|
/**
|
|
1836
1920
|
* Standard-calendar granularities that an absolute (static) date filter can be configured with.
|
|
1837
1921
|
* @alpha
|
|
@@ -5625,6 +5709,25 @@ export declare interface ICsvReadOptions {
|
|
|
5625
5709
|
useThreads?: boolean;
|
|
5626
5710
|
}
|
|
5627
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
|
+
|
|
5628
5731
|
/**
|
|
5629
5732
|
* @beta
|
|
5630
5733
|
*/
|
|
@@ -7168,6 +7271,57 @@ export declare interface IDataSourcePermissionAssignment {
|
|
|
7168
7271
|
accessSource?: DataSourceAccessSource;
|
|
7169
7272
|
}
|
|
7170
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
|
+
|
|
7171
7325
|
/**
|
|
7172
7326
|
* Cached results of the data source expire according to a cron schedule.
|
|
7173
7327
|
*
|
|
@@ -7284,6 +7438,425 @@ export declare interface IDateHierarchyTemplate extends IMetadataObjectIdentity,
|
|
|
7284
7438
|
granularities: DateAttributeGranularity[];
|
|
7285
7439
|
}
|
|
7286
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
|
+
}
|
|
7812
|
+
|
|
7813
|
+
/**
|
|
7814
|
+
* Column of a dataset that workspace data filters use.
|
|
7815
|
+
*
|
|
7816
|
+
* @alpha
|
|
7817
|
+
*/
|
|
7818
|
+
export declare interface IDeclarativeWorkspaceDataFilterColumn {
|
|
7819
|
+
dataType: DeclarativeColumnDataType;
|
|
7820
|
+
name: string;
|
|
7821
|
+
}
|
|
7822
|
+
|
|
7823
|
+
/**
|
|
7824
|
+
* Identifier of a workspace data filter.
|
|
7825
|
+
*
|
|
7826
|
+
* @alpha
|
|
7827
|
+
*/
|
|
7828
|
+
export declare interface IDeclarativeWorkspaceDataFilterIdentifier {
|
|
7829
|
+
id: string;
|
|
7830
|
+
type: "workspaceDataFilter";
|
|
7831
|
+
}
|
|
7832
|
+
|
|
7833
|
+
/**
|
|
7834
|
+
* Reference from a dataset column to a workspace data filter.
|
|
7835
|
+
*
|
|
7836
|
+
* @alpha
|
|
7837
|
+
*/
|
|
7838
|
+
export declare interface IDeclarativeWorkspaceDataFilterReference {
|
|
7839
|
+
filterColumn: string;
|
|
7840
|
+
filterColumnDataType: DeclarativeColumnDataType;
|
|
7841
|
+
filterId: IDeclarativeWorkspaceDataFilterIdentifier;
|
|
7842
|
+
}
|
|
7843
|
+
|
|
7844
|
+
/**
|
|
7845
|
+
* Logical data model and analytical objects of a workspace.
|
|
7846
|
+
*
|
|
7847
|
+
* @alpha
|
|
7848
|
+
*/
|
|
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;
|
|
7858
|
+
}
|
|
7859
|
+
|
|
7287
7860
|
/**
|
|
7288
7861
|
* Default export template setting.
|
|
7289
7862
|
*
|
|
@@ -8949,6 +9522,13 @@ export declare interface IFeatureFlags {
|
|
|
8949
9522
|
* Enable Publisher v2.
|
|
8950
9523
|
*/
|
|
8951
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;
|
|
8952
9532
|
/**
|
|
8953
9533
|
* Enable the write and export postMessage commands for embedded dashboards and Analytical Designer.
|
|
8954
9534
|
*
|
|
@@ -9823,6 +10403,98 @@ export declare interface IGenAIWidgetDescriptor {
|
|
|
9823
10403
|
content?: string;
|
|
9824
10404
|
}
|
|
9825
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
|
+
|
|
9826
10498
|
/**
|
|
9827
10499
|
* Represents a custom geo collection stored at the organization level.
|
|
9828
10500
|
*
|
|
@@ -12654,6 +13326,55 @@ export declare interface IPermanentSettings {
|
|
|
12654
13326
|
restrictBaseUi?: boolean;
|
|
12655
13327
|
}
|
|
12656
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
|
+
|
|
12657
13378
|
/**
|
|
12658
13379
|
* Current usage of a platform resource that the organization license can limit.
|
|
12659
13380
|
*
|
|
@@ -17319,6 +18040,31 @@ export declare function isPublisherVisualizationWidgetV2(obj: unknown): obj is I
|
|
|
17319
18040
|
*/
|
|
17320
18041
|
export declare function isPublisherWidgetV2(obj: unknown): obj is PublisherWidgetV2;
|
|
17321
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
|
+
|
|
17322
18068
|
/**
|
|
17323
18069
|
* Type guard checking whether the provided object is a measure value filter's range condition.
|
|
17324
18070
|
*
|