@salesforce/lds-adapters-cdp-semantic-authoring 1.308.0-dev5 → 1.308.0-dev6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$a, StoreKeyMap, createResourceParams as createResourceParams$a } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8, typeCheckConfig as typeCheckConfig$b, StoreKeyMap, createResourceParams as createResourceParams$b } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -93,7 +93,7 @@ function createLink(ref) {
93
93
  }
94
94
 
95
95
  const VERSION$t = "3a32d382e7a2268096278aa8e5c6761a";
96
- function validate$y(obj, path = 'SemanticBaseModelOutputRepresentation') {
96
+ function validate$V(obj, path = 'SemanticBaseModelOutputRepresentation') {
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 + '")');
@@ -113,7 +113,7 @@ function validate$y(obj, path = 'SemanticBaseModelOutputRepresentation') {
113
113
  })();
114
114
  return v_error === undefined ? null : v_error;
115
115
  }
116
- const select$C = function SemanticBaseModelOutputRepresentationSelect() {
116
+ const select$D = function SemanticBaseModelOutputRepresentationSelect() {
117
117
  return {
118
118
  kind: 'Fragment',
119
119
  version: VERSION$t,
@@ -154,7 +154,7 @@ function equals$t(existing, incoming) {
154
154
  }
155
155
 
156
156
  const VERSION$s = "e01a91fd79dacbb09de6099af9690841";
157
- function validate$x(obj, path = 'SemanticModelPartialOutputRepresentation') {
157
+ function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
158
158
  const v_error = (() => {
159
159
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
160
160
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -187,7 +187,7 @@ function validate$x(obj, path = 'SemanticModelPartialOutputRepresentation') {
187
187
  for (let i = 0; i < obj_baseModels.length; i++) {
188
188
  const obj_baseModels_item = obj_baseModels[i];
189
189
  const path_baseModels_item = path_baseModels + '[' + i + ']';
190
- const referencepath_baseModels_itemValidationError = validate$y(obj_baseModels_item, path_baseModels_item);
190
+ const referencepath_baseModels_itemValidationError = validate$V(obj_baseModels_item, path_baseModels_item);
191
191
  if (referencepath_baseModels_itemValidationError !== null) {
192
192
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
193
193
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -344,8 +344,8 @@ function validate$x(obj, path = 'SemanticModelPartialOutputRepresentation') {
344
344
  })();
345
345
  return v_error === undefined ? null : v_error;
346
346
  }
347
- const select$B = function SemanticModelPartialOutputRepresentationSelect() {
348
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$C();
347
+ const select$C = function SemanticModelPartialOutputRepresentationSelect() {
348
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$D();
349
349
  return {
350
350
  kind: 'Fragment',
351
351
  version: VERSION$s,
@@ -723,7 +723,7 @@ function equals$s(existing, incoming) {
723
723
  }
724
724
 
725
725
  const VERSION$r = "198423ec58354256cc7ea6f4661ef669";
726
- function validate$w(obj, path = 'SemanticModelCollectionOutputRepresentation') {
726
+ function validate$T(obj, path = 'SemanticModelCollectionOutputRepresentation') {
727
727
  const v_error = (() => {
728
728
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
729
729
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -770,7 +770,7 @@ function validate$w(obj, path = 'SemanticModelCollectionOutputRepresentation') {
770
770
  for (let i = 0; i < obj_items.length; i++) {
771
771
  const obj_items_item = obj_items[i];
772
772
  const path_items_item = path_items + '[' + i + ']';
773
- const referencepath_items_itemValidationError = validate$x(obj_items_item, path_items_item);
773
+ const referencepath_items_itemValidationError = validate$U(obj_items_item, path_items_item);
774
774
  if (referencepath_items_itemValidationError !== null) {
775
775
  let message = 'Object doesn\'t match SemanticModelPartialOutputRepresentation (at "' + path_items_item + '")\n';
776
776
  message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -846,8 +846,8 @@ const RepresentationType$g = 'SemanticModelCollectionOutputRepresentation';
846
846
  function normalize$g(input, existing, path, luvio, store, timestamp) {
847
847
  return input;
848
848
  }
849
- const select$A = function SemanticModelCollectionOutputRepresentationSelect() {
850
- const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$B();
849
+ const select$B = function SemanticModelCollectionOutputRepresentationSelect() {
850
+ const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$C();
851
851
  return {
852
852
  kind: 'Fragment',
853
853
  version: VERSION$r,
@@ -958,7 +958,7 @@ function equals$r(existing, incoming) {
958
958
  }
959
959
  const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
960
960
  if (process.env.NODE_ENV !== 'production') {
961
- const validateError = validate$w(input);
961
+ const validateError = validate$T(input);
962
962
  if (validateError !== null) {
963
963
  throw validateError;
964
964
  }
@@ -978,22 +978,22 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
978
978
  });
979
979
  }
980
980
 
981
- function select$z(luvio, params) {
982
- return select$A();
981
+ function select$A(luvio, params) {
982
+ return select$B();
983
983
  }
984
984
  function keyBuilder$s(luvio, params) {
985
985
  return keyPrefix + '::SemanticModelCollectionOutputRepresentation:(' + 'app:' + params.queryParams.app + ',' + 'category:' + params.queryParams.category + ',' + 'dataspace:' + params.queryParams.dataspace + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ',' + 'sourceCreation:' + params.queryParams.sourceCreation + ',' + 'sourceCreationName:' + params.queryParams.sourceCreationName + ')';
986
986
  }
987
- function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
987
+ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
988
988
  getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$s(luvio, resourceParams));
989
989
  }
990
- function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
990
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
991
991
  const { body } = response;
992
992
  const key = keyBuilder$s(luvio, resourceParams);
993
993
  luvio.storeIngest(key, ingest$g, body);
994
994
  const snapshot = luvio.storeLookup({
995
995
  recordId: key,
996
- node: select$z(),
996
+ node: select$A(),
997
997
  variables: {},
998
998
  }, snapshotRefresh);
999
999
  if (process.env.NODE_ENV !== 'production') {
@@ -1010,7 +1010,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
1010
1010
  luvio.storeIngestError(key, errorSnapshot);
1011
1011
  return errorSnapshot;
1012
1012
  }
1013
- function createResourceRequest$9(config) {
1013
+ function createResourceRequest$a(config) {
1014
1014
  const headers = {};
1015
1015
  return {
1016
1016
  baseUri: '/services/data/v62.0',
@@ -1024,7 +1024,7 @@ function createResourceRequest$9(config) {
1024
1024
  };
1025
1025
  }
1026
1026
 
1027
- const adapterName$9 = 'getSemanticModels';
1027
+ const adapterName$a = 'getSemanticModels';
1028
1028
  const getSemanticModels_ConfigPropertyMetadata = [
1029
1029
  generateParamConfigMetadata('app', false, 1 /* QueryParameter */, 0 /* String */),
1030
1030
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
@@ -1036,56 +1036,56 @@ const getSemanticModels_ConfigPropertyMetadata = [
1036
1036
  generateParamConfigMetadata('sourceCreation', false, 1 /* QueryParameter */, 0 /* String */),
1037
1037
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
1038
1038
  ];
1039
- const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticModels_ConfigPropertyMetadata);
1040
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$a(getSemanticModels_ConfigPropertyMetadata);
1039
+ const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSemanticModels_ConfigPropertyMetadata);
1040
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$b(getSemanticModels_ConfigPropertyMetadata);
1041
1041
  function keyBuilder$r(luvio, config) {
1042
- const resourceParams = createResourceParams$9(config);
1042
+ const resourceParams = createResourceParams$a(config);
1043
1043
  return keyBuilder$s(luvio, resourceParams);
1044
1044
  }
1045
- function typeCheckConfig$9(untrustedConfig) {
1045
+ function typeCheckConfig$a(untrustedConfig) {
1046
1046
  const config = {};
1047
- typeCheckConfig$a(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
1047
+ typeCheckConfig$b(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
1048
1048
  return config;
1049
1049
  }
1050
- function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1050
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1051
1051
  if (!untrustedIsObject(untrustedConfig)) {
1052
1052
  return null;
1053
1053
  }
1054
1054
  if (process.env.NODE_ENV !== 'production') {
1055
1055
  validateConfig(untrustedConfig, configPropertyNames);
1056
1056
  }
1057
- const config = typeCheckConfig$9(untrustedConfig);
1057
+ const config = typeCheckConfig$a(untrustedConfig);
1058
1058
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1059
1059
  return null;
1060
1060
  }
1061
1061
  return config;
1062
1062
  }
1063
1063
  function adapterFragment$7(luvio, config) {
1064
- createResourceParams$9(config);
1065
- return select$z();
1064
+ createResourceParams$a(config);
1065
+ return select$A();
1066
1066
  }
1067
1067
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
1068
- const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
1068
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
1069
1069
  config,
1070
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1070
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1071
1071
  });
1072
1072
  return luvio.storeBroadcast().then(() => snapshot);
1073
1073
  }
1074
1074
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
1075
1075
  const snapshot = ingestError$7(luvio, resourceParams, response, {
1076
1076
  config,
1077
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1077
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1078
1078
  });
1079
1079
  return luvio.storeBroadcast().then(() => snapshot);
1080
1080
  }
1081
- function buildNetworkSnapshot$9(luvio, config, options) {
1082
- const resourceParams = createResourceParams$9(config);
1083
- const request = createResourceRequest$9(resourceParams);
1081
+ function buildNetworkSnapshot$a(luvio, config, options) {
1082
+ const resourceParams = createResourceParams$a(config);
1083
+ const request = createResourceRequest$a(resourceParams);
1084
1084
  return luvio.dispatchResourceRequest(request, options)
1085
1085
  .then((response) => {
1086
1086
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
1087
1087
  const cache = new StoreKeyMap();
1088
- getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
1088
+ getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
1089
1089
  return cache;
1090
1090
  });
1091
1091
  }, (response) => {
@@ -1093,7 +1093,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
1093
1093
  });
1094
1094
  }
1095
1095
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
1096
- return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
1096
+ return buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
1097
1097
  }
1098
1098
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
1099
1099
  const { luvio, config } = context;
@@ -1104,22 +1104,1538 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
1104
1104
  };
1105
1105
  const cacheSnapshot = storeLookup(selector, {
1106
1106
  config,
1107
- resolve: () => buildNetworkSnapshot$9(luvio, config, snapshotRefreshOptions)
1107
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1108
1108
  });
1109
1109
  return cacheSnapshot;
1110
1110
  }
1111
- const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
1112
- const config = validateAdapterConfig$9(untrustedConfig, getSemanticModels_ConfigPropertyNames);
1113
- // Invalid or incomplete config
1114
- if (config === null) {
1115
- return null;
1116
- }
1117
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1118
- buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
1119
- };
1111
+ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
1112
+ const config = validateAdapterConfig$a(untrustedConfig, getSemanticModels_ConfigPropertyNames);
1113
+ // Invalid or incomplete config
1114
+ if (config === null) {
1115
+ return null;
1116
+ }
1117
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1118
+ buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
1119
+ };
1120
+
1121
+ function validate$S(obj, path = 'SemanticBaseModelInputRepresentation') {
1122
+ const v_error = (() => {
1123
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1124
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1125
+ }
1126
+ if (obj.apiName !== undefined) {
1127
+ const obj_apiName = obj.apiName;
1128
+ const path_apiName = path + '.apiName';
1129
+ if (typeof obj_apiName !== 'string') {
1130
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1131
+ }
1132
+ }
1133
+ })();
1134
+ return v_error === undefined ? null : v_error;
1135
+ }
1136
+
1137
+ function validate$R(obj, path = 'SemanticFilterInputRepresentation') {
1138
+ const v_error = (() => {
1139
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1140
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1141
+ }
1142
+ if (obj.fieldName !== undefined) {
1143
+ const obj_fieldName = obj.fieldName;
1144
+ const path_fieldName = path + '.fieldName';
1145
+ if (typeof obj_fieldName !== 'string') {
1146
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
1147
+ }
1148
+ }
1149
+ if (obj.operator !== undefined) {
1150
+ const obj_operator = obj.operator;
1151
+ const path_operator = path + '.operator';
1152
+ if (typeof obj_operator !== 'string') {
1153
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
1154
+ }
1155
+ }
1156
+ if (obj.value !== undefined) {
1157
+ const obj_value = obj.value;
1158
+ const path_value = path + '.value';
1159
+ if (typeof obj_value !== 'string') {
1160
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
1161
+ }
1162
+ }
1163
+ })();
1164
+ return v_error === undefined ? null : v_error;
1165
+ }
1166
+
1167
+ function validate$Q(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
1168
+ const v_error = (() => {
1169
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1170
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1171
+ }
1172
+ if (obj.apiName !== undefined) {
1173
+ const obj_apiName = obj.apiName;
1174
+ const path_apiName = path + '.apiName';
1175
+ if (typeof obj_apiName !== 'string') {
1176
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1177
+ }
1178
+ }
1179
+ if (obj.dataType !== undefined) {
1180
+ const obj_dataType = obj.dataType;
1181
+ const path_dataType = path + '.dataType';
1182
+ if (typeof obj_dataType !== 'string') {
1183
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
1184
+ }
1185
+ }
1186
+ if (obj.decimalPlace !== undefined) {
1187
+ const obj_decimalPlace = obj.decimalPlace;
1188
+ const path_decimalPlace = path + '.decimalPlace';
1189
+ if (typeof obj_decimalPlace !== 'number' || (typeof obj_decimalPlace === 'number' && Math.floor(obj_decimalPlace) !== obj_decimalPlace)) {
1190
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalPlace + '" (at "' + path_decimalPlace + '")');
1191
+ }
1192
+ }
1193
+ if (obj.description !== undefined) {
1194
+ const obj_description = obj.description;
1195
+ const path_description = path + '.description';
1196
+ if (typeof obj_description !== 'string') {
1197
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1198
+ }
1199
+ }
1200
+ if (obj.displayCategory !== undefined) {
1201
+ const obj_displayCategory = obj.displayCategory;
1202
+ const path_displayCategory = path + '.displayCategory';
1203
+ if (typeof obj_displayCategory !== 'string') {
1204
+ return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
1205
+ }
1206
+ }
1207
+ if (obj.expression !== undefined) {
1208
+ const obj_expression = obj.expression;
1209
+ const path_expression = path + '.expression';
1210
+ if (typeof obj_expression !== 'string') {
1211
+ return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
1212
+ }
1213
+ }
1214
+ if (obj.filterLogic !== undefined) {
1215
+ const obj_filterLogic = obj.filterLogic;
1216
+ const path_filterLogic = path + '.filterLogic';
1217
+ if (typeof obj_filterLogic !== 'string') {
1218
+ return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
1219
+ }
1220
+ }
1221
+ if (obj.filters !== undefined) {
1222
+ const obj_filters = obj.filters;
1223
+ const path_filters = path + '.filters';
1224
+ if (!ArrayIsArray(obj_filters)) {
1225
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
1226
+ }
1227
+ for (let i = 0; i < obj_filters.length; i++) {
1228
+ const obj_filters_item = obj_filters[i];
1229
+ const path_filters_item = path_filters + '[' + i + ']';
1230
+ const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
1231
+ if (referencepath_filters_itemValidationError !== null) {
1232
+ let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1233
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1234
+ return new TypeError(message);
1235
+ }
1236
+ }
1237
+ }
1238
+ if (obj.isVisible !== undefined) {
1239
+ const obj_isVisible = obj.isVisible;
1240
+ const path_isVisible = path + '.isVisible';
1241
+ if (typeof obj_isVisible !== 'boolean') {
1242
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
1243
+ }
1244
+ }
1245
+ if (obj.label !== undefined) {
1246
+ const obj_label = obj.label;
1247
+ const path_label = path + '.label';
1248
+ if (typeof obj_label !== 'string') {
1249
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1250
+ }
1251
+ }
1252
+ if (obj.semanticDataType !== undefined) {
1253
+ const obj_semanticDataType = obj.semanticDataType;
1254
+ const path_semanticDataType = path + '.semanticDataType';
1255
+ if (typeof obj_semanticDataType !== 'string') {
1256
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
1257
+ }
1258
+ }
1259
+ if (obj.sortOrder !== undefined) {
1260
+ const obj_sortOrder = obj.sortOrder;
1261
+ const path_sortOrder = path + '.sortOrder';
1262
+ if (typeof obj_sortOrder !== 'string') {
1263
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
1264
+ }
1265
+ }
1266
+ if (obj.syntax !== undefined) {
1267
+ const obj_syntax = obj.syntax;
1268
+ const path_syntax = path + '.syntax';
1269
+ if (typeof obj_syntax !== 'string') {
1270
+ return new TypeError('Expected "string" but received "' + typeof obj_syntax + '" (at "' + path_syntax + '")');
1271
+ }
1272
+ }
1273
+ })();
1274
+ return v_error === undefined ? null : v_error;
1275
+ }
1276
+
1277
+ function validate$P(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
1278
+ const v_error = (() => {
1279
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1280
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1281
+ }
1282
+ if (obj.aggregationType !== undefined) {
1283
+ const obj_aggregationType = obj.aggregationType;
1284
+ const path_aggregationType = path + '.aggregationType';
1285
+ if (typeof obj_aggregationType !== 'string') {
1286
+ return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
1287
+ }
1288
+ }
1289
+ if (obj.apiName !== undefined) {
1290
+ const obj_apiName = obj.apiName;
1291
+ const path_apiName = path + '.apiName';
1292
+ if (typeof obj_apiName !== 'string') {
1293
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1294
+ }
1295
+ }
1296
+ if (obj.dataType !== undefined) {
1297
+ const obj_dataType = obj.dataType;
1298
+ const path_dataType = path + '.dataType';
1299
+ if (typeof obj_dataType !== 'string') {
1300
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
1301
+ }
1302
+ }
1303
+ if (obj.decimalPlace !== undefined) {
1304
+ const obj_decimalPlace = obj.decimalPlace;
1305
+ const path_decimalPlace = path + '.decimalPlace';
1306
+ if (typeof obj_decimalPlace !== 'number' || (typeof obj_decimalPlace === 'number' && Math.floor(obj_decimalPlace) !== obj_decimalPlace)) {
1307
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalPlace + '" (at "' + path_decimalPlace + '")');
1308
+ }
1309
+ }
1310
+ if (obj.description !== undefined) {
1311
+ const obj_description = obj.description;
1312
+ const path_description = path + '.description';
1313
+ if (typeof obj_description !== 'string') {
1314
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1315
+ }
1316
+ }
1317
+ if (obj.directionality !== undefined) {
1318
+ const obj_directionality = obj.directionality;
1319
+ const path_directionality = path + '.directionality';
1320
+ if (typeof obj_directionality !== 'string') {
1321
+ return new TypeError('Expected "string" but received "' + typeof obj_directionality + '" (at "' + path_directionality + '")');
1322
+ }
1323
+ }
1324
+ if (obj.displayCategory !== undefined) {
1325
+ const obj_displayCategory = obj.displayCategory;
1326
+ const path_displayCategory = path + '.displayCategory';
1327
+ if (typeof obj_displayCategory !== 'string') {
1328
+ return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
1329
+ }
1330
+ }
1331
+ if (obj.expression !== undefined) {
1332
+ const obj_expression = obj.expression;
1333
+ const path_expression = path + '.expression';
1334
+ if (typeof obj_expression !== 'string') {
1335
+ return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
1336
+ }
1337
+ }
1338
+ if (obj.filterLogic !== undefined) {
1339
+ const obj_filterLogic = obj.filterLogic;
1340
+ const path_filterLogic = path + '.filterLogic';
1341
+ if (typeof obj_filterLogic !== 'string') {
1342
+ return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
1343
+ }
1344
+ }
1345
+ if (obj.filters !== undefined) {
1346
+ const obj_filters = obj.filters;
1347
+ const path_filters = path + '.filters';
1348
+ if (!ArrayIsArray(obj_filters)) {
1349
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
1350
+ }
1351
+ for (let i = 0; i < obj_filters.length; i++) {
1352
+ const obj_filters_item = obj_filters[i];
1353
+ const path_filters_item = path_filters + '[' + i + ']';
1354
+ const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
1355
+ if (referencepath_filters_itemValidationError !== null) {
1356
+ let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1357
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1358
+ return new TypeError(message);
1359
+ }
1360
+ }
1361
+ }
1362
+ if (obj.isVisible !== undefined) {
1363
+ const obj_isVisible = obj.isVisible;
1364
+ const path_isVisible = path + '.isVisible';
1365
+ if (typeof obj_isVisible !== 'boolean') {
1366
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
1367
+ }
1368
+ }
1369
+ if (obj.label !== undefined) {
1370
+ const obj_label = obj.label;
1371
+ const path_label = path + '.label';
1372
+ if (typeof obj_label !== 'string') {
1373
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1374
+ }
1375
+ }
1376
+ if (obj.semanticDataType !== undefined) {
1377
+ const obj_semanticDataType = obj.semanticDataType;
1378
+ const path_semanticDataType = path + '.semanticDataType';
1379
+ if (typeof obj_semanticDataType !== 'string') {
1380
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
1381
+ }
1382
+ }
1383
+ if (obj.shouldTreatNullsAsZeros !== undefined) {
1384
+ const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
1385
+ const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
1386
+ if (typeof obj_shouldTreatNullsAsZeros !== 'boolean') {
1387
+ return new TypeError('Expected "boolean" but received "' + typeof obj_shouldTreatNullsAsZeros + '" (at "' + path_shouldTreatNullsAsZeros + '")');
1388
+ }
1389
+ }
1390
+ if (obj.sortOrder !== undefined) {
1391
+ const obj_sortOrder = obj.sortOrder;
1392
+ const path_sortOrder = path + '.sortOrder';
1393
+ if (typeof obj_sortOrder !== 'string') {
1394
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
1395
+ }
1396
+ }
1397
+ if (obj.syntax !== undefined) {
1398
+ const obj_syntax = obj.syntax;
1399
+ const path_syntax = path + '.syntax';
1400
+ if (typeof obj_syntax !== 'string') {
1401
+ return new TypeError('Expected "string" but received "' + typeof obj_syntax + '" (at "' + path_syntax + '")');
1402
+ }
1403
+ }
1404
+ if (obj.totalAggregationType !== undefined) {
1405
+ const obj_totalAggregationType = obj.totalAggregationType;
1406
+ const path_totalAggregationType = path + '.totalAggregationType';
1407
+ if (typeof obj_totalAggregationType !== 'string') {
1408
+ return new TypeError('Expected "string" but received "' + typeof obj_totalAggregationType + '" (at "' + path_totalAggregationType + '")');
1409
+ }
1410
+ }
1411
+ })();
1412
+ return v_error === undefined ? null : v_error;
1413
+ }
1414
+
1415
+ function validate$O(obj, path = 'SemanticDimensionInputRepresentation') {
1416
+ const v_error = (() => {
1417
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1418
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1419
+ }
1420
+ if (obj.apiName !== undefined) {
1421
+ const obj_apiName = obj.apiName;
1422
+ const path_apiName = path + '.apiName';
1423
+ if (typeof obj_apiName !== 'string') {
1424
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1425
+ }
1426
+ }
1427
+ if (obj.dataObjectFieldName !== undefined) {
1428
+ const obj_dataObjectFieldName = obj.dataObjectFieldName;
1429
+ const path_dataObjectFieldName = path + '.dataObjectFieldName';
1430
+ if (typeof obj_dataObjectFieldName !== 'string') {
1431
+ return new TypeError('Expected "string" but received "' + typeof obj_dataObjectFieldName + '" (at "' + path_dataObjectFieldName + '")');
1432
+ }
1433
+ }
1434
+ if (obj.dataType !== undefined) {
1435
+ const obj_dataType = obj.dataType;
1436
+ const path_dataType = path + '.dataType';
1437
+ if (typeof obj_dataType !== 'string') {
1438
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
1439
+ }
1440
+ }
1441
+ if (obj.decimalPlace !== undefined) {
1442
+ const obj_decimalPlace = obj.decimalPlace;
1443
+ const path_decimalPlace = path + '.decimalPlace';
1444
+ if (typeof obj_decimalPlace !== 'number' || (typeof obj_decimalPlace === 'number' && Math.floor(obj_decimalPlace) !== obj_decimalPlace)) {
1445
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalPlace + '" (at "' + path_decimalPlace + '")');
1446
+ }
1447
+ }
1448
+ if (obj.description !== undefined) {
1449
+ const obj_description = obj.description;
1450
+ const path_description = path + '.description';
1451
+ if (typeof obj_description !== 'string') {
1452
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1453
+ }
1454
+ }
1455
+ if (obj.displayCategory !== undefined) {
1456
+ const obj_displayCategory = obj.displayCategory;
1457
+ const path_displayCategory = path + '.displayCategory';
1458
+ if (typeof obj_displayCategory !== 'string') {
1459
+ return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
1460
+ }
1461
+ }
1462
+ if (obj.isVisible !== undefined) {
1463
+ const obj_isVisible = obj.isVisible;
1464
+ const path_isVisible = path + '.isVisible';
1465
+ if (typeof obj_isVisible !== 'boolean') {
1466
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
1467
+ }
1468
+ }
1469
+ if (obj.label !== undefined) {
1470
+ const obj_label = obj.label;
1471
+ const path_label = path + '.label';
1472
+ if (typeof obj_label !== 'string') {
1473
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1474
+ }
1475
+ }
1476
+ if (obj.semanticDataType !== undefined) {
1477
+ const obj_semanticDataType = obj.semanticDataType;
1478
+ const path_semanticDataType = path + '.semanticDataType';
1479
+ if (typeof obj_semanticDataType !== 'string') {
1480
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
1481
+ }
1482
+ }
1483
+ if (obj.sortOrder !== undefined) {
1484
+ const obj_sortOrder = obj.sortOrder;
1485
+ const path_sortOrder = path + '.sortOrder';
1486
+ if (typeof obj_sortOrder !== 'string') {
1487
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
1488
+ }
1489
+ }
1490
+ })();
1491
+ return v_error === undefined ? null : v_error;
1492
+ }
1493
+
1494
+ function validate$N(obj, path = 'SemanticMeasurementInputRepresentation') {
1495
+ const v_error = (() => {
1496
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1497
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1498
+ }
1499
+ if (obj.aggregationType !== undefined) {
1500
+ const obj_aggregationType = obj.aggregationType;
1501
+ const path_aggregationType = path + '.aggregationType';
1502
+ if (typeof obj_aggregationType !== 'string') {
1503
+ return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
1504
+ }
1505
+ }
1506
+ if (obj.apiName !== undefined) {
1507
+ const obj_apiName = obj.apiName;
1508
+ const path_apiName = path + '.apiName';
1509
+ if (typeof obj_apiName !== 'string') {
1510
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1511
+ }
1512
+ }
1513
+ if (obj.dataObjectFieldName !== undefined) {
1514
+ const obj_dataObjectFieldName = obj.dataObjectFieldName;
1515
+ const path_dataObjectFieldName = path + '.dataObjectFieldName';
1516
+ if (typeof obj_dataObjectFieldName !== 'string') {
1517
+ return new TypeError('Expected "string" but received "' + typeof obj_dataObjectFieldName + '" (at "' + path_dataObjectFieldName + '")');
1518
+ }
1519
+ }
1520
+ if (obj.dataType !== undefined) {
1521
+ const obj_dataType = obj.dataType;
1522
+ const path_dataType = path + '.dataType';
1523
+ if (typeof obj_dataType !== 'string') {
1524
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
1525
+ }
1526
+ }
1527
+ if (obj.decimalPlace !== undefined) {
1528
+ const obj_decimalPlace = obj.decimalPlace;
1529
+ const path_decimalPlace = path + '.decimalPlace';
1530
+ if (typeof obj_decimalPlace !== 'number' || (typeof obj_decimalPlace === 'number' && Math.floor(obj_decimalPlace) !== obj_decimalPlace)) {
1531
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalPlace + '" (at "' + path_decimalPlace + '")');
1532
+ }
1533
+ }
1534
+ if (obj.description !== undefined) {
1535
+ const obj_description = obj.description;
1536
+ const path_description = path + '.description';
1537
+ if (typeof obj_description !== 'string') {
1538
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1539
+ }
1540
+ }
1541
+ if (obj.directionality !== undefined) {
1542
+ const obj_directionality = obj.directionality;
1543
+ const path_directionality = path + '.directionality';
1544
+ if (typeof obj_directionality !== 'string') {
1545
+ return new TypeError('Expected "string" but received "' + typeof obj_directionality + '" (at "' + path_directionality + '")');
1546
+ }
1547
+ }
1548
+ if (obj.displayCategory !== undefined) {
1549
+ const obj_displayCategory = obj.displayCategory;
1550
+ const path_displayCategory = path + '.displayCategory';
1551
+ if (typeof obj_displayCategory !== 'string') {
1552
+ return new TypeError('Expected "string" but received "' + typeof obj_displayCategory + '" (at "' + path_displayCategory + '")');
1553
+ }
1554
+ }
1555
+ if (obj.isVisible !== undefined) {
1556
+ const obj_isVisible = obj.isVisible;
1557
+ const path_isVisible = path + '.isVisible';
1558
+ if (typeof obj_isVisible !== 'boolean') {
1559
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isVisible + '" (at "' + path_isVisible + '")');
1560
+ }
1561
+ }
1562
+ if (obj.label !== undefined) {
1563
+ const obj_label = obj.label;
1564
+ const path_label = path + '.label';
1565
+ if (typeof obj_label !== 'string') {
1566
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1567
+ }
1568
+ }
1569
+ if (obj.semanticDataType !== undefined) {
1570
+ const obj_semanticDataType = obj.semanticDataType;
1571
+ const path_semanticDataType = path + '.semanticDataType';
1572
+ if (typeof obj_semanticDataType !== 'string') {
1573
+ return new TypeError('Expected "string" but received "' + typeof obj_semanticDataType + '" (at "' + path_semanticDataType + '")');
1574
+ }
1575
+ }
1576
+ if (obj.shouldTreatNullsAsZeros !== undefined) {
1577
+ const obj_shouldTreatNullsAsZeros = obj.shouldTreatNullsAsZeros;
1578
+ const path_shouldTreatNullsAsZeros = path + '.shouldTreatNullsAsZeros';
1579
+ if (typeof obj_shouldTreatNullsAsZeros !== 'boolean') {
1580
+ return new TypeError('Expected "boolean" but received "' + typeof obj_shouldTreatNullsAsZeros + '" (at "' + path_shouldTreatNullsAsZeros + '")');
1581
+ }
1582
+ }
1583
+ if (obj.sortOrder !== undefined) {
1584
+ const obj_sortOrder = obj.sortOrder;
1585
+ const path_sortOrder = path + '.sortOrder';
1586
+ if (typeof obj_sortOrder !== 'string') {
1587
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
1588
+ }
1589
+ }
1590
+ })();
1591
+ return v_error === undefined ? null : v_error;
1592
+ }
1593
+
1594
+ function validate$M(obj, path = 'SemanticDataObjectInputRepresentation') {
1595
+ const v_error = (() => {
1596
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1597
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1598
+ }
1599
+ if (obj.apiName !== undefined) {
1600
+ const obj_apiName = obj.apiName;
1601
+ const path_apiName = path + '.apiName';
1602
+ if (typeof obj_apiName !== 'string') {
1603
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1604
+ }
1605
+ }
1606
+ if (obj.dataObjectName !== undefined) {
1607
+ const obj_dataObjectName = obj.dataObjectName;
1608
+ const path_dataObjectName = path + '.dataObjectName';
1609
+ if (typeof obj_dataObjectName !== 'string') {
1610
+ return new TypeError('Expected "string" but received "' + typeof obj_dataObjectName + '" (at "' + path_dataObjectName + '")');
1611
+ }
1612
+ }
1613
+ if (obj.dataObjectType !== undefined) {
1614
+ const obj_dataObjectType = obj.dataObjectType;
1615
+ const path_dataObjectType = path + '.dataObjectType';
1616
+ if (typeof obj_dataObjectType !== 'string') {
1617
+ return new TypeError('Expected "string" but received "' + typeof obj_dataObjectType + '" (at "' + path_dataObjectType + '")');
1618
+ }
1619
+ }
1620
+ if (obj.description !== undefined) {
1621
+ const obj_description = obj.description;
1622
+ const path_description = path + '.description';
1623
+ if (typeof obj_description !== 'string') {
1624
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1625
+ }
1626
+ }
1627
+ if (obj.filterLogic !== undefined) {
1628
+ const obj_filterLogic = obj.filterLogic;
1629
+ const path_filterLogic = path + '.filterLogic';
1630
+ if (typeof obj_filterLogic !== 'string') {
1631
+ return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
1632
+ }
1633
+ }
1634
+ if (obj.filters !== undefined) {
1635
+ const obj_filters = obj.filters;
1636
+ const path_filters = path + '.filters';
1637
+ if (!ArrayIsArray(obj_filters)) {
1638
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
1639
+ }
1640
+ for (let i = 0; i < obj_filters.length; i++) {
1641
+ const obj_filters_item = obj_filters[i];
1642
+ const path_filters_item = path_filters + '[' + i + ']';
1643
+ const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
1644
+ if (referencepath_filters_itemValidationError !== null) {
1645
+ let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1646
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1647
+ return new TypeError(message);
1648
+ }
1649
+ }
1650
+ }
1651
+ if (obj.label !== undefined) {
1652
+ const obj_label = obj.label;
1653
+ const path_label = path + '.label';
1654
+ if (typeof obj_label !== 'string') {
1655
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1656
+ }
1657
+ }
1658
+ if (obj.logicalViewId !== undefined) {
1659
+ const obj_logicalViewId = obj.logicalViewId;
1660
+ const path_logicalViewId = path + '.logicalViewId';
1661
+ if (typeof obj_logicalViewId !== 'string') {
1662
+ return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
1663
+ }
1664
+ }
1665
+ if (obj.semanticDimensions !== undefined) {
1666
+ const obj_semanticDimensions = obj.semanticDimensions;
1667
+ const path_semanticDimensions = path + '.semanticDimensions';
1668
+ if (!ArrayIsArray(obj_semanticDimensions)) {
1669
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticDimensions + '" (at "' + path_semanticDimensions + '")');
1670
+ }
1671
+ for (let i = 0; i < obj_semanticDimensions.length; i++) {
1672
+ const obj_semanticDimensions_item = obj_semanticDimensions[i];
1673
+ const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
1674
+ const referencepath_semanticDimensions_itemValidationError = validate$O(obj_semanticDimensions_item, path_semanticDimensions_item);
1675
+ if (referencepath_semanticDimensions_itemValidationError !== null) {
1676
+ let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
1677
+ message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1678
+ return new TypeError(message);
1679
+ }
1680
+ }
1681
+ }
1682
+ if (obj.semanticMeasurements !== undefined) {
1683
+ const obj_semanticMeasurements = obj.semanticMeasurements;
1684
+ const path_semanticMeasurements = path + '.semanticMeasurements';
1685
+ if (!ArrayIsArray(obj_semanticMeasurements)) {
1686
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticMeasurements + '" (at "' + path_semanticMeasurements + '")');
1687
+ }
1688
+ for (let i = 0; i < obj_semanticMeasurements.length; i++) {
1689
+ const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
1690
+ const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
1691
+ const referencepath_semanticMeasurements_itemValidationError = validate$N(obj_semanticMeasurements_item, path_semanticMeasurements_item);
1692
+ if (referencepath_semanticMeasurements_itemValidationError !== null) {
1693
+ let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
1694
+ message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1695
+ return new TypeError(message);
1696
+ }
1697
+ }
1698
+ }
1699
+ if (obj.shouldIncludeAllFields !== undefined) {
1700
+ const obj_shouldIncludeAllFields = obj.shouldIncludeAllFields;
1701
+ const path_shouldIncludeAllFields = path + '.shouldIncludeAllFields';
1702
+ if (typeof obj_shouldIncludeAllFields !== 'boolean') {
1703
+ return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
1704
+ }
1705
+ }
1706
+ })();
1707
+ return v_error === undefined ? null : v_error;
1708
+ }
1709
+
1710
+ function validate$L(obj, path = 'BinDimensionConfigurationInputRepresentation') {
1711
+ const v_error = (() => {
1712
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1713
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1714
+ }
1715
+ if (obj.constantBinSize !== undefined) {
1716
+ obj.constantBinSize;
1717
+ }
1718
+ })();
1719
+ return v_error === undefined ? null : v_error;
1720
+ }
1721
+
1722
+ function validate$K(obj, path = 'GroupDimensionGroupInputRepresentation') {
1723
+ const v_error = (() => {
1724
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1725
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1726
+ }
1727
+ if (obj.name !== undefined) {
1728
+ const obj_name = obj.name;
1729
+ const path_name = path + '.name';
1730
+ if (typeof obj_name !== 'string') {
1731
+ return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
1732
+ }
1733
+ }
1734
+ if (obj.values !== undefined) {
1735
+ const obj_values = obj.values;
1736
+ const path_values = path + '.values';
1737
+ if (!ArrayIsArray(obj_values)) {
1738
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
1739
+ }
1740
+ for (let i = 0; i < obj_values.length; i++) {
1741
+ const obj_values_item = obj_values[i];
1742
+ const path_values_item = path_values + '[' + i + ']';
1743
+ if (typeof obj_values_item !== 'string') {
1744
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
1745
+ }
1746
+ }
1747
+ }
1748
+ })();
1749
+ return v_error === undefined ? null : v_error;
1750
+ }
1751
+
1752
+ function validate$J(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
1753
+ const v_error = (() => {
1754
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1755
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1756
+ }
1757
+ if (obj.groups !== undefined) {
1758
+ const obj_groups = obj.groups;
1759
+ const path_groups = path + '.groups';
1760
+ if (!ArrayIsArray(obj_groups)) {
1761
+ return new TypeError('Expected "array" but received "' + typeof obj_groups + '" (at "' + path_groups + '")');
1762
+ }
1763
+ for (let i = 0; i < obj_groups.length; i++) {
1764
+ const obj_groups_item = obj_groups[i];
1765
+ const path_groups_item = path_groups + '[' + i + ']';
1766
+ const referencepath_groups_itemValidationError = validate$K(obj_groups_item, path_groups_item);
1767
+ if (referencepath_groups_itemValidationError !== null) {
1768
+ let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
1769
+ message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1770
+ return new TypeError(message);
1771
+ }
1772
+ }
1773
+ }
1774
+ if (obj.ungroupedValuesGroupName !== undefined) {
1775
+ const obj_ungroupedValuesGroupName = obj.ungroupedValuesGroupName;
1776
+ const path_ungroupedValuesGroupName = path + '.ungroupedValuesGroupName';
1777
+ if (typeof obj_ungroupedValuesGroupName !== 'string') {
1778
+ return new TypeError('Expected "string" but received "' + typeof obj_ungroupedValuesGroupName + '" (at "' + path_ungroupedValuesGroupName + '")');
1779
+ }
1780
+ }
1781
+ })();
1782
+ return v_error === undefined ? null : v_error;
1783
+ }
1784
+
1785
+ function validate$I(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
1786
+ const v_error = (() => {
1787
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1788
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1789
+ }
1790
+ if (obj.binDimension !== undefined) {
1791
+ const obj_binDimension = obj.binDimension;
1792
+ const path_binDimension = path + '.binDimension';
1793
+ const referencepath_binDimensionValidationError = validate$L(obj_binDimension, path_binDimension);
1794
+ if (referencepath_binDimensionValidationError !== null) {
1795
+ let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
1796
+ message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1797
+ return new TypeError(message);
1798
+ }
1799
+ }
1800
+ if (obj.groupDimension !== undefined) {
1801
+ const obj_groupDimension = obj.groupDimension;
1802
+ const path_groupDimension = path + '.groupDimension';
1803
+ const referencepath_groupDimensionValidationError = validate$J(obj_groupDimension, path_groupDimension);
1804
+ if (referencepath_groupDimensionValidationError !== null) {
1805
+ let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
1806
+ message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1807
+ return new TypeError(message);
1808
+ }
1809
+ }
1810
+ })();
1811
+ return v_error === undefined ? null : v_error;
1812
+ }
1813
+
1814
+ function validate$H(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
1815
+ const v_error = (() => {
1816
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1817
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1818
+ }
1819
+ if (obj.fieldApiName !== undefined) {
1820
+ const obj_fieldApiName = obj.fieldApiName;
1821
+ const path_fieldApiName = path + '.fieldApiName';
1822
+ if (typeof obj_fieldApiName !== 'string') {
1823
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
1824
+ }
1825
+ }
1826
+ if (obj.tableApiName !== undefined) {
1827
+ const obj_tableApiName = obj.tableApiName;
1828
+ const path_tableApiName = path + '.tableApiName';
1829
+ if (typeof obj_tableApiName !== 'string') {
1830
+ return new TypeError('Expected "string" but received "' + typeof obj_tableApiName + '" (at "' + path_tableApiName + '")');
1831
+ }
1832
+ }
1833
+ })();
1834
+ return v_error === undefined ? null : v_error;
1835
+ }
1836
+
1837
+ function validate$G(obj, path = 'SemanticFieldReferenceInputRepresentation') {
1838
+ const v_error = (() => {
1839
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1840
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1841
+ }
1842
+ if (obj.calculatedFieldApiName !== undefined) {
1843
+ const obj_calculatedFieldApiName = obj.calculatedFieldApiName;
1844
+ const path_calculatedFieldApiName = path + '.calculatedFieldApiName';
1845
+ if (typeof obj_calculatedFieldApiName !== 'string') {
1846
+ return new TypeError('Expected "string" but received "' + typeof obj_calculatedFieldApiName + '" (at "' + path_calculatedFieldApiName + '")');
1847
+ }
1848
+ }
1849
+ if (obj.tableFieldReference !== undefined) {
1850
+ const obj_tableFieldReference = obj.tableFieldReference;
1851
+ const path_tableFieldReference = path + '.tableFieldReference';
1852
+ const referencepath_tableFieldReferenceValidationError = validate$H(obj_tableFieldReference, path_tableFieldReference);
1853
+ if (referencepath_tableFieldReferenceValidationError !== null) {
1854
+ let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
1855
+ message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1856
+ return new TypeError(message);
1857
+ }
1858
+ }
1859
+ })();
1860
+ return v_error === undefined ? null : v_error;
1861
+ }
1862
+
1863
+ function validate$F(obj, path = 'SemanticGroupingInputRepresentation') {
1864
+ const v_error = (() => {
1865
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1866
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1867
+ }
1868
+ if (obj.apiName !== undefined) {
1869
+ const obj_apiName = obj.apiName;
1870
+ const path_apiName = path + '.apiName';
1871
+ if (typeof obj_apiName !== 'string') {
1872
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1873
+ }
1874
+ }
1875
+ if (obj.configuration !== undefined) {
1876
+ const obj_configuration = obj.configuration;
1877
+ const path_configuration = path + '.configuration';
1878
+ const referencepath_configurationValidationError = validate$I(obj_configuration, path_configuration);
1879
+ if (referencepath_configurationValidationError !== null) {
1880
+ let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
1881
+ message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1882
+ return new TypeError(message);
1883
+ }
1884
+ }
1885
+ if (obj.description !== undefined) {
1886
+ const obj_description = obj.description;
1887
+ const path_description = path + '.description';
1888
+ if (typeof obj_description !== 'string') {
1889
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1890
+ }
1891
+ }
1892
+ if (obj.fieldReference !== undefined) {
1893
+ const obj_fieldReference = obj.fieldReference;
1894
+ const path_fieldReference = path + '.fieldReference';
1895
+ const referencepath_fieldReferenceValidationError = validate$G(obj_fieldReference, path_fieldReference);
1896
+ if (referencepath_fieldReferenceValidationError !== null) {
1897
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
1898
+ message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1899
+ return new TypeError(message);
1900
+ }
1901
+ }
1902
+ if (obj.label !== undefined) {
1903
+ const obj_label = obj.label;
1904
+ const path_label = path + '.label';
1905
+ if (typeof obj_label !== 'string') {
1906
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1907
+ }
1908
+ }
1909
+ if (obj.type !== undefined) {
1910
+ const obj_type = obj.type;
1911
+ const path_type = path + '.type';
1912
+ if (typeof obj_type !== 'string') {
1913
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
1914
+ }
1915
+ }
1916
+ })();
1917
+ return v_error === undefined ? null : v_error;
1918
+ }
1919
+
1920
+ function validate$E(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
1921
+ const v_error = (() => {
1922
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1923
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1924
+ }
1925
+ if (obj.joinOperator !== undefined) {
1926
+ const obj_joinOperator = obj.joinOperator;
1927
+ const path_joinOperator = path + '.joinOperator';
1928
+ if (typeof obj_joinOperator !== 'string') {
1929
+ return new TypeError('Expected "string" but received "' + typeof obj_joinOperator + '" (at "' + path_joinOperator + '")');
1930
+ }
1931
+ }
1932
+ if (obj.leftFieldType !== undefined) {
1933
+ const obj_leftFieldType = obj.leftFieldType;
1934
+ const path_leftFieldType = path + '.leftFieldType';
1935
+ if (typeof obj_leftFieldType !== 'string') {
1936
+ return new TypeError('Expected "string" but received "' + typeof obj_leftFieldType + '" (at "' + path_leftFieldType + '")');
1937
+ }
1938
+ }
1939
+ if (obj.leftSemanticFieldApiName !== undefined) {
1940
+ const obj_leftSemanticFieldApiName = obj.leftSemanticFieldApiName;
1941
+ const path_leftSemanticFieldApiName = path + '.leftSemanticFieldApiName';
1942
+ if (typeof obj_leftSemanticFieldApiName !== 'string') {
1943
+ return new TypeError('Expected "string" but received "' + typeof obj_leftSemanticFieldApiName + '" (at "' + path_leftSemanticFieldApiName + '")');
1944
+ }
1945
+ }
1946
+ if (obj.rightFieldType !== undefined) {
1947
+ const obj_rightFieldType = obj.rightFieldType;
1948
+ const path_rightFieldType = path + '.rightFieldType';
1949
+ if (typeof obj_rightFieldType !== 'string') {
1950
+ return new TypeError('Expected "string" but received "' + typeof obj_rightFieldType + '" (at "' + path_rightFieldType + '")');
1951
+ }
1952
+ }
1953
+ if (obj.rightSemanticFieldApiName !== undefined) {
1954
+ const obj_rightSemanticFieldApiName = obj.rightSemanticFieldApiName;
1955
+ const path_rightSemanticFieldApiName = path + '.rightSemanticFieldApiName';
1956
+ if (typeof obj_rightSemanticFieldApiName !== 'string') {
1957
+ return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticFieldApiName + '" (at "' + path_rightSemanticFieldApiName + '")');
1958
+ }
1959
+ }
1960
+ })();
1961
+ return v_error === undefined ? null : v_error;
1962
+ }
1963
+
1964
+ function validate$D(obj, path = 'SemanticRelationshipInputRepresentation') {
1965
+ const v_error = (() => {
1966
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1967
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1968
+ }
1969
+ if (obj.apiName !== undefined) {
1970
+ const obj_apiName = obj.apiName;
1971
+ const path_apiName = path + '.apiName';
1972
+ if (typeof obj_apiName !== 'string') {
1973
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
1974
+ }
1975
+ }
1976
+ if (obj.cardinality !== undefined) {
1977
+ const obj_cardinality = obj.cardinality;
1978
+ const path_cardinality = path + '.cardinality';
1979
+ if (typeof obj_cardinality !== 'string') {
1980
+ return new TypeError('Expected "string" but received "' + typeof obj_cardinality + '" (at "' + path_cardinality + '")');
1981
+ }
1982
+ }
1983
+ if (obj.criteria !== undefined) {
1984
+ const obj_criteria = obj.criteria;
1985
+ const path_criteria = path + '.criteria';
1986
+ if (!ArrayIsArray(obj_criteria)) {
1987
+ return new TypeError('Expected "array" but received "' + typeof obj_criteria + '" (at "' + path_criteria + '")');
1988
+ }
1989
+ for (let i = 0; i < obj_criteria.length; i++) {
1990
+ const obj_criteria_item = obj_criteria[i];
1991
+ const path_criteria_item = path_criteria + '[' + i + ']';
1992
+ const referencepath_criteria_itemValidationError = validate$E(obj_criteria_item, path_criteria_item);
1993
+ if (referencepath_criteria_itemValidationError !== null) {
1994
+ let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
1995
+ message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1996
+ return new TypeError(message);
1997
+ }
1998
+ }
1999
+ }
2000
+ if (obj.description !== undefined) {
2001
+ const obj_description = obj.description;
2002
+ const path_description = path + '.description';
2003
+ if (typeof obj_description !== 'string') {
2004
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2005
+ }
2006
+ }
2007
+ if (obj.isEnabled !== undefined) {
2008
+ const obj_isEnabled = obj.isEnabled;
2009
+ const path_isEnabled = path + '.isEnabled';
2010
+ if (typeof obj_isEnabled !== 'boolean') {
2011
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isEnabled + '" (at "' + path_isEnabled + '")');
2012
+ }
2013
+ }
2014
+ if (obj.joinType !== undefined) {
2015
+ const obj_joinType = obj.joinType;
2016
+ const path_joinType = path + '.joinType';
2017
+ if (typeof obj_joinType !== 'string') {
2018
+ return new TypeError('Expected "string" but received "' + typeof obj_joinType + '" (at "' + path_joinType + '")');
2019
+ }
2020
+ }
2021
+ if (obj.label !== undefined) {
2022
+ const obj_label = obj.label;
2023
+ const path_label = path + '.label';
2024
+ if (typeof obj_label !== 'string') {
2025
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2026
+ }
2027
+ }
2028
+ if (obj.leftSemanticDefinitionApiName !== undefined) {
2029
+ const obj_leftSemanticDefinitionApiName = obj.leftSemanticDefinitionApiName;
2030
+ const path_leftSemanticDefinitionApiName = path + '.leftSemanticDefinitionApiName';
2031
+ if (typeof obj_leftSemanticDefinitionApiName !== 'string') {
2032
+ return new TypeError('Expected "string" but received "' + typeof obj_leftSemanticDefinitionApiName + '" (at "' + path_leftSemanticDefinitionApiName + '")');
2033
+ }
2034
+ }
2035
+ if (obj.logicalViewId !== undefined) {
2036
+ const obj_logicalViewId = obj.logicalViewId;
2037
+ const path_logicalViewId = path + '.logicalViewId';
2038
+ if (typeof obj_logicalViewId !== 'string') {
2039
+ return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
2040
+ }
2041
+ }
2042
+ if (obj.rightSemanticDefinitionApiName !== undefined) {
2043
+ const obj_rightSemanticDefinitionApiName = obj.rightSemanticDefinitionApiName;
2044
+ const path_rightSemanticDefinitionApiName = path + '.rightSemanticDefinitionApiName';
2045
+ if (typeof obj_rightSemanticDefinitionApiName !== 'string') {
2046
+ return new TypeError('Expected "string" but received "' + typeof obj_rightSemanticDefinitionApiName + '" (at "' + path_rightSemanticDefinitionApiName + '")');
2047
+ }
2048
+ }
2049
+ })();
2050
+ return v_error === undefined ? null : v_error;
2051
+ }
2052
+
2053
+ function validate$C(obj, path = 'SemanticMappedFieldInputRepresentation') {
2054
+ const v_error = (() => {
2055
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2056
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2057
+ }
2058
+ if (obj.apiName !== undefined) {
2059
+ const obj_apiName = obj.apiName;
2060
+ const path_apiName = path + '.apiName';
2061
+ if (typeof obj_apiName !== 'string') {
2062
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2063
+ }
2064
+ }
2065
+ if (obj.description !== undefined) {
2066
+ const obj_description = obj.description;
2067
+ const path_description = path + '.description';
2068
+ if (typeof obj_description !== 'string') {
2069
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2070
+ }
2071
+ }
2072
+ if (obj.fields !== undefined) {
2073
+ const obj_fields = obj.fields;
2074
+ const path_fields = path + '.fields';
2075
+ if (!ArrayIsArray(obj_fields)) {
2076
+ return new TypeError('Expected "array" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
2077
+ }
2078
+ for (let i = 0; i < obj_fields.length; i++) {
2079
+ const obj_fields_item = obj_fields[i];
2080
+ const path_fields_item = path_fields + '[' + i + ']';
2081
+ const referencepath_fields_itemValidationError = validate$H(obj_fields_item, path_fields_item);
2082
+ if (referencepath_fields_itemValidationError !== null) {
2083
+ let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
2084
+ message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2085
+ return new TypeError(message);
2086
+ }
2087
+ }
2088
+ }
2089
+ if (obj.label !== undefined) {
2090
+ const obj_label = obj.label;
2091
+ const path_label = path + '.label';
2092
+ if (typeof obj_label !== 'string') {
2093
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2094
+ }
2095
+ }
2096
+ if (obj.logicalViewId !== undefined) {
2097
+ const obj_logicalViewId = obj.logicalViewId;
2098
+ const path_logicalViewId = path + '.logicalViewId';
2099
+ if (typeof obj_logicalViewId !== 'string') {
2100
+ return new TypeError('Expected "string" but received "' + typeof obj_logicalViewId + '" (at "' + path_logicalViewId + '")');
2101
+ }
2102
+ }
2103
+ if (obj.semanticDimension !== undefined) {
2104
+ const obj_semanticDimension = obj.semanticDimension;
2105
+ const path_semanticDimension = path + '.semanticDimension';
2106
+ const referencepath_semanticDimensionValidationError = validate$O(obj_semanticDimension, path_semanticDimension);
2107
+ if (referencepath_semanticDimensionValidationError !== null) {
2108
+ let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
2109
+ message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2110
+ return new TypeError(message);
2111
+ }
2112
+ }
2113
+ if (obj.semanticMeasurement !== undefined) {
2114
+ const obj_semanticMeasurement = obj.semanticMeasurement;
2115
+ const path_semanticMeasurement = path + '.semanticMeasurement';
2116
+ const referencepath_semanticMeasurementValidationError = validate$N(obj_semanticMeasurement, path_semanticMeasurement);
2117
+ if (referencepath_semanticMeasurementValidationError !== null) {
2118
+ let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
2119
+ message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2120
+ return new TypeError(message);
2121
+ }
2122
+ }
2123
+ })();
2124
+ return v_error === undefined ? null : v_error;
2125
+ }
2126
+
2127
+ function validate$B(obj, path = 'SemanticUnionInputRepresentation') {
2128
+ const v_error = (() => {
2129
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2130
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2131
+ }
2132
+ if (obj.apiName !== undefined) {
2133
+ const obj_apiName = obj.apiName;
2134
+ const path_apiName = path + '.apiName';
2135
+ if (typeof obj_apiName !== 'string') {
2136
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2137
+ }
2138
+ }
2139
+ if (obj.description !== undefined) {
2140
+ const obj_description = obj.description;
2141
+ const path_description = path + '.description';
2142
+ if (typeof obj_description !== 'string') {
2143
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2144
+ }
2145
+ }
2146
+ if (obj.label !== undefined) {
2147
+ const obj_label = obj.label;
2148
+ const path_label = path + '.label';
2149
+ if (typeof obj_label !== 'string') {
2150
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2151
+ }
2152
+ }
2153
+ if (obj.semanticDataObjects !== undefined) {
2154
+ const obj_semanticDataObjects = obj.semanticDataObjects;
2155
+ const path_semanticDataObjects = path + '.semanticDataObjects';
2156
+ if (!ArrayIsArray(obj_semanticDataObjects)) {
2157
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticDataObjects + '" (at "' + path_semanticDataObjects + '")');
2158
+ }
2159
+ for (let i = 0; i < obj_semanticDataObjects.length; i++) {
2160
+ const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
2161
+ const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
2162
+ const referencepath_semanticDataObjects_itemValidationError = validate$M(obj_semanticDataObjects_item, path_semanticDataObjects_item);
2163
+ if (referencepath_semanticDataObjects_itemValidationError !== null) {
2164
+ let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
2165
+ message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2166
+ return new TypeError(message);
2167
+ }
2168
+ }
2169
+ }
2170
+ if (obj.semanticMappedFields !== undefined) {
2171
+ const obj_semanticMappedFields = obj.semanticMappedFields;
2172
+ const path_semanticMappedFields = path + '.semanticMappedFields';
2173
+ if (!ArrayIsArray(obj_semanticMappedFields)) {
2174
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticMappedFields + '" (at "' + path_semanticMappedFields + '")');
2175
+ }
2176
+ for (let i = 0; i < obj_semanticMappedFields.length; i++) {
2177
+ const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
2178
+ const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
2179
+ const referencepath_semanticMappedFields_itemValidationError = validate$C(obj_semanticMappedFields_item, path_semanticMappedFields_item);
2180
+ if (referencepath_semanticMappedFields_itemValidationError !== null) {
2181
+ let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
2182
+ message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2183
+ return new TypeError(message);
2184
+ }
2185
+ }
2186
+ }
2187
+ })();
2188
+ return v_error === undefined ? null : v_error;
2189
+ }
2190
+
2191
+ function validate$A(obj, path = 'SemanticLogicalViewInputRepresentation') {
2192
+ const v_error = (() => {
2193
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2194
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2195
+ }
2196
+ if (obj.apiName !== undefined) {
2197
+ const obj_apiName = obj.apiName;
2198
+ const path_apiName = path + '.apiName';
2199
+ if (typeof obj_apiName !== 'string') {
2200
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2201
+ }
2202
+ }
2203
+ if (obj.description !== undefined) {
2204
+ const obj_description = obj.description;
2205
+ const path_description = path + '.description';
2206
+ if (typeof obj_description !== 'string') {
2207
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2208
+ }
2209
+ }
2210
+ if (obj.filterLogic !== undefined) {
2211
+ const obj_filterLogic = obj.filterLogic;
2212
+ const path_filterLogic = path + '.filterLogic';
2213
+ if (typeof obj_filterLogic !== 'string') {
2214
+ return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
2215
+ }
2216
+ }
2217
+ if (obj.filters !== undefined) {
2218
+ const obj_filters = obj.filters;
2219
+ const path_filters = path + '.filters';
2220
+ if (!ArrayIsArray(obj_filters)) {
2221
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
2222
+ }
2223
+ for (let i = 0; i < obj_filters.length; i++) {
2224
+ const obj_filters_item = obj_filters[i];
2225
+ const path_filters_item = path_filters + '[' + i + ']';
2226
+ const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
2227
+ if (referencepath_filters_itemValidationError !== null) {
2228
+ let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
2229
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2230
+ return new TypeError(message);
2231
+ }
2232
+ }
2233
+ }
2234
+ if (obj.label !== undefined) {
2235
+ const obj_label = obj.label;
2236
+ const path_label = path + '.label';
2237
+ if (typeof obj_label !== 'string') {
2238
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2239
+ }
2240
+ }
2241
+ if (obj.semanticDataObjects !== undefined) {
2242
+ const obj_semanticDataObjects = obj.semanticDataObjects;
2243
+ const path_semanticDataObjects = path + '.semanticDataObjects';
2244
+ if (!ArrayIsArray(obj_semanticDataObjects)) {
2245
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticDataObjects + '" (at "' + path_semanticDataObjects + '")');
2246
+ }
2247
+ for (let i = 0; i < obj_semanticDataObjects.length; i++) {
2248
+ const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
2249
+ const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
2250
+ const referencepath_semanticDataObjects_itemValidationError = validate$M(obj_semanticDataObjects_item, path_semanticDataObjects_item);
2251
+ if (referencepath_semanticDataObjects_itemValidationError !== null) {
2252
+ let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
2253
+ message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2254
+ return new TypeError(message);
2255
+ }
2256
+ }
2257
+ }
2258
+ if (obj.semanticRelationships !== undefined) {
2259
+ const obj_semanticRelationships = obj.semanticRelationships;
2260
+ const path_semanticRelationships = path + '.semanticRelationships';
2261
+ if (!ArrayIsArray(obj_semanticRelationships)) {
2262
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticRelationships + '" (at "' + path_semanticRelationships + '")');
2263
+ }
2264
+ for (let i = 0; i < obj_semanticRelationships.length; i++) {
2265
+ const obj_semanticRelationships_item = obj_semanticRelationships[i];
2266
+ const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
2267
+ const referencepath_semanticRelationships_itemValidationError = validate$D(obj_semanticRelationships_item, path_semanticRelationships_item);
2268
+ if (referencepath_semanticRelationships_itemValidationError !== null) {
2269
+ let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
2270
+ message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2271
+ return new TypeError(message);
2272
+ }
2273
+ }
2274
+ }
2275
+ if (obj.semanticUnions !== undefined) {
2276
+ const obj_semanticUnions = obj.semanticUnions;
2277
+ const path_semanticUnions = path + '.semanticUnions';
2278
+ if (!ArrayIsArray(obj_semanticUnions)) {
2279
+ return new TypeError('Expected "array" but received "' + typeof obj_semanticUnions + '" (at "' + path_semanticUnions + '")');
2280
+ }
2281
+ for (let i = 0; i < obj_semanticUnions.length; i++) {
2282
+ const obj_semanticUnions_item = obj_semanticUnions[i];
2283
+ const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
2284
+ const referencepath_semanticUnions_itemValidationError = validate$B(obj_semanticUnions_item, path_semanticUnions_item);
2285
+ if (referencepath_semanticUnions_itemValidationError !== null) {
2286
+ let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
2287
+ message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2288
+ return new TypeError(message);
2289
+ }
2290
+ }
2291
+ }
2292
+ })();
2293
+ return v_error === undefined ? null : v_error;
2294
+ }
2295
+
2296
+ function validate$z(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
2297
+ const v_error = (() => {
2298
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2299
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2300
+ }
2301
+ if (obj.identifierDimensionReference !== undefined) {
2302
+ const obj_identifierDimensionReference = obj.identifierDimensionReference;
2303
+ const path_identifierDimensionReference = path + '.identifierDimensionReference';
2304
+ const referencepath_identifierDimensionReferenceValidationError = validate$G(obj_identifierDimensionReference, path_identifierDimensionReference);
2305
+ if (referencepath_identifierDimensionReferenceValidationError !== null) {
2306
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
2307
+ message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2308
+ return new TypeError(message);
2309
+ }
2310
+ }
2311
+ if (obj.namingDimensionReference !== undefined) {
2312
+ const obj_namingDimensionReference = obj.namingDimensionReference;
2313
+ const path_namingDimensionReference = path + '.namingDimensionReference';
2314
+ const referencepath_namingDimensionReferenceValidationError = validate$G(obj_namingDimensionReference, path_namingDimensionReference);
2315
+ if (referencepath_namingDimensionReferenceValidationError !== null) {
2316
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
2317
+ message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2318
+ return new TypeError(message);
2319
+ }
2320
+ }
2321
+ })();
2322
+ return v_error === undefined ? null : v_error;
2323
+ }
2324
+
2325
+ function validate$y(obj, path = 'SemanticInsightTypeInputRepresentation') {
2326
+ const v_error = (() => {
2327
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2328
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2329
+ }
2330
+ if (obj.enabled !== undefined) {
2331
+ const obj_enabled = obj.enabled;
2332
+ const path_enabled = path + '.enabled';
2333
+ if (typeof obj_enabled !== 'boolean') {
2334
+ return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
2335
+ }
2336
+ }
2337
+ if (obj.type !== undefined) {
2338
+ const obj_type = obj.type;
2339
+ const path_type = path + '.type';
2340
+ if (typeof obj_type !== 'string') {
2341
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
2342
+ }
2343
+ }
2344
+ })();
2345
+ return v_error === undefined ? null : v_error;
2346
+ }
2347
+
2348
+ function validate$x(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
2349
+ const v_error = (() => {
2350
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2351
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2352
+ }
2353
+ if (obj.identifyingDimension !== undefined) {
2354
+ const obj_identifyingDimension = obj.identifyingDimension;
2355
+ const path_identifyingDimension = path + '.identifyingDimension';
2356
+ const referencepath_identifyingDimensionValidationError = validate$z(obj_identifyingDimension, path_identifyingDimension);
2357
+ if (referencepath_identifyingDimensionValidationError !== null) {
2358
+ let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
2359
+ message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2360
+ return new TypeError(message);
2361
+ }
2362
+ }
2363
+ if (obj.insightTypes !== undefined) {
2364
+ const obj_insightTypes = obj.insightTypes;
2365
+ const path_insightTypes = path + '.insightTypes';
2366
+ if (!ArrayIsArray(obj_insightTypes)) {
2367
+ return new TypeError('Expected "array" but received "' + typeof obj_insightTypes + '" (at "' + path_insightTypes + '")');
2368
+ }
2369
+ for (let i = 0; i < obj_insightTypes.length; i++) {
2370
+ const obj_insightTypes_item = obj_insightTypes[i];
2371
+ const path_insightTypes_item = path_insightTypes + '[' + i + ']';
2372
+ const referencepath_insightTypes_itemValidationError = validate$y(obj_insightTypes_item, path_insightTypes_item);
2373
+ if (referencepath_insightTypes_itemValidationError !== null) {
2374
+ let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
2375
+ message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2376
+ return new TypeError(message);
2377
+ }
2378
+ }
2379
+ }
2380
+ if (obj.insightsDimensionsReferences !== undefined) {
2381
+ const obj_insightsDimensionsReferences = obj.insightsDimensionsReferences;
2382
+ const path_insightsDimensionsReferences = path + '.insightsDimensionsReferences';
2383
+ if (!ArrayIsArray(obj_insightsDimensionsReferences)) {
2384
+ return new TypeError('Expected "array" but received "' + typeof obj_insightsDimensionsReferences + '" (at "' + path_insightsDimensionsReferences + '")');
2385
+ }
2386
+ for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
2387
+ const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
2388
+ const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
2389
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$G(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
2390
+ if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
2391
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
2392
+ message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2393
+ return new TypeError(message);
2394
+ }
2395
+ }
2396
+ }
2397
+ if (obj.pluralNoun !== undefined) {
2398
+ const obj_pluralNoun = obj.pluralNoun;
2399
+ const path_pluralNoun = path + '.pluralNoun';
2400
+ if (typeof obj_pluralNoun !== 'string') {
2401
+ return new TypeError('Expected "string" but received "' + typeof obj_pluralNoun + '" (at "' + path_pluralNoun + '")');
2402
+ }
2403
+ }
2404
+ if (obj.sentiment !== undefined) {
2405
+ const obj_sentiment = obj.sentiment;
2406
+ const path_sentiment = path + '.sentiment';
2407
+ if (typeof obj_sentiment !== 'string') {
2408
+ return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
2409
+ }
2410
+ }
2411
+ if (obj.singularNoun !== undefined) {
2412
+ const obj_singularNoun = obj.singularNoun;
2413
+ const path_singularNoun = path + '.singularNoun';
2414
+ if (typeof obj_singularNoun !== 'string') {
2415
+ return new TypeError('Expected "string" but received "' + typeof obj_singularNoun + '" (at "' + path_singularNoun + '")');
2416
+ }
2417
+ }
2418
+ })();
2419
+ return v_error === undefined ? null : v_error;
2420
+ }
2421
+
2422
+ function validate$w(obj, path = 'SemanticMetricInputRepresentation') {
2423
+ const v_error = (() => {
2424
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2425
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2426
+ }
2427
+ if (obj.additionalDimensions !== undefined) {
2428
+ const obj_additionalDimensions = obj.additionalDimensions;
2429
+ const path_additionalDimensions = path + '.additionalDimensions';
2430
+ if (!ArrayIsArray(obj_additionalDimensions)) {
2431
+ return new TypeError('Expected "array" but received "' + typeof obj_additionalDimensions + '" (at "' + path_additionalDimensions + '")');
2432
+ }
2433
+ for (let i = 0; i < obj_additionalDimensions.length; i++) {
2434
+ const obj_additionalDimensions_item = obj_additionalDimensions[i];
2435
+ const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
2436
+ const referencepath_additionalDimensions_itemValidationError = validate$G(obj_additionalDimensions_item, path_additionalDimensions_item);
2437
+ if (referencepath_additionalDimensions_itemValidationError !== null) {
2438
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
2439
+ message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2440
+ return new TypeError(message);
2441
+ }
2442
+ }
2443
+ }
2444
+ if (obj.aggregationType !== undefined) {
2445
+ const obj_aggregationType = obj.aggregationType;
2446
+ const path_aggregationType = path + '.aggregationType';
2447
+ if (typeof obj_aggregationType !== 'string') {
2448
+ return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
2449
+ }
2450
+ }
2451
+ if (obj.apiName !== undefined) {
2452
+ const obj_apiName = obj.apiName;
2453
+ const path_apiName = path + '.apiName';
2454
+ if (typeof obj_apiName !== 'string') {
2455
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2456
+ }
2457
+ }
2458
+ if (obj.description !== undefined) {
2459
+ const obj_description = obj.description;
2460
+ const path_description = path + '.description';
2461
+ if (typeof obj_description !== 'string') {
2462
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2463
+ }
2464
+ }
2465
+ if (obj.filterLogic !== undefined) {
2466
+ const obj_filterLogic = obj.filterLogic;
2467
+ const path_filterLogic = path + '.filterLogic';
2468
+ if (typeof obj_filterLogic !== 'string') {
2469
+ return new TypeError('Expected "string" but received "' + typeof obj_filterLogic + '" (at "' + path_filterLogic + '")');
2470
+ }
2471
+ }
2472
+ if (obj.filters !== undefined) {
2473
+ const obj_filters = obj.filters;
2474
+ const path_filters = path + '.filters';
2475
+ if (!ArrayIsArray(obj_filters)) {
2476
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
2477
+ }
2478
+ for (let i = 0; i < obj_filters.length; i++) {
2479
+ const obj_filters_item = obj_filters[i];
2480
+ const path_filters_item = path_filters + '[' + i + ']';
2481
+ const referencepath_filters_itemValidationError = validate$R(obj_filters_item, path_filters_item);
2482
+ if (referencepath_filters_itemValidationError !== null) {
2483
+ let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
2484
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2485
+ return new TypeError(message);
2486
+ }
2487
+ }
2488
+ }
2489
+ if (obj.insightsSettings !== undefined) {
2490
+ const obj_insightsSettings = obj.insightsSettings;
2491
+ const path_insightsSettings = path + '.insightsSettings';
2492
+ const referencepath_insightsSettingsValidationError = validate$x(obj_insightsSettings, path_insightsSettings);
2493
+ if (referencepath_insightsSettingsValidationError !== null) {
2494
+ let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
2495
+ message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2496
+ return new TypeError(message);
2497
+ }
2498
+ }
2499
+ if (obj.isCumulative !== undefined) {
2500
+ const obj_isCumulative = obj.isCumulative;
2501
+ const path_isCumulative = path + '.isCumulative';
2502
+ if (typeof obj_isCumulative !== 'boolean') {
2503
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isCumulative + '" (at "' + path_isCumulative + '")');
2504
+ }
2505
+ }
2506
+ if (obj.label !== undefined) {
2507
+ const obj_label = obj.label;
2508
+ const path_label = path + '.label';
2509
+ if (typeof obj_label !== 'string') {
2510
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2511
+ }
2512
+ }
2513
+ if (obj.measurementReference !== undefined) {
2514
+ const obj_measurementReference = obj.measurementReference;
2515
+ const path_measurementReference = path + '.measurementReference';
2516
+ const referencepath_measurementReferenceValidationError = validate$G(obj_measurementReference, path_measurementReference);
2517
+ if (referencepath_measurementReferenceValidationError !== null) {
2518
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
2519
+ message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2520
+ return new TypeError(message);
2521
+ }
2522
+ }
2523
+ if (obj.timeDimensionReference !== undefined) {
2524
+ const obj_timeDimensionReference = obj.timeDimensionReference;
2525
+ const path_timeDimensionReference = path + '.timeDimensionReference';
2526
+ const referencepath_timeDimensionReferenceValidationError = validate$G(obj_timeDimensionReference, path_timeDimensionReference);
2527
+ if (referencepath_timeDimensionReferenceValidationError !== null) {
2528
+ let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
2529
+ message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2530
+ return new TypeError(message);
2531
+ }
2532
+ }
2533
+ if (obj.timeGrains !== undefined) {
2534
+ const obj_timeGrains = obj.timeGrains;
2535
+ const path_timeGrains = path + '.timeGrains';
2536
+ if (!ArrayIsArray(obj_timeGrains)) {
2537
+ return new TypeError('Expected "array" but received "' + typeof obj_timeGrains + '" (at "' + path_timeGrains + '")');
2538
+ }
2539
+ for (let i = 0; i < obj_timeGrains.length; i++) {
2540
+ const obj_timeGrains_item = obj_timeGrains[i];
2541
+ const path_timeGrains_item = path_timeGrains + '[' + i + ']';
2542
+ if (typeof obj_timeGrains_item !== 'string') {
2543
+ return new TypeError('Expected "string" but received "' + typeof obj_timeGrains_item + '" (at "' + path_timeGrains_item + '")');
2544
+ }
2545
+ }
2546
+ }
2547
+ })();
2548
+ return v_error === undefined ? null : v_error;
2549
+ }
2550
+
2551
+ function validate$v(obj, path = 'SemanticParameterInputRepresentation') {
2552
+ const v_error = (() => {
2553
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2554
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2555
+ }
2556
+ if (obj.apiName !== undefined) {
2557
+ const obj_apiName = obj.apiName;
2558
+ const path_apiName = path + '.apiName';
2559
+ if (typeof obj_apiName !== 'string') {
2560
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
2561
+ }
2562
+ }
2563
+ if (obj.dataType !== undefined) {
2564
+ const obj_dataType = obj.dataType;
2565
+ const path_dataType = path + '.dataType';
2566
+ if (typeof obj_dataType !== 'string') {
2567
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
2568
+ }
2569
+ }
2570
+ if (obj.defaultValue !== undefined) {
2571
+ const obj_defaultValue = obj.defaultValue;
2572
+ const path_defaultValue = path + '.defaultValue';
2573
+ if (typeof obj_defaultValue !== 'string') {
2574
+ return new TypeError('Expected "string" but received "' + typeof obj_defaultValue + '" (at "' + path_defaultValue + '")');
2575
+ }
2576
+ }
2577
+ if (obj.description !== undefined) {
2578
+ const obj_description = obj.description;
2579
+ const path_description = path + '.description';
2580
+ if (typeof obj_description !== 'string') {
2581
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2582
+ }
2583
+ }
2584
+ if (obj.label !== undefined) {
2585
+ const obj_label = obj.label;
2586
+ const path_label = path + '.label';
2587
+ if (typeof obj_label !== 'string') {
2588
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2589
+ }
2590
+ }
2591
+ if (obj.maxValue !== undefined) {
2592
+ const obj_maxValue = obj.maxValue;
2593
+ const path_maxValue = path + '.maxValue';
2594
+ if (typeof obj_maxValue !== 'string') {
2595
+ return new TypeError('Expected "string" but received "' + typeof obj_maxValue + '" (at "' + path_maxValue + '")');
2596
+ }
2597
+ }
2598
+ if (obj.minValue !== undefined) {
2599
+ const obj_minValue = obj.minValue;
2600
+ const path_minValue = path + '.minValue';
2601
+ if (typeof obj_minValue !== 'string') {
2602
+ return new TypeError('Expected "string" but received "' + typeof obj_minValue + '" (at "' + path_minValue + '")');
2603
+ }
2604
+ }
2605
+ if (obj.stepSize !== undefined) {
2606
+ const obj_stepSize = obj.stepSize;
2607
+ const path_stepSize = path + '.stepSize';
2608
+ if (typeof obj_stepSize !== 'string') {
2609
+ return new TypeError('Expected "string" but received "' + typeof obj_stepSize + '" (at "' + path_stepSize + '")');
2610
+ }
2611
+ }
2612
+ if (obj.type !== undefined) {
2613
+ const obj_type = obj.type;
2614
+ const path_type = path + '.type';
2615
+ if (typeof obj_type !== 'string') {
2616
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
2617
+ }
2618
+ }
2619
+ if (obj.values !== undefined) {
2620
+ const obj_values = obj.values;
2621
+ const path_values = path + '.values';
2622
+ if (!ArrayIsArray(obj_values)) {
2623
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
2624
+ }
2625
+ for (let i = 0; i < obj_values.length; i++) {
2626
+ const obj_values_item = obj_values[i];
2627
+ const path_values_item = path_values + '[' + i + ']';
2628
+ if (typeof obj_values_item !== 'string') {
2629
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
2630
+ }
2631
+ }
2632
+ }
2633
+ })();
2634
+ return v_error === undefined ? null : v_error;
2635
+ }
1120
2636
 
