@salesforce/lds-adapters-analytics-unifiedanalytics 1.404.0-dev7 → 1.404.0-dev9

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.
@@ -2751,12 +2751,28 @@ const queryAssetsAdapterFactory = (luvio) => {
2751
2751
  };
2752
2752
  };
2753
2753
 
2754
- const VERSION$B = "948ac50067b64bee8680b553b1e19a09";
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) {
@@ -6787,6 +6835,13 @@ function validate$G(obj, path = 'DataAssetRepresentation') {
6787
6835
  if (typeof obj_assetType !== 'string') {
6788
6836
  return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
6789
6837
  }
6838
+ if (obj.assetTypeFingerprint !== undefined) {
6839
+ const obj_assetTypeFingerprint = obj.assetTypeFingerprint;
6840
+ const path_assetTypeFingerprint = path + '.assetTypeFingerprint';
6841
+ if (typeof obj_assetTypeFingerprint !== 'string') {
6842
+ return new TypeError('Expected "string" but received "' + typeof obj_assetTypeFingerprint + '" (at "' + path_assetTypeFingerprint + '")');
6843
+ }
6844
+ }
6790
6845
  const obj_createdBy = obj.createdBy;
6791
6846
  const path_createdBy = path + '.createdBy';
6792
6847
  const referencepath_createdByValidationError = validate$P(obj_createdBy, path_createdBy);
@@ -6840,6 +6895,13 @@ function validate$G(obj, path = 'DataAssetRepresentation') {
6840
6895
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
6841
6896
  }
6842
6897
  }
6898
+ if (obj.isPrimaryAsset !== undefined) {
6899
+ const obj_isPrimaryAsset = obj.isPrimaryAsset;
6900
+ const path_isPrimaryAsset = path + '.isPrimaryAsset';
6901
+ if (typeof obj_isPrimaryAsset !== 'boolean') {
6902
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryAsset + '" (at "' + path_isPrimaryAsset + '")');
6903
+ }
6904
+ }
6843
6905
  const obj_label = obj.label;
6844
6906
  const path_label = path + '.label';
6845
6907
  if (typeof obj_label !== 'string') {
@@ -6899,7 +6961,7 @@ function validate$F(obj, path = 'DataAssetDependentRepresentation') {
6899
6961
  }
6900
6962
 
6901
6963
  const TTL$i = 500;
6902
- const VERSION$t = "bc1bcd1c96c7c70c3cde837dafdafaba";
6964
+ const VERSION$t = "a7e542d6800dd912fc3893a5acf78e91";
6903
6965
  function validate$E(obj, path = 'DataAssetDependentCollectionRepresentation') {
6904
6966
  const v_error = (() => {
6905
6967
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6920,6 +6982,13 @@ function validate$E(obj, path = 'DataAssetDependentCollectionRepresentation') {
6920
6982
  return new TypeError(message);
6921
6983
  }
6922
6984
  }
6985
+ if (obj.sourceOrgType !== undefined) {
6986
+ const obj_sourceOrgType = obj.sourceOrgType;
6987
+ const path_sourceOrgType = path + '.sourceOrgType';
6988
+ if (typeof obj_sourceOrgType !== 'string') {
6989
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceOrgType + '" (at "' + path_sourceOrgType + '")');
6990
+ }
6991
+ }
6923
6992
  })();
6924
6993
  return v_error === undefined ? null : v_error;
6925
6994
  }
@@ -6967,7 +7036,7 @@ function select$$(luvio, params) {
6967
7036
  return select$10();
6968
7037
  }
6969
7038
  function keyBuilder$X(luvio, params) {
6970
- return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
7039
+ return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'failOnSchemaMismatch:' + params.queryParams.failOnSchemaMismatch + ',' + 'assetId:' + params.urlParams.assetId + ')';
6971
7040
  }
6972
7041
  function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
6973
7042
  getTypeCacheKeys$t(storeKeyMap, luvio, response, () => keyBuilder$X(luvio, resourceParams));
@@ -7019,6 +7088,7 @@ const adapterName$E = 'getDataAssetDependencies';
7019
7088
  const getDataAssetDependencies_ConfigPropertyMetadata = [
7020
7089
  generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
7021
7090
  generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
7091
+ generateParamConfigMetadata('failOnSchemaMismatch', false, 1 /* QueryParameter */, 1 /* Boolean */),
7022
7092
  ];
7023
7093
  const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getDataAssetDependencies_ConfigPropertyMetadata);
7024
7094
  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>;
@@ -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 = "8c79832df59a7c768d58283360207b4b";
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 = "948ac50067b64bee8680b553b1e19a09";
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;
@@ -1,7 +1,7 @@
1
1
  import { DataAssetDependentRepresentation as DataAssetDependentRepresentation_DataAssetDependentRepresentation } from './DataAssetDependentRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
3
  export declare const TTL = 500;
