@salesforce/lds-adapters-sales-enablementmeasureconnectfamily 1.280.0 → 1.282.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.
@@ -521,7 +521,7 @@ function equals$1(existing, incoming) {
521
521
  }
522
522
 
523
523
  const TTL = 5000;
524
- const VERSION = "9e84d5b64bc9bd0becb2aedab6af1a57";
524
+ const VERSION = "a40560a4894d717e0f73660f0311f293";
525
525
  function validate(obj, path = 'MilestoneProgressContributingRecordsRepresentation') {
526
526
  const v_error = (() => {
527
527
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -561,6 +561,11 @@ function validate(obj, path = 'MilestoneProgressContributingRecordsRepresentatio
561
561
  if (typeof obj_inaccessibleRecordCount !== 'number' || (typeof obj_inaccessibleRecordCount === 'number' && Math.floor(obj_inaccessibleRecordCount) !== obj_inaccessibleRecordCount)) {
562
562
  return new TypeError('Expected "integer" but received "' + typeof obj_inaccessibleRecordCount + '" (at "' + path_inaccessibleRecordCount + '")');
563
563
  }
564
+ const obj_measureName = obj.measureName;
565
+ const path_measureName = path + '.measureName';
566
+ if (typeof obj_measureName !== 'string') {
567
+ return new TypeError('Expected "string" but received "' + typeof obj_measureName + '" (at "' + path_measureName + '")');
568
+ }
564
569
  const obj_records = obj.records;
565
570
  const path_records = path + '.records';
566
571
  if (!ArrayIsArray(obj_records)) {
@@ -624,6 +629,10 @@ const select$1 = function MilestoneProgressContributingRecordsRepresentationSele
624
629
  name: 'inaccessibleRecordCount',
625
630
  kind: 'Scalar'
626
631
  },
632
+ {
633
+ name: 'measureName',
634
+ kind: 'Scalar'
635
+ },
627
636
  {
628
637
  name: 'records',
629
638
  kind: 'Object',
@@ -652,6 +661,11 @@ function equals(existing, incoming) {
652
661
  if (!(existing_aggregationType === incoming_aggregationType)) {
653
662
  return false;
654
663
  }
664
+ const existing_measureName = existing.measureName;
665
+ const incoming_measureName = incoming.measureName;
666
+ if (!(existing_measureName === incoming_measureName)) {
667
+ return false;
668
+ }
655
669
  const existing_sourceObjectApiName = existing.sourceObjectApiName;
656
670
  const incoming_sourceObjectApiName = incoming.sourceObjectApiName;
657
671
  if (!(existing_sourceObjectApiName === incoming_sourceObjectApiName)) {
@@ -2,7 +2,7 @@ import { ContributingRecordFieldInfoRepresentation as ContributingRecordFieldInf
2
2
  import { ContributingRecordFieldsValueRepresentation as ContributingRecordFieldsValueRepresentation_ContributingRecordFieldsValueRepresentation } from './ContributingRecordFieldsValueRepresentation';
3
3
  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';
4
4
  export declare const TTL = 5000;
5
- export declare const VERSION = "9e84d5b64bc9bd0becb2aedab6af1a57";
5
+ export declare const VERSION = "a40560a4894d717e0f73660f0311f293";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: MilestoneProgressContributingRecordsRepresentation, existing: MilestoneProgressContributingRecordsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MilestoneProgressContributingRecordsRepresentationNormalized;
@@ -24,6 +24,8 @@ export interface MilestoneProgressContributingRecordsRepresentationNormalized {
24
24
  displayField: ContributingRecordFieldInfoRepresentation_ContributingRecordFieldInfoRepresentation;
25
25
  /** Inaccessible Contributing records count */
26
26
  inaccessibleRecordCount: number;
27
+ /** Measure Name */
28
+ measureName: string;
27
29
  /** Contributing records */
28
30
  records: Array<ContributingRecordFieldsValueRepresentation_ContributingRecordFieldsValueRepresentation>;
29
31
  /** Source Object on which the measure is defined */
@@ -43,6 +45,7 @@ export interface MilestoneProgressContributingRecordsRepresentation {
43
45
  dateFilterField: ContributingRecordFieldInfoRepresentation_ContributingRecordFieldInfoRepresentation;
44
46
  displayField: ContributingRecordFieldInfoRepresentation_ContributingRecordFieldInfoRepresentation;
45
47
  inaccessibleRecordCount: number;
48
+ measureName: string;
46
49
  records: Array<ContributingRecordFieldsValueRepresentation_ContributingRecordFieldsValueRepresentation>;
47
50
  sourceObjectApiName: string;
48
51
  taskMeasureProgressId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-sales-enablementmeasureconnectfamily",
3
- "version": "1.280.0",
3
+ "version": "1.282.0",
4
4
  "description": "Enablement Measure related Connect APIs",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/sales-enablementmeasureconnectfamily.js",
@@ -40,11 +40,11 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.280.0"
43
+ "@salesforce/lds-bindings": "^1.282.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.280.0",
47
- "@salesforce/lds-karma": "^1.280.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.282.0",
47
+ "@salesforce/lds-karma": "^1.282.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -370,7 +370,7 @@ function equals$2(existing, incoming) {
370
370
  }
371
371
 
372
372
  const TTL$1 = 5000;
373
- const VERSION$1 = "9e84d5b64bc9bd0becb2aedab6af1a57";
373
+ const VERSION$1 = "a40560a4894d717e0f73660f0311f293";
374
374
  function validate$1(obj, path = 'MilestoneProgressContributingRecordsRepresentation') {
375
375
  const v_error = (() => {
376
376
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -410,6 +410,11 @@ function validate$1(obj, path = 'MilestoneProgressContributingRecordsRepresentat
410
410
  if (typeof obj_inaccessibleRecordCount !== 'number' || (typeof obj_inaccessibleRecordCount === 'number' && Math.floor(obj_inaccessibleRecordCount) !== obj_inaccessibleRecordCount)) {
411
411
  return new TypeError('Expected "integer" but received "' + typeof obj_inaccessibleRecordCount + '" (at "' + path_inaccessibleRecordCount + '")');
412
412
  }
413
+ const obj_measureName = obj.measureName;
414
+ const path_measureName = path + '.measureName';
415
+ if (typeof obj_measureName !== 'string') {
416
+ return new TypeError('Expected "string" but received "' + typeof obj_measureName + '" (at "' + path_measureName + '")');
417
+ }
413
418
  const obj_records = obj.records;
414
419
  const path_records = path + '.records';
415
420
  if (!ArrayIsArray(obj_records)) {
@@ -473,6 +478,10 @@ const select$3 = function MilestoneProgressContributingRecordsRepresentationSele
473
478
  name: 'inaccessibleRecordCount',
474
479
  kind: 'Scalar'
475
480
  },
481
+ {
482
+ name: 'measureName',
483
+ kind: 'Scalar'
484
+ },
476
485
  {
477
486
  name: 'records',
478
487
  kind: 'Object',
@@ -501,6 +510,11 @@ function equals$1(existing, incoming) {
501
510
  if (!(existing_aggregationType === incoming_aggregationType)) {
502
511
  return false;
503
512
  }
513
+ const existing_measureName = existing.measureName;
514
+ const incoming_measureName = incoming.measureName;
515
+ if (!(existing_measureName === incoming_measureName)) {
516
+ return false;
517
+ }
504
518
  const existing_sourceObjectApiName = existing.sourceObjectApiName;
505
519
  const incoming_sourceObjectApiName = incoming.sourceObjectApiName;
506
520
  if (!(existing_sourceObjectApiName === incoming_sourceObjectApiName)) {
@@ -894,4 +908,4 @@ withDefaultLuvio((luvio) => {
894
908
  });
895
909
 
896
910
  export { getContributingRecordsInfoForMilestone, getContributingRecordsInfoForMilestone_imperative, triggerOnDemandComputation };
897
- // version: 1.280.0-09f980816
911
+ // version: 1.282.0-dd2e9831c
package/src/raml/api.raml CHANGED
@@ -56,6 +56,9 @@ types:
56
56
  inaccessibleRecordCount:
57
57
  description: Inaccessible Contributing records count
58
58
  type: integer
59
+ measureName:
60
+ description: Measure Name
61
+ type: string
59
62
  records:
60
63
  description: Contributing records
61
64
  type: array