1121
2637
  const VERSION$q = "9b5a0e85af6a943c95625e2dfe81ab96";
1122
- function validate$v(obj, path = 'SemanticFilterOutputRepresentation') {
2638
+ function validate$u(obj, path = 'SemanticFilterOutputRepresentation') {
1123
2639
  const v_error = (() => {
1124
2640
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1125
2641
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1148,7 +2664,7 @@ function validate$v(obj, path = 'SemanticFilterOutputRepresentation') {
1148
2664
  })();
1149
2665
  return v_error === undefined ? null : v_error;
1150
2666
  }
1151
- const select$y = function SemanticFilterOutputRepresentationSelect() {
2667
+ const select$z = function SemanticFilterOutputRepresentationSelect() {
1152
2668
  return {
1153
2669
  kind: 'Fragment',
1154
2670
  version: VERSION$q,
@@ -1216,7 +2732,7 @@ function equals$q(existing, incoming) {
1216
2732
  }
1217
2733
 
1218
2734
  const VERSION$p = "ff65b61056eb2b2c8408d53df92d147b";
1219
- function validate$u(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
2735
+ function validate$t(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1220
2736
  const v_error = (() => {
1221
2737
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1222
2738
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1294,7 +2810,7 @@ function validate$u(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1294
2810
  for (let i = 0; i < obj_filters.length; i++) {
1295
2811
  const obj_filters_item = obj_filters[i];
1296
2812
  const path_filters_item = path_filters + '[' + i + ']';
1297
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
2813
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
1298
2814
  if (referencepath_filters_itemValidationError !== null) {
1299
2815
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1300
2816
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1372,8 +2888,8 @@ function keyBuilderFromType$b(luvio, object) {
1372
2888
  function normalize$f(input, existing, path, luvio, store, timestamp) {
1373
2889
  return input;
1374
2890
  }
1375
- const select$x = function SemanticCalculatedDimensionOutputRepresentationSelect() {
1376
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$y();
2891
+ const select$y = function SemanticCalculatedDimensionOutputRepresentationSelect() {
2892
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$z();
1377
2893
  return {
1378
2894
  kind: 'Fragment',
1379
2895
  version: VERSION$p,
@@ -1700,7 +3216,7 @@ function equals$p(existing, incoming) {
1700
3216
  }
1701
3217
  const ingest$f = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
1702
3218
  if (process.env.NODE_ENV !== 'production') {
1703
- const validateError = validate$u(input);
3219
+ const validateError = validate$t(input);
1704
3220
  if (validateError !== null) {
1705
3221
  throw validateError;
1706
3222
  }
@@ -1721,7 +3237,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
1721
3237
  }
1722
3238
 
1723
3239
  const VERSION$o = "1941c0559a1eafb8d429d1f9d139b28f";
1724
- function validate$t(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
3240
+ function validate$s(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
1725
3241
  const v_error = (() => {
1726
3242
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1727
3243
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1813,7 +3329,7 @@ function validate$t(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
1813
3329
  for (let i = 0; i < obj_filters.length; i++) {
1814
3330
  const obj_filters_item = obj_filters[i];
1815
3331
  const path_filters_item = path_filters + '[' + i + ']';
1816
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
3332
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
1817
3333
  if (referencepath_filters_itemValidationError !== null) {
1818
3334
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1819
3335
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1912,8 +3428,8 @@ function keyBuilderFromType$a(luvio, object) {
1912
3428
  function normalize$e(input, existing, path, luvio, store, timestamp) {
1913
3429
  return input;
1914
3430
  }
1915
- const select$w = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
1916
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$y();
3431
+ const select$x = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
3432
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$z();
1917
3433
  return {
1918
3434
  kind: 'Fragment',
1919
3435
  version: VERSION$o,
@@ -2330,7 +3846,7 @@ function equals$o(existing, incoming) {
2330
3846
  }
2331
3847
  const ingest$e = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2332
3848
  if (process.env.NODE_ENV !== 'production') {
2333
- const validateError = validate$t(input);
3849
+ const validateError = validate$s(input);
2334
3850
  if (validateError !== null) {
2335
3851
  throw validateError;
2336
3852
  }
@@ -2350,7 +3866,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
2350
3866
  });
2351
3867
  }
2352
3868
 
2353
- function validate$s(obj, path = 'SemanticDimensionOutputRepresentation') {
3869
+ function validate$r(obj, path = 'SemanticDimensionOutputRepresentation') {
2354
3870
  const v_error = (() => {
2355
3871
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2356
3872
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2463,7 +3979,7 @@ function validate$s(obj, path = 'SemanticDimensionOutputRepresentation') {
2463
3979
  return v_error === undefined ? null : v_error;
2464
3980
  }
2465
3981
 
2466
- function validate$r(obj, path = 'SemanticMeasurementOutputRepresentation') {
3982
+ function validate$q(obj, path = 'SemanticMeasurementOutputRepresentation') {
2467
3983
  const v_error = (() => {
2468
3984
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2469
3985
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2605,7 +4121,7 @@ function validate$r(obj, path = 'SemanticMeasurementOutputRepresentation') {
2605
4121
  }
2606
4122
 
2607
4123
  const VERSION$n = "1dea062ab9ae6d8661840da6e8db32f5";
2608
- function validate$q(obj, path = 'SemanticDataObjectOutputRepresentation') {
4124
+ function validate$p(obj, path = 'SemanticDataObjectOutputRepresentation') {
2609
4125
  const v_error = (() => {
2610
4126
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2611
4127
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2669,7 +4185,7 @@ function validate$q(obj, path = 'SemanticDataObjectOutputRepresentation') {
2669
4185
  for (let i = 0; i < obj_filters.length; i++) {
2670
4186
  const obj_filters_item = obj_filters[i];
2671
4187
  const path_filters_item = path_filters + '[' + i + ']';
2672
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
4188
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
2673
4189
  if (referencepath_filters_itemValidationError !== null) {
2674
4190
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
2675
4191
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2719,7 +4235,7 @@ function validate$q(obj, path = 'SemanticDataObjectOutputRepresentation') {
2719
4235
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
2720
4236
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
2721
4237
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
2722
- const referencepath_semanticDimensions_itemValidationError = validate$s(obj_semanticDimensions_item, path_semanticDimensions_item);
4238
+ const referencepath_semanticDimensions_itemValidationError = validate$r(obj_semanticDimensions_item, path_semanticDimensions_item);
2723
4239
  if (referencepath_semanticDimensions_itemValidationError !== null) {
2724
4240
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
2725
4241
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2743,7 +4259,7 @@ function validate$q(obj, path = 'SemanticDataObjectOutputRepresentation') {
2743
4259
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
2744
4260
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
2745
4261
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
2746
- const referencepath_semanticMeasurements_itemValidationError = validate$r(obj_semanticMeasurements_item, path_semanticMeasurements_item);
4262
+ const referencepath_semanticMeasurements_itemValidationError = validate$q(obj_semanticMeasurements_item, path_semanticMeasurements_item);
2747
4263
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
2748
4264
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
2749
4265
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2781,7 +4297,7 @@ function keyBuilderFromType$9(luvio, object) {
2781
4297
  function normalize$d(input, existing, path, luvio, store, timestamp) {
2782
4298
  return input;
2783
4299
  }
2784
- const select$v = function SemanticDataObjectOutputRepresentationSelect() {
4300
+ const select$w = function SemanticDataObjectOutputRepresentationSelect() {
2785
4301
  return {
2786
4302
  kind: 'Fragment',
2787
4303
  version: VERSION$n,
@@ -2797,7 +4313,7 @@ function equals$n(existing, incoming) {
2797
4313
  }
2798
4314
  const ingest$d = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2799
4315
  if (process.env.NODE_ENV !== 'production') {
2800
- const validateError = validate$q(input);
4316
+ const validateError = validate$p(input);
2801
4317
  if (validateError !== null) {
2802
4318
  throw validateError;
2803
4319
  }
@@ -2818,7 +4334,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
2818
4334
  }
2819
4335
 
2820
4336
  const VERSION$m = "ed64ca1a99171ace8b53aff11746cc2a";
2821
- function validate$p(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
4337
+ function validate$o(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
2822
4338
  const v_error = (() => {
2823
4339
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2824
4340
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2827,7 +4343,7 @@ function validate$p(obj, path = 'BinDimensionConfigurationOutputRepresentation')
2827
4343
  })();
2828
4344
  return v_error === undefined ? null : v_error;
2829
4345
  }
2830
- const select$u = function BinDimensionConfigurationOutputRepresentationSelect() {
4346
+ const select$v = function BinDimensionConfigurationOutputRepresentationSelect() {
2831
4347
  return {
2832
4348
  kind: 'Fragment',
2833
4349
  version: VERSION$m,
@@ -2850,7 +4366,7 @@ function equals$m(existing, incoming) {
2850
4366
  }
2851
4367
 
2852
4368
  const VERSION$l = "2cdadcd630abb7b981b2d131880a68c0";
2853
- function validate$o(obj, path = 'GroupDimensionGroupOutputRepresentation') {
4369
+ function validate$n(obj, path = 'GroupDimensionGroupOutputRepresentation') {
2854
4370
  const v_error = (() => {
2855
4371
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2856
4372
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2877,7 +4393,7 @@ function validate$o(obj, path = 'GroupDimensionGroupOutputRepresentation') {
2877
4393
  })();
2878
4394
  return v_error === undefined ? null : v_error;
2879
4395
  }
2880
- const select$t = function GroupDimensionGroupOutputRepresentationSelect() {
4396
+ const select$u = function GroupDimensionGroupOutputRepresentationSelect() {
2881
4397
  return {
2882
4398
  kind: 'Fragment',
2883
4399
  version: VERSION$l,
@@ -2924,7 +4440,7 @@ function equals$l(existing, incoming) {
2924
4440
  }
2925
4441
 
2926
4442
  const VERSION$k = "55c60b6207985632192cb4e419822a86";
2927
- function validate$n(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
4443
+ function validate$m(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
2928
4444
  const v_error = (() => {
2929
4445
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2930
4446
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2938,7 +4454,7 @@ function validate$n(obj, path = 'GroupDimensionConfigurationOutputRepresentation
2938
4454
  for (let i = 0; i < obj_groups.length; i++) {
2939
4455
  const obj_groups_item = obj_groups[i];
2940
4456
  const path_groups_item = path_groups + '[' + i + ']';
2941
- const referencepath_groups_itemValidationError = validate$o(obj_groups_item, path_groups_item);
4457
+ const referencepath_groups_itemValidationError = validate$n(obj_groups_item, path_groups_item);
2942
4458
  if (referencepath_groups_itemValidationError !== null) {
2943
4459
  let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
2944
4460
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2956,8 +4472,8 @@ function validate$n(obj, path = 'GroupDimensionConfigurationOutputRepresentation
2956
4472
  })();
2957
4473
  return v_error === undefined ? null : v_error;
2958
4474
  }
2959
- const select$s = function GroupDimensionConfigurationOutputRepresentationSelect() {
2960
- const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$t();
4475
+ const select$t = function GroupDimensionConfigurationOutputRepresentationSelect() {
4476
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$u();
2961
4477
  return {
2962
4478
  kind: 'Fragment',
2963
4479
  version: VERSION$k,
@@ -3014,7 +4530,7 @@ function equals$k(existing, incoming) {
3014
4530
  }
3015
4531
 
3016
4532
  const VERSION$j = "50dc390b159159afb1945b9a811c9f80";
3017
- function validate$m(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
4533
+ function validate$l(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3018
4534
  const v_error = (() => {
3019
4535
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3020
4536
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3022,7 +4538,7 @@ function validate$m(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3022
4538
  if (obj.binDimension !== undefined) {
3023
4539
  const obj_binDimension = obj.binDimension;
3024
4540
  const path_binDimension = path + '.binDimension';
3025
- const referencepath_binDimensionValidationError = validate$p(obj_binDimension, path_binDimension);
4541
+ const referencepath_binDimensionValidationError = validate$o(obj_binDimension, path_binDimension);
3026
4542
  if (referencepath_binDimensionValidationError !== null) {
3027
4543
  let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
3028
4544
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3032,7 +4548,7 @@ function validate$m(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3032
4548
  if (obj.groupDimension !== undefined) {
3033
4549
  const obj_groupDimension = obj.groupDimension;
3034
4550
  const path_groupDimension = path + '.groupDimension';
3035
- const referencepath_groupDimensionValidationError = validate$n(obj_groupDimension, path_groupDimension);
4551
+ const referencepath_groupDimensionValidationError = validate$m(obj_groupDimension, path_groupDimension);
3036
4552
  if (referencepath_groupDimensionValidationError !== null) {
3037
4553
  let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
3038
4554
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3042,9 +4558,9 @@ function validate$m(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3042
4558
  })();
3043
4559
  return v_error === undefined ? null : v_error;
3044
4560
  }
3045
- const select$r = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3046
- const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$u();
3047
- const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$s();
4561
+ const select$s = function SemanticGroupingConfigurationOutputRepresentationSelect() {
4562
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$v();
4563
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$t();
3048
4564
  return {
3049
4565
  kind: 'Fragment',
3050
4566
  version: VERSION$j,
@@ -3096,7 +4612,7 @@ function equals$j(existing, incoming) {
3096
4612
  }
3097
4613
 
3098
4614
  const VERSION$i = "a2976cd68e629a917463a3b690cf2527";
3099
- function validate$l(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
4615
+ function validate$k(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3100
4616
  const v_error = (() => {
3101
4617
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3102
4618
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3118,7 +4634,7 @@ function validate$l(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
3118
4634
  })();
3119
4635
  return v_error === undefined ? null : v_error;
3120
4636
  }
3121
- const select$q = function SemanticTableFieldReferenceOutputRepresentationSelect() {
4637
+ const select$r = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3122
4638
  return {
3123
4639
  kind: 'Fragment',
3124
4640
  version: VERSION$i,
@@ -3168,7 +4684,7 @@ function equals$i(existing, incoming) {
3168
4684
  }
3169
4685
 
3170
4686
  const VERSION$h = "f49a2cbbe308f6f74cda3e2144fa66cd";
3171
- function validate$k(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
4687
+ function validate$j(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3172
4688
  const v_error = (() => {
3173
4689
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3174
4690
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3183,7 +4699,7 @@ function validate$k(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3183
4699
  if (obj.tableFieldReference !== undefined) {
3184
4700
  const obj_tableFieldReference = obj.tableFieldReference;
3185
4701
  const path_tableFieldReference = path + '.tableFieldReference';
3186
- const referencepath_tableFieldReferenceValidationError = validate$l(obj_tableFieldReference, path_tableFieldReference);
4702
+ const referencepath_tableFieldReferenceValidationError = validate$k(obj_tableFieldReference, path_tableFieldReference);
3187
4703
  if (referencepath_tableFieldReferenceValidationError !== null) {
3188
4704
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
3189
4705
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3193,8 +4709,8 @@ function validate$k(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3193
4709
  })();
3194
4710
  return v_error === undefined ? null : v_error;
3195
4711
  }
3196
- const select$p = function SemanticFieldReferenceOutputRepresentationSelect() {
3197
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$q();
4712
+ const select$q = function SemanticFieldReferenceOutputRepresentationSelect() {
4713
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$r();
3198
4714
  return {
3199
4715
  kind: 'Fragment',
3200
4716
  version: VERSION$h,
@@ -3245,7 +4761,7 @@ function equals$h(existing, incoming) {
3245
4761
  }
3246
4762
 
3247
4763
  const VERSION$g = "79ff229f45e15671c1db4ce569f7bc8c";
3248
- function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
4764
+ function validate$i(obj, path = 'SemanticGroupingOutputRepresentation') {
3249
4765
  const v_error = (() => {
3250
4766
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3251
4767
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3264,7 +4780,7 @@ function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
3264
4780
  }
3265
4781
  const obj_configuration = obj.configuration;
3266
4782
  const path_configuration = path + '.configuration';
3267
- const referencepath_configurationValidationError = validate$m(obj_configuration, path_configuration);
4783
+ const referencepath_configurationValidationError = validate$l(obj_configuration, path_configuration);
3268
4784
  if (referencepath_configurationValidationError !== null) {
3269
4785
  let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
3270
4786
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3289,7 +4805,7 @@ function validate$j(obj, path = 'SemanticGroupingOutputRepresentation') {
3289
4805
  }
3290
4806
  const obj_fieldReference = obj.fieldReference;
3291
4807
  const path_fieldReference = path + '.fieldReference';
3292
- const referencepath_fieldReferenceValidationError = validate$k(obj_fieldReference, path_fieldReference);
4808
+ const referencepath_fieldReferenceValidationError = validate$j(obj_fieldReference, path_fieldReference);
3293
4809
  if (referencepath_fieldReferenceValidationError !== null) {
3294
4810
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
3295
4811
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3342,9 +4858,9 @@ function keyBuilderFromType$8(luvio, object) {
3342
4858
  function normalize$c(input, existing, path, luvio, store, timestamp) {
3343
4859
  return input;
3344
4860
  }
3345
- const select$o = function SemanticGroupingOutputRepresentationSelect() {
3346
- const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$r();
3347
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$p();
4861
+ const select$p = function SemanticGroupingOutputRepresentationSelect() {
4862
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$s();
4863
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$q();
3348
4864
  return {
3349
4865
  kind: 'Fragment',
3350
4866
  version: VERSION$g,
@@ -3513,7 +5029,7 @@ function equals$g(existing, incoming) {
3513
5029
  }
3514
5030
  const ingest$c = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3515
5031
  if (process.env.NODE_ENV !== 'production') {
3516
- const validateError = validate$j(input);
5032
+ const validateError = validate$i(input);
3517
5033
  if (validateError !== null) {
3518
5034
  throw validateError;
3519
5035
  }
@@ -3534,7 +5050,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
3534
5050
  }
3535
5051
 
3536
5052
  const VERSION$f = "c5144c317ac72b60d580cab803514b8d";
3537
- function validate$i(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
5053
+ function validate$h(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
3538
5054
  const v_error = (() => {
3539
5055
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3540
5056
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3577,7 +5093,7 @@ function validate$i(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
3577
5093
  })();
3578
5094
  return v_error === undefined ? null : v_error;
3579
5095
  }
3580
- const select$n = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
5096
+ const select$o = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
3581
5097
  return {
3582
5098
  kind: 'Fragment',
3583
5099
  version: VERSION$f,
@@ -3681,7 +5197,7 @@ function equals$f(existing, incoming) {
3681
5197
  }
3682
5198
 
3683
5199
  const VERSION$e = "126676ee704fc98f17b1aa33fb3ec5e3";
3684
- function validate$h(obj, path = 'SemanticRelationshipOutputRepresentation') {
5200
+ function validate$g(obj, path = 'SemanticRelationshipOutputRepresentation') {
3685
5201
  const v_error = (() => {
3686
5202
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3687
5203
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3724,7 +5240,7 @@ function validate$h(obj, path = 'SemanticRelationshipOutputRepresentation') {
3724
5240
  for (let i = 0; i < obj_criteria.length; i++) {
3725
5241
  const obj_criteria_item = obj_criteria[i];
3726
5242
  const path_criteria_item = path_criteria + '[' + i + ']';
3727
- const referencepath_criteria_itemValidationError = validate$i(obj_criteria_item, path_criteria_item);
5243
+ const referencepath_criteria_itemValidationError = validate$h(obj_criteria_item, path_criteria_item);
3728
5244
  if (referencepath_criteria_itemValidationError !== null) {
3729
5245
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
3730
5246
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3816,8 +5332,8 @@ function keyBuilderFromType$7(luvio, object) {
3816
5332
  function normalize$b(input, existing, path, luvio, store, timestamp) {
3817
5333
  return input;
3818
5334
  }
3819
- const select$m = function SemanticRelationshipOutputRepresentationSelect() {
3820
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$n();
5335
+ const select$n = function SemanticRelationshipOutputRepresentationSelect() {
5336
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$o();
3821
5337
  return {
3822
5338
  kind: 'Fragment',
3823
5339
  version: VERSION$e,
@@ -4090,7 +5606,7 @@ function equals$e(existing, incoming) {
4090
5606
  }
4091
5607
  const ingest$b = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4092
5608
  if (process.env.NODE_ENV !== 'production') {
4093
- const validateError = validate$h(input);
5609
+ const validateError = validate$g(input);
4094
5610
  if (validateError !== null) {
4095
5611
  throw validateError;
4096
5612
  }
@@ -4111,7 +5627,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
4111
5627
  }
4112
5628
 
4113
5629
  const VERSION$d = "bc4b5bb87acebe62d6fb1a20acda10bb";
4114
- function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5630
+ function validate$f(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4115
5631
  const v_error = (() => {
4116
5632
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4117
5633
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4154,7 +5670,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4154
5670
  for (let i = 0; i < obj_fields.length; i++) {
4155
5671
  const obj_fields_item = obj_fields[i];
4156
5672
  const path_fields_item = path_fields + '[' + i + ']';
4157
- const referencepath_fields_itemValidationError = validate$l(obj_fields_item, path_fields_item);
5673
+ const referencepath_fields_itemValidationError = validate$k(obj_fields_item, path_fields_item);
4158
5674
  if (referencepath_fields_itemValidationError !== null) {
4159
5675
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
4160
5676
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4198,7 +5714,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4198
5714
  if (obj.semanticDimension !== undefined) {
4199
5715
  const obj_semanticDimension = obj.semanticDimension;
4200
5716
  const path_semanticDimension = path + '.semanticDimension';
4201
- const referencepath_semanticDimensionValidationError = validate$s(obj_semanticDimension, path_semanticDimension);
5717
+ const referencepath_semanticDimensionValidationError = validate$r(obj_semanticDimension, path_semanticDimension);
4202
5718
  if (referencepath_semanticDimensionValidationError !== null) {
4203
5719
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
4204
5720
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4208,7 +5724,7 @@ function validate$g(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4208
5724
  if (obj.semanticMeasurement !== undefined) {
4209
5725
  const obj_semanticMeasurement = obj.semanticMeasurement;
4210
5726
  const path_semanticMeasurement = path + '.semanticMeasurement';
4211
- const referencepath_semanticMeasurementValidationError = validate$r(obj_semanticMeasurement, path_semanticMeasurement);
5727
+ const referencepath_semanticMeasurementValidationError = validate$q(obj_semanticMeasurement, path_semanticMeasurement);
4212
5728
  if (referencepath_semanticMeasurementValidationError !== null) {
4213
5729
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
4214
5730
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4231,7 +5747,7 @@ function keyBuilderFromType$6(luvio, object) {
4231
5747
  function normalize$a(input, existing, path, luvio, store, timestamp) {
4232
5748
  return input;
4233
5749
  }
4234
- const select$l = function SemanticMappedFieldOutputRepresentationSelect() {
5750
+ const select$m = function SemanticMappedFieldOutputRepresentationSelect() {
4235
5751
  return {
4236
5752
  kind: 'Fragment',
4237
5753
  version: VERSION$d,
@@ -4247,7 +5763,7 @@ function equals$d(existing, incoming) {
4247
5763
  }
4248
5764
  const ingest$a = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4249
5765
  if (process.env.NODE_ENV !== 'production') {
4250
- const validateError = validate$g(input);
5766
+ const validateError = validate$f(input);
4251
5767
  if (validateError !== null) {
4252
5768
  throw validateError;
4253
5769
  }
@@ -4268,7 +5784,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
4268
5784
  }
4269
5785
 
4270
5786
  const VERSION$c = "405ff251703b1f5480363199ebeaf8a9";
4271
- function validate$f(obj, path = 'SemanticUnionOutputRepresentation') {
5787
+ function validate$e(obj, path = 'SemanticUnionOutputRepresentation') {
4272
5788
  const v_error = (() => {
4273
5789
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4274
5790
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4436,7 +5952,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
4436
5952
  }
4437
5953
  return input;
4438
5954
  }
4439
- const select$k = function SemanticUnionOutputRepresentationSelect() {
5955
+ const select$l = function SemanticUnionOutputRepresentationSelect() {
4440
5956
  return {
4441
5957
  kind: 'Fragment',
4442
5958
  version: VERSION$c,
@@ -4493,14 +6009,14 @@ const select$k = function SemanticUnionOutputRepresentationSelect() {
4493
6009
  kind: 'Link',
4494
6010
  plural: true,
4495
6011
  required: false,
4496
- fragment: select$v()
6012
+ fragment: select$w()
4497
6013
  },
4498
6014
  {
4499
6015
  name: 'semanticMappedFields',
4500
6016
  kind: 'Link',
4501
6017
  plural: true,
4502
6018
  required: false,
4503
- fragment: select$l()
6019
+ fragment: select$m()
4504
6020
  }
4505
6021
  ]
4506
6022
  };
@@ -4644,7 +6160,7 @@ function equals$c(existing, incoming) {
4644
6160
  }
4645
6161
  const ingest$9 = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4646
6162
  if (process.env.NODE_ENV !== 'production') {
4647
- const validateError = validate$f(input);
6163
+ const validateError = validate$e(input);
4648
6164
  if (validateError !== null) {
4649
6165
  throw validateError;
4650
6166
  }
@@ -4677,7 +6193,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
4677
6193
  }
4678
6194
 
4679
6195
  const VERSION$b = "9273b6e07a8a8da6ead5ed811f877bdc";
4680
- function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
6196
+ function validate$d(obj, path = 'SemanticLogicalViewOutputRepresentation') {
4681
6197
  const v_error = (() => {
4682
6198
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4683
6199
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4727,7 +6243,7 @@ function validate$e(obj, path = 'SemanticLogicalViewOutputRepresentation') {
4727
6243
  for (let i = 0; i < obj_filters.length; i++) {
4728
6244
  const obj_filters_item = obj_filters[i];
4729
6245
  const path_filters_item = path_filters + '[' + i + ']';
4730
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
6246
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
4731
6247
  if (referencepath_filters_itemValidationError !== null) {
4732
6248
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
4733
6249
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4873,8 +6389,8 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
4873
6389
  }
4874
6390
  return input;
4875
6391
  }
4876
- const select$j = function SemanticLogicalViewOutputRepresentationSelect() {
4877
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$y();
6392
+ const select$k = function SemanticLogicalViewOutputRepresentationSelect() {
6393
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$z();
4878
6394
  return {
4879
6395
  kind: 'Fragment',
4880
6396
  version: VERSION$b,
@@ -4938,21 +6454,21 @@ const select$j = function SemanticLogicalViewOutputRepresentationSelect() {
4938
6454
  kind: 'Link',
4939
6455
  plural: true,
4940
6456
  required: false,
4941
- fragment: select$v()
6457
+ fragment: select$w()
4942
6458
  },
4943
6459
  {
4944
6460
  name: 'semanticRelationships',
4945
6461
  kind: 'Link',
4946
6462
  plural: true,
4947
6463
  required: false,
4948
- fragment: select$m()
6464
+ fragment: select$n()
4949
6465
  },
4950
6466
  {
4951
6467
  name: 'semanticUnions',
4952
6468
  kind: 'Link',
4953
6469
  plural: true,
4954
6470
  required: false,
4955
- fragment: select$k()
6471
+ fragment: select$l()
4956
6472
  }
4957
6473
  ]
4958
6474
  };
@@ -5132,7 +6648,7 @@ function equals$b(existing, incoming) {
5132
6648
  }
5133
6649
  const ingest$8 = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5134
6650
  if (process.env.NODE_ENV !== 'production') {
5135
- const validateError = validate$e(input);
6651
+ const validateError = validate$d(input);
5136
6652
  if (validateError !== null) {
5137
6653
  throw validateError;
5138
6654
  }
@@ -5171,7 +6687,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
5171
6687
  }
5172
6688
 
5173
6689
  const VERSION$a = "a50848c632bb205d5e910bb726d9219e";
5174
- function validate$d(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6690
+ function validate$c(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
5175
6691
  const v_error = (() => {
5176
6692
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5177
6693
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5179,7 +6695,7 @@ function validate$d(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
5179
6695
  if (obj.identifierDimensionReference !== undefined) {
5180
6696
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
5181
6697
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
5182
- const referencepath_identifierDimensionReferenceValidationError = validate$k(obj_identifierDimensionReference, path_identifierDimensionReference);
6698
+ const referencepath_identifierDimensionReferenceValidationError = validate$j(obj_identifierDimensionReference, path_identifierDimensionReference);
5183
6699
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
5184
6700
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
5185
6701
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5189,7 +6705,7 @@ function validate$d(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
5189
6705
  if (obj.namingDimensionReference !== undefined) {
5190
6706
  const obj_namingDimensionReference = obj.namingDimensionReference;
5191
6707
  const path_namingDimensionReference = path + '.namingDimensionReference';
5192
- const referencepath_namingDimensionReferenceValidationError = validate$k(obj_namingDimensionReference, path_namingDimensionReference);
6708
+ const referencepath_namingDimensionReferenceValidationError = validate$j(obj_namingDimensionReference, path_namingDimensionReference);
5193
6709
  if (referencepath_namingDimensionReferenceValidationError !== null) {
5194
6710
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
5195
6711
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5199,8 +6715,8 @@ function validate$d(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
5199
6715
  })();
5200
6716
  return v_error === undefined ? null : v_error;
5201
6717
  }
5202
- const select$i = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
5203
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$p();
6718
+ const select$j = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6719
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$q();
5204
6720
  return {
5205
6721
  kind: 'Fragment',
5206
6722
  version: VERSION$a,
@@ -5252,7 +6768,7 @@ function equals$a(existing, incoming) {
5252
6768
  }
5253
6769
 
5254
6770
  const VERSION$9 = "1b8cf2283d5d5c480459506274f0604c";
5255
- function validate$c(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6771
+ function validate$b(obj, path = 'SemanticInsightTypeOutputRepresentation') {
5256
6772
  const v_error = (() => {
5257
6773
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5258
6774
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5274,7 +6790,7 @@ function validate$c(obj, path = 'SemanticInsightTypeOutputRepresentation') {
5274
6790
  })();
5275
6791
  return v_error === undefined ? null : v_error;
5276
6792
  }
5277
- const select$h = function SemanticInsightTypeOutputRepresentationSelect() {
6793
+ const select$i = function SemanticInsightTypeOutputRepresentationSelect() {
5278
6794
  return {
5279
6795
  kind: 'Fragment',
5280
6796
  version: VERSION$9,
@@ -5324,7 +6840,7 @@ function equals$9(existing, incoming) {
5324
6840
  }
5325
6841
 
5326
6842
  const VERSION$8 = "a3f5972287be7bcf9ca205af56046a58";
5327
- function validate$b(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6843
+ function validate$a(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
5328
6844
  const v_error = (() => {
5329
6845
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5330
6846
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5332,7 +6848,7 @@ function validate$b(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5332
6848
  if (obj.identifyingDimension !== undefined) {
5333
6849
  const obj_identifyingDimension = obj.identifyingDimension;
5334
6850
  const path_identifyingDimension = path + '.identifyingDimension';
5335
- const referencepath_identifyingDimensionValidationError = validate$d(obj_identifyingDimension, path_identifyingDimension);
6851
+ const referencepath_identifyingDimensionValidationError = validate$c(obj_identifyingDimension, path_identifyingDimension);
5336
6852
  if (referencepath_identifyingDimensionValidationError !== null) {
5337
6853
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
5338
6854
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5348,7 +6864,7 @@ function validate$b(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5348
6864
  for (let i = 0; i < obj_insightTypes.length; i++) {
5349
6865
  const obj_insightTypes_item = obj_insightTypes[i];
5350
6866
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
5351
- const referencepath_insightTypes_itemValidationError = validate$c(obj_insightTypes_item, path_insightTypes_item);
6867
+ const referencepath_insightTypes_itemValidationError = validate$b(obj_insightTypes_item, path_insightTypes_item);
5352
6868
  if (referencepath_insightTypes_itemValidationError !== null) {
5353
6869
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
5354
6870
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5365,7 +6881,7 @@ function validate$b(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5365
6881
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
5366
6882
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
5367
6883
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
5368
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$k(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
6884
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$j(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
5369
6885
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
5370
6886
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
5371
6887
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5397,10 +6913,10 @@ function validate$b(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
5397
6913
  })();
5398
6914
  return v_error === undefined ? null : v_error;
5399
6915
  }
5400
- const select$g = function SemanticInsightsSettingsOutputRepresentationSelect() {
5401
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$i();
5402
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$h();
5403
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$p();
6916
+ const select$h = function SemanticInsightsSettingsOutputRepresentationSelect() {
6917
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$j();
6918
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$i();
6919
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$q();
5404
6920
  return {
5405
6921
  kind: 'Fragment',
5406
6922
  version: VERSION$8,
@@ -5537,7 +7053,7 @@ function equals$8(existing, incoming) {
5537
7053
  }
5538
7054
 
5539
7055
  const VERSION$7 = "bcf7c34e0e00709df1ab9a451ea9b05c";
5540
- function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
7056
+ function validate$9(obj, path = 'SemanticMetricOutputRepresentation') {
5541
7057
  const v_error = (() => {
5542
7058
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5543
7059
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5551,7 +7067,7 @@ function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
5551
7067
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
5552
7068
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
5553
7069
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
5554
- const referencepath_additionalDimensions_itemValidationError = validate$k(obj_additionalDimensions_item, path_additionalDimensions_item);
7070
+ const referencepath_additionalDimensions_itemValidationError = validate$j(obj_additionalDimensions_item, path_additionalDimensions_item);
5555
7071
  if (referencepath_additionalDimensions_itemValidationError !== null) {
5556
7072
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
5557
7073
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5611,7 +7127,7 @@ function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
5611
7127
  for (let i = 0; i < obj_filters.length; i++) {
5612
7128
  const obj_filters_item = obj_filters[i];
5613
7129
  const path_filters_item = path_filters + '[' + i + ']';
5614
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
7130
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
5615
7131
  if (referencepath_filters_itemValidationError !== null) {
5616
7132
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5617
7133
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5627,7 +7143,7 @@ function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
5627
7143
  if (obj.insightsSettings !== undefined) {
5628
7144
  const obj_insightsSettings = obj.insightsSettings;
5629
7145
  const path_insightsSettings = path + '.insightsSettings';
5630
- const referencepath_insightsSettingsValidationError = validate$b(obj_insightsSettings, path_insightsSettings);
7146
+ const referencepath_insightsSettingsValidationError = validate$a(obj_insightsSettings, path_insightsSettings);
5631
7147
  if (referencepath_insightsSettingsValidationError !== null) {
5632
7148
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
5633
7149
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5665,7 +7181,7 @@ function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
5665
7181
  if (obj.measurementReference !== undefined) {
5666
7182
  const obj_measurementReference = obj.measurementReference;
5667
7183
  const path_measurementReference = path + '.measurementReference';
5668
- const referencepath_measurementReferenceValidationError = validate$k(obj_measurementReference, path_measurementReference);
7184
+ const referencepath_measurementReferenceValidationError = validate$j(obj_measurementReference, path_measurementReference);
5669
7185
  if (referencepath_measurementReferenceValidationError !== null) {
5670
7186
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
5671
7187
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5675,7 +7191,7 @@ function validate$a(obj, path = 'SemanticMetricOutputRepresentation') {
5675
7191
  if (obj.timeDimensionReference !== undefined) {
5676
7192
  const obj_timeDimensionReference = obj.timeDimensionReference;
5677
7193
  const path_timeDimensionReference = path + '.timeDimensionReference';
5678
- const referencepath_timeDimensionReferenceValidationError = validate$k(obj_timeDimensionReference, path_timeDimensionReference);
7194
+ const referencepath_timeDimensionReferenceValidationError = validate$j(obj_timeDimensionReference, path_timeDimensionReference);
5679
7195
  if (referencepath_timeDimensionReferenceValidationError !== null) {
5680
7196
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
5681
7197
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5712,10 +7228,10 @@ function keyBuilderFromType$3(luvio, object) {
5712
7228
  function normalize$7(input, existing, path, luvio, store, timestamp) {
5713
7229
  return input;
5714
7230
  }
5715
- const select$f = function SemanticMetricOutputRepresentationSelect() {
5716
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$p();
5717
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$y();
5718
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$g();
7231
+ const select$g = function SemanticMetricOutputRepresentationSelect() {
7232
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$q();
7233
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$z();
7234
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$h();
5719
7235
  return {
5720
7236
  kind: 'Fragment',
5721
7237
  version: VERSION$7,
@@ -6040,7 +7556,7 @@ function equals$7(existing, incoming) {
6040
7556
  }
6041
7557
  const ingest$7 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6042
7558
  if (process.env.NODE_ENV !== 'production') {
6043
- const validateError = validate$a(input);
7559
+ const validateError = validate$9(input);
6044
7560
  if (validateError !== null) {
6045
7561
  throw validateError;
6046
7562
  }
@@ -6061,7 +7577,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
6061
7577
  }
6062
7578
 
6063
7579
  const VERSION$6 = "58a22082343aa25f72b656570b8b17b8";
6064
- function validate$9(obj, path = 'SemanticParameterOutputRepresentation') {
7580
+ function validate$8(obj, path = 'SemanticParameterOutputRepresentation') {
6065
7581
  const v_error = (() => {
6066
7582
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6067
7583
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6193,7 +7709,7 @@ function keyBuilderFromType$2(luvio, object) {
6193
7709
  function normalize$6(input, existing, path, luvio, store, timestamp) {
6194
7710
  return input;
6195
7711
  }
6196
- const select$e = function SemanticParameterOutputRepresentationSelect() {
7712
+ const select$f = function SemanticParameterOutputRepresentationSelect() {
6197
7713
  return {
6198
7714
  kind: 'Fragment',
6199
7715
  version: VERSION$6,
@@ -6465,7 +7981,7 @@ function equals$6(existing, incoming) {
6465
7981
  }
6466
7982
  const ingest$6 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6467
7983
  if (process.env.NODE_ENV !== 'production') {
6468
- const validateError = validate$9(input);
7984
+ const validateError = validate$8(input);
6469
7985
  if (validateError !== null) {
6470
7986
  throw validateError;
6471
7987
  }
@@ -6486,7 +8002,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
6486
8002
  }
6487
8003
 
6488
8004
  const VERSION$5 = "3fb33fd1e310fdf42bf0170a5f20e206";
6489
- function validate$8(obj, path = 'SemanticModelOutputRepresentation') {
8005
+ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
6490
8006
  const v_error = (() => {
6491
8007
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6492
8008
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6519,7 +8035,7 @@ function validate$8(obj, path = 'SemanticModelOutputRepresentation') {
6519
8035
  for (let i = 0; i < obj_baseModels.length; i++) {
6520
8036
  const obj_baseModels_item = obj_baseModels[i];
6521
8037
  const path_baseModels_item = path_baseModels + '[' + i + ']';
6522
- const referencepath_baseModels_itemValidationError = validate$y(obj_baseModels_item, path_baseModels_item);
8038
+ const referencepath_baseModels_itemValidationError = validate$V(obj_baseModels_item, path_baseModels_item);
6523
8039
  if (referencepath_baseModels_itemValidationError !== null) {
6524
8040
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
6525
8041
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6945,8 +8461,8 @@ function normalize$5(input, existing, path, luvio, store, timestamp) {
6945
8461
  }
6946
8462
  return input;
6947
8463
  }
6948
- const select$d = function SemanticModelOutputRepresentationSelect() {
6949
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$C();
8464
+ const select$e = function SemanticModelOutputRepresentationSelect() {
8465
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$D();
6950
8466
  return {
6951
8467
  kind: 'Fragment',
6952
8468
  version: VERSION$5,
@@ -7025,7 +8541,7 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7025
8541
  kind: 'Link',
7026
8542
  plural: true,
7027
8543
  required: false,
7028
- fragment: select$x()
8544
+ fragment: select$y()
7029
8545
  },
7030
8546
  {
7031
8547
  name: 'semanticCalculatedDimensionsUrl',
@@ -7037,7 +8553,7 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7037
8553
  kind: 'Link',
7038
8554
  plural: true,
7039
8555
  required: false,
7040
- fragment: select$w()
8556
+ fragment: select$x()
7041
8557
  },
7042
8558
  {
7043
8559
  name: 'semanticCalculatedMeasurementsUrl',
@@ -7049,7 +8565,7 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7049
8565
  kind: 'Link',
7050
8566
  plural: true,
7051
8567
  required: false,
7052
- fragment: select$v()
8568
+ fragment: select$w()
7053
8569
  },
7054
8570
  {
7055
8571
  name: 'semanticDataObjectsUrl',
@@ -7061,7 +8577,7 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7061
8577
  kind: 'Link',
7062
8578
  plural: true,
7063
8579
  required: false,
7064
- fragment: select$o()
8580
+ fragment: select$p()
7065
8581
  },
7066
8582
  {
7067
8583
  name: 'semanticGroupingsUrl',
@@ -7073,21 +8589,21 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7073
8589
  kind: 'Link',
7074
8590
  plural: true,
7075
8591
  required: false,
7076
- fragment: select$j()
8592
+ fragment: select$k()
7077
8593
  },
7078
8594
  {
7079
8595
  name: 'semanticMetrics',
7080
8596
  kind: 'Link',
7081
8597
  plural: true,
7082
8598
  required: false,
7083
- fragment: select$f()
8599
+ fragment: select$g()
7084
8600
  },
7085
8601
  {
7086
8602
  name: 'semanticParameters',
7087
8603
  kind: 'Link',
7088
8604
  plural: true,
7089
8605
  required: false,
7090
- fragment: select$e()
8606
+ fragment: select$f()
7091
8607
  },
7092
8608
  {
7093
8609
  name: 'semanticParametersUrl',
@@ -7099,7 +8615,7 @@ const select$d = function SemanticModelOutputRepresentationSelect() {
7099
8615
  kind: 'Link',
7100
8616
  plural: true,
7101
8617
  required: false,
7102
- fragment: select$m()
8618
+ fragment: select$n()
7103
8619
  },
7104
8620
  {
7105
8621
  name: 'semanticRelationshipsUrl',
@@ -7524,7 +9040,7 @@ function equals$5(existing, incoming) {
7524
9040
  }
7525
9041
  const ingest$5 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7526
9042
  if (process.env.NODE_ENV !== 'production') {
7527
- const validateError = validate$8(input);
9043
+ const validateError = validate$7(input);
7528
9044
  if (validateError !== null) {
7529
9045
  throw validateError;
7530
9046
  }
@@ -7592,8 +9108,223 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
7592
9108
  }
7593
9109
  }
7594
9110
 
9111
+ function select$d(luvio, params) {
9112
+ return select$e();
9113
+ }
9114
+ function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
9115
+ getTypeCacheKeys$5(storeKeyMap, luvio, response);
9116
+ }
9117
+ function ingestSuccess$8(luvio, resourceParams, response) {
9118
+ const { body } = response;
9119
+ const key = keyBuilderFromType$1(luvio, body);
9120
+ luvio.storeIngest(key, ingest$5, body);
9121
+ const snapshot = luvio.storeLookup({
9122
+ recordId: key,
9123
+ node: select$d(),
9124
+ variables: {},
9125
+ });
9126
+ if (process.env.NODE_ENV !== 'production') {
9127
+ if (snapshot.state !== 'Fulfilled') {
9128
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
9129
+ }
9130
+ }
9131
+ deepFreeze(snapshot.data);
9132
+ return snapshot;
9133
+ }
9134
+ function createResourceRequest$9(config) {
9135
+ const headers = {};
9136
+ return {
9137
+ baseUri: '/services/data/v62.0',
9138
+ basePath: '/ssot/semantic/models',
9139
+ method: 'post',
9140
+ body: config.body,
9141
+ urlParams: {},
9142
+ queryParams: {},
9143
+ headers,
9144
+ priority: 'normal',
9145
+ };
9146
+ }
9147
+
9148
+ const adapterName$9 = 'createSemanticModel';
9149
+ const createSemanticModel_ConfigPropertyMetadata = [
9150
+ generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
9151
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
9152
+ generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
9153
+ generateParamConfigMetadata('app', false, 2 /* Body */, 0 /* String */),
9154
+ generateParamConfigMetadata('categories', false, 2 /* Body */, 0 /* String */, true),
9155
+ generateParamConfigMetadata('dataspace', false, 2 /* Body */, 0 /* String */),
9156
+ generateParamConfigMetadata('queryUnrelatedDataObjects', false, 2 /* Body */, 0 /* String */),
9157
+ generateParamConfigMetadata('sourceCreation', false, 2 /* Body */, 0 /* String */),
9158
+ generateParamConfigMetadata('sourceCreationName', false, 2 /* Body */, 0 /* String */),
9159
+ generateParamConfigMetadata('baseModels', false, 2 /* Body */, 4 /* Unsupported */, true),
9160
+ generateParamConfigMetadata('semanticCalculatedDimensions', false, 2 /* Body */, 4 /* Unsupported */, true),
9161
+ generateParamConfigMetadata('semanticCalculatedMeasurements', false, 2 /* Body */, 4 /* Unsupported */, true),
9162
+ generateParamConfigMetadata('semanticDataObjects', false, 2 /* Body */, 4 /* Unsupported */, true),
9163
+ generateParamConfigMetadata('semanticGroupings', false, 2 /* Body */, 4 /* Unsupported */, true),
9164
+ generateParamConfigMetadata('semanticLogicalViews', false, 2 /* Body */, 4 /* Unsupported */, true),
9165
+ generateParamConfigMetadata('semanticMetrics', false, 2 /* Body */, 4 /* Unsupported */, true),
9166
+ generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
9167
+ generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
9168
+ ];
9169
+ const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, createSemanticModel_ConfigPropertyMetadata);
9170
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$b(createSemanticModel_ConfigPropertyMetadata);
9171
+ function typeCheckConfig$9(untrustedConfig) {
9172
+ const config = {};
9173
+ typeCheckConfig$b(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
9174
+ const untrustedConfig_baseModels = untrustedConfig.baseModels;
9175
+ if (ArrayIsArray$1(untrustedConfig_baseModels)) {
9176
+ const untrustedConfig_baseModels_array = [];
9177
+ for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
9178
+ const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
9179
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$S(untrustedConfig_baseModels_item);
9180
+ if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
9181
+ untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
9182
+ }
9183
+ }
9184
+ config.baseModels = untrustedConfig_baseModels_array;
9185
+ }
9186
+ const untrustedConfig_semanticCalculatedDimensions = untrustedConfig.semanticCalculatedDimensions;
9187
+ if (ArrayIsArray$1(untrustedConfig_semanticCalculatedDimensions)) {
9188
+ const untrustedConfig_semanticCalculatedDimensions_array = [];
9189
+ for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
9190
+ const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
9191
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Q(untrustedConfig_semanticCalculatedDimensions_item);
9192
+ if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
9193
+ untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
9194
+ }
9195
+ }
9196
+ config.semanticCalculatedDimensions = untrustedConfig_semanticCalculatedDimensions_array;
9197
+ }
9198
+ const untrustedConfig_semanticCalculatedMeasurements = untrustedConfig.semanticCalculatedMeasurements;
9199
+ if (ArrayIsArray$1(untrustedConfig_semanticCalculatedMeasurements)) {
9200
+ const untrustedConfig_semanticCalculatedMeasurements_array = [];
9201
+ for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
9202
+ const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
9203
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$P(untrustedConfig_semanticCalculatedMeasurements_item);
9204
+ if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
9205
+ untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
9206
+ }
9207
+ }
9208
+ config.semanticCalculatedMeasurements = untrustedConfig_semanticCalculatedMeasurements_array;
9209
+ }
9210
+ const untrustedConfig_semanticDataObjects = untrustedConfig.semanticDataObjects;
9211
+ if (ArrayIsArray$1(untrustedConfig_semanticDataObjects)) {
9212
+ const untrustedConfig_semanticDataObjects_array = [];
9213
+ for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
9214
+ const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
9215
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$M(untrustedConfig_semanticDataObjects_item);
9216
+ if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
9217
+ untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
9218
+ }
9219
+ }
9220
+ config.semanticDataObjects = untrustedConfig_semanticDataObjects_array;
9221
+ }
9222
+ const untrustedConfig_semanticGroupings = untrustedConfig.semanticGroupings;
9223
+ if (ArrayIsArray$1(untrustedConfig_semanticGroupings)) {
9224
+ const untrustedConfig_semanticGroupings_array = [];
9225
+ for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
9226
+ const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
9227
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$F(untrustedConfig_semanticGroupings_item);
9228
+ if (referenceSemanticGroupingInputRepresentationValidationError === null) {
9229
+ untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
9230
+ }
9231
+ }
9232
+ config.semanticGroupings = untrustedConfig_semanticGroupings_array;
9233
+ }
9234
+ const untrustedConfig_semanticLogicalViews = untrustedConfig.semanticLogicalViews;
9235
+ if (ArrayIsArray$1(untrustedConfig_semanticLogicalViews)) {
9236
+ const untrustedConfig_semanticLogicalViews_array = [];
9237
+ for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
9238
+ const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
9239
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$A(untrustedConfig_semanticLogicalViews_item);
9240
+ if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
9241
+ untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
9242
+ }
9243
+ }
9244
+ config.semanticLogicalViews = untrustedConfig_semanticLogicalViews_array;
9245
+ }
9246
+ const untrustedConfig_semanticMetrics = untrustedConfig.semanticMetrics;
9247
+ if (ArrayIsArray$1(untrustedConfig_semanticMetrics)) {
9248
+ const untrustedConfig_semanticMetrics_array = [];
9249
+ for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
9250
+ const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
9251
+ const referenceSemanticMetricInputRepresentationValidationError = validate$w(untrustedConfig_semanticMetrics_item);
9252
+ if (referenceSemanticMetricInputRepresentationValidationError === null) {
9253
+ untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
9254
+ }
9255
+ }
9256
+ config.semanticMetrics = untrustedConfig_semanticMetrics_array;
9257
+ }
9258
+ const untrustedConfig_semanticParameters = untrustedConfig.semanticParameters;
9259
+ if (ArrayIsArray$1(untrustedConfig_semanticParameters)) {
9260
+ const untrustedConfig_semanticParameters_array = [];
9261
+ for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
9262
+ const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
9263
+ const referenceSemanticParameterInputRepresentationValidationError = validate$v(untrustedConfig_semanticParameters_item);
9264
+ if (referenceSemanticParameterInputRepresentationValidationError === null) {
9265
+ untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
9266
+ }
9267
+ }
9268
+ config.semanticParameters = untrustedConfig_semanticParameters_array;
9269
+ }
9270
+ const untrustedConfig_semanticRelationships = untrustedConfig.semanticRelationships;
9271
+ if (ArrayIsArray$1(untrustedConfig_semanticRelationships)) {
9272
+ const untrustedConfig_semanticRelationships_array = [];
9273
+ for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
9274
+ const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
9275
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$D(untrustedConfig_semanticRelationships_item);
9276
+ if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
9277
+ untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
9278
+ }
9279
+ }
9280
+ config.semanticRelationships = untrustedConfig_semanticRelationships_array;
9281
+ }
9282
+ return config;
9283
+ }
9284
+ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
9285
+ if (!untrustedIsObject(untrustedConfig)) {
9286
+ return null;
9287
+ }
9288
+ if (process.env.NODE_ENV !== 'production') {
9289
+ validateConfig(untrustedConfig, configPropertyNames);
9290
+ }
9291
+ const config = typeCheckConfig$9(untrustedConfig);
9292
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
9293
+ return null;
9294
+ }
9295
+ return config;
9296
+ }
9297
+ function buildNetworkSnapshot$9(luvio, config, options) {
9298
+ const resourceParams = createResourceParams$9(config);
9299
+ const request = createResourceRequest$9(resourceParams);
9300
+ return luvio.dispatchResourceRequest(request, options)
9301
+ .then((response) => {
9302
+ return luvio.handleSuccessResponse(() => {
9303
+ const snapshot = ingestSuccess$8(luvio, resourceParams, response);
9304
+ return luvio.storeBroadcast().then(() => snapshot);
9305
+ }, () => {
9306
+ const cache = new StoreKeyMap();
9307
+ getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
9308
+ return cache;
9309
+ });
9310
+ }, (response) => {
9311
+ deepFreeze(response);
9312
+ throw response;
9313
+ });
9314
+ }
9315
+ const createSemanticModelAdapterFactory = (luvio) => {
9316
+ return function createSemanticModel(untrustedConfig) {
9317
+ const config = validateAdapterConfig$9(untrustedConfig, createSemanticModel_ConfigPropertyNames);
9318
+ // Invalid or incomplete config
9319
+ if (config === null) {
9320
+ throw new Error('Invalid config for "createSemanticModel"');
9321
+ }
9322
+ return buildNetworkSnapshot$9(luvio, config);
9323
+ };
9324
+ };
9325
+
7595
9326
  function select$c(luvio, params) {
7596
- return select$d();
9327
+ return select$e();
7597
9328
  }
7598
9329
  function keyBuilder$f(luvio, params) {
7599
9330
  return keyBuilder$g(luvio, {
@@ -7647,14 +9378,14 @@ const getSemanticModel_ConfigPropertyMetadata = [
7647
9378
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
7648
9379
  ];
7649
9380
  const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticModel_ConfigPropertyMetadata);
7650
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$a(getSemanticModel_ConfigPropertyMetadata);
9381
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$b(getSemanticModel_ConfigPropertyMetadata);
7651
9382
  function keyBuilder$e(luvio, config) {
7652
9383
  const resourceParams = createResourceParams$8(config);
7653
9384
  return keyBuilder$f(luvio, resourceParams);
7654
9385
  }
7655
9386
  function typeCheckConfig$8(untrustedConfig) {
7656
9387
  const config = {};
7657
- typeCheckConfig$a(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
9388
+ typeCheckConfig$b(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
7658
9389
  return config;
7659
9390
  }
7660
9391
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -7728,7 +9459,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
7728
9459
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
7729
9460
  };
7730
9461
 
7731
- function validate$7(obj, path = 'SemanticTimeRangeOutputRepresentation') {
9462
+ function validate$6(obj, path = 'SemanticTimeRangeOutputRepresentation') {
7732
9463
  const v_error = (() => {
7733
9464
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7734
9465
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7759,7 +9490,7 @@ function validate$7(obj, path = 'SemanticTimeRangeOutputRepresentation') {
7759
9490
  }
7760
9491
 
7761
9492
  const VERSION$4 = "c882b1daea155cb0f89f281f88d14769";
7762
- function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
9493
+ function validate$5(obj, path = 'SemanticSubMetricOutputRepresentation') {
7763
9494
  const v_error = (() => {
7764
9495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7765
9496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7809,7 +9540,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
7809
9540
  for (let i = 0; i < obj_filters.length; i++) {
7810
9541
  const obj_filters_item = obj_filters[i];
7811
9542
  const path_filters_item = path_filters + '[' + i + ']';
7812
- const referencepath_filters_itemValidationError = validate$v(obj_filters_item, path_filters_item);
9543
+ const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
7813
9544
  if (referencepath_filters_itemValidationError !== null) {
7814
9545
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
7815
9546
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7853,7 +9584,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
7853
9584
  if (obj.semanticMetric !== undefined) {
7854
9585
  const obj_semanticMetric = obj.semanticMetric;
7855
9586
  const path_semanticMetric = path + '.semanticMetric';
7856
- const referencepath_semanticMetricValidationError = validate$a(obj_semanticMetric, path_semanticMetric);
9587
+ const referencepath_semanticMetricValidationError = validate$9(obj_semanticMetric, path_semanticMetric);
7857
9588
  if (referencepath_semanticMetricValidationError !== null) {
7858
9589
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
7859
9590
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7863,7 +9594,7 @@ function validate$6(obj, path = 'SemanticSubMetricOutputRepresentation') {
7863
9594
  if (obj.timeRange !== undefined) {
7864
9595
  const obj_timeRange = obj.timeRange;
7865
9596
  const path_timeRange = path + '.timeRange';
7866
- const referencepath_timeRangeValidationError = validate$7(obj_timeRange, path_timeRange);
9597
+ const referencepath_timeRangeValidationError = validate$6(obj_timeRange, path_timeRange);
7867
9598
  if (referencepath_timeRangeValidationError !== null) {
7868
9599
  let message = 'Object doesn\'t match SemanticTimeRangeOutputRepresentation (at "' + path_timeRange + '")\n';
7869
9600
  message += referencepath_timeRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7902,7 +9633,7 @@ function equals$4(existing, incoming) {
7902
9633
  }
7903
9634
  const ingest$4 = function SemanticSubMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7904
9635
  if (process.env.NODE_ENV !== 'production') {
7905
- const validateError = validate$6(input);
9636
+ const validateError = validate$5(input);
7906
9637
  if (validateError !== null) {
7907
9638
  throw validateError;
7908
9639
  }
@@ -7923,7 +9654,7 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
7923
9654
  }
7924
9655
 
7925
9656
  const VERSION$3 = "2980e56b9b4f8b3773f2554f67834745";
7926
- function validate$5(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
9657
+ function validate$4(obj, path = 'SemanticSubMetricsByMetricOutputRepresentation') {
7927
9658
  const v_error = (() => {
7928
9659
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7929
9660
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8031,7 +9762,7 @@ function equals$3(existing, incoming) {
8031
9762
  }
8032
9763
  const ingest$3 = function SemanticSubMetricsByMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8033
9764
  if (process.env.NODE_ENV !== 'production') {
8034
- const validateError = validate$5(input);
9765
+ const validateError = validate$4(input);
8035
9766
  if (validateError !== null) {
8036
9767
  throw validateError;
8037
9768
  }
@@ -8058,7 +9789,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
8058
9789
  }
8059
9790
 
8060
9791
  const VERSION$2 = "6fbd75e1a154b08c14ba6560c06488db";
8061
- function validate$4(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
9792
+ function validate$3(obj, path = 'SemanticSubMetricsByMetricCollectionOutputRepresentation') {
8062
9793
  const v_error = (() => {
8063
9794
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8064
9795
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8141,7 +9872,7 @@ function equals$2(existing, incoming) {
8141
9872
  }
8142
9873
  const ingest$2 = function SemanticSubMetricsByMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8143
9874
  if (process.env.NODE_ENV !== 'production') {
8144
- const validateError = validate$4(input);
9875
+ const validateError = validate$3(input);
8145
9876
  if (validateError !== null) {
8146
9877
  throw validateError;
8147
9878
  }
@@ -8219,14 +9950,14 @@ const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
8219
9950
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8220
9951
  ];
8221
9952
  const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
8222
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$a(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
9953
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$b(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
8223
9954
  function keyBuilder$b(luvio, config) {
8224
9955
  const resourceParams = createResourceParams$7(config);
8225
9956
  return keyBuilder$c(luvio, resourceParams);
8226
9957
  }
8227
9958
  function typeCheckConfig$7(untrustedConfig) {
8228
9959
  const config = {};
8229
- typeCheckConfig$a(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
9960
+ typeCheckConfig$b(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
8230
9961
  return config;
8231
9962
  }
8232
9963
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -8301,7 +10032,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
8301
10032
  };
8302
10033
 
8303
10034
  const VERSION$1 = "a6709a9f16e02d0d8e3d8423ebc79c2b";
8304
- function validate$3(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
10035
+ function validate$2(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
8305
10036
  const v_error = (() => {
8306
10037
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8307
10038
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8356,7 +10087,7 @@ const select$7 = function SemanticMetricCollectionOutputRepresentationSelect() {
8356
10087
  kind: 'Link',
8357
10088
  plural: true,
8358
10089
  required: false,
8359
- fragment: select$f()
10090
+ fragment: select$g()
8360
10091
  }
8361
10092
  ]
8362
10093
  };
@@ -8384,7 +10115,7 @@ function equals$1(existing, incoming) {
8384
10115
  }
8385
10116
  const ingest$1 = function SemanticMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8386
10117
  if (process.env.NODE_ENV !== 'production') {
8387
- const validateError = validate$3(input);
10118
+ const validateError = validate$2(input);
8388
10119
  if (validateError !== null) {
8389
10120
  throw validateError;
8390
10121
  }
@@ -8461,14 +10192,14 @@ const getSemanticMetrics_ConfigPropertyMetadata = [
8461
10192
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8462
10193
  ];
8463
10194
  const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticMetrics_ConfigPropertyMetadata);
8464
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$a(getSemanticMetrics_ConfigPropertyMetadata);
10195
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$b(getSemanticMetrics_ConfigPropertyMetadata);
8465
10196
  function keyBuilder$9(luvio, config) {
8466
10197
  const resourceParams = createResourceParams$6(config);
8467
10198
  return keyBuilder$a(luvio, resourceParams);
8468
10199
  }
8469
10200
  function typeCheckConfig$6(untrustedConfig) {
8470
10201
  const config = {};
8471
- typeCheckConfig$a(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
10202
+ typeCheckConfig$b(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
8472
10203
  return config;
8473
10204
  }
8474
10205
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -8543,7 +10274,7 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
8543
10274
  };
8544
10275
 
8545
10276
  function select$5(luvio, params) {
8546
- return select$f();
10277
+ return select$g();
8547
10278
  }
8548
10279
  function keyBuilder$8(luvio, params) {
8549
10280
  return keyBuilder$i(luvio, {
@@ -8596,14 +10327,14 @@ const getSemanticMetric_ConfigPropertyMetadata = [
8596
10327
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8597
10328
  ];
8598
10329
  const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticMetric_ConfigPropertyMetadata);
8599
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$a(getSemanticMetric_ConfigPropertyMetadata);
10330
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$b(getSemanticMetric_ConfigPropertyMetadata);
8600
10331
  function keyBuilder$7(luvio, config) {
8601
10332
  const resourceParams = createResourceParams$5(config);
8602
10333
  return keyBuilder$8(luvio, resourceParams);
8603
10334
  }
8604
10335
  function typeCheckConfig$5(untrustedConfig) {
8605
10336
  const config = {};
8606
- typeCheckConfig$a(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
10337
+ typeCheckConfig$b(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
8607
10338
  return config;
8608
10339
  }
8609
10340
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -8678,7 +10409,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
8678
10409
  };
8679
10410
 
8680
10411
  const VERSION = "542f239a7dc422c67d6cdffb0ff866eb";
8681
- function validate$2(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
10412
+ function validate$1(obj, path = 'SemanticSubMetricCollectionOutputRepresentation') {
8682
10413
  const v_error = (() => {
8683
10414
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8684
10415
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -8761,7 +10492,7 @@ function equals(existing, incoming) {
8761
10492
  }
8762
10493
  const ingest = function SemanticSubMetricCollectionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8763
10494
  if (process.env.NODE_ENV !== 'production') {
8764
- const validateError = validate$2(input);
10495
+ const validateError = validate$1(input);
8765
10496
  if (validateError !== null) {
8766
10497
  throw validateError;
8767
10498
  }
@@ -8838,14 +10569,14 @@ const getSemanticSubMetrics_ConfigPropertyMetadata = [
8838
10569
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
8839
10570
  ];
8840
10571
  const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetrics_ConfigPropertyMetadata);
8841
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetrics_ConfigPropertyMetadata);
10572
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$b(getSemanticSubMetrics_ConfigPropertyMetadata);
8842
10573
  function keyBuilder$5(luvio, config) {
8843
10574
  const resourceParams = createResourceParams$4(config);
8844
10575
  return keyBuilder$6(luvio, resourceParams);
8845
10576
  }
8846
10577
  function typeCheckConfig$4(untrustedConfig) {
8847
10578
  const config = {};
8848
- typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
10579
+ typeCheckConfig$b(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
8849
10580
  return config;
8850
10581
  }
8851
10582
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -8919,36 +10650,6 @@ const getSemanticSubMetricsAdapterFactory = (luvio) => function SemanticAuthorin
8919
10650
  buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
8920
10651
  };
8921
10652
 
8922
- function validate$1(obj, path = 'SemanticFilterInputRepresentation') {
8923
- const v_error = (() => {
8924
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8925
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8926
- }
8927
- if (obj.fieldName !== undefined) {
8928
- const obj_fieldName = obj.fieldName;
8929
- const path_fieldName = path + '.fieldName';
8930
- if (typeof obj_fieldName !== 'string') {
8931
- return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
8932
- }
8933
- }
8934
- if (obj.operator !== undefined) {
8935
- const obj_operator = obj.operator;
8936
- const path_operator = path + '.operator';
8937
- if (typeof obj_operator !== 'string') {
8938
- return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
8939
- }
8940
- }
8941
- if (obj.value !== undefined) {
8942
- const obj_value = obj.value;
8943
- const path_value = path + '.value';
8944
- if (typeof obj_value !== 'string') {
8945
- return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
8946
- }
8947
- }
8948
- })();
8949
- return v_error === undefined ? null : v_error;
8950
- }
8951
-
8952
10653
  function validate(obj, path = 'SemanticTimeRangeInputRepresentation') {
8953
10654
  const v_error = (() => {
8954
10655
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -9028,16 +10729,16 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
9028
10729
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
9029
10730
  ];
9030
10731
  const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createSemanticSubMetric_ConfigPropertyMetadata);
9031
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$a(createSemanticSubMetric_ConfigPropertyMetadata);
10732
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$b(createSemanticSubMetric_ConfigPropertyMetadata);
9032
10733
  function typeCheckConfig$3(untrustedConfig) {
9033
10734
  const config = {};
9034
- typeCheckConfig$a(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
10735
+ typeCheckConfig$b(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9035
10736
  const untrustedConfig_filters = untrustedConfig.filters;
9036
10737
  if (ArrayIsArray$1(untrustedConfig_filters)) {
9037
10738
  const untrustedConfig_filters_array = [];
9038
10739
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
9039
10740
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
9040
- const referenceSemanticFilterInputRepresentationValidationError = validate$1(untrustedConfig_filters_item);
10741
+ const referenceSemanticFilterInputRepresentationValidationError = validate$R(untrustedConfig_filters_item);
9041
10742
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
9042
10743
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
9043
10744
  }
@@ -9130,10 +10831,10 @@ const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9130
10831
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9131
10832
  ];
9132
10833
  const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deleteSemanticSubMetric_ConfigPropertyMetadata);
9133
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$a(deleteSemanticSubMetric_ConfigPropertyMetadata);
10834
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$b(deleteSemanticSubMetric_ConfigPropertyMetadata);
9134
10835
  function typeCheckConfig$2(untrustedConfig) {
9135
10836
  const config = {};
9136
- typeCheckConfig$a(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
10837
+ typeCheckConfig$b(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9137
10838
  return config;
9138
10839
  }
9139
10840
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -9232,14 +10933,14 @@ const getSemanticSubMetric_ConfigPropertyMetadata = [
9232
10933
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9233
10934
  ];
9234
10935
  const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSemanticSubMetric_ConfigPropertyMetadata);
9235
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetric_ConfigPropertyMetadata);
10936
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$b(getSemanticSubMetric_ConfigPropertyMetadata);
9236
10937
  function keyBuilder$2(luvio, config) {
9237
10938
  const resourceParams = createResourceParams$1(config);
9238
10939
  return keyBuilder$3(luvio, resourceParams);
9239
10940
  }
9240
10941
  function typeCheckConfig$1(untrustedConfig) {
9241
10942
  const config = {};
9242
- typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
10943
+ typeCheckConfig$b(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
9243
10944
  return config;
9244
10945
  }
9245
10946
  function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
@@ -9364,14 +11065,14 @@ const getSemanticSubMetricsById_ConfigPropertyMetadata = [
9364
11065
  generateParamConfigMetadata('subMetricIds', true, 0 /* UrlParameter */, 0 /* String */),
9365
11066
  ];
9366
11067
  const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSemanticSubMetricsById_ConfigPropertyMetadata);
9367
- const createResourceParams = /*#__PURE__*/ createResourceParams$a(getSemanticSubMetricsById_ConfigPropertyMetadata);
11068
+ const createResourceParams = /*#__PURE__*/ createResourceParams$b(getSemanticSubMetricsById_ConfigPropertyMetadata);
9368
11069
  function keyBuilder(luvio, config) {
9369
11070
  const resourceParams = createResourceParams(config);
9370
11071
  return keyBuilder$1(luvio, resourceParams);
9371
11072
  }
9372
11073
  function typeCheckConfig(untrustedConfig) {
9373
11074
  const config = {};
9374
- typeCheckConfig$a(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
11075
+ typeCheckConfig$b(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
9375
11076
  return config;
9376
11077
  }
9377
11078
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -9445,4 +11146,4 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
9445
11146
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
9446
11147
  };
9447
11148
 
9448
- export { createSemanticSubMetricAdapterFactory, deleteSemanticSubMetricAdapterFactory, getSemanticMetricAdapterFactory, getSemanticMetricsAdapterFactory, getSemanticMetricsToSubMetricsAdapterFactory, getSemanticModelAdapterFactory, getSemanticModelsAdapterFactory, getSemanticSubMetricAdapterFactory, getSemanticSubMetricsAdapterFactory, getSemanticSubMetricsByIdAdapterFactory };
11149
+ export { createSemanticModelAdapterFactory, createSemanticSubMetricAdapterFactory, deleteSemanticSubMetricAdapterFactory, getSemanticMetricAdapterFactory, getSemanticMetricsAdapterFactory, getSemanticMetricsToSubMetricsAdapterFactory, getSemanticModelAdapterFactory, getSemanticModelsAdapterFactory, getSemanticSubMetricAdapterFactory, getSemanticSubMetricsAdapterFactory, getSemanticSubMetricsByIdAdapterFactory };