@salesforce/lds-adapters-analytics-unifiedanalytics 1.444.0 → 1.446.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.
- package/dist/es/es2018/analytics-unifiedanalytics.js +56 -0
- package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +57 -1
- package/src/raml/api.raml +22 -0
|
@@ -5706,6 +5706,34 @@ function validate$M(obj, path = 'PromotionContentAssetRepresentation') {
|
|
|
5706
5706
|
if (typeof obj_isReused !== 'boolean') {
|
|
5707
5707
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
5708
5708
|
}
|
|
5709
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
5710
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
5711
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
5712
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
5713
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
5714
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
5715
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
5716
|
+
}
|
|
5717
|
+
})();
|
|
5718
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
5719
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
5720
|
+
}
|
|
5721
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
5722
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
5723
|
+
if (obj_reusedAssetStatus !== null) {
|
|
5724
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
5725
|
+
}
|
|
5726
|
+
})();
|
|
5727
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
5728
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
5729
|
+
}
|
|
5730
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
5731
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
5732
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5733
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5734
|
+
return new TypeError(message);
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5709
5737
|
const obj_sourceDevName = obj.sourceDevName;
|
|
5710
5738
|
const path_sourceDevName = path + '.sourceDevName';
|
|
5711
5739
|
if (typeof obj_sourceDevName !== 'string') {
|
|
@@ -7496,6 +7524,34 @@ function validate$H(obj, path = 'DataAssetRepresentation') {
|
|
|
7496
7524
|
if (typeof obj_name !== 'string') {
|
|
7497
7525
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
7498
7526
|
}
|
|
7527
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
7528
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
7529
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
7530
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
7531
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
7532
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
7533
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
7534
|
+
}
|
|
7535
|
+
})();
|
|
7536
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
7537
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
7538
|
+
}
|
|
7539
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
7540
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
7541
|
+
if (obj_reusedAssetStatus !== null) {
|
|
7542
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
7543
|
+
}
|
|
7544
|
+
})();
|
|
7545
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
7546
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
7547
|
+
}
|
|
7548
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
7549
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
7550
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
7551
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7552
|
+
return new TypeError(message);
|
|
7553
|
+
}
|
|
7554
|
+
}
|
|
7499
7555
|
if (obj.synchronizationStatus !== undefined) {
|
|
7500
7556
|
const obj_synchronizationStatus = obj.synchronizationStatus;
|
|
7501
7557
|
const path_synchronizationStatus = path + '.synchronizationStatus';
|
|
@@ -2,7 +2,7 @@ import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUse
|
|
|
2
2
|
import { DataSpaceInfoRepresentation as DataSpaceInfoRepresentation_DataSpaceInfoRepresentation } from './DataSpaceInfoRepresentation';
|
|
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 = "
|
|
5
|
+
export declare const VERSION = "ed746ca27cee1761bdf04a4d54800ef1";
|
|
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 {
|
|
@@ -54,6 +54,8 @@ export interface DataAssetRepresentationNormalized {
|
|
|
54
54
|
lastModifiedDate: string;
|
|
55
55
|
/** Name of the DataAsset. */
|
|
56
56
|
name: string;
|
|
57
|
+
/** The reused asset status of the DataAsset */
|
|
58
|
+
reusedAssetStatus?: string | null;
|
|
57
59
|
/** Synchronization status of the DataAsset */
|
|
58
60
|
synchronizationStatus?: string;
|
|
59
61
|
/** Id of the workspace which the DataAsset is part of */
|
|
@@ -80,6 +82,7 @@ export interface DataAssetRepresentation {
|
|
|
80
82
|
lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
|
|
81
83
|
lastModifiedDate: string;
|
|
82
84
|
name: string;
|
|
85
|
+
reusedAssetStatus?: string | null;
|
|
83
86
|
synchronizationStatus?: string;
|
|
84
87
|
workspaceId?: string;
|
|
85
88
|
}
|
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "7a4e5782bd067a916af97fe2848492a9";
|
|
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: PromotionContentAssetRepresentation, existing: PromotionContentAssetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromotionContentAssetRepresentationNormalized;
|
|
@@ -20,6 +20,8 @@ export interface PromotionContentAssetRepresentationNormalized {
|
|
|
20
20
|
isFirstLevelReuse: boolean;
|
|
21
21
|
/** Indicates whether the asset is reused from another promotion */
|
|
22
22
|
isReused: boolean;
|
|
23
|
+
/** The reused asset status of the asset */
|
|
24
|
+
reusedAssetStatus?: string | null;
|
|
23
25
|
/** The source developer name of the asset */
|
|
24
26
|
sourceDevName: string;
|
|
25
27
|
/** The source ID of the asset */
|
|
@@ -39,6 +41,7 @@ export interface PromotionContentAssetRepresentation {
|
|
|
39
41
|
assetType: string;
|
|
40
42
|
isFirstLevelReuse: boolean;
|
|
41
43
|
isReused: boolean;
|
|
44
|
+
reusedAssetStatus?: string | null;
|
|
42
45
|
sourceDevName: string;
|
|
43
46
|
sourceId: string;
|
|
44
47
|
targetDevName?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.446.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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.446.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.446.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -3286,6 +3286,34 @@ function validate$W(obj, path = 'PromotionContentAssetRepresentation') {
|
|
|
3286
3286
|
if (typeof obj_isReused !== 'boolean') {
|
|
3287
3287
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isReused + '" (at "' + path_isReused + '")');
|
|
3288
3288
|
}
|
|
3289
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
3290
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
3291
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
3292
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
3293
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
3294
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
3295
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
3296
|
+
}
|
|
3297
|
+
})();
|
|
3298
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
3299
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
3300
|
+
}
|
|
3301
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
3302
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
3303
|
+
if (obj_reusedAssetStatus !== null) {
|
|
3304
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
3305
|
+
}
|
|
3306
|
+
})();
|
|
3307
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
3308
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
3309
|
+
}
|
|
3310
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
3311
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
3312
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3313
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3314
|
+
return new TypeError(message);
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3289
3317
|
const obj_sourceDevName = obj.sourceDevName;
|
|
3290
3318
|
const path_sourceDevName = path + '.sourceDevName';
|
|
3291
3319
|
if (typeof obj_sourceDevName !== 'string') {
|
|
@@ -8631,6 +8659,34 @@ function validate$z(obj, path = 'DataAssetRepresentation') {
|
|
|
8631
8659
|
if (typeof obj_name !== 'string') {
|
|
8632
8660
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
8633
8661
|
}
|
|
8662
|
+
if (obj.reusedAssetStatus !== undefined) {
|
|
8663
|
+
const obj_reusedAssetStatus = obj.reusedAssetStatus;
|
|
8664
|
+
const path_reusedAssetStatus = path + '.reusedAssetStatus';
|
|
8665
|
+
let obj_reusedAssetStatus_union0 = null;
|
|
8666
|
+
const obj_reusedAssetStatus_union0_error = (() => {
|
|
8667
|
+
if (typeof obj_reusedAssetStatus !== 'string') {
|
|
8668
|
+
return new TypeError('Expected "string" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
8669
|
+
}
|
|
8670
|
+
})();
|
|
8671
|
+
if (obj_reusedAssetStatus_union0_error != null) {
|
|
8672
|
+
obj_reusedAssetStatus_union0 = obj_reusedAssetStatus_union0_error.message;
|
|
8673
|
+
}
|
|
8674
|
+
let obj_reusedAssetStatus_union1 = null;
|
|
8675
|
+
const obj_reusedAssetStatus_union1_error = (() => {
|
|
8676
|
+
if (obj_reusedAssetStatus !== null) {
|
|
8677
|
+
return new TypeError('Expected "null" but received "' + typeof obj_reusedAssetStatus + '" (at "' + path_reusedAssetStatus + '")');
|
|
8678
|
+
}
|
|
8679
|
+
})();
|
|
8680
|
+
if (obj_reusedAssetStatus_union1_error != null) {
|
|
8681
|
+
obj_reusedAssetStatus_union1 = obj_reusedAssetStatus_union1_error.message;
|
|
8682
|
+
}
|
|
8683
|
+
if (obj_reusedAssetStatus_union0 && obj_reusedAssetStatus_union1) {
|
|
8684
|
+
let message = 'Object doesn\'t match union (at "' + path_reusedAssetStatus + '")';
|
|
8685
|
+
message += '\n' + obj_reusedAssetStatus_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8686
|
+
message += '\n' + obj_reusedAssetStatus_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8687
|
+
return new TypeError(message);
|
|
8688
|
+
}
|
|
8689
|
+
}
|
|
8634
8690
|
if (obj.synchronizationStatus !== undefined) {
|
|
8635
8691
|
const obj_synchronizationStatus = obj.synchronizationStatus;
|
|
8636
8692
|
const path_synchronizationStatus = path + '.synchronizationStatus';
|
|
@@ -16641,4 +16697,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16641
16697
|
});
|
|
16642
16698
|
|
|
16643
16699
|
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, getDataAssetLineageByIdOrApiName, getDataAssetLineageByIdOrApiName_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, postDataAlertQuery, postDataAlertQuery_imperative, postDataAlertRun, publish, publishToMarketplace, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
|
|
16644
|
-
// version: 1.
|
|
16700
|
+
// version: 1.446.0-74903f7bb8
|
package/src/raml/api.raml
CHANGED
|
@@ -1150,6 +1150,17 @@ types:
|
|
|
1150
1150
|
description: Whether the DataAsset is the primary asset in a list of data asset dependencies
|
|
1151
1151
|
type: boolean
|
|
1152
1152
|
required: false
|
|
1153
|
+
reusedAssetStatus:
|
|
1154
|
+
description: The reused asset status of the DataAsset
|
|
1155
|
+
type: string | nil
|
|
1156
|
+
enum:
|
|
1157
|
+
- Conflict
|
|
1158
|
+
- Editable
|
|
1159
|
+
- Locked
|
|
1160
|
+
- Modified
|
|
1161
|
+
- OutOfSyncLocked
|
|
1162
|
+
- UpdateAvailable
|
|
1163
|
+
required: false
|
|
1153
1164
|
assetTypeFingerprint:
|
|
1154
1165
|
description: Schema fingerprint of the asset type of the DataAsset
|
|
1155
1166
|
type: string
|
|
@@ -2189,6 +2200,17 @@ types:
|
|
|
2189
2200
|
isReused:
|
|
2190
2201
|
description: Indicates whether the asset is reused from another promotion
|
|
2191
2202
|
type: boolean
|
|
2203
|
+
reusedAssetStatus:
|
|
2204
|
+
description: The reused asset status of the asset
|
|
2205
|
+
type: string | nil
|
|
2206
|
+
enum:
|
|
2207
|
+
- Conflict
|
|
2208
|
+
- Editable
|
|
2209
|
+
- Locked
|
|
2210
|
+
- Modified
|
|
2211
|
+
- OutOfSyncLocked
|
|
2212
|
+
- UpdateAvailable
|
|
2213
|
+
required: false
|
|
2192
2214
|
sourceDevName:
|
|
2193
2215
|
description: The source developer name of the asset
|
|
2194
2216
|
type: string
|