@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev15 → 1.354.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.
@@ -8302,30 +8302,40 @@ function validate$p(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
8302
8302
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8303
8303
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8304
8304
  }
8305
- const obj_displayName = obj.displayName;
8306
- const path_displayName = path + '.displayName';
8307
- if (typeof obj_displayName !== 'string') {
8308
- return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
8305
+ if (obj.displayName !== undefined) {
8306
+ const obj_displayName = obj.displayName;
8307
+ const path_displayName = path + '.displayName';
8308
+ if (typeof obj_displayName !== 'string') {
8309
+ return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
8310
+ }
8309
8311
  }
8310
- const obj_email = obj.email;
8311
- const path_email = path + '.email';
8312
- if (typeof obj_email !== 'string') {
8313
- return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
8312
+ if (obj.email !== undefined) {
8313
+ const obj_email = obj.email;
8314
+ const path_email = path + '.email';
8315
+ if (typeof obj_email !== 'string') {
8316
+ return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
8317
+ }
8314
8318
  }
8315
- const obj_id = obj.id;
8316
- const path_id = path + '.id';
8317
- if (typeof obj_id !== 'string') {
8318
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
8319
+ if (obj.id !== undefined) {
8320
+ const obj_id = obj.id;
8321
+ const path_id = path + '.id';
8322
+ if (typeof obj_id !== 'string') {
8323
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
8324
+ }
8319
8325
  }
8320
- const obj_profilePhotoUrl = obj.profilePhotoUrl;
8321
- const path_profilePhotoUrl = path + '.profilePhotoUrl';
8322
- if (typeof obj_profilePhotoUrl !== 'string') {
8323
- return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
8326
+ if (obj.profilePhotoUrl !== undefined) {
8327
+ const obj_profilePhotoUrl = obj.profilePhotoUrl;
8328
+ const path_profilePhotoUrl = path + '.profilePhotoUrl';
8329
+ if (typeof obj_profilePhotoUrl !== 'string') {
8330
+ return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
8331
+ }
8324
8332
  }
8325
- const obj_username = obj.username;
8326
- const path_username = path + '.username';
8327
- if (typeof obj_username !== 'string') {
8328
- return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
8333
+ if (obj.username !== undefined) {
8334
+ const obj_username = obj.username;
8335
+ const path_username = path + '.username';
8336
+ if (typeof obj_username !== 'string') {
8337
+ return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
8338
+ }
8329
8339
  }
8330
8340
  })();
8331
8341
  return v_error === undefined ? null : v_error;
@@ -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 = "f00c7e25d235168c439dead741c0e4fc";
2
+ export declare const VERSION = "d1614bb2b4e44eba88be256d9176f648";
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: SetupRecordShareUserOrGroupRepresentation, existing: SetupRecordShareUserOrGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SetupRecordShareUserOrGroupRepresentationNormalized;
@@ -15,15 +15,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface SetupRecordShareUserOrGroupRepresentationNormalized {
17
17
  /** Display name of the User or Group */
18
- displayName: string;
18
+ displayName?: string;
19
19
  /** Email of the User */
20
- email: string;
20
+ email?: string;
21
21
  /** Id of the User or Group */
22
- id: string;
22
+ id?: string;
23
23
  /** Profile Photo URL of the User */
24
- profilePhotoUrl: string;
24
+ profilePhotoUrl?: string;
25
25
  /** Username of the User */
26
- username: string;
26
+ username?: string;
27
27
  }
28
28
  /**
29
29
  * User or Group Representation
@@ -32,9 +32,9 @@ export interface SetupRecordShareUserOrGroupRepresentationNormalized {
32
32
  * (none)
33
33
  */
34
34
  export interface SetupRecordShareUserOrGroupRepresentation {
35
- displayName: string;
36
- email: string;
37
- id: string;
38
- profilePhotoUrl: string;
39
- username: string;
35
+ displayName?: string;
36
+ email?: string;
37
+ id?: string;
38
+ profilePhotoUrl?: string;
39
+ username?: string;
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.354.0-dev15",
3
+ "version": "1.354.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.354.0-dev15"
43
+ "@salesforce/lds-bindings": "^1.354.0-dev16"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev15"
46
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev16"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -4981,30 +4981,40 @@ function validate$E(obj, path = 'SetupRecordShareUserOrGroupRepresentation') {
4981
4981
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4982
4982
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4983
4983
  }
4984
- const obj_displayName = obj.displayName;
4985
- const path_displayName = path + '.displayName';
4986
- if (typeof obj_displayName !== 'string') {
4987
- return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
4984
+ if (obj.displayName !== undefined) {
4985
+ const obj_displayName = obj.displayName;
4986
+ const path_displayName = path + '.displayName';
4987
+ if (typeof obj_displayName !== 'string') {
4988
+ return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
4989
+ }
4988
4990
  }
4989
- const obj_email = obj.email;
4990
- const path_email = path + '.email';
4991
- if (typeof obj_email !== 'string') {
4992
- return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
4991
+ if (obj.email !== undefined) {
4992
+ const obj_email = obj.email;
4993
+ const path_email = path + '.email';
4994
+ if (typeof obj_email !== 'string') {
4995
+ return new TypeError('Expected "string" but received "' + typeof obj_email + '" (at "' + path_email + '")');
4996
+ }
4993
4997
  }
4994
- const obj_id = obj.id;
4995
- const path_id = path + '.id';
4996
- if (typeof obj_id !== 'string') {
4997
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4998
+ if (obj.id !== undefined) {
4999
+ const obj_id = obj.id;
5000
+ const path_id = path + '.id';
5001
+ if (typeof obj_id !== 'string') {
5002
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
5003
+ }
4998
5004
  }
4999
- const obj_profilePhotoUrl = obj.profilePhotoUrl;
5000
- const path_profilePhotoUrl = path + '.profilePhotoUrl';
5001
- if (typeof obj_profilePhotoUrl !== 'string') {
5002
- return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
5005
+ if (obj.profilePhotoUrl !== undefined) {
5006
+ const obj_profilePhotoUrl = obj.profilePhotoUrl;
5007
+ const path_profilePhotoUrl = path + '.profilePhotoUrl';
5008
+ if (typeof obj_profilePhotoUrl !== 'string') {
5009
+ return new TypeError('Expected "string" but received "' + typeof obj_profilePhotoUrl + '" (at "' + path_profilePhotoUrl + '")');
5010
+ }
5003
5011
  }
5004
- const obj_username = obj.username;
5005
- const path_username = path + '.username';
5006
- if (typeof obj_username !== 'string') {
5007
- return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
5012
+ if (obj.username !== undefined) {
5013
+ const obj_username = obj.username;
5014
+ const path_username = path + '.username';
5015
+ if (typeof obj_username !== 'string') {
5016
+ return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
5017
+ }
5008
5018
  }
5009
5019
  })();
5010
5020
  return v_error === undefined ? null : v_error;
@@ -14705,4 +14715,4 @@ withDefaultLuvio((luvio) => {
14705
14715
  });
14706
14716
 
14707
14717
  export { createAnnotation, createAssetSlackChannel, createDashboard, createDataAlert, createDataAssetRequest, createLoglines, createRecordShares, createTemplate, createVisualization, createWorkspace, createWorkspaceAsset, deleteAllShares, deleteDashboard, deleteDataAlert, deleteRecordShare, deleteVisualization, deleteWorkspace, deleteWorkspaceAsset, follow, generateSFDriveCredentials, 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, 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, postDataAlertRun, publish, queryAssets, queryUsers, unfollow, updateDashboard, updateDataAlert, updateDataAssetRequest, updateFollowedAsset, updateRecordShares, updateSubscriptionDigestConfig, updateVisualization, updateWorkspace };
14708
- // version: 1.354.0-dev15-ede2ceb2bc
14718
+ // version: 1.354.0-dev16-fc68199eb5
package/src/raml/api.raml CHANGED
@@ -2177,18 +2177,23 @@ types:
2177
2177
  id:
2178
2178
  description: Id of the User or Group
2179
2179
  type: string
2180
+ required: false
2180
2181
  displayName:
2181
2182
  description: Display name of the User or Group
2182
2183
  type: string
2184
+ required: false
2183
2185
  profilePhotoUrl:
2184
2186
  description: Profile Photo URL of the User
2185
2187
  type: string
2188
+ required: false
2186
2189
  email:
2187
2190
  description: Email of the User
2188
2191
  type: string
2192
+ required: false
2189
2193
  username:
2190
2194
  description: Username of the User
2191
2195
  type: string
2196
+ required: false
2192
2197
  SetupRecordAccessRepresentation:
2193
2198
  description: Record Access mapping for specific UserOrGroup
2194
2199
  discriminatorValue: RecordAccessMappingForUserOrGroup