@gooddata/sdk-model 11.64.0-alpha.0 → 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/apiTokens/index.d.ts +20 -0
- package/esm/apiTokens/index.d.ts.map +1 -0
- package/esm/apiTokens/index.js +2 -0
- package/esm/cspDirectives/index.d.ts +16 -0
- package/esm/cspDirectives/index.d.ts.map +1 -0
- package/esm/cspDirectives/index.js +2 -0
- 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/genAI/clarifyingQuestions.d.ts +38 -0
- package/esm/genAI/clarifyingQuestions.d.ts.map +1 -1
- package/esm/index.d.ts +8 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/organization/index.d.ts +43 -0
- package/esm/organization/index.d.ts.map +1 -1
- 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 +696 -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.
|
|
@@ -3669,6 +3722,27 @@ export declare interface IAnthropicProviderConfig {
|
|
|
3669
3722
|
baseUrl?: string;
|
|
3670
3723
|
}
|
|
3671
3724
|
|
|
3725
|
+
/**
|
|
3726
|
+
* API token of a user.
|
|
3727
|
+
*
|
|
3728
|
+
* @alpha
|
|
3729
|
+
*/
|
|
3730
|
+
export declare interface IApiToken {
|
|
3731
|
+
id: string;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
/**
|
|
3735
|
+
* API token returned right after it is created.
|
|
3736
|
+
*
|
|
3737
|
+
* @remarks
|
|
3738
|
+
* The backend returns the secret only once, at creation time.
|
|
3739
|
+
*
|
|
3740
|
+
* @alpha
|
|
3741
|
+
*/
|
|
3742
|
+
export declare interface IApiTokenWithSecret extends IApiToken {
|
|
3743
|
+
bearerToken: string;
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3672
3746
|
/**
|
|
3673
3747
|
* Arbitrary attribute filter - allows filtering by custom string values that may not exist as attribute elements.
|
|
3674
3748
|
*
|
|
@@ -5346,6 +5420,211 @@ export declare interface ICrossFiltering extends IDrill {
|
|
|
5346
5420
|
type: "crossFiltering";
|
|
5347
5421
|
}
|
|
5348
5422
|
|
|
5423
|
+
/**
|
|
5424
|
+
* Content Security Policy directive of the organization.
|
|
5425
|
+
*
|
|
5426
|
+
* @alpha
|
|
5427
|
+
*/
|
|
5428
|
+
export declare interface ICspDirective {
|
|
5429
|
+
/**
|
|
5430
|
+
* Name of the directive, for example `script-src` or `img-src`.
|
|
5431
|
+
*/
|
|
5432
|
+
id: string;
|
|
5433
|
+
/**
|
|
5434
|
+
* Sources allowed by the directive, for example `'self'`, `https://example.com` or `*.example.com`.
|
|
5435
|
+
*/
|
|
5436
|
+
sources: string[];
|
|
5437
|
+
}
|
|
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
|
+
|
|
5349
5628
|
/**
|
|
5350
5629
|
* @beta
|
|
5351
5630
|
*/
|
|
@@ -6694,6 +6973,121 @@ export declare interface IDatasetUser {
|
|
|
6694
6973
|
fullName: string;
|
|
6695
6974
|
}
|
|
6696
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
|
+
|
|
6697
7091
|
/**
|
|
6698
7092
|
* @alpha
|
|
6699
7093
|
*/
|
|
@@ -6704,6 +7098,60 @@ export declare interface IDataSourceIdentifierDescriptor {
|
|
|
6704
7098
|
type: DataSourceType;
|
|
6705
7099
|
}
|
|
6706
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
|
+
|
|
6707
7155
|
/**
|
|
6708
7156
|
* Descriptor contains details about data source permission of organization user or user group.
|
|
6709
7157
|
*
|
|
@@ -6720,6 +7168,32 @@ export declare interface IDataSourcePermissionAssignment {
|
|
|
6720
7168
|
accessSource?: DataSourceAccessSource;
|
|
6721
7169
|
}
|
|
6722
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
|
+
|
|
6723
7197
|
/**
|
|
6724
7198
|
* Date filters limit the range of results to data within relative or absolute date range.
|
|
6725
7199
|
*
|
|
@@ -8782,6 +9256,46 @@ export declare interface IGenAIChatRouting {
|
|
|
8782
9256
|
reasoning: string;
|
|
8783
9257
|
}
|
|
8784
9258
|
|
|
9259
|
+
/**
|
|
9260
|
+
* @alpha
|
|
9261
|
+
*
|
|
9262
|
+
* Represents an answer to a clarifying question for an AI chat response.
|
|
9263
|
+
*/
|
|
9264
|
+
export declare interface IGenAiClarifyingAnswer {
|
|
9265
|
+
/**
|
|
9266
|
+
* Selected answer definition.
|
|
9267
|
+
*/
|
|
9268
|
+
answer: IGenAiClarifyingAnswerItem;
|
|
9269
|
+
/**
|
|
9270
|
+
* Zero-based index of the question.
|
|
9271
|
+
*/
|
|
9272
|
+
questionIndex: number;
|
|
9273
|
+
/**
|
|
9274
|
+
* Text of the question as presented to the user.
|
|
9275
|
+
*/
|
|
9276
|
+
questionText: string;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9279
|
+
/**
|
|
9280
|
+
* @alpha
|
|
9281
|
+
*
|
|
9282
|
+
* Represents a selected option for a clarifying answer.
|
|
9283
|
+
*/
|
|
9284
|
+
export declare interface IGenAiClarifyingAnswerItem {
|
|
9285
|
+
/**
|
|
9286
|
+
* Zero-based index of the selected option.
|
|
9287
|
+
*/
|
|
9288
|
+
optionIndex: number;
|
|
9289
|
+
/**
|
|
9290
|
+
* Text of the selected option as presented to the user.
|
|
9291
|
+
*/
|
|
9292
|
+
optionText: string;
|
|
9293
|
+
/**
|
|
9294
|
+
* Type of the answer.
|
|
9295
|
+
*/
|
|
9296
|
+
type: "singleChoice";
|
|
9297
|
+
}
|
|
9298
|
+
|
|
8785
9299
|
/**
|
|
8786
9300
|
* @alpha
|
|
8787
9301
|
*
|
|
@@ -11858,6 +12372,12 @@ export declare interface IOrganizationDescriptor {
|
|
|
11858
12372
|
identityProviderType?: string;
|
|
11859
12373
|
region?: string;
|
|
11860
12374
|
dataCenter?: string;
|
|
12375
|
+
/**
|
|
12376
|
+
* Origins that can embed the organization content or call its API from a browser (CORS).
|
|
12377
|
+
*
|
|
12378
|
+
* @alpha
|
|
12379
|
+
*/
|
|
12380
|
+
allowedOrigins?: string[];
|
|
11861
12381
|
}
|
|
11862
12382
|
|
|
11863
12383
|
/**
|
|
@@ -11874,6 +12394,10 @@ export declare interface IOrganizationDescriptorUpdate {
|
|
|
11874
12394
|
*/
|
|
11875
12395
|
earlyAccess?: string | null;
|
|
11876
12396
|
earlyAccessValues?: string[] | null;
|
|
12397
|
+
/**
|
|
12398
|
+
* @alpha
|
|
12399
|
+
*/
|
|
12400
|
+
allowedOrigins?: string[];
|
|
11877
12401
|
}
|
|
11878
12402
|
|
|
11879
12403
|
/**
|
|
@@ -12100,6 +12624,12 @@ export declare interface IPermanentSettings {
|
|
|
12100
12624
|
* @alpha
|
|
12101
12625
|
*/
|
|
12102
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;
|
|
12103
12633
|
/**
|
|
12104
12634
|
* Headline component will not be underlined when it is set up with drilling.
|
|
12105
12635
|
*/
|
|
@@ -12124,6 +12654,19 @@ export declare interface IPermanentSettings {
|
|
|
12124
12654
|
restrictBaseUi?: boolean;
|
|
12125
12655
|
}
|
|
12126
12656
|
|
|
12657
|
+
/**
|
|
12658
|
+
* Current usage of a platform resource that the organization license can limit.
|
|
12659
|
+
*
|
|
12660
|
+
* @alpha
|
|
12661
|
+
*/
|
|
12662
|
+
export declare interface IPlatformUsage {
|
|
12663
|
+
name: PlatformUsageName;
|
|
12664
|
+
/**
|
|
12665
|
+
* The backend can omit the count.
|
|
12666
|
+
*/
|
|
12667
|
+
count?: number;
|
|
12668
|
+
}
|
|
12669
|
+
|
|
12127
12670
|
/**
|
|
12128
12671
|
* Pluggable application meta-information, v1.
|
|
12129
12672
|
*
|
|
@@ -14836,6 +15379,88 @@ export declare const isAvailableUserAccessGrantee: (obj: unknown) => obj is IAva
|
|
|
14836
15379
|
*/
|
|
14837
15380
|
export declare const isAvailableUserGroupAccessGrantee: (obj: unknown) => obj is IAvailableUserGroupAccessGrantee;
|
|
14838
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
|
+
|
|
14839
15464
|
/**
|
|
14840
15465
|
* Tests whether the provided timezone value is the {@link BROWSER_DETECTED} sentinel.
|
|
14841
15466
|
*
|
|
@@ -19082,6 +19707,22 @@ export declare interface IUserGroupDataFilterDefinition extends IUserDataFilterD
|
|
|
19082
19707
|
*/
|
|
19083
19708
|
export declare type IUserGroupWorkspaceAccessGrantee = IWorkspaceAccess & IGranularUserGroupAccessGrantee;
|
|
19084
19709
|
|
|
19710
|
+
/**
|
|
19711
|
+
* Invitation of a user to the organization.
|
|
19712
|
+
*
|
|
19713
|
+
* @alpha
|
|
19714
|
+
*/
|
|
19715
|
+
export declare interface IUserInvitation {
|
|
19716
|
+
userId: string;
|
|
19717
|
+
email: string;
|
|
19718
|
+
firstName?: string;
|
|
19719
|
+
lastName?: string;
|
|
19720
|
+
/**
|
|
19721
|
+
* Send the invitation email again even if a pending invitation exists.
|
|
19722
|
+
*/
|
|
19723
|
+
forceSend?: boolean;
|
|
19724
|
+
}
|
|
19725
|
+
|
|
19085
19726
|
/**
|
|
19086
19727
|
* Settings for a particular user.
|
|
19087
19728
|
*
|
|
@@ -19538,6 +20179,7 @@ export declare interface IWorkspaceDataFilter {
|
|
|
19538
20179
|
id: string;
|
|
19539
20180
|
ref: ObjRef;
|
|
19540
20181
|
title?: string;
|
|
20182
|
+
description?: string;
|
|
19541
20183
|
columnName?: string;
|
|
19542
20184
|
settings: IWorkspaceDataFilterSetting[];
|
|
19543
20185
|
isInherited: boolean;
|
|
@@ -19551,6 +20193,7 @@ export declare interface IWorkspaceDataFilter {
|
|
|
19551
20193
|
export declare interface IWorkspaceDataFilterDefinition {
|
|
19552
20194
|
id?: string;
|
|
19553
20195
|
title: string;
|
|
20196
|
+
description?: string;
|
|
19554
20197
|
columnName: string;
|
|
19555
20198
|
}
|
|
19556
20199
|
|
|
@@ -19566,10 +20209,27 @@ export declare interface IWorkspaceDataFilterSetting {
|
|
|
19566
20209
|
id: string;
|
|
19567
20210
|
ref: ObjRef;
|
|
19568
20211
|
title?: string;
|
|
20212
|
+
description?: string;
|
|
19569
20213
|
filterValues: string[];
|
|
19570
20214
|
isInherited: boolean;
|
|
19571
20215
|
}
|
|
19572
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
|
+
|
|
19573
20233
|
/**
|
|
19574
20234
|
* Descriptor contains details about workspace permission of organization user or user group.
|
|
19575
20235
|
*
|
|
@@ -21320,6 +21980,13 @@ export declare type PermissionSource = "direct" | "indirect";
|
|
|
21320
21980
|
*/
|
|
21321
21981
|
export declare type PlatformEdition = "free" | "growth" | "enterprise";
|
|
21322
21982
|
|
|
21983
|
+
/**
|
|
21984
|
+
* Name of a measured platform usage item.
|
|
21985
|
+
*
|
|
21986
|
+
* @alpha
|
|
21987
|
+
*/
|
|
21988
|
+
export declare type PlatformUsageName = "UserCount" | "WorkspaceCount" | "AiWorkspaceCount";
|
|
21989
|
+
|
|
21323
21990
|
/**
|
|
21324
21991
|
* Pluggable application meta-information.
|
|
21325
21992
|
*
|
|
@@ -22032,6 +22699,27 @@ export declare const PublisherTextVariablesV2: readonly PublisherTextVariableV2[
|
|
|
22032
22699
|
*/
|
|
22033
22700
|
export declare type PublisherTextVariableV2 = "documentName" | "documentDescription" | "documentDateRange" | "documentAttributeFilters" | "periodStart" | "periodEnd" | "lastModifiedAt" | "lastModifiedBy" | "exportedAt" | "exportedBy" | "workspaceName" | "workspaceId" | "currentPageNumber" | "totalPages";
|
|
22034
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
|
+
|
|
22035
22723
|
/**
|
|
22036
22724
|
* The theme reference to the path, such as `{theme.assets.images.cover}`.
|
|
22037
22725
|
*
|
|
@@ -22135,6 +22823,14 @@ export declare type RequiredSettings = Condition<Partial<IPermanentSettings | IF
|
|
|
22135
22823
|
*/
|
|
22136
22824
|
export declare type RequiredWorkspacePermissions = Condition<Partial<IPluggableApplicationWorkspacePermissions>>;
|
|
22137
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
|
+
|
|
22138
22834
|
/**
|
|
22139
22835
|
* Current version of {@link resolvePublisherTextPlaceholdersV1}.
|
|
22140
22836
|
*
|