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

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 = "48241522a2d9c05d07397ef0fdfbce4e";
2754
+ const VERSION$B = "581903d233184a85957cb2aa527b0d33";
2755
2755
  function validate$17(obj, path = 'DashboardRepresentation') {
2756
2756
  const v_error = (() => {
2757
2757
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2783,6 +2783,22 @@ 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
+ }
2786
2802
  if (obj.description !== undefined) {
2787
2803
  const obj_description = obj.description;
2788
2804
  const path_description = path + '.description';
@@ -3203,6 +3219,7 @@ const createDashboard_ConfigPropertyMetadata = [
3203
3219
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3204
3220
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3205
3221
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
3222
+ generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
3206
3223
  ];
3207
3224
  const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, createDashboard_ConfigPropertyMetadata);
3208
3225
  const createResourceParams$T = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
@@ -3263,6 +3280,21 @@ function typeCheckConfig$T(untrustedConfig) {
3263
3280
  config.backgroundSource = untrustedConfig_backgroundSource_object;
3264
3281
  }
3265
3282
  }
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
+ }
3266
3298
  return config;
3267
3299
  }
3268
3300
  function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
@@ -3576,6 +3608,7 @@ const updateDashboard_ConfigPropertyMetadata = [
3576
3608
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
3577
3609
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
3578
3610
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
3611
+ generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
3579
3612
  ];
3580
3613
  const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, updateDashboard_ConfigPropertyMetadata);
3581
3614
  const createResourceParams$Q = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
@@ -3636,6 +3669,21 @@ function typeCheckConfig$Q(untrustedConfig) {
3636
3669
  config.backgroundSource = untrustedConfig_backgroundSource_object;
3637
3670
  }
3638
3671
  }
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
+ }
3639
3687
  return config;
3640
3688
  }
3641
3689
  function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
@@ -5319,7 +5367,7 @@ function validate$L(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
5319
5367
  }
5320
5368
 
5321
5369
  const TTL$l = 500;
5322
- const VERSION$w = "ea94fb08f395243a60c054f58a0adf8f";
5370
+ const VERSION$w = "ecdb976ad01d1430997c16d47de9aa53";
5323
5371
  function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5324
5372
  const v_error = (() => {
5325
5373
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5606,6 +5654,34 @@ function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5606
5654
  message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
5607
5655
  return new TypeError(message);
5608
5656
  }
5657
+ if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
5658
+ const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
5659
+ const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
5660
+ let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
5661
+ const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
5662
+ if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
5663
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
5664
+ }
5665
+ })();
5666
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
5667
+ obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
5668
+ }
5669
+ let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
5670
+ const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
5671
+ if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
5672
+ return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
5673
+ }
5674
+ })();
5675
+ if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
5676
+ obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
5677
+ }
5678
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
5679
+ let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
5680
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
5681
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
5682
+ return new TypeError(message);
5683
+ }
5684
+ }
5609
5685
  const obj_id = obj.id;
5610
5686
  const path_id = path + '.id';
5611
5687
  if (typeof obj_id !== 'string') {
@@ -22,6 +22,9 @@ export interface CreateDashboardConfig {
22
22
  backgroundSource?: {
23
23
  [key: string]: unknown;
24
24
  };
25
+ customConfig?: {
26
+ [key: string]: unknown;
27
+ };
25
28
  }
26
29
  export declare const createResourceParams: (config: CreateDashboardConfig) => resources_postTableauDashboards_ResourceRequestConfig;
27
30
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDashboardConfig>): adapter$45$utils_Untrusted<CreateDashboardConfig>;
@@ -23,6 +23,9 @@ export interface UpdateDashboardConfig {
23
23
  backgroundSource?: {
24
24
  [key: string]: unknown;
25
25
  };
26
+ customConfig?: {
27
+ [key: string]: unknown;
28
+ };
26
29
  }
27
30
  export declare const createResourceParams: (config: UpdateDashboardConfig) => resources_patchTableauDashboardsByDashboardIdOrApiName_ResourceRequestConfig;
28
31
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateDashboardConfig>): adapter$45$utils_Untrusted<UpdateDashboardConfig>;
@@ -23,6 +23,9 @@ export interface ResourceRequestConfig {
23
23
  backgroundSource?: {
24
24
  [key: string]: unknown;
25
25
  };
26
+ customConfig?: {
27
+ [key: string]: unknown;
28
+ };
26
29
  };