4
- export declare const VERSION = "bc1bcd1c96c7c70c3cde837dafdafaba";
4
+ export declare const VERSION = "a7e542d6800dd912fc3893a5acf78e91";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: DataAssetDependentCollectionRepresentation, existing: DataAssetDependentCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataAssetDependentCollectionRepresentationNormalized;
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  export interface DataAssetDependentCollectionRepresentationNormalized {
19
19
  /** Array of Dependent Assets */
20
20
  dependentDataAssets: Array<$64$luvio_engine_StoreLink>;
21
+ /** Type of the org from which the request originates */
22
+ sourceOrgType?: string;
21
23
  }
22
24
  /**
23
25
  * Represents a List of dependent assets for a given asset
@@ -27,4 +29,5 @@ export interface DataAssetDependentCollectionRepresentationNormalized {
27
29
  */
28
30
  export interface DataAssetDependentCollectionRepresentation {
29
31
  dependentDataAssets: Array<DataAssetDependentRepresentation_DataAssetDependentRepresentation>;
32
+ sourceOrgType?: string;
30
33
  }
@@ -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 = "134770c1d9615b1dc86453d641a15b2e";
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.404.0-dev7",
3
+ "version": "1.404.0-dev9",
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.404.0-dev7"
43
+ "@salesforce/lds-bindings": "^1.404.0-dev9"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.404.0-dev7"
46
+ "@salesforce/lds-compiler-plugins": "^1.404.0-dev9"
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 = "948ac50067b64bee8680b553b1e19a09";
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) {
@@ -8217,6 +8249,13 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
8217
8249
  if (typeof obj_assetType !== 'string') {
8218
8250
  return new TypeError('Expected "string" but received "' + typeof obj_assetType + '" (at "' + path_assetType + '")');
8219
8251
  }
8252
+ if (obj.assetTypeFingerprint !== undefined) {
8253
+ const obj_assetTypeFingerprint = obj.assetTypeFingerprint;
8254
+ const path_assetTypeFingerprint = path + '.assetTypeFingerprint';
8255
+ if (typeof obj_assetTypeFingerprint !== 'string') {
8256
+ return new TypeError('Expected "string" but received "' + typeof obj_assetTypeFingerprint + '" (at "' + path_assetTypeFingerprint + '")');
8257
+ }
8258
+ }
8220
8259
  const obj_createdBy = obj.createdBy;
8221
8260
  const path_createdBy = path + '.createdBy';
8222
8261
  const referencepath_createdByValidationError = validate$X(obj_createdBy, path_createdBy);
@@ -8270,6 +8309,13 @@ function validate$w(obj, path = 'DataAssetRepresentation') {
8270
8309
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
8271
8310
  }
8272
8311
  }
8312
+ if (obj.isPrimaryAsset !== undefined) {
8313
+ const obj_isPrimaryAsset = obj.isPrimaryAsset;
8314
+ const path_isPrimaryAsset = path + '.isPrimaryAsset';
8315
+ if (typeof obj_isPrimaryAsset !== 'boolean') {
8316
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryAsset + '" (at "' + path_isPrimaryAsset + '")');
8317
+ }
8318
+ }
8273
8319
  const obj_label = obj.label;
8274
8320
  const path_label = path + '.label';
8275
8321
  if (typeof obj_label !== 'string') {
@@ -8329,7 +8375,7 @@ function validate$v(obj, path = 'DataAssetDependentRepresentation') {
8329
8375
  }
8330
8376
 
8331
8377
  const TTL$f = 500;
8332
- const VERSION$n = "bc1bcd1c96c7c70c3cde837dafdafaba";
8378
+ const VERSION$n = "a7e542d6800dd912fc3893a5acf78e91";
8333
8379
  function validate$u(obj, path = 'DataAssetDependentCollectionRepresentation') {
8334
8380
  const v_error = (() => {
8335
8381
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8350,6 +8396,13 @@ function validate$u(obj, path = 'DataAssetDependentCollectionRepresentation') {
8350
8396
  return new TypeError(message);
8351
8397
  }
8352
8398
  }
8399
+ if (obj.sourceOrgType !== undefined) {
8400
+ const obj_sourceOrgType = obj.sourceOrgType;
8401
+ const path_sourceOrgType = path + '.sourceOrgType';
8402
+ if (typeof obj_sourceOrgType !== 'string') {
8403
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceOrgType + '" (at "' + path_sourceOrgType + '")');
8404
+ }
8405
+ }
8353
8406
  })();
8354
8407
  return v_error === undefined ? null : v_error;
8355
8408
  }
@@ -8397,7 +8450,7 @@ function select$U(luvio, params) {
8397
8450
  return select$V();
8398
8451
  }
8399
8452
  function keyBuilder$P(luvio, params) {
8400
- return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
8453
+ return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'failOnSchemaMismatch:' + params.queryParams.failOnSchemaMismatch + ',' + 'assetId:' + params.urlParams.assetId + ')';
8401
8454
  }
