@salesforce/lds-adapters-cdp-semantic-authoring 1.320.0 → 1.322.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +816 -183
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticSubMetric.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSemanticModel.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticMetricsByMetricIds.d.ts +11 -0
  5. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsBaseModelsByModelApiNameOrIdAndBaseModelNameOrId.d.ts +10 -0
  6. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +12 -0
  7. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticMetricStoreItems.d.ts +12 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsByModelApiNameOrId.d.ts +1 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +20 -0
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
  13. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
  14. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
  15. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsCloneByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +13 -0
  16. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +2 -0
  17. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
  18. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
  19. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsDimensionsConvertToMeasurementByDataObjectNameOrIdAndDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
  20. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsMeasurementsByDataObjectNameOrIdAndMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
  21. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  22. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsMetricsAdditionalDimensionByModelApiNameOrId.d.ts +14 -0
  23. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsOverrideByModelApiNameOrId.d.ts +13 -0
  24. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrId.d.ts +2 -0
  25. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +4 -1
  26. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
  27. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +7 -1
  28. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectCollectionOutputRepresentation.d.ts +4 -1
  29. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +4 -1
  30. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +13 -1
  31. package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeInputRepresentation.d.ts +31 -0
  32. package/dist/es/es2018/types/src/generated/types/SemanticGoalValueInputRepresentation.d.ts +28 -0
  33. package/dist/es/es2018/types/src/generated/types/SemanticGroupingOutputRepresentation.d.ts +4 -1
  34. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
  35. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +10 -1
  36. package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldOutputRepresentation.d.ts +4 -1
  37. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +4 -1
  38. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +16 -1
  39. package/dist/es/es2018/types/src/generated/types/SemanticMetricAdditionalDimensionInputRepresentation.d.ts +32 -0
  40. package/dist/es/es2018/types/src/generated/types/SemanticMetricGoalInputRepresentation.d.ts +7 -5
  41. package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +4 -1
  42. package/dist/es/es2018/types/src/generated/types/SemanticMetricStoreItemCollectionOutputRepresentation.d.ts +38 -0
  43. package/dist/es/es2018/types/src/generated/types/SemanticMetricStoreItemOutputRepresentation.d.ts +44 -0
  44. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +6 -3
  45. package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +6 -3
  46. package/dist/es/es2018/types/src/generated/types/SemanticModelPatchInputRepresentation.d.ts +52 -0
  47. package/dist/es/es2018/types/src/generated/types/SemanticOverrideCollectionInputRepresentation.d.ts +29 -0
  48. package/dist/es/es2018/types/src/generated/types/SemanticOverrideCollectionOutputRepresentation.d.ts +29 -0
  49. package/dist/es/es2018/types/src/generated/types/SemanticOverrideInputRepresentation.d.ts +34 -0
  50. package/dist/es/es2018/types/src/generated/types/SemanticOverrideOutputRepresentation.d.ts +43 -0
  51. package/dist/es/es2018/types/src/generated/types/SemanticParameterOutputRepresentation.d.ts +4 -1
  52. package/dist/es/es2018/types/src/generated/types/SemanticRelationshipOutputRepresentation.d.ts +4 -1
  53. package/dist/es/es2018/types/src/generated/types/SemanticSubMetricInputRepresentation.d.ts +5 -1
  54. package/dist/es/es2018/types/src/generated/types/SemanticSubMetricOutputRepresentation.d.ts +8 -1
  55. package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeInputRepresentation.d.ts +7 -1
  56. package/dist/es/es2018/types/src/generated/types/SemanticTimeRangeOutputRepresentation.d.ts +7 -1
  57. package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
  58. package/package.json +3 -3
  59. package/sfdc/index.js +803 -170
  60. package/src/raml/api.raml +517 -53
