@salesforce/lds-adapters-analytics-unifiedanalytics 1.428.0-dev1 → 1.428.0

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,7 +2751,7 @@ const queryAssetsAdapterFactory = (luvio) => {
2751
2751
  };
2752
2752
  };
2753
2753
 
2754
- const VERSION$B = "581903d233184a85957cb2aa527b0d33";
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) {
@@ -2783,22 +2783,6 @@ function validate$17(obj, path = 'DashboardRepresentation') {
2783
2783
  if (typeof obj_createdDate !== 'string') {
2784
2784
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
2785
2785
  }
2786
- if (obj.customConfig !== undefined) {
2787
- const obj_customConfig = obj.customConfig;
2788
- const path_customConfig = path + '.customConfig';
2789
- if (typeof obj_customConfig !== 'object' || ArrayIsArray(obj_customConfig) || obj_customConfig === null) {
2790
- return new TypeError('Expected "object" but received "' + typeof obj_customConfig + '" (at "' + path_customConfig + '")');
2791
- }
2792
- const obj_customConfig_keys = ObjectKeys(obj_customConfig);
2793
- for (let i = 0; i < obj_customConfig_keys.length; i++) {
2794
- const key = obj_customConfig_keys[i];
2795
- const obj_customConfig_prop = obj_customConfig[key];
2796
- const path_customConfig_prop = path_customConfig + '["' + key + '"]';
2797
- if (obj_customConfig_prop === undefined) {
2798
- return new TypeError('Expected "defined" but received "' + typeof obj_customConfig_prop + '" (at "' + path_customConfig_prop + '")');
2799
- }
2800
- }
2801
- }
2802
2786
  if (obj.description !== undefined) {
2803
2787
  const obj_description = obj.description;
2804
2788
  const path_description = path + '.description';
@@ -3219,7 +3203,6 @@ const createDashboard_ConfigPropertyMetadata = [
3219
3203
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3220
3204
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3221
3205
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
3222
- generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
3223
3206
  ];
3224
3207
  const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, createDashboard_ConfigPropertyMetadata);
3225
3208
  const createResourceParams$T = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
@@ -3280,21 +3263,6 @@ function typeCheckConfig$T(untrustedConfig) {
3280
3263
  config.backgroundSource = untrustedConfig_backgroundSource_object;
3281
3264
  }
3282
3265
  }
3283
- const untrustedConfig_customConfig = untrustedConfig.customConfig;
3284
- if (untrustedIsObject(untrustedConfig_customConfig)) {
3285
- const untrustedConfig_customConfig_object = {};
3286
- const untrustedConfig_customConfig_keys = Object.keys(untrustedConfig_customConfig);
3287
- for (let i = 0, arrayLength = untrustedConfig_customConfig_keys.length; i < arrayLength; i++) {
3288
- const key = untrustedConfig_customConfig_keys[i];
3289
- const untrustedConfig_customConfig_prop = untrustedConfig_customConfig[key];
3290
- if (untrustedConfig_customConfig_object !== undefined) {
3291
- untrustedConfig_customConfig_object[key] = untrustedConfig_customConfig_prop;
3292
- }
3293
- }
3294
- if (untrustedConfig_customConfig_object !== undefined && Object.keys(untrustedConfig_customConfig_object).length >= 0) {
3295
- config.customConfig = untrustedConfig_customConfig_object;
3296
- }
3297
- }
3298
3266
  return config;
3299
3267
  }
3300
3268
  function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
@@ -3608,7 +3576,6 @@ const updateDashboard_ConfigPropertyMetadata = [
3608
3576
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3609
3577
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3610
3578
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
3611
- generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
3612
3579
  ];
3613
3580
  const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, updateDashboard_ConfigPropertyMetadata);
3614
3581
  const createResourceParams$Q = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
@@ -3669,21 +3636,6 @@ function typeCheckConfig$Q(untrustedConfig) {
3669
3636
  config.backgroundSource = untrustedConfig_backgroundSource_object;
3670
3637
  }
3671
3638
  }
3672
- const untrustedConfig_customConfig = untrustedConfig.customConfig;
3673
- if (untrustedIsObject(untrustedConfig_customConfig)) {
3674
- const untrustedConfig_customConfig_object = {};
3675
- const untrustedConfig_customConfig_keys = Object.keys(untrustedConfig_customConfig);
3676
- for (let i = 0, arrayLength = untrustedConfig_customConfig_keys.length; i < arrayLength; i++) {
3677
- const key = untrustedConfig_customConfig_keys[i];
3678
- const untrustedConfig_customConfig_prop = untrustedConfig_customConfig[key];
3679
- if (untrustedConfig_customConfig_object !== undefined) {
3680
- untrustedConfig_customConfig_object[key] = untrustedConfig_customConfig_prop;
3681
- }
3682
- }
3683
- if (untrustedConfig_customConfig_object !== undefined && Object.keys(untrustedConfig_customConfig_object).length >= 0) {
3684
- config.customConfig = untrustedConfig_customConfig_object;
3685
- }
3686
- }
3687
3639
  return config;