8402
8455
  function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
8403
8456
  getTypeCacheKeys$n(storeKeyMap, luvio, response, () => keyBuilder$P(luvio, resourceParams));
@@ -8449,6 +8502,7 @@ const adapterName$y = 'getDataAssetDependencies';
8449
8502
  const getDataAssetDependencies_ConfigPropertyMetadata = [
8450
8503
  generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
8451
8504
  generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
8505
+ generateParamConfigMetadata('failOnSchemaMismatch', false, 1 /* QueryParameter */, 1 /* Boolean */),
8452
8506
  ];
8453
8507
  const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getDataAssetDependencies_ConfigPropertyMetadata);
8454
8508
  const createResourceParams$y = /*#__PURE__*/ createResourceParams$_(getDataAssetDependencies_ConfigPropertyMetadata);
@@ -14374,6 +14428,7 @@ const updateDashboard_ConfigPropertyMetadata = [
14374
14428
  generateParamConfigMetadata('layouts', true, 2 /* Body */, 4 /* Unsupported */, true),
14375
14429
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
14376
14430
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
14431
+ generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
14377
14432
  ];
14378
14433
  const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateDashboard_ConfigPropertyMetadata);
14379
14434
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
@@ -14419,6 +14474,21 @@ function typeCheckConfig$7(untrustedConfig) {
14419
14474
  config.style = untrustedConfig_style_object;
14420
14475
  }
14421
14476
  }
14477
+ const untrustedConfig_backgroundSource = untrustedConfig.backgroundSource;
14478
+ if (untrustedIsObject(untrustedConfig_backgroundSource)) {
14479
+ const untrustedConfig_backgroundSource_object = {};
14480
+ const untrustedConfig_backgroundSource_keys = Object.keys(untrustedConfig_backgroundSource);
14481
+ for (let i = 0, arrayLength = untrustedConfig_backgroundSource_keys.length; i < arrayLength; i++) {
14482
+ const key = untrustedConfig_backgroundSource_keys[i];
14483
+ const untrustedConfig_backgroundSource_prop = untrustedConfig_backgroundSource[key];
14484
+ if (untrustedConfig_backgroundSource_object !== undefined) {
14485
+ untrustedConfig_backgroundSource_object[key] = untrustedConfig_backgroundSource_prop;
14486
+ }
14487
+ }
14488
+ if (untrustedConfig_backgroundSource_object !== undefined && Object.keys(untrustedConfig_backgroundSource_object).length >= 0) {
14489
+ config.backgroundSource = untrustedConfig_backgroundSource_object;
14490
+ }
14491
+ }
14422
14492
  return config;
14423
14493
  }
14424
14494
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -15743,4 +15813,4 @@ withDefaultLuvio((luvio) => {
15743
15813
  });
15744
15814
 
15745
15815
  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 };
15746
- // version: 1.404.0-dev7-7d4ca687f7
15816
+ // version: 1.404.0-dev9-2a4f3180c5
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
@@ -1015,6 +1029,13 @@ types:
1015
1029
  type: array
1016
1030
  items:
1017
1031
  type: DataAssetDependentRepresentation
1032
+ sourceOrgType:
1033
+ description: Type of the org from which the request originates
1034
+ type: string
1035
+ required: false
1036
+ enum:
1037
+ - Companion
1038
+ - Home
1018
1039
  DataAssetDependentRepresentation:
1019
1040
  description: Represents a Dependent asset
1020
1041
  type: object
@@ -1087,6 +1108,14 @@ types:
1087
1108
  items:
1088
1109
  type: DataSpaceInfoRepresentation
1089
1110
  required: false
1111
+ isPrimaryAsset:
1112
+ description: Whether the DataAsset is the primary asset in a list of data asset dependencies
1113
+ type: boolean
1114
+ required: false
1115
+ assetTypeFingerprint:
1116
+ description: Schema fingerprint of the asset type of the DataAsset
1117
+ type: string
1118
+ required: false
1090
1119
  DataAssetRequestCollectionRepresentation:
1091
1120
  description: Collection of Data Asset Requests
1092
1121
  type: object
@@ -1899,8 +1928,9 @@ types:
1899
1928
  description: Overall progress status of a task
1900
1929
  type: string | nil
1901
1930
  enum:
1902
- - InProgress
1931
+ - CreationInProgress
1903
1932
  - InReview
1933
+ - MigrationInProgress
1904
1934
  - NotStarted
1905
1935
  - Terminal
1906
1936
  required: false
@@ -3447,6 +3477,10 @@ types:
3447
3477
  type: boolean
3448
3478
  required: false
3449
3479
  description: Include synchronization information in the response
3480
+ failOnSchemaMismatch:
3481
+ type: boolean
3482
+ required: false
3483
+ description: Perform asset type schema mismatch validation and include schema fingerprint in the response
3450
3484
  responses:
3451
3485
  '200':
3452
3486
  description: Success