@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev16 → 1.309.0-dev18

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 (23) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +903 -539
  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 +21 -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/getSsotSemanticPermissions.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +2 -1
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +2 -1
  13. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +2 -1
  14. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedFieldInputRepresentation.d.ts +46 -0
  15. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +7 -4
  16. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +9 -4
  17. package/dist/es/es2018/types/src/generated/types/SemanticModelInfoOutputRepresentation.d.ts +34 -0
  18. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +5 -1
  19. package/dist/es/es2018/types/src/generated/types/SemanticPermissionOutputRepresentation.d.ts +39 -0
  20. package/package.json +3 -3
  21. package/sfdc/index.js +881 -511
  22. package/src/raml/api.raml +128 -5
  23. package/src/raml/luvio.raml +9 -0
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$c, typeCheckConfig as typeCheckConfig$c, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8 } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$e, typeCheckConfig as typeCheckConfig$e, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8 } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
105
+ function validate$10(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$$(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$_(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$$(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$Z(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$$(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$Y(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$X(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$W(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$$(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$Y(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$X(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$V(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$U(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$T(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$U(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$S(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$V(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$T(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$R(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$Q(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$R(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$P(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$S(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$Q(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$O(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$N(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$O(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$M(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$R(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$Y(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$X(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$L(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$W(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$M(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,11 +1186,18 @@ 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$K(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 + '")');
1193
1193
  }
1194
+ if (obj.CustomSql !== undefined) {
1195
+ const obj_CustomSql = obj.CustomSql;
1196
+ const path_CustomSql = path + '.CustomSql';
1197
+ if (typeof obj_CustomSql !== 'string') {
1198
+ return new TypeError('Expected "string" but received "' + typeof obj_CustomSql + '" (at "' + path_CustomSql + '")');
1199
+ }
1200
+ }
1194
1201
  if (obj.apiName !== undefined) {
1195
1202
  const obj_apiName = obj.apiName;
1196
1203
  const path_apiName = path + '.apiName';
@@ -1198,13 +1205,6 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1198
1205
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1199
1206
  }
1200
1207
  }
1201
- if (obj.customSql !== undefined) {
1202
- const obj_customSql = obj.customSql;
1203
- const path_customSql = path + '.customSql';
1204
- if (typeof obj_customSql !== 'string') {
1205
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
1206
- }
1207
- }
1208
1208
  if (obj.description !== undefined) {
1209
1209
  const obj_description = obj.description;
1210
1210
  const path_description = path + '.description';
@@ -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$$(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');
@@ -1243,6 +1243,23 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1243
1243
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1244
1244
  }
1245
1245
  }
1246
+ if (obj.referenceIntegritySemanticDataObjects !== undefined) {
1247
+ const obj_referenceIntegritySemanticDataObjects = obj.referenceIntegritySemanticDataObjects;
1248
+ const path_referenceIntegritySemanticDataObjects = path + '.referenceIntegritySemanticDataObjects';
1249
+ if (!ArrayIsArray(obj_referenceIntegritySemanticDataObjects)) {
1250
+ return new TypeError('Expected "array" but received "' + typeof obj_referenceIntegritySemanticDataObjects + '" (at "' + path_referenceIntegritySemanticDataObjects + '")');
1251
+ }
1252
+ for (let i = 0; i < obj_referenceIntegritySemanticDataObjects.length; i++) {
1253
+ const obj_referenceIntegritySemanticDataObjects_item = obj_referenceIntegritySemanticDataObjects[i];
1254
+ const path_referenceIntegritySemanticDataObjects_item = path_referenceIntegritySemanticDataObjects + '[' + i + ']';
1255
+ const referencepath_referenceIntegritySemanticDataObjects_itemValidationError = validate$W(obj_referenceIntegritySemanticDataObjects_item, path_referenceIntegritySemanticDataObjects_item);
1256
+ if (referencepath_referenceIntegritySemanticDataObjects_itemValidationError !== null) {
1257
+ let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_referenceIntegritySemanticDataObjects_item + '")\n';
1258
+ message += referencepath_referenceIntegritySemanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1259
+ return new TypeError(message);
1260
+ }
1261
+ }
1262
+ }
1246
1263
  if (obj.semanticDataObjects !== undefined) {
1247
1264
  const obj_semanticDataObjects = obj.semanticDataObjects;
1248
1265
  const path_semanticDataObjects = path + '.semanticDataObjects';
@@ -1252,7 +1269,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1252
1269
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1253
1270
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1254
1271
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1255
- const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1272
+ const referencepath_semanticDataObjects_itemValidationError = validate$W(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1256
1273
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1257
1274
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1258
1275
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1269,7 +1286,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1269
1286
  for (let i = 0; i < obj_semanticRelationships.length; i++) {
1270
1287
  const obj_semanticRelationships_item = obj_semanticRelationships[i];
1271
1288
  const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
1272
- const referencepath_semanticRelationships_itemValidationError = validate$M(obj_semanticRelationships_item, path_semanticRelationships_item);
1289
+ const referencepath_semanticRelationships_itemValidationError = validate$N(obj_semanticRelationships_item, path_semanticRelationships_item);
1273
1290
  if (referencepath_semanticRelationships_itemValidationError !== null) {
1274
1291
  let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
1275
1292
  message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1286,7 +1303,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1286
1303
  for (let i = 0; i < obj_semanticUnions.length; i++) {
1287
1304
  const obj_semanticUnions_item = obj_semanticUnions[i];
1288
1305
  const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
1289
- const referencepath_semanticUnions_itemValidationError = validate$K(obj_semanticUnions_item, path_semanticUnions_item);
1306
+ const referencepath_semanticUnions_itemValidationError = validate$L(obj_semanticUnions_item, path_semanticUnions_item);
1290
1307
  if (referencepath_semanticUnions_itemValidationError !== null) {
1291
1308
  let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
1292
1309
  message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1298,7 +1315,7 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1298
1315
  return v_error === undefined ? null : v_error;
1299
1316
  }
1300
1317
 
1301
- function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1318
+ function validate$J(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1302
1319
  const v_error = (() => {
1303
1320
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1304
1321
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1306,7 +1323,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1306
1323
  if (obj.identifierDimensionReference !== undefined) {
1307
1324
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
1308
1325
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
1309
- const referencepath_identifierDimensionReferenceValidationError = validate$P(obj_identifierDimensionReference, path_identifierDimensionReference);
1326
+ const referencepath_identifierDimensionReferenceValidationError = validate$Q(obj_identifierDimensionReference, path_identifierDimensionReference);
1310
1327
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
1311
1328
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
1312
1329
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1316,7 +1333,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1316
1333
  if (obj.namingDimensionReference !== undefined) {
1317
1334
  const obj_namingDimensionReference = obj.namingDimensionReference;
1318
1335
  const path_namingDimensionReference = path + '.namingDimensionReference';
1319
- const referencepath_namingDimensionReferenceValidationError = validate$P(obj_namingDimensionReference, path_namingDimensionReference);
1336
+ const referencepath_namingDimensionReferenceValidationError = validate$Q(obj_namingDimensionReference, path_namingDimensionReference);
1320
1337
  if (referencepath_namingDimensionReferenceValidationError !== null) {
1321
1338
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
1322
1339
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1327,7 +1344,7 @@ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1327
1344
  return v_error === undefined ? null : v_error;
1328
1345
  }
1329
1346
 
1330
- function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1347
+ function validate$I(obj, path = 'SemanticInsightTypeInputRepresentation') {
1331
1348
  const v_error = (() => {
1332
1349
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1333
1350
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1350,7 +1367,7 @@ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1350
1367
  return v_error === undefined ? null : v_error;
1351
1368
  }
1352
1369
 
1353
- function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1370
+ function validate$H(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1354
1371
  const v_error = (() => {
1355
1372
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1356
1373
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1358,7 +1375,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1358
1375
  if (obj.identifyingDimension !== undefined) {
1359
1376
  const obj_identifyingDimension = obj.identifyingDimension;
1360
1377
  const path_identifyingDimension = path + '.identifyingDimension';
1361
- const referencepath_identifyingDimensionValidationError = validate$I(obj_identifyingDimension, path_identifyingDimension);
1378
+ const referencepath_identifyingDimensionValidationError = validate$J(obj_identifyingDimension, path_identifyingDimension);
1362
1379
  if (referencepath_identifyingDimensionValidationError !== null) {
1363
1380
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
1364
1381
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1374,7 +1391,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1374
1391
  for (let i = 0; i < obj_insightTypes.length; i++) {
1375
1392
  const obj_insightTypes_item = obj_insightTypes[i];
1376
1393
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
1377
- const referencepath_insightTypes_itemValidationError = validate$H(obj_insightTypes_item, path_insightTypes_item);
1394
+ const referencepath_insightTypes_itemValidationError = validate$I(obj_insightTypes_item, path_insightTypes_item);
1378
1395
  if (referencepath_insightTypes_itemValidationError !== null) {
1379
1396
  let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
1380
1397
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1391,7 +1408,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1391
1408
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
1392
1409
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
1393
1410
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
1394
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$P(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1411
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$Q(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1395
1412
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
1396
1413
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
1397
1414
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1424,7 +1441,7 @@ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1424
1441
  return v_error === undefined ? null : v_error;
1425
1442
  }
1426
1443
 
1427
- function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1444
+ function validate$G(obj, path = 'SemanticMetricInputRepresentation') {
1428
1445
  const v_error = (() => {
1429
1446
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1430
1447
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1438,7 +1455,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1438
1455
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
1439
1456
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
1440
1457
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
1441
- const referencepath_additionalDimensions_itemValidationError = validate$P(obj_additionalDimensions_item, path_additionalDimensions_item);
1458
+ const referencepath_additionalDimensions_itemValidationError = validate$Q(obj_additionalDimensions_item, path_additionalDimensions_item);
1442
1459
  if (referencepath_additionalDimensions_itemValidationError !== null) {
1443
1460
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
1444
1461
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1483,7 +1500,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1483
1500
  for (let i = 0; i < obj_filters.length; i++) {
1484
1501
  const obj_filters_item = obj_filters[i];
1485
1502
  const path_filters_item = path_filters + '[' + i + ']';
1486
- const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1503
+ const referencepath_filters_itemValidationError = validate$$(obj_filters_item, path_filters_item);
1487
1504
  if (referencepath_filters_itemValidationError !== null) {
1488
1505
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1489
1506
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1494,7 +1511,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1494
1511
  if (obj.insightsSettings !== undefined) {
1495
1512
  const obj_insightsSettings = obj.insightsSettings;
1496
1513
  const path_insightsSettings = path + '.insightsSettings';
1497
- const referencepath_insightsSettingsValidationError = validate$G(obj_insightsSettings, path_insightsSettings);
1514
+ const referencepath_insightsSettingsValidationError = validate$H(obj_insightsSettings, path_insightsSettings);
1498
1515
  if (referencepath_insightsSettingsValidationError !== null) {
1499
1516
  let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
1500
1517
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1518,7 +1535,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1518
1535
  if (obj.measurementReference !== undefined) {
1519
1536
  const obj_measurementReference = obj.measurementReference;
1520
1537
  const path_measurementReference = path + '.measurementReference';
1521
- const referencepath_measurementReferenceValidationError = validate$P(obj_measurementReference, path_measurementReference);
1538
+ const referencepath_measurementReferenceValidationError = validate$Q(obj_measurementReference, path_measurementReference);
1522
1539
  if (referencepath_measurementReferenceValidationError !== null) {
1523
1540
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
1524
1541
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1528,7 +1545,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1528
1545
  if (obj.timeDimensionReference !== undefined) {
1529
1546
  const obj_timeDimensionReference = obj.timeDimensionReference;
1530
1547
  const path_timeDimensionReference = path + '.timeDimensionReference';
1531
- const referencepath_timeDimensionReferenceValidationError = validate$P(obj_timeDimensionReference, path_timeDimensionReference);
1548
+ const referencepath_timeDimensionReferenceValidationError = validate$Q(obj_timeDimensionReference, path_timeDimensionReference);
1532
1549
  if (referencepath_timeDimensionReferenceValidationError !== null) {
1533
1550
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
1534
1551
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1553,7 +1570,7 @@ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1553
1570
  return v_error === undefined ? null : v_error;
1554
1571
  }
1555
1572
 
1556
- function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1573
+ function validate$F(obj, path = 'SemanticParameterInputRepresentation') {
1557
1574
  const v_error = (() => {
1558
1575
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1559
1576
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1639,8 +1656,8 @@ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1639
1656
  return v_error === undefined ? null : v_error;
1640
1657
  }
1641
1658
 
1642
- const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
1643
- function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1659
+ const VERSION$u = "3a32d382e7a2268096278aa8e5c6761a";
1660
+ function validate$E(obj, path = 'SemanticBaseModelOutputRepresentation') {
1644
1661
  const v_error = (() => {
1645
1662
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1646
1663
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1660,10 +1677,10 @@ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1660
1677
  })();
1661
1678
  return v_error === undefined ? null : v_error;
1662
1679
  }
1663
- const select$E = function SemanticBaseModelOutputRepresentationSelect() {
1680
+ const select$G = function SemanticBaseModelOutputRepresentationSelect() {
1664
1681
  return {
1665
1682
  kind: 'Fragment',
1666
- version: VERSION$t,
1683
+ version: VERSION$u,
1667
1684
  private: [],
1668
1685
  selections: [
1669
1686
  {
@@ -1678,7 +1695,7 @@ const select$E = function SemanticBaseModelOutputRepresentationSelect() {
1678
1695
  ]
1679
1696
  };
1680
1697
  };
1681
- function equals$t(existing, incoming) {
1698
+ function equals$u(existing, incoming) {
1682
1699
  const existing_apiName = existing.apiName;
1683
1700
  const incoming_apiName = incoming.apiName;
1684
1701
  if (!(existing_apiName === incoming_apiName)) {
@@ -1700,6 +1717,70 @@ function equals$t(existing, incoming) {
1700
1717
  return true;
1701
1718
  }
1702
1719
 
1720
+ const VERSION$t = "a5dca07e6f41c01f86fa997330d3b1b1";
1721
+ function validate$D(obj, path = 'SemanticModelInfoOutputRepresentation') {
1722
+ const v_error = (() => {
1723
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1724
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1725
+ }
1726
+ const obj_definitionsCount = obj.definitionsCount;
1727
+ const path_definitionsCount = path + '.definitionsCount';
1728
+ if (typeof obj_definitionsCount !== 'number' || (typeof obj_definitionsCount === 'number' && Math.floor(obj_definitionsCount) !== obj_definitionsCount)) {
1729
+ return new TypeError('Expected "integer" but received "' + typeof obj_definitionsCount + '" (at "' + path_definitionsCount + '")');
1730
+ }
1731
+ const obj_maxDefinitionCount = obj.maxDefinitionCount;
1732
+ const path_maxDefinitionCount = path + '.maxDefinitionCount';
1733
+ if (typeof obj_maxDefinitionCount !== 'number' || (typeof obj_maxDefinitionCount === 'number' && Math.floor(obj_maxDefinitionCount) !== obj_maxDefinitionCount)) {
1734
+ return new TypeError('Expected "integer" but received "' + typeof obj_maxDefinitionCount + '" (at "' + path_maxDefinitionCount + '")');
1735
+ }
1736
+ const obj_modelHierarchyDepth = obj.modelHierarchyDepth;
1737
+ const path_modelHierarchyDepth = path + '.modelHierarchyDepth';
1738
+ if (typeof obj_modelHierarchyDepth !== 'number' || (typeof obj_modelHierarchyDepth === 'number' && Math.floor(obj_modelHierarchyDepth) !== obj_modelHierarchyDepth)) {
1739
+ return new TypeError('Expected "integer" but received "' + typeof obj_modelHierarchyDepth + '" (at "' + path_modelHierarchyDepth + '")');
1740
+ }
1741
+ })();
1742
+ return v_error === undefined ? null : v_error;
1743
+ }
1744
+ const select$F = function SemanticModelInfoOutputRepresentationSelect() {
1745
+ return {
1746
+ kind: 'Fragment',
1747
+ version: VERSION$t,
1748
+ private: [],
1749
+ selections: [
1750
+ {
1751
+ name: 'definitionsCount',
1752
+ kind: 'Scalar'
1753
+ },
1754
+ {
1755
+ name: 'maxDefinitionCount',
1756
+ kind: 'Scalar'
1757
+ },
1758
+ {
1759
+ name: 'modelHierarchyDepth',
1760
+ kind: 'Scalar'
1761
+ }
1762
+ ]
1763
+ };
1764
+ };
1765
+ function equals$t(existing, incoming) {
1766
+ const existing_definitionsCount = existing.definitionsCount;
1767
+ const incoming_definitionsCount = incoming.definitionsCount;
1768
+ if (!(existing_definitionsCount === incoming_definitionsCount)) {
1769
+ return false;
1770
+ }
1771
+ const existing_maxDefinitionCount = existing.maxDefinitionCount;
1772
+ const incoming_maxDefinitionCount = incoming.maxDefinitionCount;
1773
+ if (!(existing_maxDefinitionCount === incoming_maxDefinitionCount)) {
1774
+ return false;
1775
+ }
1776
+ const existing_modelHierarchyDepth = existing.modelHierarchyDepth;
1777
+ const incoming_modelHierarchyDepth = incoming.modelHierarchyDepth;
1778
+ if (!(existing_modelHierarchyDepth === incoming_modelHierarchyDepth)) {
1779
+ return false;
1780
+ }
1781
+ return true;
1782
+ }
1783
+
1703
1784
  const VERSION$s = "9b5a0e85af6a943c95625e2dfe81ab96";
1704
1785
  function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1705
1786
  const v_error = (() => {
@@ -1730,7 +1811,7 @@ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1730
1811
  })();
1731
1812
  return v_error === undefined ? null : v_error;
1732
1813
  }
1733
- const select$D = function SemanticFilterOutputRepresentationSelect() {
1814
+ const select$E = function SemanticFilterOutputRepresentationSelect() {
1734
1815
  return {
1735
1816
  kind: 'Fragment',
1736
1817
  version: VERSION$s,
@@ -1949,20 +2030,20 @@ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1949
2030
  return v_error === undefined ? null : v_error;
1950
2031
  }
1951
2032
  const RepresentationType$g = 'SemanticCalculatedDimensionOutputRepresentation';
1952
- function keyBuilder$s(luvio, config) {
2033
+ function keyBuilder$t(luvio, config) {
1953
2034
  return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
1954
2035
  }
1955
2036
  function keyBuilderFromType$b(luvio, object) {
1956
2037
  const keyParams = {
1957
2038
  name: object.id
1958
2039
  };
1959
- return keyBuilder$s(luvio, keyParams);
2040
+ return keyBuilder$t(luvio, keyParams);
1960
2041
  }
1961
2042
  function normalize$g(input, existing, path, luvio, store, timestamp) {
1962
2043
  return input;
1963
2044
  }
1964
- const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect() {
1965
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$D();
2045
+ const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect() {
2046
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
1966
2047
  return {
1967
2048
  kind: 'Fragment',
1968
2049
  version: VERSION$r,
@@ -2521,20 +2602,20 @@ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2521
2602
  return v_error === undefined ? null : v_error;
2522
2603
  }
2523
2604
  const RepresentationType$f = 'SemanticCalculatedMeasurementOutputRepresentation';
2524
- function keyBuilder$r(luvio, config) {
2605
+ function keyBuilder$s(luvio, config) {
2525
2606
  return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
2526
2607
  }
2527
2608
  function keyBuilderFromType$a(luvio, object) {
2528
2609
  const keyParams = {
2529
2610
  name: object.id
2530
2611
  };
2531
- return keyBuilder$r(luvio, keyParams);
2612
+ return keyBuilder$s(luvio, keyParams);
2532
2613
  }
2533
2614
  function normalize$f(input, existing, path, luvio, store, timestamp) {
2534
2615
  return input;
2535
2616
  }
2536
- const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
2537
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$D();
2617
+ const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
2618
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
2538
2619
  return {
2539
2620
  kind: 'Fragment',
2540
2621
  version: VERSION$q,
@@ -3496,19 +3577,19 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3496
3577
  return v_error === undefined ? null : v_error;
3497
3578
  }
3498
3579
  const RepresentationType$e = 'SemanticDataObjectOutputRepresentation';
3499
- function keyBuilder$q(luvio, config) {
3580
+ function keyBuilder$r(luvio, config) {
3500
3581
  return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
3501
3582
  }
3502
3583
  function keyBuilderFromType$9(luvio, object) {
3503
3584
  const keyParams = {
3504
3585
  name: object.id
3505
3586
  };
3506
- return keyBuilder$q(luvio, keyParams);
3587
+ return keyBuilder$r(luvio, keyParams);
3507
3588
  }
3508
3589
  function normalize$e(input, existing, path, luvio, store, timestamp) {
3509
3590
  return input;
3510
3591
  }
3511
- const select$A = function SemanticDataObjectOutputRepresentationSelect() {
3592
+ const select$B = function SemanticDataObjectOutputRepresentationSelect() {
3512
3593
  return {
3513
3594
  kind: 'Fragment',
3514
3595
  version: VERSION$p,
@@ -3554,7 +3635,7 @@ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation')
3554
3635
  })();
3555
3636
  return v_error === undefined ? null : v_error;
3556
3637
  }
3557
- const select$z = function BinDimensionConfigurationOutputRepresentationSelect() {
3638
+ const select$A = function BinDimensionConfigurationOutputRepresentationSelect() {
3558
3639
  return {
3559
3640
  kind: 'Fragment',
3560
3641
  version: VERSION$o,
@@ -3604,7 +3685,7 @@ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3604
3685
  })();
3605
3686
  return v_error === undefined ? null : v_error;
3606
3687
  }
3607
- const select$y = function GroupDimensionGroupOutputRepresentationSelect() {
3688
+ const select$z = function GroupDimensionGroupOutputRepresentationSelect() {
3608
3689
  return {
3609
3690
  kind: 'Fragment',
3610
3691
  version: VERSION$n,
@@ -3683,8 +3764,8 @@ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3683
3764
  })();
3684
3765
  return v_error === undefined ? null : v_error;
3685
3766
  }
3686
- const select$x = function GroupDimensionConfigurationOutputRepresentationSelect() {
3687
- const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$y();
3767
+ const select$y = function GroupDimensionConfigurationOutputRepresentationSelect() {
3768
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$z();
3688
3769
  return {
3689
3770
  kind: 'Fragment',
3690
3771
  version: VERSION$m,
@@ -3769,9 +3850,9 @@ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3769
3850
  })();
3770
3851
  return v_error === undefined ? null : v_error;
3771
3852
  }
3772
- const select$w = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3773
- const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$z();
3774
- const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$x();
3853
+ const select$x = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3854
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$A();
3855
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$y();
3775
3856
  return {
3776
3857
  kind: 'Fragment',
3777
3858
  version: VERSION$l,
@@ -3845,7 +3926,7 @@ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
3845
3926
  })();
3846
3927
  return v_error === undefined ? null : v_error;
3847
3928
  }
3848
- const select$v = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3929
+ const select$w = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3849
3930
  return {
3850
3931
  kind: 'Fragment',
3851
3932
  version: VERSION$k,
@@ -3920,8 +4001,8 @@ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3920
4001
  })();
3921
4002
  return v_error === undefined ? null : v_error;
3922
4003
  }
3923
- const select$u = function SemanticFieldReferenceOutputRepresentationSelect() {
3924
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$v();
4004
+ const select$v = function SemanticFieldReferenceOutputRepresentationSelect() {
4005
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$w();
3925
4006
  return {
3926
4007
  kind: 'Fragment',
3927
4008
  version: VERSION$j,
@@ -4064,21 +4145,21 @@ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
4064
4145
  return v_error === undefined ? null : v_error;
4065
4146
  }
4066
4147
  const RepresentationType$d = 'SemanticGroupingOutputRepresentation';
4067
- function keyBuilder$p(luvio, config) {
4148
+ function keyBuilder$q(luvio, config) {
4068
4149
  return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
4069
4150
  }
4070
4151
  function keyBuilderFromType$8(luvio, object) {
4071
4152
  const keyParams = {
4072
4153
  name: object.id
4073
4154
  };
4074
- return keyBuilder$p(luvio, keyParams);
4155
+ return keyBuilder$q(luvio, keyParams);
4075
4156
  }
4076
4157
  function normalize$d(input, existing, path, luvio, store, timestamp) {
4077
4158
  return input;
4078
4159
  }
4079
- const select$t = function SemanticGroupingOutputRepresentationSelect() {
4080
- const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$w();
4081
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
4160
+ const select$u = function SemanticGroupingOutputRepresentationSelect() {
4161
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$x();
4162
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
4082
4163
  return {
4083
4164
  kind: 'Fragment',
4084
4165
  version: VERSION$i,
@@ -4329,7 +4410,7 @@ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
4329
4410
  })();
4330
4411
  return v_error === undefined ? null : v_error;
4331
4412
  }
4332
- const select$s = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4413
+ const select$t = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4333
4414
  return {
4334
4415
  kind: 'Fragment',
4335
4416
  version: VERSION$h,
@@ -4563,20 +4644,20 @@ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4563
4644
  return v_error === undefined ? null : v_error;
4564
4645
  }
4565
4646
  const RepresentationType$c = 'SemanticRelationshipOutputRepresentation';
4566
- function keyBuilder$o(luvio, config) {
4647
+ function keyBuilder$p(luvio, config) {
4567
4648
  return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
4568
4649
  }
4569
4650
  function keyBuilderFromType$7(luvio, object) {
4570
4651
  const keyParams = {
4571
4652
  name: object.id
4572
4653
  };
4573
- return keyBuilder$o(luvio, keyParams);
4654
+ return keyBuilder$p(luvio, keyParams);
4574
4655
  }
4575
4656
  function normalize$c(input, existing, path, luvio, store, timestamp) {
4576
4657
  return input;
4577
4658
  }
4578
- const select$r = function SemanticRelationshipOutputRepresentationSelect() {
4579
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$s();
4659
+ const select$s = function SemanticRelationshipOutputRepresentationSelect() {
4660
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$t();
4580
4661
  return {
4581
4662
  kind: 'Fragment',
4582
4663
  version: VERSION$g,
@@ -5003,19 +5084,19 @@ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5003
5084
  return v_error === undefined ? null : v_error;
5004
5085
  }
5005
5086
  const RepresentationType$b = 'SemanticMappedFieldOutputRepresentation';
5006
- function keyBuilder$n(luvio, config) {
5087
+ function keyBuilder$o(luvio, config) {
5007
5088
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
5008
5089
  }
5009
5090
  function keyBuilderFromType$6(luvio, object) {
5010
5091
  const keyParams = {
5011
5092
  name: object.id
5012
5093
  };
5013
- return keyBuilder$n(luvio, keyParams);
5094
+ return keyBuilder$o(luvio, keyParams);
5014
5095
  }
5015
5096
  function normalize$b(input, existing, path, luvio, store, timestamp) {
5016
5097
  return input;
5017
5098
  }
5018
- const select$q = function SemanticMappedFieldOutputRepresentationSelect() {
5099
+ const select$r = function SemanticMappedFieldOutputRepresentationSelect() {
5019
5100
  return {
5020
5101
  kind: 'Fragment',
5021
5102
  version: VERSION$f,
@@ -5179,14 +5260,14 @@ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
5179
5260
  return v_error === undefined ? null : v_error;
5180
5261
  }
5181
5262
  const RepresentationType$a = 'SemanticUnionOutputRepresentation';
5182
- function keyBuilder$m(luvio, config) {
5263
+ function keyBuilder$n(luvio, config) {
5183
5264
  return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
5184
5265
  }
5185
5266
  function keyBuilderFromType$5(luvio, object) {
5186
5267
  const keyParams = {
5187
5268
  name: object.id
5188
5269
  };
5189
- return keyBuilder$m(luvio, keyParams);
5270
+ return keyBuilder$n(luvio, keyParams);
5190
5271
  }
5191
5272
  function normalize$a(input, existing, path, luvio, store, timestamp) {
5192
5273
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5227,7 +5308,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
5227
5308
  }
5228
5309
  return input;
5229
5310
  }
5230
- const select$p = function SemanticUnionOutputRepresentationSelect() {
5311
+ const select$q = function SemanticUnionOutputRepresentationSelect() {
5231
5312
  return {
5232
5313
  kind: 'Fragment',
5233
5314
  version: VERSION$e,
@@ -5289,14 +5370,14 @@ const select$p = function SemanticUnionOutputRepresentationSelect() {
5289
5370
  kind: 'Link',
5290
5371
  plural: true,
5291
5372
  required: false,
5292
- fragment: select$A()
5373
+ fragment: select$B()
5293
5374
  },
5294
5375
  {
5295
5376
  name: 'semanticMappedFields',
5296
5377
  kind: 'Link',
5297
5378
  plural: true,
5298
5379
  required: false,
5299
- fragment: select$q()
5380
+ fragment: select$r()
5300
5381
  }
5301
5382
  ]
5302
5383
  };
@@ -5485,12 +5566,19 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
5485
5566
  }
5486
5567
  }
5487
5568
 
5488
- const VERSION$d = "281e0163ea1fc7d956974394f5310216";
5569
+ const VERSION$d = "9632101159ed742cb74ca0427f6c9da2";
5489
5570
  function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5490
5571
  const v_error = (() => {
5491
5572
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5492
5573
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5493
5574
  }
5575
+ if (obj.CustomSql !== undefined) {
5576
+ const obj_CustomSql = obj.CustomSql;
5577
+ const path_CustomSql = path + '.CustomSql';
5578
+ if (typeof obj_CustomSql !== 'string') {
5579
+ return new TypeError('Expected "string" but received "' + typeof obj_CustomSql + '" (at "' + path_CustomSql + '")');
5580
+ }
5581
+ }
5494
5582
  const obj_apiName = obj.apiName;
5495
5583
  const path_apiName = path + '.apiName';
5496
5584
  if (typeof obj_apiName !== 'string') {
@@ -5520,13 +5608,6 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5520
5608
  if (typeof obj_createdDate !== 'string') {
5521
5609
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
5522
5610
  }
5523
- if (obj.customSql !== undefined) {
5524
- const obj_customSql = obj.customSql;
5525
- const path_customSql = path + '.customSql';
5526
- if (typeof obj_customSql !== 'string') {
5527
- return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
5528
- }
5529
- }
5530
5611
  if (obj.description !== undefined) {
5531
5612
  const obj_description = obj.description;
5532
5613
  const path_description = path + '.description';
@@ -5584,6 +5665,20 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5584
5665
  return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
5585
5666
  }
5586
5667
  }
5668
+ if (obj.referenceIntegritySemanticDataObjects !== undefined) {
5669
+ const obj_referenceIntegritySemanticDataObjects = obj.referenceIntegritySemanticDataObjects;
5670
+ const path_referenceIntegritySemanticDataObjects = path + '.referenceIntegritySemanticDataObjects';
5671
+ if (!ArrayIsArray(obj_referenceIntegritySemanticDataObjects)) {
5672
+ return new TypeError('Expected "array" but received "' + typeof obj_referenceIntegritySemanticDataObjects + '" (at "' + path_referenceIntegritySemanticDataObjects + '")');
5673
+ }
5674
+ for (let i = 0; i < obj_referenceIntegritySemanticDataObjects.length; i++) {
5675
+ const obj_referenceIntegritySemanticDataObjects_item = obj_referenceIntegritySemanticDataObjects[i];
5676
+ const path_referenceIntegritySemanticDataObjects_item = path_referenceIntegritySemanticDataObjects + '[' + i + ']';
5677
+ if (typeof obj_referenceIntegritySemanticDataObjects_item !== 'object') {
5678
+ return new TypeError('Expected "object" but received "' + typeof obj_referenceIntegritySemanticDataObjects_item + '" (at "' + path_referenceIntegritySemanticDataObjects_item + '")');
5679
+ }
5680
+ }
5681
+ }
5587
5682
  if (obj.semanticDataObjects !== undefined) {
5588
5683
  const obj_semanticDataObjects = obj.semanticDataObjects;
5589
5684
  const path_semanticDataObjects = path + '.semanticDataObjects';
@@ -5637,16 +5732,34 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5637
5732
  return v_error === undefined ? null : v_error;
5638
5733
  }
5639
5734
  const RepresentationType$9 = 'SemanticLogicalViewOutputRepresentation';
5640
- function keyBuilder$l(luvio, config) {
5735
+ function keyBuilder$m(luvio, config) {
5641
5736
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
5642
5737
  }
5643
5738
  function keyBuilderFromType$4(luvio, object) {
5644
5739
  const keyParams = {
5645
5740
  name: object.id
5646
5741
  };
5647
- return keyBuilder$l(luvio, keyParams);
5742
+ return keyBuilder$m(luvio, keyParams);
5648
5743
  }
5649
5744
  function normalize$9(input, existing, path, luvio, store, timestamp) {
5745
+ const input_referenceIntegritySemanticDataObjects = input.referenceIntegritySemanticDataObjects;
5746
+ const input_referenceIntegritySemanticDataObjects_id = path.fullPath + '__referenceIntegritySemanticDataObjects';
5747
+ if (input_referenceIntegritySemanticDataObjects !== undefined) {
5748
+ for (let i = 0; i < input_referenceIntegritySemanticDataObjects.length; i++) {
5749
+ const input_referenceIntegritySemanticDataObjects_item = input_referenceIntegritySemanticDataObjects[i];
5750
+ let input_referenceIntegritySemanticDataObjects_item_id = input_referenceIntegritySemanticDataObjects_id + '__' + i;
5751
+ input_referenceIntegritySemanticDataObjects[i] = ingest$e(input_referenceIntegritySemanticDataObjects_item, {
5752
+ fullPath: input_referenceIntegritySemanticDataObjects_item_id,
5753
+ propertyName: i,
5754
+ parent: {
5755
+ data: input,
5756
+ key: path.fullPath,
5757
+ existing: existing,
5758
+ },
5759
+ ttl: path.ttl
5760
+ }, luvio, store, timestamp);
5761
+ }
5762
+ }
5650
5763
  const input_semanticDataObjects = input.semanticDataObjects;
5651
5764
  const input_semanticDataObjects_id = path.fullPath + '__semanticDataObjects';
5652
5765
  if (input_semanticDataObjects !== undefined) {
@@ -5703,13 +5816,18 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
5703
5816
  }
5704
5817
  return input;
5705
5818
  }
5706
- const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
5707
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$D();
5819
+ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5820
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
5708
5821
  return {
5709
5822
  kind: 'Fragment',
5710
5823
  version: VERSION$d,
5711
5824
  private: [],
5712
5825
  selections: [
5826
+ {
5827
+ name: 'CustomSql',
5828
+ kind: 'Scalar',
5829
+ required: false
5830
+ },
5713
5831
  {
5714
5832
  name: 'apiName',
5715
5833
  kind: 'Scalar'
@@ -5732,11 +5850,6 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
5732
5850
  name: 'createdDate',
5733
5851
  kind: 'Scalar'
5734
5852
  },
5735
- {
5736
- name: 'customSql',
5737
- kind: 'Scalar',
5738
- required: false
5739
- },
5740
5853
  {
5741
5854
  name: 'description',
5742
5855
  kind: 'Scalar',
@@ -5773,26 +5886,33 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
5773
5886
  kind: 'Scalar',
5774
5887
  required: false
5775
5888
  },
5889
+ {
5890
+ name: 'referenceIntegritySemanticDataObjects',
5891
+ kind: 'Link',
5892
+ plural: true,
5893
+ required: false,
5894
+ fragment: select$B()
5895
+ },
5776
5896
  {
5777
5897
  name: 'semanticDataObjects',
5778
5898
  kind: 'Link',
5779
5899
  plural: true,
5780
5900
  required: false,
5781
- fragment: select$A()
5901
+ fragment: select$B()
5782
5902
  },
5783
5903
  {
5784
5904
  name: 'semanticRelationships',
5785
5905
  kind: 'Link',
5786
5906
  plural: true,
5787
5907
  required: false,
5788
- fragment: select$r()
5908
+ fragment: select$s()
5789
5909
  },
5790
5910
  {
5791
5911
  name: 'semanticUnions',
5792
5912
  kind: 'Link',
5793
5913
  plural: true,
5794
5914
  required: false,
5795
- fragment: select$p()
5915
+ fragment: select$q()
5796
5916
  },
5797
5917
  {
5798
5918
  name: 'semanticViewTypeEnum',
@@ -5803,6 +5923,19 @@ const select$o = function SemanticLogicalViewOutputRepresentationSelect() {
5803
5923
  };
5804
5924
  };
5805
5925
  function equals$d(existing, incoming) {
5926
+ const existing_CustomSql = existing.CustomSql;
5927
+ const incoming_CustomSql = incoming.CustomSql;
5928
+ // if at least one of these optionals is defined
5929
+ if (existing_CustomSql !== undefined || incoming_CustomSql !== undefined) {
5930
+ // if one of these is not defined we know the other is defined and therefore
5931
+ // not equal
5932
+ if (existing_CustomSql === undefined || incoming_CustomSql === undefined) {
5933
+ return false;
5934
+ }
5935
+ if (!(existing_CustomSql === incoming_CustomSql)) {
5936
+ return false;
5937
+ }
5938
+ }
5806
5939
  const existing_apiName = existing.apiName;
5807
5940
  const incoming_apiName = incoming.apiName;
5808
5941
  if (!(existing_apiName === incoming_apiName)) {
@@ -5844,19 +5977,6 @@ function equals$d(existing, incoming) {
5844
5977
  if (!(existing_createdDate === incoming_createdDate)) {
5845
5978
  return false;
5846
5979
  }
5847
- const existing_customSql = existing.customSql;
5848
- const incoming_customSql = incoming.customSql;
5849
- // if at least one of these optionals is defined
5850
- if (existing_customSql !== undefined || incoming_customSql !== undefined) {
5851
- // if one of these is not defined we know the other is defined and therefore
5852
- // not equal
5853
- if (existing_customSql === undefined || incoming_customSql === undefined) {
5854
- return false;
5855
- }
5856
- if (!(existing_customSql === incoming_customSql)) {
5857
- return false;
5858
- }
5859
- }
5860
5980
  const existing_description = existing.description;
5861
5981
  const incoming_description = incoming.description;
5862
5982
  // if at least one of these optionals is defined
@@ -5958,6 +6078,24 @@ function equals$d(existing, incoming) {
5958
6078
  return false;
5959
6079
  }
5960
6080
  }
6081
+ const existing_referenceIntegritySemanticDataObjects = existing.referenceIntegritySemanticDataObjects;
6082
+ const incoming_referenceIntegritySemanticDataObjects = incoming.referenceIntegritySemanticDataObjects;
6083
+ // if at least one of these optionals is defined
6084
+ if (existing_referenceIntegritySemanticDataObjects !== undefined || incoming_referenceIntegritySemanticDataObjects !== undefined) {
6085
+ // if one of these is not defined we know the other is defined and therefore
6086
+ // not equal
6087
+ if (existing_referenceIntegritySemanticDataObjects === undefined || incoming_referenceIntegritySemanticDataObjects === undefined) {
6088
+ return false;
6089
+ }
6090
+ const equals_referenceIntegritySemanticDataObjects_items = equalsArray(existing_referenceIntegritySemanticDataObjects, incoming_referenceIntegritySemanticDataObjects, (existing_referenceIntegritySemanticDataObjects_item, incoming_referenceIntegritySemanticDataObjects_item) => {
6091
+ if (!(existing_referenceIntegritySemanticDataObjects_item.__ref === incoming_referenceIntegritySemanticDataObjects_item.__ref)) {
6092
+ return false;
6093
+ }
6094
+ });
6095
+ if (equals_referenceIntegritySemanticDataObjects_items === false) {
6096
+ return false;
6097
+ }
6098
+ }
5961
6099
  const existing_semanticDataObjects = existing.semanticDataObjects;
5962
6100
  const incoming_semanticDataObjects = incoming.semanticDataObjects;
5963
6101
  // if at least one of these optionals is defined
@@ -6034,6 +6172,12 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
6034
6172
  representationName: RepresentationType$9,
6035
6173
  mergeable: false
6036
6174
  });
6175
+ if (input.referenceIntegritySemanticDataObjects !== undefined) {
6176
+ const input_referenceIntegritySemanticDataObjects_length = input.referenceIntegritySemanticDataObjects.length;
6177
+ for (let i = 0; i < input_referenceIntegritySemanticDataObjects_length; i++) {
6178
+ getTypeCacheKeys$e(rootKeySet, luvio, input.referenceIntegritySemanticDataObjects[i]);
6179
+ }
6180
+ }
6037
6181
  if (input.semanticDataObjects !== undefined) {
6038
6182
  const input_semanticDataObjects_length = input.semanticDataObjects.length;
6039
6183
  for (let i = 0; i < input_semanticDataObjects_length; i++) {
@@ -6083,8 +6227,8 @@ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6083
6227
  })();
6084
6228
  return v_error === undefined ? null : v_error;
6085
6229
  }
6086
- const select$n = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6087
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
6230
+ const select$o = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6231
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6088
6232
  return {
6089
6233
  kind: 'Fragment',
6090
6234
  version: VERSION$c,
@@ -6158,7 +6302,7 @@ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6158
6302
  })();
6159
6303
  return v_error === undefined ? null : v_error;
6160
6304
  }
6161
- const select$m = function SemanticInsightTypeOutputRepresentationSelect() {
6305
+ const select$n = function SemanticInsightTypeOutputRepresentationSelect() {
6162
6306
  return {
6163
6307
  kind: 'Fragment',
6164
6308
  version: VERSION$b,
@@ -6281,10 +6425,10 @@ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6281
6425
  })();
6282
6426
  return v_error === undefined ? null : v_error;
6283
6427
  }
6284
- const select$l = function SemanticInsightsSettingsOutputRepresentationSelect() {
6285
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$n();
6286
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$m();
6287
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
6428
+ const select$m = function SemanticInsightsSettingsOutputRepresentationSelect() {
6429
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$o();
6430
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$n();
6431
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6288
6432
  return {
6289
6433
  kind: 'Fragment',
6290
6434
  version: VERSION$a,
@@ -6591,22 +6735,22 @@ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6591
6735
  return v_error === undefined ? null : v_error;
6592
6736
  }
6593
6737
  const RepresentationType$8 = 'SemanticMetricOutputRepresentation';
6594
- function keyBuilder$k(luvio, config) {
6738
+ function keyBuilder$l(luvio, config) {
6595
6739
  return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
6596
6740
  }
6597
6741
  function keyBuilderFromType$3(luvio, object) {
6598
6742
  const keyParams = {
6599
6743
  name: object.id
6600
6744
  };
6601
- return keyBuilder$k(luvio, keyParams);
6745
+ return keyBuilder$l(luvio, keyParams);
6602
6746
  }
6603
6747
  function normalize$8(input, existing, path, luvio, store, timestamp) {
6604
6748
  return input;
6605
6749
  }
6606
- const select$k = function SemanticMetricOutputRepresentationSelect() {
6607
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$u();
6608
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$D();
6609
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$l();
6750
+ const select$l = function SemanticMetricOutputRepresentationSelect() {
6751
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$v();
6752
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$E();
6753
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$m();
6610
6754
  return {
6611
6755
  kind: 'Fragment',
6612
6756
  version: VERSION$9,
@@ -7097,19 +7241,19 @@ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
7097
7241
  return v_error === undefined ? null : v_error;
7098
7242
  }
7099
7243
  const RepresentationType$7 = 'SemanticParameterOutputRepresentation';
7100
- function keyBuilder$j(luvio, config) {
7244
+ function keyBuilder$k(luvio, config) {
7101
7245
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
7102
7246
  }
7103
7247
  function keyBuilderFromType$2(luvio, object) {
7104
7248
  const keyParams = {
7105
7249
  name: object.id
7106
7250
  };
7107
- return keyBuilder$j(luvio, keyParams);
7251
+ return keyBuilder$k(luvio, keyParams);
7108
7252
  }
7109
7253
  function normalize$7(input, existing, path, luvio, store, timestamp) {
7110
7254
  return input;
7111
7255
  }
7112
- const select$j = function SemanticParameterOutputRepresentationSelect() {
7256
+ const select$k = function SemanticParameterOutputRepresentationSelect() {
7113
7257
  return {
7114
7258
  kind: 'Fragment',
7115
7259
  version: VERSION$8,
@@ -7419,7 +7563,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
7419
7563
  });
7420
7564
  }
7421
7565
 
7422
- const VERSION$7 = "5cda82e85d7322d459ba16b10b81ee96";
7566
+ const VERSION$7 = "f98076dda77572e1909b66b7e6172c95";
7423
7567
  function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7424
7568
  const v_error = (() => {
7425
7569
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7453,7 +7597,7 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7453
7597
  for (let i = 0; i < obj_baseModels.length; i++) {
7454
7598
  const obj_baseModels_item = obj_baseModels[i];
7455
7599
  const path_baseModels_item = path_baseModels + '[' + i + ']';
7456
- const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
7600
+ const referencepath_baseModels_itemValidationError = validate$E(obj_baseModels_item, path_baseModels_item);
7457
7601
  if (referencepath_baseModels_itemValidationError !== null) {
7458
7602
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
7459
7603
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7677,6 +7821,16 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7677
7821
  }
7678
7822
  }
7679
7823
  }
7824
+ if (obj.semanticModelInfo !== undefined) {
7825
+ const obj_semanticModelInfo = obj.semanticModelInfo;
7826
+ const path_semanticModelInfo = path + '.semanticModelInfo';
7827
+ const referencepath_semanticModelInfoValidationError = validate$D(obj_semanticModelInfo, path_semanticModelInfo);
7828
+ if (referencepath_semanticModelInfoValidationError !== null) {
7829
+ let message = 'Object doesn\'t match SemanticModelInfoOutputRepresentation (at "' + path_semanticModelInfo + '")\n';
7830
+ message += referencepath_semanticModelInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
7831
+ return new TypeError(message);
7832
+ }
7833
+ }
7680
7834
  if (obj.semanticParameters !== undefined) {
7681
7835
  const obj_semanticParameters = obj.semanticParameters;
7682
7836
  const path_semanticParameters = path + '.semanticParameters';
@@ -7737,14 +7891,14 @@ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7737
7891
  return v_error === undefined ? null : v_error;
7738
7892
  }
7739
7893
  const RepresentationType$6 = 'SemanticModelOutputRepresentation';
7740
- function keyBuilder$i(luvio, config) {
7894
+ function keyBuilder$j(luvio, config) {
7741
7895
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
7742
7896
  }
7743
7897
  function keyBuilderFromType$1(luvio, object) {
7744
7898
  const keyParams = {
7745
7899
  name: object.id
7746
7900
  };
7747
- return keyBuilder$i(luvio, keyParams);
7901
+ return keyBuilder$j(luvio, keyParams);
7748
7902
  }
7749
7903
  function normalize$6(input, existing, path, luvio, store, timestamp) {
7750
7904
  const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
@@ -7893,8 +8047,9 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
7893
8047
  }
7894
8048
  return input;
7895
8049
  }
7896
- const select$i = function SemanticModelOutputRepresentationSelect() {
7897
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$E();
8050
+ const select$j = function SemanticModelOutputRepresentationSelect() {
8051
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
8052
+ const { selections: SemanticModelInfoOutputRepresentation__selections, opaque: SemanticModelInfoOutputRepresentation__opaque, } = select$F();
7898
8053
  return {
7899
8054
  kind: 'Fragment',
7900
8055
  version: VERSION$7,
@@ -7983,7 +8138,7 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
7983
8138
  kind: 'Link',
7984
8139
  plural: true,
7985
8140
  required: false,
7986
- fragment: select$C()
8141
+ fragment: select$D()
7987
8142
  },
7988
8143
  {
7989
8144
  name: 'semanticCalculatedDimensionsUrl',
@@ -7995,7 +8150,7 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
7995
8150
  kind: 'Link',
7996
8151
  plural: true,
7997
8152
  required: false,
7998
- fragment: select$B()
8153
+ fragment: select$C()
7999
8154
  },
8000
8155
  {
8001
8156
  name: 'semanticCalculatedMeasurementsUrl',
@@ -8007,7 +8162,7 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
8007
8162
  kind: 'Link',
8008
8163
  plural: true,
8009
8164
  required: false,
8010
- fragment: select$A()
8165
+ fragment: select$B()
8011
8166
  },
8012
8167
  {
8013
8168
  name: 'semanticDataObjectsUrl',
@@ -8019,7 +8174,7 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
8019
8174
  kind: 'Link',
8020
8175
  plural: true,
8021
8176
  required: false,
8022
- fragment: select$t()
8177
+ fragment: select$u()
8023
8178
  },
8024
8179
  {
8025
8180
  name: 'semanticGroupingsUrl',
@@ -8031,21 +8186,27 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
8031
8186
  kind: 'Link',
8032
8187
  plural: true,
8033
8188
  required: false,
8034
- fragment: select$o()
8189
+ fragment: select$p()
8035
8190
  },
8036
8191
  {
8037
8192
  name: 'semanticMetrics',
8038
8193
  kind: 'Link',
8039
8194
  plural: true,
8040
8195
  required: false,
8041
- fragment: select$k()
8196
+ fragment: select$l()
8197
+ },
8198
+ {
8199
+ name: 'semanticModelInfo',
8200
+ kind: 'Object',
8201
+ selections: SemanticModelInfoOutputRepresentation__selections,
8202
+ required: false
8042
8203
  },
8043
8204
  {
8044
8205
  name: 'semanticParameters',
8045
8206
  kind: 'Link',
8046
8207
  plural: true,
8047
8208
  required: false,
8048
- fragment: select$j()
8209
+ fragment: select$k()
8049
8210
  },
8050
8211
  {
8051
8212
  name: 'semanticParametersUrl',
@@ -8057,7 +8218,7 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
8057
8218
  kind: 'Link',
8058
8219
  plural: true,
8059
8220
  required: false,
8060
- fragment: select$r()
8221
+ fragment: select$s()
8061
8222
  },
8062
8223
  {
8063
8224
  name: 'semanticRelationshipsUrl',
@@ -8321,7 +8482,7 @@ function equals$7(existing, incoming) {
8321
8482
  return false;
8322
8483
  }
8323
8484
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
8324
- if (!(equals$t(existing_baseModels_item, incoming_baseModels_item))) {
8485
+ if (!(equals$u(existing_baseModels_item, incoming_baseModels_item))) {
8325
8486
  return false;
8326
8487
  }
8327
8488
  });
@@ -8468,6 +8629,19 @@ function equals$7(existing, incoming) {
8468
8629
  return false;
8469
8630
  }
8470
8631
  }
8632
+ const existing_semanticModelInfo = existing.semanticModelInfo;
8633
+ const incoming_semanticModelInfo = incoming.semanticModelInfo;
8634
+ // if at least one of these optionals is defined
8635
+ if (existing_semanticModelInfo !== undefined || incoming_semanticModelInfo !== undefined) {
8636
+ // if one of these is not defined we know the other is defined and therefore
8637
+ // not equal
8638
+ if (existing_semanticModelInfo === undefined || incoming_semanticModelInfo === undefined) {
8639
+ return false;
8640
+ }
8641
+ if (!(equals$t(existing_semanticModelInfo, incoming_semanticModelInfo))) {
8642
+ return false;
8643
+ }
8644
+ }
8471
8645
  const existing_semanticParameters = existing.semanticParameters;
8472
8646
  const incoming_semanticParameters = incoming.semanticParameters;
8473
8647
  // if at least one of these optionals is defined
@@ -8576,19 +8750,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
8576
8750
  }
8577
8751
  }
8578
8752
 
8579
- function select$h(luvio, params) {
8580
- return select$i();
8753
+ function select$i(luvio, params) {
8754
+ return select$j();
8581
8755
  }
8582
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
8756
+ function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
8583
8757
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
8584
8758
  }
8585
- function ingestSuccess$a(luvio, resourceParams, response) {
8759
+ function ingestSuccess$b(luvio, resourceParams, response) {
8586
8760
  const { body } = response;
8587
8761
  const key = keyBuilderFromType$1(luvio, body);
8588
8762
  luvio.storeIngest(key, ingest$6, body);
8589
8763
  const snapshot = luvio.storeLookup({
8590
8764
  recordId: key,
8591
- node: select$h(),
8765
+ node: select$i(),
8592
8766
  variables: {},
8593
8767
  });
8594
8768
  if (process.env.NODE_ENV !== 'production') {
@@ -8599,7 +8773,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
8599
8773
  deepFreeze(snapshot.data);
8600
8774
  return snapshot;
8601
8775
  }
8602
- function createResourceRequest$b(config) {
8776
+ function createResourceRequest$d(config) {
8603
8777
  const headers = {};
8604
8778
  return {
8605
8779
  baseUri: '/services/data/v62.0',
@@ -8613,7 +8787,7 @@ function createResourceRequest$b(config) {
8613
8787
  };
8614
8788
  }
8615
8789
 
8616
- const adapterName$b = 'createSemanticModel';
8790
+ const adapterName$d = 'createSemanticModel';
8617
8791
  const createSemanticModel_ConfigPropertyMetadata = [
8618
8792
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
8619
8793
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -8634,17 +8808,17 @@ const createSemanticModel_ConfigPropertyMetadata = [
8634
8808
  generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
8635
8809
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
8636
8810
  ];
8637
- const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createSemanticModel_ConfigPropertyMetadata);
8638
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$c(createSemanticModel_ConfigPropertyMetadata);
8639
- function typeCheckConfig$b(untrustedConfig) {
8811
+ const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, createSemanticModel_ConfigPropertyMetadata);
8812
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$e(createSemanticModel_ConfigPropertyMetadata);
8813
+ function typeCheckConfig$d(untrustedConfig) {
8640
8814
  const config = {};
8641
- typeCheckConfig$c(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
8815
+ typeCheckConfig$e(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
8642
8816
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
8643
8817
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
8644
8818
  const untrustedConfig_baseModels_array = [];
8645
8819
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
8646
8820
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
8647
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
8821
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$10(untrustedConfig_baseModels_item);
8648
8822
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
8649
8823
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
8650
8824
  }
@@ -8656,7 +8830,7 @@ function typeCheckConfig$b(untrustedConfig) {
8656
8830
  const untrustedConfig_semanticCalculatedDimensions_array = [];
8657
8831
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
8658
8832
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
8659
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
8833
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedDimensions_item);
8660
8834
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
8661
8835
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
8662
8836
  }
@@ -8668,7 +8842,7 @@ function typeCheckConfig$b(untrustedConfig) {
8668
8842
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
8669
8843
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
8670
8844
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
8671
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
8845
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedMeasurements_item);
8672
8846
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
8673
8847
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
8674
8848
  }
@@ -8680,7 +8854,7 @@ function typeCheckConfig$b(untrustedConfig) {
8680
8854
  const untrustedConfig_semanticDataObjects_array = [];
8681
8855
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
8682
8856
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
8683
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
8857
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$W(untrustedConfig_semanticDataObjects_item);
8684
8858
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
8685
8859
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
8686
8860
  }
@@ -8692,7 +8866,7 @@ function typeCheckConfig$b(untrustedConfig) {
8692
8866
  const untrustedConfig_semanticGroupings_array = [];
8693
8867
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
8694
8868
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
8695
- const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
8869
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$P(untrustedConfig_semanticGroupings_item);
8696
8870
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
8697
8871
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
8698
8872
  }
@@ -8704,7 +8878,7 @@ function typeCheckConfig$b(untrustedConfig) {
8704
8878
  const untrustedConfig_semanticLogicalViews_array = [];
8705
8879
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
8706
8880
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
8707
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
8881
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$K(untrustedConfig_semanticLogicalViews_item);
8708
8882
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
8709
8883
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
8710
8884
  }
@@ -8716,7 +8890,7 @@ function typeCheckConfig$b(untrustedConfig) {
8716
8890
  const untrustedConfig_semanticMetrics_array = [];
8717
8891
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
8718
8892
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
8719
- const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
8893
+ const referenceSemanticMetricInputRepresentationValidationError = validate$G(untrustedConfig_semanticMetrics_item);
8720
8894
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
8721
8895
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
8722
8896
  }
@@ -8728,7 +8902,7 @@ function typeCheckConfig$b(untrustedConfig) {
8728
8902
  const untrustedConfig_semanticParameters_array = [];
8729
8903
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
8730
8904
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
8731
- const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
8905
+ const referenceSemanticParameterInputRepresentationValidationError = validate$F(untrustedConfig_semanticParameters_item);
8732
8906
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
8733
8907
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
8734
8908
  }
@@ -8740,7 +8914,7 @@ function typeCheckConfig$b(untrustedConfig) {
8740
8914
  const untrustedConfig_semanticRelationships_array = [];
8741
8915
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
8742
8916
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
8743
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
8917
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$N(untrustedConfig_semanticRelationships_item);
8744
8918
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
8745
8919
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
8746
8920
  }
@@ -8749,30 +8923,30 @@ function typeCheckConfig$b(untrustedConfig) {
8749
8923
  }
8750
8924
  return config;
8751
8925
  }
8752
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
8926
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
8753
8927
  if (!untrustedIsObject(untrustedConfig)) {
8754
8928
  return null;
8755
8929
  }
8756
8930
  if (process.env.NODE_ENV !== 'production') {
8757
8931
  validateConfig(untrustedConfig, configPropertyNames);
8758
8932
  }
8759
- const config = typeCheckConfig$b(untrustedConfig);
8933
+ const config = typeCheckConfig$d(untrustedConfig);
8760
8934
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
8761
8935
  return null;
8762
8936
  }
8763
8937
  return config;
8764
8938
  }
8765
- function buildNetworkSnapshot$b(luvio, config, options) {
8766
- const resourceParams = createResourceParams$b(config);
8767
- const request = createResourceRequest$b(resourceParams);
8939
+ function buildNetworkSnapshot$d(luvio, config, options) {
8940
+ const resourceParams = createResourceParams$d(config);
8941
+ const request = createResourceRequest$d(resourceParams);
8768
8942
  return luvio.dispatchResourceRequest(request, options)
8769
8943
  .then((response) => {
8770
8944
  return luvio.handleSuccessResponse(() => {
8771
- const snapshot = ingestSuccess$a(luvio, resourceParams, response);
8945
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
8772
8946
  return luvio.storeBroadcast().then(() => snapshot);
8773
8947
  }, () => {
8774
8948
  const cache = new StoreKeyMap();
8775
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
8949
+ getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
8776
8950
  return cache;
8777
8951
  });
8778
8952
  }, (response) => {
@@ -8782,12 +8956,12 @@ function buildNetworkSnapshot$b(luvio, config, options) {
8782
8956
  }
8783
8957
  const createSemanticModelAdapterFactory = (luvio) => {
8784
8958
  return function createSemanticModel(untrustedConfig) {
8785
- const config = validateAdapterConfig$b(untrustedConfig, createSemanticModel_ConfigPropertyNames);
8959
+ const config = validateAdapterConfig$d(untrustedConfig, createSemanticModel_ConfigPropertyNames);
8786
8960
  // Invalid or incomplete config
8787
8961
  if (config === null) {
8788
8962
  throw new Error('Invalid config for "createSemanticModel"');
8789
8963
  }
8790
- return buildNetworkSnapshot$b(luvio, config);
8964
+ return buildNetworkSnapshot$d(luvio, config);
8791
8965
  };
8792
8966
  };
8793
8967
 
@@ -9120,19 +9294,19 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
9120
9294
  return v_error === undefined ? null : v_error;
9121
9295
  }
9122
9296
  const RepresentationType$5 = 'SemanticSubMetricOutputRepresentation';
9123
- function keyBuilder$h(luvio, config) {
9297
+ function keyBuilder$i(luvio, config) {
9124
9298
  return keyPrefix + '::' + RepresentationType$5 + ':' + config.name;
9125
9299
  }
9126
9300
  function keyBuilderFromType(luvio, object) {
9127
9301
  const keyParams = {
9128
9302
  name: object.id
9129
9303
  };
9130
- return keyBuilder$h(luvio, keyParams);
9304
+ return keyBuilder$i(luvio, keyParams);
9131
9305
  }
9132
9306
  function normalize$5(input, existing, path, luvio, store, timestamp) {
9133
9307
  return input;
9134
9308
  }
9135
- const select$g = function SemanticSubMetricOutputRepresentationSelect() {
9309
+ const select$h = function SemanticSubMetricOutputRepresentationSelect() {
9136
9310
  return {
9137
9311
  kind: 'Fragment',
9138
9312
  version: VERSION$6,
@@ -9168,19 +9342,19 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
9168
9342
  });
9169
9343
  }
9170
9344
 
9171
- function select$f(luvio, params) {
9172
- return select$g();
9345
+ function select$g(luvio, params) {
9346
+ return select$h();
9173
9347
  }
9174
- function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
9348
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
9175
9349
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
9176
9350
  }
9177
- function ingestSuccess$9(luvio, resourceParams, response) {
9351
+ function ingestSuccess$a(luvio, resourceParams, response) {
9178
9352
  const { body } = response;
9179
9353
  const key = keyBuilderFromType(luvio, body);
9180
9354
  luvio.storeIngest(key, ingest$5, body);
9181
9355
  const snapshot = luvio.storeLookup({
9182
9356
  recordId: key,
9183
- node: select$f(),
9357
+ node: select$g(),
9184
9358
  variables: {},
9185
9359
  });
9186
9360
  if (process.env.NODE_ENV !== 'production') {
@@ -9191,7 +9365,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
9191
9365
  deepFreeze(snapshot.data);
9192
9366
  return snapshot;
9193
9367
  }
9194
- function createResourceRequest$a(config) {
9368
+ function createResourceRequest$c(config) {
9195
9369
  const headers = {};
9196
9370
  return {
9197
9371
  baseUri: '/services/data/v62.0',
@@ -9205,7 +9379,7 @@ function createResourceRequest$a(config) {
9205
9379
  };
9206
9380
  }
9207
9381
 
9208
- const adapterName$a = 'createSemanticSubMetric';
9382
+ const adapterName$c = 'createSemanticSubMetric';
9209
9383
  const createSemanticSubMetric_ConfigPropertyMetadata = [
9210
9384
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9211
9385
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
@@ -9217,17 +9391,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
9217
9391
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
9218
9392
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
9219
9393
  ];
9220
- const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createSemanticSubMetric_ConfigPropertyMetadata);
9221
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createSemanticSubMetric_ConfigPropertyMetadata);
9222
- function typeCheckConfig$a(untrustedConfig) {
9394
+ const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, createSemanticSubMetric_ConfigPropertyMetadata);
9395
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$e(createSemanticSubMetric_ConfigPropertyMetadata);
9396
+ function typeCheckConfig$c(untrustedConfig) {
9223
9397
  const config = {};
9224
- typeCheckConfig$c(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9398
+ typeCheckConfig$e(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9225
9399
  const untrustedConfig_filters = untrustedConfig.filters;
9226
9400
  if (ArrayIsArray$1(untrustedConfig_filters)) {
9227
9401
  const untrustedConfig_filters_array = [];
9228
9402
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
9229
9403
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
9230
- const referenceSemanticFilterInputRepresentationValidationError = validate$_(untrustedConfig_filters_item);
9404
+ const referenceSemanticFilterInputRepresentationValidationError = validate$$(untrustedConfig_filters_item);
9231
9405
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
9232
9406
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
9233
9407
  }
@@ -9246,30 +9420,30 @@ function typeCheckConfig$a(untrustedConfig) {
9246
9420
  }
9247
9421
  return config;
9248
9422
  }
9249
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
9423
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
9250
9424
  if (!untrustedIsObject(untrustedConfig)) {
9251
9425
  return null;
9252
9426
  }
9253
9427
  if (process.env.NODE_ENV !== 'production') {
9254
9428
  validateConfig(untrustedConfig, configPropertyNames);
9255
9429
  }
9256
- const config = typeCheckConfig$a(untrustedConfig);
9430
+ const config = typeCheckConfig$c(untrustedConfig);
9257
9431
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9258
9432
  return null;
9259
9433
  }
9260
9434
  return config;
9261
9435
  }
9262
- function buildNetworkSnapshot$a(luvio, config, options) {
9263
- const resourceParams = createResourceParams$a(config);
9264
- const request = createResourceRequest$a(resourceParams);
9436
+ function buildNetworkSnapshot$c(luvio, config, options) {
9437
+ const resourceParams = createResourceParams$c(config);
9438
+ const request = createResourceRequest$c(resourceParams);
9265
9439
  return luvio.dispatchResourceRequest(request, options)
9266
9440
  .then((response) => {
9267
9441
  return luvio.handleSuccessResponse(() => {
9268
- const snapshot = ingestSuccess$9(luvio, resourceParams, response);
9442
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response);
9269
9443
  return luvio.storeBroadcast().then(() => snapshot);
9270
9444
  }, () => {
9271
9445
  const cache = new StoreKeyMap();
9272
- getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
9446
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
9273
9447
  return cache;
9274
9448
  });
9275
9449
  }, (response) => {
@@ -9279,37 +9453,37 @@ function buildNetworkSnapshot$a(luvio, config, options) {
9279
9453
  }
9280
9454
  const createSemanticSubMetricAdapterFactory = (luvio) => {
9281
9455
  return function createSemanticSubMetric(untrustedConfig) {
9282
- const config = validateAdapterConfig$a(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
9456
+ const config = validateAdapterConfig$c(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
9283
9457
  // Invalid or incomplete config
9284
9458
  if (config === null) {
9285
9459
  throw new Error('Invalid config for "createSemanticSubMetric"');
9286
9460
  }
9287
- return buildNetworkSnapshot$a(luvio, config);
9461
+ return buildNetworkSnapshot$c(luvio, config);
9288
9462
  };
9289
9463
  };
9290
9464
 
9291
- function keyBuilder$g(luvio, params) {
9292
- return keyBuilder$h(luvio, {
9465
+ function keyBuilder$h(luvio, params) {
9466
+ return keyBuilder$i(luvio, {
9293
9467
  name: params.urlParams.subMetricNameOrId
9294
9468
  });
9295
9469
  }
9296
- function getResponseCacheKeys$9(cacheKeyMap, luvio, resourceParams) {
9297
- const key = keyBuilder$g(luvio, resourceParams);
9470
+ function getResponseCacheKeys$b(cacheKeyMap, luvio, resourceParams) {
9471
+ const key = keyBuilder$h(luvio, resourceParams);
9298
9472
  cacheKeyMap.set(key, {
9299
9473
  namespace: keyPrefix,
9300
9474
  representationName: RepresentationType$5,
9301
9475
  mergeable: false
9302
9476
  });
9303
9477
  }
9304
- function evictSuccess(luvio, resourceParams) {
9305
- const key = keyBuilder$g(luvio, resourceParams);
9478
+ function evictSuccess$1(luvio, resourceParams) {
9479
+ const key = keyBuilder$h(luvio, resourceParams);
9306
9480
  luvio.storeEvict(key);
9307
9481
  }
9308
- function createResourceRequest$9(config) {
9482
+ function createResourceRequest$b(config) {
9309
9483
  const headers = {};
9310
9484
  return {
9311
9485
  baseUri: '/services/data/v62.0',
9312
- basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '',
9486
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '/goal',
9313
9487
  method: 'delete',
9314
9488
  body: null,
9315
9489
  urlParams: config.urlParams,
@@ -9319,42 +9493,42 @@ function createResourceRequest$9(config) {
9319
9493
  };
9320
9494
  }
9321
9495
 
9322
- const adapterName$9 = 'deleteSemanticSubMetric';
9323
- const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9496
+ const adapterName$b = 'deleteGoalFromSubMetric';
9497
+ const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
9324
9498
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9325
9499
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9326
9500
  ];
9327
- const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, deleteSemanticSubMetric_ConfigPropertyMetadata);
9328
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$c(deleteSemanticSubMetric_ConfigPropertyMetadata);
9329
- function typeCheckConfig$9(untrustedConfig) {
9501
+ const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9502
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$e(deleteGoalFromSubMetric_ConfigPropertyMetadata);
9503
+ function typeCheckConfig$b(untrustedConfig) {
9330
9504
  const config = {};
9331
- typeCheckConfig$c(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9505
+ typeCheckConfig$e(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9332
9506
  return config;
9333
9507
  }
9334
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
9508
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
9335
9509
  if (!untrustedIsObject(untrustedConfig)) {
9336
9510
  return null;
9337
9511
  }
9338
9512
  if (process.env.NODE_ENV !== 'production') {
9339
9513
  validateConfig(untrustedConfig, configPropertyNames);
9340
9514
  }
9341
- const config = typeCheckConfig$9(untrustedConfig);
9515
+ const config = typeCheckConfig$b(untrustedConfig);
9342
9516
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9343
9517
  return null;
9344
9518
  }
9345
9519
  return config;
9346
9520
  }
9347
- function buildNetworkSnapshot$9(luvio, config, options) {
9348
- const resourceParams = createResourceParams$9(config);
9349
- const request = createResourceRequest$9(resourceParams);
9521
+ function buildNetworkSnapshot$b(luvio, config, options) {
9522
+ const resourceParams = createResourceParams$b(config);
9523
+ const request = createResourceRequest$b(resourceParams);
9350
9524
  return luvio.dispatchResourceRequest(request, options)
9351
9525
  .then(() => {
9352
9526
  return luvio.handleSuccessResponse(() => {
9353
- evictSuccess(luvio, resourceParams);
9527
+ evictSuccess$1(luvio, resourceParams);
9354
9528
  return luvio.storeBroadcast();
9355
9529
  }, () => {
9356
9530
  const cache = new StoreKeyMap();
9357
- getResponseCacheKeys$9(cache, luvio, resourceParams);
9531
+ getResponseCacheKeys$b(cache, luvio, resourceParams);
9358
9532
  return cache;
9359
9533
  });
9360
9534
  }, (response) => {
@@ -9362,39 +9536,124 @@ function buildNetworkSnapshot$9(luvio, config, options) {
9362
9536
  throw response;
9363
9537
  });
9364
9538
  }
9365
- const deleteSemanticSubMetricAdapterFactory = (luvio) => {
9366
- return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
9367
- const config = validateAdapterConfig$9(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
9539
+ const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
9540
+ return function SemanticAuthoringdeleteGoalFromSubMetric(untrustedConfig) {
9541
+ const config = validateAdapterConfig$b(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
9368
9542
  // Invalid or incomplete config
9369
9543
  if (config === null) {
9370
- throw new Error(`Invalid config for "${adapterName$9}"`);
9544
+ throw new Error(`Invalid config for "${adapterName$b}"`);
9371
9545
  }
9372
- return buildNetworkSnapshot$9(luvio, config);
9546
+ return buildNetworkSnapshot$b(luvio, config);
9373
9547
  };
9374
9548
  };
9375
9549
 
9376
- function select$e(luvio, params) {
9377
- return select$k();
9550
+ function keyBuilder$g(luvio, params) {
9551
+ return keyBuilder$i(luvio, {
9552
+ name: params.urlParams.subMetricNameOrId
9553
+ });
9378
9554
  }
9379
- function keyBuilder$f(luvio, params) {
9380
- return keyBuilder$k(luvio, {
9381
- name: params.urlParams.metricNameOrId
9555
+ function getResponseCacheKeys$a(cacheKeyMap, luvio, resourceParams) {
9556
+ const key = keyBuilder$g(luvio, resourceParams);
9557
+ cacheKeyMap.set(key, {
9558
+ namespace: keyPrefix,
9559
+ representationName: RepresentationType$5,
9560
+ mergeable: false
9382
9561
  });
9383
9562
  }
9384
- function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
9385
- getTypeCacheKeys$8(storeKeyMap, luvio, response);
9563
+ function evictSuccess(luvio, resourceParams) {
9564
+ const key = keyBuilder$g(luvio, resourceParams);
9565
+ luvio.storeEvict(key);
9386
9566
  }
9387
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
9388
- const { body } = response;
9389
- const key = keyBuilder$f(luvio, resourceParams);
9390
- luvio.storeIngest(key, ingest$8, body);
9391
- const snapshot = luvio.storeLookup({
9392
- recordId: key,
9393
- node: select$e(),
9394
- variables: {},
9395
- }, snapshotRefresh);
9396
- if (process.env.NODE_ENV !== 'production') {
9397
- if (snapshot.state !== 'Fulfilled') {
9567
+ function createResourceRequest$a(config) {
9568
+ const headers = {};
9569
+ return {
9570
+ baseUri: '/services/data/v62.0',
9571
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '',
9572
+ method: 'delete',
9573
+ body: null,
9574
+ urlParams: config.urlParams,
9575
+ queryParams: {},
9576
+ headers,
9577
+ priority: 'normal',
9578
+ };
9579
+ }
9580
+
9581
+ const adapterName$a = 'deleteSemanticSubMetric';
9582
+ const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9583
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9584
+ generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9585
+ ];
9586
+ const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSemanticSubMetric_ConfigPropertyMetadata);
9587
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$e(deleteSemanticSubMetric_ConfigPropertyMetadata);
9588
+ function typeCheckConfig$a(untrustedConfig) {
9589
+ const config = {};
9590
+ typeCheckConfig$e(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9591
+ return config;
9592
+ }
9593
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
9594
+ if (!untrustedIsObject(untrustedConfig)) {
9595
+ return null;
9596
+ }
9597
+ if (process.env.NODE_ENV !== 'production') {
9598
+ validateConfig(untrustedConfig, configPropertyNames);
9599
+ }
9600
+ const config = typeCheckConfig$a(untrustedConfig);
9601
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
9602
+ return null;
9603
+ }
9604
+ return config;
9605
+ }
9606
+ function buildNetworkSnapshot$a(luvio, config, options) {
9607
+ const resourceParams = createResourceParams$a(config);
9608
+ const request = createResourceRequest$a(resourceParams);
9609
+ return luvio.dispatchResourceRequest(request, options)
9610
+ .then(() => {
9611
+ return luvio.handleSuccessResponse(() => {
9612
+ evictSuccess(luvio, resourceParams);
9613
+ return luvio.storeBroadcast();
9614
+ }, () => {
9615
+ const cache = new StoreKeyMap();
9616
+ getResponseCacheKeys$a(cache, luvio, resourceParams);
9617
+ return cache;
9618
+ });
9619
+ }, (response) => {
9620
+ deepFreeze(response);
9621
+ throw response;
9622
+ });
9623
+ }
9624
+ const deleteSemanticSubMetricAdapterFactory = (luvio) => {
9625
+ return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
9626
+ const config = validateAdapterConfig$a(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
9627
+ // Invalid or incomplete config
9628
+ if (config === null) {
9629
+ throw new Error(`Invalid config for "${adapterName$a}"`);
9630
+ }
9631
+ return buildNetworkSnapshot$a(luvio, config);
9632
+ };
9633
+ };
9634
+
9635
+ function select$f(luvio, params) {
9636
+ return select$l();
9637
+ }
9638
+ function keyBuilder$f(luvio, params) {
9639
+ return keyBuilder$l(luvio, {
9640
+ name: params.urlParams.metricNameOrId
9641
+ });
9642
+ }
9643
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
9644
+ getTypeCacheKeys$8(storeKeyMap, luvio, response);
9645
+ }
9646
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
9647
+ const { body } = response;
9648
+ const key = keyBuilder$f(luvio, resourceParams);
9649
+ luvio.storeIngest(key, ingest$8, body);
9650
+ const snapshot = luvio.storeLookup({
9651
+ recordId: key,
9652
+ node: select$f(),
9653
+ variables: {},
9654
+ }, snapshotRefresh);
9655
+ if (process.env.NODE_ENV !== 'production') {
9656
+ if (snapshot.state !== 'Fulfilled') {
9398
9657
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
9399
9658
  }
9400
9659
  }
@@ -9407,7 +9666,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
9407
9666
  luvio.storeIngestError(key, errorSnapshot);
9408
9667
  return errorSnapshot;
9409
9668
  }
9410
- function createResourceRequest$8(config) {
9669
+ function createResourceRequest$9(config) {
9411
9670
  const headers = {};
9412
9671
  return {
9413
9672
  baseUri: '/services/data/v62.0',
@@ -9425,64 +9684,64 @@ function createResourceRequestFromRepresentation$2(representation) {
9425
9684
  urlParams: {},
9426
9685
  };
9427
9686
  config.urlParams.metricNameOrId = representation.id;
9428
- return createResourceRequest$8(config);
9687
+ return createResourceRequest$9(config);
9429
9688
  }
9430
9689
 
9431
- const adapterName$8 = 'getSemanticMetric';
9690
+ const adapterName$9 = 'getSemanticMetric';
9432
9691
  const getSemanticMetric_ConfigPropertyMetadata = [
9433
9692
  generateParamConfigMetadata('metricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9434
9693
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9435
9694
  ];
9436
- const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetric_ConfigPropertyMetadata);
9437
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$c(getSemanticMetric_ConfigPropertyMetadata);
9695
+ const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetric_ConfigPropertyMetadata);
9696
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$e(getSemanticMetric_ConfigPropertyMetadata);
9438
9697
  function keyBuilder$e(luvio, config) {
9439
- const resourceParams = createResourceParams$8(config);
9698
+ const resourceParams = createResourceParams$9(config);
9440
9699
  return keyBuilder$f(luvio, resourceParams);
9441
9700
  }
9442
- function typeCheckConfig$8(untrustedConfig) {
9701
+ function typeCheckConfig$9(untrustedConfig) {
9443
9702
  const config = {};
9444
- typeCheckConfig$c(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
9703
+ typeCheckConfig$e(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
9445
9704
  return config;
9446
9705
  }
9447
- function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
9706
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
9448
9707
  if (!untrustedIsObject(untrustedConfig)) {
9449
9708
  return null;
9450
9709
  }
9451
9710
  if (process.env.NODE_ENV !== 'production') {
9452
9711
  validateConfig(untrustedConfig, configPropertyNames);
9453
9712
  }
9454
- const config = typeCheckConfig$8(untrustedConfig);
9713
+ const config = typeCheckConfig$9(untrustedConfig);
9455
9714
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9456
9715
  return null;
9457
9716
  }
9458
9717
  return config;
9459
9718
  }
9460
9719
  function adapterFragment$7(luvio, config) {
9461
- createResourceParams$8(config);
9462
- return select$e();
9720
+ createResourceParams$9(config);
9721
+ return select$f();
9463
9722
  }
9464
9723
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
9465
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
9724
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
9466
9725
  config,
9467
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9726
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9468
9727
  });
9469
9728
  return luvio.storeBroadcast().then(() => snapshot);
9470
9729
  }
9471
9730
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
9472
9731
  const snapshot = ingestError$7(luvio, resourceParams, response, {
9473
9732
  config,
9474
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9733
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9475
9734
  });
9476
9735
  return luvio.storeBroadcast().then(() => snapshot);
9477
9736
  }
9478
- function buildNetworkSnapshot$8(luvio, config, options) {
9479
- const resourceParams = createResourceParams$8(config);
9480
- const request = createResourceRequest$8(resourceParams);
9737
+ function buildNetworkSnapshot$9(luvio, config, options) {
9738
+ const resourceParams = createResourceParams$9(config);
9739
+ const request = createResourceRequest$9(resourceParams);
9481
9740
  return luvio.dispatchResourceRequest(request, options)
9482
9741
  .then((response) => {
9483
9742
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
9484
9743
  const cache = new StoreKeyMap();
9485
- getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
9744
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
9486
9745
  return cache;
9487
9746
  });
9488
9747
  }, (response) => {
@@ -9490,7 +9749,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
9490
9749
  });
9491
9750
  }
9492
9751
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
9493
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
9752
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
9494
9753
  }
9495
9754
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
9496
9755
  const { luvio, config } = context;
@@ -9501,12 +9760,12 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
9501
9760
  };
9502
9761
  const cacheSnapshot = storeLookup(selector, {
9503
9762
  config,
9504
- resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9763
+ resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
9505
9764
  });
9506
9765
  return cacheSnapshot;
9507
9766
  }
9508
9767
  const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetric(untrustedConfig, requestContext) {
9509
- const config = validateAdapterConfig$8(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
9768
+ const config = validateAdapterConfig$9(untrustedConfig, getSemanticMetric_ConfigPropertyNames);
9510
9769
  // Invalid or incomplete config
9511
9770
  if (config === null) {
9512
9771
  return null;
@@ -9516,7 +9775,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
9516
9775
  };
9517
9776
  const notifyChangeFactory$2 = (luvio, options) => {
9518
9777
  return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
9519
- const keys = configs.map(c => keyBuilder$k(luvio, c));
9778
+ const keys = configs.map(c => keyBuilder$l(luvio, c));
9520
9779
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
9521
9780
  for (let i = 0, len = entries.length; i < len; i++) {
9522
9781
  const { key, record: val } = entries[i];
@@ -9589,7 +9848,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
9589
9848
  }
9590
9849
  return input;
9591
9850
  }
9592
- const select$d = function SemanticMetricCollectionOutputRepresentationSelect() {
9851
+ const select$e = function SemanticMetricCollectionOutputRepresentationSelect() {
9593
9852
  return {
9594
9853
  kind: 'Fragment',
9595
9854
  version: VERSION$5,
@@ -9600,7 +9859,7 @@ const select$d = function SemanticMetricCollectionOutputRepresentationSelect() {
9600
9859
  kind: 'Link',
9601
9860
  plural: true,
9602
9861
  required: false,
9603
- fragment: select$k()
9862
+ fragment: select$l()
9604
9863
  }
9605
9864
  ]
9606
9865
  };
@@ -9654,22 +9913,22 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
9654
9913
  }
9655
9914
  }
9656
9915
 
9657
- function select$c(luvio, params) {
9658
- return select$d();
9916
+ function select$d(luvio, params) {
9917
+ return select$e();
9659
9918
  }
9660
9919
  function keyBuilder$d(luvio, params) {
9661
9920
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
9662
9921
  }
9663
- function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
9922
+ function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
9664
9923
  getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
9665
9924
  }
9666
- function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
9925
+ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
9667
9926
  const { body } = response;
9668
9927
  const key = keyBuilder$d(luvio, resourceParams);
9669
9928
  luvio.storeIngest(key, ingest$4, body);
9670
9929
  const snapshot = luvio.storeLookup({
9671
9930
  recordId: key,
9672
- node: select$c(),
9931
+ node: select$d(),
9673
9932
  variables: {},
9674
9933
  }, snapshotRefresh);
9675
9934
  if (process.env.NODE_ENV !== 'production') {
@@ -9686,7 +9945,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
9686
9945
  luvio.storeIngestError(key, errorSnapshot);
9687
9946
  return errorSnapshot;
9688
9947
  }
9689
- function createResourceRequest$7(config) {
9948
+ function createResourceRequest$8(config) {
9690
9949
  const headers = {};
9691
9950
  return {
9692
9951
  baseUri: '/services/data/v62.0',
@@ -9700,60 +9959,60 @@ function createResourceRequest$7(config) {
9700
9959
  };
9701
9960
  }
9702
9961
 
9703
- const adapterName$7 = 'getSemanticMetrics';
9962
+ const adapterName$8 = 'getSemanticMetrics';
9704
9963
  const getSemanticMetrics_ConfigPropertyMetadata = [
9705
9964
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9706
9965
  ];
9707
- const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetrics_ConfigPropertyMetadata);
9708
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$c(getSemanticMetrics_ConfigPropertyMetadata);
9966
+ const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetrics_ConfigPropertyMetadata);
9967
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$e(getSemanticMetrics_ConfigPropertyMetadata);
9709
9968
  function keyBuilder$c(luvio, config) {
9710
- const resourceParams = createResourceParams$7(config);
9969
+ const resourceParams = createResourceParams$8(config);
9711
9970
  return keyBuilder$d(luvio, resourceParams);
9712
9971
  }
9713
- function typeCheckConfig$7(untrustedConfig) {
9972
+ function typeCheckConfig$8(untrustedConfig) {
9714
9973
  const config = {};
9715
- typeCheckConfig$c(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
9974
+ typeCheckConfig$e(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
9716
9975
  return config;
9717
9976
  }
9718
- function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
9977
+ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
9719
9978
  if (!untrustedIsObject(untrustedConfig)) {
9720
9979
  return null;
9721
9980
  }
9722
9981
  if (process.env.NODE_ENV !== 'production') {
9723
9982
  validateConfig(untrustedConfig, configPropertyNames);
9724
9983
  }
9725
- const config = typeCheckConfig$7(untrustedConfig);
9984
+ const config = typeCheckConfig$8(untrustedConfig);
9726
9985
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9727
9986
  return null;
9728
9987
  }
9729
9988
  return config;
9730
9989
  }
9731
9990
  function adapterFragment$6(luvio, config) {
9732
- createResourceParams$7(config);
9733
- return select$c();
9991
+ createResourceParams$8(config);
9992
+ return select$d();
9734
9993
  }
9735
9994
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
9736
- const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
9995
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
9737
9996
  config,
9738
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
9997
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9739
9998
  });
9740
9999
  return luvio.storeBroadcast().then(() => snapshot);
9741
10000
  }
9742
10001
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
9743
10002
  const snapshot = ingestError$6(luvio, resourceParams, response, {
9744
10003
  config,
9745
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10004
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9746
10005
  });
9747
10006
  return luvio.storeBroadcast().then(() => snapshot);
9748
10007
  }
9749
- function buildNetworkSnapshot$7(luvio, config, options) {
9750
- const resourceParams = createResourceParams$7(config);
9751
- const request = createResourceRequest$7(resourceParams);
10008
+ function buildNetworkSnapshot$8(luvio, config, options) {
10009
+ const resourceParams = createResourceParams$8(config);
10010
+ const request = createResourceRequest$8(resourceParams);
9752
10011
  return luvio.dispatchResourceRequest(request, options)
9753
10012
  .then((response) => {
9754
10013
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
9755
10014
  const cache = new StoreKeyMap();
9756
- getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
10015
+ getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
9757
10016
  return cache;
9758
10017
  });
9759
10018
  }, (response) => {
@@ -9761,7 +10020,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
9761
10020
  });
9762
10021
  }
9763
10022
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
9764
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
10023
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
9765
10024
  }
9766
10025
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
9767
10026
  const { luvio, config } = context;
@@ -9772,12 +10031,12 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
9772
10031
  };
9773
10032
  const cacheSnapshot = storeLookup(selector, {
9774
10033
  config,
9775
- resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10034
+ resolve: () => buildNetworkSnapshot$8(luvio, config, snapshotRefreshOptions)
9776
10035
  });
9777
10036
  return cacheSnapshot;
9778
10037
  }
9779
10038
  const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetrics(untrustedConfig, requestContext) {
9780
- const config = validateAdapterConfig$7(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
10039
+ const config = validateAdapterConfig$8(untrustedConfig, getSemanticMetrics_ConfigPropertyNames);
9781
10040
  // Invalid or incomplete config
9782
10041
  if (config === null) {
9783
10042
  return null;
@@ -9838,7 +10097,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
9838
10097
  }
9839
10098
  return input;
9840
10099
  }
9841
- const select$b = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
10100
+ const select$c = function SemanticSubMetricsByMetricOutputRepresentationSelect() {
9842
10101
  return {
9843
10102
  kind: 'Fragment',
9844
10103
  version: VERSION$4,
@@ -9854,7 +10113,7 @@ const select$b = function SemanticSubMetricsByMetricOutputRepresentationSelect()
9854
10113
  kind: 'Link',
9855
10114
  plural: true,
9856
10115
  required: false,
9857
- fragment: select$g()
10116
+ fragment: select$h()
9858
10117
  }
9859
10118
  ]
9860
10119
  };
@@ -9966,7 +10225,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
9966
10225
  }
9967
10226
  return input;
9968
10227
  }
9969
- const select$a = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
10228
+ const select$b = function SemanticSubMetricsByMetricCollectionOutputRepresentationSelect() {
9970
10229
  return {
9971
10230
  kind: 'Fragment',
9972
10231
  version: VERSION$3,
@@ -9977,7 +10236,7 @@ const select$a = function SemanticSubMetricsByMetricCollectionOutputRepresentati
9977
10236
  kind: 'Link',
9978
10237
  plural: true,
9979
10238
  required: false,
9980
- fragment: select$b()
10239
+ fragment: select$c()
9981
10240
  }
9982
10241
  ]
9983
10242
  };
@@ -10031,22 +10290,22 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
10031
10290
  }
10032
10291
  }
10033
10292
 
10034
- function select$9(luvio, params) {
10035
- return select$a();
10293
+ function select$a(luvio, params) {
10294
+ return select$b();
10036
10295
  }
10037
10296
  function keyBuilder$b(luvio, params) {
10038
10297
  return keyPrefix + '::SemanticSubMetricsByMetricCollectionOutputRepresentation:(' + 'metricApiNames:' + params.urlParams.metricApiNames + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
10039
10298
  }
10040
- function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10299
+ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
10041
10300
  getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$b(luvio, resourceParams));
10042
10301
  }
10043
- function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
10302
+ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
10044
10303
  const { body } = response;
10045
10304
  const key = keyBuilder$b(luvio, resourceParams);
10046
10305
  luvio.storeIngest(key, ingest$2, body);
10047
10306
  const snapshot = luvio.storeLookup({
10048
10307
  recordId: key,
10049
- node: select$9(),
10308
+ node: select$a(),
10050
10309
  variables: {},
10051
10310
  }, snapshotRefresh);
10052
10311
  if (process.env.NODE_ENV !== 'production') {
@@ -10063,7 +10322,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
10063
10322
  luvio.storeIngestError(key, errorSnapshot);
10064
10323
  return errorSnapshot;
10065
10324
  }
10066
- function createResourceRequest$6(config) {
10325
+ function createResourceRequest$7(config) {
10067
10326
  const headers = {};
10068
10327
  return {
10069
10328
  baseUri: '/services/data/v62.0',
@@ -10077,61 +10336,61 @@ function createResourceRequest$6(config) {
10077
10336
  };
10078
10337
  }
10079
10338
 
10080
- const adapterName$6 = 'getSemanticMetricsToSubMetrics';
10339
+ const adapterName$7 = 'getSemanticMetricsToSubMetrics';
10081
10340
  const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
10082
10341
  generateParamConfigMetadata('metricApiNames', true, 0 /* UrlParameter */, 0 /* String */),
10083
10342
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10084
10343
  ];
10085
- const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10086
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$c(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10344
+ const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10345
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$e(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10087
10346
  function keyBuilder$a(luvio, config) {
10088
- const resourceParams = createResourceParams$6(config);
10347
+ const resourceParams = createResourceParams$7(config);
10089
10348
  return keyBuilder$b(luvio, resourceParams);
10090
10349
  }
10091
- function typeCheckConfig$6(untrustedConfig) {
10350
+ function typeCheckConfig$7(untrustedConfig) {
10092
10351
  const config = {};
10093
- typeCheckConfig$c(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10352
+ typeCheckConfig$e(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10094
10353
  return config;
10095
10354
  }
10096
- function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
10355
+ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
10097
10356
  if (!untrustedIsObject(untrustedConfig)) {
10098
10357
  return null;
10099
10358
  }
10100
10359
  if (process.env.NODE_ENV !== 'production') {
10101
10360
  validateConfig(untrustedConfig, configPropertyNames);
10102
10361
  }
10103
- const config = typeCheckConfig$6(untrustedConfig);
10362
+ const config = typeCheckConfig$7(untrustedConfig);
10104
10363
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10105
10364
  return null;
10106
10365
  }
10107
10366
  return config;
10108
10367
  }
10109
10368
  function adapterFragment$5(luvio, config) {
10110
- createResourceParams$6(config);
10111
- return select$9();
10369
+ createResourceParams$7(config);
10370
+ return select$a();
10112
10371
  }
10113
10372
  function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
10114
- const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
10373
+ const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
10115
10374
  config,
10116
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10375
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10117
10376
  });
10118
10377
  return luvio.storeBroadcast().then(() => snapshot);
10119
10378
  }
10120
10379
  function onFetchResponseError$5(luvio, config, resourceParams, response) {
10121
10380
  const snapshot = ingestError$5(luvio, resourceParams, response, {
10122
10381
  config,
10123
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10382
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10124
10383
  });
10125
10384
  return luvio.storeBroadcast().then(() => snapshot);
10126
10385
  }
10127
- function buildNetworkSnapshot$6(luvio, config, options) {
10128
- const resourceParams = createResourceParams$6(config);
10129
- const request = createResourceRequest$6(resourceParams);
10386
+ function buildNetworkSnapshot$7(luvio, config, options) {
10387
+ const resourceParams = createResourceParams$7(config);
10388
+ const request = createResourceRequest$7(resourceParams);
10130
10389
  return luvio.dispatchResourceRequest(request, options)
10131
10390
  .then((response) => {
10132
10391
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
10133
10392
  const cache = new StoreKeyMap();
10134
- getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
10393
+ getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
10135
10394
  return cache;
10136
10395
  });
10137
10396
  }, (response) => {
@@ -10139,7 +10398,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
10139
10398
  });
10140
10399
  }
10141
10400
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
10142
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
10401
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
10143
10402
  }
10144
10403
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10145
10404
  const { luvio, config } = context;
@@ -10150,12 +10409,12 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
10150
10409
  };
10151
10410
  const cacheSnapshot = storeLookup(selector, {
10152
10411
  config,
10153
- resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10412
+ resolve: () => buildNetworkSnapshot$7(luvio, config, snapshotRefreshOptions)
10154
10413
  });
10155
10414
  return cacheSnapshot;
10156
10415
  }
10157
10416
  const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetricsToSubMetrics(untrustedConfig, requestContext) {
10158
- const config = validateAdapterConfig$6(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
10417
+ const config = validateAdapterConfig$7(untrustedConfig, getSemanticMetricsToSubMetrics_ConfigPropertyNames);
10159
10418
  // Invalid or incomplete config
10160
10419
  if (config === null) {
10161
10420
  return null;
@@ -10164,24 +10423,24 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
10164
10423
  buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
10165
10424
  };
10166
10425
 
10167
- function select$8(luvio, params) {
10168
- return select$i();
10426
+ function select$9(luvio, params) {
10427
+ return select$j();
10169
10428
  }
10170
10429
  function keyBuilder$9(luvio, params) {
10171
- return keyBuilder$i(luvio, {
10430
+ return keyBuilder$j(luvio, {
10172
10431
  name: params.urlParams.modelApiNameOrId
10173
10432
  });
10174
10433
  }
10175
- function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
10434
+ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
10176
10435
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
10177
10436
  }
10178
- function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
10437
+ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
10179
10438
  const { body } = response;
10180
10439
  const key = keyBuilder$9(luvio, resourceParams);
10181
10440
  luvio.storeIngest(key, ingest$6, body);
10182
10441
  const snapshot = luvio.storeLookup({
10183
10442
  recordId: key,
10184
- node: select$8(),
10443
+ node: select$9(),
10185
10444
  variables: {},
10186
10445
  }, snapshotRefresh);
10187
10446
  if (process.env.NODE_ENV !== 'production') {
@@ -10198,7 +10457,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
10198
10457
  luvio.storeIngestError(key, errorSnapshot);
10199
10458
  return errorSnapshot;
10200
10459
  }
10201
- function createResourceRequest$5(config) {
10460
+ function createResourceRequest$6(config) {
10202
10461
  const headers = {};
10203
10462
  return {
10204
10463
  baseUri: '/services/data/v62.0',
@@ -10217,66 +10476,66 @@ function createResourceRequestFromRepresentation$1(representation) {
10217
10476
  queryParams: {},
10218
10477
  };
10219
10478
  config.urlParams.modelApiNameOrId = representation.id;
10220
- return createResourceRequest$5(config);
10479
+ return createResourceRequest$6(config);
10221
10480
  }
10222
10481
 
10223
- const adapterName$5 = 'getSemanticModel';
10482
+ const adapterName$6 = 'getSemanticModel';
10224
10483
  const getSemanticModel_ConfigPropertyMetadata = [
10225
10484
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10226
10485
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
10227
10486
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
10228
10487
  generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
10229
10488
  ];
10230
- const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModel_ConfigPropertyMetadata);
10231
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$c(getSemanticModel_ConfigPropertyMetadata);
10489
+ const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticModel_ConfigPropertyMetadata);
10490
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$e(getSemanticModel_ConfigPropertyMetadata);
10232
10491
  function keyBuilder$8(luvio, config) {
10233
- const resourceParams = createResourceParams$5(config);
10492
+ const resourceParams = createResourceParams$6(config);
10234
10493
  return keyBuilder$9(luvio, resourceParams);
10235
10494
  }
10236
- function typeCheckConfig$5(untrustedConfig) {
10495
+ function typeCheckConfig$6(untrustedConfig) {
10237
10496
  const config = {};
10238
- typeCheckConfig$c(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10497
+ typeCheckConfig$e(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10239
10498
  return config;
10240
10499
  }
10241
- function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
10500
+ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
10242
10501
  if (!untrustedIsObject(untrustedConfig)) {
10243
10502
  return null;
10244
10503
  }
10245
10504
  if (process.env.NODE_ENV !== 'production') {
10246
10505
  validateConfig(untrustedConfig, configPropertyNames);
10247
10506
  }
10248
- const config = typeCheckConfig$5(untrustedConfig);
10507
+ const config = typeCheckConfig$6(untrustedConfig);
10249
10508
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10250
10509
  return null;
10251
10510
  }
10252
10511
  return config;
10253
10512
  }
10254
10513
  function adapterFragment$4(luvio, config) {
10255
- createResourceParams$5(config);
10256
- return select$8();
10514
+ createResourceParams$6(config);
10515
+ return select$9();
10257
10516
  }
10258
10517
  function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
10259
- const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
10518
+ const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
10260
10519
  config,
10261
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10520
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10262
10521
  });
10263
10522
  return luvio.storeBroadcast().then(() => snapshot);
10264
10523
  }
10265
10524
  function onFetchResponseError$4(luvio, config, resourceParams, response) {
10266
10525
  const snapshot = ingestError$4(luvio, resourceParams, response, {
10267
10526
  config,
10268
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10527
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10269
10528
  });
10270
10529
  return luvio.storeBroadcast().then(() => snapshot);
10271
10530
  }
10272
- function buildNetworkSnapshot$5(luvio, config, options) {
10273
- const resourceParams = createResourceParams$5(config);
10274
- const request = createResourceRequest$5(resourceParams);
10531
+ function buildNetworkSnapshot$6(luvio, config, options) {
10532
+ const resourceParams = createResourceParams$6(config);
10533
+ const request = createResourceRequest$6(resourceParams);
10275
10534
  return luvio.dispatchResourceRequest(request, options)
10276
10535
  .then((response) => {
10277
10536
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
10278
10537
  const cache = new StoreKeyMap();
10279
- getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
10538
+ getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
10280
10539
  return cache;
10281
10540
  });
10282
10541
  }, (response) => {
@@ -10284,7 +10543,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
10284
10543
  });
10285
10544
  }
10286
10545
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
10287
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
10546
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
10288
10547
  }
10289
10548
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
10290
10549
  const { luvio, config } = context;
@@ -10295,12 +10554,12 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
10295
10554
  };
10296
10555
  const cacheSnapshot = storeLookup(selector, {
10297
10556
  config,
10298
- resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
10557
+ resolve: () => buildNetworkSnapshot$6(luvio, config, snapshotRefreshOptions)
10299
10558
  });
10300
10559
  return cacheSnapshot;
10301
10560
  }
10302
10561
  const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModel(untrustedConfig, requestContext) {
10303
- const config = validateAdapterConfig$5(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10562
+ const config = validateAdapterConfig$6(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10304
10563
  // Invalid or incomplete config
10305
10564
  if (config === null) {
10306
10565
  return null;
@@ -10310,7 +10569,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
10310
10569
  };
10311
10570
  const notifyChangeFactory$1 = (luvio, options) => {
10312
10571
  return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
10313
- const keys = configs.map(c => keyBuilder$i(luvio, c));
10572
+ const keys = configs.map(c => keyBuilder$j(luvio, c));
10314
10573
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
10315
10574
  for (let i = 0, len = entries.length; i < len; i++) {
10316
10575
  const { key, record: val } = entries[i];
@@ -10372,7 +10631,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
10372
10631
  for (let i = 0; i < obj_baseModels.length; i++) {
10373
10632
  const obj_baseModels_item = obj_baseModels[i];
10374
10633
  const path_baseModels_item = path_baseModels + '[' + i + ']';
10375
- const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
10634
+ const referencepath_baseModels_itemValidationError = validate$E(obj_baseModels_item, path_baseModels_item);
10376
10635
  if (referencepath_baseModels_itemValidationError !== null) {
10377
10636
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
10378
10637
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10543,8 +10802,8 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
10543
10802
  })();
10544
10803
  return v_error === undefined ? null : v_error;
10545
10804
  }
10546
- const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
10547
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$E();
10805
+ const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
10806
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
10548
10807
  return {
10549
10808
  kind: 'Fragment',
10550
10809
  version: VERSION$2,
@@ -10915,7 +11174,7 @@ function equals$2(existing, incoming) {
10915
11174
  return false;
10916
11175
  }
10917
11176
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
10918
- if (!(equals$t(existing_baseModels_item, incoming_baseModels_item))) {
11177
+ if (!(equals$u(existing_baseModels_item, incoming_baseModels_item))) {
10919
11178
  return false;
10920
11179
  }
10921
11180
  });
@@ -11081,8 +11340,8 @@ const RepresentationType$1 = 'SemanticModelCollectionOutputRepresentation';
11081
11340
  function normalize$1(input, existing, path, luvio, store, timestamp) {
11082
11341
  return input;
11083
11342
  }
11084
- const select$6 = function SemanticModelCollectionOutputRepresentationSelect() {
11085
- const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$7();
11343
+ const select$7 = function SemanticModelCollectionOutputRepresentationSelect() {
11344
+ const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$8();
11086
11345
  return {
11087
11346
  kind: 'Fragment',
11088
11347
  version: VERSION$1,
@@ -11213,22 +11472,22 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
11213
11472
  });
11214
11473
  }
11215
11474
 
11216
- function select$5(luvio, params) {
11217
- return select$6();
11475
+ function select$6(luvio, params) {
11476
+ return select$7();
11218
11477
  }
11219
11478
  function keyBuilder$7(luvio, params) {
11220
11479
  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 + ')';
11221
11480
  }
11222
- function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
11481
+ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
11223
11482
  getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
11224
11483
  }
11225
- function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
11484
+ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
11226
11485
  const { body } = response;
11227
11486
  const key = keyBuilder$7(luvio, resourceParams);
11228
11487
  luvio.storeIngest(key, ingest$1, body);
11229
11488
  const snapshot = luvio.storeLookup({
11230
11489
  recordId: key,
11231
- node: select$5(),
11490
+ node: select$6(),
11232
11491
  variables: {},
11233
11492
  }, snapshotRefresh);
11234
11493
  if (process.env.NODE_ENV !== 'production') {
@@ -11245,7 +11504,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
11245
11504
  luvio.storeIngestError(key, errorSnapshot);
11246
11505
  return errorSnapshot;
11247
11506
  }
11248
- function createResourceRequest$4(config) {
11507
+ function createResourceRequest$5(config) {
11249
11508
  const headers = {};
11250
11509
  return {
11251
11510
  baseUri: '/services/data/v62.0',
@@ -11259,7 +11518,7 @@ function createResourceRequest$4(config) {
11259
11518
  };
11260
11519
  }
11261
11520
 
11262
- const adapterName$4 = 'getSemanticModels';
11521
+ const adapterName$5 = 'getSemanticModels';
11263
11522
  const getSemanticModels_ConfigPropertyMetadata = [
11264
11523
  generateParamConfigMetadata('app', false, 1 /* QueryParameter */, 0 /* String */),
11265
11524
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
@@ -11271,56 +11530,56 @@ const getSemanticModels_ConfigPropertyMetadata = [
11271
11530
  generateParamConfigMetadata('sourceCreation', false, 1 /* QueryParameter */, 0 /* String */),
11272
11531
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
11273
11532
  ];
11274
- const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticModels_ConfigPropertyMetadata);
11275
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$c(getSemanticModels_ConfigPropertyMetadata);
11533
+ const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModels_ConfigPropertyMetadata);
11534
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$e(getSemanticModels_ConfigPropertyMetadata);
11276
11535
  function keyBuilder$6(luvio, config) {
11277
- const resourceParams = createResourceParams$4(config);
11536
+ const resourceParams = createResourceParams$5(config);
11278
11537
  return keyBuilder$7(luvio, resourceParams);
11279
11538
  }
11280
- function typeCheckConfig$4(untrustedConfig) {
11539
+ function typeCheckConfig$5(untrustedConfig) {
11281
11540
  const config = {};
11282
- typeCheckConfig$c(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
11541
+ typeCheckConfig$e(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
11283
11542
  return config;
11284
11543
  }
11285
- function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
11544
+ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
11286
11545
  if (!untrustedIsObject(untrustedConfig)) {
11287
11546
  return null;
11288
11547
  }
11289
11548
  if (process.env.NODE_ENV !== 'production') {
11290
11549
  validateConfig(untrustedConfig, configPropertyNames);
11291
11550
  }
11292
- const config = typeCheckConfig$4(untrustedConfig);
11551
+ const config = typeCheckConfig$5(untrustedConfig);
11293
11552
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11294
11553
  return null;
11295
11554
  }
11296
11555
  return config;
11297
11556
  }
11298
11557
  function adapterFragment$3(luvio, config) {
11299
- createResourceParams$4(config);
11300
- return select$5();
11558
+ createResourceParams$5(config);
11559
+ return select$6();
11301
11560
  }
11302
11561
  function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
11303
- const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
11562
+ const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
11304
11563
  config,
11305
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11564
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11306
11565
  });
11307
11566
  return luvio.storeBroadcast().then(() => snapshot);
11308
11567
  }
11309
11568
  function onFetchResponseError$3(luvio, config, resourceParams, response) {
11310
11569
  const snapshot = ingestError$3(luvio, resourceParams, response, {
11311
11570
  config,
11312
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11571
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11313
11572
  });
11314
11573
  return luvio.storeBroadcast().then(() => snapshot);
11315
11574
  }
11316
- function buildNetworkSnapshot$4(luvio, config, options) {
11317
- const resourceParams = createResourceParams$4(config);
11318
- const request = createResourceRequest$4(resourceParams);
11575
+ function buildNetworkSnapshot$5(luvio, config, options) {
11576
+ const resourceParams = createResourceParams$5(config);
11577
+ const request = createResourceRequest$5(resourceParams);
11319
11578
  return luvio.dispatchResourceRequest(request, options)
11320
11579
  .then((response) => {
11321
11580
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
11322
11581
  const cache = new StoreKeyMap();
11323
- getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
11582
+ getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
11324
11583
  return cache;
11325
11584
  });
11326
11585
  }, (response) => {
@@ -11328,7 +11587,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
11328
11587
  });
11329
11588
  }
11330
11589
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
11331
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11590
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
11332
11591
  }
11333
11592
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11334
11593
  const { luvio, config } = context;
@@ -11339,12 +11598,12 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
11339
11598
  };
11340
11599
  const cacheSnapshot = storeLookup(selector, {
11341
11600
  config,
11342
- resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11601
+ resolve: () => buildNetworkSnapshot$5(luvio, config, snapshotRefreshOptions)
11343
11602
  });
11344
11603
  return cacheSnapshot;
11345
11604
  }
11346
11605
  const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
11347
- const config = validateAdapterConfig$4(untrustedConfig, getSemanticModels_ConfigPropertyNames);
11606
+ const config = validateAdapterConfig$5(untrustedConfig, getSemanticModels_ConfigPropertyNames);
11348
11607
  // Invalid or incomplete config
11349
11608
  if (config === null) {
11350
11609
  return null;
@@ -11353,24 +11612,24 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
11353
11612
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
11354
11613
  };
11355
11614
 
11356
- function select$4(luvio, params) {
11357
- return select$g();
11615
+ function select$5(luvio, params) {
11616
+ return select$h();
11358
11617
  }
11359
11618
  function keyBuilder$5(luvio, params) {
11360
- return keyBuilder$h(luvio, {
11619
+ return keyBuilder$i(luvio, {
11361
11620
  name: params.urlParams.subMetricNameOrId
11362
11621
  });
11363
11622
  }
11364
- function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
11623
+ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
11365
11624
  getTypeCacheKeys$5(storeKeyMap, luvio, response);
11366
11625
  }
11367
- function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
11626
+ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
11368
11627
  const { body } = response;
11369
11628
  const key = keyBuilder$5(luvio, resourceParams);
11370
11629
  luvio.storeIngest(key, ingest$5, body);
11371
11630
  const snapshot = luvio.storeLookup({
11372
11631
  recordId: key,
11373
- node: select$4(),
11632
+ node: select$5(),
11374
11633
  variables: {},
11375
11634
  }, snapshotRefresh);
11376
11635
  if (process.env.NODE_ENV !== 'production') {
@@ -11387,7 +11646,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
11387
11646
  luvio.storeIngestError(key, errorSnapshot);
11388
11647
  return errorSnapshot;
11389
11648
  }
11390
- function createResourceRequest$3(config) {
11649
+ function createResourceRequest$4(config) {
11391
11650
  const headers = {};
11392
11651
  return {
11393
11652
  baseUri: '/services/data/v62.0',
@@ -11405,64 +11664,64 @@ function createResourceRequestFromRepresentation(representation) {
11405
11664
  urlParams: {},
11406
11665
  };
11407
11666
  config.urlParams.subMetricNameOrId = representation.id;
11408
- return createResourceRequest$3(config);
11667
+ return createResourceRequest$4(config);
11409
11668
  }
11410
11669
 
11411
- const adapterName$3 = 'getSemanticSubMetric';
11670
+ const adapterName$4 = 'getSemanticSubMetric';
11412
11671
  const getSemanticSubMetric_ConfigPropertyMetadata = [
11413
11672
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11414
11673
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11415
11674
  ];
11416
- const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetric_ConfigPropertyMetadata);
11417
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$c(getSemanticSubMetric_ConfigPropertyMetadata);
11675
+ const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetric_ConfigPropertyMetadata);
11676
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$e(getSemanticSubMetric_ConfigPropertyMetadata);
11418
11677
  function keyBuilder$4(luvio, config) {
11419
- const resourceParams = createResourceParams$3(config);
11678
+ const resourceParams = createResourceParams$4(config);
11420
11679
  return keyBuilder$5(luvio, resourceParams);
11421
11680
  }
11422
- function typeCheckConfig$3(untrustedConfig) {
11681
+ function typeCheckConfig$4(untrustedConfig) {
11423
11682
  const config = {};
11424
- typeCheckConfig$c(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
11683
+ typeCheckConfig$e(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
11425
11684
  return config;
11426
11685
  }
11427
- function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
11686
+ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
11428
11687
  if (!untrustedIsObject(untrustedConfig)) {
11429
11688
  return null;
11430
11689
  }
11431
11690
  if (process.env.NODE_ENV !== 'production') {
11432
11691
  validateConfig(untrustedConfig, configPropertyNames);
11433
11692
  }
11434
- const config = typeCheckConfig$3(untrustedConfig);
11693
+ const config = typeCheckConfig$4(untrustedConfig);
11435
11694
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11436
11695
  return null;
11437
11696
  }
11438
11697
  return config;
11439
11698
  }
11440
11699
  function adapterFragment$2(luvio, config) {
11441
- createResourceParams$3(config);
11442
- return select$4();
11700
+ createResourceParams$4(config);
11701
+ return select$5();
11443
11702
  }
11444
11703
  function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
11445
- const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
11704
+ const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
11446
11705
  config,
11447
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11706
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11448
11707
  });
11449
11708
  return luvio.storeBroadcast().then(() => snapshot);
11450
11709
  }
11451
11710
  function onFetchResponseError$2(luvio, config, resourceParams, response) {
11452
11711
  const snapshot = ingestError$2(luvio, resourceParams, response, {
11453
11712
  config,
11454
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11713
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11455
11714
  });
11456
11715
  return luvio.storeBroadcast().then(() => snapshot);
11457
11716
  }
11458
- function buildNetworkSnapshot$3(luvio, config, options) {
11459
- const resourceParams = createResourceParams$3(config);
11460
- const request = createResourceRequest$3(resourceParams);
11717
+ function buildNetworkSnapshot$4(luvio, config, options) {
11718
+ const resourceParams = createResourceParams$4(config);
11719
+ const request = createResourceRequest$4(resourceParams);
11461
11720
  return luvio.dispatchResourceRequest(request, options)
11462
11721
  .then((response) => {
11463
11722
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
11464
11723
  const cache = new StoreKeyMap();
11465
- getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
11724
+ getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
11466
11725
  return cache;
11467
11726
  });
11468
11727
  }, (response) => {
@@ -11470,7 +11729,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
11470
11729
  });
11471
11730
  }
11472
11731
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
11473
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
11732
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
11474
11733
  }
11475
11734
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11476
11735
  const { luvio, config } = context;
@@ -11481,12 +11740,12 @@ function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
11481
11740
  };
11482
11741
  const cacheSnapshot = storeLookup(selector, {
11483
11742
  config,
11484
- resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11743
+ resolve: () => buildNetworkSnapshot$4(luvio, config, snapshotRefreshOptions)
11485
11744
  });
11486
11745
  return cacheSnapshot;
11487
11746
  }
11488
11747
  const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetric(untrustedConfig, requestContext) {
11489
- const config = validateAdapterConfig$3(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
11748
+ const config = validateAdapterConfig$4(untrustedConfig, getSemanticSubMetric_ConfigPropertyNames);
11490
11749
  // Invalid or incomplete config
11491
11750
  if (config === null) {
11492
11751
  return null;
@@ -11496,7 +11755,7 @@ const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring
11496
11755
  };
11497
11756
  const notifyChangeFactory = (luvio, options) => {
11498
11757
  return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
11499
- const keys = configs.map(c => keyBuilder$h(luvio, c));
11758
+ const keys = configs.map(c => keyBuilder$i(luvio, c));
11500
11759
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
11501
11760
  for (let i = 0, len = entries.length; i < len; i++) {
11502
11761
  const { key, record: val } = entries[i];
@@ -11569,7 +11828,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
11569
11828
  }
11570
11829
  return input;
11571
11830
  }
11572
- const select$3 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
11831
+ const select$4 = function SemanticSubMetricCollectionOutputRepresentationSelect() {
11573
11832
  return {
11574
11833
  kind: 'Fragment',
11575
11834
  version: VERSION,
@@ -11580,7 +11839,7 @@ const select$3 = function SemanticSubMetricCollectionOutputRepresentationSelect(
11580
11839
  kind: 'Link',
11581
11840
  plural: true,
11582
11841
  required: false,
11583
- fragment: select$g()
11842
+ fragment: select$h()
11584
11843
  }
11585
11844
  ]
11586
11845
  };
@@ -11634,22 +11893,22 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
11634
11893
  }
11635
11894
  }
11636
11895
 
11637
- function select$2(luvio, params) {
11638
- return select$3();
11896
+ function select$3(luvio, params) {
11897
+ return select$4();
11639
11898
  }
11640
11899
  function keyBuilder$3(luvio, params) {
11641
- return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
11900
+ return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'hasGoal:' + params.queryParams.hasGoal + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
11642
11901
  }
11643
- function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
11902
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
11644
11903
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
11645
11904
  }
11646
- function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
11905
+ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
11647
11906
  const { body } = response;
11648
11907
  const key = keyBuilder$3(luvio, resourceParams);
11649
11908
  luvio.storeIngest(key, ingest, body);
11650
11909
  const snapshot = luvio.storeLookup({
11651
11910
  recordId: key,
11652
- node: select$2(),
11911
+ node: select$3(),
11653
11912
  variables: {},
11654
11913
  }, snapshotRefresh);
11655
11914
  if (process.env.NODE_ENV !== 'production') {
@@ -11666,7 +11925,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
11666
11925
  luvio.storeIngestError(key, errorSnapshot);
11667
11926
  return errorSnapshot;
11668
11927
  }
11669
- function createResourceRequest$2(config) {
11928
+ function createResourceRequest$3(config) {
11670
11929
  const headers = {};
11671
11930
  return {
11672
11931
  baseUri: '/services/data/v62.0',
@@ -11674,66 +11933,67 @@ function createResourceRequest$2(config) {
11674
11933
  method: 'get',
11675
11934
  body: null,
11676
11935
  urlParams: config.urlParams,
11677
- queryParams: {},
11936
+ queryParams: config.queryParams,
11678
11937
  headers,
11679
11938
  priority: 'normal',
11680
11939
  };
11681
11940
  }
11682
11941
 
11683
- const adapterName$2 = 'getSemanticSubMetrics';
11942
+ const adapterName$3 = 'getSemanticSubMetrics';
11684
11943
  const getSemanticSubMetrics_ConfigPropertyMetadata = [
11685
11944
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11945
+ generateParamConfigMetadata('hasGoal', false, 1 /* QueryParameter */, 1 /* Boolean */),
11686
11946
  ];
11687
- const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetrics_ConfigPropertyMetadata);
11688
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$c(getSemanticSubMetrics_ConfigPropertyMetadata);
11947
+ const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetrics_ConfigPropertyMetadata);
11948
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$e(getSemanticSubMetrics_ConfigPropertyMetadata);
11689
11949
  function keyBuilder$2(luvio, config) {
11690
- const resourceParams = createResourceParams$2(config);
11950
+ const resourceParams = createResourceParams$3(config);
11691
11951
  return keyBuilder$3(luvio, resourceParams);
11692
11952
  }
11693
- function typeCheckConfig$2(untrustedConfig) {
11953
+ function typeCheckConfig$3(untrustedConfig) {
11694
11954
  const config = {};
11695
- typeCheckConfig$c(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
11955
+ typeCheckConfig$e(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
11696
11956
  return config;
11697
11957
  }
11698
- function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
11958
+ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
11699
11959
  if (!untrustedIsObject(untrustedConfig)) {
11700
11960
  return null;
11701
11961
  }
11702
11962
  if (process.env.NODE_ENV !== 'production') {
11703
11963
  validateConfig(untrustedConfig, configPropertyNames);
11704
11964
  }
11705
- const config = typeCheckConfig$2(untrustedConfig);
11965
+ const config = typeCheckConfig$3(untrustedConfig);
11706
11966
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11707
11967
  return null;
11708
11968
  }
11709
11969
  return config;
11710
11970
  }
11711
11971
  function adapterFragment$1(luvio, config) {
11712
- createResourceParams$2(config);
11713
- return select$2();
11972
+ createResourceParams$3(config);
11973
+ return select$3();
11714
11974
  }
11715
11975
  function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
11716
- const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
11976
+ const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
11717
11977
  config,
11718
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11978
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11719
11979
  });
11720
11980
  return luvio.storeBroadcast().then(() => snapshot);
11721
11981
  }
11722
11982
  function onFetchResponseError$1(luvio, config, resourceParams, response) {
11723
11983
  const snapshot = ingestError$1(luvio, resourceParams, response, {
11724
11984
  config,
11725
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11985
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11726
11986
  });
11727
11987
  return luvio.storeBroadcast().then(() => snapshot);
11728
11988
  }
11729
- function buildNetworkSnapshot$2(luvio, config, options) {
11730
- const resourceParams = createResourceParams$2(config);
11731
- const request = createResourceRequest$2(resourceParams);
11989
+ function buildNetworkSnapshot$3(luvio, config, options) {
11990
+ const resourceParams = createResourceParams$3(config);
11991
+ const request = createResourceRequest$3(resourceParams);
11732
11992
  return luvio.dispatchResourceRequest(request, options)
11733
11993
  .then((response) => {
11734
11994
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
11735
11995
  const cache = new StoreKeyMap();
11736
- getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
11996
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
11737
11997
  return cache;
11738
11998
  });
11739
11999
  }, (response) => {
@@ -11741,7 +12001,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
11741
12001
  });
11742
12002
  }
11743
12003
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
11744
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
12004
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
11745
12005
  }
11746
12006
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
11747
12007
  const { luvio, config } = context;
@@ -11752,12 +12012,12 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
11752
12012
  };
11753
12013
  const cacheSnapshot = storeLookup(selector, {
11754
12014
  config,
11755
- resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
12015
+ resolve: () => buildNetworkSnapshot$3(luvio, config, snapshotRefreshOptions)
11756
12016
  });
11757
12017
  return cacheSnapshot;
11758
12018
  }
11759
12019
  const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetrics(untrustedConfig, requestContext) {
11760
- const config = validateAdapterConfig$2(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
12020
+ const config = validateAdapterConfig$3(untrustedConfig, getSemanticSubMetrics_ConfigPropertyNames);
11761
12021
  // Invalid or incomplete config
11762
12022
  if (config === null) {
11763
12023
  return null;
@@ -11766,22 +12026,22 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
11766
12026
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
11767
12027
  };
11768
12028
 
11769
- function select$1(luvio, params) {
11770
- return select$3();
12029
+ function select$2(luvio, params) {
12030
+ return select$4();
11771
12031
  }
11772
12032
  function keyBuilder$1(luvio, params) {
11773
12033
  return keyPrefix + '::SemanticSubMetricCollectionOutputRepresentation:(' + 'subMetricIds:' + params.urlParams.subMetricIds + ')';
11774
12034
  }
11775
- function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
12035
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
11776
12036
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
11777
12037
  }
11778
- function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
12038
+ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
11779
12039
  const { body } = response;
11780
12040
  const key = keyBuilder$1(luvio, resourceParams);
11781
12041
  luvio.storeIngest(key, ingest, body);
11782
12042
  const snapshot = luvio.storeLookup({
11783
12043
  recordId: key,
11784
- node: select$1(),
12044
+ node: select$2(),
11785
12045
  variables: {},
11786
12046
  }, snapshotRefresh);
11787
12047
  if (process.env.NODE_ENV !== 'production') {
@@ -11798,7 +12058,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
11798
12058
  luvio.storeIngestError(key, errorSnapshot);
11799
12059
  return errorSnapshot;
11800
12060
  }
11801
- function createResourceRequest$1(config) {
12061
+ function createResourceRequest$2(config) {
11802
12062
  const headers = {};
11803
12063
  return {
11804
12064
  baseUri: '/services/data/v62.0',
@@ -11812,60 +12072,60 @@ function createResourceRequest$1(config) {
11812
12072
  };
11813
12073
  }
11814
12074
 
11815
- const adapterName$1 = 'getSemanticSubMetricsById';
12075
+ const adapterName$2 = 'getSemanticSubMetricsById';
11816
12076
  const getSemanticSubMetricsById_ConfigPropertyMetadata = [
11817
12077
  generateParamConfigMetadata('subMetricIds', true, 0 /* UrlParameter */, 0 /* String */),
11818
12078
  ];
11819
- const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSemanticSubMetricsById_ConfigPropertyMetadata);
11820
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(getSemanticSubMetricsById_ConfigPropertyMetadata);
12079
+ const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetricsById_ConfigPropertyMetadata);
12080
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$e(getSemanticSubMetricsById_ConfigPropertyMetadata);
11821
12081
  function keyBuilder(luvio, config) {
11822
- const resourceParams = createResourceParams$1(config);
12082
+ const resourceParams = createResourceParams$2(config);
11823
12083
  return keyBuilder$1(luvio, resourceParams);
11824
12084
  }
11825
- function typeCheckConfig$1(untrustedConfig) {
12085
+ function typeCheckConfig$2(untrustedConfig) {
11826
12086
  const config = {};
11827
- typeCheckConfig$c(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
12087
+ typeCheckConfig$e(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
11828
12088
  return config;
11829
12089
  }
11830
- function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
12090
+ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
11831
12091
  if (!untrustedIsObject(untrustedConfig)) {
11832
12092
  return null;
11833
12093
  }
11834
12094
  if (process.env.NODE_ENV !== 'production') {
11835
12095
  validateConfig(untrustedConfig, configPropertyNames);
11836
12096
  }
11837
- const config = typeCheckConfig$1(untrustedConfig);
12097
+ const config = typeCheckConfig$2(untrustedConfig);
11838
12098
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11839
12099
  return null;
11840
12100
  }
11841
12101
  return config;
11842
12102
  }
11843
12103
  function adapterFragment(luvio, config) {
11844
- createResourceParams$1(config);
11845
- return select$1();
12104
+ createResourceParams$2(config);
12105
+ return select$2();
11846
12106
  }
11847
12107
  function onFetchResponseSuccess(luvio, config, resourceParams, response) {
11848
- const snapshot = ingestSuccess$1(luvio, resourceParams, response, {
12108
+ const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
11849
12109
  config,
11850
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12110
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11851
12111
  });
11852
12112
  return luvio.storeBroadcast().then(() => snapshot);
11853
12113
  }
11854
12114
  function onFetchResponseError(luvio, config, resourceParams, response) {
11855
12115
  const snapshot = ingestError(luvio, resourceParams, response, {
11856
12116
  config,
11857
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12117
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11858
12118
  });
11859
12119
  return luvio.storeBroadcast().then(() => snapshot);
11860
12120
  }
11861
- function buildNetworkSnapshot$1(luvio, config, options) {
11862
- const resourceParams = createResourceParams$1(config);
11863
- const request = createResourceRequest$1(resourceParams);
12121
+ function buildNetworkSnapshot$2(luvio, config, options) {
12122
+ const resourceParams = createResourceParams$2(config);
12123
+ const request = createResourceRequest$2(resourceParams);
11864
12124
  return luvio.dispatchResourceRequest(request, options)
11865
12125
  .then((response) => {
11866
12126
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
11867
12127
  const cache = new StoreKeyMap();
11868
- getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
12128
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
11869
12129
  return cache;
11870
12130
  });
11871
12131
  }, (response) => {
@@ -11873,7 +12133,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
11873
12133
  });
11874
12134
  }
11875
12135
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
11876
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
12136
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
11877
12137
  }
11878
12138
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
11879
12139
  const { luvio, config } = context;
@@ -11884,12 +12144,12 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
11884
12144
  };
11885
12145
  const cacheSnapshot = storeLookup(selector, {
11886
12146
  config,
11887
- resolve: () => buildNetworkSnapshot$1(luvio, config, snapshotRefreshOptions)
12147
+ resolve: () => buildNetworkSnapshot$2(luvio, config, snapshotRefreshOptions)
11888
12148
  });
11889
12149
  return cacheSnapshot;
11890
12150
  }
11891
12151
  const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticSubMetricsById(untrustedConfig, requestContext) {
11892
- const config = validateAdapterConfig$1(untrustedConfig, getSemanticSubMetricsById_ConfigPropertyNames);
12152
+ const config = validateAdapterConfig$2(untrustedConfig, getSemanticSubMetricsById_ConfigPropertyNames);
11893
12153
  // Invalid or incomplete config
11894
12154
  if (config === null) {
11895
12155
  return null;
@@ -11898,8 +12158,112 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
11898
12158
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
11899
12159
  };
11900
12160
 
12161
+ function select$1(luvio, params) {
12162
+ return select$h();
12163
+ }
12164
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
12165
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
12166
+ }
12167
+ function ingestSuccess$1(luvio, resourceParams, response) {
12168
+ const { body } = response;
12169
+ const key = keyBuilderFromType(luvio, body);
12170
+ luvio.storeIngest(key, ingest$5, body);
12171
+ const snapshot = luvio.storeLookup({
12172
+ recordId: key,
12173
+ node: select$1(),
12174
+ variables: {},
12175
+ });
12176
+ if (process.env.NODE_ENV !== 'production') {
12177
+ if (snapshot.state !== 'Fulfilled') {
12178
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
12179
+ }
12180
+ }
12181
+ deepFreeze(snapshot.data);
12182
+ return snapshot;
12183
+ }
12184
+ function createResourceRequest$1(config) {
12185
+ const headers = {};
12186
+ return {
12187
+ baseUri: '/services/data/v62.0',
12188
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/sub-metrics/' + config.urlParams.subMetricNameOrId + '/goal',
12189
+ method: 'patch',
12190
+ body: config.body,
12191
+ urlParams: config.urlParams,
12192
+ queryParams: {},
12193
+ headers,
12194
+ priority: 'normal',
12195
+ };
12196
+ }
12197
+
12198
+ const adapterName$1 = 'patchSemanticMetricGoal';
12199
+ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
12200
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12201
+ generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12202
+ generateParamConfigMetadata('date', false, 2 /* Body */, 4 /* Unsupported */),
12203
+ generateParamConfigMetadata('goalType', false, 2 /* Body */, 0 /* String */),
12204
+ generateParamConfigMetadata('value', false, 2 /* Body */, 4 /* Unsupported */),
12205
+ ];
12206
+ const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
12207
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$e(patchSemanticMetricGoal_ConfigPropertyMetadata);
12208
+ function typeCheckConfig$1(untrustedConfig) {
12209
+ const config = {};
12210
+ typeCheckConfig$e(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
12211
+ const untrustedConfig_date = untrustedConfig.date;
12212
+ const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$e(untrustedConfig_date);
12213
+ if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
12214
+ config.date = untrustedConfig_date;
12215
+ }
12216
+ const untrustedConfig_value = untrustedConfig.value;
12217
+ const referenceSemanticGoalValueInputRepresentationValidationError = validate$d(untrustedConfig_value);
12218
+ if (referenceSemanticGoalValueInputRepresentationValidationError === null) {
12219
+ config.value = untrustedConfig_value;
12220
+ }
12221
+ return config;
12222
+ }
12223
+ function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
12224
+ if (!untrustedIsObject(untrustedConfig)) {
12225
+ return null;
12226
+ }
12227
+ if (process.env.NODE_ENV !== 'production') {
12228
+ validateConfig(untrustedConfig, configPropertyNames);
12229
+ }
12230
+ const config = typeCheckConfig$1(untrustedConfig);
12231
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
12232
+ return null;
12233
+ }
12234
+ return config;
12235
+ }
12236
+ function buildNetworkSnapshot$1(luvio, config, options) {
12237
+ const resourceParams = createResourceParams$1(config);
12238
+ const request = createResourceRequest$1(resourceParams);
12239
+ return luvio.dispatchResourceRequest(request, options)
12240
+ .then((response) => {
12241
+ return luvio.handleSuccessResponse(() => {
12242
+ const snapshot = ingestSuccess$1(luvio, resourceParams, response);
12243
+ return luvio.storeBroadcast().then(() => snapshot);
12244
+ }, () => {
12245
+ const cache = new StoreKeyMap();
12246
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
12247
+ return cache;
12248
+ });
12249
+ }, (response) => {
12250
+ deepFreeze(response);
12251
+ throw response;
12252
+ });
12253
+ }
12254
+ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
12255
+ return function patchSemanticMetricGoal(untrustedConfig) {
12256
+ const config = validateAdapterConfig$1(untrustedConfig, patchSemanticMetricGoal_ConfigPropertyNames);
12257
+ // Invalid or incomplete config
12258
+ if (config === null) {
12259
+ throw new Error('Invalid config for "patchSemanticMetricGoal"');
12260
+ }
12261
+ return buildNetworkSnapshot$1(luvio, config);
12262
+ };
12263
+ };
12264
+
11901
12265
  function select(luvio, params) {
11902
- return select$i();
12266
+ return select$j();
11903
12267
  }
11904
12268
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
11905
12269
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
@@ -11958,16 +12322,16 @@ const patchSemanticModel_ConfigPropertyMetadata = [
11958
12322
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
11959
12323
  ];
11960
12324
  const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, patchSemanticModel_ConfigPropertyMetadata);
11961
- const createResourceParams = /*#__PURE__*/ createResourceParams$c(patchSemanticModel_ConfigPropertyMetadata);
12325
+ const createResourceParams = /*#__PURE__*/ createResourceParams$e(patchSemanticModel_ConfigPropertyMetadata);
11962
12326
  function typeCheckConfig(untrustedConfig) {
11963
12327
  const config = {};
11964
- typeCheckConfig$c(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
12328
+ typeCheckConfig$e(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
11965
12329
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
11966
12330
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
11967
12331
  const untrustedConfig_baseModels_array = [];
11968
12332
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
11969
12333
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
11970
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
12334
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$10(untrustedConfig_baseModels_item);
11971
12335
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
11972
12336
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
11973
12337
  }
@@ -11979,7 +12343,7 @@ function typeCheckConfig(untrustedConfig) {
11979
12343
  const untrustedConfig_semanticCalculatedDimensions_array = [];
11980
12344
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
11981
12345
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
11982
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
12346
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedDimensions_item);
11983
12347
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
11984
12348
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
11985
12349
  }
@@ -11991,7 +12355,7 @@ function typeCheckConfig(untrustedConfig) {
11991
12355
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
11992
12356
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
11993
12357
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
11994
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
12358
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedMeasurements_item);
11995
12359
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
11996
12360
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
11997
12361
  }
@@ -12003,7 +12367,7 @@ function typeCheckConfig(untrustedConfig) {
12003
12367
  const untrustedConfig_semanticDataObjects_array = [];
12004
12368
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
12005
12369
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
12006
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
12370
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$W(untrustedConfig_semanticDataObjects_item);
12007
12371
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
12008
12372
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
12009
12373
  }
@@ -12015,7 +12379,7 @@ function typeCheckConfig(untrustedConfig) {
12015
12379
  const untrustedConfig_semanticGroupings_array = [];
12016
12380
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
12017
12381
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
12018
- const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
12382
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$P(untrustedConfig_semanticGroupings_item);
12019
12383
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
12020
12384
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
12021
12385
  }
@@ -12027,7 +12391,7 @@ function typeCheckConfig(untrustedConfig) {
12027
12391
  const untrustedConfig_semanticLogicalViews_array = [];
12028
12392
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
12029
12393
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
12030
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
12394
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$K(untrustedConfig_semanticLogicalViews_item);
12031
12395
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
12032
12396
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
12033
12397
  }
@@ -12039,7 +12403,7 @@ function typeCheckConfig(untrustedConfig) {
12039
12403
  const untrustedConfig_semanticMetrics_array = [];
12040
12404
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
12041
12405
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
12042
- const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
12406
+ const referenceSemanticMetricInputRepresentationValidationError = validate$G(untrustedConfig_semanticMetrics_item);
12043
12407
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
12044
12408
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
12045
12409
  }
@@ -12051,7 +12415,7 @@ function typeCheckConfig(untrustedConfig) {
12051
12415
  const untrustedConfig_semanticParameters_array = [];
12052
12416
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
12053
12417
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
12054
- const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
12418
+ const referenceSemanticParameterInputRepresentationValidationError = validate$F(untrustedConfig_semanticParameters_item);
12055
12419
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
12056
12420
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
12057
12421
  }
@@ -12063,7 +12427,7 @@ function typeCheckConfig(untrustedConfig) {
12063
12427
  const untrustedConfig_semanticRelationships_array = [];
12064
12428
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
12065
12429
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
12066
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
12430
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$N(untrustedConfig_semanticRelationships_item);
12067
12431
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
12068
12432
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
12069
12433
  }
@@ -12116,6 +12480,7 @@ const patchSemanticModelAdapterFactory = (luvio) => {
12116
12480
 
12117
12481
  let createSemanticModel;
12118
12482
  let createSemanticSubMetric;
12483
+ let deleteGoalFromSubMetric;
12119
12484
  let deleteSemanticSubMetric;
12120
12485
  let getSemanticMetric;
12121
12486
  let getSemanticMetricNotifyChange;
@@ -12128,6 +12493,7 @@ let getSemanticSubMetric;
12128
12493
  let getSemanticSubMetricNotifyChange;
12129
12494
  let getSemanticSubMetrics;
12130
12495
  let getSemanticSubMetricsById;
12496
+ let patchSemanticMetricGoal;
12131
12497
  let patchSemanticModel;
12132
12498
  // Imperative GET Adapters
12133
12499
  let getSemanticMetric_imperative;
@@ -12176,7 +12542,8 @@ function bindExportsTo(luvio) {
12176
12542
  return {
12177
12543
  createSemanticModel: unwrapSnapshotData(createSemanticModelAdapterFactory),
12178
12544
  createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
12179
- deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$9, deleteSemanticSubMetricAdapterFactory),
12545
+ deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$b, deleteGoalFromSubMetricAdapterFactory),
12546
+ deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$a, deleteSemanticSubMetricAdapterFactory),
12180
12547
  getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
12181
12548
  getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
12182
12549
  getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
@@ -12188,6 +12555,7 @@ function bindExportsTo(luvio) {
12188
12555
  getSemanticSubMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticSubMetricNotifyChange', notifyChangeFactory),
12189
12556
  getSemanticSubMetrics: createWireAdapterConstructor(luvio, getSemanticSubMetrics_ldsAdapter, getSemanticSubMetricsMetadata),
12190
12557
  getSemanticSubMetricsById: createWireAdapterConstructor(luvio, getSemanticSubMetricsById_ldsAdapter, getSemanticSubMetricsByIdMetadata),
12558
+ patchSemanticMetricGoal: unwrapSnapshotData(patchSemanticMetricGoalAdapterFactory),
12191
12559
  patchSemanticModel: unwrapSnapshotData(patchSemanticModelAdapterFactory),
12192
12560
  // Imperative GET Adapters
12193
12561
  getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
@@ -12205,6 +12573,7 @@ withDefaultLuvio((luvio) => {
12205
12573
  ({
12206
12574
  createSemanticModel,
12207
12575
  createSemanticSubMetric,
12576
+ deleteGoalFromSubMetric,
12208
12577
  deleteSemanticSubMetric,
12209
12578
  getSemanticMetric,
12210
12579
  getSemanticMetricNotifyChange,
@@ -12217,6 +12586,7 @@ withDefaultLuvio((luvio) => {
12217
12586
  getSemanticSubMetricNotifyChange,
12218
12587
  getSemanticSubMetrics,
12219
12588
  getSemanticSubMetricsById,
12589
+ patchSemanticMetricGoal,
12220
12590
  patchSemanticModel,
12221
12591
  getSemanticMetric_imperative,
12222
12592
  getSemanticMetrics_imperative,
@@ -12229,5 +12599,5 @@ withDefaultLuvio((luvio) => {
12229
12599
  } = bindExportsTo(luvio));
12230
12600
  });
12231
12601
 
12232
- export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
12233
- // version: 1.309.0-dev16-189d0681ed
12602
+ export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
12603
+ // version: 1.309.0-dev18-8649efafcc