@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev4 → 1.332.0-dev6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +951 -692
  2. package/dist/es/es2018/types/src/generated/adapters/deleteGoalFromSubMetric.d.ts +15 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetrics.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/patchSemanticMetricGoal.d.ts +19 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  7. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +3 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +4 -4
  10. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +3 -5
  11. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
  12. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +4 -1
  13. package/dist/es/es2018/types/src/generated/types/SemanticGoalStatusConditionInputRepresentation.d.ts +43 -0
  14. package/dist/es/es2018/types/src/generated/types/SemanticGoalStatusConditionOutputRepresentation.d.ts +43 -0
  15. package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalInputRepresentation.d.ts +8 -12
  16. package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalOutputRepresentation.d.ts +8 -12
  17. package/package.json +3 -3
  18. package/sfdc/index.js +945 -680
  19. package/src/raml/api.raml +136 -57
  20. package/src/raml/luvio.raml +9 -0
  21. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +0 -31
  22. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +0 -31
  23. package/dist/es/es2018/types/src/generated/types/SemanticGoalValueInputRepresentation.d.ts +0 -28
  24. package/dist/es/es2018/types/src/generated/types/SemanticGoalValueOutputRepresentation.d.ts +0 -28
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$d, typeCheckConfig as typeCheckConfig$d, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$f, typeCheckConfig as typeCheckConfig$f, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9 } 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$$(obj, path = 'SemanticBaseModelInputRepresentation') {
105
+ function validate$Z(obj, path = 'SemanticBaseModelInputRepresentation') {
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 + '")');
@@ -118,7 +118,7 @@ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
118
118
  return v_error === undefined ? null : v_error;
119
119
  }
120
120
 
