@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev6 → 1.354.0-dev7

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.
@@ -2461,6 +2461,34 @@ function validate$S(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
2461
2461
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2462
2462
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2463
2463
  }
2464
+ if (obj.assetParentIdentifier !== undefined) {
2465
+ const obj_assetParentIdentifier = obj.assetParentIdentifier;
2466
+ const path_assetParentIdentifier = path + '.assetParentIdentifier';
2467
+ let obj_assetParentIdentifier_union0 = null;
2468
+ const obj_assetParentIdentifier_union0_error = (() => {
2469
+ if (typeof obj_assetParentIdentifier !== 'string') {
2470
+ return new TypeError('Expected "string" but received "' + typeof obj_assetParentIdentifier + '" (at "' + path_assetParentIdentifier + '")');
2471
+ }
2472
+ })();
2473
+ if (obj_assetParentIdentifier_union0_error != null) {
2474
+ obj_assetParentIdentifier_union0 = obj_assetParentIdentifier_union0_error.message;
2475
+ }
2476
+ let obj_assetParentIdentifier_union1 = null;
2477
+ const obj_assetParentIdentifier_union1_error = (() => {
2478
+ if (obj_assetParentIdentifier !== null) {
2479
+ return new TypeError('Expected "null" but received "' + typeof obj_assetParentIdentifier + '" (at "' + path_assetParentIdentifier + '")');
2480
+ }
2481
+ })();
2482
+ if (obj_assetParentIdentifier_union1_error != null) {
2483
+ obj_assetParentIdentifier_union1 = obj_assetParentIdentifier_union1_error.message;
2484
+ }
2485
+ if (obj_assetParentIdentifier_union0 && obj_assetParentIdentifier_union1) {
2486
+ let message = 'Object doesn\'t match union (at "' + path_assetParentIdentifier + '")';
2487
+ message += '\n' + obj_assetParentIdentifier_union0.split('\n').map((line) => '\t' + line).join('\n');
2488
+ message += '\n' + obj_assetParentIdentifier_union1.split('\n').map((line) => '\t' + line).join('\n');
2489
+ return new TypeError(message);
2490
+ }
2491
+ }
2464
2492
  if (obj.assetType !== undefined) {
2465
2493
  const obj_assetType = obj.assetType;
2466
2494
  const path_assetType = path + '.assetType';
@@ -1,7 +1,7 @@
1
1
  import { BaseAnalyticsRepresentation as BaseAnalyticsRepresentation_BaseAnalyticsRepresentation } from './BaseAnalyticsRepresentation';
2
2
  import { AnalyticsAssetsQueryResultsWorkspaceRepresentation as AnalyticsAssetsQueryResultsWorkspaceRepresentation_AnalyticsAssetsQueryResultsWorkspaceRepresentation } from './AnalyticsAssetsQueryResultsWorkspaceRepresentation';
3
3
  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';
4
- export declare const VERSION = "4eafef8c1c91acea1cd08131af1feefa";
4
+ export declare const VERSION = "f57b7eb27a2e79d6160d894249f4023f";
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: AnalyticsAssetsQueryResultsItemRepresentation, existing: AnalyticsAssetsQueryResultsItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AnalyticsAssetsQueryResultsItemRepresentationNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  * (none)
17
17
  */
18
18
  export interface AnalyticsAssetsQueryResultsItemRepresentationNormalized extends BaseAnalyticsRepresentation_BaseAnalyticsRepresentation {
19
+ /** Id of an asset's parent */
20
+ assetParentIdentifier?: string | null;
19
21
  /** The type of the asset. */
20
22
  assetType?: string | null;
21
23
  /** The workspace of the asset. */
@@ -28,6 +30,7 @@ export interface AnalyticsAssetsQueryResultsItemRepresentationNormalized extends
28
30
  * (none)
29
31
  */
30
32
  export interface AnalyticsAssetsQueryResultsItemRepresentation extends BaseAnalyticsRepresentation_BaseAnalyticsRepresentation {
33
+ assetParentIdentifier?: string | null;
31
34
  assetType?: string | null;
32
35
  workspace?: AnalyticsAssetsQueryResultsWorkspaceRepresentation_AnalyticsAssetsQueryResultsWorkspaceRepresentation | null;
33
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.354.0-dev6",
3
+ "version": "1.354.0-dev7",
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.354.0-dev6"
43
+ "@salesforce/lds-bindings": "^1.354.0-dev7"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev6"
46
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev7"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -11799,6 +11799,34 @@ function validate$3(obj, path = 'AnalyticsAssetsQueryResultsItemRepresentation')
11799
11799
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
11800
11800
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
11801
11801
  }
11802
+ if (obj.assetParentIdentifier !== undefined) {
11803
+ const obj_assetParentIdentifier = obj.assetParentIdentifier;
11804
+ const path_assetParentIdentifier = path + '.assetParentIdentifier';
11805
+ let obj_assetParentIdentifier_union0 = null;
11806
+ const obj_assetParentIdentifier_union0_error = (() => {
11807
+ if (typeof obj_assetParentIdentifier !== 'string') {
11808
+ return new TypeError('Expected "string" but received "' + typeof obj_assetParentIdentifier + '" (at "' + path_assetParentIdentifier + '")');
11809
+ }
11810
+ })();
11811
+ if (obj_assetParentIdentifier_union0_error != null) {
11812
+ obj_assetParentIdentifier_union0 = obj_assetParentIdentifier_union0_error.message;
11813
+ }
11814
+ let obj_assetParentIdentifier_union1 = null;
11815
+ const obj_assetParentIdentifier_union1_error = (() => {
11816
+ if (obj_assetParentIdentifier !== null) {
11817
+ return new TypeError('Expected "null" but received "' + typeof obj_assetParentIdentifier + '" (at "' + path_assetParentIdentifier + '")');
11818
+ }
11819
+ })();
11820
+ if (obj_assetParentIdentifier_union1_error != null) {
11821
+ obj_assetParentIdentifier_union1 = obj_assetParentIdentifier_union1_error.message;
11822
+ }
11823
+ if (obj_assetParentIdentifier_union0 && obj_assetParentIdentifier_union1) {
11824
+ let message = 'Object doesn\'t match union (at "' + path_assetParentIdentifier + '")';
11825
+ message += '\n' + obj_assetParentIdentifier_union0.split('\n').map((line) => '\t' + line).join('\n');
11826
+ message += '\n' + obj_assetParentIdentifier_union1.split('\n').map((line) => '\t' + line).join('\n');
11827
+ return new TypeError(message);
11828
+ }
11829
+ }
11802
11830
  if (obj.assetType !== undefined) {
11803
11831
  const obj_assetType = obj.assetType;
11804
11832
  const path_assetType = path + '.assetType';
@@ -13711,4 +13739,4 @@ withDefaultLuvio((luvio) => {
13711
13739
  });
13712
13740
 
13713
13741
  export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_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, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
13714
- // version: 1.354.0-dev6-efb2ef03dd
13742
+ // version: 1.354.0-dev7-4e860a7769
package/src/raml/api.raml CHANGED
@@ -177,6 +177,9 @@ types:
177
177
  workspace?:
178
178
  description: The workspace of the asset.
179
179
  type: AnalyticsAssetsQueryResultsWorkspaceRepresentation | nil
180
+ assetParentIdentifier?:
181
+ description: Id of an asset's parent
182
+ type: string | nil
180
183
  AnalyticsAssetsQueryInputRepresentation:
181
184
  description: Unified Analytics Assets Query Input Representation
182
185
  type: object