@salesforce/lds-adapters-analytics-unifiedanalytics 1.404.0-dev18 → 1.404.0-dev19

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.
@@ -5319,7 +5319,7 @@ function validate$L(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
5319
5319
  }
5320
5320
 
5321
5321
  const TTL$l = 500;
5322
- const VERSION$w = "f040ad13ea7164019cc2c1ef6a7fe448";
5322
+ const VERSION$w = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
5323
5323
  function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5324
5324
  const v_error = (() => {
5325
5325
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5606,6 +5606,34 @@ function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5606
5606
  message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
5607
5607
  return new TypeError(message);
5608
5608
  }
5609
+ if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
5610
+ const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
5611
+ const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
5612
+ let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
5613
+ const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
5614
+ if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
5615
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
5616
+ }
5617
+ })();
5618
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
5619
+ obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
5620
+ }
5621
+ let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
5622
+ const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
5623
+ if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
5624
+ return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
5625
+ }
5626
+ })();
5627
+ if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
5628
+ obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
5629
+ }
5630
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
5631
+ let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
5632
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
5633
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
5634
+ return new TypeError(message);
5635
+ }
5636
+ }
5609
5637
  const obj_id = obj.id;
5610
5638
  const path_id = path + '.id';
5611
5639
  if (typeof obj_id !== 'string') {
@@ -2,7 +2,7 @@ import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUse
2
2
  import { DataAssetRequestAdditionalInfoRepresentation as DataAssetRequestAdditionalInfoRepresentation_DataAssetRequestAdditionalInfoRepresentation } from './DataAssetRequestAdditionalInfoRepresentation';
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 = "f040ad13ea7164019cc2c1ef6a7fe448";
5
+ export declare const VERSION = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
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 {
@@ -48,6 +48,8 @@ export interface DataAssetRequestRepresentationNormalized {
48
48
  errorCode?: string | null;
49
49
  /** Failed date */
50
50
  failedDate: string | null;
51
+ /** Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type) */
52
+ hasUnsupportedDloForGuidedPromotions?: boolean | null;
51
53
  /** Data Asset Request Id */
52
54
  id: string;
53
55
  /** Installed date */
@@ -117,6 +119,7 @@ export interface DataAssetRequestRepresentation {
117
119
  completedDate: string | null;
118
120
  errorCode?: string | null;
119
121
  failedDate: string | null;
122
+ hasUnsupportedDloForGuidedPromotions?: boolean | null;
120
123
  id: string;
121
124
  installedDate: string | null;
122
125
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.404.0-dev18",
3
+ "version": "1.404.0-dev19",
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-dev18"
43
+ "@salesforce/lds-bindings": "^1.404.0-dev19"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.404.0-dev18"
46
+ "@salesforce/lds-compiler-plugins": "^1.404.0-dev19"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -3170,7 +3170,7 @@ function validate$T(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
3170
3170
  }
3171
3171
 
3172
3172
  const TTL$q = 500;
3173
- const VERSION$C = "f040ad13ea7164019cc2c1ef6a7fe448";
3173
+ const VERSION$C = "1d2e5c2c71da23d28ca538bf1ec5ea7f";
3174
3174
  function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3175
3175
  const v_error = (() => {
3176
3176
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3457,6 +3457,34 @@ function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3457
3457
  message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
3458
3458
  return new TypeError(message);
3459
3459
  }
3460
+ if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
3461
+ const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
3462
+ const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
3463
+ let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
3464
+ const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
3465
+ if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
3466
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
3467
+ }
3468
+ })();
3469
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
3470
+ obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
3471
+ }
3472
+ let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
3473
+ const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
3474
+ if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
3475
+ return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
3476
+ }
3477
+ })();
3478
+ if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
3479
+ obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
3480
+ }
3481
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
3482
+ let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
3483
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
3484
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
3485
+ return new TypeError(message);
3486
+ }
3487
+ }
3460
3488
  const obj_id = obj.id;
3461
3489
  const path_id = path + '.id';
3462
3490
  if (typeof obj_id !== 'string') {
@@ -15883,4 +15911,4 @@ withDefaultLuvio((luvio) => {
15883
15911
  });
15884
15912
 
15885
15913
  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 };
15886
- // version: 1.404.0-dev18-c65045077f
15914
+ // version: 1.404.0-dev19-909c19a5d0
package/src/raml/api.raml CHANGED
@@ -1948,6 +1948,10 @@ types:
1948
1948
  enum:
1949
1949
  - Bespoke
1950
1950
  - Cli
1951
+ hasUnsupportedDloForGuidedPromotions:
1952
+ description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
1953
+ type: boolean | nil
1954
+ required: false
1951
1955
  DataSpaceInfoRepresentation:
1952
1956
  description: DataSpace Info Representation
1953
1957
  type: object