@salesforce/lds-adapters-analytics-unifiedanalytics 1.425.0 → 1.427.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.
@@ -5319,7 +5319,7 @@ function validate$L(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
5319
5319
  }
5320
5320
 
5321
5321
  const TTL$l = 500;
5322
- const VERSION$w = "ea94fb08f395243a60c054f58a0adf8f";
5322
+ const VERSION$w = "ecdb976ad01d1430997c16d47de9aa53";
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 = "ea94fb08f395243a60c054f58a0adf8f";
5
+ export declare const VERSION = "ecdb976ad01d1430997c16d47de9aa53";
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.425.0",
3
+ "version": "1.427.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.425.0"
43
+ "@salesforce/lds-bindings": "^1.427.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.425.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.427.0"
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 = "ea94fb08f395243a60c054f58a0adf8f";
3173
+ const VERSION$C = "ecdb976ad01d1430997c16d47de9aa53";
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') {
@@ -15881,4 +15909,4 @@ withDefaultLuvio((luvio) => {
15881
15909
  });
15882
15910
 
15883
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 };
15884
- // version: 1.425.0-7665d4cffc
15912
+ // version: 1.427.0-d53a098e46
package/src/raml/api.raml CHANGED
@@ -1947,6 +1947,10 @@ types:
1947
1947
  enum:
1948
1948
  - Bespoke
1949
1949
  - Cli
1950
+ hasUnsupportedDloForGuidedPromotions:
1951
+ description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
1952
+ type: boolean | nil
1953
+ required: false
1950
1954
  DataSpaceInfoRepresentation:
1951
1955
  description: DataSpace Info Representation
1952
1956
  type: object