27
30
  }
28
31
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -20,6 +20,9 @@ export interface ResourceRequestConfig {
20
20
  backgroundSource?: {
21
21
  [key: string]: unknown;
22
22
  };
23
+ customConfig?: {
24
+ [key: string]: unknown;
25
+ };
23
26
  };
24
27
  }
25
28
  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 = "f0dd9e670e17de8e3a03b57bf8ca6bc0";
2
+ export declare const VERSION = "77afdc4d4f6a4ce9eadb90f26b594e7d";
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,6 +18,10 @@ 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
+ };
21
25
  /** Description. */
22
26
  description?: string;
23
27
  /** Database id. */
@@ -49,6 +53,9 @@ export interface DashboardInputRepresentation {
49
53
  backgroundSource?: {
50
54
  [key: string]: unknown;
51
55
  };
56
+ customConfig?: {
57
+ [key: string]: unknown;
58
+ };
52
59
  description?: string;
53
60
  id?: string;
54
61
  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 = "48241522a2d9c05d07397ef0fdfbce4e";
2
+ export declare const VERSION = "581903d233184a85957cb2aa527b0d33";
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,6 +31,10 @@ 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
+ };
34
38
  /** Description of the asset. */
35
39
  description?: string;
36
40
  /** Database record id of the asset. */
@@ -70,6 +74,9 @@ export interface DashboardRepresentation {
70
74
  };
71
75
  createdBy: unknown;
72
76
  createdDate: string;
77
+ customConfig?: {
78
+ [key: string]: unknown;
79
+ };
73
80
  description?: string;
74
81
  id: string;
75
82
  label: 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.426.1",
3
+ "version": "1.428.0-dev1",
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.426.1"
43
+ "@salesforce/lds-bindings": "^1.428.0-dev1"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.426.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.428.0-dev1"
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 = "48241522a2d9c05d07397ef0fdfbce4e";
1946
+ const VERSION$E = "581903d233184a85957cb2aa527b0d33";
1947
1947
  function validate$1d(obj, path = 'DashboardRepresentation') {
1948
1948
  const v_error = (() => {
1949
1949
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1975,6 +1975,22 @@ 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
+ }
1978
1994
  if (obj.description !== undefined) {
1979
1995
  const obj_description = obj.description;
1980
1996
  const path_description = path + '.description';
@@ -2166,6 +2182,7 @@ const createDashboard_ConfigPropertyMetadata = [
2166
2182
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
2167
2183
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
2168
2184
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
2185
+ generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
2169
2186
  ];
2170
2187
  const createDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, createDashboard_ConfigPropertyMetadata);
2171
2188
  const createResourceParams$X = /*#__PURE__*/ createResourceParams$_(createDashboard_ConfigPropertyMetadata);
@@ -2226,6 +2243,21 @@ function typeCheckConfig$X(untrustedConfig) {
2226
2243
  config.backgroundSource = untrustedConfig_backgroundSource_object;
2227
2244
  }
2228
2245
  }
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
+ }
2229
2261
  return config;
2230
2262
  }
2231
2263
  function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
@@ -3170,7 +3202,7 @@ function validate$T(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
3170
3202
  }
3171
3203
 
3172
3204
  const TTL$q = 500;
3173
- const VERSION$C = "ea94fb08f395243a60c054f58a0adf8f";
3205
+ const VERSION$C = "ecdb976ad01d1430997c16d47de9aa53";
3174
3206
  function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3175
