@salesforce/lds-adapters-industries-recordaggregation 1.341.0 → 1.343.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.
@@ -3414,7 +3414,7 @@ function equals$1(existing, incoming) {
3414
3414
  return true;
3415
3415
  }
3416
3416
 
3417
- const VERSION = "1391e902871d141b8d2cce016687b3e7";
3417
+ const VERSION = "0e3e00f3c07c4379318dd493be3b402a";
3418
3418
  function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
3419
3419
  const v_error = (() => {
3420
3420
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3440,7 +3440,9 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
3440
3440
  if (typeof obj_definitionDisplayName !== 'string') {
3441
3441
  return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
3442
3442
  }
3443
- obj.lastComputed;
3443
+ if (obj.lastUpdatedEpochTime !== undefined) {
3444
+ obj.lastUpdatedEpochTime;
3445
+ }
3444
3446
  const obj_message = obj.message;
3445
3447
  const path_message = path + '.message';
3446
3448
  if (typeof obj_message !== 'string') {
@@ -3506,8 +3508,9 @@ const select$1 = function RecordRollupResultOutputRepresentationSelect() {
3506
3508
  kind: 'Scalar'
3507
3509
  },
3508
3510
  {
3509
- name: 'lastComputed',
3510
- kind: 'Scalar'
3511
+ name: 'lastUpdatedEpochTime',
3512
+ kind: 'Scalar',
3513
+ required: false
3511
3514
  },
3512
3515
  {
3513
3516
  name: 'message',
@@ -3551,10 +3554,18 @@ function equals(existing, incoming) {
3551
3554
  if (!(existing_statusCode === incoming_statusCode)) {
3552
3555
  return false;
3553
3556
  }
3554
- const existing_lastComputed = existing.lastComputed;
3555
- const incoming_lastComputed = incoming.lastComputed;
3556
- if (!(existing_lastComputed === incoming_lastComputed)) {
3557
- return false;
3557
+ const existing_lastUpdatedEpochTime = existing.lastUpdatedEpochTime;
3558
+ const incoming_lastUpdatedEpochTime = incoming.lastUpdatedEpochTime;
3559
+ // if at least one of these optionals is defined
3560
+ if (existing_lastUpdatedEpochTime !== undefined || incoming_lastUpdatedEpochTime !== undefined) {
3561
+ // if one of these is not defined we know the other is defined and therefore
3562
+ // not equal
3563
+ if (existing_lastUpdatedEpochTime === undefined || incoming_lastUpdatedEpochTime === undefined) {
3564
+ return false;
3565
+ }
3566
+ if (!(existing_lastUpdatedEpochTime === incoming_lastUpdatedEpochTime)) {
3567
+ return false;
3568
+ }
3558
3569
  }
3559
3570
  const existing_columns = existing.columns;
3560
3571
  const incoming_columns = incoming.columns;
@@ -1,7 +1,7 @@
1
1
  import { RecordRollupResultColumnOutputRepresentation as RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation } from './RecordRollupResultColumnOutputRepresentation';
2
2
  import { RecordRollupResultRowOutputRepresentation as RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation } from './RecordRollupResultRowOutputRepresentation';
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
- export declare const VERSION = "1391e902871d141b8d2cce016687b3e7";
4
+ export declare const VERSION = "0e3e00f3c07c4379318dd493be3b402a";
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 {
@@ -29,8 +29,8 @@ export interface RecordRollupResultOutputRepresentationNormalized {
29
29
  columns: Array<RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation>;
30
30
  /** The display name of the record aggregation definition. */
31
31
  definitionDisplayName: string;
32
- /** The time represented by epoch milliseconds when the record rollup results was last computed for the given definition and anchorRecordId. */
33
- lastComputed: number;
32
+ /** The epoch timestamp in milliseconds when the record rollup results were last updated for the specified definition and anchorRecordId. */
33
+ lastUpdatedEpochTime?: number;
34
34
  /** The message accompanying the HTTP response code. */
35
35
  message: string;
36
36
  /** List of rolled up records that are represented as rows of a table. */
@@ -49,7 +49,7 @@ export interface RecordRollupResultOutputRepresentationNormalized {
49
49
  export interface RecordRollupResultOutputRepresentation {
50
50
  columns: Array<RecordRollupResultColumnOutputRepresentation_RecordRollupResultColumnOutputRepresentation>;
51
51
  definitionDisplayName: string;
52
- lastComputed: number;
52
+ lastUpdatedEpochTime?: number;
53
53
  message: string;
54
54
  rows: Array<RecordRollupResultRowOutputRepresentation_RecordRollupResultRowOutputRepresentation>;
55
55
  statusCode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-recordaggregation",
3
- "version": "1.341.0",
3
+ "version": "1.343.0",
4
4
  "description": "",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-recordaggregation.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.341.0"
43
+ "@salesforce/lds-bindings": "^1.343.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.341.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.343.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -2926,7 +2926,7 @@ function equals$3(existing, incoming) {
2926
2926
  return true;
2927
2927
  }
2928
2928
 
2929
- const VERSION$2 = "1391e902871d141b8d2cce016687b3e7";
2929
+ const VERSION$2 = "0e3e00f3c07c4379318dd493be3b402a";
2930
2930
  function validate$7(obj, path = 'RecordRollupResultOutputRepresentation') {
2931
2931
  const v_error = (() => {
2932
2932
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2952,7 +2952,9 @@ function validate$7(obj, path = 'RecordRollupResultOutputRepresentation') {
2952
2952
  if (typeof obj_definitionDisplayName !== 'string') {
2953
2953
  return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
2954
2954
  }
2955
- obj.lastComputed;
2955
+ if (obj.lastUpdatedEpochTime !== undefined) {
2956
+ obj.lastUpdatedEpochTime;
2957
+ }
2956
2958
  const obj_message = obj.message;
2957
2959
  const path_message = path + '.message';
2958
2960
  if (typeof obj_message !== 'string') {
@@ -3018,8 +3020,9 @@ const select$5 = function RecordRollupResultOutputRepresentationSelect() {
3018
3020
  kind: 'Scalar'
3019
3021
  },
3020
3022
  {
3021
- name: 'lastComputed',
3022
- kind: 'Scalar'
3023
+ name: 'lastUpdatedEpochTime',
3024
+ kind: 'Scalar',
3025
+ required: false
3023
3026
  },
3024
3027
  {
3025
3028
  name: 'message',
@@ -3063,10 +3066,18 @@ function equals$2(existing, incoming) {
3063
3066
  if (!(existing_statusCode === incoming_statusCode)) {
3064
3067
  return false;
3065
3068
  }
3066
- const existing_lastComputed = existing.lastComputed;
3067
- const incoming_lastComputed = incoming.lastComputed;
3068
- if (!(existing_lastComputed === incoming_lastComputed)) {
3069
- return false;
3069
+ const existing_lastUpdatedEpochTime = existing.lastUpdatedEpochTime;
3070
+ const incoming_lastUpdatedEpochTime = incoming.lastUpdatedEpochTime;
3071
+ // if at least one of these optionals is defined
3072
+ if (existing_lastUpdatedEpochTime !== undefined || incoming_lastUpdatedEpochTime !== undefined) {
3073
+ // if one of these is not defined we know the other is defined and therefore
3074
+ // not equal
3075
+ if (existing_lastUpdatedEpochTime === undefined || incoming_lastUpdatedEpochTime === undefined) {
3076
+ return false;
3077
+ }
3078
+ if (!(existing_lastUpdatedEpochTime === incoming_lastUpdatedEpochTime)) {
3079
+ return false;
3080
+ }
3070
3081
  }
3071
3082
  const existing_columns = existing.columns;
3072
3083
  const incoming_columns = incoming.columns;
@@ -3815,4 +3826,4 @@ withDefaultLuvio((luvio) => {
3815
3826
  });
3816
3827
 
3817
3828
  export { deleteRecordAggregationDefinition, getBulkRecordRollupDefinitionDetails, getRecordAggregationApplicableObjects, getRecordAggregationApplicableObjects_imperative, getRecordAggregationDefinition, getRecordAggregationDefinitionNotifyChange, getRecordAggregationDefinition_imperative, getRecordAggregationEntityApplicableFields, getRecordAggregationEntityApplicableFields_imperative, patchRecordAggregationDefinition, performBulkRecordRollupSyncExecution, postGenerateRecordRollupResult, postRecordAggregationCreation, putRecordAggregationDefinition };
3818
- // version: 1.341.0-7420e11050
3829
+ // version: 1.343.0-823df4356c
package/src/raml/api.raml CHANGED
@@ -468,10 +468,11 @@ types:
468
468
  totalResultCount:
469
469
  description: The total number of record rollup results.
470
470
  type: integer
471
- lastComputed:
472
- description: The time represented by epoch milliseconds when the record rollup results was last computed for the given definition and anchorRecordId.
471
+ lastUpdatedEpochTime:
472
+ description: The epoch timestamp in milliseconds when the record rollup results were last updated for the specified definition and anchorRecordId.
473
473
  format: double
474
474
  type: number
475
+ required: false
475
476
  RecordRollupResultRowOutputRepresentation:
476
477
  description: Represents the output for fetching Record Rollup Results
477
478
  type: object