121
- function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
121
+ function validate$Y(obj, path = 'SemanticFilterInputRepresentation') {
122
122
  const v_error = (() => {
123
123
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
124
124
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -148,7 +148,7 @@ function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
148
148
  return v_error === undefined ? null : v_error;
149
149
  }
150
150
 
151
- function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
151
+ function validate$X(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
152
152
  const v_error = (() => {
153
153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -211,7 +211,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
211
211
  for (let i = 0; i < obj_filters.length; i++) {
212
212
  const obj_filters_item = obj_filters[i];
213
213
  const path_filters_item = path_filters + '[' + i + ']';
214
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
214
+ const referencepath_filters_itemValidationError = validate$Y(obj_filters_item, path_filters_item);
215
215
  if (referencepath_filters_itemValidationError !== null) {
216
216
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
217
217
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -258,7 +258,7 @@ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
258
258
  return v_error === undefined ? null : v_error;
259
259
  }
260
260
 
261
- function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
261
+ function validate$W(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
262
262
  const v_error = (() => {
263
263
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
264
264
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -335,7 +335,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
335
335
  for (let i = 0; i < obj_filters.length; i++) {
336
336
  const obj_filters_item = obj_filters[i];
337
337
  const path_filters_item = path_filters + '[' + i + ']';
338
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
338
+ const referencepath_filters_itemValidationError = validate$Y(obj_filters_item, path_filters_item);
339
339
  if (referencepath_filters_itemValidationError !== null) {
340
340
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
341
341
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -403,7 +403,7 @@ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
403
403
  return v_error === undefined ? null : v_error;
404
404
  }
405
405
 
406
- function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
406
+ function validate$V(obj, path = 'SemanticDimensionInputRepresentation') {
407
407
  const v_error = (() => {
408
408
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
409
409
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -482,7 +482,7 @@ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
482
482
  return v_error === undefined ? null : v_error;
483
483
  }
484
484
 
485
- function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
485
+ function validate$U(obj, path = 'SemanticMeasurementInputRepresentation') {
486
486
  const v_error = (() => {
487
487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
488
488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -589,7 +589,7 @@ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
589
589
  return v_error === undefined ? null : v_error;
590
590
  }
591
591
 
592
- function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
592
+ function validate$T(obj, path = 'SemanticDataObjectInputRepresentation') {
593
593
  const v_error = (() => {
594
594
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
595
595
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -638,7 +638,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
638
638
  for (let i = 0; i < obj_filters.length; i++) {
639
639
  const obj_filters_item = obj_filters[i];
640
640
  const path_filters_item = path_filters + '[' + i + ']';
641
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
641
+ const referencepath_filters_itemValidationError = validate$Y(obj_filters_item, path_filters_item);
642
642
  if (referencepath_filters_itemValidationError !== null) {
643
643
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
644
644
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -669,7 +669,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
669
669
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
670
670
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
671
671
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
672
- const referencepath_semanticDimensions_itemValidationError = validate$X(obj_semanticDimensions_item, path_semanticDimensions_item);
672
+ const referencepath_semanticDimensions_itemValidationError = validate$V(obj_semanticDimensions_item, path_semanticDimensions_item);
673
673
  if (referencepath_semanticDimensions_itemValidationError !== null) {
674
674
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
675
675
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -686,7 +686,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
686
686
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
687
687
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
688
688
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
689
- const referencepath_semanticMeasurements_itemValidationError = validate$W(obj_semanticMeasurements_item, path_semanticMeasurements_item);
689
+ const referencepath_semanticMeasurements_itemValidationError = validate$U(obj_semanticMeasurements_item, path_semanticMeasurements_item);
690
690
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
691
691
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
692
692
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -705,7 +705,7 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
705
705
  return v_error === undefined ? null : v_error;
706
706
  }
707
707
 
708
- function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation') {
708
+ function validate$S(obj, path = 'BinDimensionConfigurationInputRepresentation') {
709
709
  const v_error = (() => {
710
710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
711
711
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -717,7 +717,7 @@ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation')
717
717
  return v_error === undefined ? null : v_error;
718
718
  }
719
719
 
720
- function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
720
+ function validate$R(obj, path = 'GroupDimensionGroupInputRepresentation') {
721
721
  const v_error = (() => {
722
722
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
723
723
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -747,7 +747,7 @@ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
747
747
  return v_error === undefined ? null : v_error;
748
748
  }
749
749
 
750
- function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
750
+ function validate$Q(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
751
751
  const v_error = (() => {
752
752
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
753
753
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -761,7 +761,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
761
761
  for (let i = 0; i < obj_groups.length; i++) {
762
762
  const obj_groups_item = obj_groups[i];
763
763
  const path_groups_item = path_groups + '[' + i + ']';
764
- const referencepath_groups_itemValidationError = validate$T(obj_groups_item, path_groups_item);
764
+ const referencepath_groups_itemValidationError = validate$R(obj_groups_item, path_groups_item);
765
765
  if (referencepath_groups_itemValidationError !== null) {
766
766
  let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
767
767
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -780,7 +780,7 @@ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation'
780
780
  return v_error === undefined ? null : v_error;
781
781
  }
782
782
 
783
- function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
783
+ function validate$P(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
784
784
  const v_error = (() => {
785
785
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
786
786
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -788,7 +788,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
788
788
  if (obj.binDimension !== undefined) {
789
789
  const obj_binDimension = obj.binDimension;
790
790
  const path_binDimension = path + '.binDimension';
791
- const referencepath_binDimensionValidationError = validate$U(obj_binDimension, path_binDimension);
791
+ const referencepath_binDimensionValidationError = validate$S(obj_binDimension, path_binDimension);
792
792
  if (referencepath_binDimensionValidationError !== null) {
793
793
  let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
794
794
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -798,7 +798,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
798
798
  if (obj.groupDimension !== undefined) {
799
799
  const obj_groupDimension = obj.groupDimension;
800
800
  const path_groupDimension = path + '.groupDimension';
801
- const referencepath_groupDimensionValidationError = validate$S(obj_groupDimension, path_groupDimension);
801
+ const referencepath_groupDimensionValidationError = validate$Q(obj_groupDimension, path_groupDimension);
802
802
  if (referencepath_groupDimensionValidationError !== null) {
803
803
  let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
804
804
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -809,7 +809,7 @@ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
809
809
  return v_error === undefined ? null : v_error;
810
810
  }
811
811
 
812
- function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
812
+ function validate$O(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
813
813
  const v_error = (() => {
814
814
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
815
815
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -832,7 +832,7 @@ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
832
832
  return v_error === undefined ? null : v_error;
833
833
  }
834
834
 
835
- function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
835
+ function validate$N(obj, path = 'SemanticFieldReferenceInputRepresentation') {
836
836
  const v_error = (() => {
837
837
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
838
838
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -847,7 +847,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
847
847
  if (obj.tableFieldReference !== undefined) {
848
848
  const obj_tableFieldReference = obj.tableFieldReference;
849
849
  const path_tableFieldReference = path + '.tableFieldReference';
850
- const referencepath_tableFieldReferenceValidationError = validate$Q(obj_tableFieldReference, path_tableFieldReference);
850
+ const referencepath_tableFieldReferenceValidationError = validate$O(obj_tableFieldReference, path_tableFieldReference);
851
851
  if (referencepath_tableFieldReferenceValidationError !== null) {
852
852
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
853
853
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -858,7 +858,7 @@ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
858
858
  return v_error === undefined ? null : v_error;
859
859
  }
860
860
 
861
- function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
861
+ function validate$M(obj, path = 'SemanticGroupingInputRepresentation') {
862
862
  const v_error = (() => {
863
863
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
864
864
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -873,7 +873,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
873
873
  if (obj.configuration !== undefined) {
874
874
  const obj_configuration = obj.configuration;
875
875
  const path_configuration = path + '.configuration';
876
- const referencepath_configurationValidationError = validate$R(obj_configuration, path_configuration);
876
+ const referencepath_configurationValidationError = validate$P(obj_configuration, path_configuration);
877
877
  if (referencepath_configurationValidationError !== null) {
878
878
  let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
879
879
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -890,7 +890,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
890
890
  if (obj.fieldReference !== undefined) {
891
891
  const obj_fieldReference = obj.fieldReference;
892
892
  const path_fieldReference = path + '.fieldReference';
893
- const referencepath_fieldReferenceValidationError = validate$P(obj_fieldReference, path_fieldReference);
893
+ const referencepath_fieldReferenceValidationError = validate$N(obj_fieldReference, path_fieldReference);
894
894
  if (referencepath_fieldReferenceValidationError !== null) {
895
895
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
896
896
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -915,7 +915,7 @@ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
915
915
  return v_error === undefined ? null : v_error;
916
916
  }
917
917
 
918
- function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
918
+ function validate$L(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
919
919
  const v_error = (() => {
920
920
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
921
921
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -959,7 +959,7 @@ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
959
959
  return v_error === undefined ? null : v_error;
960
960
  }
961
961
 
962
- function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
962
+ function validate$K(obj, path = 'SemanticRelationshipInputRepresentation') {
963
963
  const v_error = (() => {
964
964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
965
965
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -987,7 +987,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
987
987
  for (let i = 0; i < obj_criteria.length; i++) {
988
988
  const obj_criteria_item = obj_criteria[i];
989
989
  const path_criteria_item = path_criteria + '[' + i + ']';
990
- const referencepath_criteria_itemValidationError = validate$N(obj_criteria_item, path_criteria_item);
990
+ const referencepath_criteria_itemValidationError = validate$L(obj_criteria_item, path_criteria_item);
991
991
  if (referencepath_criteria_itemValidationError !== null) {
992
992
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
993
993
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1048,7 +1048,7 @@ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
1048
1048
  return v_error === undefined ? null : v_error;
1049
1049
  }
1050
1050
 
1051
- function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1051
+ function validate$J(obj, path = 'SemanticMappedFieldInputRepresentation') {
1052
1052
  const v_error = (() => {
1053
1053
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1054
1054
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1076,7 +1076,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1076
1076
  for (let i = 0; i < obj_fields.length; i++) {
1077
1077
  const obj_fields_item = obj_fields[i];
1078
1078
  const path_fields_item = path_fields + '[' + i + ']';
1079
- const referencepath_fields_itemValidationError = validate$Q(obj_fields_item, path_fields_item);
1079
+ const referencepath_fields_itemValidationError = validate$O(obj_fields_item, path_fields_item);
1080
1080
  if (referencepath_fields_itemValidationError !== null) {
1081
1081
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
1082
1082
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1101,7 +1101,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1101
1101
  if (obj.semanticDimension !== undefined) {
1102
1102
  const obj_semanticDimension = obj.semanticDimension;
1103
1103
  const path_semanticDimension = path + '.semanticDimension';
1104
- const referencepath_semanticDimensionValidationError = validate$X(obj_semanticDimension, path_semanticDimension);
1104
+ const referencepath_semanticDimensionValidationError = validate$V(obj_semanticDimension, path_semanticDimension);
1105
1105
  if (referencepath_semanticDimensionValidationError !== null) {
1106
1106
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
1107
1107
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1111,7 +1111,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1111
1111
  if (obj.semanticMeasurement !== undefined) {
1112
1112
  const obj_semanticMeasurement = obj.semanticMeasurement;
1113
1113
  const path_semanticMeasurement = path + '.semanticMeasurement';
1114
- const referencepath_semanticMeasurementValidationError = validate$W(obj_semanticMeasurement, path_semanticMeasurement);
1114
+ const referencepath_semanticMeasurementValidationError = validate$U(obj_semanticMeasurement, path_semanticMeasurement);
1115
1115
  if (referencepath_semanticMeasurementValidationError !== null) {
1116
1116
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
1117
1117
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1122,7 +1122,7 @@ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1122
1122
  return v_error === undefined ? null : v_error;
1123
1123
  }
1124
1124
 
1125
- function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1125
+ function validate$I(obj, path = 'SemanticUnionInputRepresentation') {
1126
1126
  const v_error = (() => {
1127
1127
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1128
1128
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1157,7 +1157,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1157
1157
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1158
1158
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1159
1159
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1160
- const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1160
+ const referencepath_semanticDataObjects_itemValidationError = validate$T(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1161
1161
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1162
1162
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1163
1163
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1174,7 +1174,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1174
1174
  for (let i = 0; i < obj_semanticMappedFields.length; i++) {
1175
1175
  const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
1176
1176
  const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
1177
- const referencepath_semanticMappedFields_itemValidationError = validate$L(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1177
+ const referencepath_semanticMappedFields_itemValidationError = validate$J(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1178
1178
  if (referencepath_semanticMappedFields_itemValidationError !== null) {
1179
1179
  let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
1180
1180
  message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1186,7 +1186,7 @@ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1186
1186
  return v_error === undefined ? null : v_error;
1187
1187
  }
1188
1188
 
1189
- function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1189
+ function validate$H(obj, path = 'SemanticLogicalViewInputRepresentation') {
1190
1190
  const v_error = (() => {
1191
1191
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1192
1192
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1228,7 +1228,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1228
1228
  for (let i = 0; i < obj_filters.length; i++) {
1229
1229
  const obj_filters_item = obj_filters[i];
1230
1230
  const path_filters_item = path_filters + '[' + i + ']';
1231
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1231
+ const referencepath_filters_itemValidationError = validate$Y(obj_filters_item, path_filters_item);
1232
1232
  if (referencepath_filters_itemValidationError !== null) {
1233
1233
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1234
1234
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1252,7 +1252,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1252
1252
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1253
1253
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1254
1254
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1255
- const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1255
+ const referencepath_semanticDataObjects_itemValidationError = validate$T(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1256
1256
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1257
1257
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1258
1258
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1269,7 +1269,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1269
1269
  for (let i = 0; i < obj_semanticRelationships.length; i++) {
1270
1270
  const obj_semanticRelationships_item = obj_semanticRelationships[i];
1271
1271
  const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
1272
- const referencepath_semanticRelationships_itemValidationError = validate$M(obj_semanticRelationships_item, path_semanticRelationships_item);
1272
+ const referencepath_semanticRelationships_itemValidationError = validate$K(obj_semanticRelationships_item, path_semanticRelationships_item);
1273
1273
  if (referencepath_semanticRelationships_itemValidationError !== null) {
1274
1274
  let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
1275
1275
  message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1286,7 +1286,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1286
1286
  for (let i = 0; i < obj_semanticUnions.length; i++) {
1287
1287
  const obj_semanticUnions_item = obj_semanticUnions[i];
1288
1288
  const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
1289
- const referencepath_semanticUnions_itemValidationError = validate$K(obj_semanticUnions_item, path_semanticUnions_item);
1289
+ const referencepath_semanticUnions_itemValidationError = validate$I(obj_semanticUnions_item, path_semanticUnions_item);
1290
1290
  if (referencepath_semanticUnions_itemValidationError !== null) {
1291
1291
  let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
1292
1292
  message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1298,7 +1298,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1298
1298
  return v_error === undefined ? null : v_error;
1299
1299
  }
1300
1300
 
1301
- function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1301
+ function validate$G(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
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 + '")');
@@ -1306,7 +1306,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1306
1306
  if (obj.identifierDimensionReference !== undefined) {
1307
1307
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
1308
1308
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
1309
- const referencepath_identifierDimensionReferenceValidationError = validate$P(obj_identifierDimensionReference, path_identifierDimensionReference);
1309
+ const referencepath_identifierDimensionReferenceValidationError = validate$N(obj_identifierDimensionReference, path_identifierDimensionReference);
1310
1310
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
1311
1311
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
1312
1312
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1316,7 +1316,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1316
1316
  if (obj.namingDimensionReference !== undefined) {
1317
1317
  const obj_namingDimensionReference = obj.namingDimensionReference;
1318
1318
  const path_namingDimensionReference = path + '.namingDimensionReference';
1319
- const referencepath_namingDimensionReferenceValidationError = validate$P(obj_namingDimensionReference, path_namingDimensionReference);
1319
+ const referencepath_namingDimensionReferenceValidationError = validate$N(obj_namingDimensionReference, path_namingDimensionReference);
1320
1320
  if (referencepath_namingDimensionReferenceValidationError !== null) {
1321
1321
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
1322
1322
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1327,7 +1327,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1327
1327
  return v_error === undefined ? null : v_error;
1328
1328
  }
1329
1329
 
1330
- function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1330
+ function validate$F(obj, path = 'SemanticInsightTypeInputRepresentation') {
1331
1331
  const v_error = (() => {
1332
1332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1333
1333
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1350,7 +1350,7 @@ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1350
1350
  return v_error === undefined ? null : v_error;
1351
1351
  }
1352
1352
 
1353
- function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1353
+ function validate$E(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1354
1354
  const v_error = (() => {
1355
1355
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1356
1356
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1358,7 +1358,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1358
1358
  if (obj.identifyingDimension !== undefined) {
1359
1359
  const obj_identifyingDimension = obj.identifyingDimension;
1360
1360
  const path_identifyingDimension = path + '.identifyingDimension';
1361
- const referencepath_identifyingDimensionValidationError = validate$I(obj_identifyingDimension, path_identifyingDimension);
1361
+ const referencepath_identifyingDimensionValidationError = validate$G(obj_identifyingDimension, path_identifyingDimension);
1362
1362
  if (referencepath_identifyingDimensionValidationError !== null) {
1363
1363
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
1364
1364
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1374,7 +1374,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1374
1374
  for (let i = 0; i < obj_insightTypes.length; i++) {
1375
1375
  const obj_insightTypes_item = obj_insightTypes[i];
1376
1376
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
1377
- const referencepath_insightTypes_itemValidationError = validate$H(obj_insightTypes_item, path_insightTypes_item);
1377
+ const referencepath_insightTypes_itemValidationError = validate$F(obj_insightTypes_item, path_insightTypes_item);
1378
1378
  if (referencepath_insightTypes_itemValidationError !== null) {
1379
1379
  let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
1380
1380
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1391,7 +1391,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1391
1391
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
1392
1392
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
1393
1393
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
1394
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$P(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1394
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$N(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1395
1395
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
1396
1396
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
1397
1397
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1424,7 +1424,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1424
1424
  return v_error === undefined ? null : v_error;
1425
1425
  }
1426
1426
 
1427
- function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1427
+ function validate$D(obj, path = 'SemanticMetricInputRepresentation') {
1428
1428
  const v_error = (() => {
1429
1429
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1430
1430
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1438,7 +1438,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1438
1438
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
1439
1439
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
1440
1440
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
1441
- const referencepath_additionalDimensions_itemValidationError = validate$P(obj_additionalDimensions_item, path_additionalDimensions_item);
1441
+ const referencepath_additionalDimensions_itemValidationError = validate$N(obj_additionalDimensions_item, path_additionalDimensions_item);
1442
1442
  if (referencepath_additionalDimensions_itemValidationError !== null) {
1443
1443
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
1444
1444
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1483,7 +1483,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1483
1483
  for (let i = 0; i < obj_filters.length; i++) {
1484
1484
  const obj_filters_item = obj_filters[i];
1485
1485
  const path_filters_item = path_filters + '[' + i + ']';
1486
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1486
+ const referencepath_filters_itemValidationError = validate$Y(obj_filters_item, path_filters_item);
1487
1487
  if (referencepath_filters_itemValidationError !== null) {
1488
1488
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1489
1489
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1494,7 +1494,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1494
1494
  if (obj.insightsSettings !== undefined) {
1495
1495
  const obj_insightsSettings = obj.insightsSettings;
1496
1496
  const path_insightsSettings = path + '.insightsSettings';
1497
- const referencepath_insightsSettingsValidationError = validate$G(obj_insightsSettings, path_insightsSettings);
1497
+ const referencepath_insightsSettingsValidationError = validate$E(obj_insightsSettings, path_insightsSettings);
1498
1498
  if (referencepath_insightsSettingsValidationError !== null) {
1499
1499
  let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
1500
1500
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1518,7 +1518,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1518
1518
  if (obj.measurementReference !== undefined) {
1519
1519
  const obj_measurementReference = obj.measurementReference;
1520
1520
  const path_measurementReference = path + '.measurementReference';
1521
- const referencepath_measurementReferenceValidationError = validate$P(obj_measurementReference, path_measurementReference);
1521
+ const referencepath_measurementReferenceValidationError = validate$N(obj_measurementReference, path_measurementReference);
1522
1522
  if (referencepath_measurementReferenceValidationError !== null) {
1523
1523
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
1524
1524
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1528,7 +1528,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1528
1528
  if (obj.timeDimensionReference !== undefined) {
1529
1529
  const obj_timeDimensionReference = obj.timeDimensionReference;
1530
1530
  const path_timeDimensionReference = path + '.timeDimensionReference';
1531
- const referencepath_timeDimensionReferenceValidationError = validate$P(obj_timeDimensionReference, path_timeDimensionReference);
1531
+ const referencepath_timeDimensionReferenceValidationError = validate$N(obj_timeDimensionReference, path_timeDimensionReference);
1532
1532
  if (referencepath_timeDimensionReferenceValidationError !== null) {
1533
1533
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
1534
1534
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1553,7 +1553,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1553
1553
  return v_error === undefined ? null : v_error;
1554
1554
  }
1555
1555
 
1556
- function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1556
+ function validate$C(obj, path = 'SemanticParameterInputRepresentation') {
1557
1557
  const v_error = (() => {
1558
1558
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1559
1559
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1640,7 +1640,7 @@ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1640
1640
  }
1641
1641
 
1642
1642
  const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
1643
- function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1643
+ function validate$B(obj, path = 'SemanticBaseModelOutputRepresentation') {
1644
1644
  const v_error = (() => {
1645
1645
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1646
1646
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1660,7 +1660,7 @@ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1660
1660
  })();
1661
1661
  return v_error === undefined ? null : v_error;
1662
1662
  }
1663
- const select$F = function SemanticBaseModelOutputRepresentationSelect() {
1663
+ const select$G = function SemanticBaseModelOutputRepresentationSelect() {
1664
1664
  return {
1665
1665
  kind: 'Fragment',
1666
1666
  version: VERSION$t,
@@ -1701,7 +1701,7 @@ function equals$t(existing, incoming) {
1701
1701
  }
1702
1702
 
1703
1703
  const VERSION$s = "9b5a0e85af6a943c95625e2dfe81ab96";
1704
- function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1704
+ function validate$A(obj, path = 'SemanticFilterOutputRepresentation') {
1705
1705
  const v_error = (() => {
1706
1706
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1707
1707
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1730,7 +1730,7 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1730
1730
  })();
1731
1731
  return v_error === undefined ? null : v_error;
1732
1732
  }
1733
- const select$E = function SemanticFilterOutputRepresentationSelect() {
1733
+ const select$F = function SemanticFilterOutputRepresentationSelect() {
1734
1734
  return {
1735
1735
  kind: 'Fragment',
1736
1736
  version: VERSION$s,
@@ -1797,8 +1797,8 @@ function equals$s(existing, incoming) {
1797
1797
  return true;
1798
1798
  }
1799
1799
 
1800
- const VERSION$r = "51514a172af5e420504a2143725b4528";
1801
- function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1800
+ const VERSION$r = "8137018d7bcc1592081ebddf74ddd42a";
1801
+ function validate$z(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1802
1802
  const v_error = (() => {
1803
1803
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1804
1804
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1883,7 +1883,7 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1883
1883
  for (let i = 0; i < obj_filters.length; i++) {
1884
1884
  const obj_filters_item = obj_filters[i];
1885
1885
  const path_filters_item = path_filters + '[' + i + ']';
1886
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
1886
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
1887
1887
  if (referencepath_filters_itemValidationError !== null) {
1888
1888
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1889
1889
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1924,6 +1924,13 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1924
1924
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
1925
1925
  }
1926
1926
  }
1927
+ if (obj.level !== undefined) {
1928
+ const obj_level = obj.level;
1929
+ const path_level = path + '.level';
1930
+ if (typeof obj_level !== 'string') {
1931
+ return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
1932
+ }
1933
+ }
1927
1934
  if (obj.semanticDataType !== undefined) {
1928
1935
  const obj_semanticDataType = obj.semanticDataType;
1929
1936
  const path_semanticDataType = path + '.semanticDataType';
@@ -1949,20 +1956,20 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1949
1956
  return v_error === undefined ? null : v_error;
1950
1957
  }
1951
1958
  const RepresentationType$g = 'SemanticCalculatedDimensionOutputRepresentation';
1952
- function keyBuilder$u(luvio, config) {
1959
+ function keyBuilder$v(luvio, config) {
1953
1960
  return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
1954
1961
  }
1955
1962
  function keyBuilderFromType$b(luvio, object) {
1956
1963
  const keyParams = {
1957
1964
  name: object.id
1958
1965
  };
1959
- return keyBuilder$u(luvio, keyParams);
1966
+ return keyBuilder$v(luvio, keyParams);
1960
1967
  }
1961
1968
  function normalize$g(input, existing, path, luvio, store, timestamp) {
1962
1969
  return input;
1963
1970
  }
1964
- const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect() {
1965
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
1971
+ const select$E = function SemanticCalculatedDimensionOutputRepresentationSelect() {
1972
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$F();
1966
1973
  return {
1967
1974
  kind: 'Fragment',
1968
1975
  version: VERSION$r,
@@ -2051,6 +2058,11 @@ const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect(
2051
2058
  kind: 'Scalar',
2052
2059
  required: false
2053
2060
  },
2061
+ {
2062
+ name: 'level',
2063
+ kind: 'Scalar',
2064
+ required: false
2065
+ },
2054
2066
  {
2055
2067
  name: 'semanticDataType',
2056
2068
  kind: 'Scalar',
@@ -2246,6 +2258,19 @@ function equals$r(existing, incoming) {
2246
2258
  return false;
2247
2259
  }
2248
2260
  }
2261
+ const existing_level = existing.level;
2262
+ const incoming_level = incoming.level;
2263
+ // if at least one of these optionals is defined
2264
+ if (existing_level !== undefined || incoming_level !== undefined) {
2265
+ // if one of these is not defined we know the other is defined and therefore
2266
+ // not equal
2267
+ if (existing_level === undefined || incoming_level === undefined) {
2268
+ return false;
2269
+ }
2270
+ if (!(existing_level === incoming_level)) {
2271
+ return false;
2272
+ }
2273
+ }
2249
2274
  const existing_semanticDataType = existing.semanticDataType;
2250
2275
  const incoming_semanticDataType = incoming.semanticDataType;
2251
2276
  // if at least one of these optionals is defined
@@ -2307,7 +2332,7 @@ function equals$r(existing, incoming) {
2307
2332
  }
2308
2333
  const ingest$g = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2309
2334
  if (process.env.NODE_ENV !== 'production') {
2310
- const validateError = validate$B(input);
2335
+ const validateError = validate$z(input);
2311
2336
  if (validateError !== null) {
2312
2337
  throw validateError;
2313
2338
  }
@@ -2327,8 +2352,8 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
2327
2352
  });
2328
2353
  }
2329
2354
 
2330
- const VERSION$q = "6c8d910667cf399d3aa6e5a57e1fdd61";
2331
- function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
2355
+ const VERSION$q = "4dc83d3583b0937db8808447abe03505";
2356
+ function validate$y(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
2332
2357
  const v_error = (() => {
2333
2358
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2334
2359
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2427,7 +2452,7 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2427
2452
  for (let i = 0; i < obj_filters.length; i++) {
2428
2453
  const obj_filters_item = obj_filters[i];
2429
2454
  const path_filters_item = path_filters + '[' + i + ']';
2430
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
2455
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
2431
2456
  if (referencepath_filters_itemValidationError !== null) {
2432
2457
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
2433
2458
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2475,6 +2500,13 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2475
2500
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
2476
2501
  }
2477
2502
  }
2503
+ if (obj.level !== undefined) {
2504
+ const obj_level = obj.level;
2505
+ const path_level = path + '.level';
2506
+ if (typeof obj_level !== 'string') {
2507
+ return new TypeError('Expected "string" but received "' + typeof obj_level + '" (at "' + path_level + '")');
2508
+ }
2509
+ }
2478
2510
  if (obj.semanticDataType !== undefined) {
2479
2511
  const obj_semanticDataType = obj.semanticDataType;
2480
2512
  const path_semanticDataType = path + '.semanticDataType';
@@ -2521,20 +2553,20 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2521
2553
  return v_error === undefined ? null : v_error;
2522
2554
  }
2523
2555
  const RepresentationType$f = 'SemanticCalculatedMeasurementOutputRepresentation';
2524
- function keyBuilder$t(luvio, config) {
2556
+ function keyBuilder$u(luvio, config) {
2525
2557
  return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
2526
2558
  }
2527
2559
  function keyBuilderFromType$a(luvio, object) {
2528
2560
  const keyParams = {
2529
2561
  name: object.id
2530
2562
  };
2531
- return keyBuilder$t(luvio, keyParams);
2563
+ return keyBuilder$u(luvio, keyParams);
2532
2564
  }
2533
2565
  function normalize$f(input, existing, path, luvio, store, timestamp) {
2534
2566
  return input;
2535
2567
  }
2536
- const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
2537
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
2568
+ const select$D = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
2569
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$F();
2538
2570
  return {
2539
2571
  kind: 'Fragment',
2540
2572
  version: VERSION$q,
@@ -2638,6 +2670,11 @@ const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelec
2638
2670
  kind: 'Scalar',
2639
2671
  required: false
2640
2672
  },
2673
+ {
2674
+ name: 'level',
2675
+ kind: 'Scalar',
2676
+ required: false
2677
+ },
2641
2678
  {
2642
2679
  name: 'semanticDataType',
2643
2680
  kind: 'Scalar',
@@ -2900,6 +2937,19 @@ function equals$q(existing, incoming) {
2900
2937
  return false;
2901
2938
  }
2902
2939
  }
2940
+ const existing_level = existing.level;
2941
+ const incoming_level = incoming.level;
2942
+ // if at least one of these optionals is defined
2943
+ if (existing_level !== undefined || incoming_level !== undefined) {
2944
+ // if one of these is not defined we know the other is defined and therefore
2945
+ // not equal
2946
+ if (existing_level === undefined || incoming_level === undefined) {
2947
+ return false;
2948
+ }
2949
+ if (!(existing_level === incoming_level)) {
2950
+ return false;
2951
+ }
2952
+ }
2903
2953
  const existing_semanticDataType = existing.semanticDataType;
2904
2954
  const incoming_semanticDataType = incoming.semanticDataType;
2905
2955
  // if at least one of these optionals is defined
@@ -2987,7 +3037,7 @@ function equals$q(existing, incoming) {
2987
3037
  }
2988
3038
  const ingest$f = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2989
3039
  if (process.env.NODE_ENV !== 'production') {
2990
- const validateError = validate$A(input);
3040
+ const validateError = validate$y(input);
2991
3041
  if (validateError !== null) {
2992
3042
  throw validateError;
2993
3043
  }
@@ -3007,7 +3057,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3007
3057
  });
3008
3058
  }
3009
3059
 
3010
- function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
3060
+ function validate$x(obj, path = 'SemanticDimensionOutputRepresentation') {
3011
3061
  const v_error = (() => {
3012
3062
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3013
3063
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3148,7 +3198,7 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
3148
3198
  return v_error === undefined ? null : v_error;
3149
3199
  }
3150
3200
 
3151
- function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
3201
+ function validate$w(obj, path = 'SemanticMeasurementOutputRepresentation') {
3152
3202
  const v_error = (() => {
3153
3203
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3154
3204
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3325,7 +3375,7 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
3325
3375
  }
3326
3376
 
3327
3377
  const VERSION$p = "4f111b93807b811179eb310384efdc35";
3328
- function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3378
+ function validate$v(obj, path = 'SemanticDataObjectOutputRepresentation') {
3329
3379
  const v_error = (() => {
3330
3380
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3331
3381
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3396,7 +3446,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3396
3446
  for (let i = 0; i < obj_filters.length; i++) {
3397
3447
  const obj_filters_item = obj_filters[i];
3398
3448
  const path_filters_item = path_filters + '[' + i + ']';
3399
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
3449
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
3400
3450
  if (referencepath_filters_itemValidationError !== null) {
3401
3451
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
3402
3452
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3446,7 +3496,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3446
3496
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
3447
3497
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
3448
3498
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
3449
- const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
3499
+ const referencepath_semanticDimensions_itemValidationError = validate$x(obj_semanticDimensions_item, path_semanticDimensions_item);
3450
3500
  if (referencepath_semanticDimensions_itemValidationError !== null) {
3451
3501
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
3452
3502
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3470,7 +3520,7 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3470
3520
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
3471
3521
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
3472
3522
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
3473
- const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3523
+ const referencepath_semanticMeasurements_itemValidationError = validate$w(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3474
3524
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
3475
3525
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
3476
3526
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3496,19 +3546,19 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3496
3546
  return v_error === undefined ? null : v_error;
3497
3547
  }
3498
3548
  const RepresentationType$e = 'SemanticDataObjectOutputRepresentation';
3499
- function keyBuilder$s(luvio, config) {
3549
+ function keyBuilder$t(luvio, config) {
3500
3550
  return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
3501
3551
  }
3502
3552
  function keyBuilderFromType$9(luvio, object) {
3503
3553
  const keyParams = {
3504
3554
  name: object.id
3505
3555
  };
3506
- return keyBuilder$s(luvio, keyParams);
3556
+ return keyBuilder$t(luvio, keyParams);
3507
3557
  }
3508
3558
  function normalize$e(input, existing, path, luvio, store, timestamp) {
3509
3559
  return input;
3510
3560
  }
3511
- const select$B = function SemanticDataObjectOutputRepresentationSelect() {
3561
+ const select$C = function SemanticDataObjectOutputRepresentationSelect() {
3512
3562
  return {
3513
3563
  kind: 'Fragment',
3514
3564
  version: VERSION$p,
@@ -3524,7 +3574,7 @@ function equals$p(existing, incoming) {
3524
3574
  }
3525
3575
  const ingest$e = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3526
3576
  if (process.env.NODE_ENV !== 'production') {
3527
- const validateError = validate$x(input);
3577
+ const validateError = validate$v(input);
3528
3578
  if (validateError !== null) {
3529
3579
  throw validateError;
3530
3580
  }
@@ -3545,7 +3595,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3545
3595
  }
3546
3596
 
3547
3597
  const VERSION$o = "ed64ca1a99171ace8b53aff11746cc2a";
3548
- function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
3598
+ function validate$u(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
3549
3599
  const v_error = (() => {
3550
3600
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3551
3601
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3554,7 +3604,7 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
3554
3604
  })();
3555
3605
  return v_error === undefined ? null : v_error;
3556
3606
  }
3557
- const select$A = function BinDimensionConfigurationOutputRepresentationSelect() {
3607
+ const select$B = function BinDimensionConfigurationOutputRepresentationSelect() {
3558
3608
  return {
3559
3609
  kind: 'Fragment',
3560
3610
  version: VERSION$o,
@@ -3577,7 +3627,7 @@ function equals$o(existing, incoming) {
3577
3627
  }
3578
3628
 
3579
3629
  const VERSION$n = "2cdadcd630abb7b981b2d131880a68c0";
3580
- function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3630
+ function validate$t(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3581
3631
  const v_error = (() => {
3582
3632
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3583
3633
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3604,7 +3654,7 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3604
3654
  })();
3605
3655
  return v_error === undefined ? null : v_error;
3606
3656
  }
3607
- const select$z = function GroupDimensionGroupOutputRepresentationSelect() {
3657
+ const select$A = function GroupDimensionGroupOutputRepresentationSelect() {
3608
3658
  return {
3609
3659
  kind: 'Fragment',
3610
3660
  version: VERSION$n,
@@ -3651,7 +3701,7 @@ function equals$n(existing, incoming) {
3651
3701
  }
3652
3702
 
3653
3703
  const VERSION$m = "55c60b6207985632192cb4e419822a86";
3654
- function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
3704
+ function validate$s(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
3655
3705
  const v_error = (() => {
3656
3706
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3657
3707
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3665,7 +3715,7 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3665
3715
  for (let i = 0; i < obj_groups.length; i++) {
3666
3716
  const obj_groups_item = obj_groups[i];
3667
3717
  const path_groups_item = path_groups + '[' + i + ']';
3668
- const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
3718
+ const referencepath_groups_itemValidationError = validate$t(obj_groups_item, path_groups_item);
3669
3719
  if (referencepath_groups_itemValidationError !== null) {
3670
3720
  let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
3671
3721
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3683,8 +3733,8 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3683
3733
  })();
3684
3734
  return v_error === undefined ? null : v_error;
3685
3735
  }
3686
- const select$y = function GroupDimensionConfigurationOutputRepresentationSelect() {
3687
- const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$z();
3736
+ const select$z = function GroupDimensionConfigurationOutputRepresentationSelect() {
3737
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$A();
3688
3738
  return {
3689
3739
  kind: 'Fragment',
3690
3740
  version: VERSION$m,
@@ -3741,7 +3791,7 @@ function equals$m(existing, incoming) {
3741
3791
  }
3742
3792
 
3743
3793
  const VERSION$l = "50dc390b159159afb1945b9a811c9f80";
3744
- function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3794
+ function validate$r(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3745
3795
  const v_error = (() => {
3746
3796
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3747
3797
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3749,7 +3799,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3749
3799
  if (obj.binDimension !== undefined) {
3750
3800
  const obj_binDimension = obj.binDimension;
3751
3801
  const path_binDimension = path + '.binDimension';
3752
- const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
3802
+ const referencepath_binDimensionValidationError = validate$u(obj_binDimension, path_binDimension);
3753
3803
  if (referencepath_binDimensionValidationError !== null) {
3754
3804
  let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
3755
3805
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3759,7 +3809,7 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3759
3809
  if (obj.groupDimension !== undefined) {
3760
3810
  const obj_groupDimension = obj.groupDimension;
3761
3811
  const path_groupDimension = path + '.groupDimension';
3762
- const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
3812
+ const referencepath_groupDimensionValidationError = validate$s(obj_groupDimension, path_groupDimension);
3763
3813
  if (referencepath_groupDimensionValidationError !== null) {
3764
3814
  let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
3765
3815
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3769,9 +3819,9 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3769
3819
  })();
3770
3820
  return v_error === undefined ? null : v_error;
3771
3821
  }
3772
- const select$x = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3773
- const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$A();
3774
- const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$y();
3822
+ const select$y = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3823
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$B();
3824
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$z();
3775
3825
  return {
3776
3826
  kind: 'Fragment',
3777
3827
  version: VERSION$l,
@@ -3823,7 +3873,7 @@ function equals$l(existing, incoming) {
3823
3873
  }
3824
3874
 
3825
3875
  const VERSION$k = "a2976cd68e629a917463a3b690cf2527";
3826
- function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3876
+ function validate$q(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3827
3877
  const v_error = (() => {
3828
3878
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3829
3879
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3845,7 +3895,7 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
3845
3895
  })();
3846
3896
  return v_error === undefined ? null : v_error;
3847
3897
  }
3848
- const select$w = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3898
+ const select$x = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3849
3899
  return {
3850
3900
  kind: 'Fragment',
3851
3901
  version: VERSION$k,
@@ -3895,7 +3945,7 @@ function equals$k(existing, incoming) {
3895
3945
  }
3896
3946
 
3897
3947
  const VERSION$j = "f49a2cbbe308f6f74cda3e2144fa66cd";
3898
- function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3948
+ function validate$p(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3899
3949
  const v_error = (() => {
3900
3950
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3901
3951
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3910,7 +3960,7 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3910
3960
  if (obj.tableFieldReference !== undefined) {
3911
3961
  const obj_tableFieldReference = obj.tableFieldReference;
3912
3962
  const path_tableFieldReference = path + '.tableFieldReference';
3913
- const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
3963
+ const referencepath_tableFieldReferenceValidationError = validate$q(obj_tableFieldReference, path_tableFieldReference);
3914
3964
  if (referencepath_tableFieldReferenceValidationError !== null) {
3915
3965
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
3916
3966
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3920,8 +3970,8 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3920
3970
  })();
3921
3971
  return v_error === undefined ? null : v_error;
3922
3972
  }
3923
- const select$v = function SemanticFieldReferenceOutputRepresentationSelect() {
3924
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$w();
3973
+ const select$w = function SemanticFieldReferenceOutputRepresentationSelect() {
3974
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$x();
3925
3975
  return {
3926
3976
  kind: 'Fragment',
3927
3977
  version: VERSION$j,
@@ -3972,7 +4022,7 @@ function equals$j(existing, incoming) {
3972
4022
  }
3973
4023
 
3974
4024
  const VERSION$i = "1daec40706bf767c719fa58831fad462";
3975
- function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
4025
+ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
3976
4026
  const v_error = (() => {
3977
4027
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3978
4028
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3998,7 +4048,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
3998
4048
  }
3999
4049
  const obj_configuration = obj.configuration;
4000
4050
  const path_configuration = path + '.configuration';
4001
- const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
4051
+ const referencepath_configurationValidationError = validate$r(obj_configuration, path_configuration);
4002
4052
  if (referencepath_configurationValidationError !== null) {
4003
4053
  let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
4004
4054
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4023,7 +4073,7 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
4023
4073
  }
4024
4074
  const obj_fieldReference = obj.fieldReference;
4025
4075
  const path_fieldReference = path + '.fieldReference';
4026
- const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
4076
+ const referencepath_fieldReferenceValidationError = validate$p(obj_fieldReference, path_fieldReference);
4027
4077
  if (referencepath_fieldReferenceValidationError !== null) {
4028
4078
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
4029
4079
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4064,21 +4114,21 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
4064
4114
  return v_error === undefined ? null : v_error;
4065
4115
  }
4066
4116
  const RepresentationType$d = 'SemanticGroupingOutputRepresentation';
4067
- function keyBuilder$r(luvio, config) {
4117
+ function keyBuilder$s(luvio, config) {
4068
4118
  return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
4069
4119
  }
4070
4120
  function keyBuilderFromType$8(luvio, object) {
4071
4121
  const keyParams = {
4072
4122
  name: object.id
4073
4123
  };
4074
- return keyBuilder$r(luvio, keyParams);
4124
+ return keyBuilder$s(luvio, keyParams);
4075
4125
  }
4076
4126
  function normalize$d(input, existing, path, luvio, store, timestamp) {
4077
4127
  return input;
4078
4128
  }
4079
- const select$u = function SemanticGroupingOutputRepresentationSelect() {
4080
- const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$x();
4081
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
4129
+ const select$v = function SemanticGroupingOutputRepresentationSelect() {
4130
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$y();
4131
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$w();
4082
4132
  return {
4083
4133
  kind: 'Fragment',
4084
4134
  version: VERSION$i,
@@ -4265,7 +4315,7 @@ function equals$i(existing, incoming) {
4265
4315
  }
4266
4316
  const ingest$d = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4267
4317
  if (process.env.NODE_ENV !== 'production') {
4268
- const validateError = validate$q(input);
4318
+ const validateError = validate$o(input);
4269
4319
  if (validateError !== null) {
4270
4320
  throw validateError;
4271
4321
  }
@@ -4286,7 +4336,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
4286
4336
  }
4287
4337
 
4288
4338
  const VERSION$h = "c5144c317ac72b60d580cab803514b8d";
4289
- function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4339
+ function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4290
4340
  const v_error = (() => {
4291
4341
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4292
4342
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4329,7 +4379,7 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
4329
4379
  })();
4330
4380
  return v_error === undefined ? null : v_error;
4331
4381
  }
4332
- const select$t = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4382
+ const select$u = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4333
4383
  return {
4334
4384
  kind: 'Fragment',
4335
4385
  version: VERSION$h,
@@ -4433,7 +4483,7 @@ function equals$h(existing, incoming) {
4433
4483
  }
4434
4484
 
4435
4485
  const VERSION$g = "b9778dace5726fcb57804d3afd529246";
4436
- function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4486
+ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
4437
4487
  const v_error = (() => {
4438
4488
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4439
4489
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4483,7 +4533,7 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4483
4533
  for (let i = 0; i < obj_criteria.length; i++) {
4484
4534
  const obj_criteria_item = obj_criteria[i];
4485
4535
  const path_criteria_item = path_criteria + '[' + i + ']';
4486
- const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
4536
+ const referencepath_criteria_itemValidationError = validate$n(obj_criteria_item, path_criteria_item);
4487
4537
  if (referencepath_criteria_itemValidationError !== null) {
4488
4538
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
4489
4539
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4563,20 +4613,20 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4563
4613
  return v_error === undefined ? null : v_error;
4564
4614
  }
4565
4615
  const RepresentationType$c = 'SemanticRelationshipOutputRepresentation';
4566
- function keyBuilder$q(luvio, config) {
4616
+ function keyBuilder$r(luvio, config) {
4567
4617
  return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
4568
4618
  }
4569
4619
  function keyBuilderFromType$7(luvio, object) {
4570
4620
  const keyParams = {
4571
4621
  name: object.id
4572
4622
  };
4573
- return keyBuilder$q(luvio, keyParams);
4623
+ return keyBuilder$r(luvio, keyParams);
4574
4624
  }
4575
4625
  function normalize$c(input, existing, path, luvio, store, timestamp) {
4576
4626
  return input;
4577
4627
  }
4578
- const select$s = function SemanticRelationshipOutputRepresentationSelect() {
4579
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$t();
4628
+ const select$t = function SemanticRelationshipOutputRepresentationSelect() {
4629
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$u();
4580
4630
  return {
4581
4631
  kind: 'Fragment',
4582
4632
  version: VERSION$g,
@@ -4867,7 +4917,7 @@ function equals$g(existing, incoming) {
4867
4917
  }
4868
4918
  const ingest$c = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4869
4919
  if (process.env.NODE_ENV !== 'production') {
4870
- const validateError = validate$o(input);
4920
+ const validateError = validate$m(input);
4871
4921
  if (validateError !== null) {
4872
4922
  throw validateError;
4873
4923
  }
@@ -4888,7 +4938,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
4888
4938
  }
4889
4939
 
4890
4940
  const VERSION$f = "eaf9b57a92e764fb2b5c27b6e031cfe1";
4891
- function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4941
+ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4892
4942
  const v_error = (() => {
4893
4943
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4894
4944
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4938,7 +4988,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4938
4988
  for (let i = 0; i < obj_fields.length; i++) {
4939
4989
  const obj_fields_item = obj_fields[i];
4940
4990
  const path_fields_item = path_fields + '[' + i + ']';
4941
- const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
4991
+ const referencepath_fields_itemValidationError = validate$q(obj_fields_item, path_fields_item);
4942
4992
  if (referencepath_fields_itemValidationError !== null) {
4943
4993
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
4944
4994
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4982,7 +5032,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4982
5032
  if (obj.semanticDimension !== undefined) {
4983
5033
  const obj_semanticDimension = obj.semanticDimension;
4984
5034
  const path_semanticDimension = path + '.semanticDimension';
4985
- const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
5035
+ const referencepath_semanticDimensionValidationError = validate$x(obj_semanticDimension, path_semanticDimension);
4986
5036
  if (referencepath_semanticDimensionValidationError !== null) {
4987
5037
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
4988
5038
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4992,7 +5042,7 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4992
5042
  if (obj.semanticMeasurement !== undefined) {
4993
5043
  const obj_semanticMeasurement = obj.semanticMeasurement;
4994
5044
  const path_semanticMeasurement = path + '.semanticMeasurement';
4995
- const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
5045
+ const referencepath_semanticMeasurementValidationError = validate$w(obj_semanticMeasurement, path_semanticMeasurement);
4996
5046
  if (referencepath_semanticMeasurementValidationError !== null) {
4997
5047
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
4998
5048
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5003,19 +5053,19 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5003
5053
  return v_error === undefined ? null : v_error;
5004
5054
  }
5005
5055
  const RepresentationType$b = 'SemanticMappedFieldOutputRepresentation';
5006
- function keyBuilder$p(luvio, config) {
5056
+ function keyBuilder$q(luvio, config) {
5007
5057
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
5008
5058
  }
5009
5059
  function keyBuilderFromType$6(luvio, object) {
5010
5060
  const keyParams = {
5011
5061
  name: object.id
5012
5062
  };
5013
- return keyBuilder$p(luvio, keyParams);
5063
+ return keyBuilder$q(luvio, keyParams);
5014
5064
  }
5015
5065
  function normalize$b(input, existing, path, luvio, store, timestamp) {
5016
5066
  return input;
5017
5067
  }
5018
- const select$r = function SemanticMappedFieldOutputRepresentationSelect() {
5068
+ const select$s = function SemanticMappedFieldOutputRepresentationSelect() {
5019
5069
  return {
5020
5070
  kind: 'Fragment',
5021
5071
  version: VERSION$f,
@@ -5031,7 +5081,7 @@ function equals$f(existing, incoming) {
5031
5081
  }
5032
5082
  const ingest$b = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5033
5083
  if (process.env.NODE_ENV !== 'production') {
5034
- const validateError = validate$n(input);
5084
+ const validateError = validate$l(input);
5035
5085
  if (validateError !== null) {
5036
5086
  throw validateError;
5037
5087
  }
@@ -5052,7 +5102,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
5052
5102
  }
5053
5103
 
5054
5104
  const VERSION$e = "69fe23112140e9fae50135dcb15c24c2";
5055
- function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
5105
+ function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
5056
5106
  const v_error = (() => {
5057
5107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5058
5108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5179,14 +5229,14 @@ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
5179
5229
  return v_error === undefined ? null : v_error;
5180
5230
  }
5181
5231
  const RepresentationType$a = 'SemanticUnionOutputRepresentation';
5182
- function keyBuilder$o(luvio, config) {
5232
+ function keyBuilder$p(luvio, config) {
5183
5233
  return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
5184
5234
  }
5185
5235
  function keyBuilderFromType$5(luvio, object) {
5186
5236
  const keyParams = {
5187
5237
  name: object.id
5188
5238
  };
5189
- return keyBuilder$o(luvio, keyParams);
5239
+ return keyBuilder$p(luvio, keyParams);
5190
5240
  }
5191
5241
  function normalize$a(input, existing, path, luvio, store, timestamp) {
5192
5242
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5227,7 +5277,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
5227
5277
  }
5228
5278
  return input;
5229
5279
  }
5230
- const select$q = function SemanticUnionOutputRepresentationSelect() {
5280
+ const select$r = function SemanticUnionOutputRepresentationSelect() {
5231
5281
  return {
5232
5282
  kind: 'Fragment',
5233
5283
  version: VERSION$e,
@@ -5289,14 +5339,14 @@ const select$q = function SemanticUnionOutputRepresentationSelect() {
5289
5339
  kind: 'Link',
5290
5340
  plural: true,
5291
5341
  required: false,
5292
- fragment: select$B()
5342
+ fragment: select$C()
5293
5343
  },
5294
5344
  {
5295
5345
  name: 'semanticMappedFields',
5296
5346
  kind: 'Link',
5297
5347
  plural: true,
5298
5348
  required: false,
5299
- fragment: select$r()
5349
+ fragment: select$s()
5300
5350
  }
5301
5351
  ]
5302
5352
  };
@@ -5453,7 +5503,7 @@ function equals$e(existing, incoming) {
5453
5503
  }
5454
5504
  const ingest$a = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5455
5505
  if (process.env.NODE_ENV !== 'production') {
5456
- const validateError = validate$m(input);
5506
+ const validateError = validate$k(input);
5457
5507
  if (validateError !== null) {
5458
5508
  throw validateError;
5459
5509
  }
@@ -5486,7 +5536,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
5486
5536
  }
5487
5537
 
5488
5538
  const VERSION$d = "f186bf0514421e7f42e284136d60ea6c";
5489
- function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5539
+ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5490
5540
  const v_error = (() => {
5491
5541
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5492
5542
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5550,7 +5600,7 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5550
5600
  for (let i = 0; i < obj_filters.length; i++) {
5551
5601
  const obj_filters_item = obj_filters[i];
5552
5602
  const path_filters_item = path_filters + '[' + i + ']';
5553
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
5603
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
5554
5604
  if (referencepath_filters_itemValidationError !== null) {
5555
5605
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5556
5606
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5637,14 +5687,14 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5637
5687
  return v_error === undefined ? null : v_error;
5638
5688
  }
5639
5689
  const RepresentationType$9 = 'SemanticLogicalViewOutputRepresentation';
5640
- function keyBuilder$n(luvio, config) {
5690
+ function keyBuilder$o(luvio, config) {
5641
5691
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
5642
5692
  }
5643
5693
  function keyBuilderFromType$4(luvio, object) {
5644
5694
  const keyParams = {
5645
5695
  name: object.id
5646
5696
  };
5647
- return keyBuilder$n(luvio, keyParams);
5697
+ return keyBuilder$o(luvio, keyParams);
5648
5698
  }
5649
5699
  function normalize$9(input, existing, path, luvio, store, timestamp) {
5650
5700
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5703,8 +5753,8 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
5703
5753
  }
5704
5754
  return input;
5705
5755
  }
5706
- const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5707
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
5756
+ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
5757
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$F();
5708
5758
  return {
5709
5759
  kind: 'Fragment',
5710
5760
  version: VERSION$d,
@@ -5778,21 +5828,21 @@ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5778
5828
  kind: 'Link',
5779
5829
  plural: true,
5780
5830
  required: false,
5781
- fragment: select$B()
5831
+ fragment: select$C()
5782
5832
  },
5783
5833
  {
5784
5834
  name: 'semanticRelationships',
5785
5835
  kind: 'Link',
5786
5836
  plural: true,
5787
5837
  required: false,
5788
- fragment: select$s()
5838
+ fragment: select$t()
5789
5839
  },
5790
5840
  {
5791
5841
  name: 'semanticUnions',
5792
5842
  kind: 'Link',
5793
5843
  plural: true,
5794
5844
  required: false,
5795
- fragment: select$q()
5845
+ fragment: select$r()
5796
5846
  },
5797
5847
  {
5798
5848
  name: 'semanticViewTypeEnum',
@@ -6016,7 +6066,7 @@ function equals$d(existing, incoming) {
6016
6066
  }
6017
6067
  const ingest$9 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6018
6068
  if (process.env.NODE_ENV !== 'production') {
6019
- const validateError = validate$l(input);
6069
+ const validateError = validate$j(input);
6020
6070
  if (validateError !== null) {
6021
6071
  throw validateError;
6022
6072
  }
@@ -6055,7 +6105,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
6055
6105
  }
6056
6106
 
6057
6107
  const VERSION$c = "a50848c632bb205d5e910bb726d9219e";
6058
- function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6108
+ function validate$i(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6059
6109
  const v_error = (() => {
6060
6110
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6061
6111
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6063,7 +6113,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6063
6113
  if (obj.identifierDimensionReference !== undefined) {
6064
6114
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
6065
6115
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
6066
- const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
6116
+ const referencepath_identifierDimensionReferenceValidationError = validate$p(obj_identifierDimensionReference, path_identifierDimensionReference);
6067
6117
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
6068
6118
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
6069
6119
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6073,7 +6123,7 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6073
6123
  if (obj.namingDimensionReference !== undefined) {
6074
6124
  const obj_namingDimensionReference = obj.namingDimensionReference;
6075
6125
  const path_namingDimensionReference = path + '.namingDimensionReference';
6076
- const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
6126
+ const referencepath_namingDimensionReferenceValidationError = validate$p(obj_namingDimensionReference, path_namingDimensionReference);
6077
6127
  if (referencepath_namingDimensionReferenceValidationError !== null) {
6078
6128
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
6079
6129
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6083,8 +6133,8 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6083
6133
  })();
6084
6134
  return v_error === undefined ? null : v_error;
6085
6135
  }
6086
- const select$o = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6087
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6136
+ const select$p = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6137
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$w();
6088
6138
  return {
6089
6139
  kind: 'Fragment',
6090
6140
  version: VERSION$c,
@@ -6136,7 +6186,7 @@ function equals$c(existing, incoming) {
6136
6186
  }
6137
6187
 
6138
6188
  const VERSION$b = "1b8cf2283d5d5c480459506274f0604c";
6139
- function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6189
+ function validate$h(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6140
6190
  const v_error = (() => {
6141
6191
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6142
6192
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6158,7 +6208,7 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6158
6208
  })();
6159
6209
  return v_error === undefined ? null : v_error;
6160
6210
  }
6161
- const select$n = function SemanticInsightTypeOutputRepresentationSelect() {
6211
+ const select$o = function SemanticInsightTypeOutputRepresentationSelect() {
6162
6212
  return {
6163
6213
  kind: 'Fragment',
6164
6214
  version: VERSION$b,
@@ -6208,7 +6258,7 @@ function equals$b(existing, incoming) {
6208
6258
  }
6209
6259
 
6210
6260
  const VERSION$a = "a3f5972287be7bcf9ca205af56046a58";
6211
- function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6261
+ function validate$g(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6212
6262
  const v_error = (() => {
6213
6263
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6214
6264
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6216,7 +6266,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6216
6266
  if (obj.identifyingDimension !== undefined) {
6217
6267
  const obj_identifyingDimension = obj.identifyingDimension;
6218
6268
  const path_identifyingDimension = path + '.identifyingDimension';
6219
- const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
6269
+ const referencepath_identifyingDimensionValidationError = validate$i(obj_identifyingDimension, path_identifyingDimension);
6220
6270
  if (referencepath_identifyingDimensionValidationError !== null) {
6221
6271
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
6222
6272
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6232,7 +6282,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6232
6282
  for (let i = 0; i < obj_insightTypes.length; i++) {
6233
6283
  const obj_insightTypes_item = obj_insightTypes[i];
6234
6284
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
6235
- const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
6285
+ const referencepath_insightTypes_itemValidationError = validate$h(obj_insightTypes_item, path_insightTypes_item);
6236
6286
  if (referencepath_insightTypes_itemValidationError !== null) {
6237
6287
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
6238
6288
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6249,7 +6299,7 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6249
6299
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
6250
6300
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
6251
6301
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
6252
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
6302
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$p(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
6253
6303
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
6254
6304
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
6255
6305
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6281,10 +6331,10 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6281
6331
  })();
6282
6332
  return v_error === undefined ? null : v_error;
6283
6333
  }
6284
- const select$m = function SemanticInsightsSettingsOutputRepresentationSelect() {
6285
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$o();
6286
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$n();
6287
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6334
+ const select$n = function SemanticInsightsSettingsOutputRepresentationSelect() {
6335
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$p();
6336
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$o();
6337
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$w();
6288
6338
  return {
6289
6339
  kind: 'Fragment',
6290
6340
  version: VERSION$a,
@@ -6421,7 +6471,7 @@ function equals$a(existing, incoming) {
6421
6471
  }
6422
6472
 
6423
6473
  const VERSION$9 = "0873ccd85b32d14c753931243d20ac8b";
6424
- function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6474
+ function validate$f(obj, path = 'SemanticMetricOutputRepresentation') {
6425
6475
  const v_error = (() => {
6426
6476
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6427
6477
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6435,7 +6485,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6435
6485
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
6436
6486
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
6437
6487
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
6438
- const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
6488
+ const referencepath_additionalDimensions_itemValidationError = validate$p(obj_additionalDimensions_item, path_additionalDimensions_item);
6439
6489
  if (referencepath_additionalDimensions_itemValidationError !== null) {
6440
6490
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
6441
6491
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6502,7 +6552,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6502
6552
  for (let i = 0; i < obj_filters.length; i++) {
6503
6553
  const obj_filters_item = obj_filters[i];
6504
6554
  const path_filters_item = path_filters + '[' + i + ']';
6505
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
6555
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
6506
6556
  if (referencepath_filters_itemValidationError !== null) {
6507
6557
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
6508
6558
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6518,7 +6568,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6518
6568
  if (obj.insightsSettings !== undefined) {
6519
6569
  const obj_insightsSettings = obj.insightsSettings;
6520
6570
  const path_insightsSettings = path + '.insightsSettings';
6521
- const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
6571
+ const referencepath_insightsSettingsValidationError = validate$g(obj_insightsSettings, path_insightsSettings);
6522
6572
  if (referencepath_insightsSettingsValidationError !== null) {
6523
6573
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
6524
6574
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6556,7 +6606,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6556
6606
  if (obj.measurementReference !== undefined) {
6557
6607
  const obj_measurementReference = obj.measurementReference;
6558
6608
  const path_measurementReference = path + '.measurementReference';
6559
- const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
6609
+ const referencepath_measurementReferenceValidationError = validate$p(obj_measurementReference, path_measurementReference);
6560
6610
  if (referencepath_measurementReferenceValidationError !== null) {
6561
6611
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
6562
6612
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6566,7 +6616,7 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6566
6616
  if (obj.timeDimensionReference !== undefined) {
6567
6617
  const obj_timeDimensionReference = obj.timeDimensionReference;
6568
6618
  const path_timeDimensionReference = path + '.timeDimensionReference';
6569
- const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
6619
+ const referencepath_timeDimensionReferenceValidationError = validate$p(obj_timeDimensionReference, path_timeDimensionReference);
6570
6620
  if (referencepath_timeDimensionReferenceValidationError !== null) {
6571
6621
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
6572
6622
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6591,22 +6641,22 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6591
6641
  return v_error === undefined ? null : v_error;
6592
6642
  }
6593
6643
  const RepresentationType$8 = 'SemanticMetricOutputRepresentation';
6594
- function keyBuilder$m(luvio, config) {
6644
+ function keyBuilder$n(luvio, config) {
6595
6645
  return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
6596
6646
  }
6597
6647
  function keyBuilderFromType$3(luvio, object) {
6598
6648
  const keyParams = {
6599
6649
  name: object.id
6600
6650
  };
6601
- return keyBuilder$m(luvio, keyParams);
6651
+ return keyBuilder$n(luvio, keyParams);
6602
6652
  }
6603
6653
  function normalize$8(input, existing, path, luvio, store, timestamp) {
6604
6654
  return input;
6605
6655
  }
6606
- const select$l = function SemanticMetricOutputRepresentationSelect() {
6607
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6608
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
6609
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$m();
6656
+ const select$m = function SemanticMetricOutputRepresentationSelect() {
6657
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$w();
6658
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$F();
6659
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$n();
6610
6660
  return {
6611
6661
  kind: 'Fragment',
6612
6662
  version: VERSION$9,
@@ -6949,7 +6999,7 @@ function equals$9(existing, incoming) {
6949
6999
  }
6950
7000
  const ingest$8 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6951
7001
  if (process.env.NODE_ENV !== 'production') {
6952
- const validateError = validate$h(input);
7002
+ const validateError = validate$f(input);
6953
7003
  if (validateError !== null) {
6954
7004
  throw validateError;
6955
7005
  }
@@ -6970,7 +7020,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
6970
7020
  }
6971
7021
 
6972
7022
  const VERSION$8 = "562f9618d0de907973cf252f01ea567d";
6973
- function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
7023
+ function validate$e(obj, path = 'SemanticParameterOutputRepresentation') {
6974
7024
  const v_error = (() => {
6975
7025
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6976
7026
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7097,19 +7147,19 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
7097
7147
  return v_error === undefined ? null : v_error;
7098
7148
  }
7099
7149
  const RepresentationType$7 = 'SemanticParameterOutputRepresentation';
7100
- function keyBuilder$l(luvio, config) {
7150
+ function keyBuilder$m(luvio, config) {
7101
7151
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
7102
7152
  }
7103
7153
  function keyBuilderFromType$2(luvio, object) {
7104
7154
  const keyParams = {
7105
7155
  name: object.id
7106
7156
  };
7107
- return keyBuilder$l(luvio, keyParams);
7157
+ return keyBuilder$m(luvio, keyParams);
7108
7158
  }
7109
7159
  function normalize$7(input, existing, path, luvio, store, timestamp) {
7110
7160
  return input;
7111
7161
  }
7112
- const select$k = function SemanticParameterOutputRepresentationSelect() {
7162
+ const select$l = function SemanticParameterOutputRepresentationSelect() {
7113
7163
  return {
7114
7164
  kind: 'Fragment',
7115
7165
  version: VERSION$8,
@@ -7399,7 +7449,7 @@ function equals$8(existing, incoming) {
7399
7449
  }
7400
7450
  const ingest$7 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7401
7451
  if (process.env.NODE_ENV !== 'production') {
7402
- const validateError = validate$g(input);
7452
+ const validateError = validate$e(input);
7403
7453
  if (validateError !== null) {
7404
7454
  throw validateError;
7405
7455
  }
@@ -7420,7 +7470,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
7420
7470
  }
7421
7471
 
7422
7472
  const VERSION$7 = "5cda82e85d7322d459ba16b10b81ee96";
7423
- function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7473
+ function validate$d(obj, path = 'SemanticModelOutputRepresentation') {
7424
7474
  const v_error = (() => {
7425
7475
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7426
7476
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7453,7 +7503,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7453
7503
  for (let i = 0; i < obj_baseModels.length; i++) {
7454
7504
  const obj_baseModels_item = obj_baseModels[i];
7455
7505
  const path_baseModels_item = path_baseModels + '[' + i + ']';
7456
- const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
7506
+ const referencepath_baseModels_itemValidationError = validate$B(obj_baseModels_item, path_baseModels_item);
7457
7507
  if (referencepath_baseModels_itemValidationError !== null) {
7458
7508
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
7459
7509
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7737,14 +7787,14 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7737
7787
  return v_error === undefined ? null : v_error;
7738
7788
  }
7739
7789
  const RepresentationType$6 = 'SemanticModelOutputRepresentation';
7740
- function keyBuilder$k(luvio, config) {
7790
+ function keyBuilder$l(luvio, config) {
7741
7791
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
7742
7792
  }
7743
7793
  function keyBuilderFromType$1(luvio, object) {
7744
7794
  const keyParams = {
7745
7795
  name: object.id
7746
7796
  };
7747
- return keyBuilder$k(luvio, keyParams);
7797
+ return keyBuilder$l(luvio, keyParams);
7748
7798
  }
7749
7799
  function normalize$6(input, existing, path, luvio, store, timestamp) {
7750
7800
  const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
@@ -7893,8 +7943,8 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
7893
7943
  }
7894
7944
  return input;
7895
7945
  }
7896
- const select$j = function SemanticModelOutputRepresentationSelect() {
7897
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$F();
7946
+ const select$k = function SemanticModelOutputRepresentationSelect() {
7947
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
7898
7948
  return {
7899
7949
  kind: 'Fragment',
7900
7950
  version: VERSION$7,
@@ -7983,7 +8033,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
7983
8033
  kind: 'Link',
7984
8034
  plural: true,
7985
8035
  required: false,
7986
- fragment: select$D()
8036
+ fragment: select$E()
7987
8037
  },
7988
8038
  {
7989
8039
  name: 'semanticCalculatedDimensionsUrl',
@@ -7995,7 +8045,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
7995
8045
  kind: 'Link',
7996
8046
  plural: true,
7997
8047
  required: false,
7998
- fragment: select$C()
8048
+ fragment: select$D()
7999
8049
  },
8000
8050
  {
8001
8051
  name: 'semanticCalculatedMeasurementsUrl',
@@ -8007,7 +8057,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
8007
8057
  kind: 'Link',
8008
8058
  plural: true,
8009
8059
  required: false,
8010
- fragment: select$B()
8060
+ fragment: select$C()
8011
8061
  },
8012
8062
  {
8013
8063
  name: 'semanticDataObjectsUrl',
@@ -8019,7 +8069,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
8019
8069
  kind: 'Link',
8020
8070
  plural: true,
8021
8071
  required: false,
8022
- fragment: select$u()
8072
+ fragment: select$v()
8023
8073
  },
8024
8074
  {
8025
8075
  name: 'semanticGroupingsUrl',
@@ -8031,21 +8081,21 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
8031
8081
  kind: 'Link',
8032
8082
  plural: true,
8033
8083
  required: false,
8034
- fragment: select$p()
8084
+ fragment: select$q()
8035
8085
  },
8036
8086
  {
8037
8087
  name: 'semanticMetrics',
8038
8088
  kind: 'Link',
8039
8089
  plural: true,
8040
8090
  required: false,
8041
- fragment: select$l()
8091
+ fragment: select$m()
8042
8092
  },
8043
8093
  {
8044
8094
  name: 'semanticParameters',
8045
8095
  kind: 'Link',
8046
8096
  plural: true,
8047
8097
  required: false,
8048
- fragment: select$k()
8098
+ fragment: select$l()
8049
8099
  },
8050
8100
  {
8051
8101
  name: 'semanticParametersUrl',
@@ -8057,7 +8107,7 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
8057
8107
  kind: 'Link',
8058
8108
  plural: true,
8059
8109
  required: false,
8060
- fragment: select$s()
8110
+ fragment: select$t()
8061
8111
  },
8062
8112
  {
8063
8113
  name: 'semanticRelationshipsUrl',
@@ -8508,7 +8558,7 @@ function equals$7(existing, incoming) {
8508
8558
  }
8509
8559
  const ingest$6 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8510
8560
  if (process.env.NODE_ENV !== 'production') {
8511
- const validateError = validate$f(input);
8561
+ const validateError = validate$d(input);
8512
8562
  if (validateError !== null) {
8513
8563
  throw validateError;
8514
8564
  }
@@ -8576,19 +8626,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
8576
8626
  }
8577
8627
  }
8578
8628
 
8579
- function select$i(luvio, params) {
8580
- return select$j();
8629
+ function select$j(luvio, params) {
8630
+ return select$k();
8581
8631
  }
8582
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
8632
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
8583
8633
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
8584
8634
  }
8585
- function ingestSuccess$b(luvio, resourceParams, response) {
8635
+ function ingestSuccess$c(luvio, resourceParams, response) {
8586
8636
  const { body } = response;
8587
8637
  const key = keyBuilderFromType$1(luvio, body);
8588
8638
  luvio.storeIngest(key, ingest$6, body);
8589
8639
  const snapshot = luvio.storeLookup({
8590
8640
  recordId: key,
8591
- node: select$i(),
8641
+ node: select$j(),
8592
8642
  variables: {},
8593
8643
  });
8594
8644
  if (process.env.NODE_ENV !== 'production') {
@@ -8599,7 +8649,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
8599
8649
  deepFreeze(snapshot.data);
8600
8650
  return snapshot;
8601
8651
  }
8602
- function createResourceRequest$c(config) {
8652
+ function createResourceRequest$e(config) {
8603
8653
  const headers = {};
8604
8654
  return {
8605
8655
  baseUri: '/services/data/v63.0',
@@ -8613,7 +8663,7 @@ function createResourceRequest$c(config) {
8613
8663
  };
8614
8664
  }
8615
8665
 
8616
- const adapterName$c = 'createSemanticModel';
8666
+ const adapterName$e = 'createSemanticModel';
8617
8667
  const createSemanticModel_ConfigPropertyMetadata = [
8618
8668
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
8619
8669
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -8634,17 +8684,17 @@ const createSemanticModel_ConfigPropertyMetadata = [
8634
8684
  generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
8635
8685
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
8636
8686
  ];
8637
- const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, createSemanticModel_ConfigPropertyMetadata);
8638
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(createSemanticModel_ConfigPropertyMetadata);
8639
- function typeCheckConfig$c(untrustedConfig) {
8687
+ const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, createSemanticModel_ConfigPropertyMetadata);
8688
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$f(createSemanticModel_ConfigPropertyMetadata);
8689
+ function typeCheckConfig$e(untrustedConfig) {
8640
8690
  const config = {};
8641
- typeCheckConfig$d(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
8691
+ typeCheckConfig$f(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
8642
8692
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
8643
8693
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
8644
8694
  const untrustedConfig_baseModels_array = [];
8645
8695
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
8646
8696
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
8647
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
8697
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$Z(untrustedConfig_baseModels_item);
8648
8698
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
8649
8699
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
8650
8700
  }
@@ -8656,7 +8706,7 @@ function typeCheckConfig$c(untrustedConfig) {
8656
8706
  const untrustedConfig_semanticCalculatedDimensions_array = [];
8657
8707
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
8658
8708
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
8659
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
8709
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedDimensions_item);
8660
8710
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
8661
8711
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
8662
8712
  }
@@ -8668,7 +8718,7 @@ function typeCheckConfig$c(untrustedConfig) {
8668
8718
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
8669
8719
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
8670
8720
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
8671
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
8721
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedMeasurements_item);
8672
8722
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
8673
8723
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
8674
8724
  }
@@ -8680,7 +8730,7 @@ function typeCheckConfig$c(untrustedConfig) {
8680
8730
  const untrustedConfig_semanticDataObjects_array = [];
8681
8731
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
8682
8732
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
8683
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
8733
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$T(untrustedConfig_semanticDataObjects_item);
8684
8734
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
8685
8735
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
8686
8736
  }
@@ -8692,7 +8742,7 @@ function typeCheckConfig$c(untrustedConfig) {
8692
8742
  const untrustedConfig_semanticGroupings_array = [];
8693
8743
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
8694
8744
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
8695
- const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
8745
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$M(untrustedConfig_semanticGroupings_item);
8696
8746
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
8697
8747
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
8698
8748
  }
@@ -8704,7 +8754,7 @@ function typeCheckConfig$c(untrustedConfig) {
8704
8754
  const untrustedConfig_semanticLogicalViews_array = [];
8705
8755
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
8706
8756
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
8707
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
8757
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$H(untrustedConfig_semanticLogicalViews_item);
8708
8758
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
8709
8759
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
8710
8760
  }
@@ -8716,7 +8766,7 @@ function typeCheckConfig$c(untrustedConfig) {
8716
8766
  const untrustedConfig_semanticMetrics_array = [];
8717
8767
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
8718
8768
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
8719
- const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
8769
+ const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
8720
8770
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
8721
8771
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
8722
8772
  }
@@ -8728,7 +8778,7 @@ function typeCheckConfig$c(untrustedConfig) {
8728
8778
  const untrustedConfig_semanticParameters_array = [];
8729
8779
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
8730
8780
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
8731
- const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
8781
+ const referenceSemanticParameterInputRepresentationValidationError = validate$C(untrustedConfig_semanticParameters_item);
8732
8782
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
8733
8783
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
8734
8784
  }
@@ -8740,7 +8790,7 @@ function typeCheckConfig$c(untrustedConfig) {
8740
8790
  const untrustedConfig_semanticRelationships_array = [];
8741
8791
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
8742
8792
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
8743
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
8793
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$K(untrustedConfig_semanticRelationships_item);
8744
8794
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
8745
8795
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
8746
8796
  }
@@ -8749,30 +8799,30 @@ function typeCheckConfig$c(untrustedConfig) {
8749
8799
  }
8750
8800
  return config;
8751
8801
  }
8752
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
8802
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
8753
8803
  if (!untrustedIsObject(untrustedConfig)) {
8754
8804
  return null;
8755
8805
  }
8756
8806
  if (process.env.NODE_ENV !== 'production') {
8757
8807
  validateConfig(untrustedConfig, configPropertyNames);
8758
8808
  }
8759
- const config = typeCheckConfig$c(untrustedConfig);
8809
+ const config = typeCheckConfig$e(untrustedConfig);
8760
8810
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
8761
8811
  return null;
8762
8812
  }
8763
8813
  return config;
8764
8814
  }
8765
- function buildNetworkSnapshot$c(luvio, config, options) {
8766
- const resourceParams = createResourceParams$c(config);
8767
- const request = createResourceRequest$c(resourceParams);
8815
+ function buildNetworkSnapshot$e(luvio, config, options) {
8816
+ const resourceParams = createResourceParams$e(config);
8817
+ const request = createResourceRequest$e(resourceParams);
8768
8818
  return luvio.dispatchResourceRequest(request, options)
8769
8819
  .then((response) => {
8770
8820
  return luvio.handleSuccessResponse(() => {
8771
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
8821
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
8772
8822
  return luvio.storeBroadcast().then(() => snapshot);
8773
8823
  }, () => {
8774
8824
  const cache = new StoreKeyMap();
8775
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
8825
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
8776
8826
  return cache;
8777
8827
  });
8778
8828
  }, (response) => {
@@ -8782,87 +8832,100 @@ function buildNetworkSnapshot$c(luvio, config, options) {
8782
8832
  }
8783
8833
  const createSemanticModelAdapterFactory = (luvio) => {
8784
8834
  return function createSemanticModel(untrustedConfig) {
8785
- const config = validateAdapterConfig$c(untrustedConfig, createSemanticModel_ConfigPropertyNames);
8835
+ const config = validateAdapterConfig$e(untrustedConfig, createSemanticModel_ConfigPropertyNames);
8786
8836
  // Invalid or incomplete config
8787
8837
  if (config === null) {
8788
8838
  throw new Error('Invalid config for "createSemanticModel"');
8789
8839
  }
8790
- return buildNetworkSnapshot$c(luvio, config);
8840
+ return buildNetworkSnapshot$e(luvio, config);
8791
8841
  };
8792
8842
  };
8793
8843
 
8794
- function validate$e(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
8844
+ function validate$c(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
8795
8845
  const v_error = (() => {
8796
8846
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8797
8847
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8798
8848
  }
8799
- if (obj.endDate !== undefined) {
8800
- const obj_endDate = obj.endDate;
8801
- const path_endDate = path + '.endDate';
8802
- if (typeof obj_endDate !== 'string') {
8803
- return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
8849
+ if (obj.color !== undefined) {
8850
+ const obj_color = obj.color;
8851
+ const path_color = path + '.color';
8852
+ if (typeof obj_color !== 'string') {
8853
+ return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
8804
8854
  }
8805
8855
  }
8806
- if (obj.startDate !== undefined) {
8807
- const obj_startDate = obj.startDate;
8808
- const path_startDate = path + '.startDate';
8809
- if (typeof obj_startDate !== 'string') {
8810
- return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
8856
+ if (obj.currencyIsoCode !== undefined) {
8857
+ const obj_currencyIsoCode = obj.currencyIsoCode;
8858
+ const path_currencyIsoCode = path + '.currencyIsoCode';
8859
+ if (typeof obj_currencyIsoCode !== 'string') {
8860
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
8811
8861
  }
8812
8862
  }
8813
- })();
8814
- return v_error === undefined ? null : v_error;
8815
- }
8816
-
8817
- function validate$d(obj, path = 'SemanticGoalValueInputRepresentation') {
8818
- const v_error = (() => {
8819
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8820
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8863
+ if (obj.operator !== undefined) {
8864
+ const obj_operator = obj.operator;
8865
+ const path_operator = path + '.operator';
8866
+ if (typeof obj_operator !== 'string') {
8867
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
8868
+ }
8869
+ }
8870
+ if (obj.primary !== undefined) {
8871
+ const obj_primary = obj.primary;
8872
+ const path_primary = path + '.primary';
8873
+ if (typeof obj_primary !== 'boolean') {
8874
+ return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
8875
+ }
8876
+ }
8877
+ if (obj.statusName !== undefined) {
8878
+ const obj_statusName = obj.statusName;
8879
+ const path_statusName = path + '.statusName';
8880
+ if (typeof obj_statusName !== 'string') {
8881
+ return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
8882
+ }
8821
8883
  }
8822
- if (obj.staticValue !== undefined) {
8823
- obj.staticValue;
8884
+ if (obj.value !== undefined) {
8885
+ const obj_value = obj.value;
8886
+ const path_value = path + '.value';
8887
+ if (typeof obj_value !== 'string') {
8888
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
8889
+ }
8824
8890
  }
8825
8891
  })();
8826
8892
  return v_error === undefined ? null : v_error;
8827
8893
  }
8828
8894
 
8829
- function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
8895
+ function validate$b(obj, path = 'SemanticMetricGoalInputRepresentation') {
8830
8896
  const v_error = (() => {
8831
8897
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8832
8898
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8833
8899
  }
8834
- if (obj.date !== undefined) {
8835
- const obj_date = obj.date;
8836
- const path_date = path + '.date';
8837
- const referencepath_dateValidationError = validate$e(obj_date, path_date);
8838
- if (referencepath_dateValidationError !== null) {
8839
- let message = 'Object doesn\'t match SemanticGoalDateRangeInputRepresentation (at "' + path_date + '")\n';
8840
- message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8841
- return new TypeError(message);
8842
- }
8843
- }
8844
- if (obj.goalType !== undefined) {
8845
- const obj_goalType = obj.goalType;
8846
- const path_goalType = path + '.goalType';
8847
- if (typeof obj_goalType !== 'string') {
8848
- return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
8849
- }
8850
- }
8851
- if (obj.value !== undefined) {
8852
- const obj_value = obj.value;
8853
- const path_value = path + '.value';
8854
- const referencepath_valueValidationError = validate$d(obj_value, path_value);
8855
- if (referencepath_valueValidationError !== null) {
8856
- let message = 'Object doesn\'t match SemanticGoalValueInputRepresentation (at "' + path_value + '")\n';
8857
- message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8858
- return new TypeError(message);
8900
+ if (obj.forecasting !== undefined) {
8901
+ const obj_forecasting = obj.forecasting;
8902
+ const path_forecasting = path + '.forecasting';
8903
+ if (typeof obj_forecasting !== 'boolean') {
8904
+ return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
8905
+ }
8906
+ }
8907
+ if (obj.statusConditions !== undefined) {
8908
+ const obj_statusConditions = obj.statusConditions;
8909
+ const path_statusConditions = path + '.statusConditions';
8910
+ if (!ArrayIsArray(obj_statusConditions)) {
8911
+ return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
8912
+ }
8913
+ for (let i = 0; i < obj_statusConditions.length; i++) {
8914
+ const obj_statusConditions_item = obj_statusConditions[i];
8915
+ const path_statusConditions_item = path_statusConditions + '[' + i + ']';
8916
+ const referencepath_statusConditions_itemValidationError = validate$c(obj_statusConditions_item, path_statusConditions_item);
8917
+ if (referencepath_statusConditions_itemValidationError !== null) {
8918
+ let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
8919
+ message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8920
+ return new TypeError(message);
8921
+ }
8859
8922
  }
8860
8923
  }
8861
8924
  })();
8862
8925
  return v_error === undefined ? null : v_error;
8863
8926
  }
8864
8927
 
8865
- function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
8928
+ function validate$a(obj, path = 'SemanticTimeRangeInputRepresentation') {
8866
8929
  const v_error = (() => {
8867
8930
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8868
8931
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8892,36 +8955,42 @@ function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
8892
8955
  return v_error === undefined ? null : v_error;
8893
8956
  }
8894
8957
 
8895
- function validate$a(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
8958
+ function validate$9(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
8896
8959
  const v_error = (() => {
8897
8960
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8898
8961
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8899
8962
  }
8900
- if (obj.endDate !== undefined) {
8901
- const obj_endDate = obj.endDate;
8902
- const path_endDate = path + '.endDate';
8903
- if (typeof obj_endDate !== 'string') {
8904
- return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
8905
- }
8963
+ const obj_color = obj.color;
8964
+ const path_color = path + '.color';
8965
+ if (typeof obj_color !== 'string') {
8966
+ return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
8906
8967
  }
8907
- if (obj.startDate !== undefined) {
8908
- const obj_startDate = obj.startDate;
8909
- const path_startDate = path + '.startDate';
8910
- if (typeof obj_startDate !== 'string') {
8911
- return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
8968
+ if (obj.currencyIsoCode !== undefined) {
8969
+ const obj_currencyIsoCode = obj.currencyIsoCode;
8970
+ const path_currencyIsoCode = path + '.currencyIsoCode';
8971
+ if (typeof obj_currencyIsoCode !== 'string') {
8972
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
8912
8973
  }
8913
8974
  }
8914
- })();
8915
- return v_error === undefined ? null : v_error;
8916
- }
8917
-
8918
- function validate$9(obj, path = 'SemanticGoalValueOutputRepresentation') {
8919
- const v_error = (() => {
8920
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8921
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8975
+ const obj_operator = obj.operator;
8976
+ const path_operator = path + '.operator';
8977
+ if (typeof obj_operator !== 'string') {
8978
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
8979
+ }
8980
+ const obj_primary = obj.primary;
8981
+ const path_primary = path + '.primary';
8982
+ if (typeof obj_primary !== 'boolean') {
8983
+ return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
8922
8984
  }
8923
- if (obj.staticValue !== undefined) {
8924
- obj.staticValue;
8985
+ const obj_statusName = obj.statusName;
8986
+ const path_statusName = path + '.statusName';
8987
+ if (typeof obj_statusName !== 'string') {
8988
+ return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
8989
+ }
8990
+ const obj_value = obj.value;
8991
+ const path_value = path + '.value';
8992
+ if (typeof obj_value !== 'string') {
8993
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
8925
8994
  }
8926
8995
  })();
8927
8996
  return v_error === undefined ? null : v_error;
@@ -8932,26 +9001,25 @@ function validate$8(obj, path = 'SemanticMetricGoalOutputRepresentation') {
8932
9001
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8933
9002
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8934
9003
  }
8935
- const obj_date = obj.date;
8936
- const path_date = path + '.date';
8937
- const referencepath_dateValidationError = validate$a(obj_date, path_date);
8938
- if (referencepath_dateValidationError !== null) {
8939
- let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_date + '")\n';
8940
- message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8941
- return new TypeError(message);
8942
- }
8943
- const obj_goalType = obj.goalType;
8944
- const path_goalType = path + '.goalType';
8945
- if (typeof obj_goalType !== 'string') {
8946
- return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
8947
- }
8948
- const obj_value = obj.value;
8949
- const path_value = path + '.value';
8950
- const referencepath_valueValidationError = validate$9(obj_value, path_value);
8951
- if (referencepath_valueValidationError !== null) {
8952
- let message = 'Object doesn\'t match SemanticGoalValueOutputRepresentation (at "' + path_value + '")\n';
8953
- message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8954
- return new TypeError(message);
9004
+ const obj_forecasting = obj.forecasting;
9005
+ const path_forecasting = path + '.forecasting';
9006
+ if (typeof obj_forecasting !== 'boolean') {
9007
+ return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
9008
+ }
9009
+ const obj_statusConditions = obj.statusConditions;
9010
+ const path_statusConditions = path + '.statusConditions';
9011
+ if (!ArrayIsArray(obj_statusConditions)) {
9012
+ return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
9013
+ }
9014
+ for (let i = 0; i < obj_statusConditions.length; i++) {
9015
+ const obj_statusConditions_item = obj_statusConditions[i];
9016
+ const path_statusConditions_item = path_statusConditions + '[' + i + ']';
9017
+ const referencepath_statusConditions_itemValidationError = validate$9(obj_statusConditions_item, path_statusConditions_item);
9018
+ if (referencepath_statusConditions_itemValidationError !== null) {
9019
+ let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
9020
+ message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
9021
+ return new TypeError(message);
9022
+ }
8955
9023
  }
8956
9024
  })();
8957
9025
  return v_error === undefined ? null : v_error;
@@ -9045,7 +9113,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
9045
9113
  for (let i = 0; i < obj_filters.length; i++) {
9046
9114
  const obj_filters_item = obj_filters[i];
9047
9115
  const path_filters_item = path_filters + '[' + i + ']';
9048
- const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
9116
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
9049
9117
  if (referencepath_filters_itemValidationError !== null) {
9050
9118
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
9051
9119
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9099,7 +9167,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
9099
9167
  if (obj.semanticMetric !== undefined) {
9100
9168
  const obj_semanticMetric = obj.semanticMetric;
9101
9169
  const path_semanticMetric = path + '.semanticMetric';
9102
- const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
9170
+ const referencepath_semanticMetricValidationError = validate$f(obj_semanticMetric, path_semanticMetric);
9103
9171
  if (referencepath_semanticMetricValidationError !== null) {
9104
9172
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
9105
9173
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9120,19 +9188,19 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
9120
9188
  return v_error === undefined ? null : v_error;
9121
9189
  }
9122
9190
  const RepresentationType$5 = 'SemanticSubMetricOutputRepresentation';
9123
- function keyBuilder$j(luvio, config) {
9191
+ function keyBuilder$k(luvio, config) {
9124
9192
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.name;
9125
9193
  }
9126
9194
  function keyBuilderFromType(luvio, object) {
9127
9195
  const keyParams = {
9128
9196
  name: object.id
9129
9197
  };
9130
- return keyBuilder$j(luvio, keyParams);
9198
+ return keyBuilder$k(luvio, keyParams);
9131
9199
  }
9132
9200
  function normalize$5(input, existing, path, luvio, store, timestamp) {
9133
9201
  return input;
9134
9202
  }
9135
- const select$h = function SemanticSubMetricOutputRepresentationSelect() {
9203
+ const select$i = function SemanticSubMetricOutputRepresentationSelect() {
9136
9204
  return {
9137
9205
  kind: 'Fragment',
9138
9206
  version: VERSION$6,
@@ -9168,19 +9236,19 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
9168
9236
  });
9169
9237
  }
9170
9238
 
9171
- function select$g(luvio, params) {
9172
- return select$h();
9239
+ function select$h(luvio, params) {
9240
+ return select$i();
9173
9241
  }
9174
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
9242
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
9175
9243
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
9176
9244
  }
9177
- function ingestSuccess$a(luvio, resourceParams, response) {
9245
+ function ingestSuccess$b(luvio, resourceParams, response) {
9178
9246
  const { body } = response;
9179
9247
  const key = keyBuilderFromType(luvio, body);
9180
9248
  luvio.storeIngest(key, ingest$5, body);
9181
9249
  const snapshot = luvio.storeLookup({
9182
9250
  recordId: key,
9183
- node: select$g(),
9251
+ node: select$h(),
9184
9252
  variables: {},
9185
9253
  });
9186
9254
  if (process.env.NODE_ENV !== 'production') {
@@ -9191,7 +9259,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
9191
9259
  deepFreeze(snapshot.data);
9192
9260
  return snapshot;
9193
9261
  }
9194
- function createResourceRequest$b(config) {
9262
+ function createResourceRequest$d(config) {
9195
9263
  const headers = {};
9196
9264
  return {
9197
9265
  baseUri: '/services/data/v63.0',
@@ -9205,7 +9273,7 @@ function createResourceRequest$b(config) {
9205
9273
  };
9206
9274
  }
9207
9275
 
9208
- const adapterName$b = 'createSemanticSubMetric';
9276
+ const adapterName$d = 'createSemanticSubMetric';
9209
9277
  const createSemanticSubMetric_ConfigPropertyMetadata = [
9210
9278
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9211
9279
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
@@ -9217,17 +9285,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
9217
9285
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
9218
9286
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
9219
9287
  ];
9220
- const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createSemanticSubMetric_ConfigPropertyMetadata);
9221
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$d(createSemanticSubMetric_ConfigPropertyMetadata);
9222
- function typeCheckConfig$b(untrustedConfig) {
9288
+ const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, createSemanticSubMetric_ConfigPropertyMetadata);
9289
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$f(createSemanticSubMetric_ConfigPropertyMetadata);
9290
+ function typeCheckConfig$d(untrustedConfig) {
9223
9291
  const config = {};
9224
- typeCheckConfig$d(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9292
+ typeCheckConfig$f(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9225
9293
  const untrustedConfig_filters = untrustedConfig.filters;
9226
9294
  if (ArrayIsArray$1(untrustedConfig_filters)) {
9227
9295
  const untrustedConfig_filters_array = [];
9228
9296
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
9229
9297
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
9230
- const referenceSemanticFilterInputRepresentationValidationError = validate$_(untrustedConfig_filters_item);
9298
+ const referenceSemanticFilterInputRepresentationValidationError = validate$Y(untrustedConfig_filters_item);
9231
9299
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
9232
9300
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
9233
9301
  }
@@ -9235,41 +9303,41 @@ function typeCheckConfig$b(untrustedConfig) {
9235
9303
  config.filters = untrustedConfig_filters_array;
9236
9304
  }
9237
9305
  const untrustedConfig_goal = untrustedConfig.goal;
9238
- const referenceSemanticMetricGoalInputRepresentationValidationError = validate$c(untrustedConfig_goal);
9306
+ const referenceSemanticMetricGoalInputRepresentationValidationError = validate$b(untrustedConfig_goal);
9239
9307
  if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
9240
9308
  config.goal = untrustedConfig_goal;
9241
9309
  }
9242
9310
  const untrustedConfig_timeRange = untrustedConfig.timeRange;
9243
- const referenceSemanticTimeRangeInputRepresentationValidationError = validate$b(untrustedConfig_timeRange);
9311
+ const referenceSemanticTimeRangeInputRepresentationValidationError = validate$a(untrustedConfig_timeRange);
9244
9312
  if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
9245
9313
  config.timeRange = untrustedConfig_timeRange;
9246
9314
  }
9247
9315
  return config;
9248
9316
  }
9249
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
9317
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
9250
9318
  if (!untrustedIsObject(untrustedConfig)) {
9251
9319
  return null;
9252
9320
  }
9253
9321
  if (process.env.NODE_ENV !== 'production') {
9254
9322
  validateConfig(untrustedConfig, configPropertyNames);
9255
9323
  }
9256
- const config = typeCheckConfig$b(untrustedConfig);
9324
+ const config = typeCheckConfig$d(untrustedConfig);
9257
9325
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9258
9326
  return null;
9259
9327
  }
9260
9328
  return config;
9261
9329
  }
9262
- function buildNetworkSnapshot$b(luvio, config, options) {
9263
- const resourceParams = createResourceParams$b(config);
9264
- const request = createResourceRequest$b(resourceParams);
9330
+ function buildNetworkSnapshot$d(luvio, config, options) {
9331
+ const resourceParams = createResourceParams$d(config);
9332
+ const request = createResourceRequest$d(resourceParams);
9265
9333
  return luvio.dispatchResourceRequest(request, options)
9266
9334
  .then((response) => {
9267
9335
  return luvio.handleSuccessResponse(() => {
9268
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
9336
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
9269
9337
  return luvio.storeBroadcast().then(() => snapshot);
9270
9338
  }, () => {
9271
9339
  const cache = new StoreKeyMap();
9272
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
9340
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
9273
9341
  return cache;
9274
9342
  });
9275
9343
  }, (response) => {
@@ -9279,37 +9347,37 @@ function buildNetworkSnapshot$b(luvio, config, options) {
9279
9347
  }
9280
9348
  const createSemanticSubMetricAdapterFactory = (luvio) => {
9281
9349
  return function createSemanticSubMetric(untrustedConfig) {
9282
- const config = validateAdapterConfig$b(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
9350
+ const config = validateAdapterConfig$d(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
9283
9351
  // Invalid or incomplete config
9284
9352
  if (config === null) {
9285
9353
  throw new Error('Invalid config for "createSemanticSubMetric"');
9286
9354
  }
9287
- return buildNetworkSnapshot$b(luvio, config);
9355
+ return buildNetworkSnapshot$d(luvio, config);
9288
9356
  };
9289
9357
  };
9290
9358
 
9291
- function keyBuilder$i(luvio, params) {
9292
- return keyBuilder$j(luvio, {
9359
+ function keyBuilder$j(luvio, params) {
9360
+ return keyBuilder$k(luvio, {
9293
9361
  name: params.urlParams.subMetricNameOrId
9294
9362
  });
9295
9363
  }
9296
- function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
9297
- const key = keyBuilder$i(luvio, resourceParams);
9364
+ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
9365
+ const key = keyBuilder$j(luvio, resourceParams);
9298
9366
  cacheKeyMap.set(key, {
9299
9367
  namespace: keyPrefix,
9300
9368
  representationName: RepresentationType$5,
9301
9369
  mergeable: false
9302
9370
  });
9303
9371
  }
9304
- function evictSuccess(luvio, resourceParams) {
9305
- const key = keyBuilder$i(luvio, resourceParams);
9372
+ function evictSuccess$1(luvio, resourceParams) {
9373
+ const key = keyBuilder$j(luvio, resourceParams);
9306
9374
  luvio.storeEvict(key);
9307
9375
  }
9308
- function createResourceRequest$a(config) {
9376
+ function createResourceRequest$c(config) {
9309
9377
  const headers = {};
9310
9378
  return {
9311
9379
  baseUri: '/services/data/v63.0',
9312
- basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '',
9380
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '/goal',
9313
9381
  method: 'delete',
9314
9382
  body: null,
9315
9383
  urlParams: config.urlParams,
@@ -9319,42 +9387,42 @@ function createResourceRequest$a(config) {
9319
9387
  };
9320
9388
  }
9321
9389
 
9322
- const adapterName$a = 'deleteSemanticSubMetric';
9323
- const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9390
+ const adapterName$c = 'deleteGoalFromSubMetric';
9391
+ const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
9324
9392
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9325
9393
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9326
9394
  ];
9327
- const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSemanticSubMetric_ConfigPropertyMetadata);
9328
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$d(deleteSemanticSubMetric_ConfigPropertyMetadata);
9329
- function typeCheckConfig$a(untrustedConfig) {
9395
+ const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9396
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$f(deleteGoalFromSubMetric_ConfigPropertyMetadata);
9397
+ function typeCheckConfig$c(untrustedConfig) {
9330
9398
  const config = {};
9331
- typeCheckConfig$d(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9399
+ typeCheckConfig$f(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9332
9400
  return config;
9333
9401
  }
9334
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
9402
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
9335
9403
  if (!untrustedIsObject(untrustedConfig)) {
9336
9404
  return null;
9337
9405
  }
9338
9406
  if (process.env.NODE_ENV !== 'production') {
9339
9407
  validateConfig(untrustedConfig, configPropertyNames);
9340
9408
  }
9341
- const config = typeCheckConfig$a(untrustedConfig);
9409
+ const config = typeCheckConfig$c(untrustedConfig);
9342
9410
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9343
9411
  return null;
9344
9412
  }
9345
9413
  return config;
9346
9414
  }
9347
- function buildNetworkSnapshot$a(luvio, config, options) {
9348
- const resourceParams = createResourceParams$a(config);
9349
- const request = createResourceRequest$a(resourceParams);
9415
+ function buildNetworkSnapshot$c(luvio, config, options) {
9416
+ const resourceParams = createResourceParams$c(config);
9417
+ const request = createResourceRequest$c(resourceParams);
9350
9418
  return luvio.dispatchResourceRequest(request, options)
9351
9419
  .then(() => {
9352
9420
  return luvio.handleSuccessResponse(() => {
9353
- evictSuccess(luvio, resourceParams);
9421
+ evictSuccess$1(luvio, resourceParams);
9354
9422
  return luvio.storeBroadcast();
9355
9423
  }, () => {
9356
9424
  const cache = new StoreKeyMap();
9357
- getResponseCacheKeys$a(cache, luvio, resourceParams);
9425
+ getResponseCacheKeys$c(cache, luvio, resourceParams);
9358
9426
  return cache;
9359
9427
  });
9360
9428
  }, (response) => {
@@ -9362,57 +9430,40 @@ function buildNetworkSnapshot$a(luvio, config, options) {
9362
9430
  throw response;
9363
9431
  });
9364
9432
  }
9365
- const deleteSemanticSubMetricAdapterFactory = (luvio) => {
9366
- return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
9367
- const config = validateAdapterConfig$a(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
9433
+ const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
9434
+ return function SemanticAuthoringdeleteGoalFromSubMetric(untrustedConfig) {
9435
+ const config = validateAdapterConfig$c(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
9368
9436
  // Invalid or incomplete config
9369
9437
  if (config === null) {
9370
- throw new Error(`Invalid config for "${adapterName$a}"`);
9438
+ throw new Error(`Invalid config for "${adapterName$c}"`);
9371
9439
  }
9372
- return buildNetworkSnapshot$a(luvio, config);
9440
+ return buildNetworkSnapshot$c(luvio, config);
9373
9441
  };
9374
9442
  };
9375
9443
 
9376
- function select$f(luvio, params) {
9377
- return select$l();
9378
- }
9379
- function keyBuilder$h(luvio, params) {
9380
- return keyBuilder$m(luvio, {
9381
- name: params.urlParams.metricNameOrId
9444
+ function keyBuilder$i(luvio, params) {
9445
+ return keyBuilder$k(luvio, {
9446
+ name: params.urlParams.subMetricNameOrId
9382
9447
  });
9383
9448
  }
9384
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
9385
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
9386
- }
9387
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
9388
- const { body } = response;
9389
- const key = keyBuilder$h(luvio, resourceParams);
9390
- luvio.storeIngest(key, ingest$8, body);
9391
- const snapshot = luvio.storeLookup({
9392
- recordId: key,
9393
- node: select$f(),
9394
- variables: {},
9395
- }, snapshotRefresh);
9396
- if (process.env.NODE_ENV !== 'production') {
9397
- if (snapshot.state !== 'Fulfilled') {
9398
- throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
9399
- }
9400
- }
9401
- deepFreeze(snapshot.data);
9402
- return snapshot;
9449
+ function getResponseCacheKeys$b(cacheKeyMap, luvio, resourceParams) {
9450
+ const key = keyBuilder$i(luvio, resourceParams);
9451
+ cacheKeyMap.set(key, {
9452
+ namespace: keyPrefix,
9453
+ representationName: RepresentationType$5,
9454
+ mergeable: false
9455
+ });
9403
9456
  }
9404
- function ingestError$8(luvio, params, error, snapshotRefresh) {
9405
- const key = keyBuilder$h(luvio, params);
9406
- const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
9407
- luvio.storeIngestError(key, errorSnapshot);
9408
- return errorSnapshot;
9457
+ function evictSuccess(luvio, resourceParams) {
9458
+ const key = keyBuilder$i(luvio, resourceParams);
9459
+ luvio.storeEvict(key);
9409
9460
  }
9410
- function createResourceRequest$9(config) {
9461
+ function createResourceRequest$b(config) {
9411
9462
  const headers = {};
9412
9463
  return {
9413
9464
  baseUri: '/services/data/v63.0',
9414
- basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/metrics/' + config.urlParams.metricNameOrId + '',
9415
- method: 'get',
9465
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '',
9466
+ method: 'delete',
9416
9467
  body: null,
9417
9468
  urlParams: config.urlParams,
9418
9469
  queryParams: {},
@@ -9420,69 +9471,171 @@ function createResourceRequest$9(config) {
9420
9471
  priority: 'normal',
9421
9472
  };
9422
9473
  }
9423
- function createResourceRequestFromRepresentation$2(representation) {
9424
- const config = {
9425
- urlParams: {},
9426
- };
9427
- config.urlParams.metricNameOrId = representation.id;
9428
- return createResourceRequest$9(config);
9429
- }
9430
9474
 
9431
- const adapterName$9 = 'getSemanticMetric';
9432
- const getSemanticMetric_ConfigPropertyMetadata = [
9433
- generateParamConfigMetadata('metricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9475
+ const adapterName$b = 'deleteSemanticSubMetric';
9476
+ const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9434
9477
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9478
+ generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9435
9479
  ];
9436
- const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetric_ConfigPropertyMetadata);
9437
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(getSemanticMetric_ConfigPropertyMetadata);
9438
- function keyBuilder$g(luvio, config) {
9439
- const resourceParams = createResourceParams$9(config);
9440
- return keyBuilder$h(luvio, resourceParams);
9441
- }
9442
- function typeCheckConfig$9(untrustedConfig) {
9480
+ const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deleteSemanticSubMetric_ConfigPropertyMetadata);
9481
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$f(deleteSemanticSubMetric_ConfigPropertyMetadata);
9482
+ function typeCheckConfig$b(untrustedConfig) {
9443
9483
  const config = {};
9444
- typeCheckConfig$d(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
9484
+ typeCheckConfig$f(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9445
9485
  return config;
9446
9486
  }
9447
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
9487
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
9448
9488
  if (!untrustedIsObject(untrustedConfig)) {
9449
9489
  return null;
9450
9490
  }
9451
9491
  if (process.env.NODE_ENV !== 'production') {
9452
9492
  validateConfig(untrustedConfig, configPropertyNames);
9453
9493
  }
9454
- const config = typeCheckConfig$9(untrustedConfig);
9494
+ const config = typeCheckConfig$b(untrustedConfig);
9495
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
9496
+ return null;
9497
+ }
9498
+ return config;
9499
+ }
9500
+ function buildNetworkSnapshot$b(luvio, config, options) {
9501
+ const resourceParams = createResourceParams$b(config);
9502
+ const request = createResourceRequest$b(resourceParams);
9503
+ return luvio.dispatchResourceRequest(request, options)
9504
+ .then(() => {
9505
+ return luvio.handleSuccessResponse(() => {
9506
+ evictSuccess(luvio, resourceParams);
9507
+ return luvio.storeBroadcast();
9508
+ }, () => {
9509
+ const cache = new StoreKeyMap();
9510
+ getResponseCacheKeys$b(cache, luvio, resourceParams);
9511
+ return cache;
9512
+ });
9513
+ }, (response) => {
9514
+ deepFreeze(response);
9515
+ throw response;
9516
+ });
9517
+ }
9518
+ const deleteSemanticSubMetricAdapterFactory = (luvio) => {
9519
+ return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
9520
+ const config = validateAdapterConfig$b(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
9521
+ // Invalid or incomplete config
9522
+ if (config === null) {
9523
+ throw new Error(`Invalid config for "${adapterName$b}"`);
9524
+ }
9525
+ return buildNetworkSnapshot$b(luvio, config);
9526
+ };
9527
+ };
9528
+
9529
+ function select$g(luvio, params) {
9530
+ return select$m();
9531
+ }
9532
+ function keyBuilder$h(luvio, params) {
9533
+ return keyBuilder$n(luvio, {
9534
+ name: params.urlParams.metricNameOrId
9535
+ });
9536
+ }
9537
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
9538
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
9539
+ }
9540
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
9541
+ const { body } = response;
9542
+ const key = keyBuilder$h(luvio, resourceParams);
9543
+ luvio.storeIngest(key, ingest$8, body);
9544
+ const snapshot = luvio.storeLookup({
9545
+ recordId: key,
9546
+ node: select$g(),
9547
+ variables: {},
9548
+ }, snapshotRefresh);
9549
+ if (process.env.NODE_ENV !== 'production') {
9550
+ if (snapshot.state !== 'Fulfilled') {
9551
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
9552
+ }
9553
+ }
9554
+ deepFreeze(snapshot.data);
9555
+ return snapshot;
9556
+ }
9557
+ function ingestError$8(luvio, params, error, snapshotRefresh) {
9558
+ const key = keyBuilder$h(luvio, params);
9559
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
9560
+ luvio.storeIngestError(key, errorSnapshot);
9561
+ return errorSnapshot;
9562
+ }
9563
+ function createResourceRequest$a(config) {
9564
+ const headers = {};
9565
+ return {
9566
+ baseUri: '/services/data/v63.0',
9567
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/metrics/' + config.urlParams.metricNameOrId + '',
9568
+ method: 'get',
9569
+ body: null,
9570
+ urlParams: config.urlParams,
9571
+ queryParams: {},
9572
+ headers,
9573
+ priority: 'normal',
9574
+ };
9575
+ }
9576
+ function createResourceRequestFromRepresentation$2(representation) {
9577
+ const config = {
9578
+ urlParams: {},
9579
+ };
9580
+ config.urlParams.metricNameOrId = representation.id;
9581
+ return createResourceRequest$a(config);
9582
+ }
9583
+
9584
+ const adapterName$a = 'getSemanticMetric';
9585
+ const getSemanticMetric_ConfigPropertyMetadata = [
9586
+ generateParamConfigMetadata('metricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9587
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9588
+ ];
9589
+ const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSemanticMetric_ConfigPropertyMetadata);
9590
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$f(getSemanticMetric_ConfigPropertyMetadata);
9591
+ function keyBuilder$g(luvio, config) {
9592
+ const resourceParams = createResourceParams$a(config);
9593
+ return keyBuilder$h(luvio, resourceParams);
9594
+ }
9595
+ function typeCheckConfig$a(untrustedConfig) {
9596
+ const config = {};
9597
+ typeCheckConfig$f(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
9598
+ return config;
9599
+ }
9600
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
9601
+ if (!untrustedIsObject(untrustedConfig)) {
9602
+ return null;
9603
+ }
9604
+ if (process.env.NODE_ENV !== 'production') {
9605
+ validateConfig(untrustedConfig, configPropertyNames);
9606
+ }
9607
+ const config = typeCheckConfig$a(untrustedConfig);
9455
9608
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9456
9609
  return null;
9457
9610
  }
9458
9611
  return config;
9459
9612
  }
9460
9613
  function adapterFragment$8(luvio, config) {
9461
- createResourceParams$9(config);
9462
- return select$f();
9614
+ createResourceParams$a(config);
9615
+ return select$g();
9463
9616
  }
9464
9617
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
9465
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
9618
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
9466
9619
  config,
9467
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9620
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
9468
9621
  });
9469
9622
  return luvio.storeBroadcast().then(() => snapshot);
9470
9623
  }
9471
9624
  function onFetchResponseError$8(luvio, config, resourceParams, response) {
9472
9625
  const snapshot = ingestError$8(luvio, resourceParams, response, {
9473
9626
  config,
9474
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9627
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
9475
9628
  });
9476
9629
  return luvio.storeBroadcast().then(() => snapshot);
9477
9630
  }
9478
- function buildNetworkSnapshot$9(luvio, config, options) {
9479
- const resourceParams = createResourceParams$9(config);
9480
- const request = createResourceRequest$9(resourceParams);
9631
+ function buildNetworkSnapshot$a(luvio, config, options) {
9632
+ const resourceParams = createResourceParams$a(config);
9633
+ const request = createResourceRequest$a(resourceParams);
9481
9634
  return luvio.dispatchResourceRequest(request, options)
9482
9635
  .then((response) => {
9483
9636
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
9484
9637
  const cache = new StoreKeyMap();
9485
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
9638
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
9486
9639
  return cache;
9487
9640
  });
9488
9641
  }, (response) => {
@@ -9490,7 +9643,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
9490
9643
  });
9491
9644
  }
9492
9645
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
9493
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
9646
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
9494
9647
  }
9495
9648
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
9496
9649
  const { luvio, config } = context;
@@ -9501,12 +9654,12 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
9501
9654
  };
9502
9655
  const cacheSnapshot = storeLookup(selector, {
9503
9656
  config,
9504
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9657
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
9505
9658
  });
9506
9659
  return cacheSnapshot;
9507
9660
  }
9508
9661
  const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetric(untrustedConfig, requestContext) {
9509
- const config = validateAdapterConfig$9(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
9662
+ const config = validateAdapterConfig$a(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
9510
9663
  // Invalid or incomplete config
9511
9664
  if (config === null) {
9512
9665
  return null;
@@ -9516,7 +9669,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
9516
9669
  };
9517
9670
  const notifyChangeFactory$2 = (luvio, options) => {
9518
9671
  return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
9519
- const keys = configs.map(c => keyBuilder$m(luvio, c));
9672
+ const keys = configs.map(c => keyBuilder$n(luvio, c));
9520
9673
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
9521
9674
  for (let i = 0, len = entries.length; i < len; i++) {
9522
9675
  const { key, record: val } = entries[i];
@@ -9589,7 +9742,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
9589
9742
  }
9590
9743
  return input;
9591
9744
  }
9592
- const select$e = function SemanticMetricCollectionOutputRepresentationSelect() {
9745
+ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
9593
9746
  return {
9594
9747
  kind: 'Fragment',
9595
9748
  version: VERSION$5,
@@ -9600,7 +9753,7 @@ const select$e = function SemanticMetricCollectionOutputRepresentationSelect() {
9600
9753
  kind: 'Link',
9601
9754
  plural: true,
9602
9755
  required: false,
9603
- fragment: select$l()
9756
+ fragment: select$m()
9604
9757
  }
9605
9758
  ]
9606
9759
  };
@@ -9654,22 +9807,22 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
9654
9807
  }
9655
9808
  }
9656
9809
 
9657
- function select$d(luvio, params) {
9658
- return select$e();
9810
+ function select$e(luvio, params) {
9811
+ return select$f();
9659
9812
  }
9660
9813
  function keyBuilder$f(luvio, params) {
9661
9814
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
9662
9815
  }
9663
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
9816
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
9664
9817
  getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$f(luvio, resourceParams));
9665
9818
  }
9666
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
9819
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
9667
9820
  const { body } = response;
9668
9821
  const key = keyBuilder$f(luvio, resourceParams);
9669
9822
  luvio.storeIngest(key, ingest$4, body);
9670
9823
  const snapshot = luvio.storeLookup({
9671
9824
  recordId: key,
9672
- node: select$d(),
9825
+ node: select$e(),
9673
9826
  variables: {},
9674
9827
  }, snapshotRefresh);
9675
9828
  if (process.env.NODE_ENV !== 'production') {
@@ -9686,7 +9839,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
9686
9839
  luvio.storeIngestError(key, errorSnapshot);
9687
9840
  return errorSnapshot;
9688
9841
  }
9689
- function createResourceRequest$8(config) {
9842
+ function createResourceRequest$9(config) {
9690
9843
  const headers = {};
9691
9844
  return {
9692
9845
  baseUri: '/services/data/v63.0',
@@ -9700,60 +9853,60 @@ function createResourceRequest$8(config) {
9700
9853
  };
9701
9854
  }
9702
9855
 
9703
- const adapterName$8 = 'getSemanticMetrics';
9856
+ const adapterName$9 = 'getSemanticMetrics';
9704
9857
  const getSemanticMetrics_ConfigPropertyMetadata = [
9705
9858
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9706
9859
  ];
9707
- const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetrics_ConfigPropertyMetadata);
9708
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$d(getSemanticMetrics_ConfigPropertyMetadata);
9860
+ const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetrics_ConfigPropertyMetadata);
9861
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$f(getSemanticMetrics_ConfigPropertyMetadata);
9709
9862
  function keyBuilder$e(luvio, config) {
9710
- const resourceParams = createResourceParams$8(config);
9863
+ const resourceParams = createResourceParams$9(config);
9711
9864
  return keyBuilder$f(luvio, resourceParams);
9712
9865
  }
9713
- function typeCheckConfig$8(untrustedConfig) {
9866
+ function typeCheckConfig$9(untrustedConfig) {
9714
9867
  const config = {};
9715
- typeCheckConfig$d(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
9868
+ typeCheckConfig$f(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
9716
9869
  return config;
9717
9870
  }
9718
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
9871
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
9719
9872
  if (!untrustedIsObject(untrustedConfig)) {
9720
9873
  return null;
9721
9874
  }
9722
9875
  if (process.env.NODE_ENV !== 'production') {
9723
9876
  validateConfig(untrustedConfig, configPropertyNames);
9724
9877
  }
9725
- const config = typeCheckConfig$8(untrustedConfig);
9878
+ const config = typeCheckConfig$9(untrustedConfig);
9726
9879
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9727
9880
  return null;
9728
9881
  }
9729
9882
  return config;
9730
9883
  }
9731
9884
  function adapterFragment$7(luvio, config) {
9732
- createResourceParams$8(config);
9733
- return select$d();
9885
+ createResourceParams$9(config);
9886
+ return select$e();
9734
9887
  }
9735
9888
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
9736
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
9889
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
9737
9890
  config,
9738
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9891
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9739
9892
  });
9740
9893
  return luvio.storeBroadcast().then(() => snapshot);
9741
9894
  }
9742
9895
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
9743
9896
  const snapshot = ingestError$7(luvio, resourceParams, response, {
9744
9897
  config,
9745
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9898
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9746
9899
  });
9747
9900
  return luvio.storeBroadcast().then(() => snapshot);
9748
9901
  }
9749
- function buildNetworkSnapshot$8(luvio, config, options) {
9750
- const resourceParams = createResourceParams$8(config);
9751
- const request = createResourceRequest$8(resourceParams);
9902
+ function buildNetworkSnapshot$9(luvio, config, options) {
9903
+ const resourceParams = createResourceParams$9(config);
9904
+ const request = createResourceRequest$9(resourceParams);
9752
9905
  return luvio.dispatchResourceRequest(request, options)
9753
9906
  .then((response) => {
9754
9907
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
9755
9908
  const cache = new StoreKeyMap();
9756
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
9909
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
9757
9910
  return cache;
9758
9911
  });
9759
9912
  }, (response) => {
@@ -9761,7 +9914,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
9761
9914
  });
9762
9915
  }
9763
9916
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
9764
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
9917
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
9765
9918
  }
9766
9919
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
9767
9920
  const { luvio, config } = context;
@@ -9772,12 +9925,12 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
9772
9925
  };
9773
9926
  const cacheSnapshot = storeLookup(selector, {
9774
9927
  config,
9775
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9928
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9776
9929
  });
9777
9930
  return cacheSnapshot;
9778
9931
  }
9779
9932
  const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetrics(untrustedConfig, requestContext) {
9780
- const config = validateAdapterConfig$8(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
9933
+ const config = validateAdapterConfig$9(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
9781
9934
  // Invalid or incomplete config
9782
9935
  if (config === null) {
9783
9936
  return null;
@@ -9786,22 +9939,22 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
9786
9939
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
9787
9940
  };
9788
9941
 
9789
- function select$c(luvio, params) {
9790
- return select$e();
9942
+ function select$d(luvio, params) {
9943
+ return select$f();
9791
9944
  }
9792
9945
  function keyBuilder$d(luvio, params) {
9793
9946
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
9794
9947
  }
9795
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
9948
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
9796
9949
  getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
9797
9950
  }
9798
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
9951
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
9799
9952
  const { body } = response;
9800
9953
  const key = keyBuilder$d(luvio, resourceParams);
9801
9954
  luvio.storeIngest(key, ingest$4, body);
9802
9955
  const snapshot = luvio.storeLookup({
9803
9956
  recordId: key,
9804
- node: select$c(),
9957
+ node: select$d(),
9805
9958
  variables: {},
9806
9959
  }, snapshotRefresh);
9807
9960
  if (process.env.NODE_ENV !== 'production') {
@@ -9818,7 +9971,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
9818
9971
  luvio.storeIngestError(key, errorSnapshot);
9819
9972
  return errorSnapshot;
9820
9973
  }
9821
- function createResourceRequest$7(config) {
9974
+ function createResourceRequest$8(config) {
9822
9975
  const headers = {};
9823
9976
  return {
9824
9977
  baseUri: '/services/data/v63.0',
@@ -9832,62 +9985,62 @@ function createResourceRequest$7(config) {
9832
9985
  };
9833
9986
  }
9834
9987
 
9835
- const adapterName$7 = 'getSemanticMetricsByIds';
9988
+ const adapterName$8 = 'getSemanticMetricsByIds';
9836
9989
  const getSemanticMetricsByIds_ConfigPropertyMetadata = [
9837
9990
  generateParamConfigMetadata('metricIds', true, 0 /* UrlParameter */, 0 /* String */),
9838
9991
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
9839
9992
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
9840
9993
  ];
9841
- const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsByIds_ConfigPropertyMetadata);
9842
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$d(getSemanticMetricsByIds_ConfigPropertyMetadata);
9994
+ const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetricsByIds_ConfigPropertyMetadata);
9995
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$f(getSemanticMetricsByIds_ConfigPropertyMetadata);
9843
9996
  function keyBuilder$c(luvio, config) {
9844
- const resourceParams = createResourceParams$7(config);
9997
+ const resourceParams = createResourceParams$8(config);
9845
9998
  return keyBuilder$d(luvio, resourceParams);
9846
9999
  }
9847
- function typeCheckConfig$7(untrustedConfig) {
10000
+ function typeCheckConfig$8(untrustedConfig) {
9848
10001
  const config = {};
9849
- typeCheckConfig$d(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
10002
+ typeCheckConfig$f(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
9850
10003
  return config;
9851
10004
  }
9852
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
10005
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
9853
10006
  if (!untrustedIsObject(untrustedConfig)) {
9854
10007
  return null;
9855
10008
  }
9856
10009
  if (process.env.NODE_ENV !== 'production') {
9857
10010
  validateConfig(untrustedConfig, configPropertyNames);
9858
10011
  }
9859
- const config = typeCheckConfig$7(untrustedConfig);
10012
+ const config = typeCheckConfig$8(untrustedConfig);
9860
10013
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9861
10014
  return null;
9862
10015
  }
9863
10016
  return config;
9864
10017
  }
9865
10018
  function adapterFragment$6(luvio, config) {
9866
- createResourceParams$7(config);
9867
- return select$c();
10019
+ createResourceParams$8(config);
10020
+ return select$d();
9868
10021
  }
9869
10022
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
9870
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
10023
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
9871
10024
  config,
9872
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10025
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9873
10026
  });
9874
10027
  return luvio.storeBroadcast().then(() => snapshot);
9875
10028
  }
9876
10029
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
9877
10030
  const snapshot = ingestError$6(luvio, resourceParams, response, {
9878
10031
  config,
9879
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10032
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9880
10033
  });
9881
10034
  return luvio.storeBroadcast().then(() => snapshot);
9882
10035
  }
9883
- function buildNetworkSnapshot$7(luvio, config, options) {
9884
- const resourceParams = createResourceParams$7(config);
9885
- const request = createResourceRequest$7(resourceParams);
10036
+ function buildNetworkSnapshot$8(luvio, config, options) {
10037
+ const resourceParams = createResourceParams$8(config);
10038
+ const request = createResourceRequest$8(resourceParams);
9886
10039
  return luvio.dispatchResourceRequest(request, options)
9887
10040
  .then((response) => {
9888
10041
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
9889
10042
  const cache = new StoreKeyMap();
9890
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
10043
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
9891
10044
  return cache;
9892
10045
  });
9893
10046
  }, (response) => {
@@ -9895,7 +10048,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
9895
10048
  });
9896
10049
  }
9897
10050
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
9898
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
10051
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
9899
10052
  }
9900
10053
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
9901
10054
  const { luvio, config } = context;
@@ -9906,12 +10059,12 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
9906
10059
  };
9907
10060
  const cacheSnapshot = storeLookup(selector, {
9908
10061
  config,
9909
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10062
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9910
10063
  });
9911
10064
  return cacheSnapshot;
9912
10065
  }
9913
10066
  const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetricsByIds(untrustedConfig, requestContext) {
9914
- const config = validateAdapterConfig$7(untrustedConfig, getSemanticMetricsByIds_ConfigPropertyNames);
10067
+ const config = validateAdapterConfig$8(untrustedConfig, getSemanticMetricsByIds_ConfigPropertyNames);
9915
10068
  // Invalid or incomplete config
9916
10069
  if (config === null) {
9917
10070
  return null;
@@ -9972,7 +10125,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
9972
10125
  }
9973
10126
  return input;
9974
10127
  }
9975
- const select$b = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
10128
+ const select$c = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
9976
10129
  return {
9977
10130
  kind: 'Fragment',
9978
10131
  version: VERSION$4,
@@ -9988,7 +10141,7 @@ const select$b = function SemanticSubMetricsByMetricOutputRepresentationSelect()
9988
10141
  kind: 'Link',
9989
10142
  plural: true,
9990
10143
  required: false,
9991
- fragment: select$h()
10144
+ fragment: select$i()
9992
10145
  }
9993
10146
  ]
9994
10147
  };
@@ -10100,7 +10253,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
10100
10253
  }
10101
10254
  return input;
10102
10255
  }
10103
- const select$a = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
10256
+ const select$b = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
10104
10257
  return {
10105
10258
  kind: 'Fragment',
10106
10259
  version: VERSION$3,
@@ -10111,7 +10264,7 @@ const select$a = function SemanticSubMetricsByMetricCollectionOutputRepresentati
10111
10264
  kind: 'Link',
10112
10265
  plural: true,
10113
10266
  required: false,
10114
- fragment: select$b()
10267
+ fragment: select$c()
10115
10268
  }
10116
10269
  ]
10117
10270
  };
@@ -10165,22 +10318,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
10165
10318
  }
10166
10319
  }
10167
10320
 
10168
- function select$9(luvio, params) {
10169
- return select$a();
10321
+ function select$a(luvio, params) {
10322
+ return select$b();
10170
10323
  }
10171
10324
  function keyBuilder$b(luvio, params) {
10172
10325
  return keyPrefix + '::SemanticSubMetricsByMetricCollectionOutputRepresentation:(' + 'metricApiNames:' + params.urlParams.metricApiNames + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
10173
10326
  }
10174
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10327
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
10175
10328
  getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
10176
10329
  }
10177
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
10330
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
10178
10331
  const { body } = response;
10179
10332
  const key = keyBuilder$b(luvio, resourceParams);
10180
10333
  luvio.storeIngest(key, ingest$2, body);
10181
10334
  const snapshot = luvio.storeLookup({
10182
10335
  recordId: key,
10183
- node: select$9(),
10336
+ node: select$a(),
10184
10337
  variables: {},
10185
10338
  }, snapshotRefresh);
10186
10339
  if (process.env.NODE_ENV !== 'production') {
@@ -10197,7 +10350,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
10197
10350
  luvio.storeIngestError(key, errorSnapshot);
10198
10351
  return errorSnapshot;
10199
10352
  }
10200
- function createResourceRequest$6(config) {
10353
+ function createResourceRequest$7(config) {
10201
10354
  const headers = {};
10202
10355
  return {
10203
10356
  baseUri: '/services/data/v63.0',
@@ -10211,61 +10364,61 @@ function createResourceRequest$6(config) {
10211
10364
  };
10212
10365
  }
10213
10366
 
10214
- const adapterName$6 = 'getSemanticMetricsToSubMetrics';
10367
+ const adapterName$7 = 'getSemanticMetricsToSubMetrics';
10215
10368
  const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
10216
10369
  generateParamConfigMetadata('metricApiNames', true, 0 /* UrlParameter */, 0 /* String */),
10217
10370
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10218
10371
  ];
10219
- const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10220
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$d(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10372
+ const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10373
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$f(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10221
10374
  function keyBuilder$a(luvio, config) {
10222
- const resourceParams = createResourceParams$6(config);
10375
+ const resourceParams = createResourceParams$7(config);
10223
10376
  return keyBuilder$b(luvio, resourceParams);
10224
10377
  }
10225
- function typeCheckConfig$6(untrustedConfig) {
10378
+ function typeCheckConfig$7(untrustedConfig) {
10226
10379
  const config = {};
10227
- typeCheckConfig$d(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10380
+ typeCheckConfig$f(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10228
10381
  return config;
10229
10382
  }
10230
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
10383
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
10231
10384
  if (!untrustedIsObject(untrustedConfig)) {
10232
10385
  return null;
10233
10386
  }
10234
10387
  if (process.env.NODE_ENV !== 'production') {
10235
10388
  validateConfig(untrustedConfig, configPropertyNames);
10236
10389
  }
10237
- const config = typeCheckConfig$6(untrustedConfig);
10390
+ const config = typeCheckConfig$7(untrustedConfig);
10238
10391
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10239
10392
  return null;
10240
10393
  }
10241
10394
  return config;
10242
10395
  }
10243
10396
  function adapterFragment$5(luvio, config) {
10244
- createResourceParams$6(config);
10245
- return select$9();
10397
+ createResourceParams$7(config);
10398
+ return select$a();
10246
10399
  }
10247
10400
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
10248
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
10401
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
10249
10402
  config,
10250
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10403
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10251
10404
  });
10252
10405
  return luvio.storeBroadcast().then(() => snapshot);
10253
10406
  }
10254
10407
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
10255
10408
  const snapshot = ingestError$5(luvio, resourceParams, response, {
10256
10409
  config,
10257
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10410
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10258
10411
  });
10259
10412
  return luvio.storeBroadcast().then(() => snapshot);
10260
10413
  }
10261
- function buildNetworkSnapshot$6(luvio, config, options) {
10262
- const resourceParams = createResourceParams$6(config);
10263
- const request = createResourceRequest$6(resourceParams);
10414
+ function buildNetworkSnapshot$7(luvio, config, options) {
10415
+ const resourceParams = createResourceParams$7(config);
10416
+ const request = createResourceRequest$7(resourceParams);
10264
10417
  return luvio.dispatchResourceRequest(request, options)
10265
10418
  .then((response) => {
10266
10419
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
10267
10420
  const cache = new StoreKeyMap();
10268
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
10421
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
10269
10422
  return cache;
10270
10423
  });
10271
10424
  }, (response) => {
@@ -10273,7 +10426,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
10273
10426
  });
10274
10427
  }
10275
10428
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
10276
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
10429
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
10277
10430
  }
10278
10431
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10279
10432
  const { luvio, config } = context;
@@ -10284,12 +10437,12 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10284
10437
  };
10285
10438
  const cacheSnapshot = storeLookup(selector, {
10286
10439
  config,
10287
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10440
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10288
10441
  });
10289
10442
  return cacheSnapshot;
10290
10443
  }
10291
10444
  const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetricsToSubMetrics(untrustedConfig, requestContext) {
10292
- const config = validateAdapterConfig$6(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
10445
+ const config = validateAdapterConfig$7(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
10293
10446
  // Invalid or incomplete config
10294
10447
  if (config === null) {
10295
10448
  return null;
@@ -10298,24 +10451,24 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
10298
10451
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
10299
10452
  };
10300
10453
 
10301
- function select$8(luvio, params) {
10302
- return select$j();
10454
+ function select$9(luvio, params) {
10455
+ return select$k();
10303
10456
  }
10304
10457
  function keyBuilder$9(luvio, params) {
10305
- return keyBuilder$k(luvio, {
10458
+ return keyBuilder$l(luvio, {
10306
10459
  name: params.urlParams.modelApiNameOrId
10307
10460
  });
10308
10461
  }
10309
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
10462
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10310
10463
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
10311
10464
  }
10312
- function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
10465
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
10313
10466
  const { body } = response;
10314
10467
  const key = keyBuilder$9(luvio, resourceParams);
10315
10468
  luvio.storeIngest(key, ingest$6, body);
10316
10469
  const snapshot = luvio.storeLookup({
10317
10470
  recordId: key,
10318
- node: select$8(),
10471
+ node: select$9(),
10319
10472
  variables: {},
10320
10473
  }, snapshotRefresh);
10321
10474
  if (process.env.NODE_ENV !== 'production') {
@@ -10332,7 +10485,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
10332
10485
  luvio.storeIngestError(key, errorSnapshot);
10333
10486
  return errorSnapshot;
10334
10487
  }
10335
- function createResourceRequest$5(config) {
10488
+ function createResourceRequest$6(config) {
10336
10489
  const headers = {};
10337
10490
  return {
10338
10491
  baseUri: '/services/data/v63.0',
@@ -10351,66 +10504,66 @@ function createResourceRequestFromRepresentation$1(representation) {
10351
10504
  queryParams: {},
10352
10505
  };
10353
10506
  config.urlParams.modelApiNameOrId = representation.id;
10354
- return createResourceRequest$5(config);
10507
+ return createResourceRequest$6(config);
10355
10508
  }
10356
10509
 
10357
- const adapterName$5 = 'getSemanticModel';
10510
+ const adapterName$6 = 'getSemanticModel';
10358
10511
  const getSemanticModel_ConfigPropertyMetadata = [
10359
10512
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10360
10513
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
10361
10514
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
10362
10515
  generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
10363
10516
  ];
10364
- const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModel_ConfigPropertyMetadata);
10365
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$d(getSemanticModel_ConfigPropertyMetadata);
10517
+ const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticModel_ConfigPropertyMetadata);
10518
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$f(getSemanticModel_ConfigPropertyMetadata);
10366
10519
  function keyBuilder$8(luvio, config) {
10367
- const resourceParams = createResourceParams$5(config);
10520
+ const resourceParams = createResourceParams$6(config);
10368
10521
  return keyBuilder$9(luvio, resourceParams);
10369
10522
  }
10370
- function typeCheckConfig$5(untrustedConfig) {
10523
+ function typeCheckConfig$6(untrustedConfig) {
10371
10524
  const config = {};
10372
- typeCheckConfig$d(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10525
+ typeCheckConfig$f(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10373
10526
  return config;
10374
10527
  }
10375
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
10528
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
10376
10529
  if (!untrustedIsObject(untrustedConfig)) {
10377
10530
  return null;
10378
10531
  }
10379
10532
  if (process.env.NODE_ENV !== 'production') {
10380
10533
  validateConfig(untrustedConfig, configPropertyNames);
10381
10534
  }
10382
- const config = typeCheckConfig$5(untrustedConfig);
10535
+ const config = typeCheckConfig$6(untrustedConfig);
10383
10536
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10384
10537
  return null;
10385
10538
  }
10386
10539
  return config;
10387
10540
  }
10388
10541
  function adapterFragment$4(luvio, config) {
10389
- createResourceParams$5(config);
10390
- return select$8();
10542
+ createResourceParams$6(config);
10543
+ return select$9();
10391
10544
  }
10392
10545
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
10393
- const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
10546
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
10394
10547
  config,
10395
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10548
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10396
10549
  });
10397
10550
  return luvio.storeBroadcast().then(() => snapshot);
10398
10551
  }
10399
10552
  function onFetchResponseError$4(luvio, config, resourceParams, response) {
10400
10553
  const snapshot = ingestError$4(luvio, resourceParams, response, {
10401
10554
  config,
10402
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10555
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10403
10556
  });
10404
10557
  return luvio.storeBroadcast().then(() => snapshot);
10405
10558
  }
10406
- function buildNetworkSnapshot$5(luvio, config, options) {
10407
- const resourceParams = createResourceParams$5(config);
10408
- const request = createResourceRequest$5(resourceParams);
10559
+ function buildNetworkSnapshot$6(luvio, config, options) {
10560
+ const resourceParams = createResourceParams$6(config);
10561
+ const request = createResourceRequest$6(resourceParams);
10409
10562
  return luvio.dispatchResourceRequest(request, options)
10410
10563
  .then((response) => {
10411
10564
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
10412
10565
  const cache = new StoreKeyMap();
10413
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
10566
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
10414
10567
  return cache;
10415
10568
  });
10416
10569
  }, (response) => {
@@ -10418,7 +10571,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
10418
10571
  });
10419
10572
  }
10420
10573
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
10421
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
10574
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
10422
10575
  }
10423
10576
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
10424
10577
  const { luvio, config } = context;
@@ -10429,12 +10582,12 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
10429
10582
  };
10430
10583
  const cacheSnapshot = storeLookup(selector, {
10431
10584
  config,
10432
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10585
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10433
10586
  });
10434
10587
  return cacheSnapshot;
10435
10588
  }
10436
10589
  const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModel(untrustedConfig, requestContext) {
10437
- const config = validateAdapterConfig$5(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10590
+ const config = validateAdapterConfig$6(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10438
10591
  // Invalid or incomplete config
10439
10592
  if (config === null) {
10440
10593
  return null;
@@ -10444,7 +10597,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
10444
10597
  };
10445
10598
  const notifyChangeFactory$1 = (luvio, options) => {
10446
10599
  return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
10447
- const keys = configs.map(c => keyBuilder$k(luvio, c));
10600
+ const keys = configs.map(c => keyBuilder$l(luvio, c));
10448
10601
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
10449
10602
  for (let i = 0, len = entries.length; i < len; i++) {
10450
10603
  const { key, record: val } = entries[i];
@@ -10506,7 +10659,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
10506
10659
  for (let i = 0; i < obj_baseModels.length; i++) {
10507
10660
  const obj_baseModels_item = obj_baseModels[i];
10508
10661
  const path_baseModels_item = path_baseModels + '[' + i + ']';
10509
- const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
10662
+ const referencepath_baseModels_itemValidationError = validate$B(obj_baseModels_item, path_baseModels_item);
10510
10663
  if (referencepath_baseModels_itemValidationError !== null) {
10511
10664
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
10512
10665
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10677,8 +10830,8 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
10677
10830
  })();
10678
10831
  return v_error === undefined ? null : v_error;
10679
10832
  }
10680
- const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
10681
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$F();
10833
+ const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
10834
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
10682
10835
  return {
10683
10836
  kind: 'Fragment',
10684
10837
  version: VERSION$2,
@@ -11215,8 +11368,8 @@ const RepresentationType$1 = 'SemanticModelCollectionOutputRepresentation';
11215
11368
  function normalize$1(input, existing, path, luvio, store, timestamp) {
11216
11369
  return input;
11217
11370
  }
11218
- const select$6 = function SemanticModelCollectionOutputRepresentationSelect() {
11219
- const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$7();
11371
+ const select$7 = function SemanticModelCollectionOutputRepresentationSelect() {
11372
+ const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$8();
11220
11373
  return {
11221
11374
  kind: 'Fragment',
11222
11375
  version: VERSION$1,
@@ -11347,22 +11500,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
11347
11500
  });
11348
11501
  }
11349
11502
 
11350
- function select$5(luvio, params) {
11351
- return select$6();
11503
+ function select$6(luvio, params) {
11504
+ return select$7();
11352
11505
  }
11353
11506
  function keyBuilder$7(luvio, params) {
11354
11507
  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 + ')';
11355
11508
  }
11356
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
11509
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
11357
11510
  getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
11358
11511
  }
11359
- function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
11512
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
11360
11513
  const { body } = response;
11361
11514
  const key = keyBuilder$7(luvio, resourceParams);
11362
11515
  luvio.storeIngest(key, ingest$1, body);
11363
11516
  const snapshot = luvio.storeLookup({
11364
11517
  recordId: key,
11365
- node: select$5(),
11518
+ node: select$6(),
11366
11519
  variables: {},
11367
11520
  }, snapshotRefresh);
11368
11521
  if (process.env.NODE_ENV !== 'production') {
@@ -11379,7 +11532,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
11379
11532
  luvio.storeIngestError(key, errorSnapshot);
11380
11533
  return errorSnapshot;
11381
11534
  }
11382
- function createResourceRequest$4(config) {
11535
+ function createResourceRequest$5(config) {
11383
11536
  const headers = {};
11384
11537
  return {
11385
11538
  baseUri: '/services/data/v63.0',
@@ -11393,7 +11546,7 @@ function createResourceRequest$4(config) {
11393
11546
  };
11394
11547
  }
11395
11548
 
11396
- const adapterName$4 = 'getSemanticModels';
11549
+ const adapterName$5 = 'getSemanticModels';
11397
11550
  const getSemanticModels_ConfigPropertyMetadata = [
11398
11551
  generateParamConfigMetadata('app', false, 1 /* QueryParameter */, 0 /* String */),
11399
11552
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
@@ -11405,56 +11558,56 @@ const getSemanticModels_ConfigPropertyMetadata = [
11405
11558
  generateParamConfigMetadata('sourceCreation', false, 1 /* QueryParameter */, 0 /* String */),
11406
11559
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
11407
11560
  ];
11408
- const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticModels_ConfigPropertyMetadata);
11409
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$d(getSemanticModels_ConfigPropertyMetadata);
11561
+ const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModels_ConfigPropertyMetadata);
11562
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$f(getSemanticModels_ConfigPropertyMetadata);
11410
11563
  function keyBuilder$6(luvio, config) {
11411
- const resourceParams = createResourceParams$4(config);
11564
+ const resourceParams = createResourceParams$5(config);
11412
11565
  return keyBuilder$7(luvio, resourceParams);
11413
11566
  }
11414
- function typeCheckConfig$4(untrustedConfig) {
11567
+ function typeCheckConfig$5(untrustedConfig) {
11415
11568
  const config = {};
11416
- typeCheckConfig$d(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
11569
+ typeCheckConfig$f(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
11417
11570
  return config;
11418
11571
  }
11419
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
11572
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
11420
11573
  if (!untrustedIsObject(untrustedConfig)) {
11421
11574
  return null;
11422
11575
  }
11423
11576
  if (process.env.NODE_ENV !== 'production') {
11424
11577
  validateConfig(untrustedConfig, configPropertyNames);
11425
11578
  }
11426
- const config = typeCheckConfig$4(untrustedConfig);
11579
+ const config = typeCheckConfig$5(untrustedConfig);
11427
11580
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11428
11581
  return null;
11429
11582
  }
11430
11583
  return config;
11431
11584
  }
11432
11585
  function adapterFragment$3(luvio, config) {
11433
- createResourceParams$4(config);
11434
- return select$5();
11586
+ createResourceParams$5(config);
11587
+ return select$6();
11435
11588
  }
11436
11589
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
11437
- const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
11590
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
11438
11591
  config,
11439
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11592
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11440
11593
  });
11441
11594
  return luvio.storeBroadcast().then(() => snapshot);
11442
11595
  }
11443
11596
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
11444
11597
  const snapshot = ingestError$3(luvio, resourceParams, response, {
11445
11598
  config,
11446
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11599
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11447
11600
  });
11448
11601
  return luvio.storeBroadcast().then(() => snapshot);
11449
11602
  }
11450
- function buildNetworkSnapshot$4(luvio, config, options) {
11451
- const resourceParams = createResourceParams$4(config);
11452
- const request = createResourceRequest$4(resourceParams);
11603
+ function buildNetworkSnapshot$5(luvio, config, options) {
11604
+ const resourceParams = createResourceParams$5(config);
11605
+ const request = createResourceRequest$5(resourceParams);
11453
11606
  return luvio.dispatchResourceRequest(request, options)
11454
11607
  .then((response) => {
11455
11608
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
11456
11609
  const cache = new StoreKeyMap();
11457
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
11610
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
11458
11611
  return cache;
11459
11612
  });
11460
11613
  }, (response) => {
@@ -11462,7 +11615,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
11462
11615
  });
11463
11616
  }
11464
11617
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
11465
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11618
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
11466
11619
  }
11467
11620
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11468
11621
  const { luvio, config } = context;
@@ -11473,12 +11626,12 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11473
11626
  };
11474
11627
  const cacheSnapshot = storeLookup(selector, {
11475
11628
  config,
11476
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11629
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11477
11630
  });
11478
11631
  return cacheSnapshot;
11479
11632
  }
11480
11633
  const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
11481
- const config = validateAdapterConfig$4(untrustedConfig, getSemanticModels_ConfigPropertyNames);
11634
+ const config = validateAdapterConfig$5(untrustedConfig, getSemanticModels_ConfigPropertyNames);
11482
11635
  // Invalid or incomplete config
11483
11636
  if (config === null) {
11484
11637
  return null;
@@ -11487,24 +11640,24 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
11487
11640
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
11488
11641
  };
11489
11642
 
11490
- function select$4(luvio, params) {
11491
- return select$h();
11643
+ function select$5(luvio, params) {
11644
+ return select$i();
11492
11645
  }
11493
11646
  function keyBuilder$5(luvio, params) {
11494
- return keyBuilder$j(luvio, {
11647
+ return keyBuilder$k(luvio, {
11495
11648
  name: params.urlParams.subMetricNameOrId
11496
11649
  });
11497
11650
  }
11498
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
11651
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
11499
11652
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
11500
11653
  }
11501
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
11654
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
11502
11655
  const { body } = response;
11503
11656
  const key = keyBuilder$5(luvio, resourceParams);
11504
11657
  luvio.storeIngest(key, ingest$5, body);
11505
11658
  const snapshot = luvio.storeLookup({
11506
11659
  recordId: key,
11507
- node: select$4(),
11660
+ node: select$5(),
11508
11661
  variables: {},
11509
11662
  }, snapshotRefresh);
11510
11663
  if (process.env.NODE_ENV !== 'production') {
@@ -11521,7 +11674,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
11521
11674
  luvio.storeIngestError(key, errorSnapshot);
11522
11675
  return errorSnapshot;
11523
11676
  }
11524
- function createResourceRequest$3(config) {
11677
+ function createResourceRequest$4(config) {
11525
11678
  const headers = {};
11526
11679
  return {
11527
11680
  baseUri: '/services/data/v63.0',
@@ -11539,64 +11692,64 @@ function createResourceRequestFromRepresentation(representation) {
11539
11692
  urlParams: {},
11540
11693
  };
11541
11694
  config.urlParams.subMetricNameOrId = representation.id;
11542
- return createResourceRequest$3(config);
11695
+ return createResourceRequest$4(config);
11543
11696
  }
11544
11697
 
11545
- const adapterName$3 = 'getSemanticSubMetric';
11698
+ const adapterName$4 = 'getSemanticSubMetric';
11546
11699
  const getSemanticSubMetric_ConfigPropertyMetadata = [
11547
11700
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11548
11701
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11549
11702
  ];
11550
- const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetric_ConfigPropertyMetadata);
11551
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$d(getSemanticSubMetric_ConfigPropertyMetadata);
11703
+ const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetric_ConfigPropertyMetadata);
11704
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$f(getSemanticSubMetric_ConfigPropertyMetadata);
11552
11705
  function keyBuilder$4(luvio, config) {
11553
- const resourceParams = createResourceParams$3(config);
11706
+ const resourceParams = createResourceParams$4(config);
11554
11707
  return keyBuilder$5(luvio, resourceParams);
11555
11708
  }
11556
- function typeCheckConfig$3(untrustedConfig) {
11709
+ function typeCheckConfig$4(untrustedConfig) {
11557
11710
  const config = {};
11558
- typeCheckConfig$d(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
11711
+ typeCheckConfig$f(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
11559
11712
  return config;
11560
11713
  }
11561
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
11714
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
11562
11715
  if (!untrustedIsObject(untrustedConfig)) {
11563
11716
  return null;
11564
11717
  }
11565
11718
  if (process.env.NODE_ENV !== 'production') {
11566
11719
  validateConfig(untrustedConfig, configPropertyNames);
11567
11720
  }
11568
- const config = typeCheckConfig$3(untrustedConfig);
11721
+ const config = typeCheckConfig$4(untrustedConfig);
11569
11722
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11570
11723
  return null;
11571
11724
  }
11572
11725
  return config;
11573
11726
  }
11574
11727
  function adapterFragment$2(luvio, config) {
11575
- createResourceParams$3(config);
11576
- return select$4();
11728
+ createResourceParams$4(config);
11729
+ return select$5();
11577
11730
  }
11578
11731
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
11579
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
11732
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
11580
11733
  config,
11581
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11734
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11582
11735
  });
11583
11736
  return luvio.storeBroadcast().then(() => snapshot);
11584
11737
  }
11585
11738
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
11586
11739
  const snapshot = ingestError$2(luvio, resourceParams, response, {
11587
11740
  config,
11588
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11741
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11589
11742
  });
11590
11743
  return luvio.storeBroadcast().then(() => snapshot);
11591
11744
  }
11592
- function buildNetworkSnapshot$3(luvio, config, options) {
11593
- const resourceParams = createResourceParams$3(config);
11594
- const request = createResourceRequest$3(resourceParams);
11745
+ function buildNetworkSnapshot$4(luvio, config, options) {
11746
+ const resourceParams = createResourceParams$4(config);
11747
+ const request = createResourceRequest$4(resourceParams);
11595
11748
  return luvio.dispatchResourceRequest(request, options)
11596
11749
  .then((response) => {
11597
11750
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
11598
11751
  const cache = new StoreKeyMap();
11599
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
11752
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
11600
11753
  return cache;
11601
11754
  });
11602
11755
  }, (response) => {
@@ -11604,7 +11757,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
11604
11757
  });
11605
11758
  }
11606
11759
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
11607
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
11760
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11608
11761
  }
11609
11762
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11610
11763
  const { luvio, config } = context;
@@ -11615,12 +11768,12 @@ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11615
11768
  };
11616
11769
  const cacheSnapshot = storeLookup(selector, {
11617
11770
  config,
11618
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11771
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11619
11772
  });
11620
11773
  return cacheSnapshot;
11621
11774
  }
11622
11775
  const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetric(untrustedConfig, requestContext) {
11623
- const config = validateAdapterConfig$3(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
11776
+ const config = validateAdapterConfig$4(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
11624
11777
  // Invalid or incomplete config
11625
11778
  if (config === null) {
11626
11779
  return null;
@@ -11630,7 +11783,7 @@ const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring
11630
11783
  };
11631
11784
  const notifyChangeFactory = (luvio, options) => {
11632
11785
  return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
11633
- const keys = configs.map(c => keyBuilder$j(luvio, c));
11786
+ const keys = configs.map(c => keyBuilder$k(luvio, c));
11634
11787
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
11635
11788
  for (let i = 0, len = entries.length; i < len; i++) {
11636
11789
  const { key, record: val } = entries[i];
@@ -11703,7 +11856,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
11703
11856
  }
11704
11857
  return input;
11705
11858
  }
11706
- const select$3 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
11859
+ const select$4 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
11707
11860
  return {
11708
11861
  kind: 'Fragment',
11709
11862
  version: VERSION,
@@ -11714,7 +11867,7 @@ const select$3 = function SemanticSubMetricCollectionOutputRepresentationSelect(
11714
11867
  kind: 'Link',
11715
11868
  plural: true,
11716
11869
  required: false,
11717
- fragment: select$h()
11870
+ fragment: select$i()
11718
11871
  }
11719
11872
  ]
11720
11873
  };
@@ -11768,22 +11921,22 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
11768
11921
  }
11769
11922
  }
11770
11923
 
11771
- function select$2(luvio, params) {
11772
- return select$3();
11924
+ function select$3(luvio, params) {
11925
+ return select$4();
11773
11926
  }
11774
11927
  function keyBuilder$3(luvio, params) {
11775
- return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
11928
+ return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'hasGoal:' + params.queryParams.hasGoal + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
11776
11929
  }
11777
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
11930
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
11778
11931
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
11779
11932
  }
11780
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
11933
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
11781
11934
  const { body } = response;
11782
11935
  const key = keyBuilder$3(luvio, resourceParams);
11783
11936
  luvio.storeIngest(key, ingest, body);
11784
11937
  const snapshot = luvio.storeLookup({
11785
11938
  recordId: key,
11786
- node: select$2(),
11939
+ node: select$3(),
11787
11940
  variables: {},
11788
11941
  }, snapshotRefresh);
11789
11942
  if (process.env.NODE_ENV !== 'production') {
@@ -11800,7 +11953,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
11800
11953
  luvio.storeIngestError(key, errorSnapshot);
11801
11954
  return errorSnapshot;
11802
11955
  }
11803
- function createResourceRequest$2(config) {
11956
+ function createResourceRequest$3(config) {
11804
11957
  const headers = {};
11805
11958
  return {
11806
11959
  baseUri: '/services/data/v63.0',
@@ -11808,66 +11961,67 @@ function createResourceRequest$2(config) {
11808
11961
  method: 'get',
11809
11962
  body: null,
11810
11963
  urlParams: config.urlParams,
11811
- queryParams: {},
11964
+ queryParams: config.queryParams,
11812
11965
  headers,
11813
11966
  priority: 'normal',
11814
11967
  };
11815
11968
  }
11816
11969
 
11817
- const adapterName$2 = 'getSemanticSubMetrics';
11970
+ const adapterName$3 = 'getSemanticSubMetrics';
11818
11971
  const getSemanticSubMetrics_ConfigPropertyMetadata = [
11819
11972
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11973
+ generateParamConfigMetadata('hasGoal', false, 1 /* QueryParameter */, 1 /* Boolean */),
11820
11974
  ];
11821
- const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetrics_ConfigPropertyMetadata);
11822
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$d(getSemanticSubMetrics_ConfigPropertyMetadata);
11975
+ const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetrics_ConfigPropertyMetadata);
11976
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$f(getSemanticSubMetrics_ConfigPropertyMetadata);
11823
11977
  function keyBuilder$2(luvio, config) {
11824
- const resourceParams = createResourceParams$2(config);
11978
+ const resourceParams = createResourceParams$3(config);
11825
11979
  return keyBuilder$3(luvio, resourceParams);
11826
11980
  }
11827
- function typeCheckConfig$2(untrustedConfig) {
11981
+ function typeCheckConfig$3(untrustedConfig) {
11828
11982
  const config = {};
11829
- typeCheckConfig$d(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
11983
+ typeCheckConfig$f(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
11830
11984
  return config;
11831
11985
  }
11832
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
11986
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
11833
11987
  if (!untrustedIsObject(untrustedConfig)) {
11834
11988
  return null;
11835
11989
  }
11836
11990
  if (process.env.NODE_ENV !== 'production') {
11837
11991
  validateConfig(untrustedConfig, configPropertyNames);
11838
11992
  }
11839
- const config = typeCheckConfig$2(untrustedConfig);
11993
+ const config = typeCheckConfig$3(untrustedConfig);
11840
11994
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11841
11995
  return null;
11842
11996
  }
11843
11997
  return config;
11844
11998
  }
11845
11999
  function adapterFragment$1(luvio, config) {
11846
- createResourceParams$2(config);
11847
- return select$2();
12000
+ createResourceParams$3(config);
12001
+ return select$3();
11848
12002
  }
11849
12003
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
11850
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
12004
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
11851
12005
  config,
11852
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
12006
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11853
12007
  });
11854
12008
  return luvio.storeBroadcast().then(() => snapshot);
11855
12009
  }
11856
12010
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
11857
12011
  const snapshot = ingestError$1(luvio, resourceParams, response, {
11858
12012
  config,
11859
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
12013
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11860
12014
  });
11861
12015
  return luvio.storeBroadcast().then(() => snapshot);
11862
12016
  }
11863
- function buildNetworkSnapshot$2(luvio, config, options) {
11864
- const resourceParams = createResourceParams$2(config);
11865
- const request = createResourceRequest$2(resourceParams);
12017
+ function buildNetworkSnapshot$3(luvio, config, options) {
12018
+ const resourceParams = createResourceParams$3(config);
12019
+ const request = createResourceRequest$3(resourceParams);
11866
12020
  return luvio.dispatchResourceRequest(request, options)
11867
12021
  .then((response) => {
11868
12022
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
11869
12023
  const cache = new StoreKeyMap();
11870
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
12024
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
11871
12025
  return cache;
11872
12026
  });
11873
12027
  }, (response) => {
@@ -11875,7 +12029,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
11875
12029
  });
11876
12030
  }
11877
12031
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
11878
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
12032
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
11879
12033
  }
11880
12034
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
11881
12035
  const { luvio, config } = context;
@@ -11886,12 +12040,12 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
11886
12040
  };
11887
12041
  const cacheSnapshot = storeLookup(selector, {
11888
12042
  config,
11889
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
12043
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11890
12044
  });
11891
12045
  return cacheSnapshot;
11892
12046
  }
11893
12047
  const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetrics(untrustedConfig, requestContext) {
11894
- const config = validateAdapterConfig$2(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
12048
+ const config = validateAdapterConfig$3(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
11895
12049
  // Invalid or incomplete config
11896
12050
  if (config === null) {
11897
12051
  return null;
@@ -11900,22 +12054,22 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
11900
12054
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
11901
12055
  };
11902
12056
 
11903
- function select$1(luvio, params) {
11904
- return select$3();
12057
+ function select$2(luvio, params) {
12058
+ return select$4();
11905
12059
  }
11906
12060
  function keyBuilder$1(luvio, params) {
11907
12061
  return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'subMetricIds:' + params.urlParams.subMetricIds + ')';
11908
12062
  }
11909
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
12063
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
11910
12064
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
11911
12065
  }
11912
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
12066
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
11913
12067
  const { body } = response;
11914
12068
  const key = keyBuilder$1(luvio, resourceParams);
11915
12069
  luvio.storeIngest(key, ingest, body);
11916
12070
  const snapshot = luvio.storeLookup({
11917
12071
  recordId: key,
11918
- node: select$1(),
12072
+ node: select$2(),
11919
12073
  variables: {},
11920
12074
  }, snapshotRefresh);
11921
12075
  if (process.env.NODE_ENV !== 'production') {
@@ -11932,7 +12086,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
11932
12086
  luvio.storeIngestError(key, errorSnapshot);
11933
12087
  return errorSnapshot;
11934
12088
  }
11935
- function createResourceRequest$1(config) {
12089
+ function createResourceRequest$2(config) {
11936
12090
  const headers = {};
11937
12091
  return {
11938
12092
  baseUri: '/services/data/v63.0',
@@ -11946,60 +12100,60 @@ function createResourceRequest$1(config) {
11946
12100
  };
11947
12101
  }
11948
12102
 
11949
- const adapterName$1 = 'getSemanticSubMetricsById';
12103
+ const adapterName$2 = 'getSemanticSubMetricsById';
11950
12104
  const getSemanticSubMetricsById_ConfigPropertyMetadata = [
11951
12105
  generateParamConfigMetadata('subMetricIds', true, 0 /* UrlParameter */, 0 /* String */),
11952
12106
  ];
11953
- const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSemanticSubMetricsById_ConfigPropertyMetadata);
11954
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$d(getSemanticSubMetricsById_ConfigPropertyMetadata);
12107
+ const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetricsById_ConfigPropertyMetadata);
12108
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$f(getSemanticSubMetricsById_ConfigPropertyMetadata);
11955
12109
  function keyBuilder(luvio, config) {
11956
- const resourceParams = createResourceParams$1(config);
12110
+ const resourceParams = createResourceParams$2(config);
11957
12111
  return keyBuilder$1(luvio, resourceParams);
11958
12112
  }
11959
- function typeCheckConfig$1(untrustedConfig) {
12113
+ function typeCheckConfig$2(untrustedConfig) {
11960
12114
  const config = {};
11961
- typeCheckConfig$d(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
12115
+ typeCheckConfig$f(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
11962
12116
  return config;
11963
12117
  }
11964
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
12118
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
11965
12119
  if (!untrustedIsObject(untrustedConfig)) {
11966
12120
  return null;
11967
12121
  }
11968
12122
  if (process.env.NODE_ENV !== 'production') {
11969
12123
  validateConfig(untrustedConfig, configPropertyNames);
11970
12124
  }
11971
- const config = typeCheckConfig$1(untrustedConfig);
12125
+ const config = typeCheckConfig$2(untrustedConfig);
11972
12126
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11973
12127
  return null;
11974
12128
  }
11975
12129
  return config;
11976
12130
  }
11977
12131
  function adapterFragment(luvio, config) {
11978
- createResourceParams$1(config);
11979
- return select$1();
12132
+ createResourceParams$2(config);
12133
+ return select$2();
11980
12134
  }
11981
12135
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
11982
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
12136
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
11983
12137
  config,
11984
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12138
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11985
12139
  });
11986
12140
  return luvio.storeBroadcast().then(() => snapshot);
11987
12141
  }
11988
12142
  function onFetchResponseError(luvio, config, resourceParams, response) {
11989
12143
  const snapshot = ingestError(luvio, resourceParams, response, {
11990
12144
  config,
11991
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12145
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11992
12146
  });
11993
12147
  return luvio.storeBroadcast().then(() => snapshot);
11994
12148
  }
11995
- function buildNetworkSnapshot$1(luvio, config, options) {
11996
- const resourceParams = createResourceParams$1(config);
11997
- const request = createResourceRequest$1(resourceParams);
12149
+ function buildNetworkSnapshot$2(luvio, config, options) {
12150
+ const resourceParams = createResourceParams$2(config);
12151
+ const request = createResourceRequest$2(resourceParams);
11998
12152
  return luvio.dispatchResourceRequest(request, options)
11999
12153
  .then((response) => {
12000
12154
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
12001
12155
  const cache = new StoreKeyMap();
12002
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
12156
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
12003
12157
  return cache;
12004
12158
  });
12005
12159
  }, (response) => {
@@ -12007,7 +12161,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
12007
12161
  });
12008
12162
  }
12009
12163
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
12010
- return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
12164
+ return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
12011
12165
  }
12012
12166
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
12013
12167
  const { luvio, config } = context;
@@ -12018,12 +12172,12 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
12018
12172
  };
12019
12173
  const cacheSnapshot = storeLookup(selector, {
12020
12174
  config,
12021
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12175
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
12022
12176
  });
12023
12177
  return cacheSnapshot;
12024
12178
  }
12025
12179
  const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetricsById(untrustedConfig, requestContext) {
12026
- const config = validateAdapterConfig$1(untrustedConfig, getSemanticSubMetricsById_ConfigPropertyNames);
12180
+ const config = validateAdapterConfig$2(untrustedConfig, getSemanticSubMetricsById_ConfigPropertyNames);
12027
12181
  // Invalid or incomplete config
12028
12182
  if (config === null) {
12029
12183
  return null;
@@ -12032,8 +12186,113 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
12032
12186
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
12033
12187
  };
12034
12188
 
12189
+ function select$1(luvio, params) {
12190
+ return select$i();
12191
+ }
12192
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
12193
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
12194
+ }
12195
+ function ingestSuccess$1(luvio, resourceParams, response) {
12196
+ const { body } = response;
12197
+ const key = keyBuilderFromType(luvio, body);
12198
+ luvio.storeIngest(key, ingest$5, body);
12199
+ const snapshot = luvio.storeLookup({
12200
+ recordId: key,
12201
+ node: select$1(),
12202
+ variables: {},
12203
+ });
12204
+ if (process.env.NODE_ENV !== 'production') {
12205
+ if (snapshot.state !== 'Fulfilled') {
12206
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
12207
+ }
12208
+ }
12209
+ deepFreeze(snapshot.data);
12210
+ return snapshot;
12211
+ }
12212
+ function createResourceRequest$1(config) {
12213
+ const headers = {};
12214
+ return {
12215
+ baseUri: '/services/data/v63.0',
12216
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '/goal',
12217
+ method: 'patch',
12218
+ body: config.body,
12219
+ urlParams: config.urlParams,
12220
+ queryParams: {},
12221
+ headers,
12222
+ priority: 'normal',
12223
+ };
12224
+ }
12225
+
12226
+ const adapterName$1 = 'patchSemanticMetricGoal';
12227
+ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
12228
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12229
+ generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12230
+ generateParamConfigMetadata('forecasting', false, 2 /* Body */, 1 /* Boolean */),
12231
+ generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
12232
+ ];
12233
+ const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
12234
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$f(patchSemanticMetricGoal_ConfigPropertyMetadata);
12235
+ function typeCheckConfig$1(untrustedConfig) {
12236
+ const config = {};
12237
+ typeCheckConfig$f(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
12238
+ const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
12239
+ if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
12240
+ const untrustedConfig_statusConditions_array = [];
12241
+ for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
12242
+ const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
12243
+ const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$c(untrustedConfig_statusConditions_item);
12244
+ if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
12245
+ untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
12246
+ }
12247
+ }
12248
+ config.statusConditions = untrustedConfig_statusConditions_array;
12249
+ }
12250
+ return config;
12251
+ }
12252
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
12253
+ if (!untrustedIsObject(untrustedConfig)) {
12254
+ return null;
12255
+ }
12256
+ if (process.env.NODE_ENV !== 'production') {
12257
+ validateConfig(untrustedConfig, configPropertyNames);
12258
+ }
12259
+ const config = typeCheckConfig$1(untrustedConfig);
12260
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
12261
+ return null;
12262
+ }
12263
+ return config;
12264
+ }
12265
+ function buildNetworkSnapshot$1(luvio, config, options) {
12266
+ const resourceParams = createResourceParams$1(config);
12267
+ const request = createResourceRequest$1(resourceParams);
12268
+ return luvio.dispatchResourceRequest(request, options)
12269
+ .then((response) => {
12270
+ return luvio.handleSuccessResponse(() => {
12271
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response);
12272
+ return luvio.storeBroadcast().then(() => snapshot);
12273
+ }, () => {
12274
+ const cache = new StoreKeyMap();
12275
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
12276
+ return cache;
12277
+ });
12278
+ }, (response) => {
12279
+ deepFreeze(response);
12280
+ throw response;
12281
+ });
12282
+ }
12283
+ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
12284
+ return function patchSemanticMetricGoal(untrustedConfig) {
12285
+ const config = validateAdapterConfig$1(untrustedConfig, patchSemanticMetricGoal_ConfigPropertyNames);
12286
+ // Invalid or incomplete config
12287
+ if (config === null) {
12288
+ throw new Error('Invalid config for "patchSemanticMetricGoal"');
12289
+ }
12290
+ return buildNetworkSnapshot$1(luvio, config);
12291
+ };
12292
+ };
12293
+
12035
12294
  function select(luvio, params) {
12036
- return select$j();
12295
+ return select$k();
12037
12296
  }
12038
12297
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
12039
12298
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
@@ -12092,16 +12351,16 @@ const patchSemanticModel_ConfigPropertyMetadata = [
12092
12351
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
12093
12352
  ];
12094
12353
  const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, patchSemanticModel_ConfigPropertyMetadata);
12095
- const createResourceParams = /*#__PURE__*/ createResourceParams$d(patchSemanticModel_ConfigPropertyMetadata);
12354
+ const createResourceParams = /*#__PURE__*/ createResourceParams$f(patchSemanticModel_ConfigPropertyMetadata);
12096
12355
  function typeCheckConfig(untrustedConfig) {
12097
12356
  const config = {};
12098
- typeCheckConfig$d(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
12357
+ typeCheckConfig$f(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
12099
12358
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
12100
12359
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
12101
12360
  const untrustedConfig_baseModels_array = [];
12102
12361
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
12103
12362
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
12104
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
12363
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$Z(untrustedConfig_baseModels_item);
12105
12364
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
12106
12365
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
12107
12366
  }
@@ -12113,7 +12372,7 @@ function typeCheckConfig(untrustedConfig) {
12113
12372
  const untrustedConfig_semanticCalculatedDimensions_array = [];
12114
12373
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
12115
12374
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
12116
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
12375
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$X(untrustedConfig_semanticCalculatedDimensions_item);
12117
12376
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
12118
12377
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
12119
12378
  }
@@ -12125,7 +12384,7 @@ function typeCheckConfig(untrustedConfig) {
12125
12384
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
12126
12385
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
12127
12386
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
12128
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
12387
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$W(untrustedConfig_semanticCalculatedMeasurements_item);
12129
12388
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
12130
12389
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
12131
12390
  }
@@ -12137,7 +12396,7 @@ function typeCheckConfig(untrustedConfig) {
12137
12396
  const untrustedConfig_semanticDataObjects_array = [];
12138
12397
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
12139
12398
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
12140
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
12399
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$T(untrustedConfig_semanticDataObjects_item);
12141
12400
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
12142
12401
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
12143
12402
  }
@@ -12149,7 +12408,7 @@ function typeCheckConfig(untrustedConfig) {
12149
12408
  const untrustedConfig_semanticGroupings_array = [];
12150
12409
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
12151
12410
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
12152
- const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
12411
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$M(untrustedConfig_semanticGroupings_item);
12153
12412
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
12154
12413
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
12155
12414
  }
@@ -12161,7 +12420,7 @@ function typeCheckConfig(untrustedConfig) {
12161
12420
  const untrustedConfig_semanticLogicalViews_array = [];
12162
12421
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
12163
12422
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
12164
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
12423
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$H(untrustedConfig_semanticLogicalViews_item);
12165
12424
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
12166
12425
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
12167
12426
  }
@@ -12173,7 +12432,7 @@ function typeCheckConfig(untrustedConfig) {
12173
12432
  const untrustedConfig_semanticMetrics_array = [];
12174
12433
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
12175
12434
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
12176
- const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
12435
+ const referenceSemanticMetricInputRepresentationValidationError = validate$D(untrustedConfig_semanticMetrics_item);
12177
12436
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
12178
12437
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
12179
12438
  }
@@ -12185,7 +12444,7 @@ function typeCheckConfig(untrustedConfig) {
12185
12444
  const untrustedConfig_semanticParameters_array = [];
12186
12445
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
12187
12446
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
12188
- const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
12447
+ const referenceSemanticParameterInputRepresentationValidationError = validate$C(untrustedConfig_semanticParameters_item);
12189
12448
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
12190
12449
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
12191
12450
  }
@@ -12197,7 +12456,7 @@ function typeCheckConfig(untrustedConfig) {
12197
12456
  const untrustedConfig_semanticRelationships_array = [];
12198
12457
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
12199
12458
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
12200
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
12459
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$K(untrustedConfig_semanticRelationships_item);
12201
12460
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
12202
12461
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
12203
12462
  }
@@ -12250,6 +12509,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
12250
12509
 
12251
12510
  let createSemanticModel;
12252
12511
  let createSemanticSubMetric;
12512
+ let deleteGoalFromSubMetric;
12253
12513
  let deleteSemanticSubMetric;
12254
12514
  let getSemanticMetric;
12255
12515
  let getSemanticMetricNotifyChange;
@@ -12263,6 +12523,7 @@ let getSemanticSubMetric;
12263
12523
  let getSemanticSubMetricNotifyChange;
12264
12524
  let getSemanticSubMetrics;
12265
12525
  let getSemanticSubMetricsById;
12526
+ let patchSemanticMetricGoal;
12266
12527
  let patchSemanticModel;
12267
12528
  // Imperative GET Adapters
12268
12529
  let getSemanticMetric_imperative;
@@ -12317,7 +12578,8 @@ function bindExportsTo(luvio) {
12317
12578
  return {
12318
12579
  createSemanticModel: unwrapSnapshotData(createSemanticModelAdapterFactory),
12319
12580
  createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
12320
- deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$a, deleteSemanticSubMetricAdapterFactory),
12581
+ deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$c, deleteGoalFromSubMetricAdapterFactory),
12582
+ deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$b, deleteSemanticSubMetricAdapterFactory),
12321
12583
  getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
12322
12584
  getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
12323
12585
  getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
@@ -12330,6 +12592,7 @@ function bindExportsTo(luvio) {
12330
12592
  getSemanticSubMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticSubMetricNotifyChange', notifyChangeFactory),
12331
12593
  getSemanticSubMetrics: createWireAdapterConstructor(luvio, getSemanticSubMetrics_ldsAdapter, getSemanticSubMetricsMetadata),
12332
12594
  getSemanticSubMetricsById: createWireAdapterConstructor(luvio, getSemanticSubMetricsById_ldsAdapter, getSemanticSubMetricsByIdMetadata),
12595
+ patchSemanticMetricGoal: unwrapSnapshotData(patchSemanticMetricGoalAdapterFactory),
12333
12596
  patchSemanticModel: unwrapSnapshotData(patchSemanticModelAdapterFactory),
12334
12597
  // Imperative GET Adapters
12335
12598
  getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
@@ -12348,6 +12611,7 @@ withDefaultLuvio((luvio) => {
12348
12611
  ({
12349
12612
  createSemanticModel,
12350
12613
  createSemanticSubMetric,
12614
+ deleteGoalFromSubMetric,
12351
12615
  deleteSemanticSubMetric,
12352
12616
  getSemanticMetric,
12353
12617
  getSemanticMetricNotifyChange,
@@ -12361,6 +12625,7 @@ withDefaultLuvio((luvio) => {
12361
12625
  getSemanticSubMetricNotifyChange,
12362
12626
  getSemanticSubMetrics,
12363
12627
  getSemanticSubMetricsById,
12628
+ patchSemanticMetricGoal,
12364
12629
  patchSemanticModel,
12365
12630
  getSemanticMetric_imperative,
12366
12631
  getSemanticMetrics_imperative,
@@ -12374,5 +12639,5 @@ withDefaultLuvio((luvio) => {
12374
12639
  } = bindExportsTo(luvio));
12375
12640
  });
12376
12641
 
12377
- export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
12378
- // version: 1.332.0-dev4-b9914caa2e
12642
+ export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
12643
+ // version: 1.332.0-dev6-9c3d285d95