3688
3640
  }
3689
3641
  function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
@@ -22,9 +22,6 @@ export interface CreateDashboardConfig {
22
22
  backgroundSource?: {
23
23
  [key: string]: unknown;
24
24
  };
25
- customConfig?: {
26
- [key: string]: unknown;
27
- };
28
25
  }
29
26
  export declare const createResourceParams: (config: CreateDashboardConfig) => resources_postTableauDashboards_ResourceRequestConfig;
30
27
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDashboardConfig>): adapter$45$utils_Untrusted<CreateDashboardConfig>;
@@ -23,9 +23,6 @@ export interface UpdateDashboardConfig {
23
23
  backgroundSource?: {
24
24
  [key: string]: unknown;
25
25
  };
26
- customConfig?: {
27
- [key: string]: unknown;
28
- };
29
26
  }
30
27
  export declare const createResourceParams: (config: UpdateDashboardConfig) => resources_patchTableauDashboardsByDashboardIdOrApiName_ResourceRequestConfig;
31
28
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateDashboardConfig>): adapter$45$utils_Untrusted<UpdateDashboardConfig>;
@@ -23,9 +23,6 @@ export interface ResourceRequestConfig {
23
23
  backgroundSource?: {
24
24
  [key: string]: unknown;
25
25
  };
26
- customConfig?: {
27
- [key: string]: unknown;
28
- };
29
26
  };
30
27
  }
31
28
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -20,9 +20,6 @@ export interface ResourceRequestConfig {
20
20
  backgroundSource?: {
21
21
  [key: string]: unknown;
22
22
  };
23
- customConfig?: {
24
- [key: string]: unknown;
25
- };
26
23
  };
27
24
  }
28
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 = "77afdc4d4f6a4ce9eadb90f26b594e7d";
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;
@@ -18,10 +18,6 @@ export interface DashboardInputRepresentationNormalized {
18
18
  backgroundSource?: {
19
19
  [key: string]: unknown;
20
20
  };
21
- /** Dashboard level custom configuration */
22
- customConfig?: {
23
- [key: string]: unknown;
24
- };
25
21
  /** Description. */
26
22
  description?: string;
27
23
  /** Database id. */
@@ -53,9 +49,6 @@ export interface DashboardInputRepresentation {
53
49
  backgroundSource?: {
54
50
  [key: string]: unknown;
55
51
  };
56
- customConfig?: {
57
- [key: string]: unknown;
58
- };
59
52
  description?: string;
60
53
  id?: string;
61
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 = "581903d233184a85957cb2aa527b0d33";
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 {
@@ -31,10 +31,6 @@ export interface DashboardRepresentationNormalized {
31
31
  createdBy: unknown;
32
32
  /** Created date of the asset */
33
33
  createdDate: string;
34
- /** Dashboard level custom configuration */
35
- customConfig?: {
36
- [key: string]: unknown;
37
- };
38
34
  /** Description of the asset. */
39
35
  description?: string;
40
36
  /** Database record id of the asset. */
@@ -74,9 +70,6 @@ export interface DashboardRepresentation {
74
70
  };
75
71
  createdBy: unknown;
76
72
  createdDate: string;
77
- customConfig?: {
78
- [key: string]: unknown;
79
- };
80
73
  description?: string;
81
74
  id: string;
82
75
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.428.0-dev1",
3
+ "version": "1.428.0",
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.428.0-dev1"
43
+ "@salesforce/lds-bindings": "^1.428.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.428.0-dev1"
46
+ "@salesforce/lds-compiler-plugins": "^1.428.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1943,7 +1943,7 @@ const createAssetSlackChannelAdapterFactory = (luvio) => {
1943
1943
  };
1944
1944
  };
1945
1945
 
1946
- const VERSION$E = "581903d233184a85957cb2aa527b0d33";
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) {
@@ -1975,22 +1975,6 @@ function validate$1d(obj, path = 'DashboardRepresentation') {
1975
1975
  if (typeof obj_createdDate !== 'string') {
1976
1976
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
1977
1977
  }
1978
- if (obj.customConfig !== undefined) {
1979
- const obj_customConfig = obj.customConfig;
1980
- const path_customConfig = path + '.customConfig';
1981
- if (typeof obj_customConfig !== 'object' || ArrayIsArray(obj_customConfig) || obj_customConfig === null) {
1982
- return new TypeError('Expected "object" but received "' + typeof obj_customConfig + '" (at "' + path_customConfig + '")');
1983
- }
1984
- const obj_customConfig_keys = ObjectKeys(obj_customConfig);
1985
- for (let i = 0; i < obj_customConfig_keys.length; i++) {
1986
- const key = obj_customConfig_keys[i];
1987
- const obj_customConfig_prop = obj_customConfig[key];
1988
- const path_customConfig_prop = path_customConfig + '["' + key + '"]';
1989
- if (obj_customConfig_prop === undefined) {
1990
- return new TypeError('Expected "defined" but received "' + typeof obj_customConfig_prop + '" (at "' + path_customConfig_prop + '")');
1991
- }
1992
- }
1993
- }
1994
1978
  if (obj.description !== undefined) {
1995
1979
  const obj_description = obj.description;
1996
1980
  const path_description = path + '.description';
@@ -2182,7 +2166,6 @@ const createDashboard_ConfigPropertyMetadata = [
2182
2166
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
2183
2167
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
2184
2168
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
2185
- generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
2186
2169
  ];
2187
2170
  const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, createDashboard_ConfigPropertyMetadata);
2188
2171
  const createResourceParams$X = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
@@ -2243,21 +2226,6 @@ function typeCheckConfig$X(untrustedConfig) {
2243
2226
  config.backgroundSource = untrustedConfig_backgroundSource_object;
2244
2227
  }
2245
2228
  }
2246
- const untrustedConfig_customConfig = untrustedConfig.customConfig;
2247
- if (untrustedIsObject(untrustedConfig_customConfig)) {
2248
- const untrustedConfig_customConfig_object = {};
2249
- const untrustedConfig_customConfig_keys = Object.keys(untrustedConfig_customConfig);
2250
- for (let i = 0, arrayLength = untrustedConfig_customConfig_keys.length; i < arrayLength; i++) {
2251
- const key = untrustedConfig_customConfig_keys[i];
2252
- const untrustedConfig_customConfig_prop = untrustedConfig_customConfig[key];
2253
- if (untrustedConfig_customConfig_object !== undefined) {
2254
- untrustedConfig_customConfig_object[key] = untrustedConfig_customConfig_prop;
2255
- }
2256
- }
2257
- if (untrustedConfig_customConfig_object !== undefined && Object.keys(untrustedConfig_customConfig_object).length >= 0) {
2258
- config.customConfig = untrustedConfig_customConfig_object;
2259
- }
2260
- }
2261
2229
  return config;
2262
2230
  }
2263
2231
  function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
@@ -14549,7 +14517,6 @@ const updateDashboard_ConfigPropertyMetadata = [
14549
14517
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
14550
14518
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
14551
14519
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
14552
- generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
14553
14520
  ];
14554
14521
  const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateDashboard_ConfigPropertyMetadata);
