@salesforce/lds-adapters-analytics-wave 1.433.0 → 1.435.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.
@@ -12559,7 +12559,7 @@ const getDataConnectorSourceObjectDataPreviewWithFieldsAdapterFactory = (luvio)
12559
12559
  buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$y);
12560
12560
  };
12561
12561
 
12562
- const VERSION$Y = "f2b076f5ba8e079826529f304bfcb78f";
12562
+ const VERSION$Y = "c081060736265a341f4fc13666499be4";
12563
12563
  function validate$1I(obj, path = 'ReplicatedFieldRepresentation') {
12564
12564
  const validateAbstractFieldRepresentation_validateError = validate$1H(obj, path);
12565
12565
  if (validateAbstractFieldRepresentation_validateError !== null) {
@@ -12569,6 +12569,20 @@ function validate$1I(obj, path = 'ReplicatedFieldRepresentation') {
12569
12569
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
12570
12570
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
12571
12571
  }
12572
+ if (obj.accessDeniedReason !== undefined) {
12573
+ const obj_accessDeniedReason = obj.accessDeniedReason;
12574
+ const path_accessDeniedReason = path + '.accessDeniedReason';
12575
+ if (typeof obj_accessDeniedReason !== 'string') {
12576
+ return new TypeError('Expected "string" but received "' + typeof obj_accessDeniedReason + '" (at "' + path_accessDeniedReason + '")');
12577
+ }
12578
+ }
12579
+ if (obj.accessible !== undefined) {
12580
+ const obj_accessible = obj.accessible;
12581
+ const path_accessible = path + '.accessible';
12582
+ if (typeof obj_accessible !== 'boolean') {
12583
+ return new TypeError('Expected "boolean" but received "' + typeof obj_accessible + '" (at "' + path_accessible + '")');
12584
+ }
12585
+ }
12572
12586
  const obj_skipped = obj.skipped;
12573
12587
  const path_skipped = path + '.skipped';
12574
12588
  if (typeof obj_skipped !== 'boolean') {
@@ -12585,6 +12599,16 @@ const select$1L = function ReplicatedFieldRepresentationSelect() {
12585
12599
  private: [],
12586
12600
  selections: [
12587
12601
  ...AbstractFieldRepresentationSelections,
12602
+ {
12603
+ name: 'accessDeniedReason',
12604
+ kind: 'Scalar',
12605
+ required: false
12606
+ },
12607
+ {
12608
+ name: 'accessible',
12609
+ kind: 'Scalar',
12610
+ required: false
12611
+ },
12588
12612
  {
12589
12613
  name: 'skipped',
12590
12614
  kind: 'Scalar'
@@ -12596,11 +12620,37 @@ function equals$Y(existing, incoming) {
12596
12620
  if (equals$X(existing, incoming) === false) {
12597
12621
  return false;
12598
12622
  }
12623
+ const existing_accessible = existing.accessible;
12624
+ const incoming_accessible = incoming.accessible;
12625
+ // if at least one of these optionals is defined
12626
+ if (existing_accessible !== undefined || incoming_accessible !== undefined) {
12627
+ // if one of these is not defined we know the other is defined and therefore
12628
+ // not equal
12629
+ if (existing_accessible === undefined || incoming_accessible === undefined) {
12630
+ return false;
12631
+ }
12632
+ if (!(existing_accessible === incoming_accessible)) {
12633
+ return false;
12634
+ }
12635
+ }
12599
12636
  const existing_skipped = existing.skipped;
12600
12637
  const incoming_skipped = incoming.skipped;
12601
12638
  if (!(existing_skipped === incoming_skipped)) {
12602
12639
  return false;
12603
12640
  }
12641
+ const existing_accessDeniedReason = existing.accessDeniedReason;
12642
+ const incoming_accessDeniedReason = incoming.accessDeniedReason;
12643
+ // if at least one of these optionals is defined
12644
+ if (existing_accessDeniedReason !== undefined || incoming_accessDeniedReason !== undefined) {
12645
+ // if one of these is not defined we know the other is defined and therefore
12646
+ // not equal
12647
+ if (existing_accessDeniedReason === undefined || incoming_accessDeniedReason === undefined) {
12648
+ return false;
12649
+ }
12650
+ if (!(existing_accessDeniedReason === incoming_accessDeniedReason)) {
12651
+ return false;
12652
+ }
12653
+ }
12604
12654
  return true;
12605
12655
  }
12606
12656
 
@@ -1,6 +1,6 @@
1
1
  import { AbstractFieldRepresentation as AbstractFieldRepresentation_AbstractFieldRepresentation } from './AbstractFieldRepresentation';
2
2
  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';
3
- export declare const VERSION = "f2b076f5ba8e079826529f304bfcb78f";
3
+ export declare const VERSION = "c081060736265a341f4fc13666499be4";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ReplicatedFieldRepresentation, existing: ReplicatedFieldRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ReplicatedFieldRepresentationNormalized;
@@ -15,6 +15,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ReplicatedFieldRepresentationNormalized extends AbstractFieldRepresentation_AbstractFieldRepresentation {
18
+ /** In the event that this Replicated Field is inaccessible, this property contains a message describing the reason. */
19
+ accessDeniedReason?: string;
20
+ /** If this property is present and false, the Replicated Field is inaccessible and cannot be replicated. Check the accessDeniedReason property for more information. */
21
+ accessible?: boolean;
18
22
  /** If set and true, this field will not be replicated -- but the field metadata can still be stored and retrieved. */
19
23
  skipped: boolean;
20
24
  }
@@ -25,6 +29,8 @@ export interface ReplicatedFieldRepresentationNormalized extends AbstractFieldRe
25
29
  * (none)
26
30
  */
27
31
  export interface ReplicatedFieldRepresentation extends AbstractFieldRepresentation_AbstractFieldRepresentation {
32
+ accessDeniedReason?: string;
33
+ accessible?: boolean;
28
34
  skipped: boolean;
29
35
  fieldType: 'replicatedField';
30
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-wave",
3
- "version": "1.433.0",
3
+ "version": "1.435.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Einstein Analytics family of APIs",
6
6
  "main": "dist/es/es2018/analytics-wave.js",
@@ -66,11 +66,11 @@
66
66
  }
67
67
  },
68
68
  "dependencies": {
69
- "@salesforce/lds-bindings": "^1.433.0"
69
+ "@salesforce/lds-bindings": "^1.435.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@salesforce/lds-compiler-plugins": "^1.433.0",
73
- "@salesforce/lds-karma": "^1.433.0"
72
+ "@salesforce/lds-compiler-plugins": "^1.435.0",
73
+ "@salesforce/lds-karma": "^1.435.0"
74
74
  },
75
75
  "volta": {
76
76
  "extends": "../../package.json"
package/sfdc/index.js CHANGED
@@ -15820,7 +15820,7 @@ const notifyChangeFactory$j = (luvio, options) => {
15820
15820
  };
15821
15821
  };
15822
15822
 
15823
- const VERSION$U = "f2b076f5ba8e079826529f304bfcb78f";
15823
+ const VERSION$U = "c081060736265a341f4fc13666499be4";
15824
15824
  function validate$1c(obj, path = 'ReplicatedFieldRepresentation') {
15825
15825
  const validateAbstractFieldRepresentation_validateError = validate$1b(obj, path);
15826
15826
  if (validateAbstractFieldRepresentation_validateError !== null) {
@@ -15830,6 +15830,20 @@ function validate$1c(obj, path = 'ReplicatedFieldRepresentation') {
15830
15830
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
15831
15831
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
15832
15832
  }
15833
+ if (obj.accessDeniedReason !== undefined) {
15834
+ const obj_accessDeniedReason = obj.accessDeniedReason;
15835
+ const path_accessDeniedReason = path + '.accessDeniedReason';
15836
+ if (typeof obj_accessDeniedReason !== 'string') {
15837
+ return new TypeError('Expected "string" but received "' + typeof obj_accessDeniedReason + '" (at "' + path_accessDeniedReason + '")');
15838
+ }
15839
+ }
15840
+ if (obj.accessible !== undefined) {
15841
+ const obj_accessible = obj.accessible;
15842
+ const path_accessible = path + '.accessible';
15843
+ if (typeof obj_accessible !== 'boolean') {
15844
+ return new TypeError('Expected "boolean" but received "' + typeof obj_accessible + '" (at "' + path_accessible + '")');
15845
+ }
15846
+ }
15833
15847
  const obj_skipped = obj.skipped;
15834
15848
  const path_skipped = path + '.skipped';
15835
15849
  if (typeof obj_skipped !== 'boolean') {
@@ -15846,6 +15860,16 @@ const select$1H = function ReplicatedFieldRepresentationSelect() {
15846
15860
  private: [],
15847
15861
  selections: [
15848
15862
  ...AbstractFieldRepresentationSelections,
15863
+ {
15864
+ name: 'accessDeniedReason',
15865
+ kind: 'Scalar',
15866
+ required: false
15867
+ },
15868
+ {
15869
+ name: 'accessible',
15870
+ kind: 'Scalar',
15871
+ required: false
15872
+ },
15849
15873
  {
15850
15874
  name: 'skipped',
15851
15875
  kind: 'Scalar'
@@ -15857,11 +15881,37 @@ function equals$U(existing, incoming) {
15857
15881
  if (equals$T(existing, incoming) === false) {
15858
15882
  return false;
15859
15883
  }
15884
+ const existing_accessible = existing.accessible;
15885
+ const incoming_accessible = incoming.accessible;
15886
+ // if at least one of these optionals is defined
15887
+ if (existing_accessible !== undefined || incoming_accessible !== undefined) {
15888
+ // if one of these is not defined we know the other is defined and therefore
15889
+ // not equal
15890
+ if (existing_accessible === undefined || incoming_accessible === undefined) {
15891
+ return false;
15892
+ }
15893
+ if (!(existing_accessible === incoming_accessible)) {
15894
+ return false;
15895
+ }
15896
+ }
15860
15897
  const existing_skipped = existing.skipped;
15861
15898
  const incoming_skipped = incoming.skipped;
15862
15899
  if (!(existing_skipped === incoming_skipped)) {
15863
15900
  return false;
15864
15901
  }
15902
+ const existing_accessDeniedReason = existing.accessDeniedReason;
15903
+ const incoming_accessDeniedReason = incoming.accessDeniedReason;
15904
+ // if at least one of these optionals is defined
15905
+ if (existing_accessDeniedReason !== undefined || incoming_accessDeniedReason !== undefined) {
15906
+ // if one of these is not defined we know the other is defined and therefore
15907
+ // not equal
15908
+ if (existing_accessDeniedReason === undefined || incoming_accessDeniedReason === undefined) {
15909
+ return false;
15910
+ }
15911
+ if (!(existing_accessDeniedReason === incoming_accessDeniedReason)) {
15912
+ return false;
15913
+ }
15914
+ }
15865
15915
  return true;
15866
15916
  }
15867
15917
 
@@ -33260,4 +33310,4 @@ withDefaultLuvio((luvio) => {
33260
33310
  });
33261
33311
 
33262
33312
  export { createDataConnector, createDataflowJob, createDataset, createDatasetVersion, createReplicatedDataset, createWaveFolder, deleteDataConnector, deleteDataset, deleteRecipe, deleteReplicatedDataset, deleteWaveFolder, executeQuery, executeQuery_imperative, getActions, getActions_imperative, getAnalyticsLimits, getAnalyticsLimits_imperative, getDataConnector, getDataConnectorNotifyChange, getDataConnectorSourceFields, getDataConnectorSourceFieldsNotifyChange, getDataConnectorSourceFieldsWithAdvProps, getDataConnectorSourceFieldsWithAdvPropsNotifyChange, getDataConnectorSourceFieldsWithAdvProps_imperative, getDataConnectorSourceFields_imperative, getDataConnectorSourceObject, getDataConnectorSourceObjectDataPreviewWithFields, getDataConnectorSourceObjectDataPreviewWithFields_imperative, getDataConnectorSourceObjectNotifyChange, getDataConnectorSourceObject_imperative, getDataConnectorSourceObjects, getDataConnectorSourceObjects_imperative, getDataConnectorStatus, getDataConnectorStatus_imperative, getDataConnectorTypes, getDataConnectorTypes_imperative, getDataConnector_imperative, getDataConnectors, getDataConnectors_imperative, getDataflowJob, getDataflowJobNode, getDataflowJobNodeNotifyChange, getDataflowJobNodeStage, getDataflowJobNodeStageNotifyChange, getDataflowJobNodeStageParents, getDataflowJobNodeStageParentsNotifyChange, getDataflowJobNodeStageParents_imperative, getDataflowJobNodeStage_imperative, getDataflowJobNodeStages, getDataflowJobNodeStages_imperative, getDataflowJobNode_imperative, getDataflowJobNodes, getDataflowJobNodes_imperative, getDataflowJobNotifyChange, getDataflowJob_imperative, getDataflowJobs, getDataflowJobs_imperative, getDataflows, getDataflows_imperative, getDataset, getDatasetNotifyChange, getDatasetVersion, getDatasetVersionNotifyChange, getDatasetVersion_imperative, getDatasetVersions, getDatasetVersions_imperative, getDataset_imperative, getDatasets, getDatasets_imperative, getDependencies, getDependencies_imperative, getRecipe, getRecipeNotification, getRecipeNotificationNotifyChange, getRecipeNotification_imperative, getRecipeNotifyChange, getRecipe_imperative, getRecipes, getRecipes_imperative, getReplicatedDataset, getReplicatedDatasetNotifyChange, getReplicatedDataset_imperative, getReplicatedDatasets, getReplicatedDatasets_imperative, getReplicatedFields, getReplicatedFieldsNotifyChange, getReplicatedFieldsWithAdvancedProps, getReplicatedFieldsWithAdvancedPropsNotifyChange, getReplicatedFieldsWithAdvancedProps_imperative, getReplicatedFields_imperative, getSchedule, getScheduleNotifyChange, getSchedule_imperative, getSecurityCoverageDatasetVersion, getSecurityCoverageDatasetVersion_imperative, getWaveFolder, getWaveFolderNotifyChange, getWaveFolder_imperative, getWaveFolders, getWaveFolders_imperative, getWaveTemplate, getWaveTemplateConfig, getWaveTemplateConfigNotifyChange, getWaveTemplateConfig_imperative, getWaveTemplateNotifyChange, getWaveTemplateReleaseNotes, getWaveTemplateReleaseNotesNotifyChange, getWaveTemplateReleaseNotes_imperative, getWaveTemplate_imperative, getWaveTemplates, getWaveTemplates_imperative, getXmd, getXmd_imperative, ingestDataConnector, updateDataConnector, updateDataflowJob, updateDataset, updateDatasetVersion, updatePartialWaveFolder, updateRecipe, updateRecipeNotification, updateReplicatedDataset, updateReplicatedFields, updateSchedule, updateWaveFolder, updateXmd, validateWaveTemplate };
33263
- // version: 1.433.0-db129b48d2
33313
+ // version: 1.435.0-615ebb9bbd
package/src/raml/api.raml CHANGED
@@ -3677,6 +3677,17 @@ types:
3677
3677
  discriminatorValue: replicatedField
3678
3678
  type: AbstractFieldRepresentation
3679
3679
  properties:
3680
+ accessDeniedReason:
3681
+ description: In the event that this Replicated Field is inaccessible, this
3682
+ property contains a message describing the reason.
3683
+ type: string
3684
+ required: false # TODO Hand-rolled W-20435395
3685
+ accessible:
3686
+ description: If this property is present and false, the Replicated Field is
3687
+ inaccessible and cannot be replicated. Check the accessDeniedReason property
3688
+ for more information.
3689
+ type: boolean
3690
+ required: false # TODO Hand-rolled W-20435395
3680
3691
  skipped:
3681
3692
  description: If set and true, this field will not be replicated -- but the
3682
3693
  field metadata can still be stored and retrieved.