@gooddata/sdk-model 11.64.0-alpha.1 → 11.64.0-alpha.2
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/dataFilter/index.d.ts +18 -0
- package/esm/dataFilter/index.d.ts.map +1 -1
- package/esm/dataSources/files.d.ts +278 -0
- package/esm/dataSources/files.d.ts.map +1 -0
- package/esm/dataSources/files.js +2 -0
- package/esm/dataSources/index.d.ts +198 -0
- package/esm/dataSources/index.d.ts.map +1 -1
- package/esm/index.d.ts +4 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/publisher/v2/imageSource.d.ts +39 -0
- package/esm/publisher/v2/imageSource.d.ts.map +1 -0
- package/esm/publisher/v2/imageSource.js +43 -0
- package/esm/sdk-model.d.ts +573 -0
- package/esm/settings/settings.d.ts +6 -0
- package/esm/settings/settings.d.ts.map +1 -1
- package/package.json +3 -3
package/esm/sdk-model.d.ts
CHANGED
|
@@ -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
|
*
|
|
@@ -3023,6 +3065,17 @@ export declare function getPublisherTextPlaceholdersV1(text: string): string[];
|
|
|
3023
3065
|
*/
|
|
3024
3066
|
export declare function getPublisherTextPlaceholdersV2(text: string): string[];
|
|
3025
3067
|
|
|
3068
|
+
/**
|
|
3069
|
+
* The theme image an image source references, such as `{theme.assets.logos.main}`; undefined when the
|
|
3070
|
+
* source is not a theme image reference.
|
|
3071
|
+
*
|
|
3072
|
+
* @remarks
|
|
3073
|
+
* Image references resolve only as an image source or a background image, never in text.
|
|
3074
|
+
*
|
|
3075
|
+
* @alpha
|
|
3076
|
+
*/
|
|
3077
|
+
export declare function getPublisherThemeImageReferenceV2(source: unknown): PublisherThemeImageReferenceV2 | undefined;
|
|
3078
|
+
|
|
3026
3079
|
/**
|
|
3027
3080
|
* The path of a theme reference such as `{theme.colors.texts.muted}`, as
|
|
3028
3081
|
* `["colors", "texts", "muted"]`; undefined when the value is not one.
|
|
@@ -5383,6 +5436,195 @@ export declare interface ICspDirective {
|
|
|
5383
5436
|
sources: string[];
|
|
5384
5437
|
}
|
|
5385
5438
|
|
|
5439
|
+
/**
|
|
5440
|
+
* Result of a CSV file analysis.
|
|
5441
|
+
*
|
|
5442
|
+
* @alpha
|
|
5443
|
+
*/
|
|
5444
|
+
export declare interface ICsvAnalysis {
|
|
5445
|
+
location: string;
|
|
5446
|
+
columns: ICsvAnalysisColumn[];
|
|
5447
|
+
/**
|
|
5448
|
+
* Options that the backend detected for the file. Use them to import the file.
|
|
5449
|
+
*/
|
|
5450
|
+
config?: ICsvFileConfig;
|
|
5451
|
+
/**
|
|
5452
|
+
* First rows of the file.
|
|
5453
|
+
*/
|
|
5454
|
+
previewData: unknown[][];
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
/**
|
|
5458
|
+
* Column of an analyzed CSV file.
|
|
5459
|
+
*
|
|
5460
|
+
* @alpha
|
|
5461
|
+
*/
|
|
5462
|
+
export declare interface ICsvAnalysisColumn {
|
|
5463
|
+
name: string;
|
|
5464
|
+
/**
|
|
5465
|
+
* Data type that the backend detected for the column.
|
|
5466
|
+
*/
|
|
5467
|
+
type: string;
|
|
5468
|
+
detectedDateFormats?: string[];
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5471
|
+
/**
|
|
5472
|
+
* Request to analyze a CSV file that is uploaded to the staging area.
|
|
5473
|
+
*
|
|
5474
|
+
* @alpha
|
|
5475
|
+
*/
|
|
5476
|
+
export declare interface ICsvAnalysisRequest {
|
|
5477
|
+
/**
|
|
5478
|
+
* Location of the uploaded file, as returned by the upload.
|
|
5479
|
+
*/
|
|
5480
|
+
location: string;
|
|
5481
|
+
config?: {
|
|
5482
|
+
delimiters?: string[];
|
|
5483
|
+
headerDetectMaxRows?: number;
|
|
5484
|
+
/**
|
|
5485
|
+
* Number of header rows. When not set, the backend detects the header.
|
|
5486
|
+
*/
|
|
5487
|
+
headerRowCount?: number;
|
|
5488
|
+
/**
|
|
5489
|
+
* Number of rows to return in the preview data.
|
|
5490
|
+
*/
|
|
5491
|
+
resultRows?: number;
|
|
5492
|
+
};
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
/**
|
|
5496
|
+
* Type of a CSV column that the backend uses when it converts the CSV data.
|
|
5497
|
+
*
|
|
5498
|
+
* @alpha
|
|
5499
|
+
*/
|
|
5500
|
+
export declare interface ICsvColumnType {
|
|
5501
|
+
name?: string;
|
|
5502
|
+
type?: string;
|
|
5503
|
+
nullable?: boolean;
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5506
|
+
/**
|
|
5507
|
+
* Options that control how the backend converts values of CSV columns.
|
|
5508
|
+
*
|
|
5509
|
+
* @alpha
|
|
5510
|
+
*/
|
|
5511
|
+
export declare interface ICsvConvertOptions {
|
|
5512
|
+
autoDictEncode?: boolean;
|
|
5513
|
+
autoDictMaxCardinality?: number;
|
|
5514
|
+
checkUtf8?: boolean;
|
|
5515
|
+
columnTypes?: ICsvColumnType[];
|
|
5516
|
+
decimalPoint?: string;
|
|
5517
|
+
falseValues?: string[];
|
|
5518
|
+
includeColumns?: string[];
|
|
5519
|
+
includeMissingColumns?: boolean;
|
|
5520
|
+
nullValues?: string[];
|
|
5521
|
+
quotedStringsCanBeNull?: boolean;
|
|
5522
|
+
stringsCanBeNull?: boolean;
|
|
5523
|
+
timestampParsers?: string[];
|
|
5524
|
+
trueValues?: string[];
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5527
|
+
/**
|
|
5528
|
+
* Options that the backend uses to read, parse and convert a CSV file.
|
|
5529
|
+
*
|
|
5530
|
+
* @alpha
|
|
5531
|
+
*/
|
|
5532
|
+
export declare interface ICsvFileConfig {
|
|
5533
|
+
convertOptions?: ICsvConvertOptions;
|
|
5534
|
+
parseOptions?: ICsvParseOptions;
|
|
5535
|
+
readOptions?: ICsvReadOptions;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
/**
|
|
5539
|
+
* Options that the backend used when it imported a CSV file into a data source.
|
|
5540
|
+
*
|
|
5541
|
+
* @alpha
|
|
5542
|
+
*/
|
|
5543
|
+
export declare interface ICsvFileManifest {
|
|
5544
|
+
/**
|
|
5545
|
+
* Name of the file in the data source.
|
|
5546
|
+
*/
|
|
5547
|
+
name: string;
|
|
5548
|
+
version: number;
|
|
5549
|
+
readMethod?: string;
|
|
5550
|
+
readOptions?: ICsvReadOptions;
|
|
5551
|
+
parseOptions?: ICsvParseOptions;
|
|
5552
|
+
convertOptions?: ICsvConvertOptions;
|
|
5553
|
+
/**
|
|
5554
|
+
* Date format of each date column, by column name.
|
|
5555
|
+
*/
|
|
5556
|
+
columnDateFormats?: Record<string, string>;
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
/**
|
|
5560
|
+
* Table that the backend created or updated from a CSV file.
|
|
5561
|
+
*
|
|
5562
|
+
* @alpha
|
|
5563
|
+
*/
|
|
5564
|
+
export declare interface ICsvImportResult {
|
|
5565
|
+
name: string;
|
|
5566
|
+
version: number;
|
|
5567
|
+
}
|
|
5568
|
+
|
|
5569
|
+
/**
|
|
5570
|
+
* Table to create from a CSV file that is uploaded to the staging area.
|
|
5571
|
+
*
|
|
5572
|
+
* @alpha
|
|
5573
|
+
*/
|
|
5574
|
+
export declare interface ICsvImportTable {
|
|
5575
|
+
/**
|
|
5576
|
+
* Name of the table in the data source.
|
|
5577
|
+
*/
|
|
5578
|
+
name: string;
|
|
5579
|
+
source: {
|
|
5580
|
+
/**
|
|
5581
|
+
* Location of the uploaded file, as returned by the upload.
|
|
5582
|
+
*/
|
|
5583
|
+
location: string;
|
|
5584
|
+
config: ICsvFileConfig & {
|
|
5585
|
+
/**
|
|
5586
|
+
* Date format of each date column, by column name.
|
|
5587
|
+
*/
|
|
5588
|
+
columnDateFormats?: Record<string, string>;
|
|
5589
|
+
};
|
|
5590
|
+
};
|
|
5591
|
+
}
|
|
5592
|
+
|
|
5593
|
+
/**
|
|
5594
|
+
* Options that control how the backend parses a CSV file.
|
|
5595
|
+
*
|
|
5596
|
+
* @alpha
|
|
5597
|
+
*/
|
|
5598
|
+
export declare interface ICsvParseOptions {
|
|
5599
|
+
delimiter?: string;
|
|
5600
|
+
doubleQuote?: boolean;
|
|
5601
|
+
/**
|
|
5602
|
+
* Escape character, or `false` when the file does not use escaping.
|
|
5603
|
+
*/
|
|
5604
|
+
escapeChar?: string | false;
|
|
5605
|
+
ignoreEmptyLines?: boolean;
|
|
5606
|
+
newlinesInValues?: boolean;
|
|
5607
|
+
/**
|
|
5608
|
+
* Quote character, or `false` when the file does not use quoting.
|
|
5609
|
+
*/
|
|
5610
|
+
quoteChar?: string | false;
|
|
5611
|
+
}
|
|
5612
|
+
|
|
5613
|
+
/**
|
|
5614
|
+
* Options that control how the backend reads a CSV file.
|
|
5615
|
+
*
|
|
5616
|
+
* @alpha
|
|
5617
|
+
*/
|
|
5618
|
+
export declare interface ICsvReadOptions {
|
|
5619
|
+
autoGenerateColumnNames?: boolean;
|
|
5620
|
+
blockSize?: number;
|
|
5621
|
+
columnNames?: string[];
|
|
5622
|
+
encoding?: string;
|
|
5623
|
+
skipRows?: number;
|
|
5624
|
+
skipRowsAfterNames?: number;
|
|
5625
|
+
useThreads?: boolean;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5386
5628
|
/**
|
|
5387
5629
|
* @beta
|
|
5388
5630
|
*/
|
|
@@ -6731,6 +6973,121 @@ export declare interface IDatasetUser {
|
|
|
6731
6973
|
fullName: string;
|
|
6732
6974
|
}
|
|
6733
6975
|
|
|
6976
|
+
/**
|
|
6977
|
+
* Connection details of a data source to test, before or after the data source is saved.
|
|
6978
|
+
*
|
|
6979
|
+
* @alpha
|
|
6980
|
+
*/
|
|
6981
|
+
export declare interface IDataSourceConnectionTest {
|
|
6982
|
+
type: DataSourceType;
|
|
6983
|
+
url: string;
|
|
6984
|
+
schema: string;
|
|
6985
|
+
username?: string;
|
|
6986
|
+
password?: string;
|
|
6987
|
+
token?: string;
|
|
6988
|
+
parameters?: IDataSourceParameter[];
|
|
6989
|
+
privateKey?: string;
|
|
6990
|
+
privateKeyPassphrase?: string;
|
|
6991
|
+
clientId?: string;
|
|
6992
|
+
clientSecret?: string;
|
|
6993
|
+
authenticationType?: DataSourceAuthenticationType | null;
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
/**
|
|
6997
|
+
* Result of a data source connection test.
|
|
6998
|
+
*
|
|
6999
|
+
* @alpha
|
|
7000
|
+
*/
|
|
7001
|
+
export declare interface IDataSourceConnectionTestResult {
|
|
7002
|
+
successful: boolean;
|
|
7003
|
+
/**
|
|
7004
|
+
* Reason of the failure, when the test is not successful.
|
|
7005
|
+
*/
|
|
7006
|
+
error?: string;
|
|
7007
|
+
}
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Full definition of a data source used to create it or to replace it.
|
|
7011
|
+
*
|
|
7012
|
+
* @alpha
|
|
7013
|
+
*/
|
|
7014
|
+
export declare interface IDataSourceDefinition {
|
|
7015
|
+
id: string;
|
|
7016
|
+
name: string;
|
|
7017
|
+
schema: string;
|
|
7018
|
+
type: DataSourceType;
|
|
7019
|
+
url?: string;
|
|
7020
|
+
username?: string;
|
|
7021
|
+
password?: string;
|
|
7022
|
+
token?: string;
|
|
7023
|
+
parameters?: IDataSourceParameter[];
|
|
7024
|
+
cacheStrategy?: DataSourceCacheStrategy;
|
|
7025
|
+
/**
|
|
7026
|
+
* Use `null` to remove the cache retention policy of the data source.
|
|
7027
|
+
*/
|
|
7028
|
+
cacheRetention?: DataSourceCacheRetention | null;
|
|
7029
|
+
privateKey?: string;
|
|
7030
|
+
privateKeyPassphrase?: string;
|
|
7031
|
+
clientId?: string;
|
|
7032
|
+
clientSecret?: string;
|
|
7033
|
+
dateTimeSemantics?: DataSourceDateTimeSemantics | null;
|
|
7034
|
+
authenticationType?: DataSourceAuthenticationType | null;
|
|
7035
|
+
/**
|
|
7036
|
+
* Identifier of the data source that the backend uses instead of this one.
|
|
7037
|
+
*/
|
|
7038
|
+
alternativeDataSourceId?: string | null;
|
|
7039
|
+
disableStatistics?: boolean | null;
|
|
7040
|
+
/**
|
|
7041
|
+
* Skip the audience check of JWT tokens in the OIDC authentication.
|
|
7042
|
+
*/
|
|
7043
|
+
ignoreJwtAud?: boolean | null;
|
|
7044
|
+
}
|
|
7045
|
+
|
|
7046
|
+
/**
|
|
7047
|
+
* Data source with its connection details. Secrets, such as passwords or tokens, are never included.
|
|
7048
|
+
*
|
|
7049
|
+
* @alpha
|
|
7050
|
+
*/
|
|
7051
|
+
export declare interface IDataSourceDescriptor extends IDataSourceIdentifierDescriptor {
|
|
7052
|
+
username?: string;
|
|
7053
|
+
clientId?: string;
|
|
7054
|
+
url?: string | null;
|
|
7055
|
+
permissions?: DataSourceUserPermission[];
|
|
7056
|
+
parameters?: IDataSourceParameter[] | null;
|
|
7057
|
+
decodedParameters?: IDataSourceParameter[] | null;
|
|
7058
|
+
cacheStrategy?: DataSourceCacheStrategy | null;
|
|
7059
|
+
cacheRetention?: DataSourceCacheRetention | null;
|
|
7060
|
+
authenticationType?: DataSourceAuthenticationType | null;
|
|
7061
|
+
dateTimeSemantics?: DataSourceDateTimeSemantics | null;
|
|
7062
|
+
/**
|
|
7063
|
+
* Identifier of the data source that the backend uses instead of this one.
|
|
7064
|
+
*/
|
|
7065
|
+
alternativeDataSourceId?: string | null;
|
|
7066
|
+
disableStatistics?: boolean | null;
|
|
7067
|
+
/**
|
|
7068
|
+
* Skip the audience check of JWT tokens in the OIDC authentication.
|
|
7069
|
+
*/
|
|
7070
|
+
ignoreJwtAud?: boolean | null;
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* File stored in a data source that keeps its data in files, for example a CSV data source.
|
|
7075
|
+
*
|
|
7076
|
+
* @alpha
|
|
7077
|
+
*/
|
|
7078
|
+
export declare interface IDataSourceFile {
|
|
7079
|
+
name: string;
|
|
7080
|
+
/**
|
|
7081
|
+
* Size of the file in bytes.
|
|
7082
|
+
*/
|
|
7083
|
+
size: number;
|
|
7084
|
+
/**
|
|
7085
|
+
* Date and time of the last change, as an ISO-8601 string.
|
|
7086
|
+
*/
|
|
7087
|
+
modifiedAt: string;
|
|
7088
|
+
type: DataSourceFileType;
|
|
7089
|
+
}
|
|
7090
|
+
|
|
6734
7091
|
/**
|
|
6735
7092
|
* @alpha
|
|
6736
7093
|
*/
|
|
@@ -6741,6 +7098,60 @@ export declare interface IDataSourceIdentifierDescriptor {
|
|
|
6741
7098
|
type: DataSourceType;
|
|
6742
7099
|
}
|
|
6743
7100
|
|
|
7101
|
+
/**
|
|
7102
|
+
* Cached results of the data source never expire on their own.
|
|
7103
|
+
*
|
|
7104
|
+
* @alpha
|
|
7105
|
+
*/
|
|
7106
|
+
export declare interface IDataSourceIndefiniteCacheRetention {
|
|
7107
|
+
type: "INDEFINITE";
|
|
7108
|
+
}
|
|
7109
|
+
|
|
7110
|
+
/**
|
|
7111
|
+
* Additional connection parameter of a data source.
|
|
7112
|
+
*
|
|
7113
|
+
* @alpha
|
|
7114
|
+
*/
|
|
7115
|
+
export declare interface IDataSourceParameter {
|
|
7116
|
+
name: string;
|
|
7117
|
+
value: string;
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
/**
|
|
7121
|
+
* Partial update of a data source. Properties that are `undefined` keep their current value.
|
|
7122
|
+
* Use `null` to remove a value.
|
|
7123
|
+
*
|
|
7124
|
+
* @alpha
|
|
7125
|
+
*/
|
|
7126
|
+
export declare interface IDataSourcePatch {
|
|
7127
|
+
id: string;
|
|
7128
|
+
name?: string;
|
|
7129
|
+
schema?: string;
|
|
7130
|
+
type?: DataSourceType;
|
|
7131
|
+
url?: string | null;
|
|
7132
|
+
username?: string | null;
|
|
7133
|
+
password?: string | null;
|
|
7134
|
+
token?: string | null;
|
|
7135
|
+
parameters?: IDataSourceParameter[] | null;
|
|
7136
|
+
cacheStrategy?: DataSourceCacheStrategy | null;
|
|
7137
|
+
cacheRetention?: DataSourceCacheRetention | null;
|
|
7138
|
+
privateKey?: string | null;
|
|
7139
|
+
privateKeyPassphrase?: string | null;
|
|
7140
|
+
clientId?: string | null;
|
|
7141
|
+
clientSecret?: string | null;
|
|
7142
|
+
dateTimeSemantics?: DataSourceDateTimeSemantics | null;
|
|
7143
|
+
authenticationType?: DataSourceAuthenticationType | null;
|
|
7144
|
+
/**
|
|
7145
|
+
* Identifier of the data source that the backend uses instead of this one.
|
|
7146
|
+
*/
|
|
7147
|
+
alternativeDataSourceId?: string | null;
|
|
7148
|
+
disableStatistics?: boolean | null;
|
|
7149
|
+
/**
|
|
7150
|
+
* Skip the audience check of JWT tokens in the OIDC authentication.
|
|
7151
|
+
*/
|
|
7152
|
+
ignoreJwtAud?: boolean | null;
|
|
7153
|
+
}
|
|
7154
|
+
|
|
6744
7155
|
/**
|
|
6745
7156
|
* Descriptor contains details about data source permission of organization user or user group.
|
|
6746
7157
|
*
|
|
@@ -6757,6 +7168,32 @@ export declare interface IDataSourcePermissionAssignment {
|
|
|
6757
7168
|
accessSource?: DataSourceAccessSource;
|
|
6758
7169
|
}
|
|
6759
7170
|
|
|
7171
|
+
/**
|
|
7172
|
+
* Cached results of the data source expire according to a cron schedule.
|
|
7173
|
+
*
|
|
7174
|
+
* @alpha
|
|
7175
|
+
*/
|
|
7176
|
+
export declare interface IDataSourceScheduleCacheRetention {
|
|
7177
|
+
type: "SCHEDULE";
|
|
7178
|
+
schedule: {
|
|
7179
|
+
cron: string;
|
|
7180
|
+
timezone?: string | null;
|
|
7181
|
+
};
|
|
7182
|
+
}
|
|
7183
|
+
|
|
7184
|
+
/**
|
|
7185
|
+
* Cached results of the data source expire when the validity period elapses.
|
|
7186
|
+
*
|
|
7187
|
+
* @alpha
|
|
7188
|
+
*/
|
|
7189
|
+
export declare interface IDataSourceValidityPeriodCacheRetention {
|
|
7190
|
+
type: "VALIDITY_PERIOD";
|
|
7191
|
+
/**
|
|
7192
|
+
* ISO-8601 duration, for example `PT1H`.
|
|
7193
|
+
*/
|
|
7194
|
+
validityPeriod: string;
|
|
7195
|
+
}
|
|
7196
|
+
|
|
6760
7197
|
/**
|
|
6761
7198
|
* Date filters limit the range of results to data within relative or absolute date range.
|
|
6762
7199
|
*
|
|
@@ -12187,6 +12624,12 @@ export declare interface IPermanentSettings {
|
|
|
12187
12624
|
* @alpha
|
|
12188
12625
|
*/
|
|
12189
12626
|
defaultVisualizationVisibility?: ObjectVisibility;
|
|
12627
|
+
/**
|
|
12628
|
+
* When true, granting ANALYZE on the workspace also grants the MANAGE_VISUALIZATIONS workspace
|
|
12629
|
+
* permission, and revoking ANALYZE revokes it. Changing the setting leaves stored grants as they are.
|
|
12630
|
+
* @alpha
|
|
12631
|
+
*/
|
|
12632
|
+
grantManageVisualizationsWithAnalyze?: boolean;
|
|
12190
12633
|
/**
|
|
12191
12634
|
* Headline component will not be underlined when it is set up with drilling.
|
|
12192
12635
|
*/
|
|
@@ -14936,6 +15379,88 @@ export declare const isAvailableUserAccessGrantee: (obj: unknown) => obj is IAva
|
|
|
14936
15379
|
*/
|
|
14937
15380
|
export declare const isAvailableUserGroupAccessGrantee: (obj: unknown) => obj is IAvailableUserGroupAccessGrantee;
|
|
14938
15381
|
|
|
15382
|
+
/**
|
|
15383
|
+
* Result of the analysis of an SPSS (.sav) file.
|
|
15384
|
+
*
|
|
15385
|
+
* @alpha
|
|
15386
|
+
*/
|
|
15387
|
+
export declare interface ISavAnalysis {
|
|
15388
|
+
location: string;
|
|
15389
|
+
columns: ISavAnalysisColumn[];
|
|
15390
|
+
previewData: unknown[][];
|
|
15391
|
+
}
|
|
15392
|
+
|
|
15393
|
+
/**
|
|
15394
|
+
* Column of an analyzed SPSS (.sav) file.
|
|
15395
|
+
*
|
|
15396
|
+
* @alpha
|
|
15397
|
+
*/
|
|
15398
|
+
export declare interface ISavAnalysisColumn {
|
|
15399
|
+
name: string;
|
|
15400
|
+
/**
|
|
15401
|
+
* Arrow type name of the column, for example "float64" or "date32[day]".
|
|
15402
|
+
*/
|
|
15403
|
+
type: string;
|
|
15404
|
+
label?: string;
|
|
15405
|
+
valueLabels?: ISavValueLabel[];
|
|
15406
|
+
}
|
|
15407
|
+
|
|
15408
|
+
/**
|
|
15409
|
+
* SPSS (.sav) file in the staging area to analyze.
|
|
15410
|
+
*
|
|
15411
|
+
* @alpha
|
|
15412
|
+
*/
|
|
15413
|
+
export declare interface ISavAnalysisRequest {
|
|
15414
|
+
/**
|
|
15415
|
+
* Location of the uploaded file, as returned by the upload.
|
|
15416
|
+
*/
|
|
15417
|
+
location: string;
|
|
15418
|
+
config?: {
|
|
15419
|
+
/**
|
|
15420
|
+
* Number of rows in the preview data.
|
|
15421
|
+
*/
|
|
15422
|
+
resultRows?: number;
|
|
15423
|
+
};
|
|
15424
|
+
}
|
|
15425
|
+
|
|
15426
|
+
/**
|
|
15427
|
+
* Table that the backend created or updated from an SPSS (.sav) file.
|
|
15428
|
+
*
|
|
15429
|
+
* @alpha
|
|
15430
|
+
*/
|
|
15431
|
+
export declare interface ISavImportResult {
|
|
15432
|
+
name: string;
|
|
15433
|
+
version: number;
|
|
15434
|
+
}
|
|
15435
|
+
|
|
15436
|
+
/**
|
|
15437
|
+
* Table to create or update from an SPSS (.sav) file.
|
|
15438
|
+
*
|
|
15439
|
+
* @alpha
|
|
15440
|
+
*/
|
|
15441
|
+
export declare interface ISavImportTable {
|
|
15442
|
+
/**
|
|
15443
|
+
* Name of the table in the data source.
|
|
15444
|
+
*/
|
|
15445
|
+
name: string;
|
|
15446
|
+
source: {
|
|
15447
|
+
/**
|
|
15448
|
+
* Location of the uploaded file, as returned by the upload.
|
|
15449
|
+
*/
|
|
15450
|
+
location: string;
|
|
15451
|
+
};
|
|
15452
|
+
}
|
|
15453
|
+
|
|
15454
|
+
/**
|
|
15455
|
+
* Label of one value of an SPSS column.
|
|
15456
|
+
*
|
|
15457
|
+
* @alpha
|
|
15458
|
+
*/
|
|
15459
|
+
export declare interface ISavValueLabel {
|
|
15460
|
+
value: unknown;
|
|
15461
|
+
label: string;
|
|
15462
|
+
}
|
|
15463
|
+
|
|
14939
15464
|
/**
|
|
14940
15465
|
* Tests whether the provided timezone value is the {@link BROWSER_DETECTED} sentinel.
|
|
14941
15466
|
*
|
|
@@ -19654,6 +20179,7 @@ export declare interface IWorkspaceDataFilter {
|
|
|
19654
20179
|
id: string;
|
|
19655
20180
|
ref: ObjRef;
|
|
19656
20181
|
title?: string;
|
|
20182
|
+
description?: string;
|
|
19657
20183
|
columnName?: string;
|
|
19658
20184
|
settings: IWorkspaceDataFilterSetting[];
|
|
19659
20185
|
isInherited: boolean;
|
|
@@ -19667,6 +20193,7 @@ export declare interface IWorkspaceDataFilter {
|
|
|
19667
20193
|
export declare interface IWorkspaceDataFilterDefinition {
|
|
19668
20194
|
id?: string;
|
|
19669
20195
|
title: string;
|
|
20196
|
+
description?: string;
|
|
19670
20197
|
columnName: string;
|
|
19671
20198
|
}
|
|
19672
20199
|
|
|
@@ -19682,10 +20209,27 @@ export declare interface IWorkspaceDataFilterSetting {
|
|
|
19682
20209
|
id: string;
|
|
19683
20210
|
ref: ObjRef;
|
|
19684
20211
|
title?: string;
|
|
20212
|
+
description?: string;
|
|
19685
20213
|
filterValues: string[];
|
|
19686
20214
|
isInherited: boolean;
|
|
19687
20215
|
}
|
|
19688
20216
|
|
|
20217
|
+
/**
|
|
20218
|
+
* Entity that contains data necessary to create a new Workspace Data Filter setting
|
|
20219
|
+
*
|
|
20220
|
+
* @alpha
|
|
20221
|
+
*/
|
|
20222
|
+
export declare interface IWorkspaceDataFilterSettingDefinition {
|
|
20223
|
+
/**
|
|
20224
|
+
* Identifier of the new setting. A random identifier is used when it is not set.
|
|
20225
|
+
*/
|
|
20226
|
+
id?: string;
|
|
20227
|
+
dataFilter: ObjRef;
|
|
20228
|
+
title?: string;
|
|
20229
|
+
description?: string;
|
|
20230
|
+
filterValues: string[];
|
|
20231
|
+
}
|
|
20232
|
+
|
|
19689
20233
|
/**
|
|
19690
20234
|
* Descriptor contains details about workspace permission of organization user or user group.
|
|
19691
20235
|
*
|
|
@@ -22155,6 +22699,27 @@ export declare const PublisherTextVariablesV2: readonly PublisherTextVariableV2[
|
|
|
22155
22699
|
*/
|
|
22156
22700
|
export declare type PublisherTextVariableV2 = "documentName" | "documentDescription" | "documentDateRange" | "documentAttributeFilters" | "periodStart" | "periodEnd" | "lastModifiedAt" | "lastModifiedBy" | "exportedAt" | "exportedBy" | "workspaceName" | "workspaceId" | "currentPageNumber" | "totalPages";
|
|
22157
22701
|
|
|
22702
|
+
/**
|
|
22703
|
+
* A theme image that an image source names in place of a url.
|
|
22704
|
+
*
|
|
22705
|
+
* @remarks
|
|
22706
|
+
* `{theme.logo}` is the logo asset with the id `logo`, else the first logo asset, then the theme's
|
|
22707
|
+
* `images.logo`, then the organization's white-labeling logo. `{theme.coverImage}` is the theme's
|
|
22708
|
+
* `images.coverImage`. `{theme.assets.logos.<id>}` and `{theme.assets.images.<id>}` are the asset with
|
|
22709
|
+
* that id in that list.
|
|
22710
|
+
*
|
|
22711
|
+
* @alpha
|
|
22712
|
+
*/
|
|
22713
|
+
export declare type PublisherThemeImageReferenceV2 = {
|
|
22714
|
+
type: "logo";
|
|
22715
|
+
} | {
|
|
22716
|
+
type: "coverImage";
|
|
22717
|
+
} | {
|
|
22718
|
+
type: "asset";
|
|
22719
|
+
list: "logos" | "images";
|
|
22720
|
+
id: string;
|
|
22721
|
+
};
|
|
22722
|
+
|
|
22158
22723
|
/**
|
|
22159
22724
|
* The theme reference to the path, such as `{theme.assets.images.cover}`.
|
|
22160
22725
|
*
|
|
@@ -22258,6 +22823,14 @@ export declare type RequiredSettings = Condition<Partial<IPermanentSettings | IF
|
|
|
22258
22823
|
*/
|
|
22259
22824
|
export declare type RequiredWorkspacePermissions = Condition<Partial<IPluggableApplicationWorkspacePermissions>>;
|
|
22260
22825
|
|
|
22826
|
+
/**
|
|
22827
|
+
* An https image url with its text variables replaced, each value percent-encoded so that it stays one
|
|
22828
|
+
* part of the url. A marker without a value stays as typed. Undefined when the result is not an https url.
|
|
22829
|
+
*
|
|
22830
|
+
* @alpha
|
|
22831
|
+
*/
|
|
22832
|
+
export declare function resolvePublisherImageUrlV2(url: string, values: Partial<Record<PublisherTextVariableV2, string>>): string | undefined;
|
|
22833
|
+
|
|
22261
22834
|
/**
|
|
22262
22835
|
* Current version of {@link resolvePublisherTextPlaceholdersV1}.
|
|
22263
22836
|
*
|
|
@@ -429,6 +429,12 @@ export interface IPermanentSettings {
|
|
|
429
429
|
* @alpha
|
|
430
430
|
*/
|
|
431
431
|
defaultVisualizationVisibility?: ObjectVisibility;
|
|
432
|
+
/**
|
|
433
|
+
* When true, granting ANALYZE on the workspace also grants the MANAGE_VISUALIZATIONS workspace
|
|
434
|
+
* permission, and revoking ANALYZE revokes it. Changing the setting leaves stored grants as they are.
|
|
435
|
+
* @alpha
|
|
436
|
+
*/
|
|
437
|
+
grantManageVisualizationsWithAnalyze?: boolean;
|
|
432
438
|
/**
|
|
433
439
|
* Headline component will not be underlined when it is set up with drilling.
|
|
434
440
|
*/
|