@salesforce/lds-adapters-analytics-unifiedanalytics 1.413.0 → 1.414.1
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/dist/es/es2018/analytics-unifiedanalytics.js +65 -2
- package/dist/es/es2018/types/src/generated/adapters/createDashboard.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataAssetDependencies.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateDashboard.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsDependenciesByAssetId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/patchTableauDashboardsByDashboardIdOrApiName.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauDashboards.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/DashboardInputRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/DashboardRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +66 -3
- package/src/raml/api.raml +28 -1
|
@@ -2751,12 +2751,28 @@ const queryAssetsAdapterFactory = (luvio) => {
|
|
|
2751
2751
|
};
|
|
2752
2752
|
};
|
|
2753
2753
|
|
|
2754
|
-
const VERSION$B = "
|
|
2754
|
+
const VERSION$B = "48241522a2d9c05d07397ef0fdfbce4e";
|
|
2755
2755
|
function validate$17(obj, path = 'DashboardRepresentation') {
|
|
2756
2756
|
const v_error = (() => {
|
|
2757
2757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2758
2758
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2759
2759
|
}
|
|
2760
|
+
if (obj.backgroundSource !== undefined) {
|
|
2761
|
+
const obj_backgroundSource = obj.backgroundSource;
|
|
2762
|
+
const path_backgroundSource = path + '.backgroundSource';
|
|
2763
|
+
if (typeof obj_backgroundSource !== 'object' || ArrayIsArray(obj_backgroundSource) || obj_backgroundSource === null) {
|
|
2764
|
+
return new TypeError('Expected "object" but received "' + typeof obj_backgroundSource + '" (at "' + path_backgroundSource + '")');
|
|
2765
|
+
}
|
|
2766
|
+
const obj_backgroundSource_keys = ObjectKeys(obj_backgroundSource);
|
|
2767
|
+
for (let i = 0; i < obj_backgroundSource_keys.length; i++) {
|
|
2768
|
+
const key = obj_backgroundSource_keys[i];
|
|
2769
|
+
const obj_backgroundSource_prop = obj_backgroundSource[key];
|
|
2770
|
+
const path_backgroundSource_prop = path_backgroundSource + '["' + key + '"]';
|
|
2771
|
+
if (obj_backgroundSource_prop === undefined) {
|
|
2772
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_backgroundSource_prop + '" (at "' + path_backgroundSource_prop + '")');
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2760
2776
|
const obj_createdBy = obj.createdBy;
|
|
2761
2777
|
const path_createdBy = path + '.createdBy';
|
|
2762
2778
|
if (obj_createdBy === undefined) {
|
|
@@ -3186,6 +3202,7 @@ const createDashboard_ConfigPropertyMetadata = [
|
|
|
3186
3202
|
generateParamConfigMetadata('layouts', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3187
3203
|
generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3188
3204
|
generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3205
|
+
generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3189
3206
|
];
|
|
3190
3207
|
const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, createDashboard_ConfigPropertyMetadata);
|
|
3191
3208
|
const createResourceParams$T = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
|
|
@@ -3231,6 +3248,21 @@ function typeCheckConfig$T(untrustedConfig) {
|
|
|
3231
3248
|
config.style = untrustedConfig_style_object;
|
|
3232
3249
|
}
|
|
3233
3250
|
}
|
|
3251
|
+
const untrustedConfig_backgroundSource = untrustedConfig.backgroundSource;
|
|
3252
|
+
if (untrustedIsObject(untrustedConfig_backgroundSource)) {
|
|
3253
|
+
const untrustedConfig_backgroundSource_object = {};
|
|
3254
|
+
const untrustedConfig_backgroundSource_keys = Object.keys(untrustedConfig_backgroundSource);
|
|
3255
|
+
for (let i = 0, arrayLength = untrustedConfig_backgroundSource_keys.length; i < arrayLength; i++) {
|
|
3256
|
+
const key = untrustedConfig_backgroundSource_keys[i];
|
|
3257
|
+
const untrustedConfig_backgroundSource_prop = untrustedConfig_backgroundSource[key];
|
|
3258
|
+
if (untrustedConfig_backgroundSource_object !== undefined) {
|
|
3259
|
+
untrustedConfig_backgroundSource_object[key] = untrustedConfig_backgroundSource_prop;
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
if (untrustedConfig_backgroundSource_object !== undefined && Object.keys(untrustedConfig_backgroundSource_object).length >= 0) {
|
|
3263
|
+
config.backgroundSource = untrustedConfig_backgroundSource_object;
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3234
3266
|
return config;
|
|
3235
3267
|
}
|
|
3236
3268
|
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
@@ -3543,6 +3575,7 @@ const updateDashboard_ConfigPropertyMetadata = [
|
|
|
3543
3575
|
generateParamConfigMetadata('layouts', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
3544
3576
|
generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3545
3577
|
generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3578
|
+
generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
|
|
3546
3579
|
];
|
|
3547
3580
|
const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, updateDashboard_ConfigPropertyMetadata);
|
|
3548
3581
|
const createResourceParams$Q = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
|
|
@@ -3588,6 +3621,21 @@ function typeCheckConfig$Q(untrustedConfig) {
|
|
|
3588
3621
|
config.style = untrustedConfig_style_object;
|
|
3589
3622
|
}
|
|
3590
3623
|
}
|
|
3624
|
+
const untrustedConfig_backgroundSource = untrustedConfig.backgroundSource;
|
|
3625
|
+
if (untrustedIsObject(untrustedConfig_backgroundSource)) {
|
|
3626
|
+
const untrustedConfig_backgroundSource_object = {};
|
|
3627
|
+
const untrustedConfig_backgroundSource_keys = Object.keys(untrustedConfig_backgroundSource);
|
|
3628
|
+
for (let i = 0, arrayLength = untrustedConfig_backgroundSource_keys.length; i < arrayLength; i++) {
|
|
3629
|
+
const key = untrustedConfig_backgroundSource_keys[i];
|
|
3630
|
+
const untrustedConfig_backgroundSource_prop = untrustedConfig_backgroundSource[key];
|
|
3631
|
+
if (untrustedConfig_backgroundSource_object !== undefined) {
|
|
3632
|
+
untrustedConfig_backgroundSource_object[key] = untrustedConfig_backgroundSource_prop;
|
|
3633
|
+
}
|
|
3634
|
+
}
|
|
3635
|
+
if (untrustedConfig_backgroundSource_object !== undefined && Object.keys(untrustedConfig_backgroundSource_object).length >= 0) {
|
|
3636
|
+
config.backgroundSource = untrustedConfig_backgroundSource_object;
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3591
3639
|
return config;
|
|
3592
3640
|
}
|
|
3593
3641
|
function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
|
|
@@ -6785,6 +6833,13 @@ function validate$G(obj, path = 'DataAssetRepresentation') {
|
|
|
6785
6833
|
if (typeof obj_assetType !== 'string') {
|
|
6786
6834
|
return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
|
|
6787
6835
|
}
|
|
6836
|
+
if (obj.assetTypeFingerprint !== undefined) {
|
|
6837
|
+
const obj_assetTypeFingerprint = obj.assetTypeFingerprint;
|
|
6838
|
+
const path_assetTypeFingerprint = path + '.assetTypeFingerprint';
|
|
6839
|
+
if (typeof obj_assetTypeFingerprint !== 'string') {
|
|
6840
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetTypeFingerprint + '" (at "' + path_assetTypeFingerprint + '")');
|
|
6841
|
+
}
|
|
6842
|
+
}
|
|
6788
6843
|
const obj_createdBy = obj.createdBy;
|
|
6789
6844
|
const path_createdBy = path + '.createdBy';
|
|
6790
6845
|
const referencepath_createdByValidationError = validate$P(obj_createdBy, path_createdBy);
|
|
@@ -6838,6 +6893,13 @@ function validate$G(obj, path = 'DataAssetRepresentation') {
|
|
|
6838
6893
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
6839
6894
|
}
|
|
6840
6895
|
}
|
|
6896
|
+
if (obj.isPrimaryAsset !== undefined) {
|
|
6897
|
+
const obj_isPrimaryAsset = obj.isPrimaryAsset;
|
|
6898
|
+
const path_isPrimaryAsset = path + '.isPrimaryAsset';
|
|
6899
|
+
if (typeof obj_isPrimaryAsset !== 'boolean') {
|
|
6900
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryAsset + '" (at "' + path_isPrimaryAsset + '")');
|
|
6901
|
+
}
|
|
6902
|
+
}
|
|
6841
6903
|
const obj_label = obj.label;
|
|
6842
6904
|
const path_label = path + '.label';
|
|
6843
6905
|
if (typeof obj_label !== 'string') {
|
|
@@ -6965,7 +7027,7 @@ function select$$(luvio, params) {
|
|
|
6965
7027
|
return select$10();
|
|
6966
7028
|
}
|
|
6967
7029
|
function keyBuilder$X(luvio, params) {
|
|
6968
|
-
return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
|
|
7030
|
+
return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'failOnSchemaMismatch:' + params.queryParams.failOnSchemaMismatch + ',' + 'assetId:' + params.urlParams.assetId + ')';
|
|
6969
7031
|
}
|
|
6970
7032
|
function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
|
|
6971
7033
|
getTypeCacheKeys$t(storeKeyMap, luvio, response, () => keyBuilder$X(luvio, resourceParams));
|
|
@@ -7017,6 +7079,7 @@ const adapterName$E = 'getDataAssetDependencies';
|
|
|
7017
7079
|
const getDataAssetDependencies_ConfigPropertyMetadata = [
|
|
7018
7080
|
generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7019
7081
|
generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
7082
|
+
generateParamConfigMetadata('failOnSchemaMismatch', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
7020
7083
|
];
|
|
7021
7084
|
const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getDataAssetDependencies_ConfigPropertyMetadata);
|
|
7022
7085
|
const createResourceParams$E = /*#__PURE__*/ createResourceParams$_(getDataAssetDependencies_ConfigPropertyMetadata);
|
|
@@ -19,6 +19,9 @@ export interface CreateDashboardConfig {
|
|
|
19
19
|
style?: {
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
};
|
|
22
|
+
backgroundSource?: {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
};
|
|
22
25
|
}
|
|
23
26
|
export declare const createResourceParams: (config: CreateDashboardConfig) => resources_postTableauDashboards_ResourceRequestConfig;
|
|
24
27
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDashboardConfig>): adapter$45$utils_Untrusted<CreateDashboardConfig>;
|
|
@@ -8,6 +8,7 @@ export declare const getDataAssetDependencies_ConfigPropertyNames: adapter$45$ut
|
|
|
8
8
|
export interface GetDataAssetDependenciesConfig {
|
|
9
9
|
assetId: string;
|
|
10
10
|
includeSynchronizationInfo?: boolean;
|
|
11
|
+
failOnSchemaMismatch?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare const createResourceParams: (config: GetDataAssetDependenciesConfig) => resources_getTableauDataAssetsDependenciesByAssetId_ResourceRequestConfig;
|
|
13
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDataAssetDependenciesConfig): string;
|
|
@@ -20,6 +20,9 @@ export interface UpdateDashboardConfig {
|
|
|
20
20
|
style?: {
|
|
21
21
|
[key: string]: unknown;
|
|
22
22
|
};
|
|
23
|
+
backgroundSource?: {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
};
|
|
23
26
|
}
|
|
24
27
|
export declare const createResourceParams: (config: UpdateDashboardConfig) => resources_patchTableauDashboardsByDashboardIdOrApiName_ResourceRequestConfig;
|
|
25
28
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateDashboardConfig>): adapter$45$utils_Untrusted<UpdateDashboardConfig>;
|
package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsDependenciesByAssetId.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
};
|
|
7
7
|
queryParams: {
|
|
8
8
|
includeSynchronizationInfo?: boolean;
|
|
9
|
+
failOnSchemaMismatch?: boolean;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -20,6 +20,9 @@ export interface ResourceRequestConfig {
|
|
|
20
20
|
style?: {
|
|
21
21
|
[key: string]: unknown;
|
|
22
22
|
};
|
|
23
|
+
backgroundSource?: {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
};
|
|
23
26
|
};
|
|
24
27
|
}
|
|
25
28
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -17,6 +17,9 @@ export interface ResourceRequestConfig {
|
|
|
17
17
|
style?: {
|
|
18
18
|
[key: string]: unknown;
|
|
19
19
|
};
|
|
20
|
+
backgroundSource?: {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
};
|
|
20
23
|
};
|
|
21
24
|
}
|
|
22
25
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "f0dd9e670e17de8e3a03b57bf8ca6bc0";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: DashboardInputRepresentation, existing: DashboardInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DashboardInputRepresentationNormalized;
|
|
@@ -14,6 +14,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface DashboardInputRepresentationNormalized {
|
|
17
|
+
/** Dashboard level background image source. */
|
|
18
|
+
backgroundSource?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
17
21
|
/** Description. */
|
|
18
22
|
description?: string;
|
|
19
23
|
/** Database id. */
|
|
@@ -42,6 +46,9 @@ export interface DashboardInputRepresentationNormalized {
|
|
|
42
46
|
* (none)
|
|
43
47
|
*/
|
|
44
48
|
export interface DashboardInputRepresentation {
|
|
49
|
+
backgroundSource?: {
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
};
|
|
45
52
|
description?: string;
|
|
46
53
|
id?: string;
|
|
47
54
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "48241522a2d9c05d07397ef0fdfbce4e";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -23,6 +23,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
23
23
|
* name (string): name
|
|
24
24
|
*/
|
|
25
25
|
export interface DashboardRepresentationNormalized {
|
|
26
|
+
/** Dashboard level background image source. */
|
|
27
|
+
backgroundSource?: {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
};
|
|
26
30
|
/** Created by of the asset. */
|
|
27
31
|
createdBy: unknown;
|
|
28
32
|
/** Created date of the asset */
|
|
@@ -61,6 +65,9 @@ export interface DashboardRepresentationNormalized {
|
|
|
61
65
|
* name (string): name
|
|
62
66
|
*/
|
|
63
67
|
export interface DashboardRepresentation {
|
|
68
|
+
backgroundSource?: {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
};
|
|
64
71
|
createdBy: unknown;
|
|
65
72
|
createdDate: string;
|
|
66
73
|
description?: string;
|
|
@@ -2,7 +2,7 @@ import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUse
|
|
|
2
2
|
import { DataSpaceInfoRepresentation as DataSpaceInfoRepresentation_DataSpaceInfoRepresentation } from './DataSpaceInfoRepresentation';
|
|
3
3
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "6abaabb80cff5ac2b0f50879ce3d5b75";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -30,6 +30,8 @@ export interface DataAssetRepresentationNormalized {
|
|
|
30
30
|
assetId: string;
|
|
31
31
|
/** Type of the DataAsset */
|
|
32
32
|
assetType: string;
|
|
33
|
+
/** Schema fingerprint of the asset type of the DataAsset */
|
|
34
|
+
assetTypeFingerprint?: string;
|
|
33
35
|
/** Created by of the DataAsset. */
|
|
34
36
|
createdBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
|
|
35
37
|
/** Created date of the DataAsset */
|
|
@@ -42,6 +44,8 @@ export interface DataAssetRepresentationNormalized {
|
|
|
42
44
|
description?: string;
|
|
43
45
|
/** DataAsset id. */
|
|
44
46
|
id?: string;
|
|
47
|
+
/** Whether the DataAsset is the primary asset in a list of data asset dependencies */
|
|
48
|
+
isPrimaryAsset?: boolean;
|
|
45
49
|
/** Label of the DataAsset. */
|
|
46
50
|
label: string;
|
|
47
51
|
/** Last modified by of the DataAsset. */
|
|
@@ -64,12 +68,14 @@ export interface DataAssetRepresentationNormalized {
|
|
|
64
68
|
export interface DataAssetRepresentation {
|
|
65
69
|
assetId: string;
|
|
66
70
|
assetType: string;
|
|
71
|
+
assetTypeFingerprint?: string;
|
|
67
72
|
createdBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
|
|
68
73
|
createdDate?: string;
|
|
69
74
|
createdWorkspace?: string;
|
|
70
75
|
dataSpaceInfo?: Array<DataSpaceInfoRepresentation_DataSpaceInfoRepresentation>;
|
|
71
76
|
description?: string;
|
|
72
77
|
id?: string;
|
|
78
|
+
isPrimaryAsset?: boolean;
|
|
73
79
|
label: string;
|
|
74
80
|
lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
|
|
75
81
|
lastModifiedDate: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.414.1",
|
|
4
4
|
"description": "Tableau Unified Analytics Platform",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/analytics-unifiedanalytics.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.414.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.414.1"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1943,12 +1943,28 @@ const createAssetSlackChannelAdapterFactory = (luvio) => {
|
|
|
1943
1943
|
};
|
|
1944
1944
|
};
|
|
1945
1945
|
|
|
1946
|
-
const VERSION$E = "
|
|
1946
|
+
const VERSION$E = "48241522a2d9c05d07397ef0fdfbce4e";
|
|
1947
1947
|
function validate$1d(obj, path = 'DashboardRepresentation') {
|
|
1948
1948
|
const v_error = (() => {
|
|
1949
1949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1950
1950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1951
1951
|
}
|
|
1952
|
+
if (obj.backgroundSource !== undefined) {
|
|
1953
|
+
const obj_backgroundSource = obj.backgroundSource;
|
|
1954
|
+
const path_backgroundSource = path + '.backgroundSource';
|
|
1955
|
+
if (typeof obj_backgroundSource !== 'object' || ArrayIsArray(obj_backgroundSource) || obj_backgroundSource === null) {
|
|
1956
|
+
return new TypeError('Expected "object" but received "' + typeof obj_backgroundSource + '" (at "' + path_backgroundSource + '")');
|
|
1957
|
+
}
|
|
1958
|
+
const obj_backgroundSource_keys = ObjectKeys(obj_backgroundSource);
|
|
1959
|
+
for (let i = 0; i < obj_backgroundSource_keys.length; i++) {
|
|
1960
|
+
const key = obj_backgroundSource_keys[i];
|
|
1961
|
+
const obj_backgroundSource_prop = obj_backgroundSource[key];
|
|
1962
|
+
const path_backgroundSource_prop = path_backgroundSource + '["' + key + '"]';
|
|
1963
|
+
if (obj_backgroundSource_prop === undefined) {
|
|
1964
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_backgroundSource_prop + '" (at "' + path_backgroundSource_prop + '")');
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1952
1968
|
const obj_createdBy = obj.createdBy;
|
|
1953
1969
|
const path_createdBy = path + '.createdBy';
|
|
1954
1970
|
if (obj_createdBy === undefined) {
|
|
@@ -2149,6 +2165,7 @@ const createDashboard_ConfigPropertyMetadata = [
|
|
|
2149
2165
|
generateParamConfigMetadata('layouts', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
2150
2166
|
generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2151
2167
|
generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2168
|
+
generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
|
|
2152
2169
|
];
|
|
2153
2170
|
const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, createDashboard_ConfigPropertyMetadata);
|
|
2154
2171
|
const createResourceParams$X = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
|
|
@@ -2194,6 +2211,21 @@ function typeCheckConfig$X(untrustedConfig) {
|
|
|
2194
2211
|
config.style = untrustedConfig_style_object;
|
|
2195
2212
|
}
|
|
2196
2213
|
}
|
|
2214
|
+
const untrustedConfig_backgroundSource = untrustedConfig.backgroundSource;
|
|
2215
|
+
if (untrustedIsObject(untrustedConfig_backgroundSource)) {
|
|
2216
|
+
const untrustedConfig_backgroundSource_object = {};
|
|
2217
|
+
const untrustedConfig_backgroundSource_keys = Object.keys(untrustedConfig_backgroundSource);
|
|
2218
|
+
for (let i = 0, arrayLength = untrustedConfig_backgroundSource_keys.length; i < arrayLength; i++) {
|
|
2219
|
+
const key = untrustedConfig_backgroundSource_keys[i];
|
|
2220
|
+
const untrustedConfig_backgroundSource_prop = untrustedConfig_backgroundSource[key];
|
|
2221
|
+
if (untrustedConfig_backgroundSource_object !== undefined) {
|
|
2222
|
+
untrustedConfig_backgroundSource_object[key] = untrustedConfig_backgroundSource_prop;
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
if (untrustedConfig_backgroundSource_object !== undefined && Object.keys(untrustedConfig_backgroundSource_object).length >= 0) {
|
|
2226
|
+
config.backgroundSource = untrustedConfig_backgroundSource_object;
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2197
2229
|
return config;
|
|
2198
2230
|
}
|
|
2199
2231
|
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
@@ -8215,6 +8247,13 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
8215
8247
|
if (typeof obj_assetType !== 'string') {
|
|
8216
8248
|
return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
|
|
8217
8249
|
}
|
|
8250
|
+
if (obj.assetTypeFingerprint !== undefined) {
|
|
8251
|
+
const obj_assetTypeFingerprint = obj.assetTypeFingerprint;
|
|
8252
|
+
const path_assetTypeFingerprint = path + '.assetTypeFingerprint';
|
|
8253
|
+
if (typeof obj_assetTypeFingerprint !== 'string') {
|
|
8254
|
+
return new TypeError('Expected "string" but received "' + typeof obj_assetTypeFingerprint + '" (at "' + path_assetTypeFingerprint + '")');
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8218
8257
|
const obj_createdBy = obj.createdBy;
|
|
8219
8258
|
const path_createdBy = path + '.createdBy';
|
|
8220
8259
|
const referencepath_createdByValidationError = validate$X(obj_createdBy, path_createdBy);
|
|
@@ -8268,6 +8307,13 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
|
|
|
8268
8307
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8269
8308
|
}
|
|
8270
8309
|
}
|
|
8310
|
+
if (obj.isPrimaryAsset !== undefined) {
|
|
8311
|
+
const obj_isPrimaryAsset = obj.isPrimaryAsset;
|
|
8312
|
+
const path_isPrimaryAsset = path + '.isPrimaryAsset';
|
|
8313
|
+
if (typeof obj_isPrimaryAsset !== 'boolean') {
|
|
8314
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryAsset + '" (at "' + path_isPrimaryAsset + '")');
|
|
8315
|
+
}
|
|
8316
|
+
}
|
|
8271
8317
|
const obj_label = obj.label;
|
|
8272
8318
|
const path_label = path + '.label';
|
|
8273
8319
|
if (typeof obj_label !== 'string') {
|
|
@@ -8395,7 +8441,7 @@ function select$U(luvio, params) {
|
|
|
8395
8441
|
return select$V();
|
|
8396
8442
|
}
|
|
8397
8443
|
function keyBuilder$P(luvio, params) {
|
|
8398
|
-
return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
|
|
8444
|
+
return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'failOnSchemaMismatch:' + params.queryParams.failOnSchemaMismatch + ',' + 'assetId:' + params.urlParams.assetId + ')';
|
|
8399
8445
|
}
|
|
8400
8446
|
function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
|
|
8401
8447
|
getTypeCacheKeys$n(storeKeyMap, luvio, response, () => keyBuilder$P(luvio, resourceParams));
|
|
@@ -8447,6 +8493,7 @@ const adapterName$y = 'getDataAssetDependencies';
|
|
|
8447
8493
|
const getDataAssetDependencies_ConfigPropertyMetadata = [
|
|
8448
8494
|
generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
8449
8495
|
generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
8496
|
+
generateParamConfigMetadata('failOnSchemaMismatch', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
8450
8497
|
];
|
|
8451
8498
|
const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getDataAssetDependencies_ConfigPropertyMetadata);
|
|
8452
8499
|
const createResourceParams$y = /*#__PURE__*/ createResourceParams$_(getDataAssetDependencies_ConfigPropertyMetadata);
|
|
@@ -14372,6 +14419,7 @@ const updateDashboard_ConfigPropertyMetadata = [
|
|
|
14372
14419
|
generateParamConfigMetadata('layouts', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
14373
14420
|
generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
|
|
14374
14421
|
generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
|
|
14422
|
+
generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
|
|
14375
14423
|
];
|
|
14376
14424
|
const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateDashboard_ConfigPropertyMetadata);
|
|
14377
14425
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
|
|
@@ -14417,6 +14465,21 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
14417
14465
|
config.style = untrustedConfig_style_object;
|
|
14418
14466
|
}
|
|
14419
14467
|
}
|
|
14468
|
+
const untrustedConfig_backgroundSource = untrustedConfig.backgroundSource;
|
|
14469
|
+
if (untrustedIsObject(untrustedConfig_backgroundSource)) {
|
|
14470
|
+
const untrustedConfig_backgroundSource_object = {};
|
|
14471
|
+
const untrustedConfig_backgroundSource_keys = Object.keys(untrustedConfig_backgroundSource);
|
|
14472
|
+
for (let i = 0, arrayLength = untrustedConfig_backgroundSource_keys.length; i < arrayLength; i++) {
|
|
14473
|
+
const key = untrustedConfig_backgroundSource_keys[i];
|
|
14474
|
+
const untrustedConfig_backgroundSource_prop = untrustedConfig_backgroundSource[key];
|
|
14475
|
+
if (untrustedConfig_backgroundSource_object !== undefined) {
|
|
14476
|
+
untrustedConfig_backgroundSource_object[key] = untrustedConfig_backgroundSource_prop;
|
|
14477
|
+
}
|
|
14478
|
+
}
|
|
14479
|
+
if (untrustedConfig_backgroundSource_object !== undefined && Object.keys(untrustedConfig_backgroundSource_object).length >= 0) {
|
|
14480
|
+
config.backgroundSource = untrustedConfig_backgroundSource_object;
|
|
14481
|
+
}
|
|
14482
|
+
}
|
|
14420
14483
|
return config;
|
|
14421
14484
|
}
|
|
14422
14485
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -15741,4 +15804,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15741
15804
|
});
|
|
15742
15805
|
|
|
15743
15806
|
export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, generateSFDrivePresignedCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getDataAlert, getDataAlertCollection, getDataAlertCollection_imperative, getDataAlertNotifyChange, getDataAlert_imperative, getDataAssetDependencies, getDataAssetDependencies_imperative, getDataAssetRequestByIdOrApiName, getDataAssetRequestByIdOrApiNameNotifyChange, getDataAssetRequestByIdOrApiName_imperative, getDataAssetRequests, getDataAssetRequestsCount, getDataAssetRequestsCount_imperative, getDataAssetRequests_imperative, getFlowByName, getFlowByName_imperative, getFlows, getFlows_imperative, getFollowedAssets, getFollowedAssets_imperative, getFollowers, getFollowers_imperative, getMarketplaceListingInstallationProgress, getMarketplaceListingInstallationProgress_imperative, getOrg, getOrg_imperative, getShares, getShares_imperative, getSlackAppInfo, getSlackAppInfo_imperative, getSubscriptionDigestConfig, getSubscriptionDigestConfigNotifyChange, getSubscriptionDigestConfig_imperative, getUnifiedAnalyticsLibraryAssets, getUniqueFollowerCount, getUniqueFollowerCount_imperative, getVisualization, getVisualizationBundle, getVisualizationBundleNotifyChange, getVisualizationBundle_imperative, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaceByIdOrName, getWorkspaceByIdOrNameNotifyChange, getWorkspaceByIdOrName_imperative, getWorkspaces, getWorkspaces_imperative, initiateMarketplaceListingInstallation, initiateMarketplaceListingInstallation_imperative, notifySharesUpdateAvailable, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
15744
|
-
// version: 1.
|
|
15807
|
+
// version: 1.414.1-06354ce124
|
package/src/raml/api.raml
CHANGED
|
@@ -949,6 +949,13 @@ types:
|
|
|
949
949
|
properties:
|
|
950
950
|
//:
|
|
951
951
|
type: any
|
|
952
|
+
backgroundSource:
|
|
953
|
+
description: Dashboard level background image source.
|
|
954
|
+
type: object
|
|
955
|
+
required: false
|
|
956
|
+
properties:
|
|
957
|
+
//:
|
|
958
|
+
type: any
|
|
952
959
|
DashboardRepresentation:
|
|
953
960
|
description: Unified analytics dashboard representation.
|
|
954
961
|
discriminator: id
|
|
@@ -1006,6 +1013,13 @@ types:
|
|
|
1006
1013
|
properties:
|
|
1007
1014
|
//:
|
|
1008
1015
|
type: any
|
|
1016
|
+
backgroundSource:
|
|
1017
|
+
description: Dashboard level background image source.
|
|
1018
|
+
type: object
|
|
1019
|
+
required: false
|
|
1020
|
+
properties:
|
|
1021
|
+
//:
|
|
1022
|
+
type: any
|
|
1009
1023
|
DataAssetDependentCollectionRepresentation:
|
|
1010
1024
|
description: Represents a List of dependent assets for a given asset
|
|
1011
1025
|
type: object
|
|
@@ -1087,6 +1101,14 @@ types:
|
|
|
1087
1101
|
items:
|
|
1088
1102
|
type: DataSpaceInfoRepresentation
|
|
1089
1103
|
required: false
|
|
1104
|
+
isPrimaryAsset:
|
|
1105
|
+
description: Whether the DataAsset is the primary asset in a list of data asset dependencies
|
|
1106
|
+
type: boolean
|
|
1107
|
+
required: false
|
|
1108
|
+
assetTypeFingerprint:
|
|
1109
|
+
description: Schema fingerprint of the asset type of the DataAsset
|
|
1110
|
+
type: string
|
|
1111
|
+
required: false
|
|
1090
1112
|
DataAssetRequestCollectionRepresentation:
|
|
1091
1113
|
description: Collection of Data Asset Requests
|
|
1092
1114
|
type: object
|
|
@@ -1899,8 +1921,9 @@ types:
|
|
|
1899
1921
|
description: Overall progress status of a task
|
|
1900
1922
|
type: string | nil
|
|
1901
1923
|
enum:
|
|
1902
|
-
-
|
|
1924
|
+
- CreationInProgress
|
|
1903
1925
|
- InReview
|
|
1926
|
+
- MigrationInProgress
|
|
1904
1927
|
- NotStarted
|
|
1905
1928
|
- Terminal
|
|
1906
1929
|
DataSpaceInfoRepresentation:
|
|
@@ -3446,6 +3469,10 @@ types:
|
|
|
3446
3469
|
type: boolean
|
|
3447
3470
|
required: false
|
|
3448
3471
|
description: Include synchronization information in the response
|
|
3472
|
+
failOnSchemaMismatch:
|
|
3473
|
+
type: boolean
|
|
3474
|
+
required: false
|
|
3475
|
+
description: Perform asset type schema mismatch validation and include schema fingerprint in the response
|
|
3449
3476
|
responses:
|
|
3450
3477
|
'200':
|
|
3451
3478
|
description: Success
|