@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
@@ -93,7 +93,7 @@ function createLink(ref) {
93
93
  }
94
94
 
95
95
  const VERSION$t = "a2976cd68e629a917463a3b690cf2527";
96
- function validate$V(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
96
+ function validate$$(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
97
97
  const v_error = (() => {
98
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
99
99
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -165,7 +165,7 @@ function equals$t(existing, incoming) {
165
165
  }
166
166
 
167
167
  const VERSION$s = "f49a2cbbe308f6f74cda3e2144fa66cd";
168
- function validate$U(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
168
+ function validate$_(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
169
169
  const v_error = (() => {
170
170
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
171
171
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -180,7 +180,7 @@ function validate$U(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
180
180
  if (obj.tableFieldReference !== undefined) {
181
181
  const obj_tableFieldReference = obj.tableFieldReference;
182
182
  const path_tableFieldReference = path + '.tableFieldReference';
183
- const referencepath_tableFieldReferenceValidationError = validate$V(obj_tableFieldReference, path_tableFieldReference);
183
+ const referencepath_tableFieldReferenceValidationError = validate$$(obj_tableFieldReference, path_tableFieldReference);
184
184
  if (referencepath_tableFieldReferenceValidationError !== null) {
185
185
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
186
186
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -242,7 +242,7 @@ function equals$s(existing, incoming) {
242
242
  }
243
243
 
244
244
  const VERSION$r = "9b5a0e85af6a943c95625e2dfe81ab96";
245
- function validate$T(obj, path = 'SemanticFilterOutputRepresentation') {
245
+ function validate$Z(obj, path = 'SemanticFilterOutputRepresentation') {
246
246
  const v_error = (() => {
247
247
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
248
248
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -339,7 +339,7 @@ function equals$r(existing, incoming) {
339
339
  }
340
340
 
341
341
  const VERSION$q = "a50848c632bb205d5e910bb726d9219e";
342
- function validate$S(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
342
+ function validate$Y(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
343
343
  const v_error = (() => {
344
344
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
345
345
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -347,7 +347,7 @@ function validate$S(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
347
347
  if (obj.identifierDimensionReference !== undefined) {
348
348
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
349
349
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
350
- const referencepath_identifierDimensionReferenceValidationError = validate$U(obj_identifierDimensionReference, path_identifierDimensionReference);
350
+ const referencepath_identifierDimensionReferenceValidationError = validate$_(obj_identifierDimensionReference, path_identifierDimensionReference);
351
351
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
352
352
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
353
353
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -357,7 +357,7 @@ function validate$S(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
357
357
  if (obj.namingDimensionReference !== undefined) {
358
358
  const obj_namingDimensionReference = obj.namingDimensionReference;
359
359
  const path_namingDimensionReference = path + '.namingDimensionReference';
360
- const referencepath_namingDimensionReferenceValidationError = validate$U(obj_namingDimensionReference, path_namingDimensionReference);
360
+ const referencepath_namingDimensionReferenceValidationError = validate$_(obj_namingDimensionReference, path_namingDimensionReference);
361
361
  if (referencepath_namingDimensionReferenceValidationError !== null) {
362
362
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
363
363
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -420,7 +420,7 @@ function equals$q(existing, incoming) {
420
420
  }
421
421
 
422
422
  const VERSION$p = "1b8cf2283d5d5c480459506274f0604c";
423
- function validate$R(obj, path = 'SemanticInsightTypeOutputRepresentation') {
423
+ function validate$X(obj, path = 'SemanticInsightTypeOutputRepresentation') {
424
424
  const v_error = (() => {
425
425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
426
426
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -492,7 +492,7 @@ function equals$p(existing, incoming) {
492
492
  }
493
493
 
494
494
  const VERSION$o = "a3f5972287be7bcf9ca205af56046a58";
495
- function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
495
+ function validate$W(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
496
496
  const v_error = (() => {
497
497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
498
498
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -500,7 +500,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
500
500
  if (obj.identifyingDimension !== undefined) {
501
501
  const obj_identifyingDimension = obj.identifyingDimension;
502
502
  const path_identifyingDimension = path + '.identifyingDimension';
503
- const referencepath_identifyingDimensionValidationError = validate$S(obj_identifyingDimension, path_identifyingDimension);
503
+ const referencepath_identifyingDimensionValidationError = validate$Y(obj_identifyingDimension, path_identifyingDimension);
504
504
  if (referencepath_identifyingDimensionValidationError !== null) {
505
505
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
506
506
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -516,7 +516,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
516
516
  for (let i = 0; i < obj_insightTypes.length; i++) {
517
517
  const obj_insightTypes_item = obj_insightTypes[i];
518
518
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
519
- const referencepath_insightTypes_itemValidationError = validate$R(obj_insightTypes_item, path_insightTypes_item);
519
+ const referencepath_insightTypes_itemValidationError = validate$X(obj_insightTypes_item, path_insightTypes_item);
520
520
  if (referencepath_insightTypes_itemValidationError !== null) {
521
521
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
522
522
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -533,7 +533,7 @@ function validate$Q(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
533
533
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
534
534
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
535
535
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
536
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$U(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
536
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$_(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
537
537
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
538
538
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
539
539
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -704,8 +704,8 @@ function equals$o(existing, incoming) {
704
704
  return true;
705
705
  }
706
706
 
707
- const VERSION$n = "bcf7c34e0e00709df1ab9a451ea9b05c";
708
- function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
707
+ const VERSION$n = "0873ccd85b32d14c753931243d20ac8b";
708
+ function validate$V(obj, path = 'SemanticMetricOutputRepresentation') {
709
709
  const v_error = (() => {
710
710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
711
711
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -719,7 +719,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
719
719
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
720
720
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
721
721
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
722
- const referencepath_additionalDimensions_itemValidationError = validate$U(obj_additionalDimensions_item, path_additionalDimensions_item);
722
+ const referencepath_additionalDimensions_itemValidationError = validate$_(obj_additionalDimensions_item, path_additionalDimensions_item);
723
723
  if (referencepath_additionalDimensions_itemValidationError !== null) {
724
724
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
725
725
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -746,6 +746,13 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
746
746
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
747
747
  }
748
748
  }
749
+ if (obj.cacheKey !== undefined) {
750
+ const obj_cacheKey = obj.cacheKey;
751
+ const path_cacheKey = path + '.cacheKey';
752
+ if (typeof obj_cacheKey !== 'string') {
753
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
754
+ }
755
+ }
749
756
  const obj_createdBy = obj.createdBy;
750
757
  const path_createdBy = path + '.createdBy';
751
758
  if (typeof obj_createdBy !== 'string') {
@@ -779,7 +786,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
779
786
  for (let i = 0; i < obj_filters.length; i++) {
780
787
  const obj_filters_item = obj_filters[i];
781
788
  const path_filters_item = path_filters + '[' + i + ']';
782
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
789
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
783
790
  if (referencepath_filters_itemValidationError !== null) {
784
791
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
785
792
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -795,7 +802,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
795
802
  if (obj.insightsSettings !== undefined) {
796
803
  const obj_insightsSettings = obj.insightsSettings;
797
804
  const path_insightsSettings = path + '.insightsSettings';
798
- const referencepath_insightsSettingsValidationError = validate$Q(obj_insightsSettings, path_insightsSettings);
805
+ const referencepath_insightsSettingsValidationError = validate$W(obj_insightsSettings, path_insightsSettings);
799
806
  if (referencepath_insightsSettingsValidationError !== null) {
800
807
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
801
808
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -833,7 +840,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
833
840
  if (obj.measurementReference !== undefined) {
834
841
  const obj_measurementReference = obj.measurementReference;
835
842
  const path_measurementReference = path + '.measurementReference';
836
- const referencepath_measurementReferenceValidationError = validate$U(obj_measurementReference, path_measurementReference);
843
+ const referencepath_measurementReferenceValidationError = validate$_(obj_measurementReference, path_measurementReference);
837
844
  if (referencepath_measurementReferenceValidationError !== null) {
838
845
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
839
846
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -843,7 +850,7 @@ function validate$P(obj, path = 'SemanticMetricOutputRepresentation') {
843
850
  if (obj.timeDimensionReference !== undefined) {
844
851
  const obj_timeDimensionReference = obj.timeDimensionReference;
845
852
  const path_timeDimensionReference = path + '.timeDimensionReference';
846
- const referencepath_timeDimensionReferenceValidationError = validate$U(obj_timeDimensionReference, path_timeDimensionReference);
853
+ const referencepath_timeDimensionReferenceValidationError = validate$_(obj_timeDimensionReference, path_timeDimensionReference);
847
854
  if (referencepath_timeDimensionReferenceValidationError !== null) {
848
855
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
849
856
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -910,6 +917,11 @@ const select$z = function SemanticMetricOutputRepresentationSelect() {
910
917
  kind: 'Scalar',
911
918
  required: false
912
919
  },
920
+ {
921
+ name: 'cacheKey',
922
+ kind: 'Scalar',
923
+ required: false
924
+ },
913
925
  {
914
926
  name: 'createdBy',
915
927
  kind: 'Scalar'
@@ -1031,6 +1043,19 @@ function equals$n(existing, incoming) {
1031
1043
  return false;
1032
1044
  }
1033
1045
  }
1046
+ const existing_cacheKey = existing.cacheKey;
1047
+ const incoming_cacheKey = incoming.cacheKey;
1048
+ // if at least one of these optionals is defined
1049
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
1050
+ // if one of these is not defined we know the other is defined and therefore
1051
+ // not equal
1052
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
1053
+ return false;
1054
+ }
1055
+ if (!(existing_cacheKey === incoming_cacheKey)) {
1056
+ return false;
1057
+ }
1058
+ }
1034
1059
  const existing_createdBy = existing.createdBy;
1035
1060
  const incoming_createdBy = incoming.createdBy;
1036
1061
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -1208,7 +1233,7 @@ function equals$n(existing, incoming) {
1208
1233
  }
1209
1234
  const ingest$g = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1210
1235
  if (process.env.NODE_ENV !== 'production') {
1211
- const validateError = validate$P(input);
1236
+ const validateError = validate$V(input);
1212
1237
  if (validateError !== null) {
1213
1238
  throw validateError;
1214
1239
  }
@@ -1229,7 +1254,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
1229
1254
  }
1230
1255
 
1231
1256
  const VERSION$m = "a6709a9f16e02d0d8e3d8423ebc79c2b";
1232
- function validate$O(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
1257
+ function validate$U(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
1233
1258
  const v_error = (() => {
1234
1259
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1235
1260
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1312,7 +1337,7 @@ function equals$m(existing, incoming) {
1312
1337
  }
1313
1338
  const ingest$f = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1314
1339
  if (process.env.NODE_ENV !== 'production') {
1315
- const validateError = validate$O(input);
1340
+ const validateError = validate$U(input);
1316
1341
  if (validateError !== null) {
1317
1342
  throw validateError;
1318
1343
  }
@@ -1471,7 +1496,7 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
1471
1496
  };
1472
1497
 
1473
1498
  const VERSION$l = "3a32d382e7a2268096278aa8e5c6761a";
1474
- function validate$N(obj, path = 'SemanticBaseModelOutputRepresentation') {
1499
+ function validate$T(obj, path = 'SemanticBaseModelOutputRepresentation') {
1475
1500
  const v_error = (() => {
1476
1501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1477
1502
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1531,8 +1556,8 @@ function equals$l(existing, incoming) {
1531
1556
  return true;
1532
1557
  }
1533
1558
 
1534
- const VERSION$k = "e435589d0258f8cf6930ef88e871072c";
1535
- function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
1559
+ const VERSION$k = "c9079354cd8127a37c0c13ea6686383c";
1560
+ function validate$S(obj, path = 'SemanticModelPartialOutputRepresentation') {
1536
1561
  const v_error = (() => {
1537
1562
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1538
1563
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1565,7 +1590,7 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
1565
1590
  for (let i = 0; i < obj_baseModels.length; i++) {
1566
1591
  const obj_baseModels_item = obj_baseModels[i];
1567
1592
  const path_baseModels_item = path_baseModels + '[' + i + ']';
1568
- const referencepath_baseModels_itemValidationError = validate$N(obj_baseModels_item, path_baseModels_item);
1593
+ const referencepath_baseModels_itemValidationError = validate$T(obj_baseModels_item, path_baseModels_item);
1569
1594
  if (referencepath_baseModels_itemValidationError !== null) {
1570
1595
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
1571
1596
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1573,6 +1598,13 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
1573
1598
  }
1574
1599
  }
1575
1600
  }
1601
+ if (obj.cacheKey !== undefined) {
1602
+ const obj_cacheKey = obj.cacheKey;
1603
+ const path_cacheKey = path + '.cacheKey';
1604
+ if (typeof obj_cacheKey !== 'string') {
1605
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
1606
+ }
1607
+ }
1576
1608
  if (obj.categories !== undefined) {
1577
1609
  const obj_categories = obj.categories;
1578
1610
  const path_categories = path + '.categories';
@@ -1614,10 +1646,12 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
1614
1646
  if (typeof obj_id !== 'string') {
1615
1647
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1616
1648
  }
1617
- const obj_isLocked = obj.isLocked;
1618
- const path_isLocked = path + '.isLocked';
1619
- if (typeof obj_isLocked !== 'boolean') {
1620
- return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
1649
+ if (obj.isLocked !== undefined) {
1650
+ const obj_isLocked = obj.isLocked;
1651
+ const path_isLocked = path + '.isLocked';
1652
+ if (typeof obj_isLocked !== 'boolean') {
1653
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
1654
+ }
1621
1655
  }
1622
1656
  if (obj.label !== undefined) {
1623
1657
  const obj_label = obj.label;
@@ -1755,6 +1789,11 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
1755
1789
  selections: SemanticBaseModelOutputRepresentation__selections,
1756
1790
  required: false
1757
1791
  },
1792
+ {
1793
+ name: 'cacheKey',
1794
+ kind: 'Scalar',
1795
+ required: false
1796
+ },
1758
1797
  {
1759
1798
  name: 'categories',
1760
1799
  kind: 'Scalar',
@@ -1784,7 +1823,8 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
1784
1823
  },
1785
1824
  {
1786
1825
  name: 'isLocked',
1787
- kind: 'Scalar'
1826
+ kind: 'Scalar',
1827
+ required: false
1788
1828
  },
1789
1829
  {
1790
1830
  name: 'label',
@@ -1852,8 +1892,16 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
1852
1892
  function equals$k(existing, incoming) {
1853
1893
  const existing_isLocked = existing.isLocked;
1854
1894
  const incoming_isLocked = incoming.isLocked;
1855
- if (!(existing_isLocked === incoming_isLocked)) {
1856
- return false;
1895
+ // if at least one of these optionals is defined
1896
+ if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
1897
+ // if one of these is not defined we know the other is defined and therefore
1898
+ // not equal
1899
+ if (existing_isLocked === undefined || incoming_isLocked === undefined) {
1900
+ return false;
1901
+ }
1902
+ if (!(existing_isLocked === incoming_isLocked)) {
1903
+ return false;
1904
+ }
1857
1905
  }
1858
1906
  const existing_apiName = existing.apiName;
1859
1907
  const incoming_apiName = incoming.apiName;
@@ -1886,6 +1934,19 @@ function equals$k(existing, incoming) {
1886
1934
  return false;
1887
1935
  }
1888
1936
  }
1937
+ const existing_cacheKey = existing.cacheKey;
1938
+ const incoming_cacheKey = incoming.cacheKey;
1939
+ // if at least one of these optionals is defined
1940
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
1941
+ // if one of these is not defined we know the other is defined and therefore
1942
+ // not equal
1943
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
1944
+ return false;
1945
+ }
1946
+ if (!(existing_cacheKey === incoming_cacheKey)) {
1947
+ return false;
1948
+ }
1949
+ }
1889
1950
  const existing_createdBy = existing.createdBy;
1890
1951
  const incoming_createdBy = incoming.createdBy;
1891
1952
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -2115,7 +2176,7 @@ function equals$k(existing, incoming) {
2115
2176
  }
2116
2177
 
2117
2178
  const VERSION$j = "198423ec58354256cc7ea6f4661ef669";
2118
- function validate$L(obj, path = 'SemanticModelCollectionOutputRepresentation') {
2179
+ function validate$R(obj, path = 'SemanticModelCollectionOutputRepresentation') {
2119
2180
  const v_error = (() => {
2120
2181
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2121
2182
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2162,7 +2223,7 @@ function validate$L(obj, path = 'SemanticModelCollectionOutputRepresentation') {
2162
2223
  for (let i = 0; i < obj_items.length; i++) {
2163
2224
  const obj_items_item = obj_items[i];
2164
2225
  const path_items_item = path_items + '[' + i + ']';
2165
- const referencepath_items_itemValidationError = validate$M(obj_items_item, path_items_item);
2226
+ const referencepath_items_itemValidationError = validate$S(obj_items_item, path_items_item);
2166
2227
  if (referencepath_items_itemValidationError !== null) {
2167
2228
  let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
2168
2229
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2350,7 +2411,7 @@ function equals$j(existing, incoming) {
2350
2411
  }
2351
2412
  const ingest$e = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2352
2413
  if (process.env.NODE_ENV !== 'production') {
2353
- const validateError = validate$L(input);
2414
+ const validateError = validate$R(input);
2354
2415
  if (validateError !== null) {
2355
2416
  throw validateError;
2356
2417
  }
@@ -2510,7 +2571,7 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
2510
2571
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
2511
2572
  };
2512
2573
 
2513
- function validate$K(obj, path = 'SemanticBaseModelInputRepresentation') {
2574
+ function validate$Q(obj, path = 'SemanticBaseModelInputRepresentation') {
2514
2575
  const v_error = (() => {
2515
2576
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2516
2577
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2526,7 +2587,7 @@ function validate$K(obj, path = 'SemanticBaseModelInputRepresentation') {
2526
2587
  return v_error === undefined ? null : v_error;
2527
2588
  }
2528
2589
 
2529
- function validate$J(obj, path = 'SemanticFilterInputRepresentation') {
2590
+ function validate$P(obj, path = 'SemanticFilterInputRepresentation') {
2530
2591
  const v_error = (() => {
2531
2592
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2532
2593
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2556,7 +2617,7 @@ function validate$J(obj, path = 'SemanticFilterInputRepresentation') {
2556
2617
  return v_error === undefined ? null : v_error;
2557
2618
  }
2558
2619
 
2559
- function validate$I(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
2620
+ function validate$O(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
2560
2621
  const v_error = (() => {
2561
2622
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2562
2623
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2619,7 +2680,7 @@ function validate$I(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
2619
2680
  for (let i = 0; i < obj_filters.length; i++) {
2620
2681
  const obj_filters_item = obj_filters[i];
2621
2682
  const path_filters_item = path_filters + '[' + i + ']';
2622
- const referencepath_filters_itemValidationError = validate$J(obj_filters_item, path_filters_item);
2683
+ const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
2623
2684
  if (referencepath_filters_itemValidationError !== null) {
2624
2685
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
2625
2686
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2666,7 +2727,7 @@ function validate$I(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
2666
2727
  return v_error === undefined ? null : v_error;
2667
2728
  }
2668
2729
 
2669
- function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
2730
+ function validate$N(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
2670
2731
  const v_error = (() => {
2671
2732
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2672
2733
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2743,7 +2804,7 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
2743
2804
  for (let i = 0; i < obj_filters.length; i++) {
2744
2805
  const obj_filters_item = obj_filters[i];
2745
2806
  const path_filters_item = path_filters + '[' + i + ']';
2746
- const referencepath_filters_itemValidationError = validate$J(obj_filters_item, path_filters_item);
2807
+ const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
2747
2808
  if (referencepath_filters_itemValidationError !== null) {
2748
2809
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
2749
2810
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2772,6 +2833,13 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
2772
2833
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
2773
2834
  }
2774
2835
  }
2836
+ if (obj.sentiment !== undefined) {
2837
+ const obj_sentiment = obj.sentiment;
2838
+ const path_sentiment = path + '.sentiment';
2839
+ if (typeof obj_sentiment !== 'string') {
2840
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
2841
+ }
2842
+ }
2775
2843
  if (obj.shouldTreatNullsAsZeros !== undefined) {
2776
2844
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
2777
2845
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -2804,7 +2872,7 @@ function validate$H(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
2804
2872
  return v_error === undefined ? null : v_error;
2805
2873
  }
2806
2874
 
2807
- function validate$G(obj, path = 'SemanticDimensionInputRepresentation') {
2875
+ function validate$M(obj, path = 'SemanticDimensionInputRepresentation') {
2808
2876
  const v_error = (() => {
2809
2877
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2810
2878
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2883,7 +2951,7 @@ function validate$G(obj, path = 'SemanticDimensionInputRepresentation') {
2883
2951
  return v_error === undefined ? null : v_error;
2884
2952
  }
2885
2953
 
2886
- function validate$F(obj, path = 'SemanticMeasurementInputRepresentation') {
2954
+ function validate$L(obj, path = 'SemanticMeasurementInputRepresentation') {
2887
2955
  const v_error = (() => {
2888
2956
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2889
2957
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2965,6 +3033,13 @@ function validate$F(obj, path = 'SemanticMeasurementInputRepresentation') {
2965
3033
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
2966
3034
  }
2967
3035
  }
3036
+ if (obj.sentiment !== undefined) {
3037
+ const obj_sentiment = obj.sentiment;
3038
+ const path_sentiment = path + '.sentiment';
3039
+ if (typeof obj_sentiment !== 'string') {
3040
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
3041
+ }
3042
+ }
2968
3043
  if (obj.shouldTreatNullsAsZeros !== undefined) {
2969
3044
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
2970
3045
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -2983,7 +3058,7 @@ function validate$F(obj, path = 'SemanticMeasurementInputRepresentation') {
2983
3058
  return v_error === undefined ? null : v_error;
2984
3059
  }
2985
3060
 
2986
- function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
3061
+ function validate$K(obj, path = 'SemanticDataObjectInputRepresentation') {
2987
3062
  const v_error = (() => {
2988
3063
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2989
3064
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3032,7 +3107,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
3032
3107
  for (let i = 0; i < obj_filters.length; i++) {
3033
3108
  const obj_filters_item = obj_filters[i];
3034
3109
  const path_filters_item = path_filters + '[' + i + ']';
3035
- const referencepath_filters_itemValidationError = validate$J(obj_filters_item, path_filters_item);
3110
+ const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
3036
3111
  if (referencepath_filters_itemValidationError !== null) {
3037
3112
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
3038
3113
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3063,7 +3138,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
3063
3138
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
3064
3139
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
3065
3140
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
3066
- const referencepath_semanticDimensions_itemValidationError = validate$G(obj_semanticDimensions_item, path_semanticDimensions_item);
3141
+ const referencepath_semanticDimensions_itemValidationError = validate$M(obj_semanticDimensions_item, path_semanticDimensions_item);
3067
3142
  if (referencepath_semanticDimensions_itemValidationError !== null) {
3068
3143
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
3069
3144
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3080,7 +3155,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
3080
3155
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
3081
3156
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
3082
3157
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
3083
- const referencepath_semanticMeasurements_itemValidationError = validate$F(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3158
+ const referencepath_semanticMeasurements_itemValidationError = validate$L(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3084
3159
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
3085
3160
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
3086
3161
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3099,7 +3174,7 @@ function validate$E(obj, path = 'SemanticDataObjectInputRepresentation') {
3099
3174
  return v_error === undefined ? null : v_error;
3100
3175
  }
3101
3176
 
3102
- function validate$D(obj, path = 'BinDimensionConfigurationInputRepresentation') {
3177
+ function validate$J(obj, path = 'BinDimensionConfigurationInputRepresentation') {
3103
3178
  const v_error = (() => {
3104
3179
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3105
3180
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3111,7 +3186,7 @@ function validate$D(obj, path = 'BinDimensionConfigurationInputRepresentation')
3111
3186
  return v_error === undefined ? null : v_error;
3112
3187
  }
3113
3188
 
3114
- function validate$C(obj, path = 'GroupDimensionGroupInputRepresentation') {
3189
+ function validate$I(obj, path = 'GroupDimensionGroupInputRepresentation') {
3115
3190
  const v_error = (() => {
3116
3191
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3117
3192
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3141,7 +3216,7 @@ function validate$C(obj, path = 'GroupDimensionGroupInputRepresentation') {
3141
3216
  return v_error === undefined ? null : v_error;
3142
3217
  }
3143
3218
 
3144
- function validate$B(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
3219
+ function validate$H(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
3145
3220
  const v_error = (() => {
3146
3221
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3147
3222
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3155,7 +3230,7 @@ function validate$B(obj, path = 'GroupDimensionConfigurationInputRepresentation'
3155
3230
  for (let i = 0; i < obj_groups.length; i++) {
3156
3231
  const obj_groups_item = obj_groups[i];
3157
3232
  const path_groups_item = path_groups + '[' + i + ']';
3158
- const referencepath_groups_itemValidationError = validate$C(obj_groups_item, path_groups_item);
3233
+ const referencepath_groups_itemValidationError = validate$I(obj_groups_item, path_groups_item);
3159
3234
  if (referencepath_groups_itemValidationError !== null) {
3160
3235
  let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
3161
3236
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3174,7 +3249,7 @@ function validate$B(obj, path = 'GroupDimensionConfigurationInputRepresentation'
3174
3249
  return v_error === undefined ? null : v_error;
3175
3250
  }
3176
3251
 
3177
- function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
3252
+ function validate$G(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
3178
3253
  const v_error = (() => {
3179
3254
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3180
3255
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3182,7 +3257,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
3182
3257
  if (obj.binDimension !== undefined) {
3183
3258
  const obj_binDimension = obj.binDimension;
3184
3259
  const path_binDimension = path + '.binDimension';
3185
- const referencepath_binDimensionValidationError = validate$D(obj_binDimension, path_binDimension);
3260
+ const referencepath_binDimensionValidationError = validate$J(obj_binDimension, path_binDimension);
3186
3261
  if (referencepath_binDimensionValidationError !== null) {
3187
3262
  let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
3188
3263
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3192,7 +3267,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
3192
3267
  if (obj.groupDimension !== undefined) {
3193
3268
  const obj_groupDimension = obj.groupDimension;
3194
3269
  const path_groupDimension = path + '.groupDimension';
3195
- const referencepath_groupDimensionValidationError = validate$B(obj_groupDimension, path_groupDimension);
3270
+ const referencepath_groupDimensionValidationError = validate$H(obj_groupDimension, path_groupDimension);
3196
3271
  if (referencepath_groupDimensionValidationError !== null) {
3197
3272
  let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
3198
3273
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3203,7 +3278,7 @@ function validate$A(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
3203
3278
  return v_error === undefined ? null : v_error;
3204
3279
  }
3205
3280
 
3206
- function validate$z(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
3281
+ function validate$F(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
3207
3282
  const v_error = (() => {
3208
3283
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3209
3284
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3226,7 +3301,7 @@ function validate$z(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
3226
3301
  return v_error === undefined ? null : v_error;
3227
3302
  }
3228
3303
 
3229
- function validate$y(obj, path = 'SemanticFieldReferenceInputRepresentation') {
3304
+ function validate$E(obj, path = 'SemanticFieldReferenceInputRepresentation') {
3230
3305
  const v_error = (() => {
3231
3306
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3232
3307
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3241,7 +3316,7 @@ function validate$y(obj, path = 'SemanticFieldReferenceInputRepresentation') {
3241
3316
  if (obj.tableFieldReference !== undefined) {
3242
3317
  const obj_tableFieldReference = obj.tableFieldReference;
3243
3318
  const path_tableFieldReference = path + '.tableFieldReference';
3244
- const referencepath_tableFieldReferenceValidationError = validate$z(obj_tableFieldReference, path_tableFieldReference);
3319
+ const referencepath_tableFieldReferenceValidationError = validate$F(obj_tableFieldReference, path_tableFieldReference);
3245
3320
  if (referencepath_tableFieldReferenceValidationError !== null) {
3246
3321
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
3247
3322
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3252,7 +3327,7 @@ function validate$y(obj, path = 'SemanticFieldReferenceInputRepresentation') {
3252
3327
  return v_error === undefined ? null : v_error;
3253
3328
  }
3254
3329
 
3255
- function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
3330
+ function validate$D(obj, path = 'SemanticGroupingInputRepresentation') {
3256
3331
  const v_error = (() => {
3257
3332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3258
3333
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3267,7 +3342,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
3267
3342
  if (obj.configuration !== undefined) {
3268
3343
  const obj_configuration = obj.configuration;
3269
3344
  const path_configuration = path + '.configuration';
3270
- const referencepath_configurationValidationError = validate$A(obj_configuration, path_configuration);
3345
+ const referencepath_configurationValidationError = validate$G(obj_configuration, path_configuration);
3271
3346
  if (referencepath_configurationValidationError !== null) {
3272
3347
  let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
3273
3348
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3284,7 +3359,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
3284
3359
  if (obj.fieldReference !== undefined) {
3285
3360
  const obj_fieldReference = obj.fieldReference;
3286
3361
  const path_fieldReference = path + '.fieldReference';
3287
- const referencepath_fieldReferenceValidationError = validate$y(obj_fieldReference, path_fieldReference);
3362
+ const referencepath_fieldReferenceValidationError = validate$E(obj_fieldReference, path_fieldReference);
3288
3363
  if (referencepath_fieldReferenceValidationError !== null) {
3289
3364
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
3290
3365
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3309,7 +3384,7 @@ function validate$x(obj, path = 'SemanticGroupingInputRepresentation') {
3309
3384
  return v_error === undefined ? null : v_error;
3310
3385
  }
3311
3386
 
3312
- function validate$w(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
3387
+ function validate$C(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
3313
3388
  const v_error = (() => {
3314
3389
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3315
3390
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3353,7 +3428,7 @@ function validate$w(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
3353
3428
  return v_error === undefined ? null : v_error;
3354
3429
  }
3355
3430
 
3356
- function validate$v(obj, path = 'SemanticRelationshipInputRepresentation') {
3431
+ function validate$B(obj, path = 'SemanticRelationshipInputRepresentation') {
3357
3432
  const v_error = (() => {
3358
3433
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3359
3434
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3381,7 +3456,7 @@ function validate$v(obj, path = 'SemanticRelationshipInputRepresentation') {
3381
3456
  for (let i = 0; i < obj_criteria.length; i++) {
3382
3457
  const obj_criteria_item = obj_criteria[i];
3383
3458
  const path_criteria_item = path_criteria + '[' + i + ']';
3384
- const referencepath_criteria_itemValidationError = validate$w(obj_criteria_item, path_criteria_item);
3459
+ const referencepath_criteria_itemValidationError = validate$C(obj_criteria_item, path_criteria_item);
3385
3460
  if (referencepath_criteria_itemValidationError !== null) {
3386
3461
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
3387
3462
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3442,7 +3517,7 @@ function validate$v(obj, path = 'SemanticRelationshipInputRepresentation') {
3442
3517
  return v_error === undefined ? null : v_error;
3443
3518
  }
3444
3519
 
3445
- function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
3520
+ function validate$A(obj, path = 'SemanticMappedFieldInputRepresentation') {
3446
3521
  const v_error = (() => {
3447
3522
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3448
3523
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3470,7 +3545,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
3470
3545
  for (let i = 0; i < obj_fields.length; i++) {
3471
3546
  const obj_fields_item = obj_fields[i];
3472
3547
  const path_fields_item = path_fields + '[' + i + ']';
3473
- const referencepath_fields_itemValidationError = validate$z(obj_fields_item, path_fields_item);
3548
+ const referencepath_fields_itemValidationError = validate$F(obj_fields_item, path_fields_item);
3474
3549
  if (referencepath_fields_itemValidationError !== null) {
3475
3550
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
3476
3551
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3495,7 +3570,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
3495
3570
  if (obj.semanticDimension !== undefined) {
3496
3571
  const obj_semanticDimension = obj.semanticDimension;
3497
3572
  const path_semanticDimension = path + '.semanticDimension';
3498
- const referencepath_semanticDimensionValidationError = validate$G(obj_semanticDimension, path_semanticDimension);
3573
+ const referencepath_semanticDimensionValidationError = validate$M(obj_semanticDimension, path_semanticDimension);
3499
3574
  if (referencepath_semanticDimensionValidationError !== null) {
3500
3575
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
3501
3576
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3505,7 +3580,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
3505
3580
  if (obj.semanticMeasurement !== undefined) {
3506
3581
  const obj_semanticMeasurement = obj.semanticMeasurement;
3507
3582
  const path_semanticMeasurement = path + '.semanticMeasurement';
3508
- const referencepath_semanticMeasurementValidationError = validate$F(obj_semanticMeasurement, path_semanticMeasurement);
3583
+ const referencepath_semanticMeasurementValidationError = validate$L(obj_semanticMeasurement, path_semanticMeasurement);
3509
3584
  if (referencepath_semanticMeasurementValidationError !== null) {
3510
3585
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
3511
3586
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3516,7 +3591,7 @@ function validate$u(obj, path = 'SemanticMappedFieldInputRepresentation') {
3516
3591
  return v_error === undefined ? null : v_error;
3517
3592
  }
3518
3593
 
3519
- function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
3594
+ function validate$z(obj, path = 'SemanticUnionInputRepresentation') {
3520
3595
  const v_error = (() => {
3521
3596
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3522
3597
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3551,7 +3626,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
3551
3626
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
3552
3627
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
3553
3628
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
3554
- const referencepath_semanticDataObjects_itemValidationError = validate$E(obj_semanticDataObjects_item, path_semanticDataObjects_item);
3629
+ const referencepath_semanticDataObjects_itemValidationError = validate$K(obj_semanticDataObjects_item, path_semanticDataObjects_item);
3555
3630
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
3556
3631
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
3557
3632
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3568,7 +3643,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
3568
3643
  for (let i = 0; i < obj_semanticMappedFields.length; i++) {
3569
3644
  const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
3570
3645
  const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
3571
- const referencepath_semanticMappedFields_itemValidationError = validate$u(obj_semanticMappedFields_item, path_semanticMappedFields_item);
3646
+ const referencepath_semanticMappedFields_itemValidationError = validate$A(obj_semanticMappedFields_item, path_semanticMappedFields_item);
3572
3647
  if (referencepath_semanticMappedFields_itemValidationError !== null) {
3573
3648
  let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
3574
3649
  message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3580,7 +3655,7 @@ function validate$t(obj, path = 'SemanticUnionInputRepresentation') {
3580
3655
  return v_error === undefined ? null : v_error;
3581
3656
  }
3582
3657
 
3583
- function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3658
+ function validate$y(obj, path = 'SemanticLogicalViewInputRepresentation') {
3584
3659
  const v_error = (() => {
3585
3660
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3586
3661
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3592,6 +3667,13 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3592
3667
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
3593
3668
  }
3594
3669
  }
3670
+ if (obj.customSql !== undefined) {
3671
+ const obj_customSql = obj.customSql;
3672
+ const path_customSql = path + '.customSql';
3673
+ if (typeof obj_customSql !== 'string') {
3674
+ return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
3675
+ }
3676
+ }
3595
3677
  if (obj.description !== undefined) {
3596
3678
  const obj_description = obj.description;
3597
3679
  const path_description = path + '.description';
@@ -3615,7 +3697,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3615
3697
  for (let i = 0; i < obj_filters.length; i++) {
3616
3698
  const obj_filters_item = obj_filters[i];
3617
3699
  const path_filters_item = path_filters + '[' + i + ']';
3618
- const referencepath_filters_itemValidationError = validate$J(obj_filters_item, path_filters_item);
3700
+ const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
3619
3701
  if (referencepath_filters_itemValidationError !== null) {
3620
3702
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
3621
3703
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3639,7 +3721,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3639
3721
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
3640
3722
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
3641
3723
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
3642
- const referencepath_semanticDataObjects_itemValidationError = validate$E(obj_semanticDataObjects_item, path_semanticDataObjects_item);
3724
+ const referencepath_semanticDataObjects_itemValidationError = validate$K(obj_semanticDataObjects_item, path_semanticDataObjects_item);
3643
3725
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
3644
3726
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
3645
3727
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3656,7 +3738,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3656
3738
  for (let i = 0; i < obj_semanticRelationships.length; i++) {
3657
3739
  const obj_semanticRelationships_item = obj_semanticRelationships[i];
3658
3740
  const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
3659
- const referencepath_semanticRelationships_itemValidationError = validate$v(obj_semanticRelationships_item, path_semanticRelationships_item);
3741
+ const referencepath_semanticRelationships_itemValidationError = validate$B(obj_semanticRelationships_item, path_semanticRelationships_item);
3660
3742
  if (referencepath_semanticRelationships_itemValidationError !== null) {
3661
3743
  let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
3662
3744
  message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3673,7 +3755,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3673
3755
  for (let i = 0; i < obj_semanticUnions.length; i++) {
3674
3756
  const obj_semanticUnions_item = obj_semanticUnions[i];
3675
3757
  const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
3676
- const referencepath_semanticUnions_itemValidationError = validate$t(obj_semanticUnions_item, path_semanticUnions_item);
3758
+ const referencepath_semanticUnions_itemValidationError = validate$z(obj_semanticUnions_item, path_semanticUnions_item);
3677
3759
  if (referencepath_semanticUnions_itemValidationError !== null) {
3678
3760
  let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
3679
3761
  message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3685,7 +3767,7 @@ function validate$s(obj, path = 'SemanticLogicalViewInputRepresentation') {
3685
3767
  return v_error === undefined ? null : v_error;
3686
3768
  }
3687
3769
 
3688
- function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
3770
+ function validate$x(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
3689
3771
  const v_error = (() => {
3690
3772
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3691
3773
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3693,7 +3775,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
3693
3775
  if (obj.identifierDimensionReference !== undefined) {
3694
3776
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
3695
3777
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
3696
- const referencepath_identifierDimensionReferenceValidationError = validate$y(obj_identifierDimensionReference, path_identifierDimensionReference);
3778
+ const referencepath_identifierDimensionReferenceValidationError = validate$E(obj_identifierDimensionReference, path_identifierDimensionReference);
3697
3779
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
3698
3780
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
3699
3781
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3703,7 +3785,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
3703
3785
  if (obj.namingDimensionReference !== undefined) {
3704
3786
  const obj_namingDimensionReference = obj.namingDimensionReference;
3705
3787
  const path_namingDimensionReference = path + '.namingDimensionReference';
3706
- const referencepath_namingDimensionReferenceValidationError = validate$y(obj_namingDimensionReference, path_namingDimensionReference);
3788
+ const referencepath_namingDimensionReferenceValidationError = validate$E(obj_namingDimensionReference, path_namingDimensionReference);
3707
3789
  if (referencepath_namingDimensionReferenceValidationError !== null) {
3708
3790
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
3709
3791
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3714,7 +3796,7 @@ function validate$r(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
3714
3796
  return v_error === undefined ? null : v_error;
3715
3797
  }
3716
3798
 
3717
- function validate$q(obj, path = 'SemanticInsightTypeInputRepresentation') {
3799
+ function validate$w(obj, path = 'SemanticInsightTypeInputRepresentation') {
3718
3800
  const v_error = (() => {
3719
3801
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3720
3802
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3737,7 +3819,7 @@ function validate$q(obj, path = 'SemanticInsightTypeInputRepresentation') {
3737
3819
  return v_error === undefined ? null : v_error;
3738
3820
  }
3739
3821
 
3740
- function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3822
+ function validate$v(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3741
3823
  const v_error = (() => {
3742
3824
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3743
3825
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3745,7 +3827,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3745
3827
  if (obj.identifyingDimension !== undefined) {
3746
3828
  const obj_identifyingDimension = obj.identifyingDimension;
3747
3829
  const path_identifyingDimension = path + '.identifyingDimension';
3748
- const referencepath_identifyingDimensionValidationError = validate$r(obj_identifyingDimension, path_identifyingDimension);
3830
+ const referencepath_identifyingDimensionValidationError = validate$x(obj_identifyingDimension, path_identifyingDimension);
3749
3831
  if (referencepath_identifyingDimensionValidationError !== null) {
3750
3832
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
3751
3833
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3761,7 +3843,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3761
3843
  for (let i = 0; i < obj_insightTypes.length; i++) {
3762
3844
  const obj_insightTypes_item = obj_insightTypes[i];
3763
3845
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
3764
- const referencepath_insightTypes_itemValidationError = validate$q(obj_insightTypes_item, path_insightTypes_item);
3846
+ const referencepath_insightTypes_itemValidationError = validate$w(obj_insightTypes_item, path_insightTypes_item);
3765
3847
  if (referencepath_insightTypes_itemValidationError !== null) {
3766
3848
  let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
3767
3849
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3778,7 +3860,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3778
3860
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
3779
3861
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
3780
3862
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
3781
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$y(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
3863
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$E(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
3782
3864
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
3783
3865
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
3784
3866
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3811,7 +3893,7 @@ function validate$p(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
3811
3893
  return v_error === undefined ? null : v_error;
3812
3894
  }
3813
3895
 
3814
- function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3896
+ function validate$u(obj, path = 'SemanticMetricInputRepresentation') {
3815
3897
  const v_error = (() => {
3816
3898
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3817
3899
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3825,7 +3907,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3825
3907
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
3826
3908
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
3827
3909
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
3828
- const referencepath_additionalDimensions_itemValidationError = validate$y(obj_additionalDimensions_item, path_additionalDimensions_item);
3910
+ const referencepath_additionalDimensions_itemValidationError = validate$E(obj_additionalDimensions_item, path_additionalDimensions_item);
3829
3911
  if (referencepath_additionalDimensions_itemValidationError !== null) {
3830
3912
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
3831
3913
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3870,7 +3952,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3870
3952
  for (let i = 0; i < obj_filters.length; i++) {
3871
3953
  const obj_filters_item = obj_filters[i];
3872
3954
  const path_filters_item = path_filters + '[' + i + ']';
3873
- const referencepath_filters_itemValidationError = validate$J(obj_filters_item, path_filters_item);
3955
+ const referencepath_filters_itemValidationError = validate$P(obj_filters_item, path_filters_item);
3874
3956
  if (referencepath_filters_itemValidationError !== null) {
3875
3957
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
3876
3958
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3881,7 +3963,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3881
3963
  if (obj.insightsSettings !== undefined) {
3882
3964
  const obj_insightsSettings = obj.insightsSettings;
3883
3965
  const path_insightsSettings = path + '.insightsSettings';
3884
- const referencepath_insightsSettingsValidationError = validate$p(obj_insightsSettings, path_insightsSettings);
3966
+ const referencepath_insightsSettingsValidationError = validate$v(obj_insightsSettings, path_insightsSettings);
3885
3967
  if (referencepath_insightsSettingsValidationError !== null) {
3886
3968
  let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
3887
3969
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3905,7 +3987,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3905
3987
  if (obj.measurementReference !== undefined) {
3906
3988
  const obj_measurementReference = obj.measurementReference;
3907
3989
  const path_measurementReference = path + '.measurementReference';
3908
- const referencepath_measurementReferenceValidationError = validate$y(obj_measurementReference, path_measurementReference);
3990
+ const referencepath_measurementReferenceValidationError = validate$E(obj_measurementReference, path_measurementReference);
3909
3991
  if (referencepath_measurementReferenceValidationError !== null) {
3910
3992
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
3911
3993
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3915,7 +3997,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3915
3997
  if (obj.timeDimensionReference !== undefined) {
3916
3998
  const obj_timeDimensionReference = obj.timeDimensionReference;
3917
3999
  const path_timeDimensionReference = path + '.timeDimensionReference';
3918
- const referencepath_timeDimensionReferenceValidationError = validate$y(obj_timeDimensionReference, path_timeDimensionReference);
4000
+ const referencepath_timeDimensionReferenceValidationError = validate$E(obj_timeDimensionReference, path_timeDimensionReference);
3919
4001
  if (referencepath_timeDimensionReferenceValidationError !== null) {
3920
4002
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
3921
4003
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3940,7 +4022,7 @@ function validate$o(obj, path = 'SemanticMetricInputRepresentation') {
3940
4022
  return v_error === undefined ? null : v_error;
3941
4023
  }
3942
4024
 
3943
- function validate$n(obj, path = 'SemanticParameterInputRepresentation') {
4025
+ function validate$t(obj, path = 'SemanticParameterInputRepresentation') {
3944
4026
  const v_error = (() => {
3945
4027
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3946
4028
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4026,8 +4108,8 @@ function validate$n(obj, path = 'SemanticParameterInputRepresentation') {
4026
4108
  return v_error === undefined ? null : v_error;
4027
4109
  }
4028
4110
 
4029
- const VERSION$i = "ff65b61056eb2b2c8408d53df92d147b";
4030
- function validate$m(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
4111
+ const VERSION$i = "51514a172af5e420504a2143725b4528";
4112
+ function validate$s(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
4031
4113
  const v_error = (() => {
4032
4114
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4033
4115
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4044,6 +4126,13 @@ function validate$m(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
4044
4126
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4045
4127
  }
4046
4128
  }
4129
+ if (obj.cacheKey !== undefined) {
4130
+ const obj_cacheKey = obj.cacheKey;
4131
+ const path_cacheKey = path + '.cacheKey';
4132
+ if (typeof obj_cacheKey !== 'string') {
4133
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
4134
+ }
4135
+ }
4047
4136
  const obj_createdBy = obj.createdBy;
4048
4137
  const path_createdBy = path + '.createdBy';
4049
4138
  if (typeof obj_createdBy !== 'string') {
@@ -4105,7 +4194,7 @@ function validate$m(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
4105
4194
  for (let i = 0; i < obj_filters.length; i++) {
4106
4195
  const obj_filters_item = obj_filters[i];
4107
4196
  const path_filters_item = path_filters + '[' + i + ']';
4108
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
4197
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
4109
4198
  if (referencepath_filters_itemValidationError !== null) {
4110
4199
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
4111
4200
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4199,6 +4288,11 @@ const select$s = function SemanticCalculatedDimensionOutputRepresentationSelect(
4199
4288
  kind: 'Scalar',
4200
4289
  required: false
4201
4290
  },
4291
+ {
4292
+ name: 'cacheKey',
4293
+ kind: 'Scalar',
4294
+ required: false
4295
+ },
4202
4296
  {
4203
4297
  name: 'createdBy',
4204
4298
  kind: 'Scalar'
@@ -4331,6 +4425,19 @@ function equals$i(existing, incoming) {
4331
4425
  return false;
4332
4426
  }
4333
4427
  }
4428
+ const existing_cacheKey = existing.cacheKey;
4429
+ const incoming_cacheKey = incoming.cacheKey;
4430
+ // if at least one of these optionals is defined
4431
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
4432
+ // if one of these is not defined we know the other is defined and therefore
4433
+ // not equal
4434
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
4435
+ return false;
4436
+ }
4437
+ if (!(existing_cacheKey === incoming_cacheKey)) {
4438
+ return false;
4439
+ }
4440
+ }
4334
4441
  const existing_createdBy = existing.createdBy;
4335
4442
  const incoming_createdBy = incoming.createdBy;
4336
4443
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -4511,7 +4618,7 @@ function equals$i(existing, incoming) {
4511
4618
  }
4512
4619
  const ingest$d = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4513
4620
  if (process.env.NODE_ENV !== 'production') {
4514
- const validateError = validate$m(input);
4621
+ const validateError = validate$s(input);
4515
4622
  if (validateError !== null) {
4516
4623
  throw validateError;
4517
4624
  }
@@ -4531,8 +4638,8 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
4531
4638
  });
4532
4639
  }
4533
4640
 
4534
- const VERSION$h = "1941c0559a1eafb8d429d1f9d139b28f";
4535
- function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
4641
+ const VERSION$h = "6c8d910667cf399d3aa6e5a57e1fdd61";
4642
+ function validate$r(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
4536
4643
  const v_error = (() => {
4537
4644
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4538
4645
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4556,6 +4663,13 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
4556
4663
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
4557
4664
  }
4558
4665
  }
4666
+ if (obj.cacheKey !== undefined) {
4667
+ const obj_cacheKey = obj.cacheKey;
4668
+ const path_cacheKey = path + '.cacheKey';
4669
+ if (typeof obj_cacheKey !== 'string') {
4670
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
4671
+ }
4672
+ }
4559
4673
  const obj_createdBy = obj.createdBy;
4560
4674
  const path_createdBy = path + '.createdBy';
4561
4675
  if (typeof obj_createdBy !== 'string') {
@@ -4624,7 +4738,7 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
4624
4738
  for (let i = 0; i < obj_filters.length; i++) {
4625
4739
  const obj_filters_item = obj_filters[i];
4626
4740
  const path_filters_item = path_filters + '[' + i + ']';
4627
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
4741
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
4628
4742
  if (referencepath_filters_itemValidationError !== null) {
4629
4743
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
4630
4744
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4679,6 +4793,13 @@ function validate$l(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
4679
4793
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
4680
4794
  }
4681
4795
  }
4796
+ if (obj.sentiment !== undefined) {
4797
+ const obj_sentiment = obj.sentiment;
4798
+ const path_sentiment = path + '.sentiment';
4799
+ if (typeof obj_sentiment !== 'string') {
4800
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
4801
+ }
4802
+ }
4682
4803
  if (obj.shouldTreatNullsAsZeros !== undefined) {
4683
4804
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
4684
4805
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -4744,6 +4865,11 @@ const select$r = function SemanticCalculatedMeasurementOutputRepresentationSelec
4744
4865
  kind: 'Scalar',
4745
4866
  required: false
4746
4867
  },
4868
+ {
4869
+ name: 'cacheKey',
4870
+ kind: 'Scalar',
4871
+ required: false
4872
+ },
4747
4873
  {
4748
4874
  name: 'createdBy',
4749
4875
  kind: 'Scalar'
@@ -4828,6 +4954,11 @@ const select$r = function SemanticCalculatedMeasurementOutputRepresentationSelec
4828
4954
  kind: 'Scalar',
4829
4955
  required: false
4830
4956
  },
4957
+ {
4958
+ name: 'sentiment',
4959
+ kind: 'Scalar',
4960
+ required: false
4961
+ },
4831
4962
  {
4832
4963
  name: 'shouldTreatNullsAsZeros',
4833
4964
  kind: 'Scalar',
@@ -4935,6 +5066,19 @@ function equals$h(existing, incoming) {
4935
5066
  return false;
4936
5067
  }
4937
5068
  }
5069
+ const existing_cacheKey = existing.cacheKey;
5070
+ const incoming_cacheKey = incoming.cacheKey;
5071
+ // if at least one of these optionals is defined
5072
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
5073
+ // if one of these is not defined we know the other is defined and therefore
5074
+ // not equal
5075
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
5076
+ return false;
5077
+ }
5078
+ if (!(existing_cacheKey === incoming_cacheKey)) {
5079
+ return false;
5080
+ }
5081
+ }
4938
5082
  const existing_createdBy = existing.createdBy;
4939
5083
  const incoming_createdBy = incoming.createdBy;
4940
5084
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -5080,6 +5224,19 @@ function equals$h(existing, incoming) {
5080
5224
  return false;
5081
5225
  }
5082
5226
  }
5227
+ const existing_sentiment = existing.sentiment;
5228
+ const incoming_sentiment = incoming.sentiment;
5229
+ // if at least one of these optionals is defined
5230
+ if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
5231
+ // if one of these is not defined we know the other is defined and therefore
5232
+ // not equal
5233
+ if (existing_sentiment === undefined || incoming_sentiment === undefined) {
5234
+ return false;
5235
+ }
5236
+ if (!(existing_sentiment === incoming_sentiment)) {
5237
+ return false;
5238
+ }
5239
+ }
5083
5240
  const existing_sortOrder = existing.sortOrder;
5084
5241
  const incoming_sortOrder = incoming.sortOrder;
5085
5242
  // if at least one of these optionals is defined
@@ -5141,7 +5298,7 @@ function equals$h(existing, incoming) {
5141
5298
  }
5142
5299
  const ingest$c = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5143
5300
  if (process.env.NODE_ENV !== 'production') {
5144
- const validateError = validate$l(input);
5301
+ const validateError = validate$r(input);
5145
5302
  if (validateError !== null) {
5146
5303
  throw validateError;
5147
5304
  }
@@ -5161,7 +5318,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
5161
5318
  });
5162
5319
  }
5163
5320
 
5164
- function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
5321
+ function validate$q(obj, path = 'SemanticDimensionOutputRepresentation') {
5165
5322
  const v_error = (() => {
5166
5323
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5167
5324
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5178,6 +5335,13 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
5178
5335
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
5179
5336
  }
5180
5337
  }
5338
+ if (obj.cacheKey !== undefined) {
5339
+ const obj_cacheKey = obj.cacheKey;
5340
+ const path_cacheKey = path + '.cacheKey';
5341
+ if (typeof obj_cacheKey !== 'string') {
5342
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
5343
+ }
5344
+ }
5181
5345
  const obj_createdBy = obj.createdBy;
5182
5346
  const path_createdBy = path + '.createdBy';
5183
5347
  if (typeof obj_createdBy !== 'string') {
@@ -5228,6 +5392,20 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
5228
5392
  if (typeof obj_id !== 'string') {
5229
5393
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
5230
5394
  }
5395
+ if (obj.isKeyQualifier !== undefined) {
5396
+ const obj_isKeyQualifier = obj.isKeyQualifier;
5397
+ const path_isKeyQualifier = path + '.isKeyQualifier';
5398
+ if (typeof obj_isKeyQualifier !== 'boolean') {
5399
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
5400
+ }
5401
+ }
5402
+ if (obj.isPrimaryKey !== undefined) {
5403
+ const obj_isPrimaryKey = obj.isPrimaryKey;
5404
+ const path_isPrimaryKey = path + '.isPrimaryKey';
5405
+ if (typeof obj_isPrimaryKey !== 'boolean') {
5406
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
5407
+ }
5408
+ }
5231
5409
  if (obj.isVisible !== undefined) {
5232
5410
  const obj_isVisible = obj.isVisible;
5233
5411
  const path_isVisible = path + '.isVisible';
@@ -5235,6 +5413,13 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
5235
5413
  return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
5236
5414
  }
5237
5415
  }
5416
+ if (obj.keyQualifierName !== undefined) {
5417
+ const obj_keyQualifierName = obj.keyQualifierName;
5418
+ const path_keyQualifierName = path + '.keyQualifierName';
5419
+ if (typeof obj_keyQualifierName !== 'string') {
5420
+ return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
5421
+ }
5422
+ }
5238
5423
  if (obj.label !== undefined) {
5239
5424
  const obj_label = obj.label;
5240
5425
  const path_label = path + '.label';
@@ -5274,7 +5459,7 @@ function validate$k(obj, path = 'SemanticDimensionOutputRepresentation') {
5274
5459
  return v_error === undefined ? null : v_error;
5275
5460
  }
5276
5461
 
5277
- function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5462
+ function validate$p(obj, path = 'SemanticMeasurementOutputRepresentation') {
5278
5463
  const v_error = (() => {
5279
5464
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5280
5465
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5298,6 +5483,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5298
5483
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
5299
5484
  }
5300
5485
  }
5486
+ if (obj.cacheKey !== undefined) {
5487
+ const obj_cacheKey = obj.cacheKey;
5488
+ const path_cacheKey = path + '.cacheKey';
5489
+ if (typeof obj_cacheKey !== 'string') {
5490
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
5491
+ }
5492
+ }
5301
5493
  const obj_createdBy = obj.createdBy;
5302
5494
  const path_createdBy = path + '.createdBy';
5303
5495
  if (typeof obj_createdBy !== 'string') {
@@ -5362,6 +5554,20 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5362
5554
  return new TypeError('Expected "boolean" but received "' + typeof obj_isAggregatable + '" (at "' + path_isAggregatable + '")');
5363
5555
  }
5364
5556
  }
5557
+ if (obj.isKeyQualifier !== undefined) {
5558
+ const obj_isKeyQualifier = obj.isKeyQualifier;
5559
+ const path_isKeyQualifier = path + '.isKeyQualifier';
5560
+ if (typeof obj_isKeyQualifier !== 'boolean') {
5561
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isKeyQualifier + '" (at "' + path_isKeyQualifier + '")');
5562
+ }
5563
+ }
5564
+ if (obj.isPrimaryKey !== undefined) {
5565
+ const obj_isPrimaryKey = obj.isPrimaryKey;
5566
+ const path_isPrimaryKey = path + '.isPrimaryKey';
5567
+ if (typeof obj_isPrimaryKey !== 'boolean') {
5568
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isPrimaryKey + '" (at "' + path_isPrimaryKey + '")');
5569
+ }
5570
+ }
5365
5571
  if (obj.isVisible !== undefined) {
5366
5572
  const obj_isVisible = obj.isVisible;
5367
5573
  const path_isVisible = path + '.isVisible';
@@ -5369,6 +5575,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5369
5575
  return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
5370
5576
  }
5371
5577
  }
5578
+ if (obj.keyQualifierName !== undefined) {
5579
+ const obj_keyQualifierName = obj.keyQualifierName;
5580
+ const path_keyQualifierName = path + '.keyQualifierName';
5581
+ if (typeof obj_keyQualifierName !== 'string') {
5582
+ return new TypeError('Expected "string" but received "' + typeof obj_keyQualifierName + '" (at "' + path_keyQualifierName + '")');
5583
+ }
5584
+ }
5372
5585
  if (obj.label !== undefined) {
5373
5586
  const obj_label = obj.label;
5374
5587
  const path_label = path + '.label';
@@ -5397,6 +5610,13 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5397
5610
  return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
5398
5611
  }
5399
5612
  }
5613
+ if (obj.sentiment !== undefined) {
5614
+ const obj_sentiment = obj.sentiment;
5615
+ const path_sentiment = path + '.sentiment';
5616
+ if (typeof obj_sentiment !== 'string') {
5617
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
5618
+ }
5619
+ }
5400
5620
  if (obj.shouldTreatNullsAsZeros !== undefined) {
5401
5621
  const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
5402
5622
  const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
@@ -5415,8 +5635,8 @@ function validate$j(obj, path = 'SemanticMeasurementOutputRepresentation') {
5415
5635
  return v_error === undefined ? null : v_error;
5416
5636
  }
5417
5637
 
5418
- const VERSION$g = "1dea062ab9ae6d8661840da6e8db32f5";
5419
- function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
5638
+ const VERSION$g = "4f111b93807b811179eb310384efdc35";
5639
+ function validate$o(obj, path = 'SemanticDataObjectOutputRepresentation') {
5420
5640
  const v_error = (() => {
5421
5641
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5422
5642
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5433,6 +5653,13 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
5433
5653
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
5434
5654
  }
5435
5655
  }
5656
+ if (obj.cacheKey !== undefined) {
5657
+ const obj_cacheKey = obj.cacheKey;
5658
+ const path_cacheKey = path + '.cacheKey';
5659
+ if (typeof obj_cacheKey !== 'string') {
5660
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
5661
+ }
5662
+ }
5436
5663
  const obj_createdBy = obj.createdBy;
5437
5664
  const path_createdBy = path + '.createdBy';
5438
5665
  if (typeof obj_createdBy !== 'string') {
@@ -5480,7 +5707,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
5480
5707
  for (let i = 0; i < obj_filters.length; i++) {
5481
5708
  const obj_filters_item = obj_filters[i];
5482
5709
  const path_filters_item = path_filters + '[' + i + ']';
5483
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
5710
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
5484
5711
  if (referencepath_filters_itemValidationError !== null) {
5485
5712
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5486
5713
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5530,7 +5757,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
5530
5757
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
5531
5758
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
5532
5759
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
5533
- const referencepath_semanticDimensions_itemValidationError = validate$k(obj_semanticDimensions_item, path_semanticDimensions_item);
5760
+ const referencepath_semanticDimensions_itemValidationError = validate$q(obj_semanticDimensions_item, path_semanticDimensions_item);
5534
5761
  if (referencepath_semanticDimensions_itemValidationError !== null) {
5535
5762
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
5536
5763
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5554,7 +5781,7 @@ function validate$i(obj, path = 'SemanticDataObjectOutputRepresentation') {
5554
5781
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
5555
5782
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
5556
5783
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
5557
- const referencepath_semanticMeasurements_itemValidationError = validate$j(obj_semanticMeasurements_item, path_semanticMeasurements_item);
5784
+ const referencepath_semanticMeasurements_itemValidationError = validate$p(obj_semanticMeasurements_item, path_semanticMeasurements_item);
5558
5785
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
5559
5786
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
5560
5787
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5608,7 +5835,7 @@ function equals$g(existing, incoming) {
5608
5835
  }
5609
5836
  const ingest$b = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5610
5837
  if (process.env.NODE_ENV !== 'production') {
5611
- const validateError = validate$i(input);
5838
+ const validateError = validate$o(input);
5612
5839
  if (validateError !== null) {
5613
5840
  throw validateError;
5614
5841
  }
@@ -5629,7 +5856,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
5629
5856
  }
5630
5857
 
5631
5858
  const VERSION$f = "ed64ca1a99171ace8b53aff11746cc2a";
5632
- function validate$h(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
5859
+ function validate$n(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
5633
5860
  const v_error = (() => {
5634
5861
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5635
5862
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5661,7 +5888,7 @@ function equals$f(existing, incoming) {
5661
5888
  }
5662
5889
 
5663
5890
  const VERSION$e = "2cdadcd630abb7b981b2d131880a68c0";
5664
- function validate$g(obj, path = 'GroupDimensionGroupOutputRepresentation') {
5891
+ function validate$m(obj, path = 'GroupDimensionGroupOutputRepresentation') {
5665
5892
  const v_error = (() => {
5666
5893
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5667
5894
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5735,7 +5962,7 @@ function equals$e(existing, incoming) {
5735
5962
  }
5736
5963
 
5737
5964
  const VERSION$d = "55c60b6207985632192cb4e419822a86";
5738
- function validate$f(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
5965
+ function validate$l(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
5739
5966
  const v_error = (() => {
5740
5967
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5741
5968
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5749,7 +5976,7 @@ function validate$f(obj, path = 'GroupDimensionConfigurationOutputRepresentation
5749
5976
  for (let i = 0; i < obj_groups.length; i++) {
5750
5977
  const obj_groups_item = obj_groups[i];
5751
5978
  const path_groups_item = path_groups + '[' + i + ']';
5752
- const referencepath_groups_itemValidationError = validate$g(obj_groups_item, path_groups_item);
5979
+ const referencepath_groups_itemValidationError = validate$m(obj_groups_item, path_groups_item);
5753
5980
  if (referencepath_groups_itemValidationError !== null) {
5754
5981
  let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
5755
5982
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5825,7 +6052,7 @@ function equals$d(existing, incoming) {
5825
6052
  }
5826
6053
 
5827
6054
  const VERSION$c = "50dc390b159159afb1945b9a811c9f80";
5828
- function validate$e(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
6055
+ function validate$k(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
5829
6056
  const v_error = (() => {
5830
6057
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5831
6058
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5833,7 +6060,7 @@ function validate$e(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
5833
6060
  if (obj.binDimension !== undefined) {
5834
6061
  const obj_binDimension = obj.binDimension;
5835
6062
  const path_binDimension = path + '.binDimension';
5836
- const referencepath_binDimensionValidationError = validate$h(obj_binDimension, path_binDimension);
6063
+ const referencepath_binDimensionValidationError = validate$n(obj_binDimension, path_binDimension);
5837
6064
  if (referencepath_binDimensionValidationError !== null) {
5838
6065
  let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
5839
6066
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5843,7 +6070,7 @@ function validate$e(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
5843
6070
  if (obj.groupDimension !== undefined) {
5844
6071
  const obj_groupDimension = obj.groupDimension;
5845
6072
  const path_groupDimension = path + '.groupDimension';
5846
- const referencepath_groupDimensionValidationError = validate$f(obj_groupDimension, path_groupDimension);
6073
+ const referencepath_groupDimensionValidationError = validate$l(obj_groupDimension, path_groupDimension);
5847
6074
  if (referencepath_groupDimensionValidationError !== null) {
5848
6075
  let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
5849
6076
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5906,8 +6133,8 @@ function equals$c(existing, incoming) {
5906
6133
  return true;
5907
6134
  }
5908
6135
 
5909
- const VERSION$b = "79ff229f45e15671c1db4ce569f7bc8c";
5910
- function validate$d(obj, path = 'SemanticGroupingOutputRepresentation') {
6136
+ const VERSION$b = "1daec40706bf767c719fa58831fad462";
6137
+ function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
5911
6138
  const v_error = (() => {
5912
6139
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5913
6140
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5924,9 +6151,16 @@ function validate$d(obj, path = 'SemanticGroupingOutputRepresentation') {
5924
6151
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
5925
6152
  }
5926
6153
  }
6154
+ if (obj.cacheKey !== undefined) {
6155
+ const obj_cacheKey = obj.cacheKey;
6156
+ const path_cacheKey = path + '.cacheKey';
6157
+ if (typeof obj_cacheKey !== 'string') {
6158
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
6159
+ }
6160
+ }
5927
6161
  const obj_configuration = obj.configuration;
5928
6162
  const path_configuration = path + '.configuration';
5929
- const referencepath_configurationValidationError = validate$e(obj_configuration, path_configuration);
6163
+ const referencepath_configurationValidationError = validate$k(obj_configuration, path_configuration);
5930
6164
  if (referencepath_configurationValidationError !== null) {
5931
6165
  let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
5932
6166
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5951,7 +6185,7 @@ function validate$d(obj, path = 'SemanticGroupingOutputRepresentation') {
5951
6185
  }
5952
6186
  const obj_fieldReference = obj.fieldReference;
5953
6187
  const path_fieldReference = path + '.fieldReference';
5954
- const referencepath_fieldReferenceValidationError = validate$U(obj_fieldReference, path_fieldReference);
6188
+ const referencepath_fieldReferenceValidationError = validate$_(obj_fieldReference, path_fieldReference);
5955
6189
  if (referencepath_fieldReferenceValidationError !== null) {
5956
6190
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
5957
6191
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6021,6 +6255,11 @@ const select$l = function SemanticGroupingOutputRepresentationSelect() {
6021
6255
  kind: 'Scalar',
6022
6256
  required: false
6023
6257
  },
6258
+ {
6259
+ name: 'cacheKey',
6260
+ kind: 'Scalar',
6261
+ required: false
6262
+ },
6024
6263
  {
6025
6264
  name: 'configuration',
6026
6265
  kind: 'Object',
@@ -6089,6 +6328,19 @@ function equals$b(existing, incoming) {
6089
6328
  return false;
6090
6329
  }
6091
6330
  }
6331
+ const existing_cacheKey = existing.cacheKey;
6332
+ const incoming_cacheKey = incoming.cacheKey;
6333
+ // if at least one of these optionals is defined
6334
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
6335
+ // if one of these is not defined we know the other is defined and therefore
6336
+ // not equal
6337
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
6338
+ return false;
6339
+ }
6340
+ if (!(existing_cacheKey === incoming_cacheKey)) {
6341
+ return false;
6342
+ }
6343
+ }
6092
6344
  const existing_createdBy = existing.createdBy;
6093
6345
  const incoming_createdBy = incoming.createdBy;
6094
6346
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -6175,7 +6427,7 @@ function equals$b(existing, incoming) {
6175
6427
  }
6176
6428
  const ingest$a = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6177
6429
  if (process.env.NODE_ENV !== 'production') {
6178
- const validateError = validate$d(input);
6430
+ const validateError = validate$j(input);
6179
6431
  if (validateError !== null) {
6180
6432
  throw validateError;
6181
6433
  }
@@ -6196,7 +6448,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
6196
6448
  }
6197
6449
 
6198
6450
  const VERSION$a = "c5144c317ac72b60d580cab803514b8d";
6199
- function validate$c(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
6451
+ function validate$i(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
6200
6452
  const v_error = (() => {
6201
6453
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6202
6454
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6342,8 +6594,8 @@ function equals$a(existing, incoming) {
6342
6594
  return true;
6343
6595
  }
6344
6596
 
6345
- const VERSION$9 = "126676ee704fc98f17b1aa33fb3ec5e3";
6346
- function validate$b(obj, path = 'SemanticRelationshipOutputRepresentation') {
6597
+ const VERSION$9 = "b9778dace5726fcb57804d3afd529246";
6598
+ function validate$h(obj, path = 'SemanticRelationshipOutputRepresentation') {
6347
6599
  const v_error = (() => {
6348
6600
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6349
6601
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6360,6 +6612,13 @@ function validate$b(obj, path = 'SemanticRelationshipOutputRepresentation') {
6360
6612
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
6361
6613
  }
6362
6614
  }
6615
+ if (obj.cacheKey !== undefined) {
6616
+ const obj_cacheKey = obj.cacheKey;
6617
+ const path_cacheKey = path + '.cacheKey';
6618
+ if (typeof obj_cacheKey !== 'string') {
6619
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
6620
+ }
6621
+ }
6363
6622
  if (obj.cardinality !== undefined) {
6364
6623
  const obj_cardinality = obj.cardinality;
6365
6624
  const path_cardinality = path + '.cardinality';
@@ -6386,7 +6645,7 @@ function validate$b(obj, path = 'SemanticRelationshipOutputRepresentation') {
6386
6645
  for (let i = 0; i < obj_criteria.length; i++) {
6387
6646
  const obj_criteria_item = obj_criteria[i];
6388
6647
  const path_criteria_item = path_criteria + '[' + i + ']';
6389
- const referencepath_criteria_itemValidationError = validate$c(obj_criteria_item, path_criteria_item);
6648
+ const referencepath_criteria_itemValidationError = validate$i(obj_criteria_item, path_criteria_item);
6390
6649
  if (referencepath_criteria_itemValidationError !== null) {
6391
6650
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
6392
6651
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6494,6 +6753,11 @@ const select$j = function SemanticRelationshipOutputRepresentationSelect() {
6494
6753
  kind: 'Scalar',
6495
6754
  required: false
6496
6755
  },
6756
+ {
6757
+ name: 'cacheKey',
6758
+ kind: 'Scalar',
6759
+ required: false
6760
+ },
6497
6761
  {
6498
6762
  name: 'cardinality',
6499
6763
  kind: 'Scalar',
@@ -6598,6 +6862,19 @@ function equals$9(existing, incoming) {
6598
6862
  return false;
6599
6863
  }
6600
6864
  }
6865
+ const existing_cacheKey = existing.cacheKey;
6866
+ const incoming_cacheKey = incoming.cacheKey;
6867
+ // if at least one of these optionals is defined
6868
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
6869
+ // if one of these is not defined we know the other is defined and therefore
6870
+ // not equal
6871
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
6872
+ return false;
6873
+ }
6874
+ if (!(existing_cacheKey === incoming_cacheKey)) {
6875
+ return false;
6876
+ }
6877
+ }
6601
6878
  const existing_cardinality = existing.cardinality;
6602
6879
  const incoming_cardinality = incoming.cardinality;
6603
6880
  // if at least one of these optionals is defined
@@ -6752,7 +7029,7 @@ function equals$9(existing, incoming) {
6752
7029
  }
6753
7030
  const ingest$9 = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6754
7031
  if (process.env.NODE_ENV !== 'production') {
6755
- const validateError = validate$b(input);
7032
+ const validateError = validate$h(input);
6756
7033
  if (validateError !== null) {
6757
7034
  throw validateError;
6758
7035
  }
@@ -6772,8 +7049,8 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
6772
7049
  });
6773
7050
  }
6774
7051
 
6775
- const VERSION$8 = "bc4b5bb87acebe62d6fb1a20acda10bb";
6776
- function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
7052
+ const VERSION$8 = "eaf9b57a92e764fb2b5c27b6e031cfe1";
7053
+ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
6777
7054
  const v_error = (() => {
6778
7055
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6779
7056
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6790,6 +7067,13 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
6790
7067
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
6791
7068
  }
6792
7069
  }
7070
+ if (obj.cacheKey !== undefined) {
7071
+ const obj_cacheKey = obj.cacheKey;
7072
+ const path_cacheKey = path + '.cacheKey';
7073
+ if (typeof obj_cacheKey !== 'string') {
7074
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
7075
+ }
7076
+ }
6793
7077
  const obj_createdBy = obj.createdBy;
6794
7078
  const path_createdBy = path + '.createdBy';
6795
7079
  if (typeof obj_createdBy !== 'string') {
@@ -6816,7 +7100,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
6816
7100
  for (let i = 0; i < obj_fields.length; i++) {
6817
7101
  const obj_fields_item = obj_fields[i];
6818
7102
  const path_fields_item = path_fields + '[' + i + ']';
6819
- const referencepath_fields_itemValidationError = validate$V(obj_fields_item, path_fields_item);
7103
+ const referencepath_fields_itemValidationError = validate$$(obj_fields_item, path_fields_item);
6820
7104
  if (referencepath_fields_itemValidationError !== null) {
6821
7105
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
6822
7106
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6860,7 +7144,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
6860
7144
  if (obj.semanticDimension !== undefined) {
6861
7145
  const obj_semanticDimension = obj.semanticDimension;
6862
7146
  const path_semanticDimension = path + '.semanticDimension';
6863
- const referencepath_semanticDimensionValidationError = validate$k(obj_semanticDimension, path_semanticDimension);
7147
+ const referencepath_semanticDimensionValidationError = validate$q(obj_semanticDimension, path_semanticDimension);
6864
7148
  if (referencepath_semanticDimensionValidationError !== null) {
6865
7149
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
6866
7150
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6870,7 +7154,7 @@ function validate$a(obj, path = 'SemanticMappedFieldOutputRepresentation') {
6870
7154
  if (obj.semanticMeasurement !== undefined) {
6871
7155
  const obj_semanticMeasurement = obj.semanticMeasurement;
6872
7156
  const path_semanticMeasurement = path + '.semanticMeasurement';
6873
- const referencepath_semanticMeasurementValidationError = validate$j(obj_semanticMeasurement, path_semanticMeasurement);
7157
+ const referencepath_semanticMeasurementValidationError = validate$p(obj_semanticMeasurement, path_semanticMeasurement);
6874
7158
  if (referencepath_semanticMeasurementValidationError !== null) {
6875
7159
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
6876
7160
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6909,7 +7193,7 @@ function equals$8(existing, incoming) {
6909
7193
  }
6910
7194
  const ingest$8 = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6911
7195
  if (process.env.NODE_ENV !== 'production') {
6912
- const validateError = validate$a(input);
7196
+ const validateError = validate$g(input);
6913
7197
  if (validateError !== null) {
6914
7198
  throw validateError;
6915
7199
  }
@@ -6929,8 +7213,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
6929
7213
  });
6930
7214
  }
6931
7215
 
6932
- const VERSION$7 = "405ff251703b1f5480363199ebeaf8a9";
6933
- function validate$9(obj, path = 'SemanticUnionOutputRepresentation') {
7216
+ const VERSION$7 = "69fe23112140e9fae50135dcb15c24c2";
7217
+ function validate$f(obj, path = 'SemanticUnionOutputRepresentation') {
6934
7218
  const v_error = (() => {
6935
7219
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6936
7220
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6947,6 +7231,13 @@ function validate$9(obj, path = 'SemanticUnionOutputRepresentation') {
6947
7231
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
6948
7232
  }
6949
7233
  }
7234
+ if (obj.cacheKey !== undefined) {
7235
+ const obj_cacheKey = obj.cacheKey;
7236
+ const path_cacheKey = path + '.cacheKey';
7237
+ if (typeof obj_cacheKey !== 'string') {
7238
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
7239
+ }
7240
+ }
6950
7241
  const obj_createdBy = obj.createdBy;
6951
7242
  const path_createdBy = path + '.createdBy';
6952
7243
  if (typeof obj_createdBy !== 'string') {
@@ -7113,6 +7404,11 @@ const select$h = function SemanticUnionOutputRepresentationSelect() {
7113
7404
  kind: 'Scalar',
7114
7405
  required: false
7115
7406
  },
7407
+ {
7408
+ name: 'cacheKey',
7409
+ kind: 'Scalar',
7410
+ required: false
7411
+ },
7116
7412
  {
7117
7413
  name: 'createdBy',
7118
7414
  kind: 'Scalar'
@@ -7186,6 +7482,19 @@ function equals$7(existing, incoming) {
7186
7482
  return false;
7187
7483
  }
7188
7484
  }
7485
+ const existing_cacheKey = existing.cacheKey;
7486
+ const incoming_cacheKey = incoming.cacheKey;
7487
+ // if at least one of these optionals is defined
7488
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
7489
+ // if one of these is not defined we know the other is defined and therefore
7490
+ // not equal
7491
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
7492
+ return false;
7493
+ }
7494
+ if (!(existing_cacheKey === incoming_cacheKey)) {
7495
+ return false;
7496
+ }
7497
+ }
7189
7498
  const existing_createdBy = existing.createdBy;
7190
7499
  const incoming_createdBy = incoming.createdBy;
7191
7500
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -7306,7 +7615,7 @@ function equals$7(existing, incoming) {
7306
7615
  }
7307
7616
  const ingest$7 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7308
7617
  if (process.env.NODE_ENV !== 'production') {
7309
- const validateError = validate$9(input);
7618
+ const validateError = validate$f(input);
7310
7619
  if (validateError !== null) {
7311
7620
  throw validateError;
7312
7621
  }
@@ -7338,8 +7647,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
7338
7647
  }
7339
7648
  }
7340
7649
 
7341
- const VERSION$6 = "9273b6e07a8a8da6ead5ed811f877bdc";
7342
- function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7650
+ const VERSION$6 = "281e0163ea1fc7d956974394f5310216";
7651
+ function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7343
7652
  const v_error = (() => {
7344
7653
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7345
7654
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7356,6 +7665,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7356
7665
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
7357
7666
  }
7358
7667
  }
7668
+ if (obj.cacheKey !== undefined) {
7669
+ const obj_cacheKey = obj.cacheKey;
7670
+ const path_cacheKey = path + '.cacheKey';
7671
+ if (typeof obj_cacheKey !== 'string') {
7672
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
7673
+ }
7674
+ }
7359
7675
  const obj_createdBy = obj.createdBy;
7360
7676
  const path_createdBy = path + '.createdBy';
7361
7677
  if (typeof obj_createdBy !== 'string') {
@@ -7366,6 +7682,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7366
7682
  if (typeof obj_createdDate !== 'string') {
7367
7683
  return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
7368
7684
  }
7685
+ if (obj.customSql !== undefined) {
7686
+ const obj_customSql = obj.customSql;
7687
+ const path_customSql = path + '.customSql';
7688
+ if (typeof obj_customSql !== 'string') {
7689
+ return new TypeError('Expected "string" but received "' + typeof obj_customSql + '" (at "' + path_customSql + '")');
7690
+ }
7691
+ }
7369
7692
  if (obj.description !== undefined) {
7370
7693
  const obj_description = obj.description;
7371
7694
  const path_description = path + '.description';
@@ -7389,7 +7712,7 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7389
7712
  for (let i = 0; i < obj_filters.length; i++) {
7390
7713
  const obj_filters_item = obj_filters[i];
7391
7714
  const path_filters_item = path_filters + '[' + i + ']';
7392
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
7715
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
7393
7716
  if (referencepath_filters_itemValidationError !== null) {
7394
7717
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
7395
7718
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7465,6 +7788,13 @@ function validate$8(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7465
7788
  }
7466
7789
  }
7467
7790
  }
7791
+ if (obj.semanticViewTypeEnum !== undefined) {
7792
+ const obj_semanticViewTypeEnum = obj.semanticViewTypeEnum;
7793
+ const path_semanticViewTypeEnum = path + '.semanticViewTypeEnum';
7794
+ if (typeof obj_semanticViewTypeEnum !== 'string') {
7795
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
7796
+ }
7797
+ }
7468
7798
  })();
7469
7799
  return v_error === undefined ? null : v_error;
7470
7800
  }
@@ -7551,6 +7881,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
7551
7881
  kind: 'Scalar',
7552
7882
  required: false
7553
7883
  },
7884
+ {
7885
+ name: 'cacheKey',
7886
+ kind: 'Scalar',
7887
+ required: false
7888
+ },
7554
7889
  {
7555
7890
  name: 'createdBy',
7556
7891
  kind: 'Scalar'
@@ -7559,6 +7894,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
7559
7894
  name: 'createdDate',
7560
7895
  kind: 'Scalar'
7561
7896
  },
7897
+ {
7898
+ name: 'customSql',
7899
+ kind: 'Scalar',
7900
+ required: false
7901
+ },
7562
7902
  {
7563
7903
  name: 'description',
7564
7904
  kind: 'Scalar',
@@ -7615,6 +7955,11 @@ const select$g = function SemanticLogicalViewOutputRepresentationSelect() {
7615
7955
  plural: true,
7616
7956
  required: false,
7617
7957
  fragment: select$h()
7958
+ },
7959
+ {
7960
+ name: 'semanticViewTypeEnum',
7961
+ kind: 'Scalar',
7962
+ required: false
7618
7963
  }
7619
7964
  ]
7620
7965
  };
@@ -7638,6 +7983,19 @@ function equals$6(existing, incoming) {
7638
7983
  return false;
7639
7984
  }
7640
7985
  }
7986
+ const existing_cacheKey = existing.cacheKey;
7987
+ const incoming_cacheKey = incoming.cacheKey;
7988
+ // if at least one of these optionals is defined
7989
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
7990
+ // if one of these is not defined we know the other is defined and therefore
7991
+ // not equal
7992
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
7993
+ return false;
7994
+ }
7995
+ if (!(existing_cacheKey === incoming_cacheKey)) {
7996
+ return false;
7997
+ }
7998
+ }
7641
7999
  const existing_createdBy = existing.createdBy;
7642
8000
  const incoming_createdBy = incoming.createdBy;
7643
8001
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -7648,6 +8006,19 @@ function equals$6(existing, incoming) {
7648
8006
  if (!(existing_createdDate === incoming_createdDate)) {
7649
8007
  return false;
7650
8008
  }
8009
+ const existing_customSql = existing.customSql;
8010
+ const incoming_customSql = incoming.customSql;
8011
+ // if at least one of these optionals is defined
8012
+ if (existing_customSql !== undefined || incoming_customSql !== undefined) {
8013
+ // if one of these is not defined we know the other is defined and therefore
8014
+ // not equal
8015
+ if (existing_customSql === undefined || incoming_customSql === undefined) {
8016
+ return false;
8017
+ }
8018
+ if (!(existing_customSql === incoming_customSql)) {
8019
+ return false;
8020
+ }
8021
+ }
7651
8022
  const existing_description = existing.description;
7652
8023
  const incoming_description = incoming.description;
7653
8024
  // if at least one of these optionals is defined
@@ -7718,6 +8089,19 @@ function equals$6(existing, incoming) {
7718
8089
  return false;
7719
8090
  }
7720
8091
  }
8092
+ const existing_semanticViewTypeEnum = existing.semanticViewTypeEnum;
8093
+ const incoming_semanticViewTypeEnum = incoming.semanticViewTypeEnum;
8094
+ // if at least one of these optionals is defined
8095
+ if (existing_semanticViewTypeEnum !== undefined || incoming_semanticViewTypeEnum !== undefined) {
8096
+ // if one of these is not defined we know the other is defined and therefore
8097
+ // not equal
8098
+ if (existing_semanticViewTypeEnum === undefined || incoming_semanticViewTypeEnum === undefined) {
8099
+ return false;
8100
+ }
8101
+ if (!(existing_semanticViewTypeEnum === incoming_semanticViewTypeEnum)) {
8102
+ return false;
8103
+ }
8104
+ }
7721
8105
  const existing_filters = existing.filters;
7722
8106
  const incoming_filters = incoming.filters;
7723
8107
  // if at least one of these optionals is defined
@@ -7794,7 +8178,7 @@ function equals$6(existing, incoming) {
7794
8178
  }
7795
8179
  const ingest$6 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7796
8180
  if (process.env.NODE_ENV !== 'production') {
7797
- const validateError = validate$8(input);
8181
+ const validateError = validate$e(input);
7798
8182
  if (validateError !== null) {
7799
8183
  throw validateError;
7800
8184
  }
@@ -7832,8 +8216,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
7832
8216
  }
7833
8217
  }
7834
8218
 
7835
- const VERSION$5 = "58a22082343aa25f72b656570b8b17b8";
7836
- function validate$7(obj, path = 'SemanticParameterOutputRepresentation') {
8219
+ const VERSION$5 = "562f9618d0de907973cf252f01ea567d";
8220
+ function validate$d(obj, path = 'SemanticParameterOutputRepresentation') {
7837
8221
  const v_error = (() => {
7838
8222
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7839
8223
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7850,6 +8234,13 @@ function validate$7(obj, path = 'SemanticParameterOutputRepresentation') {
7850
8234
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
7851
8235
  }
7852
8236
  }
8237
+ if (obj.cacheKey !== undefined) {
8238
+ const obj_cacheKey = obj.cacheKey;
8239
+ const path_cacheKey = path + '.cacheKey';
8240
+ if (typeof obj_cacheKey !== 'string') {
8241
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
8242
+ }
8243
+ }
7853
8244
  const obj_createdBy = obj.createdBy;
7854
8245
  const path_createdBy = path + '.createdBy';
7855
8246
  if (typeof obj_createdBy !== 'string') {
@@ -7980,6 +8371,11 @@ const select$f = function SemanticParameterOutputRepresentationSelect() {
7980
8371
  kind: 'Scalar',
7981
8372
  required: false
7982
8373
  },
8374
+ {
8375
+ name: 'cacheKey',
8376
+ kind: 'Scalar',
8377
+ required: false
8378
+ },
7983
8379
  {
7984
8380
  name: 'createdBy',
7985
8381
  kind: 'Scalar'
@@ -8070,6 +8466,19 @@ function equals$5(existing, incoming) {
8070
8466
  return false;
8071
8467
  }
8072
8468
  }
8469
+ const existing_cacheKey = existing.cacheKey;
8470
+ const incoming_cacheKey = incoming.cacheKey;
8471
+ // if at least one of these optionals is defined
8472
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
8473
+ // if one of these is not defined we know the other is defined and therefore
8474
+ // not equal
8475
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
8476
+ return false;
8477
+ }
8478
+ if (!(existing_cacheKey === incoming_cacheKey)) {
8479
+ return false;
8480
+ }
8481
+ }
8073
8482
  const existing_createdBy = existing.createdBy;
8074
8483
  const incoming_createdBy = incoming.createdBy;
8075
8484
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -8237,7 +8646,7 @@ function equals$5(existing, incoming) {
8237
8646
  }
8238
8647
  const ingest$5 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8239
8648
  if (process.env.NODE_ENV !== 'production') {
8240
- const validateError = validate$7(input);
8649
+ const validateError = validate$d(input);
8241
8650
  if (validateError !== null) {
8242
8651
  throw validateError;
8243
8652
  }
@@ -8257,8 +8666,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
8257
8666
  });
8258
8667
  }
8259
8668
 
8260
- const VERSION$4 = "4fbdc86189bea9d4aa3019bc6a4fce15";
8261
- function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
8669
+ const VERSION$4 = "5cda82e85d7322d459ba16b10b81ee96";
8670
+ function validate$c(obj, path = 'SemanticModelOutputRepresentation') {
8262
8671
  const v_error = (() => {
8263
8672
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8264
8673
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8291,7 +8700,7 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
8291
8700
  for (let i = 0; i < obj_baseModels.length; i++) {
8292
8701
  const obj_baseModels_item = obj_baseModels[i];
8293
8702
  const path_baseModels_item = path_baseModels + '[' + i + ']';
8294
- const referencepath_baseModels_itemValidationError = validate$N(obj_baseModels_item, path_baseModels_item);
8703
+ const referencepath_baseModels_itemValidationError = validate$T(obj_baseModels_item, path_baseModels_item);
8295
8704
  if (referencepath_baseModels_itemValidationError !== null) {
8296
8705
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
8297
8706
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -8299,6 +8708,13 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
8299
8708
  }
8300
8709
  }
8301
8710
  }
8711
+ if (obj.cacheKey !== undefined) {
8712
+ const obj_cacheKey = obj.cacheKey;
8713
+ const path_cacheKey = path + '.cacheKey';
8714
+ if (typeof obj_cacheKey !== 'string') {
8715
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
8716
+ }
8717
+ }
8302
8718
  if (obj.categories !== undefined) {
8303
8719
  const obj_categories = obj.categories;
8304
8720
  const path_categories = path + '.categories';
@@ -8340,10 +8756,12 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
8340
8756
  if (typeof obj_id !== 'string') {
8341
8757
  return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
8342
8758
  }
8343
- const obj_isLocked = obj.isLocked;
8344
- const path_isLocked = path + '.isLocked';
8345
- if (typeof obj_isLocked !== 'boolean') {
8346
- return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
8759
+ if (obj.isLocked !== undefined) {
8760
+ const obj_isLocked = obj.isLocked;
8761
+ const path_isLocked = path + '.isLocked';
8762
+ if (typeof obj_isLocked !== 'boolean') {
8763
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
8764
+ }
8347
8765
  }
8348
8766
  if (obj.label !== undefined) {
8349
8767
  const obj_label = obj.label;
@@ -8750,6 +9168,11 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
8750
9168
  selections: SemanticBaseModelOutputRepresentation__selections,
8751
9169
  required: false
8752
9170
  },
9171
+ {
9172
+ name: 'cacheKey',
9173
+ kind: 'Scalar',
9174
+ required: false
9175
+ },
8753
9176
  {
8754
9177
  name: 'categories',
8755
9178
  kind: 'Scalar',
@@ -8779,7 +9202,8 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
8779
9202
  },
8780
9203
  {
8781
9204
  name: 'isLocked',
8782
- kind: 'Scalar'
9205
+ kind: 'Scalar',
9206
+ required: false
8783
9207
  },
8784
9208
  {
8785
9209
  name: 'label',
@@ -8903,8 +9327,16 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
8903
9327
  function equals$4(existing, incoming) {
8904
9328
  const existing_isLocked = existing.isLocked;
8905
9329
  const incoming_isLocked = incoming.isLocked;
8906
- if (!(existing_isLocked === incoming_isLocked)) {
8907
- return false;
9330
+ // if at least one of these optionals is defined
9331
+ if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
9332
+ // if one of these is not defined we know the other is defined and therefore
9333
+ // not equal
9334
+ if (existing_isLocked === undefined || incoming_isLocked === undefined) {
9335
+ return false;
9336
+ }
9337
+ if (!(existing_isLocked === incoming_isLocked)) {
9338
+ return false;
9339
+ }
8908
9340
  }
8909
9341
  const existing_apiName = existing.apiName;
8910
9342
  const incoming_apiName = incoming.apiName;
@@ -8937,6 +9369,19 @@ function equals$4(existing, incoming) {
8937
9369
  return false;
8938
9370
  }
8939
9371
  }
9372
+ const existing_cacheKey = existing.cacheKey;
9373
+ const incoming_cacheKey = incoming.cacheKey;
9374
+ // if at least one of these optionals is defined
9375
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
9376
+ // if one of these is not defined we know the other is defined and therefore
9377
+ // not equal
9378
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
9379
+ return false;
9380
+ }
9381
+ if (!(existing_cacheKey === incoming_cacheKey)) {
9382
+ return false;
9383
+ }
9384
+ }
8940
9385
  const existing_createdBy = existing.createdBy;
8941
9386
  const incoming_createdBy = incoming.createdBy;
8942
9387
  if (!(existing_createdBy === incoming_createdBy)) {
@@ -9310,7 +9755,7 @@ function equals$4(existing, incoming) {
9310
9755
  }
9311
9756
  const ingest$4 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
9312
9757
  if (process.env.NODE_ENV !== 'production') {
9313
- const validateError = validate$6(input);
9758
+ const validateError = validate$c(input);
9314
9759
  if (validateError !== null) {
9315
9760
  throw validateError;
9316
9761
  }
@@ -9446,7 +9891,7 @@ function typeCheckConfig$a(untrustedConfig) {
9446
9891
  const untrustedConfig_baseModels_array = [];
9447
9892
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
9448
9893
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
9449
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$K(untrustedConfig_baseModels_item);
9894
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$Q(untrustedConfig_baseModels_item);
9450
9895
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
9451
9896
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
9452
9897
  }
@@ -9458,7 +9903,7 @@ function typeCheckConfig$a(untrustedConfig) {
9458
9903
  const untrustedConfig_semanticCalculatedDimensions_array = [];
9459
9904
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
9460
9905
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
9461
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$I(untrustedConfig_semanticCalculatedDimensions_item);
9906
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedDimensions_item);
9462
9907
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
9463
9908
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
9464
9909
  }
@@ -9470,7 +9915,7 @@ function typeCheckConfig$a(untrustedConfig) {
9470
9915
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
9471
9916
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
9472
9917
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
9473
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$H(untrustedConfig_semanticCalculatedMeasurements_item);
9918
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$N(untrustedConfig_semanticCalculatedMeasurements_item);
9474
9919
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
9475
9920
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
9476
9921
  }
@@ -9482,7 +9927,7 @@ function typeCheckConfig$a(untrustedConfig) {
9482
9927
  const untrustedConfig_semanticDataObjects_array = [];
9483
9928
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
9484
9929
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
9485
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$E(untrustedConfig_semanticDataObjects_item);
9930
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$K(untrustedConfig_semanticDataObjects_item);
9486
9931
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
9487
9932
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
9488
9933
  }
@@ -9494,7 +9939,7 @@ function typeCheckConfig$a(untrustedConfig) {
9494
9939
  const untrustedConfig_semanticGroupings_array = [];
9495
9940
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
9496
9941
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
9497
- const referenceSemanticGroupingInputRepresentationValidationError = validate$x(untrustedConfig_semanticGroupings_item);
9942
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$D(untrustedConfig_semanticGroupings_item);
9498
9943
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
9499
9944
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
9500
9945
  }
@@ -9506,7 +9951,7 @@ function typeCheckConfig$a(untrustedConfig) {
9506
9951
  const untrustedConfig_semanticLogicalViews_array = [];
9507
9952
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
9508
9953
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
9509
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$s(untrustedConfig_semanticLogicalViews_item);
9954
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$y(untrustedConfig_semanticLogicalViews_item);
9510
9955
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
9511
9956
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
9512
9957
  }
@@ -9518,7 +9963,7 @@ function typeCheckConfig$a(untrustedConfig) {
9518
9963
  const untrustedConfig_semanticMetrics_array = [];
9519
9964
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
9520
9965
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
9521
- const referenceSemanticMetricInputRepresentationValidationError = validate$o(untrustedConfig_semanticMetrics_item);
9966
+ const referenceSemanticMetricInputRepresentationValidationError = validate$u(untrustedConfig_semanticMetrics_item);
9522
9967
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
9523
9968
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
9524
9969
  }
@@ -9530,7 +9975,7 @@ function typeCheckConfig$a(untrustedConfig) {
9530
9975
  const untrustedConfig_semanticParameters_array = [];
9531
9976
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
9532
9977
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
9533
- const referenceSemanticParameterInputRepresentationValidationError = validate$n(untrustedConfig_semanticParameters_item);
9978
+ const referenceSemanticParameterInputRepresentationValidationError = validate$t(untrustedConfig_semanticParameters_item);
9534
9979
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
9535
9980
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
9536
9981
  }
@@ -9542,7 +9987,7 @@ function typeCheckConfig$a(untrustedConfig) {
9542
9987
  const untrustedConfig_semanticRelationships_array = [];
9543
9988
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
9544
9989
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
9545
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$v(untrustedConfig_semanticRelationships_item);
9990
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$B(untrustedConfig_semanticRelationships_item);
9546
9991
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
9547
9992
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
9548
9993
  }
@@ -9646,6 +10091,7 @@ const getSemanticModel_ConfigPropertyMetadata = [
9646
10091
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9647
10092
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
9648
10093
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
10094
+ generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
9649
10095
  ];
9650
10096
  const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticModel_ConfigPropertyMetadata);
9651
10097
  const createResourceParams$9 = /*#__PURE__*/ createResourceParams$d(getSemanticModel_ConfigPropertyMetadata);
@@ -9798,7 +10244,7 @@ function typeCheckConfig$8(untrustedConfig) {
9798
10244
  const untrustedConfig_baseModels_array = [];
9799
10245
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
9800
10246
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
9801
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$K(untrustedConfig_baseModels_item);
10247
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$Q(untrustedConfig_baseModels_item);
9802
10248
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
9803
10249
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
9804
10250
  }
@@ -9810,7 +10256,7 @@ function typeCheckConfig$8(untrustedConfig) {
9810
10256
  const untrustedConfig_semanticCalculatedDimensions_array = [];
9811
10257
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
9812
10258
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
9813
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$I(untrustedConfig_semanticCalculatedDimensions_item);
10259
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$O(untrustedConfig_semanticCalculatedDimensions_item);
9814
10260
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
9815
10261
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
9816
10262
  }
@@ -9822,7 +10268,7 @@ function typeCheckConfig$8(untrustedConfig) {
9822
10268
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
9823
10269
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
9824
10270
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
9825
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$H(untrustedConfig_semanticCalculatedMeasurements_item);
10271
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$N(untrustedConfig_semanticCalculatedMeasurements_item);
9826
10272
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
9827
10273
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
9828
10274
  }
@@ -9834,7 +10280,7 @@ function typeCheckConfig$8(untrustedConfig) {
9834
10280
  const untrustedConfig_semanticDataObjects_array = [];
9835
10281
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
9836
10282
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
9837
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$E(untrustedConfig_semanticDataObjects_item);
10283
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$K(untrustedConfig_semanticDataObjects_item);
9838
10284
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
9839
10285
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
9840
10286
  }
@@ -9846,7 +10292,7 @@ function typeCheckConfig$8(untrustedConfig) {
9846
10292
  const untrustedConfig_semanticGroupings_array = [];
9847
10293
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
9848
10294
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
9849
- const referenceSemanticGroupingInputRepresentationValidationError = validate$x(untrustedConfig_semanticGroupings_item);
10295
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$D(untrustedConfig_semanticGroupings_item);
9850
10296
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
9851
10297
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
9852
10298
  }
@@ -9858,7 +10304,7 @@ function typeCheckConfig$8(untrustedConfig) {
9858
10304
  const untrustedConfig_semanticLogicalViews_array = [];
9859
10305
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
9860
10306
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
9861
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$s(untrustedConfig_semanticLogicalViews_item);
10307
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$y(untrustedConfig_semanticLogicalViews_item);
9862
10308
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
9863
10309
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
9864
10310
  }
@@ -9870,7 +10316,7 @@ function typeCheckConfig$8(untrustedConfig) {
9870
10316
  const untrustedConfig_semanticMetrics_array = [];
9871
10317
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
9872
10318
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
9873
- const referenceSemanticMetricInputRepresentationValidationError = validate$o(untrustedConfig_semanticMetrics_item);
10319
+ const referenceSemanticMetricInputRepresentationValidationError = validate$u(untrustedConfig_semanticMetrics_item);
9874
10320
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
9875
10321
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
9876
10322
  }
@@ -9882,7 +10328,7 @@ function typeCheckConfig$8(untrustedConfig) {
9882
10328
  const untrustedConfig_semanticParameters_array = [];
9883
10329
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
9884
10330
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
9885
- const referenceSemanticParameterInputRepresentationValidationError = validate$n(untrustedConfig_semanticParameters_item);
10331
+ const referenceSemanticParameterInputRepresentationValidationError = validate$t(untrustedConfig_semanticParameters_item);
9886
10332
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
9887
10333
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
9888
10334
  }
@@ -9894,7 +10340,7 @@ function typeCheckConfig$8(untrustedConfig) {
9894
10340
  const untrustedConfig_semanticRelationships_array = [];
9895
10341
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
9896
10342
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
9897
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$v(untrustedConfig_semanticRelationships_item);
10343
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$B(untrustedConfig_semanticRelationships_item);
9898
10344
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
9899
10345
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
9900
10346
  }
@@ -9945,11 +10391,90 @@ const patchSemanticModelAdapterFactory = (luvio) => {
9945
10391
  };
9946
10392
  };
9947
10393
 
9948
- function validate$5(obj, path = 'SemanticTimeRangeOutputRepresentation') {
10394
+ function validate$b(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
9949
10395
  const v_error = (() => {
9950
10396
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9951
10397
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9952
10398
  }
10399
+ if (obj.endDate !== undefined) {
10400
+ const obj_endDate = obj.endDate;
10401
+ const path_endDate = path + '.endDate';
10402
+ if (typeof obj_endDate !== 'string') {
10403
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
10404
+ }
10405
+ }
10406
+ if (obj.startDate !== undefined) {
10407
+ const obj_startDate = obj.startDate;
10408
+ const path_startDate = path + '.startDate';
10409
+ if (typeof obj_startDate !== 'string') {
10410
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
10411
+ }
10412
+ }
10413
+ })();
10414
+ return v_error === undefined ? null : v_error;
10415
+ }
10416
+
10417
+ function validate$a(obj, path = 'SemanticGoalValueOutputRepresentation') {
10418
+ const v_error = (() => {
10419
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10420
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10421
+ }
10422
+ if (obj.staticValue !== undefined) {
10423
+ obj.staticValue;
10424
+ }
10425
+ })();
10426
+ return v_error === undefined ? null : v_error;
10427
+ }
10428
+
10429
+ function validate$9(obj, path = 'SemanticMetricGoalOutputRepresentation') {
10430
+ const v_error = (() => {
10431
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10432
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10433
+ }
10434
+ const obj_date = obj.date;
10435
+ const path_date = path + '.date';
10436
+ const referencepath_dateValidationError = validate$b(obj_date, path_date);
10437
+ if (referencepath_dateValidationError !== null) {
10438
+ let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_date + '")\n';
10439
+ message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
10440
+ return new TypeError(message);
10441
+ }
10442
+ const obj_goalType = obj.goalType;
10443
+ const path_goalType = path + '.goalType';
10444
+ if (typeof obj_goalType !== 'string') {
10445
+ return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
10446
+ }
10447
+ const obj_value = obj.value;
10448
+ const path_value = path + '.value';
10449
+ const referencepath_valueValidationError = validate$a(obj_value, path_value);
10450
+ if (referencepath_valueValidationError !== null) {
10451
+ let message = 'Object doesn\'t match SemanticGoalValueOutputRepresentation (at "' + path_value + '")\n';
10452
+ message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
10453
+ return new TypeError(message);
10454
+ }
10455
+ })();
10456
+ return v_error === undefined ? null : v_error;
10457
+ }
10458
+
10459
+ function validate$8(obj, path = 'SemanticTimeRangeOutputRepresentation') {
10460
+ const v_error = (() => {
10461
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10462
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10463
+ }
10464
+ if (obj.customEndDate !== undefined) {
10465
+ const obj_customEndDate = obj.customEndDate;
10466
+ const path_customEndDate = path + '.customEndDate';
10467
+ if (typeof obj_customEndDate !== 'string') {
10468
+ return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
10469
+ }
10470
+ }
10471
+ if (obj.customStartDate !== undefined) {
10472
+ const obj_customStartDate = obj.customStartDate;
10473
+ const path_customStartDate = path + '.customStartDate';
10474
+ if (typeof obj_customStartDate !== 'string') {
10475
+ return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
10476
+ }
10477
+ }
9953
10478
  if (obj.timeRangeType !== undefined) {
9954
10479
  const obj_timeRangeType = obj.timeRangeType;
9955
10480
  const path_timeRangeType = path + '.timeRangeType';
@@ -9961,8 +10486,8 @@ function validate$5(obj, path = 'SemanticTimeRangeOutputRepresentation') {
9961
10486
  return v_error === undefined ? null : v_error;
9962
10487
  }
9963
10488
 
9964
- const VERSION$3 = "c882b1daea155cb0f89f281f88d14769";
9965
- function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
10489
+ const VERSION$3 = "34ece37408ddd80874097c87b829ae97";
10490
+ function validate$7(obj, path = 'SemanticSubMetricOutputRepresentation') {
9966
10491
  const v_error = (() => {
9967
10492
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9968
10493
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -9979,6 +10504,13 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
9979
10504
  return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
9980
10505
  }
9981
10506
  }
10507
+ if (obj.cacheKey !== undefined) {
10508
+ const obj_cacheKey = obj.cacheKey;
10509
+ const path_cacheKey = path + '.cacheKey';
10510
+ if (typeof obj_cacheKey !== 'string') {
10511
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
10512
+ }
10513
+ }
9982
10514
  const obj_createdBy = obj.createdBy;
9983
10515
  const path_createdBy = path + '.createdBy';
9984
10516
  if (typeof obj_createdBy !== 'string') {
@@ -10012,7 +10544,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
10012
10544
  for (let i = 0; i < obj_filters.length; i++) {
10013
10545
  const obj_filters_item = obj_filters[i];
10014
10546
  const path_filters_item = path_filters + '[' + i + ']';
10015
- const referencepath_filters_itemValidationError = validate$T(obj_filters_item, path_filters_item);
10547
+ const referencepath_filters_itemValidationError = validate$Z(obj_filters_item, path_filters_item);
10016
10548
  if (referencepath_filters_itemValidationError !== null) {
10017
10549
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
10018
10550
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10020,6 +10552,16 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
10020
10552
  }
10021
10553
  }
10022
10554
  }
10555
+ if (obj.goal !== undefined) {
10556
+ const obj_goal = obj.goal;
10557
+ const path_goal = path + '.goal';
10558
+ const referencepath_goalValidationError = validate$9(obj_goal, path_goal);
10559
+ if (referencepath_goalValidationError !== null) {
10560
+ let message = 'Object doesn\'t match SemanticMetricGoalOutputRepresentation (at "' + path_goal + '")\n';
10561
+ message += referencepath_goalValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
10562
+ return new TypeError(message);
10563
+ }
10564
+ }
10023
10565
  const obj_id = obj.id;
10024
10566
  const path_id = path + '.id';
10025
10567
  if (typeof obj_id !== 'string') {
@@ -10056,7 +10598,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
10056
10598
  if (obj.semanticMetric !== undefined) {
10057
10599
  const obj_semanticMetric = obj.semanticMetric;
10058
10600
  const path_semanticMetric = path + '.semanticMetric';
10059
- const referencepath_semanticMetricValidationError = validate$P(obj_semanticMetric, path_semanticMetric);
10601
+ const referencepath_semanticMetricValidationError = validate$V(obj_semanticMetric, path_semanticMetric);
10060
10602
  if (referencepath_semanticMetricValidationError !== null) {
10061
10603
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
10062
10604
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10066,7 +10608,7 @@ function validate$4(obj, path = 'SemanticSubMetricOutputRepresentation') {
10066
10608
  if (obj.timeRange !== undefined) {
10067
10609
  const obj_timeRange = obj.timeRange;
10068
10610
  const path_timeRange = path + '.timeRange';
10069
- const referencepath_timeRangeValidationError = validate$5(obj_timeRange, path_timeRange);
10611
+ const referencepath_timeRangeValidationError = validate$8(obj_timeRange, path_timeRange);
10070
10612
  if (referencepath_timeRangeValidationError !== null) {
10071
10613
  let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
10072
10614
  message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -10105,7 +10647,7 @@ function equals$3(existing, incoming) {
10105
10647
  }
10106
10648
  const ingest$3 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
10107
10649
  if (process.env.NODE_ENV !== 'production') {
10108
- const validateError = validate$4(input);
10650
+ const validateError = validate$7(input);
10109
10651
  if (validateError !== null) {
10110
10652
  throw validateError;
10111
10653
  }
@@ -10126,7 +10668,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
10126
10668
  }
10127
10669
 
10128
10670
  const VERSION$2 = "2980e56b9b4f8b3773f2554f67834745";
10129
- function validate$3(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
10671
+ function validate$6(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
10130
10672
  const v_error = (() => {
10131
10673
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10132
10674
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -10234,7 +10776,7 @@ function equals$2(existing, incoming) {
10234
10776
  }
10235
10777
  const ingest$2 = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
10236
10778
  if (process.env.NODE_ENV !== 'production') {
10237
- const validateError = validate$3(input);
10779
+ const validateError = validate$6(input);
10238
10780
  if (validateError !== null) {
10239
10781
  throw validateError;
10240
10782
  }
@@ -10261,7 +10803,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
10261
10803
  }
10262
10804
 
10263
10805
  const VERSION$1 = "6fbd75e1a154b08c14ba6560c06488db";
10264
- function validate$2(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
10806
+ function validate$5(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
10265
10807
  const v_error = (() => {
10266
10808
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10267
10809
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -10344,7 +10886,7 @@ function equals$1(existing, incoming) {
10344
10886
  }
10345
10887
  const ingest$1 = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
10346
10888
  if (process.env.NODE_ENV !== 'production') {
10347
- const validateError = validate$2(input);
10889
+ const validateError = validate$5(input);
10348
10890
  if (validateError !== null) {
10349
10891
  throw validateError;
10350
10892
  }
@@ -10771,7 +11313,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
10771
11313
  };
10772
11314
 
10773
11315
  const VERSION = "542f239a7dc422c67d6cdffb0ff866eb";
10774
- function validate$1(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
11316
+ function validate$4(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
10775
11317
  const v_error = (() => {
10776
11318
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10777
11319
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -10854,7 +11396,7 @@ function equals(existing, incoming) {
10854
11396
  }
10855
11397
  const ingest = function SemanticSubMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
10856
11398
  if (process.env.NODE_ENV !== 'production') {
10857
- const validateError = validate$1(input);
11399
+ const validateError = validate$4(input);
10858
11400
  if (validateError !== null) {
10859
11401
  throw validateError;
10860
11402
  }
@@ -11012,11 +11554,96 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
11012
11554
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
11013
11555
  };
11014
11556
 
11557
+ function validate$3(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
11558
+ const v_error = (() => {
11559
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
11560
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
11561
+ }
11562
+ if (obj.endDate !== undefined) {
11563
+ const obj_endDate = obj.endDate;
11564
+ const path_endDate = path + '.endDate';
11565
+ if (typeof obj_endDate !== 'string') {
11566
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
11567
+ }
11568
+ }
11569
+ if (obj.startDate !== undefined) {
11570
+ const obj_startDate = obj.startDate;
11571
+ const path_startDate = path + '.startDate';
11572
+ if (typeof obj_startDate !== 'string') {
11573
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
11574
+ }
11575
+ }
11576
+ })();
11577
+ return v_error === undefined ? null : v_error;
11578
+ }
11579
+
11580
+ function validate$2(obj, path = 'SemanticGoalValueInputRepresentation') {
11581
+ const v_error = (() => {
11582
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
11583
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
11584
+ }
11585
+ if (obj.staticValue !== undefined) {
11586
+ obj.staticValue;
11587
+ }
11588
+ })();
11589
+ return v_error === undefined ? null : v_error;
11590
+ }
11591
+
11592
+ function validate$1(obj, path = 'SemanticMetricGoalInputRepresentation') {
11593
+ const v_error = (() => {
11594
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
11595
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
11596
+ }
11597
+ if (obj.date !== undefined) {
11598
+ const obj_date = obj.date;
11599
+ const path_date = path + '.date';
11600
+ const referencepath_dateValidationError = validate$3(obj_date, path_date);
11601
+ if (referencepath_dateValidationError !== null) {
11602
+ let message = 'Object doesn\'t match SemanticGoalDateRangeInputRepresentation (at "' + path_date + '")\n';
11603
+ message += referencepath_dateValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
11604
+ return new TypeError(message);
11605
+ }
11606
+ }
11607
+ if (obj.goalType !== undefined) {
11608
+ const obj_goalType = obj.goalType;
11609
+ const path_goalType = path + '.goalType';
11610
+ if (typeof obj_goalType !== 'string') {
11611
+ return new TypeError('Expected "string" but received "' + typeof obj_goalType + '" (at "' + path_goalType + '")');
11612
+ }
11613
+ }
11614
+ if (obj.value !== undefined) {
11615
+ const obj_value = obj.value;
11616
+ const path_value = path + '.value';
11617
+ const referencepath_valueValidationError = validate$2(obj_value, path_value);
11618
+ if (referencepath_valueValidationError !== null) {
11619
+ let message = 'Object doesn\'t match SemanticGoalValueInputRepresentation (at "' + path_value + '")\n';
11620
+ message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
11621
+ return new TypeError(message);
11622
+ }
11623
+ }
11624
+ })();
11625
+ return v_error === undefined ? null : v_error;
11626
+ }
11627
+
11015
11628
  function validate(obj, path = 'SemanticTimeRangeInputRepresentation') {
11016
11629
  const v_error = (() => {
11017
11630
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
11018
11631
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
11019
11632
  }
11633
+ if (obj.customEndDate !== undefined) {
11634
+ const obj_customEndDate = obj.customEndDate;
11635
+ const path_customEndDate = path + '.customEndDate';
11636
+ if (typeof obj_customEndDate !== 'string') {
11637
+ return new TypeError('Expected "string" but received "' + typeof obj_customEndDate + '" (at "' + path_customEndDate + '")');
11638
+ }
11639
+ }
11640
+ if (obj.customStartDate !== undefined) {
11641
+ const obj_customStartDate = obj.customStartDate;
11642
+ const path_customStartDate = path + '.customStartDate';
11643
+ if (typeof obj_customStartDate !== 'string') {
11644
+ return new TypeError('Expected "string" but received "' + typeof obj_customStartDate + '" (at "' + path_customStartDate + '")');
11645
+ }
11646
+ }
11020
11647
  if (obj.timeRangeType !== undefined) {
11021
11648
  const obj_timeRangeType = obj.timeRangeType;
11022
11649
  const path_timeRangeType = path + '.timeRangeType';
@@ -11073,6 +11700,7 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
11073
11700
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
11074
11701
  generateParamConfigMetadata('filterLogic', false, 2 /* Body */, 0 /* String */),
11075
11702
  generateParamConfigMetadata('filters', false, 2 /* Body */, 4 /* Unsupported */, true),
11703
+ generateParamConfigMetadata('goal', false, 2 /* Body */, 4 /* Unsupported */),
11076
11704
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
11077
11705
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
11078
11706
  ];
@@ -11086,13 +11714,18 @@ function typeCheckConfig$3(untrustedConfig) {
11086
11714
  const untrustedConfig_filters_array = [];
11087
11715
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
11088
11716
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
11089
- const referenceSemanticFilterInputRepresentationValidationError = validate$J(untrustedConfig_filters_item);
11717
+ const referenceSemanticFilterInputRepresentationValidationError = validate$P(untrustedConfig_filters_item);
11090
11718
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
11091
11719
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
11092
11720
  }
11093
11721
  }
11094
11722
  config.filters = untrustedConfig_filters_array;
11095
11723
  }
11724
+ const untrustedConfig_goal = untrustedConfig.goal;
11725
+ const referenceSemanticMetricGoalInputRepresentationValidationError = validate$1(untrustedConfig_goal);
11726
+ if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
11727
+ config.goal = untrustedConfig_goal;
11728
+ }
11096
11729
  const untrustedConfig_timeRange = untrustedConfig.timeRange;
11097
11730
  const referenceSemanticTimeRangeInputRepresentationValidationError = validate(untrustedConfig_timeRange);
11098
11731
  if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {