@salesforce/lds-adapters-analytics-unifiedanalytics 1.386.0 → 1.388.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.
@@ -6378,6 +6378,13 @@ function validate$D(obj, path = 'DataAssetRepresentation') {
6378
6378
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
6379
6379
  }
6380
6380
  }
6381
+ if (obj.createdWorkspace !== undefined) {
6382
+ const obj_createdWorkspace = obj.createdWorkspace;
6383
+ const path_createdWorkspace = path + '.createdWorkspace';
6384
+ if (typeof obj_createdWorkspace !== 'string') {
6385
+ return new TypeError('Expected "string" but received "' + typeof obj_createdWorkspace + '" (at "' + path_createdWorkspace + '")');
6386
+ }
6387
+ }
6381
6388
  if (obj.description !== undefined) {
6382
6389
  const obj_description = obj.description;
6383
6390
  const path_description = path + '.description';
@@ -6415,6 +6422,13 @@ function validate$D(obj, path = 'DataAssetRepresentation') {
6415
6422
  if (typeof obj_name !== 'string') {
6416
6423
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
6417
6424
  }
6425
+ if (obj.synchronizationStatus !== undefined) {
6426
+ const obj_synchronizationStatus = obj.synchronizationStatus;
6427
+ const path_synchronizationStatus = path + '.synchronizationStatus';
6428
+ if (typeof obj_synchronizationStatus !== 'string') {
6429
+ return new TypeError('Expected "string" but received "' + typeof obj_synchronizationStatus + '" (at "' + path_synchronizationStatus + '")');
6430
+ }
6431
+ }
6418
6432
  if (obj.workspaceId !== undefined) {
6419
6433
  const obj_workspaceId = obj.workspaceId;
6420
6434
  const path_workspaceId = path + '.workspaceId';
@@ -6512,7 +6526,7 @@ function select$Y(luvio, params) {
6512
6526
  return select$Z();
6513
6527
  }
6514
6528
  function keyBuilder$V(luvio, params) {
6515
- return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'assetId:' + params.urlParams.assetId + ')';
6529
+ return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
6516
6530
  }
6517
6531
  function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
6518
6532
  getTypeCacheKeys$r(storeKeyMap, luvio, response, () => keyBuilder$V(luvio, resourceParams));
@@ -6554,7 +6568,7 @@ function createResourceRequest$D(config) {
6554
6568
  method: 'get',
6555
6569
  body: null,
6556
6570
  urlParams: config.urlParams,
6557
- queryParams: {},
6571
+ queryParams: config.queryParams,
6558
6572
  headers,
6559
6573
  priority: 'normal',
6560
6574
  };
@@ -6563,6 +6577,7 @@ function createResourceRequest$D(config) {
6563
6577
  const adapterName$D = 'getDataAssetDependencies';
6564
6578
  const getDataAssetDependencies_ConfigPropertyMetadata = [
6565
6579
  generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
6580
+ generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
6566
6581
  ];
6567
6582
  const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getDataAssetDependencies_ConfigPropertyMetadata);
6568
6583
  const createResourceParams$D = /*#__PURE__*/ createResourceParams$Z(getDataAssetDependencies_ConfigPropertyMetadata);
@@ -8315,6 +8330,13 @@ function validate$q(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
8315
8330
  return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
8316
8331
  }
8317
8332
  }
8333
+ if (obj.groupMemberCount !== undefined) {
8334
+ const obj_groupMemberCount = obj.groupMemberCount;
8335
+ const path_groupMemberCount = path + '.groupMemberCount';
8336
+ if (typeof obj_groupMemberCount !== 'number' || (typeof obj_groupMemberCount === 'number' && Math.floor(obj_groupMemberCount) !== obj_groupMemberCount)) {
8337
+ return new TypeError('Expected "integer" but received "' + typeof obj_groupMemberCount + '" (at "' + path_groupMemberCount + '")');
8338
+ }
8339
+ }
8318
8340
  if (obj.id !== undefined) {
8319
8341
  const obj_id = obj.id;
8320
8342
  const path_id = path + '.id';
@@ -7,6 +7,7 @@ export declare const getDataAssetDependencies_ConfigPropertyMetadata: $64$luvio_
7
7
  export declare const getDataAssetDependencies_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetDataAssetDependenciesConfig {
9
9
  assetId: string;
10
+ includeSynchronizationInfo?: boolean;
10
11
  }
11
12
  export declare const createResourceParams: (config: GetDataAssetDependenciesConfig) => resources_getTableauDataAssetsDependenciesByAssetId_ResourceRequestConfig;
12
13
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDataAssetDependenciesConfig): string;
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  assetId: string;
6
6
  };
7
+ queryParams: {
8
+ includeSynchronizationInfo?: boolean;
9
+ };
7
10
  }
