@salesforce/lds-adapters-cdp-semantic-authoring 1.308.0 → 1.310.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 (40) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +1705 -837
  2. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetricsById.d.ts +27 -0
  3. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  5. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +12 -0
  6. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMappedFieldsByModelApiNameOrId.d.ts +15 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticSubMetricsBySubMetricIds.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  10. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCloneByModelApiNameOrId.d.ts +12 -0
  13. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsMappedFieldsByModelApiNameOrId.d.ts +24 -0
  15. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  16. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndDimensionNameOrIdAndModelApiNameOrId.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsMeasurementsConvertToDimensionByDataObjectNameOrIdAndMeasurementNameOrIdAndModelApiNameOrId.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +25 -0
  21. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +1 -4
  22. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +1 -4
  23. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +1 -1
  24. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +1 -1
  25. package/dist/es/es2018/types/src/generated/types/SemanticDimensionInputRepresentation.d.ts +1 -4
  26. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +1 -4
  27. package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldCollectionOutputRepresentation.d.ts +38 -0
  28. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +1 -1
  29. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +1 -1
  30. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +5 -1
  31. package/dist/es/es2018/types/src/generated/types/SemanticModelObjectCoordinateOutputRepresentation.d.ts +4 -1
  32. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +10 -1
  33. package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +4 -1
  34. package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
  35. package/dist/es/es2018/types/src/generated/types/SemanticValidationPartialInputRepresentation.d.ts +28 -0
  36. package/dist/es/es2018/types/src/generated/types/SemanticValidationPartialOutputRepresentation.d.ts +34 -0
  37. package/package.json +3 -3
  38. package/sfdc/index.js +1606 -727
  39. package/src/raml/api.raml +1021 -902
  40. package/src/raml/luvio.raml +5 -0
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$9, typeCheckConfig as typeCheckConfig$9, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$7 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$a, typeCheckConfig as typeCheckConfig$a, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$t(obj, path = 'SemanticFilterInputRepresentation') {
105
+ function validate$y(obj, path = 'SemanticFilterInputRepresentation') {
106
106
  const v_error = (() => {
107
107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -132,7 +132,7 @@ function validate$t(obj, path = 'SemanticFilterInputRepresentation') {
132
132
  return v_error === undefined ? null : v_error;
133
133
  }
134
134
 
135
- function validate$s(obj, path = 'SemanticTimeRangeInputRepresentation') {
135
+ function validate$x(obj, path = 'SemanticTimeRangeInputRepresentation') {
136
136
  const v_error = (() => {
137
137
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
138
138
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -162,8 +162,8 @@ function validate$s(obj, path = 'SemanticTimeRangeInputRepresentation') {
162
162
  return v_error === undefined ? null : v_error;
163
163
  }
164
164
 
165
- const VERSION$o = "9b5a0e85af6a943c95625e2dfe81ab96";
166
- function validate$r(obj, path = 'SemanticFilterOutputRepresentation') {
165
+ const VERSION$t = "9b5a0e85af6a943c95625e2dfe81ab96";
166
+ function validate$w(obj, path = 'SemanticFilterOutputRepresentation') {
167
167
  const v_error = (() => {
168
168
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
169
169
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -192,10 +192,10 @@ function validate$r(obj, path = 'SemanticFilterOutputRepresentation') {
192
192
  })();
193
193
  return v_error === undefined ? null : v_error;
194
194
  }
195
- const select$w = function SemanticFilterOutputRepresentationSelect() {
195
+ const select$C = function SemanticFilterOutputRepresentationSelect() {
196
196
  return {
197
197
  kind: 'Fragment',
198
- version: VERSION$o,
198
+ version: VERSION$t,
199
199
  private: [],
200
200
  selections: [
201
201
  {
@@ -216,7 +216,7 @@ const select$w = function SemanticFilterOutputRepresentationSelect() {
216
216
  ]
217
217
  };
218
218
  };
219
- function equals$o(existing, incoming) {
219
+ function equals$t(existing, incoming) {
220
220
  const existing_fieldName = existing.fieldName;
221
221
  const incoming_fieldName = incoming.fieldName;
222
222
  // if at least one of these optionals is defined
@@ -259,8 +259,8 @@ function equals$o(existing, incoming) {
259
259
  return true;
260
260
  }
261
261
 
262
- const VERSION$n = "a2976cd68e629a917463a3b690cf2527";
263
- function validate$q(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
262
+ const VERSION$s = "a2976cd68e629a917463a3b690cf2527";
263
+ function validate$v(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
264
264
  const v_error = (() => {
265
265
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
266
266
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -282,10 +282,10 @@ function validate$q(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
282
282
  })();
283
283
  return v_error === undefined ? null : v_error;
284
284
  }
285
- const select$v = function SemanticTableFieldReferenceOutputRepresentationSelect() {
285
+ const select$B = function SemanticTableFieldReferenceOutputRepresentationSelect() {
286
286
  return {
287
287
  kind: 'Fragment',
288
- version: VERSION$n,
288
+ version: VERSION$s,
289
289
  private: [],
290
290
  selections: [
291
291
  {
@@ -301,7 +301,7 @@ const select$v = function SemanticTableFieldReferenceOutputRepresentationSelect(
301
301
  ]
302
302
  };
303
303
  };
304
- function equals$n(existing, incoming) {
304
+ function equals$s(existing, incoming) {
305
305
  const existing_fieldApiName = existing.fieldApiName;
306
306
  const incoming_fieldApiName = incoming.fieldApiName;
307
307
  // if at least one of these optionals is defined
@@ -331,8 +331,8 @@ function equals$n(existing, incoming) {
331
331
  return true;
332
332
  }
333
333
 
334
- const VERSION$m = "f49a2cbbe308f6f74cda3e2144fa66cd";
335
- function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
334
+ const VERSION$r = "f49a2cbbe308f6f74cda3e2144fa66cd";
335
+ function validate$u(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
336
336
  const v_error = (() => {
337
337
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
338
338
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -347,7 +347,7 @@ function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
347
347
  if (obj.tableFieldReference !== undefined) {
348
348
  const obj_tableFieldReference = obj.tableFieldReference;
349
349
  const path_tableFieldReference = path + '.tableFieldReference';
350
- const referencepath_tableFieldReferenceValidationError = validate$q(obj_tableFieldReference, path_tableFieldReference);
350
+ const referencepath_tableFieldReferenceValidationError = validate$v(obj_tableFieldReference, path_tableFieldReference);
351
351
  if (referencepath_tableFieldReferenceValidationError !== null) {
352
352
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
353
353
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -357,11 +357,11 @@ function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
357
357
  })();
358
358
  return v_error === undefined ? null : v_error;
359
359
  }
360
- const select$u = function SemanticFieldReferenceOutputRepresentationSelect() {
361
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$v();
360
+ const select$A = function SemanticFieldReferenceOutputRepresentationSelect() {
361
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$B();
362
362
  return {
363
363
  kind: 'Fragment',
364
- version: VERSION$m,
364
+ version: VERSION$r,
365
365
  private: [],
366
366
  selections: [
367
367
  {
@@ -378,7 +378,7 @@ const select$u = function SemanticFieldReferenceOutputRepresentationSelect() {
378
378
  ]
379
379
  };
380
380
  };
381
- function equals$m(existing, incoming) {
381
+ function equals$r(existing, incoming) {
382
382
  const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
383
383
  const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
384
384
  // if at least one of these optionals is defined
@@ -401,15 +401,15 @@ function equals$m(existing, incoming) {
401
401
  if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
402
402
  return false;
403
403
  }
404
- if (!(equals$n(existing_tableFieldReference, incoming_tableFieldReference))) {
404
+ if (!(equals$s(existing_tableFieldReference, incoming_tableFieldReference))) {
405
405
  return false;
406
406
  }
407
407
  }
408
408
  return true;
409
409
  }
410
410
 
411
- const VERSION$l = "a50848c632bb205d5e910bb726d9219e";
412
- function validate$o(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
411
+ const VERSION$q = "a50848c632bb205d5e910bb726d9219e";
412
+ function validate$t(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
413
413
  const v_error = (() => {
414
414
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
415
415
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -417,7 +417,7 @@ function validate$o(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
417
417
  if (obj.identifierDimensionReference !== undefined) {
418
418
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
419
419
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
420
- const referencepath_identifierDimensionReferenceValidationError = validate$p(obj_identifierDimensionReference, path_identifierDimensionReference);
420
+ const referencepath_identifierDimensionReferenceValidationError = validate$u(obj_identifierDimensionReference, path_identifierDimensionReference);
421
421
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
422
422
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
423
423
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -427,7 +427,7 @@ function validate$o(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
427
427
  if (obj.namingDimensionReference !== undefined) {
428
428
  const obj_namingDimensionReference = obj.namingDimensionReference;
429
429
  const path_namingDimensionReference = path + '.namingDimensionReference';
430
- const referencepath_namingDimensionReferenceValidationError = validate$p(obj_namingDimensionReference, path_namingDimensionReference);
430
+ const referencepath_namingDimensionReferenceValidationError = validate$u(obj_namingDimensionReference, path_namingDimensionReference);
431
431
  if (referencepath_namingDimensionReferenceValidationError !== null) {
432
432
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
433
433
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -437,11 +437,11 @@ function validate$o(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
437
437
  })();
438
438
  return v_error === undefined ? null : v_error;
439
439
  }
440
- const select$t = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
441
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
440
+ const select$z = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
441
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$A();
442
442
  return {
443
443
  kind: 'Fragment',
444
- version: VERSION$l,
444
+ version: VERSION$q,
445
445
  private: [],
446
446
  selections: [
447
447
  {
@@ -459,7 +459,7 @@ const select$t = function SemanticIdentifyingDimensionOutputRepresentationSelect
459
459
  ]
460
460
  };
461
461
  };
462
- function equals$l(existing, incoming) {
462
+ function equals$q(existing, incoming) {
463
463
  const existing_identifierDimensionReference = existing.identifierDimensionReference;
464
464
  const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
465
465
  // if at least one of these optionals is defined
@@ -469,7 +469,7 @@ function equals$l(existing, incoming) {
469
469
  if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
470
470
  return false;
471
471
  }
472
- if (!(equals$m(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
472
+ if (!(equals$r(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
473
473
  return false;
474
474
  }
475
475
  }
@@ -482,15 +482,15 @@ function equals$l(existing, incoming) {
482
482
  if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
483
483
  return false;
484
484
  }
485
- if (!(equals$m(existing_namingDimensionReference, incoming_namingDimensionReference))) {
485
+ if (!(equals$r(existing_namingDimensionReference, incoming_namingDimensionReference))) {
486
486
  return false;
487
487
  }
488
488
  }
489
489
  return true;
490
490
  }
491
491
 
492
- const VERSION$k = "1b8cf2283d5d5c480459506274f0604c";
493
- function validate$n(obj, path = 'SemanticInsightTypeOutputRepresentation') {
492
+ const VERSION$p = "1b8cf2283d5d5c480459506274f0604c";
493
+ function validate$s(obj, path = 'SemanticInsightTypeOutputRepresentation') {
494
494
  const v_error = (() => {
495
495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
496
496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -512,10 +512,10 @@ function validate$n(obj, path = 'SemanticInsightTypeOutputRepresentation') {
512
512
  })();
513
513
  return v_error === undefined ? null : v_error;
514
514
  }
515
- const select$s = function SemanticInsightTypeOutputRepresentationSelect() {
515
+ const select$y = function SemanticInsightTypeOutputRepresentationSelect() {
516
516
  return {
517
517
  kind: 'Fragment',
518
- version: VERSION$k,
518
+ version: VERSION$p,
519
519
  private: [],
520
520
  selections: [
521
521
  {
@@ -531,7 +531,7 @@ const select$s = function SemanticInsightTypeOutputRepresentationSelect() {
531
531
  ]
532
532
  };
533
533
  };
534
- function equals$k(existing, incoming) {
534
+ function equals$p(existing, incoming) {
535
535
  const existing_enabled = existing.enabled;
536
536
  const incoming_enabled = incoming.enabled;
537
537
  // if at least one of these optionals is defined
@@ -561,8 +561,8 @@ function equals$k(existing, incoming) {
561
561
  return true;
562
562
  }
563
563
 
564
- const VERSION$j = "a3f5972287be7bcf9ca205af56046a58";
565
- function validate$m(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
564
+ const VERSION$o = "a3f5972287be7bcf9ca205af56046a58";
565
+ function validate$r(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
566
566
  const v_error = (() => {
567
567
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
568
568
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -570,7 +570,7 @@ function validate$m(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
570
570
  if (obj.identifyingDimension !== undefined) {
571
571
  const obj_identifyingDimension = obj.identifyingDimension;
572
572
  const path_identifyingDimension = path + '.identifyingDimension';
573
- const referencepath_identifyingDimensionValidationError = validate$o(obj_identifyingDimension, path_identifyingDimension);
573
+ const referencepath_identifyingDimensionValidationError = validate$t(obj_identifyingDimension, path_identifyingDimension);
574
574
  if (referencepath_identifyingDimensionValidationError !== null) {
575
575
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
576
576
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -586,7 +586,7 @@ function validate$m(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
586
586
  for (let i = 0; i < obj_insightTypes.length; i++) {
587
587
  const obj_insightTypes_item = obj_insightTypes[i];
588
588
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
589
- const referencepath_insightTypes_itemValidationError = validate$n(obj_insightTypes_item, path_insightTypes_item);
589
+ const referencepath_insightTypes_itemValidationError = validate$s(obj_insightTypes_item, path_insightTypes_item);
590
590
  if (referencepath_insightTypes_itemValidationError !== null) {
591
591
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
592
592
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -603,7 +603,7 @@ function validate$m(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
603
603
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
604
604
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
605
605
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
606
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$p(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
606
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$u(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
607
607
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
608
608
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
609
609
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -635,13 +635,13 @@ function validate$m(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
635
635
  })();
636
636
  return v_error === undefined ? null : v_error;
637
637
  }
638
- const select$r = function SemanticInsightsSettingsOutputRepresentationSelect() {
639
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$t();
640
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$s();
641
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
638
+ const select$x = function SemanticInsightsSettingsOutputRepresentationSelect() {
639
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$z();
640
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$y();
641
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$A();
642
642
  return {
643
643
  kind: 'Fragment',
644
- version: VERSION$j,
644
+ version: VERSION$o,
645
645
  private: [],
646
646
  selections: [
647
647
  {
@@ -682,7 +682,7 @@ const select$r = function SemanticInsightsSettingsOutputRepresentationSelect() {
682
682
  ]
683
683
  };
684
684
  };
685
- function equals$j(existing, incoming) {
685
+ function equals$o(existing, incoming) {
686
686
  const existing_pluralNoun = existing.pluralNoun;
687
687
  const incoming_pluralNoun = incoming.pluralNoun;
688
688
  // if at least one of these optionals is defined
@@ -731,7 +731,7 @@ function equals$j(existing, incoming) {
731
731
  if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
732
732
  return false;
733
733
  }
734
- if (!(equals$l(existing_identifyingDimension, incoming_identifyingDimension))) {
734
+ if (!(equals$q(existing_identifyingDimension, incoming_identifyingDimension))) {
735
735
  return false;
736
736
  }
737
737
  }
@@ -745,7 +745,7 @@ function equals$j(existing, incoming) {
745
745
  return false;
746
746
  }
747
747
  const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
748
- if (!(equals$k(existing_insightTypes_item, incoming_insightTypes_item))) {
748
+ if (!(equals$p(existing_insightTypes_item, incoming_insightTypes_item))) {
749
749
  return false;
750
750
  }
751
751
  });
@@ -763,7 +763,7 @@ function equals$j(existing, incoming) {
763
763
  return false;
764
764
  }
765
765
  const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
766
- if (!(equals$m(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
766
+ if (!(equals$r(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
767
767
  return false;
768
768
  }
769
769
  });
@@ -774,8 +774,8 @@ function equals$j(existing, incoming) {
774
774
  return true;
775
775
  }
776
776
 
777
- const VERSION$i = "bcf7c34e0e00709df1ab9a451ea9b05c";
778
- function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
777
+ const VERSION$n = "bcf7c34e0e00709df1ab9a451ea9b05c";
778
+ function validate$q(obj, path = 'SemanticMetricOutputRepresentation') {
779
779
  const v_error = (() => {
780
780
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
781
781
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -789,7 +789,7 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
789
789
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
790
790
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
791
791
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
792
- const referencepath_additionalDimensions_itemValidationError = validate$p(obj_additionalDimensions_item, path_additionalDimensions_item);
792
+ const referencepath_additionalDimensions_itemValidationError = validate$u(obj_additionalDimensions_item, path_additionalDimensions_item);
793
793
  if (referencepath_additionalDimensions_itemValidationError !== null) {
794
794
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
795
795
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -849,7 +849,7 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
849
849
  for (let i = 0; i < obj_filters.length; i++) {
850
850
  const obj_filters_item = obj_filters[i];
851
851
  const path_filters_item = path_filters + '[' + i + ']';
852
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
852
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
853
853
  if (referencepath_filters_itemValidationError !== null) {
854
854
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
855
855
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -865,7 +865,7 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
865
865
  if (obj.insightsSettings !== undefined) {
866
866
  const obj_insightsSettings = obj.insightsSettings;
867
867
  const path_insightsSettings = path + '.insightsSettings';
868
- const referencepath_insightsSettingsValidationError = validate$m(obj_insightsSettings, path_insightsSettings);
868
+ const referencepath_insightsSettingsValidationError = validate$r(obj_insightsSettings, path_insightsSettings);
869
869
  if (referencepath_insightsSettingsValidationError !== null) {
870
870
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
871
871
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -903,7 +903,7 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
903
903
  if (obj.measurementReference !== undefined) {
904
904
  const obj_measurementReference = obj.measurementReference;
905
905
  const path_measurementReference = path + '.measurementReference';
906
- const referencepath_measurementReferenceValidationError = validate$p(obj_measurementReference, path_measurementReference);
906
+ const referencepath_measurementReferenceValidationError = validate$u(obj_measurementReference, path_measurementReference);
907
907
  if (referencepath_measurementReferenceValidationError !== null) {
908
908
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
909
909
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -913,7 +913,7 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
913
913
  if (obj.timeDimensionReference !== undefined) {
914
914
  const obj_timeDimensionReference = obj.timeDimensionReference;
915
915
  const path_timeDimensionReference = path + '.timeDimensionReference';
916
- const referencepath_timeDimensionReferenceValidationError = validate$p(obj_timeDimensionReference, path_timeDimensionReference);
916
+ const referencepath_timeDimensionReferenceValidationError = validate$u(obj_timeDimensionReference, path_timeDimensionReference);
917
917
  if (referencepath_timeDimensionReferenceValidationError !== null) {
918
918
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
919
919
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -937,26 +937,26 @@ function validate$l(obj, path = 'SemanticMetricOutputRepresentation') {
937
937
  })();
938
938
  return v_error === undefined ? null : v_error;
939
939
  }
940
- const RepresentationType$f = 'SemanticMetricOutputRepresentation';
941
- function keyBuilder$p(luvio, config) {
942
- return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
940
+ const RepresentationType$g = 'SemanticMetricOutputRepresentation';
941
+ function keyBuilder$s(luvio, config) {
942
+ return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
943
943
  }
944
- function keyBuilderFromType$a(luvio, object) {
944
+ function keyBuilderFromType$b(luvio, object) {
945
945
  const keyParams = {
946
946
  name: object.id
947
947
  };
948
- return keyBuilder$p(luvio, keyParams);
948
+ return keyBuilder$s(luvio, keyParams);
949
949
  }
950
- function normalize$f(input, existing, path, luvio, store, timestamp) {
950
+ function normalize$g(input, existing, path, luvio, store, timestamp) {
951
951
  return input;
952
952
  }
953
- const select$q = function SemanticMetricOutputRepresentationSelect() {
954
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
955
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$w();
956
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$r();
953
+ const select$w = function SemanticMetricOutputRepresentationSelect() {
954
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$A();
955
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$C();
956
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$x();
957
957
  return {
958
958
  kind: 'Fragment',
959
- version: VERSION$i,
959
+ version: VERSION$n,
960
960
  private: [],
961
961
  selections: [
962
962
  {
@@ -1056,7 +1056,7 @@ const select$q = function SemanticMetricOutputRepresentationSelect() {
1056
1056
  ]
1057
1057
  };
1058
1058
  };
1059
- function equals$i(existing, incoming) {
1059
+ function equals$n(existing, incoming) {
1060
1060
  const existing_isCumulative = existing.isCumulative;
1061
1061
  const incoming_isCumulative = incoming.isCumulative;
1062
1062
  // if at least one of these optionals is defined
@@ -1191,7 +1191,7 @@ function equals$i(existing, incoming) {
1191
1191
  return false;
1192
1192
  }
1193
1193
  const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
1194
- if (!(equals$m(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
1194
+ if (!(equals$r(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
1195
1195
  return false;
1196
1196
  }
1197
1197
  });
@@ -1209,7 +1209,7 @@ function equals$i(existing, incoming) {
1209
1209
  return false;
1210
1210
  }
1211
1211
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
1212
- if (!(equals$o(existing_filters_item, incoming_filters_item))) {
1212
+ if (!(equals$t(existing_filters_item, incoming_filters_item))) {
1213
1213
  return false;
1214
1214
  }
1215
1215
  });
@@ -1226,7 +1226,7 @@ function equals$i(existing, incoming) {
1226
1226
  if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
1227
1227
  return false;
1228
1228
  }
1229
- if (!(equals$j(existing_insightsSettings, incoming_insightsSettings))) {
1229
+ if (!(equals$o(existing_insightsSettings, incoming_insightsSettings))) {
1230
1230
  return false;
1231
1231
  }
1232
1232
  }
@@ -1239,7 +1239,7 @@ function equals$i(existing, incoming) {
1239
1239
  if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
1240
1240
  return false;
1241
1241
  }
1242
- if (!(equals$m(existing_measurementReference, incoming_measurementReference))) {
1242
+ if (!(equals$r(existing_measurementReference, incoming_measurementReference))) {
1243
1243
  return false;
1244
1244
  }
1245
1245
  }
@@ -1252,7 +1252,7 @@ function equals$i(existing, incoming) {
1252
1252
  if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
1253
1253
  return false;
1254
1254
  }
1255
- if (!(equals$m(existing_timeDimensionReference, incoming_timeDimensionReference))) {
1255
+ if (!(equals$r(existing_timeDimensionReference, incoming_timeDimensionReference))) {
1256
1256
  return false;
1257
1257
  }
1258
1258
  }
@@ -1276,29 +1276,29 @@ function equals$i(existing, incoming) {
1276
1276
  }
1277
1277
  return true;
1278
1278
  }
1279
- const ingest$f = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1279
+ const ingest$g = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1280
1280
  if (process.env.NODE_ENV !== 'production') {
1281
- const validateError = validate$l(input);
1281
+ const validateError = validate$q(input);
1282
1282
  if (validateError !== null) {
1283
1283
  throw validateError;
1284
1284
  }
1285
1285
  }
1286
- const key = keyBuilderFromType$a(luvio, input);
1286
+ const key = keyBuilderFromType$b(luvio, input);
1287
1287
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
1288
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$i, RepresentationType$f, equals$i);
1288
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$n, RepresentationType$g, equals$n);
1289
1289
  return createLink(key);
1290
1290
  };
1291
- function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1291
+ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1292
1292
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1293
- const rootKey = keyBuilderFromType$a(luvio, input);
1293
+ const rootKey = keyBuilderFromType$b(luvio, input);
1294
1294
  rootKeySet.set(rootKey, {
1295
1295
  namespace: keyPrefix,
1296
- representationName: RepresentationType$f,
1296
+ representationName: RepresentationType$g,
1297
1297
  mergeable: false
1298
1298
  });
1299
1299
  }
1300
1300
 
1301
- function validate$k(obj, path = 'SemanticTimeRangeOutputRepresentation') {
1301
+ function validate$p(obj, path = 'SemanticTimeRangeOutputRepresentation') {
1302
1302
  const v_error = (() => {
1303
1303
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1304
1304
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1328,8 +1328,8 @@ function validate$k(obj, path = 'SemanticTimeRangeOutputRepresentation') {
1328
1328
  return v_error === undefined ? null : v_error;
1329
1329
  }
1330
1330
 
1331
- const VERSION$h = "c882b1daea155cb0f89f281f88d14769";
1332
- function validate$j(obj, path = 'SemanticSubMetricOutputRepresentation') {
1331
+ const VERSION$m = "c882b1daea155cb0f89f281f88d14769";
1332
+ function validate$o(obj, path = 'SemanticSubMetricOutputRepresentation') {
1333
1333
  const v_error = (() => {
1334
1334
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1335
1335
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1379,7 +1379,7 @@ function validate$j(obj, path = 'SemanticSubMetricOutputRepresentation') {
1379
1379
  for (let i = 0; i < obj_filters.length; i++) {
1380
1380
  const obj_filters_item = obj_filters[i];
1381
1381
  const path_filters_item = path_filters + '[' + i + ']';
1382
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
1382
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
1383
1383
  if (referencepath_filters_itemValidationError !== null) {
1384
1384
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1385
1385
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1423,7 +1423,7 @@ function validate$j(obj, path = 'SemanticSubMetricOutputRepresentation') {
1423
1423
  if (obj.semanticMetric !== undefined) {
1424
1424
  const obj_semanticMetric = obj.semanticMetric;
1425
1425
  const path_semanticMetric = path + '.semanticMetric';
1426
- const referencepath_semanticMetricValidationError = validate$l(obj_semanticMetric, path_semanticMetric);
1426
+ const referencepath_semanticMetricValidationError = validate$q(obj_semanticMetric, path_semanticMetric);
1427
1427
  if (referencepath_semanticMetricValidationError !== null) {
1428
1428
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
1429
1429
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1433,7 +1433,7 @@ function validate$j(obj, path = 'SemanticSubMetricOutputRepresentation') {
1433
1433
  if (obj.timeRange !== undefined) {
1434
1434
  const obj_timeRange = obj.timeRange;
1435
1435
  const path_timeRange = path + '.timeRange';
1436
- const referencepath_timeRangeValidationError = validate$k(obj_timeRange, path_timeRange);
1436
+ const referencepath_timeRangeValidationError = validate$p(obj_timeRange, path_timeRange);
1437
1437
  if (referencepath_timeRangeValidationError !== null) {
1438
1438
  let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
1439
1439
  message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1443,68 +1443,68 @@ function validate$j(obj, path = 'SemanticSubMetricOutputRepresentation') {
1443
1443
  })();
1444
1444
  return v_error === undefined ? null : v_error;
1445
1445
  }
1446
- const RepresentationType$e = 'SemanticSubMetricOutputRepresentation';
1447
- function keyBuilder$o(luvio, config) {
1448
- return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
1446
+ const RepresentationType$f = 'SemanticSubMetricOutputRepresentation';
1447
+ function keyBuilder$r(luvio, config) {
1448
+ return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
1449
1449
  }
1450
- function keyBuilderFromType$9(luvio, object) {
1450
+ function keyBuilderFromType$a(luvio, object) {
1451
1451
  const keyParams = {
1452
1452
  name: object.id
1453
1453
  };
1454
- return keyBuilder$o(luvio, keyParams);
1454
+ return keyBuilder$r(luvio, keyParams);
1455
1455
  }
1456
- function normalize$e(input, existing, path, luvio, store, timestamp) {
1456
+ function normalize$f(input, existing, path, luvio, store, timestamp) {
1457
1457
  return input;
1458
1458
  }
1459
- const select$p = function SemanticSubMetricOutputRepresentationSelect() {
1459
+ const select$v = function SemanticSubMetricOutputRepresentationSelect() {
1460
1460
  return {
1461
1461
  kind: 'Fragment',
1462
- version: VERSION$h,
1462
+ version: VERSION$m,
1463
1463
  private: [],
1464
1464
  opaque: true
1465
1465
  };
1466
1466
  };
1467
- function equals$h(existing, incoming) {
1467
+ function equals$m(existing, incoming) {
1468
1468
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
1469
1469
  return false;
1470
1470
  }
1471
1471
  return true;
1472
1472
  }
1473
- const ingest$e = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1473
+ const ingest$f = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1474
1474
  if (process.env.NODE_ENV !== 'production') {
1475
- const validateError = validate$j(input);
1475
+ const validateError = validate$o(input);
1476
1476
  if (validateError !== null) {
1477
1477
  throw validateError;
1478
1478
  }
1479
1479
  }
1480
- const key = keyBuilderFromType$9(luvio, input);
1480
+ const key = keyBuilderFromType$a(luvio, input);
1481
1481
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
1482
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$h, RepresentationType$e, equals$h);
1482
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$m, RepresentationType$f, equals$m);
1483
1483
  return createLink(key);
1484
1484
  };
1485
- function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1485
+ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1486
1486
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1487
- const rootKey = keyBuilderFromType$9(luvio, input);
1487
+ const rootKey = keyBuilderFromType$a(luvio, input);
1488
1488
  rootKeySet.set(rootKey, {
1489
1489
  namespace: keyPrefix,
1490
- representationName: RepresentationType$e,
1490
+ representationName: RepresentationType$f,
1491
1491
  mergeable: false
1492
1492
  });
1493
1493
  }
1494
1494
 
1495
- function select$o(luvio, params) {
1496
- return select$p();
1495
+ function select$u(luvio, params) {
1496
+ return select$v();
1497
1497
  }
1498
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
1499
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
1498
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
1499
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
1500
1500
  }
1501
- function ingestSuccess$7(luvio, resourceParams, response) {
1501
+ function ingestSuccess$8(luvio, resourceParams, response) {
1502
1502
  const { body } = response;
1503
- const key = keyBuilderFromType$9(luvio, body);
1504
- luvio.storeIngest(key, ingest$e, body);
1503
+ const key = keyBuilderFromType$a(luvio, body);
1504
+ luvio.storeIngest(key, ingest$f, body);
1505
1505
  const snapshot = luvio.storeLookup({
1506
1506
  recordId: key,
1507
- node: select$o(),
1507
+ node: select$u(),
1508
1508
  variables: {},
1509
1509
  });
1510
1510
  if (process.env.NODE_ENV !== 'production') {
@@ -1515,7 +1515,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
1515
1515
  deepFreeze(snapshot.data);
1516
1516
  return snapshot;
1517
1517
  }
1518
- function createResourceRequest$8(config) {
1518
+ function createResourceRequest$9(config) {
1519
1519
  const headers = {};
1520
1520
  return {
1521
1521
  baseUri: '/services/data/v62.0',
@@ -1529,7 +1529,7 @@ function createResourceRequest$8(config) {
1529
1529
  };
1530
1530
  }
1531
1531
 
1532
- const adapterName$8 = 'createSemanticSubMetric';
1532
+ const adapterName$9 = 'createSemanticSubMetric';
1533
1533
  const createSemanticSubMetric_ConfigPropertyMetadata = [
1534
1534
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1535
1535
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
@@ -1540,17 +1540,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
1540
1540
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
1541
1541
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
1542
1542
  ];
1543
- const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, createSemanticSubMetric_ConfigPropertyMetadata);
1544
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$9(createSemanticSubMetric_ConfigPropertyMetadata);
1545
- function typeCheckConfig$8(untrustedConfig) {
1543
+ const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createSemanticSubMetric_ConfigPropertyMetadata);
1544
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$a(createSemanticSubMetric_ConfigPropertyMetadata);
1545
+ function typeCheckConfig$9(untrustedConfig) {
1546
1546
  const config = {};
1547
- typeCheckConfig$9(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
1547
+ typeCheckConfig$a(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
1548
1548
  const untrustedConfig_filters = untrustedConfig.filters;
1549
1549
  if (ArrayIsArray$1(untrustedConfig_filters)) {
1550
1550
  const untrustedConfig_filters_array = [];
1551
1551
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
1552
1552
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
1553
- const referenceSemanticFilterInputRepresentationValidationError = validate$t(untrustedConfig_filters_item);
1553
+ const referenceSemanticFilterInputRepresentationValidationError = validate$y(untrustedConfig_filters_item);
1554
1554
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
1555
1555
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
1556
1556
  }
@@ -1558,36 +1558,36 @@ function typeCheckConfig$8(untrustedConfig) {
1558
1558
  config.filters = untrustedConfig_filters_array;
1559
1559
  }
1560
1560
  const untrustedConfig_timeRange = untrustedConfig.timeRange;
1561
- const referenceSemanticTimeRangeInputRepresentationValidationError = validate$s(untrustedConfig_timeRange);
1561
+ const referenceSemanticTimeRangeInputRepresentationValidationError = validate$x(untrustedConfig_timeRange);
1562
1562
  if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
1563
1563
  config.timeRange = untrustedConfig_timeRange;
1564
1564
  }
1565
1565
  return config;
1566
1566
  }
1567
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
1567
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1568
1568
  if (!untrustedIsObject(untrustedConfig)) {
1569
1569
  return null;
1570
1570
  }
1571
1571
  if (process.env.NODE_ENV !== 'production') {
1572
1572
  validateConfig(untrustedConfig, configPropertyNames);
1573
1573
  }
1574
- const config = typeCheckConfig$8(untrustedConfig);
1574
+ const config = typeCheckConfig$9(untrustedConfig);
1575
1575
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1576
1576
  return null;
1577
1577
  }
1578
1578
  return config;
1579
1579
  }
1580
- function buildNetworkSnapshot$8(luvio, config, options) {
1581
- const resourceParams = createResourceParams$8(config);
1582
- const request = createResourceRequest$8(resourceParams);
1580
+ function buildNetworkSnapshot$9(luvio, config, options) {
1581
+ const resourceParams = createResourceParams$9(config);
1582
+ const request = createResourceRequest$9(resourceParams);
1583
1583
  return luvio.dispatchResourceRequest(request, options)
1584
1584
  .then((response) => {
1585
1585
  return luvio.handleSuccessResponse(() => {
1586
- const snapshot = ingestSuccess$7(luvio, resourceParams, response);
1586
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
1587
1587
  return luvio.storeBroadcast().then(() => snapshot);
1588
1588
  }, () => {
1589
1589
  const cache = new StoreKeyMap();
1590
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
1590
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1591
1591
  return cache;
1592
1592
  });
1593
1593
  }, (response) => {
@@ -1597,33 +1597,33 @@ function buildNetworkSnapshot$8(luvio, config, options) {
1597
1597
  }
1598
1598
  const createSemanticSubMetricAdapterFactory = (luvio) => {
1599
1599
  return function createSemanticSubMetric(untrustedConfig) {
1600
- const config = validateAdapterConfig$8(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
1600
+ const config = validateAdapterConfig$9(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
1601
1601
  // Invalid or incomplete config
1602
1602
  if (config === null) {
1603
1603
  throw new Error('Invalid config for "createSemanticSubMetric"');
1604
1604
  }
1605
- return buildNetworkSnapshot$8(luvio, config);
1605
+ return buildNetworkSnapshot$9(luvio, config);
1606
1606
  };
1607
1607
  };
1608
1608
 
1609
- function keyBuilder$n(luvio, params) {
1610
- return keyBuilder$o(luvio, {
1609
+ function keyBuilder$q(luvio, params) {
1610
+ return keyBuilder$r(luvio, {
1611
1611
  name: params.urlParams.subMetricNameOrId
1612
1612
  });
1613
1613
  }
1614
- function getResponseCacheKeys$7(cacheKeyMap, luvio, resourceParams) {
1615
- const key = keyBuilder$n(luvio, resourceParams);
1614
+ function getResponseCacheKeys$8(cacheKeyMap, luvio, resourceParams) {
1615
+ const key = keyBuilder$q(luvio, resourceParams);
1616
1616
  cacheKeyMap.set(key, {
1617
1617
  namespace: keyPrefix,
1618
- representationName: RepresentationType$e,
1618
+ representationName: RepresentationType$f,
1619
1619
  mergeable: false
1620
1620
  });
1621
1621
  }
1622
1622
  function evictSuccess(luvio, resourceParams) {
1623
- const key = keyBuilder$n(luvio, resourceParams);
1623
+ const key = keyBuilder$q(luvio, resourceParams);
1624
1624
  luvio.storeEvict(key);
1625
1625
  }
1626
- function createResourceRequest$7(config) {
1626
+ function createResourceRequest$8(config) {
1627
1627
  const headers = {};
1628
1628
  return {
1629
1629
  baseUri: '/services/data/v62.0',
@@ -1637,34 +1637,34 @@ function createResourceRequest$7(config) {
1637
1637
  };
1638
1638
  }
1639
1639
 
1640
- const adapterName$7 = 'deleteSemanticSubMetric';
1640
+ const adapterName$8 = 'deleteSemanticSubMetric';
1641
1641
  const deleteSemanticSubMetric_ConfigPropertyMetadata = [
1642
1642
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1643
1643
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1644
1644
  ];
1645
- const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, deleteSemanticSubMetric_ConfigPropertyMetadata);
1646
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$9(deleteSemanticSubMetric_ConfigPropertyMetadata);
1647
- function typeCheckConfig$7(untrustedConfig) {
1645
+ const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, deleteSemanticSubMetric_ConfigPropertyMetadata);
1646
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$a(deleteSemanticSubMetric_ConfigPropertyMetadata);
1647
+ function typeCheckConfig$8(untrustedConfig) {
1648
1648
  const config = {};
1649
- typeCheckConfig$9(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
1649
+ typeCheckConfig$a(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
1650
1650
  return config;
1651
1651
  }
1652
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1652
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
1653
1653
  if (!untrustedIsObject(untrustedConfig)) {
1654
1654
  return null;
1655
1655
  }
1656
1656
  if (process.env.NODE_ENV !== 'production') {
1657
1657
  validateConfig(untrustedConfig, configPropertyNames);
1658
1658
  }
1659
- const config = typeCheckConfig$7(untrustedConfig);
1659
+ const config = typeCheckConfig$8(untrustedConfig);
1660
1660
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1661
1661
  return null;
1662
1662
  }
1663
1663
  return config;
1664
1664
  }
1665
- function buildNetworkSnapshot$7(luvio, config, options) {
1666
- const resourceParams = createResourceParams$7(config);
1667
- const request = createResourceRequest$7(resourceParams);
1665
+ function buildNetworkSnapshot$8(luvio, config, options) {
1666
+ const resourceParams = createResourceParams$8(config);
1667
+ const request = createResourceRequest$8(resourceParams);
1668
1668
  return luvio.dispatchResourceRequest(request, options)
1669
1669
  .then(() => {
1670
1670
  return luvio.handleSuccessResponse(() => {
@@ -1672,7 +1672,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
1672
1672
  return luvio.storeBroadcast();
1673
1673
  }, () => {
1674
1674
  const cache = new StoreKeyMap();
1675
- getResponseCacheKeys$7(cache, luvio, resourceParams);
1675
+ getResponseCacheKeys$8(cache, luvio, resourceParams);
1676
1676
  return cache;
1677
1677
  });
1678
1678
  }, (response) => {
@@ -1682,33 +1682,33 @@ function buildNetworkSnapshot$7(luvio, config, options) {
1682
1682
  }
1683
1683
  const deleteSemanticSubMetricAdapterFactory = (luvio) => {
1684
1684
  return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
1685
- const config = validateAdapterConfig$7(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
1685
+ const config = validateAdapterConfig$8(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
1686
1686
  // Invalid or incomplete config
1687
1687
  if (config === null) {
1688
- throw new Error(`Invalid config for "${adapterName$7}"`);
1688
+ throw new Error(`Invalid config for "${adapterName$8}"`);
1689
1689
  }
1690
- return buildNetworkSnapshot$7(luvio, config);
1690
+ return buildNetworkSnapshot$8(luvio, config);
1691
1691
  };
1692
1692
  };
1693
1693
 
1694
- function select$n(luvio, params) {
1695
- return select$q();
1694
+ function select$t(luvio, params) {
1695
+ return select$w();
1696
1696
  }
1697
- function keyBuilder$m(luvio, params) {
1698
- return keyBuilder$p(luvio, {
1697
+ function keyBuilder$p(luvio, params) {
1698
+ return keyBuilder$s(luvio, {
1699
1699
  name: params.urlParams.metricNameOrId
1700
1700
  });
1701
1701
  }
1702
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1703
- getTypeCacheKeys$f(storeKeyMap, luvio, response);
1702
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
1703
+ getTypeCacheKeys$g(storeKeyMap, luvio, response);
1704
1704
  }
1705
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1705
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
1706
1706
  const { body } = response;
1707
- const key = keyBuilder$m(luvio, resourceParams);
1708
- luvio.storeIngest(key, ingest$f, body);
1707
+ const key = keyBuilder$p(luvio, resourceParams);
1708
+ luvio.storeIngest(key, ingest$g, body);
1709
1709
  const snapshot = luvio.storeLookup({
1710
1710
  recordId: key,
1711
- node: select$n(),
1711
+ node: select$t(),
1712
1712
  variables: {},
1713
1713
  }, snapshotRefresh);
1714
1714
  if (process.env.NODE_ENV !== 'production') {
@@ -1719,13 +1719,13 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1719
1719
  deepFreeze(snapshot.data);
1720
1720
  return snapshot;
1721
1721
  }
1722
- function ingestError$6(luvio, params, error, snapshotRefresh) {
1723
- const key = keyBuilder$m(luvio, params);
1722
+ function ingestError$7(luvio, params, error, snapshotRefresh) {
1723
+ const key = keyBuilder$p(luvio, params);
1724
1724
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1725
1725
  luvio.storeIngestError(key, errorSnapshot);
1726
1726
  return errorSnapshot;
1727
1727
  }
1728
- function createResourceRequest$6(config) {
1728
+ function createResourceRequest$7(config) {
1729
1729
  const headers = {};
1730
1730
  return {
1731
1731
  baseUri: '/services/data/v62.0',
@@ -1743,98 +1743,98 @@ function createResourceRequestFromRepresentation$2(representation) {
1743
1743
  urlParams: {},
1744
1744
  };
1745
1745
  config.urlParams.metricNameOrId = representation.id;
1746
- return createResourceRequest$6(config);
1746
+ return createResourceRequest$7(config);
1747
1747
  }
1748
1748
 
1749
- const adapterName$6 = 'getSemanticMetric';
1749
+ const adapterName$7 = 'getSemanticMetric';
1750
1750
  const getSemanticMetric_ConfigPropertyMetadata = [
1751
1751
  generateParamConfigMetadata('metricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1752
1752
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1753
1753
  ];
1754
- const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticMetric_ConfigPropertyMetadata);
1755
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$9(getSemanticMetric_ConfigPropertyMetadata);
1756
- function keyBuilder$l(luvio, config) {
1757
- const resourceParams = createResourceParams$6(config);
1758
- return keyBuilder$m(luvio, resourceParams);
1754
+ const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetric_ConfigPropertyMetadata);
1755
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$a(getSemanticMetric_ConfigPropertyMetadata);
1756
+ function keyBuilder$o(luvio, config) {
1757
+ const resourceParams = createResourceParams$7(config);
1758
+ return keyBuilder$p(luvio, resourceParams);
1759
1759
  }
1760
- function typeCheckConfig$6(untrustedConfig) {
1760
+ function typeCheckConfig$7(untrustedConfig) {
1761
1761
  const config = {};
1762
- typeCheckConfig$9(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
1762
+ typeCheckConfig$a(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
1763
1763
  return config;
1764
1764
  }
1765
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
1765
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
1766
1766
  if (!untrustedIsObject(untrustedConfig)) {
1767
1767
  return null;
1768
1768
  }
1769
1769
  if (process.env.NODE_ENV !== 'production') {
1770
1770
  validateConfig(untrustedConfig, configPropertyNames);
1771
1771
  }
1772
- const config = typeCheckConfig$6(untrustedConfig);
1772
+ const config = typeCheckConfig$7(untrustedConfig);
1773
1773
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1774
1774
  return null;
1775
1775
  }
1776
1776
  return config;
1777
1777
  }
1778
- function adapterFragment$6(luvio, config) {
1779
- createResourceParams$6(config);
1780
- return select$n();
1778
+ function adapterFragment$7(luvio, config) {
1779
+ createResourceParams$7(config);
1780
+ return select$t();
1781
1781
  }
1782
- function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
1783
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
1782
+ function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
1783
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
1784
1784
  config,
1785
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1785
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1786
1786
  });
1787
1787
  return luvio.storeBroadcast().then(() => snapshot);
1788
1788
  }
1789
- function onFetchResponseError$6(luvio, config, resourceParams, response) {
1790
- const snapshot = ingestError$6(luvio, resourceParams, response, {
1789
+ function onFetchResponseError$7(luvio, config, resourceParams, response) {
1790
+ const snapshot = ingestError$7(luvio, resourceParams, response, {
1791
1791
  config,
1792
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1792
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1793
1793
  });
1794
1794
  return luvio.storeBroadcast().then(() => snapshot);
1795
1795
  }
1796
- function buildNetworkSnapshot$6(luvio, config, options) {
1797
- const resourceParams = createResourceParams$6(config);
1798
- const request = createResourceRequest$6(resourceParams);
1796
+ function buildNetworkSnapshot$7(luvio, config, options) {
1797
+ const resourceParams = createResourceParams$7(config);
1798
+ const request = createResourceRequest$7(resourceParams);
1799
1799
  return luvio.dispatchResourceRequest(request, options)
1800
1800
  .then((response) => {
1801
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
1801
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
1802
1802
  const cache = new StoreKeyMap();
1803
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
1803
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
1804
1804
  return cache;
1805
1805
  });
1806
1806
  }, (response) => {
1807
- return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
1807
+ return luvio.handleErrorResponse(() => onFetchResponseError$7(luvio, config, resourceParams, response));
1808
1808
  });
1809
1809
  }
1810
- function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
1811
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
1810
+ function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
1811
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
1812
1812
  }
1813
- function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
1813
+ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
1814
1814
  const { luvio, config } = context;
1815
1815
  const selector = {
1816
- recordId: keyBuilder$l(luvio, config),
1817
- node: adapterFragment$6(luvio, config),
1816
+ recordId: keyBuilder$o(luvio, config),
1817
+ node: adapterFragment$7(luvio, config),
1818
1818
  variables: {},
1819
1819
  };
1820
1820
  const cacheSnapshot = storeLookup(selector, {
1821
1821
  config,
1822
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
1822
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
1823
1823
  });
1824
1824
  return cacheSnapshot;
1825
1825
  }
1826
1826
  const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetric(untrustedConfig, requestContext) {
1827
- const config = validateAdapterConfig$6(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
1827
+ const config = validateAdapterConfig$7(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
1828
1828
  // Invalid or incomplete config
1829
1829
  if (config === null) {
1830
1830
  return null;
1831
1831
  }
1832
1832
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1833
- buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
1833
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
1834
1834
  };
1835
1835
  const notifyChangeFactory$2 = (luvio, options) => {
1836
1836
  return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
1837
- const keys = configs.map(c => keyBuilder$p(luvio, c));
1837
+ const keys = configs.map(c => keyBuilder$s(luvio, c));
1838
1838
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
1839
1839
  for (let i = 0, len = entries.length; i < len; i++) {
1840
1840
  const { key, record: val } = entries[i];
@@ -1843,11 +1843,11 @@ const notifyChangeFactory$2 = (luvio, options) => {
1843
1843
  .then((response) => {
1844
1844
  return luvio.handleSuccessResponse(() => {
1845
1845
  const { body } = response;
1846
- luvio.storeIngest(key, ingest$f, body);
1846
+ luvio.storeIngest(key, ingest$g, body);
1847
1847
  return luvio.storeBroadcast();
1848
1848
  }, () => {
1849
1849
  const cache = new StoreKeyMap();
1850
- getTypeCacheKeys$f(cache, luvio, response.body);
1850
+ getTypeCacheKeys$g(cache, luvio, response.body);
1851
1851
  return cache;
1852
1852
  });
1853
1853
  }, (error) => {
@@ -1862,8 +1862,8 @@ const notifyChangeFactory$2 = (luvio, options) => {
1862
1862
  };
1863
1863
  };
1864
1864
 
1865
- const VERSION$g = "a6709a9f16e02d0d8e3d8423ebc79c2b";
1866
- function validate$i(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
1865
+ const VERSION$l = "a6709a9f16e02d0d8e3d8423ebc79c2b";
1866
+ function validate$n(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
1867
1867
  const v_error = (() => {
1868
1868
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1869
1869
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1885,15 +1885,15 @@ function validate$i(obj, path = 'SemanticMetricCollectionOutputRepresentation')
1885
1885
  })();
1886
1886
  return v_error === undefined ? null : v_error;
1887
1887
  }
1888
- const RepresentationType$d = 'SemanticMetricCollectionOutputRepresentation';
1889
- function normalize$d(input, existing, path, luvio, store, timestamp) {
1888
+ const RepresentationType$e = 'SemanticMetricCollectionOutputRepresentation';
1889
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
1890
1890
  const input_metrics = input.metrics;
1891
1891
  const input_metrics_id = path.fullPath + '__metrics';
1892
1892
  if (input_metrics !== undefined) {
1893
1893
  for (let i = 0; i < input_metrics.length; i++) {
1894
1894
  const input_metrics_item = input_metrics[i];
1895
1895
  let input_metrics_item_id = input_metrics_id + '__' + i;
1896
- input_metrics[i] = ingest$f(input_metrics_item, {
1896
+ input_metrics[i] = ingest$g(input_metrics_item, {
1897
1897
  fullPath: input_metrics_item_id,
1898
1898
  propertyName: i,
1899
1899
  parent: {
@@ -1907,10 +1907,10 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
1907
1907
  }
1908
1908
  return input;
1909
1909
  }
1910
- const select$m = function SemanticMetricCollectionOutputRepresentationSelect() {
1910
+ const select$s = function SemanticMetricCollectionOutputRepresentationSelect() {
1911
1911
  return {
1912
1912
  kind: 'Fragment',
1913
- version: VERSION$g,
1913
+ version: VERSION$l,
1914
1914
  private: [],
1915
1915
  selections: [
1916
1916
  {
@@ -1918,12 +1918,12 @@ const select$m = function SemanticMetricCollectionOutputRepresentationSelect() {
1918
1918
  kind: 'Link',
1919
1919
  plural: true,
1920
1920
  required: false,
1921
- fragment: select$q()
1921
+ fragment: select$w()
1922
1922
  }
1923
1923
  ]
1924
1924
  };
1925
1925
  };
1926
- function equals$g(existing, incoming) {
1926
+ function equals$l(existing, incoming) {
1927
1927
  const existing_metrics = existing.metrics;
1928
1928
  const incoming_metrics = incoming.metrics;
1929
1929
  // if at least one of these optionals is defined
@@ -1944,50 +1944,50 @@ function equals$g(existing, incoming) {
1944
1944
  }
1945
1945
  return true;
1946
1946
  }
1947
- const ingest$d = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1947
+ const ingest$e = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1948
1948
  if (process.env.NODE_ENV !== 'production') {
1949
- const validateError = validate$i(input);
1949
+ const validateError = validate$n(input);
1950
1950
  if (validateError !== null) {
1951
1951
  throw validateError;
1952
1952
  }
1953
1953
  }
1954
1954
  const key = path.fullPath;
1955
1955
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
1956
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$g, RepresentationType$d, equals$g);
1956
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$l, RepresentationType$e, equals$l);
1957
1957
  return createLink(key);
1958
1958
  };
1959
- function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
1959
+ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
1960
1960
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1961
1961
  const rootKey = fullPathFactory();
1962
1962
  rootKeySet.set(rootKey, {
1963
1963
  namespace: keyPrefix,
1964
- representationName: RepresentationType$d,
1964
+ representationName: RepresentationType$e,
1965
1965
  mergeable: false
1966
1966
  });
1967
1967
  if (input.metrics !== undefined) {
1968
1968
  const input_metrics_length = input.metrics.length;
1969
1969
  for (let i = 0; i < input_metrics_length; i++) {
1970
- getTypeCacheKeys$f(rootKeySet, luvio, input.metrics[i]);
1970
+ getTypeCacheKeys$g(rootKeySet, luvio, input.metrics[i]);
1971
1971
  }
1972
1972
  }
1973
1973
  }
1974
1974
 
1975
- function select$l(luvio, params) {
1976
- return select$m();
1975
+ function select$r(luvio, params) {
1976
+ return select$s();
1977
1977
  }
1978
- function keyBuilder$k(luvio, params) {
1978
+ function keyBuilder$n(luvio, params) {
1979
1979
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
1980
1980
  }
1981
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
1982
- getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
1981
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
1982
+ getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$n(luvio, resourceParams));
1983
1983
  }
1984
- function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1984
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
1985
1985
  const { body } = response;
1986
- const key = keyBuilder$k(luvio, resourceParams);
1987
- luvio.storeIngest(key, ingest$d, body);
1986
+ const key = keyBuilder$n(luvio, resourceParams);
1987
+ luvio.storeIngest(key, ingest$e, body);
1988
1988
  const snapshot = luvio.storeLookup({
1989
1989
  recordId: key,
1990
- node: select$l(),
1990
+ node: select$r(),
1991
1991
  variables: {},
1992
1992
  }, snapshotRefresh);
1993
1993
  if (process.env.NODE_ENV !== 'production') {
@@ -1998,13 +1998,13 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
1998
1998
  deepFreeze(snapshot.data);
1999
1999
  return snapshot;
2000
2000
  }
2001
- function ingestError$5(luvio, params, error, snapshotRefresh) {
2002
- const key = keyBuilder$k(luvio, params);
2001
+ function ingestError$6(luvio, params, error, snapshotRefresh) {
2002
+ const key = keyBuilder$n(luvio, params);
2003
2003
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2004
2004
  luvio.storeIngestError(key, errorSnapshot);
2005
2005
  return errorSnapshot;
2006
2006
  }
2007
- function createResourceRequest$5(config) {
2007
+ function createResourceRequest$6(config) {
2008
2008
  const headers = {};
2009
2009
  return {
2010
2010
  baseUri: '/services/data/v62.0',
@@ -2018,94 +2018,94 @@ function createResourceRequest$5(config) {
2018
2018
  };
2019
2019
  }
2020
2020
 
2021
- const adapterName$5 = 'getSemanticMetrics';
2021
+ const adapterName$6 = 'getSemanticMetrics';
2022
2022
  const getSemanticMetrics_ConfigPropertyMetadata = [
2023
2023
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
2024
2024
  ];
2025
- const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticMetrics_ConfigPropertyMetadata);
2026
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$9(getSemanticMetrics_ConfigPropertyMetadata);
2027
- function keyBuilder$j(luvio, config) {
2028
- const resourceParams = createResourceParams$5(config);
2029
- return keyBuilder$k(luvio, resourceParams);
2025
+ const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticMetrics_ConfigPropertyMetadata);
2026
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$a(getSemanticMetrics_ConfigPropertyMetadata);
2027
+ function keyBuilder$m(luvio, config) {
2028
+ const resourceParams = createResourceParams$6(config);
2029
+ return keyBuilder$n(luvio, resourceParams);
2030
2030
  }
2031
- function typeCheckConfig$5(untrustedConfig) {
2031
+ function typeCheckConfig$6(untrustedConfig) {
2032
2032
  const config = {};
2033
- typeCheckConfig$9(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
2033
+ typeCheckConfig$a(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
2034
2034
  return config;
2035
2035
  }
2036
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
2036
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
2037
2037
  if (!untrustedIsObject(untrustedConfig)) {
2038
2038
  return null;
2039
2039
  }
2040
2040
  if (process.env.NODE_ENV !== 'production') {
2041
2041
  validateConfig(untrustedConfig, configPropertyNames);
2042
2042
  }
2043
- const config = typeCheckConfig$5(untrustedConfig);
2043
+ const config = typeCheckConfig$6(untrustedConfig);
2044
2044
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2045
2045
  return null;
2046
2046
  }
2047
2047
  return config;
2048
2048
  }
2049
- function adapterFragment$5(luvio, config) {
2050
- createResourceParams$5(config);
2051
- return select$l();
2049
+ function adapterFragment$6(luvio, config) {
2050
+ createResourceParams$6(config);
2051
+ return select$r();
2052
2052
  }
2053
- function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
2054
- const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
2053
+ function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
2054
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
2055
2055
  config,
2056
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2056
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2057
2057
  });
2058
2058
  return luvio.storeBroadcast().then(() => snapshot);
2059
2059
  }
2060
- function onFetchResponseError$5(luvio, config, resourceParams, response) {
2061
- const snapshot = ingestError$5(luvio, resourceParams, response, {
2060
+ function onFetchResponseError$6(luvio, config, resourceParams, response) {
2061
+ const snapshot = ingestError$6(luvio, resourceParams, response, {
2062
2062
  config,
2063
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2063
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2064
2064
  });
2065
2065
  return luvio.storeBroadcast().then(() => snapshot);
2066
2066
  }
2067
- function buildNetworkSnapshot$5(luvio, config, options) {
2068
- const resourceParams = createResourceParams$5(config);
2069
- const request = createResourceRequest$5(resourceParams);
2067
+ function buildNetworkSnapshot$6(luvio, config, options) {
2068
+ const resourceParams = createResourceParams$6(config);
2069
+ const request = createResourceRequest$6(resourceParams);
2070
2070
  return luvio.dispatchResourceRequest(request, options)
2071
2071
  .then((response) => {
2072
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
2072
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
2073
2073
  const cache = new StoreKeyMap();
2074
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
2074
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
2075
2075
  return cache;
2076
2076
  });
2077
2077
  }, (response) => {
2078
- return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
2078
+ return luvio.handleErrorResponse(() => onFetchResponseError$6(luvio, config, resourceParams, response));
2079
2079
  });
2080
2080
  }
2081
- function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
2082
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
2081
+ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
2082
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
2083
2083
  }
2084
- function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
2084
+ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
2085
2085
  const { luvio, config } = context;
2086
2086
  const selector = {
2087
- recordId: keyBuilder$j(luvio, config),
2088
- node: adapterFragment$5(luvio, config),
2087
+ recordId: keyBuilder$m(luvio, config),
2088
+ node: adapterFragment$6(luvio, config),
2089
2089
  variables: {},
2090
2090
  };
2091
2091
  const cacheSnapshot = storeLookup(selector, {
2092
2092
  config,
2093
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2093
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
2094
2094
  });
2095
2095
  return cacheSnapshot;
2096
2096
  }
2097
2097
  const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetrics(untrustedConfig, requestContext) {
2098
- const config = validateAdapterConfig$5(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
2098
+ const config = validateAdapterConfig$6(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
2099
2099
  // Invalid or incomplete config
2100
2100
  if (config === null) {
2101
2101
  return null;
2102
2102
  }
2103
2103
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2104
- buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
2104
+ buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
2105
2105
  };
2106
2106
 
2107
- const VERSION$f = "2980e56b9b4f8b3773f2554f67834745";
2108
- function validate$h(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
2107
+ const VERSION$k = "2980e56b9b4f8b3773f2554f67834745";
2108
+ function validate$m(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
2109
2109
  const v_error = (() => {
2110
2110
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2111
2111
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2134,15 +2134,15 @@ function validate$h(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation'
2134
2134
  })();
2135
2135
  return v_error === undefined ? null : v_error;
2136
2136
  }
2137
- const RepresentationType$c = 'SemanticSubMetricsByMetricOutputRepresentation';
2138
- function normalize$c(input, existing, path, luvio, store, timestamp) {
2137
+ const RepresentationType$d = 'SemanticSubMetricsByMetricOutputRepresentation';
2138
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
2139
2139
  const input_subMetrics = input.subMetrics;
2140
2140
  const input_subMetrics_id = path.fullPath + '__subMetrics';
2141
2141
  if (input_subMetrics !== undefined) {
2142
2142
  for (let i = 0; i < input_subMetrics.length; i++) {
2143
2143
  const input_subMetrics_item = input_subMetrics[i];
2144
2144
  let input_subMetrics_item_id = input_subMetrics_id + '__' + i;
2145
- input_subMetrics[i] = ingest$e(input_subMetrics_item, {
2145
+ input_subMetrics[i] = ingest$f(input_subMetrics_item, {
2146
2146
  fullPath: input_subMetrics_item_id,
2147
2147
  propertyName: i,
2148
2148
  parent: {
@@ -2156,10 +2156,10 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
2156
2156
  }
2157
2157
  return input;
2158
2158
  }
2159
- const select$k = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
2159
+ const select$q = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
2160
2160
  return {
2161
2161
  kind: 'Fragment',
2162
- version: VERSION$f,
2162
+ version: VERSION$k,
2163
2163
  private: [],
2164
2164
  selections: [
2165
2165
  {
@@ -2172,12 +2172,12 @@ const select$k = function SemanticSubMetricsByMetricOutputRepresentationSelect()
2172
2172
  kind: 'Link',
2173
2173
  plural: true,
2174
2174
  required: false,
2175
- fragment: select$p()
2175
+ fragment: select$v()
2176
2176
  }
2177
2177
  ]
2178
2178
  };
2179
2179
  };
2180
- function equals$f(existing, incoming) {
2180
+ function equals$k(existing, incoming) {
2181
2181
  const existing_metricApiName = existing.metricApiName;
2182
2182
  const incoming_metricApiName = incoming.metricApiName;
2183
2183
  // if at least one of these optionals is defined
@@ -2211,36 +2211,36 @@ function equals$f(existing, incoming) {
2211
2211
  }
2212
2212
  return true;
2213
2213
  }
2214
- const ingest$c = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2214
+ const ingest$d = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2215
2215
  if (process.env.NODE_ENV !== 'production') {
2216
- const validateError = validate$h(input);
2216
+ const validateError = validate$m(input);
2217
2217
  if (validateError !== null) {
2218
2218
  throw validateError;
2219
2219
  }
2220
2220
  }
2221
2221
  const key = path.fullPath;
2222
2222
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
2223
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$f, RepresentationType$c, equals$f);
2223
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$k, RepresentationType$d, equals$k);
2224
2224
  return createLink(key);
2225
2225
  };
2226
- function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2226
+ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2227
2227
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2228
2228
  const rootKey = fullPathFactory();
2229
2229
  rootKeySet.set(rootKey, {
2230
2230
  namespace: keyPrefix,
2231
- representationName: RepresentationType$c,
2231
+ representationName: RepresentationType$d,
2232
2232
  mergeable: false
2233
2233
  });
2234
2234
  if (input.subMetrics !== undefined) {
2235
2235
  const input_subMetrics_length = input.subMetrics.length;
2236
2236
  for (let i = 0; i < input_subMetrics_length; i++) {
2237
- getTypeCacheKeys$e(rootKeySet, luvio, input.subMetrics[i]);
2237
+ getTypeCacheKeys$f(rootKeySet, luvio, input.subMetrics[i]);
2238
2238
  }
2239
2239
  }
2240
2240
  }
2241
2241
 
2242
- const VERSION$e = "6fbd75e1a154b08c14ba6560c06488db";
2243
- function validate$g(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
2242
+ const VERSION$j = "6fbd75e1a154b08c14ba6560c06488db";
2243
+ function validate$l(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
2244
2244
  const v_error = (() => {
2245
2245
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2246
2246
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2262,15 +2262,15 @@ function validate$g(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepre
2262
2262
  })();
2263
2263
  return v_error === undefined ? null : v_error;
2264
2264
  }
2265
- const RepresentationType$b = 'SemanticSubMetricsByMetricCollectionOutputRepresentation';
2266
- function normalize$b(input, existing, path, luvio, store, timestamp) {
2265
+ const RepresentationType$c = 'SemanticSubMetricsByMetricCollectionOutputRepresentation';
2266
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
2267
2267
  const input_items = input.items;
2268
2268
  const input_items_id = path.fullPath + '__items';
2269
2269
  if (input_items !== undefined) {
2270
2270
  for (let i = 0; i < input_items.length; i++) {
2271
2271
  const input_items_item = input_items[i];
2272
2272
  let input_items_item_id = input_items_id + '__' + i;
2273
- input_items[i] = ingest$c(input_items_item, {
2273
+ input_items[i] = ingest$d(input_items_item, {
2274
2274
  fullPath: input_items_item_id,
2275
2275
  propertyName: i,
2276
2276
  parent: {
@@ -2284,10 +2284,10 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
2284
2284
  }
2285
2285
  return input;
2286
2286
  }
2287
- const select$j = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
2287
+ const select$p = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
2288
2288
  return {
2289
2289
  kind: 'Fragment',
2290
- version: VERSION$e,
2290
+ version: VERSION$j,
2291
2291
  private: [],
2292
2292
  selections: [
2293
2293
  {
@@ -2295,12 +2295,12 @@ const select$j = function SemanticSubMetricsByMetricCollectionOutputRepresentati
2295
2295
  kind: 'Link',
2296
2296
  plural: true,
2297
2297
  required: false,
2298
- fragment: select$k()
2298
+ fragment: select$q()
2299
2299
  }
2300
2300
  ]
2301
2301
  };
2302
2302
  };
2303
- function equals$e(existing, incoming) {
2303
+ function equals$j(existing, incoming) {
2304
2304
  const existing_items = existing.items;
2305
2305
  const incoming_items = incoming.items;
2306
2306
  // if at least one of these optionals is defined
@@ -2321,50 +2321,50 @@ function equals$e(existing, incoming) {
2321
2321
  }
2322
2322
  return true;
2323
2323
  }
2324
- const ingest$b = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2324
+ const ingest$c = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2325
2325
  if (process.env.NODE_ENV !== 'production') {
2326
- const validateError = validate$g(input);
2326
+ const validateError = validate$l(input);
2327
2327
  if (validateError !== null) {
2328
2328
  throw validateError;
2329
2329
  }
2330
2330
  }
2331
2331
  const key = path.fullPath;
2332
2332
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
2333
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$e, RepresentationType$b, equals$e);
2333
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$j, RepresentationType$c, equals$j);
2334
2334
  return createLink(key);
2335
2335
  };
2336
- function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
2336
+ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
2337
2337
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
2338
2338
  const rootKey = fullPathFactory();
2339
2339
  rootKeySet.set(rootKey, {
2340
2340
  namespace: keyPrefix,
2341
- representationName: RepresentationType$b,
2341
+ representationName: RepresentationType$c,
2342
2342
  mergeable: false
2343
2343
  });
2344
2344
  if (input.items !== undefined) {
2345
2345
  const input_items_length = input.items.length;
2346
2346
  for (let i = 0; i < input_items_length; i++) {
2347
- getTypeCacheKeys$c(rootKeySet, luvio, input.items[i], () => '');
2347
+ getTypeCacheKeys$d(rootKeySet, luvio, input.items[i], () => '');
2348
2348
  }
2349
2349
  }
2350
2350
  }
2351
2351
 
2352
- function select$i(luvio, params) {
2353
- return select$j();
2352
+ function select$o(luvio, params) {
2353
+ return select$p();
2354
2354
  }
2355
- function keyBuilder$i(luvio, params) {
2355
+ function keyBuilder$l(luvio, params) {
2356
2356
  return keyPrefix + '::SemanticSubMetricsByMetricCollectionOutputRepresentation:(' + 'metricApiNames:' + params.urlParams.metricApiNames + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
2357
2357
  }
2358
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
2359
- getTypeCacheKeys$b(storeKeyMap, luvio, response, () => keyBuilder$i(luvio, resourceParams));
2358
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
2359
+ getTypeCacheKeys$c(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
2360
2360
  }
2361
- function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2361
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
2362
2362
  const { body } = response;
2363
- const key = keyBuilder$i(luvio, resourceParams);
2364
- luvio.storeIngest(key, ingest$b, body);
2363
+ const key = keyBuilder$l(luvio, resourceParams);
2364
+ luvio.storeIngest(key, ingest$c, body);
2365
2365
  const snapshot = luvio.storeLookup({
2366
2366
  recordId: key,
2367
- node: select$i(),
2367
+ node: select$o(),
2368
2368
  variables: {},
2369
2369
  }, snapshotRefresh);
2370
2370
  if (process.env.NODE_ENV !== 'production') {
@@ -2375,13 +2375,13 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2375
2375
  deepFreeze(snapshot.data);
2376
2376
  return snapshot;
2377
2377
  }
2378
- function ingestError$4(luvio, params, error, snapshotRefresh) {
2379
- const key = keyBuilder$i(luvio, params);
2378
+ function ingestError$5(luvio, params, error, snapshotRefresh) {
2379
+ const key = keyBuilder$l(luvio, params);
2380
2380
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2381
2381
  luvio.storeIngestError(key, errorSnapshot);
2382
2382
  return errorSnapshot;
2383
2383
  }
2384
- function createResourceRequest$4(config) {
2384
+ function createResourceRequest$5(config) {
2385
2385
  const headers = {};
2386
2386
  return {
2387
2387
  baseUri: '/services/data/v62.0',
@@ -2395,95 +2395,95 @@ function createResourceRequest$4(config) {
2395
2395
  };
2396
2396
  }
2397
2397
 
2398
- const adapterName$4 = 'getSemanticMetricsToSubMetrics';
2398
+ const adapterName$5 = 'getSemanticMetricsToSubMetrics';
2399
2399
  const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
2400
2400
  generateParamConfigMetadata('metricApiNames', true, 0 /* UrlParameter */, 0 /* String */),
2401
2401
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
2402
2402
  ];
2403
- const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2404
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$9(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2405
- function keyBuilder$h(luvio, config) {
2406
- const resourceParams = createResourceParams$4(config);
2407
- return keyBuilder$i(luvio, resourceParams);
2403
+ const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2404
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$a(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2405
+ function keyBuilder$k(luvio, config) {
2406
+ const resourceParams = createResourceParams$5(config);
2407
+ return keyBuilder$l(luvio, resourceParams);
2408
2408
  }
2409
- function typeCheckConfig$4(untrustedConfig) {
2409
+ function typeCheckConfig$5(untrustedConfig) {
2410
2410
  const config = {};
2411
- typeCheckConfig$9(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2411
+ typeCheckConfig$a(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
2412
2412
  return config;
2413
2413
  }
2414
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
2414
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
2415
2415
  if (!untrustedIsObject(untrustedConfig)) {
2416
2416
  return null;
2417
2417
  }
2418
2418
  if (process.env.NODE_ENV !== 'production') {
2419
2419
  validateConfig(untrustedConfig, configPropertyNames);
2420
2420
  }
2421
- const config = typeCheckConfig$4(untrustedConfig);
2421
+ const config = typeCheckConfig$5(untrustedConfig);
2422
2422
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2423
2423
  return null;
2424
2424
  }
2425
2425
  return config;
2426
2426
  }
2427
- function adapterFragment$4(luvio, config) {
2428
- createResourceParams$4(config);
2429
- return select$i();
2427
+ function adapterFragment$5(luvio, config) {
2428
+ createResourceParams$5(config);
2429
+ return select$o();
2430
2430
  }
2431
- function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
2432
- const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
2431
+ function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
2432
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
2433
2433
  config,
2434
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
2434
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2435
2435
  });
2436
2436
  return luvio.storeBroadcast().then(() => snapshot);
2437
2437
  }
2438
- function onFetchResponseError$4(luvio, config, resourceParams, response) {
2439
- const snapshot = ingestError$4(luvio, resourceParams, response, {
2438
+ function onFetchResponseError$5(luvio, config, resourceParams, response) {
2439
+ const snapshot = ingestError$5(luvio, resourceParams, response, {
2440
2440
  config,
2441
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
2441
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2442
2442
  });
2443
2443
  return luvio.storeBroadcast().then(() => snapshot);
2444
2444
  }
2445
- function buildNetworkSnapshot$4(luvio, config, options) {
2446
- const resourceParams = createResourceParams$4(config);
2447
- const request = createResourceRequest$4(resourceParams);
2445
+ function buildNetworkSnapshot$5(luvio, config, options) {
2446
+ const resourceParams = createResourceParams$5(config);
2447
+ const request = createResourceRequest$5(resourceParams);
2448
2448
  return luvio.dispatchResourceRequest(request, options)
2449
2449
  .then((response) => {
2450
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
2450
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
2451
2451
  const cache = new StoreKeyMap();
2452
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
2452
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
2453
2453
  return cache;
2454
2454
  });
2455
2455
  }, (response) => {
2456
- return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
2456
+ return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
2457
2457
  });
2458
2458
  }
2459
- function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
2460
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
2459
+ function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
2460
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
2461
2461
  }
2462
- function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
2462
+ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
2463
2463
  const { luvio, config } = context;
2464
2464
  const selector = {
2465
- recordId: keyBuilder$h(luvio, config),
2466
- node: adapterFragment$4(luvio, config),
2465
+ recordId: keyBuilder$k(luvio, config),
2466
+ node: adapterFragment$5(luvio, config),
2467
2467
  variables: {},
2468
2468
  };
2469
2469
  const cacheSnapshot = storeLookup(selector, {
2470
2470
  config,
2471
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
2471
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
2472
2472
  });
2473
2473
  return cacheSnapshot;
2474
2474
  }
2475
2475
  const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetricsToSubMetrics(untrustedConfig, requestContext) {
2476
- const config = validateAdapterConfig$4(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
2476
+ const config = validateAdapterConfig$5(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
2477
2477
  // Invalid or incomplete config
2478
2478
  if (config === null) {
2479
2479
  return null;
2480
2480
  }
2481
2481
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2482
- buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
2482
+ buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
2483
2483
  };
2484
2484
 
2485
- const VERSION$d = "3a32d382e7a2268096278aa8e5c6761a";
2486
- function validate$f(obj, path = 'SemanticBaseModelOutputRepresentation') {
2485
+ const VERSION$i = "3a32d382e7a2268096278aa8e5c6761a";
2486
+ function validate$k(obj, path = 'SemanticBaseModelOutputRepresentation') {
2487
2487
  const v_error = (() => {
2488
2488
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2489
2489
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2503,10 +2503,10 @@ function validate$f(obj, path = 'SemanticBaseModelOutputRepresentation') {
2503
2503
  })();
2504
2504
  return v_error === undefined ? null : v_error;
2505
2505
  }
2506
- const select$h = function SemanticBaseModelOutputRepresentationSelect() {
2506
+ const select$n = function SemanticBaseModelOutputRepresentationSelect() {
2507
2507
  return {
2508
2508
  kind: 'Fragment',
2509
- version: VERSION$d,
2509
+ version: VERSION$i,
2510
2510
  private: [],
2511
2511
  selections: [
2512
2512
  {
@@ -2521,7 +2521,7 @@ const select$h = function SemanticBaseModelOutputRepresentationSelect() {
2521
2521
  ]
2522
2522
  };
2523
2523
  };
2524
- function equals$d(existing, incoming) {
2524
+ function equals$i(existing, incoming) {
2525
2525
  const existing_apiName = existing.apiName;
2526
2526
  const incoming_apiName = incoming.apiName;
2527
2527
  if (!(existing_apiName === incoming_apiName)) {
@@ -2543,8 +2543,8 @@ function equals$d(existing, incoming) {
2543
2543
  return true;
2544
2544
  }
2545
2545
 
2546
- const VERSION$c = "ebb80fb184ae0803a01d296dfd9943fa";
2547
- function validate$e(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
2546
+ const VERSION$h = "ff65b61056eb2b2c8408d53df92d147b";
2547
+ function validate$j(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
2548
2548
  const v_error = (() => {
2549
2549
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2550
2550
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2622,7 +2622,7 @@ function validate$e(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
2622
2622
  for (let i = 0; i < obj_filters.length; i++) {
2623
2623
  const obj_filters_item = obj_filters[i];
2624
2624
  const path_filters_item = path_filters + '[' + i + ']';
2625
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
2625
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
2626
2626
  if (referencepath_filters_itemValidationError !== null) {
2627
2627
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
2628
2628
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2630,13 +2630,6 @@ function validate$e(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
2630
2630
  }
2631
2631
  }
2632
2632
  }
2633
- if (obj.geoRole !== undefined) {
2634
- const obj_geoRole = obj.geoRole;
2635
- const path_geoRole = path + '.geoRole';
2636
- if (typeof obj_geoRole !== 'string') {
2637
- return new TypeError('Expected "string" but received "' + typeof obj_geoRole + '" (at "' + path_geoRole + '")');
2638
- }
2639
- }
2640
2633
  const obj_id = obj.id;
2641
2634
  const path_id = path + '.id';
2642
2635
  if (typeof obj_id !== 'string') {
@@ -2694,24 +2687,24 @@ function validate$e(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
2694
2687
  })();
2695
2688
  return v_error === undefined ? null : v_error;
2696
2689
  }
2697
- const RepresentationType$a = 'SemanticCalculatedDimensionOutputRepresentation';
2698
- function keyBuilder$g(luvio, config) {
2699
- return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
2690
+ const RepresentationType$b = 'SemanticCalculatedDimensionOutputRepresentation';
2691
+ function keyBuilder$j(luvio, config) {
2692
+ return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
2700
2693
  }
2701
- function keyBuilderFromType$8(luvio, object) {
2694
+ function keyBuilderFromType$9(luvio, object) {
2702
2695
  const keyParams = {
2703
2696
  name: object.id
2704
2697
  };
2705
- return keyBuilder$g(luvio, keyParams);
2698
+ return keyBuilder$j(luvio, keyParams);
2706
2699
  }
2707
- function normalize$a(input, existing, path, luvio, store, timestamp) {
2700
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
2708
2701
  return input;
2709
2702
  }
2710
- const select$g = function SemanticCalculatedDimensionOutputRepresentationSelect() {
2711
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$w();
2703
+ const select$m = function SemanticCalculatedDimensionOutputRepresentationSelect() {
2704
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$C();
2712
2705
  return {
2713
2706
  kind: 'Fragment',
2714
- version: VERSION$c,
2707
+ version: VERSION$h,
2715
2708
  private: [],
2716
2709
  selections: [
2717
2710
  {
@@ -2768,11 +2761,6 @@ const select$g = function SemanticCalculatedDimensionOutputRepresentationSelect(
2768
2761
  selections: SemanticFilterOutputRepresentation__selections,
2769
2762
  required: false
2770
2763
  },
2771
- {
2772
- name: 'geoRole',
2773
- kind: 'Scalar',
2774
- required: false
2775
- },
2776
2764
  {
2777
2765
  name: 'id',
2778
2766
  kind: 'Scalar'
@@ -2815,7 +2803,7 @@ const select$g = function SemanticCalculatedDimensionOutputRepresentationSelect(
2815
2803
  ]
2816
2804
  };
2817
2805
  };
2818
- function equals$c(existing, incoming) {
2806
+ function equals$h(existing, incoming) {
2819
2807
  const existing_isVisible = existing.isVisible;
2820
2808
  const incoming_isVisible = incoming.isVisible;
2821
2809
  // if at least one of these optionals is defined
@@ -2935,19 +2923,6 @@ function equals$c(existing, incoming) {
2935
2923
  return false;
2936
2924
  }
2937
2925
  }
2938
- const existing_geoRole = existing.geoRole;
2939
- const incoming_geoRole = incoming.geoRole;
2940
- // if at least one of these optionals is defined
2941
- if (existing_geoRole !== undefined || incoming_geoRole !== undefined) {
2942
- // if one of these is not defined we know the other is defined and therefore
2943
- // not equal
2944
- if (existing_geoRole === undefined || incoming_geoRole === undefined) {
2945
- return false;
2946
- }
2947
- if (!(existing_geoRole === incoming_geoRole)) {
2948
- return false;
2949
- }
2950
- }
2951
2926
  const existing_id = existing.id;
2952
2927
  const incoming_id = incoming.id;
2953
2928
  if (!(existing_id === incoming_id)) {
@@ -3041,7 +3016,7 @@ function equals$c(existing, incoming) {
3041
3016
  return false;
3042
3017
  }
3043
3018
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
3044
- if (!(equals$o(existing_filters_item, incoming_filters_item))) {
3019
+ if (!(equals$t(existing_filters_item, incoming_filters_item))) {
3045
3020
  return false;
3046
3021
  }
3047
3022
  });
@@ -3051,30 +3026,30 @@ function equals$c(existing, incoming) {
3051
3026
  }
3052
3027
  return true;
3053
3028
  }
3054
- const ingest$a = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3029
+ const ingest$b = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3055
3030
  if (process.env.NODE_ENV !== 'production') {
3056
- const validateError = validate$e(input);
3031
+ const validateError = validate$j(input);
3057
3032
  if (validateError !== null) {
3058
3033
  throw validateError;
3059
3034
  }
3060
3035
  }
3061
- const key = keyBuilderFromType$8(luvio, input);
3036
+ const key = keyBuilderFromType$9(luvio, input);
3062
3037
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
3063
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$c, RepresentationType$a, equals$c);
3038
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$h, RepresentationType$b, equals$h);
3064
3039
  return createLink(key);
3065
3040
  };
3066
- function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3041
+ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
3067
3042
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3068
- const rootKey = keyBuilderFromType$8(luvio, input);
3043
+ const rootKey = keyBuilderFromType$9(luvio, input);
3069
3044
  rootKeySet.set(rootKey, {
3070
3045
  namespace: keyPrefix,
3071
- representationName: RepresentationType$a,
3046
+ representationName: RepresentationType$b,
3072
3047
  mergeable: false
3073
3048
  });
3074
3049
  }
3075
3050
 
3076
- const VERSION$b = "1941c0559a1eafb8d429d1f9d139b28f";
3077
- function validate$d(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
3051
+ const VERSION$g = "1941c0559a1eafb8d429d1f9d139b28f";
3052
+ function validate$i(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
3078
3053
  const v_error = (() => {
3079
3054
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3080
3055
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3166,7 +3141,7 @@ function validate$d(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
3166
3141
  for (let i = 0; i < obj_filters.length; i++) {
3167
3142
  const obj_filters_item = obj_filters[i];
3168
3143
  const path_filters_item = path_filters + '[' + i + ']';
3169
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
3144
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
3170
3145
  if (referencepath_filters_itemValidationError !== null) {
3171
3146
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
3172
3147
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3252,24 +3227,24 @@ function validate$d(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
3252
3227
  })();
3253
3228
  return v_error === undefined ? null : v_error;
3254
3229
  }
3255
- const RepresentationType$9 = 'SemanticCalculatedMeasurementOutputRepresentation';
3256
- function keyBuilder$f(luvio, config) {
3257
- return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
3230
+ const RepresentationType$a = 'SemanticCalculatedMeasurementOutputRepresentation';
3231
+ function keyBuilder$i(luvio, config) {
3232
+ return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
3258
3233
  }
3259
- function keyBuilderFromType$7(luvio, object) {
3234
+ function keyBuilderFromType$8(luvio, object) {
3260
3235
  const keyParams = {
3261
3236
  name: object.id
3262
3237
  };
3263
- return keyBuilder$f(luvio, keyParams);
3238
+ return keyBuilder$i(luvio, keyParams);
3264
3239
  }
3265
- function normalize$9(input, existing, path, luvio, store, timestamp) {
3240
+ function normalize$a(input, existing, path, luvio, store, timestamp) {
3266
3241
  return input;
3267
3242
  }
3268
- const select$f = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
3269
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$w();
3243
+ const select$l = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
3244
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$C();
3270
3245
  return {
3271
3246
  kind: 'Fragment',
3272
- version: VERSION$b,
3247
+ version: VERSION$g,
3273
3248
  private: [],
3274
3249
  selections: [
3275
3250
  {
@@ -3393,7 +3368,7 @@ const select$f = function SemanticCalculatedMeasurementOutputRepresentationSelec
3393
3368
  ]
3394
3369
  };
3395
3370
  };
3396
- function equals$b(existing, incoming) {
3371
+ function equals$g(existing, incoming) {
3397
3372
  const existing_isAggregatable = existing.isAggregatable;
3398
3373
  const incoming_isAggregatable = incoming.isAggregatable;
3399
3374
  // if at least one of these optionals is defined
@@ -3671,7 +3646,7 @@ function equals$b(existing, incoming) {
3671
3646
  return false;
3672
3647
  }
3673
3648
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
3674
- if (!(equals$o(existing_filters_item, incoming_filters_item))) {
3649
+ if (!(equals$t(existing_filters_item, incoming_filters_item))) {
3675
3650
  return false;
3676
3651
  }
3677
3652
  });
@@ -3681,29 +3656,29 @@ function equals$b(existing, incoming) {
3681
3656
  }
3682
3657
  return true;
3683
3658
  }
3684
- const ingest$9 = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3659
+ const ingest$a = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3685
3660
  if (process.env.NODE_ENV !== 'production') {
3686
- const validateError = validate$d(input);
3661
+ const validateError = validate$i(input);
3687
3662
  if (validateError !== null) {
3688
3663
  throw validateError;
3689
3664
  }
3690
3665
  }
3691
- const key = keyBuilderFromType$7(luvio, input);
3666
+ const key = keyBuilderFromType$8(luvio, input);
3692
3667
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
3693
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$b, RepresentationType$9, equals$b);
3668
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$g, RepresentationType$a, equals$g);
3694
3669
  return createLink(key);
3695
3670
  };
3696
- function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
3671
+ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3697
3672
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
3698
- const rootKey = keyBuilderFromType$7(luvio, input);
3673
+ const rootKey = keyBuilderFromType$8(luvio, input);
3699
3674
  rootKeySet.set(rootKey, {
3700
3675
  namespace: keyPrefix,
3701
- representationName: RepresentationType$9,
3676
+ representationName: RepresentationType$a,
3702
3677
  mergeable: false
3703
3678
  });
3704
3679
  }
3705
3680
 
3706
- function validate$c(obj, path = 'SemanticDimensionOutputRepresentation') {
3681
+ function validate$h(obj, path = 'SemanticDimensionOutputRepresentation') {
3707
3682
  const v_error = (() => {
3708
3683
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3709
3684
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3765,13 +3740,6 @@ function validate$c(obj, path = 'SemanticDimensionOutputRepresentation') {
3765
3740
  return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
3766
3741
  }
3767
3742
  }
3768
- if (obj.geoRole !== undefined) {
3769
- const obj_geoRole = obj.geoRole;
3770
- const path_geoRole = path + '.geoRole';
3771
- if (typeof obj_geoRole !== 'string') {
3772
- return new TypeError('Expected "string" but received "' + typeof obj_geoRole + '" (at "' + path_geoRole + '")');
3773
- }
3774
- }
3775
3743
  const obj_id = obj.id;
3776
3744
  const path_id = path + '.id';
3777
3745
  if (typeof obj_id !== 'string') {
@@ -3823,7 +3791,7 @@ function validate$c(obj, path = 'SemanticDimensionOutputRepresentation') {
3823
3791
  return v_error === undefined ? null : v_error;
3824
3792
  }
3825
3793
 
3826
- function validate$b(obj, path = 'SemanticMeasurementOutputRepresentation') {
3794
+ function validate$g(obj, path = 'SemanticMeasurementOutputRepresentation') {
3827
3795
  const v_error = (() => {
3828
3796
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3829
3797
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3964,8 +3932,8 @@ function validate$b(obj, path = 'SemanticMeasurementOutputRepresentation') {
3964
3932
  return v_error === undefined ? null : v_error;
3965
3933
  }
3966
3934
 
3967
- const VERSION$a = "1dea062ab9ae6d8661840da6e8db32f5";
3968
- function validate$a(obj, path = 'SemanticDataObjectOutputRepresentation') {
3935
+ const VERSION$f = "1dea062ab9ae6d8661840da6e8db32f5";
3936
+ function validate$f(obj, path = 'SemanticDataObjectOutputRepresentation') {
3969
3937
  const v_error = (() => {
3970
3938
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3971
3939
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4029,7 +3997,7 @@ function validate$a(obj, path = 'SemanticDataObjectOutputRepresentation') {
4029
3997
  for (let i = 0; i < obj_filters.length; i++) {
4030
3998
  const obj_filters_item = obj_filters[i];
4031
3999
  const path_filters_item = path_filters + '[' + i + ']';
4032
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
4000
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
4033
4001
  if (referencepath_filters_itemValidationError !== null) {
4034
4002
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
4035
4003
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4079,7 +4047,7 @@ function validate$a(obj, path = 'SemanticDataObjectOutputRepresentation') {
4079
4047
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
4080
4048
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
4081
4049
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
4082
- const referencepath_semanticDimensions_itemValidationError = validate$c(obj_semanticDimensions_item, path_semanticDimensions_item);
4050
+ const referencepath_semanticDimensions_itemValidationError = validate$h(obj_semanticDimensions_item, path_semanticDimensions_item);
4083
4051
  if (referencepath_semanticDimensions_itemValidationError !== null) {
4084
4052
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
4085
4053
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4103,7 +4071,7 @@ function validate$a(obj, path = 'SemanticDataObjectOutputRepresentation') {
4103
4071
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
4104
4072
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
4105
4073
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
4106
- const referencepath_semanticMeasurements_itemValidationError = validate$b(obj_semanticMeasurements_item, path_semanticMeasurements_item);
4074
+ const referencepath_semanticMeasurements_itemValidationError = validate$g(obj_semanticMeasurements_item, path_semanticMeasurements_item);
4107
4075
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
4108
4076
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
4109
4077
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4128,176 +4096,743 @@ function validate$a(obj, path = 'SemanticDataObjectOutputRepresentation') {
4128
4096
  })();
4129
4097
  return v_error === undefined ? null : v_error;
4130
4098
  }
4131
- const RepresentationType$8 = 'SemanticDataObjectOutputRepresentation';
4132
- function keyBuilder$e(luvio, config) {
4133
- return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
4099
+ const RepresentationType$9 = 'SemanticDataObjectOutputRepresentation';
4100
+ function keyBuilder$h(luvio, config) {
4101
+ return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
4134
4102
  }
4135
- function keyBuilderFromType$6(luvio, object) {
4103
+ function keyBuilderFromType$7(luvio, object) {
4136
4104
  const keyParams = {
4137
4105
  name: object.id
4138
4106
  };
4139
- return keyBuilder$e(luvio, keyParams);
4107
+ return keyBuilder$h(luvio, keyParams);
4140
4108
  }
4141
- function normalize$8(input, existing, path, luvio, store, timestamp) {
4109
+ function normalize$9(input, existing, path, luvio, store, timestamp) {
4142
4110
  return input;
4143
4111
  }
4144
- const select$e = function SemanticDataObjectOutputRepresentationSelect() {
4112
+ const select$k = function SemanticDataObjectOutputRepresentationSelect() {
4145
4113
  return {
4146
4114
  kind: 'Fragment',
4147
- version: VERSION$a,
4115
+ version: VERSION$f,
4148
4116
  private: [],
4149
4117
  opaque: true
4150
4118
  };
4151
4119
  };
4152
- function equals$a(existing, incoming) {
4120
+ function equals$f(existing, incoming) {
4153
4121
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
4154
4122
  return false;
4155
4123
  }
4156
4124
  return true;
4157
4125
  }
4158
- const ingest$8 = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4126
+ const ingest$9 = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4159
4127
  if (process.env.NODE_ENV !== 'production') {
4160
- const validateError = validate$a(input);
4128
+ const validateError = validate$f(input);
4161
4129
  if (validateError !== null) {
4162
4130
  throw validateError;
4163
4131
  }
4164
4132
  }
4165
- const key = keyBuilderFromType$6(luvio, input);
4133
+ const key = keyBuilderFromType$7(luvio, input);
4166
4134
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
4167
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$a, RepresentationType$8, equals$a);
4135
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$f, RepresentationType$9, equals$f);
4168
4136
  return createLink(key);
4169
4137
  };
4170
- function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4138
+ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4171
4139
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4172
- const rootKey = keyBuilderFromType$6(luvio, input);
4140
+ const rootKey = keyBuilderFromType$7(luvio, input);
4173
4141
  rootKeySet.set(rootKey, {
4174
4142
  namespace: keyPrefix,
4175
- representationName: RepresentationType$8,
4143
+ representationName: RepresentationType$9,
4176
4144
  mergeable: false
4177
4145
  });
4178
4146
  }
4179
4147
 
4180
- const VERSION$9 = "c5144c317ac72b60d580cab803514b8d";
4181
- function validate$9(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4148
+ const VERSION$e = "ed64ca1a99171ace8b53aff11746cc2a";
4149
+ function validate$e(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
4182
4150
  const v_error = (() => {
4183
4151
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4184
4152
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4185
4153
  }
4186
- if (obj.joinOperator !== undefined) {
4187
- const obj_joinOperator = obj.joinOperator;
4188
- const path_joinOperator = path + '.joinOperator';
4189
- if (typeof obj_joinOperator !== 'string') {
4190
- return new TypeError('Expected "string" but received "' + typeof obj_joinOperator + '" (at "' + path_joinOperator + '")');
4191
- }
4192
- }
4193
- if (obj.leftFieldType !== undefined) {
4194
- const obj_leftFieldType = obj.leftFieldType;
4195
- const path_leftFieldType = path + '.leftFieldType';
4196
- if (typeof obj_leftFieldType !== 'string') {
4197
- return new TypeError('Expected "string" but received "' + typeof obj_leftFieldType + '" (at "' + path_leftFieldType + '")');
4154
+ obj.constantBinSize;
4155
+ })();
4156
+ return v_error === undefined ? null : v_error;
4157
+ }
4158
+ const select$j = function BinDimensionConfigurationOutputRepresentationSelect() {
4159
+ return {
4160
+ kind: 'Fragment',
4161
+ version: VERSION$e,
4162
+ private: [],
4163
+ selections: [
4164
+ {
4165
+ name: 'constantBinSize',
4166
+ kind: 'Scalar'
4198
4167
  }
4168
+ ]
4169
+ };
4170
+ };
4171
+ function equals$e(existing, incoming) {
4172
+ const existing_constantBinSize = existing.constantBinSize;
4173
+ const incoming_constantBinSize = incoming.constantBinSize;
4174
+ if (!(existing_constantBinSize === incoming_constantBinSize)) {
4175
+ return false;
4176
+ }
4177
+ return true;
4178
+ }
4179
+
4180
+ const VERSION$d = "2cdadcd630abb7b981b2d131880a68c0";
4181
+ function validate$d(obj, path = 'GroupDimensionGroupOutputRepresentation') {
4182
+ const v_error = (() => {
4183
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4184
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4199
4185
  }
4200
- if (obj.leftSemanticFieldApiName !== undefined) {
4201
- const obj_leftSemanticFieldApiName = obj.leftSemanticFieldApiName;
4202
- const path_leftSemanticFieldApiName = path + '.leftSemanticFieldApiName';
4203
- if (typeof obj_leftSemanticFieldApiName !== 'string') {
4204
- return new TypeError('Expected "string" but received "' + typeof obj_leftSemanticFieldApiName + '" (at "' + path_leftSemanticFieldApiName + '")');
4205
- }
4186
+ const obj_name = obj.name;
4187
+ const path_name = path + '.name';
4188
+ if (typeof obj_name !== 'string') {
4189
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
4206
4190
  }
4207
- if (obj.rightFieldType !== undefined) {
4208
- const obj_rightFieldType = obj.rightFieldType;
4209
- const path_rightFieldType = path + '.rightFieldType';
4210
- if (typeof obj_rightFieldType !== 'string') {
4211
- return new TypeError('Expected "string" but received "' + typeof obj_rightFieldType + '" (at "' + path_rightFieldType + '")');
4191
+ if (obj.values !== undefined) {
4192
+ const obj_values = obj.values;
4193
+ const path_values = path + '.values';
4194
+ if (!ArrayIsArray(obj_values)) {
4195
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
4212
4196
  }
4213
- }
4214
- if (obj.rightSemanticFieldApiName !== undefined) {
4215
- const obj_rightSemanticFieldApiName = obj.rightSemanticFieldApiName;
4216
- const path_rightSemanticFieldApiName = path + '.rightSemanticFieldApiName';
4217
- if (typeof obj_rightSemanticFieldApiName !== 'string') {
4218
- return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticFieldApiName + '" (at "' + path_rightSemanticFieldApiName + '")');
4197
+ for (let i = 0; i < obj_values.length; i++) {
4198
+ const obj_values_item = obj_values[i];
4199
+ const path_values_item = path_values + '[' + i + ']';
4200
+ if (typeof obj_values_item !== 'string') {
4201
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
4202
+ }
4219
4203
  }
4220
4204
  }
4221
4205
  })();
4222
4206
  return v_error === undefined ? null : v_error;
4223
4207
  }
4224
- const select$d = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4208
+ const select$i = function GroupDimensionGroupOutputRepresentationSelect() {
4225
4209
  return {
4226
4210
  kind: 'Fragment',
4227
- version: VERSION$9,
4211
+ version: VERSION$d,
4228
4212
  private: [],
4229
4213
  selections: [
4230
4214
  {
4231
- name: 'joinOperator',
4232
- kind: 'Scalar',
4233
- required: false
4234
- },
4235
- {
4236
- name: 'leftFieldType',
4237
- kind: 'Scalar',
4238
- required: false
4239
- },
4240
- {
4241
- name: 'leftSemanticFieldApiName',
4242
- kind: 'Scalar',
4243
- required: false
4244
- },
4245
- {
4246
- name: 'rightFieldType',
4247
- kind: 'Scalar',
4248
- required: false
4215
+ name: 'name',
4216
+ kind: 'Scalar'
4249
4217
  },
4250
4218
  {
4251
- name: 'rightSemanticFieldApiName',
4219
+ name: 'values',
4252
4220
  kind: 'Scalar',
4221
+ plural: true,
4253
4222
  required: false
4254
4223
  }
4255
4224
  ]
4256
4225
  };
4257
4226
  };
4258
- function equals$9(existing, incoming) {
4259
- const existing_joinOperator = existing.joinOperator;
4260
- const incoming_joinOperator = incoming.joinOperator;
4227
+ function equals$d(existing, incoming) {
4228
+ const existing_name = existing.name;
4229
+ const incoming_name = incoming.name;
4230
+ if (!(existing_name === incoming_name)) {
4231
+ return false;
4232
+ }
4233
+ const existing_values = existing.values;
4234
+ const incoming_values = incoming.values;
4261
4235
  // if at least one of these optionals is defined
4262
- if (existing_joinOperator !== undefined || incoming_joinOperator !== undefined) {
4236
+ if (existing_values !== undefined || incoming_values !== undefined) {
4263
4237
  // if one of these is not defined we know the other is defined and therefore
4264
4238
  // not equal
4265
- if (existing_joinOperator === undefined || incoming_joinOperator === undefined) {
4239
+ if (existing_values === undefined || incoming_values === undefined) {
4266
4240
  return false;
4267
4241
  }
4268
- if (!(existing_joinOperator === incoming_joinOperator)) {
4242
+ const equals_values_items = equalsArray(existing_values, incoming_values, (existing_values_item, incoming_values_item) => {
4243
+ if (!(existing_values_item === incoming_values_item)) {
4244
+ return false;
4245
+ }
4246
+ });
4247
+ if (equals_values_items === false) {
4269
4248
  return false;
4270
4249
  }
4271
4250
  }
4272
- const existing_leftFieldType = existing.leftFieldType;
4273
- const incoming_leftFieldType = incoming.leftFieldType;
4251
+ return true;
4252
+ }
4253
+
4254
+ const VERSION$c = "55c60b6207985632192cb4e419822a86";
4255
+ function validate$c(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
4256
+ const v_error = (() => {
4257
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4258
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4259
+ }
4260
+ if (obj.groups !== undefined) {
4261
+ const obj_groups = obj.groups;
4262
+ const path_groups = path + '.groups';
4263
+ if (!ArrayIsArray(obj_groups)) {
4264
+ return new TypeError('Expected "array" but received "' + typeof obj_groups + '" (at "' + path_groups + '")');
4265
+ }
4266
+ for (let i = 0; i < obj_groups.length; i++) {
4267
+ const obj_groups_item = obj_groups[i];
4268
+ const path_groups_item = path_groups + '[' + i + ']';
4269
+ const referencepath_groups_itemValidationError = validate$d(obj_groups_item, path_groups_item);
4270
+ if (referencepath_groups_itemValidationError !== null) {
4271
+ let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
4272
+ message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4273
+ return new TypeError(message);
4274
+ }
4275
+ }
4276
+ }
4277
+ if (obj.ungroupedValuesGroupName !== undefined) {
4278
+ const obj_ungroupedValuesGroupName = obj.ungroupedValuesGroupName;
4279
+ const path_ungroupedValuesGroupName = path + '.ungroupedValuesGroupName';
4280
+ if (typeof obj_ungroupedValuesGroupName !== 'string') {
4281
+ return new TypeError('Expected "string" but received "' + typeof obj_ungroupedValuesGroupName + '" (at "' + path_ungroupedValuesGroupName + '")');
4282
+ }
4283
+ }
4284
+ })();
4285
+ return v_error === undefined ? null : v_error;
4286
+ }
4287
+ const select$h = function GroupDimensionConfigurationOutputRepresentationSelect() {
4288
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$i();
4289
+ return {
4290
+ kind: 'Fragment',
4291
+ version: VERSION$c,
4292
+ private: [],
4293
+ selections: [
4294
+ {
4295
+ name: 'groups',
4296
+ kind: 'Object',
4297
+ plural: true,
4298
+ selections: GroupDimensionGroupOutputRepresentation__selections,
4299
+ required: false
4300
+ },
4301
+ {
4302
+ name: 'ungroupedValuesGroupName',
4303
+ kind: 'Scalar',
4304
+ required: false
4305
+ }
4306
+ ]
4307
+ };
4308
+ };
4309
+ function equals$c(existing, incoming) {
4310
+ const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
4311
+ const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
4274
4312
  // if at least one of these optionals is defined
4275
- if (existing_leftFieldType !== undefined || incoming_leftFieldType !== undefined) {
4313
+ if (existing_ungroupedValuesGroupName !== undefined || incoming_ungroupedValuesGroupName !== undefined) {
4276
4314
  // if one of these is not defined we know the other is defined and therefore
4277
4315
  // not equal
4278
- if (existing_leftFieldType === undefined || incoming_leftFieldType === undefined) {
4316
+ if (existing_ungroupedValuesGroupName === undefined || incoming_ungroupedValuesGroupName === undefined) {
4279
4317
  return false;
4280
4318
  }
4281
- if (!(existing_leftFieldType === incoming_leftFieldType)) {
4319
+ if (!(existing_ungroupedValuesGroupName === incoming_ungroupedValuesGroupName)) {
4282
4320
  return false;
4283
4321
  }
4284
4322
  }
4285
- const existing_leftSemanticFieldApiName = existing.leftSemanticFieldApiName;
4286
- const incoming_leftSemanticFieldApiName = incoming.leftSemanticFieldApiName;
4323
+ const existing_groups = existing.groups;
4324
+ const incoming_groups = incoming.groups;
4287
4325
  // if at least one of these optionals is defined
4288
- if (existing_leftSemanticFieldApiName !== undefined || incoming_leftSemanticFieldApiName !== undefined) {
4326
+ if (existing_groups !== undefined || incoming_groups !== undefined) {
4289
4327
  // if one of these is not defined we know the other is defined and therefore
4290
4328
  // not equal
4291
- if (existing_leftSemanticFieldApiName === undefined || incoming_leftSemanticFieldApiName === undefined) {
4329
+ if (existing_groups === undefined || incoming_groups === undefined) {
4292
4330
  return false;
4293
4331
  }
4294
- if (!(existing_leftSemanticFieldApiName === incoming_leftSemanticFieldApiName)) {
4332
+ const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
4333
+ if (!(equals$d(existing_groups_item, incoming_groups_item))) {
4334
+ return false;
4335
+ }
4336
+ });
4337
+ if (equals_groups_items === false) {
4295
4338
  return false;
4296
4339
  }
4297
4340
  }
4298
- const existing_rightFieldType = existing.rightFieldType;
4299
- const incoming_rightFieldType = incoming.rightFieldType;
4300
- // if at least one of these optionals is defined
4341
+ return true;
4342
+ }
4343
+
4344
+ const VERSION$b = "50dc390b159159afb1945b9a811c9f80";
4345
+ function validate$b(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
4346
+ const v_error = (() => {
4347
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4348
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4349
+ }
4350
+ if (obj.binDimension !== undefined) {
4351
+ const obj_binDimension = obj.binDimension;
4352
+ const path_binDimension = path + '.binDimension';
4353
+ const referencepath_binDimensionValidationError = validate$e(obj_binDimension, path_binDimension);
4354
+ if (referencepath_binDimensionValidationError !== null) {
4355
+ let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
4356
+ message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4357
+ return new TypeError(message);
4358
+ }
4359
+ }
4360
+ if (obj.groupDimension !== undefined) {
4361
+ const obj_groupDimension = obj.groupDimension;
4362
+ const path_groupDimension = path + '.groupDimension';
4363
+ const referencepath_groupDimensionValidationError = validate$c(obj_groupDimension, path_groupDimension);
4364
+ if (referencepath_groupDimensionValidationError !== null) {
4365
+ let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
4366
+ message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4367
+ return new TypeError(message);
4368
+ }
4369
+ }
4370
+ })();
4371
+ return v_error === undefined ? null : v_error;
4372
+ }
4373
+ const select$g = function SemanticGroupingConfigurationOutputRepresentationSelect() {
4374
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$j();
4375
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$h();
4376
+ return {
4377
+ kind: 'Fragment',
4378
+ version: VERSION$b,
4379
+ private: [],
4380
+ selections: [
4381
+ {
4382
+ name: 'binDimension',
4383
+ kind: 'Object',
4384
+ selections: BinDimensionConfigurationOutputRepresentation__selections,
4385
+ required: false
4386
+ },
4387
+ {
4388
+ name: 'groupDimension',
4389
+ kind: 'Object',
4390
+ selections: GroupDimensionConfigurationOutputRepresentation__selections,
4391
+ required: false
4392
+ }
4393
+ ]
4394
+ };
4395
+ };
4396
+ function equals$b(existing, incoming) {
4397
+ const existing_binDimension = existing.binDimension;
4398
+ const incoming_binDimension = incoming.binDimension;
4399
+ // if at least one of these optionals is defined
4400
+ if (existing_binDimension !== undefined || incoming_binDimension !== undefined) {
4401
+ // if one of these is not defined we know the other is defined and therefore
4402
+ // not equal
4403
+ if (existing_binDimension === undefined || incoming_binDimension === undefined) {
4404
+ return false;
4405
+ }
4406
+ if (!(equals$e(existing_binDimension, incoming_binDimension))) {
4407
+ return false;
4408
+ }
4409
+ }
4410
+ const existing_groupDimension = existing.groupDimension;
4411
+ const incoming_groupDimension = incoming.groupDimension;
4412
+ // if at least one of these optionals is defined
4413
+ if (existing_groupDimension !== undefined || incoming_groupDimension !== undefined) {
4414
+ // if one of these is not defined we know the other is defined and therefore
4415
+ // not equal
4416
+ if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
4417
+ return false;
4418
+ }
4419
+ if (!(equals$c(existing_groupDimension, incoming_groupDimension))) {
4420
+ return false;
4421
+ }
4422
+ }
4423
+ return true;
4424
+ }
4425
+
4426
+ const VERSION$a = "79ff229f45e15671c1db4ce569f7bc8c";
4427
+ function validate$a(obj, path = 'SemanticGroupingOutputRepresentation') {
4428
+ const v_error = (() => {
4429
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4430
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4431
+ }
4432
+ const obj_apiName = obj.apiName;
4433
+ const path_apiName = path + '.apiName';
4434
+ if (typeof obj_apiName !== 'string') {
4435
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
4436
+ }
4437
+ if (obj.baseModelApiName !== undefined) {
4438
+ const obj_baseModelApiName = obj.baseModelApiName;
4439
+ const path_baseModelApiName = path + '.baseModelApiName';
4440
+ if (typeof obj_baseModelApiName !== 'string') {
4441
+ return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4442
+ }
4443
+ }
4444
+ const obj_configuration = obj.configuration;
4445
+ const path_configuration = path + '.configuration';
4446
+ const referencepath_configurationValidationError = validate$b(obj_configuration, path_configuration);
4447
+ if (referencepath_configurationValidationError !== null) {
4448
+ let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
4449
+ message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4450
+ return new TypeError(message);
4451
+ }
4452
+ const obj_createdBy = obj.createdBy;
4453
+ const path_createdBy = path + '.createdBy';
4454
+ if (typeof obj_createdBy !== 'string') {
4455
+ return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
4456
+ }
4457
+ const obj_createdDate = obj.createdDate;
4458
+ const path_createdDate = path + '.createdDate';
4459
+ if (typeof obj_createdDate !== 'string') {
4460
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
4461
+ }
4462
+ if (obj.description !== undefined) {
4463
+ const obj_description = obj.description;
4464
+ const path_description = path + '.description';
4465
+ if (typeof obj_description !== 'string') {
4466
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
4467
+ }
4468
+ }
4469
+ const obj_fieldReference = obj.fieldReference;
4470
+ const path_fieldReference = path + '.fieldReference';
4471
+ const referencepath_fieldReferenceValidationError = validate$u(obj_fieldReference, path_fieldReference);
4472
+ if (referencepath_fieldReferenceValidationError !== null) {
4473
+ let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
4474
+ message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
4475
+ return new TypeError(message);
4476
+ }
4477
+ const obj_id = obj.id;
4478
+ const path_id = path + '.id';
4479
+ if (typeof obj_id !== 'string') {
4480
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
4481
+ }
4482
+ if (obj.label !== undefined) {
4483
+ const obj_label = obj.label;
4484
+ const path_label = path + '.label';
4485
+ if (typeof obj_label !== 'string') {
4486
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
4487
+ }
4488
+ }
4489
+ if (obj.lastModifiedBy !== undefined) {
4490
+ const obj_lastModifiedBy = obj.lastModifiedBy;
4491
+ const path_lastModifiedBy = path + '.lastModifiedBy';
4492
+ if (typeof obj_lastModifiedBy !== 'string') {
4493
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
4494
+ }
4495
+ }
4496
+ if (obj.lastModifiedDate !== undefined) {
4497
+ const obj_lastModifiedDate = obj.lastModifiedDate;
4498
+ const path_lastModifiedDate = path + '.lastModifiedDate';
4499
+ if (typeof obj_lastModifiedDate !== 'string') {
4500
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
4501
+ }
4502
+ }
4503
+ const obj_type = obj.type;
4504
+ const path_type = path + '.type';
4505
+ if (typeof obj_type !== 'string') {
4506
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
4507
+ }
4508
+ })();
4509
+ return v_error === undefined ? null : v_error;
4510
+ }
4511
+ const RepresentationType$8 = 'SemanticGroupingOutputRepresentation';
4512
+ function keyBuilder$g(luvio, config) {
4513
+ return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
4514
+ }
4515
+ function keyBuilderFromType$6(luvio, object) {
4516
+ const keyParams = {
4517
+ name: object.id
4518
+ };
4519
+ return keyBuilder$g(luvio, keyParams);
4520
+ }
4521
+ function normalize$8(input, existing, path, luvio, store, timestamp) {
4522
+ return input;
4523
+ }
4524
+ const select$f = function SemanticGroupingOutputRepresentationSelect() {
4525
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$g();
4526
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$A();
4527
+ return {
4528
+ kind: 'Fragment',
4529
+ version: VERSION$a,
4530
+ private: [],
4531
+ selections: [
4532
+ {
4533
+ name: 'apiName',
4534
+ kind: 'Scalar'
4535
+ },
4536
+ {
4537
+ name: 'baseModelApiName',
4538
+ kind: 'Scalar',
4539
+ required: false
4540
+ },
4541
+ {
4542
+ name: 'configuration',
4543
+ kind: 'Object',
4544
+ selections: SemanticGroupingConfigurationOutputRepresentation__selections
4545
+ },
4546
+ {
4547
+ name: 'createdBy',
4548
+ kind: 'Scalar'
4549
+ },
4550
+ {
4551
+ name: 'createdDate',
4552
+ kind: 'Scalar'
4553
+ },
4554
+ {
4555
+ name: 'description',
4556
+ kind: 'Scalar',
4557
+ required: false
4558
+ },
4559
+ {
4560
+ name: 'fieldReference',
4561
+ kind: 'Object',
4562
+ selections: SemanticFieldReferenceOutputRepresentation__selections
4563
+ },
4564
+ {
4565
+ name: 'id',
4566
+ kind: 'Scalar'
4567
+ },
4568
+ {
4569
+ name: 'label',
4570
+ kind: 'Scalar',
4571
+ required: false
4572
+ },
4573
+ {
4574
+ name: 'lastModifiedBy',
4575
+ kind: 'Scalar',
4576
+ required: false
4577
+ },
4578
+ {
4579
+ name: 'lastModifiedDate',
4580
+ kind: 'Scalar',
4581
+ required: false
4582
+ },
4583
+ {
4584
+ name: 'type',
4585
+ kind: 'Scalar'
4586
+ }
4587
+ ]
4588
+ };
4589
+ };
4590
+ function equals$a(existing, incoming) {
4591
+ const existing_apiName = existing.apiName;
4592
+ const incoming_apiName = incoming.apiName;
4593
+ if (!(existing_apiName === incoming_apiName)) {
4594
+ return false;
4595
+ }
4596
+ const existing_baseModelApiName = existing.baseModelApiName;
4597
+ const incoming_baseModelApiName = incoming.baseModelApiName;
4598
+ // if at least one of these optionals is defined
4599
+ if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
4600
+ // if one of these is not defined we know the other is defined and therefore
4601
+ // not equal
4602
+ if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
4603
+ return false;
4604
+ }
4605
+ if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
4606
+ return false;
4607
+ }
4608
+ }
4609
+ const existing_createdBy = existing.createdBy;
4610
+ const incoming_createdBy = incoming.createdBy;
4611
+ if (!(existing_createdBy === incoming_createdBy)) {
4612
+ return false;
4613
+ }
4614
+ const existing_createdDate = existing.createdDate;
4615
+ const incoming_createdDate = incoming.createdDate;
4616
+ if (!(existing_createdDate === incoming_createdDate)) {
4617
+ return false;
4618
+ }
4619
+ const existing_description = existing.description;
4620
+ const incoming_description = incoming.description;
4621
+ // if at least one of these optionals is defined
4622
+ if (existing_description !== undefined || incoming_description !== undefined) {
4623
+ // if one of these is not defined we know the other is defined and therefore
4624
+ // not equal
4625
+ if (existing_description === undefined || incoming_description === undefined) {
4626
+ return false;
4627
+ }
4628
+ if (!(existing_description === incoming_description)) {
4629
+ return false;
4630
+ }
4631
+ }
4632
+ const existing_id = existing.id;
4633
+ const incoming_id = incoming.id;
4634
+ if (!(existing_id === incoming_id)) {
4635
+ return false;
4636
+ }
4637
+ const existing_label = existing.label;
4638
+ const incoming_label = incoming.label;
4639
+ // if at least one of these optionals is defined
4640
+ if (existing_label !== undefined || incoming_label !== undefined) {
4641
+ // if one of these is not defined we know the other is defined and therefore
4642
+ // not equal
4643
+ if (existing_label === undefined || incoming_label === undefined) {
4644
+ return false;
4645
+ }
4646
+ if (!(existing_label === incoming_label)) {
4647
+ return false;
4648
+ }
4649
+ }
4650
+ const existing_lastModifiedBy = existing.lastModifiedBy;
4651
+ const incoming_lastModifiedBy = incoming.lastModifiedBy;
4652
+ // if at least one of these optionals is defined
4653
+ if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
4654
+ // if one of these is not defined we know the other is defined and therefore
4655
+ // not equal
4656
+ if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
4657
+ return false;
4658
+ }
4659
+ if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
4660
+ return false;
4661
+ }
4662
+ }
4663
+ const existing_lastModifiedDate = existing.lastModifiedDate;
4664
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
4665
+ // if at least one of these optionals is defined
4666
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
4667
+ // if one of these is not defined we know the other is defined and therefore
4668
+ // not equal
4669
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
4670
+ return false;
4671
+ }
4672
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
4673
+ return false;
4674
+ }
4675
+ }
4676
+ const existing_type = existing.type;
4677
+ const incoming_type = incoming.type;
4678
+ if (!(existing_type === incoming_type)) {
4679
+ return false;
4680
+ }
4681
+ const existing_configuration = existing.configuration;
4682
+ const incoming_configuration = incoming.configuration;
4683
+ if (!(equals$b(existing_configuration, incoming_configuration))) {
4684
+ return false;
4685
+ }
4686
+ const existing_fieldReference = existing.fieldReference;
4687
+ const incoming_fieldReference = incoming.fieldReference;
4688
+ if (!(equals$r(existing_fieldReference, incoming_fieldReference))) {
4689
+ return false;
4690
+ }
4691
+ return true;
4692
+ }
4693
+ const ingest$8 = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4694
+ if (process.env.NODE_ENV !== 'production') {
4695
+ const validateError = validate$a(input);
4696
+ if (validateError !== null) {
4697
+ throw validateError;
4698
+ }
4699
+ }
4700
+ const key = keyBuilderFromType$6(luvio, input);
4701
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
4702
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$a, RepresentationType$8, equals$a);
4703
+ return createLink(key);
4704
+ };
4705
+ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
4706
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
4707
+ const rootKey = keyBuilderFromType$6(luvio, input);
4708
+ rootKeySet.set(rootKey, {
4709
+ namespace: keyPrefix,
4710
+ representationName: RepresentationType$8,
4711
+ mergeable: false
4712
+ });
4713
+ }
4714
+
4715
+ const VERSION$9 = "c5144c317ac72b60d580cab803514b8d";
4716
+ function validate$9(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4717
+ const v_error = (() => {
4718
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4719
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
4720
+ }
4721
+ if (obj.joinOperator !== undefined) {
4722
+ const obj_joinOperator = obj.joinOperator;
4723
+ const path_joinOperator = path + '.joinOperator';
4724
+ if (typeof obj_joinOperator !== 'string') {
4725
+ return new TypeError('Expected "string" but received "' + typeof obj_joinOperator + '" (at "' + path_joinOperator + '")');
4726
+ }
4727
+ }
4728
+ if (obj.leftFieldType !== undefined) {
4729
+ const obj_leftFieldType = obj.leftFieldType;
4730
+ const path_leftFieldType = path + '.leftFieldType';
4731
+ if (typeof obj_leftFieldType !== 'string') {
4732
+ return new TypeError('Expected "string" but received "' + typeof obj_leftFieldType + '" (at "' + path_leftFieldType + '")');
4733
+ }
4734
+ }
4735
+ if (obj.leftSemanticFieldApiName !== undefined) {
4736
+ const obj_leftSemanticFieldApiName = obj.leftSemanticFieldApiName;
4737
+ const path_leftSemanticFieldApiName = path + '.leftSemanticFieldApiName';
4738
+ if (typeof obj_leftSemanticFieldApiName !== 'string') {
4739
+ return new TypeError('Expected "string" but received "' + typeof obj_leftSemanticFieldApiName + '" (at "' + path_leftSemanticFieldApiName + '")');
4740
+ }
4741
+ }
4742
+ if (obj.rightFieldType !== undefined) {
4743
+ const obj_rightFieldType = obj.rightFieldType;
4744
+ const path_rightFieldType = path + '.rightFieldType';
4745
+ if (typeof obj_rightFieldType !== 'string') {
4746
+ return new TypeError('Expected "string" but received "' + typeof obj_rightFieldType + '" (at "' + path_rightFieldType + '")');
4747
+ }
4748
+ }
4749
+ if (obj.rightSemanticFieldApiName !== undefined) {
4750
+ const obj_rightSemanticFieldApiName = obj.rightSemanticFieldApiName;
4751
+ const path_rightSemanticFieldApiName = path + '.rightSemanticFieldApiName';
4752
+ if (typeof obj_rightSemanticFieldApiName !== 'string') {
4753
+ return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticFieldApiName + '" (at "' + path_rightSemanticFieldApiName + '")');
4754
+ }
4755
+ }
4756
+ })();
4757
+ return v_error === undefined ? null : v_error;
4758
+ }
4759
+ const select$e = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4760
+ return {
4761
+ kind: 'Fragment',
4762
+ version: VERSION$9,
4763
+ private: [],
4764
+ selections: [
4765
+ {
4766
+ name: 'joinOperator',
4767
+ kind: 'Scalar',
4768
+ required: false
4769
+ },
4770
+ {
4771
+ name: 'leftFieldType',
4772
+ kind: 'Scalar',
4773
+ required: false
4774
+ },
4775
+ {
4776
+ name: 'leftSemanticFieldApiName',
4777
+ kind: 'Scalar',
4778
+ required: false
4779
+ },
4780
+ {
4781
+ name: 'rightFieldType',
4782
+ kind: 'Scalar',
4783
+ required: false
4784
+ },
4785
+ {
4786
+ name: 'rightSemanticFieldApiName',
4787
+ kind: 'Scalar',
4788
+ required: false
4789
+ }
4790
+ ]
4791
+ };
4792
+ };
4793
+ function equals$9(existing, incoming) {
4794
+ const existing_joinOperator = existing.joinOperator;
4795
+ const incoming_joinOperator = incoming.joinOperator;
4796
+ // if at least one of these optionals is defined
4797
+ if (existing_joinOperator !== undefined || incoming_joinOperator !== undefined) {
4798
+ // if one of these is not defined we know the other is defined and therefore
4799
+ // not equal
4800
+ if (existing_joinOperator === undefined || incoming_joinOperator === undefined) {
4801
+ return false;
4802
+ }
4803
+ if (!(existing_joinOperator === incoming_joinOperator)) {
4804
+ return false;
4805
+ }
4806
+ }
4807
+ const existing_leftFieldType = existing.leftFieldType;
4808
+ const incoming_leftFieldType = incoming.leftFieldType;
4809
+ // if at least one of these optionals is defined
4810
+ if (existing_leftFieldType !== undefined || incoming_leftFieldType !== undefined) {
4811
+ // if one of these is not defined we know the other is defined and therefore
4812
+ // not equal
4813
+ if (existing_leftFieldType === undefined || incoming_leftFieldType === undefined) {
4814
+ return false;
4815
+ }
4816
+ if (!(existing_leftFieldType === incoming_leftFieldType)) {
4817
+ return false;
4818
+ }
4819
+ }
4820
+ const existing_leftSemanticFieldApiName = existing.leftSemanticFieldApiName;
4821
+ const incoming_leftSemanticFieldApiName = incoming.leftSemanticFieldApiName;
4822
+ // if at least one of these optionals is defined
4823
+ if (existing_leftSemanticFieldApiName !== undefined || incoming_leftSemanticFieldApiName !== undefined) {
4824
+ // if one of these is not defined we know the other is defined and therefore
4825
+ // not equal
4826
+ if (existing_leftSemanticFieldApiName === undefined || incoming_leftSemanticFieldApiName === undefined) {
4827
+ return false;
4828
+ }
4829
+ if (!(existing_leftSemanticFieldApiName === incoming_leftSemanticFieldApiName)) {
4830
+ return false;
4831
+ }
4832
+ }
4833
+ const existing_rightFieldType = existing.rightFieldType;
4834
+ const incoming_rightFieldType = incoming.rightFieldType;
4835
+ // if at least one of these optionals is defined
4301
4836
  if (existing_rightFieldType !== undefined || incoming_rightFieldType !== undefined) {
4302
4837
  // if one of these is not defined we know the other is defined and therefore
4303
4838
  // not equal
@@ -4448,20 +4983,20 @@ function validate$8(obj, path = 'SemanticRelationshipOutputRepresentation') {
4448
4983
  return v_error === undefined ? null : v_error;
4449
4984
  }
4450
4985
  const RepresentationType$7 = 'SemanticRelationshipOutputRepresentation';
4451
- function keyBuilder$d(luvio, config) {
4986
+ function keyBuilder$f(luvio, config) {
4452
4987
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
4453
4988
  }
4454
4989
  function keyBuilderFromType$5(luvio, object) {
4455
4990
  const keyParams = {
4456
4991
  name: object.id
4457
4992
  };
4458
- return keyBuilder$d(luvio, keyParams);
4993
+ return keyBuilder$f(luvio, keyParams);
4459
4994
  }
4460
4995
  function normalize$7(input, existing, path, luvio, store, timestamp) {
4461
4996
  return input;
4462
4997
  }
4463
- const select$c = function SemanticRelationshipOutputRepresentationSelect() {
4464
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$d();
4998
+ const select$d = function SemanticRelationshipOutputRepresentationSelect() {
4999
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$e();
4465
5000
  return {
4466
5001
  kind: 'Fragment',
4467
5002
  version: VERSION$8,
@@ -4798,7 +5333,7 @@ function validate$7(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4798
5333
  for (let i = 0; i < obj_fields.length; i++) {
4799
5334
  const obj_fields_item = obj_fields[i];
4800
5335
  const path_fields_item = path_fields + '[' + i + ']';
4801
- const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
5336
+ const referencepath_fields_itemValidationError = validate$v(obj_fields_item, path_fields_item);
4802
5337
  if (referencepath_fields_itemValidationError !== null) {
4803
5338
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
4804
5339
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4842,7 +5377,7 @@ function validate$7(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4842
5377
  if (obj.semanticDimension !== undefined) {
4843
5378
  const obj_semanticDimension = obj.semanticDimension;
4844
5379
  const path_semanticDimension = path + '.semanticDimension';
4845
- const referencepath_semanticDimensionValidationError = validate$c(obj_semanticDimension, path_semanticDimension);
5380
+ const referencepath_semanticDimensionValidationError = validate$h(obj_semanticDimension, path_semanticDimension);
4846
5381
  if (referencepath_semanticDimensionValidationError !== null) {
4847
5382
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
4848
5383
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4852,7 +5387,7 @@ function validate$7(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4852
5387
  if (obj.semanticMeasurement !== undefined) {
4853
5388
  const obj_semanticMeasurement = obj.semanticMeasurement;
4854
5389
  const path_semanticMeasurement = path + '.semanticMeasurement';
4855
- const referencepath_semanticMeasurementValidationError = validate$b(obj_semanticMeasurement, path_semanticMeasurement);
5390
+ const referencepath_semanticMeasurementValidationError = validate$g(obj_semanticMeasurement, path_semanticMeasurement);
4856
5391
  if (referencepath_semanticMeasurementValidationError !== null) {
4857
5392
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
4858
5393
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4863,19 +5398,19 @@ function validate$7(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4863
5398
  return v_error === undefined ? null : v_error;
4864
5399
  }
4865
5400
  const RepresentationType$6 = 'SemanticMappedFieldOutputRepresentation';
4866
- function keyBuilder$c(luvio, config) {
5401
+ function keyBuilder$e(luvio, config) {
4867
5402
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
4868
5403
  }
4869
5404
  function keyBuilderFromType$4(luvio, object) {
4870
5405
  const keyParams = {
4871
5406
  name: object.id
4872
5407
  };
4873
- return keyBuilder$c(luvio, keyParams);
5408
+ return keyBuilder$e(luvio, keyParams);
4874
5409
  }
4875
5410
  function normalize$6(input, existing, path, luvio, store, timestamp) {
4876
5411
  return input;
4877
5412
  }
4878
- const select$b = function SemanticMappedFieldOutputRepresentationSelect() {
5413
+ const select$c = function SemanticMappedFieldOutputRepresentationSelect() {
4879
5414
  return {
4880
5415
  kind: 'Fragment',
4881
5416
  version: VERSION$7,
@@ -4911,7 +5446,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
4911
5446
  });
4912
5447
  }
4913
5448
 
4914
- const VERSION$6 = "1b52cb482b6e6bf9858049a6bd3ed8f9";
5449
+ const VERSION$6 = "405ff251703b1f5480363199ebeaf8a9";
4915
5450
  function validate$6(obj, path = 'SemanticUnionOutputRepresentation') {
4916
5451
  const v_error = (() => {
4917
5452
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4972,6 +5507,34 @@ function validate$6(obj, path = 'SemanticUnionOutputRepresentation') {
4972
5507
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
4973
5508
  }
4974
5509
  }
5510
+ if (obj.logicalViewId !== undefined) {
5511
+ const obj_logicalViewId = obj.logicalViewId;
5512
+ const path_logicalViewId = path + '.logicalViewId';
5513
+ let obj_logicalViewId_union0 = null;
5514
+ const obj_logicalViewId_union0_error = (() => {
5515
+ if (typeof obj_logicalViewId !== 'string') {
5516
+ return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
5517
+ }
5518
+ })();
5519
+ if (obj_logicalViewId_union0_error != null) {
5520
+ obj_logicalViewId_union0 = obj_logicalViewId_union0_error.message;
5521
+ }
5522
+ let obj_logicalViewId_union1 = null;
5523
+ const obj_logicalViewId_union1_error = (() => {
5524
+ if (obj_logicalViewId !== null) {
5525
+ return new TypeError('Expected "null" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
5526
+ }
5527
+ })();
5528
+ if (obj_logicalViewId_union1_error != null) {
5529
+ obj_logicalViewId_union1 = obj_logicalViewId_union1_error.message;
5530
+ }
5531
+ if (obj_logicalViewId_union0 && obj_logicalViewId_union1) {
5532
+ let message = 'Object doesn\'t match union (at "' + path_logicalViewId + '")';
5533
+ message += '\n' + obj_logicalViewId_union0.split('\n').map((line) => '\t' + line).join('\n');
5534
+ message += '\n' + obj_logicalViewId_union1.split('\n').map((line) => '\t' + line).join('\n');
5535
+ return new TypeError(message);
5536
+ }
5537
+ }
4975
5538
  if (obj.semanticDataObjects !== undefined) {
4976
5539
  const obj_semanticDataObjects = obj.semanticDataObjects;
4977
5540
  const path_semanticDataObjects = path + '.semanticDataObjects';
@@ -5004,14 +5567,14 @@ function validate$6(obj, path = 'SemanticUnionOutputRepresentation') {
5004
5567
  return v_error === undefined ? null : v_error;
5005
5568
  }
5006
5569
  const RepresentationType$5 = 'SemanticUnionOutputRepresentation';
5007
- function keyBuilder$b(luvio, config) {
5570
+ function keyBuilder$d(luvio, config) {
5008
5571
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.name;
5009
5572
  }
5010
5573
  function keyBuilderFromType$3(luvio, object) {
5011
5574
  const keyParams = {
5012
5575
  name: object.id
5013
5576
  };
5014
- return keyBuilder$b(luvio, keyParams);
5577
+ return keyBuilder$d(luvio, keyParams);
5015
5578
  }
5016
5579
  function normalize$5(input, existing, path, luvio, store, timestamp) {
5017
5580
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5020,7 +5583,7 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5020
5583
  for (let i = 0; i < input_semanticDataObjects.length; i++) {
5021
5584
  const input_semanticDataObjects_item = input_semanticDataObjects[i];
5022
5585
  let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
5023
- input_semanticDataObjects[i] = ingest$8(input_semanticDataObjects_item, {
5586
+ input_semanticDataObjects[i] = ingest$9(input_semanticDataObjects_item, {
5024
5587
  fullPath: input_semanticDataObjects_item_id,
5025
5588
  propertyName: i,
5026
5589
  parent: {
@@ -5052,7 +5615,7 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
5052
5615
  }
5053
5616
  return input;
5054
5617
  }
5055
- const select$a = function SemanticUnionOutputRepresentationSelect() {
5618
+ const select$b = function SemanticUnionOutputRepresentationSelect() {
5056
5619
  return {
5057
5620
  kind: 'Fragment',
5058
5621
  version: VERSION$6,
@@ -5099,19 +5662,24 @@ const select$a = function SemanticUnionOutputRepresentationSelect() {
5099
5662
  kind: 'Scalar',
5100
5663
  required: false
5101
5664
  },
5665
+ {
5666
+ name: 'logicalViewId',
5667
+ kind: 'Scalar',
5668
+ required: false
5669
+ },
5102
5670
  {
5103
5671
  name: 'semanticDataObjects',
5104
5672
  kind: 'Link',
5105
5673
  plural: true,
5106
5674
  required: false,
5107
- fragment: select$e()
5675
+ fragment: select$k()
5108
5676
  },
5109
5677
  {
5110
5678
  name: 'semanticMappedFields',
5111
5679
  kind: 'Link',
5112
5680
  plural: true,
5113
5681
  required: false,
5114
- fragment: select$b()
5682
+ fragment: select$c()
5115
5683
  }
5116
5684
  ]
5117
5685
  };
@@ -5202,6 +5770,19 @@ function equals$6(existing, incoming) {
5202
5770
  return false;
5203
5771
  }
5204
5772
  }
5773
+ const existing_logicalViewId = existing.logicalViewId;
5774
+ const incoming_logicalViewId = incoming.logicalViewId;
5775
+ // if at least one of these optionals is defined
5776
+ if (existing_logicalViewId !== undefined || incoming_logicalViewId !== undefined) {
5777
+ // if one of these is not defined we know the other is defined and therefore
5778
+ // not equal
5779
+ if (existing_logicalViewId === undefined || incoming_logicalViewId === undefined) {
5780
+ return false;
5781
+ }
5782
+ if (!(existing_logicalViewId === incoming_logicalViewId)) {
5783
+ return false;
5784
+ }
5785
+ }
5205
5786
  const existing_semanticDataObjects = existing.semanticDataObjects;
5206
5787
  const incoming_semanticDataObjects = incoming.semanticDataObjects;
5207
5788
  // if at least one of these optionals is defined
@@ -5263,7 +5844,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
5263
5844
  if (input.semanticDataObjects !== undefined) {
5264
5845
  const input_semanticDataObjects_length = input.semanticDataObjects.length;
5265
5846
  for (let i = 0; i < input_semanticDataObjects_length; i++) {
5266
- getTypeCacheKeys$8(rootKeySet, luvio, input.semanticDataObjects[i]);
5847
+ getTypeCacheKeys$9(rootKeySet, luvio, input.semanticDataObjects[i]);
5267
5848
  }
5268
5849
  }
5269
5850
  if (input.semanticMappedFields !== undefined) {
@@ -5325,7 +5906,7 @@ function validate$5(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5325
5906
  for (let i = 0; i < obj_filters.length; i++) {
5326
5907
  const obj_filters_item = obj_filters[i];
5327
5908
  const path_filters_item = path_filters + '[' + i + ']';
5328
- const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
5909
+ const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
5329
5910
  if (referencepath_filters_itemValidationError !== null) {
5330
5911
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5331
5912
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5405,14 +5986,14 @@ function validate$5(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5405
5986
  return v_error === undefined ? null : v_error;
5406
5987
  }
5407
5988
  const RepresentationType$4 = 'SemanticLogicalViewOutputRepresentation';
5408
- function keyBuilder$a(luvio, config) {
5989
+ function keyBuilder$c(luvio, config) {
5409
5990
  return keyPrefix + '::' + RepresentationType$4 + ':' + config.name;
5410
5991
  }
5411
5992
  function keyBuilderFromType$2(luvio, object) {
5412
5993
  const keyParams = {
5413
5994
  name: object.id
5414
5995
  };
5415
- return keyBuilder$a(luvio, keyParams);
5996
+ return keyBuilder$c(luvio, keyParams);
5416
5997
  }
5417
5998
  function normalize$4(input, existing, path, luvio, store, timestamp) {
5418
5999
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5421,7 +6002,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
5421
6002
  for (let i = 0; i < input_semanticDataObjects.length; i++) {
5422
6003
  const input_semanticDataObjects_item = input_semanticDataObjects[i];
5423
6004
  let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
5424
- input_semanticDataObjects[i] = ingest$8(input_semanticDataObjects_item, {
6005
+ input_semanticDataObjects[i] = ingest$9(input_semanticDataObjects_item, {
5425
6006
  fullPath: input_semanticDataObjects_item_id,
5426
6007
  propertyName: i,
5427
6008
  parent: {
@@ -5471,8 +6052,8 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
5471
6052
  }
5472
6053
  return input;
5473
6054
  }
5474
- const select$9 = function SemanticLogicalViewOutputRepresentationSelect() {
5475
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$w();
6055
+ const select$a = function SemanticLogicalViewOutputRepresentationSelect() {
6056
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$C();
5476
6057
  return {
5477
6058
  kind: 'Fragment',
5478
6059
  version: VERSION$5,
@@ -5536,21 +6117,21 @@ const select$9 = function SemanticLogicalViewOutputRepresentationSelect() {
5536
6117
  kind: 'Link',
5537
6118
  plural: true,
5538
6119
  required: false,
5539
- fragment: select$e()
6120
+ fragment: select$k()
5540
6121
  },
5541
6122
  {
5542
6123
  name: 'semanticRelationships',
5543
6124
  kind: 'Link',
5544
6125
  plural: true,
5545
6126
  required: false,
5546
- fragment: select$c()
6127
+ fragment: select$d()
5547
6128
  },
5548
6129
  {
5549
6130
  name: 'semanticUnions',
5550
6131
  kind: 'Link',
5551
6132
  plural: true,
5552
6133
  required: false,
5553
- fragment: select$a()
6134
+ fragment: select$b()
5554
6135
  }
5555
6136
  ]
5556
6137
  };
@@ -5664,7 +6245,7 @@ function equals$5(existing, incoming) {
5664
6245
  return false;
5665
6246
  }
5666
6247
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
5667
- if (!(equals$o(existing_filters_item, incoming_filters_item))) {
6248
+ if (!(equals$t(existing_filters_item, incoming_filters_item))) {
5668
6249
  return false;
5669
6250
  }
5670
6251
  });
@@ -5751,7 +6332,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
5751
6332
  if (input.semanticDataObjects !== undefined) {
5752
6333
  const input_semanticDataObjects_length = input.semanticDataObjects.length;
5753
6334
  for (let i = 0; i < input_semanticDataObjects_length; i++) {
5754
- getTypeCacheKeys$8(rootKeySet, luvio, input.semanticDataObjects[i]);
6335
+ getTypeCacheKeys$9(rootKeySet, luvio, input.semanticDataObjects[i]);
5755
6336
  }
5756
6337
  }
5757
6338
  if (input.semanticRelationships !== undefined) {
@@ -5889,19 +6470,19 @@ function validate$4(obj, path = 'SemanticParameterOutputRepresentation') {
5889
6470
  return v_error === undefined ? null : v_error;
5890
6471
  }
5891
6472
  const RepresentationType$3 = 'SemanticParameterOutputRepresentation';
5892
- function keyBuilder$9(luvio, config) {
6473
+ function keyBuilder$b(luvio, config) {
5893
6474
  return keyPrefix + '::' + RepresentationType$3 + ':' + config.name;
5894
6475
  }
5895
6476
  function keyBuilderFromType$1(luvio, object) {
5896
6477
  const keyParams = {
5897
6478
  name: object.id
5898
6479
  };
5899
- return keyBuilder$9(luvio, keyParams);
6480
+ return keyBuilder$b(luvio, keyParams);
5900
6481
  }
5901
6482
  function normalize$3(input, existing, path, luvio, store, timestamp) {
5902
6483
  return input;
5903
6484
  }
5904
- const select$8 = function SemanticParameterOutputRepresentationSelect() {
6485
+ const select$9 = function SemanticParameterOutputRepresentationSelect() {
5905
6486
  return {
5906
6487
  kind: 'Fragment',
5907
6488
  version: VERSION$4,
@@ -6193,7 +6774,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
6193
6774
  });
6194
6775
  }
6195
6776
 
6196
- const VERSION$3 = "2b83a1cf84bf1ccbe3783be82ff4d013";
6777
+ const VERSION$3 = "3fb33fd1e310fdf42bf0170a5f20e206";
6197
6778
  function validate$3(obj, path = 'SemanticModelOutputRepresentation') {
6198
6779
  const v_error = (() => {
6199
6780
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6227,7 +6808,7 @@ function validate$3(obj, path = 'SemanticModelOutputRepresentation') {
6227
6808
  for (let i = 0; i < obj_baseModels.length; i++) {
6228
6809
  const obj_baseModels_item = obj_baseModels[i];
6229
6810
  const path_baseModels_item = path_baseModels + '[' + i + ']';
6230
- const referencepath_baseModels_itemValidationError = validate$f(obj_baseModels_item, path_baseModels_item);
6811
+ const referencepath_baseModels_itemValidationError = validate$k(obj_baseModels_item, path_baseModels_item);
6231
6812
  if (referencepath_baseModels_itemValidationError !== null) {
6232
6813
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
6233
6814
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6367,6 +6948,48 @@ function validate$3(obj, path = 'SemanticModelOutputRepresentation') {
6367
6948
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataObjectsUrl + '" (at "' + path_semanticDataObjectsUrl + '")');
6368
6949
  }
6369
6950
  }
6951
+ if (obj.semanticGroupings !== undefined) {
6952
+ const obj_semanticGroupings = obj.semanticGroupings;
6953
+ const path_semanticGroupings = path + '.semanticGroupings';
6954
+ if (!ArrayIsArray(obj_semanticGroupings)) {
6955
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticGroupings + '" (at "' + path_semanticGroupings + '")');
6956
+ }
6957
+ for (let i = 0; i < obj_semanticGroupings.length; i++) {
6958
+ const obj_semanticGroupings_item = obj_semanticGroupings[i];
6959
+ const path_semanticGroupings_item = path_semanticGroupings + '[' + i + ']';
6960
+ if (typeof obj_semanticGroupings_item !== 'object') {
6961
+ return new TypeError('Expected "object" but received "' + typeof obj_semanticGroupings_item + '" (at "' + path_semanticGroupings_item + '")');
6962
+ }
6963
+ }
6964
+ }
6965
+ if (obj.semanticGroupingsUrl !== undefined) {
6966
+ const obj_semanticGroupingsUrl = obj.semanticGroupingsUrl;
6967
+ const path_semanticGroupingsUrl = path + '.semanticGroupingsUrl';
6968
+ let obj_semanticGroupingsUrl_union0 = null;
6969
+ const obj_semanticGroupingsUrl_union0_error = (() => {
6970
+ if (typeof obj_semanticGroupingsUrl !== 'string') {
6971
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticGroupingsUrl + '" (at "' + path_semanticGroupingsUrl + '")');
6972
+ }
6973
+ })();
6974
+ if (obj_semanticGroupingsUrl_union0_error != null) {
6975
+ obj_semanticGroupingsUrl_union0 = obj_semanticGroupingsUrl_union0_error.message;
6976
+ }
6977
+ let obj_semanticGroupingsUrl_union1 = null;
6978
+ const obj_semanticGroupingsUrl_union1_error = (() => {
6979
+ if (obj_semanticGroupingsUrl !== null) {
6980
+ return new TypeError('Expected "null" but received "' + typeof obj_semanticGroupingsUrl + '" (at "' + path_semanticGroupingsUrl + '")');
6981
+ }
6982
+ })();
6983
+ if (obj_semanticGroupingsUrl_union1_error != null) {
6984
+ obj_semanticGroupingsUrl_union1 = obj_semanticGroupingsUrl_union1_error.message;
6985
+ }
6986
+ if (obj_semanticGroupingsUrl_union0 && obj_semanticGroupingsUrl_union1) {
6987
+ let message = 'Object doesn\'t match union (at "' + path_semanticGroupingsUrl + '")';
6988
+ message += '\n' + obj_semanticGroupingsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
6989
+ message += '\n' + obj_semanticGroupingsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
6990
+ return new TypeError(message);
6991
+ }
6992
+ }
6370
6993
  if (obj.semanticLogicalViews !== undefined) {
6371
6994
  const obj_semanticLogicalViews = obj.semanticLogicalViews;
6372
6995
  const path_semanticLogicalViews = path + '.semanticLogicalViews';
@@ -6455,14 +7078,14 @@ function validate$3(obj, path = 'SemanticModelOutputRepresentation') {
6455
7078
  return v_error === undefined ? null : v_error;
6456
7079
  }
6457
7080
  const RepresentationType$2 = 'SemanticModelOutputRepresentation';
6458
- function keyBuilder$8(luvio, config) {
7081
+ function keyBuilder$a(luvio, config) {
6459
7082
  return keyPrefix + '::' + RepresentationType$2 + ':' + config.name;
6460
7083
  }
6461
7084
  function keyBuilderFromType(luvio, object) {
6462
7085
  const keyParams = {
6463
7086
  name: object.id
6464
7087
  };
6465
- return keyBuilder$8(luvio, keyParams);
7088
+ return keyBuilder$a(luvio, keyParams);
6466
7089
  }
6467
7090
  function normalize$2(input, existing, path, luvio, store, timestamp) {
6468
7091
  const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
@@ -6471,7 +7094,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6471
7094
  for (let i = 0; i < input_semanticCalculatedDimensions.length; i++) {
6472
7095
  const input_semanticCalculatedDimensions_item = input_semanticCalculatedDimensions[i];
6473
7096
  let input_semanticCalculatedDimensions_item_id = input_semanticCalculatedDimensions_id + '__' + i;
6474
- input_semanticCalculatedDimensions[i] = ingest$a(input_semanticCalculatedDimensions_item, {
7097
+ input_semanticCalculatedDimensions[i] = ingest$b(input_semanticCalculatedDimensions_item, {
6475
7098
  fullPath: input_semanticCalculatedDimensions_item_id,
6476
7099
  propertyName: i,
6477
7100
  parent: {
@@ -6489,7 +7112,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6489
7112
  for (let i = 0; i < input_semanticCalculatedMeasurements.length; i++) {
6490
7113
  const input_semanticCalculatedMeasurements_item = input_semanticCalculatedMeasurements[i];
6491
7114
  let input_semanticCalculatedMeasurements_item_id = input_semanticCalculatedMeasurements_id + '__' + i;
6492
- input_semanticCalculatedMeasurements[i] = ingest$9(input_semanticCalculatedMeasurements_item, {
7115
+ input_semanticCalculatedMeasurements[i] = ingest$a(input_semanticCalculatedMeasurements_item, {
6493
7116
  fullPath: input_semanticCalculatedMeasurements_item_id,
6494
7117
  propertyName: i,
6495
7118
  parent: {
@@ -6507,7 +7130,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6507
7130
  for (let i = 0; i < input_semanticDataObjects.length; i++) {
6508
7131
  const input_semanticDataObjects_item = input_semanticDataObjects[i];
6509
7132
  let input_semanticDataObjects_item_id = input_semanticDataObjects_id + '__' + i;
6510
- input_semanticDataObjects[i] = ingest$8(input_semanticDataObjects_item, {
7133
+ input_semanticDataObjects[i] = ingest$9(input_semanticDataObjects_item, {
6511
7134
  fullPath: input_semanticDataObjects_item_id,
6512
7135
  propertyName: i,
6513
7136
  parent: {
@@ -6519,6 +7142,24 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6519
7142
  }, luvio, store, timestamp);
6520
7143
  }
6521
7144
  }
7145
+ const input_semanticGroupings = input.semanticGroupings;
7146
+ const input_semanticGroupings_id = path.fullPath + '__semanticGroupings';
7147
+ if (input_semanticGroupings !== undefined) {
7148
+ for (let i = 0; i < input_semanticGroupings.length; i++) {
7149
+ const input_semanticGroupings_item = input_semanticGroupings[i];
7150
+ let input_semanticGroupings_item_id = input_semanticGroupings_id + '__' + i;
7151
+ input_semanticGroupings[i] = ingest$8(input_semanticGroupings_item, {
7152
+ fullPath: input_semanticGroupings_item_id,
7153
+ propertyName: i,
7154
+ parent: {
7155
+ data: input,
7156
+ key: path.fullPath,
7157
+ existing: existing,
7158
+ },
7159
+ ttl: path.ttl
7160
+ }, luvio, store, timestamp);
7161
+ }
7162
+ }
6522
7163
  const input_semanticLogicalViews = input.semanticLogicalViews;
6523
7164
  const input_semanticLogicalViews_id = path.fullPath + '__semanticLogicalViews';
6524
7165
  if (input_semanticLogicalViews !== undefined) {
@@ -6543,7 +7184,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6543
7184
  for (let i = 0; i < input_semanticMetrics.length; i++) {
6544
7185
  const input_semanticMetrics_item = input_semanticMetrics[i];
6545
7186
  let input_semanticMetrics_item_id = input_semanticMetrics_id + '__' + i;
6546
- input_semanticMetrics[i] = ingest$f(input_semanticMetrics_item, {
7187
+ input_semanticMetrics[i] = ingest$g(input_semanticMetrics_item, {
6547
7188
  fullPath: input_semanticMetrics_item_id,
6548
7189
  propertyName: i,
6549
7190
  parent: {
@@ -6593,8 +7234,8 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
6593
7234
  }
6594
7235
  return input;
6595
7236
  }
6596
- const select$7 = function SemanticModelOutputRepresentationSelect() {
6597
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$h();
7237
+ const select$8 = function SemanticModelOutputRepresentationSelect() {
7238
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$n();
6598
7239
  return {
6599
7240
  kind: 'Fragment',
6600
7241
  version: VERSION$3,
@@ -6673,7 +7314,7 @@ const select$7 = function SemanticModelOutputRepresentationSelect() {
6673
7314
  kind: 'Link',
6674
7315
  plural: true,
6675
7316
  required: false,
6676
- fragment: select$g()
7317
+ fragment: select$m()
6677
7318
  },
6678
7319
  {
6679
7320
  name: 'semanticCalculatedDimensionsUrl',
@@ -6685,7 +7326,7 @@ const select$7 = function SemanticModelOutputRepresentationSelect() {
6685
7326
  kind: 'Link',
6686
7327
  plural: true,
6687
7328
  required: false,
6688
- fragment: select$f()
7329
+ fragment: select$l()
6689
7330
  },
6690
7331
  {
6691
7332
  name: 'semanticCalculatedMeasurementsUrl',
@@ -6697,33 +7338,45 @@ const select$7 = function SemanticModelOutputRepresentationSelect() {
6697
7338
  kind: 'Link',
6698
7339
  plural: true,
6699
7340
  required: false,
6700
- fragment: select$e()
7341
+ fragment: select$k()
6701
7342
  },
6702
7343
  {
6703
7344
  name: 'semanticDataObjectsUrl',
6704
7345
  kind: 'Scalar',
6705
7346
  required: false
6706
7347
  },
7348
+ {
7349
+ name: 'semanticGroupings',
7350
+ kind: 'Link',
7351
+ plural: true,
7352
+ required: false,
7353
+ fragment: select$f()
7354
+ },
7355
+ {
7356
+ name: 'semanticGroupingsUrl',
7357
+ kind: 'Scalar',
7358
+ required: false
7359
+ },
6707
7360
  {
6708
7361
  name: 'semanticLogicalViews',
6709
7362
  kind: 'Link',
6710
7363
  plural: true,
6711
7364
  required: false,
6712
- fragment: select$9()
7365
+ fragment: select$a()
6713
7366
  },
6714
7367
  {
6715
7368
  name: 'semanticMetrics',
6716
7369
  kind: 'Link',
6717
7370
  plural: true,
6718
7371
  required: false,
6719
- fragment: select$q()
7372
+ fragment: select$w()
6720
7373
  },
6721
7374
  {
6722
7375
  name: 'semanticParameters',
6723
7376
  kind: 'Link',
6724
7377
  plural: true,
6725
7378
  required: false,
6726
- fragment: select$8()
7379
+ fragment: select$9()
6727
7380
  },
6728
7381
  {
6729
7382
  name: 'semanticParametersUrl',
@@ -6735,7 +7388,7 @@ const select$7 = function SemanticModelOutputRepresentationSelect() {
6735
7388
  kind: 'Link',
6736
7389
  plural: true,
6737
7390
  required: false,
6738
- fragment: select$c()
7391
+ fragment: select$d()
6739
7392
  },
6740
7393
  {
6741
7394
  name: 'semanticRelationshipsUrl',
@@ -6973,7 +7626,7 @@ function equals$3(existing, incoming) {
6973
7626
  return false;
6974
7627
  }
6975
7628
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
6976
- if (!(equals$d(existing_baseModels_item, incoming_baseModels_item))) {
7629
+ if (!(equals$i(existing_baseModels_item, incoming_baseModels_item))) {
6977
7630
  return false;
6978
7631
  }
6979
7632
  });
@@ -7053,6 +7706,37 @@ function equals$3(existing, incoming) {
7053
7706
  return false;
7054
7707
  }
7055
7708
  }
7709
+ const existing_semanticGroupings = existing.semanticGroupings;
7710
+ const incoming_semanticGroupings = incoming.semanticGroupings;
7711
+ // if at least one of these optionals is defined
7712
+ if (existing_semanticGroupings !== undefined || incoming_semanticGroupings !== undefined) {
7713
+ // if one of these is not defined we know the other is defined and therefore
7714
+ // not equal
7715
+ if (existing_semanticGroupings === undefined || incoming_semanticGroupings === undefined) {
7716
+ return false;
7717
+ }
7718
+ const equals_semanticGroupings_items = equalsArray(existing_semanticGroupings, incoming_semanticGroupings, (existing_semanticGroupings_item, incoming_semanticGroupings_item) => {
7719
+ if (!(existing_semanticGroupings_item.__ref === incoming_semanticGroupings_item.__ref)) {
7720
+ return false;
7721
+ }
7722
+ });
7723
+ if (equals_semanticGroupings_items === false) {
7724
+ return false;
7725
+ }
7726
+ }
7727
+ const existing_semanticGroupingsUrl = existing.semanticGroupingsUrl;
7728
+ const incoming_semanticGroupingsUrl = incoming.semanticGroupingsUrl;
7729
+ // if at least one of these optionals is defined
7730
+ if (existing_semanticGroupingsUrl !== undefined || incoming_semanticGroupingsUrl !== undefined) {
7731
+ // if one of these is not defined we know the other is defined and therefore
7732
+ // not equal
7733
+ if (existing_semanticGroupingsUrl === undefined || incoming_semanticGroupingsUrl === undefined) {
7734
+ return false;
7735
+ }
7736
+ if (!(existing_semanticGroupingsUrl === incoming_semanticGroupingsUrl)) {
7737
+ return false;
7738
+ }
7739
+ }
7056
7740
  const existing_semanticLogicalViews = existing.semanticLogicalViews;
7057
7741
  const incoming_semanticLogicalViews = incoming.semanticLogicalViews;
7058
7742
  // if at least one of these optionals is defined
@@ -7150,19 +7834,25 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7150
7834
  if (input.semanticCalculatedDimensions !== undefined) {
7151
7835
  const input_semanticCalculatedDimensions_length = input.semanticCalculatedDimensions.length;
7152
7836
  for (let i = 0; i < input_semanticCalculatedDimensions_length; i++) {
7153
- getTypeCacheKeys$a(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
7837
+ getTypeCacheKeys$b(rootKeySet, luvio, input.semanticCalculatedDimensions[i]);
7154
7838
  }
7155
7839
  }
7156
7840
  if (input.semanticCalculatedMeasurements !== undefined) {
7157
7841
  const input_semanticCalculatedMeasurements_length = input.semanticCalculatedMeasurements.length;
7158
7842
  for (let i = 0; i < input_semanticCalculatedMeasurements_length; i++) {
7159
- getTypeCacheKeys$9(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
7843
+ getTypeCacheKeys$a(rootKeySet, luvio, input.semanticCalculatedMeasurements[i]);
7160
7844
  }
7161
7845
  }
7162
7846
  if (input.semanticDataObjects !== undefined) {
7163
7847
  const input_semanticDataObjects_length = input.semanticDataObjects.length;
7164
7848
  for (let i = 0; i < input_semanticDataObjects_length; i++) {
7165
- getTypeCacheKeys$8(rootKeySet, luvio, input.semanticDataObjects[i]);
7849
+ getTypeCacheKeys$9(rootKeySet, luvio, input.semanticDataObjects[i]);
7850
+ }
7851
+ }
7852
+ if (input.semanticGroupings !== undefined) {
7853
+ const input_semanticGroupings_length = input.semanticGroupings.length;
7854
+ for (let i = 0; i < input_semanticGroupings_length; i++) {
7855
+ getTypeCacheKeys$8(rootKeySet, luvio, input.semanticGroupings[i]);
7166
7856
  }
7167
7857
  }
7168
7858
  if (input.semanticLogicalViews !== undefined) {
@@ -7174,7 +7864,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7174
7864
  if (input.semanticMetrics !== undefined) {
7175
7865
  const input_semanticMetrics_length = input.semanticMetrics.length;
7176
7866
  for (let i = 0; i < input_semanticMetrics_length; i++) {
7177
- getTypeCacheKeys$f(rootKeySet, luvio, input.semanticMetrics[i]);
7867
+ getTypeCacheKeys$g(rootKeySet, luvio, input.semanticMetrics[i]);
7178
7868
  }
7179
7869
  }
7180
7870
  if (input.semanticParameters !== undefined) {
@@ -7191,24 +7881,24 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
7191
7881
  }
7192
7882
  }
7193
7883
 
7194
- function select$6(luvio, params) {
7195
- return select$7();
7884
+ function select$7(luvio, params) {
7885
+ return select$8();
7196
7886
  }
7197
- function keyBuilder$7(luvio, params) {
7198
- return keyBuilder$8(luvio, {
7887
+ function keyBuilder$9(luvio, params) {
7888
+ return keyBuilder$a(luvio, {
7199
7889
  name: params.urlParams.modelApiNameOrId
7200
7890
  });
7201
7891
  }
7202
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
7892
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
7203
7893
  getTypeCacheKeys$2(storeKeyMap, luvio, response);
7204
7894
  }
7205
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
7895
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
7206
7896
  const { body } = response;
7207
- const key = keyBuilder$7(luvio, resourceParams);
7897
+ const key = keyBuilder$9(luvio, resourceParams);
7208
7898
  luvio.storeIngest(key, ingest$2, body);
7209
7899
  const snapshot = luvio.storeLookup({
7210
7900
  recordId: key,
7211
- node: select$6(),
7901
+ node: select$7(),
7212
7902
  variables: {},
7213
7903
  }, snapshotRefresh);
7214
7904
  if (process.env.NODE_ENV !== 'production') {
@@ -7219,13 +7909,13 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
7219
7909
  deepFreeze(snapshot.data);
7220
7910
  return snapshot;
7221
7911
  }
7222
- function ingestError$3(luvio, params, error, snapshotRefresh) {
7223
- const key = keyBuilder$7(luvio, params);
7912
+ function ingestError$4(luvio, params, error, snapshotRefresh) {
7913
+ const key = keyBuilder$9(luvio, params);
7224
7914
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
7225
7915
  luvio.storeIngestError(key, errorSnapshot);
7226
7916
  return errorSnapshot;
7227
7917
  }
7228
- function createResourceRequest$3(config) {
7918
+ function createResourceRequest$4(config) {
7229
7919
  const headers = {};
7230
7920
  return {
7231
7921
  baseUri: '/services/data/v62.0',
@@ -7244,99 +7934,99 @@ function createResourceRequestFromRepresentation$1(representation) {
7244
7934
  queryParams: {},
7245
7935
  };
7246
7936
  config.urlParams.modelApiNameOrId = representation.id;
7247
- return createResourceRequest$3(config);
7937
+ return createResourceRequest$4(config);
7248
7938
  }
7249
7939
 
7250
- const adapterName$3 = 'getSemanticModel';
7940
+ const adapterName$4 = 'getSemanticModel';
7251
7941
  const getSemanticModel_ConfigPropertyMetadata = [
7252
7942
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
7253
7943
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
7254
7944
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
7255
7945
  ];
7256
- const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticModel_ConfigPropertyMetadata);
7257
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$9(getSemanticModel_ConfigPropertyMetadata);
7258
- function keyBuilder$6(luvio, config) {
7259
- const resourceParams = createResourceParams$3(config);
7260
- return keyBuilder$7(luvio, resourceParams);
7946
+ const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticModel_ConfigPropertyMetadata);
7947
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$a(getSemanticModel_ConfigPropertyMetadata);
7948
+ function keyBuilder$8(luvio, config) {
7949
+ const resourceParams = createResourceParams$4(config);
7950
+ return keyBuilder$9(luvio, resourceParams);
7261
7951
  }
7262
- function typeCheckConfig$3(untrustedConfig) {
7952
+ function typeCheckConfig$4(untrustedConfig) {
7263
7953
  const config = {};
7264
- typeCheckConfig$9(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
7954
+ typeCheckConfig$a(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
7265
7955
  return config;
7266
7956
  }
7267
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
7957
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
7268
7958
  if (!untrustedIsObject(untrustedConfig)) {
7269
7959
  return null;
7270
7960
  }
7271
7961
  if (process.env.NODE_ENV !== 'production') {
7272
7962
  validateConfig(untrustedConfig, configPropertyNames);
7273
7963
  }
7274
- const config = typeCheckConfig$3(untrustedConfig);
7964
+ const config = typeCheckConfig$4(untrustedConfig);
7275
7965
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
7276
7966
  return null;
7277
7967
  }
7278
7968
  return config;
7279
7969
  }
7280
- function adapterFragment$3(luvio, config) {
7281
- createResourceParams$3(config);
7282
- return select$6();
7970
+ function adapterFragment$4(luvio, config) {
7971
+ createResourceParams$4(config);
7972
+ return select$7();
7283
7973
  }
7284
- function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
7285
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
7974
+ function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
7975
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
7286
7976
  config,
7287
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
7977
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
7288
7978
  });
7289
7979
  return luvio.storeBroadcast().then(() => snapshot);
7290
7980
  }
7291
- function onFetchResponseError$3(luvio, config, resourceParams, response) {
7292
- const snapshot = ingestError$3(luvio, resourceParams, response, {
7981
+ function onFetchResponseError$4(luvio, config, resourceParams, response) {
7982
+ const snapshot = ingestError$4(luvio, resourceParams, response, {
7293
7983
  config,
7294
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
7984
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
7295
7985
  });
7296
7986
  return luvio.storeBroadcast().then(() => snapshot);
7297
7987
  }
7298
- function buildNetworkSnapshot$3(luvio, config, options) {
7299
- const resourceParams = createResourceParams$3(config);
7300
- const request = createResourceRequest$3(resourceParams);
7988
+ function buildNetworkSnapshot$4(luvio, config, options) {
7989
+ const resourceParams = createResourceParams$4(config);
7990
+ const request = createResourceRequest$4(resourceParams);
7301
7991
  return luvio.dispatchResourceRequest(request, options)
7302
7992
  .then((response) => {
7303
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
7993
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
7304
7994
  const cache = new StoreKeyMap();
7305
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
7995
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
7306
7996
  return cache;
7307
7997
  });
7308
7998
  }, (response) => {
7309
- return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
7999
+ return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
7310
8000
  });
7311
8001
  }
7312
- function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
7313
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
8002
+ function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
8003
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
7314
8004
  }
7315
- function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
8005
+ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
7316
8006
  const { luvio, config } = context;
7317
8007
  const selector = {
7318
- recordId: keyBuilder$6(luvio, config),
7319
- node: adapterFragment$3(luvio, config),
8008
+ recordId: keyBuilder$8(luvio, config),
8009
+ node: adapterFragment$4(luvio, config),
7320
8010
  variables: {},
7321
8011
  };
7322
8012
  const cacheSnapshot = storeLookup(selector, {
7323
8013
  config,
7324
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
8014
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
7325
8015
  });
7326
8016
  return cacheSnapshot;
7327
8017
  }
7328
8018
  const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModel(untrustedConfig, requestContext) {
7329
- const config = validateAdapterConfig$3(untrustedConfig, getSemanticModel_ConfigPropertyNames);
8019
+ const config = validateAdapterConfig$4(untrustedConfig, getSemanticModel_ConfigPropertyNames);
7330
8020
  // Invalid or incomplete config
7331
8021
  if (config === null) {
7332
8022
  return null;
7333
8023
  }
7334
8024
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
7335
- buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
8025
+ buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
7336
8026
  };
7337
8027
  const notifyChangeFactory$1 = (luvio, options) => {
7338
8028
  return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
7339
- const keys = configs.map(c => keyBuilder$8(luvio, c));
8029
+ const keys = configs.map(c => keyBuilder$a(luvio, c));
7340
8030
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
7341
8031
  for (let i = 0, len = entries.length; i < len; i++) {
7342
8032
  const { key, record: val } = entries[i];
@@ -7364,7 +8054,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
7364
8054
  };
7365
8055
  };
7366
8056
 
7367
- const VERSION$2 = "420bd0401e6440b145b7f094d87f9d77";
8057
+ const VERSION$2 = "e01a91fd79dacbb09de6099af9690841";
7368
8058
  function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
7369
8059
  const v_error = (() => {
7370
8060
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7398,7 +8088,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
7398
8088
  for (let i = 0; i < obj_baseModels.length; i++) {
7399
8089
  const obj_baseModels_item = obj_baseModels[i];
7400
8090
  const path_baseModels_item = path_baseModels + '[' + i + ']';
7401
- const referencepath_baseModels_itemValidationError = validate$f(obj_baseModels_item, path_baseModels_item);
8091
+ const referencepath_baseModels_itemValidationError = validate$k(obj_baseModels_item, path_baseModels_item);
7402
8092
  if (referencepath_baseModels_itemValidationError !== null) {
7403
8093
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
7404
8094
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7496,6 +8186,34 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
7496
8186
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataObjectsUrl + '" (at "' + path_semanticDataObjectsUrl + '")');
7497
8187
  }
7498
8188
  }
8189
+ if (obj.semanticGroupingsUrl !== undefined) {
8190
+ const obj_semanticGroupingsUrl = obj.semanticGroupingsUrl;
8191
+ const path_semanticGroupingsUrl = path + '.semanticGroupingsUrl';
8192
+ let obj_semanticGroupingsUrl_union0 = null;
8193
+ const obj_semanticGroupingsUrl_union0_error = (() => {
8194
+ if (typeof obj_semanticGroupingsUrl !== 'string') {
8195
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticGroupingsUrl + '" (at "' + path_semanticGroupingsUrl + '")');
8196
+ }
8197
+ })();
8198
+ if (obj_semanticGroupingsUrl_union0_error != null) {
8199
+ obj_semanticGroupingsUrl_union0 = obj_semanticGroupingsUrl_union0_error.message;
8200
+ }
8201
+ let obj_semanticGroupingsUrl_union1 = null;
8202
+ const obj_semanticGroupingsUrl_union1_error = (() => {
8203
+ if (obj_semanticGroupingsUrl !== null) {
8204
+ return new TypeError('Expected "null" but received "' + typeof obj_semanticGroupingsUrl + '" (at "' + path_semanticGroupingsUrl + '")');
8205
+ }
8206
+ })();
8207
+ if (obj_semanticGroupingsUrl_union1_error != null) {
8208
+ obj_semanticGroupingsUrl_union1 = obj_semanticGroupingsUrl_union1_error.message;
8209
+ }
8210
+ if (obj_semanticGroupingsUrl_union0 && obj_semanticGroupingsUrl_union1) {
8211
+ let message = 'Object doesn\'t match union (at "' + path_semanticGroupingsUrl + '")';
8212
+ message += '\n' + obj_semanticGroupingsUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
8213
+ message += '\n' + obj_semanticGroupingsUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
8214
+ return new TypeError(message);
8215
+ }
8216
+ }
7499
8217
  if (obj.semanticParametersUrl !== undefined) {
7500
8218
  const obj_semanticParametersUrl = obj.semanticParametersUrl;
7501
8219
  const path_semanticParametersUrl = path + '.semanticParametersUrl';
@@ -7527,8 +8245,8 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
7527
8245
  })();
7528
8246
  return v_error === undefined ? null : v_error;
7529
8247
  }
7530
- const select$5 = function SemanticModelPartialOutputRepresentationSelect() {
7531
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$h();
8248
+ const select$6 = function SemanticModelPartialOutputRepresentationSelect() {
8249
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$n();
7532
8250
  return {
7533
8251
  kind: 'Fragment',
7534
8252
  version: VERSION$2,
@@ -7617,6 +8335,11 @@ const select$5 = function SemanticModelPartialOutputRepresentationSelect() {
7617
8335
  kind: 'Scalar',
7618
8336
  required: false
7619
8337
  },
8338
+ {
8339
+ name: 'semanticGroupingsUrl',
8340
+ kind: 'Scalar',
8341
+ required: false
8342
+ },
7620
8343
  {
7621
8344
  name: 'semanticParametersUrl',
7622
8345
  kind: 'Scalar',
@@ -7858,7 +8581,7 @@ function equals$2(existing, incoming) {
7858
8581
  return false;
7859
8582
  }
7860
8583
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
7861
- if (!(equals$d(existing_baseModels_item, incoming_baseModels_item))) {
8584
+ if (!(equals$i(existing_baseModels_item, incoming_baseModels_item))) {
7862
8585
  return false;
7863
8586
  }
7864
8587
  });
@@ -7884,6 +8607,19 @@ function equals$2(existing, incoming) {
7884
8607
  return false;
7885
8608
  }
7886
8609
  }
8610
+ const existing_semanticGroupingsUrl = existing.semanticGroupingsUrl;
8611
+ const incoming_semanticGroupingsUrl = incoming.semanticGroupingsUrl;
8612
+ // if at least one of these optionals is defined
8613
+ if (existing_semanticGroupingsUrl !== undefined || incoming_semanticGroupingsUrl !== undefined) {
8614
+ // if one of these is not defined we know the other is defined and therefore
8615
+ // not equal
8616
+ if (existing_semanticGroupingsUrl === undefined || incoming_semanticGroupingsUrl === undefined) {
8617
+ return false;
8618
+ }
8619
+ if (!(existing_semanticGroupingsUrl === incoming_semanticGroupingsUrl)) {
8620
+ return false;
8621
+ }
8622
+ }
7887
8623
  return true;
7888
8624
  }
7889
8625
 
@@ -8011,8 +8747,8 @@ const RepresentationType$1 = 'SemanticModelCollectionOutputRepresentation';
8011
8747
  function normalize$1(input, existing, path, luvio, store, timestamp) {
8012
8748
  return input;
8013
8749
  }
8014
- const select$4 = function SemanticModelCollectionOutputRepresentationSelect() {
8015
- const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$5();
8750
+ const select$5 = function SemanticModelCollectionOutputRepresentationSelect() {
8751
+ const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$6();
8016
8752
  return {
8017
8753
  kind: 'Fragment',
8018
8754
  version: VERSION$1,
@@ -8143,22 +8879,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
8143
8879
  });
8144
8880
  }
8145
8881
 
8146
- function select$3(luvio, params) {
8147
- return select$4();
8882
+ function select$4(luvio, params) {
8883
+ return select$5();
8148
8884
  }
8149
- function keyBuilder$5(luvio, params) {
8885
+ function keyBuilder$7(luvio, params) {
8150
8886
  return keyPrefix + '::SemanticModelCollectionOutputRepresentation:(' + 'app:' + params.queryParams.app + ',' + 'category:' + params.queryParams.category + ',' + 'dataspace:' + params.queryParams.dataspace + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'sourceCreation:' + params.queryParams.sourceCreation + ',' + 'sourceCreationName:' + params.queryParams.sourceCreationName + ')';
8151
8887
  }
8152
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
8153
- getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
8888
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
8889
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
8154
8890
  }
8155
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
8891
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
8156
8892
  const { body } = response;
8157
- const key = keyBuilder$5(luvio, resourceParams);
8893
+ const key = keyBuilder$7(luvio, resourceParams);
8158
8894
  luvio.storeIngest(key, ingest$1, body);
8159
8895
  const snapshot = luvio.storeLookup({
8160
8896
  recordId: key,
8161
- node: select$3(),
8897
+ node: select$4(),
8162
8898
  variables: {},
8163
8899
  }, snapshotRefresh);
8164
8900
  if (process.env.NODE_ENV !== 'production') {
@@ -8169,13 +8905,13 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
8169
8905
  deepFreeze(snapshot.data);
8170
8906
  return snapshot;
8171
8907
  }
8172
- function ingestError$2(luvio, params, error, snapshotRefresh) {
8173
- const key = keyBuilder$5(luvio, params);
8908
+ function ingestError$3(luvio, params, error, snapshotRefresh) {
8909
+ const key = keyBuilder$7(luvio, params);
8174
8910
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
8175
8911
  luvio.storeIngestError(key, errorSnapshot);
8176
8912
  return errorSnapshot;
8177
8913
  }
8178
- function createResourceRequest$2(config) {
8914
+ function createResourceRequest$3(config) {
8179
8915
  const headers = {};
8180
8916
  return {
8181
8917
  baseUri: '/services/data/v62.0',
@@ -8189,7 +8925,7 @@ function createResourceRequest$2(config) {
8189
8925
  };
8190
8926
  }
8191
8927
 
8192
- const adapterName$2 = 'getSemanticModels';
8928
+ const adapterName$3 = 'getSemanticModels';
8193
8929
  const getSemanticModels_ConfigPropertyMetadata = [
8194
8930
  generateParamConfigMetadata('app', false, 1 /* QueryParameter */, 0 /* String */),
8195
8931
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
@@ -8201,106 +8937,106 @@ const getSemanticModels_ConfigPropertyMetadata = [
8201
8937
  generateParamConfigMetadata('sourceCreation', false, 1 /* QueryParameter */, 0 /* String */),
8202
8938
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
8203
8939
  ];
8204
- const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticModels_ConfigPropertyMetadata);
8205
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$9(getSemanticModels_ConfigPropertyMetadata);
8206
- function keyBuilder$4(luvio, config) {
8207
- const resourceParams = createResourceParams$2(config);
8208
- return keyBuilder$5(luvio, resourceParams);
8940
+ const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticModels_ConfigPropertyMetadata);
8941
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$a(getSemanticModels_ConfigPropertyMetadata);
8942
+ function keyBuilder$6(luvio, config) {
8943
+ const resourceParams = createResourceParams$3(config);
8944
+ return keyBuilder$7(luvio, resourceParams);
8209
8945
  }
8210
- function typeCheckConfig$2(untrustedConfig) {
8946
+ function typeCheckConfig$3(untrustedConfig) {
8211
8947
  const config = {};
8212
- typeCheckConfig$9(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
8948
+ typeCheckConfig$a(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
8213
8949
  return config;
8214
8950
  }
8215
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
8951
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
8216
8952
  if (!untrustedIsObject(untrustedConfig)) {
8217
8953
  return null;
8218
8954
  }
8219
8955
  if (process.env.NODE_ENV !== 'production') {
8220
8956
  validateConfig(untrustedConfig, configPropertyNames);
8221
8957
  }
8222
- const config = typeCheckConfig$2(untrustedConfig);
8958
+ const config = typeCheckConfig$3(untrustedConfig);
8223
8959
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
8224
8960
  return null;
8225
8961
  }
8226
8962
  return config;
8227
8963
  }
8228
- function adapterFragment$2(luvio, config) {
8229
- createResourceParams$2(config);
8230
- return select$3();
8964
+ function adapterFragment$3(luvio, config) {
8965
+ createResourceParams$3(config);
8966
+ return select$4();
8231
8967
  }
8232
- function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
8233
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
8968
+ function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
8969
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
8234
8970
  config,
8235
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
8971
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
8236
8972
  });
8237
8973
  return luvio.storeBroadcast().then(() => snapshot);
8238
8974
  }
8239
- function onFetchResponseError$2(luvio, config, resourceParams, response) {
8240
- const snapshot = ingestError$2(luvio, resourceParams, response, {
8975
+ function onFetchResponseError$3(luvio, config, resourceParams, response) {
8976
+ const snapshot = ingestError$3(luvio, resourceParams, response, {
8241
8977
  config,
8242
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
8978
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
8243
8979
  });
8244
8980
  return luvio.storeBroadcast().then(() => snapshot);
8245
8981
  }
8246
- function buildNetworkSnapshot$2(luvio, config, options) {
8247
- const resourceParams = createResourceParams$2(config);
8248
- const request = createResourceRequest$2(resourceParams);
8982
+ function buildNetworkSnapshot$3(luvio, config, options) {
8983
+ const resourceParams = createResourceParams$3(config);
8984
+ const request = createResourceRequest$3(resourceParams);
8249
8985
  return luvio.dispatchResourceRequest(request, options)
8250
8986
  .then((response) => {
8251
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
8987
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
8252
8988
  const cache = new StoreKeyMap();
8253
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
8989
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
8254
8990
  return cache;
8255
8991
  });
8256
8992
  }, (response) => {
8257
- return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
8993
+ return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
8258
8994
  });
8259
8995
  }
8260
- function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
8261
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
8996
+ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
8997
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
8262
8998
  }
8263
- function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
8999
+ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
8264
9000
  const { luvio, config } = context;
8265
9001
  const selector = {
8266
- recordId: keyBuilder$4(luvio, config),
8267
- node: adapterFragment$2(luvio, config),
9002
+ recordId: keyBuilder$6(luvio, config),
9003
+ node: adapterFragment$3(luvio, config),
8268
9004
  variables: {},
8269
9005
  };
8270
9006
  const cacheSnapshot = storeLookup(selector, {
8271
9007
  config,
8272
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
9008
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
8273
9009
  });
8274
9010
  return cacheSnapshot;
8275
9011
  }
8276
9012
  const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
8277
- const config = validateAdapterConfig$2(untrustedConfig, getSemanticModels_ConfigPropertyNames);
9013
+ const config = validateAdapterConfig$3(untrustedConfig, getSemanticModels_ConfigPropertyNames);
8278
9014
  // Invalid or incomplete config
8279
9015
  if (config === null) {
8280
9016
  return null;
8281
9017
  }
8282
9018
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
8283
- buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
9019
+ buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
8284
9020
  };
8285
9021
 
8286
- function select$2(luvio, params) {
8287
- return select$p();
9022
+ function select$3(luvio, params) {
9023
+ return select$v();
8288
9024
  }
8289
- function keyBuilder$3(luvio, params) {
8290
- return keyBuilder$o(luvio, {
9025
+ function keyBuilder$5(luvio, params) {
9026
+ return keyBuilder$r(luvio, {
8291
9027
  name: params.urlParams.subMetricNameOrId
8292
9028
  });
8293
9029
  }
8294
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
8295
- getTypeCacheKeys$e(storeKeyMap, luvio, response);
9030
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
9031
+ getTypeCacheKeys$f(storeKeyMap, luvio, response);
8296
9032
  }
8297
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
9033
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
8298
9034
  const { body } = response;
8299
- const key = keyBuilder$3(luvio, resourceParams);
8300
- luvio.storeIngest(key, ingest$e, body);
9035
+ const key = keyBuilder$5(luvio, resourceParams);
9036
+ luvio.storeIngest(key, ingest$f, body);
8301
9037
  const snapshot = luvio.storeLookup({
8302
9038
  recordId: key,
8303
- node: select$2(),
9039
+ node: select$3(),
8304
9040
  variables: {},
8305
9041
  }, snapshotRefresh);
8306
9042
  if (process.env.NODE_ENV !== 'production') {
@@ -8311,13 +9047,13 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
8311
9047
  deepFreeze(snapshot.data);
8312
9048
  return snapshot;
8313
9049
  }
8314
- function ingestError$1(luvio, params, error, snapshotRefresh) {
8315
- const key = keyBuilder$3(luvio, params);
9050
+ function ingestError$2(luvio, params, error, snapshotRefresh) {
9051
+ const key = keyBuilder$5(luvio, params);
8316
9052
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
8317
9053
  luvio.storeIngestError(key, errorSnapshot);
8318
9054
  return errorSnapshot;
8319
9055
  }
8320
- function createResourceRequest$1(config) {
9056
+ function createResourceRequest$2(config) {
8321
9057
  const headers = {};
8322
9058
  return {
8323
9059
  baseUri: '/services/data/v62.0',
@@ -8335,98 +9071,98 @@ function createResourceRequestFromRepresentation(representation) {
8335
9071
  urlParams: {},
8336
9072
  };
8337
9073
  config.urlParams.subMetricNameOrId = representation.id;
8338
- return createResourceRequest$1(config);
9074
+ return createResourceRequest$2(config);
8339
9075
  }
8340
9076
 
8341
- const adapterName$1 = 'getSemanticSubMetric';
9077
+ const adapterName$2 = 'getSemanticSubMetric';
8342
9078
  const getSemanticSubMetric_ConfigPropertyMetadata = [
8343
9079
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8344
9080
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8345
9081
  ];
8346
- const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSemanticSubMetric_ConfigPropertyMetadata);
8347
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$9(getSemanticSubMetric_ConfigPropertyMetadata);
8348
- function keyBuilder$2(luvio, config) {
8349
- const resourceParams = createResourceParams$1(config);
8350
- return keyBuilder$3(luvio, resourceParams);
9082
+ const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetric_ConfigPropertyMetadata);
9083
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetric_ConfigPropertyMetadata);
9084
+ function keyBuilder$4(luvio, config) {
9085
+ const resourceParams = createResourceParams$2(config);
9086
+ return keyBuilder$5(luvio, resourceParams);
8351
9087
  }
8352
- function typeCheckConfig$1(untrustedConfig) {
9088
+ function typeCheckConfig$2(untrustedConfig) {
8353
9089
  const config = {};
8354
- typeCheckConfig$9(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
9090
+ typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
8355
9091
  return config;
8356
9092
  }
8357
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
9093
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
8358
9094
  if (!untrustedIsObject(untrustedConfig)) {
8359
9095
  return null;
8360
9096
  }
8361
9097
  if (process.env.NODE_ENV !== 'production') {
8362
9098
  validateConfig(untrustedConfig, configPropertyNames);
8363
9099
  }
8364
- const config = typeCheckConfig$1(untrustedConfig);
9100
+ const config = typeCheckConfig$2(untrustedConfig);
8365
9101
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
8366
9102
  return null;
8367
9103
  }
8368
9104
  return config;
8369
9105
  }
8370
- function adapterFragment$1(luvio, config) {
8371
- createResourceParams$1(config);
8372
- return select$2();
9106
+ function adapterFragment$2(luvio, config) {
9107
+ createResourceParams$2(config);
9108
+ return select$3();
8373
9109
  }
8374
- function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
8375
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
9110
+ function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
9111
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
8376
9112
  config,
8377
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9113
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
8378
9114
  });
8379
9115
  return luvio.storeBroadcast().then(() => snapshot);
8380
9116
  }
8381
- function onFetchResponseError$1(luvio, config, resourceParams, response) {
8382
- const snapshot = ingestError$1(luvio, resourceParams, response, {
9117
+ function onFetchResponseError$2(luvio, config, resourceParams, response) {
9118
+ const snapshot = ingestError$2(luvio, resourceParams, response, {
8383
9119
  config,
8384
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9120
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
8385
9121
  });
8386
9122
  return luvio.storeBroadcast().then(() => snapshot);
8387
9123
  }
8388
- function buildNetworkSnapshot$1(luvio, config, options) {
8389
- const resourceParams = createResourceParams$1(config);
8390
- const request = createResourceRequest$1(resourceParams);
9124
+ function buildNetworkSnapshot$2(luvio, config, options) {
9125
+ const resourceParams = createResourceParams$2(config);
9126
+ const request = createResourceRequest$2(resourceParams);
8391
9127
  return luvio.dispatchResourceRequest(request, options)
8392
9128
  .then((response) => {
8393
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
9129
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
8394
9130
  const cache = new StoreKeyMap();
8395
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
9131
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
8396
9132
  return cache;
8397
9133
  });
8398
9134
  }, (response) => {
8399
- return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
9135
+ return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
8400
9136
  });
8401
9137
  }
8402
- function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
8403
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
9138
+ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
9139
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
8404
9140
  }
8405
- function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
9141
+ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
8406
9142
  const { luvio, config } = context;
8407
9143
  const selector = {
8408
- recordId: keyBuilder$2(luvio, config),
8409
- node: adapterFragment$1(luvio, config),
9144
+ recordId: keyBuilder$4(luvio, config),
9145
+ node: adapterFragment$2(luvio, config),
8410
9146
  variables: {},
8411
9147
  };
8412
9148
  const cacheSnapshot = storeLookup(selector, {
8413
9149
  config,
8414
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9150
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
8415
9151
  });
8416
9152
  return cacheSnapshot;
8417
9153
  }
8418
9154
  const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetric(untrustedConfig, requestContext) {
8419
- const config = validateAdapterConfig$1(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
9155
+ const config = validateAdapterConfig$2(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
8420
9156
  // Invalid or incomplete config
8421
9157
  if (config === null) {
8422
9158
  return null;
8423
9159
  }
8424
9160
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
8425
- buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
9161
+ buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
8426
9162
  };
8427
9163
  const notifyChangeFactory = (luvio, options) => {
8428
9164
  return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
8429
- const keys = configs.map(c => keyBuilder$o(luvio, c));
9165
+ const keys = configs.map(c => keyBuilder$r(luvio, c));
8430
9166
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
8431
9167
  for (let i = 0, len = entries.length; i < len; i++) {
8432
9168
  const { key, record: val } = entries[i];
@@ -8435,11 +9171,11 @@ const notifyChangeFactory = (luvio, options) => {
8435
9171
  .then((response) => {
8436
9172
  return luvio.handleSuccessResponse(() => {
8437
9173
  const { body } = response;
8438
- luvio.storeIngest(key, ingest$e, body);
9174
+ luvio.storeIngest(key, ingest$f, body);
8439
9175
  return luvio.storeBroadcast();
8440
9176
  }, () => {
8441
9177
  const cache = new StoreKeyMap();
8442
- getTypeCacheKeys$e(cache, luvio, response.body);
9178
+ getTypeCacheKeys$f(cache, luvio, response.body);
8443
9179
  return cache;
8444
9180
  });
8445
9181
  }, (error) => {
@@ -8485,7 +9221,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
8485
9221
  for (let i = 0; i < input_items.length; i++) {
8486
9222
  const input_items_item = input_items[i];
8487
9223
  let input_items_item_id = input_items_id + '__' + i;
8488
- input_items[i] = ingest$e(input_items_item, {
9224
+ input_items[i] = ingest$f(input_items_item, {
8489
9225
  fullPath: input_items_item_id,
8490
9226
  propertyName: i,
8491
9227
  parent: {
@@ -8499,7 +9235,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
8499
9235
  }
8500
9236
  return input;
8501
9237
  }
8502
- const select$1 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
9238
+ const select$2 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
8503
9239
  return {
8504
9240
  kind: 'Fragment',
8505
9241
  version: VERSION,
@@ -8510,7 +9246,7 @@ const select$1 = function SemanticSubMetricCollectionOutputRepresentationSelect(
8510
9246
  kind: 'Link',
8511
9247
  plural: true,
8512
9248
  required: false,
8513
- fragment: select$p()
9249
+ fragment: select$v()
8514
9250
  }
8515
9251
  ]
8516
9252
  };
@@ -8559,16 +9295,148 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
8559
9295
  if (input.items !== undefined) {
8560
9296
  const input_items_length = input.items.length;
8561
9297
  for (let i = 0; i < input_items_length; i++) {
8562
- getTypeCacheKeys$e(rootKeySet, luvio, input.items[i]);
9298
+ getTypeCacheKeys$f(rootKeySet, luvio, input.items[i]);
8563
9299
  }
8564
9300
  }
8565
9301
  }
8566
9302
 
8567
- function select(luvio, params) {
9303
+ function select$1(luvio, params) {
9304
+ return select$2();
9305
+ }
9306
+ function keyBuilder$3(luvio, params) {
9307
+ return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
9308
+ }
9309
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
9310
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
9311
+ }
9312
+ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
9313
+ const { body } = response;
9314
+ const key = keyBuilder$3(luvio, resourceParams);
9315
+ luvio.storeIngest(key, ingest, body);
9316
+ const snapshot = luvio.storeLookup({
9317
+ recordId: key,
9318
+ node: select$1(),
9319
+ variables: {},
9320
+ }, snapshotRefresh);
9321
+ if (process.env.NODE_ENV !== 'production') {
9322
+ if (snapshot.state !== 'Fulfilled') {
9323
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
9324
+ }
9325
+ }
9326
+ deepFreeze(snapshot.data);
9327
+ return snapshot;
9328
+ }
9329
+ function ingestError$1(luvio, params, error, snapshotRefresh) {
9330
+ const key = keyBuilder$3(luvio, params);
9331
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
9332
+ luvio.storeIngestError(key, errorSnapshot);
9333
+ return errorSnapshot;
9334
+ }
9335
+ function createResourceRequest$1(config) {
9336
+ const headers = {};
9337
+ return {
9338
+ baseUri: '/services/data/v62.0',
9339
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics',
9340
+ method: 'get',
9341
+ body: null,
9342
+ urlParams: config.urlParams,
9343
+ queryParams: {},
9344
+ headers,
9345
+ priority: 'normal',
9346
+ };
9347
+ }
9348
+
9349
+ const adapterName$1 = 'getSemanticSubMetrics';
9350
+ const getSemanticSubMetrics_ConfigPropertyMetadata = [
9351
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9352
+ ];
9353
+ const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSemanticSubMetrics_ConfigPropertyMetadata);
9354
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetrics_ConfigPropertyMetadata);
9355
+ function keyBuilder$2(luvio, config) {
9356
+ const resourceParams = createResourceParams$1(config);
9357
+ return keyBuilder$3(luvio, resourceParams);
9358
+ }
9359
+ function typeCheckConfig$1(untrustedConfig) {
9360
+ const config = {};
9361
+ typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
9362
+ return config;
9363
+ }
9364
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
9365
+ if (!untrustedIsObject(untrustedConfig)) {
9366
+ return null;
9367
+ }
9368
+ if (process.env.NODE_ENV !== 'production') {
9369
+ validateConfig(untrustedConfig, configPropertyNames);
9370
+ }
9371
+ const config = typeCheckConfig$1(untrustedConfig);
9372
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
9373
+ return null;
9374
+ }
9375
+ return config;
9376
+ }
9377
+ function adapterFragment$1(luvio, config) {
9378
+ createResourceParams$1(config);
8568
9379
  return select$1();
8569
9380
  }
9381
+ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
9382
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
9383
+ config,
9384
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9385
+ });
9386
+ return luvio.storeBroadcast().then(() => snapshot);
9387
+ }
9388
+ function onFetchResponseError$1(luvio, config, resourceParams, response) {
9389
+ const snapshot = ingestError$1(luvio, resourceParams, response, {
9390
+ config,
9391
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9392
+ });
9393
+ return luvio.storeBroadcast().then(() => snapshot);
9394
+ }
9395
+ function buildNetworkSnapshot$1(luvio, config, options) {
9396
+ const resourceParams = createResourceParams$1(config);
9397
+ const request = createResourceRequest$1(resourceParams);
9398
+ return luvio.dispatchResourceRequest(request, options)
9399
+ .then((response) => {
9400
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
9401
+ const cache = new StoreKeyMap();
9402
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
9403
+ return cache;
9404
+ });
9405
+ }, (response) => {
9406
+ return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
9407
+ });
9408
+ }
9409
+ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
9410
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
9411
+ }
9412
+ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
9413
+ const { luvio, config } = context;
9414
+ const selector = {
9415
+ recordId: keyBuilder$2(luvio, config),
9416
+ node: adapterFragment$1(luvio, config),
9417
+ variables: {},
9418
+ };
9419
+ const cacheSnapshot = storeLookup(selector, {
9420
+ config,
9421
+ resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
9422
+ });
9423
+ return cacheSnapshot;
9424
+ }
9425
+ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetrics(untrustedConfig, requestContext) {
9426
+ const config = validateAdapterConfig$1(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
9427
+ // Invalid or incomplete config
9428
+ if (config === null) {
9429
+ return null;
9430
+ }
9431
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
9432
+ buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
9433
+ };
9434
+
9435
+ function select(luvio, params) {
9436
+ return select$2();
9437
+ }
8570
9438
  function keyBuilder$1(luvio, params) {
8571
- return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
9439
+ return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'subMetricIds:' + params.urlParams.subMetricIds + ')';
8572
9440
  }
8573
9441
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
8574
9442
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -8600,7 +9468,7 @@ function createResourceRequest(config) {
8600
9468
  const headers = {};
8601
9469
  return {
8602
9470
  baseUri: '/services/data/v62.0',
8603
- basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics',
9471
+ basePath: '/ssot/semantic/sub-metrics/' + config.urlParams.subMetricIds + '',
8604
9472
  method: 'get',
8605
9473
  body: null,
8606
9474
  urlParams: config.urlParams,
@@ -8610,19 +9478,19 @@ function createResourceRequest(config) {
8610
9478
  };
8611
9479
  }
8612
9480
 
8613
- const adapterName = 'getSemanticSubMetrics';
8614
- const getSemanticSubMetrics_ConfigPropertyMetadata = [
8615
- generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9481
+ const adapterName = 'getSemanticSubMetricsById';
9482
+ const getSemanticSubMetricsById_ConfigPropertyMetadata = [
9483
+ generateParamConfigMetadata('subMetricIds', true, 0 /* UrlParameter */, 0 /* String */),
8616
9484
  ];
8617
- const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSemanticSubMetrics_ConfigPropertyMetadata);
8618
- const createResourceParams = /*#__PURE__*/ createResourceParams$9(getSemanticSubMetrics_ConfigPropertyMetadata);
9485
+ const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSemanticSubMetricsById_ConfigPropertyMetadata);
9486
+ const createResourceParams = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetricsById_ConfigPropertyMetadata);
8619
9487
  function keyBuilder(luvio, config) {
8620
9488
  const resourceParams = createResourceParams(config);
8621
9489
  return keyBuilder$1(luvio, resourceParams);
8622
9490
  }
8623
9491
  function typeCheckConfig(untrustedConfig) {
8624
9492
  const config = {};
8625
- typeCheckConfig$9(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
9493
+ typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
8626
9494
  return config;
8627
9495
  }
8628
9496
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -8671,7 +9539,7 @@ function buildNetworkSnapshot(luvio, config, options) {
8671
9539
  });
8672
9540
  }
8673
9541
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
8674
- return buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
9542
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
8675
9543
  }
8676
9544
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
8677
9545
  const { luvio, config } = context;
@@ -8686,8 +9554,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
8686
9554
  });
8687
9555
  return cacheSnapshot;
8688
9556
  }
8689
- const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetrics(untrustedConfig, requestContext) {
8690
- const config = validateAdapterConfig(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
9557
+ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetricsById(untrustedConfig, requestContext) {
9558
+ const config = validateAdapterConfig(untrustedConfig, getSemanticSubMetricsById_ConfigPropertyNames);
8691
9559
  // Invalid or incomplete config
8692
9560
  if (config === null) {
8693
9561
  return null;
@@ -8708,6 +9576,7 @@ let getSemanticModels;
8708
9576
  let getSemanticSubMetric;
8709
9577
  let getSemanticSubMetricNotifyChange;
8710
9578
  let getSemanticSubMetrics;
9579
+ let getSemanticSubMetricsById;
8711
9580
  // Imperative GET Adapters
8712
9581
  let getSemanticMetric_imperative;
8713
9582
  let getSemanticMetrics_imperative;
@@ -8716,6 +9585,7 @@ let getSemanticModel_imperative;
8716
9585
  let getSemanticModels_imperative;
8717
9586
  let getSemanticSubMetric_imperative;
8718
9587
  let getSemanticSubMetrics_imperative;
9588
+ let getSemanticSubMetricsById_imperative;
8719
9589
  const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
8720
9590
  const getSemanticMetricsMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetrics' };
8721
9591
  const getSemanticMetricsToSubMetricsMetadata = {
@@ -8732,6 +9602,10 @@ const getSemanticSubMetricsMetadata = {
8732
9602
  apiFamily: 'SemanticAuthoring',
8733
9603
  name: 'getSemanticSubMetrics',
8734
9604
  };
9605
+ const getSemanticSubMetricsByIdMetadata = {
9606
+ apiFamily: 'SemanticAuthoring',
9607
+ name: 'getSemanticSubMetricsById',
9608
+ };
8735
9609
  // Notify Update Available
8736
9610
  function bindExportsTo(luvio) {
8737
9611
  // LDS Adapters
@@ -8742,13 +9616,14 @@ function bindExportsTo(luvio) {
8742
9616
  const getSemanticModels_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticModels', getSemanticModelsAdapterFactory), getSemanticModelsMetadata);
8743
9617
  const getSemanticSubMetric_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticSubMetric', getSemanticSubMetricAdapterFactory), getSemanticSubMetricMetadata);
8744
9618
  const getSemanticSubMetrics_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticSubMetrics', getSemanticSubMetricsAdapterFactory), getSemanticSubMetricsMetadata);
9619
+ const getSemanticSubMetricsById_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticSubMetricsById', getSemanticSubMetricsByIdAdapterFactory), getSemanticSubMetricsByIdMetadata);
8745
9620
  function unwrapSnapshotData(factory) {
8746
9621
  const adapter = factory(luvio);
8747
9622
  return (config) => adapter(config).then((snapshot) => snapshot.data);
8748
9623
  }
8749
9624
  return {
8750
9625
  createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
8751
- deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$7, deleteSemanticSubMetricAdapterFactory),
9626
+ deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$8, deleteSemanticSubMetricAdapterFactory),
8752
9627
  getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
8753
9628
  getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
8754
9629
  getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
@@ -8759,6 +9634,7 @@ function bindExportsTo(luvio) {
8759
9634
  getSemanticSubMetric: createWireAdapterConstructor(luvio, getSemanticSubMetric_ldsAdapter, getSemanticSubMetricMetadata),
8760
9635
  getSemanticSubMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticSubMetricNotifyChange', notifyChangeFactory),
8761
9636
  getSemanticSubMetrics: createWireAdapterConstructor(luvio, getSemanticSubMetrics_ldsAdapter, getSemanticSubMetricsMetadata),
9637
+ getSemanticSubMetricsById: createWireAdapterConstructor(luvio, getSemanticSubMetricsById_ldsAdapter, getSemanticSubMetricsByIdMetadata),
8762
9638
  // Imperative GET Adapters
8763
9639
  getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
8764
9640
  getSemanticMetrics_imperative: createImperativeAdapter(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
@@ -8767,6 +9643,7 @@ function bindExportsTo(luvio) {
8767
9643
  getSemanticModels_imperative: createImperativeAdapter(luvio, getSemanticModels_ldsAdapter, getSemanticModelsMetadata),
8768
9644
  getSemanticSubMetric_imperative: createImperativeAdapter(luvio, getSemanticSubMetric_ldsAdapter, getSemanticSubMetricMetadata),
8769
9645
  getSemanticSubMetrics_imperative: createImperativeAdapter(luvio, getSemanticSubMetrics_ldsAdapter, getSemanticSubMetricsMetadata),
9646
+ getSemanticSubMetricsById_imperative: createImperativeAdapter(luvio, getSemanticSubMetricsById_ldsAdapter, getSemanticSubMetricsByIdMetadata),
8770
9647
  // Notify Update Availables
8771
9648
  };
8772
9649
  }
@@ -8784,6 +9661,7 @@ withDefaultLuvio((luvio) => {
8784
9661
  getSemanticSubMetric,
8785
9662
  getSemanticSubMetricNotifyChange,
8786
9663
  getSemanticSubMetrics,
9664
+ getSemanticSubMetricsById,
8787
9665
  getSemanticMetric_imperative,
8788
9666
  getSemanticMetrics_imperative,
8789
9667
  getSemanticMetricsToSubMetrics_imperative,
@@ -8791,8 +9669,9 @@ withDefaultLuvio((luvio) => {
8791
9669
  getSemanticModels_imperative,
8792
9670
  getSemanticSubMetric_imperative,
8793
9671
  getSemanticSubMetrics_imperative,
9672
+ getSemanticSubMetricsById_imperative,
8794
9673
  } = bindExportsTo(luvio));
8795
9674
  });
8796
9675
 
8797
- export { createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetrics_imperative };
8798
- // version: 1.308.0-e148a73d6a
9676
+ export { createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative };
9677
+ // version: 1.310.0-51b4ab090c