@salesforce/lds-adapters-industries-recordaggregation 1.346.0 → 1.347.1

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.
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- function validate$s(obj, path = 'RecordAggregationFilterRowInputRepresentation') {
115
+ function validate$t(obj, path = 'RecordAggregationFilterRowInputRepresentation') {
116
116
  const v_error = (() => {
117
117
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
118
118
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -141,7 +141,7 @@ function validate$s(obj, path = 'RecordAggregationFilterRowInputRepresentation')
141
141
  return v_error === undefined ? null : v_error;
142
142
  }
143
143
 
144
- function validate$r(obj, path = 'RecordAggregationFilterInputRepresentation') {
144
+ function validate$s(obj, path = 'RecordAggregationFilterInputRepresentation') {
145
145
  const v_error = (() => {
146
146
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
147
147
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -155,7 +155,7 @@ function validate$r(obj, path = 'RecordAggregationFilterInputRepresentation') {
155
155
  for (let i = 0; i < obj_filterConditions.length; i++) {
156
156
  const obj_filterConditions_item = obj_filterConditions[i];
157
157
  const path_filterConditions_item = path_filterConditions + '[' + i + ']';
158
- const referencepath_filterConditions_itemValidationError = validate$s(obj_filterConditions_item, path_filterConditions_item);
158
+ const referencepath_filterConditions_itemValidationError = validate$t(obj_filterConditions_item, path_filterConditions_item);
159
159
  if (referencepath_filterConditions_itemValidationError !== null) {
160
160
  let message = 'Object doesn\'t match RecordAggregationFilterRowInputRepresentation (at "' + path_filterConditions_item + '")\n';
161
161
  message += referencepath_filterConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -174,7 +174,7 @@ function validate$r(obj, path = 'RecordAggregationFilterInputRepresentation') {
174
174
  return v_error === undefined ? null : v_error;
175
175
  }
176
176
 
177
- function validate$q(obj, path = 'RecordAggregationJoinInputRepresentation') {
177
+ function validate$r(obj, path = 'RecordAggregationJoinInputRepresentation') {
178
178
  const v_error = (() => {
179
179
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
180
180
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -188,7 +188,7 @@ function validate$q(obj, path = 'RecordAggregationJoinInputRepresentation') {
188
188
  return v_error === undefined ? null : v_error;
189
189
  }
190
190
 
191
- function validate$p(obj, path = 'RecordAggregationAssociatedObjectInputRepresentation') {
191
+ function validate$q(obj, path = 'RecordAggregationAssociatedObjectInputRepresentation') {
192
192
  const v_error = (() => {
193
193
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
194
194
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -202,7 +202,7 @@ function validate$p(obj, path = 'RecordAggregationAssociatedObjectInputRepresent
202
202
  return v_error === undefined ? null : v_error;
203
203
  }
204
204
 
205
- function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
205
+ function validate$p(obj, path = 'RecordAggregationNodeInputRepresentation') {
206
206
  const v_error = (() => {
207
207
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
208
208
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -210,7 +210,7 @@ function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
210
210
  if (obj.filterDetails !== undefined) {
211
211
  const obj_filterDetails = obj.filterDetails;
212
212
  const path_filterDetails = path + '.filterDetails';
213
- const referencepath_filterDetailsValidationError = validate$r(obj_filterDetails, path_filterDetails);
213
+ const referencepath_filterDetailsValidationError = validate$s(obj_filterDetails, path_filterDetails);
214
214
  if (referencepath_filterDetailsValidationError !== null) {
215
215
  let message = 'Object doesn\'t match RecordAggregationFilterInputRepresentation (at "' + path_filterDetails + '")\n';
216
216
  message += referencepath_filterDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -220,7 +220,7 @@ function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
220
220
  if (obj.nextObjectJoinDetails !== undefined) {
221
221
  const obj_nextObjectJoinDetails = obj.nextObjectJoinDetails;
222
222
  const path_nextObjectJoinDetails = path + '.nextObjectJoinDetails';
223
- const referencepath_nextObjectJoinDetailsValidationError = validate$q(obj_nextObjectJoinDetails, path_nextObjectJoinDetails);
223
+ const referencepath_nextObjectJoinDetailsValidationError = validate$r(obj_nextObjectJoinDetails, path_nextObjectJoinDetails);
224
224
  if (referencepath_nextObjectJoinDetailsValidationError !== null) {
225
225
  let message = 'Object doesn\'t match RecordAggregationJoinInputRepresentation (at "' + path_nextObjectJoinDetails + '")\n';
226
226
  message += referencepath_nextObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -229,7 +229,7 @@ function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
229
229
  }
230
230
  const obj_objectDetails = obj.objectDetails;
231
231
  const path_objectDetails = path + '.objectDetails';
232
- const referencepath_objectDetailsValidationError = validate$p(obj_objectDetails, path_objectDetails);
232
+ const referencepath_objectDetailsValidationError = validate$q(obj_objectDetails, path_objectDetails);
233
233
  if (referencepath_objectDetailsValidationError !== null) {
234
234
  let message = 'Object doesn\'t match RecordAggregationAssociatedObjectInputRepresentation (at "' + path_objectDetails + '")\n';
235
235
  message += referencepath_objectDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -238,7 +238,7 @@ function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
238
238
  if (obj.previousObjectJoinDetails !== undefined) {
239
239
  const obj_previousObjectJoinDetails = obj.previousObjectJoinDetails;
240
240
  const path_previousObjectJoinDetails = path + '.previousObjectJoinDetails';
241
- const referencepath_previousObjectJoinDetailsValidationError = validate$q(obj_previousObjectJoinDetails, path_previousObjectJoinDetails);
241
+ const referencepath_previousObjectJoinDetailsValidationError = validate$r(obj_previousObjectJoinDetails, path_previousObjectJoinDetails);
242
242
  if (referencepath_previousObjectJoinDetailsValidationError !== null) {
243
243
  let message = 'Object doesn\'t match RecordAggregationJoinInputRepresentation (at "' + path_previousObjectJoinDetails + '")\n';
244
244
  message += referencepath_previousObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -254,8 +254,8 @@ function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
254
254
  return v_error === undefined ? null : v_error;
255
255
  }
256
256
 
257
- const VERSION$m = "360b76c13b79ed8a1d3522d29b8a91e1";
258
- function validate$n(obj, path = 'RecordAggregationCreationOutputRepresentation') {
257
+ const VERSION$n = "360b76c13b79ed8a1d3522d29b8a91e1";
258
+ function validate$o(obj, path = 'RecordAggregationCreationOutputRepresentation') {
259
259
  const v_error = (() => {
260
260
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
261
261
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -291,10 +291,10 @@ function keyBuilderFromType$6(luvio, object) {
291
291
  function normalize$8(input, existing, path, luvio, store, timestamp) {
292
292
  return input;
293
293
  }
294
- const select$v = function RecordAggregationCreationOutputRepresentationSelect() {
294
+ const select$w = function RecordAggregationCreationOutputRepresentationSelect() {
295
295
  return {
296
296
  kind: 'Fragment',
297
- version: VERSION$m,
297
+ version: VERSION$n,
298
298
  private: [],
299
299
  selections: [
300
300
  {
@@ -312,7 +312,7 @@ const select$v = function RecordAggregationCreationOutputRepresentationSelect()
312
312
  ]
313
313
  };
314
314
  };
315
- function equals$m(existing, incoming) {
315
+ function equals$n(existing, incoming) {
316
316
  const existing_message = existing.message;
317
317
  const incoming_message = incoming.message;
318
318
  if (!(existing_message === incoming_message)) {
@@ -332,14 +332,14 @@ function equals$m(existing, incoming) {
332
332
  }
333
333
  const ingest$8 = function RecordAggregationCreationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
334
334
  if (process.env.NODE_ENV !== 'production') {
335
- const validateError = validate$n(input);
335
+ const validateError = validate$o(input);
336
336
  if (validateError !== null) {
337
337
  throw validateError;
338
338
  }
339
339
  }
340
340
  const key = keyBuilderFromType$6(luvio, input);
341
341
  const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
342
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesRecordAggregation", VERSION$m, RepresentationType$8, equals$m);
342
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesRecordAggregation", VERSION$n, RepresentationType$8, equals$n);
343
343
  return createLink(key);
344
344
  };
345
345
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -352,8 +352,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
352
352
  });
353
353
  }
354
354
 
355
- function select$u(luvio, params) {
356
- return select$v();
355
+ function select$v(luvio, params) {
356
+ return select$w();
357
357
  }
358
358
  function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
359
359
  getTypeCacheKeys$8(storeKeyMap, luvio, response);
@@ -364,7 +364,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
364
364
  luvio.storeIngest(key, ingest$8, body);
365
365
  const snapshot = luvio.storeLookup({
366
366
  recordId: key,
367
- node: select$u(),
367
+ node: select$v(),
368
368
  variables: {},
369
369
  });
370
370
  if (process.env.NODE_ENV !== 'production') {
@@ -405,7 +405,7 @@ function typeCheckConfig$9(untrustedConfig) {
405
405
  const untrustedConfig_aggregationObjects_array = [];
406
406
  for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
407
407
  const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
408
- const referenceRecordAggregationNodeInputRepresentationValidationError = validate$o(untrustedConfig_aggregationObjects_item);
408
+ const referenceRecordAggregationNodeInputRepresentationValidationError = validate$p(untrustedConfig_aggregationObjects_item);
409
409
  if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
410
410
  untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
411
411
  }
@@ -456,8 +456,8 @@ const postRecordAggregationCreationAdapterFactory = (luvio) => {
456
456
  };
457
457
  };
458
458
 
459
- const VERSION$l = "c129efabba808636007b868dc6c3d067";
460
- function validate$m(obj, path = 'RecordRollupDefinitionDetailsErrorOutputRepresentation') {
459
+ const VERSION$m = "c129efabba808636007b868dc6c3d067";
460
+ function validate$n(obj, path = 'RecordRollupDefinitionDetailsErrorOutputRepresentation') {
461
461
  const v_error = (() => {
462
462
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
463
463
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -475,10 +475,10 @@ function validate$m(obj, path = 'RecordRollupDefinitionDetailsErrorOutputReprese
475
475
  })();
476
476
  return v_error === undefined ? null : v_error;
477
477
  }
478
- const select$t = function RecordRollupDefinitionDetailsErrorOutputRepresentationSelect() {
478
+ const select$u = function RecordRollupDefinitionDetailsErrorOutputRepresentationSelect() {
479
479
  return {
480
480
  kind: 'Fragment',
481
- version: VERSION$l,
481
+ version: VERSION$m,
482
482
  private: [],
483
483
  selections: [
484
484
  {
@@ -492,7 +492,7 @@ const select$t = function RecordRollupDefinitionDetailsErrorOutputRepresentation
492
492
  ]
493
493
  };
494
494
  };
495
- function equals$l(existing, incoming) {
495
+ function equals$m(existing, incoming) {
496
496
  const existing_message = existing.message;
497
497
  const incoming_message = incoming.message;
498
498
  if (!(existing_message === incoming_message)) {
@@ -506,7 +506,75 @@ function equals$l(existing, incoming) {
506
506
  return true;
507
507
  }
508
508
 
509
- const VERSION$k = "7849a428dc009e6f5dcf3e08efcc5451";
509
+ const VERSION$l = "c03cef456fdd47750fce35e6fdf8a837";
510
+ function validate$m(obj, path = 'RecordRollupDefinitionLastUpdatedDetailsOutputRepresentation') {
511
+ const v_error = (() => {
512
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
513
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
514
+ }
515
+ if (obj.epochTime !== undefined) {
516
+ obj.epochTime;
517
+ }
518
+ if (obj.errorType !== undefined) {
519
+ const obj_errorType = obj.errorType;
520
+ const path_errorType = path + '.errorType';
521
+ if (typeof obj_errorType !== 'string') {
522
+ return new TypeError('Expected "string" but received "' + typeof obj_errorType + '" (at "' + path_errorType + '")');
523
+ }
524
+ }
525
+ })();
526
+ return v_error === undefined ? null : v_error;
527
+ }
528
+ const select$t = function RecordRollupDefinitionLastUpdatedDetailsOutputRepresentationSelect() {
529
+ return {
530
+ kind: 'Fragment',
531
+ version: VERSION$l,
532
+ private: [],
533
+ selections: [
534
+ {
535
+ name: 'epochTime',
536
+ kind: 'Scalar',
537
+ required: false
538
+ },
539
+ {
540
+ name: 'errorType',
541
+ kind: 'Scalar',
542
+ required: false
543
+ }
544
+ ]
545
+ };
546
+ };
547
+ function equals$l(existing, incoming) {
548
+ const existing_errorType = existing.errorType;
549
+ const incoming_errorType = incoming.errorType;
550
+ // if at least one of these optionals is defined
551
+ if (existing_errorType !== undefined || incoming_errorType !== undefined) {
552
+ // if one of these is not defined we know the other is defined and therefore
553
+ // not equal
554
+ if (existing_errorType === undefined || incoming_errorType === undefined) {
555
+ return false;
556
+ }
557
+ if (!(existing_errorType === incoming_errorType)) {
558
+ return false;
559
+ }
560
+ }
561
+ const existing_epochTime = existing.epochTime;
562
+ const incoming_epochTime = incoming.epochTime;
563
+ // if at least one of these optionals is defined
564
+ if (existing_epochTime !== undefined || incoming_epochTime !== undefined) {
565
+ // if one of these is not defined we know the other is defined and therefore
566
+ // not equal
567
+ if (existing_epochTime === undefined || incoming_epochTime === undefined) {
568
+ return false;
569
+ }
570
+ if (!(existing_epochTime === incoming_epochTime)) {
571
+ return false;
572
+ }
573
+ }
574
+ return true;
575
+ }
576
+
577
+ const VERSION$k = "460d9f258b2c31a5a43809b21ae51cfd";
510
578
  function validate$l(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentation') {
511
579
  const v_error = (() => {
512
580
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -515,7 +583,7 @@ function validate$l(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentati
515
583
  if (obj.error !== undefined) {
516
584
  const obj_error = obj.error;
517
585
  const path_error = path + '.error';
518
- const referencepath_errorValidationError = validate$m(obj_error, path_error);
586
+ const referencepath_errorValidationError = validate$n(obj_error, path_error);
519
587
  if (referencepath_errorValidationError !== null) {
520
588
  let message = 'Object doesn\'t match RecordRollupDefinitionDetailsErrorOutputRepresentation (at "' + path_error + '")\n';
521
589
  message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -534,8 +602,15 @@ function validate$l(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentati
534
602
  return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
535
603
  }
536
604
  }
537
- if (obj.lastUpdatedEpochTime !== undefined) {
538
- obj.lastUpdatedEpochTime;
605
+ if (obj.lastUpdatedDetails !== undefined) {
606
+ const obj_lastUpdatedDetails = obj.lastUpdatedDetails;
607
+ const path_lastUpdatedDetails = path + '.lastUpdatedDetails';
608
+ const referencepath_lastUpdatedDetailsValidationError = validate$m(obj_lastUpdatedDetails, path_lastUpdatedDetails);
609
+ if (referencepath_lastUpdatedDetailsValidationError !== null) {
610
+ let message = 'Object doesn\'t match RecordRollupDefinitionLastUpdatedDetailsOutputRepresentation (at "' + path_lastUpdatedDetails + '")\n';
611
+ message += referencepath_lastUpdatedDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
612
+ return new TypeError(message);
613
+ }
539
614
  }
540
615
  if (obj.name !== undefined) {
541
616
  const obj_name = obj.name;
@@ -560,7 +635,8 @@ function validate$l(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentati
560
635
  return v_error === undefined ? null : v_error;
561
636
  }
562
637
  const select$s = function RecordRollupDefinitionDetailsOutputRepresentationSelect() {
563
- const { selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsErrorOutputRepresentation__opaque, } = select$t();
638
+ const { selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsErrorOutputRepresentation__opaque, } = select$u();
639
+ const { selections: RecordRollupDefinitionLastUpdatedDetailsOutputRepresentation__selections, opaque: RecordRollupDefinitionLastUpdatedDetailsOutputRepresentation__opaque, } = select$t();
564
640
  return {
565
641
  kind: 'Fragment',
566
642
  version: VERSION$k,
@@ -582,8 +658,9 @@ const select$s = function RecordRollupDefinitionDetailsOutputRepresentationSelec
582
658
  required: false
583
659
  },
584
660
  {
585
- name: 'lastUpdatedEpochTime',
586
- kind: 'Scalar',
661
+ name: 'lastUpdatedDetails',
662
+ kind: 'Object',
663
+ selections: RecordRollupDefinitionLastUpdatedDetailsOutputRepresentation__selections,
587
664
  required: false
588
665
  },
589
666
  {
@@ -653,29 +730,29 @@ function equals$k(existing, incoming) {
653
730
  if (!(existing_status === incoming_status)) {
654
731
  return false;
655
732
  }
656
- const existing_lastUpdatedEpochTime = existing.lastUpdatedEpochTime;
657
- const incoming_lastUpdatedEpochTime = incoming.lastUpdatedEpochTime;
733
+ const existing_error = existing.error;
734
+ const incoming_error = incoming.error;
658
735
  // if at least one of these optionals is defined
659
- if (existing_lastUpdatedEpochTime !== undefined || incoming_lastUpdatedEpochTime !== undefined) {
736
+ if (existing_error !== undefined || incoming_error !== undefined) {
660
737
  // if one of these is not defined we know the other is defined and therefore
661
738
  // not equal
662
- if (existing_lastUpdatedEpochTime === undefined || incoming_lastUpdatedEpochTime === undefined) {
739
+ if (existing_error === undefined || incoming_error === undefined) {
663
740
  return false;
664
741
  }
665
- if (!(existing_lastUpdatedEpochTime === incoming_lastUpdatedEpochTime)) {
742
+ if (!(equals$m(existing_error, incoming_error))) {
666
743
  return false;
667
744
  }
668
745
  }
669
- const existing_error = existing.error;
670
- const incoming_error = incoming.error;
746
+ const existing_lastUpdatedDetails = existing.lastUpdatedDetails;
747
+ const incoming_lastUpdatedDetails = incoming.lastUpdatedDetails;
671
748
  // if at least one of these optionals is defined
672
- if (existing_error !== undefined || incoming_error !== undefined) {
749
+ if (existing_lastUpdatedDetails !== undefined || incoming_lastUpdatedDetails !== undefined) {
673
750
  // if one of these is not defined we know the other is defined and therefore
674
751
  // not equal
675
- if (existing_error === undefined || incoming_error === undefined) {
752
+ if (existing_lastUpdatedDetails === undefined || incoming_lastUpdatedDetails === undefined) {
676
753
  return false;
677
754
  }
678
- if (!(equals$l(existing_error, incoming_error))) {
755
+ if (!(equals$l(existing_lastUpdatedDetails, incoming_lastUpdatedDetails))) {
679
756
  return false;
680
757
  }
681
758
  }
@@ -2433,7 +2510,7 @@ function equals$7(existing, incoming) {
2433
2510
  return true;
2434
2511
  }
2435
2512
 
2436
- const VERSION$6 = "5e8dedbd6439b248770b8c6a877fa0f5";
2513
+ const VERSION$6 = "aa9791ca803cc6d19ac8c9e4120f5aae";
2437
2514
  function validate$6(obj, path = 'RADOutputRepresentation') {
2438
2515
  const v_error = (() => {
2439
2516
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2464,10 +2541,12 @@ function validate$6(obj, path = 'RADOutputRepresentation') {
2464
2541
  if (typeof obj_canEditDefinition !== 'boolean') {
2465
2542
  return new TypeError('Expected "boolean" but received "' + typeof obj_canEditDefinition + '" (at "' + path_canEditDefinition + '")');
2466
2543
  }
2467
- const obj_canManageOnDemand = obj.canManageOnDemand;
2468
- const path_canManageOnDemand = path + '.canManageOnDemand';
2469
- if (typeof obj_canManageOnDemand !== 'boolean') {
2470
- return new TypeError('Expected "boolean" but received "' + typeof obj_canManageOnDemand + '" (at "' + path_canManageOnDemand + '")');
2544
+ if (obj.canManageOnDemand !== undefined) {
2545
+ const obj_canManageOnDemand = obj.canManageOnDemand;
2546
+ const path_canManageOnDemand = path + '.canManageOnDemand';
2547
+ if (typeof obj_canManageOnDemand !== 'boolean') {
2548
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canManageOnDemand + '" (at "' + path_canManageOnDemand + '")');
2549
+ }
2471
2550
  }
2472
2551
  if (obj.description !== undefined) {
2473
2552
  const obj_description = obj.description;
@@ -2481,10 +2560,12 @@ function validate$6(obj, path = 'RADOutputRepresentation') {
2481
2560
  if (typeof obj_displayName !== 'string') {
2482
2561
  return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
2483
2562
  }
2484
- const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
2485
- const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
2486
- if (typeof obj_isOnDemandEnabled !== 'boolean') {
2487
- return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
2563
+ if (obj.isOnDemandEnabled !== undefined) {
2564
+ const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
2565
+ const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
2566
+ if (typeof obj_isOnDemandEnabled !== 'boolean') {
2567
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
2568
+ }
2488
2569
  }
2489
2570
  const obj_message = obj.message;
2490
2571
  const path_message = path + '.message';
@@ -2545,7 +2626,8 @@ const select$a = function RADOutputRepresentationSelect() {
2545
2626
  },
2546
2627
  {
2547
2628
  name: 'canManageOnDemand',
2548
- kind: 'Scalar'
2629
+ kind: 'Scalar',
2630
+ required: false
2549
2631
  },
2550
2632
  {
2551
2633
  name: 'description',
@@ -2558,7 +2640,8 @@ const select$a = function RADOutputRepresentationSelect() {
2558
2640
  },
2559
2641
  {
2560
2642
  name: 'isOnDemandEnabled',
2561
- kind: 'Scalar'
2643
+ kind: 'Scalar',
2644
+ required: false
2562
2645
  },
2563
2646
  {
2564
2647
  name: 'message',
@@ -2592,13 +2675,29 @@ function equals$6(existing, incoming) {
2592
2675
  }
2593
2676
  const existing_canManageOnDemand = existing.canManageOnDemand;
2594
2677
  const incoming_canManageOnDemand = incoming.canManageOnDemand;
2595
- if (!(existing_canManageOnDemand === incoming_canManageOnDemand)) {
2596
- return false;
2678
+ // if at least one of these optionals is defined
2679
+ if (existing_canManageOnDemand !== undefined || incoming_canManageOnDemand !== undefined) {
2680
+ // if one of these is not defined we know the other is defined and therefore
2681
+ // not equal
2682
+ if (existing_canManageOnDemand === undefined || incoming_canManageOnDemand === undefined) {
2683
+ return false;
2684
+ }
2685
+ if (!(existing_canManageOnDemand === incoming_canManageOnDemand)) {
2686
+ return false;
2687
+ }
2597
2688
  }
2598
2689
  const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
2599
2690
  const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
2600
- if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
2601
- return false;
2691
+ // if at least one of these optionals is defined
2692
+ if (existing_isOnDemandEnabled !== undefined || incoming_isOnDemandEnabled !== undefined) {
2693
+ // if one of these is not defined we know the other is defined and therefore
2694
+ // not equal
2695
+ if (existing_isOnDemandEnabled === undefined || incoming_isOnDemandEnabled === undefined) {
2696
+ return false;
2697
+ }
2698
+ if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
2699
+ return false;
2700
+ }
2602
2701
  }
2603
2702
  const existing_description = existing.description;
2604
2703
  const incoming_description = incoming.description;
@@ -3123,7 +3222,7 @@ function typeCheckConfig$2(untrustedConfig) {
3123
3222
  const untrustedConfig_aggregationObjects_array = [];
3124
3223
  for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
3125
3224
  const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
3126
- const referenceRecordAggregationNodeInputRepresentationValidationError = validate$o(untrustedConfig_aggregationObjects_item);
3225
+ const referenceRecordAggregationNodeInputRepresentationValidationError = validate$p(untrustedConfig_aggregationObjects_item);
3127
3226
  if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
3128
3227
  untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
3129
3228
  }
@@ -3392,8 +3491,8 @@ function equals$3(existing, incoming) {
3392
3491
  return true;
3393
3492
  }
3394
3493
 
3395
- const VERSION$2 = "e036b26fdcac79c3bbd53942bbd5833c";
3396
- function validate$2(obj, path = 'RecordRollupResultLastUpdatedInfoOutputRepresentation') {
3494
+ const VERSION$2 = "20b032d9f7418ea2f104258df8163011";
3495
+ function validate$2(obj, path = 'RecordRollupResultLastUpdatedDetailsOutputRepresentation') {
3397
3496
  const v_error = (() => {
3398
3497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3399
3498
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3411,7 +3510,7 @@ function validate$2(obj, path = 'RecordRollupResultLastUpdatedInfoOutputRepresen
3411
3510
  })();
3412
3511
  return v_error === undefined ? null : v_error;
3413
3512
  }
3414
- const select$3 = function RecordRollupResultLastUpdatedInfoOutputRepresentationSelect() {
3513
+ const select$3 = function RecordRollupResultLastUpdatedDetailsOutputRepresentationSelect() {
3415
3514
  return {
3416
3515
  kind: 'Fragment',
3417
3516
  version: VERSION$2,
@@ -3511,7 +3610,7 @@ function equals$1(existing, incoming) {
3511
3610
  return true;
3512
3611
  }
3513
3612
 
3514
- const VERSION = "60d50a495e0c5d9bcb5c990fca7b9cd4";
3613
+ const VERSION = "b3be598192cbe208886cb93a56e0ec87";
3515
3614
  function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
3516
3615
  const v_error = (() => {
3517
3616
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3537,16 +3636,13 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
3537
3636
  if (typeof obj_definitionDisplayName !== 'string') {
3538
3637
  return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
3539
3638
  }
3540
- if (obj.lastUpdatedEpochTime !== undefined) {
3541
- obj.lastUpdatedEpochTime;
3542
- }
3543
- if (obj.lastUpdatedInfo !== undefined) {
3544
- const obj_lastUpdatedInfo = obj.lastUpdatedInfo;
3545
- const path_lastUpdatedInfo = path + '.lastUpdatedInfo';
3546
- const referencepath_lastUpdatedInfoValidationError = validate$2(obj_lastUpdatedInfo, path_lastUpdatedInfo);
3547
- if (referencepath_lastUpdatedInfoValidationError !== null) {
3548
- let message = 'Object doesn\'t match RecordRollupResultLastUpdatedInfoOutputRepresentation (at "' + path_lastUpdatedInfo + '")\n';
3549
- message += referencepath_lastUpdatedInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3639
+ if (obj.lastUpdatedDetails !== undefined) {
3640
+ const obj_lastUpdatedDetails = obj.lastUpdatedDetails;
3641
+ const path_lastUpdatedDetails = path + '.lastUpdatedDetails';
3642
+ const referencepath_lastUpdatedDetailsValidationError = validate$2(obj_lastUpdatedDetails, path_lastUpdatedDetails);
3643
+ if (referencepath_lastUpdatedDetailsValidationError !== null) {
3644
+ let message = 'Object doesn\'t match RecordRollupResultLastUpdatedDetailsOutputRepresentation (at "' + path_lastUpdatedDetails + '")\n';
3645
+ message += referencepath_lastUpdatedDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
3550
3646
  return new TypeError(message);
3551
3647
  }
3552
3648
  }
@@ -3598,7 +3694,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
3598
3694
  }
3599
3695
  const select$1 = function RecordRollupResultOutputRepresentationSelect() {
3600
3696
  const { selections: RecordRollupResultColumnOutputRepresentation__selections, opaque: RecordRollupResultColumnOutputRepresentation__opaque, } = select$4();
3601
- const { selections: RecordRollupResultLastUpdatedInfoOutputRepresentation__selections, opaque: RecordRollupResultLastUpdatedInfoOutputRepresentation__opaque, } = select$3();
3697
+ const { selections: RecordRollupResultLastUpdatedDetailsOutputRepresentation__selections, opaque: RecordRollupResultLastUpdatedDetailsOutputRepresentation__opaque, } = select$3();
3602
3698
  const { selections: RecordRollupResultRowOutputRepresentation__selections, opaque: RecordRollupResultRowOutputRepresentation__opaque, } = select$2();
3603
3699
  return {
3604
3700
  kind: 'Fragment',
@@ -3616,14 +3712,9 @@ const select$1 = function RecordRollupResultOutputRepresentationSelect() {
3616
3712
  kind: 'Scalar'
3617
3713
  },
3618
3714
  {
3619
- name: 'lastUpdatedEpochTime',
3620
- kind: 'Scalar',
3621
- required: false
3622
- },
3623
- {
3624
- name: 'lastUpdatedInfo',
3715
+ name: 'lastUpdatedDetails',
3625
3716
  kind: 'Object',
3626
- selections: RecordRollupResultLastUpdatedInfoOutputRepresentation__selections,
3717
+ selections: RecordRollupResultLastUpdatedDetailsOutputRepresentation__selections,
3627
3718
  required: false
3628
3719
  },
3629
3720
  {
@@ -3668,19 +3759,6 @@ function equals(existing, incoming) {
3668
3759
  if (!(existing_statusCode === incoming_statusCode)) {
3669
3760
  return false;
3670
3761
  }
3671
- const existing_lastUpdatedEpochTime = existing.lastUpdatedEpochTime;
3672
- const incoming_lastUpdatedEpochTime = incoming.lastUpdatedEpochTime;
3673
- // if at least one of these optionals is defined
3674
- if (existing_lastUpdatedEpochTime !== undefined || incoming_lastUpdatedEpochTime !== undefined) {
3675
- // if one of these is not defined we know the other is defined and therefore
3676
- // not equal
3677
- if (existing_lastUpdatedEpochTime === undefined || incoming_lastUpdatedEpochTime === undefined) {
3678
- return false;
3679
- }
3680
- if (!(existing_lastUpdatedEpochTime === incoming_lastUpdatedEpochTime)) {
3681
- return false;
3682
- }
3683
- }
3684
3762
  const existing_columns = existing.columns;
3685
3763
  const incoming_columns = incoming.columns;
3686
3764
  const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
@@ -3691,16 +3769,16 @@ function equals(existing, incoming) {
3691
3769
  if (equals_columns_items === false) {
3692
3770
  return false;
3693
3771
  }
3694
- const existing_lastUpdatedInfo = existing.lastUpdatedInfo;
3695
- const incoming_lastUpdatedInfo = incoming.lastUpdatedInfo;
3772
+ const existing_lastUpdatedDetails = existing.lastUpdatedDetails;
3773
+ const incoming_lastUpdatedDetails = incoming.lastUpdatedDetails;
3696
3774
  // if at least one of these optionals is defined
3697
- if (existing_lastUpdatedInfo !== undefined || incoming_lastUpdatedInfo !== undefined) {
3775
+ if (existing_lastUpdatedDetails !== undefined || incoming_lastUpdatedDetails !== undefined) {
3698
3776
  // if one of these is not defined we know the other is defined and therefore
3699
3777
  // not equal
3700
- if (existing_lastUpdatedInfo === undefined || incoming_lastUpdatedInfo === undefined) {
3778
+ if (existing_lastUpdatedDetails === undefined || incoming_lastUpdatedDetails === undefined) {
3701
3779
  return false;
3702
3780
  }
3703
- if (!(equals$2(existing_lastUpdatedInfo, incoming_lastUpdatedInfo))) {
3781
+ if (!(equals$2(existing_lastUpdatedDetails, incoming_lastUpdatedDetails))) {
3704
3782
  return false;
3705
3783
  }
3706
3784
  }
@@ -1,6 +1,6 @@
1
1
  import { RADNodeOutputRepresentation as RADNodeOutputRepresentation_RADNodeOutputRepresentation } from './RADNodeOutputRepresentation';
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "5e8dedbd6439b248770b8c6a877fa0f5";
3
+ export declare const VERSION = "aa9791ca803cc6d19ac8c9e4120f5aae";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -31,13 +31,13 @@ export interface RADOutputRepresentationNormalized {
31
31
  /** Indicates whether the record aggregation definition can be edited (true) or not (false). */
32
32
  canEditDefinition: boolean;
33
33
  /** Indicates whether on demand capability can be managed for this definition (true) or not (false). */
34
- canManageOnDemand: boolean;
34
+ canManageOnDemand?: boolean;
35
35
  /** Description of the record aggregation definition. */
36
36
  description?: string;
37
37
  /** Display name of the record aggregation definition. */
38
38
  displayName: string;
39
39
  /** Indicates whether on demand capability has been enabled for this definition (true) or not (false). */
40
- isOnDemandEnabled: boolean;
40
+ isOnDemandEnabled?: boolean;
41
41
  /** The message returned in the response. */
42
42
  message: string;
43
43
  /** The Id of the definition. */
@@ -57,10 +57,10 @@ export interface RADOutputRepresentation {
57
57
  aggregationObjects: Array<RADNodeOutputRepresentation_RADNodeOutputRepresentation>;
58
58
  canDeleteDefinition: boolean;
59
59
  canEditDefinition: boolean;
60
- canManageOnDemand: boolean;
60
+ canManageOnDemand?: boolean;
61
61
  description?: string;
62
62
  displayName: string;
63
- isOnDemandEnabled: boolean;
63
+ isOnDemandEnabled?: boolean;
64
64
  message: string;
65
65
  recordAggregationDefinitionId: string;
66
66
  status: string;