8
11
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
12
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
@@ -1,7 +1,7 @@
1
1
  import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUserRepresentation } from './AnalyticsUserRepresentation';
2
2
  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';
3
3
  export declare const TTL = 500;
4
- export declare const VERSION = "7ce15fca75fceda2fa8738e6d8aa258a";
4
+ export declare const VERSION = "0b280063b1145b756cd89a65339f642b";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -33,6 +33,8 @@ export interface DataAssetRepresentationNormalized {
33
33
  createdBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
34
34
  /** Created date of the DataAsset */
35
35
  createdDate?: string;
36
+ /** Workspace where the DataAsset was created */
37
+ createdWorkspace?: string;
36
38
  /** Description of the DataAsset. */
37
39
  description?: string;
38
40
  /** DataAsset id. */
@@ -45,6 +47,8 @@ export interface DataAssetRepresentationNormalized {
45
47
  lastModifiedDate: string;
46
48
  /** Name of the DataAsset. */
47
49
  name: string;
50
+ /** Synchronization status of the DataAsset */
51
+ synchronizationStatus?: string;
48
52
  /** Id of the workspace which the DataAsset is part of */
49
53
  workspaceId?: string;
50
54
  }
@@ -59,11 +63,13 @@ export interface DataAssetRepresentation {
59
63
  assetType: string;
60
64
  createdBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
61
65
  createdDate?: string;
66
+ createdWorkspace?: string;
62
67
  description?: string;
63
68
  id?: string;
64
69
  label: string;
65
70
  lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
66
71
  lastModifiedDate: string;
67
72
  name: string;
73
+ synchronizationStatus?: string;
68
74
  workspaceId?: string;
69
75
  }
@@ -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 = "d1614bb2b4e44eba88be256d9176f648";
2
+ export declare const VERSION = "56cf7641df9c98fbbbcf8b438caa22e9";
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: SetupRecordShareUserOrGroupRepresentation, existing: SetupRecordShareUserOrGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SetupRecordShareUserOrGroupRepresentationNormalized;
@@ -18,6 +18,8 @@ export interface SetupRecordShareUserOrGroupRepresentationNormalized {
18
18
  displayName?: string;
19
19
  /** Email of the User */
20
20
  email?: string;
21
+ /** Count of users in group */
22
+ groupMemberCount?: number;
21
23
  /** Id of the User or Group */
22
24
  id?: string;
23
25
  /** Profile Photo URL of the User */
@@ -34,6 +36,7 @@ export interface SetupRecordShareUserOrGroupRepresentationNormalized {
34
36
  export interface SetupRecordShareUserOrGroupRepresentation {
35
37
  displayName?: string;
36
38
  email?: string;
39
+ groupMemberCount?: number;
37
40
  id?: string;
38
41
  profilePhotoUrl?: string;
39
42
  username?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.386.0",
3
+ "version": "1.388.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.386.0"
43
+ "@salesforce/lds-bindings": "^1.388.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.386.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.388.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -4995,6 +4995,13 @@ function validate$F(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
4995
4995
  return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
4996
4996
  }
4997
4997
  }
4998
+ if (obj.groupMemberCount !== undefined) {
4999
+ const obj_groupMemberCount = obj.groupMemberCount;
5000
+ const path_groupMemberCount = path + '.groupMemberCount';
5001
+ if (typeof obj_groupMemberCount !== 'number' || (typeof obj_groupMemberCount === 'number' && Math.floor(obj_groupMemberCount) !== obj_groupMemberCount)) {
5002
+ return new TypeError('Expected "integer" but received "' + typeof obj_groupMemberCount + '" (at "' + path_groupMemberCount + '")');
5003
+ }
5004
+ }
4998
5005
  if (obj.id !== undefined) {
4999
5006
  const obj_id = obj.id;
5000
5007
  const path_id = path + '.id';
@@ -7526,6 +7533,13 @@ function validate$v(obj, path = 'DataAssetRepresentation') {
7526
7533
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
7527
7534
  }
7528
7535
  }
7536
+ if (obj.createdWorkspace !== undefined) {
7537
+ const obj_createdWorkspace = obj.createdWorkspace;
7538
+ const path_createdWorkspace = path + '.createdWorkspace';
7539
+ if (typeof obj_createdWorkspace !== 'string') {
7540
+ return new TypeError('Expected "string" but received "' + typeof obj_createdWorkspace + '" (at "' + path_createdWorkspace + '")');
7541
+ }
7542
+ }
7529
7543
  if (obj.description !== undefined) {
7530
7544
  const obj_description = obj.description;
7531
7545
  const path_description = path + '.description';
@@ -7563,6 +7577,13 @@ function validate$v(obj, path = 'DataAssetRepresentation') {
7563
7577
  if (typeof obj_name !== 'string') {
7564
7578
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
7565
7579
  }
7580
+ if (obj.synchronizationStatus !== undefined) {
7581
+ const obj_synchronizationStatus = obj.synchronizationStatus;
7582
+ const path_synchronizationStatus = path + '.synchronizationStatus';
7583
+ if (typeof obj_synchronizationStatus !== 'string') {
7584
+ return new TypeError('Expected "string" but received "' + typeof obj_synchronizationStatus + '" (at "' + path_synchronizationStatus + '")');
7585
+ }
7586
+ }
7566
7587
  if (obj.workspaceId !== undefined) {
7567
7588
  const obj_workspaceId = obj.workspaceId;
7568
7589
  const path_workspaceId = path + '.workspaceId';
@@ -7660,7 +7681,7 @@ function select$T(luvio, params) {
7660
7681
  return select$U();
7661
7682
  }
7662
7683
  function keyBuilder$O(luvio, params) {
7663
- return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'assetId:' + params.urlParams.assetId + ')';
7684
+ return keyPrefix + '::DataAssetDependentCollectionRepresentation:(' + 'includeSynchronizationInfo:' + params.queryParams.includeSynchronizationInfo + ',' + 'assetId:' + params.urlParams.assetId + ')';
7664
7685
  }
7665
7686
  function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
7666
7687
  getTypeCacheKeys$m(storeKeyMap, luvio, response, () => keyBuilder$O(luvio, resourceParams));
@@ -7702,7 +7723,7 @@ function createResourceRequest$y(config) {
7702
7723
  method: 'get',
7703
7724
  body: null,
7704
7725
  urlParams: config.urlParams,
7705
- queryParams: {},
7726
+ queryParams: config.queryParams,
7706
7727
  headers,
7707
7728
  priority: 'normal',
7708
7729
  };
@@ -7711,6 +7732,7 @@ function createResourceRequest$y(config) {
7711
7732
  const adapterName$y = 'getDataAssetDependencies';
7712
7733
  const getDataAssetDependencies_ConfigPropertyMetadata = [
7713
7734
  generateParamConfigMetadata('assetId', true, 0 /* UrlParameter */, 0 /* String */),
7735
+ generateParamConfigMetadata('includeSynchronizationInfo', false, 1 /* QueryParameter */, 1 /* Boolean */),
7714
7736
  ];
7715
7737
  const getDataAssetDependencies_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getDataAssetDependencies_ConfigPropertyMetadata);
7716
7738
  const createResourceParams$y = /*#__PURE__*/ createResourceParams$Z(getDataAssetDependencies_ConfigPropertyMetadata);
@@ -14892,4 +14914,4 @@ withDefaultLuvio((luvio) => {
14892
14914
  });
14893
14915
 
14894
14916
  export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, 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, getSharesNotifyChange, 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 };
14895
- // version: 1.386.0-521094e838
14917
+ // version: 1.388.0-fabb0e5a71
package/src/raml/api.raml CHANGED
@@ -1010,6 +1010,17 @@ types:
1010
1010
  description: Id of the workspace which the DataAsset is part of
1011
1011
  type: string
1012
1012
  required: false
1013
+ synchronizationStatus:
1014
+ description: Synchronization status of the DataAsset
1015
+ type: string
1016
+ enum:
1017
+ - SYNC
1018
+ - NEW
1019
+ required: false
1020
+ createdWorkspace:
1021
+ description: Workspace where the DataAsset was created
1022
+ type: string
1023
+ required: false
1013
1024
  DataAssetRequestCollectionRepresentation:
1014
1025
  description: Collection of Data Asset Requests
1015
1026
  type: object
@@ -2209,6 +2220,10 @@ types:
2209
2220
  description: Username of the User
2210
2221
  type: string
2211
2222
  required: false
2223
+ groupMemberCount:
2224
+ description: Count of users in group
2225
+ type: integer
2226
+ required: false
2212
2227
  SetupRecordAccessRepresentation:
2213
2228
  description: Record Access mapping for specific UserOrGroup
2214
2229
  discriminatorValue: RecordAccessMappingForUserOrGroup
@@ -3114,6 +3129,11 @@ types:
3114
3129
  get:
3115
3130
  displayName: getDataAssetDependencies
3116
3131
  description: Gets the dependencies of an Data asset
3132
+ queryParameters:
3133
+ includeSynchronizationInfo:
3134
+ type: boolean
3135
+ required: false
3136
+ description: Include synchronization information in the response
3117
3137
  responses:
3118
3138
  '200':
3119
3139
  description: Success