@salesforce/lds-adapters-industries-recordaggregation 1.334.0 → 1.336.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.
Files changed (24) hide show
  1. package/dist/es/es2018/industries-recordaggregation.js +911 -74
  2. package/dist/es/es2018/types/src/generated/adapters/getBulkRecordRollupDefinitionDetails.d.ts +16 -0
  3. package/dist/es/es2018/types/src/generated/adapters/patchRecordAggregationDefinition.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/performBulkRecordRollupSyncExecution.d.ts +16 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  7. package/dist/es/es2018/types/src/generated/resources/patchConnectRecordAggregationByRecordAggregationDefinitionId.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregationBulkRecordRollupDetails.d.ts +13 -0
  9. package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregationBulkRecordRollupSyncExecution.d.ts +13 -0
  10. package/dist/es/es2018/types/src/generated/types/BulkRecordRollupDefinitionDetailsInputRepresentation.d.ts +31 -0
  11. package/dist/es/es2018/types/src/generated/types/BulkRecordRollupDefinitionDetailsOutputRepresentation.d.ts +47 -0
  12. package/dist/es/es2018/types/src/generated/types/BulkRecordRollupSyncExecutionInputRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/BulkRecordRollupSyncExecutionOutputRepresentation.d.ts +47 -0
  14. package/dist/es/es2018/types/src/generated/types/RADOutputRepresentation.d.ts +7 -1
  15. package/dist/es/es2018/types/src/generated/types/RecordAggregationDefinitionPartialUpdateInputRepresentation.d.ts +4 -1
  16. package/dist/es/es2018/types/src/generated/types/RecordRollupDefinitionDetailsErrorOutputRepresentation.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/RecordRollupDefinitionDetailsOutputRepresentation.d.ts +46 -0
  18. package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts +4 -1
  19. package/dist/es/es2018/types/src/generated/types/RecordRollupSyncExecutionErrorOutputRepresentation.d.ts +31 -0
  20. package/dist/es/es2018/types/src/generated/types/RecordRollupSyncExecutionOutputRepresentation.d.ts +34 -0
  21. package/package.json +3 -3
  22. package/sfdc/index.js +1244 -401
  23. package/src/raml/api.raml +181 -1
  24. package/src/raml/luvio.raml +14 -0
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$8, typeCheckConfig as typeCheckConfig$8, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3 } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$a, typeCheckConfig as typeCheckConfig$a, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$3 } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -112,7 +112,7 @@ function createLink(ref) {
112
112
  };
113
113
  }
114
114
 