14555
14522
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
@@ -14610,21 +14577,6 @@ function typeCheckConfig$7(untrustedConfig) {
14610
14577
  config.backgroundSource = untrustedConfig_backgroundSource_object;
14611
14578
  }
14612
14579
  }
14613
- const untrustedConfig_customConfig = untrustedConfig.customConfig;
14614
- if (untrustedIsObject(untrustedConfig_customConfig)) {
14615
- const untrustedConfig_customConfig_object = {};
14616
- const untrustedConfig_customConfig_keys = Object.keys(untrustedConfig_customConfig);
14617
- for (let i = 0, arrayLength = untrustedConfig_customConfig_keys.length; i < arrayLength; i++) {
14618
- const key = untrustedConfig_customConfig_keys[i];
14619
- const untrustedConfig_customConfig_prop = untrustedConfig_customConfig[key];
14620
- if (untrustedConfig_customConfig_object !== undefined) {
14621
- untrustedConfig_customConfig_object[key] = untrustedConfig_customConfig_prop;
14622
- }
14623
- }
14624
- if (untrustedConfig_customConfig_object !== undefined && Object.keys(untrustedConfig_customConfig_object).length >= 0) {
14625
- config.customConfig = untrustedConfig_customConfig_object;
14626
- }
14627
- }
14628
14580
  return config;
14629
14581
  }
14630
14582
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -15957,4 +15909,4 @@ withDefaultLuvio((luvio) => {
15957
15909
  });
15958
15910
 
15959
15911
  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 };
15960
- // version: 1.428.0-dev1-52205c6c54
15912
+ // version: 1.428.0-9a846cb61f
package/src/raml/api.raml CHANGED
@@ -956,13 +956,6 @@ types:
956
956
  properties:
957
957
  //:
958
958
  type: any
959
- customConfig:
960
- description: Dashboard level custom configuration
961
- type: object
962
- required: false
963
- properties:
964
- //:
965
- type: any
966
959
  DashboardRepresentation:
967
960
  description: Unified analytics dashboard representation.
968
961
  discriminator: id
@@ -1027,13 +1020,6 @@ types:
1027
1020
  properties:
1028
1021
  //:
1029
1022
  type: any
1030
- customConfig:
1031
- description: Dashboard level custom configuration
1032
- type: object
1033
- required: false
1034
- properties:
1035
- //:
1036
- type: any
1037
1023
  DataAssetDependentCollectionRepresentation:
1038
1024
  description: Represents a List of dependent assets for a given asset
1039
1025
  type: object