@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev14 → 1.332.0-dev16

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.
@@ -3642,7 +3642,7 @@ function validate$C(obj, path = 'AnalyticsUserRepresentation') {
3642
3642
  }
3643
3643
 
3644
3644
  const TTL$h = 500;
3645
- const VERSION$r = "43c05ab1871f7e0f8c17a6eaf58cdc17";
3645
+ const VERSION$r = "ada5b73b64faa32b0113876061677c0a";
3646
3646
  function validate$B(obj, path = 'DataAssetRequestRepresentation') {
3647
3647
  const v_error = (() => {
3648
3648
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3906,6 +3906,19 @@ function validate$B(obj, path = 'DataAssetRequestRepresentation') {
3906
3906
  if (typeof obj_label !== 'string') {
3907
3907
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
3908
3908
  }
3909
+ const obj_lastModifiedBy = obj.lastModifiedBy;
3910
+ const path_lastModifiedBy = path + '.lastModifiedBy';
3911
+ const referencepath_lastModifiedByValidationError = validate$C(obj_lastModifiedBy, path_lastModifiedBy);
3912
+ if (referencepath_lastModifiedByValidationError !== null) {
3913
+ let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
3914
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3915
+ return new TypeError(message);
3916
+ }
3917
+ const obj_lastModifiedDate = obj.lastModifiedDate;
3918
+ const path_lastModifiedDate = path + '.lastModifiedDate';
3919
+ if (typeof obj_lastModifiedDate !== 'string') {
3920
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
3921
+ }
3909
3922
  const obj_migrationSucceededDate = obj.migrationSucceededDate;
3910
3923
  const path_migrationSucceededDate = path + '.migrationSucceededDate';
3911
3924
  let obj_migrationSucceededDate_union0 = null;
@@ -7999,7 +8012,10 @@ function createResourceRequest$l(config) {
7999
8012
  const adapterName$l = 'queryUsers';
8000
8013
  const queryUsers_ConfigPropertyMetadata = [
8001
8014
  generateParamConfigMetadata('searchTerm', true, 2 /* Body */, 0 /* String */),
8015
+ generateParamConfigMetadata('userCapability', true, 2 /* Body */, 0 /* String */),
8002
8016
  generateParamConfigMetadata('useAutoSuggest', true, 2 /* Body */, 1 /* Boolean */),
8017
+ generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
8018
+ generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
8003
8019
  ];
8004
8020
  const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, queryUsers_ConfigPropertyMetadata);
8005
8021
  const createResourceParams$l = /*#__PURE__*/ createResourceParams$Q(queryUsers_ConfigPropertyMetadata);
@@ -7,7 +7,10 @@ export declare const queryUsers_ConfigPropertyMetadata: $64$luvio_engine_Adapter
7
7
  export declare const queryUsers_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface QueryUsersConfig {
9
9
  searchTerm: string;
10
+ userCapability: string;
10
11
  useAutoSuggest: boolean;
12
+ limit: number;
13
+ offset: number;
11
14
  }
12
15
  export declare const createResourceParams: (config: QueryUsersConfig) => resources_postTableauUsersQuery_ResourceRequestConfig;
13
16
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<QueryUsersConfig>): adapter$45$utils_Untrusted<QueryUsersConfig>;
@@ -3,7 +3,10 @@ import { AnalyticsUsersQueryResultsRepresentation as types_AnalyticsUsersQueryRe
3
3
  export interface ResourceRequestConfig {
4
4
  body: {
5
5
  searchTerm: string;
6
+ userCapability: string;
6
7
  useAutoSuggest: boolean;
8
+ limit: number;
9
+ offset: number;
7
10
  };
8
11
  }
9
12
  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 = "43946c55c3595ee19175b4bdba283cce";
2
+ export declare const VERSION = "5f382ad0b2dbb558f2c8d44da610a2c8";
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: AnalyticsUsersQueryInputRepresentation, existing: AnalyticsUsersQueryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AnalyticsUsersQueryInputRepresentationNormalized;
@@ -14,10 +14,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface AnalyticsUsersQueryInputRepresentationNormalized {
17
+ /** Limit parameter value */
18
+ limit: number;
19
+ /** Offset parameter value */
20
+ offset: number;
17
21
  /** Search term parameter value */
18
22
  searchTerm: string;
19
23
  /** Use auto suggest term parameter value */
20
24
  useAutoSuggest: boolean;
25
+ /** User permission */
26
+ userCapability: string;
21
27
  }
22
28
  /**
23
29
  * Unified Analytics Users Query Input Representation
@@ -26,6 +32,9 @@ export interface AnalyticsUsersQueryInputRepresentationNormalized {
26
32
  * (none)
27
33
  */
28
34
  export interface AnalyticsUsersQueryInputRepresentation {
35
+ limit: number;
36
+ offset: number;
29
37
  searchTerm: string;
30
38
  useAutoSuggest: boolean;
39
+ userCapability: string;
31
40
  }
@@ -1,7 +1,7 @@
1
1
  import { AnalyticsUserRepresentation as AnalyticsUserRepresentation_AnalyticsUserRepresentation } from './AnalyticsUserRepresentation';
2
2
  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';
3
3
  export declare const TTL = 500;
4
- export declare const VERSION = "43c05ab1871f7e0f8c17a6eaf58cdc17";
4
+ export declare const VERSION = "ada5b73b64faa32b0113876061677c0a";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -49,6 +49,10 @@ export interface DataAssetRequestRepresentationNormalized {
49
49
  installedDate: string | null;
50
50
  /** Data Asset Request Label */
51
51
  label: string;
52
+ /** The user who last modified this request */
53
+ lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
54
+ /** Last modified date for the data asset record */
55
+ lastModifiedDate: string;
52
56
  /** Migration Succeeded date */
53
57
  migrationSucceededDate: string | null;
54
58
  /** Number of dependencies associated with workspace asset being tracked in the request */
@@ -99,6 +103,8 @@ export interface DataAssetRequestRepresentation {
99
103
  id: string;
100
104
  installedDate: string | null;
101
105
  label: string;
106
+ lastModifiedBy: AnalyticsUserRepresentation_AnalyticsUserRepresentation;
107
+ lastModifiedDate: string;
102
108
  migrationSucceededDate: string | null;
103
109
  numberOfDependencies: number | null;
104
110
  personalOrgId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.332.0-dev14",
3
+ "version": "1.332.0-dev16",
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.332.0-dev14"
43
+ "@salesforce/lds-bindings": "^1.332.0-dev16"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.332.0-dev14"
46
+ "@salesforce/lds-compiler-plugins": "^1.332.0-dev16"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -2314,7 +2314,7 @@ function validate$I(obj, path = 'AnalyticsUserRepresentation') {
2314
2314
  }
2315
2315
 
2316
2316
  const TTL$k = 500;
2317
- const VERSION$v = "43c05ab1871f7e0f8c17a6eaf58cdc17";
2317
+ const VERSION$v = "ada5b73b64faa32b0113876061677c0a";
2318
2318
  function validate$H(obj, path = 'DataAssetRequestRepresentation') {
2319
2319
  const v_error = (() => {
2320
2320
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2578,6 +2578,19 @@ function validate$H(obj, path = 'DataAssetRequestRepresentation') {
2578
2578
  if (typeof obj_label !== 'string') {
2579
2579
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2580
2580
  }
2581
+ const obj_lastModifiedBy = obj.lastModifiedBy;
2582
+ const path_lastModifiedBy = path + '.lastModifiedBy';
2583
+ const referencepath_lastModifiedByValidationError = validate$I(obj_lastModifiedBy, path_lastModifiedBy);
2584
+ if (referencepath_lastModifiedByValidationError !== null) {
2585
+ let message = 'Object doesn\'t match AnalyticsUserRepresentation (at "' + path_lastModifiedBy + '")\n';
2586
+ message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2587
+ return new TypeError(message);
2588
+ }
2589
+ const obj_lastModifiedDate = obj.lastModifiedDate;
2590
+ const path_lastModifiedDate = path + '.lastModifiedDate';
2591
+ if (typeof obj_lastModifiedDate !== 'string') {
2592
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
2593
+ }
2581
2594
  const obj_migrationSucceededDate = obj.migrationSucceededDate;
2582
2595
  const path_migrationSucceededDate = path + '.migrationSucceededDate';
2583
2596
  let obj_migrationSucceededDate_union0 = null;
@@ -11500,7 +11513,10 @@ function createResourceRequest$7(config) {
11500
11513
  const adapterName$7 = 'queryUsers';
11501
11514
  const queryUsers_ConfigPropertyMetadata = [
11502
11515
  generateParamConfigMetadata('searchTerm', true, 2 /* Body */, 0 /* String */),
11516
+ generateParamConfigMetadata('userCapability', true, 2 /* Body */, 0 /* String */),
11503
11517
  generateParamConfigMetadata('useAutoSuggest', true, 2 /* Body */, 1 /* Boolean */),
11518
+ generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
11519
+ generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
11504
11520
  ];
11505
11521
  const queryUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, queryUsers_ConfigPropertyMetadata);
11506
11522
  const createResourceParams$7 = /*#__PURE__*/ createResourceParams$Q(queryUsers_ConfigPropertyMetadata);
@@ -12707,4 +12723,4 @@ withDefaultLuvio((luvio) => {
12707
12723
  });
12708
12724
 
12709
12725
  export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAssetRequest, createLoglines, createRecordShares, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, getAnnotations, getAnnotations_imperative, getAssetSlackChannels, getAssetSlackChannels_imperative, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_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, getSharesNotifyChange, 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, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAssetRequest, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
12710
- // version: 1.332.0-dev14-759af80034
12726
+ // version: 1.332.0-dev16-9c4333bd65
package/src/raml/api.raml CHANGED
@@ -287,9 +287,18 @@ types:
287
287
  searchTerm:
288
288
  description: Search term parameter value
289
289
  type: string
290
+ userCapability:
291
+ description: User permission
292
+ type: string
290
293
  useAutoSuggest:
291
294
  description: Use auto suggest term parameter value
292
295
  type: boolean
296
+ limit:
297
+ description: Limit parameter value
298
+ type: integer
299
+ offset:
300
+ description: Offset parameter value
301
+ type: integer
293
302
  AnalyticsUsersQueryResultsRepresentation:
294
303
  description: Results of Users Query
295
304
  type: object
@@ -1058,6 +1067,12 @@ types:
1058
1067
  failedDate:
1059
1068
  description: Failed date
1060
1069
  type: string | nil
1070
+ lastModifiedDate:
1071
+ description: Last modified date for the data asset record
1072
+ type: string
1073
+ lastModifiedBy:
1074
+ description: The user who last modified this request
1075
+ type: AnalyticsUserRepresentation
1061
1076
  id:
1062
1077
  description: Data Asset Request Id
1063
1078
  type: string