115
- function validate$k(obj, path = 'RecordAggregationFilterRowInputRepresentation') {
115
+ function validate$q(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$k(obj, path = 'RecordAggregationFilterRowInputRepresentation')
141
141
  return v_error === undefined ? null : v_error;
142
142
  }
143
143
 
144
- function validate$j(obj, path = 'RecordAggregationFilterInputRepresentation') {
144
+ function validate$p(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$j(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$k(obj_filterConditions_item, path_filterConditions_item);
158
+ const referencepath_filterConditions_itemValidationError = validate$q(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$j(obj, path = 'RecordAggregationFilterInputRepresentation') {
174
174
  return v_error === undefined ? null : v_error;
175
175
  }
176
176
 
177
- function validate$i(obj, path = 'RecordAggregationJoinInputRepresentation') {
177
+ function validate$o(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$i(obj, path = 'RecordAggregationJoinInputRepresentation') {
188
188
  return v_error === undefined ? null : v_error;
189
189
  }
190
190
 
191
- function validate$h(obj, path = 'RecordAggregationAssociatedObjectInputRepresentation') {
191
+ function validate$n(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$h(obj, path = 'RecordAggregationAssociatedObjectInputRepresent
202
202
  return v_error === undefined ? null : v_error;
203
203
  }
204
204
 
205
- function validate$g(obj, path = 'RecordAggregationNodeInputRepresentation') {
205
+ function validate$m(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$g(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$j(obj_filterDetails, path_filterDetails);
213
+ const referencepath_filterDetailsValidationError = validate$p(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$g(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$i(obj_nextObjectJoinDetails, path_nextObjectJoinDetails);
223
+ const referencepath_nextObjectJoinDetailsValidationError = validate$o(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$g(obj, path = 'RecordAggregationNodeInputRepresentation') {
229
229
  }
230
230
  const obj_objectDetails = obj.objectDetails;
231
231
  const path_objectDetails = path + '.objectDetails';
232
- const referencepath_objectDetailsValidationError = validate$h(obj_objectDetails, path_objectDetails);
232
+ const referencepath_objectDetailsValidationError = validate$n(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$g(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$i(obj_previousObjectJoinDetails, path_previousObjectJoinDetails);
241
+ const referencepath_previousObjectJoinDetailsValidationError = validate$o(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$g(obj, path = 'RecordAggregationNodeInputRepresentation') {
254
254
  return v_error === undefined ? null : v_error;
255
255
  }
256
256
 
257
- const VERSION$f = "360b76c13b79ed8a1d3522d29b8a91e1";
258
- function validate$f(obj, path = 'RecordAggregationCreationOutputRepresentation') {
257
+ const VERSION$l = "360b76c13b79ed8a1d3522d29b8a91e1";
258
+ function validate$l(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 + '")');
@@ -278,31 +278,832 @@ function validate$f(obj, path = 'RecordAggregationCreationOutputRepresentation')
278
278
  })();
279
279
  return v_error === undefined ? null : v_error;
280
280
  }
281
- const RepresentationType$6 = 'RecordAggregationCreationOutputRepresentation';
281
+ const RepresentationType$8 = 'RecordAggregationCreationOutputRepresentation';
282
+ function keyBuilder$d(luvio, config) {
283
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.id;
284
+ }
285
+ function keyBuilderFromType$6(luvio, object) {
286
+ const keyParams = {
287
+ id: object.recordAggregationDefinitionId
288
+ };
289
+ return keyBuilder$d(luvio, keyParams);
290
+ }
291
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
292
+ return input;
293
+ }
294
+ const select$u = function RecordAggregationCreationOutputRepresentationSelect() {
295
+ return {
296
+ kind: 'Fragment',
297
+ version: VERSION$l,
298
+ private: [],
299
+ selections: [
300
+ {
301
+ name: 'message',
302
+ kind: 'Scalar'
303
+ },
304
+ {
305
+ name: 'recordAggregationDefinitionId',
306
+ kind: 'Scalar'
307
+ },
308
+ {
309
+ name: 'statusCode',
310
+ kind: 'Scalar'
311
+ }
312
+ ]
313
+ };
314
+ };
315
+ function equals$l(existing, incoming) {
316
+ const existing_message = existing.message;
317
+ const incoming_message = incoming.message;
318
+ if (!(existing_message === incoming_message)) {
319
+ return false;
320
+ }
321
+ const existing_recordAggregationDefinitionId = existing.recordAggregationDefinitionId;
322
+ const incoming_recordAggregationDefinitionId = incoming.recordAggregationDefinitionId;
323
+ if (!(existing_recordAggregationDefinitionId === incoming_recordAggregationDefinitionId)) {
324
+ return false;
325
+ }
326
+ const existing_statusCode = existing.statusCode;
327
+ const incoming_statusCode = incoming.statusCode;
328
+ if (!(existing_statusCode === incoming_statusCode)) {
329
+ return false;
330
+ }
331
+ return true;
332
+ }
333
+ const ingest$8 = function RecordAggregationCreationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
334
+ if (process.env.NODE_ENV !== 'production') {
335
+ const validateError = validate$l(input);
336
+ if (validateError !== null) {
337
+ throw validateError;
338
+ }
339
+ }
340
+ const key = keyBuilderFromType$6(luvio, input);
341
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
342
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesRecordAggregation", VERSION$l, RepresentationType$8, equals$l);
343
+ return createLink(key);
344
+ };
345
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
346
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
347
+ const rootKey = keyBuilderFromType$6(luvio, input);
348
+ rootKeySet.set(rootKey, {
349
+ namespace: keyPrefix,
350
+ representationName: RepresentationType$8,
351
+ mergeable: false
352
+ });
353
+ }
354
+
355
+ function select$t(luvio, params) {
356
+ return select$u();
357
+ }
358
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
359
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
360
+ }
361
+ function ingestSuccess$8(luvio, resourceParams, response) {
362
+ const { body } = response;
363
+ const key = keyBuilderFromType$6(luvio, body);
364
+ luvio.storeIngest(key, ingest$8, body);
365
+ const snapshot = luvio.storeLookup({
366
+ recordId: key,
367
+ node: select$t(),
368
+ variables: {},
369
+ });
370
+ if (process.env.NODE_ENV !== 'production') {
371
+ if (snapshot.state !== 'Fulfilled') {
372
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
373
+ }
374
+ }
375
+ deepFreeze(snapshot.data);
376
+ return snapshot;
377
+ }
378
+ function createResourceRequest$9(config) {
379
+ const headers = {};
380
+ return {
381
+ baseUri: '/services/data/v64.0',
382
+ basePath: '/connect/record-aggregation',
383
+ method: 'post',
384
+ body: config.body,
385
+ urlParams: {},
386
+ queryParams: {},
387
+ headers,
388
+ priority: 'normal',
389
+ };
390
+ }
391
+
392
+ const adapterName$9 = 'postRecordAggregationCreation';
393
+ const postRecordAggregationCreation_ConfigPropertyMetadata = [
394
+ generateParamConfigMetadata('aggregationObjects', true, 2 /* Body */, 4 /* Unsupported */, true),
395
+ generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
396
+ generateParamConfigMetadata('definitionDisplayName', true, 2 /* Body */, 0 /* String */),
397
+ ];
398
+ const postRecordAggregationCreation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, postRecordAggregationCreation_ConfigPropertyMetadata);
399
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$a(postRecordAggregationCreation_ConfigPropertyMetadata);
400
+ function typeCheckConfig$9(untrustedConfig) {
401
+ const config = {};
402
+ typeCheckConfig$a(untrustedConfig, config, postRecordAggregationCreation_ConfigPropertyMetadata);
403
+ const untrustedConfig_aggregationObjects = untrustedConfig.aggregationObjects;
404
+ if (ArrayIsArray$1(untrustedConfig_aggregationObjects)) {
405
+ const untrustedConfig_aggregationObjects_array = [];
406
+ for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
407
+ const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
408
+ const referenceRecordAggregationNodeInputRepresentationValidationError = validate$m(untrustedConfig_aggregationObjects_item);
409
+ if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
410
+ untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
411
+ }
412
+ }
413
+ config.aggregationObjects = untrustedConfig_aggregationObjects_array;
414
+ }
415
+ return config;
416
+ }
417
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
418
+ if (!untrustedIsObject(untrustedConfig)) {
419
+ return null;
420
+ }
421
+ if (process.env.NODE_ENV !== 'production') {
422
+ validateConfig(untrustedConfig, configPropertyNames);
423
+ }
424
+ const config = typeCheckConfig$9(untrustedConfig);
425
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
426
+ return null;
427
+ }
428
+ return config;
429
+ }
430
+ function buildNetworkSnapshot$9(luvio, config, options) {
431
+ const resourceParams = createResourceParams$9(config);
432
+ const request = createResourceRequest$9(resourceParams);
433
+ return luvio.dispatchResourceRequest(request, options)
434
+ .then((response) => {
435
+ return luvio.handleSuccessResponse(() => {
436
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
437
+ return luvio.storeBroadcast().then(() => snapshot);
438
+ }, () => {
439
+ const cache = new StoreKeyMap();
440
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
441
+ return cache;
442
+ });
443
+ }, (response) => {
444
+ deepFreeze(response);
445
+ throw response;
446
+ });
447
+ }
448
+ const postRecordAggregationCreationAdapterFactory = (luvio) => {
449
+ return function postRecordAggregationCreation(untrustedConfig) {
450
+ const config = validateAdapterConfig$9(untrustedConfig, postRecordAggregationCreation_ConfigPropertyNames);
451
+ // Invalid or incomplete config
452
+ if (config === null) {
453
+ throw new Error('Invalid config for "postRecordAggregationCreation"');
454
+ }
455
+ return buildNetworkSnapshot$9(luvio, config);
456
+ };
457
+ };
458
+
459
+ const VERSION$k = "c129efabba808636007b868dc6c3d067";
460
+ function validate$k(obj, path = 'RecordRollupDefinitionDetailsErrorOutputRepresentation') {
461
+ const v_error = (() => {
462
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
463
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
464
+ }
465
+ const obj_message = obj.message;
466
+ const path_message = path + '.message';
467
+ if (typeof obj_message !== 'string') {
468
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
469
+ }
470
+ const obj_type = obj.type;
471
+ const path_type = path + '.type';
472
+ if (typeof obj_type !== 'string') {
473
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
474
+ }
475
+ })();
476
+ return v_error === undefined ? null : v_error;
477
+ }
478
+ const select$s = function RecordRollupDefinitionDetailsErrorOutputRepresentationSelect() {
479
+ return {
480
+ kind: 'Fragment',
481
+ version: VERSION$k,
482
+ private: [],
483
+ selections: [
484
+ {
485
+ name: 'message',
486
+ kind: 'Scalar'
487
+ },
488
+ {
489
+ name: 'type',
490
+ kind: 'Scalar'
491
+ }
492
+ ]
493
+ };
494
+ };
495
+ function equals$k(existing, incoming) {
496
+ const existing_message = existing.message;
497
+ const incoming_message = incoming.message;
498
+ if (!(existing_message === incoming_message)) {
499
+ return false;
500
+ }
501
+ const existing_type = existing.type;
502
+ const incoming_type = incoming.type;
503
+ if (!(existing_type === incoming_type)) {
504
+ return false;
505
+ }
506
+ return true;
507
+ }
508
+
509
+ const VERSION$j = "2f6378e227c4428a50c1f8dee9b64c69";
510
+ function validate$j(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentation') {
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.error !== undefined) {
516
+ const obj_error = obj.error;
517
+ const path_error = path + '.error';
518
+ const referencepath_errorValidationError = validate$k(obj_error, path_error);
519
+ if (referencepath_errorValidationError !== null) {
520
+ let message = 'Object doesn\'t match RecordRollupDefinitionDetailsErrorOutputRepresentation (at "' + path_error + '")\n';
521
+ message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
522
+ return new TypeError(message);
523
+ }
524
+ }
525
+ const obj_id = obj.id;
526
+ const path_id = path + '.id';
527
+ if (typeof obj_id !== 'string') {
528
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
529
+ }
530
+ if (obj.isOnDemandEnabled !== undefined) {
531
+ const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
532
+ const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
533
+ if (typeof obj_isOnDemandEnabled !== 'boolean') {
534
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
535
+ }
536
+ }
537
+ if (obj.lastComputed !== undefined) {
538
+ obj.lastComputed;
539
+ }
540
+ if (obj.name !== undefined) {
541
+ const obj_name = obj.name;
542
+ const path_name = path + '.name';
543
+ if (typeof obj_name !== 'string') {
544
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
545
+ }
546
+ }
547
+ if (obj.resolvedAnchorId !== undefined) {
548
+ const obj_resolvedAnchorId = obj.resolvedAnchorId;
549
+ const path_resolvedAnchorId = path + '.resolvedAnchorId';
550
+ if (typeof obj_resolvedAnchorId !== 'string') {
551
+ return new TypeError('Expected "string" but received "' + typeof obj_resolvedAnchorId + '" (at "' + path_resolvedAnchorId + '")');
552
+ }
553
+ }
554
+ const obj_status = obj.status;
555
+ const path_status = path + '.status';
556
+ if (typeof obj_status !== 'string') {
557
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
558
+ }
559
+ })();
560
+ return v_error === undefined ? null : v_error;
561
+ }
562
+ const select$r = function RecordRollupDefinitionDetailsOutputRepresentationSelect() {
563
+ const { selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsErrorOutputRepresentation__opaque, } = select$s();
564
+ return {
565
+ kind: 'Fragment',
566
+ version: VERSION$j,
567
+ private: [],
568
+ selections: [
569
+ {
570
+ name: 'error',
571
+ kind: 'Object',
572
+ selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections,
573
+ required: false
574
+ },
575
+ {
576
+ name: 'id',
577
+ kind: 'Scalar'
578
+ },
579
+ {
580
+ name: 'isOnDemandEnabled',
581
+ kind: 'Scalar',
582
+ required: false
583
+ },
584
+ {
585
+ name: 'lastComputed',
586
+ kind: 'Scalar',
587
+ required: false
588
+ },
589
+ {
590
+ name: 'name',
591
+ kind: 'Scalar',
592
+ required: false
593
+ },
594
+ {
595
+ name: 'resolvedAnchorId',
596
+ kind: 'Scalar',
597
+ required: false
598
+ },
599
+ {
600
+ name: 'status',
601
+ kind: 'Scalar'
602
+ }
603
+ ]
604
+ };
605
+ };
606
+ function equals$j(existing, incoming) {
607
+ const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
608
+ const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
609
+ // if at least one of these optionals is defined
610
+ if (existing_isOnDemandEnabled !== undefined || incoming_isOnDemandEnabled !== undefined) {
611
+ // if one of these is not defined we know the other is defined and therefore
612
+ // not equal
613
+ if (existing_isOnDemandEnabled === undefined || incoming_isOnDemandEnabled === undefined) {
614
+ return false;
615
+ }
616
+ if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
617
+ return false;
618
+ }
619
+ }
620
+ const existing_id = existing.id;
621
+ const incoming_id = incoming.id;
622
+ if (!(existing_id === incoming_id)) {
623
+ return false;
624
+ }
625
+ const existing_name = existing.name;
626
+ const incoming_name = incoming.name;
627
+ // if at least one of these optionals is defined
628
+ if (existing_name !== undefined || incoming_name !== undefined) {
629
+ // if one of these is not defined we know the other is defined and therefore
630
+ // not equal
631
+ if (existing_name === undefined || incoming_name === undefined) {
632
+ return false;
633
+ }
634
+ if (!(existing_name === incoming_name)) {
635
+ return false;
636
+ }
637
+ }
638
+ const existing_resolvedAnchorId = existing.resolvedAnchorId;
639
+ const incoming_resolvedAnchorId = incoming.resolvedAnchorId;
640
+ // if at least one of these optionals is defined
641
+ if (existing_resolvedAnchorId !== undefined || incoming_resolvedAnchorId !== undefined) {
642
+ // if one of these is not defined we know the other is defined and therefore
643
+ // not equal
644
+ if (existing_resolvedAnchorId === undefined || incoming_resolvedAnchorId === undefined) {
645
+ return false;
646
+ }
647
+ if (!(existing_resolvedAnchorId === incoming_resolvedAnchorId)) {
648
+ return false;
649
+ }
650
+ }
651
+ const existing_status = existing.status;
652
+ const incoming_status = incoming.status;
653
+ if (!(existing_status === incoming_status)) {
654
+ return false;
655
+ }
656
+ const existing_lastComputed = existing.lastComputed;
657
+ const incoming_lastComputed = incoming.lastComputed;
658
+ // if at least one of these optionals is defined
659
+ if (existing_lastComputed !== undefined || incoming_lastComputed !== undefined) {
660
+ // if one of these is not defined we know the other is defined and therefore
661
+ // not equal
662
+ if (existing_lastComputed === undefined || incoming_lastComputed === undefined) {
663
+ return false;
664
+ }
665
+ if (!(existing_lastComputed === incoming_lastComputed)) {
666
+ return false;
667
+ }
668
+ }
669
+ const existing_error = existing.error;
670
+ const incoming_error = incoming.error;
671
+ // if at least one of these optionals is defined
672
+ if (existing_error !== undefined || incoming_error !== undefined) {
673
+ // if one of these is not defined we know the other is defined and therefore
674
+ // not equal
675
+ if (existing_error === undefined || incoming_error === undefined) {
676
+ return false;
677
+ }
678
+ if (!(equals$k(existing_error, incoming_error))) {
679
+ return false;
680
+ }
681
+ }
682
+ return true;
683
+ }
684
+
685
+ const VERSION$i = "c2f199cbe0212e8411f7ac1905805188";
686
+ function validate$i(obj, path = 'BulkRecordRollupDefinitionDetailsOutputRepresentation') {
687
+ const v_error = (() => {
688
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
689
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
690
+ }
691
+ const obj_definitions = obj.definitions;
692
+ const path_definitions = path + '.definitions';
693
+ if (!ArrayIsArray(obj_definitions)) {
694
+ return new TypeError('Expected "array" but received "' + typeof obj_definitions + '" (at "' + path_definitions + '")');
695
+ }
696
+ for (let i = 0; i < obj_definitions.length; i++) {
697
+ const obj_definitions_item = obj_definitions[i];
698
+ const path_definitions_item = path_definitions + '[' + i + ']';
699
+ const referencepath_definitions_itemValidationError = validate$j(obj_definitions_item, path_definitions_item);
700
+ if (referencepath_definitions_itemValidationError !== null) {
701
+ let message = 'Object doesn\'t match RecordRollupDefinitionDetailsOutputRepresentation (at "' + path_definitions_item + '")\n';
702
+ message += referencepath_definitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
703
+ return new TypeError(message);
704
+ }
705
+ }
706
+ const obj_errors = obj.errors;
707
+ const path_errors = path + '.errors';
708
+ if (typeof obj_errors !== 'boolean') {
709
+ return new TypeError('Expected "boolean" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
710
+ }
711
+ const obj_message = obj.message;
712
+ const path_message = path + '.message';
713
+ if (typeof obj_message !== 'string') {
714
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
715
+ }
716
+ const obj_statusCode = obj.statusCode;
717
+ const path_statusCode = path + '.statusCode';
718
+ if (typeof obj_statusCode !== 'string') {
719
+ return new TypeError('Expected "string" but received "' + typeof obj_statusCode + '" (at "' + path_statusCode + '")');
720
+ }
721
+ })();
722
+ return v_error === undefined ? null : v_error;
723
+ }
724
+ const RepresentationType$7 = 'BulkRecordRollupDefinitionDetailsOutputRepresentation';
725
+ function keyBuilder$c(luvio, config) {
726
+ return keyPrefix + '::' + RepresentationType$7 + ':' + config.id;
727
+ }
728
+ function keyBuilderFromType$5(luvio, object) {
729
+ const keyParams = {
730
+ id: object.statusCode
731
+ };
732
+ return keyBuilder$c(luvio, keyParams);
733
+ }
734
+ function normalize$7(input, existing, path, luvio, store, timestamp) {
735
+ return input;
736
+ }
737
+ const select$q = function BulkRecordRollupDefinitionDetailsOutputRepresentationSelect() {
738
+ const { selections: RecordRollupDefinitionDetailsOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsOutputRepresentation__opaque, } = select$r();
739
+ return {
740
+ kind: 'Fragment',
741
+ version: VERSION$i,
742
+ private: [],
743
+ selections: [
744
+ {
745
+ name: 'definitions',
746
+ kind: 'Object',
747
+ plural: true,
748
+ selections: RecordRollupDefinitionDetailsOutputRepresentation__selections
749
+ },
750
+ {
751
+ name: 'errors',
752
+ kind: 'Scalar'
753
+ },
754
+ {
755
+ name: 'message',
756
+ kind: 'Scalar'
757
+ },
758
+ {
759
+ name: 'statusCode',
760
+ kind: 'Scalar'
761
+ }
762
+ ]
763
+ };
764
+ };
765
+ function equals$i(existing, incoming) {
766
+ const existing_errors = existing.errors;
767
+ const incoming_errors = incoming.errors;
768
+ if (!(existing_errors === incoming_errors)) {
769
+ return false;
770
+ }
771
+ const existing_message = existing.message;
772
+ const incoming_message = incoming.message;
773
+ if (!(existing_message === incoming_message)) {
774
+ return false;
775
+ }
776
+ const existing_statusCode = existing.statusCode;
777
+ const incoming_statusCode = incoming.statusCode;
778
+ if (!(existing_statusCode === incoming_statusCode)) {
779
+ return false;
780
+ }
781
+ const existing_definitions = existing.definitions;
782
+ const incoming_definitions = incoming.definitions;
783
+ const equals_definitions_items = equalsArray(existing_definitions, incoming_definitions, (existing_definitions_item, incoming_definitions_item) => {
784
+ if (!(equals$j(existing_definitions_item, incoming_definitions_item))) {
785
+ return false;
786
+ }
787
+ });
788
+ if (equals_definitions_items === false) {
789
+ return false;
790
+ }
791
+ return true;
792
+ }
793
+ const ingest$7 = function BulkRecordRollupDefinitionDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
794
+ if (process.env.NODE_ENV !== 'production') {
795
+ const validateError = validate$i(input);
796
+ if (validateError !== null) {
797
+ throw validateError;
798
+ }
799
+ }
800
+ const key = keyBuilderFromType$5(luvio, input);
801
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
802
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "IndustriesRecordAggregation", VERSION$i, RepresentationType$7, equals$i);
803
+ return createLink(key);
804
+ };
805
+ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
806
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
807
+ const rootKey = keyBuilderFromType$5(luvio, input);
808
+ rootKeySet.set(rootKey, {
809
+ namespace: keyPrefix,
810
+ representationName: RepresentationType$7,
811
+ mergeable: false
812
+ });
813
+ }
814
+
815
+ function select$p(luvio, params) {
816
+ return select$q();
817
+ }
818
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
819
+ getTypeCacheKeys$7(storeKeyMap, luvio, response);
820
+ }
821
+ function ingestSuccess$7(luvio, resourceParams, response) {
822
+ const { body } = response;
823
+ const key = keyBuilderFromType$5(luvio, body);
824
+ luvio.storeIngest(key, ingest$7, body);
825
+ const snapshot = luvio.storeLookup({
826
+ recordId: key,
827
+ node: select$p(),
828
+ variables: {},
829
+ });
830
+ if (process.env.NODE_ENV !== 'production') {
831
+ if (snapshot.state !== 'Fulfilled') {
832
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
833
+ }
834
+ }
835
+ deepFreeze(snapshot.data);
836
+ return snapshot;
837
+ }
838
+ function createResourceRequest$8(config) {
839
+ const headers = {};
840
+ return {
841
+ baseUri: '/services/data/v64.0',
842
+ basePath: '/connect/record-aggregation/bulk-record-rollup/details',
843
+ method: 'post',
844
+ body: config.body,
845
+ urlParams: {},
846
+ queryParams: {},
847
+ headers,
848
+ priority: 'normal',
849
+ };
850
+ }
851
+
852
+ const adapterName$8 = 'getBulkRecordRollupDefinitionDetails';
853
+ const getBulkRecordRollupDefinitionDetails_ConfigPropertyMetadata = [
854
+ generateParamConfigMetadata('anchorRecordId', true, 2 /* Body */, 0 /* String */),
855
+ generateParamConfigMetadata('recordAggregationDefinitionIds', true, 2 /* Body */, 0 /* String */, true),
856
+ ];
857
+ const getBulkRecordRollupDefinitionDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getBulkRecordRollupDefinitionDetails_ConfigPropertyMetadata);
858
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$a(getBulkRecordRollupDefinitionDetails_ConfigPropertyMetadata);
859
+ function typeCheckConfig$8(untrustedConfig) {
860
+ const config = {};
861
+ typeCheckConfig$a(untrustedConfig, config, getBulkRecordRollupDefinitionDetails_ConfigPropertyMetadata);
862
+ return config;
863
+ }
864
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
865
+ if (!untrustedIsObject(untrustedConfig)) {
866
+ return null;
867
+ }
868
+ if (process.env.NODE_ENV !== 'production') {
869
+ validateConfig(untrustedConfig, configPropertyNames);
870
+ }
871
+ const config = typeCheckConfig$8(untrustedConfig);
872
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
873
+ return null;
874
+ }
875
+ return config;
876
+ }
877
+ function buildNetworkSnapshot$8(luvio, config, options) {
878
+ const resourceParams = createResourceParams$8(config);
879
+ const request = createResourceRequest$8(resourceParams);
880
+ return luvio.dispatchResourceRequest(request, options)
881
+ .then((response) => {
882
+ return luvio.handleSuccessResponse(() => {
883
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response);
884
+ return luvio.storeBroadcast().then(() => snapshot);
885
+ }, () => {
886
+ const cache = new StoreKeyMap();
887
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
888
+ return cache;
889
+ });
890
+ }, (response) => {
891
+ deepFreeze(response);
892
+ throw response;
893
+ });
894
+ }
895
+ const getBulkRecordRollupDefinitionDetailsAdapterFactory = (luvio) => {
896
+ return function getBulkRecordRollupDefinitionDetails(untrustedConfig) {
897
+ const config = validateAdapterConfig$8(untrustedConfig, getBulkRecordRollupDefinitionDetails_ConfigPropertyNames);
898
+ // Invalid or incomplete config
899
+ if (config === null) {
900
+ throw new Error('Invalid config for "getBulkRecordRollupDefinitionDetails"');
901
+ }
902
+ return buildNetworkSnapshot$8(luvio, config);
903
+ };
904
+ };
905
+
906
+ const VERSION$h = "66ef910c79586d7a0105d79b5807089b";
907
+ function validate$h(obj, path = 'RecordRollupSyncExecutionErrorOutputRepresentation') {
908
+ const v_error = (() => {
909
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
910
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
911
+ }
912
+ const obj_message = obj.message;
913
+ const path_message = path + '.message';
914
+ if (typeof obj_message !== 'string') {
915
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
916
+ }
917
+ const obj_type = obj.type;
918
+ const path_type = path + '.type';
919
+ if (typeof obj_type !== 'string') {
920
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
921
+ }
922
+ })();
923
+ return v_error === undefined ? null : v_error;
924
+ }
925
+ const select$o = function RecordRollupSyncExecutionErrorOutputRepresentationSelect() {
926
+ return {
927
+ kind: 'Fragment',
928
+ version: VERSION$h,
929
+ private: [],
930
+ selections: [
931
+ {
932
+ name: 'message',
933
+ kind: 'Scalar'
934
+ },
935
+ {
936
+ name: 'type',
937
+ kind: 'Scalar'
938
+ }
939
+ ]
940
+ };
941
+ };
942
+ function equals$h(existing, incoming) {
943
+ const existing_message = existing.message;
944
+ const incoming_message = incoming.message;
945
+ if (!(existing_message === incoming_message)) {
946
+ return false;
947
+ }
948
+ const existing_type = existing.type;
949
+ const incoming_type = incoming.type;
950
+ if (!(existing_type === incoming_type)) {
951
+ return false;
952
+ }
953
+ return true;
954
+ }
955
+
956
+ const VERSION$g = "0006af8b62d0016274acd4c295d5f334";
957
+ function validate$g(obj, path = 'RecordRollupSyncExecutionOutputRepresentation') {
958
+ const v_error = (() => {
959
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
960
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
961
+ }
962
+ if (obj.error !== undefined) {
963
+ const obj_error = obj.error;
964
+ const path_error = path + '.error';
965
+ const referencepath_errorValidationError = validate$h(obj_error, path_error);
966
+ if (referencepath_errorValidationError !== null) {
967
+ let message = 'Object doesn\'t match RecordRollupSyncExecutionErrorOutputRepresentation (at "' + path_error + '")\n';
968
+ message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
969
+ return new TypeError(message);
970
+ }
971
+ }
972
+ const obj_id = obj.id;
973
+ const path_id = path + '.id';
974
+ if (typeof obj_id !== 'string') {
975
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
976
+ }
977
+ const obj_status = obj.status;
978
+ const path_status = path + '.status';
979
+ if (typeof obj_status !== 'string') {
980
+ return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
981
+ }
982
+ })();
983
+ return v_error === undefined ? null : v_error;
984
+ }
985
+ const select$n = function RecordRollupSyncExecutionOutputRepresentationSelect() {
986
+ const { selections: RecordRollupSyncExecutionErrorOutputRepresentation__selections, opaque: RecordRollupSyncExecutionErrorOutputRepresentation__opaque, } = select$o();
987
+ return {
988
+ kind: 'Fragment',
989
+ version: VERSION$g,
990
+ private: [],
991
+ selections: [
992
+ {
993
+ name: 'error',
994
+ kind: 'Object',
995
+ selections: RecordRollupSyncExecutionErrorOutputRepresentation__selections,
996
+ required: false
997
+ },
998
+ {
999
+ name: 'id',
1000
+ kind: 'Scalar'
1001
+ },
1002
+ {
1003
+ name: 'status',
1004
+ kind: 'Scalar'
1005
+ }
1006
+ ]
1007
+ };
1008
+ };
1009
+ function equals$g(existing, incoming) {
1010
+ const existing_id = existing.id;
1011
+ const incoming_id = incoming.id;
1012
+ if (!(existing_id === incoming_id)) {
1013
+ return false;
1014
+ }
1015
+ const existing_status = existing.status;
1016
+ const incoming_status = incoming.status;
1017
+ if (!(existing_status === incoming_status)) {
1018
+ return false;
1019
+ }
1020
+ const existing_error = existing.error;
1021
+ const incoming_error = incoming.error;
1022
+ // if at least one of these optionals is defined
1023
+ if (existing_error !== undefined || incoming_error !== undefined) {
1024
+ // if one of these is not defined we know the other is defined and therefore
1025
+ // not equal
1026
+ if (existing_error === undefined || incoming_error === undefined) {
1027
+ return false;
1028
+ }
1029
+ if (!(equals$h(existing_error, incoming_error))) {
1030
+ return false;
1031
+ }
1032
+ }
1033
+ return true;
1034
+ }
1035
+
1036
+ const VERSION$f = "073553fbf5d6e00bd64663ab28817830";
1037
+ function validate$f(obj, path = 'BulkRecordRollupSyncExecutionOutputRepresentation') {
1038
+ const v_error = (() => {
1039
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1040
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1041
+ }
1042
+ const obj_definitions = obj.definitions;
1043
+ const path_definitions = path + '.definitions';
1044
+ if (!ArrayIsArray(obj_definitions)) {
1045
+ return new TypeError('Expected "array" but received "' + typeof obj_definitions + '" (at "' + path_definitions + '")');
1046
+ }
1047
+ for (let i = 0; i < obj_definitions.length; i++) {
1048
+ const obj_definitions_item = obj_definitions[i];
1049
+ const path_definitions_item = path_definitions + '[' + i + ']';
1050
+ const referencepath_definitions_itemValidationError = validate$g(obj_definitions_item, path_definitions_item);
1051
+ if (referencepath_definitions_itemValidationError !== null) {
1052
+ let message = 'Object doesn\'t match RecordRollupSyncExecutionOutputRepresentation (at "' + path_definitions_item + '")\n';
1053
+ message += referencepath_definitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1054
+ return new TypeError(message);
1055
+ }
1056
+ }
1057
+ const obj_errors = obj.errors;
1058
+ const path_errors = path + '.errors';
1059
+ if (typeof obj_errors !== 'boolean') {
1060
+ return new TypeError('Expected "boolean" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
1061
+ }
1062
+ const obj_message = obj.message;
1063
+ const path_message = path + '.message';
1064
+ if (typeof obj_message !== 'string') {
1065
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
1066
+ }
1067
+ const obj_statusCode = obj.statusCode;
1068
+ const path_statusCode = path + '.statusCode';
1069
+ if (typeof obj_statusCode !== 'string') {
1070
+ return new TypeError('Expected "string" but received "' + typeof obj_statusCode + '" (at "' + path_statusCode + '")');
1071
+ }
1072
+ })();
1073
+ return v_error === undefined ? null : v_error;
1074
+ }
1075
+ const RepresentationType$6 = 'BulkRecordRollupSyncExecutionOutputRepresentation';
282
1076
  function keyBuilder$b(luvio, config) {
283
1077
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.id;
284
1078
  }
