@salesforce/lds-adapters-analytics-unifiedanalytics 1.404.0-dev11 → 1.404.0-dev13

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.
@@ -5275,7 +5275,7 @@ function validate$L(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
5275
5275
  }
5276
5276
 
5277
5277
  const TTL$l = 500;
5278
- const VERSION$w = "33098ff1e82d01bbb10d8595b4c0d4cb";
5278
+ const VERSION$w = "f040ad13ea7164019cc2c1ef6a7fe448";
5279
5279
  function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5280
5280
  const v_error = (() => {
5281
5281
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5848,6 +5848,32 @@ function validate$K(obj, path = 'DataAssetRequestRepresentation') {
5848
5848
  message += '\n' + obj_productionOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
5849
5849
  return new TypeError(message);
5850
5850
  }
5851
+ const obj_promotionApprovalFlow = obj.promotionApprovalFlow;
5852
+ const path_promotionApprovalFlow = path + '.promotionApprovalFlow';
5853
+ let obj_promotionApprovalFlow_union0 = null;
5854
+ const obj_promotionApprovalFlow_union0_error = (() => {
5855
+ if (typeof obj_promotionApprovalFlow !== 'string') {
5856
+ return new TypeError('Expected "string" but received "' + typeof obj_promotionApprovalFlow + '" (at "' + path_promotionApprovalFlow + '")');
5857
+ }
5858
+ })();
5859
+ if (obj_promotionApprovalFlow_union0_error != null) {
5860
+ obj_promotionApprovalFlow_union0 = obj_promotionApprovalFlow_union0_error.message;
5861
+ }
5862
+ let obj_promotionApprovalFlow_union1 = null;
5863
+ const obj_promotionApprovalFlow_union1_error = (() => {
5864
+ if (obj_promotionApprovalFlow !== null) {
5865
+ return new TypeError('Expected "null" but received "' + typeof obj_promotionApprovalFlow + '" (at "' + path_promotionApprovalFlow + '")');
5866
+ }
5867
+ })();
5868
+ if (obj_promotionApprovalFlow_union1_error != null) {
5869
+ obj_promotionApprovalFlow_union1 = obj_promotionApprovalFlow_union1_error.message;
5870
+ }
5871
+ if (obj_promotionApprovalFlow_union0 && obj_promotionApprovalFlow_union1) {
5872
+ let message = 'Object doesn\'t match union (at "' + path_promotionApprovalFlow + '")';
5873
+ message += '\n' + obj_promotionApprovalFlow_union0.split('\n').map((line) => '\t' + line).join('\n');
5874
+ message += '\n' + obj_promotionApprovalFlow_union1.split('\n').map((line) => '\t' + line).join('\n');
5875
+ return new TypeError(message);
5876
+ }
5851
5877
  const obj_rejectionComment = obj.rejectionComment;
5852
5878
  const path_rejectionComment = path + '.rejectionComment';
5853
5879
  let obj_rejectionComment_union0 = null;
@@ -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 = "33098ff1e82d01bbb10d8595b4c0d4cb";
5
+ export declare const VERSION = "f040ad13ea7164019cc2c1ef6a7fe448";
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 {
@@ -76,6 +76,8 @@ export interface DataAssetRequestRepresentationNormalized {
76
76
  productionOrgId: string | null;
77
77
  /** Workspace ID from production org */
78
78
  productionOrgWorkspaceId: string | null;
79
+ /** Promotion Approval Flow of the request */
80
+ promotionApprovalFlow: string | null;
79
81
  /** Rejection Comment */
80
82
  rejectionComment: string | null;
81
83
  /** Type of the request */
@@ -129,6 +131,7 @@ export interface DataAssetRequestRepresentation {
129
131
  personalOrgWorkspaceId: string | null;
130
132
  productionOrgId: string | null;
131
133
  productionOrgWorkspaceId: string | null;
134
+ promotionApprovalFlow: string | null;
132
135
  rejectionComment: string | null;
133
136
  requestType: string;
134
137
  requestedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.404.0-dev11",
3
+ "version": "1.404.0-dev13",
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-dev11"
43
+ "@salesforce/lds-bindings": "^1.404.0-dev13"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.404.0-dev11"
46
+ "@salesforce/lds-compiler-plugins": "^1.404.0-dev13"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -3134,7 +3134,7 @@ function validate$T(obj, path = 'DataAssetRequestAdditionalInfoRepresentation')
3134
3134
  }
3135
3135
 
3136
3136
  const TTL$q = 500;
3137
- const VERSION$C = "33098ff1e82d01bbb10d8595b4c0d4cb";
3137
+ const VERSION$C = "f040ad13ea7164019cc2c1ef6a7fe448";
3138
3138
  function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3139
3139
  const v_error = (() => {
3140
3140
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3707,6 +3707,32 @@ function validate$S(obj, path = 'DataAssetRequestRepresentation') {
3707
3707
  message += '\n' + obj_productionOrgWorkspaceId_union1.split('\n').map((line) => '\t' + line).join('\n');
3708
3708
  return new TypeError(message);
3709
3709
  }
3710
+ const obj_promotionApprovalFlow = obj.promotionApprovalFlow;
3711
+ const path_promotionApprovalFlow = path + '.promotionApprovalFlow';
3712
+ let obj_promotionApprovalFlow_union0 = null;
3713
+ const obj_promotionApprovalFlow_union0_error = (() => {
3714
+ if (typeof obj_promotionApprovalFlow !== 'string') {
3715
+ return new TypeError('Expected "string" but received "' + typeof obj_promotionApprovalFlow + '" (at "' + path_promotionApprovalFlow + '")');
3716
+ }
3717
+ })();
3718
+ if (obj_promotionApprovalFlow_union0_error != null) {
3719
+ obj_promotionApprovalFlow_union0 = obj_promotionApprovalFlow_union0_error.message;
3720
+ }
3721
+ let obj_promotionApprovalFlow_union1 = null;
3722
+ const obj_promotionApprovalFlow_union1_error = (() => {
3723
+ if (obj_promotionApprovalFlow !== null) {
3724
+ return new TypeError('Expected "null" but received "' + typeof obj_promotionApprovalFlow + '" (at "' + path_promotionApprovalFlow + '")');
3725
+ }
3726
+ })();
3727
+ if (obj_promotionApprovalFlow_union1_error != null) {
3728
+ obj_promotionApprovalFlow_union1 = obj_promotionApprovalFlow_union1_error.message;
3729
+ }
3730
+ if (obj_promotionApprovalFlow_union0 && obj_promotionApprovalFlow_union1) {
3731
+ let message = 'Object doesn\'t match union (at "' + path_promotionApprovalFlow + '")';
3732
+ message += '\n' + obj_promotionApprovalFlow_union0.split('\n').map((line) => '\t' + line).join('\n');
3733
+ message += '\n' + obj_promotionApprovalFlow_union1.split('\n').map((line) => '\t' + line).join('\n');
3734
+ return new TypeError(message);
3735
+ }
3710
3736
  const obj_rejectionComment = obj.rejectionComment;
3711
3737
  const path_rejectionComment = path + '.rejectionComment';
3712
3738
  let obj_rejectionComment_union0 = null;
@@ -15813,4 +15839,4 @@ withDefaultLuvio((luvio) => {
15813
15839
  });
15814
15840
 
15815
15841
  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 };
15816
- // version: 1.404.0-dev11-efd5bd34f5
15842
+ // version: 1.404.0-dev13-3a71b8c0f1
package/src/raml/api.raml CHANGED
@@ -1934,6 +1934,12 @@ types:
1934
1934
  - NotStarted
1935
1935
  - Terminal
1936
1936
  required: false
1937
+ promotionApprovalFlow:
1938
+ description: Promotion Approval Flow of the request
1939
+ type: string | nil
1940
+ enum:
1941
+ - Bespoke
1942
+ - Cli
1937
1943
  DataSpaceInfoRepresentation:
1938
1944
  description: DataSpace Info Representation
1939
1945
  type: object