package/sfdc/index.js CHANGED
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$V(obj, path = 'SemanticBaseModelInputRepresentation') {
105
+ function validate$$(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$V(obj, path = 'SemanticBaseModelInputRepresentation') {
118
118
  return v_error === undefined ? null : v_error;
119
119
  }
120
120
 
121
- function validate$U(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$U(obj, path = 'SemanticFilterInputRepresentation') {
148
148
  return v_error === undefined ? null : v_error;
149
149
  }
150
150
 
151
- function validate$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
151
+ function validate$Z(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$T(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$U(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$T(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
258
258
  return v_error === undefined ? null : v_error;
259
259
  }
260
260
 
261
- function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
261
+ function validate$Y(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$S(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$U(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');
@@ -364,6 +364,13 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
364
364
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
365
365
  }
366
366
  }
367
+ if (obj.sentiment !== undefined) {
368
+ const obj_sentiment = obj.sentiment;
369
+ const path_sentiment = path + '.sentiment';
370
+ if (typeof obj_sentiment !== 'string') {
371
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
372
+ }
373
+ }
367
374
  if (obj.shouldTreatNullsAsZeros !== undefined) {
368
375
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
369
376
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -396,7 +403,7 @@ function validate$S(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
396
403
  return v_error === undefined ? null : v_error;
397
404
  }
398
405
 
399
- function validate$R(obj, path = 'SemanticDimensionInputRepresentation') {
406
+ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
400
407
  const v_error = (() => {
401
408
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
402
409
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -475,7 +482,7 @@ function validate$R(obj, path = 'SemanticDimensionInputRepresentation') {
475
482
  return v_error === undefined ? null : v_error;
476
483
  }
477
484
 
478
- function validate$Q(obj, path = 'SemanticMeasurementInputRepresentation') {
485
+ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
479
486
  const v_error = (() => {
480
487
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
481
488
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -557,6 +564,13 @@ function validate$Q(obj, path = 'SemanticMeasurementInputRepresentation') {
557
564
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
558
565
  }
559
566
  }
567
+ if (obj.sentiment !== undefined) {
568
+ const obj_sentiment = obj.sentiment;
569
+ const path_sentiment = path + '.sentiment';
570
+ if (typeof obj_sentiment !== 'string') {
571
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
572
+ }
573
+ }
560
574
  if (obj.shouldTreatNullsAsZeros !== undefined) {
561
575
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
562
576
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -575,7 +589,7 @@ function validate$Q(obj, path = 'SemanticMeasurementInputRepresentation') {
575
589
  return v_error === undefined ? null : v_error;
576
590
  }
577
591
 
578
- function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
592
+ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
579
593
  const v_error = (() => {
580
594
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
581
595
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -624,7 +638,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
624
638
  for (let i = 0; i < obj_filters.length; i++) {
625
639
  const obj_filters_item = obj_filters[i];
626
640
  const path_filters_item = path_filters + '[' + i + ']';
627
- const referencepath_filters_itemValidationError = validate$U(obj_filters_item, path_filters_item);
641
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
628
642
  if (referencepath_filters_itemValidationError !== null) {
629
643
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
630
644
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -655,7 +669,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
655
669
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
656
670
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
657
671
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
658
- const referencepath_semanticDimensions_itemValidationError = validate$R(obj_semanticDimensions_item, path_semanticDimensions_item);
672
+ const referencepath_semanticDimensions_itemValidationError = validate$X(obj_semanticDimensions_item, path_semanticDimensions_item);
659
673
  if (referencepath_semanticDimensions_itemValidationError !== null) {
660
674
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
661
675
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -672,7 +686,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
672
686
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
673
687
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
674
688
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
675
- const referencepath_semanticMeasurements_itemValidationError = validate$Q(obj_semanticMeasurements_item, path_semanticMeasurements_item);
689
+ const referencepath_semanticMeasurements_itemValidationError = validate$W(obj_semanticMeasurements_item, path_semanticMeasurements_item);
676
690
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
677
691
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
678
692
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -691,7 +705,7 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
691
705
  return v_error === undefined ? null : v_error;
692
706
  }
693
707
 
694
- function validate$O(obj, path = 'BinDimensionConfigurationInputRepresentation') {
708
+ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation') {
695
709
  const v_error = (() => {
696
710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
697
711
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -703,7 +717,7 @@ function validate$O(obj, path = 'BinDimensionConfigurationInputRepresentation')
703
717
  return v_error === undefined ? null : v_error;
704
718
  }
705
719
 
706
- function validate$N(obj, path = 'GroupDimensionGroupInputRepresentation') {
720
+ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
707
721
  const v_error = (() => {
708
722
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
709
723
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -733,7 +747,7 @@ function validate$N(obj, path = 'GroupDimensionGroupInputRepresentation') {
733
747
  return v_error === undefined ? null : v_error;
734
748
  }
735
749
 
736
- function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
750
+ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
737
751
  const v_error = (() => {
738
752
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
739
753
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -747,7 +761,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
747
761
  for (let i = 0; i < obj_groups.length; i++) {
748
762
  const obj_groups_item = obj_groups[i];
749
763
  const path_groups_item = path_groups + '[' + i + ']';
750
- const referencepath_groups_itemValidationError = validate$N(obj_groups_item, path_groups_item);
764
+ const referencepath_groups_itemValidationError = validate$T(obj_groups_item, path_groups_item);
751
765
  if (referencepath_groups_itemValidationError !== null) {
752
766
  let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
753
767
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -766,7 +780,7 @@ function validate$M(obj, path = 'GroupDimensionConfigurationInputRepresentation'
766
780
  return v_error === undefined ? null : v_error;
767
781
  }
768
782
 
769
- function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
783
+ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
770
784
  const v_error = (() => {
771
785
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
772
786
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -774,7 +788,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
774
788
  if (obj.binDimension !== undefined) {
775
789
  const obj_binDimension = obj.binDimension;
776
790
  const path_binDimension = path + '.binDimension';
777
- const referencepath_binDimensionValidationError = validate$O(obj_binDimension, path_binDimension);
791
+ const referencepath_binDimensionValidationError = validate$U(obj_binDimension, path_binDimension);
778
792
  if (referencepath_binDimensionValidationError !== null) {
779
793
  let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
780
794
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -784,7 +798,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
784
798
  if (obj.groupDimension !== undefined) {
785
799
  const obj_groupDimension = obj.groupDimension;
786
800
  const path_groupDimension = path + '.groupDimension';
787
- const referencepath_groupDimensionValidationError = validate$M(obj_groupDimension, path_groupDimension);
801
+ const referencepath_groupDimensionValidationError = validate$S(obj_groupDimension, path_groupDimension);
788
802
  if (referencepath_groupDimensionValidationError !== null) {
789
803
  let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
790
804
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -795,7 +809,7 @@ function validate$L(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
795
809
  return v_error === undefined ? null : v_error;
796
810
  }
797
811
 
798
- function validate$K(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
812
+ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
799
813
  const v_error = (() => {
800
814
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
801
815
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -818,7 +832,7 @@ function validate$K(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
818
832
  return v_error === undefined ? null : v_error;
819
833
  }
820
834
 
821
- function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
835
+ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
822
836
  const v_error = (() => {
823
837
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
824
838
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -833,7 +847,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
833
847
  if (obj.tableFieldReference !== undefined) {
834
848
  const obj_tableFieldReference = obj.tableFieldReference;
835
849
  const path_tableFieldReference = path + '.tableFieldReference';
836
- const referencepath_tableFieldReferenceValidationError = validate$K(obj_tableFieldReference, path_tableFieldReference);
850
+ const referencepath_tableFieldReferenceValidationError = validate$Q(obj_tableFieldReference, path_tableFieldReference);
837
851
  if (referencepath_tableFieldReferenceValidationError !== null) {
838
852
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
839
853
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -844,7 +858,7 @@ function validate$J(obj, path = 'SemanticFieldReferenceInputRepresentation') {
844
858
  return v_error === undefined ? null : v_error;
845
859
  }
846
860
 
847
- function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
861
+ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
848
862
  const v_error = (() => {
849
863
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
850
864
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -859,7 +873,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
859
873
  if (obj.configuration !== undefined) {
860
874
  const obj_configuration = obj.configuration;
861
875
  const path_configuration = path + '.configuration';
862
- const referencepath_configurationValidationError = validate$L(obj_configuration, path_configuration);
876
+ const referencepath_configurationValidationError = validate$R(obj_configuration, path_configuration);
863
877
  if (referencepath_configurationValidationError !== null) {
864
878
  let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
865
879
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -876,7 +890,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
876
890
  if (obj.fieldReference !== undefined) {
877
891
  const obj_fieldReference = obj.fieldReference;
878
892
  const path_fieldReference = path + '.fieldReference';
879
- const referencepath_fieldReferenceValidationError = validate$J(obj_fieldReference, path_fieldReference);
893
+ const referencepath_fieldReferenceValidationError = validate$P(obj_fieldReference, path_fieldReference);
880
894
  if (referencepath_fieldReferenceValidationError !== null) {
881
895
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
882
896
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -901,7 +915,7 @@ function validate$I(obj, path = 'SemanticGroupingInputRepresentation') {
901
915
  return v_error === undefined ? null : v_error;
902
916
  }
903
917
 
904
- function validate$H(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
918
+ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
905
919
  const v_error = (() => {
906
920
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
907
921
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -945,7 +959,7 @@ function validate$H(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
945
959
  return v_error === undefined ? null : v_error;
946
960
  }
947
961
 
948
- function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
962
+ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
949
963
  const v_error = (() => {
950
964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
951
965
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -973,7 +987,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
973
987
  for (let i = 0; i < obj_criteria.length; i++) {
974
988
  const obj_criteria_item = obj_criteria[i];
975
989
  const path_criteria_item = path_criteria + '[' + i + ']';
976
- const referencepath_criteria_itemValidationError = validate$H(obj_criteria_item, path_criteria_item);
990
+ const referencepath_criteria_itemValidationError = validate$N(obj_criteria_item, path_criteria_item);
977
991
  if (referencepath_criteria_itemValidationError !== null) {
978
992
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
979
993
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1034,7 +1048,7 @@ function validate$G(obj, path = 'SemanticRelationshipInputRepresentation') {
1034
1048
  return v_error === undefined ? null : v_error;
1035
1049
  }
1036
1050
 
1037
- function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
1051
+ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1038
1052
  const v_error = (() => {
1039
1053
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1040
1054
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1062,7 +1076,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
1062
1076
  for (let i = 0; i < obj_fields.length; i++) {
1063
1077
  const obj_fields_item = obj_fields[i];
1064
1078
  const path_fields_item = path_fields + '[' + i + ']';
1065
- const referencepath_fields_itemValidationError = validate$K(obj_fields_item, path_fields_item);
1079
+ const referencepath_fields_itemValidationError = validate$Q(obj_fields_item, path_fields_item);
1066
1080
  if (referencepath_fields_itemValidationError !== null) {
1067
1081
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
1068
1082
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1087,7 +1101,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
1087
1101
  if (obj.semanticDimension !== undefined) {
1088
1102
  const obj_semanticDimension = obj.semanticDimension;
1089
1103
  const path_semanticDimension = path + '.semanticDimension';
1090
- const referencepath_semanticDimensionValidationError = validate$R(obj_semanticDimension, path_semanticDimension);
1104
+ const referencepath_semanticDimensionValidationError = validate$X(obj_semanticDimension, path_semanticDimension);
1091
1105
  if (referencepath_semanticDimensionValidationError !== null) {
1092
1106
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
1093
1107
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1097,7 +1111,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
1097
1111
  if (obj.semanticMeasurement !== undefined) {
1098
1112
  const obj_semanticMeasurement = obj.semanticMeasurement;
1099
1113
  const path_semanticMeasurement = path + '.semanticMeasurement';
1100
- const referencepath_semanticMeasurementValidationError = validate$Q(obj_semanticMeasurement, path_semanticMeasurement);
1114
+ const referencepath_semanticMeasurementValidationError = validate$W(obj_semanticMeasurement, path_semanticMeasurement);
1101
1115
  if (referencepath_semanticMeasurementValidationError !== null) {
1102
1116
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
1103
1117
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1108,7 +1122,7 @@ function validate$F(obj, path = 'SemanticMappedFieldInputRepresentation') {
1108
1122
  return v_error === undefined ? null : v_error;
1109
1123
  }
1110
1124
 
1111
- function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
1125
+ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1112
1126
  const v_error = (() => {
1113
1127
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1114
1128
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1143,7 +1157,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
1143
1157
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1144
1158
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1145
1159
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1146
- const referencepath_semanticDataObjects_itemValidationError = validate$P(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1160
+ const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1147
1161
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1148
1162
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1149
1163
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1160,7 +1174,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
1160
1174
  for (let i = 0; i < obj_semanticMappedFields.length; i++) {
1161
1175
  const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
1162
1176
  const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
1163
- const referencepath_semanticMappedFields_itemValidationError = validate$F(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1177
+ const referencepath_semanticMappedFields_itemValidationError = validate$L(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1164
1178
  if (referencepath_semanticMappedFields_itemValidationError !== null) {
1165
1179
  let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
1166
1180
  message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1172,7 +1186,7 @@ function validate$E(obj, path = 'SemanticUnionInputRepresentation') {
1172
1186
  return v_error === undefined ? null : v_error;
1173
1187
  }
1174
1188
 
1175
- function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1189
+ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1176
1190
  const v_error = (() => {
1177
1191
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1178
1192
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1184,6 +1198,13 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1184
1198
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1185
1199
  }
1186
1200
  }
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
+ }
1187
1208
  if (obj.description !== undefined) {
1188
1209
  const obj_description = obj.description;
1189
1210
  const path_description = path + '.description';
@@ -1207,7 +1228,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1207
1228
  for (let i = 0; i < obj_filters.length; i++) {
1208
1229
  const obj_filters_item = obj_filters[i];
1209
1230
  const path_filters_item = path_filters + '[' + i + ']';
1210
- const referencepath_filters_itemValidationError = validate$U(obj_filters_item, path_filters_item);
1231
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1211
1232
  if (referencepath_filters_itemValidationError !== null) {
1212
1233
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1213
1234
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1231,7 +1252,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1231
1252
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1232
1253
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1233
1254
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1234
- const referencepath_semanticDataObjects_itemValidationError = validate$P(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1255
+ const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1235
1256
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1236
1257
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1237
1258
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1248,7 +1269,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1248
1269
  for (let i = 0; i < obj_semanticRelationships.length; i++) {
1249
1270
  const obj_semanticRelationships_item = obj_semanticRelationships[i];
1250
1271
  const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
1251
- const referencepath_semanticRelationships_itemValidationError = validate$G(obj_semanticRelationships_item, path_semanticRelationships_item);
1272
+ const referencepath_semanticRelationships_itemValidationError = validate$M(obj_semanticRelationships_item, path_semanticRelationships_item);
1252
1273
  if (referencepath_semanticRelationships_itemValidationError !== null) {
1253
1274
  let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
1254
1275
  message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1265,7 +1286,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1265
1286
  for (let i = 0; i < obj_semanticUnions.length; i++) {
1266
1287
  const obj_semanticUnions_item = obj_semanticUnions[i];
1267
1288
  const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
1268
- const referencepath_semanticUnions_itemValidationError = validate$E(obj_semanticUnions_item, path_semanticUnions_item);
1289
+ const referencepath_semanticUnions_itemValidationError = validate$K(obj_semanticUnions_item, path_semanticUnions_item);
1269
1290
  if (referencepath_semanticUnions_itemValidationError !== null) {
1270
1291
  let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
1271
1292
  message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1277,7 +1298,7 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
1277
1298
  return v_error === undefined ? null : v_error;
1278
1299
  }
1279
1300
 
1280
- function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1301
+ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1281
1302
  const v_error = (() => {
1282
1303
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1283
1304
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1285,7 +1306,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1285
1306
  if (obj.identifierDimensionReference !== undefined) {
1286
1307
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
1287
1308
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
1288
- const referencepath_identifierDimensionReferenceValidationError = validate$J(obj_identifierDimensionReference, path_identifierDimensionReference);
1309
+ const referencepath_identifierDimensionReferenceValidationError = validate$P(obj_identifierDimensionReference, path_identifierDimensionReference);
1289
1310
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
1290
1311
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
1291
1312
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1295,7 +1316,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1295
1316
  if (obj.namingDimensionReference !== undefined) {
1296
1317
  const obj_namingDimensionReference = obj.namingDimensionReference;
1297
1318
  const path_namingDimensionReference = path + '.namingDimensionReference';
1298
- const referencepath_namingDimensionReferenceValidationError = validate$J(obj_namingDimensionReference, path_namingDimensionReference);
1319
+ const referencepath_namingDimensionReferenceValidationError = validate$P(obj_namingDimensionReference, path_namingDimensionReference);
1299
1320
  if (referencepath_namingDimensionReferenceValidationError !== null) {
1300
1321
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
1301
1322
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1306,7 +1327,7 @@ function validate$C(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1306
1327
  return v_error === undefined ? null : v_error;
1307
1328
  }
1308
1329
 
1309
- function validate$B(obj, path = 'SemanticInsightTypeInputRepresentation') {
1330
+ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1310
1331
  const v_error = (() => {
1311
1332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1312
1333
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1329,7 +1350,7 @@ function validate$B(obj, path = 'SemanticInsightTypeInputRepresentation') {
1329
1350
  return v_error === undefined ? null : v_error;
1330
1351
  }
1331
1352
 
1332
- function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1353
+ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1333
1354
  const v_error = (() => {
1334
1355
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1335
1356
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1337,7 +1358,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1337
1358
  if (obj.identifyingDimension !== undefined) {
1338
1359
  const obj_identifyingDimension = obj.identifyingDimension;
1339
1360
  const path_identifyingDimension = path + '.identifyingDimension';
1340
- const referencepath_identifyingDimensionValidationError = validate$C(obj_identifyingDimension, path_identifyingDimension);
1361
+ const referencepath_identifyingDimensionValidationError = validate$I(obj_identifyingDimension, path_identifyingDimension);
1341
1362
  if (referencepath_identifyingDimensionValidationError !== null) {
1342
1363
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
1343
1364
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1353,7 +1374,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1353
1374
  for (let i = 0; i < obj_insightTypes.length; i++) {
1354
1375
  const obj_insightTypes_item = obj_insightTypes[i];
1355
1376
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
1356
- const referencepath_insightTypes_itemValidationError = validate$B(obj_insightTypes_item, path_insightTypes_item);
1377
+ const referencepath_insightTypes_itemValidationError = validate$H(obj_insightTypes_item, path_insightTypes_item);
1357
1378
  if (referencepath_insightTypes_itemValidationError !== null) {
1358
1379
  let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
1359
1380
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1370,7 +1391,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1370
1391
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
1371
1392
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
1372
1393
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
1373
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$J(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1394
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$P(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1374
1395
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
1375
1396
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
1376
1397
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1403,7 +1424,7 @@ function validate$A(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1403
1424
  return v_error === undefined ? null : v_error;
1404
1425
  }
1405
1426
 
1406
- function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1427
+ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1407
1428
  const v_error = (() => {
1408
1429
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1409
1430
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1417,7 +1438,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1417
1438
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
1418
1439
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
1419
1440
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
1420
- const referencepath_additionalDimensions_itemValidationError = validate$J(obj_additionalDimensions_item, path_additionalDimensions_item);
1441
+ const referencepath_additionalDimensions_itemValidationError = validate$P(obj_additionalDimensions_item, path_additionalDimensions_item);
1421
1442
  if (referencepath_additionalDimensions_itemValidationError !== null) {
1422
1443
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
1423
1444
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1462,7 +1483,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1462
1483
  for (let i = 0; i < obj_filters.length; i++) {
1463
1484
  const obj_filters_item = obj_filters[i];
1464
1485
  const path_filters_item = path_filters + '[' + i + ']';
1465
- const referencepath_filters_itemValidationError = validate$U(obj_filters_item, path_filters_item);
1486
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1466
1487
  if (referencepath_filters_itemValidationError !== null) {
1467
1488
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1468
1489
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1473,7 +1494,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1473
1494
  if (obj.insightsSettings !== undefined) {
1474
1495
  const obj_insightsSettings = obj.insightsSettings;
1475
1496
  const path_insightsSettings = path + '.insightsSettings';
1476
- const referencepath_insightsSettingsValidationError = validate$A(obj_insightsSettings, path_insightsSettings);
1497
+ const referencepath_insightsSettingsValidationError = validate$G(obj_insightsSettings, path_insightsSettings);
1477
1498
  if (referencepath_insightsSettingsValidationError !== null) {
1478
1499
  let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
1479
1500
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1497,7 +1518,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1497
1518
  if (obj.measurementReference !== undefined) {
1498
1519
  const obj_measurementReference = obj.measurementReference;
1499
1520
  const path_measurementReference = path + '.measurementReference';
1500
- const referencepath_measurementReferenceValidationError = validate$J(obj_measurementReference, path_measurementReference);
1521
+ const referencepath_measurementReferenceValidationError = validate$P(obj_measurementReference, path_measurementReference);
1501
1522
  if (referencepath_measurementReferenceValidationError !== null) {
1502
1523
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
1503
1524
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1507,7 +1528,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1507
1528
  if (obj.timeDimensionReference !== undefined) {
1508
1529
  const obj_timeDimensionReference = obj.timeDimensionReference;
1509
1530
  const path_timeDimensionReference = path + '.timeDimensionReference';
1510
- const referencepath_timeDimensionReferenceValidationError = validate$J(obj_timeDimensionReference, path_timeDimensionReference);
1531
+ const referencepath_timeDimensionReferenceValidationError = validate$P(obj_timeDimensionReference, path_timeDimensionReference);
1511
1532
  if (referencepath_timeDimensionReferenceValidationError !== null) {
1512
1533
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
1513
1534
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1532,7 +1553,7 @@ function validate$z(obj, path = 'SemanticMetricInputRepresentation') {
1532
1553
  return v_error === undefined ? null : v_error;
1533
1554
  }
1534
1555
 
1535
- function validate$y(obj, path = 'SemanticParameterInputRepresentation') {
1556
+ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1536
1557
  const v_error = (() => {
1537
1558
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1538
1559
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1619,7 +1640,7 @@ function validate$y(obj, path = 'SemanticParameterInputRepresentation') {
1619
1640
  }
1620
1641
 
1621
1642
  const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
1622
- function validate$x(obj, path = 'SemanticBaseModelOutputRepresentation') {
1643
+ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1623
1644
  const v_error = (() => {
1624
1645
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1625
1646
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1680,7 +1701,7 @@ function equals$t(existing, incoming) {
1680
1701
  }
1681
1702
 
1682
1703
  const VERSION$s = "9b5a0e85af6a943c95625e2dfe81ab96";
1683
- function validate$w(obj, path = 'SemanticFilterOutputRepresentation') {
1704
+ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1684
1705
  const v_error = (() => {
1685
1706
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1686
1707
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1776,8 +1797,8 @@ function equals$s(existing, incoming) {
1776
1797
  return true;
1777
1798
  }
1778
1799
 
1779
- const VERSION$r = "ff65b61056eb2b2c8408d53df92d147b";
1780
- function validate$v(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1800
+ const VERSION$r = "51514a172af5e420504a2143725b4528";
1801
+ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1781
1802
  const v_error = (() => {
1782
1803
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1783
1804
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1794,6 +1815,13 @@ function validate$v(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1794
1815
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
1795
1816
  }
1796
1817
  }
1818
+ if (obj.cacheKey !== undefined) {
1819
+ const obj_cacheKey = obj.cacheKey;
1820
+ const path_cacheKey = path + '.cacheKey';
1821
+ if (typeof obj_cacheKey !== 'string') {
1822
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
1823
+ }
1824
+ }
1797
1825
  const obj_createdBy = obj.createdBy;
1798
1826
  const path_createdBy = path + '.createdBy';
1799
1827
  if (typeof obj_createdBy !== 'string') {
@@ -1855,7 +1883,7 @@ function validate$v(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1855
1883
  for (let i = 0; i < obj_filters.length; i++) {
1856
1884
  const obj_filters_item = obj_filters[i];
1857
1885
  const path_filters_item = path_filters + '[' + i + ']';
1858
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
1886
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
1859
1887
  if (referencepath_filters_itemValidationError !== null) {
1860
1888
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1861
1889
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1949,6 +1977,11 @@ const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect(
1949
1977
  kind: 'Scalar',
1950
1978
  required: false
1951
1979
  },
1980
+ {
1981
+ name: 'cacheKey',
1982
+ kind: 'Scalar',
1983
+ required: false
1984
+ },
1952
1985
  {
1953
1986
  name: 'createdBy',
1954
1987
  kind: 'Scalar'
@@ -2081,6 +2114,19 @@ function equals$r(existing, incoming) {
2081
2114
  return false;
2082
2115
  }
2083
2116
  }
2117
+ const existing_cacheKey = existing.cacheKey;
2118
+ const incoming_cacheKey = incoming.cacheKey;
2119
+ // if at least one of these optionals is defined
2120
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
2121
+ // if one of these is not defined we know the other is defined and therefore
2122
+ // not equal
2123
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
2124
+ return false;
2125
+ }
2126
+ if (!(existing_cacheKey === incoming_cacheKey)) {
2127
+ return false;
2128
+ }
2129
+ }
2084
2130
  const existing_createdBy = existing.createdBy;
2085
2131
  const incoming_createdBy = incoming.createdBy;
2086
2132
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -2261,7 +2307,7 @@ function equals$r(existing, incoming) {
2261
2307
  }
2262
2308
  const ingest$g = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2263
2309
  if (process.env.NODE_ENV !== 'production') {
2264
- const validateError = validate$v(input);
2310
+ const validateError = validate$B(input);
2265
2311
  if (validateError !== null) {
2266
2312
  throw validateError;
2267
2313
  }
@@ -2281,8 +2327,8 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
2281
2327
  });
2282
2328
  }
2283
2329
 
2284
- const VERSION$q = "1941c0559a1eafb8d429d1f9d139b28f";
2285
- function validate$u(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
2330
+ const VERSION$q = "6c8d910667cf399d3aa6e5a57e1fdd61";
2331
+ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
2286
2332
  const v_error = (() => {
2287
2333
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2288
2334
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2306,6 +2352,13 @@ function validate$u(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2306
2352
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
2307
2353
  }
2308
2354
  }
2355
+ if (obj.cacheKey !== undefined) {
2356
+ const obj_cacheKey = obj.cacheKey;
2357
+ const path_cacheKey = path + '.cacheKey';
2358
+ if (typeof obj_cacheKey !== 'string') {
2359
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
2360
+ }
2361
+ }
2309
2362
  const obj_createdBy = obj.createdBy;
2310
2363
  const path_createdBy = path + '.createdBy';
2311
2364
  if (typeof obj_createdBy !== 'string') {
@@ -2374,7 +2427,7 @@ function validate$u(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2374
2427
  for (let i = 0; i < obj_filters.length; i++) {
2375
2428
  const obj_filters_item = obj_filters[i];
2376
2429
  const path_filters_item = path_filters + '[' + i + ']';
2377
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
2430
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
2378
2431
  if (referencepath_filters_itemValidationError !== null) {
2379
2432
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
2380
2433
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2429,6 +2482,13 @@ function validate$u(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2429
2482
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
2430
2483
  }
2431
2484
  }
2485
+ if (obj.sentiment !== undefined) {
2486
+ const obj_sentiment = obj.sentiment;
2487
+ const path_sentiment = path + '.sentiment';
2488
+ if (typeof obj_sentiment !== 'string') {
2489
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
2490
+ }
2491
+ }
2432
2492
  if (obj.shouldTreatNullsAsZeros !== undefined) {
2433
2493
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
2434
2494
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -2494,6 +2554,11 @@ const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelec
2494
2554
  kind: 'Scalar',
2495
2555
  required: false
2496
2556
  },
2557
+ {
2558
+ name: 'cacheKey',
2559
+ kind: 'Scalar',
2560
+ required: false
2561
+ },
2497
2562
  {
2498
2563
  name: 'createdBy',
2499
2564
  kind: 'Scalar'
@@ -2578,6 +2643,11 @@ const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelec
2578
2643
  kind: 'Scalar',
2579
2644
  required: false
2580
2645
  },
2646
+ {
2647
+ name: 'sentiment',
2648
+ kind: 'Scalar',
2649
+ required: false
2650
+ },
2581
2651
  {
2582
2652
  name: 'shouldTreatNullsAsZeros',
2583
2653
  kind: 'Scalar',
@@ -2685,6 +2755,19 @@ function equals$q(existing, incoming) {
2685
2755
  return false;
2686
2756
  }
2687
2757
  }
2758
+ const existing_cacheKey = existing.cacheKey;
2759
+ const incoming_cacheKey = incoming.cacheKey;
2760
+ // if at least one of these optionals is defined
2761
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
2762
+ // if one of these is not defined we know the other is defined and therefore
2763
+ // not equal
2764
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
2765
+ return false;
2766
+ }
2767
+ if (!(existing_cacheKey === incoming_cacheKey)) {
2768
+ return false;
2769
+ }
2770
+ }
2688
2771
  const existing_createdBy = existing.createdBy;
2689
2772
  const incoming_createdBy = incoming.createdBy;
2690
2773
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -2830,6 +2913,19 @@ function equals$q(existing, incoming) {
2830
2913
  return false;
2831
2914
  }
2832
2915
  }
2916
+ const existing_sentiment = existing.sentiment;
2917
+ const incoming_sentiment = incoming.sentiment;
2918
+ // if at least one of these optionals is defined
2919
+ if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
2920
+ // if one of these is not defined we know the other is defined and therefore
2921
+ // not equal
2922
+ if (existing_sentiment === undefined || incoming_sentiment === undefined) {
2923
+ return false;
2924
+ }
2925
+ if (!(existing_sentiment === incoming_sentiment)) {
2926
+ return false;
2927
+ }
2928
+ }
2833
2929
  const existing_sortOrder = existing.sortOrder;
2834
2930
  const incoming_sortOrder = incoming.sortOrder;
2835
2931
  // if at least one of these optionals is defined
@@ -2891,7 +2987,7 @@ function equals$q(existing, incoming) {
2891
2987
  }
2892
2988
  const ingest$f = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2893
2989
  if (process.env.NODE_ENV !== 'production') {
2894
- const validateError = validate$u(input);
2990
+ const validateError = validate$A(input);
2895
2991
  if (validateError !== null) {
2896
2992
  throw validateError;
2897
2993
  }
@@ -2911,7 +3007,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
2911
3007
  });
2912
3008
  }
2913
3009
 
2914
- function validate$t(obj, path = 'SemanticDimensionOutputRepresentation') {
3010
+ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
2915
3011
  const v_error = (() => {
2916
3012
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2917
3013
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2928,6 +3024,13 @@ function validate$t(obj, path = 'SemanticDimensionOutputRepresentation') {
2928
3024
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
2929
3025
  }
2930
3026
  }
3027
+ if (obj.cacheKey !== undefined) {
3028
+ const obj_cacheKey = obj.cacheKey;
3029
+ const path_cacheKey = path + '.cacheKey';
3030
+ if (typeof obj_cacheKey !== 'string') {
3031
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
3032
+ }
3033
+ }
2931
3034
  const obj_createdBy = obj.createdBy;
2932
3035
  const path_createdBy = path + '.createdBy';
2933
3036
  if (typeof obj_createdBy !== 'string') {
@@ -2978,6 +3081,20 @@ function validate$t(obj, path = 'SemanticDimensionOutputRepresentation') {
2978
3081
  if (typeof obj_id !== 'string') {
2979
3082
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
2980
3083
  }
3084
+ if (obj.isKeyQualifier !== undefined) {
3085
+ const obj_isKeyQualifier = obj.isKeyQualifier;
3086
+ const path_isKeyQualifier = path + '.isKeyQualifier';
3087
+ if (typeof obj_isKeyQualifier !== 'boolean') {
3088
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
3089
+ }
3090
+ }
3091
+ if (obj.isPrimaryKey !== undefined) {
3092
+ const obj_isPrimaryKey = obj.isPrimaryKey;
3093
+ const path_isPrimaryKey = path + '.isPrimaryKey';
3094
+ if (typeof obj_isPrimaryKey !== 'boolean') {
3095
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
3096
+ }
3097
+ }
2981
3098
  if (obj.isVisible !== undefined) {
2982
3099
  const obj_isVisible = obj.isVisible;
2983
3100
  const path_isVisible = path + '.isVisible';
@@ -2985,6 +3102,13 @@ function validate$t(obj, path = 'SemanticDimensionOutputRepresentation') {
2985
3102
  return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
2986
3103
  }
2987
3104
  }
3105
+ if (obj.keyQualifierName !== undefined) {
3106
+ const obj_keyQualifierName = obj.keyQualifierName;
3107
+ const path_keyQualifierName = path + '.keyQualifierName';
3108
+ if (typeof obj_keyQualifierName !== 'string') {
3109
+ return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
3110
+ }
3111
+ }
2988
3112
  if (obj.label !== undefined) {
2989
3113
  const obj_label = obj.label;
2990
3114
  const path_label = path + '.label';
@@ -3024,7 +3148,7 @@ function validate$t(obj, path = 'SemanticDimensionOutputRepresentation') {
3024
3148
  return v_error === undefined ? null : v_error;
3025
3149
  }
3026
3150
 
3027
- function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3151
+ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
3028
3152
  const v_error = (() => {
3029
3153
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3030
3154
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3048,6 +3172,13 @@ function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3048
3172
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
3049
3173
  }
3050
3174
  }
3175
+ if (obj.cacheKey !== undefined) {
3176
+ const obj_cacheKey = obj.cacheKey;
3177
+ const path_cacheKey = path + '.cacheKey';
3178
+ if (typeof obj_cacheKey !== 'string') {
3179
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
3180
+ }
3181
+ }
3051
3182
  const obj_createdBy = obj.createdBy;
3052
3183
  const path_createdBy = path + '.createdBy';
3053
3184
  if (typeof obj_createdBy !== 'string') {
@@ -3112,6 +3243,20 @@ function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3112
3243
  return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
3113
3244
  }
3114
3245
  }
3246
+ if (obj.isKeyQualifier !== undefined) {
3247
+ const obj_isKeyQualifier = obj.isKeyQualifier;
3248
+ const path_isKeyQualifier = path + '.isKeyQualifier';
3249
+ if (typeof obj_isKeyQualifier !== 'boolean') {
3250
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
3251
+ }
3252
+ }
3253
+ if (obj.isPrimaryKey !== undefined) {
3254
+ const obj_isPrimaryKey = obj.isPrimaryKey;
3255
+ const path_isPrimaryKey = path + '.isPrimaryKey';
3256
+ if (typeof obj_isPrimaryKey !== 'boolean') {
3257
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
3258
+ }
3259
+ }
3115
3260
  if (obj.isVisible !== undefined) {
3116
3261
  const obj_isVisible = obj.isVisible;
3117
3262
  const path_isVisible = path + '.isVisible';
@@ -3119,6 +3264,13 @@ function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3119
3264
  return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
3120
3265
  }
3121
3266
  }
3267
+ if (obj.keyQualifierName !== undefined) {
3268
+ const obj_keyQualifierName = obj.keyQualifierName;
3269
+ const path_keyQualifierName = path + '.keyQualifierName';
3270
+ if (typeof obj_keyQualifierName !== 'string') {
3271
+ return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
3272
+ }
3273
+ }
3122
3274
  if (obj.label !== undefined) {
3123
3275
  const obj_label = obj.label;
3124
3276
  const path_label = path + '.label';
@@ -3147,6 +3299,13 @@ function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3147
3299
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
3148
3300
  }
3149
3301
  }
3302
+ if (obj.sentiment !== undefined) {
3303
+ const obj_sentiment = obj.sentiment;
3304
+ const path_sentiment = path + '.sentiment';
3305
+ if (typeof obj_sentiment !== 'string') {
3306
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
3307
+ }
3308
+ }
3150
3309
  if (obj.shouldTreatNullsAsZeros !== undefined) {
3151
3310
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
3152
3311
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -3165,8 +3324,8 @@ function validate$s(obj, path = 'SemanticMeasurementOutputRepresentation') {
3165
3324
  return v_error === undefined ? null : v_error;
3166
3325
  }
3167
3326
 
3168
- const VERSION$p = "1dea062ab9ae6d8661840da6e8db32f5";
3169
- function validate$r(obj, path = 'SemanticDataObjectOutputRepresentation') {
3327
+ const VERSION$p = "4f111b93807b811179eb310384efdc35";
3328
+ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3170
3329
  const v_error = (() => {
3171
3330
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3172
3331
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3183,6 +3342,13 @@ function validate$r(obj, path = 'SemanticDataObjectOutputRepresentation') {
3183
3342
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
3184
3343
  }
3185
3344
  }
3345
+ if (obj.cacheKey !== undefined) {
3346
+ const obj_cacheKey = obj.cacheKey;
3347
+ const path_cacheKey = path + '.cacheKey';
3348
+ if (typeof obj_cacheKey !== 'string') {
3349
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
3350
+ }
3351
+ }
3186
3352
  const obj_createdBy = obj.createdBy;
3187
3353
  const path_createdBy = path + '.createdBy';
3188
3354
  if (typeof obj_createdBy !== 'string') {
@@ -3230,7 +3396,7 @@ function validate$r(obj, path = 'SemanticDataObjectOutputRepresentation') {
3230
3396
  for (let i = 0; i < obj_filters.length; i++) {
3231
3397
  const obj_filters_item = obj_filters[i];
3232
3398
  const path_filters_item = path_filters + '[' + i + ']';
3233
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
3399
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
3234
3400
  if (referencepath_filters_itemValidationError !== null) {
3235
3401
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
3236
3402
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3280,7 +3446,7 @@ function validate$r(obj, path = 'SemanticDataObjectOutputRepresentation') {
3280
3446
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
3281
3447
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
3282
3448
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
3283
- const referencepath_semanticDimensions_itemValidationError = validate$t(obj_semanticDimensions_item, path_semanticDimensions_item);
3449
+ const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
3284
3450
  if (referencepath_semanticDimensions_itemValidationError !== null) {
3285
3451
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
3286
3452
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3304,7 +3470,7 @@ function validate$r(obj, path = 'SemanticDataObjectOutputRepresentation') {
3304
3470
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
3305
3471
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
3306
3472
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
3307
- const referencepath_semanticMeasurements_itemValidationError = validate$s(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3473
+ const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3308
3474
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
3309
3475
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
3310
3476
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3358,7 +3524,7 @@ function equals$p(existing, incoming) {
3358
3524
  }
3359
3525
  const ingest$e = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3360
3526
  if (process.env.NODE_ENV !== 'production') {
3361
- const validateError = validate$r(input);
3527
+ const validateError = validate$x(input);
3362
3528
  if (validateError !== null) {
3363
3529
  throw validateError;
3364
3530
  }
@@ -3379,7 +3545,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
3379
3545
  }
3380
3546
 
3381
3547
  const VERSION$o = "ed64ca1a99171ace8b53aff11746cc2a";
3382
- function validate$q(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
3548
+ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
3383
3549
  const v_error = (() => {
3384
3550
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3385
3551
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3411,7 +3577,7 @@ function equals$o(existing, incoming) {
3411
3577
  }
3412
3578
 
3413
3579
  const VERSION$n = "2cdadcd630abb7b981b2d131880a68c0";
3414
- function validate$p(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3580
+ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3415
3581
  const v_error = (() => {
3416
3582
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3417
3583
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3485,7 +3651,7 @@ function equals$n(existing, incoming) {
3485
3651
  }
3486
3652
 
3487
3653
  const VERSION$m = "55c60b6207985632192cb4e419822a86";
3488
- function validate$o(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
3654
+ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
3489
3655
  const v_error = (() => {
3490
3656
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3491
3657
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3499,7 +3665,7 @@ function validate$o(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3499
3665
  for (let i = 0; i < obj_groups.length; i++) {
3500
3666
  const obj_groups_item = obj_groups[i];
3501
3667
  const path_groups_item = path_groups + '[' + i + ']';
3502
- const referencepath_groups_itemValidationError = validate$p(obj_groups_item, path_groups_item);
3668
+ const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
3503
3669
  if (referencepath_groups_itemValidationError !== null) {
3504
3670
  let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
3505
3671
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3575,7 +3741,7 @@ function equals$m(existing, incoming) {
3575
3741
  }
3576
3742
 
3577
3743
  const VERSION$l = "50dc390b159159afb1945b9a811c9f80";
3578
- function validate$n(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3744
+ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3579
3745
  const v_error = (() => {
3580
3746
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3581
3747
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3583,7 +3749,7 @@ function validate$n(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3583
3749
  if (obj.binDimension !== undefined) {
3584
3750
  const obj_binDimension = obj.binDimension;
3585
3751
  const path_binDimension = path + '.binDimension';
3586
- const referencepath_binDimensionValidationError = validate$q(obj_binDimension, path_binDimension);
3752
+ const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
3587
3753
  if (referencepath_binDimensionValidationError !== null) {
3588
3754
  let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
3589
3755
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3593,7 +3759,7 @@ function validate$n(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3593
3759
  if (obj.groupDimension !== undefined) {
3594
3760
  const obj_groupDimension = obj.groupDimension;
3595
3761
  const path_groupDimension = path + '.groupDimension';
3596
- const referencepath_groupDimensionValidationError = validate$o(obj_groupDimension, path_groupDimension);
3762
+ const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
3597
3763
  if (referencepath_groupDimensionValidationError !== null) {
3598
3764
  let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
3599
3765
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3657,7 +3823,7 @@ function equals$l(existing, incoming) {
3657
3823
  }
3658
3824
 
3659
3825
  const VERSION$k = "a2976cd68e629a917463a3b690cf2527";
3660
- function validate$m(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3826
+ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3661
3827
  const v_error = (() => {
3662
3828
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3663
3829
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3729,7 +3895,7 @@ function equals$k(existing, incoming) {
3729
3895
  }
3730
3896
 
3731
3897
  const VERSION$j = "f49a2cbbe308f6f74cda3e2144fa66cd";
3732
- function validate$l(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3898
+ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3733
3899
  const v_error = (() => {
3734
3900
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3735
3901
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3744,7 +3910,7 @@ function validate$l(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3744
3910
  if (obj.tableFieldReference !== undefined) {
3745
3911
  const obj_tableFieldReference = obj.tableFieldReference;
3746
3912
  const path_tableFieldReference = path + '.tableFieldReference';
3747
- const referencepath_tableFieldReferenceValidationError = validate$m(obj_tableFieldReference, path_tableFieldReference);
3913
+ const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
3748
3914
  if (referencepath_tableFieldReferenceValidationError !== null) {
3749
3915
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
3750
3916
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3805,8 +3971,8 @@ function equals$j(existing, incoming) {
3805
3971
  return true;
3806
3972
  }
3807
3973
 
3808
- const VERSION$i = "79ff229f45e15671c1db4ce569f7bc8c";
3809
- function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
3974
+ const VERSION$i = "1daec40706bf767c719fa58831fad462";
3975
+ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
3810
3976
  const v_error = (() => {
3811
3977
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3812
3978
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3823,9 +3989,16 @@ function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
3823
3989
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
3824
3990
  }
3825
3991
  }
3992
+ if (obj.cacheKey !== undefined) {
3993
+ const obj_cacheKey = obj.cacheKey;
3994
+ const path_cacheKey = path + '.cacheKey';
3995
+ if (typeof obj_cacheKey !== 'string') {
3996
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
3997
+ }
3998
+ }
3826
3999
  const obj_configuration = obj.configuration;
3827
4000
  const path_configuration = path + '.configuration';
3828
- const referencepath_configurationValidationError = validate$n(obj_configuration, path_configuration);
4001
+ const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
3829
4002
  if (referencepath_configurationValidationError !== null) {
3830
4003
  let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
3831
4004
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3850,7 +4023,7 @@ function validate$k(obj, path = 'SemanticGroupingOutputRepresentation') {
3850
4023
  }
3851
4024
  const obj_fieldReference = obj.fieldReference;
3852
4025
  const path_fieldReference = path + '.fieldReference';
3853
- const referencepath_fieldReferenceValidationError = validate$l(obj_fieldReference, path_fieldReference);
4026
+ const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
3854
4027
  if (referencepath_fieldReferenceValidationError !== null) {
3855
4028
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
3856
4029
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3920,6 +4093,11 @@ const select$u = function SemanticGroupingOutputRepresentationSelect() {
3920
4093
  kind: 'Scalar',
3921
4094
  required: false
3922
4095
  },
4096
+ {
4097
+ name: 'cacheKey',
4098
+ kind: 'Scalar',
4099
+ required: false
4100
+ },
3923
4101
  {
3924
4102
  name: 'configuration',
3925
4103
  kind: 'Object',
@@ -3988,6 +4166,19 @@ function equals$i(existing, incoming) {
3988
4166
  return false;
3989
4167
  }
3990
4168
  }
4169
+ const existing_cacheKey = existing.cacheKey;
4170
+ const incoming_cacheKey = incoming.cacheKey;
4171
+ // if at least one of these optionals is defined
4172
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
4173
+ // if one of these is not defined we know the other is defined and therefore
4174
+ // not equal
4175
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
4176
+ return false;
4177
+ }
4178
+ if (!(existing_cacheKey === incoming_cacheKey)) {
4179
+ return false;
4180
+ }
4181
+ }
3991
4182
  const existing_createdBy = existing.createdBy;
3992
4183
  const incoming_createdBy = incoming.createdBy;
3993
4184
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -4074,7 +4265,7 @@ function equals$i(existing, incoming) {
4074
4265
  }
4075
4266
  const ingest$d = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4076
4267
  if (process.env.NODE_ENV !== 'production') {
4077
- const validateError = validate$k(input);
4268
+ const validateError = validate$q(input);
4078
4269
  if (validateError !== null) {
4079
4270
  throw validateError;
4080
4271
  }
@@ -4095,7 +4286,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
4095
4286
  }
4096
4287
 
4097
4288
  const VERSION$h = "c5144c317ac72b60d580cab803514b8d";
4098
- function validate$j(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4289
+ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4099
4290
  const v_error = (() => {
4100
4291
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4101
4292
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4241,8 +4432,8 @@ function equals$h(existing, incoming) {
4241
4432
  return true;
4242
4433
  }
4243
4434
 
4244
- const VERSION$g = "126676ee704fc98f17b1aa33fb3ec5e3";
4245
- function validate$i(obj, path = 'SemanticRelationshipOutputRepresentation') {
4435
+ const VERSION$g = "b9778dace5726fcb57804d3afd529246";
4436
+ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4246
4437
  const v_error = (() => {
4247
4438
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4248
4439
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4259,6 +4450,13 @@ function validate$i(obj, path = 'SemanticRelationshipOutputRepresentation') {
4259
4450
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4260
4451
  }
4261
4452
  }
4453
+ if (obj.cacheKey !== undefined) {
4454
+ const obj_cacheKey = obj.cacheKey;
4455
+ const path_cacheKey = path + '.cacheKey';
4456
+ if (typeof obj_cacheKey !== 'string') {
4457
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
4458
+ }
4459
+ }
4262
4460
  if (obj.cardinality !== undefined) {
4263
4461
  const obj_cardinality = obj.cardinality;
4264
4462
  const path_cardinality = path + '.cardinality';
@@ -4285,7 +4483,7 @@ function validate$i(obj, path = 'SemanticRelationshipOutputRepresentation') {
4285
4483
  for (let i = 0; i < obj_criteria.length; i++) {
4286
4484
  const obj_criteria_item = obj_criteria[i];
4287
4485
  const path_criteria_item = path_criteria + '[' + i + ']';
4288
- const referencepath_criteria_itemValidationError = validate$j(obj_criteria_item, path_criteria_item);
4486
+ const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
4289
4487
  if (referencepath_criteria_itemValidationError !== null) {
4290
4488
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
4291
4489
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4393,6 +4591,11 @@ const select$s = function SemanticRelationshipOutputRepresentationSelect() {
4393
4591
  kind: 'Scalar',
4394
4592
  required: false
4395
4593
  },
4594
+ {
4595
+ name: 'cacheKey',
4596
+ kind: 'Scalar',
4597
+ required: false
4598
+ },
4396
4599
  {
4397
4600
  name: 'cardinality',
4398
4601
  kind: 'Scalar',
@@ -4497,6 +4700,19 @@ function equals$g(existing, incoming) {
4497
4700
  return false;
4498
4701
  }
4499
4702
  }
4703
+ const existing_cacheKey = existing.cacheKey;
4704
+ const incoming_cacheKey = incoming.cacheKey;
4705
+ // if at least one of these optionals is defined
4706
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
4707
+ // if one of these is not defined we know the other is defined and therefore
4708
+ // not equal
4709
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
4710
+ return false;
4711
+ }
4712
+ if (!(existing_cacheKey === incoming_cacheKey)) {
4713
+ return false;
4714
+ }
4715
+ }
4500
4716
  const existing_cardinality = existing.cardinality;
4501
4717
  const incoming_cardinality = incoming.cardinality;
4502
4718
  // if at least one of these optionals is defined
@@ -4651,7 +4867,7 @@ function equals$g(existing, incoming) {
4651
4867
  }
4652
4868
  const ingest$c = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4653
4869
  if (process.env.NODE_ENV !== 'production') {
4654
- const validateError = validate$i(input);
4870
+ const validateError = validate$o(input);
4655
4871
  if (validateError !== null) {
4656
4872
  throw validateError;
4657
4873
  }
@@ -4671,8 +4887,8 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
4671
4887
  });
4672
4888
  }
4673
4889
 
4674
- const VERSION$f = "bc4b5bb87acebe62d6fb1a20acda10bb";
4675
- function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4890
+ const VERSION$f = "eaf9b57a92e764fb2b5c27b6e031cfe1";
4891
+ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4676
4892
  const v_error = (() => {
4677
4893
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4678
4894
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4689,6 +4905,13 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4689
4905
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4690
4906
  }
4691
4907
  }
4908
+ if (obj.cacheKey !== undefined) {
4909
+ const obj_cacheKey = obj.cacheKey;
4910
+ const path_cacheKey = path + '.cacheKey';
4911
+ if (typeof obj_cacheKey !== 'string') {
4912
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
4913
+ }
4914
+ }
4692
4915
  const obj_createdBy = obj.createdBy;
4693
4916
  const path_createdBy = path + '.createdBy';
4694
4917
  if (typeof obj_createdBy !== 'string') {
@@ -4715,7 +4938,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4715
4938
  for (let i = 0; i < obj_fields.length; i++) {
4716
4939
  const obj_fields_item = obj_fields[i];
4717
4940
  const path_fields_item = path_fields + '[' + i + ']';
4718
- const referencepath_fields_itemValidationError = validate$m(obj_fields_item, path_fields_item);
4941
+ const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
4719
4942
  if (referencepath_fields_itemValidationError !== null) {
4720
4943
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
4721
4944
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4759,7 +4982,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4759
4982
  if (obj.semanticDimension !== undefined) {
4760
4983
  const obj_semanticDimension = obj.semanticDimension;
4761
4984
  const path_semanticDimension = path + '.semanticDimension';
4762
- const referencepath_semanticDimensionValidationError = validate$t(obj_semanticDimension, path_semanticDimension);
4985
+ const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
4763
4986
  if (referencepath_semanticDimensionValidationError !== null) {
4764
4987
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
4765
4988
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4769,7 +4992,7 @@ function validate$h(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4769
4992
  if (obj.semanticMeasurement !== undefined) {
4770
4993
  const obj_semanticMeasurement = obj.semanticMeasurement;
4771
4994
  const path_semanticMeasurement = path + '.semanticMeasurement';
4772
- const referencepath_semanticMeasurementValidationError = validate$s(obj_semanticMeasurement, path_semanticMeasurement);
4995
+ const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
4773
4996
  if (referencepath_semanticMeasurementValidationError !== null) {
4774
4997
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
4775
4998
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4808,7 +5031,7 @@ function equals$f(existing, incoming) {
4808
5031
  }
4809
5032
  const ingest$b = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4810
5033
  if (process.env.NODE_ENV !== 'production') {
4811
- const validateError = validate$h(input);
5034
+ const validateError = validate$n(input);
4812
5035
  if (validateError !== null) {
4813
5036
  throw validateError;
4814
5037
  }
@@ -4828,8 +5051,8 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
4828
5051
  });
4829
5052
  }
4830
5053
 
4831
- const VERSION$e = "405ff251703b1f5480363199ebeaf8a9";
4832
- function validate$g(obj, path = 'SemanticUnionOutputRepresentation') {
5054
+ const VERSION$e = "69fe23112140e9fae50135dcb15c24c2";
5055
+ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
4833
5056
  const v_error = (() => {
4834
5057
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4835
5058
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4846,6 +5069,13 @@ function validate$g(obj, path = 'SemanticUnionOutputRepresentation') {
4846
5069
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4847
5070
  }
4848
5071
  }
5072
+ if (obj.cacheKey !== undefined) {
5073
+ const obj_cacheKey = obj.cacheKey;
5074
+ const path_cacheKey = path + '.cacheKey';
5075
+ if (typeof obj_cacheKey !== 'string') {
5076
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
5077
+ }
5078
+ }
4849
5079
  const obj_createdBy = obj.createdBy;
4850
5080
  const path_createdBy = path + '.createdBy';
4851
5081
  if (typeof obj_createdBy !== 'string') {
@@ -5012,6 +5242,11 @@ const select$q = function SemanticUnionOutputRepresentationSelect() {
5012
5242
  kind: 'Scalar',
5013
5243
  required: false
5014
5244
  },
5245
+ {
5246
+ name: 'cacheKey',
5247
+ kind: 'Scalar',
5248
+ required: false
5249
+ },
5015
5250
  {
5016
5251
  name: 'createdBy',
5017
5252
  kind: 'Scalar'
@@ -5085,6 +5320,19 @@ function equals$e(existing, incoming) {
5085
5320
  return false;
5086
5321
  }
5087
5322
  }
5323
+ const existing_cacheKey = existing.cacheKey;
5324
+ const incoming_cacheKey = incoming.cacheKey;
5325
+ // if at least one of these optionals is defined
5326
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
5327
+ // if one of these is not defined we know the other is defined and therefore
5328
+ // not equal
5329
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
5330
+ return false;
5331
+ }
5332
+ if (!(existing_cacheKey === incoming_cacheKey)) {
5333
+ return false;
5334
+ }
5335
+ }
5088
5336
  const existing_createdBy = existing.createdBy;
5089
5337
  const incoming_createdBy = incoming.createdBy;
5090
5338
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -5205,7 +5453,7 @@ function equals$e(existing, incoming) {
5205
5453
  }
5206
5454
  const ingest$a = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5207
5455
  if (process.env.NODE_ENV !== 'production') {
5208
- const validateError = validate$g(input);
5456
+ const validateError = validate$m(input);
5209
5457
  if (validateError !== null) {
5210
5458
  throw validateError;
5211
5459
  }
@@ -5237,8 +5485,8 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
5237
5485
  }
5238
5486
  }
5239
5487
 
5240
- const VERSION$d = "9273b6e07a8a8da6ead5ed811f877bdc";
5241
- function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5488
+ const VERSION$d = "281e0163ea1fc7d956974394f5310216";
5489
+ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5242
5490
  const v_error = (() => {
5243
5491
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5244
5492
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5255,6 +5503,13 @@ function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5255
5503
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
5256
5504
  }
5257
5505
  }
5506
+ if (obj.cacheKey !== undefined) {
5507
+ const obj_cacheKey = obj.cacheKey;
5508
+ const path_cacheKey = path + '.cacheKey';
5509
+ if (typeof obj_cacheKey !== 'string') {
5510
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
5511
+ }
5512
+ }
5258
5513
  const obj_createdBy = obj.createdBy;
5259
5514
  const path_createdBy = path + '.createdBy';
5260
5515
  if (typeof obj_createdBy !== 'string') {
@@ -5265,6 +5520,13 @@ function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5265
5520
  if (typeof obj_createdDate !== 'string') {
5266
5521
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
5267
5522
  }
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
+ }
5268
5530
  if (obj.description !== undefined) {
5269
5531
  const obj_description = obj.description;
5270
5532
  const path_description = path + '.description';
@@ -5288,7 +5550,7 @@ function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5288
5550
  for (let i = 0; i < obj_filters.length; i++) {
5289
5551
  const obj_filters_item = obj_filters[i];
5290
5552
  const path_filters_item = path_filters + '[' + i + ']';
5291
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
5553
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
5292
5554
  if (referencepath_filters_itemValidationError !== null) {
5293
5555
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5294
5556
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5364,6 +5626,13 @@ function validate$f(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5364
5626
  }
5365
5627
  }
5366
5628
  }
5629
+ if (obj.semanticViewTypeEnum !== undefined) {
5630
+ const obj_semanticViewTypeEnum = obj.semanticViewTypeEnum;
5631
+ const path_semanticViewTypeEnum = path + '.semanticViewTypeEnum';
5632
+ if (typeof obj_semanticViewTypeEnum !== 'string') {
5633
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
5634
+ }
5635
+ }
5367
5636
  })();
5368
5637
  return v_error === undefined ? null : v_error;
5369
5638
  }
@@ -5450,6 +5719,11 @@ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5450
5719
  kind: 'Scalar',
5451
5720
  required: false
5452
5721
  },
5722
+ {
5723
+ name: 'cacheKey',
5724
+ kind: 'Scalar',
5725
+ required: false
5726
+ },
5453
5727
  {
5454
5728
  name: 'createdBy',
5455
5729
  kind: 'Scalar'
@@ -5458,6 +5732,11 @@ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5458
5732
  name: 'createdDate',
5459
5733
  kind: 'Scalar'
5460
5734
  },
5735
+ {
5736
+ name: 'customSql',
5737
+ kind: 'Scalar',
5738
+ required: false
5739
+ },
5461
5740
  {
5462
5741
  name: 'description',
5463
5742
  kind: 'Scalar',
@@ -5514,6 +5793,11 @@ const select$p = function SemanticLogicalViewOutputRepresentationSelect() {
5514
5793
  plural: true,
5515
5794
  required: false,
5516
5795
  fragment: select$q()
5796
+ },
5797
+ {
5798
+ name: 'semanticViewTypeEnum',
5799
+ kind: 'Scalar',
5800
+ required: false
5517
5801
  }
5518
5802
  ]
5519
5803
  };
@@ -5537,6 +5821,19 @@ function equals$d(existing, incoming) {
5537
5821
  return false;
5538
5822
  }
5539
5823
  }
5824
+ const existing_cacheKey = existing.cacheKey;
5825
+ const incoming_cacheKey = incoming.cacheKey;
5826
+ // if at least one of these optionals is defined
5827
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
5828
+ // if one of these is not defined we know the other is defined and therefore
5829
+ // not equal
5830
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
5831
+ return false;
5832
+ }
5833
+ if (!(existing_cacheKey === incoming_cacheKey)) {
5834
+ return false;
5835
+ }
5836
+ }
5540
5837
  const existing_createdBy = existing.createdBy;
5541
5838
  const incoming_createdBy = incoming.createdBy;
5542
5839
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -5547,6 +5844,19 @@ function equals$d(existing, incoming) {
5547
5844
  if (!(existing_createdDate === incoming_createdDate)) {
5548
5845
  return false;
5549
5846
  }
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
+ }
5550
5860
  const existing_description = existing.description;
5551
5861
  const incoming_description = incoming.description;
5552
5862
  // if at least one of these optionals is defined
@@ -5617,6 +5927,19 @@ function equals$d(existing, incoming) {
5617
5927
  return false;
5618
5928
  }
5619
5929
  }
5930
+ const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
5931
+ const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
5932
+ // if at least one of these optionals is defined
5933
+ if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
5934
+ // if one of these is not defined we know the other is defined and therefore
5935
+ // not equal
5936
+ if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
5937
+ return false;
5938
+ }
5939
+ if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
5940
+ return false;
5941
+ }
5942
+ }
5620
5943
  const existing_filters = existing.filters;
5621
5944
  const incoming_filters = incoming.filters;
5622
5945
  // if at least one of these optionals is defined
@@ -5693,7 +6016,7 @@ function equals$d(existing, incoming) {
5693
6016
  }
5694
6017
  const ingest$9 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5695
6018
  if (process.env.NODE_ENV !== 'production') {
5696
- const validateError = validate$f(input);
6019
+ const validateError = validate$l(input);
5697
6020
  if (validateError !== null) {
5698
6021
  throw validateError;
5699
6022
  }
@@ -5732,7 +6055,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
5732
6055
  }
5733
6056
 
5734
6057
  const VERSION$c = "a50848c632bb205d5e910bb726d9219e";
5735
- function validate$e(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6058
+ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
5736
6059
  const v_error = (() => {
5737
6060
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5738
6061
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5740,7 +6063,7 @@ function validate$e(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
5740
6063
  if (obj.identifierDimensionReference !== undefined) {
5741
6064
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
5742
6065
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
5743
- const referencepath_identifierDimensionReferenceValidationError = validate$l(obj_identifierDimensionReference, path_identifierDimensionReference);
6066
+ const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
5744
6067
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
5745
6068
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
5746
6069
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5750,7 +6073,7 @@ function validate$e(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
5750
6073
  if (obj.namingDimensionReference !== undefined) {
5751
6074
  const obj_namingDimensionReference = obj.namingDimensionReference;
5752
6075
  const path_namingDimensionReference = path + '.namingDimensionReference';
5753
- const referencepath_namingDimensionReferenceValidationError = validate$l(obj_namingDimensionReference, path_namingDimensionReference);
6076
+ const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
5754
6077
  if (referencepath_namingDimensionReferenceValidationError !== null) {
5755
6078
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
5756
6079
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5813,7 +6136,7 @@ function equals$c(existing, incoming) {
5813
6136
  }
5814
6137
 
5815
6138
  const VERSION$b = "1b8cf2283d5d5c480459506274f0604c";
5816
- function validate$d(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6139
+ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
5817
6140
  const v_error = (() => {
5818
6141
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5819
6142
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5885,7 +6208,7 @@ function equals$b(existing, incoming) {
5885
6208
  }
5886
6209
 
5887
6210
  const VERSION$a = "a3f5972287be7bcf9ca205af56046a58";
5888
- function validate$c(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6211
+ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
5889
6212
  const v_error = (() => {
5890
6213
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5891
6214
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5893,7 +6216,7 @@ function validate$c(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5893
6216
  if (obj.identifyingDimension !== undefined) {
5894
6217
  const obj_identifyingDimension = obj.identifyingDimension;
5895
6218
  const path_identifyingDimension = path + '.identifyingDimension';
5896
- const referencepath_identifyingDimensionValidationError = validate$e(obj_identifyingDimension, path_identifyingDimension);
6219
+ const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
5897
6220
  if (referencepath_identifyingDimensionValidationError !== null) {
5898
6221
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
5899
6222
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5909,7 +6232,7 @@ function validate$c(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5909
6232
  for (let i = 0; i < obj_insightTypes.length; i++) {
5910
6233
  const obj_insightTypes_item = obj_insightTypes[i];
5911
6234
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
5912
- const referencepath_insightTypes_itemValidationError = validate$d(obj_insightTypes_item, path_insightTypes_item);
6235
+ const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
5913
6236
  if (referencepath_insightTypes_itemValidationError !== null) {
5914
6237
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
5915
6238
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5926,7 +6249,7 @@ function validate$c(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5926
6249
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
5927
6250
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
5928
6251
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
5929
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$l(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
6252
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
5930
6253
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
5931
6254
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
5932
6255
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6097,8 +6420,8 @@ function equals$a(existing, incoming) {
6097
6420
  return true;
6098
6421
  }
6099
6422
 
6100
- const VERSION$9 = "bcf7c34e0e00709df1ab9a451ea9b05c";
6101
- function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6423
+ const VERSION$9 = "0873ccd85b32d14c753931243d20ac8b";
6424
+ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6102
6425
  const v_error = (() => {
6103
6426
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6104
6427
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6112,7 +6435,7 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6112
6435
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
6113
6436
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
6114
6437
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
6115
- const referencepath_additionalDimensions_itemValidationError = validate$l(obj_additionalDimensions_item, path_additionalDimensions_item);
6438
+ const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
6116
6439
  if (referencepath_additionalDimensions_itemValidationError !== null) {
6117
6440
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
6118
6441
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6139,6 +6462,13 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6139
6462
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
6140
6463
  }
6141
6464
  }
6465
+ if (obj.cacheKey !== undefined) {
6466
+ const obj_cacheKey = obj.cacheKey;
6467
+ const path_cacheKey = path + '.cacheKey';
6468
+ if (typeof obj_cacheKey !== 'string') {
6469
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
6470
+ }
6471
+ }
6142
6472
  const obj_createdBy = obj.createdBy;
6143
6473
  const path_createdBy = path + '.createdBy';
6144
6474
  if (typeof obj_createdBy !== 'string') {
@@ -6172,7 +6502,7 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6172
6502
  for (let i = 0; i < obj_filters.length; i++) {
6173
6503
  const obj_filters_item = obj_filters[i];
6174
6504
  const path_filters_item = path_filters + '[' + i + ']';
6175
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
6505
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
6176
6506
  if (referencepath_filters_itemValidationError !== null) {
6177
6507
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
6178
6508
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6188,7 +6518,7 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6188
6518
  if (obj.insightsSettings !== undefined) {
6189
6519
  const obj_insightsSettings = obj.insightsSettings;
6190
6520
  const path_insightsSettings = path + '.insightsSettings';
6191
- const referencepath_insightsSettingsValidationError = validate$c(obj_insightsSettings, path_insightsSettings);
6521
+ const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
6192
6522
  if (referencepath_insightsSettingsValidationError !== null) {
6193
6523
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
6194
6524
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6226,7 +6556,7 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6226
6556
  if (obj.measurementReference !== undefined) {
6227
6557
  const obj_measurementReference = obj.measurementReference;
6228
6558
  const path_measurementReference = path + '.measurementReference';
6229
- const referencepath_measurementReferenceValidationError = validate$l(obj_measurementReference, path_measurementReference);
6559
+ const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
6230
6560
  if (referencepath_measurementReferenceValidationError !== null) {
6231
6561
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
6232
6562
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6236,7 +6566,7 @@ function validate$b(obj, path = 'SemanticMetricOutputRepresentation') {
6236
6566
  if (obj.timeDimensionReference !== undefined) {
6237
6567
  const obj_timeDimensionReference = obj.timeDimensionReference;
6238
6568
  const path_timeDimensionReference = path + '.timeDimensionReference';
6239
- const referencepath_timeDimensionReferenceValidationError = validate$l(obj_timeDimensionReference, path_timeDimensionReference);
6569
+ const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
6240
6570
  if (referencepath_timeDimensionReferenceValidationError !== null) {
6241
6571
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
6242
6572
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6303,6 +6633,11 @@ const select$l = function SemanticMetricOutputRepresentationSelect() {
6303
6633
  kind: 'Scalar',
6304
6634
  required: false
6305
6635
  },
6636
+ {
6637
+ name: 'cacheKey',
6638
+ kind: 'Scalar',
6639
+ required: false
6640
+ },
6306
6641
  {
6307
6642
  name: 'createdBy',
6308
6643
  kind: 'Scalar'
@@ -6424,6 +6759,19 @@ function equals$9(existing, incoming) {
6424
6759
  return false;
6425
6760
  }
6426
6761
  }
6762
+ const existing_cacheKey = existing.cacheKey;
6763
+ const incoming_cacheKey = incoming.cacheKey;
6764
+ // if at least one of these optionals is defined
6765
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
6766
+ // if one of these is not defined we know the other is defined and therefore
6767
+ // not equal
6768
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
6769
+ return false;
6770
+ }
6771
+ if (!(existing_cacheKey === incoming_cacheKey)) {
6772
+ return false;
6773
+ }
6774
+ }
6427
6775
  const existing_createdBy = existing.createdBy;
6428
6776
  const incoming_createdBy = incoming.createdBy;
6429
6777
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -6601,7 +6949,7 @@ function equals$9(existing, incoming) {
6601
6949
  }
6602
6950
  const ingest$8 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6603
6951
  if (process.env.NODE_ENV !== 'production') {
6604
- const validateError = validate$b(input);
6952
+ const validateError = validate$h(input);
6605
6953
  if (validateError !== null) {
6606
6954
  throw validateError;
6607
6955
  }
@@ -6621,8 +6969,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
6621
6969
  });
6622
6970
  }
6623
6971
 
6624
- const VERSION$8 = "58a22082343aa25f72b656570b8b17b8";
6625
- function validate$a(obj, path = 'SemanticParameterOutputRepresentation') {
6972
+ const VERSION$8 = "562f9618d0de907973cf252f01ea567d";
6973
+ function validate$g(obj, path = 'SemanticParameterOutputRepresentation') {
6626
6974
  const v_error = (() => {
6627
6975
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6628
6976
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6639,6 +6987,13 @@ function validate$a(obj, path = 'SemanticParameterOutputRepresentation') {
6639
6987
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
6640
6988
  }
6641
6989
  }
6990
+ if (obj.cacheKey !== undefined) {
6991
+ const obj_cacheKey = obj.cacheKey;
6992
+ const path_cacheKey = path + '.cacheKey';
6993
+ if (typeof obj_cacheKey !== 'string') {
6994
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
6995
+ }
6996
+ }
6642
6997
  const obj_createdBy = obj.createdBy;
6643
6998
  const path_createdBy = path + '.createdBy';
6644
6999
  if (typeof obj_createdBy !== 'string') {
@@ -6769,6 +7124,11 @@ const select$k = function SemanticParameterOutputRepresentationSelect() {
6769
7124
  kind: 'Scalar',
6770
7125
  required: false
6771
7126
  },
7127
+ {
7128
+ name: 'cacheKey',
7129
+ kind: 'Scalar',
7130
+ required: false
7131
+ },
6772
7132
  {
6773
7133
  name: 'createdBy',
6774
7134
  kind: 'Scalar'
@@ -6859,6 +7219,19 @@ function equals$8(existing, incoming) {
6859
7219
  return false;
6860
7220
  }
6861
7221
  }
7222
+ const existing_cacheKey = existing.cacheKey;
7223
+ const incoming_cacheKey = incoming.cacheKey;
7224
+ // if at least one of these optionals is defined
7225
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
7226
+ // if one of these is not defined we know the other is defined and therefore
7227
+ // not equal
7228
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
7229
+ return false;
7230
+ }
7231
+ if (!(existing_cacheKey === incoming_cacheKey)) {
7232
+ return false;
7233
+ }
7234
+ }
6862
7235
  const existing_createdBy = existing.createdBy;
6863
7236
  const incoming_createdBy = incoming.createdBy;
6864
7237
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -7026,7 +7399,7 @@ function equals$8(existing, incoming) {
7026
7399
  }
7027
7400
  const ingest$7 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7028
7401
  if (process.env.NODE_ENV !== 'production') {
7029
- const validateError = validate$a(input);
7402
+ const validateError = validate$g(input);
7030
7403
  if (validateError !== null) {
7031
7404
  throw validateError;
7032
7405
  }
@@ -7046,8 +7419,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
7046
7419
  });
7047
7420
  }
7048
7421
 
7049
- const VERSION$7 = "4fbdc86189bea9d4aa3019bc6a4fce15";
7050
- function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
7422
+ const VERSION$7 = "5cda82e85d7322d459ba16b10b81ee96";
7423
+ function validate$f(obj, path = 'SemanticModelOutputRepresentation') {
7051
7424
  const v_error = (() => {
7052
7425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7053
7426
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7080,7 +7453,7 @@ function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
7080
7453
  for (let i = 0; i < obj_baseModels.length; i++) {
7081
7454
  const obj_baseModels_item = obj_baseModels[i];
7082
7455
  const path_baseModels_item = path_baseModels + '[' + i + ']';
7083
- const referencepath_baseModels_itemValidationError = validate$x(obj_baseModels_item, path_baseModels_item);
7456
+ const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
7084
7457
  if (referencepath_baseModels_itemValidationError !== null) {
7085
7458
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
7086
7459
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7088,6 +7461,13 @@ function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
7088
7461
  }
7089
7462
  }
7090
7463
  }
7464
+ if (obj.cacheKey !== undefined) {
7465
+ const obj_cacheKey = obj.cacheKey;
7466
+ const path_cacheKey = path + '.cacheKey';
7467
+ if (typeof obj_cacheKey !== 'string') {
7468
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
7469
+ }
7470
+ }
7091
7471
  if (obj.categories !== undefined) {
7092
7472
  const obj_categories = obj.categories;
7093
7473
  const path_categories = path + '.categories';
@@ -7129,10 +7509,12 @@ function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
7129
7509
  if (typeof obj_id !== 'string') {
7130
7510
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
7131
7511
  }
7132
- const obj_isLocked = obj.isLocked;
7133
- const path_isLocked = path + '.isLocked';
7134
- if (typeof obj_isLocked !== 'boolean') {
7135
- return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
7512
+ if (obj.isLocked !== undefined) {
7513
+ const obj_isLocked = obj.isLocked;
7514
+ const path_isLocked = path + '.isLocked';
7515
+ if (typeof obj_isLocked !== 'boolean') {
7516
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
7517
+ }
7136
7518
  }
7137
7519
  if (obj.label !== undefined) {
7138
7520
  const obj_label = obj.label;
@@ -7539,6 +7921,11 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
7539
7921
  selections: SemanticBaseModelOutputRepresentation__selections,
7540
7922
  required: false
7541
7923
  },
7924
+ {
7925
+ name: 'cacheKey',
7926
+ kind: 'Scalar',
7927
+ required: false
7928
+ },
7542
7929
  {
7543
7930
  name: 'categories',
7544
7931
  kind: 'Scalar',
@@ -7568,7 +7955,8 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
7568
7955
  },
7569
7956
  {
7570
7957
  name: 'isLocked',
7571
- kind: 'Scalar'
7958
+ kind: 'Scalar',
7959
+ required: false
7572
7960
  },
7573
7961
  {
7574
7962
  name: 'label',
@@ -7692,8 +8080,16 @@ const select$j = function SemanticModelOutputRepresentationSelect() {
7692
8080
  function equals$7(existing, incoming) {
7693
8081
  const existing_isLocked = existing.isLocked;
7694
8082
  const incoming_isLocked = incoming.isLocked;
7695
- if (!(existing_isLocked === incoming_isLocked)) {
7696
- return false;
8083
+ // if at least one of these optionals is defined
8084
+ if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
8085
+ // if one of these is not defined we know the other is defined and therefore
8086
+ // not equal
8087
+ if (existing_isLocked === undefined || incoming_isLocked === undefined) {
8088
+ return false;
8089
+ }
8090
+ if (!(existing_isLocked === incoming_isLocked)) {
8091
+ return false;
8092
+ }
7697
8093
  }
7698
8094
  const existing_apiName = existing.apiName;
7699
8095
  const incoming_apiName = incoming.apiName;
@@ -7726,6 +8122,19 @@ function equals$7(existing, incoming) {
7726
8122
  return false;
7727
8123
  }
7728
8124
  }
8125
+ const existing_cacheKey = existing.cacheKey;
8126
+ const incoming_cacheKey = incoming.cacheKey;
8127
+ // if at least one of these optionals is defined
8128
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
8129
+ // if one of these is not defined we know the other is defined and therefore
8130
+ // not equal
8131
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
8132
+ return false;
8133
+ }
8134
+ if (!(existing_cacheKey === incoming_cacheKey)) {
8135
+ return false;
8136
+ }
8137
+ }
7729
8138
  const existing_createdBy = existing.createdBy;
7730
8139
  const incoming_createdBy = incoming.createdBy;
7731
8140
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -8099,7 +8508,7 @@ function equals$7(existing, incoming) {
8099
8508
  }
8100
8509
  const ingest$6 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8101
8510
  if (process.env.NODE_ENV !== 'production') {
8102
- const validateError = validate$9(input);
8511
+ const validateError = validate$f(input);
8103
8512
  if (validateError !== null) {
8104
8513
  throw validateError;
8105
8514
  }
@@ -8235,7 +8644,7 @@ function typeCheckConfig$c(untrustedConfig) {
8235
8644
  const untrustedConfig_baseModels_array = [];
8236
8645
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
8237
8646
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
8238
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$V(untrustedConfig_baseModels_item);
8647
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
8239
8648
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
8240
8649
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
8241
8650
  }
@@ -8247,7 +8656,7 @@ function typeCheckConfig$c(untrustedConfig) {
8247
8656
  const untrustedConfig_semanticCalculatedDimensions_array = [];
8248
8657
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
8249
8658
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
8250
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$T(untrustedConfig_semanticCalculatedDimensions_item);
8659
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
8251
8660
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
8252
8661
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
8253
8662
  }
@@ -8259,7 +8668,7 @@ function typeCheckConfig$c(untrustedConfig) {
8259
8668
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
8260
8669
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
8261
8670
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
8262
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$S(untrustedConfig_semanticCalculatedMeasurements_item);
8671
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
8263
8672
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
8264
8673
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
8265
8674
  }
@@ -8271,7 +8680,7 @@ function typeCheckConfig$c(untrustedConfig) {
8271
8680
  const untrustedConfig_semanticDataObjects_array = [];
8272
8681
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
8273
8682
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
8274
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$P(untrustedConfig_semanticDataObjects_item);
8683
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
8275
8684
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
8276
8685
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
8277
8686
  }
@@ -8283,7 +8692,7 @@ function typeCheckConfig$c(untrustedConfig) {
8283
8692
  const untrustedConfig_semanticGroupings_array = [];
8284
8693
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
8285
8694
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
8286
- const referenceSemanticGroupingInputRepresentationValidationError = validate$I(untrustedConfig_semanticGroupings_item);
8695
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
8287
8696
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
8288
8697
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
8289
8698
  }
@@ -8295,7 +8704,7 @@ function typeCheckConfig$c(untrustedConfig) {
8295
8704
  const untrustedConfig_semanticLogicalViews_array = [];
8296
8705
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
8297
8706
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
8298
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$D(untrustedConfig_semanticLogicalViews_item);
8707
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
8299
8708
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
8300
8709
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
8301
8710
  }
@@ -8307,7 +8716,7 @@ function typeCheckConfig$c(untrustedConfig) {
8307
8716
  const untrustedConfig_semanticMetrics_array = [];
8308
8717
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
8309
8718
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
8310
- const referenceSemanticMetricInputRepresentationValidationError = validate$z(untrustedConfig_semanticMetrics_item);
8719
+ const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
8311
8720
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
8312
8721
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
8313
8722
  }
@@ -8319,7 +8728,7 @@ function typeCheckConfig$c(untrustedConfig) {
8319
8728
  const untrustedConfig_semanticParameters_array = [];
8320
8729
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
8321
8730
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
8322
- const referenceSemanticParameterInputRepresentationValidationError = validate$y(untrustedConfig_semanticParameters_item);
8731
+ const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
8323
8732
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
8324
8733
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
8325
8734
  }
@@ -8331,7 +8740,7 @@ function typeCheckConfig$c(untrustedConfig) {
8331
8740
  const untrustedConfig_semanticRelationships_array = [];
8332
8741
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
8333
8742
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
8334
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$G(untrustedConfig_semanticRelationships_item);
8743
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
8335
8744
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
8336
8745
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
8337
8746
  }
@@ -8382,11 +8791,96 @@ const createSemanticModelAdapterFactory = (luvio) => {
8382
8791
  };
8383
8792
  };
8384
8793
 
8385
- function validate$8(obj, path = 'SemanticTimeRangeInputRepresentation') {
8794
+ function validate$e(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
8795
+ const v_error = (() => {
8796
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8797
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8798
+ }
8799
+ if (obj.endDate !== undefined) {
8800
+ const obj_endDate = obj.endDate;
8801
+ const path_endDate = path + '.endDate';
8802
+ if (typeof obj_endDate !== 'string') {
8803
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
8804
+ }
8805
+ }
8806
+ if (obj.startDate !== undefined) {
8807
+ const obj_startDate = obj.startDate;
8808
+ const path_startDate = path + '.startDate';
8809
+ if (typeof obj_startDate !== 'string') {
8810
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
8811
+ }
8812
+ }
8813
+ })();
8814
+ return v_error === undefined ? null : v_error;
8815
+ }
8816
+
8817
+ function validate$d(obj, path = 'SemanticGoalValueInputRepresentation') {
8818
+ const v_error = (() => {
8819
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8820
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8821
+ }
8822
+ if (obj.staticValue !== undefined) {
8823
+ obj.staticValue;
8824
+ }
8825
+ })();
8826
+ return v_error === undefined ? null : v_error;
8827
+ }
8828
+
8829
+ function validate$c(obj, path = 'SemanticMetricGoalInputRepresentation') {
8830
+ const v_error = (() => {
8831
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8832
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8833
+ }
8834
+ if (obj.date !== undefined) {
8835
+ const obj_date = obj.date;
8836
+ const path_date = path + '.date';
8837
+ const referencepath_dateValidationError = validate$e(obj_date, path_date);
8838
+ if (referencepath_dateValidationError !== null) {
8839
+ let message = 'Object doesn\'t match SemanticGoalDateRangeInputRepresentation (at "' + path_date + '")\n';
8840
+ message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8841
+ return new TypeError(message);
8842
+ }
8843
+ }
8844
+ if (obj.goalType !== undefined) {
8845
+ const obj_goalType = obj.goalType;
8846
+ const path_goalType = path + '.goalType';
8847
+ if (typeof obj_goalType !== 'string') {
8848
+ return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
8849
+ }
8850
+ }
8851
+ if (obj.value !== undefined) {
8852
+ const obj_value = obj.value;
8853
+ const path_value = path + '.value';
8854
+ const referencepath_valueValidationError = validate$d(obj_value, path_value);
8855
+ if (referencepath_valueValidationError !== null) {
8856
+ let message = 'Object doesn\'t match SemanticGoalValueInputRepresentation (at "' + path_value + '")\n';
8857
+ message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8858
+ return new TypeError(message);
8859
+ }
8860
+ }
8861
+ })();
8862
+ return v_error === undefined ? null : v_error;
8863
+ }
8864
+
8865
+ function validate$b(obj, path = 'SemanticTimeRangeInputRepresentation') {
8386
8866
  const v_error = (() => {
8387
8867
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8388
8868
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8389
8869
  }
8870
+ if (obj.customEndDate !== undefined) {
8871
+ const obj_customEndDate = obj.customEndDate;
8872
+ const path_customEndDate = path + '.customEndDate';
8873
+ if (typeof obj_customEndDate !== 'string') {
8874
+ return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
8875
+ }
8876
+ }
8877
+ if (obj.customStartDate !== undefined) {
8878
+ const obj_customStartDate = obj.customStartDate;
8879
+ const path_customStartDate = path + '.customStartDate';
8880
+ if (typeof obj_customStartDate !== 'string') {
8881
+ return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
8882
+ }
8883
+ }
8390
8884
  if (obj.timeRangeType !== undefined) {
8391
8885
  const obj_timeRangeType = obj.timeRangeType;
8392
8886
  const path_timeRangeType = path + '.timeRangeType';
@@ -8398,11 +8892,90 @@ function validate$8(obj, path = 'SemanticTimeRangeInputRepresentation') {
8398
8892
  return v_error === undefined ? null : v_error;
8399
8893
  }
8400
8894
 
8895
+ function validate$a(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
8896
+ const v_error = (() => {
8897
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8898
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8899
+ }
8900
+ if (obj.endDate !== undefined) {
8901
+ const obj_endDate = obj.endDate;
8902
+ const path_endDate = path + '.endDate';
8903
+ if (typeof obj_endDate !== 'string') {
8904
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
8905
+ }
8906
+ }
8907
+ if (obj.startDate !== undefined) {
8908
+ const obj_startDate = obj.startDate;
8909
+ const path_startDate = path + '.startDate';
8910
+ if (typeof obj_startDate !== 'string') {
8911
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
8912
+ }
8913
+ }
8914
+ })();
8915
+ return v_error === undefined ? null : v_error;
8916
+ }
8917
+
8918
+ function validate$9(obj, path = 'SemanticGoalValueOutputRepresentation') {
8919
+ const v_error = (() => {
8920
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8921
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8922
+ }
8923
+ if (obj.staticValue !== undefined) {
8924
+ obj.staticValue;
8925
+ }
8926
+ })();
8927
+ return v_error === undefined ? null : v_error;
8928
+ }
8929
+
8930
+ function validate$8(obj, path = 'SemanticMetricGoalOutputRepresentation') {
8931
+ const v_error = (() => {
8932
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8933
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8934
+ }
8935
+ const obj_date = obj.date;
8936
+ const path_date = path + '.date';
8937
+ const referencepath_dateValidationError = validate$a(obj_date, path_date);
8938
+ if (referencepath_dateValidationError !== null) {
8939
+ let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_date + '")\n';
8940
+ message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8941
+ return new TypeError(message);
8942
+ }
8943
+ const obj_goalType = obj.goalType;
8944
+ const path_goalType = path + '.goalType';
8945
+ if (typeof obj_goalType !== 'string') {
8946
+ return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
8947
+ }
8948
+ const obj_value = obj.value;
8949
+ const path_value = path + '.value';
8950
+ const referencepath_valueValidationError = validate$9(obj_value, path_value);
8951
+ if (referencepath_valueValidationError !== null) {
8952
+ let message = 'Object doesn\'t match SemanticGoalValueOutputRepresentation (at "' + path_value + '")\n';
8953
+ message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8954
+ return new TypeError(message);
8955
+ }
8956
+ })();
8957
+ return v_error === undefined ? null : v_error;
8958
+ }
8959
+
8401
8960
  function validate$7(obj, path = 'SemanticTimeRangeOutputRepresentation') {
8402
8961
  const v_error = (() => {
8403
8962
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8404
8963
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8405
8964
  }
8965
+ if (obj.customEndDate !== undefined) {
8966
+ const obj_customEndDate = obj.customEndDate;
8967
+ const path_customEndDate = path + '.customEndDate';
8968
+ if (typeof obj_customEndDate !== 'string') {
8969
+ return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
8970
+ }
8971
+ }
8972
+ if (obj.customStartDate !== undefined) {
8973
+ const obj_customStartDate = obj.customStartDate;
8974
+ const path_customStartDate = path + '.customStartDate';
8975
+ if (typeof obj_customStartDate !== 'string') {
8976
+ return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
8977
+ }
8978
+ }
8406
8979
  if (obj.timeRangeType !== undefined) {
8407
8980
  const obj_timeRangeType = obj.timeRangeType;
8408
8981
  const path_timeRangeType = path + '.timeRangeType';
@@ -8414,7 +8987,7 @@ function validate$7(obj, path = 'SemanticTimeRangeOutputRepresentation') {
8414
8987
  return v_error === undefined ? null : v_error;
8415
8988
  }
8416
8989
 
8417
- const VERSION$6 = "c882b1daea155cb0f89f281f88d14769";
8990
+ const VERSION$6 = "34ece37408ddd80874097c87b829ae97";
8418
8991
  function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
8419
8992
  const v_error = (() => {
8420
8993
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8432,6 +9005,13 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
8432
9005
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
8433
9006
  }
8434
9007
  }
9008
+ if (obj.cacheKey !== undefined) {
9009
+ const obj_cacheKey = obj.cacheKey;
9010
+ const path_cacheKey = path + '.cacheKey';
9011
+ if (typeof obj_cacheKey !== 'string') {
9012
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
9013
+ }
9014
+ }
8435
9015
  const obj_createdBy = obj.createdBy;
8436
9016
  const path_createdBy = path + '.createdBy';
8437
9017
  if (typeof obj_createdBy !== 'string') {
@@ -8465,7 +9045,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
8465
9045
  for (let i = 0; i < obj_filters.length; i++) {
8466
9046
  const obj_filters_item = obj_filters[i];
8467
9047
  const path_filters_item = path_filters + '[' + i + ']';
8468
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
9048
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
8469
9049
  if (referencepath_filters_itemValidationError !== null) {
8470
9050
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
8471
9051
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8473,6 +9053,16 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
8473
9053
  }
8474
9054
  }
8475
9055
  }
9056
+ if (obj.goal !== undefined) {
9057
+ const obj_goal = obj.goal;
9058
+ const path_goal = path + '.goal';
9059
+ const referencepath_goalValidationError = validate$8(obj_goal, path_goal);
9060
+ if (referencepath_goalValidationError !== null) {
9061
+ let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
9062
+ message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
9063
+ return new TypeError(message);
9064
+ }
9065
+ }
8476
9066
  const obj_id = obj.id;
8477
9067
  const path_id = path + '.id';
8478
9068
  if (typeof obj_id !== 'string') {
@@ -8509,7 +9099,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
8509
9099
  if (obj.semanticMetric !== undefined) {
8510
9100
  const obj_semanticMetric = obj.semanticMetric;
8511
9101
  const path_semanticMetric = path + '.semanticMetric';
8512
- const referencepath_semanticMetricValidationError = validate$b(obj_semanticMetric, path_semanticMetric);
9102
+ const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
8513
9103
  if (referencepath_semanticMetricValidationError !== null) {
8514
9104
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
8515
9105
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8623,6 +9213,7 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
8623
9213
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
8624
9214
  generateParamConfigMetadata('filterLogic', false, 2 /* Body */, 0 /* String */),
8625
9215
  generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
9216
+ generateParamConfigMetadata('goal', false, 2 /* Body */, 4 /* Unsupported */),
8626
9217
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
8627
9218
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
8628
9219
  ];
@@ -8636,15 +9227,20 @@ function typeCheckConfig$b(untrustedConfig) {
8636
9227
  const untrustedConfig_filters_array = [];
8637
9228
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
8638
9229
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
8639
- const referenceSemanticFilterInputRepresentationValidationError = validate$U(untrustedConfig_filters_item);
9230
+ const referenceSemanticFilterInputRepresentationValidationError = validate$_(untrustedConfig_filters_item);
8640
9231
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
8641
9232
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
8642
9233
  }
8643
9234
  }
8644
9235
  config.filters = untrustedConfig_filters_array;
8645
9236
  }
9237
+ const untrustedConfig_goal = untrustedConfig.goal;
9238
+ const referenceSemanticMetricGoalInputRepresentationValidationError = validate$c(untrustedConfig_goal);
9239
+ if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
9240
+ config.goal = untrustedConfig_goal;
9241
+ }
8646
9242
  const untrustedConfig_timeRange = untrustedConfig.timeRange;
8647
- const referenceSemanticTimeRangeInputRepresentationValidationError = validate$8(untrustedConfig_timeRange);
9243
+ const referenceSemanticTimeRangeInputRepresentationValidationError = validate$b(untrustedConfig_timeRange);
8648
9244
  if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
8649
9245
  config.timeRange = untrustedConfig_timeRange;
8650
9246
  }
@@ -9761,6 +10357,7 @@ const getSemanticModel_ConfigPropertyMetadata = [
9761
10357
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9762
10358
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
9763
10359
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
10360
+ generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
9764
10361
  ];
9765
10362
  const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModel_ConfigPropertyMetadata);
9766
10363
  const createResourceParams$5 = /*#__PURE__*/ createResourceParams$d(getSemanticModel_ConfigPropertyMetadata);
@@ -9873,7 +10470,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
9873
10470
  };
9874
10471
  };
9875
10472
 
9876
- const VERSION$2 = "e435589d0258f8cf6930ef88e871072c";
10473
+ const VERSION$2 = "c9079354cd8127a37c0c13ea6686383c";
9877
10474
  function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
9878
10475
  const v_error = (() => {
9879
10476
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -9907,7 +10504,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
9907
10504
  for (let i = 0; i < obj_baseModels.length; i++) {
9908
10505
  const obj_baseModels_item = obj_baseModels[i];
9909
10506
  const path_baseModels_item = path_baseModels + '[' + i + ']';
9910
- const referencepath_baseModels_itemValidationError = validate$x(obj_baseModels_item, path_baseModels_item);
10507
+ const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
9911
10508
  if (referencepath_baseModels_itemValidationError !== null) {
9912
10509
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
9913
10510
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9915,6 +10512,13 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
9915
10512
  }
9916
10513
  }
9917
10514
  }
10515
+ if (obj.cacheKey !== undefined) {
10516
+ const obj_cacheKey = obj.cacheKey;
10517
+ const path_cacheKey = path + '.cacheKey';
10518
+ if (typeof obj_cacheKey !== 'string') {
10519
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
10520
+ }
10521
+ }
9918
10522
  if (obj.categories !== undefined) {
9919
10523
  const obj_categories = obj.categories;
9920
10524
  const path_categories = path + '.categories';
@@ -9956,10 +10560,12 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
9956
10560
  if (typeof obj_id !== 'string') {
9957
10561
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
9958
10562
  }
9959
- const obj_isLocked = obj.isLocked;
9960
- const path_isLocked = path + '.isLocked';
9961
- if (typeof obj_isLocked !== 'boolean') {
9962
- return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
10563
+ if (obj.isLocked !== undefined) {
10564
+ const obj_isLocked = obj.isLocked;
10565
+ const path_isLocked = path + '.isLocked';
10566
+ if (typeof obj_isLocked !== 'boolean') {
10567
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
10568
+ }
9963
10569
  }
9964
10570
  if (obj.label !== undefined) {
9965
10571
  const obj_label = obj.label;
@@ -10097,6 +10703,11 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
10097
10703
  selections: SemanticBaseModelOutputRepresentation__selections,
10098
10704
  required: false
10099
10705
  },
10706
+ {
10707
+ name: 'cacheKey',
10708
+ kind: 'Scalar',
10709
+ required: false
10710
+ },
10100
10711
  {
10101
10712
  name: 'categories',
10102
10713
  kind: 'Scalar',
@@ -10126,7 +10737,8 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
10126
10737
  },
10127
10738
  {
10128
10739
  name: 'isLocked',
10129
- kind: 'Scalar'
10740
+ kind: 'Scalar',
10741
+ required: false
10130
10742
  },
10131
10743
  {
10132
10744
  name: 'label',
@@ -10194,8 +10806,16 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
10194
10806
  function equals$2(existing, incoming) {
10195
10807
  const existing_isLocked = existing.isLocked;
10196
10808
  const incoming_isLocked = incoming.isLocked;
10197
- if (!(existing_isLocked === incoming_isLocked)) {
10198
- return false;
10809
+ // if at least one of these optionals is defined
10810
+ if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
10811
+ // if one of these is not defined we know the other is defined and therefore
10812
+ // not equal
10813
+ if (existing_isLocked === undefined || incoming_isLocked === undefined) {
10814
+ return false;
10815
+ }
10816
+ if (!(existing_isLocked === incoming_isLocked)) {
10817
+ return false;
10818
+ }
10199
10819
  }
10200
10820
  const existing_apiName = existing.apiName;
10201
10821
  const incoming_apiName = incoming.apiName;
@@ -10228,6 +10848,19 @@ function equals$2(existing, incoming) {
10228
10848
  return false;
10229
10849
  }
10230
10850
  }
10851
+ const existing_cacheKey = existing.cacheKey;
10852
+ const incoming_cacheKey = incoming.cacheKey;
10853
+ // if at least one of these optionals is defined
10854
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
10855
+ // if one of these is not defined we know the other is defined and therefore
10856
+ // not equal
10857
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
10858
+ return false;
10859
+ }
10860
+ if (!(existing_cacheKey === incoming_cacheKey)) {
10861
+ return false;
10862
+ }
10863
+ }
10231
10864
  const existing_createdBy = existing.createdBy;
10232
10865
  const incoming_createdBy = incoming.createdBy;
10233
10866
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -11466,7 +12099,7 @@ function typeCheckConfig(untrustedConfig) {
11466
12099
  const untrustedConfig_baseModels_array = [];
11467
12100
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
11468
12101
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
11469
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$V(untrustedConfig_baseModels_item);
12102
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
11470
12103
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
11471
12104
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
11472
12105
  }
@@ -11478,7 +12111,7 @@ function typeCheckConfig(untrustedConfig) {
11478
12111
  const untrustedConfig_semanticCalculatedDimensions_array = [];
11479
12112
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
11480
12113
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
11481
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$T(untrustedConfig_semanticCalculatedDimensions_item);
12114
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
11482
12115
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
11483
12116
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
11484
12117
  }
@@ -11490,7 +12123,7 @@ function typeCheckConfig(untrustedConfig) {
11490
12123
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
11491
12124
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
11492
12125
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
11493
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$S(untrustedConfig_semanticCalculatedMeasurements_item);
12126
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
11494
12127
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
11495
12128
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
11496
12129
  }
@@ -11502,7 +12135,7 @@ function typeCheckConfig(untrustedConfig) {
11502
12135
  const untrustedConfig_semanticDataObjects_array = [];
11503
12136
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
11504
12137
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
11505
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$P(untrustedConfig_semanticDataObjects_item);
12138
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
11506
12139
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
11507
12140
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
11508
12141
  }
@@ -11514,7 +12147,7 @@ function typeCheckConfig(untrustedConfig) {
11514
12147
  const untrustedConfig_semanticGroupings_array = [];
11515
12148
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
11516
12149
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
11517
- const referenceSemanticGroupingInputRepresentationValidationError = validate$I(untrustedConfig_semanticGroupings_item);
12150
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
11518
12151
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
11519
12152
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
11520
12153
  }
@@ -11526,7 +12159,7 @@ function typeCheckConfig(untrustedConfig) {
11526
12159
  const untrustedConfig_semanticLogicalViews_array = [];
11527
12160
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
11528
12161
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
11529
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$D(untrustedConfig_semanticLogicalViews_item);
12162
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
11530
12163
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
11531
12164
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
11532
12165
  }
@@ -11538,7 +12171,7 @@ function typeCheckConfig(untrustedConfig) {
11538
12171
  const untrustedConfig_semanticMetrics_array = [];
11539
12172
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
11540
12173
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
11541
- const referenceSemanticMetricInputRepresentationValidationError = validate$z(untrustedConfig_semanticMetrics_item);
12174
+ const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
11542
12175
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
11543
12176
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
11544
12177
  }
@@ -11550,7 +12183,7 @@ function typeCheckConfig(untrustedConfig) {
11550
12183
  const untrustedConfig_semanticParameters_array = [];
11551
12184
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
11552
12185
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
11553
- const referenceSemanticParameterInputRepresentationValidationError = validate$y(untrustedConfig_semanticParameters_item);
12186
+ const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
11554
12187
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
11555
12188
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
11556
12189
  }
@@ -11562,7 +12195,7 @@ function typeCheckConfig(untrustedConfig) {
11562
12195
  const untrustedConfig_semanticRelationships_array = [];
11563
12196
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
11564
12197
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
11565
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$G(untrustedConfig_semanticRelationships_item);
12198
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
11566
12199
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
11567
12200
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
11568
12201
  }
@@ -11740,4 +12373,4 @@ withDefaultLuvio((luvio) => {
11740
12373
  });
11741
12374
 
11742
12375
  export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
11743
- // version: 1.320.0-e3e5f3d984
12376
+ // version: 1.322.0-87f682c9f3