285
1079
  function keyBuilderFromType$4(luvio, object) {
286
1080
  const keyParams = {
287
- id: object.recordAggregationDefinitionId
1081
+ id: object.statusCode
288
1082
  };
289
1083
  return keyBuilder$b(luvio, keyParams);
290
1084
  }
291
1085
  function normalize$6(input, existing, path, luvio, store, timestamp) {
292
1086
  return input;
293
1087
  }
294
- const select$m = function RecordAggregationCreationOutputRepresentationSelect() {
1088
+ const select$m = function BulkRecordRollupSyncExecutionOutputRepresentationSelect() {
1089
+ const { selections: RecordRollupSyncExecutionOutputRepresentation__selections, opaque: RecordRollupSyncExecutionOutputRepresentation__opaque, } = select$n();
295
1090
  return {
296
1091
  kind: 'Fragment',
297
1092
  version: VERSION$f,
298
1093
  private: [],
299
1094
  selections: [
300
1095
  {
301
- name: 'message',
1096
+ name: 'definitions',
1097
+ kind: 'Object',
1098
+ plural: true,
1099
+ selections: RecordRollupSyncExecutionOutputRepresentation__selections
1100
+ },
1101
+ {
1102
+ name: 'errors',
302
1103
  kind: 'Scalar'
303
1104
  },
304
1105
  {
305
- name: 'recordAggregationDefinitionId',
1106
+ name: 'message',
306
1107
  kind: 'Scalar'
307
1108
  },
308
1109
  {
@@ -313,24 +1114,34 @@ const select$m = function RecordAggregationCreationOutputRepresentationSelect()
313
1114
  };
314
1115
  };
315
1116
  function equals$f(existing, incoming) {
1117
+ const existing_errors = existing.errors;
1118
+ const incoming_errors = incoming.errors;
1119
+ if (!(existing_errors === incoming_errors)) {
1120
+ return false;
1121
+ }
316
1122
  const existing_message = existing.message;
317
1123
  const incoming_message = incoming.message;
318
1124
  if (!(existing_message === incoming_message)) {
319
1125
  return false;
320
1126
  }
321
- const existing_recordAggregationDefinitionId = existing.recordAggregationDefinitionId;
322
- const incoming_recordAggregationDefinitionId = incoming.recordAggregationDefinitionId;
323
- if (!(existing_recordAggregationDefinitionId === incoming_recordAggregationDefinitionId)) {
324
- return false;
325
- }
326
1127
  const existing_statusCode = existing.statusCode;
327
1128
  const incoming_statusCode = incoming.statusCode;
328
1129
  if (!(existing_statusCode === incoming_statusCode)) {
329
1130
  return false;
330
1131
  }
1132
+ const existing_definitions = existing.definitions;
1133
+ const incoming_definitions = incoming.definitions;
1134
+ const equals_definitions_items = equalsArray(existing_definitions, incoming_definitions, (existing_definitions_item, incoming_definitions_item) => {
1135
+ if (!(equals$g(existing_definitions_item, incoming_definitions_item))) {
1136
+ return false;
1137
+ }
1138
+ });
1139
+ if (equals_definitions_items === false) {
1140
+ return false;
1141
+ }
331
1142
  return true;
332
1143
  }
333
- const ingest$6 = function RecordAggregationCreationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1144
+ const ingest$6 = function BulkRecordRollupSyncExecutionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
334
1145
  if (process.env.NODE_ENV !== 'production') {
335
1146
  const validateError = validate$f(input);
336
1147
  if (validateError !== null) {
@@ -378,8 +1189,8 @@ function ingestSuccess$6(luvio, resourceParams, response) {
378
1189
  function createResourceRequest$7(config) {
379
1190
  const headers = {};
380
1191
  return {
381
- baseUri: '/services/data/v63.0',
382
- basePath: '/connect/record-aggregation',
1192
+ baseUri: '/services/data/v64.0',
1193
+ basePath: '/connect/record-aggregation/bulk-record-rollup/sync-execution',
383
1194
  method: 'post',
384
1195
  body: config.body,
385
1196
  urlParams: {},
@@ -389,29 +1200,16 @@ function createResourceRequest$7(config) {
389
1200
  };
390
1201
  }
391
1202
 
392
- const adapterName$7 = 'postRecordAggregationCreation';
393
- const postRecordAggregationCreation_ConfigPropertyMetadata = [
394
- generateParamConfigMetadata('aggregationObjects', true, 2 /* Body */, 4 /* Unsupported */, true),
395
- generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
396
- generateParamConfigMetadata('definitionDisplayName', true, 2 /* Body */, 0 /* String */),
1203
+ const adapterName$7 = 'performBulkRecordRollupSyncExecution';
1204
+ const performBulkRecordRollupSyncExecution_ConfigPropertyMetadata = [
1205
+ generateParamConfigMetadata('anchorRecordId', true, 2 /* Body */, 0 /* String */),
1206
+ generateParamConfigMetadata('recordAggregationDefinitionIds', true, 2 /* Body */, 0 /* String */, true),
397
1207
  ];
398
- const postRecordAggregationCreation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, postRecordAggregationCreation_ConfigPropertyMetadata);
399
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(postRecordAggregationCreation_ConfigPropertyMetadata);
1208
+ const performBulkRecordRollupSyncExecution_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, performBulkRecordRollupSyncExecution_ConfigPropertyMetadata);
1209
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$a(performBulkRecordRollupSyncExecution_ConfigPropertyMetadata);
400
1210
  function typeCheckConfig$7(untrustedConfig) {
401
1211
  const config = {};
402
- typeCheckConfig$8(untrustedConfig, config, postRecordAggregationCreation_ConfigPropertyMetadata);
403
- const untrustedConfig_aggregationObjects = untrustedConfig.aggregationObjects;
404
- if (ArrayIsArray$1(untrustedConfig_aggregationObjects)) {
405
- const untrustedConfig_aggregationObjects_array = [];
406
- for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
407
- const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
408
- const referenceRecordAggregationNodeInputRepresentationValidationError = validate$g(untrustedConfig_aggregationObjects_item);
409
- if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
410
- untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
411
- }
412
- }
413
- config.aggregationObjects = untrustedConfig_aggregationObjects_array;
414
- }
1212
+ typeCheckConfig$a(untrustedConfig, config, performBulkRecordRollupSyncExecution_ConfigPropertyMetadata);
415
1213
  return config;
416
1214
  }
417
1215
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -445,12 +1243,12 @@ function buildNetworkSnapshot$7(luvio, config, options) {
445
1243
  throw response;
446
1244
  });
447
1245
  }
448
- const postRecordAggregationCreationAdapterFactory = (luvio) => {
449
- return function postRecordAggregationCreation(untrustedConfig) {
450
- const config = validateAdapterConfig$7(untrustedConfig, postRecordAggregationCreation_ConfigPropertyNames);
1246
+ const performBulkRecordRollupSyncExecutionAdapterFactory = (luvio) => {
1247
+ return function performBulkRecordRollupSyncExecution(untrustedConfig) {
1248
+ const config = validateAdapterConfig$7(untrustedConfig, performBulkRecordRollupSyncExecution_ConfigPropertyNames);
451
1249
  // Invalid or incomplete config
452
1250
  if (config === null) {
453
- throw new Error('Invalid config for "postRecordAggregationCreation"');
1251
+ throw new Error('Invalid config for "performBulkRecordRollupSyncExecution"');
454
1252
  }
455
1253
  return buildNetworkSnapshot$7(luvio, config);
456
1254
  };
@@ -648,7 +1446,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
648
1446
  function createResourceRequest$6(config) {
649
1447
  const headers = {};
650
1448
  return {
651
- baseUri: '/services/data/v63.0',
1449
+ baseUri: '/services/data/v64.0',
652
1450
  basePath: '/connect/record-aggregation/utilities/applicable-objects',
653
1451
  method: 'get',
654
1452
  body: null,
@@ -662,7 +1460,7 @@ function createResourceRequest$6(config) {
662
1460
  const adapterName$6 = 'getRecordAggregationApplicableObjects';
663
1461
  const getRecordAggregationApplicableObjects_ConfigPropertyMetadata = [];
664
1462
  const getRecordAggregationApplicableObjects_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getRecordAggregationApplicableObjects_ConfigPropertyMetadata);
665
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(getRecordAggregationApplicableObjects_ConfigPropertyMetadata);
1463
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$a(getRecordAggregationApplicableObjects_ConfigPropertyMetadata);
666
1464
  function keyBuilder$9(luvio, config) {
667
1465
  createResourceParams$6(config);
668
1466
  return keyBuilder$a();
@@ -1016,7 +1814,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
1016
1814
  function createResourceRequest$5(config) {
1017
1815
  const headers = {};
1018
1816
  return {
1019
- baseUri: '/services/data/v63.0',
1817
+ baseUri: '/services/data/v64.0',
1020
1818
  basePath: '/connect/record-aggregation/utilities/applicable-objects/' + config.urlParams.objectName + '/applicable-fields',
1021
1819
  method: 'get',
1022
1820
  body: null,
@@ -1032,14 +1830,14 @@ const getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata = [
1032
1830
  generateParamConfigMetadata('objectName', true, 0 /* UrlParameter */, 0 /* String */),
1033
1831
  ];
1034
1832
  const getRecordAggregationEntityApplicableFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata);
1035
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$8(getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata);
1833
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$a(getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata);
1036
1834
  function keyBuilder$7(luvio, config) {
1037
1835
  const resourceParams = createResourceParams$5(config);
1038
1836
  return keyBuilder$8(luvio, resourceParams);
1039
1837
  }
1040
1838
  function typeCheckConfig$5(untrustedConfig) {
1041
1839
  const config = {};
1042
- typeCheckConfig$8(untrustedConfig, config, getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata);
1840
+ typeCheckConfig$a(untrustedConfig, config, getRecordAggregationEntityApplicableFields_ConfigPropertyMetadata);
1043
1841
  return config;
1044
1842
  }
1045
1843
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -1606,7 +2404,7 @@ function equals$6(existing, incoming) {
1606
2404
  return true;
1607
2405
  }
1608
2406
 
1609
- const VERSION$5 = "91706e13f7f86b960f59a60821132c46";
2407
+ const VERSION$5 = "5e8dedbd6439b248770b8c6a877fa0f5";
1610
2408
  function validate$5(obj, path = 'RADOutputRepresentation') {
1611
2409
  const v_error = (() => {
1612
2410
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1637,6 +2435,11 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
1637
2435
  if (typeof obj_canEditDefinition !== 'boolean') {
1638
2436
  return new TypeError('Expected "boolean" but received "' + typeof obj_canEditDefinition + '" (at "' + path_canEditDefinition + '")');
1639
2437
  }
2438
+ const obj_canManageOnDemand = obj.canManageOnDemand;
2439
+ const path_canManageOnDemand = path + '.canManageOnDemand';
2440
+ if (typeof obj_canManageOnDemand !== 'boolean') {
2441
+ return new TypeError('Expected "boolean" but received "' + typeof obj_canManageOnDemand + '" (at "' + path_canManageOnDemand + '")');
2442
+ }
1640
2443
  if (obj.description !== undefined) {
1641
2444
  const obj_description = obj.description;
1642
2445
  const path_description = path + '.description';
@@ -1649,6 +2452,11 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
1649
2452
  if (typeof obj_displayName !== 'string') {
1650
2453
  return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
1651
2454
  }
2455
+ const obj_isOnDemandEnabled = obj.isOnDemandEnabled;
2456
+ const path_isOnDemandEnabled = path + '.isOnDemandEnabled';
2457
+ if (typeof obj_isOnDemandEnabled !== 'boolean') {
2458
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isOnDemandEnabled + '" (at "' + path_isOnDemandEnabled + '")');
2459
+ }
1652
2460
  const obj_message = obj.message;
1653
2461
  const path_message = path + '.message';
1654
2462
  if (typeof obj_message !== 'string') {
@@ -1706,6 +2514,10 @@ const select$9 = function RADOutputRepresentationSelect() {
1706
2514
  name: 'canEditDefinition',
1707
2515
  kind: 'Scalar'
1708
2516
  },
2517
+ {
2518
+ name: 'canManageOnDemand',
2519
+ kind: 'Scalar'
2520
+ },
1709
2521
  {
1710
2522
  name: 'description',
1711
2523
  kind: 'Scalar',
@@ -1715,6 +2527,10 @@ const select$9 = function RADOutputRepresentationSelect() {
1715
2527
  name: 'displayName',
1716
2528
  kind: 'Scalar'
1717
2529
  },
2530
+ {
2531
+ name: 'isOnDemandEnabled',
2532
+ kind: 'Scalar'
2533
+ },
1718
2534
  {
1719
2535
  name: 'message',
1720
2536
  kind: 'Scalar'
@@ -1745,6 +2561,16 @@ function equals$5(existing, incoming) {
1745
2561
  if (!(existing_canEditDefinition === incoming_canEditDefinition)) {
1746
2562
  return false;
1747
2563
  }
2564
+ const existing_canManageOnDemand = existing.canManageOnDemand;
2565
+ const incoming_canManageOnDemand = incoming.canManageOnDemand;
2566
+ if (!(existing_canManageOnDemand === incoming_canManageOnDemand)) {
2567
+ return false;
2568
+ }
2569
+ const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
2570
+ const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
2571
+ if (!(existing_isOnDemandEnabled === incoming_isOnDemandEnabled)) {
2572
+ return false;
2573
+ }
1748
2574
  const existing_description = existing.description;
1749
2575
  const incoming_description = incoming.description;
1750
2576
  // if at least one of these optionals is defined
@@ -1854,7 +2680,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
1854
2680
  function createResourceRequest$4(config) {
1855
2681
  const headers = {};
1856
2682
  return {
1857
- baseUri: '/services/data/v63.0',
2683
+ baseUri: '/services/data/v64.0',
1858
2684
  basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
1859
2685
  method: 'get',
1860
2686
  body: null,
@@ -1870,14 +2696,14 @@ const getRecordAggregationDefinition_ConfigPropertyMetadata = [
1870
2696
  generateParamConfigMetadata('recordAggregationDefinitionId', true, 0 /* UrlParameter */, 0 /* String */),
1871
2697
  ];
1872
2698
  const getRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getRecordAggregationDefinition_ConfigPropertyMetadata);
1873
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$8(getRecordAggregationDefinition_ConfigPropertyMetadata);
2699
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$a(getRecordAggregationDefinition_ConfigPropertyMetadata);
1874
2700
  function keyBuilder$4(luvio, config) {
1875
2701
  const resourceParams = createResourceParams$4(config);
1876
2702
  return keyBuilder$5(luvio, resourceParams);
1877
2703
  }
1878
2704
  function typeCheckConfig$4(untrustedConfig) {
1879
2705
  const config = {};
1880
- typeCheckConfig$8(untrustedConfig, config, getRecordAggregationDefinition_ConfigPropertyMetadata);
2706
+ typeCheckConfig$a(untrustedConfig, config, getRecordAggregationDefinition_ConfigPropertyMetadata);
1881
2707
  return config;
1882
2708
  }
1883
2709
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -2061,7 +2887,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
2061
2887
  function createResourceRequest$3(config) {
2062
2888
  const headers = {};
2063
2889
  return {
2064
- baseUri: '/services/data/v63.0',
2890
+ baseUri: '/services/data/v64.0',
2065
2891
  basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
2066
2892
  method: 'patch',
2067
2893
  body: config.body,
@@ -2078,12 +2904,13 @@ const patchRecordAggregationDefinition_ConfigPropertyMetadata = [
2078
2904
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2079
2905
  generateParamConfigMetadata('definitionDisplayName', false, 2 /* Body */, 0 /* String */),
2080
2906
  generateParamConfigMetadata('definitionDescription', false, 2 /* Body */, 0 /* String */),
2907
+ generateParamConfigMetadata('enableOnDemand', false, 2 /* Body */, 1 /* Boolean */),
2081
2908
  ];
2082
2909
  const patchRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, patchRecordAggregationDefinition_ConfigPropertyMetadata);
2083
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(patchRecordAggregationDefinition_ConfigPropertyMetadata);
2910
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$a(patchRecordAggregationDefinition_ConfigPropertyMetadata);
2084
2911
  function typeCheckConfig$3(untrustedConfig) {
2085
2912
  const config = {};
2086
- typeCheckConfig$8(untrustedConfig, config, patchRecordAggregationDefinition_ConfigPropertyMetadata);
2913
+ typeCheckConfig$a(untrustedConfig, config, patchRecordAggregationDefinition_ConfigPropertyMetadata);
2087
2914
  return config;
2088
2915
  }
2089
2916
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -2238,7 +3065,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
2238
3065
  function createResourceRequest$2(config) {
2239
3066
  const headers = {};
2240
3067
  return {
2241
- baseUri: '/services/data/v63.0',
3068
+ baseUri: '/services/data/v64.0',
2242
3069
  basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
2243
3070
  method: 'put',
2244
3071
  body: config.body,
@@ -2258,16 +3085,16 @@ const putRecordAggregationDefinition_ConfigPropertyMetadata = [
2258
3085
  generateParamConfigMetadata('status', false, 2 /* Body */, 0 /* String */),
2259
3086
  ];
2260
3087
  const putRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, putRecordAggregationDefinition_ConfigPropertyMetadata);
2261
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$8(putRecordAggregationDefinition_ConfigPropertyMetadata);
3088
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$a(putRecordAggregationDefinition_ConfigPropertyMetadata);
2262
3089
  function typeCheckConfig$2(untrustedConfig) {
2263
3090
  const config = {};
2264
- typeCheckConfig$8(untrustedConfig, config, putRecordAggregationDefinition_ConfigPropertyMetadata);
3091
+ typeCheckConfig$a(untrustedConfig, config, putRecordAggregationDefinition_ConfigPropertyMetadata);
2265
3092
  const untrustedConfig_aggregationObjects = untrustedConfig.aggregationObjects;
2266
3093
  if (ArrayIsArray$1(untrustedConfig_aggregationObjects)) {
2267
3094
  const untrustedConfig_aggregationObjects_array = [];
2268
3095
  for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
2269
3096
  const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
2270
- const referenceRecordAggregationNodeInputRepresentationValidationError = validate$g(untrustedConfig_aggregationObjects_item);
3097
+ const referenceRecordAggregationNodeInputRepresentationValidationError = validate$m(untrustedConfig_aggregationObjects_item);
2271
3098
  if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
2272
3099
  untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
2273
3100
  }
@@ -2338,7 +3165,7 @@ function evictSuccess(luvio, resourceParams) {
2338
3165
  function createResourceRequest$1(config) {
2339
3166
  const headers = {};
2340
3167
  return {
2341
- baseUri: '/services/data/v63.0',
3168
+ baseUri: '/services/data/v64.0',
2342
3169
  basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '',
2343
3170
  method: 'delete',
2344
3171
  body: null,
@@ -2354,10 +3181,10 @@ const deleteRecordAggregationDefinition_ConfigPropertyMetadata = [
2354
3181
  generateParamConfigMetadata('recordAggregationDefinitionId', true, 0 /* UrlParameter */, 0 /* String */),
2355
3182
  ];
2356
3183
  const deleteRecordAggregationDefinition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, deleteRecordAggregationDefinition_ConfigPropertyMetadata);
2357
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$8(deleteRecordAggregationDefinition_ConfigPropertyMetadata);
3184
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$a(deleteRecordAggregationDefinition_ConfigPropertyMetadata);
2358
3185
  function typeCheckConfig$1(untrustedConfig) {
2359
3186
  const config = {};
2360
- typeCheckConfig$8(untrustedConfig, config, deleteRecordAggregationDefinition_ConfigPropertyMetadata);
3187
+ typeCheckConfig$a(untrustedConfig, config, deleteRecordAggregationDefinition_ConfigPropertyMetadata);
2361
3188
  return config;
2362
3189
  }
2363
3190
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -2587,7 +3414,7 @@ function equals$1(existing, incoming) {
2587
3414
  return true;
2588
3415
  }
2589
3416
 
2590
- const VERSION = "ee9d1f2387330046032268a28eb63475";
3417
+ const VERSION = "1391e902871d141b8d2cce016687b3e7";
2591
3418
  function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
2592
3419
  const v_error = (() => {
2593
3420
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2613,6 +3440,7 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
2613
3440
  if (typeof obj_definitionDisplayName !== 'string') {
2614
3441
  return new TypeError('Expected "string" but received "' + typeof obj_definitionDisplayName + '" (at "' + path_definitionDisplayName + '")');
2615
3442
  }
3443
+ obj.lastComputed;
2616
3444
  const obj_message = obj.message;
2617
3445
  const path_message = path + '.message';
2618
3446
  if (typeof obj_message !== 'string') {
@@ -2677,6 +3505,10 @@ const select$1 = function RecordRollupResultOutputRepresentationSelect() {
2677
3505
  name: 'definitionDisplayName',
2678
3506
  kind: 'Scalar'
2679
3507
  },
3508
+ {
3509
+ name: 'lastComputed',
3510
+ kind: 'Scalar'
3511
+ },
2680
3512
  {
2681
3513
  name: 'message',
2682
3514
  kind: 'Scalar'
@@ -2719,6 +3551,11 @@ function equals(existing, incoming) {
2719
3551
  if (!(existing_statusCode === incoming_statusCode)) {
2720
3552
  return false;
2721
3553
  }
3554
+ const existing_lastComputed = existing.lastComputed;
3555
+ const incoming_lastComputed = incoming.lastComputed;
3556
+ if (!(existing_lastComputed === incoming_lastComputed)) {
3557
+ return false;
3558
+ }
2722
3559
  const existing_columns = existing.columns;
2723
3560
  const incoming_columns = incoming.columns;
2724
3561
  const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
@@ -2789,7 +3626,7 @@ function ingestSuccess(luvio, resourceParams, response) {
2789
3626
  function createResourceRequest(config) {
2790
3627
  const headers = {};
2791
3628
  return {
2792
- baseUri: '/services/data/v63.0',
3629
+ baseUri: '/services/data/v64.0',
2793
3630
  basePath: '/connect/record-aggregation/' + config.urlParams.recordAggregationDefinitionId + '/record-rollup-results',
2794
3631
  method: 'post',
2795
3632
  body: config.body,
@@ -2808,10 +3645,10 @@ const postGenerateRecordRollupResult_ConfigPropertyMetadata = [
2808
3645
  generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */),
2809
3646
  ];
2810
3647
  const postGenerateRecordRollupResult_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postGenerateRecordRollupResult_ConfigPropertyMetadata);
2811
- const createResourceParams = /*#__PURE__*/ createResourceParams$8(postGenerateRecordRollupResult_ConfigPropertyMetadata);
3648
+ const createResourceParams = /*#__PURE__*/ createResourceParams$a(postGenerateRecordRollupResult_ConfigPropertyMetadata);
2812
3649
  function typeCheckConfig(untrustedConfig) {
2813
3650
  const config = {};
2814
- typeCheckConfig$8(untrustedConfig, config, postGenerateRecordRollupResult_ConfigPropertyMetadata);
3651
+ typeCheckConfig$a(untrustedConfig, config, postGenerateRecordRollupResult_ConfigPropertyMetadata);
2815
3652
  return config;
2816
3653
  }
2817
3654
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -2856,4 +3693,4 @@ const postGenerateRecordRollupResultAdapterFactory = (luvio) => {
2856
3693
  };
2857
3694
  };
2858
3695
 
2859
- export { deleteRecordAggregationDefinitionAdapterFactory, getRecordAggregationApplicableObjectsAdapterFactory, getRecordAggregationDefinitionAdapterFactory, getRecordAggregationEntityApplicableFieldsAdapterFactory, patchRecordAggregationDefinitionAdapterFactory, postGenerateRecordRollupResultAdapterFactory, postRecordAggregationCreationAdapterFactory, putRecordAggregationDefinitionAdapterFactory };
3696
+ export { deleteRecordAggregationDefinitionAdapterFactory, getBulkRecordRollupDefinitionDetailsAdapterFactory, getRecordAggregationApplicableObjectsAdapterFactory, getRecordAggregationDefinitionAdapterFactory, getRecordAggregationEntityApplicableFieldsAdapterFactory, patchRecordAggregationDefinitionAdapterFactory, performBulkRecordRollupSyncExecutionAdapterFactory, postGenerateRecordRollupResultAdapterFactory, postRecordAggregationCreationAdapterFactory, putRecordAggregationDefinitionAdapterFactory };