3207
  const v_error = (() => {
3176
3208
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3457,6 +3489,34 @@ function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3457
3489
  message += '\n' + obj_failedDate_union1.split('\n').map((line) => '\t' + line).join('\n');
3458
3490
  return new TypeError(message);
3459
3491
  }
3492
+ if (obj.hasUnsupportedDloForGuidedPromotions !== undefined) {
3493
+ const obj_hasUnsupportedDloForGuidedPromotions = obj.hasUnsupportedDloForGuidedPromotions;
3494
+ const path_hasUnsupportedDloForGuidedPromotions = path + '.hasUnsupportedDloForGuidedPromotions';
3495
+ let obj_hasUnsupportedDloForGuidedPromotions_union0 = null;
3496
+ const obj_hasUnsupportedDloForGuidedPromotions_union0_error = (() => {
3497
+ if (typeof obj_hasUnsupportedDloForGuidedPromotions !== 'boolean') {
3498
+ return new TypeError('Expected "boolean" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
3499
+ }
3500
+ })();
3501
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0_error != null) {
3502
+ obj_hasUnsupportedDloForGuidedPromotions_union0 = obj_hasUnsupportedDloForGuidedPromotions_union0_error.message;
3503
+ }
3504
+ let obj_hasUnsupportedDloForGuidedPromotions_union1 = null;
3505
+ const obj_hasUnsupportedDloForGuidedPromotions_union1_error = (() => {
3506
+ if (obj_hasUnsupportedDloForGuidedPromotions !== null) {
3507
+ return new TypeError('Expected "null" but received "' + typeof obj_hasUnsupportedDloForGuidedPromotions + '" (at "' + path_hasUnsupportedDloForGuidedPromotions + '")');
3508
+ }
3509
+ })();
3510
+ if (obj_hasUnsupportedDloForGuidedPromotions_union1_error != null) {
3511
+ obj_hasUnsupportedDloForGuidedPromotions_union1 = obj_hasUnsupportedDloForGuidedPromotions_union1_error.message;
3512
+ }
3513
+ if (obj_hasUnsupportedDloForGuidedPromotions_union0 && obj_hasUnsupportedDloForGuidedPromotions_union1) {
3514
+ let message = 'Object doesn\'t match union (at "' + path_hasUnsupportedDloForGuidedPromotions + '")';
3515
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union0.split('\n').map((line) => '\t' + line).join('\n');
3516
+ message += '\n' + obj_hasUnsupportedDloForGuidedPromotions_union1.split('\n').map((line) => '\t' + line).join('\n');
3517
+ return new TypeError(message);
3518
+ }
3519
+ }
3460
3520
  const obj_id = obj.id;
3461
3521
  const path_id = path + '.id';
3462
3522
  if (typeof obj_id !== 'string') {
@@ -14489,6 +14549,7 @@ const updateDashboard_ConfigPropertyMetadata = [
14489
14549
  generateParamConfigMetadata('widgets', true, 2 /* Body */, 4 /* Unsupported */),
14490
14550
  generateParamConfigMetadata('style', false, 2 /* Body */, 4 /* Unsupported */),
14491
14551
  generateParamConfigMetadata('backgroundSource', false, 2 /* Body */, 4 /* Unsupported */),
14552
+ generateParamConfigMetadata('customConfig', false, 2 /* Body */, 4 /* Unsupported */),
14492
14553
  ];
14493
14554
  const updateDashboard_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, updateDashboard_ConfigPropertyMetadata);
14494
14555
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$_(updateDashboard_ConfigPropertyMetadata);
@@ -14549,6 +14610,21 @@ function typeCheckConfig$7(untrustedConfig) {
14549
14610
  config.backgroundSource = untrustedConfig_backgroundSource_object;
14550
14611
  }
14551
14612
  }
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
+ }
14552
14628
  return config;
14553
14629
  }
14554
14630
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -15881,4 +15957,4 @@ withDefaultLuvio((luvio) => {
15881
15957
  });
15882
15958
 
15883
15959
  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.426.1-9fe18ee3ae
15960
+ // version: 1.428.0-dev1-52205c6c54
package/src/raml/api.raml CHANGED
@@ -956,6 +956,13 @@ 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
959
966
  DashboardRepresentation:
960
967
  description: Unified analytics dashboard representation.
961
968
  discriminator: id
@@ -1020,6 +1027,13 @@ types:
1020
1027
  properties:
1021
1028
  //:
1022
1029
  type: any
1030
+ customConfig:
1031
+ description: Dashboard level custom configuration
1032
+ type: object
1033
+ required: false
1034
+ properties:
1035
+ //:
1036
+ type: any
1023
1037
  DataAssetDependentCollectionRepresentation:
1024
1038
  description: Represents a List of dependent assets for a given asset
1025
1039
  type: object
@@ -1947,6 +1961,10 @@ types:
1947
1961
  enum:
1948
1962
  - Bespoke
1949
1963
  - Cli
1964
+ hasUnsupportedDloForGuidedPromotions:
1965
+ description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
1966
+ type: boolean | nil
1967
+ required: false
1950
1968
  DataSpaceInfoRepresentation:
1951
1969
  description: DataSpace Info Representation
1952
1970
  type: object